@otr-app/shared-backend-generated-client 2.4.90 → 2.4.92
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 +3 -0
- package/dist/angular/api/listCasesController.service.ts +4 -4
- package/dist/angular/model/acceptCaseCounterRequest.ts +10 -0
- package/dist/angular/model/caseCounterOfferModel.ts +11 -12
- package/dist/angular/model/dashboardCaseModel.ts +8 -0
- package/dist/angular/model/engagementLetterModel.ts +18 -0
- package/dist/angular/model/generateCounterOfferCasePaymentsRequest.ts +10 -1
- package/dist/angular/model/generateCounterOfferCasePaymentsResponse.ts +3 -0
- package/dist/angular/model/listCostItemsForCustomerResponse.ts +3 -0
- package/dist/angular/model/models.ts +3 -0
- package/dist/angular/model/overduePaymentModel.ts +17 -0
- package/dist/angular/model/violationModel0.ts +17 -0
- package/dist/typescript/api/ListCasesControllerApi.d.ts +1 -1
- package/dist/typescript/model/AcceptCaseCounterRequest.d.ts +8 -0
- package/dist/typescript/model/AcceptCaseCounterRequest.js +9 -1
- package/dist/typescript/model/CaseCounterOfferModel.d.ts +9 -12
- package/dist/typescript/model/CaseCounterOfferModel.js +10 -1
- package/dist/typescript/model/DashboardCaseModel.d.ts +4 -0
- package/dist/typescript/model/EngagementLetterModel.d.ts +15 -0
- package/dist/typescript/model/EngagementLetterModel.js +12 -0
- package/dist/typescript/model/GenerateCounterOfferCasePaymentsRequest.d.ts +8 -1
- package/dist/typescript/model/GenerateCounterOfferCasePaymentsRequest.js +9 -1
- package/dist/typescript/model/GenerateCounterOfferCasePaymentsResponse.d.ts +3 -0
- package/dist/typescript/model/ListCostItemsForCustomerResponse.d.ts +3 -0
- package/dist/typescript/model/OverduePaymentModel.d.ts +14 -0
- package/dist/typescript/model/OverduePaymentModel.js +12 -0
- package/dist/typescript/model/ViolationModel0.d.ts +14 -0
- package/dist/typescript/model/ViolationModel0.js +12 -0
- package/dist/typescript/model/models.d.ts +3 -0
- package/dist/typescript/model/models.js +3 -0
- package/dist/typescript-fetch/apis/ListCasesControllerApi.d.ts +1 -0
- package/dist/typescript-fetch/apis/ListCasesControllerApi.js +1 -0
- package/dist/typescript-fetch/models/AcceptCaseCounterRequest.d.ts +15 -0
- package/dist/typescript-fetch/models/AcceptCaseCounterRequest.js +13 -0
- package/dist/typescript-fetch/models/CaseCounterOfferModel.d.ts +11 -62
- package/dist/typescript-fetch/models/CaseCounterOfferModel.js +11 -21
- package/dist/typescript-fetch/models/DashboardCaseModel.d.ts +25 -1
- package/dist/typescript-fetch/models/DashboardCaseModel.js +9 -1
- package/dist/typescript-fetch/models/EngagementLetterModel.d.ts +33 -0
- package/dist/typescript-fetch/models/EngagementLetterModel.js +38 -0
- package/dist/typescript-fetch/models/GenerateCounterOfferCasePaymentsRequest.d.ts +10 -1
- package/dist/typescript-fetch/models/GenerateCounterOfferCasePaymentsRequest.js +12 -3
- package/dist/typescript-fetch/models/GenerateCounterOfferCasePaymentsResponse.d.ts +18 -0
- package/dist/typescript-fetch/models/GenerateCounterOfferCasePaymentsResponse.js +6 -0
- package/dist/typescript-fetch/models/ListCostItemsForCustomerResponse.d.ts +18 -0
- package/dist/typescript-fetch/models/ListCostItemsForCustomerResponse.js +6 -0
- package/dist/typescript-fetch/models/OverduePaymentModel.d.ts +27 -0
- package/dist/typescript-fetch/models/OverduePaymentModel.js +36 -0
- package/dist/typescript-fetch/models/ViolationModel0.d.ts +27 -0
- package/dist/typescript-fetch/models/ViolationModel0.js +36 -0
- package/dist/typescript-fetch/models/index.d.ts +3 -0
- package/dist/typescript-fetch/models/index.js +3 -0
- package/package.json +1 -1
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { exists } from '../runtime';
|
|
14
15
|
export function AcceptCaseCounterRequestFromJSON(json) {
|
|
15
16
|
return AcceptCaseCounterRequestFromJSONTyped(json, false);
|
|
16
17
|
}
|
|
@@ -20,6 +21,7 @@ export function AcceptCaseCounterRequestFromJSONTyped(json, ignoreDiscriminator)
|
|
|
20
21
|
}
|
|
21
22
|
return {
|
|
22
23
|
'cardId': json['cardId'],
|
|
24
|
+
'paymentPlanType': !exists(json, 'paymentPlanType') ? undefined : json['paymentPlanType'],
|
|
23
25
|
};
|
|
24
26
|
}
|
|
25
27
|
export function AcceptCaseCounterRequestToJSON(value) {
|
|
@@ -31,5 +33,16 @@ export function AcceptCaseCounterRequestToJSON(value) {
|
|
|
31
33
|
}
|
|
32
34
|
return {
|
|
33
35
|
'cardId': value.cardId,
|
|
36
|
+
'paymentPlanType': value.paymentPlanType,
|
|
34
37
|
};
|
|
35
38
|
}
|
|
39
|
+
/**
|
|
40
|
+
* @export
|
|
41
|
+
* @enum {string}
|
|
42
|
+
*/
|
|
43
|
+
export var AcceptCaseCounterRequestPaymentPlanTypeEnum;
|
|
44
|
+
(function (AcceptCaseCounterRequestPaymentPlanTypeEnum) {
|
|
45
|
+
AcceptCaseCounterRequestPaymentPlanTypeEnum["ALLUPFRONT"] = "ALL_UPFRONT";
|
|
46
|
+
AcceptCaseCounterRequestPaymentPlanTypeEnum["THREEPAYMENTSHALFFIRST"] = "THREE_PAYMENTS_HALF_FIRST";
|
|
47
|
+
AcceptCaseCounterRequestPaymentPlanTypeEnum["TWOPAYMENTSMONTHLY"] = "TWO_PAYMENTS_MONTHLY";
|
|
48
|
+
})(AcceptCaseCounterRequestPaymentPlanTypeEnum || (AcceptCaseCounterRequestPaymentPlanTypeEnum = {}));
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { Timestamp } from './';
|
|
13
12
|
/**
|
|
14
13
|
*
|
|
15
14
|
* @export
|
|
@@ -22,73 +21,23 @@ export interface CaseCounterOfferModel {
|
|
|
22
21
|
* @memberof CaseCounterOfferModel
|
|
23
22
|
*/
|
|
24
23
|
counterOfferAmountInCents?: number;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {Timestamp}
|
|
28
|
-
* @memberof CaseCounterOfferModel
|
|
29
|
-
*/
|
|
30
|
-
counterOfferDateUtc?: Timestamp;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof CaseCounterOfferModel
|
|
35
|
-
*/
|
|
36
|
-
counterOfferId?: number;
|
|
37
24
|
/**
|
|
38
25
|
*
|
|
39
26
|
* @type {string}
|
|
40
27
|
* @memberof CaseCounterOfferModel
|
|
41
28
|
*/
|
|
42
|
-
counterOfferStatus?:
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {number}
|
|
46
|
-
* @memberof CaseCounterOfferModel
|
|
47
|
-
*/
|
|
48
|
-
createdByUserId?: number;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {number}
|
|
52
|
-
* @memberof CaseCounterOfferModel
|
|
53
|
-
*/
|
|
54
|
-
createdByUserRoleId?: number;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {number}
|
|
58
|
-
* @memberof CaseCounterOfferModel
|
|
59
|
-
*/
|
|
60
|
-
initialLegalFeeInCents?: number;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @type {number}
|
|
64
|
-
* @memberof CaseCounterOfferModel
|
|
65
|
-
*/
|
|
66
|
-
initialRefundPercentage?: number;
|
|
67
|
-
/**
|
|
68
|
-
*
|
|
69
|
-
* @type {number}
|
|
70
|
-
* @memberof CaseCounterOfferModel
|
|
71
|
-
*/
|
|
72
|
-
lawfirmCaseId?: number;
|
|
73
|
-
/**
|
|
74
|
-
*
|
|
75
|
-
* @type {string}
|
|
76
|
-
* @memberof CaseCounterOfferModel
|
|
77
|
-
*/
|
|
78
|
-
noteToClient?: string;
|
|
79
|
-
/**
|
|
80
|
-
*
|
|
81
|
-
* @type {string}
|
|
82
|
-
* @memberof CaseCounterOfferModel
|
|
83
|
-
*/
|
|
84
|
-
noteToOtr?: string;
|
|
85
|
-
/**
|
|
86
|
-
*
|
|
87
|
-
* @type {number}
|
|
88
|
-
* @memberof CaseCounterOfferModel
|
|
89
|
-
*/
|
|
90
|
-
refundPercentage?: number;
|
|
29
|
+
counterOfferStatus?: CaseCounterOfferModelCounterOfferStatusEnum;
|
|
91
30
|
}
|
|
92
31
|
export declare function CaseCounterOfferModelFromJSON(json: any): CaseCounterOfferModel;
|
|
93
32
|
export declare function CaseCounterOfferModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): CaseCounterOfferModel;
|
|
94
33
|
export declare function CaseCounterOfferModelToJSON(value?: CaseCounterOfferModel | null): any;
|
|
34
|
+
/**
|
|
35
|
+
* @export
|
|
36
|
+
* @enum {string}
|
|
37
|
+
*/
|
|
38
|
+
export declare enum CaseCounterOfferModelCounterOfferStatusEnum {
|
|
39
|
+
ACCEPTED = "ACCEPTED",
|
|
40
|
+
DECLINED = "DECLINED",
|
|
41
|
+
PENDING = "PENDING",
|
|
42
|
+
WITHDRAWN = "WITHDRAWN"
|
|
43
|
+
}
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
|
-
import { TimestampFromJSON, TimestampToJSON, } from './';
|
|
16
15
|
export function CaseCounterOfferModelFromJSON(json) {
|
|
17
16
|
return CaseCounterOfferModelFromJSONTyped(json, false);
|
|
18
17
|
}
|
|
@@ -22,17 +21,7 @@ export function CaseCounterOfferModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
22
21
|
}
|
|
23
22
|
return {
|
|
24
23
|
'counterOfferAmountInCents': !exists(json, 'counterOfferAmountInCents') ? undefined : json['counterOfferAmountInCents'],
|
|
25
|
-
'counterOfferDateUtc': !exists(json, 'counterOfferDateUtc') ? undefined : TimestampFromJSON(json['counterOfferDateUtc']),
|
|
26
|
-
'counterOfferId': !exists(json, 'counterOfferId') ? undefined : json['counterOfferId'],
|
|
27
24
|
'counterOfferStatus': !exists(json, 'counterOfferStatus') ? undefined : json['counterOfferStatus'],
|
|
28
|
-
'createdByUserId': !exists(json, 'createdByUserId') ? undefined : json['createdByUserId'],
|
|
29
|
-
'createdByUserRoleId': !exists(json, 'createdByUserRoleId') ? undefined : json['createdByUserRoleId'],
|
|
30
|
-
'initialLegalFeeInCents': !exists(json, 'initialLegalFeeInCents') ? undefined : json['initialLegalFeeInCents'],
|
|
31
|
-
'initialRefundPercentage': !exists(json, 'initialRefundPercentage') ? undefined : json['initialRefundPercentage'],
|
|
32
|
-
'lawfirmCaseId': !exists(json, 'lawfirmCaseId') ? undefined : json['lawfirmCaseId'],
|
|
33
|
-
'noteToClient': !exists(json, 'noteToClient') ? undefined : json['noteToClient'],
|
|
34
|
-
'noteToOtr': !exists(json, 'noteToOtr') ? undefined : json['noteToOtr'],
|
|
35
|
-
'refundPercentage': !exists(json, 'refundPercentage') ? undefined : json['refundPercentage'],
|
|
36
25
|
};
|
|
37
26
|
}
|
|
38
27
|
export function CaseCounterOfferModelToJSON(value) {
|
|
@@ -44,16 +33,17 @@ export function CaseCounterOfferModelToJSON(value) {
|
|
|
44
33
|
}
|
|
45
34
|
return {
|
|
46
35
|
'counterOfferAmountInCents': value.counterOfferAmountInCents,
|
|
47
|
-
'counterOfferDateUtc': TimestampToJSON(value.counterOfferDateUtc),
|
|
48
|
-
'counterOfferId': value.counterOfferId,
|
|
49
36
|
'counterOfferStatus': value.counterOfferStatus,
|
|
50
|
-
'createdByUserId': value.createdByUserId,
|
|
51
|
-
'createdByUserRoleId': value.createdByUserRoleId,
|
|
52
|
-
'initialLegalFeeInCents': value.initialLegalFeeInCents,
|
|
53
|
-
'initialRefundPercentage': value.initialRefundPercentage,
|
|
54
|
-
'lawfirmCaseId': value.lawfirmCaseId,
|
|
55
|
-
'noteToClient': value.noteToClient,
|
|
56
|
-
'noteToOtr': value.noteToOtr,
|
|
57
|
-
'refundPercentage': value.refundPercentage,
|
|
58
37
|
};
|
|
59
38
|
}
|
|
39
|
+
/**
|
|
40
|
+
* @export
|
|
41
|
+
* @enum {string}
|
|
42
|
+
*/
|
|
43
|
+
export var CaseCounterOfferModelCounterOfferStatusEnum;
|
|
44
|
+
(function (CaseCounterOfferModelCounterOfferStatusEnum) {
|
|
45
|
+
CaseCounterOfferModelCounterOfferStatusEnum["ACCEPTED"] = "ACCEPTED";
|
|
46
|
+
CaseCounterOfferModelCounterOfferStatusEnum["DECLINED"] = "DECLINED";
|
|
47
|
+
CaseCounterOfferModelCounterOfferStatusEnum["PENDING"] = "PENDING";
|
|
48
|
+
CaseCounterOfferModelCounterOfferStatusEnum["WITHDRAWN"] = "WITHDRAWN";
|
|
49
|
+
})(CaseCounterOfferModelCounterOfferStatusEnum || (CaseCounterOfferModelCounterOfferStatusEnum = {}));
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { CaseUserDetailsModel, DashboardAuthorModel, DashboardCitationModel, DashboardCourtModel, DashboardStatusModel } from './';
|
|
12
|
+
import { CaseCounterOfferModel, CaseUserDetailsModel, DashboardAuthorModel, DashboardCitationModel, DashboardCourtModel, DashboardStatusModel, EngagementLetterModel, OverduePaymentModel, ViolationModel0 } from './';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -28,6 +28,12 @@ export interface DashboardCaseModel {
|
|
|
28
28
|
* @memberof DashboardCaseModel
|
|
29
29
|
*/
|
|
30
30
|
bookingConfirmedDate?: Date;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {CaseCounterOfferModel}
|
|
34
|
+
* @memberof DashboardCaseModel
|
|
35
|
+
*/
|
|
36
|
+
caseCounterOffer?: CaseCounterOfferModel;
|
|
31
37
|
/**
|
|
32
38
|
*
|
|
33
39
|
* @type {string}
|
|
@@ -52,6 +58,12 @@ export interface DashboardCaseModel {
|
|
|
52
58
|
* @memberof DashboardCaseModel
|
|
53
59
|
*/
|
|
54
60
|
court?: DashboardCourtModel;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {EngagementLetterModel}
|
|
64
|
+
* @memberof DashboardCaseModel
|
|
65
|
+
*/
|
|
66
|
+
engagementLetter?: EngagementLetterModel;
|
|
55
67
|
/**
|
|
56
68
|
*
|
|
57
69
|
* @type {boolean}
|
|
@@ -100,6 +112,12 @@ export interface DashboardCaseModel {
|
|
|
100
112
|
* @memberof DashboardCaseModel
|
|
101
113
|
*/
|
|
102
114
|
messageBody?: string;
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @type {OverduePaymentModel}
|
|
118
|
+
* @memberof DashboardCaseModel
|
|
119
|
+
*/
|
|
120
|
+
overduePayment?: OverduePaymentModel;
|
|
103
121
|
/**
|
|
104
122
|
*
|
|
105
123
|
* @type {DashboardStatusModel}
|
|
@@ -112,6 +130,12 @@ export interface DashboardCaseModel {
|
|
|
112
130
|
* @memberof DashboardCaseModel
|
|
113
131
|
*/
|
|
114
132
|
userId?: number;
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
* @type {Array<ViolationModel0>}
|
|
136
|
+
* @memberof DashboardCaseModel
|
|
137
|
+
*/
|
|
138
|
+
violations?: Array<ViolationModel0>;
|
|
115
139
|
}
|
|
116
140
|
export declare function DashboardCaseModelFromJSON(json: any): DashboardCaseModel;
|
|
117
141
|
export declare function DashboardCaseModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): DashboardCaseModel;
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
|
-
import { CaseUserDetailsModelFromJSON, CaseUserDetailsModelToJSON, DashboardAuthorModelFromJSON, DashboardAuthorModelToJSON, DashboardCitationModelFromJSON, DashboardCitationModelToJSON, DashboardCourtModelFromJSON, DashboardCourtModelToJSON, DashboardStatusModelFromJSON, DashboardStatusModelToJSON, } from './';
|
|
15
|
+
import { CaseCounterOfferModelFromJSON, CaseCounterOfferModelToJSON, CaseUserDetailsModelFromJSON, CaseUserDetailsModelToJSON, DashboardAuthorModelFromJSON, DashboardAuthorModelToJSON, DashboardCitationModelFromJSON, DashboardCitationModelToJSON, DashboardCourtModelFromJSON, DashboardCourtModelToJSON, DashboardStatusModelFromJSON, DashboardStatusModelToJSON, EngagementLetterModelFromJSON, EngagementLetterModelToJSON, OverduePaymentModelFromJSON, OverduePaymentModelToJSON, ViolationModel0FromJSON, ViolationModel0ToJSON, } from './';
|
|
16
16
|
export function DashboardCaseModelFromJSON(json) {
|
|
17
17
|
return DashboardCaseModelFromJSONTyped(json, false);
|
|
18
18
|
}
|
|
@@ -23,10 +23,12 @@ export function DashboardCaseModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
23
23
|
return {
|
|
24
24
|
'authorModel': !exists(json, 'authorModel') ? undefined : DashboardAuthorModelFromJSON(json['authorModel']),
|
|
25
25
|
'bookingConfirmedDate': !exists(json, 'bookingConfirmedDate') ? undefined : (new Date(json['bookingConfirmedDate'])),
|
|
26
|
+
'caseCounterOffer': !exists(json, 'caseCounterOffer') ? undefined : CaseCounterOfferModelFromJSON(json['caseCounterOffer']),
|
|
26
27
|
'caseId': !exists(json, 'caseId') ? undefined : json['caseId'],
|
|
27
28
|
'caseUserDetails': !exists(json, 'caseUserDetails') ? undefined : CaseUserDetailsModelFromJSON(json['caseUserDetails']),
|
|
28
29
|
'citation': !exists(json, 'citation') ? undefined : DashboardCitationModelFromJSON(json['citation']),
|
|
29
30
|
'court': !exists(json, 'court') ? undefined : DashboardCourtModelFromJSON(json['court']),
|
|
31
|
+
'engagementLetter': !exists(json, 'engagementLetter') ? undefined : EngagementLetterModelFromJSON(json['engagementLetter']),
|
|
30
32
|
'hasLeftLawyerReview': !exists(json, 'hasLeftLawyerReview') ? undefined : json['hasLeftLawyerReview'],
|
|
31
33
|
'lawfirmId': !exists(json, 'lawfirmId') ? undefined : json['lawfirmId'],
|
|
32
34
|
'lawfirmName': !exists(json, 'lawfirmName') ? undefined : json['lawfirmName'],
|
|
@@ -35,8 +37,10 @@ export function DashboardCaseModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
37
|
'legalFeeInCents': !exists(json, 'legalFeeInCents') ? undefined : json['legalFeeInCents'],
|
|
36
38
|
'matchExpirationDateUtc': !exists(json, 'matchExpirationDateUtc') ? undefined : (new Date(json['matchExpirationDateUtc'])),
|
|
37
39
|
'messageBody': !exists(json, 'messageBody') ? undefined : json['messageBody'],
|
|
40
|
+
'overduePayment': !exists(json, 'overduePayment') ? undefined : OverduePaymentModelFromJSON(json['overduePayment']),
|
|
38
41
|
'status': !exists(json, 'status') ? undefined : DashboardStatusModelFromJSON(json['status']),
|
|
39
42
|
'userId': !exists(json, 'userId') ? undefined : json['userId'],
|
|
43
|
+
'violations': !exists(json, 'violations') ? undefined : (json['violations'].map(ViolationModel0FromJSON)),
|
|
40
44
|
};
|
|
41
45
|
}
|
|
42
46
|
export function DashboardCaseModelToJSON(value) {
|
|
@@ -49,10 +53,12 @@ export function DashboardCaseModelToJSON(value) {
|
|
|
49
53
|
return {
|
|
50
54
|
'authorModel': DashboardAuthorModelToJSON(value.authorModel),
|
|
51
55
|
'bookingConfirmedDate': value.bookingConfirmedDate === undefined ? undefined : (value.bookingConfirmedDate.toISOString()),
|
|
56
|
+
'caseCounterOffer': CaseCounterOfferModelToJSON(value.caseCounterOffer),
|
|
52
57
|
'caseId': value.caseId,
|
|
53
58
|
'caseUserDetails': CaseUserDetailsModelToJSON(value.caseUserDetails),
|
|
54
59
|
'citation': DashboardCitationModelToJSON(value.citation),
|
|
55
60
|
'court': DashboardCourtModelToJSON(value.court),
|
|
61
|
+
'engagementLetter': EngagementLetterModelToJSON(value.engagementLetter),
|
|
56
62
|
'hasLeftLawyerReview': value.hasLeftLawyerReview,
|
|
57
63
|
'lawfirmId': value.lawfirmId,
|
|
58
64
|
'lawfirmName': value.lawfirmName,
|
|
@@ -61,7 +67,9 @@ export function DashboardCaseModelToJSON(value) {
|
|
|
61
67
|
'legalFeeInCents': value.legalFeeInCents,
|
|
62
68
|
'matchExpirationDateUtc': value.matchExpirationDateUtc === undefined ? undefined : (value.matchExpirationDateUtc.toISOString()),
|
|
63
69
|
'messageBody': value.messageBody,
|
|
70
|
+
'overduePayment': OverduePaymentModelToJSON(value.overduePayment),
|
|
64
71
|
'status': DashboardStatusModelToJSON(value.status),
|
|
65
72
|
'userId': value.userId,
|
|
73
|
+
'violations': value.violations === undefined ? undefined : (value.violations.map(ViolationModel0ToJSON)),
|
|
66
74
|
};
|
|
67
75
|
}
|
|
@@ -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 EngagementLetterModel
|
|
16
|
+
*/
|
|
17
|
+
export interface EngagementLetterModel {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof EngagementLetterModel
|
|
22
|
+
*/
|
|
23
|
+
acknowledged?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof EngagementLetterModel
|
|
28
|
+
*/
|
|
29
|
+
engagementLetterUrl?: string;
|
|
30
|
+
}
|
|
31
|
+
export declare function EngagementLetterModelFromJSON(json: any): EngagementLetterModel;
|
|
32
|
+
export declare function EngagementLetterModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): EngagementLetterModel;
|
|
33
|
+
export declare function EngagementLetterModelToJSON(value?: EngagementLetterModel | 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 EngagementLetterModelFromJSON(json) {
|
|
16
|
+
return EngagementLetterModelFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function EngagementLetterModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
+
if ((json === undefined) || (json === null)) {
|
|
20
|
+
return json;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'acknowledged': !exists(json, 'acknowledged') ? undefined : json['acknowledged'],
|
|
24
|
+
'engagementLetterUrl': !exists(json, 'engagementLetterUrl') ? undefined : json['engagementLetterUrl'],
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export function EngagementLetterModelToJSON(value) {
|
|
28
|
+
if (value === undefined) {
|
|
29
|
+
return undefined;
|
|
30
|
+
}
|
|
31
|
+
if (value === null) {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'acknowledged': value.acknowledged,
|
|
36
|
+
'engagementLetterUrl': value.engagementLetterUrl,
|
|
37
|
+
};
|
|
38
|
+
}
|
|
@@ -20,8 +20,17 @@ export interface GenerateCounterOfferCasePaymentsRequest {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof GenerateCounterOfferCasePaymentsRequest
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
paymentPlanType: GenerateCounterOfferCasePaymentsRequestPaymentPlanTypeEnum;
|
|
24
24
|
}
|
|
25
25
|
export declare function GenerateCounterOfferCasePaymentsRequestFromJSON(json: any): GenerateCounterOfferCasePaymentsRequest;
|
|
26
26
|
export declare function GenerateCounterOfferCasePaymentsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GenerateCounterOfferCasePaymentsRequest;
|
|
27
27
|
export declare function GenerateCounterOfferCasePaymentsRequestToJSON(value?: GenerateCounterOfferCasePaymentsRequest | null): any;
|
|
28
|
+
/**
|
|
29
|
+
* @export
|
|
30
|
+
* @enum {string}
|
|
31
|
+
*/
|
|
32
|
+
export declare enum GenerateCounterOfferCasePaymentsRequestPaymentPlanTypeEnum {
|
|
33
|
+
ALLUPFRONT = "ALL_UPFRONT",
|
|
34
|
+
THREEPAYMENTSHALFFIRST = "THREE_PAYMENTS_HALF_FIRST",
|
|
35
|
+
TWOPAYMENTSMONTHLY = "TWO_PAYMENTS_MONTHLY"
|
|
36
|
+
}
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { exists } from '../runtime';
|
|
15
14
|
export function GenerateCounterOfferCasePaymentsRequestFromJSON(json) {
|
|
16
15
|
return GenerateCounterOfferCasePaymentsRequestFromJSONTyped(json, false);
|
|
17
16
|
}
|
|
@@ -20,7 +19,7 @@ export function GenerateCounterOfferCasePaymentsRequestFromJSONTyped(json, ignor
|
|
|
20
19
|
return json;
|
|
21
20
|
}
|
|
22
21
|
return {
|
|
23
|
-
'
|
|
22
|
+
'paymentPlanType': json['paymentPlanType'],
|
|
24
23
|
};
|
|
25
24
|
}
|
|
26
25
|
export function GenerateCounterOfferCasePaymentsRequestToJSON(value) {
|
|
@@ -31,6 +30,16 @@ export function GenerateCounterOfferCasePaymentsRequestToJSON(value) {
|
|
|
31
30
|
return null;
|
|
32
31
|
}
|
|
33
32
|
return {
|
|
34
|
-
'
|
|
33
|
+
'paymentPlanType': value.paymentPlanType,
|
|
35
34
|
};
|
|
36
35
|
}
|
|
36
|
+
/**
|
|
37
|
+
* @export
|
|
38
|
+
* @enum {string}
|
|
39
|
+
*/
|
|
40
|
+
export var GenerateCounterOfferCasePaymentsRequestPaymentPlanTypeEnum;
|
|
41
|
+
(function (GenerateCounterOfferCasePaymentsRequestPaymentPlanTypeEnum) {
|
|
42
|
+
GenerateCounterOfferCasePaymentsRequestPaymentPlanTypeEnum["ALLUPFRONT"] = "ALL_UPFRONT";
|
|
43
|
+
GenerateCounterOfferCasePaymentsRequestPaymentPlanTypeEnum["THREEPAYMENTSHALFFIRST"] = "THREE_PAYMENTS_HALF_FIRST";
|
|
44
|
+
GenerateCounterOfferCasePaymentsRequestPaymentPlanTypeEnum["TWOPAYMENTSMONTHLY"] = "TWO_PAYMENTS_MONTHLY";
|
|
45
|
+
})(GenerateCounterOfferCasePaymentsRequestPaymentPlanTypeEnum || (GenerateCounterOfferCasePaymentsRequestPaymentPlanTypeEnum = {}));
|
|
@@ -16,6 +16,12 @@ import { CasePaymentModel, LineItemModel } from './';
|
|
|
16
16
|
* @interface GenerateCounterOfferCasePaymentsResponse
|
|
17
17
|
*/
|
|
18
18
|
export interface GenerateCounterOfferCasePaymentsResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<CasePaymentModel>}
|
|
22
|
+
* @memberof GenerateCounterOfferCasePaymentsResponse
|
|
23
|
+
*/
|
|
24
|
+
authorizedPayments?: Array<CasePaymentModel>;
|
|
19
25
|
/**
|
|
20
26
|
*
|
|
21
27
|
* @type {number}
|
|
@@ -28,6 +34,18 @@ export interface GenerateCounterOfferCasePaymentsResponse {
|
|
|
28
34
|
* @memberof GenerateCounterOfferCasePaymentsResponse
|
|
29
35
|
*/
|
|
30
36
|
clientTotalCostInCents?: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof GenerateCounterOfferCasePaymentsResponse
|
|
41
|
+
*/
|
|
42
|
+
counterOfferRefundInCents?: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Array<CasePaymentModel>}
|
|
46
|
+
* @memberof GenerateCounterOfferCasePaymentsResponse
|
|
47
|
+
*/
|
|
48
|
+
expiredPayments?: Array<CasePaymentModel>;
|
|
31
49
|
/**
|
|
32
50
|
*
|
|
33
51
|
* @type {Array<CasePaymentModel>}
|
|
@@ -21,8 +21,11 @@ export function GenerateCounterOfferCasePaymentsResponseFromJSONTyped(json, igno
|
|
|
21
21
|
return json;
|
|
22
22
|
}
|
|
23
23
|
return {
|
|
24
|
+
'authorizedPayments': !exists(json, 'authorizedPayments') ? undefined : (json['authorizedPayments'].map(CasePaymentModelFromJSON)),
|
|
24
25
|
'clientBaseCostInCents': !exists(json, 'clientBaseCostInCents') ? undefined : json['clientBaseCostInCents'],
|
|
25
26
|
'clientTotalCostInCents': !exists(json, 'clientTotalCostInCents') ? undefined : json['clientTotalCostInCents'],
|
|
27
|
+
'counterOfferRefundInCents': !exists(json, 'counterOfferRefundInCents') ? undefined : json['counterOfferRefundInCents'],
|
|
28
|
+
'expiredPayments': !exists(json, 'expiredPayments') ? undefined : (json['expiredPayments'].map(CasePaymentModelFromJSON)),
|
|
26
29
|
'futurePayments': !exists(json, 'futurePayments') ? undefined : (json['futurePayments'].map(CasePaymentModelFromJSON)),
|
|
27
30
|
'lineItems': !exists(json, 'lineItems') ? undefined : (json['lineItems'].map(LineItemModelFromJSON)),
|
|
28
31
|
'totalRefCodeAdjustmentInCents': !exists(json, 'totalRefCodeAdjustmentInCents') ? undefined : json['totalRefCodeAdjustmentInCents'],
|
|
@@ -36,8 +39,11 @@ export function GenerateCounterOfferCasePaymentsResponseToJSON(value) {
|
|
|
36
39
|
return null;
|
|
37
40
|
}
|
|
38
41
|
return {
|
|
42
|
+
'authorizedPayments': value.authorizedPayments === undefined ? undefined : (value.authorizedPayments.map(CasePaymentModelToJSON)),
|
|
39
43
|
'clientBaseCostInCents': value.clientBaseCostInCents,
|
|
40
44
|
'clientTotalCostInCents': value.clientTotalCostInCents,
|
|
45
|
+
'counterOfferRefundInCents': value.counterOfferRefundInCents,
|
|
46
|
+
'expiredPayments': value.expiredPayments === undefined ? undefined : (value.expiredPayments.map(CasePaymentModelToJSON)),
|
|
41
47
|
'futurePayments': value.futurePayments === undefined ? undefined : (value.futurePayments.map(CasePaymentModelToJSON)),
|
|
42
48
|
'lineItems': value.lineItems === undefined ? undefined : (value.lineItems.map(LineItemModelToJSON)),
|
|
43
49
|
'totalRefCodeAdjustmentInCents': value.totalRefCodeAdjustmentInCents,
|
|
@@ -16,6 +16,12 @@ import { CasePaymentModel, LineItemModel } from './';
|
|
|
16
16
|
* @interface ListCostItemsForCustomerResponse
|
|
17
17
|
*/
|
|
18
18
|
export interface ListCostItemsForCustomerResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<CasePaymentModel>}
|
|
22
|
+
* @memberof ListCostItemsForCustomerResponse
|
|
23
|
+
*/
|
|
24
|
+
authorizedPayments?: Array<CasePaymentModel>;
|
|
19
25
|
/**
|
|
20
26
|
*
|
|
21
27
|
* @type {number}
|
|
@@ -28,6 +34,18 @@ export interface ListCostItemsForCustomerResponse {
|
|
|
28
34
|
* @memberof ListCostItemsForCustomerResponse
|
|
29
35
|
*/
|
|
30
36
|
clientTotalCostInCents?: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ListCostItemsForCustomerResponse
|
|
41
|
+
*/
|
|
42
|
+
counterOfferRefundInCents?: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Array<CasePaymentModel>}
|
|
46
|
+
* @memberof ListCostItemsForCustomerResponse
|
|
47
|
+
*/
|
|
48
|
+
expiredPayments?: Array<CasePaymentModel>;
|
|
31
49
|
/**
|
|
32
50
|
*
|
|
33
51
|
* @type {Array<CasePaymentModel>}
|
|
@@ -21,8 +21,11 @@ export function ListCostItemsForCustomerResponseFromJSONTyped(json, ignoreDiscri
|
|
|
21
21
|
return json;
|
|
22
22
|
}
|
|
23
23
|
return {
|
|
24
|
+
'authorizedPayments': !exists(json, 'authorizedPayments') ? undefined : (json['authorizedPayments'].map(CasePaymentModelFromJSON)),
|
|
24
25
|
'clientBaseCostInCents': !exists(json, 'clientBaseCostInCents') ? undefined : json['clientBaseCostInCents'],
|
|
25
26
|
'clientTotalCostInCents': !exists(json, 'clientTotalCostInCents') ? undefined : json['clientTotalCostInCents'],
|
|
27
|
+
'counterOfferRefundInCents': !exists(json, 'counterOfferRefundInCents') ? undefined : json['counterOfferRefundInCents'],
|
|
28
|
+
'expiredPayments': !exists(json, 'expiredPayments') ? undefined : (json['expiredPayments'].map(CasePaymentModelFromJSON)),
|
|
26
29
|
'futurePayments': !exists(json, 'futurePayments') ? undefined : (json['futurePayments'].map(CasePaymentModelFromJSON)),
|
|
27
30
|
'lineItems': !exists(json, 'lineItems') ? undefined : (json['lineItems'].map(LineItemModelFromJSON)),
|
|
28
31
|
'totalRefCodeAdjustmentInCents': !exists(json, 'totalRefCodeAdjustmentInCents') ? undefined : json['totalRefCodeAdjustmentInCents'],
|
|
@@ -36,8 +39,11 @@ export function ListCostItemsForCustomerResponseToJSON(value) {
|
|
|
36
39
|
return null;
|
|
37
40
|
}
|
|
38
41
|
return {
|
|
42
|
+
'authorizedPayments': value.authorizedPayments === undefined ? undefined : (value.authorizedPayments.map(CasePaymentModelToJSON)),
|
|
39
43
|
'clientBaseCostInCents': value.clientBaseCostInCents,
|
|
40
44
|
'clientTotalCostInCents': value.clientTotalCostInCents,
|
|
45
|
+
'counterOfferRefundInCents': value.counterOfferRefundInCents,
|
|
46
|
+
'expiredPayments': value.expiredPayments === undefined ? undefined : (value.expiredPayments.map(CasePaymentModelToJSON)),
|
|
41
47
|
'futurePayments': value.futurePayments === undefined ? undefined : (value.futurePayments.map(CasePaymentModelToJSON)),
|
|
42
48
|
'lineItems': value.lineItems === undefined ? undefined : (value.lineItems.map(LineItemModelToJSON)),
|
|
43
49
|
'totalRefCodeAdjustmentInCents': value.totalRefCodeAdjustmentInCents,
|
|
@@ -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 OverduePaymentModel
|
|
16
|
+
*/
|
|
17
|
+
export interface OverduePaymentModel {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof OverduePaymentModel
|
|
22
|
+
*/
|
|
23
|
+
overduePaymentAmountInCents?: number;
|
|
24
|
+
}
|
|
25
|
+
export declare function OverduePaymentModelFromJSON(json: any): OverduePaymentModel;
|
|
26
|
+
export declare function OverduePaymentModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): OverduePaymentModel;
|
|
27
|
+
export declare function OverduePaymentModelToJSON(value?: OverduePaymentModel | 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 OverduePaymentModelFromJSON(json) {
|
|
16
|
+
return OverduePaymentModelFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function OverduePaymentModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
+
if ((json === undefined) || (json === null)) {
|
|
20
|
+
return json;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'overduePaymentAmountInCents': !exists(json, 'overduePaymentAmountInCents') ? undefined : json['overduePaymentAmountInCents'],
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export function OverduePaymentModelToJSON(value) {
|
|
27
|
+
if (value === undefined) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
if (value === null) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'overduePaymentAmountInCents': value.overduePaymentAmountInCents,
|
|
35
|
+
};
|
|
36
|
+
}
|
|
@@ -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 ViolationModel0
|
|
16
|
+
*/
|
|
17
|
+
export interface ViolationModel0 {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ViolationModel0
|
|
22
|
+
*/
|
|
23
|
+
userFriendlyName?: string;
|
|
24
|
+
}
|
|
25
|
+
export declare function ViolationModel0FromJSON(json: any): ViolationModel0;
|
|
26
|
+
export declare function ViolationModel0FromJSONTyped(json: any, ignoreDiscriminator: boolean): ViolationModel0;
|
|
27
|
+
export declare function ViolationModel0ToJSON(value?: ViolationModel0 | 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 ViolationModel0FromJSON(json) {
|
|
16
|
+
return ViolationModel0FromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function ViolationModel0FromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
+
if ((json === undefined) || (json === null)) {
|
|
20
|
+
return json;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'userFriendlyName': !exists(json, 'userFriendlyName') ? undefined : json['userFriendlyName'],
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export function ViolationModel0ToJSON(value) {
|
|
27
|
+
if (value === undefined) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
if (value === null) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'userFriendlyName': value.userFriendlyName,
|
|
35
|
+
};
|
|
36
|
+
}
|