@otr-app/shared-backend-generated-client 2.4.87 → 2.4.88
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/api/casePaymentController.service.ts +5 -8
- package/dist/angular/model/casePaymentBreakdownItemModel.ts +2 -25
- package/dist/otrBackendService.js +0 -5
- package/dist/otrBackendService.min.js +6 -6
- package/dist/typescript/api/CasePaymentControllerApi.d.ts +2 -2
- package/dist/typescript/api/CasePaymentControllerApi.js +2 -6
- package/dist/typescript/model/CasePaymentBreakdownItemModel.d.ts +2 -23
- package/dist/typescript/model/CasePaymentBreakdownItemModel.js +1 -24
- package/dist/typescript-fetch/apis/CasePaymentControllerApi.d.ts +1 -1
- package/dist/typescript-fetch/apis/CasePaymentControllerApi.js +0 -3
- package/dist/typescript-fetch/models/CasePaymentBreakdownItemModel.d.ts +3 -26
- package/dist/typescript-fetch/models/CasePaymentBreakdownItemModel.js +3 -27
- package/package.json +1 -1
|
@@ -68,11 +68,11 @@ export declare class CasePaymentControllerApi {
|
|
|
68
68
|
*
|
|
69
69
|
* @summary getPaymentPlanOptions
|
|
70
70
|
* @param caseId caseId
|
|
71
|
-
* @param feeInCents feeInCents
|
|
72
71
|
* @param lawfirmId lawfirmId
|
|
72
|
+
* @param feeInCents feeInCents
|
|
73
73
|
* @param userId userId
|
|
74
74
|
*/
|
|
75
|
-
getPaymentPlanOptionsUsingGET(caseId: string,
|
|
75
|
+
getPaymentPlanOptionsUsingGET(caseId: string, lawfirmId: number, feeInCents?: number, userId?: number, extraHttpRequestParams?: any): ng.IHttpPromise<models.GetAvailablePaymentPlansResponse>;
|
|
76
76
|
/**
|
|
77
77
|
*
|
|
78
78
|
* @summary getStripeCharge
|
|
@@ -226,11 +226,11 @@ export class CasePaymentControllerApi {
|
|
|
226
226
|
*
|
|
227
227
|
* @summary getPaymentPlanOptions
|
|
228
228
|
* @param caseId caseId
|
|
229
|
-
* @param feeInCents feeInCents
|
|
230
229
|
* @param lawfirmId lawfirmId
|
|
230
|
+
* @param feeInCents feeInCents
|
|
231
231
|
* @param userId userId
|
|
232
232
|
*/
|
|
233
|
-
getPaymentPlanOptionsUsingGET(caseId,
|
|
233
|
+
getPaymentPlanOptionsUsingGET(caseId, lawfirmId, feeInCents, userId, extraHttpRequestParams) {
|
|
234
234
|
const localVarPath = this.basePath + '/api/v1/cases/{caseId}/payment-plans'
|
|
235
235
|
.replace('{' + 'caseId' + '}', encodeURIComponent(String(caseId)));
|
|
236
236
|
let queryParameters = {};
|
|
@@ -239,10 +239,6 @@ export class CasePaymentControllerApi {
|
|
|
239
239
|
if (caseId === null || caseId === undefined) {
|
|
240
240
|
throw new Error('Required parameter caseId was null or undefined when calling getPaymentPlanOptionsUsingGET.');
|
|
241
241
|
}
|
|
242
|
-
// verify required parameter 'feeInCents' is not null or undefined
|
|
243
|
-
if (feeInCents === null || feeInCents === undefined) {
|
|
244
|
-
throw new Error('Required parameter feeInCents was null or undefined when calling getPaymentPlanOptionsUsingGET.');
|
|
245
|
-
}
|
|
246
242
|
// verify required parameter 'lawfirmId' is not null or undefined
|
|
247
243
|
if (lawfirmId === null || lawfirmId === undefined) {
|
|
248
244
|
throw new Error('Required parameter lawfirmId was null or undefined when calling getPaymentPlanOptionsUsingGET.');
|
|
@@ -9,30 +9,9 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import * as models from './models';
|
|
12
13
|
export interface CasePaymentBreakdownItemModel {
|
|
13
14
|
"amount"?: number;
|
|
14
15
|
"friendlyTitle"?: string;
|
|
15
|
-
"type"?:
|
|
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
|
-
}
|
|
16
|
+
"type"?: models.InvoiceLineItemModel;
|
|
38
17
|
}
|
|
@@ -9,27 +9,4 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
export
|
|
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 = {}));
|
|
12
|
+
export {};
|
|
@@ -41,8 +41,8 @@ export interface GetCasePaymentsUsingGETRequest {
|
|
|
41
41
|
}
|
|
42
42
|
export interface GetPaymentPlanOptionsUsingGETRequest {
|
|
43
43
|
caseId: string;
|
|
44
|
-
feeInCents: number;
|
|
45
44
|
lawfirmId: number;
|
|
45
|
+
feeInCents?: number;
|
|
46
46
|
userId?: number;
|
|
47
47
|
}
|
|
48
48
|
export interface GetStripeChargeUsingGETRequest {
|
|
@@ -235,9 +235,6 @@ export class CasePaymentControllerApi extends runtime.BaseAPI {
|
|
|
235
235
|
if (requestParameters.caseId === null || requestParameters.caseId === undefined) {
|
|
236
236
|
throw new runtime.RequiredError('caseId', 'Required parameter requestParameters.caseId was null or undefined when calling getPaymentPlanOptionsUsingGET.');
|
|
237
237
|
}
|
|
238
|
-
if (requestParameters.feeInCents === null || requestParameters.feeInCents === undefined) {
|
|
239
|
-
throw new runtime.RequiredError('feeInCents', 'Required parameter requestParameters.feeInCents was null or undefined when calling getPaymentPlanOptionsUsingGET.');
|
|
240
|
-
}
|
|
241
238
|
if (requestParameters.lawfirmId === null || requestParameters.lawfirmId === undefined) {
|
|
242
239
|
throw new runtime.RequiredError('lawfirmId', 'Required parameter requestParameters.lawfirmId was null or undefined when calling getPaymentPlanOptionsUsingGET.');
|
|
243
240
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { InvoiceLineItemModel } from './';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -29,35 +30,11 @@ export interface CasePaymentBreakdownItemModel {
|
|
|
29
30
|
friendlyTitle?: string;
|
|
30
31
|
/**
|
|
31
32
|
*
|
|
32
|
-
* @type {
|
|
33
|
+
* @type {InvoiceLineItemModel}
|
|
33
34
|
* @memberof CasePaymentBreakdownItemModel
|
|
34
35
|
*/
|
|
35
|
-
type?:
|
|
36
|
+
type?: InvoiceLineItemModel;
|
|
36
37
|
}
|
|
37
38
|
export declare function CasePaymentBreakdownItemModelFromJSON(json: any): CasePaymentBreakdownItemModel;
|
|
38
39
|
export declare function CasePaymentBreakdownItemModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): CasePaymentBreakdownItemModel;
|
|
39
40
|
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,6 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
|
+
import { InvoiceLineItemModelFromJSON, InvoiceLineItemModelToJSON, } from './';
|
|
15
16
|
export function CasePaymentBreakdownItemModelFromJSON(json) {
|
|
16
17
|
return CasePaymentBreakdownItemModelFromJSONTyped(json, false);
|
|
17
18
|
}
|
|
@@ -22,7 +23,7 @@ export function CasePaymentBreakdownItemModelFromJSONTyped(json, ignoreDiscrimin
|
|
|
22
23
|
return {
|
|
23
24
|
'amount': !exists(json, 'amount') ? undefined : json['amount'],
|
|
24
25
|
'friendlyTitle': !exists(json, 'friendlyTitle') ? undefined : json['friendlyTitle'],
|
|
25
|
-
'type': !exists(json, 'type') ? undefined : json['type'],
|
|
26
|
+
'type': !exists(json, 'type') ? undefined : InvoiceLineItemModelFromJSON(json['type']),
|
|
26
27
|
};
|
|
27
28
|
}
|
|
28
29
|
export function CasePaymentBreakdownItemModelToJSON(value) {
|
|
@@ -35,31 +36,6 @@ export function CasePaymentBreakdownItemModelToJSON(value) {
|
|
|
35
36
|
return {
|
|
36
37
|
'amount': value.amount,
|
|
37
38
|
'friendlyTitle': value.friendlyTitle,
|
|
38
|
-
'type': value.type,
|
|
39
|
+
'type': InvoiceLineItemModelToJSON(value.type),
|
|
39
40
|
};
|
|
40
41
|
}
|
|
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 = {}));
|