@otr-app/shared-backend-generated-client 2.4.37 → 2.4.39
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 +0 -2
- package/dist/angular/api/casePaymentController.service.ts +0 -60
- package/dist/angular/api/listCasesController.service.ts +9 -4
- package/dist/angular/model/models.ts +0 -2
- package/dist/otrBackendService.js +5 -34
- package/dist/otrBackendService.min.js +7 -7
- package/dist/typescript/api/CasePaymentControllerApi.d.ts +0 -6
- package/dist/typescript/api/CasePaymentControllerApi.js +0 -25
- package/dist/typescript/api/ListCasesControllerApi.d.ts +2 -1
- package/dist/typescript/api/ListCasesControllerApi.js +5 -1
- package/dist/typescript/model/models.d.ts +0 -2
- package/dist/typescript/model/models.js +0 -2
- package/dist/typescript-fetch/apis/CasePaymentControllerApi.d.ts +1 -12
- package/dist/typescript-fetch/apis/CasePaymentControllerApi.js +1 -29
- package/dist/typescript-fetch/apis/ListCasesControllerApi.d.ts +1 -0
- package/dist/typescript-fetch/apis/ListCasesControllerApi.js +3 -0
- package/dist/typescript-fetch/models/index.d.ts +0 -2
- package/dist/typescript-fetch/models/index.js +0 -2
- package/package.json +1 -1
|
@@ -86,12 +86,6 @@ export declare class CasePaymentControllerApi {
|
|
|
86
86
|
* @param caseId caseId
|
|
87
87
|
*/
|
|
88
88
|
getStripeChargesUsingGET(caseId: string, extraHttpRequestParams?: any): ng.IHttpPromise<models.GetStripeChargesResponse>;
|
|
89
|
-
/**
|
|
90
|
-
*
|
|
91
|
-
* @summary listCostItemsForAttorney
|
|
92
|
-
* @param caseId caseId
|
|
93
|
-
*/
|
|
94
|
-
listCostItemsForAttorneyUsingGET(caseId: string, extraHttpRequestParams?: any): ng.IHttpPromise<models.GetCaseCostsAttorneyResponse>;
|
|
95
89
|
/**
|
|
96
90
|
*
|
|
97
91
|
* @summary listCostItemsForCustomer
|
|
@@ -326,31 +326,6 @@ var CasePaymentControllerApi = /** @class */ (function () {
|
|
|
326
326
|
}
|
|
327
327
|
return this.$http(httpRequestParams);
|
|
328
328
|
};
|
|
329
|
-
/**
|
|
330
|
-
*
|
|
331
|
-
* @summary listCostItemsForAttorney
|
|
332
|
-
* @param caseId caseId
|
|
333
|
-
*/
|
|
334
|
-
CasePaymentControllerApi.prototype.listCostItemsForAttorneyUsingGET = function (caseId, extraHttpRequestParams) {
|
|
335
|
-
var localVarPath = this.basePath + '/api/v1/cases/{caseId}/attorney/cost'
|
|
336
|
-
.replace('{' + 'caseId' + '}', encodeURIComponent(String(caseId)));
|
|
337
|
-
var queryParameters = {};
|
|
338
|
-
var headerParams = Object.assign({}, this.defaultHeaders);
|
|
339
|
-
// verify required parameter 'caseId' is not null or undefined
|
|
340
|
-
if (caseId === null || caseId === undefined) {
|
|
341
|
-
throw new Error('Required parameter caseId was null or undefined when calling listCostItemsForAttorneyUsingGET.');
|
|
342
|
-
}
|
|
343
|
-
var httpRequestParams = {
|
|
344
|
-
method: 'GET',
|
|
345
|
-
url: localVarPath,
|
|
346
|
-
params: queryParameters,
|
|
347
|
-
headers: headerParams
|
|
348
|
-
};
|
|
349
|
-
if (extraHttpRequestParams) {
|
|
350
|
-
httpRequestParams = Object.assign(httpRequestParams, extraHttpRequestParams);
|
|
351
|
-
}
|
|
352
|
-
return this.$http(httpRequestParams);
|
|
353
|
-
};
|
|
354
329
|
/**
|
|
355
330
|
*
|
|
356
331
|
* @summary listCostItemsForCustomer
|
|
@@ -35,10 +35,11 @@ export declare class ListCasesControllerApi {
|
|
|
35
35
|
* @summary listDashboardCases
|
|
36
36
|
* @param userId userId
|
|
37
37
|
* @param caseStatuses caseStatuses
|
|
38
|
+
* @param includeDeleted includeDeleted
|
|
38
39
|
* @param limit limit
|
|
39
40
|
* @param previousPageToken previousPageToken
|
|
40
41
|
* @param sortBy sortBy
|
|
41
42
|
* @param statusCategories statusCategories
|
|
42
43
|
*/
|
|
43
|
-
listDashboardCasesUsingGET(userId: number, caseStatuses?: 'AMENDED_DOWN_WITHIN_CLASS' | 'AMENDED_FULL_FINE' | 'AMENDED_INCREASED_FINE' | 'AMENDED_NO_FINE' | 'AMENDED_REDUCED_FINE' | 'AMENDED_TO_INFRACTION' | 'AMENDED_TO_NMV' | 'CANCELLED_ATTORNEY_AT_FAULT' | 'CANCELLED_BY_LAWFIRM' | 'CANCELLED_BY_USER' | 'CANCELLED_DUPLICATE' | 'CANCELLED_NMV' | 'CANCELLED_NON_PAYMENT' | 'CANCELLED_NO_LAWFIRM' | 'CANCELLED_OVERDUE' | 'CANCELLED_TOO_SHORT_NOTICE' | 'CASE_IN_PROGRESS' | 'CLIENT_CONFIRMED' | 'CLIENT_CONFIRMED_UNPAID' | 'CLIENT_FIRED_LAWFIRM' | 'CLIENT_FORCED_LOSS' | 'CLIENT_PAID_FINE' | 'CLIENT_UNRESPONSIVE' | 'DEFERRED' | 'DISMISSED' | 'DIVERSION' | 'FEES_DISPUTED' | 'FINE_REDUCTION_ONLY' | 'LAWFIRM_WITHDRAWN' | 'LOST' | 'NO_LAWFIRM_AVAILABLE' | 'POINT_REDUCTION' | 'REFUSED_BY_LAWFIRM' | 'RESOLVED_NON_PAYMENT' | 'STALE' | 'TRAFFIC_SCHOOL' | 'UNCONFIRMED', limit?: number, previousPageToken?: string, sortBy?: 'BOOKING_CONFIRMED_DATE' | 'CITATION_CREATION_DATE' | 'CITATION_ISSUE_DATE' | 'LAST_CITATION_UPDATE_DATE', statusCategories?: 'ACTIVE' | 'CANCELLED' | 'RESOLVED' | 'UNCONFIRMED', extraHttpRequestParams?: any): ng.IHttpPromise<models.ListDashboardCasesResponse>;
|
|
44
|
+
listDashboardCasesUsingGET(userId: number, caseStatuses?: 'AMENDED_DOWN_WITHIN_CLASS' | 'AMENDED_FULL_FINE' | 'AMENDED_INCREASED_FINE' | 'AMENDED_NO_FINE' | 'AMENDED_REDUCED_FINE' | 'AMENDED_TO_INFRACTION' | 'AMENDED_TO_NMV' | 'CANCELLED_ATTORNEY_AT_FAULT' | 'CANCELLED_BY_LAWFIRM' | 'CANCELLED_BY_USER' | 'CANCELLED_DUPLICATE' | 'CANCELLED_NMV' | 'CANCELLED_NON_PAYMENT' | 'CANCELLED_NO_LAWFIRM' | 'CANCELLED_OVERDUE' | 'CANCELLED_TOO_SHORT_NOTICE' | 'CASE_IN_PROGRESS' | 'CLIENT_CONFIRMED' | 'CLIENT_CONFIRMED_UNPAID' | 'CLIENT_FIRED_LAWFIRM' | 'CLIENT_FORCED_LOSS' | 'CLIENT_PAID_FINE' | 'CLIENT_UNRESPONSIVE' | 'DEFERRED' | 'DISMISSED' | 'DIVERSION' | 'FEES_DISPUTED' | 'FINE_REDUCTION_ONLY' | 'LAWFIRM_WITHDRAWN' | 'LOST' | 'NO_LAWFIRM_AVAILABLE' | 'POINT_REDUCTION' | 'REFUSED_BY_LAWFIRM' | 'RESOLVED_NON_PAYMENT' | 'STALE' | 'TRAFFIC_SCHOOL' | 'UNCONFIRMED', includeDeleted?: boolean, limit?: number, previousPageToken?: string, sortBy?: 'BOOKING_CONFIRMED_DATE' | 'CITATION_CREATION_DATE' | 'CITATION_ISSUE_DATE' | 'LAST_CITATION_UPDATE_DATE', statusCategories?: 'ACTIVE' | 'CANCELLED' | 'RESOLVED' | 'UNCONFIRMED', extraHttpRequestParams?: any): ng.IHttpPromise<models.ListDashboardCasesResponse>;
|
|
44
45
|
}
|
|
@@ -78,12 +78,13 @@ var ListCasesControllerApi = /** @class */ (function () {
|
|
|
78
78
|
* @summary listDashboardCases
|
|
79
79
|
* @param userId userId
|
|
80
80
|
* @param caseStatuses caseStatuses
|
|
81
|
+
* @param includeDeleted includeDeleted
|
|
81
82
|
* @param limit limit
|
|
82
83
|
* @param previousPageToken previousPageToken
|
|
83
84
|
* @param sortBy sortBy
|
|
84
85
|
* @param statusCategories statusCategories
|
|
85
86
|
*/
|
|
86
|
-
ListCasesControllerApi.prototype.listDashboardCasesUsingGET = function (userId, caseStatuses, limit, previousPageToken, sortBy, statusCategories, extraHttpRequestParams) {
|
|
87
|
+
ListCasesControllerApi.prototype.listDashboardCasesUsingGET = function (userId, caseStatuses, includeDeleted, limit, previousPageToken, sortBy, statusCategories, extraHttpRequestParams) {
|
|
87
88
|
var localVarPath = this.basePath + '/api/v3/users/{userId}/cases'
|
|
88
89
|
.replace('{' + 'userId' + '}', encodeURIComponent(String(userId)));
|
|
89
90
|
var queryParameters = {};
|
|
@@ -95,6 +96,9 @@ var ListCasesControllerApi = /** @class */ (function () {
|
|
|
95
96
|
if (caseStatuses !== undefined) {
|
|
96
97
|
queryParameters['caseStatuses'] = caseStatuses;
|
|
97
98
|
}
|
|
99
|
+
if (includeDeleted !== undefined) {
|
|
100
|
+
queryParameters['includeDeleted'] = includeDeleted;
|
|
101
|
+
}
|
|
98
102
|
if (limit !== undefined) {
|
|
99
103
|
queryParameters['limit'] = limit;
|
|
100
104
|
}
|
|
@@ -249,7 +249,6 @@ export * from './FreshdeskAttachmentReq';
|
|
|
249
249
|
export * from './FreshdeskAttachmentRes';
|
|
250
250
|
export * from './FreshdeskTicketReferenceDomain';
|
|
251
251
|
export * from './FreshdeskWebhookRequest';
|
|
252
|
-
export * from './FuturePayment';
|
|
253
252
|
export * from './GenerateTemplateRequest';
|
|
254
253
|
export * from './GenericAdminListRequest';
|
|
255
254
|
export * from './GeoRatesRequest';
|
|
@@ -264,7 +263,6 @@ export * from './GetBookingsResponse';
|
|
|
264
263
|
export * from './GetCaseActionResponse';
|
|
265
264
|
export * from './GetCaseActionTimelineResponse';
|
|
266
265
|
export * from './GetCaseActionTypesResponse';
|
|
267
|
-
export * from './GetCaseCostsAttorneyResponse';
|
|
268
266
|
export * from './GetCaseCounterOptionsResponse';
|
|
269
267
|
export * from './GetCaseDeclineReasonTypesResponse';
|
|
270
268
|
export * from './GetCaseDocumentResponse';
|
|
@@ -261,7 +261,6 @@ __exportStar(require("./FreshdeskAttachmentReq"), exports);
|
|
|
261
261
|
__exportStar(require("./FreshdeskAttachmentRes"), exports);
|
|
262
262
|
__exportStar(require("./FreshdeskTicketReferenceDomain"), exports);
|
|
263
263
|
__exportStar(require("./FreshdeskWebhookRequest"), exports);
|
|
264
|
-
__exportStar(require("./FuturePayment"), exports);
|
|
265
264
|
__exportStar(require("./GenerateTemplateRequest"), exports);
|
|
266
265
|
__exportStar(require("./GenericAdminListRequest"), exports);
|
|
267
266
|
__exportStar(require("./GeoRatesRequest"), exports);
|
|
@@ -276,7 +275,6 @@ __exportStar(require("./GetBookingsResponse"), exports);
|
|
|
276
275
|
__exportStar(require("./GetCaseActionResponse"), exports);
|
|
277
276
|
__exportStar(require("./GetCaseActionTimelineResponse"), exports);
|
|
278
277
|
__exportStar(require("./GetCaseActionTypesResponse"), exports);
|
|
279
|
-
__exportStar(require("./GetCaseCostsAttorneyResponse"), exports);
|
|
280
278
|
__exportStar(require("./GetCaseCounterOptionsResponse"), exports);
|
|
281
279
|
__exportStar(require("./GetCaseDeclineReasonTypesResponse"), exports);
|
|
282
280
|
__exportStar(require("./GetCaseDocumentResponse"), exports);
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import { AuthorizeChargeForCasePaymentRequest, AuthorizeChargeForCasePaymentResponse, CaptureChargeFromCasePaymentRequest, GetAvailablePaymentPlansResponse,
|
|
13
|
+
import { AuthorizeChargeForCasePaymentRequest, AuthorizeChargeForCasePaymentResponse, CaptureChargeFromCasePaymentRequest, GetAvailablePaymentPlansResponse, GetCasePaymentsResponse, GetStripeChargeResponse, GetStripeChargesResponse, ListCostItemsForCustomerResponse, ScheduleNewPaymentRequest, UpdateCasePaymentRequest, UpdatePaymentDueDateRequest } from '../models';
|
|
14
14
|
export interface AuthorizeChargeForCasePaymentUsingPOSTRequest {
|
|
15
15
|
caseId: string;
|
|
16
16
|
casePaymentId: string;
|
|
@@ -52,9 +52,6 @@ export interface GetStripeChargeUsingGETRequest {
|
|
|
52
52
|
export interface GetStripeChargesUsingGETRequest {
|
|
53
53
|
caseId: string;
|
|
54
54
|
}
|
|
55
|
-
export interface ListCostItemsForAttorneyUsingGETRequest {
|
|
56
|
-
caseId: string;
|
|
57
|
-
}
|
|
58
55
|
export interface ListCostItemsForCustomerUsingGETRequest {
|
|
59
56
|
caseId: string;
|
|
60
57
|
period?: ListCostItemsForCustomerUsingGETPeriodEnum;
|
|
@@ -152,14 +149,6 @@ export declare class CasePaymentControllerApi extends runtime.BaseAPI {
|
|
|
152
149
|
* getStripeCharges
|
|
153
150
|
*/
|
|
154
151
|
getStripeChargesUsingGET(requestParameters: GetStripeChargesUsingGETRequest): Promise<GetStripeChargesResponse>;
|
|
155
|
-
/**
|
|
156
|
-
* listCostItemsForAttorney
|
|
157
|
-
*/
|
|
158
|
-
listCostItemsForAttorneyUsingGETRaw(requestParameters: ListCostItemsForAttorneyUsingGETRequest): Promise<runtime.ApiResponse<GetCaseCostsAttorneyResponse>>;
|
|
159
|
-
/**
|
|
160
|
-
* listCostItemsForAttorney
|
|
161
|
-
*/
|
|
162
|
-
listCostItemsForAttorneyUsingGET(requestParameters: ListCostItemsForAttorneyUsingGETRequest): Promise<GetCaseCostsAttorneyResponse>;
|
|
163
152
|
/**
|
|
164
153
|
* listCostItemsForCustomer
|
|
165
154
|
*/
|
|
@@ -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 { AuthorizeChargeForCasePaymentRequestToJSON, AuthorizeChargeForCasePaymentResponseFromJSON, CaptureChargeFromCasePaymentRequestToJSON, GetAvailablePaymentPlansResponseFromJSON,
|
|
24
|
+
import { AuthorizeChargeForCasePaymentRequestToJSON, AuthorizeChargeForCasePaymentResponseFromJSON, CaptureChargeFromCasePaymentRequestToJSON, GetAvailablePaymentPlansResponseFromJSON, GetCasePaymentsResponseFromJSON, GetStripeChargeResponseFromJSON, GetStripeChargesResponseFromJSON, ListCostItemsForCustomerResponseFromJSON, ScheduleNewPaymentRequestToJSON, UpdateCasePaymentRequestToJSON, UpdatePaymentDueDateRequestToJSON, } from '../models';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -329,34 +329,6 @@ export class CasePaymentControllerApi extends runtime.BaseAPI {
|
|
|
329
329
|
return yield response.value();
|
|
330
330
|
});
|
|
331
331
|
}
|
|
332
|
-
/**
|
|
333
|
-
* listCostItemsForAttorney
|
|
334
|
-
*/
|
|
335
|
-
listCostItemsForAttorneyUsingGETRaw(requestParameters) {
|
|
336
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
337
|
-
if (requestParameters.caseId === null || requestParameters.caseId === undefined) {
|
|
338
|
-
throw new runtime.RequiredError('caseId', 'Required parameter requestParameters.caseId was null or undefined when calling listCostItemsForAttorneyUsingGET.');
|
|
339
|
-
}
|
|
340
|
-
const queryParameters = {};
|
|
341
|
-
const headerParameters = {};
|
|
342
|
-
const response = yield this.request({
|
|
343
|
-
path: `/api/v1/cases/{caseId}/attorney/cost`.replace(`{${"caseId"}}`, encodeURIComponent(String(requestParameters.caseId))),
|
|
344
|
-
method: 'GET',
|
|
345
|
-
headers: headerParameters,
|
|
346
|
-
query: queryParameters,
|
|
347
|
-
});
|
|
348
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => GetCaseCostsAttorneyResponseFromJSON(jsonValue));
|
|
349
|
-
});
|
|
350
|
-
}
|
|
351
|
-
/**
|
|
352
|
-
* listCostItemsForAttorney
|
|
353
|
-
*/
|
|
354
|
-
listCostItemsForAttorneyUsingGET(requestParameters) {
|
|
355
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
356
|
-
const response = yield this.listCostItemsForAttorneyUsingGETRaw(requestParameters);
|
|
357
|
-
return yield response.value();
|
|
358
|
-
});
|
|
359
|
-
}
|
|
360
332
|
/**
|
|
361
333
|
* listCostItemsForCustomer
|
|
362
334
|
*/
|
|
@@ -20,6 +20,7 @@ export interface GetUserCasesUsingGETRequest {
|
|
|
20
20
|
export interface ListDashboardCasesUsingGETRequest {
|
|
21
21
|
userId: number;
|
|
22
22
|
caseStatuses?: ListDashboardCasesUsingGETCaseStatusesEnum;
|
|
23
|
+
includeDeleted?: boolean;
|
|
23
24
|
limit?: number;
|
|
24
25
|
previousPageToken?: string;
|
|
25
26
|
sortBy?: ListDashboardCasesUsingGETSortByEnum;
|
|
@@ -94,6 +94,9 @@ export class ListCasesControllerApi extends runtime.BaseAPI {
|
|
|
94
94
|
if (requestParameters.caseStatuses !== undefined) {
|
|
95
95
|
queryParameters['caseStatuses'] = requestParameters.caseStatuses;
|
|
96
96
|
}
|
|
97
|
+
if (requestParameters.includeDeleted !== undefined) {
|
|
98
|
+
queryParameters['includeDeleted'] = requestParameters.includeDeleted;
|
|
99
|
+
}
|
|
97
100
|
if (requestParameters.limit !== undefined) {
|
|
98
101
|
queryParameters['limit'] = requestParameters.limit;
|
|
99
102
|
}
|
|
@@ -249,7 +249,6 @@ export * from './FreshdeskAttachmentReq';
|
|
|
249
249
|
export * from './FreshdeskAttachmentRes';
|
|
250
250
|
export * from './FreshdeskTicketReferenceDomain';
|
|
251
251
|
export * from './FreshdeskWebhookRequest';
|
|
252
|
-
export * from './FuturePayment';
|
|
253
252
|
export * from './GenerateTemplateRequest';
|
|
254
253
|
export * from './GenericAdminListRequest';
|
|
255
254
|
export * from './GeoRatesRequest';
|
|
@@ -264,7 +263,6 @@ export * from './GetBookingsResponse';
|
|
|
264
263
|
export * from './GetCaseActionResponse';
|
|
265
264
|
export * from './GetCaseActionTimelineResponse';
|
|
266
265
|
export * from './GetCaseActionTypesResponse';
|
|
267
|
-
export * from './GetCaseCostsAttorneyResponse';
|
|
268
266
|
export * from './GetCaseCounterOptionsResponse';
|
|
269
267
|
export * from './GetCaseDeclineReasonTypesResponse';
|
|
270
268
|
export * from './GetCaseDocumentResponse';
|
|
@@ -249,7 +249,6 @@ export * from './FreshdeskAttachmentReq';
|
|
|
249
249
|
export * from './FreshdeskAttachmentRes';
|
|
250
250
|
export * from './FreshdeskTicketReferenceDomain';
|
|
251
251
|
export * from './FreshdeskWebhookRequest';
|
|
252
|
-
export * from './FuturePayment';
|
|
253
252
|
export * from './GenerateTemplateRequest';
|
|
254
253
|
export * from './GenericAdminListRequest';
|
|
255
254
|
export * from './GeoRatesRequest';
|
|
@@ -264,7 +263,6 @@ export * from './GetBookingsResponse';
|
|
|
264
263
|
export * from './GetCaseActionResponse';
|
|
265
264
|
export * from './GetCaseActionTimelineResponse';
|
|
266
265
|
export * from './GetCaseActionTypesResponse';
|
|
267
|
-
export * from './GetCaseCostsAttorneyResponse';
|
|
268
266
|
export * from './GetCaseCounterOptionsResponse';
|
|
269
267
|
export * from './GetCaseDeclineReasonTypesResponse';
|
|
270
268
|
export * from './GetCaseDocumentResponse';
|