@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.
- package/dist/angular/.openapi-generator/FILES +3 -1
- package/dist/angular/api/casePaymentController.service.ts +9 -9
- package/dist/angular/model/casePaymentBreakdownItemModel.ts +25 -2
- package/dist/angular/model/legalServiceModel.ts +2 -0
- package/dist/angular/model/models.ts +3 -1
- package/dist/angular/model/saveCasePlanRequest.ts +29 -0
- package/dist/angular/model/workflowCasePaymentModel.ts +21 -0
- package/dist/angular/model/workflowFinancials.ts +23 -0
- package/dist/otrBackendService.js +3 -3
- package/dist/otrBackendService.min.js +1 -1
- package/dist/typescript/api/CasePaymentControllerApi.d.ts +2 -2
- package/dist/typescript/api/CasePaymentControllerApi.js +5 -5
- 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/SaveCasePlanRequest.d.ts +24 -0
- package/dist/typescript/model/SaveCasePlanRequest.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 -1
- package/dist/typescript/model/models.js +3 -1
- package/dist/typescript-fetch/apis/CasePaymentControllerApi.d.ts +7 -7
- package/dist/typescript-fetch/apis/CasePaymentControllerApi.js +10 -10
- 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/SaveCasePlanRequest.d.ts +44 -0
- package/dist/typescript-fetch/models/{SaveCasePaymentPlanRequest.js → SaveCasePlanRequest.js} +12 -12
- 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 -1
- package/dist/typescript-fetch/models/index.js +3 -1
- package/package.json +1 -1
- package/dist/typescript-fetch/models/SaveCasePaymentPlanRequest.d.ts +0 -44
|
@@ -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,7 +608,7 @@ export * from './SSLCertificateResponse';
|
|
|
608
608
|
export * from './SaveAgentBookingRequest';
|
|
609
609
|
export * from './SaveAgentBookingResponse';
|
|
610
610
|
export * from './SaveCaseNotesRequest';
|
|
611
|
-
export * from './
|
|
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 './
|
|
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';
|
package/package.json
CHANGED
|
@@ -1,44 +0,0 @@
|
|
|
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 SaveCasePaymentPlanRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface SaveCasePaymentPlanRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof SaveCasePaymentPlanRequest
|
|
22
|
-
*/
|
|
23
|
-
interval?: SaveCasePaymentPlanRequestIntervalEnum;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof SaveCasePaymentPlanRequest
|
|
28
|
-
*/
|
|
29
|
-
productId?: string;
|
|
30
|
-
}
|
|
31
|
-
export declare function SaveCasePaymentPlanRequestFromJSON(json: any): SaveCasePaymentPlanRequest;
|
|
32
|
-
export declare function SaveCasePaymentPlanRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaveCasePaymentPlanRequest;
|
|
33
|
-
export declare function SaveCasePaymentPlanRequestToJSON(value?: SaveCasePaymentPlanRequest | null): any;
|
|
34
|
-
/**
|
|
35
|
-
* @export
|
|
36
|
-
* @enum {string}
|
|
37
|
-
*/
|
|
38
|
-
export declare enum SaveCasePaymentPlanRequestIntervalEnum {
|
|
39
|
-
DAILY = "DAILY",
|
|
40
|
-
MONTHLY = "MONTHLY",
|
|
41
|
-
QUARTERLY = "QUARTERLY",
|
|
42
|
-
WEEKLY = "WEEKLY",
|
|
43
|
-
YEARLY = "YEARLY"
|
|
44
|
-
}
|