@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.
Files changed (42) hide show
  1. package/dist/angular/.openapi-generator/FILES +1 -3
  2. package/dist/angular/model/dashboardCaseModel.ts +2 -2
  3. package/dist/angular/model/getTrafficViolationModel.ts +5 -2
  4. package/dist/angular/model/listDashboardCasesViolationModel.ts +85 -0
  5. package/dist/angular/model/models.ts +1 -3
  6. package/dist/angular/model/violationModel.ts +1 -0
  7. package/dist/angular/model/violationPenaltyModel.ts +1 -0
  8. package/dist/angular/model/workflowCaseModel.ts +2 -2
  9. package/dist/angular/model/workflowViolationModel.ts +4 -2
  10. package/dist/typescript/model/DashboardCaseModel.d.ts +1 -1
  11. package/dist/typescript/model/GetTrafficViolationModel.d.ts +4 -1
  12. package/dist/typescript/model/ListDashboardCasesViolationModel.d.ts +80 -0
  13. package/dist/typescript/model/ListDashboardCasesViolationModel.js +74 -0
  14. package/dist/typescript/model/ViolationModel.d.ts +1 -0
  15. package/dist/typescript/model/ViolationPenaltyModel.d.ts +1 -0
  16. package/dist/typescript/model/WorkflowCaseModel.d.ts +1 -1
  17. package/dist/typescript/model/WorkflowViolationModel.d.ts +3 -1
  18. package/dist/typescript/model/models.d.ts +1 -3
  19. package/dist/typescript/model/models.js +1 -3
  20. package/dist/typescript-fetch/models/DashboardCaseModel.d.ts +3 -3
  21. package/dist/typescript-fetch/models/DashboardCaseModel.js +3 -3
  22. package/dist/typescript-fetch/models/GetTrafficViolationModel.d.ts +21 -3
  23. package/dist/typescript-fetch/models/GetTrafficViolationModel.js +9 -3
  24. package/dist/typescript-fetch/models/{ViolationModel0.d.ts → ListDashboardCasesViolationModel.d.ts} +13 -13
  25. package/dist/typescript-fetch/models/ListDashboardCasesViolationModel.js +110 -0
  26. package/dist/typescript-fetch/models/ViolationModel.d.ts +6 -0
  27. package/dist/typescript-fetch/models/ViolationModel.js +2 -0
  28. package/dist/typescript-fetch/models/ViolationPenaltyModel.d.ts +6 -0
  29. package/dist/typescript-fetch/models/ViolationPenaltyModel.js +2 -0
  30. package/dist/typescript-fetch/models/WorkflowCaseModel.d.ts +3 -3
  31. package/dist/typescript-fetch/models/WorkflowCaseModel.js +3 -3
  32. package/dist/typescript-fetch/models/WorkflowViolationModel.d.ts +15 -3
  33. package/dist/typescript-fetch/models/WorkflowViolationModel.js +7 -3
  34. package/dist/typescript-fetch/models/index.d.ts +1 -3
  35. package/dist/typescript-fetch/models/index.js +1 -3
  36. package/dist/typescript-open-api/otr-backend.d.ts +21 -32
  37. package/package.json +1 -1
  38. package/dist/typescript-fetch/models/PenaltyModel.d.ts +0 -78
  39. package/dist/typescript-fetch/models/PenaltyModel.js +0 -68
  40. package/dist/typescript-fetch/models/ViolationModel0.js +0 -110
  41. package/dist/typescript-fetch/models/WorkflowViolationPenaltyModel.d.ts +0 -60
  42. package/dist/typescript-fetch/models/WorkflowViolationPenaltyModel.js +0 -62
