@otr-app/shared-backend-generated-client 2.5.124 → 2.5.125

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.
@@ -674,6 +674,7 @@ model/matchLawfirmCaseResponse.ts
674
674
  model/matchLegalServiceModel.ts
675
675
  model/matchLegalServicesRequest.ts
676
676
  model/matchLegalServicesResponse.ts
677
+ model/matchLegalServicesViolationModel.ts
677
678
  model/matchingFieldValue.ts
678
679
  model/mediaItemModel.ts
679
680
  model/mergeStatusReport.ts
@@ -9,9 +9,9 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { MatchLegalServicesViolationModel } from './matchLegalServicesViolationModel';
12
13
  import { CourtDomain } from './courtDomain';
13
14
  import { AddressDomain } from './addressDomain';
14
- import { ViolationModel } from './violationModel';
15
15
  import { PureDate } from './pureDate';
16
16
  import { Timestamp } from './timestamp';
17
17
 
@@ -36,7 +36,7 @@ export interface MatchCitationModel {
36
36
  ticketImageUrl?: string;
37
37
  ticketNumber?: string;
38
38
  violationCount?: number;
39
- violations?: Array<ViolationModel>;
39
+ violations?: Array<MatchLegalServicesViolationModel>;
40
40
  }
41
41
  export namespace MatchCitationModel {
42
42
  export type CdlStatusEnum = 'CDL_IN_COMMERCIAL_VEHICLE' | 'CDL_IN_PERSONAL_VEHICLE' | 'NO_CDL';
@@ -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
+ import { MatchCaseViolationPenaltyModel } from './matchCaseViolationPenaltyModel';
13
+
14
+
15
+ export interface MatchLegalServicesViolationModel {
16
+ isCriminal?: boolean;
17
+ isWobblerToCriminal?: boolean;
18
+ penalties?: Array<MatchCaseViolationPenaltyModel>;
19
+ trafficViolationDesc?: string;
20
+ trafficViolationTypeId?: number;
21
+ violationClassification?: MatchLegalServicesViolationModel.ViolationClassificationEnum;
22
+ violationCode?: string;
23
+ }
24
+ export namespace MatchLegalServicesViolationModel {
25
+ export type ViolationClassificationEnum = 'CLASS_1_FELONY' | 'CLASS_1_MISDEMEANOR' | 'CLASS_2_FELONY' | 'CLASS_2_MISDEMEANOR' | 'CLASS_3_FELONY' | 'CLASS_3_MISDEMEANOR' | 'CLASS_4_FELONY' | 'CLASS_4_MISDEMEANOR' | 'CLASS_5_FELONY' | 'CLASS_6_FELONY' | 'CLASS_A1_MISDEMEANOR' | 'CLASS_A_FELONY' | 'CLASS_A_INFRACTION' | 'CLASS_A_MISDEMEANOR' | 'CLASS_A_VIOLATION' | 'CLASS_B_FELONY' | 'CLASS_B_INFRACTION' | 'CLASS_B_MISDEMEANOR' | 'CLASS_B_VIOLATION' | 'CLASS_C_FELONY' | 'CLASS_C_INFRACTION' | 'CLASS_C_MISDEMEANOR' | 'CLASS_C_VIOLATION' | 'CLASS_D_FELONY' | 'CLASS_D_MISDEMEANOR' | 'CLASS_D_VIOLATION' | 'CLASS_E_FELONY' | 'CLASS_F_FELONY' | 'CLASS_H_FELONY' | 'DISORDERLY_PERSONS_OFFENSE' | 'FELONY' | 'FELONY_1ST_DEGREE' | 'FELONY_2ND_DEGREE' | 'FELONY_3RD_DEGREE' | 'FELONY_4TH_DEGREE' | 'FELONY_5TH_DEGREE' | 'GROSS_MISDEMEANOR' | 'HIGH_AND_AGGRAVATED_MISDEMEANOR' | 'INFRACTION' | 'LEVEL_4_FELONY' | 'LEVEL_5_FELONY' | 'LEVEL_6_FELONY' | 'MINOR_MISDEMEANOR' | 'MISDEMEANOR' | 'MISDEMEANOR_1ST_DEGREE' | 'MISDEMEANOR_2ND_DEGREE' | 'MISDEMEANOR_3RD_DEGREE' | 'MISDEMEANOR_4TH_DEGREE' | 'MISDEMEANOR_WITH_REFUND' | 'NON_MOVING' | 'NON_REPORTABLE' | 'PETTY_MISDEMEANOR' | 'QUASI_CRIMINAL' | 'SUMMARY_OFFENSE' | 'SUMMARY_OFFENSE_NO_REFUND' | 'WOBBLER_TO_FELONY' | 'WOBBLER_TO_MISDEMEANOR';
26
+ export const ViolationClassificationEnum = {
27
+ Class1Felony: 'CLASS_1_FELONY' as ViolationClassificationEnum,
28
+ Class1Misdemeanor: 'CLASS_1_MISDEMEANOR' as ViolationClassificationEnum,
29
+ Class2Felony: 'CLASS_2_FELONY' as ViolationClassificationEnum,
30
+ Class2Misdemeanor: 'CLASS_2_MISDEMEANOR' as ViolationClassificationEnum,
31
+ Class3Felony: 'CLASS_3_FELONY' as ViolationClassificationEnum,
32
+ Class3Misdemeanor: 'CLASS_3_MISDEMEANOR' as ViolationClassificationEnum,
33
+ Class4Felony: 'CLASS_4_FELONY' as ViolationClassificationEnum,
34
+ Class4Misdemeanor: 'CLASS_4_MISDEMEANOR' as ViolationClassificationEnum,
35
+ Class5Felony: 'CLASS_5_FELONY' as ViolationClassificationEnum,
36
+ Class6Felony: 'CLASS_6_FELONY' as ViolationClassificationEnum,
37
+ ClassA1Misdemeanor: 'CLASS_A1_MISDEMEANOR' as ViolationClassificationEnum,
38
+ ClassAFelony: 'CLASS_A_FELONY' as ViolationClassificationEnum,
39
+ ClassAInfraction: 'CLASS_A_INFRACTION' as ViolationClassificationEnum,
40
+ ClassAMisdemeanor: 'CLASS_A_MISDEMEANOR' as ViolationClassificationEnum,
41
+ ClassAViolation: 'CLASS_A_VIOLATION' as ViolationClassificationEnum,
42
+ ClassBFelony: 'CLASS_B_FELONY' as ViolationClassificationEnum,
43
+ ClassBInfraction: 'CLASS_B_INFRACTION' as ViolationClassificationEnum,
44
+ ClassBMisdemeanor: 'CLASS_B_MISDEMEANOR' as ViolationClassificationEnum,
45
+ ClassBViolation: 'CLASS_B_VIOLATION' as ViolationClassificationEnum,
46
+ ClassCFelony: 'CLASS_C_FELONY' as ViolationClassificationEnum,
47
+ ClassCInfraction: 'CLASS_C_INFRACTION' as ViolationClassificationEnum,
48
+ ClassCMisdemeanor: 'CLASS_C_MISDEMEANOR' as ViolationClassificationEnum,
49
+ ClassCViolation: 'CLASS_C_VIOLATION' as ViolationClassificationEnum,
50
+ ClassDFelony: 'CLASS_D_FELONY' as ViolationClassificationEnum,
51
+ ClassDMisdemeanor: 'CLASS_D_MISDEMEANOR' as ViolationClassificationEnum,
52
+ ClassDViolation: 'CLASS_D_VIOLATION' as ViolationClassificationEnum,
53
+ ClassEFelony: 'CLASS_E_FELONY' as ViolationClassificationEnum,
54
+ ClassFFelony: 'CLASS_F_FELONY' as ViolationClassificationEnum,
55
+ ClassHFelony: 'CLASS_H_FELONY' as ViolationClassificationEnum,
56
+ DisorderlyPersonsOffense: 'DISORDERLY_PERSONS_OFFENSE' as ViolationClassificationEnum,
57
+ Felony: 'FELONY' as ViolationClassificationEnum,
58
+ Felony1StDegree: 'FELONY_1ST_DEGREE' as ViolationClassificationEnum,
59
+ Felony2NdDegree: 'FELONY_2ND_DEGREE' as ViolationClassificationEnum,
60
+ Felony3RdDegree: 'FELONY_3RD_DEGREE' as ViolationClassificationEnum,
61
+ Felony4ThDegree: 'FELONY_4TH_DEGREE' as ViolationClassificationEnum,
62
+ Felony5ThDegree: 'FELONY_5TH_DEGREE' as ViolationClassificationEnum,
63
+ GrossMisdemeanor: 'GROSS_MISDEMEANOR' as ViolationClassificationEnum,
64
+ HighAndAggravatedMisdemeanor: 'HIGH_AND_AGGRAVATED_MISDEMEANOR' as ViolationClassificationEnum,
65
+ Infraction: 'INFRACTION' as ViolationClassificationEnum,
66
+ Level4Felony: 'LEVEL_4_FELONY' as ViolationClassificationEnum,
67
+ Level5Felony: 'LEVEL_5_FELONY' as ViolationClassificationEnum,
68
+ Level6Felony: 'LEVEL_6_FELONY' as ViolationClassificationEnum,
69
+ MinorMisdemeanor: 'MINOR_MISDEMEANOR' as ViolationClassificationEnum,
70
+ Misdemeanor: 'MISDEMEANOR' as ViolationClassificationEnum,
71
+ Misdemeanor1StDegree: 'MISDEMEANOR_1ST_DEGREE' as ViolationClassificationEnum,
72
+ Misdemeanor2NdDegree: 'MISDEMEANOR_2ND_DEGREE' as ViolationClassificationEnum,
73
+ Misdemeanor3RdDegree: 'MISDEMEANOR_3RD_DEGREE' as ViolationClassificationEnum,
74
+ Misdemeanor4ThDegree: 'MISDEMEANOR_4TH_DEGREE' as ViolationClassificationEnum,
75
+ MisdemeanorWithRefund: 'MISDEMEANOR_WITH_REFUND' as ViolationClassificationEnum,
76
+ NonMoving: 'NON_MOVING' as ViolationClassificationEnum,
77
+ NonReportable: 'NON_REPORTABLE' as ViolationClassificationEnum,
78
+ PettyMisdemeanor: 'PETTY_MISDEMEANOR' as ViolationClassificationEnum,
79
+ QuasiCriminal: 'QUASI_CRIMINAL' as ViolationClassificationEnum,
80
+ SummaryOffense: 'SUMMARY_OFFENSE' as ViolationClassificationEnum,
81
+ SummaryOffenseNoRefund: 'SUMMARY_OFFENSE_NO_REFUND' as ViolationClassificationEnum,
82
+ WobblerToFelony: 'WOBBLER_TO_FELONY' as ViolationClassificationEnum,
83
+ WobblerToMisdemeanor: 'WOBBLER_TO_MISDEMEANOR' as ViolationClassificationEnum
84
+ };
85
+ }
86
+
87
+
@@ -548,6 +548,7 @@ export * from './matchLawfirmCaseResponse';
548
548
  export * from './matchLegalServiceModel';
549
549
  export * from './matchLegalServicesRequest';
550
550
  export * from './matchLegalServicesResponse';
551
+ export * from './matchLegalServicesViolationModel';
551
552
  export * from './matchingFieldValue';
552
553
  export * from './mediaItemModel';
553
554
  export * from './mergeStatusReport';
@@ -9,15 +9,22 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { MatchCaseViolationPenaltyModel } from './matchCaseViolationPenaltyModel';
12
+ import { ViolationPenaltyModel } from './violationPenaltyModel';
13
13
 
14
14
 
15
15
  export interface ViolationModel {
16
+ classDescription?: string;
17
+ criminal?: boolean;
18
+ insuranceIncreasePercent?: number;
16
19
  isCriminal?: boolean;
20
+ isMovingViolation?: boolean;
17
21
  isWobblerToCriminal?: boolean;
18
- penalties?: Array<MatchCaseViolationPenaltyModel>;
22
+ penalties?: Array<ViolationPenaltyModel>;
19
23
  trafficViolationDesc?: string;
20
24
  trafficViolationTypeId?: number;
25
+ uniqueId?: string;
26
+ userFriendlyName?: string;
27
+ userFriendlyShortForm?: string;
21
28
  violationClassification?: ViolationModel.ViolationClassificationEnum;
22
29
  violationCode?: string;
23
30
  }
@@ -30,7 +30,7 @@ export interface MatchCitationModel {
30
30
  "ticketImageUrl"?: string;
31
31
  "ticketNumber"?: string;
32
32
  "violationCount"?: number;
33
- "violations"?: Array<models.ViolationModel>;
33
+ "violations"?: Array<models.MatchLegalServicesViolationModel>;
34
34
  }
35
35
  export declare namespace MatchCitationModel {
36
36
  enum CdlStatusEnum {
@@ -0,0 +1,82 @@
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 * as models from './models';
13
+ export interface MatchLegalServicesViolationModel {
14
+ "isCriminal"?: boolean;
15
+ "isWobblerToCriminal"?: boolean;
16
+ "penalties"?: Array<models.MatchCaseViolationPenaltyModel>;
17
+ "trafficViolationDesc"?: string;
18
+ "trafficViolationTypeId"?: number;
19
+ "violationClassification"?: MatchLegalServicesViolationModel.ViolationClassificationEnum;
20
+ "violationCode"?: string;
21
+ }
22
+ export declare namespace MatchLegalServicesViolationModel {
23
+ enum ViolationClassificationEnum {
24
+ CLASS1FELONY,
25
+ CLASS1MISDEMEANOR,
26
+ CLASS2FELONY,
27
+ CLASS2MISDEMEANOR,
28
+ CLASS3FELONY,
29
+ CLASS3MISDEMEANOR,
30
+ CLASS4FELONY,
31
+ CLASS4MISDEMEANOR,
32
+ CLASS5FELONY,
33
+ CLASS6FELONY,
34
+ CLASSA1MISDEMEANOR,
35
+ CLASSAFELONY,
36
+ CLASSAINFRACTION,
37
+ CLASSAMISDEMEANOR,
38
+ CLASSAVIOLATION,
39
+ CLASSBFELONY,
40
+ CLASSBINFRACTION,
41
+ CLASSBMISDEMEANOR,
42
+ CLASSBVIOLATION,
43
+ CLASSCFELONY,
44
+ CLASSCINFRACTION,
45
+ CLASSCMISDEMEANOR,
46
+ CLASSCVIOLATION,
47
+ CLASSDFELONY,
48
+ CLASSDMISDEMEANOR,
49
+ CLASSDVIOLATION,
50
+ CLASSEFELONY,
51
+ CLASSFFELONY,
52
+ CLASSHFELONY,
53
+ DISORDERLYPERSONSOFFENSE,
54
+ FELONY,
55
+ FELONY1STDEGREE,
56
+ FELONY2NDDEGREE,
57
+ FELONY3RDDEGREE,
58
+ FELONY4THDEGREE,
59
+ FELONY5THDEGREE,
60
+ GROSSMISDEMEANOR,
61
+ HIGHANDAGGRAVATEDMISDEMEANOR,
62
+ INFRACTION,
63
+ LEVEL4FELONY,
64
+ LEVEL5FELONY,
65
+ LEVEL6FELONY,
66
+ MINORMISDEMEANOR,
67
+ MISDEMEANOR,
68
+ MISDEMEANOR1STDEGREE,
69
+ MISDEMEANOR2NDDEGREE,
70
+ MISDEMEANOR3RDDEGREE,
71
+ MISDEMEANOR4THDEGREE,
72
+ MISDEMEANORWITHREFUND,
73
+ NONMOVING,
74
+ NONREPORTABLE,
75
+ PETTYMISDEMEANOR,
76
+ QUASICRIMINAL,
77
+ SUMMARYOFFENSE,
78
+ SUMMARYOFFENSENOREFUND,
79
+ WOBBLERTOFELONY,
80
+ WOBBLERTOMISDEMEANOR
81
+ }
82
+ }
@@ -0,0 +1,74 @@
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
+ export var MatchLegalServicesViolationModel;
13
+ (function (MatchLegalServicesViolationModel) {
14
+ let ViolationClassificationEnum;
15
+ (function (ViolationClassificationEnum) {
16
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASS1FELONY"] = 'CLASS_1_FELONY'] = "CLASS1FELONY";
17
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASS1MISDEMEANOR"] = 'CLASS_1_MISDEMEANOR'] = "CLASS1MISDEMEANOR";
18
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASS2FELONY"] = 'CLASS_2_FELONY'] = "CLASS2FELONY";
19
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASS2MISDEMEANOR"] = 'CLASS_2_MISDEMEANOR'] = "CLASS2MISDEMEANOR";
20
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASS3FELONY"] = 'CLASS_3_FELONY'] = "CLASS3FELONY";
21
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASS3MISDEMEANOR"] = 'CLASS_3_MISDEMEANOR'] = "CLASS3MISDEMEANOR";
22
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASS4FELONY"] = 'CLASS_4_FELONY'] = "CLASS4FELONY";
23
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASS4MISDEMEANOR"] = 'CLASS_4_MISDEMEANOR'] = "CLASS4MISDEMEANOR";
24
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASS5FELONY"] = 'CLASS_5_FELONY'] = "CLASS5FELONY";
25
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASS6FELONY"] = 'CLASS_6_FELONY'] = "CLASS6FELONY";
26
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSA1MISDEMEANOR"] = 'CLASS_A1_MISDEMEANOR'] = "CLASSA1MISDEMEANOR";
27
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSAFELONY"] = 'CLASS_A_FELONY'] = "CLASSAFELONY";
28
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSAINFRACTION"] = 'CLASS_A_INFRACTION'] = "CLASSAINFRACTION";
29
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSAMISDEMEANOR"] = 'CLASS_A_MISDEMEANOR'] = "CLASSAMISDEMEANOR";
30
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSAVIOLATION"] = 'CLASS_A_VIOLATION'] = "CLASSAVIOLATION";
31
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSBFELONY"] = 'CLASS_B_FELONY'] = "CLASSBFELONY";
32
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSBINFRACTION"] = 'CLASS_B_INFRACTION'] = "CLASSBINFRACTION";
33
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSBMISDEMEANOR"] = 'CLASS_B_MISDEMEANOR'] = "CLASSBMISDEMEANOR";
34
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSBVIOLATION"] = 'CLASS_B_VIOLATION'] = "CLASSBVIOLATION";
35
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSCFELONY"] = 'CLASS_C_FELONY'] = "CLASSCFELONY";
36
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSCINFRACTION"] = 'CLASS_C_INFRACTION'] = "CLASSCINFRACTION";
37
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSCMISDEMEANOR"] = 'CLASS_C_MISDEMEANOR'] = "CLASSCMISDEMEANOR";
38
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSCVIOLATION"] = 'CLASS_C_VIOLATION'] = "CLASSCVIOLATION";
39
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSDFELONY"] = 'CLASS_D_FELONY'] = "CLASSDFELONY";
40
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSDMISDEMEANOR"] = 'CLASS_D_MISDEMEANOR'] = "CLASSDMISDEMEANOR";
41
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSDVIOLATION"] = 'CLASS_D_VIOLATION'] = "CLASSDVIOLATION";
42
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSEFELONY"] = 'CLASS_E_FELONY'] = "CLASSEFELONY";
43
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSFFELONY"] = 'CLASS_F_FELONY'] = "CLASSFFELONY";
44
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSHFELONY"] = 'CLASS_H_FELONY'] = "CLASSHFELONY";
45
+ ViolationClassificationEnum[ViolationClassificationEnum["DISORDERLYPERSONSOFFENSE"] = 'DISORDERLY_PERSONS_OFFENSE'] = "DISORDERLYPERSONSOFFENSE";
46
+ ViolationClassificationEnum[ViolationClassificationEnum["FELONY"] = 'FELONY'] = "FELONY";
47
+ ViolationClassificationEnum[ViolationClassificationEnum["FELONY1STDEGREE"] = 'FELONY_1ST_DEGREE'] = "FELONY1STDEGREE";
48
+ ViolationClassificationEnum[ViolationClassificationEnum["FELONY2NDDEGREE"] = 'FELONY_2ND_DEGREE'] = "FELONY2NDDEGREE";
49
+ ViolationClassificationEnum[ViolationClassificationEnum["FELONY3RDDEGREE"] = 'FELONY_3RD_DEGREE'] = "FELONY3RDDEGREE";
50
+ ViolationClassificationEnum[ViolationClassificationEnum["FELONY4THDEGREE"] = 'FELONY_4TH_DEGREE'] = "FELONY4THDEGREE";
51
+ ViolationClassificationEnum[ViolationClassificationEnum["FELONY5THDEGREE"] = 'FELONY_5TH_DEGREE'] = "FELONY5THDEGREE";
52
+ ViolationClassificationEnum[ViolationClassificationEnum["GROSSMISDEMEANOR"] = 'GROSS_MISDEMEANOR'] = "GROSSMISDEMEANOR";
53
+ ViolationClassificationEnum[ViolationClassificationEnum["HIGHANDAGGRAVATEDMISDEMEANOR"] = 'HIGH_AND_AGGRAVATED_MISDEMEANOR'] = "HIGHANDAGGRAVATEDMISDEMEANOR";
54
+ ViolationClassificationEnum[ViolationClassificationEnum["INFRACTION"] = 'INFRACTION'] = "INFRACTION";
55
+ ViolationClassificationEnum[ViolationClassificationEnum["LEVEL4FELONY"] = 'LEVEL_4_FELONY'] = "LEVEL4FELONY";
56
+ ViolationClassificationEnum[ViolationClassificationEnum["LEVEL5FELONY"] = 'LEVEL_5_FELONY'] = "LEVEL5FELONY";
57
+ ViolationClassificationEnum[ViolationClassificationEnum["LEVEL6FELONY"] = 'LEVEL_6_FELONY'] = "LEVEL6FELONY";
58
+ ViolationClassificationEnum[ViolationClassificationEnum["MINORMISDEMEANOR"] = 'MINOR_MISDEMEANOR'] = "MINORMISDEMEANOR";
59
+ ViolationClassificationEnum[ViolationClassificationEnum["MISDEMEANOR"] = 'MISDEMEANOR'] = "MISDEMEANOR";
60
+ ViolationClassificationEnum[ViolationClassificationEnum["MISDEMEANOR1STDEGREE"] = 'MISDEMEANOR_1ST_DEGREE'] = "MISDEMEANOR1STDEGREE";
61
+ ViolationClassificationEnum[ViolationClassificationEnum["MISDEMEANOR2NDDEGREE"] = 'MISDEMEANOR_2ND_DEGREE'] = "MISDEMEANOR2NDDEGREE";
62
+ ViolationClassificationEnum[ViolationClassificationEnum["MISDEMEANOR3RDDEGREE"] = 'MISDEMEANOR_3RD_DEGREE'] = "MISDEMEANOR3RDDEGREE";
63
+ ViolationClassificationEnum[ViolationClassificationEnum["MISDEMEANOR4THDEGREE"] = 'MISDEMEANOR_4TH_DEGREE'] = "MISDEMEANOR4THDEGREE";
64
+ ViolationClassificationEnum[ViolationClassificationEnum["MISDEMEANORWITHREFUND"] = 'MISDEMEANOR_WITH_REFUND'] = "MISDEMEANORWITHREFUND";
65
+ ViolationClassificationEnum[ViolationClassificationEnum["NONMOVING"] = 'NON_MOVING'] = "NONMOVING";
66
+ ViolationClassificationEnum[ViolationClassificationEnum["NONREPORTABLE"] = 'NON_REPORTABLE'] = "NONREPORTABLE";
67
+ ViolationClassificationEnum[ViolationClassificationEnum["PETTYMISDEMEANOR"] = 'PETTY_MISDEMEANOR'] = "PETTYMISDEMEANOR";
68
+ ViolationClassificationEnum[ViolationClassificationEnum["QUASICRIMINAL"] = 'QUASI_CRIMINAL'] = "QUASICRIMINAL";
69
+ ViolationClassificationEnum[ViolationClassificationEnum["SUMMARYOFFENSE"] = 'SUMMARY_OFFENSE'] = "SUMMARYOFFENSE";
70
+ ViolationClassificationEnum[ViolationClassificationEnum["SUMMARYOFFENSENOREFUND"] = 'SUMMARY_OFFENSE_NO_REFUND'] = "SUMMARYOFFENSENOREFUND";
71
+ ViolationClassificationEnum[ViolationClassificationEnum["WOBBLERTOFELONY"] = 'WOBBLER_TO_FELONY'] = "WOBBLERTOFELONY";
72
+ ViolationClassificationEnum[ViolationClassificationEnum["WOBBLERTOMISDEMEANOR"] = 'WOBBLER_TO_MISDEMEANOR'] = "WOBBLERTOMISDEMEANOR";
73
+ })(ViolationClassificationEnum = MatchLegalServicesViolationModel.ViolationClassificationEnum || (MatchLegalServicesViolationModel.ViolationClassificationEnum = {}));
74
+ })(MatchLegalServicesViolationModel || (MatchLegalServicesViolationModel = {}));
@@ -11,11 +11,18 @@
11
11
  */
12
12
  import * as models from './models';
13
13
  export interface ViolationModel {
14
+ "classDescription"?: string;
15
+ "criminal"?: boolean;
16
+ "insuranceIncreasePercent"?: number;
14
17
  "isCriminal"?: boolean;
18
+ "isMovingViolation"?: boolean;
15
19
  "isWobblerToCriminal"?: boolean;
16
- "penalties"?: Array<models.MatchCaseViolationPenaltyModel>;
20
+ "penalties"?: Array<models.ViolationPenaltyModel>;
17
21
  "trafficViolationDesc"?: string;
18
22
  "trafficViolationTypeId"?: number;
23
+ "uniqueId"?: string;
24
+ "userFriendlyName"?: string;
25
+ "userFriendlyShortForm"?: string;
19
26
  "violationClassification"?: ViolationModel.ViolationClassificationEnum;
20
27
  "violationCode"?: string;
21
28
  }
@@ -548,6 +548,7 @@ export * from './MatchLawfirmCaseResponse';
548
548
  export * from './MatchLegalServiceModel';
549
549
  export * from './MatchLegalServicesRequest';
550
550
  export * from './MatchLegalServicesResponse';
551
+ export * from './MatchLegalServicesViolationModel';
551
552
  export * from './MatchingFieldValue';
552
553
  export * from './MediaItemModel';
553
554
  export * from './MergeStatusReport';
@@ -548,6 +548,7 @@ export * from './MatchLawfirmCaseResponse';
548
548
  export * from './MatchLegalServiceModel';
549
549
  export * from './MatchLegalServicesRequest';
550
550
  export * from './MatchLegalServicesResponse';
551
+ export * from './MatchLegalServicesViolationModel';
551
552
  export * from './MatchingFieldValue';
552
553
  export * from './MediaItemModel';
553
554
  export * from './MergeStatusReport';
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { AddressDomain, CourtDomain, PureDate, Timestamp, ViolationModel } from './';
12
+ import { AddressDomain, CourtDomain, MatchLegalServicesViolationModel, PureDate, Timestamp } from './';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -132,10 +132,10 @@ export interface MatchCitationModel {
132
132
  violationCount?: number;
133
133
  /**
134
134
  *
135
- * @type {Array<ViolationModel>}
135
+ * @type {Array<MatchLegalServicesViolationModel>}
136
136
  * @memberof MatchCitationModel
137
137
  */
138
- violations?: Array<ViolationModel>;
138
+ violations?: Array<MatchLegalServicesViolationModel>;
139
139
  }
140
140
  export declare function MatchCitationModelFromJSON(json: any): MatchCitationModel;
141
141
  export declare function MatchCitationModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): MatchCitationModel;
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { exists } from '../runtime';
15
- import { AddressDomainFromJSON, AddressDomainToJSON, CourtDomainFromJSON, CourtDomainToJSON, PureDateFromJSON, PureDateToJSON, TimestampFromJSON, TimestampToJSON, ViolationModelFromJSON, ViolationModelToJSON, } from './';
15
+ import { AddressDomainFromJSON, AddressDomainToJSON, CourtDomainFromJSON, CourtDomainToJSON, MatchLegalServicesViolationModelFromJSON, MatchLegalServicesViolationModelToJSON, PureDateFromJSON, PureDateToJSON, TimestampFromJSON, TimestampToJSON, } from './';
16
16
  export function MatchCitationModelFromJSON(json) {
17
17
  return MatchCitationModelFromJSONTyped(json, false);
18
18
  }
@@ -40,7 +40,7 @@ export function MatchCitationModelFromJSONTyped(json, ignoreDiscriminator) {
40
40
  'ticketImageUrl': !exists(json, 'ticketImageUrl') ? undefined : json['ticketImageUrl'],
41
41
  'ticketNumber': !exists(json, 'ticketNumber') ? undefined : json['ticketNumber'],
42
42
  'violationCount': !exists(json, 'violationCount') ? undefined : json['violationCount'],
43
- 'violations': !exists(json, 'violations') ? undefined : (json['violations'].map(ViolationModelFromJSON)),
43
+ 'violations': !exists(json, 'violations') ? undefined : (json['violations'].map(MatchLegalServicesViolationModelFromJSON)),
44
44
  };
45
45
  }
46
46
  export function MatchCitationModelToJSON(value) {
@@ -70,7 +70,7 @@ export function MatchCitationModelToJSON(value) {
70
70
  'ticketImageUrl': value.ticketImageUrl,
71
71
  'ticketNumber': value.ticketNumber,
72
72
  'violationCount': value.violationCount,
73
- 'violations': value.violations === undefined ? undefined : (value.violations.map(ViolationModelToJSON)),
73
+ 'violations': value.violations === undefined ? undefined : (value.violations.map(MatchLegalServicesViolationModelToJSON)),
74
74
  };
75
75
  }
76
76
  /**
@@ -0,0 +1,127 @@
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 { MatchCaseViolationPenaltyModel } from './';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface MatchLegalServicesViolationModel
17
+ */
18
+ export interface MatchLegalServicesViolationModel {
19
+ /**
20
+ *
21
+ * @type {boolean}
22
+ * @memberof MatchLegalServicesViolationModel
23
+ */
24
+ isCriminal?: boolean;
25
+ /**
26
+ *
27
+ * @type {boolean}
28
+ * @memberof MatchLegalServicesViolationModel
29
+ */
30
+ isWobblerToCriminal?: boolean;
31
+ /**
32
+ *
33
+ * @type {Array<MatchCaseViolationPenaltyModel>}
34
+ * @memberof MatchLegalServicesViolationModel
35
+ */
36
+ penalties?: Array<MatchCaseViolationPenaltyModel>;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof MatchLegalServicesViolationModel
41
+ */
42
+ trafficViolationDesc?: string;
43
+ /**
44
+ *
45
+ * @type {number}
46
+ * @memberof MatchLegalServicesViolationModel
47
+ */
48
+ trafficViolationTypeId?: number;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof MatchLegalServicesViolationModel
53
+ */
54
+ violationClassification?: MatchLegalServicesViolationModelViolationClassificationEnum;
55
+ /**
56
+ *
57
+ * @type {string}
58
+ * @memberof MatchLegalServicesViolationModel
59
+ */
60
+ violationCode?: string;
61
+ }
62
+ export declare function MatchLegalServicesViolationModelFromJSON(json: any): MatchLegalServicesViolationModel;
63
+ export declare function MatchLegalServicesViolationModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): MatchLegalServicesViolationModel;
64
+ export declare function MatchLegalServicesViolationModelToJSON(value?: MatchLegalServicesViolationModel | null): any;
65
+ /**
66
+ * @export
67
+ * @enum {string}
68
+ */
69
+ export declare enum MatchLegalServicesViolationModelViolationClassificationEnum {
70
+ CLASS1FELONY = "CLASS_1_FELONY",
71
+ CLASS1MISDEMEANOR = "CLASS_1_MISDEMEANOR",
72
+ CLASS2FELONY = "CLASS_2_FELONY",
73
+ CLASS2MISDEMEANOR = "CLASS_2_MISDEMEANOR",
74
+ CLASS3FELONY = "CLASS_3_FELONY",
75
+ CLASS3MISDEMEANOR = "CLASS_3_MISDEMEANOR",
76
+ CLASS4FELONY = "CLASS_4_FELONY",
77
+ CLASS4MISDEMEANOR = "CLASS_4_MISDEMEANOR",
78
+ CLASS5FELONY = "CLASS_5_FELONY",
79
+ CLASS6FELONY = "CLASS_6_FELONY",
80
+ CLASSA1MISDEMEANOR = "CLASS_A1_MISDEMEANOR",
81
+ CLASSAFELONY = "CLASS_A_FELONY",
82
+ CLASSAINFRACTION = "CLASS_A_INFRACTION",
83
+ CLASSAMISDEMEANOR = "CLASS_A_MISDEMEANOR",
84
+ CLASSAVIOLATION = "CLASS_A_VIOLATION",
85
+ CLASSBFELONY = "CLASS_B_FELONY",
86
+ CLASSBINFRACTION = "CLASS_B_INFRACTION",
87
+ CLASSBMISDEMEANOR = "CLASS_B_MISDEMEANOR",
88
+ CLASSBVIOLATION = "CLASS_B_VIOLATION",
89
+ CLASSCFELONY = "CLASS_C_FELONY",
90
+ CLASSCINFRACTION = "CLASS_C_INFRACTION",
91
+ CLASSCMISDEMEANOR = "CLASS_C_MISDEMEANOR",
92
+ CLASSCVIOLATION = "CLASS_C_VIOLATION",
93
+ CLASSDFELONY = "CLASS_D_FELONY",
94
+ CLASSDMISDEMEANOR = "CLASS_D_MISDEMEANOR",
95
+ CLASSDVIOLATION = "CLASS_D_VIOLATION",
96
+ CLASSEFELONY = "CLASS_E_FELONY",
97
+ CLASSFFELONY = "CLASS_F_FELONY",
98
+ CLASSHFELONY = "CLASS_H_FELONY",
99
+ DISORDERLYPERSONSOFFENSE = "DISORDERLY_PERSONS_OFFENSE",
100
+ FELONY = "FELONY",
101
+ FELONY1STDEGREE = "FELONY_1ST_DEGREE",
102
+ FELONY2NDDEGREE = "FELONY_2ND_DEGREE",
103
+ FELONY3RDDEGREE = "FELONY_3RD_DEGREE",
104
+ FELONY4THDEGREE = "FELONY_4TH_DEGREE",
105
+ FELONY5THDEGREE = "FELONY_5TH_DEGREE",
106
+ GROSSMISDEMEANOR = "GROSS_MISDEMEANOR",
107
+ HIGHANDAGGRAVATEDMISDEMEANOR = "HIGH_AND_AGGRAVATED_MISDEMEANOR",
108
+ INFRACTION = "INFRACTION",
109
+ LEVEL4FELONY = "LEVEL_4_FELONY",
110
+ LEVEL5FELONY = "LEVEL_5_FELONY",
111
+ LEVEL6FELONY = "LEVEL_6_FELONY",
112
+ MINORMISDEMEANOR = "MINOR_MISDEMEANOR",
113
+ MISDEMEANOR = "MISDEMEANOR",
114
+ MISDEMEANOR1STDEGREE = "MISDEMEANOR_1ST_DEGREE",
115
+ MISDEMEANOR2NDDEGREE = "MISDEMEANOR_2ND_DEGREE",
116
+ MISDEMEANOR3RDDEGREE = "MISDEMEANOR_3RD_DEGREE",
117
+ MISDEMEANOR4THDEGREE = "MISDEMEANOR_4TH_DEGREE",
118
+ MISDEMEANORWITHREFUND = "MISDEMEANOR_WITH_REFUND",
119
+ NONMOVING = "NON_MOVING",
120
+ NONREPORTABLE = "NON_REPORTABLE",
121
+ PETTYMISDEMEANOR = "PETTY_MISDEMEANOR",
122
+ QUASICRIMINAL = "QUASI_CRIMINAL",
123
+ SUMMARYOFFENSE = "SUMMARY_OFFENSE",
124
+ SUMMARYOFFENSENOREFUND = "SUMMARY_OFFENSE_NO_REFUND",
125
+ WOBBLERTOFELONY = "WOBBLER_TO_FELONY",
126
+ WOBBLERTOMISDEMEANOR = "WOBBLER_TO_MISDEMEANOR"
127
+ }
@@ -0,0 +1,113 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OffTheRecord Rest Service API - Devo
5
+ * A service to handle your traffic tickets
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { exists } from '../runtime';
15
+ import { MatchCaseViolationPenaltyModelFromJSON, MatchCaseViolationPenaltyModelToJSON, } from './';
16
+ export function MatchLegalServicesViolationModelFromJSON(json) {
17
+ return MatchLegalServicesViolationModelFromJSONTyped(json, false);
18
+ }
19
+ export function MatchLegalServicesViolationModelFromJSONTyped(json, ignoreDiscriminator) {
20
+ if ((json === undefined) || (json === null)) {
21
+ return json;
22
+ }
23
+ return {
24
+ 'isCriminal': !exists(json, 'isCriminal') ? undefined : json['isCriminal'],
25
+ 'isWobblerToCriminal': !exists(json, 'isWobblerToCriminal') ? undefined : json['isWobblerToCriminal'],
26
+ 'penalties': !exists(json, 'penalties') ? undefined : (json['penalties'].map(MatchCaseViolationPenaltyModelFromJSON)),
27
+ 'trafficViolationDesc': !exists(json, 'trafficViolationDesc') ? undefined : json['trafficViolationDesc'],
28
+ 'trafficViolationTypeId': !exists(json, 'trafficViolationTypeId') ? undefined : json['trafficViolationTypeId'],
29
+ 'violationClassification': !exists(json, 'violationClassification') ? undefined : json['violationClassification'],
30
+ 'violationCode': !exists(json, 'violationCode') ? undefined : json['violationCode'],
31
+ };
32
+ }
33
+ export function MatchLegalServicesViolationModelToJSON(value) {
34
+ if (value === undefined) {
35
+ return undefined;
36
+ }
37
+ if (value === null) {
38
+ return null;
39
+ }
40
+ return {
41
+ 'isCriminal': value.isCriminal,
42
+ 'isWobblerToCriminal': value.isWobblerToCriminal,
43
+ 'penalties': value.penalties === undefined ? undefined : (value.penalties.map(MatchCaseViolationPenaltyModelToJSON)),
44
+ 'trafficViolationDesc': value.trafficViolationDesc,
45
+ 'trafficViolationTypeId': value.trafficViolationTypeId,
46
+ 'violationClassification': value.violationClassification,
47
+ 'violationCode': value.violationCode,
48
+ };
49
+ }
50
+ /**
51
+ * @export
52
+ * @enum {string}
53
+ */
54
+ export var MatchLegalServicesViolationModelViolationClassificationEnum;
55
+ (function (MatchLegalServicesViolationModelViolationClassificationEnum) {
56
+ MatchLegalServicesViolationModelViolationClassificationEnum["CLASS1FELONY"] = "CLASS_1_FELONY";
57
+ MatchLegalServicesViolationModelViolationClassificationEnum["CLASS1MISDEMEANOR"] = "CLASS_1_MISDEMEANOR";
58
+ MatchLegalServicesViolationModelViolationClassificationEnum["CLASS2FELONY"] = "CLASS_2_FELONY";
59
+ MatchLegalServicesViolationModelViolationClassificationEnum["CLASS2MISDEMEANOR"] = "CLASS_2_MISDEMEANOR";
60
+ MatchLegalServicesViolationModelViolationClassificationEnum["CLASS3FELONY"] = "CLASS_3_FELONY";
61
+ MatchLegalServicesViolationModelViolationClassificationEnum["CLASS3MISDEMEANOR"] = "CLASS_3_MISDEMEANOR";
62
+ MatchLegalServicesViolationModelViolationClassificationEnum["CLASS4FELONY"] = "CLASS_4_FELONY";
63
+ MatchLegalServicesViolationModelViolationClassificationEnum["CLASS4MISDEMEANOR"] = "CLASS_4_MISDEMEANOR";
64
+ MatchLegalServicesViolationModelViolationClassificationEnum["CLASS5FELONY"] = "CLASS_5_FELONY";
65
+ MatchLegalServicesViolationModelViolationClassificationEnum["CLASS6FELONY"] = "CLASS_6_FELONY";
66
+ MatchLegalServicesViolationModelViolationClassificationEnum["CLASSA1MISDEMEANOR"] = "CLASS_A1_MISDEMEANOR";
67
+ MatchLegalServicesViolationModelViolationClassificationEnum["CLASSAFELONY"] = "CLASS_A_FELONY";
68
+ MatchLegalServicesViolationModelViolationClassificationEnum["CLASSAINFRACTION"] = "CLASS_A_INFRACTION";
69
+ MatchLegalServicesViolationModelViolationClassificationEnum["CLASSAMISDEMEANOR"] = "CLASS_A_MISDEMEANOR";
70
+ MatchLegalServicesViolationModelViolationClassificationEnum["CLASSAVIOLATION"] = "CLASS_A_VIOLATION";
71
+ MatchLegalServicesViolationModelViolationClassificationEnum["CLASSBFELONY"] = "CLASS_B_FELONY";
72
+ MatchLegalServicesViolationModelViolationClassificationEnum["CLASSBINFRACTION"] = "CLASS_B_INFRACTION";
73
+ MatchLegalServicesViolationModelViolationClassificationEnum["CLASSBMISDEMEANOR"] = "CLASS_B_MISDEMEANOR";
74
+ MatchLegalServicesViolationModelViolationClassificationEnum["CLASSBVIOLATION"] = "CLASS_B_VIOLATION";
75
+ MatchLegalServicesViolationModelViolationClassificationEnum["CLASSCFELONY"] = "CLASS_C_FELONY";
76
+ MatchLegalServicesViolationModelViolationClassificationEnum["CLASSCINFRACTION"] = "CLASS_C_INFRACTION";
77
+ MatchLegalServicesViolationModelViolationClassificationEnum["CLASSCMISDEMEANOR"] = "CLASS_C_MISDEMEANOR";
78
+ MatchLegalServicesViolationModelViolationClassificationEnum["CLASSCVIOLATION"] = "CLASS_C_VIOLATION";
79
+ MatchLegalServicesViolationModelViolationClassificationEnum["CLASSDFELONY"] = "CLASS_D_FELONY";
80
+ MatchLegalServicesViolationModelViolationClassificationEnum["CLASSDMISDEMEANOR"] = "CLASS_D_MISDEMEANOR";
81
+ MatchLegalServicesViolationModelViolationClassificationEnum["CLASSDVIOLATION"] = "CLASS_D_VIOLATION";
82
+ MatchLegalServicesViolationModelViolationClassificationEnum["CLASSEFELONY"] = "CLASS_E_FELONY";
83
+ MatchLegalServicesViolationModelViolationClassificationEnum["CLASSFFELONY"] = "CLASS_F_FELONY";
84
+ MatchLegalServicesViolationModelViolationClassificationEnum["CLASSHFELONY"] = "CLASS_H_FELONY";
85
+ MatchLegalServicesViolationModelViolationClassificationEnum["DISORDERLYPERSONSOFFENSE"] = "DISORDERLY_PERSONS_OFFENSE";
86
+ MatchLegalServicesViolationModelViolationClassificationEnum["FELONY"] = "FELONY";
87
+ MatchLegalServicesViolationModelViolationClassificationEnum["FELONY1STDEGREE"] = "FELONY_1ST_DEGREE";
88
+ MatchLegalServicesViolationModelViolationClassificationEnum["FELONY2NDDEGREE"] = "FELONY_2ND_DEGREE";
89
+ MatchLegalServicesViolationModelViolationClassificationEnum["FELONY3RDDEGREE"] = "FELONY_3RD_DEGREE";
90
+ MatchLegalServicesViolationModelViolationClassificationEnum["FELONY4THDEGREE"] = "FELONY_4TH_DEGREE";
91
+ MatchLegalServicesViolationModelViolationClassificationEnum["FELONY5THDEGREE"] = "FELONY_5TH_DEGREE";
92
+ MatchLegalServicesViolationModelViolationClassificationEnum["GROSSMISDEMEANOR"] = "GROSS_MISDEMEANOR";
93
+ MatchLegalServicesViolationModelViolationClassificationEnum["HIGHANDAGGRAVATEDMISDEMEANOR"] = "HIGH_AND_AGGRAVATED_MISDEMEANOR";
94
+ MatchLegalServicesViolationModelViolationClassificationEnum["INFRACTION"] = "INFRACTION";
95
+ MatchLegalServicesViolationModelViolationClassificationEnum["LEVEL4FELONY"] = "LEVEL_4_FELONY";
96
+ MatchLegalServicesViolationModelViolationClassificationEnum["LEVEL5FELONY"] = "LEVEL_5_FELONY";
97
+ MatchLegalServicesViolationModelViolationClassificationEnum["LEVEL6FELONY"] = "LEVEL_6_FELONY";
98
+ MatchLegalServicesViolationModelViolationClassificationEnum["MINORMISDEMEANOR"] = "MINOR_MISDEMEANOR";
99
+ MatchLegalServicesViolationModelViolationClassificationEnum["MISDEMEANOR"] = "MISDEMEANOR";
100
+ MatchLegalServicesViolationModelViolationClassificationEnum["MISDEMEANOR1STDEGREE"] = "MISDEMEANOR_1ST_DEGREE";
101
+ MatchLegalServicesViolationModelViolationClassificationEnum["MISDEMEANOR2NDDEGREE"] = "MISDEMEANOR_2ND_DEGREE";
102
+ MatchLegalServicesViolationModelViolationClassificationEnum["MISDEMEANOR3RDDEGREE"] = "MISDEMEANOR_3RD_DEGREE";
103
+ MatchLegalServicesViolationModelViolationClassificationEnum["MISDEMEANOR4THDEGREE"] = "MISDEMEANOR_4TH_DEGREE";
104
+ MatchLegalServicesViolationModelViolationClassificationEnum["MISDEMEANORWITHREFUND"] = "MISDEMEANOR_WITH_REFUND";
105
+ MatchLegalServicesViolationModelViolationClassificationEnum["NONMOVING"] = "NON_MOVING";
106
+ MatchLegalServicesViolationModelViolationClassificationEnum["NONREPORTABLE"] = "NON_REPORTABLE";
107
+ MatchLegalServicesViolationModelViolationClassificationEnum["PETTYMISDEMEANOR"] = "PETTY_MISDEMEANOR";
108
+ MatchLegalServicesViolationModelViolationClassificationEnum["QUASICRIMINAL"] = "QUASI_CRIMINAL";
109
+ MatchLegalServicesViolationModelViolationClassificationEnum["SUMMARYOFFENSE"] = "SUMMARY_OFFENSE";
110
+ MatchLegalServicesViolationModelViolationClassificationEnum["SUMMARYOFFENSENOREFUND"] = "SUMMARY_OFFENSE_NO_REFUND";
111
+ MatchLegalServicesViolationModelViolationClassificationEnum["WOBBLERTOFELONY"] = "WOBBLER_TO_FELONY";
112
+ MatchLegalServicesViolationModelViolationClassificationEnum["WOBBLERTOMISDEMEANOR"] = "WOBBLER_TO_MISDEMEANOR";
113
+ })(MatchLegalServicesViolationModelViolationClassificationEnum || (MatchLegalServicesViolationModelViolationClassificationEnum = {}));
@@ -9,19 +9,43 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { MatchCaseViolationPenaltyModel } from './';
12
+ import { ViolationPenaltyModel } from './';
13
13
  /**
14
14
  *
15
15
  * @export
16
16
  * @interface ViolationModel
17
17
  */
