@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
@@ -358,12 +358,12 @@ export class CasePaymentControllerApi {
358
358
  }
359
359
  /**
360
360
  *
361
- * @summary saveCasePaymentPlan
361
+ * @summary saveCasePlan
362
362
  * @param caseId caseId
363
363
  * @param paymentPlanTypeId paymentPlanTypeId
364
364
  * @param request request
365
365
  */
366
- saveCasePaymentPlanUsingPOST(caseId, paymentPlanTypeId, request, extraHttpRequestParams) {
366
+ saveCasePlanUsingPOST(caseId, paymentPlanTypeId, request, extraHttpRequestParams) {
367
367
  const localVarPath = this.basePath + '/api/v1/cases/{caseId}/payment-plans/{paymentPlanTypeId}'
368
368
  .replace('{' + 'caseId' + '}', encodeURIComponent(String(caseId)))
369
369
  .replace('{' + 'paymentPlanTypeId' + '}', encodeURIComponent(String(paymentPlanTypeId)));
@@ -371,15 +371,15 @@ export class CasePaymentControllerApi {
371
371
  let headerParams = Object.assign({}, this.defaultHeaders);
372
372
  // verify required parameter 'caseId' is not null or undefined
373
373
  if (caseId === null || caseId === undefined) {
374
- throw new Error('Required parameter caseId was null or undefined when calling saveCasePaymentPlanUsingPOST.');
374
+ throw new Error('Required parameter caseId was null or undefined when calling saveCasePlanUsingPOST.');
375
375
  }
376
376
  // verify required parameter 'paymentPlanTypeId' is not null or undefined
377
377
  if (paymentPlanTypeId === null || paymentPlanTypeId === undefined) {
378
- throw new Error('Required parameter paymentPlanTypeId was null or undefined when calling saveCasePaymentPlanUsingPOST.');
378
+ throw new Error('Required parameter paymentPlanTypeId was null or undefined when calling saveCasePlanUsingPOST.');
379
379
  }
380
380
  // verify required parameter 'request' is not null or undefined
381
381
  if (request === null || request === undefined) {
382
- throw new Error('Required parameter request was null or undefined when calling saveCasePaymentPlanUsingPOST.');
382
+ throw new Error('Required parameter request was null or undefined when calling saveCasePlanUsingPOST.');
383
383
  }
384
384
  let httpRequestParams = {
385
385
  method: 'POST',
@@ -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"?: models.InvoiceLineItemModel;
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 = {}));
@@ -12,6 +12,7 @@
12
12
  import * as models from './models';
13
13
  export interface LegalServiceModel {
14
14
  "chanceOfSuccess"?: number;
15
+ "financials"?: models.WorkflowFinancials;
15
16
  "isSelected"?: boolean;
16
17
  "lawfirmCaseId"?: number;
17
18
  "lawfirmId"?: number;
@@ -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 SaveCasePlanRequest {
13
+ "interval"?: SaveCasePlanRequest.IntervalEnum;
14
+ "productId"?: string;
15
+ }
16
+ export declare namespace SaveCasePlanRequest {
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 SaveCasePlanRequest;
13
+ (function (SaveCasePlanRequest) {
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 = SaveCasePlanRequest.IntervalEnum || (SaveCasePlanRequest.IntervalEnum = {}));
22
+ })(SaveCasePlanRequest || (SaveCasePlanRequest = {}));
@@ -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,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';
@@ -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';
@@ -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, SaveCasePaymentPlanRequest, ScheduleNewPaymentRequest, UpdateCasePaymentRequest, UpdatePaymentDueDateRequest } from '../models';
13
+ import { AuthorizeChargeForCasePaymentRequest, AuthorizeChargeForCasePaymentResponse, CaptureChargeFromCasePaymentRequest, GetAvailablePaymentPlansResponse, GetCasePaymentsResponse, GetStripeChargeResponse, GetStripeChargesResponse, ListCostItemsForCustomerResponse, SaveCasePlanRequest, ScheduleNewPaymentRequest, UpdateCasePaymentRequest, UpdatePaymentDueDateRequest } from '../models';
14
14
  export interface AuthorizeChargeForCasePaymentUsingPOSTRequest {
15
15
  caseId: string;
16
16
  casePaymentId: string;
@@ -57,10 +57,10 @@ export interface ListCostItemsForCustomerUsingGETRequest {
57
57
  period?: ListCostItemsForCustomerUsingGETPeriodEnum;
58
58
  productId?: string;
59
59
  }
60
- export interface SaveCasePaymentPlanUsingPOSTRequest {
60
+ export interface SaveCasePlanUsingPOSTRequest {
61
61
  caseId: string;
62
62
  paymentPlanTypeId: string;
63
- request: SaveCasePaymentPlanRequest;
63
+ request: SaveCasePlanRequest;
64
64
  }
65
65
  export interface ScheduleNewPaymentUsingPOSTRequest {
66
66
  caseId: string;
@@ -163,13 +163,13 @@ export declare class CasePaymentControllerApi extends runtime.BaseAPI {
163
163
  */
164
164
  listCostItemsForCustomerUsingGET(requestParameters: ListCostItemsForCustomerUsingGETRequest): Promise<ListCostItemsForCustomerResponse>;
165
165
  /**
166
- * saveCasePaymentPlan
166
+ * saveCasePlan
167
167
  */
168
- saveCasePaymentPlanUsingPOSTRaw(requestParameters: SaveCasePaymentPlanUsingPOSTRequest): Promise<runtime.ApiResponse<void>>;
168
+ saveCasePlanUsingPOSTRaw(requestParameters: SaveCasePlanUsingPOSTRequest): Promise<runtime.ApiResponse<void>>;
169
169
  /**
170
- * saveCasePaymentPlan
170
+ * saveCasePlan
171
171
  */
172
- saveCasePaymentPlanUsingPOST(requestParameters: SaveCasePaymentPlanUsingPOSTRequest): Promise<void>;
172
+ saveCasePlanUsingPOST(requestParameters: SaveCasePlanUsingPOSTRequest): Promise<void>;
173
173
  /**
174
174
  * scheduleNewPayment
175
175
  */
@@ -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, SaveCasePaymentPlanRequestToJSON, ScheduleNewPaymentRequestToJSON, UpdateCasePaymentRequestToJSON, UpdatePaymentDueDateRequestToJSON, } from '../models';
24
+ import { AuthorizeChargeForCasePaymentRequestToJSON, AuthorizeChargeForCasePaymentResponseFromJSON, CaptureChargeFromCasePaymentRequestToJSON, GetAvailablePaymentPlansResponseFromJSON, GetCasePaymentsResponseFromJSON, GetStripeChargeResponseFromJSON, GetStripeChargesResponseFromJSON, ListCostItemsForCustomerResponseFromJSON, SaveCasePlanRequestToJSON, ScheduleNewPaymentRequestToJSON, UpdateCasePaymentRequestToJSON, UpdatePaymentDueDateRequestToJSON, } from '../models';
25
25
  /**
26
26
  *
27
27
  */
@@ -364,18 +364,18 @@ export class CasePaymentControllerApi extends runtime.BaseAPI {
364
364
  });
365
365
  }
366
366
  /**
367
- * saveCasePaymentPlan
367
+ * saveCasePlan
368
368
  */
369
- saveCasePaymentPlanUsingPOSTRaw(requestParameters) {
369
+ saveCasePlanUsingPOSTRaw(requestParameters) {
370
370
  return __awaiter(this, void 0, void 0, function* () {
371
371
  if (requestParameters.caseId === null || requestParameters.caseId === undefined) {
372
- throw new runtime.RequiredError('caseId', 'Required parameter requestParameters.caseId was null or undefined when calling saveCasePaymentPlanUsingPOST.');
372
+ throw new runtime.RequiredError('caseId', 'Required parameter requestParameters.caseId was null or undefined when calling saveCasePlanUsingPOST.');
373
373
  }
374
374
  if (requestParameters.paymentPlanTypeId === null || requestParameters.paymentPlanTypeId === undefined) {
375
- throw new runtime.RequiredError('paymentPlanTypeId', 'Required parameter requestParameters.paymentPlanTypeId was null or undefined when calling saveCasePaymentPlanUsingPOST.');
375
+ throw new runtime.RequiredError('paymentPlanTypeId', 'Required parameter requestParameters.paymentPlanTypeId was null or undefined when calling saveCasePlanUsingPOST.');
376
376
  }
377
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.');
378
+ throw new runtime.RequiredError('request', 'Required parameter requestParameters.request was null or undefined when calling saveCasePlanUsingPOST.');
379
379
  }
380
380
  const queryParameters = {};
381
381
  const headerParameters = {};
@@ -385,17 +385,17 @@ export class CasePaymentControllerApi extends runtime.BaseAPI {
385
385
  method: 'POST',
386
386
  headers: headerParameters,
387
387
  query: queryParameters,
388
- body: SaveCasePaymentPlanRequestToJSON(requestParameters.request),
388
+ body: SaveCasePlanRequestToJSON(requestParameters.request),
389
389
  });
390
390
  return new runtime.VoidApiResponse(response);
391
391
  });
392
392
  }
393
393
  /**
394
- * saveCasePaymentPlan
394
+ * saveCasePlan
395
395
  */
396
- saveCasePaymentPlanUsingPOST(requestParameters) {
396
+ saveCasePlanUsingPOST(requestParameters) {
397
397
  return __awaiter(this, void 0, void 0, function* () {
398
- yield this.saveCasePaymentPlanUsingPOSTRaw(requestParameters);
398
+ yield this.saveCasePlanUsingPOSTRaw(requestParameters);
399
399
  });
400
400
  }
401
401
  /**
@@ -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 {InvoiceLineItemModel}
32
+ * @type {string}
34
33
  * @memberof CasePaymentBreakdownItemModel
35
34
  */
36
- type?: InvoiceLineItemModel;
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 : InvoiceLineItemModelFromJSON(json['type']),
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': InvoiceLineItemModelToJSON(value.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 SaveCasePlanRequest
16
+ */
17
+ export interface SaveCasePlanRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SaveCasePlanRequest
22
+ */
23
+ interval?: SaveCasePlanRequestIntervalEnum;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SaveCasePlanRequest
28
+ */
29
+ productId?: string;
30
+ }
31
+ export declare function SaveCasePlanRequestFromJSON(json: any): SaveCasePlanRequest;
32
+ export declare function SaveCasePlanRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaveCasePlanRequest;
33
+ export declare function SaveCasePlanRequestToJSON(value?: SaveCasePlanRequest | null): any;
34
+ /**
35
+ * @export
36
+ * @enum {string}
37
+ */
38
+ export declare enum SaveCasePlanRequestIntervalEnum {
39
+ DAILY = "DAILY",
40
+ MONTHLY = "MONTHLY",
41
+ QUARTERLY = "QUARTERLY",
42
+ WEEKLY = "WEEKLY",
43
+ YEARLY = "YEARLY"
44
+ }
@@ -12,10 +12,10 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { exists } from '../runtime';
15
- export function SaveCasePaymentPlanRequestFromJSON(json) {
16
- return SaveCasePaymentPlanRequestFromJSONTyped(json, false);
15
+ export function SaveCasePlanRequestFromJSON(json) {
16
+ return SaveCasePlanRequestFromJSONTyped(json, false);
17
17
  }
18
- export function SaveCasePaymentPlanRequestFromJSONTyped(json, ignoreDiscriminator) {
18
+ export function SaveCasePlanRequestFromJSONTyped(json, ignoreDiscriminator) {
19
19
  if ((json === undefined) || (json === null)) {
20
20
  return json;
21
21
  }
@@ -24,7 +24,7 @@ export function SaveCasePaymentPlanRequestFromJSONTyped(json, ignoreDiscriminato
24
24
  'productId': !exists(json, 'productId') ? undefined : json['productId'],
25
25
  };
26
26
  }
27
- export function SaveCasePaymentPlanRequestToJSON(value) {
27
+ export function SaveCasePlanRequestToJSON(value) {
28
28
  if (value === undefined) {
29
29
  return undefined;
30
30
  }
@@ -40,11 +40,11 @@ export function SaveCasePaymentPlanRequestToJSON(value) {
40
40
  * @export
41
41
  * @enum {string}
42
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 = {}));
43
+ export var SaveCasePlanRequestIntervalEnum;
44
+ (function (SaveCasePlanRequestIntervalEnum) {
45
+ SaveCasePlanRequestIntervalEnum["DAILY"] = "DAILY";
46
+ SaveCasePlanRequestIntervalEnum["MONTHLY"] = "MONTHLY";
47
+ SaveCasePlanRequestIntervalEnum["QUARTERLY"] = "QUARTERLY";
48
+ SaveCasePlanRequestIntervalEnum["WEEKLY"] = "WEEKLY";
49
+ SaveCasePlanRequestIntervalEnum["YEARLY"] = "YEARLY";
50
+ })(SaveCasePlanRequestIntervalEnum || (SaveCasePlanRequestIntervalEnum = {}));
@@ -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;