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

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 (79) hide show
  1. package/dist/angular/.openapi-generator/FILES +11 -18
  2. package/dist/angular/api/api.ts +3 -5
  3. package/dist/angular/api/caseController.service.ts +5 -5
  4. package/dist/angular/api.module.ts +1 -2
  5. package/dist/angular/model/addActionToCaseResponse.ts +2 -2
  6. package/dist/angular/model/citationWithMissingFields.ts +49 -0
  7. package/dist/angular/model/createCitationResponse.ts +2 -2
  8. package/dist/angular/model/deleteCitationResponse.ts +2 -2
  9. package/dist/angular/model/getCaseFromCitationResponse.ts +2 -2
  10. package/dist/angular/model/getCaseResponse.ts +2 -2
  11. package/dist/angular/model/getCitationResponse.ts +2 -2
  12. package/dist/angular/model/getCitationsResponse.ts +2 -2
  13. package/dist/angular/model/getCitationsWithMissingFieldsRequest.ts +49 -0
  14. package/dist/angular/model/getClientCasesResponse.ts +4 -4
  15. package/dist/angular/model/getDeclinedCasesResponse.ts +2 -2
  16. package/dist/angular/model/getInvalidCasesWithStripeChargeResponse.ts +2 -2
  17. package/dist/angular/model/getPendingCasesResponse.ts +2 -2
  18. package/dist/angular/model/getUserCasesResponse.ts +4 -4
  19. package/dist/angular/model/matchInnerCaseModel.ts +1 -1
  20. package/dist/angular/model/models.ts +10 -16
  21. package/dist/angular/model/violationModel.ts +6 -10
  22. package/dist/otrBackendService.js +0 -36
  23. package/dist/otrBackendService.min.js +1 -1
  24. package/dist/typescript/api/CaseControllerApi.d.ts +1 -1
  25. package/dist/typescript/api/CaseControllerApi.ts +1 -1
  26. package/dist/typescript/api/TrafficViolationControllerApi.ts +224 -0
  27. package/dist/typescript/api/api.d.ts +3 -5
  28. package/dist/typescript/api/api.js +3 -5
  29. package/dist/typescript/api/api.ts +3 -5
  30. package/dist/typescript/api.module.js +2 -3
  31. package/dist/typescript/api.module.ts +1 -2
  32. package/dist/typescript/model/AddActionToCaseResponse.d.ts +1 -1
  33. package/dist/typescript/model/AddActionToCaseResponse.ts +1 -1
  34. package/dist/typescript/model/CaseDomain.ts +96 -0
  35. package/dist/typescript/model/CaseDomainReq.ts +96 -0
  36. package/dist/typescript/model/CaseDomainRes.ts +96 -0
  37. package/dist/typescript/model/CitationDomain.ts +126 -0
  38. package/dist/typescript/model/CitationDomainReq.ts +126 -0
  39. package/dist/typescript/model/CitationDomainRes.ts +126 -0
  40. package/dist/typescript/model/CitationWithMissingFields.d.ts +47 -0
  41. package/dist/typescript/model/CitationWithMissingFields.js +47 -0
  42. package/dist/typescript/model/CitationWithMissingFields.ts +47 -0
  43. package/dist/typescript/model/CreateCitationResponse.d.ts +1 -1
  44. package/dist/typescript/model/CreateCitationResponse.ts +1 -1
  45. package/dist/typescript/model/DeleteCitationResponse.d.ts +1 -1
  46. package/dist/typescript/model/DeleteCitationResponse.ts +1 -1
  47. package/dist/typescript/model/GetCaseFromCitationResponse.d.ts +1 -1
  48. package/dist/typescript/model/GetCaseFromCitationResponse.ts +1 -1
  49. package/dist/typescript/model/GetCaseResponse.d.ts +1 -1
  50. package/dist/typescript/model/GetCaseResponse.ts +1 -1
  51. package/dist/typescript/model/GetCitationResponse.d.ts +1 -1
  52. package/dist/typescript/model/GetCitationResponse.ts +1 -1
  53. package/dist/typescript/model/GetCitationsResponse.d.ts +1 -1
  54. package/dist/typescript/model/GetCitationsResponse.ts +1 -1
  55. package/dist/typescript/model/GetCitationsWithMissingFieldsRequest.d.ts +47 -0
  56. package/dist/typescript/model/GetCitationsWithMissingFieldsRequest.js +47 -0
  57. package/dist/typescript/model/GetCitationsWithMissingFieldsRequest.ts +47 -0
  58. package/dist/typescript/model/GetClientCasesResponse.d.ts +2 -2
  59. package/dist/typescript/model/GetClientCasesResponse.ts +2 -2
  60. package/dist/typescript/model/GetDeclinedCasesResponse.d.ts +1 -1
  61. package/dist/typescript/model/GetDeclinedCasesResponse.ts +1 -1
  62. package/dist/typescript/model/GetInvalidCasesWithStripeChargeResponse.d.ts +1 -1
  63. package/dist/typescript/model/GetInvalidCasesWithStripeChargeResponse.ts +1 -1
  64. package/dist/typescript/model/GetPendingCasesResponse.d.ts +1 -1
  65. package/dist/typescript/model/GetPendingCasesResponse.ts +1 -1
  66. package/dist/typescript/model/GetUserCasesResponse.d.ts +2 -2
  67. package/dist/typescript/model/GetUserCasesResponse.ts +2 -2
  68. package/dist/typescript/model/LawfirmCaseDomain.ts +47 -0
  69. package/dist/typescript/model/LawfirmCaseDomainReq.ts +47 -0
  70. package/dist/typescript/model/LawfirmCaseDomainRes.ts +47 -0
  71. package/dist/typescript/model/MatchInnerCaseModel.d.ts +1 -1
  72. package/dist/typescript/model/MatchInnerCaseModel.ts +1 -1
  73. package/dist/typescript/model/TrafficViolationTypeDomain.ts +87 -0
  74. package/dist/typescript/model/ViolationModel.d.ts +5 -9
  75. package/dist/typescript/model/ViolationModel.ts +5 -9
  76. package/dist/typescript/model/models.d.ts +10 -16
  77. package/dist/typescript/model/models.js +10 -16
  78. package/dist/typescript/model/models.ts +10 -16
  79. package/package.json +1 -1
