@otr-app/shared-backend-generated-client 2.3.215 → 2.3.216

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.
Files changed (44) hide show
  1. package/dist/angular/.openapi-generator/FILES +9 -0
  2. package/dist/angular/api/dashboardController.service.ts +216 -0
  3. package/dist/angular/model/aggregates.ts +23 -0
  4. package/dist/angular/model/cancellationAggregates.ts +23 -0
  5. package/dist/angular/model/case.ts +10 -10
  6. package/dist/angular/model/getUserRegistrationsRequest.ts +3 -0
  7. package/dist/angular/model/lawfirm.ts +80 -0
  8. package/dist/angular/model/listCaseBookingsRequest.ts +20 -0
  9. package/dist/angular/model/listCaseBookingsResponse.ts +20 -0
  10. package/dist/angular/model/listCaseCancellationsRequest.ts +20 -0
  11. package/dist/angular/model/listCaseCancellationsResponse.ts +20 -0
  12. package/dist/angular/model/listCitationsRequest.ts +1 -0
  13. package/dist/angular/model/listLawfirmsEngagedRequest.ts +20 -0
  14. package/dist/angular/model/listLawfirmsEngagedResponse.ts +20 -0
  15. package/dist/angular/model/models.ts +9 -0
  16. package/dist/otrBackendService.js +111 -0
  17. package/dist/otrBackendService.min.js +6 -6
  18. package/dist/typescript/api/DashboardControllerApi.d.ts +18 -0
  19. package/dist/typescript/api/DashboardControllerApi.js +75 -0
  20. package/dist/typescript/model/Aggregates.d.ts +20 -0
  21. package/dist/typescript/model/Aggregates.js +13 -0
  22. package/dist/typescript/model/CancellationAggregates.d.ts +20 -0
  23. package/dist/typescript/model/CancellationAggregates.js +13 -0
  24. package/dist/typescript/model/Case.d.ts +10 -9
  25. package/dist/typescript/model/Case.js +0 -7
  26. package/dist/typescript/model/GetUserRegistrationsRequest.d.ts +3 -0
  27. package/dist/typescript/model/Lawfirm.d.ts +75 -0
  28. package/dist/typescript/model/Lawfirm.js +71 -0
  29. package/dist/typescript/model/ListCaseBookingsRequest.d.ts +17 -0
  30. package/dist/typescript/model/ListCaseBookingsRequest.js +13 -0
  31. package/dist/typescript/model/ListCaseBookingsResponse.d.ts +16 -0
  32. package/dist/typescript/model/ListCaseBookingsResponse.js +13 -0
  33. package/dist/typescript/model/ListCaseCancellationsRequest.d.ts +17 -0
  34. package/dist/typescript/model/ListCaseCancellationsRequest.js +13 -0
  35. package/dist/typescript/model/ListCaseCancellationsResponse.d.ts +16 -0
  36. package/dist/typescript/model/ListCaseCancellationsResponse.js +13 -0
  37. package/dist/typescript/model/ListCitationsRequest.d.ts +1 -0
  38. package/dist/typescript/model/ListLawfirmsEngagedRequest.d.ts +17 -0
  39. package/dist/typescript/model/ListLawfirmsEngagedRequest.js +13 -0
  40. package/dist/typescript/model/ListLawfirmsEngagedResponse.d.ts +16 -0
  41. package/dist/typescript/model/ListLawfirmsEngagedResponse.js +13 -0
  42. package/dist/typescript/model/models.d.ts +9 -0
  43. package/dist/typescript/model/models.js +9 -0
  44. package/package.json +1 -1
@@ -155,6 +155,7 @@ model/agentBookingsSummary.ts
155
155
  model/aggregateBySource.ts
156
156
  model/aggregateRatingMetrics.ts
157
157
  model/aggregateReferralCredit.ts
158
+ model/aggregates.ts
158
159
  model/alert.ts
159
160
  model/alertNotificationResponse.ts
160
161
  model/anonymousTicketUploadModel.ts
