@saritasa/crm-delmar-core-sdk 0.0.290 → 0.0.292
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/fesm2022/saritasa-crm-delmar-core-sdk.mjs +1261 -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 +62 -0
- package/model/paginated-simple-client-list.dto.d.ts +16 -0
- package/model/user-period-total-stats.dto.d.ts +1 -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.
|