@@ -11,5 +11,5 @@
11
11
  */
12
12
  import * as models from './models';
13
13
  export interface DeleteCitationResponse {
14
- "citation"?: models.CitationModel;
14
+ "citation"?: models.CitationDomain;
15
15
  }
@@ -13,6 +13,6 @@
13
13
  import * as models from './models';
14
14
 
15
15
  export interface DeleteCitationResponse {
16
- "citation"?: models.CitationModel;
16
+ "citation"?: models.CitationDomain;
17
17
  }
18
18
 
@@ -13,5 +13,5 @@ import * as models from './models';
13
13
  export interface GetCaseFromCitationResponse {
14
14
  "chanceOfSuccess"?: number;
15
15
  "projectedInsuranceCostInCents"?: number;
16
- "theCase"?: models.CaseModel;
16
+ "theCase"?: models.CaseDomain;
17
17
  }
@@ -15,6 +15,6 @@ import * as models from './models';
15
15
  export interface GetCaseFromCitationResponse {
16
16
  "chanceOfSuccess"?: number;
17
17
  "projectedInsuranceCostInCents"?: number;
18
- "theCase"?: models.CaseModel;
18
+ "theCase"?: models.CaseDomain;
19
19
  }
20
20
 
@@ -13,5 +13,5 @@ import * as models from './models';
13
13
  export interface GetCaseResponse {
14
14
  "chanceOfSuccess"?: number;
15
15
  "projectedInsuranceCostInCents"?: number;
16
- "theCase"?: models.CaseModel;
16
+ "theCase"?: models.CaseDomain;
17
17
  }
@@ -15,6 +15,6 @@ import * as models from './models';
15
15
  export interface GetCaseResponse {
16
16
  "chanceOfSuccess"?: number;
17
17
  "projectedInsuranceCostInCents"?: number;
18
- "theCase"?: models.CaseModel;
18
+ "theCase"?: models.CaseDomain;
19
19
  }
20
20
 
@@ -11,5 +11,5 @@
11
11
  */
12
12
  import * as models from './models';
13
13
  export interface GetCitationResponse {
14
- "citation"?: models.CitationModel;
14
+ "citation"?: models.CitationDomain;
15
15
  }
@@ -13,6 +13,6 @@
13
13
  import * as models from './models';
14
14
 
15
15
  export interface GetCitationResponse {
16
- "citation"?: models.CitationModel;
16
+ "citation"?: models.CitationDomain;
17
17
  }
18
18
 
@@ -11,5 +11,5 @@
11
11
  */
12
12
  import * as models from './models';
13
13
  export interface GetCitationsResponse {
14
- "citations"?: Array<models.CitationModel>;
14
+ "citations"?: Array<models.CitationDomain>;
15
15
  }
@@ -13,6 +13,6 @@
13
13
  import * as models from './models';
14
14
 
15
15
  export interface GetCitationsResponse {
16
- "citations"?: Array<models.CitationModel>;
16
+ "citations"?: Array<models.CitationDomain>;
17
17
  }
18
18
 
