@otr-app/shared-backend-generated-client 2.5.142 → 2.5.148
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 +4 -0
- package/dist/angular/api/customerReviewController.service.ts +14 -4
- package/dist/angular/api/lawfirmController.service.ts +151 -13
- package/dist/angular/model/billingSubscriptionModel.ts +1 -0
- package/dist/angular/model/caseSummaryDomain.ts +2 -5
- package/dist/angular/model/caseTransferHistory.ts +2 -5
- package/dist/angular/model/getAcceptedCaseBreakdownResponse.ts +21 -0
- package/dist/angular/model/getLeadSummaryResponse.ts +20 -0
- package/dist/angular/model/lawfirmCaseModel.ts +2 -5
- package/dist/angular/model/lawfirmCaseModelReq.ts +2 -5
- package/dist/angular/model/lawfirmCaseModelRes.ts +2 -5
- package/dist/angular/model/lawfirmInboxMessageDomain.ts +2 -5
- package/dist/angular/model/listReviewsResponse.ts +1 -0
- package/dist/angular/model/models.ts +4 -0
- package/dist/angular/model/setLawfirmCaseDecisionRequest.ts +2 -5
- package/dist/angular/model/statusCategoryBreakdownModel.ts +29 -0
- package/dist/angular/model/statusCounts.ts +20 -0
- package/dist/otrBackendService.js +102 -9
- package/dist/otrBackendService.min.js +5 -5
- package/dist/typescript/api/CustomerReviewControllerApi.d.ts +3 -1
- package/dist/typescript/api/CustomerReviewControllerApi.js +9 -1
- package/dist/typescript/api/LawfirmControllerApi.d.ts +19 -4
- package/dist/typescript/api/LawfirmControllerApi.js +72 -10
- package/dist/typescript/model/BillingSubscriptionModel.d.ts +1 -0
- package/dist/typescript/model/CaseSummaryDomain.d.ts +1 -4
- package/dist/typescript/model/CaseSummaryDomain.js +0 -3
- package/dist/typescript/model/CaseTransferHistory.d.ts +1 -4
- package/dist/typescript/model/CaseTransferHistory.js +0 -3
- package/dist/typescript/model/GetAcceptedCaseBreakdownResponse.d.ts +18 -0
- package/dist/typescript/model/GetAcceptedCaseBreakdownResponse.js +12 -0
- package/dist/typescript/model/GetLeadSummaryResponse.d.ts +17 -0
- package/dist/typescript/model/GetLeadSummaryResponse.js +12 -0
- package/dist/typescript/model/LawfirmCaseModel.d.ts +1 -4
- package/dist/typescript/model/LawfirmCaseModel.js +0 -3
- package/dist/typescript/model/LawfirmCaseModelReq.d.ts +1 -4
- package/dist/typescript/model/LawfirmCaseModelReq.js +0 -3
- package/dist/typescript/model/LawfirmCaseModelRes.d.ts +1 -4
- package/dist/typescript/model/LawfirmCaseModelRes.js +0 -3
- package/dist/typescript/model/LawfirmInboxMessageDomain.d.ts +1 -4
- package/dist/typescript/model/LawfirmInboxMessageDomain.js +0 -3
- package/dist/typescript/model/ListReviewsResponse.d.ts +1 -0
- package/dist/typescript/model/SetLawfirmCaseDecisionRequest.d.ts +1 -4
- package/dist/typescript/model/SetLawfirmCaseDecisionRequest.js +0 -3
- package/dist/typescript/model/StatusCategoryBreakdownModel.d.ts +24 -0
- package/dist/typescript/model/StatusCategoryBreakdownModel.js +21 -0
- package/dist/typescript/model/StatusCounts.d.ts +17 -0
- package/dist/typescript/model/StatusCounts.js +12 -0
- package/dist/typescript/model/models.d.ts +4 -0
- package/dist/typescript/model/models.js +4 -0
- package/dist/typescript-fetch/apis/CustomerReviewControllerApi.d.ts +2 -0
- package/dist/typescript-fetch/apis/CustomerReviewControllerApi.js +6 -0
- package/dist/typescript-fetch/apis/LawfirmControllerApi.d.ts +31 -9
- package/dist/typescript-fetch/apis/LawfirmControllerApi.js +126 -64
- package/dist/typescript-fetch/models/BillingSubscriptionModel.d.ts +6 -0
- package/dist/typescript-fetch/models/BillingSubscriptionModel.js +2 -0
- package/dist/typescript-fetch/models/CaseSummaryDomain.d.ts +1 -4
- package/dist/typescript-fetch/models/CaseSummaryDomain.js +0 -3
- package/dist/typescript-fetch/models/CaseTransferHistory.d.ts +1 -4
- package/dist/typescript-fetch/models/CaseTransferHistory.js +0 -3
- package/dist/typescript-fetch/models/GetAcceptedCaseBreakdownResponse.d.ts +46 -0
- package/dist/typescript-fetch/models/GetAcceptedCaseBreakdownResponse.js +43 -0
- package/dist/typescript-fetch/models/GetLeadSummaryResponse.d.ts +40 -0
- package/dist/typescript-fetch/models/GetLeadSummaryResponse.js +41 -0
- package/dist/typescript-fetch/models/LawfirmCaseModel.d.ts +1 -4
- package/dist/typescript-fetch/models/LawfirmCaseModel.js +0 -3
- package/dist/typescript-fetch/models/LawfirmCaseModelReq.d.ts +1 -4
- package/dist/typescript-fetch/models/LawfirmCaseModelReq.js +0 -3
- package/dist/typescript-fetch/models/LawfirmCaseModelRes.d.ts +1 -4
- package/dist/typescript-fetch/models/LawfirmCaseModelRes.js +0 -3
- package/dist/typescript-fetch/models/LawfirmInboxMessageDomain.d.ts +1 -4
- package/dist/typescript-fetch/models/LawfirmInboxMessageDomain.js +0 -3
- package/dist/typescript-fetch/models/ListReviewsResponse.d.ts +6 -0
- package/dist/typescript-fetch/models/ListReviewsResponse.js +2 -0
- package/dist/typescript-fetch/models/SetLawfirmCaseDecisionRequest.d.ts +1 -4
- package/dist/typescript-fetch/models/SetLawfirmCaseDecisionRequest.js +0 -3
- package/dist/typescript-fetch/models/StatusCategoryBreakdownModel.d.ts +49 -0
- package/dist/typescript-fetch/models/StatusCategoryBreakdownModel.js +51 -0
- package/dist/typescript-fetch/models/StatusCounts.d.ts +45 -0
- package/dist/typescript-fetch/models/StatusCounts.js +42 -0
- package/dist/typescript-fetch/models/index.d.ts +4 -0
- package/dist/typescript-fetch/models/index.js +4 -0
- package/dist/typescript-open-api/otr-backend.d.ts +181 -10
- package/dist/typescript-open-api/otr-backend.js +0 -3
- package/package.json +1 -1
|
@@ -0,0 +1,41 @@
|
|
|
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 { StatusCountsFromJSON, StatusCountsToJSON, } from './';
|
|
16
|
+
export function GetLeadSummaryResponseFromJSON(json) {
|
|
17
|
+
return GetLeadSummaryResponseFromJSONTyped(json, false);
|
|
18
|
+
}
|
|
19
|
+
export function GetLeadSummaryResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
20
|
+
if ((json === undefined) || (json === null)) {
|
|
21
|
+
return json;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'acceptancePercentage': !exists(json, 'acceptancePercentage') ? undefined : json['acceptancePercentage'],
|
|
25
|
+
'statusCounts': !exists(json, 'statusCounts') ? undefined : StatusCountsFromJSON(json['statusCounts']),
|
|
26
|
+
'totalLeads': !exists(json, 'totalLeads') ? undefined : json['totalLeads'],
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
export function GetLeadSummaryResponseToJSON(value) {
|
|
30
|
+
if (value === undefined) {
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|
|
33
|
+
if (value === null) {
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'acceptancePercentage': value.acceptancePercentage,
|
|
38
|
+
'statusCounts': StatusCountsToJSON(value.statusCounts),
|
|
39
|
+
'totalLeads': value.totalLeads,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -136,10 +136,7 @@ export declare enum LawfirmCaseModelCaseDecisionStatusEnum {
|
|
|
136
136
|
ACCEPTED = "ACCEPTED",
|
|
137
137
|
CREATED = "CREATED",
|
|
138
138
|
DECLINED = "DECLINED",
|
|
139
|
-
|
|
140
|
-
PENDING = "PENDING",
|
|
141
|
-
REMATCHED = "REMATCHED",
|
|
142
|
-
REMATCHEDREFERRAL = "REMATCHED_REFERRAL"
|
|
139
|
+
PENDING = "PENDING"
|
|
143
140
|
}
|
|
144
141
|
/**
|
|
145
142
|
* @export
|
|
@@ -78,10 +78,7 @@ export var LawfirmCaseModelCaseDecisionStatusEnum;
|
|
|
78
78
|
LawfirmCaseModelCaseDecisionStatusEnum["ACCEPTED"] = "ACCEPTED";
|
|
79
79
|
LawfirmCaseModelCaseDecisionStatusEnum["CREATED"] = "CREATED";
|
|
80
80
|
LawfirmCaseModelCaseDecisionStatusEnum["DECLINED"] = "DECLINED";
|
|
81
|
-
LawfirmCaseModelCaseDecisionStatusEnum["EXPIRED"] = "EXPIRED";
|
|
82
81
|
LawfirmCaseModelCaseDecisionStatusEnum["PENDING"] = "PENDING";
|
|
83
|
-
LawfirmCaseModelCaseDecisionStatusEnum["REMATCHED"] = "REMATCHED";
|
|
84
|
-
LawfirmCaseModelCaseDecisionStatusEnum["REMATCHEDREFERRAL"] = "REMATCHED_REFERRAL";
|
|
85
82
|
})(LawfirmCaseModelCaseDecisionStatusEnum || (LawfirmCaseModelCaseDecisionStatusEnum = {}));
|
|
86
83
|
/**
|
|
87
84
|
* @export
|
|
@@ -136,10 +136,7 @@ export declare enum LawfirmCaseModelReqCaseDecisionStatusEnum {
|
|
|
136
136
|
ACCEPTED = "ACCEPTED",
|
|
137
137
|
CREATED = "CREATED",
|
|
138
138
|
DECLINED = "DECLINED",
|
|
139
|
-
|
|
140
|
-
PENDING = "PENDING",
|
|
141
|
-
REMATCHED = "REMATCHED",
|
|
142
|
-
REMATCHEDREFERRAL = "REMATCHED_REFERRAL"
|
|
139
|
+
PENDING = "PENDING"
|
|
143
140
|
}
|
|
144
141
|
/**
|
|
145
142
|
* @export
|
|
@@ -78,10 +78,7 @@ export var LawfirmCaseModelReqCaseDecisionStatusEnum;
|
|
|
78
78
|
LawfirmCaseModelReqCaseDecisionStatusEnum["ACCEPTED"] = "ACCEPTED";
|
|
79
79
|
LawfirmCaseModelReqCaseDecisionStatusEnum["CREATED"] = "CREATED";
|
|
80
80
|
LawfirmCaseModelReqCaseDecisionStatusEnum["DECLINED"] = "DECLINED";
|
|
81
|
-
LawfirmCaseModelReqCaseDecisionStatusEnum["EXPIRED"] = "EXPIRED";
|
|
82
81
|
LawfirmCaseModelReqCaseDecisionStatusEnum["PENDING"] = "PENDING";
|
|
83
|
-
LawfirmCaseModelReqCaseDecisionStatusEnum["REMATCHED"] = "REMATCHED";
|
|
84
|
-
LawfirmCaseModelReqCaseDecisionStatusEnum["REMATCHEDREFERRAL"] = "REMATCHED_REFERRAL";
|
|
85
82
|
})(LawfirmCaseModelReqCaseDecisionStatusEnum || (LawfirmCaseModelReqCaseDecisionStatusEnum = {}));
|
|
86
83
|
/**
|
|
87
84
|
* @export
|
|
@@ -136,10 +136,7 @@ export declare enum LawfirmCaseModelResCaseDecisionStatusEnum {
|
|
|
136
136
|
ACCEPTED = "ACCEPTED",
|
|
137
137
|
CREATED = "CREATED",
|
|
138
138
|
DECLINED = "DECLINED",
|
|
139
|
-
|
|
140
|
-
PENDING = "PENDING",
|
|
141
|
-
REMATCHED = "REMATCHED",
|
|
142
|
-
REMATCHEDREFERRAL = "REMATCHED_REFERRAL"
|
|
139
|
+
PENDING = "PENDING"
|
|
143
140
|
}
|
|
144
141
|
/**
|
|
145
142
|
* @export
|
|
@@ -78,10 +78,7 @@ export var LawfirmCaseModelResCaseDecisionStatusEnum;
|
|
|
78
78
|
LawfirmCaseModelResCaseDecisionStatusEnum["ACCEPTED"] = "ACCEPTED";
|
|
79
79
|
LawfirmCaseModelResCaseDecisionStatusEnum["CREATED"] = "CREATED";
|
|
80
80
|
LawfirmCaseModelResCaseDecisionStatusEnum["DECLINED"] = "DECLINED";
|
|
81
|
-
LawfirmCaseModelResCaseDecisionStatusEnum["EXPIRED"] = "EXPIRED";
|
|
82
81
|
LawfirmCaseModelResCaseDecisionStatusEnum["PENDING"] = "PENDING";
|
|
83
|
-
LawfirmCaseModelResCaseDecisionStatusEnum["REMATCHED"] = "REMATCHED";
|
|
84
|
-
LawfirmCaseModelResCaseDecisionStatusEnum["REMATCHEDREFERRAL"] = "REMATCHED_REFERRAL";
|
|
85
82
|
})(LawfirmCaseModelResCaseDecisionStatusEnum || (LawfirmCaseModelResCaseDecisionStatusEnum = {}));
|
|
86
83
|
/**
|
|
87
84
|
* @export
|
|
@@ -237,8 +237,5 @@ export declare enum LawfirmInboxMessageDomainLawfirmCaseDecisionStatusEnum {
|
|
|
237
237
|
ACCEPTED = "ACCEPTED",
|
|
238
238
|
CREATED = "CREATED",
|
|
239
239
|
DECLINED = "DECLINED",
|
|
240
|
-
|
|
241
|
-
PENDING = "PENDING",
|
|
242
|
-
REMATCHED = "REMATCHED",
|
|
243
|
-
REMATCHEDREFERRAL = "REMATCHED_REFERRAL"
|
|
240
|
+
PENDING = "PENDING"
|
|
244
241
|
}
|
|
@@ -158,8 +158,5 @@ export var LawfirmInboxMessageDomainLawfirmCaseDecisionStatusEnum;
|
|
|
158
158
|
LawfirmInboxMessageDomainLawfirmCaseDecisionStatusEnum["ACCEPTED"] = "ACCEPTED";
|
|
159
159
|
LawfirmInboxMessageDomainLawfirmCaseDecisionStatusEnum["CREATED"] = "CREATED";
|
|
160
160
|
LawfirmInboxMessageDomainLawfirmCaseDecisionStatusEnum["DECLINED"] = "DECLINED";
|
|
161
|
-
LawfirmInboxMessageDomainLawfirmCaseDecisionStatusEnum["EXPIRED"] = "EXPIRED";
|
|
162
161
|
LawfirmInboxMessageDomainLawfirmCaseDecisionStatusEnum["PENDING"] = "PENDING";
|
|
163
|
-
LawfirmInboxMessageDomainLawfirmCaseDecisionStatusEnum["REMATCHED"] = "REMATCHED";
|
|
164
|
-
LawfirmInboxMessageDomainLawfirmCaseDecisionStatusEnum["REMATCHEDREFERRAL"] = "REMATCHED_REFERRAL";
|
|
165
162
|
})(LawfirmInboxMessageDomainLawfirmCaseDecisionStatusEnum || (LawfirmInboxMessageDomainLawfirmCaseDecisionStatusEnum = {}));
|
|
@@ -28,6 +28,12 @@ export interface ListReviewsResponse {
|
|
|
28
28
|
* @memberof ListReviewsResponse
|
|
29
29
|
*/
|
|
30
30
|
cursorModel?: CursorModel;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ListReviewsResponse
|
|
35
|
+
*/
|
|
36
|
+
newReviewCount?: number;
|
|
31
37
|
/**
|
|
32
38
|
*
|
|
33
39
|
* @type {Array<CustomerReview>}
|
|
@@ -23,6 +23,7 @@ export function ListReviewsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
23
23
|
return {
|
|
24
24
|
'aggregates': !exists(json, 'aggregates') ? undefined : AggregateRatingMetricsFromJSON(json['aggregates']),
|
|
25
25
|
'cursorModel': !exists(json, 'cursorModel') ? undefined : CursorModelFromJSON(json['cursorModel']),
|
|
26
|
+
'newReviewCount': !exists(json, 'newReviewCount') ? undefined : json['newReviewCount'],
|
|
26
27
|
'reviews': !exists(json, 'reviews') ? undefined : (json['reviews'].map(CustomerReviewFromJSON)),
|
|
27
28
|
};
|
|
28
29
|
}
|
|
@@ -36,6 +37,7 @@ export function ListReviewsResponseToJSON(value) {
|
|
|
36
37
|
return {
|
|
37
38
|
'aggregates': AggregateRatingMetricsToJSON(value.aggregates),
|
|
38
39
|
'cursorModel': CursorModelToJSON(value.cursorModel),
|
|
40
|
+
'newReviewCount': value.newReviewCount,
|
|
39
41
|
'reviews': value.reviews === undefined ? undefined : (value.reviews.map(CustomerReviewToJSON)),
|
|
40
42
|
};
|
|
41
43
|
}
|
|
@@ -52,8 +52,5 @@ export declare enum SetLawfirmCaseDecisionRequestCaseDecisionStatusEnum {
|
|
|
52
52
|
ACCEPTED = "ACCEPTED",
|
|
53
53
|
CREATED = "CREATED",
|
|
54
54
|
DECLINED = "DECLINED",
|
|
55
|
-
|
|
56
|
-
PENDING = "PENDING",
|
|
57
|
-
REMATCHED = "REMATCHED",
|
|
58
|
-
REMATCHEDREFERRAL = "REMATCHED_REFERRAL"
|
|
55
|
+
PENDING = "PENDING"
|
|
59
56
|
}
|
|
@@ -50,8 +50,5 @@ export var SetLawfirmCaseDecisionRequestCaseDecisionStatusEnum;
|
|
|
50
50
|
SetLawfirmCaseDecisionRequestCaseDecisionStatusEnum["ACCEPTED"] = "ACCEPTED";
|
|
51
51
|
SetLawfirmCaseDecisionRequestCaseDecisionStatusEnum["CREATED"] = "CREATED";
|
|
52
52
|
SetLawfirmCaseDecisionRequestCaseDecisionStatusEnum["DECLINED"] = "DECLINED";
|
|
53
|
-
SetLawfirmCaseDecisionRequestCaseDecisionStatusEnum["EXPIRED"] = "EXPIRED";
|
|
54
53
|
SetLawfirmCaseDecisionRequestCaseDecisionStatusEnum["PENDING"] = "PENDING";
|
|
55
|
-
SetLawfirmCaseDecisionRequestCaseDecisionStatusEnum["REMATCHED"] = "REMATCHED";
|
|
56
|
-
SetLawfirmCaseDecisionRequestCaseDecisionStatusEnum["REMATCHEDREFERRAL"] = "REMATCHED_REFERRAL";
|
|
57
54
|
})(SetLawfirmCaseDecisionRequestCaseDecisionStatusEnum || (SetLawfirmCaseDecisionRequestCaseDecisionStatusEnum = {}));
|
|
@@ -0,0 +1,49 @@
|
|
|
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 StatusCategoryBreakdownModel
|
|
16
|
+
*/
|
|
17
|
+
export interface StatusCategoryBreakdownModel {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof StatusCategoryBreakdownModel
|
|
22
|
+
*/
|
|
23
|
+
count?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof StatusCategoryBreakdownModel
|
|
28
|
+
*/
|
|
29
|
+
percentageOfTotal?: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof StatusCategoryBreakdownModel
|
|
34
|
+
*/
|
|
35
|
+
statusCategory?: StatusCategoryBreakdownModelStatusCategoryEnum;
|
|
36
|
+
}
|
|
37
|
+
export declare function StatusCategoryBreakdownModelFromJSON(json: any): StatusCategoryBreakdownModel;
|
|
38
|
+
export declare function StatusCategoryBreakdownModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): StatusCategoryBreakdownModel;
|
|
39
|
+
export declare function StatusCategoryBreakdownModelToJSON(value?: StatusCategoryBreakdownModel | null): any;
|
|
40
|
+
/**
|
|
41
|
+
* @export
|
|
42
|
+
* @enum {string}
|
|
43
|
+
*/
|
|
44
|
+
export declare enum StatusCategoryBreakdownModelStatusCategoryEnum {
|
|
45
|
+
ACTIVE = "ACTIVE",
|
|
46
|
+
CANCELLED = "CANCELLED",
|
|
47
|
+
RESOLVED = "RESOLVED",
|
|
48
|
+
UNCONFIRMED = "UNCONFIRMED"
|
|
49
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 StatusCategoryBreakdownModelFromJSON(json) {
|
|
16
|
+
return StatusCategoryBreakdownModelFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function StatusCategoryBreakdownModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
+
if ((json === undefined) || (json === null)) {
|
|
20
|
+
return json;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'count': !exists(json, 'count') ? undefined : json['count'],
|
|
24
|
+
'percentageOfTotal': !exists(json, 'percentageOfTotal') ? undefined : json['percentageOfTotal'],
|
|
25
|
+
'statusCategory': !exists(json, 'statusCategory') ? undefined : json['statusCategory'],
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
export function StatusCategoryBreakdownModelToJSON(value) {
|
|
29
|
+
if (value === undefined) {
|
|
30
|
+
return undefined;
|
|
31
|
+
}
|
|
32
|
+
if (value === null) {
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'count': value.count,
|
|
37
|
+
'percentageOfTotal': value.percentageOfTotal,
|
|
38
|
+
'statusCategory': value.statusCategory,
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* @export
|
|
43
|
+
* @enum {string}
|
|
44
|
+
*/
|
|
45
|
+
export var StatusCategoryBreakdownModelStatusCategoryEnum;
|
|
46
|
+
(function (StatusCategoryBreakdownModelStatusCategoryEnum) {
|
|
47
|
+
StatusCategoryBreakdownModelStatusCategoryEnum["ACTIVE"] = "ACTIVE";
|
|
48
|
+
StatusCategoryBreakdownModelStatusCategoryEnum["CANCELLED"] = "CANCELLED";
|
|
49
|
+
StatusCategoryBreakdownModelStatusCategoryEnum["RESOLVED"] = "RESOLVED";
|
|
50
|
+
StatusCategoryBreakdownModelStatusCategoryEnum["UNCONFIRMED"] = "UNCONFIRMED";
|
|
51
|
+
})(StatusCategoryBreakdownModelStatusCategoryEnum || (StatusCategoryBreakdownModelStatusCategoryEnum = {}));
|
|
@@ -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 StatusCounts
|
|
16
|
+
*/
|
|
17
|
+
export interface StatusCounts {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof StatusCounts
|
|
22
|
+
*/
|
|
23
|
+
accepted?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof StatusCounts
|
|
28
|
+
*/
|
|
29
|
+
cancelled?: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof StatusCounts
|
|
34
|
+
*/
|
|
35
|
+
declined?: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof StatusCounts
|
|
40
|
+
*/
|
|
41
|
+
pending?: number;
|
|
42
|
+
}
|
|
43
|
+
export declare function StatusCountsFromJSON(json: any): StatusCounts;
|
|
44
|
+
export declare function StatusCountsFromJSONTyped(json: any, ignoreDiscriminator: boolean): StatusCounts;
|
|
45
|
+
export declare function StatusCountsToJSON(value?: StatusCounts | 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 StatusCountsFromJSON(json) {
|
|
16
|
+
return StatusCountsFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function StatusCountsFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
+
if ((json === undefined) || (json === null)) {
|
|
20
|
+
return json;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'accepted': !exists(json, 'accepted') ? undefined : json['accepted'],
|
|
24
|
+
'cancelled': !exists(json, 'cancelled') ? undefined : json['cancelled'],
|
|
25
|
+
'declined': !exists(json, 'declined') ? undefined : json['declined'],
|
|
26
|
+
'pending': !exists(json, 'pending') ? undefined : json['pending'],
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
export function StatusCountsToJSON(value) {
|
|
30
|
+
if (value === undefined) {
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|
|
33
|
+
if (value === null) {
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'accepted': value.accepted,
|
|
38
|
+
'cancelled': value.cancelled,
|
|
39
|
+
'declined': value.declined,
|
|
40
|
+
'pending': value.pending,
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -271,6 +271,7 @@ export * from './GenerateCounterOfferCasePaymentsResponse';
|
|
|
271
271
|
export * from './GenerateTemplateRequest';
|
|
272
272
|
export * from './GenericAdminListRequest';
|
|
273
273
|
export * from './GeoRatesRequest';
|
|
274
|
+
export * from './GetAcceptedCaseBreakdownResponse';
|
|
274
275
|
export * from './GetAccountManagersResponse';
|
|
275
276
|
export * from './GetActivityFeedResponse';
|
|
276
277
|
export * from './GetAddressInnerResponse';
|
|
@@ -360,6 +361,7 @@ export * from './GetLawfirmSupportedStatesResponse';
|
|
|
360
361
|
export * from './GetLawfirmTransactionsForCaseResponse';
|
|
361
362
|
export * from './GetLawfirmsResponse';
|
|
362
363
|
export * from './GetLawyerResponse';
|
|
364
|
+
export * from './GetLeadSummaryResponse';
|
|
363
365
|
export * from './GetLineItemTypesResponse';
|
|
364
366
|
export * from './GetLineItemsResponse';
|
|
365
367
|
export * from './GetListOfCitationsWithMissingCourtResponse';
|
|
@@ -708,6 +710,8 @@ export * from './SocialPhoneNumber';
|
|
|
708
710
|
export * from './Source';
|
|
709
711
|
export * from './SqlResponse';
|
|
710
712
|
export * from './Statistics';
|
|
713
|
+
export * from './StatusCategoryBreakdownModel';
|
|
714
|
+
export * from './StatusCounts';
|
|
711
715
|
export * from './StripeAccountLinkDomain';
|
|
712
716
|
export * from './StripeApplicationFeeDomain';
|
|
713
717
|
export * from './StripeApplicationFeeRefundDomain';
|
|
@@ -271,6 +271,7 @@ export * from './GenerateCounterOfferCasePaymentsResponse';
|
|
|
271
271
|
export * from './GenerateTemplateRequest';
|
|
272
272
|
export * from './GenericAdminListRequest';
|
|
273
273
|
export * from './GeoRatesRequest';
|
|
274
|
+
export * from './GetAcceptedCaseBreakdownResponse';
|
|
274
275
|
export * from './GetAccountManagersResponse';
|
|
275
276
|
export * from './GetActivityFeedResponse';
|
|
276
277
|
export * from './GetAddressInnerResponse';
|
|
@@ -360,6 +361,7 @@ export * from './GetLawfirmSupportedStatesResponse';
|
|
|
360
361
|
export * from './GetLawfirmTransactionsForCaseResponse';
|
|
361
362
|
export * from './GetLawfirmsResponse';
|
|
362
363
|
export * from './GetLawyerResponse';
|
|
364
|
+
export * from './GetLeadSummaryResponse';
|
|
363
365
|
export * from './GetLineItemTypesResponse';
|
|
364
366
|
export * from './GetLineItemsResponse';
|
|
365
367
|
export * from './GetListOfCitationsWithMissingCourtResponse';
|
|
@@ -708,6 +710,8 @@ export * from './SocialPhoneNumber';
|
|
|
708
710
|
export * from './Source';
|
|
709
711
|
export * from './SqlResponse';
|
|
710
712
|
export * from './Statistics';
|
|
713
|
+
export * from './StatusCategoryBreakdownModel';
|
|
714
|
+
export * from './StatusCounts';
|
|
711
715
|
export * from './StripeAccountLinkDomain';
|
|
712
716
|
export * from './StripeApplicationFeeDomain';
|
|
713
717
|
export * from './StripeApplicationFeeRefundDomain';
|