@@ -191,6 +192,7 @@ model/cancelCaseRequest.ts
191
192
  model/cancelationDetails.ts
192
193
  model/cancelationDetailsReq.ts
193
194
  model/cancelationDetailsRes.ts
195
+ model/cancellationAggregates.ts
194
196
  model/captureChargeFromCasePaymentRequest.ts
195
197
  model/case.ts
196
198
  model/caseActionDomain.ts
@@ -512,6 +514,7 @@ model/inviteLawyerToLawfirmRequest.ts
512
514
  model/isRefundEligibleResponse.ts
513
515
  model/isUserLoggedInResponse.ts
514
516
  model/lastLoginDateModel.ts
517
+ model/lawfirm.ts
515
518
  model/lawfirmAuditEventModel.ts
516
519
  model/lawfirmBankPayoutModel.ts
517
520
  model/lawfirmBookingSummary.ts
@@ -553,6 +556,10 @@ model/listBillingProductsResponse.ts
553
556
  model/listBillingSubscribersResponse.ts
554
557
  model/listBillingSubscriptionModel.ts
555
558
  model/listBillingSubscriptionsResponse.ts
559
+ model/listCaseBookingsRequest.ts
560
+ model/listCaseBookingsResponse.ts
561
+ model/listCaseCancellationsRequest.ts
562
+ model/listCaseCancellationsResponse.ts
556
563
  model/listCitationAuditEventsResponse.ts
557
564
  model/listCitationsRequest.ts
558
565
  model/listCitationsResponse.ts
@@ -567,6 +574,8 @@ model/listLawfirmStorefrontsResponse.ts
567
574
  model/listLawfirmSurchargeModel.ts
568
575
  model/listLawfirmSurchargeTypeModel.ts
569
576
  model/listLawfirmSurchargesResponse.ts
577
+ model/listLawfirmsEngagedRequest.ts
578
+ model/listLawfirmsEngagedResponse.ts
570
579
  model/listNotesResponse.ts
571
580
  model/listPhoneCallsCountModel.ts
572
581
  model/listPhoneCallsModel.ts
@@ -29,10 +29,22 @@ import { GetUserRegistrationsResponse } from '../model/getUserRegistrationsRespo
29
29
  // @ts-ignore
30
30
  import { GraphRequest } from '../model/graphRequest';
31
31
  // @ts-ignore
32
+ import { ListCaseBookingsRequest } from '../model/listCaseBookingsRequest';
33
+ // @ts-ignore
34
+ import { ListCaseBookingsResponse } from '../model/listCaseBookingsResponse';
35
+ // @ts-ignore
36
+ import { ListCaseCancellationsRequest } from '../model/listCaseCancellationsRequest';
37
+ // @ts-ignore
38
+ import { ListCaseCancellationsResponse } from '../model/listCaseCancellationsResponse';
39
+ // @ts-ignore
32
40
  import { ListCitationsRequest } from '../model/listCitationsRequest';
33
41
  // @ts-ignore
34
42
  import { ListCitationsResponse } from '../model/listCitationsResponse';
35
43
  // @ts-ignore
44
+ import { ListLawfirmsEngagedRequest } from '../model/listLawfirmsEngagedRequest';
45
+ // @ts-ignore
46
+ import { ListLawfirmsEngagedResponse } from '../model/listLawfirmsEngagedResponse';
47
+ // @ts-ignore
36
48
  import { ListPhoneCallsResponse } from '../model/listPhoneCallsResponse';
37
49
  // @ts-ignore
38
50
  import { SqlResponse } from '../model/sqlResponse';
@@ -243,6 +255,142 @@ export class DashboardControllerService {
243
255
  );
244
256
  }
245
257
 
