@otr-app/shared-backend-generated-client 2.4.83 → 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.
Files changed (26) hide show
  1. package/dist/angular/.openapi-generator/FILES +2 -0
  2. package/dist/angular/model/casePaymentBreakdownItemModel.ts +25 -2
  3. package/dist/angular/model/legalServiceModel.ts +2 -0
  4. package/dist/angular/model/models.ts +2 -0
  5. package/dist/angular/model/workflowCasePaymentModel.ts +21 -0
  6. package/dist/angular/model/workflowFinancials.ts +23 -0
  7. package/dist/typescript/model/CasePaymentBreakdownItemModel.d.ts +23 -2
  8. package/dist/typescript/model/CasePaymentBreakdownItemModel.js +24 -1
  9. package/dist/typescript/model/LegalServiceModel.d.ts +1 -0
  10. package/dist/typescript/model/WorkflowCasePaymentModel.d.ts +18 -0
  11. package/dist/typescript/model/WorkflowCasePaymentModel.js +12 -0
  12. package/dist/typescript/model/WorkflowFinancials.d.ts +19 -0
  13. package/dist/typescript/model/WorkflowFinancials.js +12 -0
  14. package/dist/typescript/model/models.d.ts +2 -0
  15. package/dist/typescript/model/models.js +2 -0
  16. package/dist/typescript-fetch/models/CasePaymentBreakdownItemModel.d.ts +26 -3
  17. package/dist/typescript-fetch/models/CasePaymentBreakdownItemModel.js +27 -3
  18. package/dist/typescript-fetch/models/LegalServiceModel.d.ts +7 -1
  19. package/dist/typescript-fetch/models/LegalServiceModel.js +3 -1
  20. package/dist/typescript-fetch/models/WorkflowCasePaymentModel.d.ts +46 -0
  21. package/dist/typescript-fetch/models/WorkflowCasePaymentModel.js +43 -0
  22. package/dist/typescript-fetch/models/WorkflowFinancials.d.ts +52 -0
  23. package/dist/typescript-fetch/models/WorkflowFinancials.js +45 -0
  24. package/dist/typescript-fetch/models/index.d.ts +2 -0
  25. package/dist/typescript-fetch/models/index.js +2 -0
  26. package/package.json +1 -1
