@otr-app/shared-backend-generated-client 2.4.92 → 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/api/activityFeedController.service.ts +19 -4
- 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/otrBackendService.js +15 -0
- package/dist/otrBackendService.min.js +7 -7
- package/dist/typescript/api/ActivityFeedControllerApi.d.ts +4 -1
- package/dist/typescript/api/ActivityFeedControllerApi.js +13 -1
- 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/apis/ActivityFeedControllerApi.d.ts +14 -0
- package/dist/typescript-fetch/apis/ActivityFeedControllerApi.js +21 -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
|
@@ -22,11 +22,14 @@ export declare class ActivityFeedControllerApi {
|
|
|
22
22
|
*
|
|
23
23
|
* @summary listActivityFeed
|
|
24
24
|
* @param limit limit
|
|
25
|
+
* @param activityType activityType
|
|
26
|
+
* @param courtId courtId
|
|
27
|
+
* @param hasProfilePicture hasProfilePicture
|
|
25
28
|
* @param nextPageToken nextPageToken
|
|
26
29
|
* @param previousPageToken previousPageToken
|
|
27
30
|
* @param regionCode regionCode
|
|
28
31
|
*/
|
|
29
|
-
listActivityFeedUsingGET(limit: number, nextPageToken?: string, previousPageToken?: string, regionCode?: string, extraHttpRequestParams?: any): ng.IHttpPromise<models.GetActivityFeedResponse>;
|
|
32
|
+
listActivityFeedUsingGET(limit: number, activityType?: 'PURCHASE' | 'REFERRAL' | 'REFUND' | 'RESOLUTION' | 'TICKET_REVIEW', courtId?: number, hasProfilePicture?: boolean, nextPageToken?: string, previousPageToken?: string, regionCode?: string, extraHttpRequestParams?: any): ng.IHttpPromise<models.GetActivityFeedResponse>;
|
|
30
33
|
/**
|
|
31
34
|
*
|
|
32
35
|
* @summary listCaseOutcomes
|
|
@@ -24,11 +24,14 @@ export class ActivityFeedControllerApi {
|
|
|
24
24
|
*
|
|
25
25
|
* @summary listActivityFeed
|
|
26
26
|
* @param limit limit
|
|
27
|
+
* @param activityType activityType
|
|
28
|
+
* @param courtId courtId
|
|
29
|
+
* @param hasProfilePicture hasProfilePicture
|
|
27
30
|
* @param nextPageToken nextPageToken
|
|
28
31
|
* @param previousPageToken previousPageToken
|
|
29
32
|
* @param regionCode regionCode
|
|
30
33
|
*/
|
|
31
|
-
listActivityFeedUsingGET(limit, nextPageToken, previousPageToken, regionCode, extraHttpRequestParams) {
|
|
34
|
+
listActivityFeedUsingGET(limit, activityType, courtId, hasProfilePicture, nextPageToken, previousPageToken, regionCode, extraHttpRequestParams) {
|
|
32
35
|
const localVarPath = this.basePath + '/api/v1/activity-feed';
|
|
33
36
|
let queryParameters = {};
|
|
34
37
|
let headerParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -36,6 +39,15 @@ export class ActivityFeedControllerApi {
|
|
|
36
39
|
if (limit === null || limit === undefined) {
|
|
37
40
|
throw new Error('Required parameter limit was null or undefined when calling listActivityFeedUsingGET.');
|
|
38
41
|
}
|
|
42
|
+
if (activityType !== undefined) {
|
|
43
|
+
queryParameters['activityType'] = activityType;
|
|
44
|
+
}
|
|
45
|
+
if (courtId !== undefined) {
|
|
46
|
+
queryParameters['courtId'] = courtId;
|
|
47
|
+
}
|
|
48
|
+
if (hasProfilePicture !== undefined) {
|
|
49
|
+
queryParameters['hasProfilePicture'] = hasProfilePicture;
|
|
50
|
+
}
|
|
39
51
|
if (limit !== undefined) {
|
|
40
52
|
queryParameters['limit'] = limit;
|
|
41
53
|
}
|
|
@@ -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';
|
|
@@ -13,6 +13,9 @@ import * as runtime from '../runtime';
|
|
|
13
13
|
import { GetActivityFeedResponse, ListCaseOutcomesResponse } from '../models';
|
|
14
14
|
export interface ListActivityFeedUsingGETRequest {
|
|
15
15
|
limit: number;
|
|
16
|
+
activityType?: ListActivityFeedUsingGETActivityTypeEnum;
|
|
17
|
+
courtId?: number;
|
|
18
|
+
hasProfilePicture?: boolean;
|
|
16
19
|
nextPageToken?: string;
|
|
17
20
|
previousPageToken?: string;
|
|
18
21
|
regionCode?: string;
|
|
@@ -45,6 +48,17 @@ export declare class ActivityFeedControllerApi extends runtime.BaseAPI {
|
|
|
45
48
|
*/
|
|
46
49
|
listCaseOutcomesUsingGET(requestParameters: ListCaseOutcomesUsingGETRequest): Promise<ListCaseOutcomesResponse>;
|
|
47
50
|
}
|
|
51
|
+
/**
|
|
52
|
+
* @export
|
|
53
|
+
* @enum {string}
|
|
54
|
+
*/
|
|
55
|
+
export declare enum ListActivityFeedUsingGETActivityTypeEnum {
|
|
56
|
+
PURCHASE = "PURCHASE",
|
|
57
|
+
REFERRAL = "REFERRAL",
|
|
58
|
+
REFUND = "REFUND",
|
|
59
|
+
RESOLUTION = "RESOLUTION",
|
|
60
|
+
TICKETREVIEW = "TICKET_REVIEW"
|
|
61
|
+
}
|
|
48
62
|
/**
|
|
49
63
|
* @export
|
|
50
64
|
* @enum {string}
|
|
@@ -35,6 +35,15 @@ export class ActivityFeedControllerApi extends runtime.BaseAPI {
|
|
|
35
35
|
throw new runtime.RequiredError('limit', 'Required parameter requestParameters.limit was null or undefined when calling listActivityFeedUsingGET.');
|
|
36
36
|
}
|
|
37
37
|
const queryParameters = {};
|
|
38
|
+
if (requestParameters.activityType !== undefined) {
|
|
39
|
+
queryParameters['activityType'] = requestParameters.activityType;
|
|
40
|
+
}
|
|
41
|
+
if (requestParameters.courtId !== undefined) {
|
|
42
|
+
queryParameters['courtId'] = requestParameters.courtId;
|
|
43
|
+
}
|
|
44
|
+
if (requestParameters.hasProfilePicture !== undefined) {
|
|
45
|
+
queryParameters['hasProfilePicture'] = requestParameters.hasProfilePicture;
|
|
46
|
+
}
|
|
38
47
|
if (requestParameters.limit !== undefined) {
|
|
39
48
|
queryParameters['limit'] = requestParameters.limit;
|
|
40
49
|
}
|
|
@@ -107,6 +116,18 @@ export class ActivityFeedControllerApi extends runtime.BaseAPI {
|
|
|
107
116
|
});
|
|
108
117
|
}
|
|
109
118
|
}
|
|
119
|
+
/**
|
|
120
|
+
* @export
|
|
121
|
+
* @enum {string}
|
|
122
|
+
*/
|
|
123
|
+
export var ListActivityFeedUsingGETActivityTypeEnum;
|
|
124
|
+
(function (ListActivityFeedUsingGETActivityTypeEnum) {
|
|
125
|
+
ListActivityFeedUsingGETActivityTypeEnum["PURCHASE"] = "PURCHASE";
|
|
126
|
+
ListActivityFeedUsingGETActivityTypeEnum["REFERRAL"] = "REFERRAL";
|
|
127
|
+
ListActivityFeedUsingGETActivityTypeEnum["REFUND"] = "REFUND";
|
|
128
|
+
ListActivityFeedUsingGETActivityTypeEnum["RESOLUTION"] = "RESOLUTION";
|
|
129
|
+
ListActivityFeedUsingGETActivityTypeEnum["TICKETREVIEW"] = "TICKET_REVIEW";
|
|
130
|
+
})(ListActivityFeedUsingGETActivityTypeEnum || (ListActivityFeedUsingGETActivityTypeEnum = {}));
|
|
110
131
|
/**
|
|
111
132
|
* @export
|
|
112
133
|
* @enum {string}
|
|
@@ -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';
|