@saritasa/crm-delmar-core-sdk 0.1.49 → 0.1.51

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.
Files changed (110) hide show
  1. package/README.md +2 -2
  2. package/api/api.d.ts +4 -1
  3. package/api/clients-api.service.d.ts +1 -67
  4. package/api/clients-api.serviceInterface.d.ts +0 -92
  5. package/api/export-sprint-hourly-report-for-client-api.service.d.ts +98 -0
  6. package/api/export-sprint-hourly-report-for-client-api.serviceInterface.d.ts +71 -0
  7. package/api/projects-api.service.d.ts +1 -67
  8. package/api/projects-api.serviceInterface.d.ts +0 -49
  9. package/fesm2022/saritasa-crm-delmar-core-sdk.mjs +678 -2107
  10. package/fesm2022/saritasa-crm-delmar-core-sdk.mjs.map +1 -1
  11. package/model/client-duration-data.dto.d.ts +3 -3
  12. package/model/client-margin-report.dto.d.ts +3 -3
  13. package/model/client-sprint-hourly-report-export-resource-create-export-job-request.dto.d.ts +16 -0
  14. package/model/client-statistics-request.dto.d.ts +38 -0
  15. package/model/client-statistics.dto.d.ts +41 -0
  16. package/model/client.dto.d.ts +2 -0
  17. package/model/export-sprint-hourly-report-for-client-start-create-error-response400.dto.d.ts +16 -0
  18. package/model/export-sprint-hourly-report-for-client-start-create-error.dto.d.ts +16 -0
  19. package/model/export-sprint-hourly-report-for-client-start-create-file-format-error-component.dto.d.ts +28 -0
  20. package/model/export-sprint-hourly-report-for-client-start-create-non-field-errors-error-component.dto.d.ts +27 -0
  21. package/model/{projects-with-stats-list-validation-error.dto.d.ts → export-sprint-hourly-report-for-client-start-create-validation-error.dto.d.ts} +3 -3
  22. package/model/models.d.ts +10 -83
  23. package/model/project-margin-report.dto.d.ts +3 -3
  24. package/model/project-statistics-request.dto.d.ts +38 -0
  25. package/model/project-statistics.dto.d.ts +41 -0
  26. package/model/project-status-report.dto.d.ts +5 -3
  27. package/model/project.dto.d.ts +2 -0
  28. package/package.json +2 -2
  29. package/model/client-serializer-with-month-stats.dto.d.ts +0 -25
  30. package/model/client-serializer-with-stats.dto.d.ts +0 -69
  31. package/model/clients-with-stats-list-account-manager-error-component.dto.d.ts +0 -26
  32. package/model/clients-with-stats-list-account-manager-in-error-component.dto.d.ts +0 -26
  33. package/model/clients-with-stats-list-address1-error-component.dto.d.ts +0 -26
  34. package/model/clients-with-stats-list-address1-in-error-component.dto.d.ts +0 -26
  35. package/model/clients-with-stats-list-address2-error-component.dto.d.ts +0 -26
  36. package/model/clients-with-stats-list-address2-in-error-component.dto.d.ts +0 -26
  37. package/model/clients-with-stats-list-billing-address1-error-component.dto.d.ts +0 -26
  38. package/model/clients-with-stats-list-billing-address1-in-error-component.dto.d.ts +0 -26
  39. package/model/clients-with-stats-list-billing-address2-error-component.dto.d.ts +0 -26
  40. package/model/clients-with-stats-list-billing-address2-in-error-component.dto.d.ts +0 -26
  41. package/model/clients-with-stats-list-billing-city-error-component.dto.d.ts +0 -26
  42. package/model/clients-with-stats-list-billing-city-in-error-component.dto.d.ts +0 -26
  43. package/model/clients-with-stats-list-billing-country-error-component.dto.d.ts +0 -26
  44. package/model/clients-with-stats-list-billing-country-in-error-component.dto.d.ts +0 -26
  45. package/model/clients-with-stats-list-billing-method-error-component.dto.d.ts +0 -26
  46. package/model/clients-with-stats-list-billing-method-in-error-component.dto.d.ts +0 -26
  47. package/model/clients-with-stats-list-billing-notes-contains-error-component.dto.d.ts +0 -26
  48. package/model/clients-with-stats-list-billing-notes-error-component.dto.d.ts +0 -26
  49. package/model/clients-with-stats-list-billing-notes-in-error-component.dto.d.ts +0 -26
  50. package/model/clients-with-stats-list-billing-state-error-component.dto.d.ts +0 -26
  51. package/model/clients-with-stats-list-billing-state-in-error-component.dto.d.ts +0 -26
  52. package/model/clients-with-stats-list-billing-zip-error-component.dto.d.ts +0 -26
  53. package/model/clients-with-stats-list-billing-zip-in-error-component.dto.d.ts +0 -26
  54. package/model/clients-with-stats-list-city-error-component.dto.d.ts +0 -26
  55. package/model/clients-with-stats-list-city-in-error-component.dto.d.ts +0 -26
  56. package/model/clients-with-stats-list-contract-until-gte-error-component.dto.d.ts +0 -26
  57. package/model/clients-with-stats-list-contract-until-lte-error-component.dto.d.ts +0 -26
  58. package/model/clients-with-stats-list-country-error-component.dto.d.ts +0 -26
  59. package/model/clients-with-stats-list-country-in-error-component.dto.d.ts +0 -26
  60. package/model/clients-with-stats-list-created-by-error-component.dto.d.ts +0 -26
  61. package/model/clients-with-stats-list-created-by-in-error-component.dto.d.ts +0 -26
  62. package/model/clients-with-stats-list-created-date-gte-error-component.dto.d.ts +0 -26
  63. package/model/clients-with-stats-list-created-date-lte-error-component.dto.d.ts +0 -26
  64. package/model/clients-with-stats-list-created-gte-error-component.dto.d.ts +0 -26
  65. package/model/clients-with-stats-list-created-lte-error-component.dto.d.ts +0 -26
  66. package/model/clients-with-stats-list-error-response400.dto.d.ts +0 -16
  67. package/model/clients-with-stats-list-error.dto.d.ts +0 -72
  68. package/model/clients-with-stats-list-id-error-component.dto.d.ts +0 -27
  69. package/model/clients-with-stats-list-id-in-error-component.dto.d.ts +0 -27
  70. package/model/clients-with-stats-list-notes-contains-error-component.dto.d.ts +0 -26
  71. package/model/clients-with-stats-list-notes-error-component.dto.d.ts +0 -26
  72. package/model/clients-with-stats-list-notes-in-error-component.dto.d.ts +0 -26
  73. package/model/clients-with-stats-list-payment-recipient-name-error-component.dto.d.ts +0 -26
  74. package/model/clients-with-stats-list-payment-recipient-name-in-error-component.dto.d.ts +0 -26
  75. package/model/clients-with-stats-list-qb-client-id-error-component.dto.d.ts +0 -26
  76. package/model/clients-with-stats-list-qb-client-id-in-error-component.dto.d.ts +0 -26
  77. package/model/clients-with-stats-list-state-error-component.dto.d.ts +0 -26
  78. package/model/clients-with-stats-list-state-in-error-component.dto.d.ts +0 -26
  79. package/model/clients-with-stats-list-status-error-component.dto.d.ts +0 -26
  80. package/model/clients-with-stats-list-status-in-error-component.dto.d.ts +0 -26
  81. package/model/clients-with-stats-list-time-limit-per-month-gte-error-component.dto.d.ts +0 -27
  82. package/model/clients-with-stats-list-time-limit-per-month-lte-error-component.dto.d.ts +0 -27
  83. package/model/clients-with-stats-list-updated-by-error-component.dto.d.ts +0 -26
  84. package/model/clients-with-stats-list-updated-by-in-error-component.dto.d.ts +0 -26
  85. package/model/clients-with-stats-list-validation-error.dto.d.ts +0 -15
  86. package/model/clients-with-stats-list-website-error-component.dto.d.ts +0 -26
  87. package/model/clients-with-stats-list-website-in-error-component.dto.d.ts +0 -26
  88. package/model/clients-with-stats-list-zip-error-component.dto.d.ts +0 -26
  89. package/model/clients-with-stats-list-zip-in-error-component.dto.d.ts +0 -26
  90. package/model/clients-with-stats-list-zoho-account-id-error-component.dto.d.ts +0 -26
  91. package/model/clients-with-stats-list-zoho-account-id-in-error-component.dto.d.ts +0 -26
  92. package/model/paginated-client-serializer-with-stats-list.dto.d.ts +0 -16
  93. package/model/paginated-project-serializer-with-stats-list.dto.d.ts +0 -16
  94. package/model/project-serializer-with-month-stats.dto.d.ts +0 -25
  95. package/model/project-serializer-with-stats.dto.d.ts +0 -80
  96. package/model/projects-with-stats-list-client-contact-error-component.dto.d.ts +0 -26
  97. package/model/projects-with-stats-list-client-contact-in-error-component.dto.d.ts +0 -26
  98. package/model/projects-with-stats-list-client-error-component.dto.d.ts +0 -26
  99. package/model/projects-with-stats-list-client-in-error-component.dto.d.ts +0 -26
  100. package/model/projects-with-stats-list-created-date-gte-error-component.dto.d.ts +0 -26
  101. package/model/projects-with-stats-list-created-date-lte-error-component.dto.d.ts +0 -26
  102. package/model/projects-with-stats-list-created-gte-error-component.dto.d.ts +0 -26
  103. package/model/projects-with-stats-list-created-lte-error-component.dto.d.ts +0 -26
  104. package/model/projects-with-stats-list-error-response400.dto.d.ts +0 -16
  105. package/model/projects-with-stats-list-error.dto.d.ts +0 -27
  106. package/model/projects-with-stats-list-id-error-component.dto.d.ts +0 -27
  107. package/model/projects-with-stats-list-id-in-error-component.dto.d.ts +0 -27
  108. package/model/projects-with-stats-list-project-managers-id-in-error-component.dto.d.ts +0 -27
  109. package/model/projects-with-stats-list-status-error-component.dto.d.ts +0 -26
  110. package/model/projects-with-stats-list-status-in-error-component.dto.d.ts +0 -26