@@ -1,78 +0,0 @@
1
- /**
2
- * OffTheRecord Rest Service API - Devo
3
- * A service to handle your traffic tickets
4
- *
5
- * The version of the OpenAPI document: 1.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface PenaltyModel
16
- */
17
- export interface PenaltyModel {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof PenaltyModel
22
- */
23
- additionalTip?: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof PenaltyModel
28
- */
29
- penaltyDataType?: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof PenaltyModel
34
- */
35
- penaltyFriendlyDescription?: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof PenaltyModel
40
- */
41
- penaltyType?: PenaltyModelPenaltyTypeEnum;
42
- /**
43
- *
44
- * @type {number}
45
- * @memberof PenaltyModel
46
- */
47
- penaltyTypeId?: number;
48
- /**
49
- *
50
- * @type {string}
51
- * @memberof PenaltyModel
52
- */
53
- penaltyValue?: string;
54
- }
55
- export declare function PenaltyModelFromJSON(json: any): PenaltyModel;
56
- export declare function PenaltyModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): PenaltyModel;
57
- export declare function PenaltyModelToJSON(value?: PenaltyModel | null): any;
58
- /**
59
- * @export
60
- * @enum {string}
61
- */
62
- export declare enum PenaltyModelPenaltyTypeEnum {
63
- DEMERITPOINTS = "DEMERIT_POINTS",
64
- INCARCERATIONMAXDAYS = "INCARCERATION_MAX_DAYS",
65
- INCARCERATIONMINDAYS = "INCARCERATION_MIN_DAYS",
66
- INSURANCEPOINTS = "INSURANCE_POINTS",
67
- INSURANCERATEINCREASE = "INSURANCE_RATE_INCREASE",
68
- LICENSEREVOCATIONMAXDAYS = "LICENSE_REVOCATION_MAX_DAYS",
69
- LICENSEREVOCATIONMINDAYS = "LICENSE_REVOCATION_MIN_DAYS",
70
- LICENSESUSPENSIONMAXDAYS = "LICENSE_SUSPENSION_MAX_DAYS",
71
- LICENSESUSPENSIONMINDAYS = "LICENSE_SUSPENSION_MIN_DAYS",
72
- MANDATORYCOURTAPPEARANCE = "MANDATORY_COURT_APPEARANCE",
73
- MANDATORYCOURTAPPEARANCEWITHATTORNEY = "MANDATORY_COURT_APPEARANCE_WITH_ATTORNEY",
74
- MAXBAILAMOUNT = "MAX_BAIL_AMOUNT",
75
- MINBAILAMOUNT = "MIN_BAIL_AMOUNT",
76
- PROBATIONINDAYS = "PROBATION_IN_DAYS",
77
- TOTALBAILAMOUNT = "TOTAL_BAIL_AMOUNT"
78
- }
@@ -1,68 +0,0 @@
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 PenaltyModelFromJSON(json) {
16
- return PenaltyModelFromJSONTyped(json, false);
17
- }
18
- export function PenaltyModelFromJSONTyped(json, ignoreDiscriminator) {
19
- if ((json === undefined) || (json === null)) {
20
- return json;
21
- }
22
- return {
23
- 'additionalTip': !exists(json, 'additionalTip') ? undefined : json['additionalTip'],
24
- 'penaltyDataType': !exists(json, 'penaltyDataType') ? undefined : json['penaltyDataType'],
25
- 'penaltyFriendlyDescription': !exists(json, 'penaltyFriendlyDescription') ? undefined : json['penaltyFriendlyDescription'],
26
- 'penaltyType': !exists(json, 'penaltyType') ? undefined : json['penaltyType'],
27
- 'penaltyTypeId': !exists(json, 'penaltyTypeId') ? undefined : json['penaltyTypeId'],
28
- 'penaltyValue': !exists(json, 'penaltyValue') ? undefined : json['penaltyValue'],
29
- };
30
- }
31
- export function PenaltyModelToJSON(value) {
32
- if (value === undefined) {
33
- return undefined;
34
- }
35
- if (value === null) {
36
- return null;
37
- }
38
- return {
39
- 'additionalTip': value.additionalTip,
40
- 'penaltyDataType': value.penaltyDataType,
41
- 'penaltyFriendlyDescription': value.penaltyFriendlyDescription,
42
- 'penaltyType': value.penaltyType,
43
- 'penaltyTypeId': value.penaltyTypeId,
44
- 'penaltyValue': value.penaltyValue,
45
- };
46
- }
47
- /**
48
- * @export
49
- * @enum {string}
50
- */
51
- export var PenaltyModelPenaltyTypeEnum;
52
- (function (PenaltyModelPenaltyTypeEnum) {
53
- PenaltyModelPenaltyTypeEnum["DEMERITPOINTS"] = "DEMERIT_POINTS";
54
- PenaltyModelPenaltyTypeEnum["INCARCERATIONMAXDAYS"] = "INCARCERATION_MAX_DAYS";
55
- PenaltyModelPenaltyTypeEnum["INCARCERATIONMINDAYS"] = "INCARCERATION_MIN_DAYS";
56
- PenaltyModelPenaltyTypeEnum["INSURANCEPOINTS"] = "INSURANCE_POINTS";
57
- PenaltyModelPenaltyTypeEnum["INSURANCERATEINCREASE"] = "INSURANCE_RATE_INCREASE";
58
- PenaltyModelPenaltyTypeEnum["LICENSEREVOCATIONMAXDAYS"] = "LICENSE_REVOCATION_MAX_DAYS";
59
- PenaltyModelPenaltyTypeEnum["LICENSEREVOCATIONMINDAYS"] = "LICENSE_REVOCATION_MIN_DAYS";
60
- PenaltyModelPenaltyTypeEnum["LICENSESUSPENSIONMAXDAYS"] = "LICENSE_SUSPENSION_MAX_DAYS";
61
- PenaltyModelPenaltyTypeEnum["LICENSESUSPENSIONMINDAYS"] = "LICENSE_SUSPENSION_MIN_DAYS";
62
- PenaltyModelPenaltyTypeEnum["MANDATORYCOURTAPPEARANCE"] = "MANDATORY_COURT_APPEARANCE";
63
- PenaltyModelPenaltyTypeEnum["MANDATORYCOURTAPPEARANCEWITHATTORNEY"] = "MANDATORY_COURT_APPEARANCE_WITH_ATTORNEY";
64
- PenaltyModelPenaltyTypeEnum["MAXBAILAMOUNT"] = "MAX_BAIL_AMOUNT";
65
- PenaltyModelPenaltyTypeEnum["MINBAILAMOUNT"] = "MIN_BAIL_AMOUNT";
66
- PenaltyModelPenaltyTypeEnum["PROBATIONINDAYS"] = "PROBATION_IN_DAYS";
67
- PenaltyModelPenaltyTypeEnum["TOTALBAILAMOUNT"] = "TOTAL_BAIL_AMOUNT";
68
- })(PenaltyModelPenaltyTypeEnum || (PenaltyModelPenaltyTypeEnum = {}));
@@ -1,110 +0,0 @@
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 ViolationModel0FromJSON(json) {
16
- return ViolationModel0FromJSONTyped(json, false);
17
- }
18
- export function ViolationModel0FromJSONTyped(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 ViolationModel0ToJSON(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 ViolationModel0ViolationClassificationEnum;
52
- (function (ViolationModel0ViolationClassificationEnum) {
53
- ViolationModel0ViolationClassificationEnum["CLASS1FELONY"] = "CLASS_1_FELONY";
54
- ViolationModel0ViolationClassificationEnum["CLASS1MISDEMEANOR"] = "CLASS_1_MISDEMEANOR";
55
- ViolationModel0ViolationClassificationEnum["CLASS2FELONY"] = "CLASS_2_FELONY";
56
- ViolationModel0ViolationClassificationEnum["CLASS2MISDEMEANOR"] = "CLASS_2_MISDEMEANOR";
57
- ViolationModel0ViolationClassificationEnum["CLASS3FELONY"] = "CLASS_3_FELONY";
58
- ViolationModel0ViolationClassificationEnum["CLASS3MISDEMEANOR"] = "CLASS_3_MISDEMEANOR";
59
- ViolationModel0ViolationClassificationEnum["CLASS4FELONY"] = "CLASS_4_FELONY";
60
- ViolationModel0ViolationClassificationEnum["CLASS4MISDEMEANOR"] = "CLASS_4_MISDEMEANOR";
61
- ViolationModel0ViolationClassificationEnum["CLASS5FELONY"] = "CLASS_5_FELONY";
62
- ViolationModel0ViolationClassificationEnum["CLASS6FELONY"] = "CLASS_6_FELONY";
63
- ViolationModel0ViolationClassificationEnum["CLASSA1MISDEMEANOR"] = "CLASS_A1_MISDEMEANOR";
64
- ViolationModel0ViolationClassificationEnum["CLASSAFELONY"] = "CLASS_A_FELONY";
65
- ViolationModel0ViolationClassificationEnum["CLASSAINFRACTION"] = "CLASS_A_INFRACTION";
66
- ViolationModel0ViolationClassificationEnum["CLASSAMISDEMEANOR"] = "CLASS_A_MISDEMEANOR";
67
- ViolationModel0ViolationClassificationEnum["CLASSAVIOLATION"] = "CLASS_A_VIOLATION";
68
- ViolationModel0ViolationClassificationEnum["CLASSBFELONY"] = "CLASS_B_FELONY";
69
- ViolationModel0ViolationClassificationEnum["CLASSBINFRACTION"] = "CLASS_B_INFRACTION";
70
- ViolationModel0ViolationClassificationEnum["CLASSBMISDEMEANOR"] = "CLASS_B_MISDEMEANOR";
71
- ViolationModel0ViolationClassificationEnum["CLASSBVIOLATION"] = "CLASS_B_VIOLATION";
72
- ViolationModel0ViolationClassificationEnum["CLASSCFELONY"] = "CLASS_C_FELONY";
73
- ViolationModel0ViolationClassificationEnum["CLASSCINFRACTION"] = "CLASS_C_INFRACTION";
74
- ViolationModel0ViolationClassificationEnum["CLASSCMISDEMEANOR"] = "CLASS_C_MISDEMEANOR";
75
- ViolationModel0ViolationClassificationEnum["CLASSCVIOLATION"] = "CLASS_C_VIOLATION";
76
- ViolationModel0ViolationClassificationEnum["CLASSDFELONY"] = "CLASS_D_FELONY";
77
- ViolationModel0ViolationClassificationEnum["CLASSDMISDEMEANOR"] = "CLASS_D_MISDEMEANOR";
78
- ViolationModel0ViolationClassificationEnum["CLASSDVIOLATION"] = "CLASS_D_VIOLATION";
79
- ViolationModel0ViolationClassificationEnum["CLASSEFELONY"] = "CLASS_E_FELONY";
80
- ViolationModel0ViolationClassificationEnum["CLASSFFELONY"] = "CLASS_F_FELONY";
81
- ViolationModel0ViolationClassificationEnum["CLASSHFELONY"] = "CLASS_H_FELONY";
82
- ViolationModel0ViolationClassificationEnum["DISORDERLYPERSONSOFFENSE"] = "DISORDERLY_PERSONS_OFFENSE";
83
- ViolationModel0ViolationClassificationEnum["FELONY"] = "FELONY";
84
- ViolationModel0ViolationClassificationEnum["FELONY1STDEGREE"] = "FELONY_1ST_DEGREE";
85
- ViolationModel0ViolationClassificationEnum["FELONY2NDDEGREE"] = "FELONY_2ND_DEGREE";
86
- ViolationModel0ViolationClassificationEnum["FELONY3RDDEGREE"] = "FELONY_3RD_DEGREE";
87
- ViolationModel0ViolationClassificationEnum["FELONY4THDEGREE"] = "FELONY_4TH_DEGREE";
88
- ViolationModel0ViolationClassificationEnum["FELONY5THDEGREE"] = "FELONY_5TH_DEGREE";
89
- ViolationModel0ViolationClassificationEnum["GROSSMISDEMEANOR"] = "GROSS_MISDEMEANOR";
90
- ViolationModel0ViolationClassificationEnum["HIGHANDAGGRAVATEDMISDEMEANOR"] = "HIGH_AND_AGGRAVATED_MISDEMEANOR";
91
- ViolationModel0ViolationClassificationEnum["INFRACTION"] = "INFRACTION";
92
- ViolationModel0ViolationClassificationEnum["LEVEL4FELONY"] = "LEVEL_4_FELONY";
93
- ViolationModel0ViolationClassificationEnum["LEVEL5FELONY"] = "LEVEL_5_FELONY";
94
- ViolationModel0ViolationClassificationEnum["LEVEL6FELONY"] = "LEVEL_6_FELONY";
95
- ViolationModel0ViolationClassificationEnum["MINORMISDEMEANOR"] = "MINOR_MISDEMEANOR";
96
- ViolationModel0ViolationClassificationEnum["MISDEMEANOR"] = "MISDEMEANOR";
97
- ViolationModel0ViolationClassificationEnum["MISDEMEANOR1STDEGREE"] = "MISDEMEANOR_1ST_DEGREE";
98
- ViolationModel0ViolationClassificationEnum["MISDEMEANOR2NDDEGREE"] = "MISDEMEANOR_2ND_DEGREE";
99
- ViolationModel0ViolationClassificationEnum["MISDEMEANOR3RDDEGREE"] = "MISDEMEANOR_3RD_DEGREE";
100
- ViolationModel0ViolationClassificationEnum["MISDEMEANOR4THDEGREE"] = "MISDEMEANOR_4TH_DEGREE";
101
- ViolationModel0ViolationClassificationEnum["MISDEMEANORWITHREFUND"] = "MISDEMEANOR_WITH_REFUND";
102
- ViolationModel0ViolationClassificationEnum["NONMOVING"] = "NON_MOVING";
103
- ViolationModel0ViolationClassificationEnum["NONREPORTABLE"] = "NON_REPORTABLE";
104
- ViolationModel0ViolationClassificationEnum["PETTYMISDEMEANOR"] = "PETTY_MISDEMEANOR";
105
- ViolationModel0ViolationClassificationEnum["QUASICRIMINAL"] = "QUASI_CRIMINAL";
106
- ViolationModel0ViolationClassificationEnum["SUMMARYOFFENSE"] = "SUMMARY_OFFENSE";
107
- ViolationModel0ViolationClassificationEnum["SUMMARYOFFENSENOREFUND"] = "SUMMARY_OFFENSE_NO_REFUND";
108
- ViolationModel0ViolationClassificationEnum["WOBBLERTOFELONY"] = "WOBBLER_TO_FELONY";
109
- ViolationModel0ViolationClassificationEnum["WOBBLERTOMISDEMEANOR"] = "WOBBLER_TO_MISDEMEANOR";
110
- })(ViolationModel0ViolationClassificationEnum || (ViolationModel0ViolationClassificationEnum = {}));
@@ -1,60 +0,0 @@
1
- /**
2
- * OffTheRecord Rest Service API - Devo
3
- * A service to handle your traffic tickets
4
- *
5
- * The version of the OpenAPI document: 1.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface WorkflowViolationPenaltyModel
16
- */
17
- export interface WorkflowViolationPenaltyModel {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof WorkflowViolationPenaltyModel
22
- */
23
- penaltyFriendlyDescription?: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof WorkflowViolationPenaltyModel
28
- */
29
- penaltyType?: WorkflowViolationPenaltyModelPenaltyTypeEnum;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof WorkflowViolationPenaltyModel
34
- */
35
- penaltyValue?: string;
36
- }
37
- export declare function WorkflowViolationPenaltyModelFromJSON(json: any): WorkflowViolationPenaltyModel;
38
- export declare function WorkflowViolationPenaltyModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkflowViolationPenaltyModel;
39
- export declare function WorkflowViolationPenaltyModelToJSON(value?: WorkflowViolationPenaltyModel | null): any;
40
- /**
41
- * @export
42
- * @enum {string}
43
- */
44
- export declare enum WorkflowViolationPenaltyModelPenaltyTypeEnum {
45
- DEMERITPOINTS = "DEMERIT_POINTS",
46
- INCARCERATIONMAXDAYS = "INCARCERATION_MAX_DAYS",
47
- INCARCERATIONMINDAYS = "INCARCERATION_MIN_DAYS",
48
- INSURANCEPOINTS = "INSURANCE_POINTS",
49
- INSURANCERATEINCREASE = "INSURANCE_RATE_INCREASE",
50
- LICENSEREVOCATIONMAXDAYS = "LICENSE_REVOCATION_MAX_DAYS",
51
- LICENSEREVOCATIONMINDAYS = "LICENSE_REVOCATION_MIN_DAYS",
52
- LICENSESUSPENSIONMAXDAYS = "LICENSE_SUSPENSION_MAX_DAYS",
53
- LICENSESUSPENSIONMINDAYS = "LICENSE_SUSPENSION_MIN_DAYS",
54
- MANDATORYCOURTAPPEARANCE = "MANDATORY_COURT_APPEARANCE",
55
- MANDATORYCOURTAPPEARANCEWITHATTORNEY = "MANDATORY_COURT_APPEARANCE_WITH_ATTORNEY",
56
- MAXBAILAMOUNT = "MAX_BAIL_AMOUNT",
57
- MINBAILAMOUNT = "MIN_BAIL_AMOUNT",
58
- PROBATIONINDAYS = "PROBATION_IN_DAYS",
59
- TOTALBAILAMOUNT = "TOTAL_BAIL_AMOUNT"
60
- }
@@ -1,62 +0,0 @@
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 WorkflowViolationPenaltyModelFromJSON(json) {
16
- return WorkflowViolationPenaltyModelFromJSONTyped(json, false);
17
- }
18
- export function WorkflowViolationPenaltyModelFromJSONTyped(json, ignoreDiscriminator) {
19
- if ((json === undefined) || (json === null)) {
20
- return json;
21
- }
22
- return {
23
- 'penaltyFriendlyDescription': !exists(json, 'penaltyFriendlyDescription') ? undefined : json['penaltyFriendlyDescription'],
24
- 'penaltyType': !exists(json, 'penaltyType') ? undefined : json['penaltyType'],
25
- 'penaltyValue': !exists(json, 'penaltyValue') ? undefined : json['penaltyValue'],
26
- };
27
- }
28
- export function WorkflowViolationPenaltyModelToJSON(value) {
29
- if (value === undefined) {
30
- return undefined;
31
- }
32
- if (value === null) {
33
- return null;
34
- }
35
- return {
36
- 'penaltyFriendlyDescription': value.penaltyFriendlyDescription,
37
- 'penaltyType': value.penaltyType,
38
- 'penaltyValue': value.penaltyValue,
39
- };
40
- }
41
- /**
42
- * @export
43
- * @enum {string}
44
- */
45
- export var WorkflowViolationPenaltyModelPenaltyTypeEnum;
46
- (function (WorkflowViolationPenaltyModelPenaltyTypeEnum) {
47
- WorkflowViolationPenaltyModelPenaltyTypeEnum["DEMERITPOINTS"] = "DEMERIT_POINTS";
48
- WorkflowViolationPenaltyModelPenaltyTypeEnum["INCARCERATIONMAXDAYS"] = "INCARCERATION_MAX_DAYS";
49
- WorkflowViolationPenaltyModelPenaltyTypeEnum["INCARCERATIONMINDAYS"] = "INCARCERATION_MIN_DAYS";
50
- WorkflowViolationPenaltyModelPenaltyTypeEnum["INSURANCEPOINTS"] = "INSURANCE_POINTS";
51
- WorkflowViolationPenaltyModelPenaltyTypeEnum["INSURANCERATEINCREASE"] = "INSURANCE_RATE_INCREASE";
52
- WorkflowViolationPenaltyModelPenaltyTypeEnum["LICENSEREVOCATIONMAXDAYS"] = "LICENSE_REVOCATION_MAX_DAYS";
53
- WorkflowViolationPenaltyModelPenaltyTypeEnum["LICENSEREVOCATIONMINDAYS"] = "LICENSE_REVOCATION_MIN_DAYS";
54
- WorkflowViolationPenaltyModelPenaltyTypeEnum["LICENSESUSPENSIONMAXDAYS"] = "LICENSE_SUSPENSION_MAX_DAYS";
55
- WorkflowViolationPenaltyModelPenaltyTypeEnum["LICENSESUSPENSIONMINDAYS"] = "LICENSE_SUSPENSION_MIN_DAYS";
56
- WorkflowViolationPenaltyModelPenaltyTypeEnum["MANDATORYCOURTAPPEARANCE"] = "MANDATORY_COURT_APPEARANCE";
57
- WorkflowViolationPenaltyModelPenaltyTypeEnum["MANDATORYCOURTAPPEARANCEWITHATTORNEY"] = "MANDATORY_COURT_APPEARANCE_WITH_ATTORNEY";
58
- WorkflowViolationPenaltyModelPenaltyTypeEnum["MAXBAILAMOUNT"] = "MAX_BAIL_AMOUNT";
59
- WorkflowViolationPenaltyModelPenaltyTypeEnum["MINBAILAMOUNT"] = "MIN_BAIL_AMOUNT";
60
- WorkflowViolationPenaltyModelPenaltyTypeEnum["PROBATIONINDAYS"] = "PROBATION_IN_DAYS";
61
- WorkflowViolationPenaltyModelPenaltyTypeEnum["TOTALBAILAMOUNT"] = "TOTAL_BAIL_AMOUNT";
62
- })(WorkflowViolationPenaltyModelPenaltyTypeEnum || (WorkflowViolationPenaltyModelPenaltyTypeEnum = {}));