@otr-app/shared-backend-generated-client 2.4.83 → 2.4.85

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.
Files changed (39) hide show
  1. package/dist/angular/.openapi-generator/FILES +3 -1
  2. package/dist/angular/api/casePaymentController.service.ts +9 -9
  3. package/dist/angular/model/casePaymentBreakdownItemModel.ts +25 -2
  4. package/dist/angular/model/legalServiceModel.ts +2 -0
  5. package/dist/angular/model/models.ts +3 -1
  6. package/dist/angular/model/saveCasePlanRequest.ts +29 -0
  7. package/dist/angular/model/workflowCasePaymentModel.ts +21 -0
  8. package/dist/angular/model/workflowFinancials.ts +23 -0
  9. package/dist/otrBackendService.js +3 -3
  10. package/dist/otrBackendService.min.js +1 -1
  11. package/dist/typescript/api/CasePaymentControllerApi.d.ts +2 -2
  12. package/dist/typescript/api/CasePaymentControllerApi.js +5 -5
  13. package/dist/typescript/model/CasePaymentBreakdownItemModel.d.ts +23 -2
  14. package/dist/typescript/model/CasePaymentBreakdownItemModel.js +24 -1
  15. package/dist/typescript/model/LegalServiceModel.d.ts +1 -0
  16. package/dist/typescript/model/SaveCasePlanRequest.d.ts +24 -0
  17. package/dist/typescript/model/SaveCasePlanRequest.js +22 -0
  18. package/dist/typescript/model/WorkflowCasePaymentModel.d.ts +18 -0
  19. package/dist/typescript/model/WorkflowCasePaymentModel.js +12 -0
  20. package/dist/typescript/model/WorkflowFinancials.d.ts +19 -0
  21. package/dist/typescript/model/WorkflowFinancials.js +12 -0
  22. package/dist/typescript/model/models.d.ts +3 -1
  23. package/dist/typescript/model/models.js +3 -1
  24. package/dist/typescript-fetch/apis/CasePaymentControllerApi.d.ts +7 -7
  25. package/dist/typescript-fetch/apis/CasePaymentControllerApi.js +10 -10
  26. package/dist/typescript-fetch/models/CasePaymentBreakdownItemModel.d.ts +26 -3
  27. package/dist/typescript-fetch/models/CasePaymentBreakdownItemModel.js +27 -3
  28. package/dist/typescript-fetch/models/LegalServiceModel.d.ts +7 -1
  29. package/dist/typescript-fetch/models/LegalServiceModel.js +3 -1
  30. package/dist/typescript-fetch/models/SaveCasePlanRequest.d.ts +44 -0
  31. package/dist/typescript-fetch/models/{SaveCasePaymentPlanRequest.js → SaveCasePlanRequest.js} +12 -12
  32. package/dist/typescript-fetch/models/WorkflowCasePaymentModel.d.ts +46 -0
  33. package/dist/typescript-fetch/models/WorkflowCasePaymentModel.js +43 -0
  34. package/dist/typescript-fetch/models/WorkflowFinancials.d.ts +52 -0
  35. package/dist/typescript-fetch/models/WorkflowFinancials.js +45 -0
  36. package/dist/typescript-fetch/models/index.d.ts +3 -1
  37. package/dist/typescript-fetch/models/index.js +3 -1
  38. package/package.json +1 -1
  39. package/dist/typescript-fetch/models/SaveCasePaymentPlanRequest.d.ts +0 -44
@@ -733,7 +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
+ model/saveCasePlanRequest.ts
737
737
  model/saveCaseUserRequest.ts
738
738
  model/saveCoachingCardRequest.ts
739
739
  model/saveCoachingCardUserRequest.ts
@@ -948,7 +948,9 @@ model/violationPenaltyResponse.ts
948
948
  model/violationResponse.ts
949
949
  model/watchlistItemsModel.ts
950
950
  model/workflowCaseModel.ts
951
+ model/workflowCasePaymentModel.ts
951
952
  model/workflowCitationModel.ts
953
+ model/workflowFinancials.ts
952
954
  model/workflowLineItemModel.ts
953
955
  model/workflowViolationModel.ts
954
956
  model/workflowViolationPenaltyModel.ts
@@ -35,7 +35,7 @@ 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';
38
+ import { SaveCasePlanRequest } from '../model/saveCasePlanRequest';
39
39
  // @ts-ignore
