@otr-app/shared-backend-generated-client 2.5.117 → 2.5.118
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/angular/.openapi-generator/FILES +1 -3
- package/dist/angular/model/dashboardCaseModel.ts +2 -2
- package/dist/angular/model/getTrafficViolationModel.ts +5 -2
- package/dist/angular/model/listDashboardCasesViolationModel.ts +85 -0
- package/dist/angular/model/models.ts +1 -3
- package/dist/angular/model/violationModel.ts +1 -0
- package/dist/angular/model/violationPenaltyModel.ts +1 -0
- package/dist/angular/model/workflowCaseModel.ts +2 -2
- package/dist/angular/model/workflowViolationModel.ts +4 -2
- package/dist/typescript/model/DashboardCaseModel.d.ts +1 -1
- package/dist/typescript/model/GetTrafficViolationModel.d.ts +4 -1
- package/dist/typescript/model/ListDashboardCasesViolationModel.d.ts +80 -0
- package/dist/typescript/model/ListDashboardCasesViolationModel.js +74 -0
- package/dist/typescript/model/ViolationModel.d.ts +1 -0
- package/dist/typescript/model/ViolationPenaltyModel.d.ts +1 -0
- package/dist/typescript/model/WorkflowCaseModel.d.ts +1 -1
- package/dist/typescript/model/WorkflowViolationModel.d.ts +3 -1
- package/dist/typescript/model/models.d.ts +1 -3
- package/dist/typescript/model/models.js +1 -3
- package/dist/typescript-fetch/models/DashboardCaseModel.d.ts +3 -3
- package/dist/typescript-fetch/models/DashboardCaseModel.js +3 -3
- package/dist/typescript-fetch/models/GetTrafficViolationModel.d.ts +21 -3
- package/dist/typescript-fetch/models/GetTrafficViolationModel.js +9 -3
- package/dist/typescript-fetch/models/{ViolationModel0.d.ts → ListDashboardCasesViolationModel.d.ts} +13 -13
- package/dist/typescript-fetch/models/ListDashboardCasesViolationModel.js +110 -0
- package/dist/typescript-fetch/models/ViolationModel.d.ts +6 -0
- package/dist/typescript-fetch/models/ViolationModel.js +2 -0
- package/dist/typescript-fetch/models/ViolationPenaltyModel.d.ts +6 -0
- package/dist/typescript-fetch/models/ViolationPenaltyModel.js +2 -0
- package/dist/typescript-fetch/models/WorkflowCaseModel.d.ts +3 -3
- package/dist/typescript-fetch/models/WorkflowCaseModel.js +3 -3
- package/dist/typescript-fetch/models/WorkflowViolationModel.d.ts +15 -3
- package/dist/typescript-fetch/models/WorkflowViolationModel.js +7 -3
- package/dist/typescript-fetch/models/index.d.ts +1 -3
- package/dist/typescript-fetch/models/index.js +1 -3
- package/dist/typescript-open-api/otr-backend.d.ts +21 -32
- package/package.json +1 -1
- package/dist/typescript-fetch/models/PenaltyModel.d.ts +0 -78
- package/dist/typescript-fetch/models/PenaltyModel.js +0 -68
- package/dist/typescript-fetch/models/ViolationModel0.js +0 -110
- package/dist/typescript-fetch/models/WorkflowViolationPenaltyModel.d.ts +0 -60
- package/dist/typescript-fetch/models/WorkflowViolationPenaltyModel.js +0 -62
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
|
-
import {
|
|
15
|
+
import { ViolationPenaltyModelFromJSON, ViolationPenaltyModelToJSON, } from './';
|
|
16
16
|
export function GetTrafficViolationModelFromJSON(json) {
|
|
17
17
|
return GetTrafficViolationModelFromJSONTyped(json, false);
|
|
18
18
|
}
|
|
@@ -25,10 +25,13 @@ export function GetTrafficViolationModelFromJSONTyped(json, ignoreDiscriminator)
|
|
|
25
25
|
'criminal': !exists(json, 'criminal') ? undefined : json['criminal'],
|
|
26
26
|
'enabledForCustomers': !exists(json, 'enabledForCustomers') ? undefined : json['enabledForCustomers'],
|
|
27
27
|
'enabledForLawfirms': !exists(json, 'enabledForLawfirms') ? undefined : json['enabledForLawfirms'],
|
|
28
|
-
'
|
|
28
|
+
'isCriminal': !exists(json, 'isCriminal') ? undefined : json['isCriminal'],
|
|
29
|
+
'isWobblerToCriminal': !exists(json, 'isWobblerToCriminal') ? undefined : json['isWobblerToCriminal'],
|
|
30
|
+
'penalties': !exists(json, 'penalties') ? undefined : (json['penalties'].map(ViolationPenaltyModelFromJSON)),
|
|
29
31
|
'refundEligibilityType': !exists(json, 'refundEligibilityType') ? undefined : json['refundEligibilityType'],
|
|
30
32
|
'trafficViolationDesc': !exists(json, 'trafficViolationDesc') ? undefined : json['trafficViolationDesc'],
|
|
31
33
|
'trafficViolationTypeId': !exists(json, 'trafficViolationTypeId') ? undefined : json['trafficViolationTypeId'],
|
|
34
|
+
'uniqueId': !exists(json, 'uniqueId') ? undefined : json['uniqueId'],
|
|
32
35
|
'userFriendlyName': !exists(json, 'userFriendlyName') ? undefined : json['userFriendlyName'],
|
|
33
36
|
'userFriendlyShortForm': !exists(json, 'userFriendlyShortForm') ? undefined : json['userFriendlyShortForm'],
|
|
34
37
|
'violationClassification': !exists(json, 'violationClassification') ? undefined : json['violationClassification'],
|
|
@@ -48,10 +51,13 @@ export function GetTrafficViolationModelToJSON(value) {
|
|
|
48
51
|
'criminal': value.criminal,
|
|
49
52
|
'enabledForCustomers': value.enabledForCustomers,
|
|
50
53
|
'enabledForLawfirms': value.enabledForLawfirms,
|
|
51
|
-
'
|
|
54
|
+
'isCriminal': value.isCriminal,
|
|
55
|
+
'isWobblerToCriminal': value.isWobblerToCriminal,
|
|
56
|
+
'penalties': value.penalties === undefined ? undefined : (value.penalties.map(ViolationPenaltyModelToJSON)),
|
|
52
57
|
'refundEligibilityType': value.refundEligibilityType,
|
|
53
58
|
'trafficViolationDesc': value.trafficViolationDesc,
|
|
54
59
|
'trafficViolationTypeId': value.trafficViolationTypeId,
|
|
60
|
+
'uniqueId': value.uniqueId,
|
|
55
61
|
'userFriendlyName': value.userFriendlyName,
|
|
56
62
|
'userFriendlyShortForm': value.userFriendlyShortForm,
|
|
57
63
|
'violationClassification': value.violationClassification,
|
package/dist/typescript-fetch/models/{ViolationModel0.d.ts → ListDashboardCasesViolationModel.d.ts}
RENAMED
|
@@ -12,54 +12,54 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @interface
|
|
15
|
+
* @interface ListDashboardCasesViolationModel
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface ListDashboardCasesViolationModel {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
20
|
* @type {boolean}
|
|
21
|
-
* @memberof
|
|
21
|
+
* @memberof ListDashboardCasesViolationModel
|
|
22
22
|
*/
|
|
23
23
|
isCriminal?: boolean;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {boolean}
|
|
27
|
-
* @memberof
|
|
27
|
+
* @memberof ListDashboardCasesViolationModel
|
|
28
28
|
*/
|
|
29
29
|
isMoving?: boolean;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {string}
|
|
33
|
-
* @memberof
|
|
33
|
+
* @memberof ListDashboardCasesViolationModel
|
|
34
34
|
*/
|
|
35
35
|
userFriendlyName?: string;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {string}
|
|
39
|
-
* @memberof
|
|
39
|
+
* @memberof ListDashboardCasesViolationModel
|
|
40
40
|
*/
|
|
41
|
-
violationClassification?:
|
|
41
|
+
violationClassification?: ListDashboardCasesViolationModelViolationClassificationEnum;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {string}
|
|
45
|
-
* @memberof
|
|
45
|
+
* @memberof ListDashboardCasesViolationModel
|
|
46
46
|
*/
|
|
47
47
|
violationClassificationDescription?: string;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
50
|
* @type {string}
|
|
51
|
-
* @memberof
|
|
51
|
+
* @memberof ListDashboardCasesViolationModel
|
|
52
52
|
*/
|
|
53
53
|
violationClassificationFriendlyName?: string;
|
|
54
54
|
}
|
|
55
|
-
export declare function
|
|
56
|
-
export declare function
|
|
57
|
-
export declare function
|
|
55
|
+
export declare function ListDashboardCasesViolationModelFromJSON(json: any): ListDashboardCasesViolationModel;
|
|
56
|
+
export declare function ListDashboardCasesViolationModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListDashboardCasesViolationModel;
|
|
57
|
+
export declare function ListDashboardCasesViolationModelToJSON(value?: ListDashboardCasesViolationModel | null): any;
|
|
58
58
|
/**
|
|
59
59
|
* @export
|
|
60
60
|
* @enum {string}
|
|
61
61
|
*/
|
|
62
|
-
export declare enum
|
|
62
|
+
export declare enum ListDashboardCasesViolationModelViolationClassificationEnum {
|
|
63
63
|
CLASS1FELONY = "CLASS_1_FELONY",
|
|
64
64
|
CLASS1MISDEMEANOR = "CLASS_1_MISDEMEANOR",
|
|
65
65
|
CLASS2FELONY = "CLASS_2_FELONY",
|
|
@@ -0,0 +1,110 @@
|
|
|
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
|
+
export function ListDashboardCasesViolationModelFromJSON(json) {
|
|
16
|
+
return ListDashboardCasesViolationModelFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function ListDashboardCasesViolationModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
+
if ((json === undefined) || (json === null)) {
|
|
20
|
+
return json;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'isCriminal': !exists(json, 'isCriminal') ? undefined : json['isCriminal'],
|
|
24
|
+
'isMoving': !exists(json, 'isMoving') ? undefined : json['isMoving'],
|
|
25
|
+
'userFriendlyName': !exists(json, 'userFriendlyName') ? undefined : json['userFriendlyName'],
|
|
26
|
+
'violationClassification': !exists(json, 'violationClassification') ? undefined : json['violationClassification'],
|
|
27
|
+
'violationClassificationDescription': !exists(json, 'violationClassificationDescription') ? undefined : json['violationClassificationDescription'],
|
|
28
|
+
'violationClassificationFriendlyName': !exists(json, 'violationClassificationFriendlyName') ? undefined : json['violationClassificationFriendlyName'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export function ListDashboardCasesViolationModelToJSON(value) {
|
|
32
|
+
if (value === undefined) {
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
if (value === null) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'isCriminal': value.isCriminal,
|
|
40
|
+
'isMoving': value.isMoving,
|
|
41
|
+
'userFriendlyName': value.userFriendlyName,
|
|
42
|
+
'violationClassification': value.violationClassification,
|
|
43
|
+
'violationClassificationDescription': value.violationClassificationDescription,
|
|
44
|
+
'violationClassificationFriendlyName': value.violationClassificationFriendlyName,
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* @export
|
|
49
|
+
* @enum {string}
|
|
50
|
+
*/
|
|
51
|
+
export var ListDashboardCasesViolationModelViolationClassificationEnum;
|
|
52
|
+
(function (ListDashboardCasesViolationModelViolationClassificationEnum) {
|
|
53
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["CLASS1FELONY"] = "CLASS_1_FELONY";
|
|
54
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["CLASS1MISDEMEANOR"] = "CLASS_1_MISDEMEANOR";
|
|
55
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["CLASS2FELONY"] = "CLASS_2_FELONY";
|
|
56
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["CLASS2MISDEMEANOR"] = "CLASS_2_MISDEMEANOR";
|
|
57
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["CLASS3FELONY"] = "CLASS_3_FELONY";
|
|
58
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["CLASS3MISDEMEANOR"] = "CLASS_3_MISDEMEANOR";
|
|
59
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["CLASS4FELONY"] = "CLASS_4_FELONY";
|
|
60
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["CLASS4MISDEMEANOR"] = "CLASS_4_MISDEMEANOR";
|
|
61
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["CLASS5FELONY"] = "CLASS_5_FELONY";
|
|
62
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["CLASS6FELONY"] = "CLASS_6_FELONY";
|
|
63
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["CLASSA1MISDEMEANOR"] = "CLASS_A1_MISDEMEANOR";
|
|
64
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["CLASSAFELONY"] = "CLASS_A_FELONY";
|
|
65
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["CLASSAINFRACTION"] = "CLASS_A_INFRACTION";
|
|
66
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["CLASSAMISDEMEANOR"] = "CLASS_A_MISDEMEANOR";
|
|
67
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["CLASSAVIOLATION"] = "CLASS_A_VIOLATION";
|
|
68
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["CLASSBFELONY"] = "CLASS_B_FELONY";
|
|
69
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["CLASSBINFRACTION"] = "CLASS_B_INFRACTION";
|
|
70
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["CLASSBMISDEMEANOR"] = "CLASS_B_MISDEMEANOR";
|
|
71
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["CLASSBVIOLATION"] = "CLASS_B_VIOLATION";
|
|
72
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["CLASSCFELONY"] = "CLASS_C_FELONY";
|
|
73
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["CLASSCINFRACTION"] = "CLASS_C_INFRACTION";
|
|
74
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["CLASSCMISDEMEANOR"] = "CLASS_C_MISDEMEANOR";
|
|
75
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["CLASSCVIOLATION"] = "CLASS_C_VIOLATION";
|
|
76
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["CLASSDFELONY"] = "CLASS_D_FELONY";
|
|
77
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["CLASSDMISDEMEANOR"] = "CLASS_D_MISDEMEANOR";
|
|
78
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["CLASSDVIOLATION"] = "CLASS_D_VIOLATION";
|
|
79
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["CLASSEFELONY"] = "CLASS_E_FELONY";
|
|
80
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["CLASSFFELONY"] = "CLASS_F_FELONY";
|
|
81
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["CLASSHFELONY"] = "CLASS_H_FELONY";
|
|
82
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["DISORDERLYPERSONSOFFENSE"] = "DISORDERLY_PERSONS_OFFENSE";
|
|
83
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["FELONY"] = "FELONY";
|
|
84
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["FELONY1STDEGREE"] = "FELONY_1ST_DEGREE";
|
|
85
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["FELONY2NDDEGREE"] = "FELONY_2ND_DEGREE";
|
|
86
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["FELONY3RDDEGREE"] = "FELONY_3RD_DEGREE";
|
|
87
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["FELONY4THDEGREE"] = "FELONY_4TH_DEGREE";
|
|
88
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["FELONY5THDEGREE"] = "FELONY_5TH_DEGREE";
|
|
89
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["GROSSMISDEMEANOR"] = "GROSS_MISDEMEANOR";
|
|
90
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["HIGHANDAGGRAVATEDMISDEMEANOR"] = "HIGH_AND_AGGRAVATED_MISDEMEANOR";
|
|
91
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["INFRACTION"] = "INFRACTION";
|
|
92
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["LEVEL4FELONY"] = "LEVEL_4_FELONY";
|
|
93
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["LEVEL5FELONY"] = "LEVEL_5_FELONY";
|
|
94
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["LEVEL6FELONY"] = "LEVEL_6_FELONY";
|
|
95
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["MINORMISDEMEANOR"] = "MINOR_MISDEMEANOR";
|
|
96
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["MISDEMEANOR"] = "MISDEMEANOR";
|
|
97
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["MISDEMEANOR1STDEGREE"] = "MISDEMEANOR_1ST_DEGREE";
|
|
98
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["MISDEMEANOR2NDDEGREE"] = "MISDEMEANOR_2ND_DEGREE";
|
|
99
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["MISDEMEANOR3RDDEGREE"] = "MISDEMEANOR_3RD_DEGREE";
|
|
100
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["MISDEMEANOR4THDEGREE"] = "MISDEMEANOR_4TH_DEGREE";
|
|
101
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["MISDEMEANORWITHREFUND"] = "MISDEMEANOR_WITH_REFUND";
|
|
102
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["NONMOVING"] = "NON_MOVING";
|
|
103
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["NONREPORTABLE"] = "NON_REPORTABLE";
|
|
104
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["PETTYMISDEMEANOR"] = "PETTY_MISDEMEANOR";
|
|
105
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["QUASICRIMINAL"] = "QUASI_CRIMINAL";
|
|
106
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["SUMMARYOFFENSE"] = "SUMMARY_OFFENSE";
|
|
107
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["SUMMARYOFFENSENOREFUND"] = "SUMMARY_OFFENSE_NO_REFUND";
|
|
108
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["WOBBLERTOFELONY"] = "WOBBLER_TO_FELONY";
|
|
109
|
+
ListDashboardCasesViolationModelViolationClassificationEnum["WOBBLERTOMISDEMEANOR"] = "WOBBLER_TO_MISDEMEANOR";
|
|
110
|
+
})(ListDashboardCasesViolationModelViolationClassificationEnum || (ListDashboardCasesViolationModelViolationClassificationEnum = {}));
|
|
@@ -22,6 +22,7 @@ export function ViolationModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
22
22
|
}
|
|
23
23
|
return {
|
|
24
24
|
'classDescription': !exists(json, 'classDescription') ? undefined : json['classDescription'],
|
|
25
|
+
'criminal': !exists(json, 'criminal') ? undefined : json['criminal'],
|
|
25
26
|
'insuranceIncreasePercent': !exists(json, 'insuranceIncreasePercent') ? undefined : json['insuranceIncreasePercent'],
|
|
26
27
|
'isCriminal': !exists(json, 'isCriminal') ? undefined : json['isCriminal'],
|
|
27
28
|
'isMovingViolation': !exists(json, 'isMovingViolation') ? undefined : json['isMovingViolation'],
|
|
@@ -45,6 +46,7 @@ export function ViolationModelToJSON(value) {
|
|
|
45
46
|
}
|
|
46
47
|
return {
|
|
47
48
|
'classDescription': value.classDescription,
|
|
49
|
+
'criminal': value.criminal,
|
|
48
50
|
'insuranceIncreasePercent': value.insuranceIncreasePercent,
|
|
49
51
|
'isCriminal': value.isCriminal,
|
|
50
52
|
'isMovingViolation': value.isMovingViolation,
|
|
@@ -21,6 +21,7 @@ export function ViolationPenaltyModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
21
21
|
}
|
|
22
22
|
return {
|
|
23
23
|
'additionalTip': !exists(json, 'additionalTip') ? undefined : json['additionalTip'],
|
|
24
|
+
'penaltyDataType': !exists(json, 'penaltyDataType') ? undefined : json['penaltyDataType'],
|
|
24
25
|
'penaltyFriendlyDescription': !exists(json, 'penaltyFriendlyDescription') ? undefined : json['penaltyFriendlyDescription'],
|
|
25
26
|
'penaltyMerged': !exists(json, 'penaltyMerged') ? undefined : json['penaltyMerged'],
|
|
26
27
|
'penaltyType': !exists(json, 'penaltyType') ? undefined : json['penaltyType'],
|
|
@@ -38,6 +39,7 @@ export function ViolationPenaltyModelToJSON(value) {
|
|
|
38
39
|
}
|
|
39
40
|
return {
|
|
40
41
|
'additionalTip': value.additionalTip,
|
|
42
|
+
'penaltyDataType': value.penaltyDataType,
|
|
41
43
|
'penaltyFriendlyDescription': value.penaltyFriendlyDescription,
|
|
42
44
|
'penaltyMerged': value.penaltyMerged,
|
|
43
45
|
'penaltyType': value.penaltyType,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { DefendantDetailsModel, LegalServiceModel, LetterOfEngagement, PaymentPlanTypeModel, SubscriptionPlanEligibility, Timestamp, UnavailableMatchAttributesModel,
|
|
12
|
+
import { DefendantDetailsModel, LegalServiceModel, LetterOfEngagement, PaymentPlanTypeModel, SubscriptionPlanEligibility, Timestamp, UnavailableMatchAttributesModel, ViolationPenaltyModel, WorkflowCitationModel } from './';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -78,10 +78,10 @@ export interface WorkflowCaseModel {
|
|
|
78
78
|
letterOfEngagement?: LetterOfEngagement;
|
|
79
79
|
/**
|
|
80
80
|
*
|
|
81
|
-
* @type {Array<
|
|
81
|
+
* @type {Array<ViolationPenaltyModel>}
|
|
82
82
|
* @memberof WorkflowCaseModel
|
|
83
83
|
*/
|
|
84
|
-
maxPenalties?: Array<
|
|
84
|
+
maxPenalties?: Array<ViolationPenaltyModel>;
|
|
85
85
|
/**
|
|
86
86
|
*
|
|
87
87
|
* @type {PaymentPlanTypeModel}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
|
-
import { DefendantDetailsModelFromJSON, DefendantDetailsModelToJSON, LegalServiceModelFromJSON, LegalServiceModelToJSON, LetterOfEngagementFromJSON, LetterOfEngagementToJSON, PaymentPlanTypeModelFromJSON, PaymentPlanTypeModelToJSON, SubscriptionPlanEligibilityFromJSON, SubscriptionPlanEligibilityToJSON, TimestampFromJSON, TimestampToJSON, UnavailableMatchAttributesModelFromJSON, UnavailableMatchAttributesModelToJSON,
|
|
15
|
+
import { DefendantDetailsModelFromJSON, DefendantDetailsModelToJSON, LegalServiceModelFromJSON, LegalServiceModelToJSON, LetterOfEngagementFromJSON, LetterOfEngagementToJSON, PaymentPlanTypeModelFromJSON, PaymentPlanTypeModelToJSON, SubscriptionPlanEligibilityFromJSON, SubscriptionPlanEligibilityToJSON, TimestampFromJSON, TimestampToJSON, UnavailableMatchAttributesModelFromJSON, UnavailableMatchAttributesModelToJSON, ViolationPenaltyModelFromJSON, ViolationPenaltyModelToJSON, WorkflowCitationModelFromJSON, WorkflowCitationModelToJSON, } from './';
|
|
16
16
|
export function WorkflowCaseModelFromJSON(json) {
|
|
17
17
|
return WorkflowCaseModelFromJSONTyped(json, false);
|
|
18
18
|
}
|
|
@@ -31,7 +31,7 @@ export function WorkflowCaseModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
31
|
'latestUnavailableMatchAttributes': !exists(json, 'latestUnavailableMatchAttributes') ? undefined : UnavailableMatchAttributesModelFromJSON(json['latestUnavailableMatchAttributes']),
|
|
32
32
|
'legalServices': !exists(json, 'legalServices') ? undefined : (json['legalServices'].map(LegalServiceModelFromJSON)),
|
|
33
33
|
'letterOfEngagement': !exists(json, 'letterOfEngagement') ? undefined : LetterOfEngagementFromJSON(json['letterOfEngagement']),
|
|
34
|
-
'maxPenalties': !exists(json, 'maxPenalties') ? undefined : (json['maxPenalties'].map(
|
|
34
|
+
'maxPenalties': !exists(json, 'maxPenalties') ? undefined : (json['maxPenalties'].map(ViolationPenaltyModelFromJSON)),
|
|
35
35
|
'paymentPlanTypeModel': !exists(json, 'paymentPlanTypeModel') ? undefined : PaymentPlanTypeModelFromJSON(json['paymentPlanTypeModel']),
|
|
36
36
|
'referralCode': !exists(json, 'referralCode') ? undefined : json['referralCode'],
|
|
37
37
|
'referralCodeOwner': !exists(json, 'referralCodeOwner') ? undefined : json['referralCodeOwner'],
|
|
@@ -57,7 +57,7 @@ export function WorkflowCaseModelToJSON(value) {
|
|
|
57
57
|
'latestUnavailableMatchAttributes': UnavailableMatchAttributesModelToJSON(value.latestUnavailableMatchAttributes),
|
|
58
58
|
'legalServices': value.legalServices === undefined ? undefined : (value.legalServices.map(LegalServiceModelToJSON)),
|
|
59
59
|
'letterOfEngagement': LetterOfEngagementToJSON(value.letterOfEngagement),
|
|
60
|
-
'maxPenalties': value.maxPenalties === undefined ? undefined : (value.maxPenalties.map(
|
|
60
|
+
'maxPenalties': value.maxPenalties === undefined ? undefined : (value.maxPenalties.map(ViolationPenaltyModelToJSON)),
|
|
61
61
|
'paymentPlanTypeModel': PaymentPlanTypeModelToJSON(value.paymentPlanTypeModel),
|
|
62
62
|
'referralCode': value.referralCode,
|
|
63
63
|
'referralCodeOwner': value.referralCodeOwner,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { ViolationPenaltyModel } from './';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -30,10 +30,22 @@ export interface WorkflowViolationModel {
|
|
|
30
30
|
criminal?: boolean;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
|
-
* @type {
|
|
33
|
+
* @type {boolean}
|
|
34
|
+
* @memberof WorkflowViolationModel
|
|
35
|
+
*/
|
|
36
|
+
isCriminal?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {boolean}
|
|
40
|
+
* @memberof WorkflowViolationModel
|
|
41
|
+
*/
|
|
42
|
+
isWobblerToCriminal?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Array<ViolationPenaltyModel>}
|
|
34
46
|
* @memberof WorkflowViolationModel
|
|
35
47
|
*/
|
|
36
|
-
penalties?: Array<
|
|
48
|
+
penalties?: Array<ViolationPenaltyModel>;
|
|
37
49
|
/**
|
|
38
50
|
*
|
|
39
51
|
* @type {string}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
|
-
import {
|
|
15
|
+
import { ViolationPenaltyModelFromJSON, ViolationPenaltyModelToJSON, } from './';
|
|
16
16
|
export function WorkflowViolationModelFromJSON(json) {
|
|
17
17
|
return WorkflowViolationModelFromJSONTyped(json, false);
|
|
18
18
|
}
|
|
@@ -23,7 +23,9 @@ export function WorkflowViolationModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
23
23
|
return {
|
|
24
24
|
'classDescription': !exists(json, 'classDescription') ? undefined : json['classDescription'],
|
|
25
25
|
'criminal': !exists(json, 'criminal') ? undefined : json['criminal'],
|
|
26
|
-
'
|
|
26
|
+
'isCriminal': !exists(json, 'isCriminal') ? undefined : json['isCriminal'],
|
|
27
|
+
'isWobblerToCriminal': !exists(json, 'isWobblerToCriminal') ? undefined : json['isWobblerToCriminal'],
|
|
28
|
+
'penalties': !exists(json, 'penalties') ? undefined : (json['penalties'].map(ViolationPenaltyModelFromJSON)),
|
|
27
29
|
'trafficViolationDesc': !exists(json, 'trafficViolationDesc') ? undefined : json['trafficViolationDesc'],
|
|
28
30
|
'trafficViolationTypeId': !exists(json, 'trafficViolationTypeId') ? undefined : json['trafficViolationTypeId'],
|
|
29
31
|
'violationClassification': !exists(json, 'violationClassification') ? undefined : json['violationClassification'],
|
|
@@ -41,7 +43,9 @@ export function WorkflowViolationModelToJSON(value) {
|
|
|
41
43
|
return {
|
|
42
44
|
'classDescription': value.classDescription,
|
|
43
45
|
'criminal': value.criminal,
|
|
44
|
-
'
|
|
46
|
+
'isCriminal': value.isCriminal,
|
|
47
|
+
'isWobblerToCriminal': value.isWobblerToCriminal,
|
|
48
|
+
'penalties': value.penalties === undefined ? undefined : (value.penalties.map(ViolationPenaltyModelToJSON)),
|
|
45
49
|
'trafficViolationDesc': value.trafficViolationDesc,
|
|
46
50
|
'trafficViolationTypeId': value.trafficViolationTypeId,
|
|
47
51
|
'violationClassification': value.violationClassification,
|
|
@@ -507,6 +507,7 @@ export * from './ListContactTimelineResponse';
|
|
|
507
507
|
export * from './ListCostItemsForCustomerResponse';
|
|
508
508
|
export * from './ListDashboardCaseUsersResponse';
|
|
509
509
|
export * from './ListDashboardCasesResponse';
|
|
510
|
+
export * from './ListDashboardCasesViolationModel';
|
|
510
511
|
export * from './ListEligibleStatusResponse';
|
|
511
512
|
export * from './ListEmployeesResponse';
|
|
512
513
|
export * from './ListLawfirmAuditEventsByCursorResponse';
|
|
@@ -582,7 +583,6 @@ export * from './PaymentPlanTypeModel';
|
|
|
582
583
|
export * from './PaymentPlanTypeModelReq';
|
|
583
584
|
export * from './PaymentPlanTypeModelRes';
|
|
584
585
|
export * from './Penalty';
|
|
585
|
-
export * from './PenaltyModel';
|
|
586
586
|
export * from './PenaltyRequest';
|
|
587
587
|
export * from './PersistTicketEvaluationRequest';
|
|
588
588
|
export * from './PhoneNumberDomain';
|
|
@@ -860,7 +860,6 @@ export * from './ViolationClassificationModel';
|
|
|
860
860
|
export * from './ViolationInput';
|
|
861
861
|
export * from './ViolationInputRequest';
|
|
862
862
|
export * from './ViolationModel';
|
|
863
|
-
export * from './ViolationModel0';
|
|
864
863
|
export * from './ViolationNames';
|
|
865
864
|
export * from './ViolationPenaltyModel';
|
|
866
865
|
export * from './ViolationPenaltyResponse';
|
|
@@ -872,7 +871,6 @@ export * from './WorkflowCitationModel';
|
|
|
872
871
|
export * from './WorkflowFinancials';
|
|
873
872
|
export * from './WorkflowLineItemModel';
|
|
874
873
|
export * from './WorkflowViolationModel';
|
|
875
|
-
export * from './WorkflowViolationPenaltyModel';
|
|
876
874
|
export * from './ZoneId';
|
|
877
875
|
export * from './ZoneOffset';
|
|
878
876
|
export * from './ZoneOffsetTransition';
|
|
@@ -507,6 +507,7 @@ export * from './ListContactTimelineResponse';
|
|
|
507
507
|
export * from './ListCostItemsForCustomerResponse';
|
|
508
508
|
export * from './ListDashboardCaseUsersResponse';
|
|
509
509
|
export * from './ListDashboardCasesResponse';
|
|
510
|
+
export * from './ListDashboardCasesViolationModel';
|
|
510
511
|
export * from './ListEligibleStatusResponse';
|
|
511
512
|
export * from './ListEmployeesResponse';
|
|
512
513
|
export * from './ListLawfirmAuditEventsByCursorResponse';
|
|
@@ -582,7 +583,6 @@ export * from './PaymentPlanTypeModel';
|
|
|
582
583
|
export * from './PaymentPlanTypeModelReq';
|
|
583
584
|
export * from './PaymentPlanTypeModelRes';
|
|
584
585
|
export * from './Penalty';
|
|
585
|
-
export * from './PenaltyModel';
|
|
586
586
|
export * from './PenaltyRequest';
|
|
587
587
|
export * from './PersistTicketEvaluationRequest';
|
|
588
588
|
export * from './PhoneNumberDomain';
|
|
@@ -860,7 +860,6 @@ export * from './ViolationClassificationModel';
|
|
|
860
860
|
export * from './ViolationInput';
|
|
861
861
|
export * from './ViolationInputRequest';
|
|
862
862
|
export * from './ViolationModel';
|
|
863
|
-
export * from './ViolationModel0';
|
|
864
863
|
export * from './ViolationNames';
|
|
865
864
|
export * from './ViolationPenaltyModel';
|
|
866
865
|
export * from './ViolationPenaltyResponse';
|
|
@@ -872,7 +871,6 @@ export * from './WorkflowCitationModel';
|
|
|
872
871
|
export * from './WorkflowFinancials';
|
|
873
872
|
export * from './WorkflowLineItemModel';
|
|
874
873
|
export * from './WorkflowViolationModel';
|
|
875
|
-
export * from './WorkflowViolationPenaltyModel';
|
|
876
874
|
export * from './ZoneId';
|
|
877
875
|
export * from './ZoneOffset';
|
|
878
876
|
export * from './ZoneOffsetTransition';
|
|
@@ -10002,7 +10002,7 @@ export interface components {
|
|
|
10002
10002
|
unreadNotificationCount?: number;
|
|
10003
10003
|
/** Format: int64 */
|
|
10004
10004
|
userId?: number;
|
|
10005
|
-
violations?: components["schemas"]["
|
|
10005
|
+
violations?: components["schemas"]["ListDashboardCasesViolationModel"][];
|
|
10006
10006
|
};
|
|
10007
10007
|
/** DashboardCaseUserModel */
|
|
10008
10008
|
DashboardCaseUserModel: {
|
|
@@ -11659,12 +11659,15 @@ export interface components {
|
|
|
11659
11659
|
criminal?: boolean;
|
|
11660
11660
|
enabledForCustomers?: boolean;
|
|
11661
11661
|
enabledForLawfirms?: boolean;
|
|
11662
|
-
|
|
11662
|
+
isCriminal?: boolean;
|
|
11663
|
+
isWobblerToCriminal?: boolean;
|
|
11664
|
+
penalties?: components["schemas"]["ViolationPenaltyModel"][];
|
|
11663
11665
|
/** @enum {string} */
|
|
11664
11666
|
refundEligibilityType?: AccountLevelFeeRefundEligibility;
|
|
11665
11667
|
trafficViolationDesc?: string;
|
|
11666
11668
|
/** Format: int64 */
|
|
11667
11669
|
trafficViolationTypeId?: number;
|
|
11670
|
+
uniqueId?: string;
|
|
11668
11671
|
userFriendlyName?: string;
|
|
11669
11672
|
userFriendlyShortForm?: string;
|
|
11670
11673
|
/** @enum {string} */
|
|
@@ -13031,6 +13034,16 @@ export interface components {
|
|
|
13031
13034
|
/** Format: int32 */
|
|
13032
13035
|
totalCaseCount?: number;
|
|
13033
13036
|
};
|
|
13037
|
+
/** ListDashboardCasesViolationModel */
|
|
13038
|
+
ListDashboardCasesViolationModel: {
|
|
13039
|
+
isCriminal?: boolean;
|
|
13040
|
+
isMoving?: boolean;
|
|
13041
|
+
userFriendlyName?: string;
|
|
13042
|
+
/** @enum {string} */
|
|
13043
|
+
violationClassification?: PathsApiV1LawfirmsLawfirmIdAccountFeesDeleteParametersQueryClassification;
|
|
13044
|
+
violationClassificationDescription?: string;
|
|
13045
|
+
violationClassificationFriendlyName?: string;
|
|
13046
|
+
};
|
|
13034
13047
|
/** ListEligibleStatusResponse */
|
|
13035
13048
|
ListEligibleStatusResponse: {
|
|
13036
13049
|
statuses?: PathsApiV1LawfirmsLawfirmIdInboxMessagesGetParametersQueryCaseStatuses[];
|
|
@@ -13876,17 +13889,6 @@ export interface components {
|
|
|
13876
13889
|
penaltyValue?: string;
|
|
13877
13890
|
vectorImageUrl?: string;
|
|
13878
13891
|
};
|
|
13879
|
-
/** PenaltyModel */
|
|
13880
|
-
PenaltyModel: {
|
|
13881
|
-
additionalTip?: string;
|
|
13882
|
-
penaltyDataType?: string;
|
|
13883
|
-
penaltyFriendlyDescription?: string;
|
|
13884
|
-
/** @enum {string} */
|
|
13885
|
-
penaltyType?: CaseViolationPenaltyPenaltyType;
|
|
13886
|
-
/** Format: int32 */
|
|
13887
|
-
penaltyTypeId?: number;
|
|
13888
|
-
penaltyValue?: string;
|
|
13889
|
-
};
|
|
13890
13892
|
/** PenaltyRequest */
|
|
13891
13893
|
PenaltyRequest: {
|
|
13892
13894
|
/** Format: int32 */
|
|
@@ -16625,6 +16627,7 @@ export interface components {
|
|
|
16625
16627
|
/** ViolationModel */
|
|
16626
16628
|
ViolationModel: {
|
|
16627
16629
|
classDescription?: string;
|
|
16630
|
+
criminal?: boolean;
|
|
16628
16631
|
/** Format: double */
|
|
16629
16632
|
insuranceIncreasePercent?: number;
|
|
16630
16633
|
isCriminal?: boolean;
|
|
@@ -16641,16 +16644,6 @@ export interface components {
|
|
|
16641
16644
|
violationClassification?: PathsApiV1LawfirmsLawfirmIdAccountFeesDeleteParametersQueryClassification;
|
|
16642
16645
|
violationCode?: string;
|
|
16643
16646
|
};
|
|
16644
|
-
/** ViolationModel0 */
|
|
16645
|
-
ViolationModel0: {
|
|
16646
|
-
isCriminal?: boolean;
|
|
16647
|
-
isMoving?: boolean;
|
|
16648
|
-
userFriendlyName?: string;
|
|
16649
|
-
/** @enum {string} */
|
|
16650
|
-
violationClassification?: PathsApiV1LawfirmsLawfirmIdAccountFeesDeleteParametersQueryClassification;
|
|
16651
|
-
violationClassificationDescription?: string;
|
|
16652
|
-
violationClassificationFriendlyName?: string;
|
|
16653
|
-
};
|
|
16654
16647
|
/** ViolationNames */
|
|
16655
16648
|
ViolationNames: {
|
|
16656
16649
|
llm_prediction?: string[];
|
|
@@ -16661,6 +16654,7 @@ export interface components {
|
|
|
16661
16654
|
/** ViolationPenaltyModel */
|
|
16662
16655
|
ViolationPenaltyModel: {
|
|
16663
16656
|
additionalTip?: string;
|
|
16657
|
+
penaltyDataType?: string;
|
|
16664
16658
|
penaltyFriendlyDescription?: string;
|
|
16665
16659
|
penaltyMerged?: boolean;
|
|
16666
16660
|
/** @enum {string} */
|
|
@@ -16720,7 +16714,7 @@ export interface components {
|
|
|
16720
16714
|
latestUnavailableMatchAttributes?: components["schemas"]["UnavailableMatchAttributesModel"];
|
|
16721
16715
|
legalServices?: components["schemas"]["LegalServiceModel"][];
|
|
16722
16716
|
letterOfEngagement?: components["schemas"]["LetterOfEngagement"];
|
|
16723
|
-
maxPenalties?: components["schemas"]["
|
|
16717
|
+
maxPenalties?: components["schemas"]["ViolationPenaltyModel"][];
|
|
16724
16718
|
paymentPlanTypeModel?: components["schemas"]["PaymentPlanTypeModel"];
|
|
16725
16719
|
referralCode?: string;
|
|
16726
16720
|
/** @enum {string} */
|
|
@@ -16795,7 +16789,9 @@ export interface components {
|
|
|
16795
16789
|
WorkflowViolationModel: {
|
|
16796
16790
|
classDescription?: string;
|
|
16797
16791
|
criminal?: boolean;
|
|
16798
|
-
|
|
16792
|
+
isCriminal?: boolean;
|
|
16793
|
+
isWobblerToCriminal?: boolean;
|
|
16794
|
+
penalties?: components["schemas"]["ViolationPenaltyModel"][];
|
|
16799
16795
|
trafficViolationDesc?: string;
|
|
16800
16796
|
/** Format: int64 */
|
|
16801
16797
|
trafficViolationTypeId?: number;
|
|
@@ -16804,13 +16800,6 @@ export interface components {
|
|
|
16804
16800
|
violationCode?: string;
|
|
16805
16801
|
wobblerToCriminal?: boolean;
|
|
16806
16802
|
};
|
|
16807
|
-
/** WorkflowViolationPenaltyModel */
|
|
16808
|
-
WorkflowViolationPenaltyModel: {
|
|
16809
|
-
penaltyFriendlyDescription?: string;
|
|
16810
|
-
/** @enum {string} */
|
|
16811
|
-
penaltyType?: CaseViolationPenaltyPenaltyType;
|
|
16812
|
-
penaltyValue?: string;
|
|
16813
|
-
};
|
|
16814
16803
|
/** ZoneId */
|
|
16815
16804
|
ZoneId: {
|
|
16816
16805
|
id?: string;
|