@otr-app/shared-backend-generated-client 2.5.89 → 2.5.91
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/casePaymentController.service.ts +12 -4
- package/dist/angular/api/customerReviewController.service.ts +56 -0
- package/dist/angular/model/getCustomerReviewAggregatesResponse.ts +20 -0
- package/dist/angular/model/item.ts +31 -0
- package/dist/angular/model/models.ts +2 -0
- package/dist/otrBackendService.js +31 -0
- package/dist/otrBackendService.min.js +6 -6
- package/dist/typescript/api/CasePaymentControllerApi.d.ts +2 -1
- package/dist/typescript/api/CasePaymentControllerApi.js +5 -1
- package/dist/typescript/api/CustomerReviewControllerApi.d.ts +5 -0
- package/dist/typescript/api/CustomerReviewControllerApi.js +19 -0
- package/dist/typescript/model/GetCustomerReviewAggregatesResponse.d.ts +17 -0
- package/dist/typescript/model/GetCustomerReviewAggregatesResponse.js +12 -0
- package/dist/typescript/model/Item.d.ts +26 -0
- package/dist/typescript/model/Item.js +23 -0
- package/dist/typescript/model/models.d.ts +2 -0
- package/dist/typescript/model/models.js +2 -0
- package/dist/typescript-fetch/apis/CasePaymentControllerApi.d.ts +1 -0
- package/dist/typescript-fetch/apis/CasePaymentControllerApi.js +3 -0
- package/dist/typescript-fetch/apis/CustomerReviewControllerApi.d.ts +9 -1
- package/dist/typescript-fetch/apis/CustomerReviewControllerApi.js +26 -1
- package/dist/typescript-fetch/models/GetCustomerReviewAggregatesResponse.d.ts +40 -0
- package/dist/typescript-fetch/models/GetCustomerReviewAggregatesResponse.js +41 -0
- package/dist/typescript-fetch/models/Item.d.ts +51 -0
- package/dist/typescript-fetch/models/Item.js +53 -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 -1
- package/package.json +1 -1
|
@@ -61,8 +61,9 @@ export declare class CasePaymentControllerApi {
|
|
|
61
61
|
*
|
|
62
62
|
* @summary getCasePayments
|
|
63
63
|
* @param caseId caseId
|
|
64
|
+
* @param includeInactiveLawfirmCases includeInactiveLawfirmCases
|
|
64
65
|
*/
|
|
65
|
-
getCasePaymentsUsingGET(caseId: string, extraHttpRequestParams?: any): ng.IHttpPromise<models.GetCasePaymentsResponse>;
|
|
66
|
+
getCasePaymentsUsingGET(caseId: string, includeInactiveLawfirmCases?: boolean, extraHttpRequestParams?: any): ng.IHttpPromise<models.GetCasePaymentsResponse>;
|
|
66
67
|
/**
|
|
67
68
|
*
|
|
68
69
|
* @summary getOverdueCasePayments
|
|
@@ -201,8 +201,9 @@ export class CasePaymentControllerApi {
|
|
|
201
201
|
*
|
|
202
202
|
* @summary getCasePayments
|
|
203
203
|
* @param caseId caseId
|
|
204
|
+
* @param includeInactiveLawfirmCases includeInactiveLawfirmCases
|
|
204
205
|
*/
|
|
205
|
-
getCasePaymentsUsingGET(caseId, extraHttpRequestParams) {
|
|
206
|
+
getCasePaymentsUsingGET(caseId, includeInactiveLawfirmCases, extraHttpRequestParams) {
|
|
206
207
|
const localVarPath = this.basePath + '/api/v1/cases/{caseId}/payments'
|
|
207
208
|
.replace('{' + 'caseId' + '}', encodeURIComponent(String(caseId)));
|
|
208
209
|
let queryParameters = {};
|
|
@@ -211,6 +212,9 @@ export class CasePaymentControllerApi {
|
|
|
211
212
|
if (caseId === null || caseId === undefined) {
|
|
212
213
|
throw new Error('Required parameter caseId was null or undefined when calling getCasePaymentsUsingGET.');
|
|
213
214
|
}
|
|
215
|
+
if (includeInactiveLawfirmCases !== undefined) {
|
|
216
|
+
queryParameters['includeInactiveLawfirmCases'] = includeInactiveLawfirmCases;
|
|
217
|
+
}
|
|
214
218
|
let httpRequestParams = {
|
|
215
219
|
method: 'GET',
|
|
216
220
|
url: localVarPath,
|
|
@@ -30,6 +30,11 @@ export declare class CustomerReviewControllerApi {
|
|
|
30
30
|
* @param editCustomerReviewRequest editCustomerReviewRequest
|
|
31
31
|
*/
|
|
32
32
|
editCustomerReviewUsingPUT(reviewId: number, editCustomerReviewRequest: models.EditCustomerReviewRequest, extraHttpRequestParams?: any): ng.IHttpPromise<{}>;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @summary getCustomerReviewAggregates
|
|
36
|
+
*/
|
|
37
|
+
getCustomerReviewAggregatesUsingGET(extraHttpRequestParams?: any): ng.IHttpPromise<models.GetCustomerReviewAggregatesResponse>;
|
|
33
38
|
/**
|
|
34
39
|
*
|
|
35
40
|
* @summary listCustomerReviews
|
|
@@ -76,6 +76,25 @@ export class CustomerReviewControllerApi {
|
|
|
76
76
|
}
|
|
77
77
|
return this.$http(httpRequestParams);
|
|
78
78
|
}
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @summary getCustomerReviewAggregates
|
|
82
|
+
*/
|
|
83
|
+
getCustomerReviewAggregatesUsingGET(extraHttpRequestParams) {
|
|
84
|
+
const localVarPath = this.basePath + '/api/v1/reviews/aggregates';
|
|
85
|
+
let queryParameters = {};
|
|
86
|
+
let headerParams = Object.assign({}, this.defaultHeaders);
|
|
87
|
+
let httpRequestParams = {
|
|
88
|
+
method: 'GET',
|
|
89
|
+
url: localVarPath,
|
|
90
|
+
params: queryParameters,
|
|
91
|
+
headers: headerParams
|
|
92
|
+
};
|
|
93
|
+
if (extraHttpRequestParams) {
|
|
94
|
+
httpRequestParams = Object.assign(httpRequestParams, extraHttpRequestParams);
|
|
95
|
+
}
|
|
96
|
+
return this.$http(httpRequestParams);
|
|
97
|
+
}
|
|
79
98
|
/**
|
|
80
99
|
*
|
|
81
100
|
* @summary listCustomerReviews
|
|
@@ -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
|
+
import * as models from './models';
|
|
13
|
+
export interface GetCustomerReviewAggregatesResponse {
|
|
14
|
+
"items"?: Array<models.Item>;
|
|
15
|
+
"totalCount"?: number;
|
|
16
|
+
"totalRatingScore"?: 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 {};
|
|
@@ -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 interface Item {
|
|
13
|
+
"ratingScore"?: number;
|
|
14
|
+
"reviewSource"?: Item.ReviewSourceEnum;
|
|
15
|
+
"totalCount"?: number;
|
|
16
|
+
}
|
|
17
|
+
export declare namespace Item {
|
|
18
|
+
enum ReviewSourceEnum {
|
|
19
|
+
ANDROID,
|
|
20
|
+
APPLE,
|
|
21
|
+
FACEBOOK,
|
|
22
|
+
GOOGLEBUSINESS,
|
|
23
|
+
OTR,
|
|
24
|
+
REVIEWSIO
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
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 Item;
|
|
13
|
+
(function (Item) {
|
|
14
|
+
let ReviewSourceEnum;
|
|
15
|
+
(function (ReviewSourceEnum) {
|
|
16
|
+
ReviewSourceEnum[ReviewSourceEnum["ANDROID"] = 'ANDROID'] = "ANDROID";
|
|
17
|
+
ReviewSourceEnum[ReviewSourceEnum["APPLE"] = 'APPLE'] = "APPLE";
|
|
18
|
+
ReviewSourceEnum[ReviewSourceEnum["FACEBOOK"] = 'FACEBOOK'] = "FACEBOOK";
|
|
19
|
+
ReviewSourceEnum[ReviewSourceEnum["GOOGLEBUSINESS"] = 'GOOGLE_BUSINESS'] = "GOOGLEBUSINESS";
|
|
20
|
+
ReviewSourceEnum[ReviewSourceEnum["OTR"] = 'OTR'] = "OTR";
|
|
21
|
+
ReviewSourceEnum[ReviewSourceEnum["REVIEWSIO"] = 'REVIEWS_IO'] = "REVIEWSIO";
|
|
22
|
+
})(ReviewSourceEnum = Item.ReviewSourceEnum || (Item.ReviewSourceEnum = {}));
|
|
23
|
+
})(Item || (Item = {}));
|
|
@@ -316,6 +316,7 @@ export * from './GetCourtResponse';
|
|
|
316
316
|
export * from './GetCourtsByQueryResponse';
|
|
317
317
|
export * from './GetCourtsInnerResponse';
|
|
318
318
|
export * from './GetCurrentUserResponse';
|
|
319
|
+
export * from './GetCustomerReviewAggregatesResponse';
|
|
319
320
|
export * from './GetCustomerServiceAgentsResponse';
|
|
320
321
|
export * from './GetDeclinedCasesRequest';
|
|
321
322
|
export * from './GetDeclinedCasesResponse';
|
|
@@ -433,6 +434,7 @@ export * from './InviteLawyerToLawfirmRequest';
|
|
|
433
434
|
export * from './InvoiceLineItemModel';
|
|
434
435
|
export * from './IsRefundEligibleResponse';
|
|
435
436
|
export * from './IsUserLoggedInResponse';
|
|
437
|
+
export * from './Item';
|
|
436
438
|
export * from './LastLoginAttributes';
|
|
437
439
|
export * from './LastLoginDateByUserAccount';
|
|
438
440
|
export * from './LastLoginDateModel';
|
|
@@ -316,6 +316,7 @@ export * from './GetCourtResponse';
|
|
|
316
316
|
export * from './GetCourtsByQueryResponse';
|
|
317
317
|
export * from './GetCourtsInnerResponse';
|
|
318
318
|
export * from './GetCurrentUserResponse';
|
|
319
|
+
export * from './GetCustomerReviewAggregatesResponse';
|
|
319
320
|
export * from './GetCustomerServiceAgentsResponse';
|
|
320
321
|
export * from './GetDeclinedCasesRequest';
|
|
321
322
|
export * from './GetDeclinedCasesResponse';
|
|
@@ -433,6 +434,7 @@ export * from './InviteLawyerToLawfirmRequest';
|
|
|
433
434
|
export * from './InvoiceLineItemModel';
|
|
434
435
|
export * from './IsRefundEligibleResponse';
|
|
435
436
|
export * from './IsUserLoggedInResponse';
|
|
437
|
+
export * from './Item';
|
|
436
438
|
export * from './LastLoginAttributes';
|
|
437
439
|
export * from './LastLoginDateByUserAccount';
|
|
438
440
|
export * from './LastLoginDateModel';
|
|
@@ -38,6 +38,7 @@ export interface GetAvailablePaymentPlansUsingPOSTRequest {
|
|
|
38
38
|
}
|
|
39
39
|
export interface GetCasePaymentsUsingGETRequest {
|
|
40
40
|
caseId: string;
|
|
41
|
+
includeInactiveLawfirmCases?: boolean;
|
|
41
42
|
}
|
|
42
43
|
export interface GetOverdueCasePaymentsUsingGETRequest {
|
|
43
44
|
caseId: string;
|
|
@@ -208,6 +208,9 @@ export class CasePaymentControllerApi extends runtime.BaseAPI {
|
|
|
208
208
|
throw new runtime.RequiredError('caseId', 'Required parameter requestParameters.caseId was null or undefined when calling getCasePaymentsUsingGET.');
|
|
209
209
|
}
|
|
210
210
|
const queryParameters = {};
|
|
211
|
+
if (requestParameters.includeInactiveLawfirmCases !== undefined) {
|
|
212
|
+
queryParameters['includeInactiveLawfirmCases'] = requestParameters.includeInactiveLawfirmCases;
|
|
213
|
+
}
|
|
211
214
|
const headerParameters = {};
|
|
212
215
|
const response = yield this.request({
|
|
213
216
|
path: `/api/v1/cases/{caseId}/payments`.replace(`{${"caseId"}}`, encodeURIComponent(String(requestParameters.caseId))),
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import { AddReviewRequest, EditCustomerReviewRequest, ListEligibleStatusResponse, ListReviewsResponse, ReplyToReviewRequest, SetCustomerReviewStatusRequest, UpdateReplyForCustomerReview } from '../models';
|
|
13
|
+
import { AddReviewRequest, EditCustomerReviewRequest, GetCustomerReviewAggregatesResponse, ListEligibleStatusResponse, ListReviewsResponse, ReplyToReviewRequest, SetCustomerReviewStatusRequest, UpdateReplyForCustomerReview } from '../models';
|
|
14
14
|
export interface AddCustomerReviewUsingPOSTRequest {
|
|
15
15
|
addReviewRequest: AddReviewRequest;
|
|
16
16
|
}
|
|
@@ -73,6 +73,14 @@ export declare class CustomerReviewControllerApi extends runtime.BaseAPI {
|
|
|
73
73
|
* editCustomerReview
|
|
74
74
|
*/
|
|
75
75
|
editCustomerReviewUsingPUT(requestParameters: EditCustomerReviewUsingPUTRequest): Promise<void>;
|
|
76
|
+
/**
|
|
77
|
+
* getCustomerReviewAggregates
|
|
78
|
+
*/
|
|
79
|
+
getCustomerReviewAggregatesUsingGETRaw(): Promise<runtime.ApiResponse<GetCustomerReviewAggregatesResponse>>;
|
|
80
|
+
/**
|
|
81
|
+
* getCustomerReviewAggregates
|
|
82
|
+
*/
|
|
83
|
+
getCustomerReviewAggregatesUsingGET(): Promise<GetCustomerReviewAggregatesResponse>;
|
|
76
84
|
/**
|
|
77
85
|
* listCustomerReviews
|
|
78
86
|
*/
|
|
@@ -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 { AddReviewRequestToJSON, EditCustomerReviewRequestToJSON, ListEligibleStatusResponseFromJSON, ListReviewsResponseFromJSON, ReplyToReviewRequestToJSON, SetCustomerReviewStatusRequestToJSON, UpdateReplyForCustomerReviewToJSON, } from '../models';
|
|
24
|
+
import { AddReviewRequestToJSON, EditCustomerReviewRequestToJSON, GetCustomerReviewAggregatesResponseFromJSON, ListEligibleStatusResponseFromJSON, ListReviewsResponseFromJSON, ReplyToReviewRequestToJSON, SetCustomerReviewStatusRequestToJSON, UpdateReplyForCustomerReviewToJSON, } from '../models';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -87,6 +87,31 @@ export class CustomerReviewControllerApi extends runtime.BaseAPI {
|
|
|
87
87
|
yield this.editCustomerReviewUsingPUTRaw(requestParameters);
|
|
88
88
|
});
|
|
89
89
|
}
|
|
90
|
+
/**
|
|
91
|
+
* getCustomerReviewAggregates
|
|
92
|
+
*/
|
|
93
|
+
getCustomerReviewAggregatesUsingGETRaw() {
|
|
94
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
95
|
+
const queryParameters = {};
|
|
96
|
+
const headerParameters = {};
|
|
97
|
+
const response = yield this.request({
|
|
98
|
+
path: `/api/v1/reviews/aggregates`,
|
|
99
|
+
method: 'GET',
|
|
100
|
+
headers: headerParameters,
|
|
101
|
+
query: queryParameters,
|
|
102
|
+
});
|
|
103
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GetCustomerReviewAggregatesResponseFromJSON(jsonValue));
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* getCustomerReviewAggregates
|
|
108
|
+
*/
|
|
109
|
+
getCustomerReviewAggregatesUsingGET() {
|
|
110
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
111
|
+
const response = yield this.getCustomerReviewAggregatesUsingGETRaw();
|
|
112
|
+
return yield response.value();
|
|
113
|
+
});
|
|
114
|
+
}
|
|
90
115
|
/**
|
|
91
116
|
* listCustomerReviews
|
|
92
117
|
*/
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { Item } from './';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetCustomerReviewAggregatesResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface GetCustomerReviewAggregatesResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<Item>}
|
|
22
|
+
* @memberof GetCustomerReviewAggregatesResponse
|
|
23
|
+
*/
|
|
24
|
+
items?: Array<Item>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof GetCustomerReviewAggregatesResponse
|
|
29
|
+
*/
|
|
30
|
+
totalCount?: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof GetCustomerReviewAggregatesResponse
|
|
35
|
+
*/
|
|
36
|
+
totalRatingScore?: number;
|
|
37
|
+
}
|
|
38
|
+
export declare function GetCustomerReviewAggregatesResponseFromJSON(json: any): GetCustomerReviewAggregatesResponse;
|
|
39
|
+
export declare function GetCustomerReviewAggregatesResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetCustomerReviewAggregatesResponse;
|
|
40
|
+
export declare function GetCustomerReviewAggregatesResponseToJSON(value?: GetCustomerReviewAggregatesResponse | null): any;
|
|
@@ -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 { ItemFromJSON, ItemToJSON, } from './';
|
|
16
|
+
export function GetCustomerReviewAggregatesResponseFromJSON(json) {
|
|
17
|
+
return GetCustomerReviewAggregatesResponseFromJSONTyped(json, false);
|
|
18
|
+
}
|
|
19
|
+
export function GetCustomerReviewAggregatesResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
20
|
+
if ((json === undefined) || (json === null)) {
|
|
21
|
+
return json;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'items': !exists(json, 'items') ? undefined : (json['items'].map(ItemFromJSON)),
|
|
25
|
+
'totalCount': !exists(json, 'totalCount') ? undefined : json['totalCount'],
|
|
26
|
+
'totalRatingScore': !exists(json, 'totalRatingScore') ? undefined : json['totalRatingScore'],
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
export function GetCustomerReviewAggregatesResponseToJSON(value) {
|
|
30
|
+
if (value === undefined) {
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|
|
33
|
+
if (value === null) {
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'items': value.items === undefined ? undefined : (value.items.map(ItemToJSON)),
|
|
38
|
+
'totalCount': value.totalCount,
|
|
39
|
+
'totalRatingScore': value.totalRatingScore,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 Item
|
|
16
|
+
*/
|
|
17
|
+
export interface Item {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof Item
|
|
22
|
+
*/
|
|
23
|
+
ratingScore?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Item
|
|
28
|
+
*/
|
|
29
|
+
reviewSource?: ItemReviewSourceEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof Item
|
|
34
|
+
*/
|
|
35
|
+
totalCount?: number;
|
|
36
|
+
}
|
|
37
|
+
export declare function ItemFromJSON(json: any): Item;
|
|
38
|
+
export declare function ItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): Item;
|
|
39
|
+
export declare function ItemToJSON(value?: Item | null): any;
|
|
40
|
+
/**
|
|
41
|
+
* @export
|
|
42
|
+
* @enum {string}
|
|
43
|
+
*/
|
|
44
|
+
export declare enum ItemReviewSourceEnum {
|
|
45
|
+
ANDROID = "ANDROID",
|
|
46
|
+
APPLE = "APPLE",
|
|
47
|
+
FACEBOOK = "FACEBOOK",
|
|
48
|
+
GOOGLEBUSINESS = "GOOGLE_BUSINESS",
|
|
49
|
+
OTR = "OTR",
|
|
50
|
+
REVIEWSIO = "REVIEWS_IO"
|
|
51
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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 ItemFromJSON(json) {
|
|
16
|
+
return ItemFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function ItemFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
+
if ((json === undefined) || (json === null)) {
|
|
20
|
+
return json;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'ratingScore': !exists(json, 'ratingScore') ? undefined : json['ratingScore'],
|
|
24
|
+
'reviewSource': !exists(json, 'reviewSource') ? undefined : json['reviewSource'],
|
|
25
|
+
'totalCount': !exists(json, 'totalCount') ? undefined : json['totalCount'],
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
export function ItemToJSON(value) {
|
|
29
|
+
if (value === undefined) {
|
|
30
|
+
return undefined;
|
|
31
|
+
}
|
|
32
|
+
if (value === null) {
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'ratingScore': value.ratingScore,
|
|
37
|
+
'reviewSource': value.reviewSource,
|
|
38
|
+
'totalCount': value.totalCount,
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* @export
|
|
43
|
+
* @enum {string}
|
|
44
|
+
*/
|
|
45
|
+
export var ItemReviewSourceEnum;
|
|
46
|
+
(function (ItemReviewSourceEnum) {
|
|
47
|
+
ItemReviewSourceEnum["ANDROID"] = "ANDROID";
|
|
48
|
+
ItemReviewSourceEnum["APPLE"] = "APPLE";
|
|
49
|
+
ItemReviewSourceEnum["FACEBOOK"] = "FACEBOOK";
|
|
50
|
+
ItemReviewSourceEnum["GOOGLEBUSINESS"] = "GOOGLE_BUSINESS";
|
|
51
|
+
ItemReviewSourceEnum["OTR"] = "OTR";
|
|
52
|
+
ItemReviewSourceEnum["REVIEWSIO"] = "REVIEWS_IO";
|
|
53
|
+
})(ItemReviewSourceEnum || (ItemReviewSourceEnum = {}));
|
|
@@ -316,6 +316,7 @@ export * from './GetCourtResponse';
|
|
|
316
316
|
export * from './GetCourtsByQueryResponse';
|
|
317
317
|
export * from './GetCourtsInnerResponse';
|
|
318
318
|
export * from './GetCurrentUserResponse';
|
|
319
|
+
export * from './GetCustomerReviewAggregatesResponse';
|
|
319
320
|
export * from './GetCustomerServiceAgentsResponse';
|
|
320
321
|
export * from './GetDeclinedCasesRequest';
|
|
321
322
|
export * from './GetDeclinedCasesResponse';
|
|
@@ -433,6 +434,7 @@ export * from './InviteLawyerToLawfirmRequest';
|
|
|
433
434
|
export * from './InvoiceLineItemModel';
|
|
434
435
|
export * from './IsRefundEligibleResponse';
|
|
435
436
|
export * from './IsUserLoggedInResponse';
|
|
437
|
+
export * from './Item';
|
|
436
438
|
export * from './LastLoginAttributes';
|
|
437
439
|
export * from './LastLoginDateByUserAccount';
|
|
438
440
|
export * from './LastLoginDateModel';
|
|
@@ -316,6 +316,7 @@ export * from './GetCourtResponse';
|
|
|
316
316
|
export * from './GetCourtsByQueryResponse';
|
|
317
317
|
export * from './GetCourtsInnerResponse';
|
|
318
318
|
export * from './GetCurrentUserResponse';
|
|
319
|
+
export * from './GetCustomerReviewAggregatesResponse';
|
|
319
320
|
export * from './GetCustomerServiceAgentsResponse';
|
|
320
321
|
export * from './GetDeclinedCasesRequest';
|
|
321
322
|
export * from './GetDeclinedCasesResponse';
|
|
@@ -433,6 +434,7 @@ export * from './InviteLawyerToLawfirmRequest';
|
|
|
433
434
|
export * from './InvoiceLineItemModel';
|
|
434
435
|
export * from './IsRefundEligibleResponse';
|
|
435
436
|
export * from './IsUserLoggedInResponse';
|
|
437
|
+
export * from './Item';
|
|
436
438
|
export * from './LastLoginAttributes';
|
|
437
439
|
export * from './LastLoginDateByUserAccount';
|
|
438
440
|
export * from './LastLoginDateModel';
|
|
@@ -2425,6 +2425,23 @@ export interface paths {
|
|
|
2425
2425
|
patch?: never;
|
|
2426
2426
|
trace?: never;
|
|
2427
2427
|
};
|
|
2428
|
+
"/api/v1/reviews/aggregates": {
|
|
2429
|
+
parameters: {
|
|
2430
|
+
query?: never;
|
|
2431
|
+
header?: never;
|
|
2432
|
+
path?: never;
|
|
2433
|
+
cookie?: never;
|
|
2434
|
+
};
|
|
2435
|
+
/** getCustomerReviewAggregates */
|
|
2436
|
+
get: operations["getCustomerReviewAggregatesUsingGET"];
|
|
2437
|
+
put?: never;
|
|
2438
|
+
post?: never;
|
|
2439
|
+
delete?: never;
|
|
2440
|
+
options?: never;
|
|
2441
|
+
head?: never;
|
|
2442
|
+
patch?: never;
|
|
2443
|
+
trace?: never;
|
|
2444
|
+
};
|
|
2428
2445
|
"/api/v1/reviews/api/v1/reviews/{reviewId}": {
|
|
2429
2446
|
parameters: {
|
|
2430
2447
|
query?: never;
|
|
@@ -10962,6 +10979,14 @@ export interface components {
|
|
|
10962
10979
|
redirectUrl?: string;
|
|
10963
10980
|
user?: components["schemas"]["UserDomain"];
|
|
10964
10981
|
};
|
|
10982
|
+
/** GetCustomerReviewAggregatesResponse */
|
|
10983
|
+
GetCustomerReviewAggregatesResponse: {
|
|
10984
|
+
items?: components["schemas"]["Item"][];
|
|
10985
|
+
/** Format: int64 */
|
|
10986
|
+
totalCount?: number;
|
|
10987
|
+
/** Format: double */
|
|
10988
|
+
totalRatingScore?: number;
|
|
10989
|
+
};
|
|
10965
10990
|
/** GetCustomerServiceAgentsResponse */
|
|
10966
10991
|
GetCustomerServiceAgentsResponse: {
|
|
10967
10992
|
agents?: components["schemas"]["CustomerServiceAgentDomain"][];
|
|
@@ -11926,6 +11951,15 @@ export interface components {
|
|
|
11926
11951
|
/** Format: int64 */
|
|
11927
11952
|
userId?: number;
|
|
11928
11953
|
};
|
|
11954
|
+
/** Item */
|
|
11955
|
+
Item: {
|
|
11956
|
+
/** Format: double */
|
|
11957
|
+
ratingScore?: number;
|
|
11958
|
+
/** @enum {string} */
|
|
11959
|
+
reviewSource?: AddReviewRequestSource;
|
|
11960
|
+
/** Format: int64 */
|
|
11961
|
+
totalCount?: number;
|
|
11962
|
+
};
|
|
11929
11963
|
/** LastLoginAttributes */
|
|
11930
11964
|
LastLoginAttributes: {
|
|
11931
11965
|
lastLoginItems?: components["schemas"]["LastLoginItem"][];
|
|
@@ -19517,7 +19551,10 @@ export interface operations {
|
|
|
19517
19551
|
};
|
|
19518
19552
|
getCasePaymentsUsingGET: {
|
|
19519
19553
|
parameters: {
|
|
19520
|
-
query?:
|
|
19554
|
+
query?: {
|
|
19555
|
+
/** @description includeInactiveLawfirmCases */
|
|
19556
|
+
includeInactiveLawfirmCases?: boolean;
|
|
19557
|
+
};
|
|
19521
19558
|
header?: never;
|
|
19522
19559
|
path: {
|
|
19523
19560
|
/** @description caseId */
|
|
@@ -24403,6 +24440,47 @@ export interface operations {
|
|
|
24403
24440
|
};
|
|
24404
24441
|
};
|
|
24405
24442
|
};
|
|
24443
|
+
getCustomerReviewAggregatesUsingGET: {
|
|
24444
|
+
parameters: {
|
|
24445
|
+
query?: never;
|
|
24446
|
+
header?: never;
|
|
24447
|
+
path?: never;
|
|
24448
|
+
cookie?: never;
|
|
24449
|
+
};
|
|
24450
|
+
requestBody?: never;
|
|
24451
|
+
responses: {
|
|
24452
|
+
/** @description OK */
|
|
24453
|
+
200: {
|
|
24454
|
+
headers: {
|
|
24455
|
+
[name: string]: unknown;
|
|
24456
|
+
};
|
|
24457
|
+
content: {
|
|
24458
|
+
"*/*": components["schemas"]["GetCustomerReviewAggregatesResponse"];
|
|
24459
|
+
};
|
|
24460
|
+
};
|
|
24461
|
+
/** @description Unauthorized */
|
|
24462
|
+
401: {
|
|
24463
|
+
headers: {
|
|
24464
|
+
[name: string]: unknown;
|
|
24465
|
+
};
|
|
24466
|
+
content?: never;
|
|
24467
|
+
};
|
|
24468
|
+
/** @description Forbidden */
|
|
24469
|
+
403: {
|
|
24470
|
+
headers: {
|
|
24471
|
+
[name: string]: unknown;
|
|
24472
|
+
};
|
|
24473
|
+
content?: never;
|
|
24474
|
+
};
|
|
24475
|
+
/** @description Not Found */
|
|
24476
|
+
404: {
|
|
24477
|
+
headers: {
|
|
24478
|
+
[name: string]: unknown;
|
|
24479
|
+
};
|
|
24480
|
+
content?: never;
|
|
24481
|
+
};
|
|
24482
|
+
};
|
|
24483
|
+
};
|
|
24406
24484
|
editCustomerReviewUsingPUT: {
|
|
24407
24485
|
parameters: {
|
|
24408
24486
|
query?: never;
|