@otr-app/shared-backend-generated-client 2.4.31 → 2.4.33
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/userPasswordController.service.ts +72 -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/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 +119 -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/UserPasswordControllerApi.d.ts +7 -0
- package/dist/typescript/api/UserPasswordControllerApi.js +31 -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/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/UserPasswordControllerApi.d.ts +12 -0
- package/dist/typescript-fetch/apis/UserPasswordControllerApi.js +33 -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/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
|
@@ -133,6 +133,7 @@ __exportStar(require("./ChargeFeeToLawfirmResponse"), exports);
|
|
|
133
133
|
__exportStar(require("./CitationAuditEventModel"), exports);
|
|
134
134
|
__exportStar(require("./CitationAuditLog"), exports);
|
|
135
135
|
__exportStar(require("./CitationInputRequest"), exports);
|
|
136
|
+
__exportStar(require("./CitationIssueDate"), exports);
|
|
136
137
|
__exportStar(require("./CitationModel"), exports);
|
|
137
138
|
__exportStar(require("./CitationModelReq"), exports);
|
|
138
139
|
__exportStar(require("./CitationModelRes"), exports);
|
|
@@ -169,6 +170,7 @@ __exportStar(require("./CourtDomainReq"), exports);
|
|
|
169
170
|
__exportStar(require("./CourtDomainRes"), exports);
|
|
170
171
|
__exportStar(require("./CourtEntity"), exports);
|
|
171
172
|
__exportStar(require("./CourtInputRequest"), exports);
|
|
173
|
+
__exportStar(require("./CourtName"), exports);
|
|
172
174
|
__exportStar(require("./CourtResponseModel"), exports);
|
|
173
175
|
__exportStar(require("./CoverageToRemove"), exports);
|
|
174
176
|
__exportStar(require("./CreateBillingSubscriptionItemModel"), exports);
|
|
@@ -560,9 +562,12 @@ __exportStar(require("./PhoneNumberDomainRes"), exports);
|
|
|
560
562
|
__exportStar(require("./PostCourtCoverageRequest"), exports);
|
|
561
563
|
__exportStar(require("./PostFeedbackRequest"), exports);
|
|
562
564
|
__exportStar(require("./PotentialCustomerDomain"), exports);
|
|
565
|
+
__exportStar(require("./PredictCitationRequest"), exports);
|
|
566
|
+
__exportStar(require("./PredictCitationResponse"), exports);
|
|
563
567
|
__exportStar(require("./PredictCitationTextRequest"), exports);
|
|
564
568
|
__exportStar(require("./PredictImageClassificationRequest"), exports);
|
|
565
569
|
__exportStar(require("./PredictImageClassificationResponse"), exports);
|
|
570
|
+
__exportStar(require("./PredictRichCitationResponse"), exports);
|
|
566
571
|
__exportStar(require("./PreviewDocumentRequest"), exports);
|
|
567
572
|
__exportStar(require("./PriceMatchRequest"), exports);
|
|
568
573
|
__exportStar(require("./PriceMatchResponse"), exports);
|
|
@@ -598,6 +603,7 @@ __exportStar(require("./ReverseLawfirmPayoutRequest"), exports);
|
|
|
598
603
|
__exportStar(require("./ReviewCommentModel"), exports);
|
|
599
604
|
__exportStar(require("./ReviewRatingModel"), exports);
|
|
600
605
|
__exportStar(require("./ReviewVoteAggregateModel"), exports);
|
|
606
|
+
__exportStar(require("./RichCitationInferenceResponse"), exports);
|
|
601
607
|
__exportStar(require("./SNSNotificationRequest"), exports);
|
|
602
608
|
__exportStar(require("./SSLCertificateResponse"), exports);
|
|
603
609
|
__exportStar(require("./SaveAgentBookingRequest"), exports);
|
|
@@ -655,6 +661,8 @@ __exportStar(require("./SignRecordingUrlRequest"), exports);
|
|
|
655
661
|
__exportStar(require("./SignRecordingUrlResponse"), exports);
|
|
656
662
|
__exportStar(require("./SimpleCredentialsResponse"), exports);
|
|
657
663
|
__exportStar(require("./SingleSignOnResponse"), exports);
|
|
664
|
+
__exportStar(require("./SkipMap"), exports);
|
|
665
|
+
__exportStar(require("./SlimCitationInferenceResponse"), exports);
|
|
658
666
|
__exportStar(require("./SocialLoginRequest"), exports);
|
|
659
667
|
__exportStar(require("./SocialLoginResponse"), exports);
|
|
660
668
|
__exportStar(require("./SocialLoginUser"), exports);
|
|
@@ -807,6 +815,7 @@ __exportStar(require("./ViolationClassificationModel"), exports);
|
|
|
807
815
|
__exportStar(require("./ViolationInput"), exports);
|
|
808
816
|
__exportStar(require("./ViolationInputRequest"), exports);
|
|
809
817
|
__exportStar(require("./ViolationModel"), exports);
|
|
818
|
+
__exportStar(require("./ViolationNames"), exports);
|
|
810
819
|
__exportStar(require("./ViolationPenaltyModel"), exports);
|
|
811
820
|
__exportStar(require("./ViolationPenaltyResponse"), exports);
|
|
812
821
|
__exportStar(require("./ViolationResponse"), exports);
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OffTheRecord Rest Service API - Devo
|
|
3
|
+
* A service to handle your traffic tickets
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import { PredictCitationRequest, PredictCitationResponse, PredictRichCitationResponse } from '../models';
|
|
14
|
+
export interface PredictCitationFieldsUsingPOSTRequest {
|
|
15
|
+
request: PredictCitationRequest;
|
|
16
|
+
}
|
|
17
|
+
export interface PredictRichCitationFieldsUsingPOSTRequest {
|
|
18
|
+
request: PredictCitationRequest;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export declare class OcrPipelineControllerApi extends runtime.BaseAPI {
|
|
24
|
+
/**
|
|
25
|
+
* predictCitationFields
|
|
26
|
+
*/
|
|
27
|
+
predictCitationFieldsUsingPOSTRaw(requestParameters: PredictCitationFieldsUsingPOSTRequest): Promise<runtime.ApiResponse<PredictCitationResponse>>;
|
|
28
|
+
/**
|
|
29
|
+
* predictCitationFields
|
|
30
|
+
*/
|
|
31
|
+
predictCitationFieldsUsingPOST(requestParameters: PredictCitationFieldsUsingPOSTRequest): Promise<PredictCitationResponse>;
|
|
32
|
+
/**
|
|
33
|
+
* predictRichCitationFields
|
|
34
|
+
*/
|
|
35
|
+
predictRichCitationFieldsUsingPOSTRaw(requestParameters: PredictRichCitationFieldsUsingPOSTRequest): Promise<runtime.ApiResponse<PredictRichCitationResponse>>;
|
|
36
|
+
/**
|
|
37
|
+
* predictRichCitationFields
|
|
38
|
+
*/
|
|
39
|
+
predictRichCitationFieldsUsingPOST(requestParameters: PredictRichCitationFieldsUsingPOSTRequest): Promise<PredictRichCitationResponse>;
|
|
40
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import * as runtime from '../runtime';
|
|
24
|
+
import { PredictCitationRequestToJSON, PredictCitationResponseFromJSON, PredictRichCitationResponseFromJSON, } from '../models';
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export class OcrPipelineControllerApi extends runtime.BaseAPI {
|
|
29
|
+
/**
|
|
30
|
+
* predictCitationFields
|
|
31
|
+
*/
|
|
32
|
+
predictCitationFieldsUsingPOSTRaw(requestParameters) {
|
|
33
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34
|
+
if (requestParameters.request === null || requestParameters.request === undefined) {
|
|
35
|
+
throw new runtime.RequiredError('request', 'Required parameter requestParameters.request was null or undefined when calling predictCitationFieldsUsingPOST.');
|
|
36
|
+
}
|
|
37
|
+
const queryParameters = {};
|
|
38
|
+
const headerParameters = {};
|
|
39
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
40
|
+
const response = yield this.request({
|
|
41
|
+
path: `/api/v1/ocr_pipeline/predict_citation`,
|
|
42
|
+
method: 'POST',
|
|
43
|
+
headers: headerParameters,
|
|
44
|
+
query: queryParameters,
|
|
45
|
+
body: PredictCitationRequestToJSON(requestParameters.request),
|
|
46
|
+
});
|
|
47
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PredictCitationResponseFromJSON(jsonValue));
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* predictCitationFields
|
|
52
|
+
*/
|
|
53
|
+
predictCitationFieldsUsingPOST(requestParameters) {
|
|
54
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
55
|
+
const response = yield this.predictCitationFieldsUsingPOSTRaw(requestParameters);
|
|
56
|
+
return yield response.value();
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* predictRichCitationFields
|
|
61
|
+
*/
|
|
62
|
+
predictRichCitationFieldsUsingPOSTRaw(requestParameters) {
|
|
63
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
64
|
+
if (requestParameters.request === null || requestParameters.request === undefined) {
|
|
65
|
+
throw new runtime.RequiredError('request', 'Required parameter requestParameters.request was null or undefined when calling predictRichCitationFieldsUsingPOST.');
|
|
66
|
+
}
|
|
67
|
+
const queryParameters = {};
|
|
68
|
+
const headerParameters = {};
|
|
69
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
70
|
+
const response = yield this.request({
|
|
71
|
+
path: `/api/v1/ocr_pipeline/predict_rich_citation`,
|
|
72
|
+
method: 'POST',
|
|
73
|
+
headers: headerParameters,
|
|
74
|
+
query: queryParameters,
|
|
75
|
+
body: PredictCitationRequestToJSON(requestParameters.request),
|
|
76
|
+
});
|
|
77
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PredictRichCitationResponseFromJSON(jsonValue));
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* predictRichCitationFields
|
|
82
|
+
*/
|
|
83
|
+
predictRichCitationFieldsUsingPOST(requestParameters) {
|
|
84
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
85
|
+
const response = yield this.predictRichCitationFieldsUsingPOSTRaw(requestParameters);
|
|
86
|
+
return yield response.value();
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
}
|
|
@@ -14,6 +14,10 @@ import { ChangeUserPasswordRequest, ResetUserPasswordRequest, VerifyPasswordRese
|
|
|
14
14
|
export interface ChangeUserPasswordUsingPUTRequest {
|
|
15
15
|
request: ChangeUserPasswordRequest;
|
|
16
16
|
}
|
|
17
|
+
export interface ResetUserPasswordByAdminUsingPUTRequest {
|
|
18
|
+
userId: number;
|
|
19
|
+
request: ResetUserPasswordRequest;
|
|
20
|
+
}
|
|
17
21
|
export interface ResetUserPasswordUsingPOSTRequest {
|
|
18
22
|
request: ResetUserPasswordRequest;
|
|
19
23
|
}
|
|
@@ -52,6 +56,14 @@ export declare class UserPasswordControllerApi extends runtime.BaseAPI {
|
|
|
52
56
|
* changeUserPassword
|
|
53
57
|
*/
|
|
54
58
|
changeUserPasswordUsingPUT(requestParameters: ChangeUserPasswordUsingPUTRequest): Promise<object>;
|
|
59
|
+
/**
|
|
60
|
+
* resetUserPasswordByAdmin
|
|
61
|
+
*/
|
|
62
|
+
resetUserPasswordByAdminUsingPUTRaw(requestParameters: ResetUserPasswordByAdminUsingPUTRequest): Promise<runtime.ApiResponse<object>>;
|
|
63
|
+
/**
|
|
64
|
+
* resetUserPasswordByAdmin
|
|
65
|
+
*/
|
|
66
|
+
resetUserPasswordByAdminUsingPUT(requestParameters: ResetUserPasswordByAdminUsingPUTRequest): Promise<object>;
|
|
55
67
|
/**
|
|
56
68
|
* resetUserPassword
|
|
57
69
|
*/
|
|
@@ -56,6 +56,39 @@ export class UserPasswordControllerApi extends runtime.BaseAPI {
|
|
|
56
56
|
return yield response.value();
|
|
57
57
|
});
|
|
58
58
|
}
|
|
59
|
+
/**
|
|
60
|
+
* resetUserPasswordByAdmin
|
|
61
|
+
*/
|
|
62
|
+
resetUserPasswordByAdminUsingPUTRaw(requestParameters) {
|
|
63
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
64
|
+
if (requestParameters.userId === null || requestParameters.userId === undefined) {
|
|
65
|
+
throw new runtime.RequiredError('userId', 'Required parameter requestParameters.userId was null or undefined when calling resetUserPasswordByAdminUsingPUT.');
|
|
66
|
+
}
|
|
67
|
+
if (requestParameters.request === null || requestParameters.request === undefined) {
|
|
68
|
+
throw new runtime.RequiredError('request', 'Required parameter requestParameters.request was null or undefined when calling resetUserPasswordByAdminUsingPUT.');
|
|
69
|
+
}
|
|
70
|
+
const queryParameters = {};
|
|
71
|
+
const headerParameters = {};
|
|
72
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
73
|
+
const response = yield this.request({
|
|
74
|
+
path: `/api/v1/users/{userId}/password`.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters.userId))),
|
|
75
|
+
method: 'PUT',
|
|
76
|
+
headers: headerParameters,
|
|
77
|
+
query: queryParameters,
|
|
78
|
+
body: ResetUserPasswordRequestToJSON(requestParameters.request),
|
|
79
|
+
});
|
|
80
|
+
return new runtime.JSONApiResponse(response);
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* resetUserPasswordByAdmin
|
|
85
|
+
*/
|
|
86
|
+
resetUserPasswordByAdminUsingPUT(requestParameters) {
|
|
87
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
88
|
+
const response = yield this.resetUserPasswordByAdminUsingPUTRaw(requestParameters);
|
|
89
|
+
return yield response.value();
|
|
90
|
+
});
|
|
91
|
+
}
|
|
59
92
|
/**
|
|
60
93
|
* resetUserPassword
|
|
61
94
|
*/
|
|
@@ -74,6 +74,7 @@ export * from './ListCasesControllerApi';
|
|
|
74
74
|
export * from './MediaCreationControllerApi';
|
|
75
75
|
export * from './MessagesControllerApi';
|
|
76
76
|
export * from './NotesControllerApi';
|
|
77
|
+
export * from './OcrPipelineControllerApi';
|
|
77
78
|
export * from './OcrPredictionControllerApi';
|
|
78
79
|
export * from './OnDemandRequestControllerApi';
|
|
79
80
|
export * from './OneTimePasswordControllerApi';
|
|
@@ -74,6 +74,7 @@ export * from './ListCasesControllerApi';
|
|
|
74
74
|
export * from './MediaCreationControllerApi';
|
|
75
75
|
export * from './MessagesControllerApi';
|
|
76
76
|
export * from './NotesControllerApi';
|
|
77
|
+
export * from './OcrPipelineControllerApi';
|
|
77
78
|
export * from './OcrPredictionControllerApi';
|
|
78
79
|
export * from './OnDemandRequestControllerApi';
|
|
79
80
|
export * from './OneTimePasswordControllerApi';
|
|
@@ -0,0 +1,27 @@
|
|
|
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 CitationIssueDate
|
|
16
|
+
*/
|
|
17
|
+
export interface CitationIssueDate {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CitationIssueDate
|
|
22
|
+
*/
|
|
23
|
+
llmPrediction?: string;
|
|
24
|
+
}
|
|
25
|
+
export declare function CitationIssueDateFromJSON(json: any): CitationIssueDate;
|
|
26
|
+
export declare function CitationIssueDateFromJSONTyped(json: any, ignoreDiscriminator: boolean): CitationIssueDate;
|
|
27
|
+
export declare function CitationIssueDateToJSON(value?: CitationIssueDate | null): any;
|
|
@@ -0,0 +1,36 @@
|
|
|
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 CitationIssueDateFromJSON(json) {
|
|
16
|
+
return CitationIssueDateFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function CitationIssueDateFromJSONTyped(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
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export function CitationIssueDateToJSON(value) {
|
|
27
|
+
if (value === undefined) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
if (value === null) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'llm_prediction': value.llmPrediction,
|
|
35
|
+
};
|
|
36
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 CourtName
|
|
16
|
+
*/
|
|
17
|
+
export interface CourtName {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CourtName
|
|
22
|
+
*/
|
|
23
|
+
llmPrediction?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof CourtName
|
|
28
|
+
*/
|
|
29
|
+
pineconeMatch?: Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof CourtName
|
|
34
|
+
*/
|
|
35
|
+
pineconeMatches?: Array<string>;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Array<number>}
|
|
39
|
+
* @memberof CourtName
|
|
40
|
+
*/
|
|
41
|
+
pineconeScores?: Array<number>;
|
|
42
|
+
}
|
|
43
|
+
export declare function CourtNameFromJSON(json: any): CourtName;
|
|
44
|
+
export declare function CourtNameFromJSONTyped(json: any, ignoreDiscriminator: boolean): CourtName;
|
|
45
|
+
export declare function CourtNameToJSON(value?: CourtName | null): any;
|
|
@@ -0,0 +1,42 @@
|
|
|
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 CourtNameFromJSON(json) {
|
|
16
|
+
return CourtNameFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function CourtNameFromJSONTyped(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
|
+
'pineconeMatch': !exists(json, 'pinecone_match') ? undefined : json['pinecone_match'],
|
|
25
|
+
'pineconeMatches': !exists(json, 'pinecone_matches') ? undefined : json['pinecone_matches'],
|
|
26
|
+
'pineconeScores': !exists(json, 'pinecone_scores') ? undefined : json['pinecone_scores'],
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
export function CourtNameToJSON(value) {
|
|
30
|
+
if (value === undefined) {
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|
|
33
|
+
if (value === null) {
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'llm_prediction': value.llmPrediction,
|
|
38
|
+
'pinecone_match': value.pineconeMatch,
|
|
39
|
+
'pinecone_matches': value.pineconeMatches,
|
|
40
|
+
'pinecone_scores': value.pineconeScores,
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -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 PredictCitationRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface PredictCitationRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PredictCitationRequest
|
|
22
|
+
*/
|
|
23
|
+
citationId?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PredictCitationRequest
|
|
28
|
+
*/
|
|
29
|
+
imageInBase64?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PredictCitationRequest
|
|
34
|
+
*/
|
|
35
|
+
regionCode?: string;
|
|
36
|
+
}
|
|
37
|
+
export declare function PredictCitationRequestFromJSON(json: any): PredictCitationRequest;
|
|
38
|
+
export declare function PredictCitationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PredictCitationRequest;
|
|
39
|
+
export declare function PredictCitationRequestToJSON(value?: PredictCitationRequest | 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 PredictCitationRequestFromJSON(json) {
|
|
16
|
+
return PredictCitationRequestFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function PredictCitationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
+
if ((json === undefined) || (json === null)) {
|
|
20
|
+
return json;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'citationId': !exists(json, 'citationId') ? undefined : json['citationId'],
|
|
24
|
+
'imageInBase64': !exists(json, 'imageInBase64') ? undefined : json['imageInBase64'],
|
|
25
|
+
'regionCode': !exists(json, 'regionCode') ? undefined : json['regionCode'],
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
export function PredictCitationRequestToJSON(value) {
|
|
29
|
+
if (value === undefined) {
|
|
30
|
+
return undefined;
|
|
31
|
+
}
|
|
32
|
+
if (value === null) {
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'citationId': value.citationId,
|
|
37
|
+
'imageInBase64': value.imageInBase64,
|
|
38
|
+
'regionCode': value.regionCode,
|
|
39
|
+
};
|
|
40
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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 { SlimCitationInferenceResponse } from './';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PredictCitationResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface PredictCitationResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {SlimCitationInferenceResponse}
|
|
22
|
+
* @memberof PredictCitationResponse
|
|
23
|
+
*/
|
|
24
|
+
ocrResult?: SlimCitationInferenceResponse;
|
|
25
|
+
}
|
|
26
|
+
export declare function PredictCitationResponseFromJSON(json: any): PredictCitationResponse;
|
|
27
|
+
export declare function PredictCitationResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PredictCitationResponse;
|
|
28
|
+
export declare function PredictCitationResponseToJSON(value?: PredictCitationResponse | null): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { SlimCitationInferenceResponseFromJSON, SlimCitationInferenceResponseToJSON, } from './';
|
|
16
|
+
export function PredictCitationResponseFromJSON(json) {
|
|
17
|
+
return PredictCitationResponseFromJSONTyped(json, false);
|
|
18
|
+
}
|
|
19
|
+
export function PredictCitationResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
20
|
+
if ((json === undefined) || (json === null)) {
|
|
21
|
+
return json;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'ocrResult': !exists(json, 'ocrResult') ? undefined : SlimCitationInferenceResponseFromJSON(json['ocrResult']),
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export function PredictCitationResponseToJSON(value) {
|
|
28
|
+
if (value === undefined) {
|
|
29
|
+
return undefined;
|
|
30
|
+
}
|
|
31
|
+
if (value === null) {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'ocrResult': SlimCitationInferenceResponseToJSON(value.ocrResult),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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 { RichCitationInferenceResponse } from './';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PredictRichCitationResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface PredictRichCitationResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {RichCitationInferenceResponse}
|
|
22
|
+
* @memberof PredictRichCitationResponse
|
|
23
|
+
*/
|
|
24
|
+
ocrResult?: RichCitationInferenceResponse;
|
|
25
|
+
}
|
|
26
|
+
export declare function PredictRichCitationResponseFromJSON(json: any): PredictRichCitationResponse;
|
|
27
|
+
export declare function PredictRichCitationResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PredictRichCitationResponse;
|
|
28
|
+
export declare function PredictRichCitationResponseToJSON(value?: PredictRichCitationResponse | null): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { RichCitationInferenceResponseFromJSON, RichCitationInferenceResponseToJSON, } from './';
|
|
16
|
+
export function PredictRichCitationResponseFromJSON(json) {
|
|
17
|
+
return PredictRichCitationResponseFromJSONTyped(json, false);
|
|
18
|
+
}
|
|
19
|
+
export function PredictRichCitationResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
20
|
+
if ((json === undefined) || (json === null)) {
|
|
21
|
+
return json;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'ocrResult': !exists(json, 'ocrResult') ? undefined : RichCitationInferenceResponseFromJSON(json['ocrResult']),
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export function PredictRichCitationResponseToJSON(value) {
|
|
28
|
+
if (value === undefined) {
|
|
29
|
+
return undefined;
|
|
30
|
+
}
|
|
31
|
+
if (value === null) {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'ocrResult': RichCitationInferenceResponseToJSON(value.ocrResult),
|
|
36
|
+
};
|
|
37
|
+
}
|