@otr-app/shared-backend-generated-client 2.4.86 → 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.
@@ -533,22 +533,19 @@ export class CasePaymentControllerService {
533
533
  /**
534
534
  * getPaymentPlanOptions
535
535
  * @param caseId caseId
536
- * @param feeInCents feeInCents
537
536
  * @param lawfirmId lawfirmId
537
+ * @param feeInCents feeInCents
538
538
  * @param userId userId
539
539
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
540
540
  * @param reportProgress flag to report request and response progress.
541
541
  */
542
- public getPaymentPlanOptionsUsingGET(caseId: string, feeInCents: number, lawfirmId: number, userId?: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<GetAvailablePaymentPlansResponse>;
543
- public getPaymentPlanOptionsUsingGET(caseId: string, feeInCents: number, lawfirmId: number, userId?: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<GetAvailablePaymentPlansResponse>>;
544
- public getPaymentPlanOptionsUsingGET(caseId: string, feeInCents: number, lawfirmId: number, userId?: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<GetAvailablePaymentPlansResponse>>;
545
- public getPaymentPlanOptionsUsingGET(caseId: string, feeInCents: number, lawfirmId: number, userId?: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
542
+ public getPaymentPlanOptionsUsingGET(caseId: string, lawfirmId: number, feeInCents?: number, userId?: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<GetAvailablePaymentPlansResponse>;
543
+ public getPaymentPlanOptionsUsingGET(caseId: string, lawfirmId: number, feeInCents?: number, userId?: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<GetAvailablePaymentPlansResponse>>;
544
+ public getPaymentPlanOptionsUsingGET(caseId: string, lawfirmId: number, feeInCents?: number, userId?: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<GetAvailablePaymentPlansResponse>>;
545
+ public getPaymentPlanOptionsUsingGET(caseId: string, lawfirmId: number, feeInCents?: number, userId?: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
546
546
  if (caseId === null || caseId === undefined) {
547
547
  throw new Error('Required parameter caseId was null or undefined when calling getPaymentPlanOptionsUsingGET.');
548
548
  }
549
- if (feeInCents === null || feeInCents === undefined) {
550
- throw new Error('Required parameter feeInCents was null or undefined when calling getPaymentPlanOptionsUsingGET.');
551
- }
552
549
  if (lawfirmId === null || lawfirmId === undefined) {
553
550
  throw new Error('Required parameter lawfirmId was null or undefined when calling getPaymentPlanOptionsUsingGET.');
554
551
  }
@@ -9,35 +9,12 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { InvoiceLineItemModel } from './invoiceLineItemModel';
12
13
 
13
14
 
14
15
  export interface CasePaymentBreakdownItemModel {
15
16
  amount?: number;
16
17
  friendlyTitle?: string;
17
- type?: CasePaymentBreakdownItemModel.TypeEnum;
18
+ type?: InvoiceLineItemModel;
18
19
  }
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
-
43
20
 
@@ -14,6 +14,7 @@ import { WorkflowLineItemModel } from './workflowLineItemModel';
14
14
 
15
15
 
16
16
  export interface LegalServiceModel {
17
+ algoName?: string;
17
18
  chanceOfSuccess?: number;
18
19
  financials?: WorkflowFinancials;
19
20
  isSelected?: boolean;
@@ -27,6 +28,7 @@ export interface LegalServiceModel {
27
28
  lineItems?: Array<WorkflowLineItemModel>;
28
29
  matchExpirationDateUtc?: string;
29
30
  obfuscatedPictureUrl?: string;
31
+ predeterminedLawfirmName?: string;
30
32
  profilePictureUrl?: string;
31
33
  refundEligibility?: LegalServiceModel.RefundEligibilityEnum;
32
34
  refundMessage?: string;
@@ -3112,11 +3112,6 @@ angular.module('otrBackendService', [])
3112
3112
  queryParameters['feeInCents'] = parameters['feeInCents'];
3113
3113
  }
3114
3114
 
3115
- if (parameters['feeInCents'] === undefined) {
3116
- deferred.reject(new Error('Missing required parameter: feeInCents'));
3117
- return deferred.promise;
3118
- }
3119
-
3120
3115
  if (parameters['lawfirmId'] !== undefined) {
3121
3116
  queryParameters['lawfirmId'] = parameters['lawfirmId'];
3122
3117
  }