@otr-app/shared-backend-generated-client 2.5.31 → 2.5.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 +2 -0
- package/dist/angular/api/caseTransferController.service.ts +64 -0
- package/dist/angular/model/calculateTransferFeeDifferenceResponse.ts +17 -0
- package/dist/angular/model/defendantDetailsModel.ts +35 -0
- package/dist/angular/model/models.ts +2 -0
- package/dist/angular/model/transferCaseRequest.ts +1 -0
- package/dist/angular/model/workflowCaseModel.ts +2 -0
- package/dist/otrBackendService.js +42 -0
- package/dist/otrBackendService.min.js +6 -6
- package/dist/typescript/api/CaseTransferControllerApi.d.ts +7 -0
- package/dist/typescript/api/CaseTransferControllerApi.js +31 -0
- package/dist/typescript/model/CalculateTransferFeeDifferenceResponse.d.ts +14 -0
- package/dist/typescript/model/CalculateTransferFeeDifferenceResponse.js +12 -0
- package/dist/typescript/model/DefendantDetailsModel.d.ts +30 -0
- package/dist/typescript/model/DefendantDetailsModel.js +24 -0
- package/dist/typescript/model/TransferCaseRequest.d.ts +1 -0
- package/dist/typescript/model/WorkflowCaseModel.d.ts +1 -0
- package/dist/typescript/model/models.d.ts +2 -0
- package/dist/typescript/model/models.js +2 -0
- package/dist/typescript-fetch/apis/CaseTransferControllerApi.d.ts +13 -1
- package/dist/typescript-fetch/apis/CaseTransferControllerApi.js +32 -1
- package/dist/typescript-fetch/models/CalculateTransferFeeDifferenceResponse.d.ts +27 -0
- package/dist/typescript-fetch/models/CalculateTransferFeeDifferenceResponse.js +36 -0
- package/dist/typescript-fetch/models/DefendantDetailsModel.d.ts +70 -0
- package/dist/typescript-fetch/models/DefendantDetailsModel.js +60 -0
- package/dist/typescript-fetch/models/TransferCaseRequest.d.ts +6 -0
- package/dist/typescript-fetch/models/TransferCaseRequest.js +2 -0
- package/dist/typescript-fetch/models/WorkflowCaseModel.d.ts +7 -1
- package/dist/typescript-fetch/models/WorkflowCaseModel.js +3 -1
- package/dist/typescript-fetch/models/index.d.ts +2 -0
- package/dist/typescript-fetch/models/index.js +2 -0
- package/dist/typescript-open-api/otr-backend.d.ts +82 -0
- package/package.json +1 -1
|
@@ -17,6 +17,13 @@ export declare class CaseTransferControllerApi {
|
|
|
17
17
|
defaultHeaders: any;
|
|
18
18
|
static $inject: string[];
|
|
19
19
|
constructor($http: ng.IHttpService, $httpParamSerializer?: (d: any) => any, basePath?: string);
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @summary calculateTransferFeeDifference
|
|
23
|
+
* @param caseId caseId
|
|
24
|
+
* @param lawfirmId lawfirmId
|
|
25
|
+
*/
|
|
26
|
+
calculateTransferFeeDifferenceUsingGET(caseId: string, lawfirmId: number, extraHttpRequestParams?: any): ng.IHttpPromise<models.CalculateTransferFeeDifferenceResponse>;
|
|
20
27
|
/**
|
|
21
28
|
*
|
|
22
29
|
* @summary getTransferHistory
|
|
@@ -20,6 +20,37 @@ export class CaseTransferControllerApi {
|
|
|
20
20
|
this.basePath = basePath;
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @summary calculateTransferFeeDifference
|
|
26
|
+
* @param caseId caseId
|
|
27
|
+
* @param lawfirmId lawfirmId
|
|
28
|
+
*/
|
|
29
|
+
calculateTransferFeeDifferenceUsingGET(caseId, lawfirmId, extraHttpRequestParams) {
|
|
30
|
+
const localVarPath = this.basePath + '/api/v1/cases/{caseId}/transfer/{lawfirmId}/calculate-fee-difference'
|
|
31
|
+
.replace('{' + 'caseId' + '}', encodeURIComponent(String(caseId)))
|
|
32
|
+
.replace('{' + 'lawfirmId' + '}', encodeURIComponent(String(lawfirmId)));
|
|
33
|
+
let queryParameters = {};
|
|
34
|
+
let headerParams = Object.assign({}, this.defaultHeaders);
|
|
35
|
+
// verify required parameter 'caseId' is not null or undefined
|
|
36
|
+
if (caseId === null || caseId === undefined) {
|
|
37
|
+
throw new Error('Required parameter caseId was null or undefined when calling calculateTransferFeeDifferenceUsingGET.');
|
|
38
|
+
}
|
|
39
|
+
// verify required parameter 'lawfirmId' is not null or undefined
|
|
40
|
+
if (lawfirmId === null || lawfirmId === undefined) {
|
|
41
|
+
throw new Error('Required parameter lawfirmId was null or undefined when calling calculateTransferFeeDifferenceUsingGET.');
|
|
42
|
+
}
|
|
43
|
+
let httpRequestParams = {
|
|
44
|
+
method: 'GET',
|
|
45
|
+
url: localVarPath,
|
|
46
|
+
params: queryParameters,
|
|
47
|
+
headers: headerParams
|
|
48
|
+
};
|
|
49
|
+
if (extraHttpRequestParams) {
|
|
50
|
+
httpRequestParams = Object.assign(httpRequestParams, extraHttpRequestParams);
|
|
51
|
+
}
|
|
52
|
+
return this.$http(httpRequestParams);
|
|
53
|
+
}
|
|
23
54
|
/**
|
|
24
55
|
*
|
|
25
56
|
* @summary getTransferHistory
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
export interface CalculateTransferFeeDifferenceResponse {
|
|
13
|
+
"totalClientCostDifferenceInCents"?: number;
|
|
14
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
export interface DefendantDetailsModel {
|
|
13
|
+
"additionalNote"?: string;
|
|
14
|
+
"emailAddress"?: string;
|
|
15
|
+
"firstName"?: string;
|
|
16
|
+
"lastName"?: string;
|
|
17
|
+
"relationshipToClientType"?: DefendantDetailsModel.RelationshipToClientTypeEnum;
|
|
18
|
+
"userId"?: number;
|
|
19
|
+
}
|
|
20
|
+
export declare namespace DefendantDetailsModel {
|
|
21
|
+
enum RelationshipToClientTypeEnum {
|
|
22
|
+
EMPLOYER,
|
|
23
|
+
FAMILYMEMBER,
|
|
24
|
+
FRIEND,
|
|
25
|
+
LAWYER,
|
|
26
|
+
OTHER,
|
|
27
|
+
SELF,
|
|
28
|
+
UNKNOWN
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
export var DefendantDetailsModel;
|
|
13
|
+
(function (DefendantDetailsModel) {
|
|
14
|
+
let RelationshipToClientTypeEnum;
|
|
15
|
+
(function (RelationshipToClientTypeEnum) {
|
|
16
|
+
RelationshipToClientTypeEnum[RelationshipToClientTypeEnum["EMPLOYER"] = 'EMPLOYER'] = "EMPLOYER";
|
|
17
|
+
RelationshipToClientTypeEnum[RelationshipToClientTypeEnum["FAMILYMEMBER"] = 'FAMILY_MEMBER'] = "FAMILYMEMBER";
|
|
18
|
+
RelationshipToClientTypeEnum[RelationshipToClientTypeEnum["FRIEND"] = 'FRIEND'] = "FRIEND";
|
|
19
|
+
RelationshipToClientTypeEnum[RelationshipToClientTypeEnum["LAWYER"] = 'LAWYER'] = "LAWYER";
|
|
20
|
+
RelationshipToClientTypeEnum[RelationshipToClientTypeEnum["OTHER"] = 'OTHER'] = "OTHER";
|
|
21
|
+
RelationshipToClientTypeEnum[RelationshipToClientTypeEnum["SELF"] = 'SELF'] = "SELF";
|
|
22
|
+
RelationshipToClientTypeEnum[RelationshipToClientTypeEnum["UNKNOWN"] = 'UNKNOWN'] = "UNKNOWN";
|
|
23
|
+
})(RelationshipToClientTypeEnum = DefendantDetailsModel.RelationshipToClientTypeEnum || (DefendantDetailsModel.RelationshipToClientTypeEnum = {}));
|
|
24
|
+
})(DefendantDetailsModel || (DefendantDetailsModel = {}));
|
|
@@ -16,6 +16,7 @@ export interface WorkflowCaseModel {
|
|
|
16
16
|
"caseStatusCategory"?: WorkflowCaseModel.CaseStatusCategoryEnum;
|
|
17
17
|
"citation"?: models.WorkflowCitationModel;
|
|
18
18
|
"courtAppointmentDate"?: models.Timestamp;
|
|
19
|
+
"defendantDetails"?: models.DefendantDetailsModel;
|
|
19
20
|
"isLawfirmCodeApplied"?: boolean;
|
|
20
21
|
"latestUnavailableMatchAttributes"?: models.UnavailableMatchAttributesModel;
|
|
21
22
|
"legalServices"?: Array<models.LegalServiceModel>;
|
|
@@ -73,6 +73,7 @@ export * from './BlogEvent';
|
|
|
73
73
|
export * from './BlogMetadata';
|
|
74
74
|
export * from './Booking';
|
|
75
75
|
export * from './BookingCancelation';
|
|
76
|
+
export * from './CalculateTransferFeeDifferenceResponse';
|
|
76
77
|
export * from './CallContact';
|
|
77
78
|
export * from './CancelBillingSubscriptionResponse';
|
|
78
79
|
export * from './CancelCaseRequest';
|
|
@@ -205,6 +206,7 @@ export * from './DeclineCaseCounterRequest';
|
|
|
205
206
|
export * from './DeclineCategory';
|
|
206
207
|
export * from './DeclineReason';
|
|
207
208
|
export * from './DefaultClassModel';
|
|
209
|
+
export * from './DefendantDetailsModel';
|
|
208
210
|
export * from './DeleteCitationResponse';
|
|
209
211
|
export * from './DeleteLawyerLicenseRequest';
|
|
210
212
|
export * from './DeleteNotificationByPagesRequest';
|
|
@@ -73,6 +73,7 @@ export * from './BlogEvent';
|
|
|
73
73
|
export * from './BlogMetadata';
|
|
74
74
|
export * from './Booking';
|
|
75
75
|
export * from './BookingCancelation';
|
|
76
|
+
export * from './CalculateTransferFeeDifferenceResponse';
|
|
76
77
|
export * from './CallContact';
|
|
77
78
|
export * from './CancelBillingSubscriptionResponse';
|
|
78
79
|
export * from './CancelCaseRequest';
|
|
@@ -205,6 +206,7 @@ export * from './DeclineCaseCounterRequest';
|
|
|
205
206
|
export * from './DeclineCategory';
|
|
206
207
|
export * from './DeclineReason';
|
|
207
208
|
export * from './DefaultClassModel';
|
|
209
|
+
export * from './DefendantDetailsModel';
|
|
208
210
|
export * from './DeleteCitationResponse';
|
|
209
211
|
export * from './DeleteLawyerLicenseRequest';
|
|
210
212
|
export * from './DeleteNotificationByPagesRequest';
|
|
@@ -10,7 +10,11 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import { CaseTransferResponse, TransferCaseRequest } from '../models';
|
|
13
|
+
import { CalculateTransferFeeDifferenceResponse, CaseTransferResponse, TransferCaseRequest } from '../models';
|
|
14
|
+
export interface CalculateTransferFeeDifferenceUsingGETRequest {
|
|
15
|
+
caseId: string;
|
|
16
|
+
lawfirmId: number;
|
|
17
|
+
}
|
|
14
18
|
export interface GetTransferHistoryUsingGETRequest {
|
|
15
19
|
caseId: string;
|
|
16
20
|
}
|
|
@@ -22,6 +26,14 @@ export interface TransferCaseUsingPUTRequest {
|
|
|
22
26
|
*
|
|
23
27
|
*/
|
|
24
28
|
export declare class CaseTransferControllerApi extends runtime.BaseAPI {
|
|
29
|
+
/**
|
|
30
|
+
* calculateTransferFeeDifference
|
|
31
|
+
*/
|
|
32
|
+
calculateTransferFeeDifferenceUsingGETRaw(requestParameters: CalculateTransferFeeDifferenceUsingGETRequest): Promise<runtime.ApiResponse<CalculateTransferFeeDifferenceResponse>>;
|
|
33
|
+
/**
|
|
34
|
+
* calculateTransferFeeDifference
|
|
35
|
+
*/
|
|
36
|
+
calculateTransferFeeDifferenceUsingGET(requestParameters: CalculateTransferFeeDifferenceUsingGETRequest): Promise<CalculateTransferFeeDifferenceResponse>;
|
|
25
37
|
/**
|
|
26
38
|
* getTransferHistory
|
|
27
39
|
*/
|
|
@@ -21,11 +21,42 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import { CaseTransferResponseFromJSON, TransferCaseRequestToJSON, } from '../models';
|
|
24
|
+
import { CalculateTransferFeeDifferenceResponseFromJSON, CaseTransferResponseFromJSON, TransferCaseRequestToJSON, } from '../models';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
28
|
export class CaseTransferControllerApi extends runtime.BaseAPI {
|
|
29
|
+
/**
|
|
30
|
+
* calculateTransferFeeDifference
|
|
31
|
+
*/
|
|
32
|
+
calculateTransferFeeDifferenceUsingGETRaw(requestParameters) {
|
|
33
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34
|
+
if (requestParameters.caseId === null || requestParameters.caseId === undefined) {
|
|
35
|
+
throw new runtime.RequiredError('caseId', 'Required parameter requestParameters.caseId was null or undefined when calling calculateTransferFeeDifferenceUsingGET.');
|
|
36
|
+
}
|
|
37
|
+
if (requestParameters.lawfirmId === null || requestParameters.lawfirmId === undefined) {
|
|
38
|
+
throw new runtime.RequiredError('lawfirmId', 'Required parameter requestParameters.lawfirmId was null or undefined when calling calculateTransferFeeDifferenceUsingGET.');
|
|
39
|
+
}
|
|
40
|
+
const queryParameters = {};
|
|
41
|
+
const headerParameters = {};
|
|
42
|
+
const response = yield this.request({
|
|
43
|
+
path: `/api/v1/cases/{caseId}/transfer/{lawfirmId}/calculate-fee-difference`.replace(`{${"caseId"}}`, encodeURIComponent(String(requestParameters.caseId))).replace(`{${"lawfirmId"}}`, encodeURIComponent(String(requestParameters.lawfirmId))),
|
|
44
|
+
method: 'GET',
|
|
45
|
+
headers: headerParameters,
|
|
46
|
+
query: queryParameters,
|
|
47
|
+
});
|
|
48
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => CalculateTransferFeeDifferenceResponseFromJSON(jsonValue));
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* calculateTransferFeeDifference
|
|
53
|
+
*/
|
|
54
|
+
calculateTransferFeeDifferenceUsingGET(requestParameters) {
|
|
55
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
56
|
+
const response = yield this.calculateTransferFeeDifferenceUsingGETRaw(requestParameters);
|
|
57
|
+
return yield response.value();
|
|
58
|
+
});
|
|
59
|
+
}
|
|
29
60
|
/**
|
|
30
61
|
* getTransferHistory
|
|
31
62
|
*/
|
|
@@ -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 CalculateTransferFeeDifferenceResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface CalculateTransferFeeDifferenceResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof CalculateTransferFeeDifferenceResponse
|
|
22
|
+
*/
|
|
23
|
+
totalClientCostDifferenceInCents?: number;
|
|
24
|
+
}
|
|
25
|
+
export declare function CalculateTransferFeeDifferenceResponseFromJSON(json: any): CalculateTransferFeeDifferenceResponse;
|
|
26
|
+
export declare function CalculateTransferFeeDifferenceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CalculateTransferFeeDifferenceResponse;
|
|
27
|
+
export declare function CalculateTransferFeeDifferenceResponseToJSON(value?: CalculateTransferFeeDifferenceResponse | 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 CalculateTransferFeeDifferenceResponseFromJSON(json) {
|
|
16
|
+
return CalculateTransferFeeDifferenceResponseFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function CalculateTransferFeeDifferenceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
+
if ((json === undefined) || (json === null)) {
|
|
20
|
+
return json;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'totalClientCostDifferenceInCents': !exists(json, 'totalClientCostDifferenceInCents') ? undefined : json['totalClientCostDifferenceInCents'],
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export function CalculateTransferFeeDifferenceResponseToJSON(value) {
|
|
27
|
+
if (value === undefined) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
if (value === null) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'totalClientCostDifferenceInCents': value.totalClientCostDifferenceInCents,
|
|
35
|
+
};
|
|
36
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
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 DefendantDetailsModel
|
|
16
|
+
*/
|
|
17
|
+
export interface DefendantDetailsModel {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof DefendantDetailsModel
|
|
22
|
+
*/
|
|
23
|
+
additionalNote?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof DefendantDetailsModel
|
|
28
|
+
*/
|
|
29
|
+
emailAddress?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof DefendantDetailsModel
|
|
34
|
+
*/
|
|
35
|
+
firstName?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof DefendantDetailsModel
|
|
40
|
+
*/
|
|
41
|
+
lastName?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof DefendantDetailsModel
|
|
46
|
+
*/
|
|
47
|
+
relationshipToClientType?: DefendantDetailsModelRelationshipToClientTypeEnum;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof DefendantDetailsModel
|
|
52
|
+
*/
|
|
53
|
+
userId?: number;
|
|
54
|
+
}
|
|
55
|
+
export declare function DefendantDetailsModelFromJSON(json: any): DefendantDetailsModel;
|
|
56
|
+
export declare function DefendantDetailsModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): DefendantDetailsModel;
|
|
57
|
+
export declare function DefendantDetailsModelToJSON(value?: DefendantDetailsModel | null): any;
|
|
58
|
+
/**
|
|
59
|
+
* @export
|
|
60
|
+
* @enum {string}
|
|
61
|
+
*/
|
|
62
|
+
export declare enum DefendantDetailsModelRelationshipToClientTypeEnum {
|
|
63
|
+
EMPLOYER = "EMPLOYER",
|
|
64
|
+
FAMILYMEMBER = "FAMILY_MEMBER",
|
|
65
|
+
FRIEND = "FRIEND",
|
|
66
|
+
LAWYER = "LAWYER",
|
|
67
|
+
OTHER = "OTHER",
|
|
68
|
+
SELF = "SELF",
|
|
69
|
+
UNKNOWN = "UNKNOWN"
|
|
70
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
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 DefendantDetailsModelFromJSON(json) {
|
|
16
|
+
return DefendantDetailsModelFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function DefendantDetailsModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
+
if ((json === undefined) || (json === null)) {
|
|
20
|
+
return json;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'additionalNote': !exists(json, 'additionalNote') ? undefined : json['additionalNote'],
|
|
24
|
+
'emailAddress': !exists(json, 'emailAddress') ? undefined : json['emailAddress'],
|
|
25
|
+
'firstName': !exists(json, 'firstName') ? undefined : json['firstName'],
|
|
26
|
+
'lastName': !exists(json, 'lastName') ? undefined : json['lastName'],
|
|
27
|
+
'relationshipToClientType': !exists(json, 'relationshipToClientType') ? undefined : json['relationshipToClientType'],
|
|
28
|
+
'userId': !exists(json, 'userId') ? undefined : json['userId'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export function DefendantDetailsModelToJSON(value) {
|
|
32
|
+
if (value === undefined) {
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
if (value === null) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'additionalNote': value.additionalNote,
|
|
40
|
+
'emailAddress': value.emailAddress,
|
|
41
|
+
'firstName': value.firstName,
|
|
42
|
+
'lastName': value.lastName,
|
|
43
|
+
'relationshipToClientType': value.relationshipToClientType,
|
|
44
|
+
'userId': value.userId,
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* @export
|
|
49
|
+
* @enum {string}
|
|
50
|
+
*/
|
|
51
|
+
export var DefendantDetailsModelRelationshipToClientTypeEnum;
|
|
52
|
+
(function (DefendantDetailsModelRelationshipToClientTypeEnum) {
|
|
53
|
+
DefendantDetailsModelRelationshipToClientTypeEnum["EMPLOYER"] = "EMPLOYER";
|
|
54
|
+
DefendantDetailsModelRelationshipToClientTypeEnum["FAMILYMEMBER"] = "FAMILY_MEMBER";
|
|
55
|
+
DefendantDetailsModelRelationshipToClientTypeEnum["FRIEND"] = "FRIEND";
|
|
56
|
+
DefendantDetailsModelRelationshipToClientTypeEnum["LAWYER"] = "LAWYER";
|
|
57
|
+
DefendantDetailsModelRelationshipToClientTypeEnum["OTHER"] = "OTHER";
|
|
58
|
+
DefendantDetailsModelRelationshipToClientTypeEnum["SELF"] = "SELF";
|
|
59
|
+
DefendantDetailsModelRelationshipToClientTypeEnum["UNKNOWN"] = "UNKNOWN";
|
|
60
|
+
})(DefendantDetailsModelRelationshipToClientTypeEnum || (DefendantDetailsModelRelationshipToClientTypeEnum = {}));
|
|
@@ -27,6 +27,12 @@ export interface TransferCaseRequest {
|
|
|
27
27
|
* @memberof TransferCaseRequest
|
|
28
28
|
*/
|
|
29
29
|
ignoreCapturedCharges?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof TransferCaseRequest
|
|
34
|
+
*/
|
|
35
|
+
maxOtrCreditInCents?: number;
|
|
30
36
|
/**
|
|
31
37
|
*
|
|
32
38
|
* @type {number}
|
|
@@ -22,6 +22,7 @@ export function TransferCaseRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
22
22
|
return {
|
|
23
23
|
'forceTransfer': !exists(json, 'forceTransfer') ? undefined : json['forceTransfer'],
|
|
24
24
|
'ignoreCapturedCharges': !exists(json, 'ignoreCapturedCharges') ? undefined : json['ignoreCapturedCharges'],
|
|
25
|
+
'maxOtrCreditInCents': !exists(json, 'maxOtrCreditInCents') ? undefined : json['maxOtrCreditInCents'],
|
|
25
26
|
'receivingLawfirmId': !exists(json, 'receivingLawfirmId') ? undefined : json['receivingLawfirmId'],
|
|
26
27
|
};
|
|
27
28
|
}
|
|
@@ -35,6 +36,7 @@ export function TransferCaseRequestToJSON(value) {
|
|
|
35
36
|
return {
|
|
36
37
|
'forceTransfer': value.forceTransfer,
|
|
37
38
|
'ignoreCapturedCharges': value.ignoreCapturedCharges,
|
|
39
|
+
'maxOtrCreditInCents': value.maxOtrCreditInCents,
|
|
38
40
|
'receivingLawfirmId': value.receivingLawfirmId,
|
|
39
41
|
};
|
|
40
42
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { LegalServiceModel, LetterOfEngagement, PaymentPlanTypeModel, SubscriptionDiscountEligibility, Timestamp, UnavailableMatchAttributesModel, WorkflowCitationModel, WorkflowViolationPenaltyModel } from './';
|
|
12
|
+
import { DefendantDetailsModel, LegalServiceModel, LetterOfEngagement, PaymentPlanTypeModel, SubscriptionDiscountEligibility, Timestamp, UnavailableMatchAttributesModel, WorkflowCitationModel, WorkflowViolationPenaltyModel } from './';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -46,6 +46,12 @@ export interface WorkflowCaseModel {
|
|
|
46
46
|
* @memberof WorkflowCaseModel
|
|
47
47
|
*/
|
|
48
48
|
courtAppointmentDate?: Timestamp;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {DefendantDetailsModel}
|
|
52
|
+
* @memberof WorkflowCaseModel
|
|
53
|
+
*/
|
|
54
|
+
defendantDetails?: DefendantDetailsModel;
|
|
49
55
|
/**
|
|
50
56
|
*
|
|
51
57
|
* @type {boolean}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
|
-
import { LegalServiceModelFromJSON, LegalServiceModelToJSON, LetterOfEngagementFromJSON, LetterOfEngagementToJSON, PaymentPlanTypeModelFromJSON, PaymentPlanTypeModelToJSON, SubscriptionDiscountEligibilityFromJSON, SubscriptionDiscountEligibilityToJSON, TimestampFromJSON, TimestampToJSON, UnavailableMatchAttributesModelFromJSON, UnavailableMatchAttributesModelToJSON, WorkflowCitationModelFromJSON, WorkflowCitationModelToJSON, WorkflowViolationPenaltyModelFromJSON, WorkflowViolationPenaltyModelToJSON, } from './';
|
|
15
|
+
import { DefendantDetailsModelFromJSON, DefendantDetailsModelToJSON, LegalServiceModelFromJSON, LegalServiceModelToJSON, LetterOfEngagementFromJSON, LetterOfEngagementToJSON, PaymentPlanTypeModelFromJSON, PaymentPlanTypeModelToJSON, SubscriptionDiscountEligibilityFromJSON, SubscriptionDiscountEligibilityToJSON, TimestampFromJSON, TimestampToJSON, UnavailableMatchAttributesModelFromJSON, UnavailableMatchAttributesModelToJSON, WorkflowCitationModelFromJSON, WorkflowCitationModelToJSON, WorkflowViolationPenaltyModelFromJSON, WorkflowViolationPenaltyModelToJSON, } from './';
|
|
16
16
|
export function WorkflowCaseModelFromJSON(json) {
|
|
17
17
|
return WorkflowCaseModelFromJSONTyped(json, false);
|
|
18
18
|
}
|
|
@@ -26,6 +26,7 @@ export function WorkflowCaseModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26
26
|
'caseStatusCategory': !exists(json, 'caseStatusCategory') ? undefined : json['caseStatusCategory'],
|
|
27
27
|
'citation': !exists(json, 'citation') ? undefined : WorkflowCitationModelFromJSON(json['citation']),
|
|
28
28
|
'courtAppointmentDate': !exists(json, 'courtAppointmentDate') ? undefined : TimestampFromJSON(json['courtAppointmentDate']),
|
|
29
|
+
'defendantDetails': !exists(json, 'defendantDetails') ? undefined : DefendantDetailsModelFromJSON(json['defendantDetails']),
|
|
29
30
|
'isLawfirmCodeApplied': !exists(json, 'isLawfirmCodeApplied') ? undefined : json['isLawfirmCodeApplied'],
|
|
30
31
|
'latestUnavailableMatchAttributes': !exists(json, 'latestUnavailableMatchAttributes') ? undefined : UnavailableMatchAttributesModelFromJSON(json['latestUnavailableMatchAttributes']),
|
|
31
32
|
'legalServices': !exists(json, 'legalServices') ? undefined : (json['legalServices'].map(LegalServiceModelFromJSON)),
|
|
@@ -51,6 +52,7 @@ export function WorkflowCaseModelToJSON(value) {
|
|
|
51
52
|
'caseStatusCategory': value.caseStatusCategory,
|
|
52
53
|
'citation': WorkflowCitationModelToJSON(value.citation),
|
|
53
54
|
'courtAppointmentDate': TimestampToJSON(value.courtAppointmentDate),
|
|
55
|
+
'defendantDetails': DefendantDetailsModelToJSON(value.defendantDetails),
|
|
54
56
|
'isLawfirmCodeApplied': value.isLawfirmCodeApplied,
|
|
55
57
|
'latestUnavailableMatchAttributes': UnavailableMatchAttributesModelToJSON(value.latestUnavailableMatchAttributes),
|
|
56
58
|
'legalServices': value.legalServices === undefined ? undefined : (value.legalServices.map(LegalServiceModelToJSON)),
|
|
@@ -73,6 +73,7 @@ export * from './BlogEvent';
|
|
|
73
73
|
export * from './BlogMetadata';
|
|
74
74
|
export * from './Booking';
|
|
75
75
|
export * from './BookingCancelation';
|
|
76
|
+
export * from './CalculateTransferFeeDifferenceResponse';
|
|
76
77
|
export * from './CallContact';
|
|
77
78
|
export * from './CancelBillingSubscriptionResponse';
|
|
78
79
|
export * from './CancelCaseRequest';
|
|
@@ -205,6 +206,7 @@ export * from './DeclineCaseCounterRequest';
|
|
|
205
206
|
export * from './DeclineCategory';
|
|
206
207
|
export * from './DeclineReason';
|
|
207
208
|
export * from './DefaultClassModel';
|
|
209
|
+
export * from './DefendantDetailsModel';
|
|
208
210
|
export * from './DeleteCitationResponse';
|
|
209
211
|
export * from './DeleteLawyerLicenseRequest';
|
|
210
212
|
export * from './DeleteNotificationByPagesRequest';
|
|
@@ -73,6 +73,7 @@ export * from './BlogEvent';
|
|
|
73
73
|
export * from './BlogMetadata';
|
|
74
74
|
export * from './Booking';
|
|
75
75
|
export * from './BookingCancelation';
|
|
76
|
+
export * from './CalculateTransferFeeDifferenceResponse';
|
|
76
77
|
export * from './CallContact';
|
|
77
78
|
export * from './CancelBillingSubscriptionResponse';
|
|
78
79
|
export * from './CancelCaseRequest';
|
|
@@ -205,6 +206,7 @@ export * from './DeclineCaseCounterRequest';
|
|
|
205
206
|
export * from './DeclineCategory';
|
|
206
207
|
export * from './DeclineReason';
|
|
207
208
|
export * from './DefaultClassModel';
|
|
209
|
+
export * from './DefendantDetailsModel';
|
|
208
210
|
export * from './DeleteCitationResponse';
|
|
209
211
|
export * from './DeleteLawyerLicenseRequest';
|
|
210
212
|
export * from './DeleteNotificationByPagesRequest';
|