@saritasa/crm-delmar-core-sdk 0.0.289 → 0.0.291
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 +23 -1
- package/api/clients-api.serviceInterface.d.ts +72 -0
- package/api/projects-api.service.d.ts +23 -1
- package/api/projects-api.serviceInterface.d.ts +33 -0
- package/fesm2022/saritasa-crm-delmar-core-sdk.mjs +1670 -1
- package/fesm2022/saritasa-crm-delmar-core-sdk.mjs.map +1 -1
- package/model/clients-search-list-account-manager-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-account-manager-in-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-address1-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-address1-in-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-address2-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-address2-in-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-billing-address1-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-billing-address1-in-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-billing-address2-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-billing-address2-in-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-billing-city-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-billing-city-in-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-billing-country-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-billing-country-in-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-billing-method-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-billing-method-in-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-billing-notes-contains-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-billing-notes-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-billing-notes-in-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-billing-state-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-billing-state-in-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-billing-zip-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-billing-zip-in-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-city-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-city-in-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-contract-until-gte-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-contract-until-lte-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-country-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-country-in-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-created-by-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-created-by-in-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-created-date-gte-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-created-date-lte-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-created-gte-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-created-lte-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-error-response400.dto.d.ts +16 -0
- package/model/clients-search-list-error.dto.d.ts +72 -0
- package/model/clients-search-list-id-error-component.dto.d.ts +27 -0
- package/model/clients-search-list-id-in-error-component.dto.d.ts +27 -0
- package/model/clients-search-list-notes-contains-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-notes-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-notes-in-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-payment-recipient-name-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-payment-recipient-name-in-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-qb-client-id-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-qb-client-id-in-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-state-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-state-in-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-status-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-status-in-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-time-limit-per-month-gte-error-component.dto.d.ts +27 -0
- package/model/clients-search-list-time-limit-per-month-lte-error-component.dto.d.ts +27 -0
- package/model/clients-search-list-updated-by-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-updated-by-in-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-validation-error.dto.d.ts +15 -0
- package/model/clients-search-list-website-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-website-in-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-zip-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-zip-in-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-zoho-account-id-error-component.dto.d.ts +26 -0
- package/model/clients-search-list-zoho-account-id-in-error-component.dto.d.ts +26 -0
- package/model/models.d.ts +85 -0
- package/model/paginated-project-status-report-list.dto.d.ts +16 -0
- package/model/paginated-simple-client-list.dto.d.ts +16 -0
- package/model/project-status-report.dto.d.ts +69 -0
- package/model/projects-status-report-list-billing-type-error-component.dto.d.ts +26 -0
- package/model/projects-status-report-list-billing-type-in-error-component.dto.d.ts +26 -0
- package/model/projects-status-report-list-client-account-manager-error-component.dto.d.ts +26 -0
- package/model/projects-status-report-list-client-account-manager-in-error-component.dto.d.ts +26 -0
- package/model/projects-status-report-list-client-contact-error-component.dto.d.ts +26 -0
- package/model/projects-status-report-list-client-contact-in-error-component.dto.d.ts +26 -0
- package/model/projects-status-report-list-client-error-component.dto.d.ts +26 -0
- package/model/projects-status-report-list-client-in-error-component.dto.d.ts +26 -0
- package/model/projects-status-report-list-created-date-gte-error-component.dto.d.ts +26 -0
- package/model/projects-status-report-list-created-date-lte-error-component.dto.d.ts +26 -0
- package/model/projects-status-report-list-created-gte-error-component.dto.d.ts +26 -0
- package/model/projects-status-report-list-created-lte-error-component.dto.d.ts +26 -0
- package/model/projects-status-report-list-error-response400.dto.d.ts +16 -0
- package/model/projects-status-report-list-error.dto.d.ts +31 -0
- package/model/projects-status-report-list-id-error-component.dto.d.ts +27 -0
- package/model/projects-status-report-list-id-in-error-component.dto.d.ts +27 -0
- package/model/projects-status-report-list-project-managers-id-in-error-component.dto.d.ts +27 -0
- package/model/projects-status-report-list-status-error-component.dto.d.ts +26 -0
- package/model/projects-status-report-list-status-in-error-component.dto.d.ts +26 -0
- package/model/projects-status-report-list-validation-error.dto.d.ts +15 -0
- package/model/simple-client-status-report.dto.d.ts +21 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -5,9 +5,10 @@ import { ClientSerializerWithMonthStatsDto } from "../model/client-serializer-wi
|
|
|
5
5
|
import { ClientSerializerWithStatsDto } from "../model/client-serializer-with-stats.dto";
|
|
6
6
|
import { PaginatedClientListDto } from "../model/paginated-client-list.dto";
|
|
7
7
|
import { PaginatedClientSerializerWithStatsListDto } from "../model/paginated-client-serializer-with-stats-list.dto";
|
|
8
|
+
import { PaginatedSimpleClientListDto } from "../model/paginated-simple-client-list.dto";
|
|
8
9
|
import { Configuration } from "../configuration";
|
|
9
10
|
import { BaseService } from "../api.base.service";
|
|
10
|
-
import { ClientsApiServiceInterface, ClientsCreateRequestParams, ClientsListRequestParams, ClientsRetrieveRequestParams, ClientsUpdateRequestParams, ClientsWithMonthStatsRetrieveRequestParams, ClientsWithStatsListRequestParams, ClientsWithStatsRetrieveRequestParams } from "./clients-api.serviceInterface";
|
|
11
|
+
import { ClientsApiServiceInterface, ClientsCreateRequestParams, ClientsListRequestParams, ClientsRetrieveRequestParams, ClientsSearchListRequestParams, ClientsUpdateRequestParams, ClientsWithMonthStatsRetrieveRequestParams, ClientsWithStatsListRequestParams, ClientsWithStatsRetrieveRequestParams } from "./clients-api.serviceInterface";
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
13
|
export declare class ClientsApiService extends BaseService implements ClientsApiServiceInterface {
|
|
13
14
|
protected httpClient: HttpClient;
|
|
@@ -75,6 +76,27 @@ export declare class ClientsApiService extends BaseService implements ClientsApi
|
|
|
75
76
|
context?: HttpContext;
|
|
76
77
|
transferCache?: boolean;
|
|
77
78
|
}): Observable<HttpEvent<ClientDto>>;
|
|
79
|
+
/**
|
|
80
|
+
* Get minimal clients info for searching.
|
|
81
|
+
* @param requestParameters
|
|
82
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
83
|
+
* @param reportProgress flag to report request and response progress.
|
|
84
|
+
*/
|
|
85
|
+
clientsSearchList(requestParameters?: ClientsSearchListRequestParams, observe?: "body", reportProgress?: boolean, options?: {
|
|
86
|
+
httpHeaderAccept?: "application/json";
|
|
87
|
+
context?: HttpContext;
|
|
88
|
+
transferCache?: boolean;
|
|
89
|
+
}): Observable<PaginatedSimpleClientListDto>;
|
|
90
|
+
clientsSearchList(requestParameters?: ClientsSearchListRequestParams, observe?: "response", reportProgress?: boolean, options?: {
|
|
91
|
+
httpHeaderAccept?: "application/json";
|
|
92
|
+
context?: HttpContext;
|
|
93
|
+
transferCache?: boolean;
|
|
94
|
+
}): Observable<HttpResponse<PaginatedSimpleClientListDto>>;
|
|
95
|
+
clientsSearchList(requestParameters?: ClientsSearchListRequestParams, observe?: "events", reportProgress?: boolean, options?: {
|
|
96
|
+
httpHeaderAccept?: "application/json";
|
|
97
|
+
context?: HttpContext;
|
|
98
|
+
transferCache?: boolean;
|
|
99
|
+
}): Observable<HttpEvent<PaginatedSimpleClientListDto>>;
|
|
78
100
|
/**
|
|
79
101
|
* View set API for Client model.
|
|
80
102
|
* @param requestParameters
|
|
@@ -15,6 +15,7 @@ import { ClientSerializerWithMonthStatsDto } from "../model/models";
|
|
|
15
15
|
import { ClientSerializerWithStatsDto } from "../model/models";
|
|
16
16
|
import { PaginatedClientListDto } from "../model/models";
|
|
17
17
|
import { PaginatedClientSerializerWithStatsListDto } from "../model/models";
|
|
18
|
+
import { PaginatedSimpleClientListDto } from "../model/models";
|
|
18
19
|
import { Configuration } from "../configuration";
|
|
19
20
|
export interface ClientsCreateRequestParams {
|
|
20
21
|
clientRequestDto: ClientRequestDto;
|
|
@@ -87,6 +88,71 @@ export interface ClientsListRequestParams {
|
|
|
87
88
|
export interface ClientsRetrieveRequestParams {
|
|
88
89
|
id: number;
|
|
89
90
|
}
|
|
91
|
+
export interface ClientsSearchListRequestParams {
|
|
92
|
+
accountManager?: number;
|
|
93
|
+
accountManagerIn?: Array<number>;
|
|
94
|
+
address1?: string;
|
|
95
|
+
address1In?: Array<string>;
|
|
96
|
+
address2?: string;
|
|
97
|
+
address2In?: Array<string>;
|
|
98
|
+
billingAddress1?: string;
|
|
99
|
+
billingAddress1In?: Array<string>;
|
|
100
|
+
billingAddress2?: string;
|
|
101
|
+
billingAddress2In?: Array<string>;
|
|
102
|
+
billingCity?: string;
|
|
103
|
+
billingCityIn?: Array<string>;
|
|
104
|
+
billingCountry?: string;
|
|
105
|
+
billingCountryIn?: Array<string>;
|
|
106
|
+
billingMethod?: "both" | "email" | "mail" | "unknown";
|
|
107
|
+
billingMethodIn?: Array<string>;
|
|
108
|
+
billingNotes?: string;
|
|
109
|
+
billingNotesContains?: string;
|
|
110
|
+
billingNotesIn?: Array<string>;
|
|
111
|
+
billingState?: string;
|
|
112
|
+
billingStateIn?: Array<string>;
|
|
113
|
+
billingZip?: string;
|
|
114
|
+
billingZipIn?: Array<string>;
|
|
115
|
+
city?: string;
|
|
116
|
+
cityIn?: Array<string>;
|
|
117
|
+
contractUntilGte?: string;
|
|
118
|
+
contractUntilLte?: string;
|
|
119
|
+
country?: string;
|
|
120
|
+
countryIn?: Array<string>;
|
|
121
|
+
createdDateGte?: string;
|
|
122
|
+
createdDateLte?: string;
|
|
123
|
+
createdGte?: string;
|
|
124
|
+
createdLte?: string;
|
|
125
|
+
createdBy?: number;
|
|
126
|
+
createdByIn?: Array<number>;
|
|
127
|
+
id?: number;
|
|
128
|
+
idIn?: Array<number>;
|
|
129
|
+
isBillable?: boolean;
|
|
130
|
+
limit?: number;
|
|
131
|
+
notes?: string;
|
|
132
|
+
notesContains?: string;
|
|
133
|
+
notesIn?: Array<string>;
|
|
134
|
+
offset?: number;
|
|
135
|
+
ordering?: string;
|
|
136
|
+
paymentRecipientName?: string;
|
|
137
|
+
paymentRecipientNameIn?: Array<string>;
|
|
138
|
+
qbClientId?: string;
|
|
139
|
+
qbClientIdIn?: Array<string>;
|
|
140
|
+
search?: string;
|
|
141
|
+
state?: string;
|
|
142
|
+
stateIn?: Array<string>;
|
|
143
|
+
status?: "active" | "cancelled" | "potential_client";
|
|
144
|
+
statusIn?: Array<string>;
|
|
145
|
+
timeLimitPerMonthGte?: string;
|
|
146
|
+
timeLimitPerMonthLte?: string;
|
|
147
|
+
updatedBy?: number;
|
|
148
|
+
updatedByIn?: Array<number>;
|
|
149
|
+
website?: string;
|
|
150
|
+
websiteIn?: Array<string>;
|
|
151
|
+
zip?: string;
|
|
152
|
+
zipIn?: Array<string>;
|
|
153
|
+
zohoAccountId?: string;
|
|
154
|
+
zohoAccountIdIn?: Array<string>;
|
|
155
|
+
}
|
|
90
156
|
export interface ClientsUpdateRequestParams {
|
|
91
157
|
id: number;
|
|
92
158
|
clientRequestDto: ClientRequestDto;
|
|
@@ -183,6 +249,12 @@ export interface ClientsApiServiceInterface {
|
|
|
183
249
|
* @param requestParameters
|
|
184
250
|
*/
|
|
185
251
|
clientsRetrieve(requestParameters: ClientsRetrieveRequestParams, extraHttpRequestParams?: any): Observable<ClientDto>;
|
|
252
|
+
/**
|
|
253
|
+
*
|
|
254
|
+
* Get minimal clients info for searching.
|
|
255
|
+
* @param requestParameters
|
|
256
|
+
*/
|
|
257
|
+
clientsSearchList(requestParameters: ClientsSearchListRequestParams, extraHttpRequestParams?: any): Observable<PaginatedSimpleClientListDto>;
|
|
186
258
|
/**
|
|
187
259
|
*
|
|
188
260
|
* View set API for Client model.
|
|
@@ -2,13 +2,14 @@ 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 { PaginatedProjectSerializerWithStatsListDto } from "../model/paginated-project-serializer-with-stats-list.dto";
|
|
5
|
+
import { PaginatedProjectStatusReportListDto } from "../model/paginated-project-status-report-list.dto";
|
|
5
6
|
import { PaginatedSimpleProjectListDto } from "../model/paginated-simple-project-list.dto";
|
|
6
7
|
import { ProjectDto } from "../model/project.dto";
|
|
7
8
|
import { ProjectSerializerWithMonthStatsDto } from "../model/project-serializer-with-month-stats.dto";
|
|
8
9
|
import { ProjectSerializerWithStatsDto } from "../model/project-serializer-with-stats.dto";
|
|
9
10
|
import { Configuration } from "../configuration";
|
|
10
11
|
import { BaseService } from "../api.base.service";
|
|
11
|
-
import { ProjectsApiServiceInterface, ProjectsCreateRequestParams, ProjectsListRequestParams, ProjectsRetrieveRequestParams, ProjectsUpdateRequestParams, ProjectsWithMonthStatsRetrieveRequestParams, ProjectsWithStatsListRequestParams, ProjectsWithStatsRetrieveRequestParams, ProjectsWorkedOnListRequestParams } from "./projects-api.serviceInterface";
|
|
12
|
+
import { ProjectsApiServiceInterface, ProjectsCreateRequestParams, ProjectsListRequestParams, ProjectsRetrieveRequestParams, ProjectsStatusReportListRequestParams, ProjectsUpdateRequestParams, ProjectsWithMonthStatsRetrieveRequestParams, ProjectsWithStatsListRequestParams, ProjectsWithStatsRetrieveRequestParams, ProjectsWorkedOnListRequestParams } from "./projects-api.serviceInterface";
|
|
12
13
|
import * as i0 from "@angular/core";
|
|
13
14
|
export declare class ProjectsApiService extends BaseService implements ProjectsApiServiceInterface {
|
|
14
15
|
protected httpClient: HttpClient;
|
|
@@ -76,6 +77,27 @@ export declare class ProjectsApiService extends BaseService implements ProjectsA
|
|
|
76
77
|
context?: HttpContext;
|
|
77
78
|
transferCache?: boolean;
|
|
78
79
|
}): Observable<HttpEvent<ProjectDto>>;
|
|
80
|
+
/**
|
|
81
|
+
* Get status report for projects.
|
|
82
|
+
* @param requestParameters
|
|
83
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
84
|
+
* @param reportProgress flag to report request and response progress.
|
|
85
|
+
*/
|
|
86
|
+
projectsStatusReportList(requestParameters?: ProjectsStatusReportListRequestParams, observe?: "body", reportProgress?: boolean, options?: {
|
|
87
|
+
httpHeaderAccept?: "application/json";
|
|
88
|
+
context?: HttpContext;
|
|
89
|
+
transferCache?: boolean;
|
|
90
|
+
}): Observable<PaginatedProjectStatusReportListDto>;
|
|
91
|
+
projectsStatusReportList(requestParameters?: ProjectsStatusReportListRequestParams, observe?: "response", reportProgress?: boolean, options?: {
|
|
92
|
+
httpHeaderAccept?: "application/json";
|
|
93
|
+
context?: HttpContext;
|
|
94
|
+
transferCache?: boolean;
|
|
95
|
+
}): Observable<HttpResponse<PaginatedProjectStatusReportListDto>>;
|
|
96
|
+
projectsStatusReportList(requestParameters?: ProjectsStatusReportListRequestParams, observe?: "events", reportProgress?: boolean, options?: {
|
|
97
|
+
httpHeaderAccept?: "application/json";
|
|
98
|
+
context?: HttpContext;
|
|
99
|
+
transferCache?: boolean;
|
|
100
|
+
}): Observable<HttpEvent<PaginatedProjectStatusReportListDto>>;
|
|
79
101
|
/**
|
|
80
102
|
* Api viewset for Project model.
|
|
81
103
|
* @param requestParameters
|
|
@@ -11,6 +11,7 @@ import { HttpHeaders } from "@angular/common/http";
|
|
|
11
11
|
import { Observable } from "rxjs";
|
|
12
12
|
import { PaginatedProjectListDto } from "../model/models";
|
|
13
13
|
import { PaginatedProjectSerializerWithStatsListDto } from "../model/models";
|
|
14
|
+
import { PaginatedProjectStatusReportListDto } from "../model/models";
|
|
14
15
|
import { PaginatedSimpleProjectListDto } from "../model/models";
|
|
15
16
|
import { ProjectDto } from "../model/models";
|
|
16
17
|
import { ProjectRequestDto } from "../model/models";
|
|
@@ -45,6 +46,32 @@ export interface ProjectsListRequestParams {
|
|
|
45
46
|
export interface ProjectsRetrieveRequestParams {
|
|
46
47
|
id: number;
|
|
47
48
|
}
|
|
49
|
+
export interface ProjectsStatusReportListRequestParams {
|
|
50
|
+
billingType?: "fixed" | "hourly" | "investment" | "sla";
|
|
51
|
+
billingTypeIn?: Array<string>;
|
|
52
|
+
client?: number;
|
|
53
|
+
clientAccountManager?: number;
|
|
54
|
+
clientAccountManagerIn?: Array<number>;
|
|
55
|
+
clientIn?: Array<number>;
|
|
56
|
+
clientContact?: number;
|
|
57
|
+
clientContactIn?: Array<number>;
|
|
58
|
+
createdDateGte?: string;
|
|
59
|
+
createdDateLte?: string;
|
|
60
|
+
createdGte?: string;
|
|
61
|
+
createdLte?: string;
|
|
62
|
+
id?: number;
|
|
63
|
+
idIn?: Array<number>;
|
|
64
|
+
includeQa?: boolean;
|
|
65
|
+
includeTm?: boolean;
|
|
66
|
+
isBillable?: boolean;
|
|
67
|
+
limit?: number;
|
|
68
|
+
offset?: number;
|
|
69
|
+
ordering?: string;
|
|
70
|
+
projectManagersIdIn?: Array<number>;
|
|
71
|
+
search?: string;
|
|
72
|
+
status?: "active" | "bug_fixing" | "cancelled" | "completed" | "maintenance" | "on_hold" | "pre_sale";
|
|
73
|
+
statusIn?: Array<string>;
|
|
74
|
+
}
|
|
48
75
|
export interface ProjectsUpdateRequestParams {
|
|
49
76
|
id: number;
|
|
50
77
|
projectRequestDto: ProjectRequestDto;
|
|
@@ -123,6 +150,12 @@ export interface ProjectsApiServiceInterface {
|
|
|
123
150
|
* @param requestParameters
|
|
124
151
|
*/
|
|
125
152
|
projectsRetrieve(requestParameters: ProjectsRetrieveRequestParams, extraHttpRequestParams?: any): Observable<ProjectDto>;
|
|
153
|
+
/**
|
|
154
|
+
*
|
|
155
|
+
* Get status report for projects.
|
|
156
|
+
* @param requestParameters
|
|
157
|
+
*/
|
|
158
|
+
projectsStatusReportList(requestParameters: ProjectsStatusReportListRequestParams, extraHttpRequestParams?: any): Observable<PaginatedProjectStatusReportListDto>;
|
|
126
159
|
/**
|
|
127
160
|
*
|
|
128
161
|
* Api viewset for Project model.
|