@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
package/README.md
CHANGED
|
@@ -2,14 +2,11 @@ import { HttpClient, HttpResponse, HttpEvent, HttpContext } from "@angular/commo
|
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
3
|
import { ClientDto } from "../model/client.dto";
|
|
4
4
|
import { ClientMarginReportDto } from "../model/client-margin-report.dto";
|
|
5
|
-
import { ClientSerializerWithMonthStatsDto } from "../model/client-serializer-with-month-stats.dto";
|
|
6
|
-
import { ClientSerializerWithStatsDto } from "../model/client-serializer-with-stats.dto";
|
|
7
5
|
import { PaginatedClientListDto } from "../model/paginated-client-list.dto";
|
|
8
|
-
import { PaginatedClientSerializerWithStatsListDto } from "../model/paginated-client-serializer-with-stats-list.dto";
|
|
9
6
|
import { PaginatedSimpleClientListDto } from "../model/paginated-simple-client-list.dto";
|
|
10
7
|
import { Configuration } from "../configuration";
|
|
11
8
|
import { BaseService } from "../api.base.service";
|
|
12
|
-
import { ClientsApiServiceInterface, ClientsCreateRequestParams, ClientsListRequestParams, ClientsMarginReportRetrieveRequestParams, ClientsRetrieveRequestParams, ClientsSearchListRequestParams, ClientsUpdateRequestParams
|
|
9
|
+
import { ClientsApiServiceInterface, ClientsCreateRequestParams, ClientsListRequestParams, ClientsMarginReportRetrieveRequestParams, ClientsRetrieveRequestParams, ClientsSearchListRequestParams, ClientsUpdateRequestParams } from "./clients-api.serviceInterface";
|
|
13
10
|
import * as i0 from "@angular/core";
|
|
14
11
|
export declare class ClientsApiService extends BaseService implements ClientsApiServiceInterface {
|
|
15
12
|
protected httpClient: HttpClient;
|
|
@@ -140,69 +137,6 @@ export declare class ClientsApiService extends BaseService implements ClientsApi
|
|
|
140
137
|
context?: HttpContext;
|
|
141
138
|
transferCache?: boolean;
|
|
142
139
|
}): Observable<HttpEvent<ClientDto>>;
|
|
143
|
-
/**
|
|
144
|
-
* Get client with month stats.
|
|
145
|
-
* @param requestParameters
|
|
146
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
147
|
-
* @param reportProgress flag to report request and response progress.
|
|
148
|
-
*/
|
|
149
|
-
clientsWithMonthStatsRetrieve(requestParameters: ClientsWithMonthStatsRetrieveRequestParams, observe?: "body", reportProgress?: boolean, options?: {
|
|
150
|
-
httpHeaderAccept?: "application/json";
|
|
151
|
-
context?: HttpContext;
|
|
152
|
-
transferCache?: boolean;
|
|
153
|
-
}): Observable<ClientSerializerWithMonthStatsDto>;
|
|
154
|
-
clientsWithMonthStatsRetrieve(requestParameters: ClientsWithMonthStatsRetrieveRequestParams, observe?: "response", reportProgress?: boolean, options?: {
|
|
155
|
-
httpHeaderAccept?: "application/json";
|
|
156
|
-
context?: HttpContext;
|
|
157
|
-
transferCache?: boolean;
|
|
158
|
-
}): Observable<HttpResponse<ClientSerializerWithMonthStatsDto>>;
|
|
159
|
-
clientsWithMonthStatsRetrieve(requestParameters: ClientsWithMonthStatsRetrieveRequestParams, observe?: "events", reportProgress?: boolean, options?: {
|
|
160
|
-
httpHeaderAccept?: "application/json";
|
|
161
|
-
context?: HttpContext;
|
|
162
|
-
transferCache?: boolean;
|
|
163
|
-
}): Observable<HttpEvent<ClientSerializerWithMonthStatsDto>>;
|
|
164
|
-
/**
|
|
165
|
-
* Get clients with stats.
|
|
166
|
-
* @param requestParameters
|
|
167
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
168
|
-
* @param reportProgress flag to report request and response progress.
|
|
169
|
-
*/
|
|
170
|
-
clientsWithStatsList(requestParameters?: ClientsWithStatsListRequestParams, observe?: "body", reportProgress?: boolean, options?: {
|
|
171
|
-
httpHeaderAccept?: "application/json";
|
|
172
|
-
context?: HttpContext;
|
|
173
|
-
transferCache?: boolean;
|
|
174
|
-
}): Observable<PaginatedClientSerializerWithStatsListDto>;
|
|
175
|
-
clientsWithStatsList(requestParameters?: ClientsWithStatsListRequestParams, observe?: "response", reportProgress?: boolean, options?: {
|
|
176
|
-
httpHeaderAccept?: "application/json";
|
|
177
|
-
context?: HttpContext;
|
|
178
|
-
transferCache?: boolean;
|
|
179
|
-
}): Observable<HttpResponse<PaginatedClientSerializerWithStatsListDto>>;
|
|
180
|
-
clientsWithStatsList(requestParameters?: ClientsWithStatsListRequestParams, observe?: "events", reportProgress?: boolean, options?: {
|
|
181
|
-
httpHeaderAccept?: "application/json";
|
|
182
|
-
context?: HttpContext;
|
|
183
|
-
transferCache?: boolean;
|
|
184
|
-
}): Observable<HttpEvent<PaginatedClientSerializerWithStatsListDto>>;
|
|
185
|
-
/**
|
|
186
|
-
* Get specified client with stats.
|
|
187
|
-
* @param requestParameters
|
|
188
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
189
|
-
* @param reportProgress flag to report request and response progress.
|
|
190
|
-
*/
|
|
191
|
-
clientsWithStatsRetrieve(requestParameters: ClientsWithStatsRetrieveRequestParams, observe?: "body", reportProgress?: boolean, options?: {
|
|
192
|
-
httpHeaderAccept?: "application/json";
|
|
193
|
-
context?: HttpContext;
|
|
194
|
-
transferCache?: boolean;
|
|
195
|
-
}): Observable<ClientSerializerWithStatsDto>;
|
|
196
|
-
clientsWithStatsRetrieve(requestParameters: ClientsWithStatsRetrieveRequestParams, observe?: "response", reportProgress?: boolean, options?: {
|
|
197
|
-
httpHeaderAccept?: "application/json";
|
|
198
|
-
context?: HttpContext;
|
|
199
|
-
transferCache?: boolean;
|
|
200
|
-
}): Observable<HttpResponse<ClientSerializerWithStatsDto>>;
|
|
201
|
-
clientsWithStatsRetrieve(requestParameters: ClientsWithStatsRetrieveRequestParams, observe?: "events", reportProgress?: boolean, options?: {
|
|
202
|
-
httpHeaderAccept?: "application/json";
|
|
203
|
-
context?: HttpContext;
|
|
204
|
-
transferCache?: boolean;
|
|
205
|
-
}): Observable<HttpEvent<ClientSerializerWithStatsDto>>;
|
|
206
140
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClientsApiService, [null, { optional: true; }, { optional: true; }]>;
|
|
207
141
|
static ɵprov: i0.ɵɵInjectableDeclaration<ClientsApiService>;
|
|
208
142
|
}
|
|
@@ -12,10 +12,7 @@ import { Observable } from "rxjs";
|
|
|
12
12
|
import { ClientDto } from "../model/models";
|
|
13
13
|
import { ClientMarginReportDto } from "../model/models";
|
|
14
14
|
import { ClientRequestDto } from "../model/models";
|
|
15
|
-
import { ClientSerializerWithMonthStatsDto } from "../model/models";
|
|
16
|
-
import { ClientSerializerWithStatsDto } from "../model/models";
|
|
17
15
|
import { PaginatedClientListDto } from "../model/models";
|
|
18
|
-
import { PaginatedClientSerializerWithStatsListDto } from "../model/models";
|
|
19
16
|
import { PaginatedSimpleClientListDto } from "../model/models";
|
|
20
17
|
import { Configuration } from "../configuration";
|
|
21
18
|
export interface ClientsCreateRequestParams {
|
|
@@ -170,77 +167,6 @@ export interface ClientsUpdateRequestParams {
|
|
|
170
167
|
id: number;
|
|
171
168
|
clientRequestDto: ClientRequestDto;
|
|
172
169
|
}
|
|
173
|
-
export interface ClientsWithMonthStatsRetrieveRequestParams {
|
|
174
|
-
id: number;
|
|
175
|
-
}
|
|
176
|
-
export interface ClientsWithStatsListRequestParams {
|
|
177
|
-
accountManager?: number;
|
|
178
|
-
accountManagerIn?: Array<number>;
|
|
179
|
-
address1?: string;
|
|
180
|
-
address1In?: Array<string>;
|
|
181
|
-
address2?: string;
|
|
182
|
-
address2In?: Array<string>;
|
|
183
|
-
billingAddress1?: string;
|
|
184
|
-
billingAddress1In?: Array<string>;
|
|
185
|
-
billingAddress2?: string;
|
|
186
|
-
billingAddress2In?: Array<string>;
|
|
187
|
-
billingCity?: string;
|
|
188
|
-
billingCityIn?: Array<string>;
|
|
189
|
-
billingCountry?: string;
|
|
190
|
-
billingCountryIn?: Array<string>;
|
|
191
|
-
billingMethod?: "both" | "email" | "mail" | "unknown";
|
|
192
|
-
billingMethodIn?: Array<string>;
|
|
193
|
-
billingNotes?: string;
|
|
194
|
-
billingNotesContains?: string;
|
|
195
|
-
billingNotesIn?: Array<string>;
|
|
196
|
-
billingState?: string;
|
|
197
|
-
billingStateIn?: Array<string>;
|
|
198
|
-
billingZip?: string;
|
|
199
|
-
billingZipIn?: Array<string>;
|
|
200
|
-
city?: string;
|
|
201
|
-
cityIn?: Array<string>;
|
|
202
|
-
contractUntilGte?: string;
|
|
203
|
-
contractUntilLte?: string;
|
|
204
|
-
country?: string;
|
|
205
|
-
countryIn?: Array<string>;
|
|
206
|
-
createdDateGte?: string;
|
|
207
|
-
createdDateLte?: string;
|
|
208
|
-
createdGte?: string;
|
|
209
|
-
createdLte?: string;
|
|
210
|
-
createdBy?: number;
|
|
211
|
-
createdByIn?: Array<number>;
|
|
212
|
-
id?: number;
|
|
213
|
-
idIn?: Array<number>;
|
|
214
|
-
isBillable?: boolean;
|
|
215
|
-
limit?: number;
|
|
216
|
-
notes?: string;
|
|
217
|
-
notesContains?: string;
|
|
218
|
-
notesIn?: Array<string>;
|
|
219
|
-
offset?: number;
|
|
220
|
-
ordering?: string;
|
|
221
|
-
paymentRecipientName?: string;
|
|
222
|
-
paymentRecipientNameIn?: Array<string>;
|
|
223
|
-
qbClientId?: string;
|
|
224
|
-
qbClientIdIn?: Array<string>;
|
|
225
|
-
search?: string;
|
|
226
|
-
state?: string;
|
|
227
|
-
stateIn?: Array<string>;
|
|
228
|
-
status?: "active" | "cancelled" | "potential_client";
|
|
229
|
-
statusIn?: Array<string>;
|
|
230
|
-
timeLimitPerMonthGte?: string;
|
|
231
|
-
timeLimitPerMonthLte?: string;
|
|
232
|
-
updatedBy?: number;
|
|
233
|
-
updatedByIn?: Array<number>;
|
|
234
|
-
website?: string;
|
|
235
|
-
websiteIn?: Array<string>;
|
|
236
|
-
zip?: string;
|
|
237
|
-
zipIn?: Array<string>;
|
|
238
|
-
zohoAccountId?: string;
|
|
239
|
-
zohoAccountIdIn?: Array<string>;
|
|
240
|
-
}
|
|
241
|
-
export interface ClientsWithStatsRetrieveRequestParams {
|
|
242
|
-
id: number;
|
|
243
|
-
}
|
|
244
170
|
export interface ClientsApiServiceInterface {
|
|
245
171
|
defaultHeaders: HttpHeaders;
|
|
246
172
|
configuration: Configuration;
|
|
@@ -280,22 +206,4 @@ export interface ClientsApiServiceInterface {
|
|
|
280
206
|
* @param requestParameters
|
|
281
207
|
*/
|
|
282
208
|
clientsUpdate(requestParameters: ClientsUpdateRequestParams, extraHttpRequestParams?: any): Observable<ClientDto>;
|
|
283
|
-
/**
|
|
284
|
-
*
|
|
285
|
-
* Get client with month stats.
|
|
286
|
-
* @param requestParameters
|
|
287
|
-
*/
|
|
288
|
-
clientsWithMonthStatsRetrieve(requestParameters: ClientsWithMonthStatsRetrieveRequestParams, extraHttpRequestParams?: any): Observable<ClientSerializerWithMonthStatsDto>;
|
|
289
|
-
/**
|
|
290
|
-
*
|
|
291
|
-
* Get clients with stats.
|
|
292
|
-
* @param requestParameters
|
|
293
|
-
*/
|
|
294
|
-
clientsWithStatsList(requestParameters: ClientsWithStatsListRequestParams, extraHttpRequestParams?: any): Observable<PaginatedClientSerializerWithStatsListDto>;
|
|
295
|
-
/**
|
|
296
|
-
*
|
|
297
|
-
* Get specified client with stats.
|
|
298
|
-
* @param requestParameters
|
|
299
|
-
*/
|
|
300
|
-
clientsWithStatsRetrieve(requestParameters: ClientsWithStatsRetrieveRequestParams, extraHttpRequestParams?: any): Observable<ClientSerializerWithStatsDto>;
|
|
301
209
|
}
|
|
@@ -2,15 +2,12 @@ import { HttpClient, HttpResponse, HttpEvent, HttpContext } from "@angular/commo
|
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
3
|
import { PaginatedProjectListDto } from "../model/paginated-project-list.dto";
|
|
4
4
|
import { PaginatedProjectMarginReportListDto } from "../model/paginated-project-margin-report-list.dto";
|
|
5
|
-
import { PaginatedProjectSerializerWithStatsListDto } from "../model/paginated-project-serializer-with-stats-list.dto";
|
|
6
5
|
import { PaginatedProjectStatusReportListDto } from "../model/paginated-project-status-report-list.dto";
|
|
7
6
|
import { PaginatedSimpleProjectListDto } from "../model/paginated-simple-project-list.dto";
|
|
8
7
|
import { ProjectDto } from "../model/project.dto";
|
|
9
|
-
import { ProjectSerializerWithMonthStatsDto } from "../model/project-serializer-with-month-stats.dto";
|
|
10
|
-
import { ProjectSerializerWithStatsDto } from "../model/project-serializer-with-stats.dto";
|
|
11
8
|
import { Configuration } from "../configuration";
|
|
12
9
|
import { BaseService } from "../api.base.service";
|
|
13
|
-
import { ProjectsApiServiceInterface, ProjectsCreateRequestParams, ProjectsListRequestParams, ProjectsMarginReportListRequestParams, ProjectsRetrieveRequestParams, ProjectsStatusReportListRequestParams, ProjectsUpdateRequestParams,
|
|
10
|
+
import { ProjectsApiServiceInterface, ProjectsCreateRequestParams, ProjectsListRequestParams, ProjectsMarginReportListRequestParams, ProjectsRetrieveRequestParams, ProjectsStatusReportListRequestParams, ProjectsUpdateRequestParams, ProjectsWorkedOnListRequestParams } from "./projects-api.serviceInterface";
|
|
14
11
|
import * as i0 from "@angular/core";
|
|
15
12
|
export declare class ProjectsApiService extends BaseService implements ProjectsApiServiceInterface {
|
|
16
13
|
protected httpClient: HttpClient;
|
|
@@ -141,69 +138,6 @@ export declare class ProjectsApiService extends BaseService implements ProjectsA
|
|
|
141
138
|
context?: HttpContext;
|
|
142
139
|
transferCache?: boolean;
|
|
143
140
|
}): Observable<HttpEvent<ProjectDto>>;
|
|
144
|
-
/**
|
|
145
|
-
* Get project with month stats.
|
|
146
|
-
* @param requestParameters
|
|
147
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
148
|
-
* @param reportProgress flag to report request and response progress.
|
|
149
|
-
*/
|
|
150
|
-
projectsWithMonthStatsRetrieve(requestParameters: ProjectsWithMonthStatsRetrieveRequestParams, observe?: "body", reportProgress?: boolean, options?: {
|
|
151
|
-
httpHeaderAccept?: "application/json";
|
|
152
|
-
context?: HttpContext;
|
|
153
|
-
transferCache?: boolean;
|
|
154
|
-
}): Observable<ProjectSerializerWithMonthStatsDto>;
|
|
155
|
-
projectsWithMonthStatsRetrieve(requestParameters: ProjectsWithMonthStatsRetrieveRequestParams, observe?: "response", reportProgress?: boolean, options?: {
|
|
156
|
-
httpHeaderAccept?: "application/json";
|
|
157
|
-
context?: HttpContext;
|
|
158
|
-
transferCache?: boolean;
|
|
159
|
-
}): Observable<HttpResponse<ProjectSerializerWithMonthStatsDto>>;
|
|
160
|
-
projectsWithMonthStatsRetrieve(requestParameters: ProjectsWithMonthStatsRetrieveRequestParams, observe?: "events", reportProgress?: boolean, options?: {
|
|
161
|
-
httpHeaderAccept?: "application/json";
|
|
162
|
-
context?: HttpContext;
|
|
163
|
-
transferCache?: boolean;
|
|
164
|
-
}): Observable<HttpEvent<ProjectSerializerWithMonthStatsDto>>;
|
|
165
|
-
/**
|
|
166
|
-
* Get projects with stats.
|
|
167
|
-
* @param requestParameters
|
|
168
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
169
|
-
* @param reportProgress flag to report request and response progress.
|
|
170
|
-
*/
|
|
171
|
-
projectsWithStatsList(requestParameters?: ProjectsWithStatsListRequestParams, observe?: "body", reportProgress?: boolean, options?: {
|
|
172
|
-
httpHeaderAccept?: "application/json";
|
|
173
|
-
context?: HttpContext;
|
|
174
|
-
transferCache?: boolean;
|
|
175
|
-
}): Observable<PaginatedProjectSerializerWithStatsListDto>;
|
|
176
|
-
projectsWithStatsList(requestParameters?: ProjectsWithStatsListRequestParams, observe?: "response", reportProgress?: boolean, options?: {
|
|
177
|
-
httpHeaderAccept?: "application/json";
|
|
178
|
-
context?: HttpContext;
|
|
179
|
-
transferCache?: boolean;
|
|
180
|
-
}): Observable<HttpResponse<PaginatedProjectSerializerWithStatsListDto>>;
|
|
181
|
-
projectsWithStatsList(requestParameters?: ProjectsWithStatsListRequestParams, observe?: "events", reportProgress?: boolean, options?: {
|
|
182
|
-
httpHeaderAccept?: "application/json";
|
|
183
|
-
context?: HttpContext;
|
|
184
|
-
transferCache?: boolean;
|
|
185
|
-
}): Observable<HttpEvent<PaginatedProjectSerializerWithStatsListDto>>;
|
|
186
|
-
/**
|
|
187
|
-
* Get specified project with stats.
|
|
188
|
-
* @param requestParameters
|
|
189
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
190
|
-
* @param reportProgress flag to report request and response progress.
|
|
191
|
-
*/
|
|
192
|
-
projectsWithStatsRetrieve(requestParameters: ProjectsWithStatsRetrieveRequestParams, observe?: "body", reportProgress?: boolean, options?: {
|
|
193
|
-
httpHeaderAccept?: "application/json";
|
|
194
|
-
context?: HttpContext;
|
|
195
|
-
transferCache?: boolean;
|
|
196
|
-
}): Observable<ProjectSerializerWithStatsDto>;
|
|
197
|
-
projectsWithStatsRetrieve(requestParameters: ProjectsWithStatsRetrieveRequestParams, observe?: "response", reportProgress?: boolean, options?: {
|
|
198
|
-
httpHeaderAccept?: "application/json";
|
|
199
|
-
context?: HttpContext;
|
|
200
|
-
transferCache?: boolean;
|
|
201
|
-
}): Observable<HttpResponse<ProjectSerializerWithStatsDto>>;
|
|
202
|
-
projectsWithStatsRetrieve(requestParameters: ProjectsWithStatsRetrieveRequestParams, observe?: "events", reportProgress?: boolean, options?: {
|
|
203
|
-
httpHeaderAccept?: "application/json";
|
|
204
|
-
context?: HttpContext;
|
|
205
|
-
transferCache?: boolean;
|
|
206
|
-
}): Observable<HttpEvent<ProjectSerializerWithStatsDto>>;
|
|
207
141
|
/**
|
|
208
142
|
* Get projects on which users worked for period of time.
|
|
209
143
|
* @param requestParameters
|
|
@@ -11,13 +11,10 @@ import { HttpHeaders } from "@angular/common/http";
|
|
|
11
11
|
import { Observable } from "rxjs";
|
|
12
12
|
import { PaginatedProjectListDto } from "../model/models";
|
|
13
13
|
import { PaginatedProjectMarginReportListDto } from "../model/models";
|
|
14
|
-
import { PaginatedProjectSerializerWithStatsListDto } from "../model/models";
|
|
15
14
|
import { PaginatedProjectStatusReportListDto } from "../model/models";
|
|
16
15
|
import { PaginatedSimpleProjectListDto } from "../model/models";
|
|
17
16
|
import { ProjectDto } from "../model/models";
|
|
18
17
|
import { ProjectRequestDto } from "../model/models";
|
|
19
|
-
import { ProjectSerializerWithMonthStatsDto } from "../model/models";
|
|
20
|
-
import { ProjectSerializerWithStatsDto } from "../model/models";
|
|
21
18
|
import { Configuration } from "../configuration";
|
|
22
19
|
export interface ProjectsCreateRequestParams {
|
|
23
20
|
projectRequestDto: ProjectRequestDto;
|
|
@@ -96,34 +93,6 @@ export interface ProjectsUpdateRequestParams {
|
|
|
96
93
|
id: number;
|
|
97
94
|
projectRequestDto: ProjectRequestDto;
|
|
98
95
|
}
|
|
99
|
-
export interface ProjectsWithMonthStatsRetrieveRequestParams {
|
|
100
|
-
id: number;
|
|
101
|
-
}
|
|
102
|
-
export interface ProjectsWithStatsListRequestParams {
|
|
103
|
-
client?: number;
|
|
104
|
-
clientIn?: Array<number>;
|
|
105
|
-
clientContact?: number;
|
|
106
|
-
clientContactIn?: Array<number>;
|
|
107
|
-
createdDateGte?: string;
|
|
108
|
-
createdDateLte?: string;
|
|
109
|
-
createdGte?: string;
|
|
110
|
-
createdLte?: string;
|
|
111
|
-
id?: number;
|
|
112
|
-
idIn?: Array<number>;
|
|
113
|
-
includeQa?: boolean;
|
|
114
|
-
includeTm?: boolean;
|
|
115
|
-
isBillable?: boolean;
|
|
116
|
-
limit?: number;
|
|
117
|
-
offset?: number;
|
|
118
|
-
ordering?: string;
|
|
119
|
-
projectManagersIdIn?: Array<number>;
|
|
120
|
-
search?: string;
|
|
121
|
-
status?: "active" | "bug_fixing" | "cancelled" | "completed" | "maintenance" | "on_hold" | "pre_sale";
|
|
122
|
-
statusIn?: Array<string>;
|
|
123
|
-
}
|
|
124
|
-
export interface ProjectsWithStatsRetrieveRequestParams {
|
|
125
|
-
id: number;
|
|
126
|
-
}
|
|
127
96
|
export interface ProjectsWorkedOnListRequestParams {
|
|
128
97
|
client?: number;
|
|
129
98
|
clientIn?: Array<number>;
|
|
@@ -188,24 +157,6 @@ export interface ProjectsApiServiceInterface {
|
|
|
188
157
|
* @param requestParameters
|
|
189
158
|
*/
|
|
190
159
|
projectsUpdate(requestParameters: ProjectsUpdateRequestParams, extraHttpRequestParams?: any): Observable<ProjectDto>;
|
|
191
|
-
/**
|
|
192
|
-
*
|
|
193
|
-
* Get project with month stats.
|
|
194
|
-
* @param requestParameters
|
|
195
|
-
*/
|
|
196
|
-
projectsWithMonthStatsRetrieve(requestParameters: ProjectsWithMonthStatsRetrieveRequestParams, extraHttpRequestParams?: any): Observable<ProjectSerializerWithMonthStatsDto>;
|
|
197
|
-
/**
|
|
198
|
-
*
|
|
199
|
-
* Get projects with stats.
|
|
200
|
-
* @param requestParameters
|
|
201
|
-
*/
|
|
202
|
-
projectsWithStatsList(requestParameters: ProjectsWithStatsListRequestParams, extraHttpRequestParams?: any): Observable<PaginatedProjectSerializerWithStatsListDto>;
|
|
203
|
-
/**
|
|
204
|
-
*
|
|
205
|
-
* Get specified project with stats.
|
|
206
|
-
* @param requestParameters
|
|
207
|
-
*/
|
|
208
|
-
projectsWithStatsRetrieve(requestParameters: ProjectsWithStatsRetrieveRequestParams, extraHttpRequestParams?: any): Observable<ProjectSerializerWithStatsDto>;
|
|
209
160
|
/**
|
|
210
161
|
*
|
|
211
162
|
* Get projects on which users worked for period of time.
|