@otr-app/shared-backend-generated-client 2.3.75 → 2.3.77

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.
@@ -173,74 +173,6 @@ export class DashboardControllerService {
173
173
  );
174
174
  }
175
175
 
176
- /**
177
- * getRegisteredUsers
178
- * @param graphRequest graphRequest
179
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
180
- * @param reportProgress flag to report request and response progress.
181
- */
182
- public getRegisteredUsersUsingPOST(graphRequest: GraphRequest, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<SqlResponse>;
183
- public getRegisteredUsersUsingPOST(graphRequest: GraphRequest, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpResponse<SqlResponse>>;
184
- public getRegisteredUsersUsingPOST(graphRequest: GraphRequest, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpEvent<SqlResponse>>;
185
- public getRegisteredUsersUsingPOST(graphRequest: GraphRequest, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<any> {
186
- if (graphRequest === null || graphRequest === undefined) {
187
- throw new Error('Required parameter graphRequest was null or undefined when calling getRegisteredUsersUsingPOST.');
188
- }
189
-
190
- let localVarHeaders = this.defaultHeaders;
191
-
192
- let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
193
- if (localVarHttpHeaderAcceptSelected === undefined) {
194
- // to determine the Accept header
195
- const httpHeaderAccepts: string[] = [
196
- 'application/json'
197
- ];
198
- localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
199
- }
200
- if (localVarHttpHeaderAcceptSelected !== undefined) {
201
- localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
202
- }
203
-
204
- let localVarHttpContext: HttpContext | undefined = options && options.context;
205
- if (localVarHttpContext === undefined) {
206
- localVarHttpContext = new HttpContext();
207
- }
208
-
209
-
210
- // to determine the Content-Type header
211
- const consumes: string[] = [
212
- 'application/json'
213
- ];
214
- const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
215
- if (httpContentTypeSelected !== undefined) {
216
- localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
217
- }
218
-
219
- let responseType_: 'text' | 'json' | 'blob' = 'json';
220
- if (localVarHttpHeaderAcceptSelected) {
221
- if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
222
- responseType_ = 'text';
223
- } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
224
- responseType_ = 'json';
225
- } else {
226
- responseType_ = 'blob';
227
- }
228
- }
229
-
230
- let localVarPath = `/api/v1/console/users`;
231
- return this.httpClient.request<SqlResponse>('post', `${this.configuration.basePath}${localVarPath}`,
232
- {
233
- context: localVarHttpContext,
234
- body: graphRequest,
235
- responseType: <any>responseType_,
236
- withCredentials: this.configuration.withCredentials,
237
- headers: localVarHeaders,
238
- observe: observe,
239
- reportProgress: reportProgress
240
- }
241
- );
242
- }
243
-
244
176
  /**
245
177
  * getUserRegistrations
246
178
  * @param request request
@@ -309,74 +241,6 @@ export class DashboardControllerService {
309
241
  );
310
242
  }
311
243
 
312
- /**
313
- * listCasesByStatus
314
- * @param graphRequest graphRequest
315
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
316
- * @param reportProgress flag to report request and response progress.
317
- */
318
- public listCasesByStatusUsingPOST(graphRequest: GraphRequest, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<SqlResponse>;
319
- public listCasesByStatusUsingPOST(graphRequest: GraphRequest, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpResponse<SqlResponse>>;
320
- public listCasesByStatusUsingPOST(graphRequest: GraphRequest, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpEvent<SqlResponse>>;
321
- public listCasesByStatusUsingPOST(graphRequest: GraphRequest, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<any> {
322
- if (graphRequest === null || graphRequest === undefined) {
323
- throw new Error('Required parameter graphRequest was null or undefined when calling listCasesByStatusUsingPOST.');
324
- }
325
-
326
- let localVarHeaders = this.defaultHeaders;
327
-
328
- let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
329
- if (localVarHttpHeaderAcceptSelected === undefined) {
330
- // to determine the Accept header
331
- const httpHeaderAccepts: string[] = [
332
- 'application/json'
333
- ];
334
- localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
335
- }
336
- if (localVarHttpHeaderAcceptSelected !== undefined) {
337
- localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
338
- }
339
-
340
- let localVarHttpContext: HttpContext | undefined = options && options.context;
341
- if (localVarHttpContext === undefined) {
342
- localVarHttpContext = new HttpContext();
343
- }
344
-
345
-
346
- // to determine the Content-Type header
347
- const consumes: string[] = [
348
- 'application/json'
349
- ];
350
- const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
351
- if (httpContentTypeSelected !== undefined) {
352
- localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
353
- }
354
-
355
- let responseType_: 'text' | 'json' | 'blob' = 'json';
356
- if (localVarHttpHeaderAcceptSelected) {
357
- if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
358
- responseType_ = 'text';
359
- } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
360
- responseType_ = 'json';
361
- } else {
362
- responseType_ = 'blob';
363
- }
364
- }
365
-
366
- let localVarPath = `/api/v1/console/cases/status`;
367
- return this.httpClient.request<SqlResponse>('post', `${this.configuration.basePath}${localVarPath}`,
368
- {
369
- context: localVarHttpContext,
370
- body: graphRequest,
371
- responseType: <any>responseType_,
372
- withCredentials: this.configuration.withCredentials,
373
- headers: localVarHeaders,
374
- observe: observe,
375
- reportProgress: reportProgress
376
- }
377
- );
378
- }
379
-
380
244
  /**
381
245
  * listCitations
382
246
  * @param request request
@@ -12,7 +12,6 @@
12
12
 
13
13
 
14
14
  export interface GetCitationsWithMissingFieldsRequest {
15
- caseStatusCategory?: GetCitationsWithMissingFieldsRequest.CaseStatusCategoryEnum;
16
15
  caseStatuses?: Array<GetCitationsWithMissingFieldsRequest.CaseStatusesEnum>;
17
16
  endDate?: string;
18
17
  maxRecords?: number;
@@ -22,16 +21,10 @@ export interface GetCitationsWithMissingFieldsRequest {
22
21
  showMissingGenderRecords?: boolean;
23
22
  showMissingNameRecords?: boolean;
24
23
  startDate?: string;
24
+ statusCategories?: Array<GetCitationsWithMissingFieldsRequest.StatusCategoriesEnum>;
25
25
  trailingDays?: number;
26
26
  }
27
27
  export namespace GetCitationsWithMissingFieldsRequest {
28
- export type CaseStatusCategoryEnum = 'ACTIVE' | 'CANCELLED' | 'RESOLVED' | 'UNCONFIRMED';
29
- export const CaseStatusCategoryEnum = {
30
- Active: 'ACTIVE' as CaseStatusCategoryEnum,
31
- Cancelled: 'CANCELLED' as CaseStatusCategoryEnum,
32
- Resolved: 'RESOLVED' as CaseStatusCategoryEnum,
33
- Unconfirmed: 'UNCONFIRMED' as CaseStatusCategoryEnum
34
- };
35
28
  export type CaseStatusesEnum = 'AMENDED_DOWN_WITHIN_CLASS' | 'AMENDED_FULL_FINE' | 'AMENDED_INCREASED_FINE' | 'AMENDED_NO_FINE' | 'AMENDED_REDUCED_FINE' | 'AMENDED_TO_INFRACTION' | 'AMENDED_TO_NMV' | 'CANCELLED_ATTORNEY_AT_FAULT' | 'CANCELLED_BY_LAWFIRM' | 'CANCELLED_BY_USER' | 'CANCELLED_DUPLICATE' | 'CANCELLED_NMV' | 'CANCELLED_NON_PAYMENT' | 'CANCELLED_NO_LAWFIRM' | 'CANCELLED_OVERDUE' | 'CANCELLED_TOO_SHORT_NOTICE' | 'CASE_IN_PROGRESS' | 'CLIENT_CONFIRMED' | 'CLIENT_CONFIRMED_UNPAID' | 'CLIENT_FIRED_LAWFIRM' | 'CLIENT_FORCED_LOSS' | 'CLIENT_PAID_FINE' | 'CLIENT_UNRESPONSIVE' | 'DEFERRED' | 'DISMISSED' | 'DIVERSION' | 'FEES_DISPUTED' | 'FINE_REDUCTION_ONLY' | 'LAWFIRM_WITHDRAWN' | 'LOST' | 'NO_LAWFIRM_AVAILABLE' | 'POINT_REDUCTION' | 'REFUSED_BY_LAWFIRM' | 'RESOLVED_NON_PAYMENT' | 'STALE' | 'TRAFFIC_SCHOOL' | 'UNCONFIRMED';
36
29
  export const CaseStatusesEnum = {
37
30
  AmendedDownWithinClass: 'AMENDED_DOWN_WITHIN_CLASS' as CaseStatusesEnum,
@@ -126,6 +119,13 @@ export namespace GetCitationsWithMissingFieldsRequest {
126
119
  Wv: 'WV' as SelectedStatesEnum,
127
120
  Wy: 'WY' as SelectedStatesEnum
128
121
  };
122
+ export type StatusCategoriesEnum = 'ACTIVE' | 'CANCELLED' | 'RESOLVED' | 'UNCONFIRMED';
123
+ export const StatusCategoriesEnum = {
124
+ Active: 'ACTIVE' as StatusCategoriesEnum,
125
+ Cancelled: 'CANCELLED' as StatusCategoriesEnum,
126
+ Resolved: 'RESOLVED' as StatusCategoriesEnum,
127
+ Unconfirmed: 'UNCONFIRMED' as StatusCategoriesEnum
128
+ };
129
129
  }
130
130
 
131
131
 
@@ -16,8 +16,6 @@ export interface GetCitationsWithMissingFieldsResponse {
16
16
  citations?: Array<CitationWithMissingFields>;
17
17
  missingClientNameCount?: number;
18
18
  missingCourtCount?: number;
19
- missingDOBCount?: number;
20
19
  missingFieldsCount?: number;
21
- missingGenderCount?: number;
22
20
  }
23
21
 
@@ -4907,43 +4907,6 @@ angular.module('otrBackendService', [])
4907
4907
 
4908
4908
  return deferred.promise;
4909
4909
  };
4910
- /**
4911
- * listCasesByStatus
4912
- * @method
4913
- * @name OtrService#listCasesByStatusUsingPOST
4914
- * @param {object} parameters - method options and parameters
4915
- * @param {} parameters.graphRequest - graphRequest
4916
- */
4917
- OtrService.prototype.listCasesByStatusUsingPOST = function(parameters) {
4918
- if (parameters === undefined) {
4919
- parameters = {};
4920
- }
4921
- var deferred = $q.defer();
4922
- var domain = this.domain,
4923
- path = '/api/v1/console/cases/status';
4924
- var body = {},
4925
- queryParameters = {},
4926
- headers = {},
4927
- form = {};
4928
-
4929
- headers['Accept'] = ['application/json'];
4930
- headers['Content-Type'] = ['application/json'];
4931
-
4932
- if (parameters['graphRequest'] !== undefined) {
4933
- body = parameters['graphRequest'];
4934
- }
4935
-
4936
- if (parameters['graphRequest'] === undefined) {
4937
- deferred.reject(new Error('Missing required parameter: graphRequest'));
4938
- return deferred.promise;
4939
- }
4940
-
4941
- queryParameters = mergeQueryParams(parameters, queryParameters);
4942
-
4943
- this.request('POST', domain + path, parameters, body, headers, queryParameters, form, deferred);
4944
-
4945
- return deferred.promise;
4946
- };
4947
4910
  /**
4948
4911
  * getCasesWithOverduePayments
4949
4912
  * @method
@@ -5425,43 +5388,6 @@ angular.module('otrBackendService', [])
5425
5388
 
5426
5389
  return deferred.promise;
5427
5390
  };
5428
- /**
5429
- * getRegisteredUsers
5430
- * @method
5431
- * @name OtrService#getRegisteredUsersUsingPOST
5432
- * @param {object} parameters - method options and parameters
5433
- * @param {} parameters.graphRequest - graphRequest
5434
- */
5435
- OtrService.prototype.getRegisteredUsersUsingPOST = function(parameters) {
5436
- if (parameters === undefined) {
5437
- parameters = {};
5438
- }
5439
- var deferred = $q.defer();
5440
- var domain = this.domain,
5441
- path = '/api/v1/console/users';
5442
- var body = {},
5443
- queryParameters = {},
5444
- headers = {},
5445
- form = {};
5446
-
5447
- headers['Accept'] = ['application/json'];
5448
- headers['Content-Type'] = ['application/json'];
5449
-
5450
- if (parameters['graphRequest'] !== undefined) {
5451
- body = parameters['graphRequest'];
5452
- }
5453
-
5454
- if (parameters['graphRequest'] === undefined) {
5455
- deferred.reject(new Error('Missing required parameter: graphRequest'));
5456
- return deferred.promise;
5457
- }
5458
-
5459
- queryParameters = mergeQueryParams(parameters, queryParameters);
5460
-
5461
- this.request('POST', domain + path, parameters, body, headers, queryParameters, form, deferred);
5462
-
5463
- return deferred.promise;
5464
- };
5465
5391
  /**
5466
5392
  * getCounties
5467
5393
  * @method