18
18
  export interface ViolationModel {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof ViolationModel
23
+ */
24
+ classDescription?: string;
25
+ /**
26
+ *
27
+ * @type {boolean}
28
+ * @memberof ViolationModel
29
+ */
30
+ criminal?: boolean;
31
+ /**
32
+ *
33
+ * @type {number}
34
+ * @memberof ViolationModel
35
+ */
36
+ insuranceIncreasePercent?: number;
19
37
  /**
20
38
  *
21
39
  * @type {boolean}
22
40
  * @memberof ViolationModel
23
41
  */
24
42
  isCriminal?: boolean;
43
+ /**
44
+ *
45
+ * @type {boolean}
46
+ * @memberof ViolationModel
47
+ */
48
+ isMovingViolation?: boolean;
25
49
  /**
26
50
  *
27
51
  * @type {boolean}
@@ -30,10 +54,10 @@ export interface ViolationModel {
30
54
  isWobblerToCriminal?: boolean;
31
55
  /**
32
56
  *
33
- * @type {Array<MatchCaseViolationPenaltyModel>}
57
+ * @type {Array<ViolationPenaltyModel>}
34
58
  * @memberof ViolationModel
35
59
  */
36
- penalties?: Array<MatchCaseViolationPenaltyModel>;
60
+ penalties?: Array<ViolationPenaltyModel>;
37
61
  /**
38
62
  *
39
63
  * @type {string}
@@ -46,6 +70,24 @@ export interface ViolationModel {
46
70
  * @memberof ViolationModel
47
71
  */
48
72
  trafficViolationTypeId?: number;
73
+ /**
74
+ *
75
+ * @type {string}
76
+ * @memberof ViolationModel
77
+ */
78
+ uniqueId?: string;
79
+ /**
80
+ *
81
+ * @type {string}
82
+ * @memberof ViolationModel
83
+ */
84
+ userFriendlyName?: string;
85
+ /**
86
+ *
87
+ * @type {string}
88
+ * @memberof ViolationModel
89
+ */
90
+ userFriendlyShortForm?: string;
49
91
  /**
50
92
  *
51
93
  * @type {string}
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { exists } from '../runtime';
15
- import { MatchCaseViolationPenaltyModelFromJSON, MatchCaseViolationPenaltyModelToJSON, } from './';
15
+ import { ViolationPenaltyModelFromJSON, ViolationPenaltyModelToJSON, } from './';
16
16
  export function ViolationModelFromJSON(json) {
17
17
  return ViolationModelFromJSONTyped(json, false);
18
18
  }
@@ -21,11 +21,18 @@ export function ViolationModelFromJSONTyped(json, ignoreDiscriminator) {
21
21
  return json;
22
22
  }
23
23
  return {
24
+ 'classDescription': !exists(json, 'classDescription') ? undefined : json['classDescription'],
25
+ 'criminal': !exists(json, 'criminal') ? undefined : json['criminal'],
26
+ 'insuranceIncreasePercent': !exists(json, 'insuranceIncreasePercent') ? undefined : json['insuranceIncreasePercent'],
24
27
  'isCriminal': !exists(json, 'isCriminal') ? undefined : json['isCriminal'],
28
+ 'isMovingViolation': !exists(json, 'isMovingViolation') ? undefined : json['isMovingViolation'],
25
29
  'isWobblerToCriminal': !exists(json, 'isWobblerToCriminal') ? undefined : json['isWobblerToCriminal'],
26
- 'penalties': !exists(json, 'penalties') ? undefined : (json['penalties'].map(MatchCaseViolationPenaltyModelFromJSON)),
30
+ 'penalties': !exists(json, 'penalties') ? undefined : (json['penalties'].map(ViolationPenaltyModelFromJSON)),
27
31
  'trafficViolationDesc': !exists(json, 'trafficViolationDesc') ? undefined : json['trafficViolationDesc'],
28
32
  'trafficViolationTypeId': !exists(json, 'trafficViolationTypeId') ? undefined : json['trafficViolationTypeId'],
33
+ 'uniqueId': !exists(json, 'uniqueId') ? undefined : json['uniqueId'],
34
+ 'userFriendlyName': !exists(json, 'userFriendlyName') ? undefined : json['userFriendlyName'],
35
+ 'userFriendlyShortForm': !exists(json, 'userFriendlyShortForm') ? undefined : json['userFriendlyShortForm'],
29
36
  'violationClassification': !exists(json, 'violationClassification') ? undefined : json['violationClassification'],
30
37
  'violationCode': !exists(json, 'violationCode') ? undefined : json['violationCode'],
31
38
  };
@@ -38,11 +45,18 @@ export function ViolationModelToJSON(value) {
38
45
  return null;
39
46
  }
40
47
  return {
48
+ 'classDescription': value.classDescription,
49
+ 'criminal': value.criminal,
50
+ 'insuranceIncreasePercent': value.insuranceIncreasePercent,
41
51
  'isCriminal': value.isCriminal,
52
+ 'isMovingViolation': value.isMovingViolation,
42
53
  'isWobblerToCriminal': value.isWobblerToCriminal,
43
- 'penalties': value.penalties === undefined ? undefined : (value.penalties.map(MatchCaseViolationPenaltyModelToJSON)),
54
+ 'penalties': value.penalties === undefined ? undefined : (value.penalties.map(ViolationPenaltyModelToJSON)),
44
55
  'trafficViolationDesc': value.trafficViolationDesc,
45
56
  'trafficViolationTypeId': value.trafficViolationTypeId,
57
+ 'uniqueId': value.uniqueId,
58
+ 'userFriendlyName': value.userFriendlyName,
59
+ 'userFriendlyShortForm': value.userFriendlyShortForm,
46
60
  'violationClassification': value.violationClassification,
47
61
  'violationCode': value.violationCode,
48
62
  };
@@ -548,6 +548,7 @@ export * from './MatchLawfirmCaseResponse';
548
548
  export * from './MatchLegalServiceModel';
549
549
  export * from './MatchLegalServicesRequest';
550
550
  export * from './MatchLegalServicesResponse';
551
+ export * from './MatchLegalServicesViolationModel';
551
552
  export * from './MatchingFieldValue';
552
553
  export * from './MediaItemModel';
553
554
  export * from './MergeStatusReport';
@@ -548,6 +548,7 @@ export * from './MatchLawfirmCaseResponse';
548
548
  export * from './MatchLegalServiceModel';
549
549
  export * from './MatchLegalServicesRequest';
550
550
  export * from './MatchLegalServicesResponse';
551
+ export * from './MatchLegalServicesViolationModel';
551
552
  export * from './MatchingFieldValue';
552
553
  export * from './MediaItemModel';
553
554
  export * from './MergeStatusReport';
@@ -13308,7 +13308,7 @@ export interface components {
13308
13308
  ticketNumber?: string;
13309
13309
  /** Format: int32 */
13310
13310
  violationCount?: number;
13311
- violations?: components["schemas"]["ViolationModel"][];
13311
+ violations?: components["schemas"]["MatchLegalServicesViolationModel"][];
13312
13312
  };