40
40
  import { ScheduleNewPaymentRequest } from '../model/scheduleNewPaymentRequest';
41
41
  // @ts-ignore
@@ -806,25 +806,25 @@ export class CasePaymentControllerService {
806
806
  }
807
807
 
808
808
  /**
809
- * saveCasePaymentPlan
809
+ * saveCasePlan
810
810
  * @param caseId caseId
811
811
  * @param paymentPlanTypeId paymentPlanTypeId
812
812
  * @param request request
813
813
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
814
814
  * @param reportProgress flag to report request and response progress.
815
815
  */
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> {
816
+ public saveCasePlanUsingPOST(caseId: string, paymentPlanTypeId: string, request: SaveCasePlanRequest, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<any>;
817
+ public saveCasePlanUsingPOST(caseId: string, paymentPlanTypeId: string, request: SaveCasePlanRequest, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<HttpResponse<any>>;
818
+ public saveCasePlanUsingPOST(caseId: string, paymentPlanTypeId: string, request: SaveCasePlanRequest, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<HttpEvent<any>>;
819
+ public saveCasePlanUsingPOST(caseId: string, paymentPlanTypeId: string, request: SaveCasePlanRequest, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<any> {
820
820
  if (caseId === null || caseId === undefined) {
821
- throw new Error('Required parameter caseId was null or undefined when calling saveCasePaymentPlanUsingPOST.');
821
+ throw new Error('Required parameter caseId was null or undefined when calling saveCasePlanUsingPOST.');
822
822
  }
823
823
  if (paymentPlanTypeId === null || paymentPlanTypeId === undefined) {
824
- throw new Error('Required parameter paymentPlanTypeId was null or undefined when calling saveCasePaymentPlanUsingPOST.');
824
+ throw new Error('Required parameter paymentPlanTypeId was null or undefined when calling saveCasePlanUsingPOST.');
825
825
  }
826
826
  if (request === null || request === undefined) {
827
- throw new Error('Required parameter request was null or undefined when calling saveCasePaymentPlanUsingPOST.');
827
+ throw new Error('Required parameter request was null or undefined when calling saveCasePlanUsingPOST.');
828
828
  }
829
829
 
830
830
  let localVarHeaders = this.defaultHeaders;
@@ -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?: InvoiceLineItemModel;
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,7 +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
+ export * from './saveCasePlanRequest';
612
612
  export * from './saveCaseUserRequest';
613
613
  export * from './saveCoachingCardRequest';
614
614
  export * from './saveCoachingCardUserRequest';
@@ -823,7 +823,9 @@ export * from './violationPenaltyResponse';
823
823
  export * from './violationResponse';
824
824
  export * from './watchlistItemsModel';
825
825
  export * from './workflowCaseModel';
826
+ export * from './workflowCasePaymentModel';
826
827
  export * from './workflowCitationModel';
828
+ export * from './workflowFinancials';
827
829
  export * from './workflowLineItemModel';
828
830
  export * from './workflowViolationModel';
829
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 SaveCasePlanRequest {
15
+ interval?: SaveCasePlanRequest.IntervalEnum;
16
+ productId?: string;
17
+ }
18
+ export namespace SaveCasePlanRequest {
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
+
@@ -3136,15 +3136,15 @@ angular.module('otrBackendService', [])
3136
3136
  return deferred.promise;
3137
3137
  };
3138
3138
  /**
3139
- * saveCasePaymentPlan
3139
+ * saveCasePlan
3140
3140
  * @method
3141
- * @name OtrService#saveCasePaymentPlanUsingPOST
3141
+ * @name OtrService#saveCasePlanUsingPOST
3142
3142
  * @param {object} parameters - method options and parameters
3143
3143
  * @param {string} parameters.caseId - caseId
3144
3144
  * @param {string} parameters.paymentPlanTypeId - paymentPlanTypeId
3145
3145
  * @param {} parameters.request - request
3146
3146
  */
3147
- OtrService.prototype.saveCasePaymentPlanUsingPOST = function(parameters) {
3147
+ OtrService.prototype.saveCasePlanUsingPOST = function(parameters) {
3148
3148
  if (parameters === undefined) {
3149
3149
  parameters = {};
3150
3150
  }