@otr-app/shared-backend-generated-client 2.5.159 → 2.5.161
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 +78 -0
- package/dist/angular/model/getHouseHoldMateModel.ts +1 -0
- package/dist/angular/model/getTopCourtEarningsResponse.ts +19 -0
- package/dist/angular/model/models.ts +2 -0
- package/dist/angular/model/topCourtEarningsModel.ts +20 -0
- package/dist/angular/model/validateDirectMailResponse.ts +4 -1
- package/dist/otrBackendService.js +52 -0
- package/dist/otrBackendService.min.js +5 -5
- package/dist/typescript/api/LawfirmDashboardControllerApi.d.ts +9 -0
- package/dist/typescript/api/LawfirmDashboardControllerApi.js +37 -0
- package/dist/typescript/model/GetHouseHoldMateModel.d.ts +1 -0
- package/dist/typescript/model/GetTopCourtEarningsResponse.d.ts +16 -0
- package/dist/typescript/model/GetTopCourtEarningsResponse.js +12 -0
- package/dist/typescript/model/TopCourtEarningsModel.d.ts +17 -0
- package/dist/typescript/model/TopCourtEarningsModel.js +12 -0
- package/dist/typescript/model/ValidateDirectMailResponse.d.ts +3 -0
- package/dist/typescript/model/ValidateDirectMailResponse.js +3 -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 +15 -1
- package/dist/typescript-fetch/apis/LawfirmDashboardControllerApi.js +38 -1
- package/dist/typescript-fetch/models/GetHouseHoldMateModel.d.ts +6 -0
- package/dist/typescript-fetch/models/GetHouseHoldMateModel.js +2 -0
- package/dist/typescript-fetch/models/GetTopCourtEarningsResponse.d.ts +34 -0
- package/dist/typescript-fetch/models/GetTopCourtEarningsResponse.js +39 -0
- package/dist/typescript-fetch/models/TopCourtEarningsModel.d.ts +45 -0
- package/dist/typescript-fetch/models/TopCourtEarningsModel.js +42 -0
- package/dist/typescript-fetch/models/ValidateDirectMailResponse.d.ts +3 -0
- package/dist/typescript-fetch/models/ValidateDirectMailResponse.js +3 -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 +89 -0
- package/dist/typescript-open-api/otr-backend.js +3 -0
- package/package.json +1 -1
|
@@ -26,4 +26,13 @@ export declare class LawfirmDashboardControllerApi {
|
|
|
26
26
|
* @param startDate startDate
|
|
27
27
|
*/
|
|
28
28
|
getLawfirmGrossEarningsUsingGET(lawfirmId: number, period: 'DAILY' | 'HOURLY' | 'MONTHLY' | 'WEEKLY', endDate?: string, startDate?: string, extraHttpRequestParams?: any): ng.IHttpPromise<models.GetLawfirmGrossEarningsResponse>;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @summary getTopCourtEarnings
|
|
32
|
+
* @param lawfirmId lawfirmId
|
|
33
|
+
* @param endDate endDate
|
|
34
|
+
* @param limit limit
|
|
35
|
+
* @param startDate startDate
|
|
36
|
+
*/
|
|
37
|
+
getTopCourtEarningsUsingGET(lawfirmId: number, endDate?: string, limit?: number, startDate?: string, extraHttpRequestParams?: any): ng.IHttpPromise<models.GetTopCourtEarningsResponse>;
|
|
29
38
|
}
|
|
@@ -61,5 +61,42 @@ export class LawfirmDashboardControllerApi {
|
|
|
61
61
|
}
|
|
62
62
|
return this.$http(httpRequestParams);
|
|
63
63
|
}
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @summary getTopCourtEarnings
|
|
67
|
+
* @param lawfirmId lawfirmId
|
|
68
|
+
* @param endDate endDate
|
|
69
|
+
* @param limit limit
|
|
70
|
+
* @param startDate startDate
|
|
71
|
+
*/
|
|
72
|
+
getTopCourtEarningsUsingGET(lawfirmId, endDate, limit, startDate, extraHttpRequestParams) {
|
|
73
|
+
const localVarPath = this.basePath + '/api/v1/lawfirms/{lawfirmId}/dashboard/earnings/top-courts'
|
|
74
|
+
.replace('{' + 'lawfirmId' + '}', encodeURIComponent(String(lawfirmId)));
|
|
75
|
+
let queryParameters = {};
|
|
76
|
+
let headerParams = Object.assign({}, this.defaultHeaders);
|
|
77
|
+
// verify required parameter 'lawfirmId' is not null or undefined
|
|
78
|
+
if (lawfirmId === null || lawfirmId === undefined) {
|
|
79
|
+
throw new Error('Required parameter lawfirmId was null or undefined when calling getTopCourtEarningsUsingGET.');
|
|
80
|
+
}
|
|
81
|
+
if (endDate !== undefined) {
|
|
82
|
+
queryParameters['endDate'] = endDate;
|
|
83
|
+
}
|
|
84
|
+
if (limit !== undefined) {
|
|
85
|
+
queryParameters['limit'] = limit;
|
|
86
|
+
}
|
|
87
|
+
if (startDate !== undefined) {
|
|
88
|
+
queryParameters['startDate'] = startDate;
|
|
89
|
+
}
|
|
90
|
+
let httpRequestParams = {
|
|
91
|
+
method: 'GET',
|
|
92
|
+
url: localVarPath,
|
|
93
|
+
params: queryParameters,
|
|
94
|
+
headers: headerParams
|
|
95
|
+
};
|
|
96
|
+
if (extraHttpRequestParams) {
|
|
97
|
+
httpRequestParams = Object.assign(httpRequestParams, extraHttpRequestParams);
|
|
98
|
+
}
|
|
99
|
+
return this.$http(httpRequestParams);
|
|
100
|
+
}
|
|
64
101
|
}
|
|
65
102
|
LawfirmDashboardControllerApi.$inject = ['$http', '$httpParamSerializer', 'basePath'];
|
|
@@ -15,6 +15,7 @@ export interface GetHouseHoldMateModel {
|
|
|
15
15
|
"expiryDateUtc"?: string;
|
|
16
16
|
"fullName"?: string;
|
|
17
17
|
"inviteStatus"?: GetHouseHoldMateModel.InviteStatusEnum;
|
|
18
|
+
"joinDateUtc"?: string;
|
|
18
19
|
"profilePictureUrl"?: string;
|
|
19
20
|
"relationshipType"?: GetHouseHoldMateModel.RelationshipTypeEnum;
|
|
20
21
|
"userId"?: number;
|
|
@@ -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 GetTopCourtEarningsResponse {
|
|
14
|
+
"data"?: Array<models.TopCourtEarningsModel>;
|
|
15
|
+
"totalGrossEarningsInCents"?: 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 {};
|
|
@@ -0,0 +1,17 @@
|
|
|
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 TopCourtEarningsModel {
|
|
13
|
+
"caseCount"?: number;
|
|
14
|
+
"courtName"?: string;
|
|
15
|
+
"grossEarningsInCents"?: number;
|
|
16
|
+
"percentageOfTotal"?: number;
|
|
17
|
+
}
|
|
@@ -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 {};
|
|
@@ -97,6 +97,9 @@ export declare namespace ValidateDirectMailResponse {
|
|
|
97
97
|
FRESHDESKTICKETNOTFOUND,
|
|
98
98
|
FRESHDESKUNEXPECTEDNUMBEROFRESULTS,
|
|
99
99
|
GHOSTUSERNOTALLOWED,
|
|
100
|
+
HOUSEHOLDMATEINVITEFASTLANEACTIVEMEMBER,
|
|
101
|
+
HOUSEHOLDMATEINVITEFASTLANETEENMEMBER,
|
|
102
|
+
HOUSEHOLDMATEINVITEFASTLANETRIALMEMBER,
|
|
100
103
|
HTTPREQUESTERROR,
|
|
101
104
|
IMAGENOTCOMPRESSEDPROPERLY,
|
|
102
105
|
INACTIVESTOREFRONT,
|
|
@@ -96,6 +96,9 @@ export var ValidateDirectMailResponse;
|
|
|
96
96
|
OtrErrorEnum[OtrErrorEnum["FRESHDESKTICKETNOTFOUND"] = 'FRESHDESK_TICKET_NOT_FOUND'] = "FRESHDESKTICKETNOTFOUND";
|
|
97
97
|
OtrErrorEnum[OtrErrorEnum["FRESHDESKUNEXPECTEDNUMBEROFRESULTS"] = 'FRESHDESK_UNEXPECTED_NUMBER_OF_RESULTS'] = "FRESHDESKUNEXPECTEDNUMBEROFRESULTS";
|
|
98
98
|
OtrErrorEnum[OtrErrorEnum["GHOSTUSERNOTALLOWED"] = 'GHOST_USER_NOT_ALLOWED'] = "GHOSTUSERNOTALLOWED";
|
|
99
|
+
OtrErrorEnum[OtrErrorEnum["HOUSEHOLDMATEINVITEFASTLANEACTIVEMEMBER"] = 'HOUSEHOLD_MATE_INVITE_FASTLANE_ACTIVE_MEMBER'] = "HOUSEHOLDMATEINVITEFASTLANEACTIVEMEMBER";
|
|
100
|
+
OtrErrorEnum[OtrErrorEnum["HOUSEHOLDMATEINVITEFASTLANETEENMEMBER"] = 'HOUSEHOLD_MATE_INVITE_FASTLANE_TEEN_MEMBER'] = "HOUSEHOLDMATEINVITEFASTLANETEENMEMBER";
|
|
101
|
+
OtrErrorEnum[OtrErrorEnum["HOUSEHOLDMATEINVITEFASTLANETRIALMEMBER"] = 'HOUSEHOLD_MATE_INVITE_FASTLANE_TRIAL_MEMBER'] = "HOUSEHOLDMATEINVITEFASTLANETRIALMEMBER";
|
|
99
102
|
OtrErrorEnum[OtrErrorEnum["HTTPREQUESTERROR"] = 'HTTP_REQUEST_ERROR'] = "HTTPREQUESTERROR";
|
|
100
103
|
OtrErrorEnum[OtrErrorEnum["IMAGENOTCOMPRESSEDPROPERLY"] = 'IMAGE_NOT_COMPRESSED_PROPERLY'] = "IMAGENOTCOMPRESSEDPROPERLY";
|
|
101
104
|
OtrErrorEnum[OtrErrorEnum["INACTIVESTOREFRONT"] = 'INACTIVE_STOREFRONT'] = "INACTIVESTOREFRONT";
|
|
@@ -396,6 +396,7 @@ export * from './GetStripeChargesResponse';
|
|
|
396
396
|
export * from './GetStripeConnectedAccountsResponse';
|
|
397
397
|
export * from './GetSupportTicketsResponse';
|
|
398
398
|
export * from './GetTicketReviewResponse';
|
|
399
|
+
export * from './GetTopCourtEarningsResponse';
|
|
399
400
|
export * from './GetTrafficViolationModel';
|
|
400
401
|
export * from './GetTrafficViolationTypesResponse';
|
|
401
402
|
export * from './GetUserAddressesResponse';
|
|
@@ -772,6 +773,7 @@ export * from './TimelineItem';
|
|
|
772
773
|
export * from './Timestamp';
|
|
773
774
|
export * from './TimestampReq';
|
|
774
775
|
export * from './TimestampRes';
|
|
776
|
+
export * from './TopCourtEarningsModel';
|
|
775
777
|
export * from './Topic';
|
|
776
778
|
export * from './Topics';
|
|
777
779
|
export * from './TrafficViolationInputRequest';
|
|
@@ -396,6 +396,7 @@ export * from './GetStripeChargesResponse';
|
|
|
396
396
|
export * from './GetStripeConnectedAccountsResponse';
|
|
397
397
|
export * from './GetSupportTicketsResponse';
|
|
398
398
|
export * from './GetTicketReviewResponse';
|
|
399
|
+
export * from './GetTopCourtEarningsResponse';
|
|
399
400
|
export * from './GetTrafficViolationModel';
|
|
400
401
|
export * from './GetTrafficViolationTypesResponse';
|
|
401
402
|
export * from './GetUserAddressesResponse';
|
|
@@ -772,6 +773,7 @@ export * from './TimelineItem';
|
|
|
772
773
|
export * from './Timestamp';
|
|
773
774
|
export * from './TimestampReq';
|
|
774
775
|
export * from './TimestampRes';
|
|
776
|
+
export * from './TopCourtEarningsModel';
|
|
775
777
|
export * from './Topic';
|
|
776
778
|
export * from './Topics';
|
|
777
779
|
export * from './TrafficViolationInputRequest';
|
|
@@ -10,13 +10,19 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import { GetLawfirmGrossEarningsResponse } from '../models';
|
|
13
|
+
import { GetLawfirmGrossEarningsResponse, GetTopCourtEarningsResponse } from '../models';
|
|
14
14
|
export interface GetLawfirmGrossEarningsUsingGETRequest {
|
|
15
15
|
lawfirmId: number;
|
|
16
16
|
period: GetLawfirmGrossEarningsUsingGETPeriodEnum;
|
|
17
17
|
endDate?: Date;
|
|
18
18
|
startDate?: Date;
|
|
19
19
|
}
|
|
20
|
+
export interface GetTopCourtEarningsUsingGETRequest {
|
|
21
|
+
lawfirmId: number;
|
|
22
|
+
endDate?: Date;
|
|
23
|
+
limit?: number;
|
|
24
|
+
startDate?: Date;
|
|
25
|
+
}
|
|
20
26
|
/**
|
|
21
27
|
*
|
|
22
28
|
*/
|
|
@@ -29,6 +35,14 @@ export declare class LawfirmDashboardControllerApi extends runtime.BaseAPI {
|
|
|
29
35
|
* getLawfirmGrossEarnings
|
|
30
36
|
*/
|
|
31
37
|
getLawfirmGrossEarningsUsingGET(requestParameters: GetLawfirmGrossEarningsUsingGETRequest): Promise<GetLawfirmGrossEarningsResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* getTopCourtEarnings
|
|
40
|
+
*/
|
|
41
|
+
getTopCourtEarningsUsingGETRaw(requestParameters: GetTopCourtEarningsUsingGETRequest): Promise<runtime.ApiResponse<GetTopCourtEarningsResponse>>;
|
|
42
|
+
/**
|
|
43
|
+
* getTopCourtEarnings
|
|
44
|
+
*/
|
|
45
|
+
getTopCourtEarningsUsingGET(requestParameters: GetTopCourtEarningsUsingGETRequest): Promise<GetTopCourtEarningsResponse>;
|
|
32
46
|
}
|
|
33
47
|
/**
|
|
34
48
|
* @export
|
|
@@ -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 { GetLawfirmGrossEarningsResponseFromJSON, } from '../models';
|
|
24
|
+
import { GetLawfirmGrossEarningsResponseFromJSON, GetTopCourtEarningsResponseFromJSON, } from '../models';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -66,6 +66,43 @@ export class LawfirmDashboardControllerApi extends runtime.BaseAPI {
|
|
|
66
66
|
return yield response.value();
|
|
67
67
|
});
|
|
68
68
|
}
|
|
69
|
+
/**
|
|
70
|
+
* getTopCourtEarnings
|
|
71
|
+
*/
|
|
72
|
+
getTopCourtEarningsUsingGETRaw(requestParameters) {
|
|
73
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
74
|
+
if (requestParameters.lawfirmId === null || requestParameters.lawfirmId === undefined) {
|
|
75
|
+
throw new runtime.RequiredError('lawfirmId', 'Required parameter requestParameters.lawfirmId was null or undefined when calling getTopCourtEarningsUsingGET.');
|
|
76
|
+
}
|
|
77
|
+
const queryParameters = {};
|
|
78
|
+
if (requestParameters.endDate !== undefined) {
|
|
79
|
+
queryParameters['endDate'] = requestParameters.endDate.toISOString().substr(0, 10);
|
|
80
|
+
}
|
|
81
|
+
if (requestParameters.limit !== undefined) {
|
|
82
|
+
queryParameters['limit'] = requestParameters.limit;
|
|
83
|
+
}
|
|
84
|
+
if (requestParameters.startDate !== undefined) {
|
|
85
|
+
queryParameters['startDate'] = requestParameters.startDate.toISOString().substr(0, 10);
|
|
86
|
+
}
|
|
87
|
+
const headerParameters = {};
|
|
88
|
+
const response = yield this.request({
|
|
89
|
+
path: `/api/v1/lawfirms/{lawfirmId}/dashboard/earnings/top-courts`.replace(`{${"lawfirmId"}}`, encodeURIComponent(String(requestParameters.lawfirmId))),
|
|
90
|
+
method: 'GET',
|
|
91
|
+
headers: headerParameters,
|
|
92
|
+
query: queryParameters,
|
|
93
|
+
});
|
|
94
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GetTopCourtEarningsResponseFromJSON(jsonValue));
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* getTopCourtEarnings
|
|
99
|
+
*/
|
|
100
|
+
getTopCourtEarningsUsingGET(requestParameters) {
|
|
101
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
102
|
+
const response = yield this.getTopCourtEarningsUsingGETRaw(requestParameters);
|
|
103
|
+
return yield response.value();
|
|
104
|
+
});
|
|
105
|
+
}
|
|
69
106
|
}
|
|
70
107
|
/**
|
|
71
108
|
* @export
|
|
@@ -45,6 +45,12 @@ export interface GetHouseHoldMateModel {
|
|
|
45
45
|
* @memberof GetHouseHoldMateModel
|
|
46
46
|
*/
|
|
47
47
|
inviteStatus?: GetHouseHoldMateModelInviteStatusEnum;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Date}
|
|
51
|
+
* @memberof GetHouseHoldMateModel
|
|
52
|
+
*/
|
|
53
|
+
joinDateUtc?: Date;
|
|
48
54
|
/**
|
|
49
55
|
*
|
|
50
56
|
* @type {string}
|
|
@@ -25,6 +25,7 @@ export function GetHouseHoldMateModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
25
|
'expiryDateUtc': !exists(json, 'expiryDateUtc') ? undefined : (new Date(json['expiryDateUtc'])),
|
|
26
26
|
'fullName': !exists(json, 'fullName') ? undefined : json['fullName'],
|
|
27
27
|
'inviteStatus': !exists(json, 'inviteStatus') ? undefined : json['inviteStatus'],
|
|
28
|
+
'joinDateUtc': !exists(json, 'joinDateUtc') ? undefined : (new Date(json['joinDateUtc'])),
|
|
28
29
|
'profilePictureUrl': !exists(json, 'profilePictureUrl') ? undefined : json['profilePictureUrl'],
|
|
29
30
|
'relationshipType': !exists(json, 'relationshipType') ? undefined : json['relationshipType'],
|
|
30
31
|
'userId': !exists(json, 'userId') ? undefined : json['userId'],
|
|
@@ -43,6 +44,7 @@ export function GetHouseHoldMateModelToJSON(value) {
|
|
|
43
44
|
'expiryDateUtc': value.expiryDateUtc === undefined ? undefined : (value.expiryDateUtc.toISOString()),
|
|
44
45
|
'fullName': value.fullName,
|
|
45
46
|
'inviteStatus': value.inviteStatus,
|
|
47
|
+
'joinDateUtc': value.joinDateUtc === undefined ? undefined : (value.joinDateUtc.toISOString()),
|
|
46
48
|
'profilePictureUrl': value.profilePictureUrl,
|
|
47
49
|
'relationshipType': value.relationshipType,
|
|
48
50
|
'userId': value.userId,
|
|
@@ -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 { TopCourtEarningsModel } from './';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetTopCourtEarningsResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface GetTopCourtEarningsResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<TopCourtEarningsModel>}
|
|
22
|
+
* @memberof GetTopCourtEarningsResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<TopCourtEarningsModel>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof GetTopCourtEarningsResponse
|
|
29
|
+
*/
|
|
30
|
+
totalGrossEarningsInCents?: number;
|
|
31
|
+
}
|
|
32
|
+
export declare function GetTopCourtEarningsResponseFromJSON(json: any): GetTopCourtEarningsResponse;
|
|
33
|
+
export declare function GetTopCourtEarningsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetTopCourtEarningsResponse;
|
|
34
|
+
export declare function GetTopCourtEarningsResponseToJSON(value?: GetTopCourtEarningsResponse | 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 { TopCourtEarningsModelFromJSON, TopCourtEarningsModelToJSON, } from './';
|
|
16
|
+
export function GetTopCourtEarningsResponseFromJSON(json) {
|
|
17
|
+
return GetTopCourtEarningsResponseFromJSONTyped(json, false);
|
|
18
|
+
}
|
|
19
|
+
export function GetTopCourtEarningsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
20
|
+
if ((json === undefined) || (json === null)) {
|
|
21
|
+
return json;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'data': !exists(json, 'data') ? undefined : (json['data'].map(TopCourtEarningsModelFromJSON)),
|
|
25
|
+
'totalGrossEarningsInCents': !exists(json, 'totalGrossEarningsInCents') ? undefined : json['totalGrossEarningsInCents'],
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
export function GetTopCourtEarningsResponseToJSON(value) {
|
|
29
|
+
if (value === undefined) {
|
|
30
|
+
return undefined;
|
|
31
|
+
}
|
|
32
|
+
if (value === null) {
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': value.data === undefined ? undefined : (value.data.map(TopCourtEarningsModelToJSON)),
|
|
37
|
+
'totalGrossEarningsInCents': value.totalGrossEarningsInCents,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 TopCourtEarningsModel
|
|
16
|
+
*/
|
|
17
|
+
export interface TopCourtEarningsModel {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof TopCourtEarningsModel
|
|
22
|
+
*/
|
|
23
|
+
caseCount?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof TopCourtEarningsModel
|
|
28
|
+
*/
|
|
29
|
+
courtName?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof TopCourtEarningsModel
|
|
34
|
+
*/
|
|
35
|
+
grossEarningsInCents?: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof TopCourtEarningsModel
|
|
40
|
+
*/
|
|
41
|
+
percentageOfTotal?: number;
|
|
42
|
+
}
|
|
43
|
+
export declare function TopCourtEarningsModelFromJSON(json: any): TopCourtEarningsModel;
|
|
44
|
+
export declare function TopCourtEarningsModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): TopCourtEarningsModel;
|
|
45
|
+
export declare function TopCourtEarningsModelToJSON(value?: TopCourtEarningsModel | null): any;
|
|
@@ -0,0 +1,42 @@
|
|
|
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 TopCourtEarningsModelFromJSON(json) {
|
|
16
|
+
return TopCourtEarningsModelFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function TopCourtEarningsModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
+
if ((json === undefined) || (json === null)) {
|
|
20
|
+
return json;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'caseCount': !exists(json, 'caseCount') ? undefined : json['caseCount'],
|
|
24
|
+
'courtName': !exists(json, 'courtName') ? undefined : json['courtName'],
|
|
25
|
+
'grossEarningsInCents': !exists(json, 'grossEarningsInCents') ? undefined : json['grossEarningsInCents'],
|
|
26
|
+
'percentageOfTotal': !exists(json, 'percentageOfTotal') ? undefined : json['percentageOfTotal'],
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
export function TopCourtEarningsModelToJSON(value) {
|
|
30
|
+
if (value === undefined) {
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|
|
33
|
+
if (value === null) {
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'caseCount': value.caseCount,
|
|
38
|
+
'courtName': value.courtName,
|
|
39
|
+
'grossEarningsInCents': value.grossEarningsInCents,
|
|
40
|
+
'percentageOfTotal': value.percentageOfTotal,
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -113,6 +113,9 @@ export declare enum ValidateDirectMailResponseOtrErrorEnum {
|
|
|
113
113
|
FRESHDESKTICKETNOTFOUND = "FRESHDESK_TICKET_NOT_FOUND",
|
|
114
114
|
FRESHDESKUNEXPECTEDNUMBEROFRESULTS = "FRESHDESK_UNEXPECTED_NUMBER_OF_RESULTS",
|
|
115
115
|
GHOSTUSERNOTALLOWED = "GHOST_USER_NOT_ALLOWED",
|
|
116
|
+
HOUSEHOLDMATEINVITEFASTLANEACTIVEMEMBER = "HOUSEHOLD_MATE_INVITE_FASTLANE_ACTIVE_MEMBER",
|
|
117
|
+
HOUSEHOLDMATEINVITEFASTLANETEENMEMBER = "HOUSEHOLD_MATE_INVITE_FASTLANE_TEEN_MEMBER",
|
|
118
|
+
HOUSEHOLDMATEINVITEFASTLANETRIALMEMBER = "HOUSEHOLD_MATE_INVITE_FASTLANE_TRIAL_MEMBER",
|
|
116
119
|
HTTPREQUESTERROR = "HTTP_REQUEST_ERROR",
|
|
117
120
|
IMAGENOTCOMPRESSEDPROPERLY = "IMAGE_NOT_COMPRESSED_PROPERLY",
|
|
118
121
|
INACTIVESTOREFRONT = "INACTIVE_STOREFRONT",
|
|
@@ -123,6 +123,9 @@ export var ValidateDirectMailResponseOtrErrorEnum;
|
|
|
123
123
|
ValidateDirectMailResponseOtrErrorEnum["FRESHDESKTICKETNOTFOUND"] = "FRESHDESK_TICKET_NOT_FOUND";
|
|
124
124
|
ValidateDirectMailResponseOtrErrorEnum["FRESHDESKUNEXPECTEDNUMBEROFRESULTS"] = "FRESHDESK_UNEXPECTED_NUMBER_OF_RESULTS";
|
|
125
125
|
ValidateDirectMailResponseOtrErrorEnum["GHOSTUSERNOTALLOWED"] = "GHOST_USER_NOT_ALLOWED";
|
|
126
|
+
ValidateDirectMailResponseOtrErrorEnum["HOUSEHOLDMATEINVITEFASTLANEACTIVEMEMBER"] = "HOUSEHOLD_MATE_INVITE_FASTLANE_ACTIVE_MEMBER";
|
|
127
|
+
ValidateDirectMailResponseOtrErrorEnum["HOUSEHOLDMATEINVITEFASTLANETEENMEMBER"] = "HOUSEHOLD_MATE_INVITE_FASTLANE_TEEN_MEMBER";
|
|
128
|
+
ValidateDirectMailResponseOtrErrorEnum["HOUSEHOLDMATEINVITEFASTLANETRIALMEMBER"] = "HOUSEHOLD_MATE_INVITE_FASTLANE_TRIAL_MEMBER";
|
|
126
129
|
ValidateDirectMailResponseOtrErrorEnum["HTTPREQUESTERROR"] = "HTTP_REQUEST_ERROR";
|
|
127
130
|
ValidateDirectMailResponseOtrErrorEnum["IMAGENOTCOMPRESSEDPROPERLY"] = "IMAGE_NOT_COMPRESSED_PROPERLY";
|
|
128
131
|
ValidateDirectMailResponseOtrErrorEnum["INACTIVESTOREFRONT"] = "INACTIVE_STOREFRONT";
|
|
@@ -396,6 +396,7 @@ export * from './GetStripeChargesResponse';
|
|
|
396
396
|
export * from './GetStripeConnectedAccountsResponse';
|
|
397
397
|
export * from './GetSupportTicketsResponse';
|
|
398
398
|
export * from './GetTicketReviewResponse';
|
|
399
|
+
export * from './GetTopCourtEarningsResponse';
|
|
399
400
|
export * from './GetTrafficViolationModel';
|
|
400
401
|
export * from './GetTrafficViolationTypesResponse';
|
|
401
402
|
export * from './GetUserAddressesResponse';
|
|
@@ -772,6 +773,7 @@ export * from './TimelineItem';
|
|
|
772
773
|
export * from './Timestamp';
|
|
773
774
|
export * from './TimestampReq';
|
|
774
775
|
export * from './TimestampRes';
|
|
776
|
+
export * from './TopCourtEarningsModel';
|
|
775
777
|
export * from './Topic';
|
|
776
778
|
export * from './Topics';
|
|
777
779
|
export * from './TrafficViolationInputRequest';
|
|
@@ -396,6 +396,7 @@ export * from './GetStripeChargesResponse';
|
|
|
396
396
|
export * from './GetStripeConnectedAccountsResponse';
|
|
397
397
|
export * from './GetSupportTicketsResponse';
|
|
398
398
|
export * from './GetTicketReviewResponse';
|
|
399
|
+
export * from './GetTopCourtEarningsResponse';
|
|
399
400
|
export * from './GetTrafficViolationModel';
|
|
400
401
|
export * from './GetTrafficViolationTypesResponse';
|
|
401
402
|
export * from './GetUserAddressesResponse';
|
|
@@ -772,6 +773,7 @@ export * from './TimelineItem';
|
|
|
772
773
|
export * from './Timestamp';
|
|
773
774
|
export * from './TimestampReq';
|
|
774
775
|
export * from './TimestampRes';
|
|
776
|
+
export * from './TopCourtEarningsModel';
|
|
775
777
|
export * from './Topic';
|
|
776
778
|
export * from './Topics';
|
|
777
779
|
export * from './TrafficViolationInputRequest';
|
|
@@ -3862,6 +3862,23 @@ export interface paths {
|
|
|
3862
3862
|
patch?: never;
|
|
3863
3863
|
trace?: never;
|
|
3864
3864
|
};
|
|
3865
|
+
"/api/v1/lawfirms/{lawfirmId}/dashboard/earnings/top-courts": {
|
|
3866
|
+
parameters: {
|
|
3867
|
+
query?: never;
|
|
3868
|
+
header?: never;
|
|
3869
|
+
path?: never;
|
|
3870
|
+
cookie?: never;
|
|
3871
|
+
};
|
|
3872
|
+
/** getTopCourtEarnings */
|
|
3873
|
+
get: operations["getTopCourtEarningsUsingGET"];
|
|
3874
|
+
put?: never;
|
|
3875
|
+
post?: never;
|
|
3876
|
+
delete?: never;
|
|
3877
|
+
options?: never;
|
|
3878
|
+
head?: never;
|
|
3879
|
+
patch?: never;
|
|
3880
|
+
trace?: never;
|
|
3881
|
+
};
|
|
3865
3882
|
"/api/v1/lawfirms/{lawfirmId}/dashboard/gross-earnings": {
|
|
3866
3883
|
parameters: {
|
|
3867
3884
|
query?: never;
|
|
@@ -11212,6 +11229,8 @@ export interface components {
|
|
|
11212
11229
|
fullName?: string;
|
|
11213
11230
|
/** @enum {string} */
|
|
11214
11231
|
inviteStatus?: DashboardCaseUserModelVerificationStatus;
|
|
11232
|
+
/** Format: date-time */
|
|
11233
|
+
joinDateUtc?: string;
|
|
11215
11234
|
profilePictureUrl?: string;
|
|
11216
11235
|
/** @enum {string} */
|
|
11217
11236
|
relationshipType?: GetHouseHoldMateModelRelationshipType;
|
|
@@ -11715,6 +11734,12 @@ export interface components {
|
|
|
11715
11734
|
GetTicketReviewResponse: {
|
|
11716
11735
|
ticketReview?: components["schemas"]["TicketReviewRequestRes"];
|
|
11717
11736
|
};
|
|
11737
|
+
/** GetTopCourtEarningsResponse */
|
|
11738
|
+
GetTopCourtEarningsResponse: {
|
|
11739
|
+
data?: components["schemas"]["TopCourtEarningsModel"][];
|
|
11740
|
+
/** Format: int64 */
|
|
11741
|
+
totalGrossEarningsInCents?: number;
|
|
11742
|
+
};
|
|
11718
11743
|
/** GetTrafficViolationModel */
|
|
11719
11744
|
GetTrafficViolationModel: {
|
|
11720
11745
|
classDescription?: string;
|
|
@@ -15809,6 +15834,16 @@ export interface components {
|
|
|
15809
15834
|
/** Format: int32 */
|
|
15810
15835
|
year?: number;
|
|
15811
15836
|
};
|
|
15837
|
+
/** TopCourtEarningsModel */
|
|
15838
|
+
TopCourtEarningsModel: {
|
|
15839
|
+
/** Format: int32 */
|
|
15840
|
+
caseCount?: number;
|
|
15841
|
+
courtName?: string;
|
|
15842
|
+
/** Format: int64 */
|
|
15843
|
+
grossEarningsInCents?: number;
|
|
15844
|
+
/** Format: double */
|
|
15845
|
+
percentageOfTotal?: number;
|
|
15846
|
+
};
|
|
15812
15847
|
/** Topic */
|
|
15813
15848
|
Topic: {
|
|
15814
15849
|
id?: string;
|
|
@@ -29462,6 +29497,57 @@ export interface operations {
|
|
|
29462
29497
|
};
|
|
29463
29498
|
};
|
|
29464
29499
|
};
|
|
29500
|
+
getTopCourtEarningsUsingGET: {
|
|
29501
|
+
parameters: {
|
|
29502
|
+
query?: {
|
|
29503
|
+
/** @description limit */
|
|
29504
|
+
limit?: number;
|
|
29505
|
+
/** @description startDate */
|
|
29506
|
+
startDate?: string;
|
|
29507
|
+
/** @description endDate */
|
|
29508
|
+
endDate?: string;
|
|
29509
|
+
};
|
|
29510
|
+
header?: never;
|
|
29511
|
+
path: {
|
|
29512
|
+
/** @description lawfirmId */
|
|
29513
|
+
lawfirmId: number;
|
|
29514
|
+
};
|
|
29515
|
+
cookie?: never;
|
|
29516
|
+
};
|
|
29517
|
+
requestBody?: never;
|
|
29518
|
+
responses: {
|
|
29519
|
+
/** @description OK */
|
|
29520
|
+
200: {
|
|
29521
|
+
headers: {
|
|
29522
|
+
[name: string]: unknown;
|
|
29523
|
+
};
|
|
29524
|
+
content: {
|
|
29525
|
+
"*/*": components["schemas"]["GetTopCourtEarningsResponse"];
|
|
29526
|
+
};
|
|
29527
|
+
};
|
|
29528
|
+
/** @description Unauthorized */
|
|
29529
|
+
401: {
|
|
29530
|
+
headers: {
|
|
29531
|
+
[name: string]: unknown;
|
|
29532
|
+
};
|
|
29533
|
+
content?: never;
|
|
29534
|
+
};
|
|
29535
|
+
/** @description Forbidden */
|
|
29536
|
+
403: {
|
|
29537
|
+
headers: {
|
|
29538
|
+
[name: string]: unknown;
|
|
29539
|
+
};
|
|
29540
|
+
content?: never;
|
|
29541
|
+
};
|
|
29542
|
+
/** @description Not Found */
|
|
29543
|
+
404: {
|
|
29544
|
+
headers: {
|
|
29545
|
+
[name: string]: unknown;
|
|
29546
|
+
};
|
|
29547
|
+
content?: never;
|
|
29548
|
+
};
|
|
29549
|
+
};
|
|
29550
|
+
};
|
|
29465
29551
|
getLawfirmGrossEarningsUsingGET: {
|
|
29466
29552
|
parameters: {
|
|
29467
29553
|
query: {
|
|
@@ -42114,6 +42200,9 @@ export declare enum ValidateDirectMailResponseOtrError {
|
|
|
42114
42200
|
FRESHDESK_TICKET_NOT_FOUND = "FRESHDESK_TICKET_NOT_FOUND",
|
|
42115
42201
|
FRESHDESK_UNEXPECTED_NUMBER_OF_RESULTS = "FRESHDESK_UNEXPECTED_NUMBER_OF_RESULTS",
|
|
42116
42202
|
GHOST_USER_NOT_ALLOWED = "GHOST_USER_NOT_ALLOWED",
|
|
42203
|
+
HOUSEHOLD_MATE_INVITE_FASTLANE_ACTIVE_MEMBER = "HOUSEHOLD_MATE_INVITE_FASTLANE_ACTIVE_MEMBER",
|
|
42204
|
+
HOUSEHOLD_MATE_INVITE_FASTLANE_TEEN_MEMBER = "HOUSEHOLD_MATE_INVITE_FASTLANE_TEEN_MEMBER",
|
|
42205
|
+
HOUSEHOLD_MATE_INVITE_FASTLANE_TRIAL_MEMBER = "HOUSEHOLD_MATE_INVITE_FASTLANE_TRIAL_MEMBER",
|
|
42117
42206
|
HTTP_REQUEST_ERROR = "HTTP_REQUEST_ERROR",
|
|
42118
42207
|
IMAGE_NOT_COMPRESSED_PROPERLY = "IMAGE_NOT_COMPRESSED_PROPERLY",
|
|
42119
42208
|
INACTIVE_STOREFRONT = "INACTIVE_STOREFRONT",
|