@@ -10,6 +10,8 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  export interface GetCitationsWithMissingFieldsRequest {
13
+ "caseStatusCategory"?: GetCitationsWithMissingFieldsRequest.CaseStatusCategoryEnum;
14
+ "caseStatuses"?: Array<GetCitationsWithMissingFieldsRequest.CaseStatusesEnum>;
13
15
  "endDate"?: string;
14
16
  "maxRecords"?: number;
15
17
  "selectedStates"?: Array<GetCitationsWithMissingFieldsRequest.SelectedStatesEnum>;
@@ -21,6 +23,51 @@ export interface GetCitationsWithMissingFieldsRequest {
21
23
  "trailingDays"?: number;
22
24
  }
23
25
  export declare namespace GetCitationsWithMissingFieldsRequest {
26
+ enum CaseStatusCategoryEnum {
27
+ ACTIVE,
28
+ CANCELLED,
29
+ RESOLVED,
30
+ UNCONFIRMED
31
+ }
32
+ enum CaseStatusesEnum {
33
+ AMENDEDDOWNWITHINCLASS,
34
+ AMENDEDFULLFINE,
35
+ AMENDEDINCREASEDFINE,
36
+ AMENDEDNOFINE,
37
+ AMENDEDREDUCEDFINE,
38
+ AMENDEDTOINFRACTION,
39
+ AMENDEDTONMV,
40
+ CANCELLEDATTORNEYATFAULT,
41
+ CANCELLEDBYLAWFIRM,
42
+ CANCELLEDBYUSER,
43
+ CANCELLEDDUPLICATE,
44
+ CANCELLEDNMV,
45
+ CANCELLEDNONPAYMENT,
46
+ CANCELLEDNOLAWFIRM,
47
+ CANCELLEDOVERDUE,
48
+ CANCELLEDTOOSHORTNOTICE,
49
+ CASEINPROGRESS,
50
+ CLIENTCONFIRMED,
51
+ CLIENTCONFIRMEDUNPAID,
52
+ CLIENTFIREDLAWFIRM,
53
+ CLIENTFORCEDLOSS,
54
+ CLIENTPAIDFINE,
55
+ CLIENTUNRESPONSIVE,
56
+ DEFERRED,
57
+ DISMISSED,
58
+ DIVERSION,
59
+ FEESDISPUTED,
60
+ FINEREDUCTIONONLY,
61
+ LAWFIRMWITHDRAWN,
62
+ LOST,
63
+ NOLAWFIRMAVAILABLE,
64
+ POINTREDUCTION,
65
+ REFUSEDBYLAWFIRM,
66
+ RESOLVEDNONPAYMENT,
67
+ STALE,
68
+ TRAFFICSCHOOL,
69
+ UNCONFIRMED
70
+ }
24
71
  enum SelectedStatesEnum {
25
72
  AK,
26
73
  AL,
@@ -14,6 +14,53 @@ Object.defineProperty(exports, "__esModule", { value: true });
14
14
  exports.GetCitationsWithMissingFieldsRequest = void 0;
15
15
  var GetCitationsWithMissingFieldsRequest;
16
16
  (function (GetCitationsWithMissingFieldsRequest) {
17
+ var CaseStatusCategoryEnum;
18
+ (function (CaseStatusCategoryEnum) {
19
+ CaseStatusCategoryEnum[CaseStatusCategoryEnum["ACTIVE"] = 'ACTIVE'] = "ACTIVE";
20
+ CaseStatusCategoryEnum[CaseStatusCategoryEnum["CANCELLED"] = 'CANCELLED'] = "CANCELLED";
21
+ CaseStatusCategoryEnum[CaseStatusCategoryEnum["RESOLVED"] = 'RESOLVED'] = "RESOLVED";
22
+ CaseStatusCategoryEnum[CaseStatusCategoryEnum["UNCONFIRMED"] = 'UNCONFIRMED'] = "UNCONFIRMED";
23
+ })(CaseStatusCategoryEnum = GetCitationsWithMissingFieldsRequest.CaseStatusCategoryEnum || (GetCitationsWithMissingFieldsRequest.CaseStatusCategoryEnum = {}));
24
+ var CaseStatusesEnum;
25
+ (function (CaseStatusesEnum) {
26
+ CaseStatusesEnum[CaseStatusesEnum["AMENDEDDOWNWITHINCLASS"] = 'AMENDED_DOWN_WITHIN_CLASS'] = "AMENDEDDOWNWITHINCLASS";
27
+ CaseStatusesEnum[CaseStatusesEnum["AMENDEDFULLFINE"] = 'AMENDED_FULL_FINE'] = "AMENDEDFULLFINE";
28
+ CaseStatusesEnum[CaseStatusesEnum["AMENDEDINCREASEDFINE"] = 'AMENDED_INCREASED_FINE'] = "AMENDEDINCREASEDFINE";
29
+ CaseStatusesEnum[CaseStatusesEnum["AMENDEDNOFINE"] = 'AMENDED_NO_FINE'] = "AMENDEDNOFINE";
30
+ CaseStatusesEnum[CaseStatusesEnum["AMENDEDREDUCEDFINE"] = 'AMENDED_REDUCED_FINE'] = "AMENDEDREDUCEDFINE";
31
+ CaseStatusesEnum[CaseStatusesEnum["AMENDEDTOINFRACTION"] = 'AMENDED_TO_INFRACTION'] = "AMENDEDTOINFRACTION";
32
+ CaseStatusesEnum[CaseStatusesEnum["AMENDEDTONMV"] = 'AMENDED_TO_NMV'] = "AMENDEDTONMV";
33
+ CaseStatusesEnum[CaseStatusesEnum["CANCELLEDATTORNEYATFAULT"] = 'CANCELLED_ATTORNEY_AT_FAULT'] = "CANCELLEDATTORNEYATFAULT";
34
+ CaseStatusesEnum[CaseStatusesEnum["CANCELLEDBYLAWFIRM"] = 'CANCELLED_BY_LAWFIRM'] = "CANCELLEDBYLAWFIRM";
35
+ CaseStatusesEnum[CaseStatusesEnum["CANCELLEDBYUSER"] = 'CANCELLED_BY_USER'] = "CANCELLEDBYUSER";
36
+ CaseStatusesEnum[CaseStatusesEnum["CANCELLEDDUPLICATE"] = 'CANCELLED_DUPLICATE'] = "CANCELLEDDUPLICATE";
37
+ CaseStatusesEnum[CaseStatusesEnum["CANCELLEDNMV"] = 'CANCELLED_NMV'] = "CANCELLEDNMV";
38
+ CaseStatusesEnum[CaseStatusesEnum["CANCELLEDNONPAYMENT"] = 'CANCELLED_NON_PAYMENT'] = "CANCELLEDNONPAYMENT";
39
+ CaseStatusesEnum[CaseStatusesEnum["CANCELLEDNOLAWFIRM"] = 'CANCELLED_NO_LAWFIRM'] = "CANCELLEDNOLAWFIRM";
40
+ CaseStatusesEnum[CaseStatusesEnum["CANCELLEDOVERDUE"] = 'CANCELLED_OVERDUE'] = "CANCELLEDOVERDUE";
41
+ CaseStatusesEnum[CaseStatusesEnum["CANCELLEDTOOSHORTNOTICE"] = 'CANCELLED_TOO_SHORT_NOTICE'] = "CANCELLEDTOOSHORTNOTICE";
42
+ CaseStatusesEnum[CaseStatusesEnum["CASEINPROGRESS"] = 'CASE_IN_PROGRESS'] = "CASEINPROGRESS";
43
+ CaseStatusesEnum[CaseStatusesEnum["CLIENTCONFIRMED"] = 'CLIENT_CONFIRMED'] = "CLIENTCONFIRMED";
44
+ CaseStatusesEnum[CaseStatusesEnum["CLIENTCONFIRMEDUNPAID"] = 'CLIENT_CONFIRMED_UNPAID'] = "CLIENTCONFIRMEDUNPAID";
45
+ CaseStatusesEnum[CaseStatusesEnum["CLIENTFIREDLAWFIRM"] = 'CLIENT_FIRED_LAWFIRM'] = "CLIENTFIREDLAWFIRM";
46
+ CaseStatusesEnum[CaseStatusesEnum["CLIENTFORCEDLOSS"] = 'CLIENT_FORCED_LOSS'] = "CLIENTFORCEDLOSS";
47
+ CaseStatusesEnum[CaseStatusesEnum["CLIENTPAIDFINE"] = 'CLIENT_PAID_FINE'] = "CLIENTPAIDFINE";
48
+ CaseStatusesEnum[CaseStatusesEnum["CLIENTUNRESPONSIVE"] = 'CLIENT_UNRESPONSIVE'] = "CLIENTUNRESPONSIVE";
49
+ CaseStatusesEnum[CaseStatusesEnum["DEFERRED"] = 'DEFERRED'] = "DEFERRED";
50
+ CaseStatusesEnum[CaseStatusesEnum["DISMISSED"] = 'DISMISSED'] = "DISMISSED";
51
+ CaseStatusesEnum[CaseStatusesEnum["DIVERSION"] = 'DIVERSION'] = "DIVERSION";
52
+ CaseStatusesEnum[CaseStatusesEnum["FEESDISPUTED"] = 'FEES_DISPUTED'] = "FEESDISPUTED";
53
+ CaseStatusesEnum[CaseStatusesEnum["FINEREDUCTIONONLY"] = 'FINE_REDUCTION_ONLY'] = "FINEREDUCTIONONLY";
54
+ CaseStatusesEnum[CaseStatusesEnum["LAWFIRMWITHDRAWN"] = 'LAWFIRM_WITHDRAWN'] = "LAWFIRMWITHDRAWN";
55
+ CaseStatusesEnum[CaseStatusesEnum["LOST"] = 'LOST'] = "LOST";
56
+ CaseStatusesEnum[CaseStatusesEnum["NOLAWFIRMAVAILABLE"] = 'NO_LAWFIRM_AVAILABLE'] = "NOLAWFIRMAVAILABLE";
57
+ CaseStatusesEnum[CaseStatusesEnum["POINTREDUCTION"] = 'POINT_REDUCTION'] = "POINTREDUCTION";
58
+ CaseStatusesEnum[CaseStatusesEnum["REFUSEDBYLAWFIRM"] = 'REFUSED_BY_LAWFIRM'] = "REFUSEDBYLAWFIRM";
59
+ CaseStatusesEnum[CaseStatusesEnum["RESOLVEDNONPAYMENT"] = 'RESOLVED_NON_PAYMENT'] = "RESOLVEDNONPAYMENT";
60
+ CaseStatusesEnum[CaseStatusesEnum["STALE"] = 'STALE'] = "STALE";
61
+ CaseStatusesEnum[CaseStatusesEnum["TRAFFICSCHOOL"] = 'TRAFFIC_SCHOOL'] = "TRAFFICSCHOOL";
62
+ CaseStatusesEnum[CaseStatusesEnum["UNCONFIRMED"] = 'UNCONFIRMED'] = "UNCONFIRMED";
63
+ })(CaseStatusesEnum = GetCitationsWithMissingFieldsRequest.CaseStatusesEnum || (GetCitationsWithMissingFieldsRequest.CaseStatusesEnum = {}));
17
64
  var SelectedStatesEnum;
18
65
  (function (SelectedStatesEnum) {
19
66
  SelectedStatesEnum[SelectedStatesEnum["AK"] = 'AK'] = "AK";
@@ -13,6 +13,8 @@
13
13
  import * as models from './models';
14
14
 
15
15
  export interface GetCitationsWithMissingFieldsRequest {
16
+ "caseStatusCategory"?: GetCitationsWithMissingFieldsRequest.CaseStatusCategoryEnum;
17
+ "caseStatuses"?: Array<GetCitationsWithMissingFieldsRequest.CaseStatusesEnum>;
16
18
  "endDate"?: string;
17
19
  "maxRecords"?: number;
18
20
  "selectedStates"?: Array<GetCitationsWithMissingFieldsRequest.SelectedStatesEnum>;
@@ -25,6 +27,51 @@ export interface GetCitationsWithMissingFieldsRequest {
25
27
  }
26
28
 
27
29
  export namespace GetCitationsWithMissingFieldsRequest {
30
+ export enum CaseStatusCategoryEnum {
31
+ ACTIVE = <any> 'ACTIVE',
32
+ CANCELLED = <any> 'CANCELLED',
33
+ RESOLVED = <any> 'RESOLVED',
34
+ UNCONFIRMED = <any> 'UNCONFIRMED'
35
+ }
36
+ export enum CaseStatusesEnum {
37
+ AMENDEDDOWNWITHINCLASS = <any> 'AMENDED_DOWN_WITHIN_CLASS',
38
+ AMENDEDFULLFINE = <any> 'AMENDED_FULL_FINE',
39
+ AMENDEDINCREASEDFINE = <any> 'AMENDED_INCREASED_FINE',
40
+ AMENDEDNOFINE = <any> 'AMENDED_NO_FINE',
41
+ AMENDEDREDUCEDFINE = <any> 'AMENDED_REDUCED_FINE',
42
+ AMENDEDTOINFRACTION = <any> 'AMENDED_TO_INFRACTION',
43
+ AMENDEDTONMV = <any> 'AMENDED_TO_NMV',
44
+ CANCELLEDATTORNEYATFAULT = <any> 'CANCELLED_ATTORNEY_AT_FAULT',
45
+ CANCELLEDBYLAWFIRM = <any> 'CANCELLED_BY_LAWFIRM',
46
+ CANCELLEDBYUSER = <any> 'CANCELLED_BY_USER',
47
+ CANCELLEDDUPLICATE = <any> 'CANCELLED_DUPLICATE',
48
+ CANCELLEDNMV = <any> 'CANCELLED_NMV',
49
+ CANCELLEDNONPAYMENT = <any> 'CANCELLED_NON_PAYMENT',
50
+ CANCELLEDNOLAWFIRM = <any> 'CANCELLED_NO_LAWFIRM',
51
+ CANCELLEDOVERDUE = <any> 'CANCELLED_OVERDUE',
52
+ CANCELLEDTOOSHORTNOTICE = <any> 'CANCELLED_TOO_SHORT_NOTICE',
53
+ CASEINPROGRESS = <any> 'CASE_IN_PROGRESS',
54
+ CLIENTCONFIRMED = <any> 'CLIENT_CONFIRMED',
55
+ CLIENTCONFIRMEDUNPAID = <any> 'CLIENT_CONFIRMED_UNPAID',
56
+ CLIENTFIREDLAWFIRM = <any> 'CLIENT_FIRED_LAWFIRM',
57
+ CLIENTFORCEDLOSS = <any> 'CLIENT_FORCED_LOSS',
58
+ CLIENTPAIDFINE = <any> 'CLIENT_PAID_FINE',
59
+ CLIENTUNRESPONSIVE = <any> 'CLIENT_UNRESPONSIVE',
60
+ DEFERRED = <any> 'DEFERRED',
61
+ DISMISSED = <any> 'DISMISSED',
62
+ DIVERSION = <any> 'DIVERSION',
63
+ FEESDISPUTED = <any> 'FEES_DISPUTED',
64
+ FINEREDUCTIONONLY = <any> 'FINE_REDUCTION_ONLY',
65
+ LAWFIRMWITHDRAWN = <any> 'LAWFIRM_WITHDRAWN',
66
+ LOST = <any> 'LOST',
67
+ NOLAWFIRMAVAILABLE = <any> 'NO_LAWFIRM_AVAILABLE',
68
+ POINTREDUCTION = <any> 'POINT_REDUCTION',
69
+ REFUSEDBYLAWFIRM = <any> 'REFUSED_BY_LAWFIRM',
70
+ RESOLVEDNONPAYMENT = <any> 'RESOLVED_NON_PAYMENT',
71
+ STALE = <any> 'STALE',
72
+ TRAFFICSCHOOL = <any> 'TRAFFIC_SCHOOL',
73
+ UNCONFIRMED = <any> 'UNCONFIRMED'
74
+ }
28
75
  export enum SelectedStatesEnum {
29
76
  AK = <any> 'AK',
30
77
  AL = <any> 'AL',
@@ -11,8 +11,8 @@
11
11
  */
12
12
  import * as models from './models';
13
13
  export interface GetClientCasesResponse {
14
- "cases"?: Array<models.CaseModel>;
15
- "citations"?: Array<models.CitationModel>;
14
+ "cases"?: Array<models.CaseDomain>;
15
+ "citations"?: Array<models.CitationDomain>;
16
16
  "numBookings"?: number;
17
17
  "numCases"?: number;
18
18
  "numCitationUploads"?: number;
@@ -13,8 +13,8 @@
13
13
  import * as models from './models';
14
14
 
15
15
  export interface GetClientCasesResponse {
16
- "cases"?: Array<models.CaseModel>;
17
- "citations"?: Array<models.CitationModel>;
16
+ "cases"?: Array<models.CaseDomain>;
17
+ "citations"?: Array<models.CitationDomain>;
18
18
  "numBookings"?: number;
19
19
  "numCases"?: number;
20
20
  "numCitationUploads"?: number;
@@ -11,5 +11,5 @@
11
11
  */
12
12
  import * as models from './models';
13
13
  export interface GetDeclinedCasesResponse {
14
- "declinedCases"?: Array<models.CaseModel>;
14
+ "declinedCases"?: Array<models.CaseDomain>;
15
15
  }
@@ -13,6 +13,6 @@
13
13
  import * as models from './models';
14
14
 
15
15
  export interface GetDeclinedCasesResponse {
16
- "declinedCases"?: Array<models.CaseModel>;
16
+ "declinedCases"?: Array<models.CaseDomain>;
17
17
  }
18
18
 
@@ -11,5 +11,5 @@
11
11
  */
12
12
  import * as models from './models';
13
13
  export interface GetInvalidCasesWithStripeChargeResponse {
14
- "cases"?: Array<models.CaseModel>;
14
+ "cases"?: Array<models.CaseDomain>;
15
15
  }
@@ -13,6 +13,6 @@
13
13
  import * as models from './models';
14
14
 
15
15
  export interface GetInvalidCasesWithStripeChargeResponse {
16
- "cases"?: Array<models.CaseModel>;
16
+ "cases"?: Array<models.CaseDomain>;
17
17
  }
18
18
 
@@ -11,5 +11,5 @@
11
11
  */
12
12
  import * as models from './models';
13
13
  export interface GetPendingCasesResponse {
14
- "pendingCases"?: Array<models.CaseModel>;
14
+ "pendingCases"?: Array<models.CaseDomain>;
15
15
  }
@@ -13,6 +13,6 @@
13
13
  import * as models from './models';
14
14
 
15
15
  export interface GetPendingCasesResponse {
16
- "pendingCases"?: Array<models.CaseModel>;
16
+ "pendingCases"?: Array<models.CaseDomain>;
17
17
  }
18
18
 
@@ -11,8 +11,8 @@
11
11
  */
12
12
  import * as models from './models';
13
13
  export interface GetUserCasesResponse {
14
- "cases"?: Array<models.CaseModel>;
15
- "citations"?: Array<models.CitationModel>;
14
+ "cases"?: Array<models.CaseDomain>;
15
+ "citations"?: Array<models.CitationDomain>;
16
16
  "numBookings"?: number;
17
17
  "numCitationUploads"?: number;
18
18
  }
@@ -13,8 +13,8 @@
13
13
  import * as models from './models';
14
14
 
15
15
  export interface GetUserCasesResponse {
16
- "cases"?: Array<models.CaseModel>;
17
- "citations"?: Array<models.CitationModel>;
16
+ "cases"?: Array<models.CaseDomain>;
17
+ "citations"?: Array<models.CitationDomain>;
18
18
  "numBookings"?: number;
19
19
  "numCitationUploads"?: number;
20
20
  }
@@ -0,0 +1,47 @@
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
+ import * as models from './models';
14
+
15
+ export interface LawfirmCaseDomain {
16
+ "caseDecisionStatus"?: LawfirmCaseDomain.CaseDecisionStatusEnum;
17
+ "clientDeclineTicket"?: models.FreshDeskTicket;
18
+ "declineReason"?: string;
19
+ "lawfirmCaseId"?: number;
20
+ "lawfirmDecisionDateUtc"?: models.Timestamp;
21
+ "lawfirmDeclineTicket"?: models.FreshDeskTicket;
22
+ "lawfirmId"?: number;
23
+ "lawfirmName"?: string;
24
+ "lawfirmPrimaryEmail"?: string;
25
+ "lawfirmReceiptDateUtc"?: models.Timestamp;
26
+ "matchExpirationDateUtc"?: string;
27
+ "obfuscatedPictureUrl"?: string;
28
+ "profilePictureUrl"?: string;
29
+ "refundOwner"?: LawfirmCaseDomain.RefundOwnerEnum;
30
+ }
31
+
32
+ export namespace LawfirmCaseDomain {
33
+ export enum CaseDecisionStatusEnum {
34
+ ACCEPTED = <any> 'ACCEPTED',
35
+ CREATED = <any> 'CREATED',
36
+ DECLINED = <any> 'DECLINED',
37
+ EXPIRED = <any> 'EXPIRED',
38
+ PENDING = <any> 'PENDING',
39
+ REMATCHED = <any> 'REMATCHED',
40
+ REMATCHEDREFERRAL = <any> 'REMATCHED_REFERRAL'
41
+ }
42
+ export enum RefundOwnerEnum {
43
+ LAWFIRM = <any> 'LAWFIRM',
44
+ NONE = <any> 'NONE',
45
+ OTR = <any> 'OTR'
46
+ }
47
+ }
@@ -0,0 +1,47 @@
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
+ import * as models from './models';
14
+
15
+ export interface LawfirmCaseDomainReq {
16
+ "caseDecisionStatus"?: LawfirmCaseDomainReq.CaseDecisionStatusEnum;
17
+ "clientDeclineTicket"?: models.FreshDeskTicketReq;
18
+ "declineReason"?: string;
19
+ "lawfirmCaseId"?: number;
20
+ "lawfirmDecisionDateUtc"?: models.TimestampReq;
21
+ "lawfirmDeclineTicket"?: models.FreshDeskTicketReq;
22
+ "lawfirmId"?: number;
23
+ "lawfirmName"?: string;
24
+ "lawfirmPrimaryEmail"?: string;
25
+ "lawfirmReceiptDateUtc"?: models.TimestampReq;
26
+ "matchExpirationDateUtc"?: string;
27
+ "obfuscatedPictureUrl"?: string;
28
+ "profilePictureUrl"?: string;
29
+ "refundOwner"?: LawfirmCaseDomainReq.RefundOwnerEnum;
30
+ }
31
+
32
+ export namespace LawfirmCaseDomainReq {
33
+ export enum CaseDecisionStatusEnum {
34
+ ACCEPTED = <any> 'ACCEPTED',
35
+ CREATED = <any> 'CREATED',
36
+ DECLINED = <any> 'DECLINED',
37
+ EXPIRED = <any> 'EXPIRED',
38
+ PENDING = <any> 'PENDING',
39
+ REMATCHED = <any> 'REMATCHED',
40
+ REMATCHEDREFERRAL = <any> 'REMATCHED_REFERRAL'
41
+ }
42
+ export enum RefundOwnerEnum {
43
+ LAWFIRM = <any> 'LAWFIRM',
44
+ NONE = <any> 'NONE',
45
+ OTR = <any> 'OTR'
46
+ }
47
+ }
@@ -0,0 +1,47 @@
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
+ import * as models from './models';
14
+
15
+ export interface LawfirmCaseDomainRes {
16
+ "caseDecisionStatus"?: LawfirmCaseDomainRes.CaseDecisionStatusEnum;
17
+ "clientDeclineTicket"?: models.FreshDeskTicketRes;
18
+ "declineReason"?: string;
19
+ "lawfirmCaseId"?: number;
20
+ "lawfirmDecisionDateUtc"?: models.TimestampRes;
21
+ "lawfirmDeclineTicket"?: models.FreshDeskTicketRes;
22
+ "lawfirmId"?: number;
23
+ "lawfirmName"?: string;
24
+ "lawfirmPrimaryEmail"?: string;
25
+ "lawfirmReceiptDateUtc"?: models.TimestampRes;
26
+ "matchExpirationDateUtc"?: string;
27
+ "obfuscatedPictureUrl"?: string;
28
+ "profilePictureUrl"?: string;
29
+ "refundOwner"?: LawfirmCaseDomainRes.RefundOwnerEnum;
30
+ }
31
+
32
+ export namespace LawfirmCaseDomainRes {
33
+ export enum CaseDecisionStatusEnum {
34
+ ACCEPTED = <any> 'ACCEPTED',
35
+ CREATED = <any> 'CREATED',
36
+ DECLINED = <any> 'DECLINED',
37
+ EXPIRED = <any> 'EXPIRED',
38
+ PENDING = <any> 'PENDING',
39
+ REMATCHED = <any> 'REMATCHED',
40
+ REMATCHEDREFERRAL = <any> 'REMATCHED_REFERRAL'
41
+ }
42
+ export enum RefundOwnerEnum {
43
+ LAWFIRM = <any> 'LAWFIRM',
44
+ NONE = <any> 'NONE',
45
+ OTR = <any> 'OTR'
46
+ }
47
+ }
@@ -13,7 +13,7 @@ import * as models from './models';
13
13
  export interface MatchInnerCaseModel {
14
14
  "caseId"?: string;
15
15
  "citation"?: models.MatchCitationModel;
16
- "isLawfirmCodeApplied"?: boolean;
16
+ "lawfirmCodeApplied"?: boolean;
17
17
  "legalServices"?: Array<models.MatchLegalServiceModel>;
18
18
  "maxPenalties"?: Array<models.MatchCaseViolationPenaltyModel>;
19
19
  "referralCodeOwner"?: MatchInnerCaseModel.ReferralCodeOwnerEnum;
@@ -15,7 +15,7 @@ import * as models from './models';
15
15
  export interface MatchInnerCaseModel {
16
16
  "caseId"?: string;
17
17
  "citation"?: models.MatchCitationModel;
18
- "isLawfirmCodeApplied"?: boolean;
18
+ "lawfirmCodeApplied"?: boolean;
19
19
  "legalServices"?: Array<models.MatchLegalServiceModel>;
20
20
  "maxPenalties"?: Array<models.MatchCaseViolationPenaltyModel>;
21
21
  "referralCodeOwner"?: MatchInnerCaseModel.ReferralCodeOwnerEnum;
@@ -0,0 +1,87 @@
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
+ import * as models from './models';
14
+
15
+ export interface TrafficViolationTypeDomain {
16
+ "insuranceIncreasePercent"?: number;
17
+ "isMovingViolation"?: boolean;
18
+ "penalties"?: Array<models.PenaltyModel>;
19
+ "trafficViolationDesc"?: string;
20
+ "trafficViolationTypeId"?: number;
21
+ "userFriendlyName"?: string;
22
+ "userFriendlyShortForm"?: string;
23
+ "violationClassification"?: TrafficViolationTypeDomain.ViolationClassificationEnum;
24
+ "violationCode"?: string;
25
+ }
26
+
27
+ export namespace TrafficViolationTypeDomain {
28
+ export enum ViolationClassificationEnum {
29
+ CLASS1FELONY = <any> 'CLASS_1_FELONY',
30
+ CLASS1MISDEMEANOR = <any> 'CLASS_1_MISDEMEANOR',
31
+ CLASS2FELONY = <any> 'CLASS_2_FELONY',
32
+ CLASS2MISDEMEANOR = <any> 'CLASS_2_MISDEMEANOR',
33
+ CLASS3FELONY = <any> 'CLASS_3_FELONY',
34
+ CLASS3MISDEMEANOR = <any> 'CLASS_3_MISDEMEANOR',
35
+ CLASS4FELONY = <any> 'CLASS_4_FELONY',
36
+ CLASS4MISDEMEANOR = <any> 'CLASS_4_MISDEMEANOR',
37
+ CLASS5FELONY = <any> 'CLASS_5_FELONY',
38
+ CLASS6FELONY = <any> 'CLASS_6_FELONY',
39
+ CLASSA1MISDEMEANOR = <any> 'CLASS_A1_MISDEMEANOR',
40
+ CLASSAFELONY = <any> 'CLASS_A_FELONY',
41
+ CLASSAINFRACTION = <any> 'CLASS_A_INFRACTION',
42
+ CLASSAMISDEMEANOR = <any> 'CLASS_A_MISDEMEANOR',
43
+ CLASSAVIOLATION = <any> 'CLASS_A_VIOLATION',
44
+ CLASSBFELONY = <any> 'CLASS_B_FELONY',
45
+ CLASSBINFRACTION = <any> 'CLASS_B_INFRACTION',
46
+ CLASSBMISDEMEANOR = <any> 'CLASS_B_MISDEMEANOR',
47
+ CLASSBVIOLATION = <any> 'CLASS_B_VIOLATION',
48
+ CLASSCFELONY = <any> 'CLASS_C_FELONY',
49
+ CLASSCINFRACTION = <any> 'CLASS_C_INFRACTION',
50
+ CLASSCMISDEMEANOR = <any> 'CLASS_C_MISDEMEANOR',
51
+ CLASSCVIOLATION = <any> 'CLASS_C_VIOLATION',
52
+ CLASSDFELONY = <any> 'CLASS_D_FELONY',
53
+ CLASSDMISDEMEANOR = <any> 'CLASS_D_MISDEMEANOR',
54
+ CLASSDVIOLATION = <any> 'CLASS_D_VIOLATION',
55
+ CLASSEFELONY = <any> 'CLASS_E_FELONY',
56
+ CLASSFFELONY = <any> 'CLASS_F_FELONY',
57
+ CLASSHFELONY = <any> 'CLASS_H_FELONY',
58
+ DISORDERLYPERSONSOFFENSE = <any> 'DISORDERLY_PERSONS_OFFENSE',
59
+ FELONY = <any> 'FELONY',
60
+ FELONY1STDEGREE = <any> 'FELONY_1ST_DEGREE',
61
+ FELONY2NDDEGREE = <any> 'FELONY_2ND_DEGREE',
62
+ FELONY3RDDEGREE = <any> 'FELONY_3RD_DEGREE',
63
+ FELONY4THDEGREE = <any> 'FELONY_4TH_DEGREE',
64
+ FELONY5THDEGREE = <any> 'FELONY_5TH_DEGREE',
65
+ GROSSMISDEMEANOR = <any> 'GROSS_MISDEMEANOR',
66
+ HIGHANDAGGRAVATEDMISDEMEANOR = <any> 'HIGH_AND_AGGRAVATED_MISDEMEANOR',
67
+ INFRACTION = <any> 'INFRACTION',
68
+ LEVEL4FELONY = <any> 'LEVEL_4_FELONY',
69
+ LEVEL5FELONY = <any> 'LEVEL_5_FELONY',
70
+ LEVEL6FELONY = <any> 'LEVEL_6_FELONY',
71
+ MINORMISDEMEANOR = <any> 'MINOR_MISDEMEANOR',
72
+ MISDEMEANOR = <any> 'MISDEMEANOR',
73
+ MISDEMEANOR1STDEGREE = <any> 'MISDEMEANOR_1ST_DEGREE',
74
+ MISDEMEANOR2NDDEGREE = <any> 'MISDEMEANOR_2ND_DEGREE',
75
+ MISDEMEANOR3RDDEGREE = <any> 'MISDEMEANOR_3RD_DEGREE',
76
+ MISDEMEANOR4THDEGREE = <any> 'MISDEMEANOR_4TH_DEGREE',
77
+ MISDEMEANORWITHREFUND = <any> 'MISDEMEANOR_WITH_REFUND',
78
+ NONMOVING = <any> 'NON_MOVING',
79
+ NONREPORTABLE = <any> 'NON_REPORTABLE',
80
+ PETTYMISDEMEANOR = <any> 'PETTY_MISDEMEANOR',
81
+ QUASICRIMINAL = <any> 'QUASI_CRIMINAL',
82
+ SUMMARYOFFENSE = <any> 'SUMMARY_OFFENSE',
83
+ SUMMARYOFFENSENOREFUND = <any> 'SUMMARY_OFFENSE_NO_REFUND',
84
+ WOBBLERTOFELONY = <any> 'WOBBLER_TO_FELONY',
85
+ WOBBLERTOMISDEMEANOR = <any> 'WOBBLER_TO_MISDEMEANOR'
86
+ }
87
+ }
@@ -11,17 +11,13 @@
11
11
  */
12
12
  import * as models from './models';
13
13
  export interface ViolationModel {
14
- "insuranceIncreasePercent"?: number;
15
- "isCriminal"?: boolean;
16
- "isMovingViolation"?: boolean;
17
- "isWobblerToCriminal"?: boolean;
18
- "penalties"?: Array<models.ViolationPenaltyModel>;
19
- "userFriendlyName"?: string;
20
- "userFriendlyShortForm"?: string;
14
+ "criminal"?: boolean;
15
+ "penalties"?: Array<models.MatchCaseViolationPenaltyModel>;
16
+ "trafficViolationDesc"?: string;
17
+ "trafficViolationTypeId"?: number;
21
18
  "violationClassification"?: ViolationModel.ViolationClassificationEnum;
22
19
  "violationCode"?: string;
23
- "violationDesc"?: string;
24
- "violationTypeId"?: number;
20
+ "wobblerToCriminal"?: boolean;
25
21
  }
26
22
  export declare namespace ViolationModel {
27
23
  enum ViolationClassificationEnum {