@otr-app/shared-backend-generated-client 2.5.128 → 2.5.130
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 +3 -0
- package/dist/angular/api/api.ts +3 -1
- package/dist/angular/api/lawfirmDashboardController.service.ts +173 -0
- package/dist/angular/api.module.ts +1 -0
- package/dist/angular/model/dashboardCaseModel.ts +28 -1
- package/dist/angular/model/earningsByPeriodDto.ts +18 -0
- package/dist/angular/model/getLawfirmGrossEarningsResponse.ts +18 -0
- package/dist/angular/model/models.ts +2 -0
- package/dist/otrBackendService.js +54 -0
- package/dist/otrBackendService.min.js +4 -4
- package/dist/typescript/api/LawfirmDashboardControllerApi.d.ts +29 -0
- package/dist/typescript/api/LawfirmDashboardControllerApi.js +65 -0
- package/dist/typescript/api/api.d.ts +3 -1
- package/dist/typescript/api/api.js +3 -1
- package/dist/typescript/api.module.js +1 -0
- package/dist/typescript/model/DashboardCaseModel.d.ts +26 -0
- package/dist/typescript/model/DashboardCaseModel.js +25 -0
- package/dist/typescript/model/EarningsByPeriodDto.d.ts +15 -0
- package/dist/typescript/model/EarningsByPeriodDto.js +12 -0
- package/dist/typescript/model/GetLawfirmGrossEarningsResponse.d.ts +15 -0
- package/dist/typescript/model/GetLawfirmGrossEarningsResponse.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 +42 -0
- package/dist/typescript-fetch/apis/LawfirmDashboardControllerApi.js +80 -0
- package/dist/typescript-fetch/apis/index.d.ts +1 -0
- package/dist/typescript-fetch/apis/index.js +1 -0
- package/dist/typescript-fetch/models/DashboardCaseModel.d.ts +40 -0
- package/dist/typescript-fetch/models/DashboardCaseModel.js +33 -0
- package/dist/typescript-fetch/models/EarningsByPeriodDto.d.ts +33 -0
- package/dist/typescript-fetch/models/EarningsByPeriodDto.js +38 -0
- package/dist/typescript-fetch/models/GetLawfirmGrossEarningsResponse.d.ts +28 -0
- package/dist/typescript-fetch/models/GetLawfirmGrossEarningsResponse.js +37 -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 +8 -0
- package/package.json +1 -1
|
@@ -0,0 +1,38 @@
|
|
|
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 EarningsByPeriodDtoFromJSON(json) {
|
|
16
|
+
return EarningsByPeriodDtoFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function EarningsByPeriodDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
+
if ((json === undefined) || (json === null)) {
|
|
20
|
+
return json;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'periodDate': !exists(json, 'periodDate') ? undefined : (new Date(json['periodDate'])),
|
|
24
|
+
'totalAmountInCents': !exists(json, 'totalAmountInCents') ? undefined : json['totalAmountInCents'],
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export function EarningsByPeriodDtoToJSON(value) {
|
|
28
|
+
if (value === undefined) {
|
|
29
|
+
return undefined;
|
|
30
|
+
}
|
|
31
|
+
if (value === null) {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'periodDate': value.periodDate === undefined ? undefined : (value.periodDate.toISOString()),
|
|
36
|
+
'totalAmountInCents': value.totalAmountInCents,
|
|
37
|
+
};
|
|
38
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OffTheRecord Rest Service API - Devo
|
|
3
|
+
* A service to handle your traffic tickets
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { EarningsByPeriodDto } from './';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetLawfirmGrossEarningsResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface GetLawfirmGrossEarningsResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<EarningsByPeriodDto>}
|
|
22
|
+
* @memberof GetLawfirmGrossEarningsResponse
|
|
23
|
+
*/
|
|
24
|
+
earnings?: Array<EarningsByPeriodDto>;
|
|
25
|
+
}
|
|
26
|
+
export declare function GetLawfirmGrossEarningsResponseFromJSON(json: any): GetLawfirmGrossEarningsResponse;
|
|
27
|
+
export declare function GetLawfirmGrossEarningsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetLawfirmGrossEarningsResponse;
|
|
28
|
+
export declare function GetLawfirmGrossEarningsResponseToJSON(value?: GetLawfirmGrossEarningsResponse | null): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { EarningsByPeriodDtoFromJSON, EarningsByPeriodDtoToJSON, } from './';
|
|
16
|
+
export function GetLawfirmGrossEarningsResponseFromJSON(json) {
|
|
17
|
+
return GetLawfirmGrossEarningsResponseFromJSONTyped(json, false);
|
|
18
|
+
}
|
|
19
|
+
export function GetLawfirmGrossEarningsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
20
|
+
if ((json === undefined) || (json === null)) {
|
|
21
|
+
return json;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'earnings': !exists(json, 'earnings') ? undefined : (json['earnings'].map(EarningsByPeriodDtoFromJSON)),
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export function GetLawfirmGrossEarningsResponseToJSON(value) {
|
|
28
|
+
if (value === undefined) {
|
|
29
|
+
return undefined;
|
|
30
|
+
}
|
|
31
|
+
if (value === null) {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'earnings': value.earnings === undefined ? undefined : (value.earnings.map(EarningsByPeriodDtoToJSON)),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
@@ -228,6 +228,7 @@ export * from './DripWebhookData';
|
|
|
228
228
|
export * from './DripWebhookEvent';
|
|
229
229
|
export * from './DriverLicenseModel';
|
|
230
230
|
export * from './Duration';
|
|
231
|
+
export * from './EarningsByPeriodDto';
|
|
231
232
|
export * from './EditConversationMessageRequest';
|
|
232
233
|
export * from './EditCustomerReviewRequest';
|
|
233
234
|
export * from './EnableViolationModel';
|
|
@@ -340,6 +341,7 @@ export * from './GetLawfirmFeeCoverageResponse';
|
|
|
340
341
|
export * from './GetLawfirmFeeModel';
|
|
341
342
|
export * from './GetLawfirmFeesResponse';
|
|
342
343
|
export * from './GetLawfirmFinancialTransactionsResponse';
|
|
344
|
+
export * from './GetLawfirmGrossEarningsResponse';
|
|
343
345
|
export * from './GetLawfirmInboxMessagesResponse';
|
|
344
346
|
export * from './GetLawfirmJobTitleResponse';
|
|
345
347
|
export * from './GetLawfirmLawyersResponse';
|
|
@@ -228,6 +228,7 @@ export * from './DripWebhookData';
|
|
|
228
228
|
export * from './DripWebhookEvent';
|
|
229
229
|
export * from './DriverLicenseModel';
|
|
230
230
|
export * from './Duration';
|
|
231
|
+
export * from './EarningsByPeriodDto';
|
|
231
232
|
export * from './EditConversationMessageRequest';
|
|
232
233
|
export * from './EditCustomerReviewRequest';
|
|
233
234
|
export * from './EnableViolationModel';
|
|
@@ -340,6 +341,7 @@ export * from './GetLawfirmFeeCoverageResponse';
|
|
|
340
341
|
export * from './GetLawfirmFeeModel';
|
|
341
342
|
export * from './GetLawfirmFeesResponse';
|
|
342
343
|
export * from './GetLawfirmFinancialTransactionsResponse';
|
|
344
|
+
export * from './GetLawfirmGrossEarningsResponse';
|
|
343
345
|
export * from './GetLawfirmInboxMessagesResponse';
|
|
344
346
|
export * from './GetLawfirmJobTitleResponse';
|
|
345
347
|
export * from './GetLawfirmLawyersResponse';
|
|
@@ -3811,6 +3811,23 @@ export interface paths {
|
|
|
3811
3811
|
patch?: never;
|
|
3812
3812
|
trace?: never;
|
|
3813
3813
|
};
|
|
3814
|
+
"/api/v1/lawfirms/{lawfirmId}/dashboard/gross-earnings": {
|
|
3815
|
+
parameters: {
|
|
3816
|
+
query?: never;
|
|
3817
|
+
header?: never;
|
|
3818
|
+
path?: never;
|
|
3819
|
+
cookie?: never;
|
|
3820
|
+
};
|
|
3821
|
+
/** getLawfirmGrossEarnings */
|
|
3822
|
+
get: operations["getLawfirmGrossEarningsUsingGET"];
|
|
3823
|
+
put?: never;
|
|
3824
|
+
post?: never;
|
|
3825
|
+
delete?: never;
|
|
3826
|
+
options?: never;
|
|
3827
|
+
head?: never;
|
|
3828
|
+
patch?: never;
|
|
3829
|
+
trace?: never;
|
|
3830
|
+
};
|
|
3814
3831
|
"/api/v1/cases/{caseId}/documents": {
|
|
3815
3832
|
parameters: {
|
|
3816
3833
|
query?: never;
|
|
@@ -9862,6 +9879,9 @@ export interface components {
|
|
|
9862
9879
|
authorModel?: components["schemas"]["DashboardAuthorModel"];
|
|
9863
9880
|
/** Format: date-time */
|
|
9864
9881
|
bookingConfirmedDate?: string;
|
|
9882
|
+
caseActionDescription?: string;
|
|
9883
|
+
/** @enum {string} */
|
|
9884
|
+
caseActionType?: CaseActionRequestModelActionType;
|
|
9865
9885
|
caseCounterOffer?: components["schemas"]["DashboardCaseCounterOfferModel"];
|
|
9866
9886
|
caseId?: string;
|
|
9867
9887
|
caseUserDetails?: components["schemas"]["CaseUserDetailsModel"];
|
|
@@ -10148,6 +10168,13 @@ export interface components {
|
|
|
10148
10168
|
units?: components["schemas"]["TemporalUnit"][];
|
|
10149
10169
|
zero?: boolean;
|
|
10150
10170
|
};
|
|
10171
|
+
/** EarningsByPeriodDto */
|
|
10172
|
+
EarningsByPeriodDto: {
|
|
10173
|
+
/** Format: date-time */
|
|
10174
|
+
periodDate?: string;
|
|
10175
|
+
/** Format: int64 */
|
|
10176
|
+
totalAmountInCents?: number;
|
|
10177
|
+
};
|
|
10151
10178
|
/** EditConversationMessageRequest */
|
|
10152
10179
|
EditConversationMessageRequest: {
|
|
10153
10180
|
messageBody?: string;
|
|
@@ -11199,6 +11226,10 @@ export interface components {
|
|
|
11199
11226
|
numTransactions?: number;
|
|
11200
11227
|
transactions?: components["schemas"]["FinancialTransaction"][];
|
|
11201
11228
|
};
|
|
11229
|
+
/** GetLawfirmGrossEarningsResponse */
|
|
11230
|
+
GetLawfirmGrossEarningsResponse: {
|
|
11231
|
+
earnings?: components["schemas"]["EarningsByPeriodDto"][];
|
|
11232
|
+
};
|
|
11202
11233
|
/** GetLawfirmInboxMessagesResponse */
|
|
11203
11234
|
GetLawfirmInboxMessagesResponse: {
|
|
11204
11235
|
messages?: components["schemas"]["LawfirmInboxMessageDomain"][];
|
|
@@ -29083,6 +29114,57 @@ export interface operations {
|
|
|
29083
29114
|
};
|
|
29084
29115
|
};
|
|
29085
29116
|
};
|
|
29117
|
+
getLawfirmGrossEarningsUsingGET: {
|
|
29118
|
+
parameters: {
|
|
29119
|
+
query: {
|
|
29120
|
+
/** @description period */
|
|
29121
|
+
period: PathsApiV1LawfirmsLawfirmIdDashboardGrossEarningsGetParametersQueryPeriod;
|
|
29122
|
+
/** @description startDate */
|
|
29123
|
+
startDate?: string;
|
|
29124
|
+
/** @description endDate */
|
|
29125
|
+
endDate?: string;
|
|
29126
|
+
};
|
|
29127
|
+
header?: never;
|
|
29128
|
+
path: {
|
|
29129
|
+
/** @description lawfirmId */
|
|
29130
|
+
lawfirmId: number;
|
|
29131
|
+
};
|
|
29132
|
+
cookie?: never;
|
|
29133
|
+
};
|
|
29134
|
+
requestBody?: never;
|
|
29135
|
+
responses: {
|
|
29136
|
+
/** @description OK */
|
|
29137
|
+
200: {
|
|
29138
|
+
headers: {
|
|
29139
|
+
[name: string]: unknown;
|
|
29140
|
+
};
|
|
29141
|
+
content: {
|
|
29142
|
+
"*/*": components["schemas"]["GetLawfirmGrossEarningsResponse"];
|
|
29143
|
+
};
|
|
29144
|
+
};
|
|
29145
|
+
/** @description Unauthorized */
|
|
29146
|
+
401: {
|
|
29147
|
+
headers: {
|
|
29148
|
+
[name: string]: unknown;
|
|
29149
|
+
};
|
|
29150
|
+
content?: never;
|
|
29151
|
+
};
|
|
29152
|
+
/** @description Forbidden */
|
|
29153
|
+
403: {
|
|
29154
|
+
headers: {
|
|
29155
|
+
[name: string]: unknown;
|
|
29156
|
+
};
|
|
29157
|
+
content?: never;
|
|
29158
|
+
};
|
|
29159
|
+
/** @description Not Found */
|
|
29160
|
+
404: {
|
|
29161
|
+
headers: {
|
|
29162
|
+
[name: string]: unknown;
|
|
29163
|
+
};
|
|
29164
|
+
content?: never;
|
|
29165
|
+
};
|
|
29166
|
+
};
|
|
29167
|
+
};
|
|
29086
29168
|
getLawfirmCaseDocumentsUsingGET: {
|
|
29087
29169
|
parameters: {
|
|
29088
29170
|
query?: never;
|
|
@@ -40677,6 +40759,12 @@ export declare enum PathsApiV1LawfirmsLawfirmIdInboxMessagesGetParametersQueryLa
|
|
|
40677
40759
|
CLIENT = "CLIENT",
|
|
40678
40760
|
LAWYER = "LAWYER"
|
|
40679
40761
|
}
|
|
40762
|
+
export declare enum PathsApiV1LawfirmsLawfirmIdDashboardGrossEarningsGetParametersQueryPeriod {
|
|
40763
|
+
DAILY = "DAILY",
|
|
40764
|
+
HOURLY = "HOURLY",
|
|
40765
|
+
MONTHLY = "MONTHLY",
|
|
40766
|
+
WEEKLY = "WEEKLY"
|
|
40767
|
+
}
|
|
40680
40768
|
export declare enum PathsApiV1LawfirmsLawfirmIdDocumentsGetParametersQueryDoc_type {
|
|
40681
40769
|
ENGAGEMENT_LETTER = "ENGAGEMENT_LETTER",
|
|
40682
40770
|
OTHER_DOCUMENT = "OTHER_DOCUMENT",
|
|
@@ -41126,6 +41214,7 @@ export declare enum DashboardCaseCounterOfferModelCounterOfferStatus {
|
|
|
41126
41214
|
WITHDRAWN = "WITHDRAWN"
|
|
41127
41215
|
}
|
|
41128
41216
|
export declare enum DashboardCaseModelLastMessageType {
|
|
41217
|
+
action = "action",
|
|
41129
41218
|
attachment = "attachment",
|
|
41130
41219
|
message = "message"
|
|
41131
41220
|
}
|
|
@@ -334,6 +334,13 @@ export var PathsApiV1LawfirmsLawfirmIdInboxMessagesGetParametersQueryLatestMessa
|
|
|
334
334
|
PathsApiV1LawfirmsLawfirmIdInboxMessagesGetParametersQueryLatestMessageBy["CLIENT"] = "CLIENT";
|
|
335
335
|
PathsApiV1LawfirmsLawfirmIdInboxMessagesGetParametersQueryLatestMessageBy["LAWYER"] = "LAWYER";
|
|
336
336
|
})(PathsApiV1LawfirmsLawfirmIdInboxMessagesGetParametersQueryLatestMessageBy || (PathsApiV1LawfirmsLawfirmIdInboxMessagesGetParametersQueryLatestMessageBy = {}));
|
|
337
|
+
export var PathsApiV1LawfirmsLawfirmIdDashboardGrossEarningsGetParametersQueryPeriod;
|
|
338
|
+
(function (PathsApiV1LawfirmsLawfirmIdDashboardGrossEarningsGetParametersQueryPeriod) {
|
|
339
|
+
PathsApiV1LawfirmsLawfirmIdDashboardGrossEarningsGetParametersQueryPeriod["DAILY"] = "DAILY";
|
|
340
|
+
PathsApiV1LawfirmsLawfirmIdDashboardGrossEarningsGetParametersQueryPeriod["HOURLY"] = "HOURLY";
|
|
341
|
+
PathsApiV1LawfirmsLawfirmIdDashboardGrossEarningsGetParametersQueryPeriod["MONTHLY"] = "MONTHLY";
|
|
342
|
+
PathsApiV1LawfirmsLawfirmIdDashboardGrossEarningsGetParametersQueryPeriod["WEEKLY"] = "WEEKLY";
|
|
343
|
+
})(PathsApiV1LawfirmsLawfirmIdDashboardGrossEarningsGetParametersQueryPeriod || (PathsApiV1LawfirmsLawfirmIdDashboardGrossEarningsGetParametersQueryPeriod = {}));
|
|
337
344
|
export var PathsApiV1LawfirmsLawfirmIdDocumentsGetParametersQueryDoc_type;
|
|
338
345
|
(function (PathsApiV1LawfirmsLawfirmIdDocumentsGetParametersQueryDoc_type) {
|
|
339
346
|
PathsApiV1LawfirmsLawfirmIdDocumentsGetParametersQueryDoc_type["ENGAGEMENT_LETTER"] = "ENGAGEMENT_LETTER";
|
|
@@ -838,6 +845,7 @@ export var DashboardCaseCounterOfferModelCounterOfferStatus;
|
|
|
838
845
|
})(DashboardCaseCounterOfferModelCounterOfferStatus || (DashboardCaseCounterOfferModelCounterOfferStatus = {}));
|
|
839
846
|
export var DashboardCaseModelLastMessageType;
|
|
840
847
|
(function (DashboardCaseModelLastMessageType) {
|
|
848
|
+
DashboardCaseModelLastMessageType["action"] = "action";
|
|
841
849
|
DashboardCaseModelLastMessageType["attachment"] = "attachment";
|
|
842
850
|
DashboardCaseModelLastMessageType["message"] = "message";
|
|
843
851
|
})(DashboardCaseModelLastMessageType || (DashboardCaseModelLastMessageType = {}));
|