@@ -18,13 +18,13 @@ export interface ClientDurationDataDto {
18
18
  /**
19
19
  * Get billable duration.
20
20
  */
21
- readonly billable_duration: number;
21
+ readonly billable_job_duration: number;
22
22
  /**
23
23
  * Get unbillable duration.
24
24
  */
25
- readonly unbillable_duration: number;
25
+ readonly unbillable_job_duration: number;
26
26
  /**
27
27
  * Get total duration.
28
28
  */
29
- readonly total_duration: number;
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 billable_duration: number;
18
+ readonly billable_job_duration: number;
19
19
  /**
20
20
  * Get unbillable duration.
21
21
  */
22
- readonly unbillable_duration: number;
22
+ readonly unbillable_job_duration: number;
23
23
  /**
24
24
  * Get total duration.
25
25
  */
26
- readonly total_duration: number;
26
+ readonly total_job_duration: number;
27
27
  readonly clients: Array<ClientDurationDataDto>;
28
28
  }
@@ -0,0 +1,16 @@
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 { PDFFileFormatEnumDto } from "./pdf-file-format-enum.dto";
11
+ /**
12
+ * Serializer to start export job.
13
+ */
14
+ export interface ClientSprintHourlyReportExportResourceCreateExportJobRequestDto {
15
+ file_format: PDFFileFormatEnumDto;
16
+ }
@@ -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
+ }
@@ -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;
@@ -0,0 +1,16 @@
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 { ParseErrorResponseDto } from "./parse-error-response.dto";
11
+ import { ExportSprintHourlyReportForClientStartCreateValidationErrorDto } from "./export-sprint-hourly-report-for-client-start-create-validation-error.dto";
12
+ /**
13
+ * @type ExportSprintHourlyReportForClientStartCreateErrorResponse400Dto
14
+ * @export
15
+ */
16
+ export type ExportSprintHourlyReportForClientStartCreateErrorResponse400Dto = ExportSprintHourlyReportForClientStartCreateValidationErrorDto | ParseErrorResponseDto;
@@ -0,0 +1,16 @@
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 { ExportSprintHourlyReportForClientStartCreateNonFieldErrorsErrorComponentDto } from "./export-sprint-hourly-report-for-client-start-create-non-field-errors-error-component.dto";
11
+ import { ExportSprintHourlyReportForClientStartCreateFileFormatErrorComponentDto } from "./export-sprint-hourly-report-for-client-start-create-file-format-error-component.dto";
12
+ /**
13
+ * @type ExportSprintHourlyReportForClientStartCreateErrorDto
14
+ * @export
15
+ */
16
+ export type ExportSprintHourlyReportForClientStartCreateErrorDto = ExportSprintHourlyReportForClientStartCreateFileFormatErrorComponentDto | ExportSprintHourlyReportForClientStartCreateNonFieldErrorsErrorComponentDto;
@@ -0,0 +1,28 @@
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 ExportSprintHourlyReportForClientStartCreateFileFormatErrorComponentDto {
11
+ /**
12
+ * * `file_format` - file_format
13
+ */
14
+ attr: ExportSprintHourlyReportForClientStartCreateFileFormatErrorComponentDtoAttrEnum;
15
+ /**
16
+ * * `invalid_choice` - invalid_choice * `null` - null * `required` - required
17
+ */
18
+ code: ExportSprintHourlyReportForClientStartCreateFileFormatErrorComponentDtoCodeEnum;
19
+ detail: string;
20
+ }
21
+ export declare enum ExportSprintHourlyReportForClientStartCreateFileFormatErrorComponentDtoAttrEnum {
22
+ FileFormat = "file_format"
23
+ }
24
+ export declare enum ExportSprintHourlyReportForClientStartCreateFileFormatErrorComponentDtoCodeEnum {
25
+ InvalidChoice = "invalid_choice",
26
+ Null = "null",
27
+ Required = "required"
28
+ }
@@ -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
+ export interface ExportSprintHourlyReportForClientStartCreateNonFieldErrorsErrorComponentDto {
11
+ /**
12
+ * * `non_field_errors` - non_field_errors
13
+ */
14
+ attr: ExportSprintHourlyReportForClientStartCreateNonFieldErrorsErrorComponentDtoAttrEnum;
15
+ /**
16
+ * * `invalid` - invalid * `null` - null
17
+ */
18
+ code: ExportSprintHourlyReportForClientStartCreateNonFieldErrorsErrorComponentDtoCodeEnum;
19
+ detail: string;
20
+ }
21
+ export declare enum ExportSprintHourlyReportForClientStartCreateNonFieldErrorsErrorComponentDtoAttrEnum {
22
+ NonFieldErrors = "non_field_errors"
23
+ }
24
+ export declare enum ExportSprintHourlyReportForClientStartCreateNonFieldErrorsErrorComponentDtoCodeEnum {
25
+ Invalid = "invalid",
26
+ Null = "null"
27
+ }
@@ -7,9 +7,9 @@
7
7
  * https://openapi-generator.tech
