@otr-app/shared-backend-generated-client 2.4.32 → 2.4.34
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 +10 -0
- package/dist/angular/api/api.ts +3 -1
- package/dist/angular/api/ocrPipelineController.service.ts +234 -0
- package/dist/angular/api.module.ts +1 -0
- package/dist/angular/model/citationIssueDate.ts +17 -0
- package/dist/angular/model/courtName.ts +20 -0
- package/dist/angular/model/existingAccountDetails.ts +3 -1
- package/dist/angular/model/models.ts +9 -0
- package/dist/angular/model/predictCitationRequest.ts +19 -0
- package/dist/angular/model/predictCitationResponse.ts +18 -0
- package/dist/angular/model/predictRichCitationResponse.ts +18 -0
- package/dist/angular/model/richCitationInferenceResponse.ts +42 -0
- package/dist/angular/model/skipMap.ts +18 -0
- package/dist/angular/model/slimCitationInferenceResponse.ts +27 -0
- package/dist/angular/model/violationNames.ts +19 -0
- package/dist/otrBackendService.js +74 -0
- package/dist/otrBackendService.min.js +3 -3
- package/dist/typescript/api/OcrPipelineControllerApi.d.ts +33 -0
- package/dist/typescript/api/OcrPipelineControllerApi.js +79 -0
- package/dist/typescript/api/api.d.ts +3 -1
- package/dist/typescript/api/api.js +3 -1
- package/dist/typescript/api.module.js +1 -0
- package/dist/typescript/model/CitationIssueDate.d.ts +14 -0
- package/dist/typescript/model/CitationIssueDate.js +13 -0
- package/dist/typescript/model/CourtName.d.ts +17 -0
- package/dist/typescript/model/CourtName.js +13 -0
- package/dist/typescript/model/ExistingAccountDetails.d.ts +3 -1
- package/dist/typescript/model/PredictCitationRequest.d.ts +16 -0
- package/dist/typescript/model/PredictCitationRequest.js +13 -0
- package/dist/typescript/model/PredictCitationResponse.d.ts +15 -0
- package/dist/typescript/model/PredictCitationResponse.js +13 -0
- package/dist/typescript/model/PredictRichCitationResponse.d.ts +15 -0
- package/dist/typescript/model/PredictRichCitationResponse.js +13 -0
- package/dist/typescript/model/RichCitationInferenceResponse.d.ts +39 -0
- package/dist/typescript/model/RichCitationInferenceResponse.js +13 -0
- package/dist/typescript/model/SkipMap.d.ts +15 -0
- package/dist/typescript/model/SkipMap.js +13 -0
- package/dist/typescript/model/SlimCitationInferenceResponse.d.ts +21 -0
- package/dist/typescript/model/SlimCitationInferenceResponse.js +13 -0
- package/dist/typescript/model/ViolationNames.d.ts +16 -0
- package/dist/typescript/model/ViolationNames.js +13 -0
- package/dist/typescript/model/models.d.ts +9 -0
- package/dist/typescript/model/models.js +9 -0
- package/dist/typescript-fetch/apis/OcrPipelineControllerApi.d.ts +40 -0
- package/dist/typescript-fetch/apis/OcrPipelineControllerApi.js +89 -0
- package/dist/typescript-fetch/apis/index.d.ts +1 -0
- package/dist/typescript-fetch/apis/index.js +1 -0
- package/dist/typescript-fetch/models/CitationIssueDate.d.ts +27 -0
- package/dist/typescript-fetch/models/CitationIssueDate.js +36 -0
- package/dist/typescript-fetch/models/CourtName.d.ts +45 -0
- package/dist/typescript-fetch/models/CourtName.js +42 -0
- package/dist/typescript-fetch/models/ExistingAccountDetails.d.ts +14 -2
- package/dist/typescript-fetch/models/ExistingAccountDetails.js +6 -2
- package/dist/typescript-fetch/models/PredictCitationRequest.d.ts +39 -0
- package/dist/typescript-fetch/models/PredictCitationRequest.js +40 -0
- package/dist/typescript-fetch/models/PredictCitationResponse.d.ts +28 -0
- package/dist/typescript-fetch/models/PredictCitationResponse.js +37 -0
- package/dist/typescript-fetch/models/PredictRichCitationResponse.d.ts +28 -0
- package/dist/typescript-fetch/models/PredictRichCitationResponse.js +37 -0
- package/dist/typescript-fetch/models/RichCitationInferenceResponse.d.ts +177 -0
- package/dist/typescript-fetch/models/RichCitationInferenceResponse.js +86 -0
- package/dist/typescript-fetch/models/SkipMap.d.ts +33 -0
- package/dist/typescript-fetch/models/SkipMap.js +38 -0
- package/dist/typescript-fetch/models/SlimCitationInferenceResponse.d.ts +64 -0
- package/dist/typescript-fetch/models/SlimCitationInferenceResponse.js +49 -0
- package/dist/typescript-fetch/models/ViolationNames.d.ts +39 -0
- package/dist/typescript-fetch/models/ViolationNames.js +40 -0
- package/dist/typescript-fetch/models/index.d.ts +9 -0
- package/dist/typescript-fetch/models/index.js +9 -0
- package/package.json +1 -1
|
@@ -0,0 +1,177 @@
|
|
|
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 RichCitationInferenceResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface RichCitationInferenceResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RichCitationInferenceResponse
|
|
22
|
+
*/
|
|
23
|
+
caseNumber?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RichCitationInferenceResponse
|
|
28
|
+
*/
|
|
29
|
+
citationCity?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof RichCitationInferenceResponse
|
|
34
|
+
*/
|
|
35
|
+
citationCounty?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof RichCitationInferenceResponse
|
|
40
|
+
*/
|
|
41
|
+
citationId?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof RichCitationInferenceResponse
|
|
46
|
+
*/
|
|
47
|
+
citationIssueDate?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof RichCitationInferenceResponse
|
|
52
|
+
*/
|
|
53
|
+
citationState?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof RichCitationInferenceResponse
|
|
58
|
+
*/
|
|
59
|
+
courtName?: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {boolean}
|
|
63
|
+
* @memberof RichCitationInferenceResponse
|
|
64
|
+
*/
|
|
65
|
+
hasAccident?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {boolean}
|
|
69
|
+
* @memberof RichCitationInferenceResponse
|
|
70
|
+
*/
|
|
71
|
+
isCdl?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof RichCitationInferenceResponse
|
|
76
|
+
*/
|
|
77
|
+
offenderCity?: string;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof RichCitationInferenceResponse
|
|
82
|
+
*/
|
|
83
|
+
offenderCounty?: string;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof RichCitationInferenceResponse
|
|
88
|
+
*/
|
|
89
|
+
offenderDateOfBirth?: string;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof RichCitationInferenceResponse
|
|
94
|
+
*/
|
|
95
|
+
offenderDriverLicenseNumber?: string;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof RichCitationInferenceResponse
|
|
100
|
+
*/
|
|
101
|
+
offenderFirstName?: string;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof RichCitationInferenceResponse
|
|
106
|
+
*/
|
|
107
|
+
offenderLastName?: string;
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof RichCitationInferenceResponse
|
|
112
|
+
*/
|
|
113
|
+
offenderMiddleName?: string;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof RichCitationInferenceResponse
|
|
118
|
+
*/
|
|
119
|
+
offenderState?: string;
|
|
120
|
+
/**
|
|
121
|
+
*
|
|
122
|
+
* @type {string}
|
|
123
|
+
* @memberof RichCitationInferenceResponse
|
|
124
|
+
*/
|
|
125
|
+
race?: string;
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
* @type {string}
|
|
129
|
+
* @memberof RichCitationInferenceResponse
|
|
130
|
+
*/
|
|
131
|
+
sex?: string;
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @type {string}
|
|
135
|
+
* @memberof RichCitationInferenceResponse
|
|
136
|
+
*/
|
|
137
|
+
totalPenaltyAmount?: string;
|
|
138
|
+
/**
|
|
139
|
+
*
|
|
140
|
+
* @type {string}
|
|
141
|
+
* @memberof RichCitationInferenceResponse
|
|
142
|
+
*/
|
|
143
|
+
vehicleColor?: string;
|
|
144
|
+
/**
|
|
145
|
+
*
|
|
146
|
+
* @type {string}
|
|
147
|
+
* @memberof RichCitationInferenceResponse
|
|
148
|
+
*/
|
|
149
|
+
vehicleLicensePlateNumber?: string;
|
|
150
|
+
/**
|
|
151
|
+
*
|
|
152
|
+
* @type {string}
|
|
153
|
+
* @memberof RichCitationInferenceResponse
|
|
154
|
+
*/
|
|
155
|
+
vehicleMake?: string;
|
|
156
|
+
/**
|
|
157
|
+
*
|
|
158
|
+
* @type {string}
|
|
159
|
+
* @memberof RichCitationInferenceResponse
|
|
160
|
+
*/
|
|
161
|
+
vehicleModel?: string;
|
|
162
|
+
/**
|
|
163
|
+
*
|
|
164
|
+
* @type {string}
|
|
165
|
+
* @memberof RichCitationInferenceResponse
|
|
166
|
+
*/
|
|
167
|
+
vehicleYear?: string;
|
|
168
|
+
/**
|
|
169
|
+
*
|
|
170
|
+
* @type {Array<string>}
|
|
171
|
+
* @memberof RichCitationInferenceResponse
|
|
172
|
+
*/
|
|
173
|
+
violationNames?: Array<string>;
|
|
174
|
+
}
|
|
175
|
+
export declare function RichCitationInferenceResponseFromJSON(json: any): RichCitationInferenceResponse;
|
|
176
|
+
export declare function RichCitationInferenceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RichCitationInferenceResponse;
|
|
177
|
+
export declare function RichCitationInferenceResponseToJSON(value?: RichCitationInferenceResponse | null): any;
|
|
@@ -0,0 +1,86 @@
|
|
|
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 RichCitationInferenceResponseFromJSON(json) {
|
|
16
|
+
return RichCitationInferenceResponseFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function RichCitationInferenceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
+
if ((json === undefined) || (json === null)) {
|
|
20
|
+
return json;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'caseNumber': !exists(json, 'case_number') ? undefined : json['case_number'],
|
|
24
|
+
'citationCity': !exists(json, 'citation_city') ? undefined : json['citation_city'],
|
|
25
|
+
'citationCounty': !exists(json, 'citation_county') ? undefined : json['citation_county'],
|
|
26
|
+
'citationId': !exists(json, 'citation_id') ? undefined : json['citation_id'],
|
|
27
|
+
'citationIssueDate': !exists(json, 'citation_issue_date') ? undefined : json['citation_issue_date'],
|
|
28
|
+
'citationState': !exists(json, 'citation_state') ? undefined : json['citation_state'],
|
|
29
|
+
'courtName': !exists(json, 'court_name') ? undefined : json['court_name'],
|
|
30
|
+
'hasAccident': !exists(json, 'has_accident') ? undefined : json['has_accident'],
|
|
31
|
+
'isCdl': !exists(json, 'is_cdl') ? undefined : json['is_cdl'],
|
|
32
|
+
'offenderCity': !exists(json, 'offender_city') ? undefined : json['offender_city'],
|
|
33
|
+
'offenderCounty': !exists(json, 'offender_county') ? undefined : json['offender_county'],
|
|
34
|
+
'offenderDateOfBirth': !exists(json, 'offender_date_of_birth') ? undefined : json['offender_date_of_birth'],
|
|
35
|
+
'offenderDriverLicenseNumber': !exists(json, 'offender_driver_license_number') ? undefined : json['offender_driver_license_number'],
|
|
36
|
+
'offenderFirstName': !exists(json, 'offender_first_name') ? undefined : json['offender_first_name'],
|
|
37
|
+
'offenderLastName': !exists(json, 'offender_last_name') ? undefined : json['offender_last_name'],
|
|
38
|
+
'offenderMiddleName': !exists(json, 'offender_middle_name') ? undefined : json['offender_middle_name'],
|
|
39
|
+
'offenderState': !exists(json, 'offender_state') ? undefined : json['offender_state'],
|
|
40
|
+
'race': !exists(json, 'race') ? undefined : json['race'],
|
|
41
|
+
'sex': !exists(json, 'sex') ? undefined : json['sex'],
|
|
42
|
+
'totalPenaltyAmount': !exists(json, 'total_penalty_amount') ? undefined : json['total_penalty_amount'],
|
|
43
|
+
'vehicleColor': !exists(json, 'vehicle_color') ? undefined : json['vehicle_color'],
|
|
44
|
+
'vehicleLicensePlateNumber': !exists(json, 'vehicle_license_plate_number') ? undefined : json['vehicle_license_plate_number'],
|
|
45
|
+
'vehicleMake': !exists(json, 'vehicle_make') ? undefined : json['vehicle_make'],
|
|
46
|
+
'vehicleModel': !exists(json, 'vehicle_model') ? undefined : json['vehicle_model'],
|
|
47
|
+
'vehicleYear': !exists(json, 'vehicle_year') ? undefined : json['vehicle_year'],
|
|
48
|
+
'violationNames': !exists(json, 'violation_names') ? undefined : json['violation_names'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
export function RichCitationInferenceResponseToJSON(value) {
|
|
52
|
+
if (value === undefined) {
|
|
53
|
+
return undefined;
|
|
54
|
+
}
|
|
55
|
+
if (value === null) {
|
|
56
|
+
return null;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'case_number': value.caseNumber,
|
|
60
|
+
'citation_city': value.citationCity,
|
|
61
|
+
'citation_county': value.citationCounty,
|
|
62
|
+
'citation_id': value.citationId,
|
|
63
|
+
'citation_issue_date': value.citationIssueDate,
|
|
64
|
+
'citation_state': value.citationState,
|
|
65
|
+
'court_name': value.courtName,
|
|
66
|
+
'has_accident': value.hasAccident,
|
|
67
|
+
'is_cdl': value.isCdl,
|
|
68
|
+
'offender_city': value.offenderCity,
|
|
69
|
+
'offender_county': value.offenderCounty,
|
|
70
|
+
'offender_date_of_birth': value.offenderDateOfBirth,
|
|
71
|
+
'offender_driver_license_number': value.offenderDriverLicenseNumber,
|
|
72
|
+
'offender_first_name': value.offenderFirstName,
|
|
73
|
+
'offender_last_name': value.offenderLastName,
|
|
74
|
+
'offender_middle_name': value.offenderMiddleName,
|
|
75
|
+
'offender_state': value.offenderState,
|
|
76
|
+
'race': value.race,
|
|
77
|
+
'sex': value.sex,
|
|
78
|
+
'total_penalty_amount': value.totalPenaltyAmount,
|
|
79
|
+
'vehicle_color': value.vehicleColor,
|
|
80
|
+
'vehicle_license_plate_number': value.vehicleLicensePlateNumber,
|
|
81
|
+
'vehicle_make': value.vehicleMake,
|
|
82
|
+
'vehicle_model': value.vehicleModel,
|
|
83
|
+
'vehicle_year': value.vehicleYear,
|
|
84
|
+
'violation_names': value.violationNames,
|
|
85
|
+
};
|
|
86
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 SkipMap
|
|
16
|
+
*/
|
|
17
|
+
export interface SkipMap {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof SkipMap
|
|
22
|
+
*/
|
|
23
|
+
handwritten?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SkipMap
|
|
28
|
+
*/
|
|
29
|
+
template?: string;
|
|
30
|
+
}
|
|
31
|
+
export declare function SkipMapFromJSON(json: any): SkipMap;
|
|
32
|
+
export declare function SkipMapFromJSONTyped(json: any, ignoreDiscriminator: boolean): SkipMap;
|
|
33
|
+
export declare function SkipMapToJSON(value?: SkipMap | null): any;
|
|
@@ -0,0 +1,38 @@
|
|
|
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 SkipMapFromJSON(json) {
|
|
16
|
+
return SkipMapFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function SkipMapFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
+
if ((json === undefined) || (json === null)) {
|
|
20
|
+
return json;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'handwritten': !exists(json, 'handwritten') ? undefined : json['handwritten'],
|
|
24
|
+
'template': !exists(json, 'template') ? undefined : json['template'],
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export function SkipMapToJSON(value) {
|
|
28
|
+
if (value === undefined) {
|
|
29
|
+
return undefined;
|
|
30
|
+
}
|
|
31
|
+
if (value === null) {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'handwritten': value.handwritten,
|
|
36
|
+
'template': value.template,
|
|
37
|
+
};
|
|
38
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
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 { CitationIssueDate, CourtName, SkipMap, ViolationNames } from './';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SlimCitationInferenceResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SlimCitationInferenceResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {CitationIssueDate}
|
|
22
|
+
* @memberof SlimCitationInferenceResponse
|
|
23
|
+
*/
|
|
24
|
+
citationIssueDate?: CitationIssueDate;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {CourtName}
|
|
28
|
+
* @memberof SlimCitationInferenceResponse
|
|
29
|
+
*/
|
|
30
|
+
courtName?: CourtName;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {boolean}
|
|
34
|
+
* @memberof SlimCitationInferenceResponse
|
|
35
|
+
*/
|
|
36
|
+
handwritten?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof SlimCitationInferenceResponse
|
|
41
|
+
*/
|
|
42
|
+
ocrOutput?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {SkipMap}
|
|
46
|
+
* @memberof SlimCitationInferenceResponse
|
|
47
|
+
*/
|
|
48
|
+
skipMap?: SkipMap;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof SlimCitationInferenceResponse
|
|
53
|
+
*/
|
|
54
|
+
template?: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {ViolationNames}
|
|
58
|
+
* @memberof SlimCitationInferenceResponse
|
|
59
|
+
*/
|
|
60
|
+
violationNames?: ViolationNames;
|
|
61
|
+
}
|
|
62
|
+
export declare function SlimCitationInferenceResponseFromJSON(json: any): SlimCitationInferenceResponse;
|
|
63
|
+
export declare function SlimCitationInferenceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SlimCitationInferenceResponse;
|
|
64
|
+
export declare function SlimCitationInferenceResponseToJSON(value?: SlimCitationInferenceResponse | null): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
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 { CitationIssueDateFromJSON, CitationIssueDateToJSON, CourtNameFromJSON, CourtNameToJSON, SkipMapFromJSON, SkipMapToJSON, ViolationNamesFromJSON, ViolationNamesToJSON, } from './';
|
|
16
|
+
export function SlimCitationInferenceResponseFromJSON(json) {
|
|
17
|
+
return SlimCitationInferenceResponseFromJSONTyped(json, false);
|
|
18
|
+
}
|
|
19
|
+
export function SlimCitationInferenceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
20
|
+
if ((json === undefined) || (json === null)) {
|
|
21
|
+
return json;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'citationIssueDate': !exists(json, 'citation_issue_date') ? undefined : CitationIssueDateFromJSON(json['citation_issue_date']),
|
|
25
|
+
'courtName': !exists(json, 'court_name') ? undefined : CourtNameFromJSON(json['court_name']),
|
|
26
|
+
'handwritten': !exists(json, 'handwritten') ? undefined : json['handwritten'],
|
|
27
|
+
'ocrOutput': !exists(json, 'ocr_output') ? undefined : json['ocr_output'],
|
|
28
|
+
'skipMap': !exists(json, 'skip_map') ? undefined : SkipMapFromJSON(json['skip_map']),
|
|
29
|
+
'template': !exists(json, 'template') ? undefined : json['template'],
|
|
30
|
+
'violationNames': !exists(json, 'violation_names') ? undefined : ViolationNamesFromJSON(json['violation_names']),
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function SlimCitationInferenceResponseToJSON(value) {
|
|
34
|
+
if (value === undefined) {
|
|
35
|
+
return undefined;
|
|
36
|
+
}
|
|
37
|
+
if (value === null) {
|
|
38
|
+
return null;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'citation_issue_date': CitationIssueDateToJSON(value.citationIssueDate),
|
|
42
|
+
'court_name': CourtNameToJSON(value.courtName),
|
|
43
|
+
'handwritten': value.handwritten,
|
|
44
|
+
'ocr_output': value.ocrOutput,
|
|
45
|
+
'skip_map': SkipMapToJSON(value.skipMap),
|
|
46
|
+
'template': value.template,
|
|
47
|
+
'violation_names': ViolationNamesToJSON(value.violationNames),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 ViolationNames
|
|
16
|
+
*/
|
|
17
|
+
export interface ViolationNames {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof ViolationNames
|
|
22
|
+
*/
|
|
23
|
+
llmPrediction?: Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof ViolationNames
|
|
28
|
+
*/
|
|
29
|
+
pineconeMatches?: Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<number>}
|
|
33
|
+
* @memberof ViolationNames
|
|
34
|
+
*/
|
|
35
|
+
pineconeScores?: Array<number>;
|
|
36
|
+
}
|
|
37
|
+
export declare function ViolationNamesFromJSON(json: any): ViolationNames;
|
|
38
|
+
export declare function ViolationNamesFromJSONTyped(json: any, ignoreDiscriminator: boolean): ViolationNames;
|
|
39
|
+
export declare function ViolationNamesToJSON(value?: ViolationNames | null): any;
|
|
@@ -0,0 +1,40 @@
|
|
|
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 ViolationNamesFromJSON(json) {
|
|
16
|
+
return ViolationNamesFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function ViolationNamesFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
+
if ((json === undefined) || (json === null)) {
|
|
20
|
+
return json;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'llmPrediction': !exists(json, 'llm_prediction') ? undefined : json['llm_prediction'],
|
|
24
|
+
'pineconeMatches': !exists(json, 'pinecone_matches') ? undefined : json['pinecone_matches'],
|
|
25
|
+
'pineconeScores': !exists(json, 'pinecone_scores') ? undefined : json['pinecone_scores'],
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
export function ViolationNamesToJSON(value) {
|
|
29
|
+
if (value === undefined) {
|
|
30
|
+
return undefined;
|
|
31
|
+
}
|
|
32
|
+
if (value === null) {
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'llm_prediction': value.llmPrediction,
|
|
37
|
+
'pinecone_matches': value.pineconeMatches,
|
|
38
|
+
'pinecone_scores': value.pineconeScores,
|
|
39
|
+
};
|
|
40
|
+
}
|
|
@@ -121,6 +121,7 @@ export * from './ChargeFeeToLawfirmResponse';
|
|
|
121
121
|
export * from './CitationAuditEventModel';
|
|
122
122
|
export * from './CitationAuditLog';
|
|
123
123
|
export * from './CitationInputRequest';
|
|
124
|
+
export * from './CitationIssueDate';
|
|
124
125
|
export * from './CitationModel';
|
|
125
126
|
export * from './CitationModelReq';
|
|
126
127
|
export * from './CitationModelRes';
|
|
@@ -157,6 +158,7 @@ export * from './CourtDomainReq';
|
|
|
157
158
|
export * from './CourtDomainRes';
|
|
158
159
|
export * from './CourtEntity';
|
|
159
160
|
export * from './CourtInputRequest';
|
|
161
|
+
export * from './CourtName';
|
|
160
162
|
export * from './CourtResponseModel';
|
|
161
163
|
export * from './CoverageToRemove';
|
|
162
164
|
export * from './CreateBillingSubscriptionItemModel';
|
|
@@ -548,9 +550,12 @@ export * from './PhoneNumberDomainRes';
|
|
|
548
550
|
export * from './PostCourtCoverageRequest';
|
|
549
551
|
export * from './PostFeedbackRequest';
|
|
550
552
|
export * from './PotentialCustomerDomain';
|
|
553
|
+
export * from './PredictCitationRequest';
|
|
554
|
+
export * from './PredictCitationResponse';
|
|
551
555
|
export * from './PredictCitationTextRequest';
|
|
552
556
|
export * from './PredictImageClassificationRequest';
|
|
553
557
|
export * from './PredictImageClassificationResponse';
|
|
558
|
+
export * from './PredictRichCitationResponse';
|
|
554
559
|
export * from './PreviewDocumentRequest';
|
|
555
560
|
export * from './PriceMatchRequest';
|
|
556
561
|
export * from './PriceMatchResponse';
|
|
@@ -586,6 +591,7 @@ export * from './ReverseLawfirmPayoutRequest';
|
|
|
586
591
|
export * from './ReviewCommentModel';
|
|
587
592
|
export * from './ReviewRatingModel';
|
|
588
593
|
export * from './ReviewVoteAggregateModel';
|
|
594
|
+
export * from './RichCitationInferenceResponse';
|
|
589
595
|
export * from './SNSNotificationRequest';
|
|
590
596
|
export * from './SSLCertificateResponse';
|
|
591
597
|
export * from './SaveAgentBookingRequest';
|
|
@@ -643,6 +649,8 @@ export * from './SignRecordingUrlRequest';
|
|
|
643
649
|
export * from './SignRecordingUrlResponse';
|
|
644
650
|
export * from './SimpleCredentialsResponse';
|
|
645
651
|
export * from './SingleSignOnResponse';
|
|
652
|
+
export * from './SkipMap';
|
|
653
|
+
export * from './SlimCitationInferenceResponse';
|
|
646
654
|
export * from './SocialLoginRequest';
|
|
647
655
|
export * from './SocialLoginResponse';
|
|
648
656
|
export * from './SocialLoginUser';
|
|
@@ -795,6 +803,7 @@ export * from './ViolationClassificationModel';
|
|
|
795
803
|
export * from './ViolationInput';
|
|
796
804
|
export * from './ViolationInputRequest';
|
|
797
805
|
export * from './ViolationModel';
|
|
806
|
+
export * from './ViolationNames';
|
|
798
807
|
export * from './ViolationPenaltyModel';
|
|
799
808
|
export * from './ViolationPenaltyResponse';
|
|
800
809
|
export * from './ViolationResponse';
|
|
@@ -121,6 +121,7 @@ export * from './ChargeFeeToLawfirmResponse';
|
|
|
121
121
|
export * from './CitationAuditEventModel';
|
|
122
122
|
export * from './CitationAuditLog';
|
|
123
123
|
export * from './CitationInputRequest';
|
|
124
|
+
export * from './CitationIssueDate';
|
|
124
125
|
export * from './CitationModel';
|
|
125
126
|
export * from './CitationModelReq';
|
|
126
127
|
export * from './CitationModelRes';
|
|
@@ -157,6 +158,7 @@ export * from './CourtDomainReq';
|
|
|
157
158
|
export * from './CourtDomainRes';
|
|
158
159
|
export * from './CourtEntity';
|
|
159
160
|
export * from './CourtInputRequest';
|
|
161
|
+
export * from './CourtName';
|
|
160
162
|
export * from './CourtResponseModel';
|
|
161
163
|
export * from './CoverageToRemove';
|
|
162
164
|
export * from './CreateBillingSubscriptionItemModel';
|
|
@@ -548,9 +550,12 @@ export * from './PhoneNumberDomainRes';
|
|
|
548
550
|
export * from './PostCourtCoverageRequest';
|
|
549
551
|
export * from './PostFeedbackRequest';
|
|
550
552
|
export * from './PotentialCustomerDomain';
|
|
553
|
+
export * from './PredictCitationRequest';
|
|
554
|
+
export * from './PredictCitationResponse';
|
|
551
555
|
export * from './PredictCitationTextRequest';
|
|
552
556
|
export * from './PredictImageClassificationRequest';
|
|
553
557
|
export * from './PredictImageClassificationResponse';
|
|
558
|
+
export * from './PredictRichCitationResponse';
|
|
554
559
|
export * from './PreviewDocumentRequest';
|
|
555
560
|
export * from './PriceMatchRequest';
|
|
556
561
|
export * from './PriceMatchResponse';
|
|
@@ -586,6 +591,7 @@ export * from './ReverseLawfirmPayoutRequest';
|
|
|
586
591
|
export * from './ReviewCommentModel';
|
|
587
592
|
export * from './ReviewRatingModel';
|
|
588
593
|
export * from './ReviewVoteAggregateModel';
|
|
594
|
+
export * from './RichCitationInferenceResponse';
|
|
589
595
|
export * from './SNSNotificationRequest';
|
|
590
596
|
export * from './SSLCertificateResponse';
|
|
591
597
|
export * from './SaveAgentBookingRequest';
|
|
@@ -643,6 +649,8 @@ export * from './SignRecordingUrlRequest';
|
|
|
643
649
|
export * from './SignRecordingUrlResponse';
|
|
644
650
|
export * from './SimpleCredentialsResponse';
|
|
645
651
|
export * from './SingleSignOnResponse';
|
|
652
|
+
export * from './SkipMap';
|
|
653
|
+
export * from './SlimCitationInferenceResponse';
|
|
646
654
|
export * from './SocialLoginRequest';
|
|
647
655
|
export * from './SocialLoginResponse';
|
|
648
656
|
export * from './SocialLoginUser';
|
|
@@ -795,6 +803,7 @@ export * from './ViolationClassificationModel';
|
|
|
795
803
|
export * from './ViolationInput';
|
|
796
804
|
export * from './ViolationInputRequest';
|
|
797
805
|
export * from './ViolationModel';
|
|
806
|
+
export * from './ViolationNames';
|
|
798
807
|
export * from './ViolationPenaltyModel';
|
|
799
808
|
export * from './ViolationPenaltyResponse';
|
|
800
809
|
export * from './ViolationResponse';
|