@saritasa/crm-delmar-core-sdk 0.1.50 → 0.1.52
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.service.d.ts +1 -67
- package/api/clients-api.serviceInterface.d.ts +0 -92
- package/api/projects-api.service.d.ts +1 -67
- package/api/projects-api.serviceInterface.d.ts +0 -49
- package/fesm2022/saritasa-crm-delmar-core-sdk.mjs +223 -1948
- package/fesm2022/saritasa-crm-delmar-core-sdk.mjs.map +1 -1
- package/model/client-duration-data.dto.d.ts +3 -3
- package/model/client-margin-report.dto.d.ts +3 -3
- package/model/client-statistics-request.dto.d.ts +38 -0
- package/model/client-statistics.dto.d.ts +41 -0
- package/model/client.dto.d.ts +2 -0
- package/model/models.d.ts +4 -83
- package/model/project-margin-report.dto.d.ts +3 -3
- package/model/project-statistics-request.dto.d.ts +38 -0
- package/model/project-statistics.dto.d.ts +41 -0
- package/model/project-status-report.dto.d.ts +3 -3
- package/model/project.dto.d.ts +2 -0
- package/package.json +2 -2
- package/model/client-serializer-with-month-stats.dto.d.ts +0 -25
- package/model/client-serializer-with-stats.dto.d.ts +0 -69
- package/model/clients-with-stats-list-account-manager-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-account-manager-in-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-address1-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-address1-in-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-address2-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-address2-in-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-billing-address1-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-billing-address1-in-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-billing-address2-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-billing-address2-in-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-billing-city-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-billing-city-in-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-billing-country-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-billing-country-in-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-billing-method-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-billing-method-in-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-billing-notes-contains-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-billing-notes-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-billing-notes-in-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-billing-state-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-billing-state-in-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-billing-zip-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-billing-zip-in-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-city-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-city-in-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-contract-until-gte-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-contract-until-lte-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-country-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-country-in-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-created-by-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-created-by-in-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-created-date-gte-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-created-date-lte-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-created-gte-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-created-lte-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-error-response400.dto.d.ts +0 -16
- package/model/clients-with-stats-list-error.dto.d.ts +0 -72
- package/model/clients-with-stats-list-id-error-component.dto.d.ts +0 -27
- package/model/clients-with-stats-list-id-in-error-component.dto.d.ts +0 -27
- package/model/clients-with-stats-list-notes-contains-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-notes-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-notes-in-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-payment-recipient-name-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-payment-recipient-name-in-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-qb-client-id-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-qb-client-id-in-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-state-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-state-in-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-status-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-status-in-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-time-limit-per-month-gte-error-component.dto.d.ts +0 -27
- package/model/clients-with-stats-list-time-limit-per-month-lte-error-component.dto.d.ts +0 -27
- package/model/clients-with-stats-list-updated-by-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-updated-by-in-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-validation-error.dto.d.ts +0 -15
- package/model/clients-with-stats-list-website-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-website-in-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-zip-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-zip-in-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-zoho-account-id-error-component.dto.d.ts +0 -26
- package/model/clients-with-stats-list-zoho-account-id-in-error-component.dto.d.ts +0 -26
- package/model/paginated-client-serializer-with-stats-list.dto.d.ts +0 -16
- package/model/paginated-project-serializer-with-stats-list.dto.d.ts +0 -16
- package/model/project-serializer-with-month-stats.dto.d.ts +0 -25
- package/model/project-serializer-with-stats.dto.d.ts +0 -80
- package/model/projects-with-stats-list-client-contact-error-component.dto.d.ts +0 -26
- package/model/projects-with-stats-list-client-contact-in-error-component.dto.d.ts +0 -26
- package/model/projects-with-stats-list-client-error-component.dto.d.ts +0 -26
- package/model/projects-with-stats-list-client-in-error-component.dto.d.ts +0 -26
- package/model/projects-with-stats-list-created-date-gte-error-component.dto.d.ts +0 -26
- package/model/projects-with-stats-list-created-date-lte-error-component.dto.d.ts +0 -26
- package/model/projects-with-stats-list-created-gte-error-component.dto.d.ts +0 -26
- package/model/projects-with-stats-list-created-lte-error-component.dto.d.ts +0 -26
- package/model/projects-with-stats-list-error-response400.dto.d.ts +0 -16
- package/model/projects-with-stats-list-error.dto.d.ts +0 -27
- package/model/projects-with-stats-list-id-error-component.dto.d.ts +0 -27
- package/model/projects-with-stats-list-id-in-error-component.dto.d.ts +0 -27
- package/model/projects-with-stats-list-project-managers-id-in-error-component.dto.d.ts +0 -27
- package/model/projects-with-stats-list-status-error-component.dto.d.ts +0 -26
- package/model/projects-with-stats-list-status-in-error-component.dto.d.ts +0 -26
- package/model/projects-with-stats-list-validation-error.dto.d.ts +0 -15
|
@@ -18,13 +18,13 @@ export interface ClientDurationDataDto {
|
|
|
18
18
|
/**
|
|
19
19
|
* Get billable duration.
|
|
20
20
|
*/
|
|
21
|
-
readonly
|
|
21
|
+
readonly billable_job_duration: number;
|
|
22
22
|
/**
|
|
23
23
|
* Get unbillable duration.
|
|
24
24
|
*/
|
|
25
|
-
readonly
|
|
25
|
+
readonly unbillable_job_duration: number;
|
|
26
26
|
/**
|
|
27
27
|
* Get total duration.
|
|
28
28
|
*/
|
|
29
|
-
readonly
|
|
29
|
+
readonly total_job_duration: number;
|
|
30
30
|
}
|
|
@@ -15,14 +15,14 @@ export interface ClientMarginReportDto {
|
|
|
15
15
|
/**
|
|
16
16
|
* Get billable duration.
|
|
17
17
|
*/
|
|
18
|
-
readonly
|
|
18
|
+
readonly billable_job_duration: number;
|
|
19
19
|
/**
|
|
20
20
|
* Get unbillable duration.
|
|
21
21
|
*/
|
|
22
|
-
readonly
|
|
22
|
+
readonly unbillable_job_duration: number;
|
|
23
23
|
/**
|
|
24
24
|
* Get total duration.
|
|
25
25
|
*/
|
|
26
|
-
readonly
|
|
26
|
+
readonly total_job_duration: number;
|
|
27
27
|
readonly clients: Array<ClientDurationDataDto>;
|
|
28
28
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 ClientStatistics model.
|
|
12
|
+
*/
|
|
13
|
+
export interface ClientStatisticsRequestDto {
|
|
14
|
+
billable_tasks_count: number;
|
|
15
|
+
unbillable_tasks_count: number;
|
|
16
|
+
total_tasks_count: number;
|
|
17
|
+
billable_jobs_count: number;
|
|
18
|
+
unbillable_jobs_count: number;
|
|
19
|
+
total_jobs_count: number;
|
|
20
|
+
billable_job_duration: number;
|
|
21
|
+
unbillable_job_duration: number;
|
|
22
|
+
total_job_duration: number;
|
|
23
|
+
billable_avg_day_job_duration: number;
|
|
24
|
+
unbillable_avg_day_job_duration: number;
|
|
25
|
+
total_avg_day_job_duration: number;
|
|
26
|
+
billable_job_duration_current_day: number;
|
|
27
|
+
unbillable_job_duration_current_day: number;
|
|
28
|
+
total_job_duration_current_day: number;
|
|
29
|
+
billable_job_duration_current_week: number;
|
|
30
|
+
unbillable_job_duration_current_week: number;
|
|
31
|
+
total_job_duration_current_week: number;
|
|
32
|
+
billable_job_duration_current_month: number;
|
|
33
|
+
unbillable_job_duration_current_month: number;
|
|
34
|
+
total_job_duration_current_month: number;
|
|
35
|
+
billable_avg_day_job_duration_current_month: number;
|
|
36
|
+
unbillable_avg_day_job_duration_current_month: number;
|
|
37
|
+
total_avg_day_job_duration_current_month: number;
|
|
38
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 ClientStatistics model.
|
|
12
|
+
*/
|
|
13
|
+
export interface ClientStatisticsDto {
|
|
14
|
+
readonly id: number;
|
|
15
|
+
readonly created: string;
|
|
16
|
+
readonly modified: string;
|
|
17
|
+
billable_tasks_count: number;
|
|
18
|
+
unbillable_tasks_count: number;
|
|
19
|
+
total_tasks_count: number;
|
|
20
|
+
billable_jobs_count: number;
|
|
21
|
+
unbillable_jobs_count: number;
|
|
22
|
+
total_jobs_count: number;
|
|
23
|
+
billable_job_duration: number;
|
|
24
|
+
unbillable_job_duration: number;
|
|
25
|
+
total_job_duration: number;
|
|
26
|
+
billable_avg_day_job_duration: number;
|
|
27
|
+
unbillable_avg_day_job_duration: number;
|
|
28
|
+
total_avg_day_job_duration: number;
|
|
29
|
+
billable_job_duration_current_day: number;
|
|
30
|
+
unbillable_job_duration_current_day: number;
|
|
31
|
+
total_job_duration_current_day: number;
|
|
32
|
+
billable_job_duration_current_week: number;
|
|
33
|
+
unbillable_job_duration_current_week: number;
|
|
34
|
+
total_job_duration_current_week: number;
|
|
35
|
+
billable_job_duration_current_month: number;
|
|
36
|
+
unbillable_job_duration_current_month: number;
|
|
37
|
+
total_job_duration_current_month: number;
|
|
38
|
+
billable_avg_day_job_duration_current_month: number;
|
|
39
|
+
unbillable_avg_day_job_duration_current_month: number;
|
|
40
|
+
total_avg_day_job_duration_current_month: number;
|
|
41
|
+
}
|
package/model/client.dto.d.ts
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import { SimpleUserDto } from "./simple-user.dto";
|
|
11
11
|
import { BillingMethodEnumDto } from "./billing-method-enum.dto";
|
|
12
|
+
import { ClientStatisticsDto } from "./client-statistics.dto";
|
|
12
13
|
import { WritableClientContactDto } from "./writable-client-contact.dto";
|
|
13
14
|
import { ClientStatusEnumDto } from "./client-status-enum.dto";
|
|
14
15
|
/**
|
|
@@ -52,6 +53,7 @@ export interface ClientDto {
|
|
|
52
53
|
readonly created_by: number | null;
|
|
53
54
|
readonly updated_by: number | null;
|
|
54
55
|
contacts_data: Array<WritableClientContactDto>;
|
|
56
|
+
readonly statistics_data: ClientStatisticsDto;
|
|
55
57
|
readonly account_manager_data: SimpleUserDto;
|
|
56
58
|
readonly created_by_data: SimpleUserDto | null;
|
|
57
59
|
readonly updated_by_data: SimpleUserDto | null;
|
package/model/models.d.ts
CHANGED
|
@@ -152,9 +152,9 @@ export * from "./client-project-note-file.dto";
|
|
|
152
152
|
export * from "./client-project-note-file-request.dto";
|
|
153
153
|
export * from "./client-request.dto";
|
|
154
154
|
export * from "./client-resource-create-export-job-request.dto";
|
|
155
|
-
export * from "./client-serializer-with-month-stats.dto";
|
|
156
|
-
export * from "./client-serializer-with-stats.dto";
|
|
157
155
|
export * from "./client-sprint-hourly-report-export-resource-create-export-job-request.dto";
|
|
156
|
+
export * from "./client-statistics.dto";
|
|
157
|
+
export * from "./client-statistics-request.dto";
|
|
158
158
|
export * from "./client-status-enum.dto";
|
|
159
159
|
export * from "./client-summary-export-resource-create-export-job-request.dto";
|
|
160
160
|
export * from "./client-task-hourly-report-export-resource-create-export-job-request.dto";
|
|
@@ -373,67 +373,6 @@ export * from "./clients-update-validation-error.dto";
|
|
|
373
373
|
export * from "./clients-update-website-error-component.dto";
|
|
374
374
|
export * from "./clients-update-zip-error-component.dto";
|
|
375
375
|
export * from "./clients-update-zoho-account-id-error-component.dto";
|
|
376
|
-
export * from "./clients-with-stats-list-account-manager-error-component.dto";
|
|
377
|
-
export * from "./clients-with-stats-list-account-manager-in-error-component.dto";
|
|
378
|
-
export * from "./clients-with-stats-list-address1-error-component.dto";
|
|
379
|
-
export * from "./clients-with-stats-list-address1-in-error-component.dto";
|
|
380
|
-
export * from "./clients-with-stats-list-address2-error-component.dto";
|
|
381
|
-
export * from "./clients-with-stats-list-address2-in-error-component.dto";
|
|
382
|
-
export * from "./clients-with-stats-list-billing-address1-error-component.dto";
|
|
383
|
-
export * from "./clients-with-stats-list-billing-address1-in-error-component.dto";
|
|
384
|
-
export * from "./clients-with-stats-list-billing-address2-error-component.dto";
|
|
385
|
-
export * from "./clients-with-stats-list-billing-address2-in-error-component.dto";
|
|
386
|
-
export * from "./clients-with-stats-list-billing-city-error-component.dto";
|
|
387
|
-
export * from "./clients-with-stats-list-billing-city-in-error-component.dto";
|
|
388
|
-
export * from "./clients-with-stats-list-billing-country-error-component.dto";
|
|
389
|
-
export * from "./clients-with-stats-list-billing-country-in-error-component.dto";
|
|
390
|
-
export * from "./clients-with-stats-list-billing-method-error-component.dto";
|
|
391
|
-
export * from "./clients-with-stats-list-billing-method-in-error-component.dto";
|
|
392
|
-
export * from "./clients-with-stats-list-billing-notes-contains-error-component.dto";
|
|
393
|
-
export * from "./clients-with-stats-list-billing-notes-error-component.dto";
|
|
394
|
-
export * from "./clients-with-stats-list-billing-notes-in-error-component.dto";
|
|
395
|
-
export * from "./clients-with-stats-list-billing-state-error-component.dto";
|
|
396
|
-
export * from "./clients-with-stats-list-billing-state-in-error-component.dto";
|
|
397
|
-
export * from "./clients-with-stats-list-billing-zip-error-component.dto";
|
|
398
|
-
export * from "./clients-with-stats-list-billing-zip-in-error-component.dto";
|
|
399
|
-
export * from "./clients-with-stats-list-city-error-component.dto";
|
|
400
|
-
export * from "./clients-with-stats-list-city-in-error-component.dto";
|
|
401
|
-
export * from "./clients-with-stats-list-contract-until-gte-error-component.dto";
|
|
402
|
-
export * from "./clients-with-stats-list-contract-until-lte-error-component.dto";
|
|
403
|
-
export * from "./clients-with-stats-list-country-error-component.dto";
|
|
404
|
-
export * from "./clients-with-stats-list-country-in-error-component.dto";
|
|
405
|
-
export * from "./clients-with-stats-list-created-by-error-component.dto";
|
|
406
|
-
export * from "./clients-with-stats-list-created-by-in-error-component.dto";
|
|
407
|
-
export * from "./clients-with-stats-list-created-date-gte-error-component.dto";
|
|
408
|
-
export * from "./clients-with-stats-list-created-date-lte-error-component.dto";
|
|
409
|
-
export * from "./clients-with-stats-list-created-gte-error-component.dto";
|
|
410
|
-
export * from "./clients-with-stats-list-created-lte-error-component.dto";
|
|
411
|
-
export * from "./clients-with-stats-list-error.dto";
|
|
412
|
-
export * from "./clients-with-stats-list-error-response400.dto";
|
|
413
|
-
export * from "./clients-with-stats-list-id-error-component.dto";
|
|
414
|
-
export * from "./clients-with-stats-list-id-in-error-component.dto";
|
|
415
|
-
export * from "./clients-with-stats-list-notes-contains-error-component.dto";
|
|
416
|
-
export * from "./clients-with-stats-list-notes-error-component.dto";
|
|
417
|
-
export * from "./clients-with-stats-list-notes-in-error-component.dto";
|
|
418
|
-
export * from "./clients-with-stats-list-payment-recipient-name-error-component.dto";
|
|
419
|
-
export * from "./clients-with-stats-list-payment-recipient-name-in-error-component.dto";
|
|
420
|
-
export * from "./clients-with-stats-list-qb-client-id-error-component.dto";
|
|
421
|
-
export * from "./clients-with-stats-list-qb-client-id-in-error-component.dto";
|
|
422
|
-
export * from "./clients-with-stats-list-state-error-component.dto";
|
|
423
|
-
export * from "./clients-with-stats-list-state-in-error-component.dto";
|
|
424
|
-
export * from "./clients-with-stats-list-status-error-component.dto";
|
|
425
|
-
export * from "./clients-with-stats-list-status-in-error-component.dto";
|
|
426
|
-
export * from "./clients-with-stats-list-time-limit-per-month-gte-error-component.dto";
|
|
427
|
-
export * from "./clients-with-stats-list-time-limit-per-month-lte-error-component.dto";
|
|
428
|
-
export * from "./clients-with-stats-list-updated-by-error-component.dto";
|
|
429
|
-
export * from "./clients-with-stats-list-updated-by-in-error-component.dto";
|
|
430
|
-
export * from "./clients-with-stats-list-validation-error.dto";
|
|
431
|
-
export * from "./clients-with-stats-list-website-error-component.dto";
|
|
432
|
-
export * from "./clients-with-stats-list-website-in-error-component.dto";
|
|
433
|
-
export * from "./clients-with-stats-list-zip-error-component.dto";
|
|
434
|
-
export * from "./clients-with-stats-list-zip-in-error-component.dto";
|
|
435
|
-
export * from "./clients-with-stats-list-zoho-account-id-error-component.dto";
|
|
436
|
-
export * from "./clients-with-stats-list-zoho-account-id-in-error-component.dto";
|
|
437
376
|
export * from "./component.dto";
|
|
438
377
|
export * from "./component-hourly-report.dto";
|
|
439
378
|
export * from "./components-list-created-date-gte-error-component.dto";
|
|
@@ -1104,7 +1043,6 @@ export * from "./paginated-branch-period-list.dto";
|
|
|
1104
1043
|
export * from "./paginated-branch-user-stats-list.dto";
|
|
1105
1044
|
export * from "./paginated-client-list.dto";
|
|
1106
1045
|
export * from "./paginated-client-note-list.dto";
|
|
1107
|
-
export * from "./paginated-client-serializer-with-stats-list.dto";
|
|
1108
1046
|
export * from "./paginated-component-hourly-report-list.dto";
|
|
1109
1047
|
export * from "./paginated-component-list.dto";
|
|
1110
1048
|
export * from "./paginated-department-hourly-report-list.dto";
|
|
@@ -1123,7 +1061,6 @@ export * from "./paginated-project-list.dto";
|
|
|
1123
1061
|
export * from "./paginated-project-margin-report-list.dto";
|
|
1124
1062
|
export * from "./paginated-project-note-list.dto";
|
|
1125
1063
|
export * from "./paginated-project-resource-list.dto";
|
|
1126
|
-
export * from "./paginated-project-serializer-with-stats-list.dto";
|
|
1127
1064
|
export * from "./paginated-project-status-report-list.dto";
|
|
1128
1065
|
export * from "./paginated-role-list.dto";
|
|
1129
1066
|
export * from "./paginated-simple-client-list.dto";
|
|
@@ -1290,9 +1227,9 @@ export * from "./project-resources-update-error-response400.dto";
|
|
|
1290
1227
|
export * from "./project-resources-update-non-field-errors-error-component.dto";
|
|
1291
1228
|
export * from "./project-resources-update-validation-error.dto";
|
|
1292
1229
|
export * from "./project-resources-update-work-type-error-component.dto";
|
|
1293
|
-
export * from "./project-serializer-with-month-stats.dto";
|
|
1294
|
-
export * from "./project-serializer-with-stats.dto";
|
|
1295
1230
|
export * from "./project-sprint-hourly-report-export-resource-create-export-job-request.dto";
|
|
1231
|
+
export * from "./project-statistics.dto";
|
|
1232
|
+
export * from "./project-statistics-request.dto";
|
|
1296
1233
|
export * from "./project-status-enum.dto";
|
|
1297
1234
|
export * from "./project-status-report.dto";
|
|
1298
1235
|
export * from "./project-status-report-resource-create-export-job-request.dto";
|
|
@@ -1422,22 +1359,6 @@ export * from "./projects-update-time-limit-error-component.dto";
|
|
|
1422
1359
|
export * from "./projects-update-time-limit-per-month-error-component.dto";
|
|
1423
1360
|
export * from "./projects-update-validation-error.dto";
|
|
1424
1361
|
export * from "./projects-update-zoho-id-error-component.dto";
|
|
1425
|
-
export * from "./projects-with-stats-list-client-contact-error-component.dto";
|
|
1426
|
-
export * from "./projects-with-stats-list-client-contact-in-error-component.dto";
|
|
1427
|
-
export * from "./projects-with-stats-list-client-error-component.dto";
|
|
1428
|
-
export * from "./projects-with-stats-list-client-in-error-component.dto";
|
|
1429
|
-
export * from "./projects-with-stats-list-created-date-gte-error-component.dto";
|
|
1430
|
-
export * from "./projects-with-stats-list-created-date-lte-error-component.dto";
|
|
1431
|
-
export * from "./projects-with-stats-list-created-gte-error-component.dto";
|
|
1432
|
-
export * from "./projects-with-stats-list-created-lte-error-component.dto";
|
|
1433
|
-
export * from "./projects-with-stats-list-error.dto";
|
|
1434
|
-
export * from "./projects-with-stats-list-error-response400.dto";
|
|
1435
|
-
export * from "./projects-with-stats-list-id-error-component.dto";
|
|
1436
|
-
export * from "./projects-with-stats-list-id-in-error-component.dto";
|
|
1437
|
-
export * from "./projects-with-stats-list-project-managers-id-in-error-component.dto";
|
|
1438
|
-
export * from "./projects-with-stats-list-status-error-component.dto";
|
|
1439
|
-
export * from "./projects-with-stats-list-status-in-error-component.dto";
|
|
1440
|
-
export * from "./projects-with-stats-list-validation-error.dto";
|
|
1441
1362
|
export * from "./projects-worked-on-list-client-contact-error-component.dto";
|
|
1442
1363
|
export * from "./projects-worked-on-list-client-contact-in-error-component.dto";
|
|
1443
1364
|
export * from "./projects-worked-on-list-client-error-component.dto";
|
|
@@ -23,15 +23,15 @@ export interface ProjectMarginReportDto {
|
|
|
23
23
|
/**
|
|
24
24
|
* Get billable duration.
|
|
25
25
|
*/
|
|
26
|
-
readonly
|
|
26
|
+
readonly billable_job_duration: number;
|
|
27
27
|
/**
|
|
28
28
|
* Get unbillable duration.
|
|
29
29
|
*/
|
|
30
|
-
readonly
|
|
30
|
+
readonly unbillable_job_duration: number;
|
|
31
31
|
/**
|
|
32
32
|
* Get total duration.
|
|
33
33
|
*/
|
|
34
|
-
readonly
|
|
34
|
+
readonly total_job_duration: number;
|
|
35
35
|
readonly priority_data: SimpleProjectPriorityDto | null;
|
|
36
36
|
billing_frequency?: BillingFrequencyEnumDto;
|
|
37
37
|
priority?: number | null;
|
|
@@ -0,0 +1,38 @@
|
|
|
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 ProjectStatistics model.
|
|
12
|
+
*/
|
|
13
|
+
export interface ProjectStatisticsRequestDto {
|
|
14
|
+
billable_tasks_count: number;
|
|
15
|
+
unbillable_tasks_count: number;
|
|
16
|
+
total_tasks_count: number;
|
|
17
|
+
billable_jobs_count: number;
|
|
18
|
+
unbillable_jobs_count: number;
|
|
19
|
+
total_jobs_count: number;
|
|
20
|
+
billable_job_duration: number;
|
|
21
|
+
unbillable_job_duration: number;
|
|
22
|
+
total_job_duration: number;
|
|
23
|
+
billable_avg_day_job_duration: number;
|
|
24
|
+
unbillable_avg_day_job_duration: number;
|
|
25
|
+
total_avg_day_job_duration: number;
|
|
26
|
+
billable_job_duration_current_day: number;
|
|
27
|
+
unbillable_job_duration_current_day: number;
|
|
28
|
+
total_job_duration_current_day: number;
|
|
29
|
+
billable_job_duration_current_week: number;
|
|
30
|
+
unbillable_job_duration_current_week: number;
|
|
31
|
+
total_job_duration_current_week: number;
|
|
32
|
+
billable_job_duration_current_month: number;
|
|
33
|
+
unbillable_job_duration_current_month: number;
|
|
34
|
+
total_job_duration_current_month: number;
|
|
35
|
+
billable_avg_day_job_duration_current_month: number;
|
|
36
|
+
unbillable_avg_day_job_duration_current_month: number;
|
|
37
|
+
total_avg_day_job_duration_current_month: number;
|
|
38
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 ProjectStatistics model.
|
|
12
|
+
*/
|
|
13
|
+
export interface ProjectStatisticsDto {
|
|
14
|
+
readonly id: number;
|
|
15
|
+
readonly created: string;
|
|
16
|
+
readonly modified: string;
|
|
17
|
+
billable_tasks_count: number;
|
|
18
|
+
unbillable_tasks_count: number;
|
|
19
|
+
total_tasks_count: number;
|
|
20
|
+
billable_jobs_count: number;
|
|
21
|
+
unbillable_jobs_count: number;
|
|
22
|
+
total_jobs_count: number;
|
|
23
|
+
billable_job_duration: number;
|
|
24
|
+
unbillable_job_duration: number;
|
|
25
|
+
total_job_duration: number;
|
|
26
|
+
billable_avg_day_job_duration: number;
|
|
27
|
+
unbillable_avg_day_job_duration: number;
|
|
28
|
+
total_avg_day_job_duration: number;
|
|
29
|
+
billable_job_duration_current_day: number;
|
|
30
|
+
unbillable_job_duration_current_day: number;
|
|
31
|
+
total_job_duration_current_day: number;
|
|
32
|
+
billable_job_duration_current_week: number;
|
|
33
|
+
unbillable_job_duration_current_week: number;
|
|
34
|
+
total_job_duration_current_week: number;
|
|
35
|
+
billable_job_duration_current_month: number;
|
|
36
|
+
unbillable_job_duration_current_month: number;
|
|
37
|
+
total_job_duration_current_month: number;
|
|
38
|
+
billable_avg_day_job_duration_current_month: number;
|
|
39
|
+
unbillable_avg_day_job_duration_current_month: number;
|
|
40
|
+
total_avg_day_job_duration_current_month: number;
|
|
41
|
+
}
|
|
@@ -40,9 +40,9 @@ export interface ProjectStatusReportDto {
|
|
|
40
40
|
client: number;
|
|
41
41
|
project_managers: Array<number>;
|
|
42
42
|
jira_link: SimpleJiraProjectDto | null;
|
|
43
|
-
readonly
|
|
44
|
-
readonly
|
|
45
|
-
readonly
|
|
43
|
+
readonly billable_job_duration: number;
|
|
44
|
+
readonly unbillable_job_duration: number;
|
|
45
|
+
readonly total_job_duration: number;
|
|
46
46
|
readonly client_data: SimpleClientStatusReportDto;
|
|
47
47
|
readonly client_contact_data: SimpleClientContactDto | null;
|
|
48
48
|
readonly priority_data: SimpleProjectPriorityDto | null;
|
package/model/project.dto.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ import { BillingFrequencyEnumDto } from "./billing-frequency-enum.dto";
|
|
|
13
13
|
import { SimpleProjectPriorityDto } from "./simple-project-priority.dto";
|
|
14
14
|
import { BillingTypeEnumDto } from "./billing-type-enum.dto";
|
|
15
15
|
import { SimpleClientDto } from "./simple-client.dto";
|
|
16
|
+
import { ProjectStatisticsDto } from "./project-statistics.dto";
|
|
16
17
|
import { HostingFrequencyEnumDto } from "./hosting-frequency-enum.dto";
|
|
17
18
|
import { SimpleClientContactDto } from "./simple-client-contact.dto";
|
|
18
19
|
import { ProjectStatusEnumDto } from "./project-status-enum.dto";
|
|
@@ -40,6 +41,7 @@ export interface ProjectDto {
|
|
|
40
41
|
client: number;
|
|
41
42
|
project_managers: Array<number>;
|
|
42
43
|
jira_link: SimpleJiraProjectDto | null;
|
|
44
|
+
readonly statistics_data: ProjectStatisticsDto;
|
|
43
45
|
readonly client_data: SimpleClientDto;
|
|
44
46
|
readonly client_contact_data: SimpleClientContactDto | null;
|
|
45
47
|
readonly priority_data: SimpleProjectPriorityDto | null;
|
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.52",
|
|
4
|
+
"description": "OpenAPI client for @saritasa/crm-delmar-core-sdk(for version 0.1.39)",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -1,25 +0,0 @@
|
|
|
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 Client model with month stats.
|
|
12
|
-
*/
|
|
13
|
-
export interface ClientSerializerWithMonthStatsDto {
|
|
14
|
-
readonly id: number;
|
|
15
|
-
readonly created: string;
|
|
16
|
-
readonly modified: string;
|
|
17
|
-
readonly billable_day_duration: number;
|
|
18
|
-
readonly unbillable_day_duration: number;
|
|
19
|
-
readonly billable_week_duration: number;
|
|
20
|
-
readonly unbillable_week_duration: number;
|
|
21
|
-
readonly billable_month_duration: number;
|
|
22
|
-
readonly unbillable_month_duration: number;
|
|
23
|
-
readonly billable_month_avg_day_duration: number;
|
|
24
|
-
readonly unbillable_month_avg_day_duration: number;
|
|
25
|
-
}
|
|
@@ -1,69 +0,0 @@
|
|
|
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 { BillingMethodEnumDto } from "./billing-method-enum.dto";
|
|
12
|
-
import { WritableClientContactDto } from "./writable-client-contact.dto";
|
|
13
|
-
import { ClientStatusEnumDto } from "./client-status-enum.dto";
|
|
14
|
-
/**
|
|
15
|
-
* Serializer for Client model with stats.
|
|
16
|
-
*/
|
|
17
|
-
export interface ClientSerializerWithStatsDto {
|
|
18
|
-
readonly id: number;
|
|
19
|
-
readonly created: string;
|
|
20
|
-
readonly modified: string;
|
|
21
|
-
name: string;
|
|
22
|
-
status: ClientStatusEnumDto;
|
|
23
|
-
website: string;
|
|
24
|
-
is_billable: boolean;
|
|
25
|
-
billing_method: BillingMethodEnumDto;
|
|
26
|
-
account_manager: number;
|
|
27
|
-
payment_recipient_name: string;
|
|
28
|
-
time_limit_per_month: number;
|
|
29
|
-
/**
|
|
30
|
-
* Client ID in QuickBooks CRM
|
|
31
|
-
*/
|
|
32
|
-
qb_client_id: string;
|
|
33
|
-
/**
|
|
34
|
-
* Client ID in Zoho CRM
|
|
35
|
-
*/
|
|
36
|
-
zoho_account_id: string;
|
|
37
|
-
address1: string;
|
|
38
|
-
address2: string;
|
|
39
|
-
city: string;
|
|
40
|
-
state: string;
|
|
41
|
-
zip: string;
|
|
42
|
-
country: string;
|
|
43
|
-
notes: string;
|
|
44
|
-
billing_name: string;
|
|
45
|
-
billing_address1: string;
|
|
46
|
-
billing_address2: string;
|
|
47
|
-
billing_city: string;
|
|
48
|
-
billing_state: string;
|
|
49
|
-
billing_zip: string;
|
|
50
|
-
billing_country: string;
|
|
51
|
-
billing_notes: string;
|
|
52
|
-
readonly created_by: number | null;
|
|
53
|
-
readonly updated_by: number | null;
|
|
54
|
-
readonly billable_jobs_count: number;
|
|
55
|
-
readonly unbillable_jobs_count: number;
|
|
56
|
-
readonly billable_tasks_count: number;
|
|
57
|
-
readonly unbillable_tasks_count: number;
|
|
58
|
-
readonly billable_duration: number;
|
|
59
|
-
readonly unbillable_duration: number;
|
|
60
|
-
readonly billable_time_limit: number;
|
|
61
|
-
readonly unbillable_time_limit: number;
|
|
62
|
-
readonly billable_avg_day_duration: number;
|
|
63
|
-
readonly unbillable_avg_day_duration: number;
|
|
64
|
-
contacts_data: Array<WritableClientContactDto>;
|
|
65
|
-
readonly account_manager_data: SimpleUserDto;
|
|
66
|
-
readonly created_by_data: SimpleUserDto | null;
|
|
67
|
-
readonly updated_by_data: SimpleUserDto | null;
|
|
68
|
-
contract_until?: string | null;
|
|
69
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
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 ClientsWithStatsListAccountManagerErrorComponentDto {
|
|
11
|
-
/**
|
|
12
|
-
* * `account_manager` - account_manager
|
|
13
|
-
*/
|
|
14
|
-
attr: ClientsWithStatsListAccountManagerErrorComponentDtoAttrEnum;
|
|
15
|
-
/**
|
|
16
|
-
* * `invalid_choice` - invalid_choice
|
|
17
|
-
*/
|
|
18
|
-
code: ClientsWithStatsListAccountManagerErrorComponentDtoCodeEnum;
|
|
19
|
-
detail: string;
|
|
20
|
-
}
|
|
21
|
-
export declare enum ClientsWithStatsListAccountManagerErrorComponentDtoAttrEnum {
|
|
22
|
-
AccountManager = "account_manager"
|
|
23
|
-
}
|
|
24
|
-
export declare enum ClientsWithStatsListAccountManagerErrorComponentDtoCodeEnum {
|
|
25
|
-
InvalidChoice = "invalid_choice"
|
|
26
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
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 ClientsWithStatsListAccountManagerInErrorComponentDto {
|
|
11
|
-
/**
|
|
12
|
-
* * `account_manager__in` - account_manager__in
|
|
13
|
-
*/
|
|
14
|
-
attr: ClientsWithStatsListAccountManagerInErrorComponentDtoAttrEnum;
|
|
15
|
-
/**
|
|
16
|
-
* * `invalid_choice` - invalid_choice
|
|
17
|
-
*/
|
|
18
|
-
code: ClientsWithStatsListAccountManagerInErrorComponentDtoCodeEnum;
|
|
19
|
-
detail: string;
|
|
20
|
-
}
|
|
21
|
-
export declare enum ClientsWithStatsListAccountManagerInErrorComponentDtoAttrEnum {
|
|
22
|
-
AccountManagerIn = "account_manager__in"
|
|
23
|
-
}
|
|
24
|
-
export declare enum ClientsWithStatsListAccountManagerInErrorComponentDtoCodeEnum {
|
|
25
|
-
InvalidChoice = "invalid_choice"
|
|
26
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
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 ClientsWithStatsListAddress1ErrorComponentDto {
|
|
11
|
-
/**
|
|
12
|
-
* * `address1` - address1
|
|
13
|
-
*/
|
|
14
|
-
attr: ClientsWithStatsListAddress1ErrorComponentDtoAttrEnum;
|
|
15
|
-
/**
|
|
16
|
-
* * `null_characters_not_allowed` - null_characters_not_allowed
|
|
17
|
-
*/
|
|
18
|
-
code: ClientsWithStatsListAddress1ErrorComponentDtoCodeEnum;
|
|
19
|
-
detail: string;
|
|
20
|
-
}
|
|
21
|
-
export declare enum ClientsWithStatsListAddress1ErrorComponentDtoAttrEnum {
|
|
22
|
-
Address1 = "address1"
|
|
23
|
-
}
|
|
24
|
-
export declare enum ClientsWithStatsListAddress1ErrorComponentDtoCodeEnum {
|
|
25
|
-
NullCharactersNotAllowed = "null_characters_not_allowed"
|
|
26
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
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 ClientsWithStatsListAddress1InErrorComponentDto {
|
|
11
|
-
/**
|
|
12
|
-
* * `address1__in` - address1__in
|
|
13
|
-
*/
|
|
14
|
-
attr: ClientsWithStatsListAddress1InErrorComponentDtoAttrEnum;
|
|
15
|
-
/**
|
|
16
|
-
* * `null_characters_not_allowed` - null_characters_not_allowed
|
|
17
|
-
*/
|
|
18
|
-
code: ClientsWithStatsListAddress1InErrorComponentDtoCodeEnum;
|
|
19
|
-
detail: string;
|
|
20
|
-
}
|
|
21
|
-
export declare enum ClientsWithStatsListAddress1InErrorComponentDtoAttrEnum {
|
|
22
|
-
Address1In = "address1__in"
|
|
23
|
-
}
|
|
24
|
-
export declare enum ClientsWithStatsListAddress1InErrorComponentDtoCodeEnum {
|
|
25
|
-
NullCharactersNotAllowed = "null_characters_not_allowed"
|
|
26
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
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 ClientsWithStatsListAddress2ErrorComponentDto {
|
|
11
|
-
/**
|
|
12
|
-
* * `address2` - address2
|
|
13
|
-
*/
|
|
14
|
-
attr: ClientsWithStatsListAddress2ErrorComponentDtoAttrEnum;
|
|
15
|
-
/**
|
|
16
|
-
* * `null_characters_not_allowed` - null_characters_not_allowed
|
|
17
|
-
*/
|
|
18
|
-
code: ClientsWithStatsListAddress2ErrorComponentDtoCodeEnum;
|
|
19
|
-
detail: string;
|
|
20
|
-
}
|
|
21
|
-
export declare enum ClientsWithStatsListAddress2ErrorComponentDtoAttrEnum {
|
|
22
|
-
Address2 = "address2"
|
|
23
|
-
}
|
|
24
|
-
export declare enum ClientsWithStatsListAddress2ErrorComponentDtoCodeEnum {
|
|
25
|
-
NullCharactersNotAllowed = "null_characters_not_allowed"
|
|
26
|
-
}
|