@otr-app/shared-backend-generated-client 2.3.129 → 2.3.130
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.
|
@@ -15,11 +15,12 @@ export interface PredictImageClassificationResponse {
|
|
|
15
15
|
blurLevel?: string;
|
|
16
16
|
blurLevelConfidenceLevel?: number;
|
|
17
17
|
blurry?: boolean;
|
|
18
|
-
documentType?:
|
|
18
|
+
documentType?: PredictImageClassificationResponse.DocumentTypeEnum;
|
|
19
19
|
documentTypeConfidenceLevel?: number;
|
|
20
20
|
exposure?: string;
|
|
21
21
|
exposureConfidenceLevel?: number;
|
|
22
22
|
federal?: boolean;
|
|
23
|
+
imageCategory?: PredictImageClassificationResponse.ImageCategoryEnum;
|
|
23
24
|
isBlurryConfidenceLevel?: number;
|
|
24
25
|
isFederalConfidenceLevel?: number;
|
|
25
26
|
isTypedConfidenceLevel?: number;
|
|
@@ -28,4 +29,44 @@ export interface PredictImageClassificationResponse {
|
|
|
28
29
|
regionName?: string;
|
|
29
30
|
typed?: boolean;
|
|
30
31
|
}
|
|
32
|
+
export namespace PredictImageClassificationResponse {
|
|
33
|
+
export type DocumentTypeEnum = 'CAMERA_TICKET' | 'CASE_DOCKET' | 'CASE_RESOLUTION' | 'CHANGE_OF_COUNCIL' | 'COLLECTIONS_NOTICE' | 'COURT_NOTICE' | 'DRIVER_LICENSE' | 'FAILURE_TO_APPEAR' | 'FAILURE_TO_PAY' | 'INSURANCE_CARD' | 'NOTICE_OF_APPEARANCE' | 'NOT_A_DOCUMENT' | 'PARKING_TICKET' | 'POLICE_REPORT' | 'REMINDER_NOTICE' | 'REQUEST_FOR_DISCOVERY' | 'SCREENSHOT_TICKET_LIST' | 'SCREENSHOT_TRAFFIC_TICKET' | 'SUSPENSION_NOTICE' | 'TRAFFIC_TICKET' | 'UNRECOGNIZED_DOCUMENT' | 'WARNING_NOTICE' | 'WARRANT';
|
|
34
|
+
export const DocumentTypeEnum = {
|
|
35
|
+
CameraTicket: 'CAMERA_TICKET' as DocumentTypeEnum,
|
|
36
|
+
CaseDocket: 'CASE_DOCKET' as DocumentTypeEnum,
|
|
37
|
+
CaseResolution: 'CASE_RESOLUTION' as DocumentTypeEnum,
|
|
38
|
+
ChangeOfCouncil: 'CHANGE_OF_COUNCIL' as DocumentTypeEnum,
|
|
39
|
+
CollectionsNotice: 'COLLECTIONS_NOTICE' as DocumentTypeEnum,
|
|
40
|
+
CourtNotice: 'COURT_NOTICE' as DocumentTypeEnum,
|
|
41
|
+
DriverLicense: 'DRIVER_LICENSE' as DocumentTypeEnum,
|
|
42
|
+
FailureToAppear: 'FAILURE_TO_APPEAR' as DocumentTypeEnum,
|
|
43
|
+
FailureToPay: 'FAILURE_TO_PAY' as DocumentTypeEnum,
|
|
44
|
+
InsuranceCard: 'INSURANCE_CARD' as DocumentTypeEnum,
|
|
45
|
+
NoticeOfAppearance: 'NOTICE_OF_APPEARANCE' as DocumentTypeEnum,
|
|
46
|
+
NotADocument: 'NOT_A_DOCUMENT' as DocumentTypeEnum,
|
|
47
|
+
ParkingTicket: 'PARKING_TICKET' as DocumentTypeEnum,
|
|
48
|
+
PoliceReport: 'POLICE_REPORT' as DocumentTypeEnum,
|
|
49
|
+
ReminderNotice: 'REMINDER_NOTICE' as DocumentTypeEnum,
|
|
50
|
+
RequestForDiscovery: 'REQUEST_FOR_DISCOVERY' as DocumentTypeEnum,
|
|
51
|
+
ScreenshotTicketList: 'SCREENSHOT_TICKET_LIST' as DocumentTypeEnum,
|
|
52
|
+
ScreenshotTrafficTicket: 'SCREENSHOT_TRAFFIC_TICKET' as DocumentTypeEnum,
|
|
53
|
+
SuspensionNotice: 'SUSPENSION_NOTICE' as DocumentTypeEnum,
|
|
54
|
+
TrafficTicket: 'TRAFFIC_TICKET' as DocumentTypeEnum,
|
|
55
|
+
UnrecognizedDocument: 'UNRECOGNIZED_DOCUMENT' as DocumentTypeEnum,
|
|
56
|
+
WarningNotice: 'WARNING_NOTICE' as DocumentTypeEnum,
|
|
57
|
+
Warrant: 'WARRANT' as DocumentTypeEnum
|
|
58
|
+
};
|
|
59
|
+
export type ImageCategoryEnum = 'DOCUMENT' | 'GROUP_PHOTO' | 'KEYBOARD' | 'LANDSCAPE' | 'LICENSE_PLATE' | 'OTHER' | 'PET' | 'SELFIE';
|
|
60
|
+
export const ImageCategoryEnum = {
|
|
61
|
+
Document: 'DOCUMENT' as ImageCategoryEnum,
|
|
62
|
+
GroupPhoto: 'GROUP_PHOTO' as ImageCategoryEnum,
|
|
63
|
+
Keyboard: 'KEYBOARD' as ImageCategoryEnum,
|
|
64
|
+
Landscape: 'LANDSCAPE' as ImageCategoryEnum,
|
|
65
|
+
LicensePlate: 'LICENSE_PLATE' as ImageCategoryEnum,
|
|
66
|
+
Other: 'OTHER' as ImageCategoryEnum,
|
|
67
|
+
Pet: 'PET' as ImageCategoryEnum,
|
|
68
|
+
Selfie: 'SELFIE' as ImageCategoryEnum
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
31
72
|
|
|
@@ -13,11 +13,12 @@ export interface PredictImageClassificationResponse {
|
|
|
13
13
|
"blurLevel"?: string;
|
|
14
14
|
"blurLevelConfidenceLevel"?: number;
|
|
15
15
|
"blurry"?: boolean;
|
|
16
|
-
"documentType"?:
|
|
16
|
+
"documentType"?: PredictImageClassificationResponse.DocumentTypeEnum;
|
|
17
17
|
"documentTypeConfidenceLevel"?: number;
|
|
18
18
|
"exposure"?: string;
|
|
19
19
|
"exposureConfidenceLevel"?: number;
|
|
20
20
|
"federal"?: boolean;
|
|
21
|
+
"imageCategory"?: PredictImageClassificationResponse.ImageCategoryEnum;
|
|
21
22
|
"isBlurryConfidenceLevel"?: number;
|
|
22
23
|
"isFederalConfidenceLevel"?: number;
|
|
23
24
|
"isTypedConfidenceLevel"?: number;
|
|
@@ -26,3 +27,40 @@ export interface PredictImageClassificationResponse {
|
|
|
26
27
|
"regionName"?: string;
|
|
27
28
|
"typed"?: boolean;
|
|
28
29
|
}
|
|
30
|
+
export declare namespace PredictImageClassificationResponse {
|
|
31
|
+
enum DocumentTypeEnum {
|
|
32
|
+
CAMERATICKET,
|
|
33
|
+
CASEDOCKET,
|
|
34
|
+
CASERESOLUTION,
|
|
35
|
+
CHANGEOFCOUNCIL,
|
|
36
|
+
COLLECTIONSNOTICE,
|
|
37
|
+
COURTNOTICE,
|
|
38
|
+
DRIVERLICENSE,
|
|
39
|
+
FAILURETOAPPEAR,
|
|
40
|
+
FAILURETOPAY,
|
|
41
|
+
INSURANCECARD,
|
|
42
|
+
NOTICEOFAPPEARANCE,
|
|
43
|
+
NOTADOCUMENT,
|
|
44
|
+
PARKINGTICKET,
|
|
45
|
+
POLICEREPORT,
|
|
46
|
+
REMINDERNOTICE,
|
|
47
|
+
REQUESTFORDISCOVERY,
|
|
48
|
+
SCREENSHOTTICKETLIST,
|
|
49
|
+
SCREENSHOTTRAFFICTICKET,
|
|
50
|
+
SUSPENSIONNOTICE,
|
|
51
|
+
TRAFFICTICKET,
|
|
52
|
+
UNRECOGNIZEDDOCUMENT,
|
|
53
|
+
WARNINGNOTICE,
|
|
54
|
+
WARRANT
|
|
55
|
+
}
|
|
56
|
+
enum ImageCategoryEnum {
|
|
57
|
+
DOCUMENT,
|
|
58
|
+
GROUPPHOTO,
|
|
59
|
+
KEYBOARD,
|
|
60
|
+
LANDSCAPE,
|
|
61
|
+
LICENSEPLATE,
|
|
62
|
+
OTHER,
|
|
63
|
+
PET,
|
|
64
|
+
SELFIE
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -11,3 +11,44 @@
|
|
|
11
11
|
* Do not edit the class manually.
|
|
12
12
|
*/
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.PredictImageClassificationResponse = void 0;
|
|
15
|
+
var PredictImageClassificationResponse;
|
|
16
|
+
(function (PredictImageClassificationResponse) {
|
|
17
|
+
var DocumentTypeEnum;
|
|
18
|
+
(function (DocumentTypeEnum) {
|
|
19
|
+
DocumentTypeEnum[DocumentTypeEnum["CAMERATICKET"] = 'CAMERA_TICKET'] = "CAMERATICKET";
|
|
20
|
+
DocumentTypeEnum[DocumentTypeEnum["CASEDOCKET"] = 'CASE_DOCKET'] = "CASEDOCKET";
|
|
21
|
+
DocumentTypeEnum[DocumentTypeEnum["CASERESOLUTION"] = 'CASE_RESOLUTION'] = "CASERESOLUTION";
|
|
22
|
+
DocumentTypeEnum[DocumentTypeEnum["CHANGEOFCOUNCIL"] = 'CHANGE_OF_COUNCIL'] = "CHANGEOFCOUNCIL";
|
|
23
|
+
DocumentTypeEnum[DocumentTypeEnum["COLLECTIONSNOTICE"] = 'COLLECTIONS_NOTICE'] = "COLLECTIONSNOTICE";
|
|
24
|
+
DocumentTypeEnum[DocumentTypeEnum["COURTNOTICE"] = 'COURT_NOTICE'] = "COURTNOTICE";
|
|
25
|
+
DocumentTypeEnum[DocumentTypeEnum["DRIVERLICENSE"] = 'DRIVER_LICENSE'] = "DRIVERLICENSE";
|
|
26
|
+
DocumentTypeEnum[DocumentTypeEnum["FAILURETOAPPEAR"] = 'FAILURE_TO_APPEAR'] = "FAILURETOAPPEAR";
|
|
27
|
+
DocumentTypeEnum[DocumentTypeEnum["FAILURETOPAY"] = 'FAILURE_TO_PAY'] = "FAILURETOPAY";
|
|
28
|
+
DocumentTypeEnum[DocumentTypeEnum["INSURANCECARD"] = 'INSURANCE_CARD'] = "INSURANCECARD";
|
|
29
|
+
DocumentTypeEnum[DocumentTypeEnum["NOTICEOFAPPEARANCE"] = 'NOTICE_OF_APPEARANCE'] = "NOTICEOFAPPEARANCE";
|
|
30
|
+
DocumentTypeEnum[DocumentTypeEnum["NOTADOCUMENT"] = 'NOT_A_DOCUMENT'] = "NOTADOCUMENT";
|
|
31
|
+
DocumentTypeEnum[DocumentTypeEnum["PARKINGTICKET"] = 'PARKING_TICKET'] = "PARKINGTICKET";
|
|
32
|
+
DocumentTypeEnum[DocumentTypeEnum["POLICEREPORT"] = 'POLICE_REPORT'] = "POLICEREPORT";
|
|
33
|
+
DocumentTypeEnum[DocumentTypeEnum["REMINDERNOTICE"] = 'REMINDER_NOTICE'] = "REMINDERNOTICE";
|
|
34
|
+
DocumentTypeEnum[DocumentTypeEnum["REQUESTFORDISCOVERY"] = 'REQUEST_FOR_DISCOVERY'] = "REQUESTFORDISCOVERY";
|
|
35
|
+
DocumentTypeEnum[DocumentTypeEnum["SCREENSHOTTICKETLIST"] = 'SCREENSHOT_TICKET_LIST'] = "SCREENSHOTTICKETLIST";
|
|
36
|
+
DocumentTypeEnum[DocumentTypeEnum["SCREENSHOTTRAFFICTICKET"] = 'SCREENSHOT_TRAFFIC_TICKET'] = "SCREENSHOTTRAFFICTICKET";
|
|
37
|
+
DocumentTypeEnum[DocumentTypeEnum["SUSPENSIONNOTICE"] = 'SUSPENSION_NOTICE'] = "SUSPENSIONNOTICE";
|
|
38
|
+
DocumentTypeEnum[DocumentTypeEnum["TRAFFICTICKET"] = 'TRAFFIC_TICKET'] = "TRAFFICTICKET";
|
|
39
|
+
DocumentTypeEnum[DocumentTypeEnum["UNRECOGNIZEDDOCUMENT"] = 'UNRECOGNIZED_DOCUMENT'] = "UNRECOGNIZEDDOCUMENT";
|
|
40
|
+
DocumentTypeEnum[DocumentTypeEnum["WARNINGNOTICE"] = 'WARNING_NOTICE'] = "WARNINGNOTICE";
|
|
41
|
+
DocumentTypeEnum[DocumentTypeEnum["WARRANT"] = 'WARRANT'] = "WARRANT";
|
|
42
|
+
})(DocumentTypeEnum = PredictImageClassificationResponse.DocumentTypeEnum || (PredictImageClassificationResponse.DocumentTypeEnum = {}));
|
|
43
|
+
var ImageCategoryEnum;
|
|
44
|
+
(function (ImageCategoryEnum) {
|
|
45
|
+
ImageCategoryEnum[ImageCategoryEnum["DOCUMENT"] = 'DOCUMENT'] = "DOCUMENT";
|
|
46
|
+
ImageCategoryEnum[ImageCategoryEnum["GROUPPHOTO"] = 'GROUP_PHOTO'] = "GROUPPHOTO";
|
|
47
|
+
ImageCategoryEnum[ImageCategoryEnum["KEYBOARD"] = 'KEYBOARD'] = "KEYBOARD";
|
|
48
|
+
ImageCategoryEnum[ImageCategoryEnum["LANDSCAPE"] = 'LANDSCAPE'] = "LANDSCAPE";
|
|
49
|
+
ImageCategoryEnum[ImageCategoryEnum["LICENSEPLATE"] = 'LICENSE_PLATE'] = "LICENSEPLATE";
|
|
50
|
+
ImageCategoryEnum[ImageCategoryEnum["OTHER"] = 'OTHER'] = "OTHER";
|
|
51
|
+
ImageCategoryEnum[ImageCategoryEnum["PET"] = 'PET'] = "PET";
|
|
52
|
+
ImageCategoryEnum[ImageCategoryEnum["SELFIE"] = 'SELFIE'] = "SELFIE";
|
|
53
|
+
})(ImageCategoryEnum = PredictImageClassificationResponse.ImageCategoryEnum || (PredictImageClassificationResponse.ImageCategoryEnum = {}));
|
|
54
|
+
})(PredictImageClassificationResponse = exports.PredictImageClassificationResponse || (exports.PredictImageClassificationResponse = {}));
|