@otr-app/shared-backend-generated-client 2.5.140 → 2.5.141
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/caseCounterOfferController.service.ts +73 -0
- package/dist/angular/model/listCounterOffersModel.ts +37 -0
- package/dist/angular/model/listCounterOffersResponse.ts +19 -0
- package/dist/angular/model/models.ts +2 -0
- package/dist/otrBackendService.js +47 -0
- package/dist/otrBackendService.min.js +5 -4
- package/dist/typescript/api/CaseCounterOfferControllerApi.d.ts +8 -0
- package/dist/typescript/api/CaseCounterOfferControllerApi.js +33 -0
- package/dist/typescript/model/ListCounterOffersModel.d.ts +31 -0
- package/dist/typescript/model/ListCounterOffersModel.js +26 -0
- package/dist/typescript/model/ListCounterOffersResponse.d.ts +16 -0
- package/dist/typescript/model/ListCounterOffersResponse.js +12 -0
- package/dist/typescript/model/models.d.ts +2 -0
- package/dist/typescript/model/models.js +2 -0
- package/dist/typescript-fetch/apis/CaseCounterOfferControllerApi.d.ts +14 -1
- package/dist/typescript-fetch/apis/CaseCounterOfferControllerApi.js +35 -1
- package/dist/typescript-fetch/models/ListCounterOffersModel.d.ts +75 -0
- package/dist/typescript-fetch/models/ListCounterOffersModel.js +66 -0
- package/dist/typescript-fetch/models/ListCounterOffersResponse.d.ts +34 -0
- package/dist/typescript-fetch/models/ListCounterOffersResponse.js +39 -0
- 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 +83 -0
- package/package.json +1 -1
|
@@ -66,6 +66,14 @@ export declare class CaseCounterOfferControllerApi {
|
|
|
66
66
|
* @param request request
|
|
67
67
|
*/
|
|
68
68
|
initiateCaseCounterUsingPOST(caseId: string, request: models.InitiateCaseCounterRequest, extraHttpRequestParams?: any): ng.IHttpPromise<models.InitiateCaseCounterResponse>;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @summary listCounterOffers
|
|
72
|
+
* @param lawfirmId lawfirmId
|
|
73
|
+
* @param limit limit
|
|
74
|
+
* @param page page
|
|
75
|
+
*/
|
|
76
|
+
listCounterOffersUsingGET(lawfirmId: number, limit?: number, page?: number, extraHttpRequestParams?: any): ng.IHttpPromise<models.ListCounterOffersResponse>;
|
|
69
77
|
/**
|
|
70
78
|
*
|
|
71
79
|
* @summary withdrawCaseCounter
|
|
@@ -233,6 +233,39 @@ export class CaseCounterOfferControllerApi {
|
|
|
233
233
|
}
|
|
234
234
|
return this.$http(httpRequestParams);
|
|
235
235
|
}
|
|
236
|
+
/**
|
|
237
|
+
*
|
|
238
|
+
* @summary listCounterOffers
|
|
239
|
+
* @param lawfirmId lawfirmId
|
|
240
|
+
* @param limit limit
|
|
241
|
+
* @param page page
|
|
242
|
+
*/
|
|
243
|
+
listCounterOffersUsingGET(lawfirmId, limit, page, extraHttpRequestParams) {
|
|
244
|
+
const localVarPath = this.basePath + '/api/v1/lawfirms/{lawfirmId}/counters'
|
|
245
|
+
.replace('{' + 'lawfirmId' + '}', encodeURIComponent(String(lawfirmId)));
|
|
246
|
+
let queryParameters = {};
|
|
247
|
+
let headerParams = Object.assign({}, this.defaultHeaders);
|
|
248
|
+
// verify required parameter 'lawfirmId' is not null or undefined
|
|
249
|
+
if (lawfirmId === null || lawfirmId === undefined) {
|
|
250
|
+
throw new Error('Required parameter lawfirmId was null or undefined when calling listCounterOffersUsingGET.');
|
|
251
|
+
}
|
|
252
|
+
if (limit !== undefined) {
|
|
253
|
+
queryParameters['limit'] = limit;
|
|
254
|
+
}
|
|
255
|
+
if (page !== undefined) {
|
|
256
|
+
queryParameters['page'] = page;
|
|
257
|
+
}
|
|
258
|
+
let httpRequestParams = {
|
|
259
|
+
method: 'GET',
|
|
260
|
+
url: localVarPath,
|
|
261
|
+
params: queryParameters,
|
|
262
|
+
headers: headerParams
|
|
263
|
+
};
|
|
264
|
+
if (extraHttpRequestParams) {
|
|
265
|
+
httpRequestParams = Object.assign(httpRequestParams, extraHttpRequestParams);
|
|
266
|
+
}
|
|
267
|
+
return this.$http(httpRequestParams);
|
|
268
|
+
}
|
|
236
269
|
/**
|
|
237
270
|
*
|
|
238
271
|
* @summary withdrawCaseCounter
|
|
@@ -0,0 +1,31 @@
|
|
|
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 ListCounterOffersModel {
|
|
13
|
+
"caseId"?: string;
|
|
14
|
+
"counterOfferStatus"?: ListCounterOffersModel.CounterOfferStatusEnum;
|
|
15
|
+
"counterOptionTypes"?: Array<ListCounterOffersModel.CounterOptionTypesEnum>;
|
|
16
|
+
"currentCounterOfferDateUtc"?: string;
|
|
17
|
+
"firstName"?: string;
|
|
18
|
+
"lastName"?: string;
|
|
19
|
+
}
|
|
20
|
+
export declare namespace ListCounterOffersModel {
|
|
21
|
+
enum CounterOfferStatusEnum {
|
|
22
|
+
ACCEPTED,
|
|
23
|
+
DECLINED,
|
|
24
|
+
PENDING,
|
|
25
|
+
WITHDRAWN
|
|
26
|
+
}
|
|
27
|
+
enum CounterOptionTypesEnum {
|
|
28
|
+
FEE,
|
|
29
|
+
MBG
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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 ListCounterOffersModel;
|
|
13
|
+
(function (ListCounterOffersModel) {
|
|
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 = ListCounterOffersModel.CounterOfferStatusEnum || (ListCounterOffersModel.CounterOfferStatusEnum = {}));
|
|
21
|
+
let CounterOptionTypesEnum;
|
|
22
|
+
(function (CounterOptionTypesEnum) {
|
|
23
|
+
CounterOptionTypesEnum[CounterOptionTypesEnum["FEE"] = 'CHANGE_FEE'] = "FEE";
|
|
24
|
+
CounterOptionTypesEnum[CounterOptionTypesEnum["MBG"] = 'CHANGE_MBG'] = "MBG";
|
|
25
|
+
})(CounterOptionTypesEnum = ListCounterOffersModel.CounterOptionTypesEnum || (ListCounterOffersModel.CounterOptionTypesEnum = {}));
|
|
26
|
+
})(ListCounterOffersModel || (ListCounterOffersModel = {}));
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OffTheRecord Rest Service API - Devo
|
|
3
|
+
* A service to handle your traffic tickets
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as models from './models';
|
|
13
|
+
export interface ListCounterOffersResponse {
|
|
14
|
+
"counterOffers"?: Array<models.ListCounterOffersModel>;
|
|
15
|
+
"totalCounterOffers"?: number;
|
|
16
|
+
}
|
|
@@ -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 {};
|
|
@@ -503,6 +503,8 @@ export * from './ListCitationsRequest';
|
|
|
503
503
|
export * from './ListCitationsResponse';
|
|
504
504
|
export * from './ListContactTimelineResponse';
|
|
505
505
|
export * from './ListCostItemsForCustomerResponse';
|
|
506
|
+
export * from './ListCounterOffersModel';
|
|
507
|
+
export * from './ListCounterOffersResponse';
|
|
506
508
|
export * from './ListDashboardCaseUsersResponse';
|
|
507
509
|
export * from './ListDashboardCasesResponse';
|
|
508
510
|
export * from './ListDashboardCasesViolationModel';
|
|
@@ -503,6 +503,8 @@ export * from './ListCitationsRequest';
|
|
|
503
503
|
export * from './ListCitationsResponse';
|
|
504
504
|
export * from './ListContactTimelineResponse';
|
|
505
505
|
export * from './ListCostItemsForCustomerResponse';
|
|
506
|
+
export * from './ListCounterOffersModel';
|
|
507
|
+
export * from './ListCounterOffersResponse';
|
|
506
508
|
export * from './ListDashboardCaseUsersResponse';
|
|
507
509
|
export * from './ListDashboardCasesResponse';
|
|
508
510
|
export * from './ListDashboardCasesViolationModel';
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import { AcceptCaseCounterRequest, DeclineCaseCounterRequest, GenerateCounterOfferCasePaymentsRequest, GenerateCounterOfferCasePaymentsResponse, GetCaseCounterOptionsResponse, GetCounterOfferResponse, InitiateCaseCounterRequest, InitiateCaseCounterResponse } from '../models';
|
|
13
|
+
import { AcceptCaseCounterRequest, DeclineCaseCounterRequest, GenerateCounterOfferCasePaymentsRequest, GenerateCounterOfferCasePaymentsResponse, GetCaseCounterOptionsResponse, GetCounterOfferResponse, InitiateCaseCounterRequest, InitiateCaseCounterResponse, ListCounterOffersResponse } from '../models';
|
|
14
14
|
export interface AcceptCaseCounterUsingPUTRequest {
|
|
15
15
|
caseId: string;
|
|
16
16
|
counterId: number;
|
|
@@ -37,6 +37,11 @@ export interface InitiateCaseCounterUsingPOSTRequest {
|
|
|
37
37
|
caseId: string;
|
|
38
38
|
request: InitiateCaseCounterRequest;
|
|
39
39
|
}
|
|
40
|
+
export interface ListCounterOffersUsingGETRequest {
|
|
41
|
+
lawfirmId: number;
|
|
42
|
+
limit?: number;
|
|
43
|
+
page?: number;
|
|
44
|
+
}
|
|
40
45
|
export interface WithdrawCaseCounterUsingPUTRequest {
|
|
41
46
|
caseId: string;
|
|
42
47
|
counterId: number;
|
|
@@ -101,6 +106,14 @@ export declare class CaseCounterOfferControllerApi extends runtime.BaseAPI {
|
|
|
101
106
|
* initiateCaseCounter
|
|
102
107
|
*/
|
|
103
108
|
initiateCaseCounterUsingPOST(requestParameters: InitiateCaseCounterUsingPOSTRequest): Promise<InitiateCaseCounterResponse>;
|
|
109
|
+
/**
|
|
110
|
+
* listCounterOffers
|
|
111
|
+
*/
|
|
112
|
+
listCounterOffersUsingGETRaw(requestParameters: ListCounterOffersUsingGETRequest): Promise<runtime.ApiResponse<ListCounterOffersResponse>>;
|
|
113
|
+
/**
|
|
114
|
+
* listCounterOffers
|
|
115
|
+
*/
|
|
116
|
+
listCounterOffersUsingGET(requestParameters: ListCounterOffersUsingGETRequest): Promise<ListCounterOffersResponse>;
|
|
104
117
|
/**
|
|
105
118
|
* withdrawCaseCounter
|
|
106
119
|
*/
|
|
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import { AcceptCaseCounterRequestToJSON, DeclineCaseCounterRequestToJSON, GenerateCounterOfferCasePaymentsRequestToJSON, GenerateCounterOfferCasePaymentsResponseFromJSON, GetCaseCounterOptionsResponseFromJSON, GetCounterOfferResponseFromJSON, InitiateCaseCounterRequestToJSON, InitiateCaseCounterResponseFromJSON, } from '../models';
|
|
24
|
+
import { AcceptCaseCounterRequestToJSON, DeclineCaseCounterRequestToJSON, GenerateCounterOfferCasePaymentsRequestToJSON, GenerateCounterOfferCasePaymentsResponseFromJSON, GetCaseCounterOptionsResponseFromJSON, GetCounterOfferResponseFromJSON, InitiateCaseCounterRequestToJSON, InitiateCaseCounterResponseFromJSON, ListCounterOffersResponseFromJSON, } from '../models';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -246,6 +246,40 @@ export class CaseCounterOfferControllerApi extends runtime.BaseAPI {
|
|
|
246
246
|
return yield response.value();
|
|
247
247
|
});
|
|
248
248
|
}
|
|
249
|
+
/**
|
|
250
|
+
* listCounterOffers
|
|
251
|
+
*/
|
|
252
|
+
listCounterOffersUsingGETRaw(requestParameters) {
|
|
253
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
254
|
+
if (requestParameters.lawfirmId === null || requestParameters.lawfirmId === undefined) {
|
|
255
|
+
throw new runtime.RequiredError('lawfirmId', 'Required parameter requestParameters.lawfirmId was null or undefined when calling listCounterOffersUsingGET.');
|
|
256
|
+
}
|
|
257
|
+
const queryParameters = {};
|
|
258
|
+
if (requestParameters.limit !== undefined) {
|
|
259
|
+
queryParameters['limit'] = requestParameters.limit;
|
|
260
|
+
}
|
|
261
|
+
if (requestParameters.page !== undefined) {
|
|
262
|
+
queryParameters['page'] = requestParameters.page;
|
|
263
|
+
}
|
|
264
|
+
const headerParameters = {};
|
|
265
|
+
const response = yield this.request({
|
|
266
|
+
path: `/api/v1/lawfirms/{lawfirmId}/counters`.replace(`{${"lawfirmId"}}`, encodeURIComponent(String(requestParameters.lawfirmId))),
|
|
267
|
+
method: 'GET',
|
|
268
|
+
headers: headerParameters,
|
|
269
|
+
query: queryParameters,
|
|
270
|
+
});
|
|
271
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ListCounterOffersResponseFromJSON(jsonValue));
|
|
272
|
+
});
|
|
273
|
+
}
|
|
274
|
+
/**
|
|
275
|
+
* listCounterOffers
|
|
276
|
+
*/
|
|
277
|
+
listCounterOffersUsingGET(requestParameters) {
|
|
278
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
279
|
+
const response = yield this.listCounterOffersUsingGETRaw(requestParameters);
|
|
280
|
+
return yield response.value();
|
|
281
|
+
});
|
|
282
|
+
}
|
|
249
283
|
/**
|
|
250
284
|
* withdrawCaseCounter
|
|
251
285
|
*/
|
|
@@ -0,0 +1,75 @@
|
|
|
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 ListCounterOffersModel
|
|
16
|
+
*/
|
|
17
|
+
export interface ListCounterOffersModel {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ListCounterOffersModel
|
|
22
|
+
*/
|
|
23
|
+
caseId?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ListCounterOffersModel
|
|
28
|
+
*/
|
|
29
|
+
counterOfferStatus?: ListCounterOffersModelCounterOfferStatusEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof ListCounterOffersModel
|
|
34
|
+
*/
|
|
35
|
+
counterOptionTypes?: Array<ListCounterOffersModelCounterOptionTypesEnum>;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof ListCounterOffersModel
|
|
40
|
+
*/
|
|
41
|
+
currentCounterOfferDateUtc?: Date;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ListCounterOffersModel
|
|
46
|
+
*/
|
|
47
|
+
firstName?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ListCounterOffersModel
|
|
52
|
+
*/
|
|
53
|
+
lastName?: string;
|
|
54
|
+
}
|
|
55
|
+
export declare function ListCounterOffersModelFromJSON(json: any): ListCounterOffersModel;
|
|
56
|
+
export declare function ListCounterOffersModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListCounterOffersModel;
|
|
57
|
+
export declare function ListCounterOffersModelToJSON(value?: ListCounterOffersModel | null): any;
|
|
58
|
+
/**
|
|
59
|
+
* @export
|
|
60
|
+
* @enum {string}
|
|
61
|
+
*/
|
|
62
|
+
export declare enum ListCounterOffersModelCounterOfferStatusEnum {
|
|
63
|
+
ACCEPTED = "ACCEPTED",
|
|
64
|
+
DECLINED = "DECLINED",
|
|
65
|
+
PENDING = "PENDING",
|
|
66
|
+
WITHDRAWN = "WITHDRAWN"
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* @export
|
|
70
|
+
* @enum {string}
|
|
71
|
+
*/
|
|
72
|
+
export declare enum ListCounterOffersModelCounterOptionTypesEnum {
|
|
73
|
+
FEE = "CHANGE_FEE",
|
|
74
|
+
MBG = "CHANGE_MBG"
|
|
75
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
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 ListCounterOffersModelFromJSON(json) {
|
|
16
|
+
return ListCounterOffersModelFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function ListCounterOffersModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
+
if ((json === undefined) || (json === null)) {
|
|
20
|
+
return json;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'caseId': !exists(json, 'caseId') ? undefined : json['caseId'],
|
|
24
|
+
'counterOfferStatus': !exists(json, 'counterOfferStatus') ? undefined : json['counterOfferStatus'],
|
|
25
|
+
'counterOptionTypes': !exists(json, 'counterOptionTypes') ? undefined : json['counterOptionTypes'],
|
|
26
|
+
'currentCounterOfferDateUtc': !exists(json, 'currentCounterOfferDateUtc') ? undefined : (new Date(json['currentCounterOfferDateUtc'])),
|
|
27
|
+
'firstName': !exists(json, 'firstName') ? undefined : json['firstName'],
|
|
28
|
+
'lastName': !exists(json, 'lastName') ? undefined : json['lastName'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export function ListCounterOffersModelToJSON(value) {
|
|
32
|
+
if (value === undefined) {
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
if (value === null) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'caseId': value.caseId,
|
|
40
|
+
'counterOfferStatus': value.counterOfferStatus,
|
|
41
|
+
'counterOptionTypes': value.counterOptionTypes,
|
|
42
|
+
'currentCounterOfferDateUtc': value.currentCounterOfferDateUtc === undefined ? undefined : (value.currentCounterOfferDateUtc.toISOString()),
|
|
43
|
+
'firstName': value.firstName,
|
|
44
|
+
'lastName': value.lastName,
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* @export
|
|
49
|
+
* @enum {string}
|
|
50
|
+
*/
|
|
51
|
+
export var ListCounterOffersModelCounterOfferStatusEnum;
|
|
52
|
+
(function (ListCounterOffersModelCounterOfferStatusEnum) {
|
|
53
|
+
ListCounterOffersModelCounterOfferStatusEnum["ACCEPTED"] = "ACCEPTED";
|
|
54
|
+
ListCounterOffersModelCounterOfferStatusEnum["DECLINED"] = "DECLINED";
|
|
55
|
+
ListCounterOffersModelCounterOfferStatusEnum["PENDING"] = "PENDING";
|
|
56
|
+
ListCounterOffersModelCounterOfferStatusEnum["WITHDRAWN"] = "WITHDRAWN";
|
|
57
|
+
})(ListCounterOffersModelCounterOfferStatusEnum || (ListCounterOffersModelCounterOfferStatusEnum = {}));
|
|
58
|
+
/**
|
|
59
|
+
* @export
|
|
60
|
+
* @enum {string}
|
|
61
|
+
*/
|
|
62
|
+
export var ListCounterOffersModelCounterOptionTypesEnum;
|
|
63
|
+
(function (ListCounterOffersModelCounterOptionTypesEnum) {
|
|
64
|
+
ListCounterOffersModelCounterOptionTypesEnum["FEE"] = "CHANGE_FEE";
|
|
65
|
+
ListCounterOffersModelCounterOptionTypesEnum["MBG"] = "CHANGE_MBG";
|
|
66
|
+
})(ListCounterOffersModelCounterOptionTypesEnum || (ListCounterOffersModelCounterOptionTypesEnum = {}));
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OffTheRecord Rest Service API - Devo
|
|
3
|
+
* A service to handle your traffic tickets
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { ListCounterOffersModel } from './';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListCounterOffersResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ListCounterOffersResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ListCounterOffersModel>}
|
|
22
|
+
* @memberof ListCounterOffersResponse
|
|
23
|
+
*/
|
|
24
|
+
counterOffers?: Array<ListCounterOffersModel>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ListCounterOffersResponse
|
|
29
|
+
*/
|
|
30
|
+
totalCounterOffers?: number;
|
|
31
|
+
}
|
|
32
|
+
export declare function ListCounterOffersResponseFromJSON(json: any): ListCounterOffersResponse;
|
|
33
|
+
export declare function ListCounterOffersResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListCounterOffersResponse;
|
|
34
|
+
export declare function ListCounterOffersResponseToJSON(value?: ListCounterOffersResponse | null): any;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OffTheRecord Rest Service API - Devo
|
|
5
|
+
* A service to handle your traffic tickets
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { exists } from '../runtime';
|
|
15
|
+
import { ListCounterOffersModelFromJSON, ListCounterOffersModelToJSON, } from './';
|
|
16
|
+
export function ListCounterOffersResponseFromJSON(json) {
|
|
17
|
+
return ListCounterOffersResponseFromJSONTyped(json, false);
|
|
18
|
+
}
|
|
19
|
+
export function ListCounterOffersResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
20
|
+
if ((json === undefined) || (json === null)) {
|
|
21
|
+
return json;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'counterOffers': !exists(json, 'counterOffers') ? undefined : (json['counterOffers'].map(ListCounterOffersModelFromJSON)),
|
|
25
|
+
'totalCounterOffers': !exists(json, 'totalCounterOffers') ? undefined : json['totalCounterOffers'],
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
export function ListCounterOffersResponseToJSON(value) {
|
|
29
|
+
if (value === undefined) {
|
|
30
|
+
return undefined;
|
|
31
|
+
}
|
|
32
|
+
if (value === null) {
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'counterOffers': value.counterOffers === undefined ? undefined : (value.counterOffers.map(ListCounterOffersModelToJSON)),
|
|
37
|
+
'totalCounterOffers': value.totalCounterOffers,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
@@ -503,6 +503,8 @@ export * from './ListCitationsRequest';
|
|
|
503
503
|
export * from './ListCitationsResponse';
|
|
504
504
|
export * from './ListContactTimelineResponse';
|
|
505
505
|
export * from './ListCostItemsForCustomerResponse';
|
|
506
|
+
export * from './ListCounterOffersModel';
|
|
507
|
+
export * from './ListCounterOffersResponse';
|
|
506
508
|
export * from './ListDashboardCaseUsersResponse';
|
|
507
509
|
export * from './ListDashboardCasesResponse';
|
|
508
510
|
export * from './ListDashboardCasesViolationModel';
|
|
@@ -503,6 +503,8 @@ export * from './ListCitationsRequest';
|
|
|
503
503
|
export * from './ListCitationsResponse';
|
|
504
504
|
export * from './ListContactTimelineResponse';
|
|
505
505
|
export * from './ListCostItemsForCustomerResponse';
|
|
506
|
+
export * from './ListCounterOffersModel';
|
|
507
|
+
export * from './ListCounterOffersResponse';
|
|
506
508
|
export * from './ListDashboardCaseUsersResponse';
|
|
507
509
|
export * from './ListDashboardCasesResponse';
|
|
508
510
|
export * from './ListDashboardCasesViolationModel';
|
|
@@ -740,6 +740,23 @@ export interface paths {
|
|
|
740
740
|
patch?: never;
|
|
741
741
|
trace?: never;
|
|
742
742
|
};
|
|
743
|
+
"/api/v1/lawfirms/{lawfirmId}/counters": {
|
|
744
|
+
parameters: {
|
|
745
|
+
query?: never;
|
|
746
|
+
header?: never;
|
|
747
|
+
path?: never;
|
|
748
|
+
cookie?: never;
|
|
749
|
+
};
|
|
750
|
+
/** listCounterOffers */
|
|
751
|
+
get: operations["listCounterOffersUsingGET"];
|
|
752
|
+
put?: never;
|
|
753
|
+
post?: never;
|
|
754
|
+
delete?: never;
|
|
755
|
+
options?: never;
|
|
756
|
+
head?: never;
|
|
757
|
+
patch?: never;
|
|
758
|
+
trace?: never;
|
|
759
|
+
};
|
|
743
760
|
"/api/v1/citations/{citationIdString}/case": {
|
|
744
761
|
parameters: {
|
|
745
762
|
query?: never;
|
|
@@ -12951,6 +12968,23 @@ export interface components {
|
|
|
12951
12968
|
/** Format: int32 */
|
|
12952
12969
|
totalRefCodeAdjustmentInCents?: number;
|
|
12953
12970
|
};
|
|
12971
|
+
/** ListCounterOffersModel */
|
|
12972
|
+
ListCounterOffersModel: {
|
|
12973
|
+
caseId?: string;
|
|
12974
|
+
/** @enum {string} */
|
|
12975
|
+
counterOfferStatus?: PathsApiV1LawfirmsLawfirmIdInboxMessagesGetParametersQueryCaseCounterOfferStatuses;
|
|
12976
|
+
counterOptionTypes?: CaseCounterOptionModelType[];
|
|
12977
|
+
/** Format: date-time */
|
|
12978
|
+
currentCounterOfferDateUtc?: string;
|
|
12979
|
+
firstName?: string;
|
|
12980
|
+
lastName?: string;
|
|
12981
|
+
};
|
|
12982
|
+
/** ListCounterOffersResponse */
|
|
12983
|
+
ListCounterOffersResponse: {
|
|
12984
|
+
counterOffers?: components["schemas"]["ListCounterOffersModel"][];
|
|
12985
|
+
/** Format: int32 */
|
|
12986
|
+
totalCounterOffers?: number;
|
|
12987
|
+
};
|
|
12954
12988
|
/** ListDashboardCaseUsersResponse */
|
|
12955
12989
|
ListDashboardCaseUsersResponse: {
|
|
12956
12990
|
users?: components["schemas"]["DashboardCaseUserModel"][];
|
|
@@ -19080,6 +19114,55 @@ export interface operations {
|
|
|
19080
19114
|
};
|
|
19081
19115
|
};
|
|
19082
19116
|
};
|
|
19117
|
+
listCounterOffersUsingGET: {
|
|
19118
|
+
parameters: {
|
|
19119
|
+
query?: {
|
|
19120
|
+
/** @description limit */
|
|
19121
|
+
limit?: number;
|
|
19122
|
+
/** @description page */
|
|
19123
|
+
page?: number;
|
|
19124
|
+
};
|
|
19125
|
+
header?: never;
|
|
19126
|
+
path: {
|
|
19127
|
+
/** @description lawfirmId */
|
|
19128
|
+
lawfirmId: number;
|
|
19129
|
+
};
|
|
19130
|
+
cookie?: never;
|
|
19131
|
+
};
|
|
19132
|
+
requestBody?: never;
|
|
19133
|
+
responses: {
|
|
19134
|
+
/** @description OK */
|
|
19135
|
+
200: {
|
|
19136
|
+
headers: {
|
|
19137
|
+
[name: string]: unknown;
|
|
19138
|
+
};
|
|
19139
|
+
content: {
|
|
19140
|
+
"*/*": components["schemas"]["ListCounterOffersResponse"];
|
|
19141
|
+
};
|
|
19142
|
+
};
|
|
19143
|
+
/** @description Unauthorized */
|
|
19144
|
+
401: {
|
|
19145
|
+
headers: {
|
|
19146
|
+
[name: string]: unknown;
|
|
19147
|
+
};
|
|
19148
|
+
content?: never;
|
|
19149
|
+
};
|
|
19150
|
+
/** @description Forbidden */
|
|
19151
|
+
403: {
|
|
19152
|
+
headers: {
|
|
19153
|
+
[name: string]: unknown;
|
|
19154
|
+
};
|
|
19155
|
+
content?: never;
|
|
19156
|
+
};
|
|
19157
|
+
/** @description Not Found */
|
|
19158
|
+
404: {
|
|
19159
|
+
headers: {
|
|
19160
|
+
[name: string]: unknown;
|
|
19161
|
+
};
|
|
19162
|
+
content?: never;
|
|
19163
|
+
};
|
|
19164
|
+
};
|
|
19165
|
+
};
|
|
19083
19166
|
matchCaseUsingPOST: {
|
|
19084
19167
|
parameters: {
|
|
19085
19168
|
query?: never;
|