@otr-app/shared-backend-generated-client 2.4.82 → 2.4.84
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/casePaymentController.service.ts +19 -16
- package/dist/angular/model/casePaymentBreakdownItemModel.ts +25 -2
- package/dist/angular/model/legalServiceModel.ts +2 -0
- package/dist/angular/model/models.ts +3 -0
- package/dist/angular/model/saveCasePaymentPlanRequest.ts +29 -0
- package/dist/angular/model/workflowCasePaymentModel.ts +21 -0
- package/dist/angular/model/workflowFinancials.ts +23 -0
- package/dist/otrBackendService.js +6 -6
- package/dist/otrBackendService.min.js +2 -2
- package/dist/typescript/api/CasePaymentControllerApi.d.ts +2 -3
- package/dist/typescript/api/CasePaymentControllerApi.js +6 -8
- package/dist/typescript/model/CasePaymentBreakdownItemModel.d.ts +23 -2
- package/dist/typescript/model/CasePaymentBreakdownItemModel.js +24 -1
- package/dist/typescript/model/LegalServiceModel.d.ts +1 -0
- package/dist/typescript/model/SaveCasePaymentPlanRequest.d.ts +24 -0
- package/dist/typescript/model/SaveCasePaymentPlanRequest.js +22 -0
- package/dist/typescript/model/WorkflowCasePaymentModel.d.ts +18 -0
- package/dist/typescript/model/WorkflowCasePaymentModel.js +12 -0
- package/dist/typescript/model/WorkflowFinancials.d.ts +19 -0
- package/dist/typescript/model/WorkflowFinancials.js +12 -0
- package/dist/typescript/model/models.d.ts +3 -0
- package/dist/typescript/model/models.js +3 -0
- package/dist/typescript-fetch/apis/CasePaymentControllerApi.d.ts +2 -14
- package/dist/typescript-fetch/apis/CasePaymentControllerApi.js +6 -19
- package/dist/typescript-fetch/models/CasePaymentBreakdownItemModel.d.ts +26 -3
- package/dist/typescript-fetch/models/CasePaymentBreakdownItemModel.js +27 -3
- package/dist/typescript-fetch/models/LegalServiceModel.d.ts +7 -1
- package/dist/typescript-fetch/models/LegalServiceModel.js +3 -1
- package/dist/typescript-fetch/models/SaveCasePaymentPlanRequest.d.ts +44 -0
- package/dist/typescript-fetch/models/SaveCasePaymentPlanRequest.js +50 -0
- package/dist/typescript-fetch/models/WorkflowCasePaymentModel.d.ts +46 -0
- package/dist/typescript-fetch/models/WorkflowCasePaymentModel.js +43 -0
- package/dist/typescript-fetch/models/WorkflowFinancials.d.ts +52 -0
- package/dist/typescript-fetch/models/WorkflowFinancials.js +45 -0
- package/dist/typescript-fetch/models/index.d.ts +3 -0
- package/dist/typescript-fetch/models/index.js +3 -0
- package/package.json +1 -1
|
@@ -99,10 +99,9 @@ export declare class CasePaymentControllerApi {
|
|
|
99
99
|
* @summary saveCasePaymentPlan
|
|
100
100
|
* @param caseId caseId
|
|
101
101
|
* @param paymentPlanTypeId paymentPlanTypeId
|
|
102
|
-
* @param
|
|
103
|
-
* @param productId productId
|
|
102
|
+
* @param request request
|
|
104
103
|
*/
|
|
105
|
-
saveCasePaymentPlanUsingPOST(caseId: string, paymentPlanTypeId: string,
|
|
104
|
+
saveCasePaymentPlanUsingPOST(caseId: string, paymentPlanTypeId: string, request: models.SaveCasePaymentPlanRequest, extraHttpRequestParams?: any): ng.IHttpPromise<{}>;
|
|
106
105
|
/**
|
|
107
106
|
*
|
|
108
107
|
* @summary scheduleNewPayment
|
|
@@ -361,10 +361,9 @@ export class CasePaymentControllerApi {
|
|
|
361
361
|
* @summary saveCasePaymentPlan
|
|
362
362
|
* @param caseId caseId
|
|
363
363
|
* @param paymentPlanTypeId paymentPlanTypeId
|
|
364
|
-
* @param
|
|
365
|
-
* @param productId productId
|
|
364
|
+
* @param request request
|
|
366
365
|
*/
|
|
367
|
-
saveCasePaymentPlanUsingPOST(caseId, paymentPlanTypeId,
|
|
366
|
+
saveCasePaymentPlanUsingPOST(caseId, paymentPlanTypeId, request, extraHttpRequestParams) {
|
|
368
367
|
const localVarPath = this.basePath + '/api/v1/cases/{caseId}/payment-plans/{paymentPlanTypeId}'
|
|
369
368
|
.replace('{' + 'caseId' + '}', encodeURIComponent(String(caseId)))
|
|
370
369
|
.replace('{' + 'paymentPlanTypeId' + '}', encodeURIComponent(String(paymentPlanTypeId)));
|
|
@@ -378,15 +377,14 @@ export class CasePaymentControllerApi {
|
|
|
378
377
|
if (paymentPlanTypeId === null || paymentPlanTypeId === undefined) {
|
|
379
378
|
throw new Error('Required parameter paymentPlanTypeId was null or undefined when calling saveCasePaymentPlanUsingPOST.');
|
|
380
379
|
}
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
if (productId !== undefined) {
|
|
385
|
-
queryParameters['productId'] = productId;
|
|
380
|
+
// verify required parameter 'request' is not null or undefined
|
|
381
|
+
if (request === null || request === undefined) {
|
|
382
|
+
throw new Error('Required parameter request was null or undefined when calling saveCasePaymentPlanUsingPOST.');
|
|
386
383
|
}
|
|
387
384
|
let httpRequestParams = {
|
|
388
385
|
method: 'POST',
|
|
389
386
|
url: localVarPath,
|
|
387
|
+
data: request,
|
|
390
388
|
params: queryParameters,
|
|
391
389
|
headers: headerParams
|
|
392
390
|
};
|
|
@@ -9,9 +9,30 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import * as models from './models';
|
|
13
12
|
export interface CasePaymentBreakdownItemModel {
|
|
14
13
|
"amount"?: number;
|
|
15
14
|
"friendlyTitle"?: string;
|
|
16
|
-
"type"?:
|
|
15
|
+
"type"?: CasePaymentBreakdownItemModel.TypeEnum;
|
|
16
|
+
}
|
|
17
|
+
export declare namespace CasePaymentBreakdownItemModel {
|
|
18
|
+
enum TypeEnum {
|
|
19
|
+
ACCIDENTFEE,
|
|
20
|
+
BASELEGALFEE,
|
|
21
|
+
BONDFEE,
|
|
22
|
+
BOOKINGFEE,
|
|
23
|
+
CDLFEE,
|
|
24
|
+
COURTFEE,
|
|
25
|
+
DISPUTEFEE,
|
|
26
|
+
FINEPAYMENT,
|
|
27
|
+
FTAFEE,
|
|
28
|
+
INITIALSUBSCRIPTIONFEE,
|
|
29
|
+
LATEFEE,
|
|
30
|
+
MBGREFUND,
|
|
31
|
+
MVSFEE,
|
|
32
|
+
OTHER,
|
|
33
|
+
OTRCREDIT,
|
|
34
|
+
OTRSUBSCRIPTIONCREDIT,
|
|
35
|
+
PAYMENTPLANSERVICEFEE,
|
|
36
|
+
WARRANTFEE
|
|
37
|
+
}
|
|
17
38
|
}
|
|
@@ -9,4 +9,27 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
export
|
|
12
|
+
export var CasePaymentBreakdownItemModel;
|
|
13
|
+
(function (CasePaymentBreakdownItemModel) {
|
|
14
|
+
let TypeEnum;
|
|
15
|
+
(function (TypeEnum) {
|
|
16
|
+
TypeEnum[TypeEnum["ACCIDENTFEE"] = 'ACCIDENT_FEE'] = "ACCIDENTFEE";
|
|
17
|
+
TypeEnum[TypeEnum["BASELEGALFEE"] = 'BASE_LEGAL_FEE'] = "BASELEGALFEE";
|
|
18
|
+
TypeEnum[TypeEnum["BONDFEE"] = 'BOND_FEE'] = "BONDFEE";
|
|
19
|
+
TypeEnum[TypeEnum["BOOKINGFEE"] = 'BOOKING_FEE'] = "BOOKINGFEE";
|
|
20
|
+
TypeEnum[TypeEnum["CDLFEE"] = 'CDL_FEE'] = "CDLFEE";
|
|
21
|
+
TypeEnum[TypeEnum["COURTFEE"] = 'COURT_FEE'] = "COURTFEE";
|
|
22
|
+
TypeEnum[TypeEnum["DISPUTEFEE"] = 'DISPUTE_FEE'] = "DISPUTEFEE";
|
|
23
|
+
TypeEnum[TypeEnum["FINEPAYMENT"] = 'FINE_PAYMENT'] = "FINEPAYMENT";
|
|
24
|
+
TypeEnum[TypeEnum["FTAFEE"] = 'FTA_FEE'] = "FTAFEE";
|
|
25
|
+
TypeEnum[TypeEnum["INITIALSUBSCRIPTIONFEE"] = 'INITIAL_SUBSCRIPTION_FEE'] = "INITIALSUBSCRIPTIONFEE";
|
|
26
|
+
TypeEnum[TypeEnum["LATEFEE"] = 'LATE_FEE'] = "LATEFEE";
|
|
27
|
+
TypeEnum[TypeEnum["MBGREFUND"] = 'MBG_REFUND'] = "MBGREFUND";
|
|
28
|
+
TypeEnum[TypeEnum["MVSFEE"] = 'MVS_FEE'] = "MVSFEE";
|
|
29
|
+
TypeEnum[TypeEnum["OTHER"] = 'OTHER'] = "OTHER";
|
|
30
|
+
TypeEnum[TypeEnum["OTRCREDIT"] = 'OTR_CREDIT'] = "OTRCREDIT";
|
|
31
|
+
TypeEnum[TypeEnum["OTRSUBSCRIPTIONCREDIT"] = 'OTR_SUBSCRIPTION_CREDIT'] = "OTRSUBSCRIPTIONCREDIT";
|
|
32
|
+
TypeEnum[TypeEnum["PAYMENTPLANSERVICEFEE"] = 'PAYMENT_PLAN_SERVICE_FEE'] = "PAYMENTPLANSERVICEFEE";
|
|
33
|
+
TypeEnum[TypeEnum["WARRANTFEE"] = 'WARRANT_FEE'] = "WARRANTFEE";
|
|
34
|
+
})(TypeEnum = CasePaymentBreakdownItemModel.TypeEnum || (CasePaymentBreakdownItemModel.TypeEnum = {}));
|
|
35
|
+
})(CasePaymentBreakdownItemModel || (CasePaymentBreakdownItemModel = {}));
|
|
@@ -0,0 +1,24 @@
|
|
|
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 SaveCasePaymentPlanRequest {
|
|
13
|
+
"interval"?: SaveCasePaymentPlanRequest.IntervalEnum;
|
|
14
|
+
"productId"?: string;
|
|
15
|
+
}
|
|
16
|
+
export declare namespace SaveCasePaymentPlanRequest {
|
|
17
|
+
enum IntervalEnum {
|
|
18
|
+
DAILY,
|
|
19
|
+
MONTHLY,
|
|
20
|
+
QUARTERLY,
|
|
21
|
+
WEEKLY,
|
|
22
|
+
YEARLY
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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 SaveCasePaymentPlanRequest;
|
|
13
|
+
(function (SaveCasePaymentPlanRequest) {
|
|
14
|
+
let IntervalEnum;
|
|
15
|
+
(function (IntervalEnum) {
|
|
16
|
+
IntervalEnum[IntervalEnum["DAILY"] = 'DAILY'] = "DAILY";
|
|
17
|
+
IntervalEnum[IntervalEnum["MONTHLY"] = 'MONTHLY'] = "MONTHLY";
|
|
18
|
+
IntervalEnum[IntervalEnum["QUARTERLY"] = 'QUARTERLY'] = "QUARTERLY";
|
|
19
|
+
IntervalEnum[IntervalEnum["WEEKLY"] = 'WEEKLY'] = "WEEKLY";
|
|
20
|
+
IntervalEnum[IntervalEnum["YEARLY"] = 'YEARLY'] = "YEARLY";
|
|
21
|
+
})(IntervalEnum = SaveCasePaymentPlanRequest.IntervalEnum || (SaveCasePaymentPlanRequest.IntervalEnum = {}));
|
|
22
|
+
})(SaveCasePaymentPlanRequest || (SaveCasePaymentPlanRequest = {}));
|
|
@@ -0,0 +1,18 @@
|
|
|
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 WorkflowCasePaymentModel {
|
|
14
|
+
"dueDate"?: string;
|
|
15
|
+
"dueNow"?: boolean;
|
|
16
|
+
"feeAmount"?: number;
|
|
17
|
+
"items"?: Array<models.CasePaymentBreakdownItemModel>;
|
|
18
|
+
}
|
|
@@ -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,19 @@
|
|
|
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 WorkflowFinancials {
|
|
14
|
+
"lineItems"?: Array<models.WorkflowLineItemModel>;
|
|
15
|
+
"payments"?: Array<models.WorkflowCasePaymentModel>;
|
|
16
|
+
"totalClientBaseCostInCents"?: number;
|
|
17
|
+
"totalClientCostInCents"?: number;
|
|
18
|
+
"totalRefCodeAdjustmentInCents"?: number;
|
|
19
|
+
}
|
|
@@ -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 {};
|
|
@@ -608,6 +608,7 @@ export * from './SSLCertificateResponse';
|
|
|
608
608
|
export * from './SaveAgentBookingRequest';
|
|
609
609
|
export * from './SaveAgentBookingResponse';
|
|
610
610
|
export * from './SaveCaseNotesRequest';
|
|
611
|
+
export * from './SaveCasePaymentPlanRequest';
|
|
611
612
|
export * from './SaveCaseUserRequest';
|
|
612
613
|
export * from './SaveCoachingCardRequest';
|
|
613
614
|
export * from './SaveCoachingCardUserRequest';
|
|
@@ -822,7 +823,9 @@ export * from './ViolationPenaltyResponse';
|
|
|
822
823
|
export * from './ViolationResponse';
|
|
823
824
|
export * from './WatchlistItemsModel';
|
|
824
825
|
export * from './WorkflowCaseModel';
|
|
826
|
+
export * from './WorkflowCasePaymentModel';
|
|
825
827
|
export * from './WorkflowCitationModel';
|
|
828
|
+
export * from './WorkflowFinancials';
|
|
826
829
|
export * from './WorkflowLineItemModel';
|
|
827
830
|
export * from './WorkflowViolationModel';
|
|
828
831
|
export * from './WorkflowViolationPenaltyModel';
|
|
@@ -608,6 +608,7 @@ export * from './SSLCertificateResponse';
|
|
|
608
608
|
export * from './SaveAgentBookingRequest';
|
|
609
609
|
export * from './SaveAgentBookingResponse';
|
|
610
610
|
export * from './SaveCaseNotesRequest';
|
|
611
|
+
export * from './SaveCasePaymentPlanRequest';
|
|
611
612
|
export * from './SaveCaseUserRequest';
|
|
612
613
|
export * from './SaveCoachingCardRequest';
|
|
613
614
|
export * from './SaveCoachingCardUserRequest';
|
|
@@ -822,7 +823,9 @@ export * from './ViolationPenaltyResponse';
|
|
|
822
823
|
export * from './ViolationResponse';
|
|
823
824
|
export * from './WatchlistItemsModel';
|
|
824
825
|
export * from './WorkflowCaseModel';
|
|
826
|
+
export * from './WorkflowCasePaymentModel';
|
|
825
827
|
export * from './WorkflowCitationModel';
|
|
828
|
+
export * from './WorkflowFinancials';
|
|
826
829
|
export * from './WorkflowLineItemModel';
|
|
827
830
|
export * from './WorkflowViolationModel';
|
|
828
831
|
export * from './WorkflowViolationPenaltyModel';
|
|
@@ -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, GetCasePaymentsResponse, GetStripeChargeResponse, GetStripeChargesResponse, ListCostItemsForCustomerResponse, ScheduleNewPaymentRequest, UpdateCasePaymentRequest, UpdatePaymentDueDateRequest } from '../models';
|
|
13
|
+
import { AuthorizeChargeForCasePaymentRequest, AuthorizeChargeForCasePaymentResponse, CaptureChargeFromCasePaymentRequest, GetAvailablePaymentPlansResponse, GetCasePaymentsResponse, GetStripeChargeResponse, GetStripeChargesResponse, ListCostItemsForCustomerResponse, SaveCasePaymentPlanRequest, ScheduleNewPaymentRequest, UpdateCasePaymentRequest, UpdatePaymentDueDateRequest } from '../models';
|
|
14
14
|
export interface AuthorizeChargeForCasePaymentUsingPOSTRequest {
|
|
15
15
|
caseId: string;
|
|
16
16
|
casePaymentId: string;
|
|
@@ -60,8 +60,7 @@ export interface ListCostItemsForCustomerUsingGETRequest {
|
|
|
60
60
|
export interface SaveCasePaymentPlanUsingPOSTRequest {
|
|
61
61
|
caseId: string;
|
|
62
62
|
paymentPlanTypeId: string;
|
|
63
|
-
|
|
64
|
-
productId?: string;
|
|
63
|
+
request: SaveCasePaymentPlanRequest;
|
|
65
64
|
}
|
|
66
65
|
export interface ScheduleNewPaymentUsingPOSTRequest {
|
|
67
66
|
caseId: string;
|
|
@@ -226,17 +225,6 @@ export declare enum ListCostItemsForCustomerUsingGETPeriodEnum {
|
|
|
226
225
|
WEEKLY = "WEEKLY",
|
|
227
226
|
YEARLY = "YEARLY"
|
|
228
227
|
}
|
|
229
|
-
/**
|
|
230
|
-
* @export
|
|
231
|
-
* @enum {string}
|
|
232
|
-
*/
|
|
233
|
-
export declare enum SaveCasePaymentPlanUsingPOSTPeriodEnum {
|
|
234
|
-
DAILY = "DAILY",
|
|
235
|
-
MONTHLY = "MONTHLY",
|
|
236
|
-
QUARTERLY = "QUARTERLY",
|
|
237
|
-
WEEKLY = "WEEKLY",
|
|
238
|
-
YEARLY = "YEARLY"
|
|
239
|
-
}
|
|
240
228
|
/**
|
|
241
229
|
* @export
|
|
242
230
|
* @enum {string}
|
|
@@ -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, GetCasePaymentsResponseFromJSON, GetStripeChargeResponseFromJSON, GetStripeChargesResponseFromJSON, ListCostItemsForCustomerResponseFromJSON, ScheduleNewPaymentRequestToJSON, UpdateCasePaymentRequestToJSON, UpdatePaymentDueDateRequestToJSON, } from '../models';
|
|
24
|
+
import { AuthorizeChargeForCasePaymentRequestToJSON, AuthorizeChargeForCasePaymentResponseFromJSON, CaptureChargeFromCasePaymentRequestToJSON, GetAvailablePaymentPlansResponseFromJSON, GetCasePaymentsResponseFromJSON, GetStripeChargeResponseFromJSON, GetStripeChargesResponseFromJSON, ListCostItemsForCustomerResponseFromJSON, SaveCasePaymentPlanRequestToJSON, ScheduleNewPaymentRequestToJSON, UpdateCasePaymentRequestToJSON, UpdatePaymentDueDateRequestToJSON, } from '../models';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -374,19 +374,18 @@ export class CasePaymentControllerApi extends runtime.BaseAPI {
|
|
|
374
374
|
if (requestParameters.paymentPlanTypeId === null || requestParameters.paymentPlanTypeId === undefined) {
|
|
375
375
|
throw new runtime.RequiredError('paymentPlanTypeId', 'Required parameter requestParameters.paymentPlanTypeId was null or undefined when calling saveCasePaymentPlanUsingPOST.');
|
|
376
376
|
}
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
queryParameters['period'] = requestParameters.period;
|
|
380
|
-
}
|
|
381
|
-
if (requestParameters.productId !== undefined) {
|
|
382
|
-
queryParameters['productId'] = requestParameters.productId;
|
|
377
|
+
if (requestParameters.request === null || requestParameters.request === undefined) {
|
|
378
|
+
throw new runtime.RequiredError('request', 'Required parameter requestParameters.request was null or undefined when calling saveCasePaymentPlanUsingPOST.');
|
|
383
379
|
}
|
|
380
|
+
const queryParameters = {};
|
|
384
381
|
const headerParameters = {};
|
|
382
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
385
383
|
const response = yield this.request({
|
|
386
384
|
path: `/api/v1/cases/{caseId}/payment-plans/{paymentPlanTypeId}`.replace(`{${"caseId"}}`, encodeURIComponent(String(requestParameters.caseId))).replace(`{${"paymentPlanTypeId"}}`, encodeURIComponent(String(requestParameters.paymentPlanTypeId))),
|
|
387
385
|
method: 'POST',
|
|
388
386
|
headers: headerParameters,
|
|
389
387
|
query: queryParameters,
|
|
388
|
+
body: SaveCasePaymentPlanRequestToJSON(requestParameters.request),
|
|
390
389
|
});
|
|
391
390
|
return new runtime.VoidApiResponse(response);
|
|
392
391
|
});
|
|
@@ -553,18 +552,6 @@ export var ListCostItemsForCustomerUsingGETPeriodEnum;
|
|
|
553
552
|
ListCostItemsForCustomerUsingGETPeriodEnum["WEEKLY"] = "WEEKLY";
|
|
554
553
|
ListCostItemsForCustomerUsingGETPeriodEnum["YEARLY"] = "YEARLY";
|
|
555
554
|
})(ListCostItemsForCustomerUsingGETPeriodEnum || (ListCostItemsForCustomerUsingGETPeriodEnum = {}));
|
|
556
|
-
/**
|
|
557
|
-
* @export
|
|
558
|
-
* @enum {string}
|
|
559
|
-
*/
|
|
560
|
-
export var SaveCasePaymentPlanUsingPOSTPeriodEnum;
|
|
561
|
-
(function (SaveCasePaymentPlanUsingPOSTPeriodEnum) {
|
|
562
|
-
SaveCasePaymentPlanUsingPOSTPeriodEnum["DAILY"] = "DAILY";
|
|
563
|
-
SaveCasePaymentPlanUsingPOSTPeriodEnum["MONTHLY"] = "MONTHLY";
|
|
564
|
-
SaveCasePaymentPlanUsingPOSTPeriodEnum["QUARTERLY"] = "QUARTERLY";
|
|
565
|
-
SaveCasePaymentPlanUsingPOSTPeriodEnum["WEEKLY"] = "WEEKLY";
|
|
566
|
-
SaveCasePaymentPlanUsingPOSTPeriodEnum["YEARLY"] = "YEARLY";
|
|
567
|
-
})(SaveCasePaymentPlanUsingPOSTPeriodEnum || (SaveCasePaymentPlanUsingPOSTPeriodEnum = {}));
|
|
568
555
|
/**
|
|
569
556
|
* @export
|
|
570
557
|
* @enum {string}
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { InvoiceLineItemModel } from './';
|
|
13
12
|
/**
|
|
14
13
|
*
|
|
15
14
|
* @export
|
|
@@ -30,11 +29,35 @@ export interface CasePaymentBreakdownItemModel {
|
|
|
30
29
|
friendlyTitle?: string;
|
|
31
30
|
/**
|
|
32
31
|
*
|
|
33
|
-
* @type {
|
|
32
|
+
* @type {string}
|
|
34
33
|
* @memberof CasePaymentBreakdownItemModel
|
|
35
34
|
*/
|
|
36
|
-
type?:
|
|
35
|
+
type?: CasePaymentBreakdownItemModelTypeEnum;
|
|
37
36
|
}
|
|
38
37
|
export declare function CasePaymentBreakdownItemModelFromJSON(json: any): CasePaymentBreakdownItemModel;
|
|
39
38
|
export declare function CasePaymentBreakdownItemModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): CasePaymentBreakdownItemModel;
|
|
40
39
|
export declare function CasePaymentBreakdownItemModelToJSON(value?: CasePaymentBreakdownItemModel | null): any;
|
|
40
|
+
/**
|
|
41
|
+
* @export
|
|
42
|
+
* @enum {string}
|
|
43
|
+
*/
|
|
44
|
+
export declare enum CasePaymentBreakdownItemModelTypeEnum {
|
|
45
|
+
ACCIDENTFEE = "ACCIDENT_FEE",
|
|
46
|
+
BASELEGALFEE = "BASE_LEGAL_FEE",
|
|
47
|
+
BONDFEE = "BOND_FEE",
|
|
48
|
+
BOOKINGFEE = "BOOKING_FEE",
|
|
49
|
+
CDLFEE = "CDL_FEE",
|
|
50
|
+
COURTFEE = "COURT_FEE",
|
|
51
|
+
DISPUTEFEE = "DISPUTE_FEE",
|
|
52
|
+
FINEPAYMENT = "FINE_PAYMENT",
|
|
53
|
+
FTAFEE = "FTA_FEE",
|
|
54
|
+
INITIALSUBSCRIPTIONFEE = "INITIAL_SUBSCRIPTION_FEE",
|
|
55
|
+
LATEFEE = "LATE_FEE",
|
|
56
|
+
MBGREFUND = "MBG_REFUND",
|
|
57
|
+
MVSFEE = "MVS_FEE",
|
|
58
|
+
OTHER = "OTHER",
|
|
59
|
+
OTRCREDIT = "OTR_CREDIT",
|
|
60
|
+
OTRSUBSCRIPTIONCREDIT = "OTR_SUBSCRIPTION_CREDIT",
|
|
61
|
+
PAYMENTPLANSERVICEFEE = "PAYMENT_PLAN_SERVICE_FEE",
|
|
62
|
+
WARRANTFEE = "WARRANT_FEE"
|
|
63
|
+
}
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
|
-
import { InvoiceLineItemModelFromJSON, InvoiceLineItemModelToJSON, } from './';
|
|
16
15
|
export function CasePaymentBreakdownItemModelFromJSON(json) {
|
|
17
16
|
return CasePaymentBreakdownItemModelFromJSONTyped(json, false);
|
|
18
17
|
}
|
|
@@ -23,7 +22,7 @@ export function CasePaymentBreakdownItemModelFromJSONTyped(json, ignoreDiscrimin
|
|
|
23
22
|
return {
|
|
24
23
|
'amount': !exists(json, 'amount') ? undefined : json['amount'],
|
|
25
24
|
'friendlyTitle': !exists(json, 'friendlyTitle') ? undefined : json['friendlyTitle'],
|
|
26
|
-
'type': !exists(json, 'type') ? undefined :
|
|
25
|
+
'type': !exists(json, 'type') ? undefined : json['type'],
|
|
27
26
|
};
|
|
28
27
|
}
|
|
29
28
|
export function CasePaymentBreakdownItemModelToJSON(value) {
|
|
@@ -36,6 +35,31 @@ export function CasePaymentBreakdownItemModelToJSON(value) {
|
|
|
36
35
|
return {
|
|
37
36
|
'amount': value.amount,
|
|
38
37
|
'friendlyTitle': value.friendlyTitle,
|
|
39
|
-
'type':
|
|
38
|
+
'type': value.type,
|
|
40
39
|
};
|
|
41
40
|
}
|
|
41
|
+
/**
|
|
42
|
+
* @export
|
|
43
|
+
* @enum {string}
|
|
44
|
+
*/
|
|
45
|
+
export var CasePaymentBreakdownItemModelTypeEnum;
|
|
46
|
+
(function (CasePaymentBreakdownItemModelTypeEnum) {
|
|
47
|
+
CasePaymentBreakdownItemModelTypeEnum["ACCIDENTFEE"] = "ACCIDENT_FEE";
|
|
48
|
+
CasePaymentBreakdownItemModelTypeEnum["BASELEGALFEE"] = "BASE_LEGAL_FEE";
|
|
49
|
+
CasePaymentBreakdownItemModelTypeEnum["BONDFEE"] = "BOND_FEE";
|
|
50
|
+
CasePaymentBreakdownItemModelTypeEnum["BOOKINGFEE"] = "BOOKING_FEE";
|
|
51
|
+
CasePaymentBreakdownItemModelTypeEnum["CDLFEE"] = "CDL_FEE";
|
|
52
|
+
CasePaymentBreakdownItemModelTypeEnum["COURTFEE"] = "COURT_FEE";
|
|
53
|
+
CasePaymentBreakdownItemModelTypeEnum["DISPUTEFEE"] = "DISPUTE_FEE";
|
|
54
|
+
CasePaymentBreakdownItemModelTypeEnum["FINEPAYMENT"] = "FINE_PAYMENT";
|
|
55
|
+
CasePaymentBreakdownItemModelTypeEnum["FTAFEE"] = "FTA_FEE";
|
|
56
|
+
CasePaymentBreakdownItemModelTypeEnum["INITIALSUBSCRIPTIONFEE"] = "INITIAL_SUBSCRIPTION_FEE";
|
|
57
|
+
CasePaymentBreakdownItemModelTypeEnum["LATEFEE"] = "LATE_FEE";
|
|
58
|
+
CasePaymentBreakdownItemModelTypeEnum["MBGREFUND"] = "MBG_REFUND";
|
|
59
|
+
CasePaymentBreakdownItemModelTypeEnum["MVSFEE"] = "MVS_FEE";
|
|
60
|
+
CasePaymentBreakdownItemModelTypeEnum["OTHER"] = "OTHER";
|
|
61
|
+
CasePaymentBreakdownItemModelTypeEnum["OTRCREDIT"] = "OTR_CREDIT";
|
|
62
|
+
CasePaymentBreakdownItemModelTypeEnum["OTRSUBSCRIPTIONCREDIT"] = "OTR_SUBSCRIPTION_CREDIT";
|
|
63
|
+
CasePaymentBreakdownItemModelTypeEnum["PAYMENTPLANSERVICEFEE"] = "PAYMENT_PLAN_SERVICE_FEE";
|
|
64
|
+
CasePaymentBreakdownItemModelTypeEnum["WARRANTFEE"] = "WARRANT_FEE";
|
|
65
|
+
})(CasePaymentBreakdownItemModelTypeEnum || (CasePaymentBreakdownItemModelTypeEnum = {}));
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { WorkflowLineItemModel } from './';
|
|
12
|
+
import { WorkflowFinancials, WorkflowLineItemModel } from './';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -22,6 +22,12 @@ export interface LegalServiceModel {
|
|
|
22
22
|
* @memberof LegalServiceModel
|
|
23
23
|
*/
|
|
24
24
|
chanceOfSuccess?: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {WorkflowFinancials}
|
|
28
|
+
* @memberof LegalServiceModel
|
|
29
|
+
*/
|
|
30
|
+
financials?: WorkflowFinancials;
|
|
25
31
|
/**
|
|
26
32
|
*
|
|
27
33
|
* @type {boolean}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
|
-
import { WorkflowLineItemModelFromJSON, WorkflowLineItemModelToJSON, } from './';
|
|
15
|
+
import { WorkflowFinancialsFromJSON, WorkflowFinancialsToJSON, WorkflowLineItemModelFromJSON, WorkflowLineItemModelToJSON, } from './';
|
|
16
16
|
export function LegalServiceModelFromJSON(json) {
|
|
17
17
|
return LegalServiceModelFromJSONTyped(json, false);
|
|
18
18
|
}
|
|
@@ -22,6 +22,7 @@ export function LegalServiceModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
22
22
|
}
|
|
23
23
|
return {
|
|
24
24
|
'chanceOfSuccess': !exists(json, 'chanceOfSuccess') ? undefined : json['chanceOfSuccess'],
|
|
25
|
+
'financials': !exists(json, 'financials') ? undefined : WorkflowFinancialsFromJSON(json['financials']),
|
|
25
26
|
'isSelected': !exists(json, 'isSelected') ? undefined : json['isSelected'],
|
|
26
27
|
'lawfirmCaseId': !exists(json, 'lawfirmCaseId') ? undefined : json['lawfirmCaseId'],
|
|
27
28
|
'lawfirmId': !exists(json, 'lawfirmId') ? undefined : json['lawfirmId'],
|
|
@@ -49,6 +50,7 @@ export function LegalServiceModelToJSON(value) {
|
|
|
49
50
|
}
|
|
50
51
|
return {
|
|
51
52
|
'chanceOfSuccess': value.chanceOfSuccess,
|
|
53
|
+
'financials': WorkflowFinancialsToJSON(value.financials),
|
|
52
54
|
'isSelected': value.isSelected,
|
|
53
55
|
'lawfirmCaseId': value.lawfirmCaseId,
|
|
54
56
|
'lawfirmId': value.lawfirmId,
|
|
@@ -0,0 +1,44 @@
|
|
|
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 SaveCasePaymentPlanRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface SaveCasePaymentPlanRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SaveCasePaymentPlanRequest
|
|
22
|
+
*/
|
|
23
|
+
interval?: SaveCasePaymentPlanRequestIntervalEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SaveCasePaymentPlanRequest
|
|
28
|
+
*/
|
|
29
|
+
productId?: string;
|
|
30
|
+
}
|
|
31
|
+
export declare function SaveCasePaymentPlanRequestFromJSON(json: any): SaveCasePaymentPlanRequest;
|
|
32
|
+
export declare function SaveCasePaymentPlanRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaveCasePaymentPlanRequest;
|
|
33
|
+
export declare function SaveCasePaymentPlanRequestToJSON(value?: SaveCasePaymentPlanRequest | null): any;
|
|
34
|
+
/**
|
|
35
|
+
* @export
|
|
36
|
+
* @enum {string}
|
|
37
|
+
*/
|
|
38
|
+
export declare enum SaveCasePaymentPlanRequestIntervalEnum {
|
|
39
|
+
DAILY = "DAILY",
|
|
40
|
+
MONTHLY = "MONTHLY",
|
|
41
|
+
QUARTERLY = "QUARTERLY",
|
|
42
|
+
WEEKLY = "WEEKLY",
|
|
43
|
+
YEARLY = "YEARLY"
|
|
44
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 SaveCasePaymentPlanRequestFromJSON(json) {
|
|
16
|
+
return SaveCasePaymentPlanRequestFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function SaveCasePaymentPlanRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
+
if ((json === undefined) || (json === null)) {
|
|
20
|
+
return json;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'interval': !exists(json, 'interval') ? undefined : json['interval'],
|
|
24
|
+
'productId': !exists(json, 'productId') ? undefined : json['productId'],
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export function SaveCasePaymentPlanRequestToJSON(value) {
|
|
28
|
+
if (value === undefined) {
|
|
29
|
+
return undefined;
|
|
30
|
+
}
|
|
31
|
+
if (value === null) {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'interval': value.interval,
|
|
36
|
+
'productId': value.productId,
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* @export
|
|
41
|
+
* @enum {string}
|
|
42
|
+
*/
|
|
43
|
+
export var SaveCasePaymentPlanRequestIntervalEnum;
|
|
44
|
+
(function (SaveCasePaymentPlanRequestIntervalEnum) {
|
|
45
|
+
SaveCasePaymentPlanRequestIntervalEnum["DAILY"] = "DAILY";
|
|
46
|
+
SaveCasePaymentPlanRequestIntervalEnum["MONTHLY"] = "MONTHLY";
|
|
47
|
+
SaveCasePaymentPlanRequestIntervalEnum["QUARTERLY"] = "QUARTERLY";
|
|
48
|
+
SaveCasePaymentPlanRequestIntervalEnum["WEEKLY"] = "WEEKLY";
|
|
49
|
+
SaveCasePaymentPlanRequestIntervalEnum["YEARLY"] = "YEARLY";
|
|
50
|
+
})(SaveCasePaymentPlanRequestIntervalEnum || (SaveCasePaymentPlanRequestIntervalEnum = {}));
|
|
@@ -0,0 +1,46 @@
|
|
|
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 { CasePaymentBreakdownItemModel } from './';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface WorkflowCasePaymentModel
|
|
17
|
+
*/
|
|
18
|
+
export interface WorkflowCasePaymentModel {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Date}
|
|
22
|
+
* @memberof WorkflowCasePaymentModel
|
|
23
|
+
*/
|
|
24
|
+
dueDate?: Date;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @memberof WorkflowCasePaymentModel
|
|
29
|
+
*/
|
|
30
|
+
dueNow?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof WorkflowCasePaymentModel
|
|
35
|
+
*/
|
|
36
|
+
feeAmount?: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Array<CasePaymentBreakdownItemModel>}
|
|
40
|
+
* @memberof WorkflowCasePaymentModel
|
|
41
|
+
*/
|
|
42
|
+
items?: Array<CasePaymentBreakdownItemModel>;
|
|
43
|
+
}
|
|
44
|
+
export declare function WorkflowCasePaymentModelFromJSON(json: any): WorkflowCasePaymentModel;
|
|
45
|
+
export declare function WorkflowCasePaymentModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkflowCasePaymentModel;
|
|
46
|
+
export declare function WorkflowCasePaymentModelToJSON(value?: WorkflowCasePaymentModel | null): any;
|