@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
|
@@ -733,6 +733,7 @@ model/sSLCertificateResponse.ts
|
|
|
733
733
|
model/saveAgentBookingRequest.ts
|
|
734
734
|
model/saveAgentBookingResponse.ts
|
|
735
735
|
model/saveCaseNotesRequest.ts
|
|
736
|
+
model/saveCasePaymentPlanRequest.ts
|
|
736
737
|
model/saveCaseUserRequest.ts
|
|
737
738
|
model/saveCoachingCardRequest.ts
|
|
738
739
|
model/saveCoachingCardUserRequest.ts
|
|
@@ -947,7 +948,9 @@ model/violationPenaltyResponse.ts
|
|
|
947
948
|
model/violationResponse.ts
|
|
948
949
|
model/watchlistItemsModel.ts
|
|
949
950
|
model/workflowCaseModel.ts
|
|
951
|
+
model/workflowCasePaymentModel.ts
|
|
950
952
|
model/workflowCitationModel.ts
|
|
953
|
+
model/workflowFinancials.ts
|
|
951
954
|
model/workflowLineItemModel.ts
|
|
952
955
|
model/workflowViolationModel.ts
|
|
953
956
|
model/workflowViolationPenaltyModel.ts
|
|
@@ -35,6 +35,8 @@ import { GetStripeChargesResponse } from '../model/getStripeChargesResponse';
|
|
|
35
35
|
// @ts-ignore
|
|
36
36
|
import { ListCostItemsForCustomerResponse } from '../model/listCostItemsForCustomerResponse';
|
|
37
37
|
// @ts-ignore
|
|
38
|
+
import { SaveCasePaymentPlanRequest } from '../model/saveCasePaymentPlanRequest';
|
|
39
|
+
// @ts-ignore
|
|
38
40
|
import { ScheduleNewPaymentRequest } from '../model/scheduleNewPaymentRequest';
|
|
39
41
|
// @ts-ignore
|
|
40
42
|
import { UpdateCasePaymentRequest } from '../model/updateCasePaymentRequest';
|
|
@@ -807,30 +809,22 @@ export class CasePaymentControllerService {
|
|
|
807
809
|
* saveCasePaymentPlan
|
|
808
810
|
* @param caseId caseId
|
|
809
811
|
* @param paymentPlanTypeId paymentPlanTypeId
|
|
810
|
-
* @param
|
|
811
|
-
* @param productId productId
|
|
812
|
+
* @param request request
|
|
812
813
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
813
814
|
* @param reportProgress flag to report request and response progress.
|
|
814
815
|
*/
|
|
815
|
-
public saveCasePaymentPlanUsingPOST(caseId: string, paymentPlanTypeId: string,
|
|
816
|
-
public saveCasePaymentPlanUsingPOST(caseId: string, paymentPlanTypeId: string,
|
|
817
|
-
public saveCasePaymentPlanUsingPOST(caseId: string, paymentPlanTypeId: string,
|
|
818
|
-
public saveCasePaymentPlanUsingPOST(caseId: string, paymentPlanTypeId: string,
|
|
816
|
+
public saveCasePaymentPlanUsingPOST(caseId: string, paymentPlanTypeId: string, request: SaveCasePaymentPlanRequest, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<any>;
|
|
817
|
+
public saveCasePaymentPlanUsingPOST(caseId: string, paymentPlanTypeId: string, request: SaveCasePaymentPlanRequest, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<HttpResponse<any>>;
|
|
818
|
+
public saveCasePaymentPlanUsingPOST(caseId: string, paymentPlanTypeId: string, request: SaveCasePaymentPlanRequest, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<HttpEvent<any>>;
|
|
819
|
+
public saveCasePaymentPlanUsingPOST(caseId: string, paymentPlanTypeId: string, request: SaveCasePaymentPlanRequest, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<any> {
|
|
819
820
|
if (caseId === null || caseId === undefined) {
|
|
820
821
|
throw new Error('Required parameter caseId was null or undefined when calling saveCasePaymentPlanUsingPOST.');
|
|
821
822
|
}
|
|
822
823
|
if (paymentPlanTypeId === null || paymentPlanTypeId === undefined) {
|
|
823
824
|
throw new Error('Required parameter paymentPlanTypeId was null or undefined when calling saveCasePaymentPlanUsingPOST.');
|
|
824
825
|
}
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
if (period !== undefined && period !== null) {
|
|
828
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
|
829
|
-
<any>period, 'period');
|
|
830
|
-
}
|
|
831
|
-
if (productId !== undefined && productId !== null) {
|
|
832
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
|
|
833
|
-
<any>productId, 'productId');
|
|
826
|
+
if (request === null || request === undefined) {
|
|
827
|
+
throw new Error('Required parameter request was null or undefined when calling saveCasePaymentPlanUsingPOST.');
|
|
834
828
|
}
|
|
835
829
|
|
|
836
830
|
let localVarHeaders = this.defaultHeaders;
|
|
@@ -852,6 +846,15 @@ export class CasePaymentControllerService {
|
|
|
852
846
|
}
|
|
853
847
|
|
|
854
848
|
|
|
849
|
+
// to determine the Content-Type header
|
|
850
|
+
const consumes: string[] = [
|
|
851
|
+
'application/json'
|
|
852
|
+
];
|
|
853
|
+
const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
|
|
854
|
+
if (httpContentTypeSelected !== undefined) {
|
|
855
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
856
|
+
}
|
|
857
|
+
|
|
855
858
|
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
856
859
|
if (localVarHttpHeaderAcceptSelected) {
|
|
857
860
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -867,7 +870,7 @@ export class CasePaymentControllerService {
|
|
|
867
870
|
return this.httpClient.request<any>('post', `${this.configuration.basePath}${localVarPath}`,
|
|
868
871
|
{
|
|
869
872
|
context: localVarHttpContext,
|
|
870
|
-
|
|
873
|
+
body: request,
|
|
871
874
|
responseType: <any>responseType_,
|
|
872
875
|
withCredentials: this.configuration.withCredentials,
|
|
873
876
|
headers: localVarHeaders,
|
|
@@ -9,12 +9,35 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { InvoiceLineItemModel } from './invoiceLineItemModel';
|
|
13
12
|
|
|
14
13
|
|
|
15
14
|
export interface CasePaymentBreakdownItemModel {
|
|
16
15
|
amount?: number;
|
|
17
16
|
friendlyTitle?: string;
|
|
18
|
-
type?:
|
|
17
|
+
type?: CasePaymentBreakdownItemModel.TypeEnum;
|
|
19
18
|
}
|
|
19
|
+
export namespace CasePaymentBreakdownItemModel {
|
|
20
|
+
export type TypeEnum = 'ACCIDENT_FEE' | 'BASE_LEGAL_FEE' | 'BOND_FEE' | 'BOOKING_FEE' | 'CDL_FEE' | 'COURT_FEE' | 'DISPUTE_FEE' | 'FINE_PAYMENT' | 'FTA_FEE' | 'INITIAL_SUBSCRIPTION_FEE' | 'LATE_FEE' | 'MBG_REFUND' | 'MVS_FEE' | 'OTHER' | 'OTR_CREDIT' | 'OTR_SUBSCRIPTION_CREDIT' | 'PAYMENT_PLAN_SERVICE_FEE' | 'WARRANT_FEE';
|
|
21
|
+
export const TypeEnum = {
|
|
22
|
+
AccidentFee: 'ACCIDENT_FEE' as TypeEnum,
|
|
23
|
+
BaseLegalFee: 'BASE_LEGAL_FEE' as TypeEnum,
|
|
24
|
+
BondFee: 'BOND_FEE' as TypeEnum,
|
|
25
|
+
BookingFee: 'BOOKING_FEE' as TypeEnum,
|
|
26
|
+
CdlFee: 'CDL_FEE' as TypeEnum,
|
|
27
|
+
CourtFee: 'COURT_FEE' as TypeEnum,
|
|
28
|
+
DisputeFee: 'DISPUTE_FEE' as TypeEnum,
|
|
29
|
+
FinePayment: 'FINE_PAYMENT' as TypeEnum,
|
|
30
|
+
FtaFee: 'FTA_FEE' as TypeEnum,
|
|
31
|
+
InitialSubscriptionFee: 'INITIAL_SUBSCRIPTION_FEE' as TypeEnum,
|
|
32
|
+
LateFee: 'LATE_FEE' as TypeEnum,
|
|
33
|
+
MbgRefund: 'MBG_REFUND' as TypeEnum,
|
|
34
|
+
MvsFee: 'MVS_FEE' as TypeEnum,
|
|
35
|
+
Other: 'OTHER' as TypeEnum,
|
|
36
|
+
OtrCredit: 'OTR_CREDIT' as TypeEnum,
|
|
37
|
+
OtrSubscriptionCredit: 'OTR_SUBSCRIPTION_CREDIT' as TypeEnum,
|
|
38
|
+
PaymentPlanServiceFee: 'PAYMENT_PLAN_SERVICE_FEE' as TypeEnum,
|
|
39
|
+
WarrantFee: 'WARRANT_FEE' as TypeEnum
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
20
43
|
|
|
@@ -9,11 +9,13 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { WorkflowFinancials } from './workflowFinancials';
|
|
12
13
|
import { WorkflowLineItemModel } from './workflowLineItemModel';
|
|
13
14
|
|
|
14
15
|
|
|
15
16
|
export interface LegalServiceModel {
|
|
16
17
|
chanceOfSuccess?: number;
|
|
18
|
+
financials?: WorkflowFinancials;
|
|
17
19
|
isSelected?: boolean;
|
|
18
20
|
lawfirmCaseId?: number;
|
|
19
21
|
lawfirmId?: number;
|
|
@@ -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';
|
|
@@ -0,0 +1,29 @@
|
|
|
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 interface SaveCasePaymentPlanRequest {
|
|
15
|
+
interval?: SaveCasePaymentPlanRequest.IntervalEnum;
|
|
16
|
+
productId?: string;
|
|
17
|
+
}
|
|
18
|
+
export namespace SaveCasePaymentPlanRequest {
|
|
19
|
+
export type IntervalEnum = 'DAILY' | 'MONTHLY' | 'QUARTERLY' | 'WEEKLY' | 'YEARLY';
|
|
20
|
+
export const IntervalEnum = {
|
|
21
|
+
Daily: 'DAILY' as IntervalEnum,
|
|
22
|
+
Monthly: 'MONTHLY' as IntervalEnum,
|
|
23
|
+
Quarterly: 'QUARTERLY' as IntervalEnum,
|
|
24
|
+
Weekly: 'WEEKLY' as IntervalEnum,
|
|
25
|
+
Yearly: 'YEARLY' as IntervalEnum
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
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 './casePaymentBreakdownItemModel';
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
export interface WorkflowCasePaymentModel {
|
|
16
|
+
dueDate?: string;
|
|
17
|
+
dueNow?: boolean;
|
|
18
|
+
feeAmount?: number;
|
|
19
|
+
items?: Array<CasePaymentBreakdownItemModel>;
|
|
20
|
+
}
|
|
21
|
+
|
|
@@ -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
|
+
import { WorkflowCasePaymentModel } from './workflowCasePaymentModel';
|
|
13
|
+
import { WorkflowLineItemModel } from './workflowLineItemModel';
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
export interface WorkflowFinancials {
|
|
17
|
+
lineItems?: Array<WorkflowLineItemModel>;
|
|
18
|
+
payments?: Array<WorkflowCasePaymentModel>;
|
|
19
|
+
totalClientBaseCostInCents?: number;
|
|
20
|
+
totalClientCostInCents?: number;
|
|
21
|
+
totalRefCodeAdjustmentInCents?: number;
|
|
22
|
+
}
|
|
23
|
+
|
|
@@ -3142,8 +3142,7 @@ angular.module('otrBackendService', [])
|
|
|
3142
3142
|
* @param {object} parameters - method options and parameters
|
|
3143
3143
|
* @param {string} parameters.caseId - caseId
|
|
3144
3144
|
* @param {string} parameters.paymentPlanTypeId - paymentPlanTypeId
|
|
3145
|
-
* @param {
|
|
3146
|
-
* @param {string} parameters.productId - productId
|
|
3145
|
+
* @param {} parameters.request - request
|
|
3147
3146
|
*/
|
|
3148
3147
|
OtrService.prototype.saveCasePaymentPlanUsingPOST = function(parameters) {
|
|
3149
3148
|
if (parameters === undefined) {
|
|
@@ -3174,12 +3173,13 @@ angular.module('otrBackendService', [])
|
|
|
3174
3173
|
return deferred.promise;
|
|
3175
3174
|
}
|
|
3176
3175
|
|
|
3177
|
-
if (parameters['
|
|
3178
|
-
|
|
3176
|
+
if (parameters['request'] !== undefined) {
|
|
3177
|
+
body = parameters['request'];
|
|
3179
3178
|
}
|
|
3180
3179
|
|
|
3181
|
-
if (parameters['
|
|
3182
|
-
|
|
3180
|
+
if (parameters['request'] === undefined) {
|
|
3181
|
+
deferred.reject(new Error('Missing required parameter: request'));
|
|
3182
|
+
return deferred.promise;
|
|
3183
3183
|
}
|
|
3184
3184
|
|
|
3185
3185
|
queryParameters = mergeQueryParams(parameters, queryParameters);
|