8
8
  * Do not edit the class manually.
9
9
  */
10
+ import { ExportSprintHourlyReportForClientStartCreateErrorDto } from "./export-sprint-hourly-report-for-client-start-create-error.dto";
10
11
  import { ValidationErrorEnumDto } from "./validation-error-enum.dto";
11
- import { ProjectsWithStatsListErrorDto } from "./projects-with-stats-list-error.dto";
12
- export interface ProjectsWithStatsListValidationErrorDto {
12
+ export interface ExportSprintHourlyReportForClientStartCreateValidationErrorDto {
13
13
  type: ValidationErrorEnumDto;
14
- errors: Array<ProjectsWithStatsListErrorDto>;
14
+ errors: Array<ExportSprintHourlyReportForClientStartCreateErrorDto>;
15
15
  }
package/model/models.d.ts CHANGED
@@ -152,8 +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";
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";
157
158
  export * from "./client-status-enum.dto";
158
159
  export * from "./client-summary-export-resource-create-export-job-request.dto";
159
160
  export * from "./client-task-hourly-report-export-resource-create-export-job-request.dto";
@@ -372,67 +373,6 @@ export * from "./clients-update-validation-error.dto";
372
373
  export * from "./clients-update-website-error-component.dto";
373
374
  export * from "./clients-update-zip-error-component.dto";
374
375
  export * from "./clients-update-zoho-account-id-error-component.dto";
375
- export * from "./clients-with-stats-list-account-manager-error-component.dto";
376
- export * from "./clients-with-stats-list-account-manager-in-error-component.dto";
377
- export * from "./clients-with-stats-list-address1-error-component.dto";
378
- export * from "./clients-with-stats-list-address1-in-error-component.dto";
379
- export * from "./clients-with-stats-list-address2-error-component.dto";
380
- export * from "./clients-with-stats-list-address2-in-error-component.dto";
381
- export * from "./clients-with-stats-list-billing-address1-error-component.dto";
382
- export * from "./clients-with-stats-list-billing-address1-in-error-component.dto";
383
- export * from "./clients-with-stats-list-billing-address2-error-component.dto";
384
- export * from "./clients-with-stats-list-billing-address2-in-error-component.dto";
385
- export * from "./clients-with-stats-list-billing-city-error-component.dto";
386
- export * from "./clients-with-stats-list-billing-city-in-error-component.dto";
387
- export * from "./clients-with-stats-list-billing-country-error-component.dto";
388
- export * from "./clients-with-stats-list-billing-country-in-error-component.dto";
389
- export * from "./clients-with-stats-list-billing-method-error-component.dto";
390
- export * from "./clients-with-stats-list-billing-method-in-error-component.dto";
391
- export * from "./clients-with-stats-list-billing-notes-contains-error-component.dto";
392
- export * from "./clients-with-stats-list-billing-notes-error-component.dto";
393
- export * from "./clients-with-stats-list-billing-notes-in-error-component.dto";
394
- export * from "./clients-with-stats-list-billing-state-error-component.dto";
395
- export * from "./clients-with-stats-list-billing-state-in-error-component.dto";
396
- export * from "./clients-with-stats-list-billing-zip-error-component.dto";
397
- export * from "./clients-with-stats-list-billing-zip-in-error-component.dto";
398
- export * from "./clients-with-stats-list-city-error-component.dto";
399
- export * from "./clients-with-stats-list-city-in-error-component.dto";
400
- export * from "./clients-with-stats-list-contract-until-gte-error-component.dto";
401
- export * from "./clients-with-stats-list-contract-until-lte-error-component.dto";
402
- export * from "./clients-with-stats-list-country-error-component.dto";
403
- export * from "./clients-with-stats-list-country-in-error-component.dto";
404
- export * from "./clients-with-stats-list-created-by-error-component.dto";
405
- export * from "./clients-with-stats-list-created-by-in-error-component.dto";
406
- export * from "./clients-with-stats-list-created-date-gte-error-component.dto";
407
- export * from "./clients-with-stats-list-created-date-lte-error-component.dto";
408
- export * from "./clients-with-stats-list-created-gte-error-component.dto";
409
- export * from "./clients-with-stats-list-created-lte-error-component.dto";
410
- export * from "./clients-with-stats-list-error.dto";
411
- export * from "./clients-with-stats-list-error-response400.dto";
412
- export * from "./clients-with-stats-list-id-error-component.dto";
413
- export * from "./clients-with-stats-list-id-in-error-component.dto";
414
- export * from "./clients-with-stats-list-notes-contains-error-component.dto";
415
- export * from "./clients-with-stats-list-notes-error-component.dto";
416
- export * from "./clients-with-stats-list-notes-in-error-component.dto";
417
- export * from "./clients-with-stats-list-payment-recipient-name-error-component.dto";
418
- export * from "./clients-with-stats-list-payment-recipient-name-in-error-component.dto";
419
- export * from "./clients-with-stats-list-qb-client-id-error-component.dto";
420
- export * from "./clients-with-stats-list-qb-client-id-in-error-component.dto";
421
- export * from "./clients-with-stats-list-state-error-component.dto";
422
- export * from "./clients-with-stats-list-state-in-error-component.dto";
423
- export * from "./clients-with-stats-list-status-error-component.dto";
424
- export * from "./clients-with-stats-list-status-in-error-component.dto";
425
- export * from "./clients-with-stats-list-time-limit-per-month-gte-error-component.dto";
426
- export * from "./clients-with-stats-list-time-limit-per-month-lte-error-component.dto";
427
- export * from "./clients-with-stats-list-updated-by-error-component.dto";
428
- export * from "./clients-with-stats-list-updated-by-in-error-component.dto";
429
- export * from "./clients-with-stats-list-validation-error.dto";
430
- export * from "./clients-with-stats-list-website-error-component.dto";
431
- export * from "./clients-with-stats-list-website-in-error-component.dto";
432
- export * from "./clients-with-stats-list-zip-error-component.dto";
433
- export * from "./clients-with-stats-list-zip-in-error-component.dto";
434
- export * from "./clients-with-stats-list-zoho-account-id-error-component.dto";
435
- export * from "./clients-with-stats-list-zoho-account-id-in-error-component.dto";
436
376
  export * from "./component.dto";
437
377
  export * from "./component-hourly-report.dto";
438
378
  export * from "./components-list-created-date-gte-error-component.dto";
@@ -649,6 +589,11 @@ export * from "./export-projects-start-create-error-response400.dto";
649
589
  export * from "./export-projects-start-create-file-format-error-component.dto";
650
590
  export * from "./export-projects-start-create-non-field-errors-error-component.dto";
651
591
  export * from "./export-projects-start-create-validation-error.dto";
592
+ export * from "./export-sprint-hourly-report-for-client-start-create-error.dto";
593
+ export * from "./export-sprint-hourly-report-for-client-start-create-error-response400.dto";
594
+ export * from "./export-sprint-hourly-report-for-client-start-create-file-format-error-component.dto";
595
+ export * from "./export-sprint-hourly-report-for-client-start-create-non-field-errors-error-component.dto";
596
+ export * from "./export-sprint-hourly-report-for-client-start-create-validation-error.dto";
652
597
  export * from "./export-sprint-hourly-report-for-project-start-create-error.dto";
653
598
  export * from "./export-sprint-hourly-report-for-project-start-create-error-response400.dto";
654
599
  export * from "./export-sprint-hourly-report-for-project-start-create-file-format-error-component.dto";
@@ -1098,7 +1043,6 @@ export * from "./paginated-branch-period-list.dto";
1098
1043
  export * from "./paginated-branch-user-stats-list.dto";
1099
1044
  export * from "./paginated-client-list.dto";
1100
1045
  export * from "./paginated-client-note-list.dto";
1101
- export * from "./paginated-client-serializer-with-stats-list.dto";
1102
1046
  export * from "./paginated-component-hourly-report-list.dto";
1103
1047
  export * from "./paginated-component-list.dto";
1104
1048
  export * from "./paginated-department-hourly-report-list.dto";
@@ -1117,7 +1061,6 @@ export * from "./paginated-project-list.dto";
1117
1061
  export * from "./paginated-project-margin-report-list.dto";
1118
1062
  export * from "./paginated-project-note-list.dto";
1119
1063
  export * from "./paginated-project-resource-list.dto";
1120
- export * from "./paginated-project-serializer-with-stats-list.dto";
1121
1064
  export * from "./paginated-project-status-report-list.dto";
1122
1065
  export * from "./paginated-role-list.dto";
1123
1066
  export * from "./paginated-simple-client-list.dto";
@@ -1284,9 +1227,9 @@ export * from "./project-resources-update-error-response400.dto";
1284
1227
  export * from "./project-resources-update-non-field-errors-error-component.dto";
1285
1228
  export * from "./project-resources-update-validation-error.dto";
1286
1229
  export * from "./project-resources-update-work-type-error-component.dto";
1287
- export * from "./project-serializer-with-month-stats.dto";
1288
- export * from "./project-serializer-with-stats.dto";
1289
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";
1290
1233
  export * from "./project-status-enum.dto";
1291
1234
  export * from "./project-status-report.dto";
1292
1235
  export * from "./project-status-report-resource-create-export-job-request.dto";
@@ -1416,22 +1359,6 @@ export * from "./projects-update-time-limit-error-component.dto";
1416
1359
  export * from "./projects-update-time-limit-per-month-error-component.dto";
1417
1360
  export * from "./projects-update-validation-error.dto";
1418
1361
  export * from "./projects-update-zoho-id-error-component.dto";
1419
- export * from "./projects-with-stats-list-client-contact-error-component.dto";
1420
- export * from "./projects-with-stats-list-client-contact-in-error-component.dto";
1421
- export * from "./projects-with-stats-list-client-error-component.dto";
1422
- export * from "./projects-with-stats-list-client-in-error-component.dto";
1423
- export * from "./projects-with-stats-list-created-date-gte-error-component.dto";
1424
- export * from "./projects-with-stats-list-created-date-lte-error-component.dto";
1425
- export * from "./projects-with-stats-list-created-gte-error-component.dto";
1426
- export * from "./projects-with-stats-list-created-lte-error-component.dto";
1427
- export * from "./projects-with-stats-list-error.dto";
1428
- export * from "./projects-with-stats-list-error-response400.dto";
1429
- export * from "./projects-with-stats-list-id-error-component.dto";
1430
- export * from "./projects-with-stats-list-id-in-error-component.dto";
1431
- export * from "./projects-with-stats-list-project-managers-id-in-error-component.dto";
1432
- export * from "./projects-with-stats-list-status-error-component.dto";
1433
- export * from "./projects-with-stats-list-status-in-error-component.dto";
1434
- export * from "./projects-with-stats-list-validation-error.dto";
1435
1362
  export * from "./projects-worked-on-list-client-contact-error-component.dto";
1436
1363
  export * from "./projects-worked-on-list-client-contact-in-error-component.dto";
1437
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 billable_duration: number;
26
+ readonly billable_job_duration: number;
27
27
  /**
28
28
  * Get unbillable duration.
29
29
  */
30
- readonly unbillable_duration: number;
30
+ readonly unbillable_job_duration: number;
31
31
  /**
32
32
  * Get total duration.
33
33
  */
34
- readonly total_duration: number;
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
+ }
@@ -13,6 +13,7 @@ import { SimpleUserDto } from "./simple-user.dto";
13
13
  import { BillingFrequencyEnumDto } from "./billing-frequency-enum.dto";
14
14
  import { SimpleProjectPriorityDto } from "./simple-project-priority.dto";
15
15
  import { BillingTypeEnumDto } from "./billing-type-enum.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,9 +41,10 @@ export interface ProjectStatusReportDto {
40
41
  client: number;
41
42
  project_managers: Array<number>;
42
43
  jira_link: SimpleJiraProjectDto | null;
43
- readonly billable_duration: number;
44
- readonly unbillable_duration: number;
45
- readonly total_duration: number;
44
+ readonly billable_job_duration: number;
45
+ readonly unbillable_job_duration: number;
46
+ readonly total_job_duration: number;
47
+ readonly statistics_data: ProjectStatisticsDto;
46
48
  readonly client_data: SimpleClientStatusReportDto;
47
49
  readonly client_contact_data: SimpleClientContactDto | null;
48
50
  readonly priority_data: SimpleProjectPriorityDto | null;
@@ -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.49",
4
- "description": "OpenAPI client for @saritasa/crm-delmar-core-sdk(for version 0.1.37)",
3
+ "version": "0.1.51",
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
- }