@@ -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
@@ -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;
@@ -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,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
+
@@ -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,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 {};
@@ -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';
@@ -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';
@@ -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,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;
@@ -0,0 +1,43 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OffTheRecord Rest Service API - Devo
5
+ * A service to handle your traffic tickets
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { exists } from '../runtime';
15
+ import { CasePaymentBreakdownItemModelFromJSON, CasePaymentBreakdownItemModelToJSON, } from './';
16
+ export function WorkflowCasePaymentModelFromJSON(json) {
17
+ return WorkflowCasePaymentModelFromJSONTyped(json, false);
18
+ }
19
+ export function WorkflowCasePaymentModelFromJSONTyped(json, ignoreDiscriminator) {
20
+ if ((json === undefined) || (json === null)) {
21
+ return json;
22
+ }
23
+ return {
24
+ 'dueDate': !exists(json, 'dueDate') ? undefined : (new Date(json['dueDate'])),
25
+ 'dueNow': !exists(json, 'dueNow') ? undefined : json['dueNow'],
26
+ 'feeAmount': !exists(json, 'feeAmount') ? undefined : json['feeAmount'],
27
+ 'items': !exists(json, 'items') ? undefined : (json['items'].map(CasePaymentBreakdownItemModelFromJSON)),
28
+ };
29
+ }
30
+ export function WorkflowCasePaymentModelToJSON(value) {
31
+ if (value === undefined) {
32
+ return undefined;
33
+ }
34
+ if (value === null) {
35
+ return null;
36
+ }
37
+ return {
38
+ 'dueDate': value.dueDate === undefined ? undefined : (value.dueDate.toISOString()),
39
+ 'dueNow': value.dueNow,
40
+ 'feeAmount': value.feeAmount,
41
+ 'items': value.items === undefined ? undefined : (value.items.map(CasePaymentBreakdownItemModelToJSON)),
42
+ };
43
+ }
@@ -0,0 +1,52 @@
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, WorkflowLineItemModel } from './';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface WorkflowFinancials
17
+ */
18
+ export interface WorkflowFinancials {
19
+ /**
20
+ *
21
+ * @type {Array<WorkflowLineItemModel>}
22
+ * @memberof WorkflowFinancials
23
+ */
24
+ lineItems?: Array<WorkflowLineItemModel>;
25
+ /**
26
+ *
27
+ * @type {Array<WorkflowCasePaymentModel>}
28
+ * @memberof WorkflowFinancials
29
+ */
30
+ payments?: Array<WorkflowCasePaymentModel>;
31
+ /**
32
+ *
33
+ * @type {number}
34
+ * @memberof WorkflowFinancials
35
+ */
36
+ totalClientBaseCostInCents?: number;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof WorkflowFinancials
41
+ */
42
+ totalClientCostInCents?: number;
43
+ /**
44
+ *
45
+ * @type {number}
46
+ * @memberof WorkflowFinancials
47
+ */
48
+ totalRefCodeAdjustmentInCents?: number;
49
+ }
50
+ export declare function WorkflowFinancialsFromJSON(json: any): WorkflowFinancials;
51
+ export declare function WorkflowFinancialsFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkflowFinancials;
52
+ export declare function WorkflowFinancialsToJSON(value?: WorkflowFinancials | null): any;
@@ -0,0 +1,45 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OffTheRecord Rest Service API - Devo
5
+ * A service to handle your traffic tickets
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { exists } from '../runtime';
15
+ import { WorkflowCasePaymentModelFromJSON, WorkflowCasePaymentModelToJSON, WorkflowLineItemModelFromJSON, WorkflowLineItemModelToJSON, } from './';
16
+ export function WorkflowFinancialsFromJSON(json) {
17
+ return WorkflowFinancialsFromJSONTyped(json, false);
18
+ }
19
+ export function WorkflowFinancialsFromJSONTyped(json, ignoreDiscriminator) {
20
+ if ((json === undefined) || (json === null)) {
21
+ return json;
22
+ }
23
+ return {
24
+ 'lineItems': !exists(json, 'lineItems') ? undefined : (json['lineItems'].map(WorkflowLineItemModelFromJSON)),
25
+ 'payments': !exists(json, 'payments') ? undefined : (json['payments'].map(WorkflowCasePaymentModelFromJSON)),
26
+ 'totalClientBaseCostInCents': !exists(json, 'totalClientBaseCostInCents') ? undefined : json['totalClientBaseCostInCents'],
27
+ 'totalClientCostInCents': !exists(json, 'totalClientCostInCents') ? undefined : json['totalClientCostInCents'],
28
+ 'totalRefCodeAdjustmentInCents': !exists(json, 'totalRefCodeAdjustmentInCents') ? undefined : json['totalRefCodeAdjustmentInCents'],
29
+ };
30
+ }
31
+ export function WorkflowFinancialsToJSON(value) {
32
+ if (value === undefined) {
33
+ return undefined;
34
+ }
35
+ if (value === null) {
36
+ return null;
37
+ }
38
+ return {
39
+ 'lineItems': value.lineItems === undefined ? undefined : (value.lineItems.map(WorkflowLineItemModelToJSON)),
40
+ 'payments': value.payments === undefined ? undefined : (value.payments.map(WorkflowCasePaymentModelToJSON)),
41
+ 'totalClientBaseCostInCents': value.totalClientBaseCostInCents,
42
+ 'totalClientCostInCents': value.totalClientCostInCents,
43
+ 'totalRefCodeAdjustmentInCents': value.totalRefCodeAdjustmentInCents,
44
+ };
45
+ }
@@ -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';
@@ -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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.4.83",
3
+ "version": "2.4.84",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"