@otr-app/shared-backend-generated-client 2.4.82 → 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.
- package/dist/angular/.openapi-generator/FILES +3 -0
- package/dist/angular/api/casePaymentController.service.ts +19 -16
- package/dist/angular/model/casePaymentBreakdownItemModel.ts +25 -2
- package/dist/angular/model/legalServiceModel.ts +2 -0
- package/dist/angular/model/models.ts +3 -0
- package/dist/angular/model/saveCasePaymentPlanRequest.ts +29 -0
- package/dist/angular/model/workflowCasePaymentModel.ts +21 -0
- package/dist/angular/model/workflowFinancials.ts +23 -0
- package/dist/otrBackendService.js +6 -6
- package/dist/otrBackendService.min.js +2 -2
- package/dist/typescript/api/CasePaymentControllerApi.d.ts +2 -3
- package/dist/typescript/api/CasePaymentControllerApi.js +6 -8
- package/dist/typescript/model/CasePaymentBreakdownItemModel.d.ts +23 -2
- package/dist/typescript/model/CasePaymentBreakdownItemModel.js +24 -1
- package/dist/typescript/model/LegalServiceModel.d.ts +1 -0
- package/dist/typescript/model/SaveCasePaymentPlanRequest.d.ts +24 -0
- package/dist/typescript/model/SaveCasePaymentPlanRequest.js +22 -0
- package/dist/typescript/model/WorkflowCasePaymentModel.d.ts +18 -0
- package/dist/typescript/model/WorkflowCasePaymentModel.js +12 -0
- package/dist/typescript/model/WorkflowFinancials.d.ts +19 -0
- package/dist/typescript/model/WorkflowFinancials.js +12 -0
- package/dist/typescript/model/models.d.ts +3 -0
- package/dist/typescript/model/models.js +3 -0
- package/dist/typescript-fetch/apis/CasePaymentControllerApi.d.ts +2 -14
- package/dist/typescript-fetch/apis/CasePaymentControllerApi.js +6 -19
- package/dist/typescript-fetch/models/CasePaymentBreakdownItemModel.d.ts +26 -3
- package/dist/typescript-fetch/models/CasePaymentBreakdownItemModel.js +27 -3
- package/dist/typescript-fetch/models/LegalServiceModel.d.ts +7 -1
- package/dist/typescript-fetch/models/LegalServiceModel.js +3 -1
- package/dist/typescript-fetch/models/SaveCasePaymentPlanRequest.d.ts +44 -0
- package/dist/typescript-fetch/models/SaveCasePaymentPlanRequest.js +50 -0
- package/dist/typescript-fetch/models/WorkflowCasePaymentModel.d.ts +46 -0
- package/dist/typescript-fetch/models/WorkflowCasePaymentModel.js +43 -0
- package/dist/typescript-fetch/models/WorkflowFinancials.d.ts +52 -0
- package/dist/typescript-fetch/models/WorkflowFinancials.js +45 -0
- package/dist/typescript-fetch/models/index.d.ts +3 -0
- package/dist/typescript-fetch/models/index.js +3 -0
- package/package.json +1 -1
|
@@ -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
|
+
}
|
|
@@ -608,6 +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
612
|
export * from './SaveCaseUserRequest';
|
|
612
613
|
export * from './SaveCoachingCardRequest';
|
|
613
614
|
export * from './SaveCoachingCardUserRequest';
|
|
@@ -822,7 +823,9 @@ export * from './ViolationPenaltyResponse';
|
|
|
822
823
|
export * from './ViolationResponse';
|
|
823
824
|
export * from './WatchlistItemsModel';
|
|
824
825
|
export * from './WorkflowCaseModel';
|
|
826
|
+
export * from './WorkflowCasePaymentModel';
|
|
825
827
|
export * from './WorkflowCitationModel';
|
|
828
|
+
export * from './WorkflowFinancials';
|
|
826
829
|
export * from './WorkflowLineItemModel';
|
|
827
830
|
export * from './WorkflowViolationModel';
|
|
828
831
|
export * from './WorkflowViolationPenaltyModel';
|
|
@@ -608,6 +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
612
|
export * from './SaveCaseUserRequest';
|
|
612
613
|
export * from './SaveCoachingCardRequest';
|
|
613
614
|
export * from './SaveCoachingCardUserRequest';
|
|
@@ -822,7 +823,9 @@ export * from './ViolationPenaltyResponse';
|
|
|
822
823
|
export * from './ViolationResponse';
|
|
823
824
|
export * from './WatchlistItemsModel';
|
|
824
825
|
export * from './WorkflowCaseModel';
|
|
826
|
+
export * from './WorkflowCasePaymentModel';
|
|
825
827
|
export * from './WorkflowCitationModel';
|
|
828
|
+
export * from './WorkflowFinancials';
|
|
826
829
|
export * from './WorkflowLineItemModel';
|
|
827
830
|
export * from './WorkflowViolationModel';
|
|
828
831
|
export * from './WorkflowViolationPenaltyModel';
|