13313
13313
  /** MatchCitationResponse */
13314
13314
  MatchCitationResponse: {
@@ -13426,6 +13426,18 @@ export interface components {
13426
13426
  projectedInsuranceCostInCents?: number;
13427
13427
  theCase?: components["schemas"]["MatchInnerCaseModel"];
13428
13428
  };
13429
+ /** MatchLegalServicesViolationModel */
13430
+ MatchLegalServicesViolationModel: {
13431
+ isCriminal?: boolean;
13432
+ isWobblerToCriminal?: boolean;
13433
+ penalties?: components["schemas"]["MatchCaseViolationPenaltyModel"][];
13434
+ trafficViolationDesc?: string;
13435
+ /** Format: int64 */
13436
+ trafficViolationTypeId?: number;
13437
+ /** @enum {string} */
13438
+ violationClassification?: PathsApiV1LawfirmsLawfirmIdAccountFeesDeleteParametersQueryClassification;
13439
+ violationCode?: string;
13440
+ };
13429
13441
  /** MatchingFieldValue */
13430
13442
  MatchingFieldValue: {
13431
13443
  /** @enum {string} */
@@ -16570,12 +16582,20 @@ export interface components {
16570
16582
  };
16571
16583
  /** ViolationModel */
16572
16584
  ViolationModel: {
16585
+ classDescription?: string;
16586
+ criminal?: boolean;
16587
+ /** Format: double */
16588
+ insuranceIncreasePercent?: number;
16573
16589
  isCriminal?: boolean;
16590
+ isMovingViolation?: boolean;
16574
16591
  isWobblerToCriminal?: boolean;
16575
- penalties?: components["schemas"]["MatchCaseViolationPenaltyModel"][];
16592
+ penalties?: components["schemas"]["ViolationPenaltyModel"][];
16576
16593
  trafficViolationDesc?: string;
16577
16594
  /** Format: int64 */
16578
16595
  trafficViolationTypeId?: number;
16596
+ uniqueId?: string;
16597
+ userFriendlyName?: string;
16598
+ userFriendlyShortForm?: string;
16579
16599
  /** @enum {string} */
16580
16600
  violationClassification?: PathsApiV1LawfirmsLawfirmIdAccountFeesDeleteParametersQueryClassification;
16581
16601
  violationCode?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.5.124",
3
+ "version": "2.5.125",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"