@otr-app/shared-backend-generated-client 2.5.167 → 2.5.168
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/lawfirmDashboardController.service.ts +60 -0
- package/dist/angular/model/ageBracketModel.ts +19 -0
- package/dist/angular/model/getActiveCasesByAgeResponse.ts +21 -0
- package/dist/angular/model/models.ts +2 -0
- package/dist/otrBackendService.js +34 -0
- package/dist/otrBackendService.min.js +5 -5
- package/dist/typescript/api/LawfirmDashboardControllerApi.d.ts +6 -0
- package/dist/typescript/api/LawfirmDashboardControllerApi.js +25 -0
- package/dist/typescript/model/AgeBracketModel.d.ts +16 -0
- package/dist/typescript/model/AgeBracketModel.js +12 -0
- package/dist/typescript/model/GetActiveCasesByAgeResponse.d.ts +18 -0
- package/dist/typescript/model/GetActiveCasesByAgeResponse.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/LawfirmDashboardControllerApi.d.ts +12 -1
- package/dist/typescript-fetch/apis/LawfirmDashboardControllerApi.js +29 -1
- package/dist/typescript-fetch/models/AgeBracketModel.d.ts +39 -0
- package/dist/typescript-fetch/models/AgeBracketModel.js +40 -0
- package/dist/typescript-fetch/models/GetActiveCasesByAgeResponse.d.ts +46 -0
- package/dist/typescript-fetch/models/GetActiveCasesByAgeResponse.js +43 -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 +79 -0
- package/package.json +1 -1
|
@@ -159,6 +159,7 @@ model/addressDomainReq.ts
|
|
|
159
159
|
model/addressDomainRes.ts
|
|
160
160
|
model/addressEntity.ts
|
|
161
161
|
model/admin.ts
|
|
162
|
+
model/ageBracketModel.ts
|
|
162
163
|
model/agentBookingStats.ts
|
|
163
164
|
model/agentBookingsSummary.ts
|
|
164
165
|
model/aggregateBySource.ts
|
|
@@ -400,6 +401,7 @@ model/genericAdminListRequest.ts
|
|
|
400
401
|
model/geoRatesRequest.ts
|
|
401
402
|
model/getAcceptedCaseBreakdownResponse.ts
|
|
402
403
|
model/getAccountManagersResponse.ts
|
|
404
|
+
model/getActiveCasesByAgeResponse.ts
|
|
403
405
|
model/getActivityFeedResponse.ts
|
|
404
406
|
model/getAddressInnerResponse.ts
|
|
405
407
|
model/getAnonymousTicketUploads.ts
|
|
@@ -18,6 +18,8 @@ import { HttpClient, HttpHeaders, HttpParams,
|
|
|
18
18
|
import { CustomHttpParameterCodec } from '../encoder';
|
|
19
19
|
import { Observable } from 'rxjs';
|
|
20
20
|
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
import { GetActiveCasesByAgeResponse } from '../model/getActiveCasesByAgeResponse';
|
|
21
23
|
// @ts-ignore
|
|
22
24
|
import { GetLawfirmGrossEarningsResponse } from '../model/getLawfirmGrossEarningsResponse';
|
|
23
25
|
// @ts-ignore
|
|
@@ -93,6 +95,64 @@ export class LawfirmDashboardControllerService {
|
|
|
93
95
|
return httpParams;
|
|
94
96
|
}
|
|
95
97
|
|
|
98
|
+
/**
|
|
99
|
+
* getActiveCasesByAge
|
|
100
|
+
* @param lawfirmId lawfirmId
|
|
101
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
102
|
+
* @param reportProgress flag to report request and response progress.
|
|
103
|
+
*/
|
|
104
|
+
public getActiveCasesByAgeUsingGET(lawfirmId: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<GetActiveCasesByAgeResponse>;
|
|
105
|
+
public getActiveCasesByAgeUsingGET(lawfirmId: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<GetActiveCasesByAgeResponse>>;
|
|
106
|
+
public getActiveCasesByAgeUsingGET(lawfirmId: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<GetActiveCasesByAgeResponse>>;
|
|
107
|
+
public getActiveCasesByAgeUsingGET(lawfirmId: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
|
|
108
|
+
if (lawfirmId === null || lawfirmId === undefined) {
|
|
109
|
+
throw new Error('Required parameter lawfirmId was null or undefined when calling getActiveCasesByAgeUsingGET.');
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
let localVarHeaders = this.defaultHeaders;
|
|
113
|
+
|
|
114
|
+
let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
|
|
115
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
116
|
+
// to determine the Accept header
|
|
117
|
+
const httpHeaderAccepts: string[] = [
|
|
118
|
+
'*/*'
|
|
119
|
+
];
|
|
120
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
121
|
+
}
|
|
122
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
123
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
let localVarHttpContext: HttpContext | undefined = options && options.context;
|
|
127
|
+
if (localVarHttpContext === undefined) {
|
|
128
|
+
localVarHttpContext = new HttpContext();
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
133
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
134
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
135
|
+
responseType_ = 'text';
|
|
136
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
137
|
+
responseType_ = 'json';
|
|
138
|
+
} else {
|
|
139
|
+
responseType_ = 'blob';
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
let localVarPath = `/api/v1/lawfirms/${this.configuration.encodeParam({name: "lawfirmId", value: lawfirmId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64"})}/dashboard/active-cases-by-age`;
|
|
144
|
+
return this.httpClient.request<GetActiveCasesByAgeResponse>('get', `${this.configuration.basePath}${localVarPath}`,
|
|
145
|
+
{
|
|
146
|
+
context: localVarHttpContext,
|
|
147
|
+
responseType: <any>responseType_,
|
|
148
|
+
withCredentials: this.configuration.withCredentials,
|
|
149
|
+
headers: localVarHeaders,
|
|
150
|
+
observe: observe,
|
|
151
|
+
reportProgress: reportProgress
|
|
152
|
+
}
|
|
153
|
+
);
|
|
154
|
+
}
|
|
155
|
+
|
|
96
156
|
/**
|
|
97
157
|
* getLawfirmGrossEarnings
|
|
98
158
|
* @param lawfirmId lawfirmId
|
|
@@ -0,0 +1,19 @@
|
|
|
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 AgeBracketModel {
|
|
15
|
+
bracket?: string;
|
|
16
|
+
count?: number;
|
|
17
|
+
percentageOfTotal?: number;
|
|
18
|
+
}
|
|
19
|
+
|
|
@@ -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
|
+
import { AgeBracketModel } from './ageBracketModel';
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
export interface GetActiveCasesByAgeResponse {
|
|
16
|
+
ageBreakdown?: Array<AgeBracketModel>;
|
|
17
|
+
medianAgeInDays?: number;
|
|
18
|
+
networkMedianAgeInDays?: number;
|
|
19
|
+
totalActiveCases?: number;
|
|
20
|
+
}
|
|
21
|
+
|
|
@@ -34,6 +34,7 @@ export * from './addressDomainReq';
|
|
|
34
34
|
export * from './addressDomainRes';
|
|
35
35
|
export * from './addressEntity';
|
|
36
36
|
export * from './admin';
|
|
37
|
+
export * from './ageBracketModel';
|
|
37
38
|
export * from './agentBookingStats';
|
|
38
39
|
export * from './agentBookingsSummary';
|
|
39
40
|
export * from './aggregateBySource';
|
|
@@ -275,6 +276,7 @@ export * from './genericAdminListRequest';
|
|
|
275
276
|
export * from './geoRatesRequest';
|
|
276
277
|
export * from './getAcceptedCaseBreakdownResponse';
|
|
277
278
|
export * from './getAccountManagersResponse';
|
|
279
|
+
export * from './getActiveCasesByAgeResponse';
|
|
278
280
|
export * from './getActivityFeedResponse';
|
|
279
281
|
export * from './getAddressInnerResponse';
|
|
280
282
|
export * from './getAnonymousTicketUploads';
|
|
@@ -10962,6 +10962,40 @@ angular.module('otrBackendService', [])
|
|
|
10962
10962
|
|
|
10963
10963
|
return deferred.promise;
|
|
10964
10964
|
};
|
|
10965
|
+
/**
|
|
10966
|
+
* getActiveCasesByAge
|
|
10967
|
+
* @method
|
|
10968
|
+
* @name OtrService#getActiveCasesByAgeUsingGET
|
|
10969
|
+
* @param {object} parameters - method options and parameters
|
|
10970
|
+
* @param {integer} parameters.lawfirmId - lawfirmId
|
|
10971
|
+
*/
|
|
10972
|
+
OtrService.prototype.getActiveCasesByAgeUsingGET = function(parameters) {
|
|
10973
|
+
if (parameters === undefined) {
|
|
10974
|
+
parameters = {};
|
|
10975
|
+
}
|
|
10976
|
+
var deferred = $q.defer();
|
|
10977
|
+
var domain = this.domain,
|
|
10978
|
+
path = '/api/v1/lawfirms/{lawfirmId}/dashboard/active-cases-by-age';
|
|
10979
|
+
var body = {},
|
|
10980
|
+
queryParameters = {},
|
|
10981
|
+
headers = {},
|
|
10982
|
+
form = {};
|
|
10983
|
+
|
|
10984
|
+
headers['Accept'] = ['*/*'];
|
|
10985
|
+
|
|
10986
|
+
path = path.replace('{lawfirmId}', parameters['lawfirmId']);
|
|
10987
|
+
|
|
10988
|
+
if (parameters['lawfirmId'] === undefined) {
|
|
10989
|
+
deferred.reject(new Error('Missing required parameter: lawfirmId'));
|
|
10990
|
+
return deferred.promise;
|
|
10991
|
+
}
|
|
10992
|
+
|
|
10993
|
+
queryParameters = mergeQueryParams(parameters, queryParameters);
|
|
10994
|
+
|
|
10995
|
+
this.request('GET', domain + path, parameters, body, headers, queryParameters, form, deferred);
|
|
10996
|
+
|
|
10997
|
+
return deferred.promise;
|
|
10998
|
+
};
|
|
10965
10999
|
/**
|
|
10966
11000
|
* getTopCourtEarnings
|
|
10967
11001
|
* @method
|