@otr-app/shared-backend-generated-client 2.4.93 → 2.4.94
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 +1 -0
- package/dist/angular/model/caseCounterOfferModel.ts +12 -11
- package/dist/angular/model/dashboardCaseCounterOfferModel.ts +28 -0
- package/dist/angular/model/dashboardCaseModel.ts +2 -2
- package/dist/angular/model/models.ts +1 -0
- package/dist/typescript/model/CaseCounterOfferModel.d.ts +12 -9
- package/dist/typescript/model/CaseCounterOfferModel.js +1 -10
- package/dist/typescript/model/DashboardCaseCounterOfferModel.d.ts +23 -0
- package/dist/typescript/model/DashboardCaseCounterOfferModel.js +21 -0
- package/dist/typescript/model/DashboardCaseModel.d.ts +1 -1
- package/dist/typescript/model/models.d.ts +1 -0
- package/dist/typescript/model/models.js +1 -0
- package/dist/typescript-fetch/models/CaseCounterOfferModel.d.ts +62 -11
- package/dist/typescript-fetch/models/CaseCounterOfferModel.js +21 -11
- package/dist/typescript-fetch/models/DashboardCaseCounterOfferModel.d.ts +43 -0
- package/dist/typescript-fetch/models/DashboardCaseCounterOfferModel.js +49 -0
- package/dist/typescript-fetch/models/DashboardCaseModel.d.ts +3 -3
- package/dist/typescript-fetch/models/DashboardCaseModel.js +3 -3
- package/dist/typescript-fetch/models/index.d.ts +1 -0
- package/dist/typescript-fetch/models/index.js +1 -0
- package/package.json +1 -1
|
@@ -316,6 +316,7 @@ model/customerServiceAgentBookingDomain.ts
|
|
|
316
316
|
model/customerServiceAgentDomain.ts
|
|
317
317
|
model/dashboardAddressModel.ts
|
|
318
318
|
model/dashboardAuthorModel.ts
|
|
319
|
+
model/dashboardCaseCounterOfferModel.ts
|
|
319
320
|
model/dashboardCaseModel.ts
|
|
320
321
|
model/dashboardCitationModel.ts
|
|
321
322
|
model/dashboardCourtModel.ts
|
|
@@ -9,20 +9,21 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { Timestamp } from './timestamp';
|
|
12
13
|
|
|
13
14
|
|
|
14
15
|
export interface CaseCounterOfferModel {
|
|
15
16
|
counterOfferAmountInCents?: number;
|
|
16
|
-
|
|
17
|
+
counterOfferDateUtc?: Timestamp;
|
|
18
|
+
counterOfferId?: number;
|
|
19
|
+
counterOfferStatus?: string;
|
|
20
|
+
createdByUserId?: number;
|
|
21
|
+
createdByUserRoleId?: number;
|
|
22
|
+
initialLegalFeeInCents?: number;
|
|
23
|
+
initialRefundPercentage?: number;
|
|
24
|
+
lawfirmCaseId?: number;
|
|
25
|
+
noteToClient?: string;
|
|
26
|
+
noteToOtr?: string;
|
|
27
|
+
refundPercentage?: number;
|
|
17
28
|
}
|
|
18
|
-
export namespace CaseCounterOfferModel {
|
|
19
|
-
export type CounterOfferStatusEnum = 'ACCEPTED' | 'DECLINED' | 'PENDING' | 'WITHDRAWN';
|
|
20
|
-
export const CounterOfferStatusEnum = {
|
|
21
|
-
Accepted: 'ACCEPTED' as CounterOfferStatusEnum,
|
|
22
|
-
Declined: 'DECLINED' as CounterOfferStatusEnum,
|
|
23
|
-
Pending: 'PENDING' as CounterOfferStatusEnum,
|
|
24
|
-
Withdrawn: 'WITHDRAWN' as CounterOfferStatusEnum
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
|
|
28
29
|
|
|
@@ -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
|
+
|
|
13
|
+
|
|
14
|
+
export interface DashboardCaseCounterOfferModel {
|
|
15
|
+
counterOfferAmountInCents?: number;
|
|
16
|
+
counterOfferStatus?: DashboardCaseCounterOfferModel.CounterOfferStatusEnum;
|
|
17
|
+
}
|
|
18
|
+
export namespace DashboardCaseCounterOfferModel {
|
|
19
|
+
export type CounterOfferStatusEnum = 'ACCEPTED' | 'DECLINED' | 'PENDING' | 'WITHDRAWN';
|
|
20
|
+
export const CounterOfferStatusEnum = {
|
|
21
|
+
Accepted: 'ACCEPTED' as CounterOfferStatusEnum,
|
|
22
|
+
Declined: 'DECLINED' as CounterOfferStatusEnum,
|
|
23
|
+
Pending: 'PENDING' as CounterOfferStatusEnum,
|
|
24
|
+
Withdrawn: 'WITHDRAWN' as CounterOfferStatusEnum
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import { DashboardStatusModel } from './dashboardStatusModel';
|
|
13
13
|
import { DashboardCourtModel } from './dashboardCourtModel';
|
|
14
14
|
import { ViolationModel0 } from './violationModel0';
|
|
15
|
-
import {
|
|
15
|
+
import { DashboardCaseCounterOfferModel } from './dashboardCaseCounterOfferModel';
|
|
16
16
|
import { CaseUserDetailsModel } from './caseUserDetailsModel';
|
|
17
17
|
import { DashboardCitationModel } from './dashboardCitationModel';
|
|
18
18
|
import { DashboardAuthorModel } from './dashboardAuthorModel';
|
|
@@ -23,7 +23,7 @@ import { OverduePaymentModel } from './overduePaymentModel';
|
|
|
23
23
|
export interface DashboardCaseModel {
|
|
24
24
|
authorModel?: DashboardAuthorModel;
|
|
25
25
|
bookingConfirmedDate?: string;
|
|
26
|
-
caseCounterOffer?:
|
|
26
|
+
caseCounterOffer?: DashboardCaseCounterOfferModel;
|
|
27
27
|
caseId?: string;
|
|
28
28
|
caseUserDetails?: CaseUserDetailsModel;
|
|
29
29
|
citation?: DashboardCitationModel;
|
|
@@ -192,6 +192,7 @@ export * from './customerServiceAgentBookingDomain';
|
|
|
192
192
|
export * from './customerServiceAgentDomain';
|
|
193
193
|
export * from './dashboardAddressModel';
|
|
194
194
|
export * from './dashboardAuthorModel';
|
|
195
|
+
export * from './dashboardCaseCounterOfferModel';
|
|
195
196
|
export * from './dashboardCaseModel';
|
|
196
197
|
export * from './dashboardCitationModel';
|
|
197
198
|
export * from './dashboardCourtModel';
|
|
@@ -9,15 +9,18 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import * as models from './models';
|
|
12
13
|
export interface CaseCounterOfferModel {
|
|
13
14
|
"counterOfferAmountInCents"?: number;
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
15
|
+
"counterOfferDateUtc"?: models.Timestamp;
|
|
16
|
+
"counterOfferId"?: number;
|
|
17
|
+
"counterOfferStatus"?: string;
|
|
18
|
+
"createdByUserId"?: number;
|
|
19
|
+
"createdByUserRoleId"?: number;
|
|
20
|
+
"initialLegalFeeInCents"?: number;
|
|
21
|
+
"initialRefundPercentage"?: number;
|
|
22
|
+
"lawfirmCaseId"?: number;
|
|
23
|
+
"noteToClient"?: string;
|
|
24
|
+
"noteToOtr"?: string;
|
|
25
|
+
"refundPercentage"?: number;
|
|
23
26
|
}
|
|
@@ -9,13 +9,4 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
export
|
|
13
|
-
(function (CaseCounterOfferModel) {
|
|
14
|
-
let CounterOfferStatusEnum;
|
|
15
|
-
(function (CounterOfferStatusEnum) {
|
|
16
|
-
CounterOfferStatusEnum[CounterOfferStatusEnum["ACCEPTED"] = 'ACCEPTED'] = "ACCEPTED";
|
|
17
|
-
CounterOfferStatusEnum[CounterOfferStatusEnum["DECLINED"] = 'DECLINED'] = "DECLINED";
|
|
18
|
-
CounterOfferStatusEnum[CounterOfferStatusEnum["PENDING"] = 'PENDING'] = "PENDING";
|
|
19
|
-
CounterOfferStatusEnum[CounterOfferStatusEnum["WITHDRAWN"] = 'WITHDRAWN'] = "WITHDRAWN";
|
|
20
|
-
})(CounterOfferStatusEnum = CaseCounterOfferModel.CounterOfferStatusEnum || (CaseCounterOfferModel.CounterOfferStatusEnum = {}));
|
|
21
|
-
})(CaseCounterOfferModel || (CaseCounterOfferModel = {}));
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
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 DashboardCaseCounterOfferModel {
|
|
13
|
+
"counterOfferAmountInCents"?: number;
|
|
14
|
+
"counterOfferStatus"?: DashboardCaseCounterOfferModel.CounterOfferStatusEnum;
|
|
15
|
+
}
|
|
16
|
+
export declare namespace DashboardCaseCounterOfferModel {
|
|
17
|
+
enum CounterOfferStatusEnum {
|
|
18
|
+
ACCEPTED,
|
|
19
|
+
DECLINED,
|
|
20
|
+
PENDING,
|
|
21
|
+
WITHDRAWN
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
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 DashboardCaseCounterOfferModel;
|
|
13
|
+
(function (DashboardCaseCounterOfferModel) {
|
|
14
|
+
let CounterOfferStatusEnum;
|
|
15
|
+
(function (CounterOfferStatusEnum) {
|
|
16
|
+
CounterOfferStatusEnum[CounterOfferStatusEnum["ACCEPTED"] = 'ACCEPTED'] = "ACCEPTED";
|
|
17
|
+
CounterOfferStatusEnum[CounterOfferStatusEnum["DECLINED"] = 'DECLINED'] = "DECLINED";
|
|
18
|
+
CounterOfferStatusEnum[CounterOfferStatusEnum["PENDING"] = 'PENDING'] = "PENDING";
|
|
19
|
+
CounterOfferStatusEnum[CounterOfferStatusEnum["WITHDRAWN"] = 'WITHDRAWN'] = "WITHDRAWN";
|
|
20
|
+
})(CounterOfferStatusEnum = DashboardCaseCounterOfferModel.CounterOfferStatusEnum || (DashboardCaseCounterOfferModel.CounterOfferStatusEnum = {}));
|
|
21
|
+
})(DashboardCaseCounterOfferModel || (DashboardCaseCounterOfferModel = {}));
|
|
@@ -13,7 +13,7 @@ import * as models from './models';
|
|
|
13
13
|
export interface DashboardCaseModel {
|
|
14
14
|
"authorModel"?: models.DashboardAuthorModel;
|
|
15
15
|
"bookingConfirmedDate"?: string;
|
|
16
|
-
"caseCounterOffer"?: models.
|
|
16
|
+
"caseCounterOffer"?: models.DashboardCaseCounterOfferModel;
|
|
17
17
|
"caseId"?: string;
|
|
18
18
|
"caseUserDetails"?: models.CaseUserDetailsModel;
|
|
19
19
|
"citation"?: models.DashboardCitationModel;
|
|
@@ -192,6 +192,7 @@ export * from './CustomerServiceAgentBookingDomain';
|
|
|
192
192
|
export * from './CustomerServiceAgentDomain';
|
|
193
193
|
export * from './DashboardAddressModel';
|
|
194
194
|
export * from './DashboardAuthorModel';
|
|
195
|
+
export * from './DashboardCaseCounterOfferModel';
|
|
195
196
|
export * from './DashboardCaseModel';
|
|
196
197
|
export * from './DashboardCitationModel';
|
|
197
198
|
export * from './DashboardCourtModel';
|
|
@@ -192,6 +192,7 @@ export * from './CustomerServiceAgentBookingDomain';
|
|
|
192
192
|
export * from './CustomerServiceAgentDomain';
|
|
193
193
|
export * from './DashboardAddressModel';
|
|
194
194
|
export * from './DashboardAuthorModel';
|
|
195
|
+
export * from './DashboardCaseCounterOfferModel';
|
|
195
196
|
export * from './DashboardCaseModel';
|
|
196
197
|
export * from './DashboardCitationModel';
|
|
197
198
|
export * from './DashboardCourtModel';
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { Timestamp } from './';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -21,23 +22,73 @@ export interface CaseCounterOfferModel {
|
|
|
21
22
|
* @memberof CaseCounterOfferModel
|
|
22
23
|
*/
|
|
23
24
|
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;
|
|
24
37
|
/**
|
|
25
38
|
*
|
|
26
39
|
* @type {string}
|
|
27
40
|
* @memberof CaseCounterOfferModel
|
|
28
41
|
*/
|
|
29
|
-
counterOfferStatus?:
|
|
42
|
+
counterOfferStatus?: string;
|
|
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;
|
|
30
91
|
}
|
|
31
92
|
export declare function CaseCounterOfferModelFromJSON(json: any): CaseCounterOfferModel;
|
|
32
93
|
export declare function CaseCounterOfferModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): CaseCounterOfferModel;
|
|
33
94
|
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,6 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
|
+
import { TimestampFromJSON, TimestampToJSON, } from './';
|
|
15
16
|
export function CaseCounterOfferModelFromJSON(json) {
|
|
16
17
|
return CaseCounterOfferModelFromJSONTyped(json, false);
|
|
17
18
|
}
|
|
@@ -21,7 +22,17 @@ export function CaseCounterOfferModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
21
22
|
}
|
|
22
23
|
return {
|
|
23
24
|
'counterOfferAmountInCents': !exists(json, 'counterOfferAmountInCents') ? undefined : json['counterOfferAmountInCents'],
|
|
25
|
+
'counterOfferDateUtc': !exists(json, 'counterOfferDateUtc') ? undefined : TimestampFromJSON(json['counterOfferDateUtc']),
|
|
26
|
+
'counterOfferId': !exists(json, 'counterOfferId') ? undefined : json['counterOfferId'],
|
|
24
27
|
'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'],
|
|
25
36
|
};
|
|
26
37
|
}
|
|
27
38
|
export function CaseCounterOfferModelToJSON(value) {
|
|
@@ -33,17 +44,16 @@ export function CaseCounterOfferModelToJSON(value) {
|
|
|
33
44
|
}
|
|
34
45
|
return {
|
|
35
46
|
'counterOfferAmountInCents': value.counterOfferAmountInCents,
|
|
47
|
+
'counterOfferDateUtc': TimestampToJSON(value.counterOfferDateUtc),
|
|
48
|
+
'counterOfferId': value.counterOfferId,
|
|
36
49
|
'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,
|
|
37
58
|
};
|
|
38
59
|
}
|
|
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 = {}));
|
|
@@ -0,0 +1,43 @@
|
|
|
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 DashboardCaseCounterOfferModel
|
|
16
|
+
*/
|
|
17
|
+
export interface DashboardCaseCounterOfferModel {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof DashboardCaseCounterOfferModel
|
|
22
|
+
*/
|
|
23
|
+
counterOfferAmountInCents?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof DashboardCaseCounterOfferModel
|
|
28
|
+
*/
|
|
29
|
+
counterOfferStatus?: DashboardCaseCounterOfferModelCounterOfferStatusEnum;
|
|
30
|
+
}
|
|
31
|
+
export declare function DashboardCaseCounterOfferModelFromJSON(json: any): DashboardCaseCounterOfferModel;
|
|
32
|
+
export declare function DashboardCaseCounterOfferModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): DashboardCaseCounterOfferModel;
|
|
33
|
+
export declare function DashboardCaseCounterOfferModelToJSON(value?: DashboardCaseCounterOfferModel | null): any;
|
|
34
|
+
/**
|
|
35
|
+
* @export
|
|
36
|
+
* @enum {string}
|
|
37
|
+
*/
|
|
38
|
+
export declare enum DashboardCaseCounterOfferModelCounterOfferStatusEnum {
|
|
39
|
+
ACCEPTED = "ACCEPTED",
|
|
40
|
+
DECLINED = "DECLINED",
|
|
41
|
+
PENDING = "PENDING",
|
|
42
|
+
WITHDRAWN = "WITHDRAWN"
|
|
43
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OffTheRecord Rest Service API - Devo
|
|
5
|
+
* A service to handle your traffic tickets
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { exists } from '../runtime';
|
|
15
|
+
export function DashboardCaseCounterOfferModelFromJSON(json) {
|
|
16
|
+
return DashboardCaseCounterOfferModelFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function DashboardCaseCounterOfferModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
+
if ((json === undefined) || (json === null)) {
|
|
20
|
+
return json;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'counterOfferAmountInCents': !exists(json, 'counterOfferAmountInCents') ? undefined : json['counterOfferAmountInCents'],
|
|
24
|
+
'counterOfferStatus': !exists(json, 'counterOfferStatus') ? undefined : json['counterOfferStatus'],
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export function DashboardCaseCounterOfferModelToJSON(value) {
|
|
28
|
+
if (value === undefined) {
|
|
29
|
+
return undefined;
|
|
30
|
+
}
|
|
31
|
+
if (value === null) {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'counterOfferAmountInCents': value.counterOfferAmountInCents,
|
|
36
|
+
'counterOfferStatus': value.counterOfferStatus,
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* @export
|
|
41
|
+
* @enum {string}
|
|
42
|
+
*/
|
|
43
|
+
export var DashboardCaseCounterOfferModelCounterOfferStatusEnum;
|
|
44
|
+
(function (DashboardCaseCounterOfferModelCounterOfferStatusEnum) {
|
|
45
|
+
DashboardCaseCounterOfferModelCounterOfferStatusEnum["ACCEPTED"] = "ACCEPTED";
|
|
46
|
+
DashboardCaseCounterOfferModelCounterOfferStatusEnum["DECLINED"] = "DECLINED";
|
|
47
|
+
DashboardCaseCounterOfferModelCounterOfferStatusEnum["PENDING"] = "PENDING";
|
|
48
|
+
DashboardCaseCounterOfferModelCounterOfferStatusEnum["WITHDRAWN"] = "WITHDRAWN";
|
|
49
|
+
})(DashboardCaseCounterOfferModelCounterOfferStatusEnum || (DashboardCaseCounterOfferModelCounterOfferStatusEnum = {}));
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { CaseUserDetailsModel, DashboardAuthorModel, DashboardCaseCounterOfferModel, DashboardCitationModel, DashboardCourtModel, DashboardStatusModel, EngagementLetterModel, OverduePaymentModel, ViolationModel0 } from './';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -30,10 +30,10 @@ export interface DashboardCaseModel {
|
|
|
30
30
|
bookingConfirmedDate?: Date;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
|
-
* @type {
|
|
33
|
+
* @type {DashboardCaseCounterOfferModel}
|
|
34
34
|
* @memberof DashboardCaseModel
|
|
35
35
|
*/
|
|
36
|
-
caseCounterOffer?:
|
|
36
|
+
caseCounterOffer?: DashboardCaseCounterOfferModel;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
39
|
* @type {string}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
|
-
import {
|
|
15
|
+
import { CaseUserDetailsModelFromJSON, CaseUserDetailsModelToJSON, DashboardAuthorModelFromJSON, DashboardAuthorModelToJSON, DashboardCaseCounterOfferModelFromJSON, DashboardCaseCounterOfferModelToJSON, 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,7 +23,7 @@ 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 :
|
|
26
|
+
'caseCounterOffer': !exists(json, 'caseCounterOffer') ? undefined : DashboardCaseCounterOfferModelFromJSON(json['caseCounterOffer']),
|
|
27
27
|
'caseId': !exists(json, 'caseId') ? undefined : json['caseId'],
|
|
28
28
|
'caseUserDetails': !exists(json, 'caseUserDetails') ? undefined : CaseUserDetailsModelFromJSON(json['caseUserDetails']),
|
|
29
29
|
'citation': !exists(json, 'citation') ? undefined : DashboardCitationModelFromJSON(json['citation']),
|
|
@@ -53,7 +53,7 @@ export function DashboardCaseModelToJSON(value) {
|
|
|
53
53
|
return {
|
|
54
54
|
'authorModel': DashboardAuthorModelToJSON(value.authorModel),
|
|
55
55
|
'bookingConfirmedDate': value.bookingConfirmedDate === undefined ? undefined : (value.bookingConfirmedDate.toISOString()),
|
|
56
|
-
'caseCounterOffer':
|
|
56
|
+
'caseCounterOffer': DashboardCaseCounterOfferModelToJSON(value.caseCounterOffer),
|
|
57
57
|
'caseId': value.caseId,
|
|
58
58
|
'caseUserDetails': CaseUserDetailsModelToJSON(value.caseUserDetails),
|
|
59
59
|
'citation': DashboardCitationModelToJSON(value.citation),
|
|
@@ -192,6 +192,7 @@ export * from './CustomerServiceAgentBookingDomain';
|
|
|
192
192
|
export * from './CustomerServiceAgentDomain';
|
|
193
193
|
export * from './DashboardAddressModel';
|
|
194
194
|
export * from './DashboardAuthorModel';
|
|
195
|
+
export * from './DashboardCaseCounterOfferModel';
|
|
195
196
|
export * from './DashboardCaseModel';
|
|
196
197
|
export * from './DashboardCitationModel';
|
|
197
198
|
export * from './DashboardCourtModel';
|
|
@@ -192,6 +192,7 @@ export * from './CustomerServiceAgentBookingDomain';
|
|
|
192
192
|
export * from './CustomerServiceAgentDomain';
|
|
193
193
|
export * from './DashboardAddressModel';
|
|
194
194
|
export * from './DashboardAuthorModel';
|
|
195
|
+
export * from './DashboardCaseCounterOfferModel';
|
|
195
196
|
export * from './DashboardCaseModel';
|
|
196
197
|
export * from './DashboardCitationModel';
|
|
197
198
|
export * from './DashboardCourtModel';
|