@saritasa/crm-delmar-core-sdk 0.1.20 → 0.1.21
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 -0
- package/api/export-margin-report-api.serviceInterface.d.ts +2 -0
- package/api/projects-api.service.d.ts +8 -8
- package/api/projects-api.serviceInterface.d.ts +7 -3
- package/fesm2022/saritasa-crm-delmar-core-sdk.mjs +144 -90
- package/fesm2022/saritasa-crm-delmar-core-sdk.mjs.map +1 -1
- package/model/clients-margin-report-retrieve-account-manager-in-error-component.dto.d.ts +26 -0
- package/model/clients-margin-report-retrieve-error.dto.d.ts +2 -1
- package/model/models.d.ts +16 -13
- package/model/paginated-project-margin-report-list.dto.d.ts +16 -0
- package/model/{projects-margin-report-retrieve-billing-type-error-component.dto.d.ts → projects-margin-report-list-billing-type-error-component.dto.d.ts} +5 -5
- package/model/{projects-margin-report-retrieve-billing-type-in-error-component.dto.d.ts → projects-margin-report-list-billing-type-in-error-component.dto.d.ts} +5 -5
- package/model/projects-margin-report-list-client-account-manager-error-component.dto.d.ts +26 -0
- package/model/{projects-margin-report-retrieve-client-account-manager-in-error-component.dto.d.ts → projects-margin-report-list-client-account-manager-in-error-component.dto.d.ts} +5 -5
- package/model/{projects-margin-report-retrieve-client-error-component.dto.d.ts → projects-margin-report-list-client-error-component.dto.d.ts} +5 -5
- package/model/{projects-margin-report-retrieve-client-in-error-component.dto.d.ts → projects-margin-report-list-client-in-error-component.dto.d.ts} +5 -5
- package/model/projects-margin-report-list-error-response400.dto.d.ts +16 -0
- package/model/projects-margin-report-list-error.dto.d.ts +25 -0
- package/model/{projects-margin-report-retrieve-id-in-error-component.dto.d.ts → projects-margin-report-list-id-in-error-component.dto.d.ts} +5 -5
- package/model/projects-margin-report-list-ordering-error-component.dto.d.ts +26 -0
- package/model/{projects-margin-report-retrieve-period-error-component.dto.d.ts → projects-margin-report-list-period-error-component.dto.d.ts} +5 -5
- package/model/{projects-margin-report-retrieve-project-managers-error-component.dto.d.ts → projects-margin-report-list-project-managers-error-component.dto.d.ts} +5 -5
- package/model/{projects-margin-report-retrieve-project-managers-in-error-component.dto.d.ts → projects-margin-report-list-project-managers-in-error-component.dto.d.ts} +5 -5
- package/model/{projects-margin-report-retrieve-validation-error.dto.d.ts → projects-margin-report-list-validation-error.dto.d.ts} +3 -3
- package/package.json +2 -2
- package/model/projects-margin-report-retrieve-client-account-manager-error-component.dto.d.ts +0 -26
- package/model/projects-margin-report-retrieve-error-response400.dto.d.ts +0 -16
- package/model/projects-margin-report-retrieve-error.dto.d.ts +0 -24
package/README.md
CHANGED
|
@@ -29,9 +29,11 @@ export interface ExportMarginReportStartCreateRequestParams {
|
|
|
29
29
|
period: string;
|
|
30
30
|
roundingType: "none" | "round_half" | "round_zero";
|
|
31
31
|
marginReportResourceCreateExportJobRequestDto: MarginReportResourceCreateExportJobRequestDto;
|
|
32
|
+
accountManagerIn?: Array<number>;
|
|
32
33
|
idIn?: Array<number>;
|
|
33
34
|
isBillable?: boolean;
|
|
34
35
|
ordering?: string;
|
|
36
|
+
projectOrdering?: string;
|
|
35
37
|
taskProjectBillingType?: "fixed" | "hourly" | "investment" | "sla";
|
|
36
38
|
taskProjectIsUtilized?: boolean;
|
|
37
39
|
taskProjectProjectManagersIn?: Array<number>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { HttpClient, HttpResponse, HttpEvent, HttpContext } from "@angular/common/http";
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
3
|
import { PaginatedProjectListDto } from "../model/paginated-project-list.dto";
|
|
4
|
+
import { PaginatedProjectMarginReportListDto } from "../model/paginated-project-margin-report-list.dto";
|
|
4
5
|
import { PaginatedProjectSerializerWithStatsListDto } from "../model/paginated-project-serializer-with-stats-list.dto";
|
|
5
6
|
import { PaginatedProjectStatusReportListDto } from "../model/paginated-project-status-report-list.dto";
|
|
6
7
|
import { PaginatedSimpleProjectListDto } from "../model/paginated-simple-project-list.dto";
|
|
7
8
|
import { ProjectDto } from "../model/project.dto";
|
|
8
|
-
import { ProjectMarginReportDto } from "../model/project-margin-report.dto";
|
|
9
9
|
import { ProjectSerializerWithMonthStatsDto } from "../model/project-serializer-with-month-stats.dto";
|
|
10
10
|
import { ProjectSerializerWithStatsDto } from "../model/project-serializer-with-stats.dto";
|
|
11
11
|
import { Configuration } from "../configuration";
|
|
12
12
|
import { BaseService } from "../api.base.service";
|
|
13
|
-
import { ProjectsApiServiceInterface, ProjectsCreateRequestParams, ProjectsListRequestParams,
|
|
13
|
+
import { ProjectsApiServiceInterface, ProjectsCreateRequestParams, ProjectsListRequestParams, ProjectsMarginReportListRequestParams, ProjectsRetrieveRequestParams, ProjectsStatusReportListRequestParams, ProjectsUpdateRequestParams, ProjectsWithMonthStatsRetrieveRequestParams, ProjectsWithStatsListRequestParams, ProjectsWithStatsRetrieveRequestParams, ProjectsWorkedOnListRequestParams } from "./projects-api.serviceInterface";
|
|
14
14
|
import * as i0 from "@angular/core";
|
|
15
15
|
export declare class ProjectsApiService extends BaseService implements ProjectsApiServiceInterface {
|
|
16
16
|
protected httpClient: HttpClient;
|
|
@@ -63,21 +63,21 @@ export declare class ProjectsApiService extends BaseService implements ProjectsA
|
|
|
63
63
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
64
64
|
* @param reportProgress flag to report request and response progress.
|
|
65
65
|
*/
|
|
66
|
-
|
|
66
|
+
projectsMarginReportList(requestParameters: ProjectsMarginReportListRequestParams, observe?: "body", reportProgress?: boolean, options?: {
|
|
67
67
|
httpHeaderAccept?: "application/json";
|
|
68
68
|
context?: HttpContext;
|
|
69
69
|
transferCache?: boolean;
|
|
70
|
-
}): Observable<
|
|
71
|
-
|
|
70
|
+
}): Observable<PaginatedProjectMarginReportListDto>;
|
|
71
|
+
projectsMarginReportList(requestParameters: ProjectsMarginReportListRequestParams, observe?: "response", reportProgress?: boolean, options?: {
|
|
72
72
|
httpHeaderAccept?: "application/json";
|
|
73
73
|
context?: HttpContext;
|
|
74
74
|
transferCache?: boolean;
|
|
75
|
-
}): Observable<HttpResponse<
|
|
76
|
-
|
|
75
|
+
}): Observable<HttpResponse<PaginatedProjectMarginReportListDto>>;
|
|
76
|
+
projectsMarginReportList(requestParameters: ProjectsMarginReportListRequestParams, observe?: "events", reportProgress?: boolean, options?: {
|
|
77
77
|
httpHeaderAccept?: "application/json";
|
|
78
78
|
context?: HttpContext;
|
|
79
79
|
transferCache?: boolean;
|
|
80
|
-
}): Observable<HttpEvent<
|
|
80
|
+
}): Observable<HttpEvent<PaginatedProjectMarginReportListDto>>;
|
|
81
81
|
/**
|
|
82
82
|
* Api viewset for Project model.
|
|
83
83
|
* @param requestParameters
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
import { HttpHeaders } from "@angular/common/http";
|
|
11
11
|
import { Observable } from "rxjs";
|
|
12
12
|
import { PaginatedProjectListDto } from "../model/models";
|
|
13
|
+
import { PaginatedProjectMarginReportListDto } from "../model/models";
|
|
13
14
|
import { PaginatedProjectSerializerWithStatsListDto } from "../model/models";
|
|
14
15
|
import { PaginatedProjectStatusReportListDto } from "../model/models";
|
|
15
16
|
import { PaginatedSimpleProjectListDto } from "../model/models";
|
|
16
17
|
import { ProjectDto } from "../model/models";
|
|
17
|
-
import { ProjectMarginReportDto } from "../model/models";
|
|
18
18
|
import { ProjectRequestDto } from "../model/models";
|
|
19
19
|
import { ProjectSerializerWithMonthStatsDto } from "../model/models";
|
|
20
20
|
import { ProjectSerializerWithStatsDto } from "../model/models";
|
|
@@ -44,7 +44,7 @@ export interface ProjectsListRequestParams {
|
|
|
44
44
|
status?: "active" | "bug_fixing" | "cancelled" | "completed" | "maintenance" | "on_hold" | "pre_sale";
|
|
45
45
|
statusIn?: Array<string>;
|
|
46
46
|
}
|
|
47
|
-
export interface
|
|
47
|
+
export interface ProjectsMarginReportListRequestParams {
|
|
48
48
|
period: string;
|
|
49
49
|
billingType?: "fixed" | "hourly" | "investment" | "sla";
|
|
50
50
|
billingTypeIn?: Array<string>;
|
|
@@ -54,6 +54,10 @@ export interface ProjectsMarginReportRetrieveRequestParams {
|
|
|
54
54
|
clientIn?: Array<number>;
|
|
55
55
|
idIn?: Array<number>;
|
|
56
56
|
isUtilized?: boolean;
|
|
57
|
+
jobsIsBillable?: boolean;
|
|
58
|
+
limit?: number;
|
|
59
|
+
offset?: number;
|
|
60
|
+
ordering?: string;
|
|
57
61
|
projectManagers?: Array<number>;
|
|
58
62
|
projectManagersIn?: Array<number>;
|
|
59
63
|
}
|
|
@@ -163,7 +167,7 @@ export interface ProjectsApiServiceInterface {
|
|
|
163
167
|
* Get margin report.
|
|
164
168
|
* @param requestParameters
|
|
165
169
|
*/
|
|
166
|
-
|
|
170
|
+
projectsMarginReportList(requestParameters: ProjectsMarginReportListRequestParams, extraHttpRequestParams?: any): Observable<PaginatedProjectMarginReportListDto>;
|
|
167
171
|
/**
|
|
168
172
|
*
|
|
169
173
|
* Api viewset for Project model.
|