258
+ /**
259
+ * listCaseBookings
260
+ * @param request request
261
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
262
+ * @param reportProgress flag to report request and response progress.
263
+ */
264
+ public listCaseBookingsUsingPOST(request: ListCaseBookingsRequest, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<ListCaseBookingsResponse>;
265
+ public listCaseBookingsUsingPOST(request: ListCaseBookingsRequest, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpResponse<ListCaseBookingsResponse>>;
266
+ public listCaseBookingsUsingPOST(request: ListCaseBookingsRequest, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpEvent<ListCaseBookingsResponse>>;
267
+ public listCaseBookingsUsingPOST(request: ListCaseBookingsRequest, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<any> {
268
+ if (request === null || request === undefined) {
269
+ throw new Error('Required parameter request was null or undefined when calling listCaseBookingsUsingPOST.');
270
+ }
271
+
272
+ let localVarHeaders = this.defaultHeaders;
273
+
274
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
275
+ if (localVarHttpHeaderAcceptSelected === undefined) {
276
+ // to determine the Accept header
277
+ const httpHeaderAccepts: string[] = [
278
+ 'application/json'
279
+ ];
280
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
281
+ }
282
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
283
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
284
+ }
285
+
286
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
287
+ if (localVarHttpContext === undefined) {
288
+ localVarHttpContext = new HttpContext();
289
+ }
290
+
291
+
292
+ // to determine the Content-Type header
293
+ const consumes: string[] = [
294
+ 'application/json'
295
+ ];
296
+ const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
297
+ if (httpContentTypeSelected !== undefined) {
298
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
299
+ }
300
+
301
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
302
+ if (localVarHttpHeaderAcceptSelected) {
303
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
304
+ responseType_ = 'text';
305
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
306
+ responseType_ = 'json';
307
+ } else {
308
+ responseType_ = 'blob';
309
+ }
310
+ }
311
+
312
+ let localVarPath = `/api/v1/console/bookings2`;
313
+ return this.httpClient.request<ListCaseBookingsResponse>('post', `${this.configuration.basePath}${localVarPath}`,
314
+ {
315
+ context: localVarHttpContext,
316
+ body: request,
317
+ responseType: <any>responseType_,
318
+ withCredentials: this.configuration.withCredentials,
319
+ headers: localVarHeaders,
320
+ observe: observe,
321
+ reportProgress: reportProgress
322
+ }
323
+ );
324
+ }
325
+
326
+ /**
327
+ * listCaseCancellations
328
+ * @param request request
329
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
330
+ * @param reportProgress flag to report request and response progress.
331
+ */
332
+ public listCaseCancellationsUsingPOST(request: ListCaseCancellationsRequest, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<ListCaseCancellationsResponse>;
333
+ public listCaseCancellationsUsingPOST(request: ListCaseCancellationsRequest, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpResponse<ListCaseCancellationsResponse>>;
334
+ public listCaseCancellationsUsingPOST(request: ListCaseCancellationsRequest, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpEvent<ListCaseCancellationsResponse>>;
335
+ public listCaseCancellationsUsingPOST(request: ListCaseCancellationsRequest, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<any> {
336
+ if (request === null || request === undefined) {
337
+ throw new Error('Required parameter request was null or undefined when calling listCaseCancellationsUsingPOST.');
338
+ }
339
+
340
+ let localVarHeaders = this.defaultHeaders;
341
+
342
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
343
+ if (localVarHttpHeaderAcceptSelected === undefined) {
344
+ // to determine the Accept header
345
+ const httpHeaderAccepts: string[] = [
346
+ 'application/json'
347
+ ];
348
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
349
+ }
350
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
351
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
352
+ }
353
+
354
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
355
+ if (localVarHttpContext === undefined) {
356
+ localVarHttpContext = new HttpContext();
357
+ }
358
+
359
+
360
+ // to determine the Content-Type header
361
+ const consumes: string[] = [
362
+ 'application/json'
363
+ ];
364
+ const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
365
+ if (httpContentTypeSelected !== undefined) {
366
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
367
+ }
368
+
369
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
370
+ if (localVarHttpHeaderAcceptSelected) {
371
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
372
+ responseType_ = 'text';
373
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
374
+ responseType_ = 'json';
375
+ } else {
376
+ responseType_ = 'blob';
377
+ }
378
+ }
379
+
380
+ let localVarPath = `/api/v1/console/cancellations`;
381
+ return this.httpClient.request<ListCaseCancellationsResponse>('post', `${this.configuration.basePath}${localVarPath}`,
382
+ {
383
+ context: localVarHttpContext,
384
+ body: request,
385
+ responseType: <any>responseType_,
386
+ withCredentials: this.configuration.withCredentials,
387
+ headers: localVarHeaders,
388
+ observe: observe,
389
+ reportProgress: reportProgress
390
+ }
391
+ );
392
+ }
393
+
246
394
  /**
247
395
  * listCitations
248
396
  * @param request request
@@ -515,6 +663,74 @@ export class DashboardControllerService {
515
663
  );
516
664
  }
517
665
 
666
+ /**
667
+ * listLawfirmsEngaged
668
+ * @param request request
669
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
670
+ * @param reportProgress flag to report request and response progress.
671
+ */
672
+ public listLawfirmsEngagedUsingPOST(request: ListLawfirmsEngagedRequest, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<ListLawfirmsEngagedResponse>;
673
+ public listLawfirmsEngagedUsingPOST(request: ListLawfirmsEngagedRequest, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpResponse<ListLawfirmsEngagedResponse>>;
674
+ public listLawfirmsEngagedUsingPOST(request: ListLawfirmsEngagedRequest, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<HttpEvent<ListLawfirmsEngagedResponse>>;
675
+ public listLawfirmsEngagedUsingPOST(request: ListLawfirmsEngagedRequest, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext}): Observable<any> {
676
+ if (request === null || request === undefined) {
677
+ throw new Error('Required parameter request was null or undefined when calling listLawfirmsEngagedUsingPOST.');
678
+ }
679
+
680
+ let localVarHeaders = this.defaultHeaders;
681
+
682
+ let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
683
+ if (localVarHttpHeaderAcceptSelected === undefined) {
684
+ // to determine the Accept header
685
+ const httpHeaderAccepts: string[] = [
686
+ 'application/json'
687
+ ];
688
+ localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
689
+ }
690
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
691
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
692
+ }
693
+
694
+ let localVarHttpContext: HttpContext | undefined = options && options.context;
695
+ if (localVarHttpContext === undefined) {
696
+ localVarHttpContext = new HttpContext();
697
+ }
698
+
699
+
700
+ // to determine the Content-Type header
701
+ const consumes: string[] = [
702
+ 'application/json'
703
+ ];
704
+ const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
705
+ if (httpContentTypeSelected !== undefined) {
706
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
707
+ }
708
+
709
+ let responseType_: 'text' | 'json' | 'blob' = 'json';
710
+ if (localVarHttpHeaderAcceptSelected) {
711
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
712
+ responseType_ = 'text';
713
+ } else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
714
+ responseType_ = 'json';
715
+ } else {
716
+ responseType_ = 'blob';
717
+ }
718
+ }
719
+
720
+ let localVarPath = `/api/v1/console/lawfirm-engagement`;
721
+ return this.httpClient.request<ListLawfirmsEngagedResponse>('post', `${this.configuration.basePath}${localVarPath}`,
722
+ {
723
+ context: localVarHttpContext,
724
+ body: request,
725
+ responseType: <any>responseType_,
726
+ withCredentials: this.configuration.withCredentials,
727
+ headers: localVarHeaders,
728
+ observe: observe,
729
+ reportProgress: reportProgress
730
+ }
731
+ );
732
+ }
733
+
518
734
  /**
519
735
  * listLawyerLeads
520
736
  * @param graphRequest graphRequest
@@ -0,0 +1,23 @@
1
+ /**
2
+ * OffTheRecord Rest Service API - Devo
3
+ * A service to handle your traffic tickets
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { ZoneId } from './zoneId';
13
+
14
+
15
+ export interface Aggregates {
16
+ caseCount?: number;
17
+ endDate?: string;
18
+ revenue?: number;
19
+ startDate?: string;
20
+ transactionVolume?: number;
21
+ zoneId?: ZoneId;
22
+ }
23
+
@@ -0,0 +1,23 @@
1
+ /**
2
+ * OffTheRecord Rest Service API - Devo
3
+ * A service to handle your traffic tickets
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { ZoneId } from './zoneId';
13
+
14
+
15
+ export interface CancellationAggregates {
16
+ caseCancellationCount?: number;
17
+ endDate?: string;
18
+ revenue?: number;
19
+ startDate?: string;
20
+ transactionVolume?: number;
21
+ zoneId?: ZoneId;
22
+ }
23
+
@@ -13,13 +13,20 @@ import { Timestamp } from './timestamp';
13
13
 
14
14
 
15
15
  export interface Case {
16
+ bookingDate?: string;
16
17
  bookingDateUtc?: Timestamp;
17
18
  caseId?: string;
18
19
  caseStatus?: Case.CaseStatusEnum;
19
- caseSubtotal?: number;
20
- otrReferralFee?: number;
20
+ clientTotalCost?: number;
21
+ lawfirmId?: number;
22
+ lawfirmName?: string;
23
+ numPayments?: number;
24
+ otrPercent?: number;
25
+ otrRevenue?: number;
21
26
  state?: Case.StateEnum;
22
- statusCategory?: Case.StatusCategoryEnum;
27
+ userFirstName?: string;
28
+ userId?: number;
29
+ userLastName?: string;
23
30
  }
24
31
  export namespace Case {
25
32
  export type CaseStatusEnum = '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';
@@ -116,13 +123,6 @@ export namespace Case {
116
123
  Wv: 'WV' as StateEnum,
117
124
  Wy: 'WY' as StateEnum
118
125
  };
119
- export type StatusCategoryEnum = 'ACTIVE' | 'CANCELLED' | 'RESOLVED' | 'UNCONFIRMED';
120
- export const StatusCategoryEnum = {
121
- Active: 'ACTIVE' as StatusCategoryEnum,
122
- Cancelled: 'CANCELLED' as StatusCategoryEnum,
123
- Resolved: 'RESOLVED' as StatusCategoryEnum,
124
- Unconfirmed: 'UNCONFIRMED' as StatusCategoryEnum
125
- };
126
126
  }
127
127
 
128
128
 
@@ -13,6 +13,9 @@
13
13
 
14
14
  export interface GetUserRegistrationsRequest {
15
15
  endDate?: string;
16
+ includeDataRecords?: boolean;
17
+ length?: number;
18
+ page?: number;
16
19
  startDate?: string;
17
20
  timeZoneId?: string;
18
21
  }
@@ -0,0 +1,80 @@
1
+ /**
2
+ * OffTheRecord Rest Service API - Devo
3
+ * A service to handle your traffic tickets
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+
14
+ export interface Lawfirm {
15
+ caseCount?: number;
16
+ lawfirmId?: number;
17
+ lawfirmName?: string;
18
+ otrPercent?: number;
19
+ otrRevenue?: number;
20
+ state?: Lawfirm.StateEnum;
21
+ transactionVolume?: number;
22
+ }
23
+ export namespace Lawfirm {
24
+ export type StateEnum = 'AK' | 'AL' | 'AR' | 'AZ' | 'CA' | 'CO' | 'CT' | 'DC' | 'DE' | 'FL' | 'GA' | 'HI' | 'IA' | 'ID' | 'IL' | 'IN' | 'KS' | 'KY' | 'LA' | 'MA' | 'MD' | 'ME' | 'MI' | 'MN' | 'MO' | 'MS' | 'MT' | 'NC' | 'ND' | 'NE' | 'NH' | 'NJ' | 'NM' | 'NV' | 'NY' | 'OH' | 'OK' | 'OR' | 'PA' | 'RI' | 'SC' | 'SD' | 'TN' | 'TX' | 'UT' | 'VA' | 'VT' | 'WA' | 'WI' | 'WV' | 'WY';
25
+ export const StateEnum = {
26
+ Ak: 'AK' as StateEnum,
27
+ Al: 'AL' as StateEnum,
28
+ Ar: 'AR' as StateEnum,
29
+ Az: 'AZ' as StateEnum,
30
+ Ca: 'CA' as StateEnum,
31
+ Co: 'CO' as StateEnum,
32
+ Ct: 'CT' as StateEnum,
33
+ Dc: 'DC' as StateEnum,
34
+ De: 'DE' as StateEnum,
35
+ Fl: 'FL' as StateEnum,
36
+ Ga: 'GA' as StateEnum,
37
+ Hi: 'HI' as StateEnum,
38
+ Ia: 'IA' as StateEnum,
39
+ Id: 'ID' as StateEnum,
40
+ Il: 'IL' as StateEnum,
41
+ In: 'IN' as StateEnum,
42
+ Ks: 'KS' as StateEnum,
43
+ Ky: 'KY' as StateEnum,
44
+ La: 'LA' as StateEnum,
45
+ Ma: 'MA' as StateEnum,
46
+ Md: 'MD' as StateEnum,
47
+ Me: 'ME' as StateEnum,
48
+ Mi: 'MI' as StateEnum,
49
+ Mn: 'MN' as StateEnum,
50
+ Mo: 'MO' as StateEnum,
51
+ Ms: 'MS' as StateEnum,
52
+ Mt: 'MT' as StateEnum,
53
+ Nc: 'NC' as StateEnum,
54
+ Nd: 'ND' as StateEnum,
55
+ Ne: 'NE' as StateEnum,
56
+ Nh: 'NH' as StateEnum,
57
+ Nj: 'NJ' as StateEnum,
58
+ Nm: 'NM' as StateEnum,
59
+ Nv: 'NV' as StateEnum,
60
+ Ny: 'NY' as StateEnum,
61
+ Oh: 'OH' as StateEnum,
62
+ Ok: 'OK' as StateEnum,
63
+ Or: 'OR' as StateEnum,
64
+ Pa: 'PA' as StateEnum,
65
+ Ri: 'RI' as StateEnum,
66
+ Sc: 'SC' as StateEnum,
67
+ Sd: 'SD' as StateEnum,
68
+ Tn: 'TN' as StateEnum,
69
+ Tx: 'TX' as StateEnum,
70
+ Ut: 'UT' as StateEnum,
71
+ Va: 'VA' as StateEnum,
72
+ Vt: 'VT' as StateEnum,
73
+ Wa: 'WA' as StateEnum,
74
+ Wi: 'WI' as StateEnum,
75
+ Wv: 'WV' as StateEnum,
76
+ Wy: 'WY' as StateEnum
77
+ };
78
+ }
79
+
80
+
@@ -0,0 +1,20 @@
1
+ /**
2
+ * OffTheRecord Rest Service API - Devo
3
+ * A service to handle your traffic tickets
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+
14
+ export interface ListCaseBookingsRequest {
15
+ endDate?: string;
16
+ includeDataRecords?: boolean;
17
+ startDate?: string;
18
+ timeZoneId?: string;
19
+ }
20
+
@@ -0,0 +1,20 @@
1
+ /**
2
+ * OffTheRecord Rest Service API - Devo
3
+ * A service to handle your traffic tickets
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { Aggregates } from './aggregates';
13
+ import { Case } from './case';
14
+
15
+
16
+ export interface ListCaseBookingsResponse {
17
+ aggregates?: Aggregates;
18
+ cases?: Array<Case>;
19
+ }
20
+
@@ -0,0 +1,20 @@
1
+ /**
2
+ * OffTheRecord Rest Service API - Devo
3
+ * A service to handle your traffic tickets
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+
14
+ export interface ListCaseCancellationsRequest {
15
+ endDate?: string;
16
+ includeDataRecords?: boolean;
17
+ startDate?: string;
18
+ timeZoneId?: string;
19
+ }
20
+
@@ -0,0 +1,20 @@
1
+ /**
2
+ * OffTheRecord Rest Service API - Devo
3
+ * A service to handle your traffic tickets
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { CancellationAggregates } from './cancellationAggregates';
13
+ import { Case } from './case';
14
+
15
+
16
+ export interface ListCaseCancellationsResponse {
17
+ cancellationAggregates?: CancellationAggregates;
18
+ cancellations?: Array<Case>;
19
+ }
20
+
@@ -22,6 +22,7 @@ export interface ListCitationsRequest {
22
22
  hasAccident?: boolean;
23
23
  hasCase?: boolean;
24
24
  hasPhoto?: boolean;
25
+ includeDataRecords?: boolean;
25
26
  length?: number;
26
27
  page?: number;
27
28
  sortMap?: { [key: string]: string; };
@@ -0,0 +1,20 @@
1
+ /**
2
+ * OffTheRecord Rest Service API - Devo
3
+ * A service to handle your traffic tickets
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+
14
+ export interface ListLawfirmsEngagedRequest {
15
+ endDate?: string;
16
+ includeDataRecords?: boolean;
17
+ startDate?: string;
18
+ timeZoneId?: string;
19
+ }
20
+
@@ -0,0 +1,20 @@
1
+ /**
2
+ * OffTheRecord Rest Service API - Devo
3
+ * A service to handle your traffic tickets
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { Aggregates } from './aggregates';
13
+ import { Lawfirm } from './lawfirm';
14
+
15
+
16
+ export interface ListLawfirmsEngagedResponse {
17
+ aggregates?: Aggregates;
18
+ lawfirms?: Array<Lawfirm>;
19
+ }
20
+
@@ -35,6 +35,7 @@ export * from './agentBookingsSummary';
35
35
  export * from './aggregateBySource';
36
36
  export * from './aggregateRatingMetrics';
37
37
  export * from './aggregateReferralCredit';
38
+ export * from './aggregates';
38
39
  export * from './alert';
39
40
  export * from './alertNotificationResponse';
40
41
  export * from './anonymousTicketUploadModel';
@@ -71,6 +72,7 @@ export * from './cancelCaseRequest';
71
72
  export * from './cancelationDetails';
72
73
  export * from './cancelationDetailsReq';
73
74
  export * from './cancelationDetailsRes';
75
+ export * from './cancellationAggregates';
74
76
  export * from './captureChargeFromCasePaymentRequest';
75
77
  export * from './case';
76
78
  export * from './caseActionDomain';
@@ -392,6 +394,7 @@ export * from './inviteLawyerToLawfirmRequest';
392
394
  export * from './isRefundEligibleResponse';
393
395
  export * from './isUserLoggedInResponse';
394
396
  export * from './lastLoginDateModel';
397
+ export * from './lawfirm';
395
398
  export * from './lawfirmAuditEventModel';
396
399
  export * from './lawfirmBankPayoutModel';
397
400
  export * from './lawfirmBookingSummary';
@@ -433,6 +436,10 @@ export * from './listBillingProductsResponse';
433
436
  export * from './listBillingSubscribersResponse';
434
437
  export * from './listBillingSubscriptionModel';
435
438
  export * from './listBillingSubscriptionsResponse';
439
+ export * from './listCaseBookingsRequest';
440
+ export * from './listCaseBookingsResponse';
441
+ export * from './listCaseCancellationsRequest';
442
+ export * from './listCaseCancellationsResponse';
436
443
  export * from './listCitationAuditEventsResponse';
437
444
  export * from './listCitationsRequest';
438
445
  export * from './listCitationsResponse';
@@ -447,6 +454,8 @@ export * from './listLawfirmStorefrontsResponse';
447
454
  export * from './listLawfirmSurchargeModel';
448
455
  export * from './listLawfirmSurchargeTypeModel';
449
456
  export * from './listLawfirmSurchargesResponse';
457
+ export * from './listLawfirmsEngagedRequest';
458
+ export * from './listLawfirmsEngagedResponse';
450
459
  export * from './listNotesResponse';
451
460
  export * from './listPhoneCallsCountModel';
452
461
  export * from './listPhoneCallsModel';