@otr-app/shared-backend-generated-client 2.4.73 → 2.4.75
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 +1 -0
- package/dist/angular/model/caseModel.ts +2 -0
- package/dist/angular/model/caseModelReq.ts +2 -0
- package/dist/angular/model/caseModelRes.ts +2 -0
- package/dist/angular/model/casePaymentModel.ts +2 -0
- package/dist/angular/model/getCounterOfferResponse.ts +2 -0
- package/dist/angular/model/models.ts +1 -0
- package/dist/angular/model/paymentCardInput.ts +17 -0
- package/dist/typescript/model/CaseModel.d.ts +1 -0
- package/dist/typescript/model/CaseModelReq.d.ts +1 -0
- package/dist/typescript/model/CaseModelRes.d.ts +1 -0
- package/dist/typescript/model/CasePaymentModel.d.ts +2 -0
- package/dist/typescript/model/GetCounterOfferResponse.d.ts +1 -0
- package/dist/typescript/model/PaymentCardInput.d.ts +14 -0
- package/dist/typescript/model/PaymentCardInput.js +12 -0
- package/dist/typescript/model/models.d.ts +1 -0
- package/dist/typescript/model/models.js +1 -0
- package/dist/typescript-fetch/models/CaseModel.d.ts +7 -1
- package/dist/typescript-fetch/models/CaseModel.js +3 -1
- package/dist/typescript-fetch/models/CaseModelReq.d.ts +7 -1
- package/dist/typescript-fetch/models/CaseModelReq.js +3 -1
- package/dist/typescript-fetch/models/CaseModelRes.d.ts +7 -1
- package/dist/typescript-fetch/models/CaseModelRes.js +3 -1
- package/dist/typescript-fetch/models/CasePaymentModel.d.ts +12 -0
- package/dist/typescript-fetch/models/CasePaymentModel.js +4 -0
- package/dist/typescript-fetch/models/GetCounterOfferResponse.d.ts +7 -1
- package/dist/typescript-fetch/models/GetCounterOfferResponse.js +3 -1
- package/dist/typescript-fetch/models/PaymentCardInput.d.ts +27 -0
- package/dist/typescript-fetch/models/PaymentCardInput.js +36 -0
- package/dist/typescript-fetch/models/index.d.ts +1 -0
- package/dist/typescript-fetch/models/index.js +1 -0
- package/package.json +1 -1
|
@@ -669,6 +669,7 @@ model/oCRPredictionCaseResponse.ts
|
|
|
669
669
|
model/oCRViolationModel.ts
|
|
670
670
|
model/otherCase.ts
|
|
671
671
|
model/outgoingContactDomain.ts
|
|
672
|
+
model/paymentCardInput.ts
|
|
672
673
|
model/paymentPlanTypeModel.ts
|
|
673
674
|
model/paymentPlanTypeModelReq.ts
|
|
674
675
|
model/paymentPlanTypeModelRes.ts
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { CitationModel } from './citationModel';
|
|
13
13
|
import { LawfirmCaseModel } from './lawfirmCaseModel';
|
|
14
|
+
import { PaymentCardInput } from './paymentCardInput';
|
|
14
15
|
import { CaseStatusDomain } from './caseStatusDomain';
|
|
15
16
|
import { CaseViolationPenalty } from './caseViolationPenalty';
|
|
16
17
|
import { SubscriptionDiscountEligibility } from './subscriptionDiscountEligibility';
|
|
@@ -30,6 +31,7 @@ export interface CaseModel {
|
|
|
30
31
|
cancelationDetails?: CancelationDetails;
|
|
31
32
|
cancelationReason?: string;
|
|
32
33
|
cancellationExpiryDate?: Timestamp;
|
|
34
|
+
cardInput?: PaymentCardInput;
|
|
33
35
|
caseCancellationDate?: Timestamp;
|
|
34
36
|
caseCreationDate?: Timestamp;
|
|
35
37
|
caseId?: string;
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { LawfirmCaseModelReq } from './lawfirmCaseModelReq';
|
|
13
13
|
import { SubscriptionDiscountEligibilityReq } from './subscriptionDiscountEligibilityReq';
|
|
14
|
+
import { PaymentCardInput } from './paymentCardInput';
|
|
14
15
|
import { CaseStatusDomain } from './caseStatusDomain';
|
|
15
16
|
import { CancelationDetailsReq } from './cancelationDetailsReq';
|
|
16
17
|
import { CaseViolationPenalty } from './caseViolationPenalty';
|
|
@@ -30,6 +31,7 @@ export interface CaseModelReq {
|
|
|
30
31
|
cancelationDetails?: CancelationDetailsReq;
|
|
31
32
|
cancelationReason?: string;
|
|
32
33
|
cancellationExpiryDate?: TimestampReq;
|
|
34
|
+
cardInput?: PaymentCardInput;
|
|
33
35
|
caseCancellationDate?: TimestampReq;
|
|
34
36
|
caseCreationDate?: TimestampReq;
|
|
35
37
|
caseId?: string;
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { LawfirmCaseModelRes } from './lawfirmCaseModelRes';
|
|
13
|
+
import { PaymentCardInput } from './paymentCardInput';
|
|
13
14
|
import { CaseStatusDomain } from './caseStatusDomain';
|
|
14
15
|
import { UserDomainRes } from './userDomainRes';
|
|
15
16
|
import { PaymentPlanTypeModelRes } from './paymentPlanTypeModelRes';
|
|
@@ -30,6 +31,7 @@ export interface CaseModelRes {
|
|
|
30
31
|
cancelationDetails?: CancelationDetailsRes;
|
|
31
32
|
cancelationReason?: string;
|
|
32
33
|
cancellationExpiryDate?: TimestampRes;
|
|
34
|
+
cardInput?: PaymentCardInput;
|
|
33
35
|
caseCancellationDate?: TimestampRes;
|
|
34
36
|
caseCreationDate?: TimestampRes;
|
|
35
37
|
caseId?: string;
|
|
@@ -13,8 +13,10 @@ import { CasePaymentBreakdownItemModel } from './casePaymentBreakdownItemModel';
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
export interface CasePaymentModel {
|
|
16
|
+
captureDateUtc?: string;
|
|
16
17
|
dueDate?: string;
|
|
17
18
|
dueNow?: boolean;
|
|
19
|
+
expiryDateUtc?: string;
|
|
18
20
|
feeAmount?: number;
|
|
19
21
|
items?: Array<CasePaymentBreakdownItemModel>;
|
|
20
22
|
}
|
|
@@ -9,10 +9,12 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { AuthorModel } from './authorModel';
|
|
12
13
|
import { CaseCounterOptionModel } from './caseCounterOptionModel';
|
|
13
14
|
|
|
14
15
|
|
|
15
16
|
export interface GetCounterOfferResponse {
|
|
17
|
+
author?: AuthorModel;
|
|
16
18
|
counterOfferAmountInCents?: number;
|
|
17
19
|
counterOfferDateUtc?: string;
|
|
18
20
|
counterOfferId?: number;
|
|
@@ -544,6 +544,7 @@ export * from './oCRPredictionCaseResponse';
|
|
|
544
544
|
export * from './oCRViolationModel';
|
|
545
545
|
export * from './otherCase';
|
|
546
546
|
export * from './outgoingContactDomain';
|
|
547
|
+
export * from './paymentCardInput';
|
|
547
548
|
export * from './paymentPlanTypeModel';
|
|
548
549
|
export * from './paymentPlanTypeModelReq';
|
|
549
550
|
export * from './paymentPlanTypeModelRes';
|
|
@@ -0,0 +1,17 @@
|
|
|
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 PaymentCardInput {
|
|
15
|
+
last4?: string;
|
|
16
|
+
}
|
|
17
|
+
|
|
@@ -18,6 +18,7 @@ export interface CaseModel {
|
|
|
18
18
|
"cancelationDetails"?: models.CancelationDetails;
|
|
19
19
|
"cancelationReason"?: string;
|
|
20
20
|
"cancellationExpiryDate"?: models.Timestamp;
|
|
21
|
+
"cardInput"?: models.PaymentCardInput;
|
|
21
22
|
"caseCancellationDate"?: models.Timestamp;
|
|
22
23
|
"caseCreationDate"?: models.Timestamp;
|
|
23
24
|
"caseId"?: string;
|
|
@@ -18,6 +18,7 @@ export interface CaseModelReq {
|
|
|
18
18
|
"cancelationDetails"?: models.CancelationDetailsReq;
|
|
19
19
|
"cancelationReason"?: string;
|
|
20
20
|
"cancellationExpiryDate"?: models.TimestampReq;
|
|
21
|
+
"cardInput"?: models.PaymentCardInput;
|
|
21
22
|
"caseCancellationDate"?: models.TimestampReq;
|
|
22
23
|
"caseCreationDate"?: models.TimestampReq;
|
|
23
24
|
"caseId"?: string;
|
|
@@ -18,6 +18,7 @@ export interface CaseModelRes {
|
|
|
18
18
|
"cancelationDetails"?: models.CancelationDetailsRes;
|
|
19
19
|
"cancelationReason"?: string;
|
|
20
20
|
"cancellationExpiryDate"?: models.TimestampRes;
|
|
21
|
+
"cardInput"?: models.PaymentCardInput;
|
|
21
22
|
"caseCancellationDate"?: models.TimestampRes;
|
|
22
23
|
"caseCreationDate"?: models.TimestampRes;
|
|
23
24
|
"caseId"?: string;
|
|
@@ -11,8 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import * as models from './models';
|
|
13
13
|
export interface CasePaymentModel {
|
|
14
|
+
"captureDateUtc"?: string;
|
|
14
15
|
"dueDate"?: string;
|
|
15
16
|
"dueNow"?: boolean;
|
|
17
|
+
"expiryDateUtc"?: string;
|
|
16
18
|
"feeAmount"?: number;
|
|
17
19
|
"items"?: Array<models.CasePaymentBreakdownItemModel>;
|
|
18
20
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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 PaymentCardInput {
|
|
13
|
+
"last4"?: string;
|
|
14
|
+
}
|
|
@@ -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 {};
|
|
@@ -544,6 +544,7 @@ export * from './OCRPredictionCaseResponse';
|
|
|
544
544
|
export * from './OCRViolationModel';
|
|
545
545
|
export * from './OtherCase';
|
|
546
546
|
export * from './OutgoingContactDomain';
|
|
547
|
+
export * from './PaymentCardInput';
|
|
547
548
|
export * from './PaymentPlanTypeModel';
|
|
548
549
|
export * from './PaymentPlanTypeModelReq';
|
|
549
550
|
export * from './PaymentPlanTypeModelRes';
|
|
@@ -544,6 +544,7 @@ export * from './OCRPredictionCaseResponse';
|
|
|
544
544
|
export * from './OCRViolationModel';
|
|
545
545
|
export * from './OtherCase';
|
|
546
546
|
export * from './OutgoingContactDomain';
|
|
547
|
+
export * from './PaymentCardInput';
|
|
547
548
|
export * from './PaymentPlanTypeModel';
|
|
548
549
|
export * from './PaymentPlanTypeModelReq';
|
|
549
550
|
export * from './PaymentPlanTypeModelRes';
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { CancelationDetails, CaseActionDomain, CaseStatusDomain, CaseViolationPenalty, CitationModel, LawfirmCaseModel, LetterOfEngagement, PaymentPlanTypeModel, SubscriptionDiscountEligibility, Timestamp, UserDomain } from './';
|
|
12
|
+
import { CancelationDetails, CaseActionDomain, CaseStatusDomain, CaseViolationPenalty, CitationModel, LawfirmCaseModel, LetterOfEngagement, PaymentCardInput, PaymentPlanTypeModel, SubscriptionDiscountEligibility, Timestamp, UserDomain } from './';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -58,6 +58,12 @@ export interface CaseModel {
|
|
|
58
58
|
* @memberof CaseModel
|
|
59
59
|
*/
|
|
60
60
|
cancellationExpiryDate?: Timestamp;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {PaymentCardInput}
|
|
64
|
+
* @memberof CaseModel
|
|
65
|
+
*/
|
|
66
|
+
cardInput?: PaymentCardInput;
|
|
61
67
|
/**
|
|
62
68
|
*
|
|
63
69
|
* @type {Timestamp}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
|
-
import { CancelationDetailsFromJSON, CancelationDetailsToJSON, CaseActionDomainFromJSON, CaseActionDomainToJSON, CaseStatusDomainFromJSON, CaseStatusDomainToJSON, CaseViolationPenaltyFromJSON, CaseViolationPenaltyToJSON, CitationModelFromJSON, CitationModelToJSON, LawfirmCaseModelFromJSON, LawfirmCaseModelToJSON, LetterOfEngagementFromJSON, LetterOfEngagementToJSON, PaymentPlanTypeModelFromJSON, PaymentPlanTypeModelToJSON, SubscriptionDiscountEligibilityFromJSON, SubscriptionDiscountEligibilityToJSON, TimestampFromJSON, TimestampToJSON, UserDomainFromJSON, UserDomainToJSON, } from './';
|
|
15
|
+
import { CancelationDetailsFromJSON, CancelationDetailsToJSON, CaseActionDomainFromJSON, CaseActionDomainToJSON, CaseStatusDomainFromJSON, CaseStatusDomainToJSON, CaseViolationPenaltyFromJSON, CaseViolationPenaltyToJSON, CitationModelFromJSON, CitationModelToJSON, LawfirmCaseModelFromJSON, LawfirmCaseModelToJSON, LetterOfEngagementFromJSON, LetterOfEngagementToJSON, PaymentCardInputFromJSON, PaymentCardInputToJSON, PaymentPlanTypeModelFromJSON, PaymentPlanTypeModelToJSON, SubscriptionDiscountEligibilityFromJSON, SubscriptionDiscountEligibilityToJSON, TimestampFromJSON, TimestampToJSON, UserDomainFromJSON, UserDomainToJSON, } from './';
|
|
16
16
|
export function CaseModelFromJSON(json) {
|
|
17
17
|
return CaseModelFromJSONTyped(json, false);
|
|
18
18
|
}
|
|
@@ -28,6 +28,7 @@ export function CaseModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
28
|
'cancelationDetails': !exists(json, 'cancelationDetails') ? undefined : CancelationDetailsFromJSON(json['cancelationDetails']),
|
|
29
29
|
'cancelationReason': !exists(json, 'cancelationReason') ? undefined : json['cancelationReason'],
|
|
30
30
|
'cancellationExpiryDate': !exists(json, 'cancellationExpiryDate') ? undefined : TimestampFromJSON(json['cancellationExpiryDate']),
|
|
31
|
+
'cardInput': !exists(json, 'cardInput') ? undefined : PaymentCardInputFromJSON(json['cardInput']),
|
|
31
32
|
'caseCancellationDate': !exists(json, 'caseCancellationDate') ? undefined : TimestampFromJSON(json['caseCancellationDate']),
|
|
32
33
|
'caseCreationDate': !exists(json, 'caseCreationDate') ? undefined : TimestampFromJSON(json['caseCreationDate']),
|
|
33
34
|
'caseId': !exists(json, 'caseId') ? undefined : json['caseId'],
|
|
@@ -68,6 +69,7 @@ export function CaseModelToJSON(value) {
|
|
|
68
69
|
'cancelationDetails': CancelationDetailsToJSON(value.cancelationDetails),
|
|
69
70
|
'cancelationReason': value.cancelationReason,
|
|
70
71
|
'cancellationExpiryDate': TimestampToJSON(value.cancellationExpiryDate),
|
|
72
|
+
'cardInput': PaymentCardInputToJSON(value.cardInput),
|
|
71
73
|
'caseCancellationDate': TimestampToJSON(value.caseCancellationDate),
|
|
72
74
|
'caseCreationDate': TimestampToJSON(value.caseCreationDate),
|
|
73
75
|
'caseId': value.caseId,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { CancelationDetailsReq, CaseActionDomain, CaseStatusDomain, CaseViolationPenalty, CitationModelReq, LawfirmCaseModelReq, LetterOfEngagement, PaymentPlanTypeModelReq, SubscriptionDiscountEligibilityReq, TimestampReq, UserDomainReq } from './';
|
|
12
|
+
import { CancelationDetailsReq, CaseActionDomain, CaseStatusDomain, CaseViolationPenalty, CitationModelReq, LawfirmCaseModelReq, LetterOfEngagement, PaymentCardInput, PaymentPlanTypeModelReq, SubscriptionDiscountEligibilityReq, TimestampReq, UserDomainReq } from './';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -58,6 +58,12 @@ export interface CaseModelReq {
|
|
|
58
58
|
* @memberof CaseModelReq
|
|
59
59
|
*/
|
|
60
60
|
cancellationExpiryDate?: TimestampReq;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {PaymentCardInput}
|
|
64
|
+
* @memberof CaseModelReq
|
|
65
|
+
*/
|
|
66
|
+
cardInput?: PaymentCardInput;
|
|
61
67
|
/**
|
|
62
68
|
*
|
|
63
69
|
* @type {TimestampReq}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
|
-
import { CancelationDetailsReqFromJSON, CancelationDetailsReqToJSON, CaseActionDomainFromJSON, CaseActionDomainToJSON, CaseStatusDomainFromJSON, CaseStatusDomainToJSON, CaseViolationPenaltyFromJSON, CaseViolationPenaltyToJSON, CitationModelReqFromJSON, CitationModelReqToJSON, LawfirmCaseModelReqFromJSON, LawfirmCaseModelReqToJSON, LetterOfEngagementFromJSON, LetterOfEngagementToJSON, PaymentPlanTypeModelReqFromJSON, PaymentPlanTypeModelReqToJSON, SubscriptionDiscountEligibilityReqFromJSON, SubscriptionDiscountEligibilityReqToJSON, TimestampReqFromJSON, TimestampReqToJSON, UserDomainReqFromJSON, UserDomainReqToJSON, } from './';
|
|
15
|
+
import { CancelationDetailsReqFromJSON, CancelationDetailsReqToJSON, CaseActionDomainFromJSON, CaseActionDomainToJSON, CaseStatusDomainFromJSON, CaseStatusDomainToJSON, CaseViolationPenaltyFromJSON, CaseViolationPenaltyToJSON, CitationModelReqFromJSON, CitationModelReqToJSON, LawfirmCaseModelReqFromJSON, LawfirmCaseModelReqToJSON, LetterOfEngagementFromJSON, LetterOfEngagementToJSON, PaymentCardInputFromJSON, PaymentCardInputToJSON, PaymentPlanTypeModelReqFromJSON, PaymentPlanTypeModelReqToJSON, SubscriptionDiscountEligibilityReqFromJSON, SubscriptionDiscountEligibilityReqToJSON, TimestampReqFromJSON, TimestampReqToJSON, UserDomainReqFromJSON, UserDomainReqToJSON, } from './';
|
|
16
16
|
export function CaseModelReqFromJSON(json) {
|
|
17
17
|
return CaseModelReqFromJSONTyped(json, false);
|
|
18
18
|
}
|
|
@@ -28,6 +28,7 @@ export function CaseModelReqFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
28
|
'cancelationDetails': !exists(json, 'cancelationDetails') ? undefined : CancelationDetailsReqFromJSON(json['cancelationDetails']),
|
|
29
29
|
'cancelationReason': !exists(json, 'cancelationReason') ? undefined : json['cancelationReason'],
|
|
30
30
|
'cancellationExpiryDate': !exists(json, 'cancellationExpiryDate') ? undefined : TimestampReqFromJSON(json['cancellationExpiryDate']),
|
|
31
|
+
'cardInput': !exists(json, 'cardInput') ? undefined : PaymentCardInputFromJSON(json['cardInput']),
|
|
31
32
|
'caseCancellationDate': !exists(json, 'caseCancellationDate') ? undefined : TimestampReqFromJSON(json['caseCancellationDate']),
|
|
32
33
|
'caseCreationDate': !exists(json, 'caseCreationDate') ? undefined : TimestampReqFromJSON(json['caseCreationDate']),
|
|
33
34
|
'caseId': !exists(json, 'caseId') ? undefined : json['caseId'],
|
|
@@ -68,6 +69,7 @@ export function CaseModelReqToJSON(value) {
|
|
|
68
69
|
'cancelationDetails': CancelationDetailsReqToJSON(value.cancelationDetails),
|
|
69
70
|
'cancelationReason': value.cancelationReason,
|
|
70
71
|
'cancellationExpiryDate': TimestampReqToJSON(value.cancellationExpiryDate),
|
|
72
|
+
'cardInput': PaymentCardInputToJSON(value.cardInput),
|
|
71
73
|
'caseCancellationDate': TimestampReqToJSON(value.caseCancellationDate),
|
|
72
74
|
'caseCreationDate': TimestampReqToJSON(value.caseCreationDate),
|
|
73
75
|
'caseId': value.caseId,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { CancelationDetailsRes, CaseActionDomain, CaseStatusDomain, CaseViolationPenalty, CitationModelRes, LawfirmCaseModelRes, LetterOfEngagement, PaymentPlanTypeModelRes, SubscriptionDiscountEligibilityRes, TimestampRes, UserDomainRes } from './';
|
|
12
|
+
import { CancelationDetailsRes, CaseActionDomain, CaseStatusDomain, CaseViolationPenalty, CitationModelRes, LawfirmCaseModelRes, LetterOfEngagement, PaymentCardInput, PaymentPlanTypeModelRes, SubscriptionDiscountEligibilityRes, TimestampRes, UserDomainRes } from './';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -58,6 +58,12 @@ export interface CaseModelRes {
|
|
|
58
58
|
* @memberof CaseModelRes
|
|
59
59
|
*/
|
|
60
60
|
cancellationExpiryDate?: TimestampRes;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {PaymentCardInput}
|
|
64
|
+
* @memberof CaseModelRes
|
|
65
|
+
*/
|
|
66
|
+
cardInput?: PaymentCardInput;
|
|
61
67
|
/**
|
|
62
68
|
*
|
|
63
69
|
* @type {TimestampRes}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
|
-
import { CancelationDetailsResFromJSON, CancelationDetailsResToJSON, CaseActionDomainFromJSON, CaseActionDomainToJSON, CaseStatusDomainFromJSON, CaseStatusDomainToJSON, CaseViolationPenaltyFromJSON, CaseViolationPenaltyToJSON, CitationModelResFromJSON, CitationModelResToJSON, LawfirmCaseModelResFromJSON, LawfirmCaseModelResToJSON, LetterOfEngagementFromJSON, LetterOfEngagementToJSON, PaymentPlanTypeModelResFromJSON, PaymentPlanTypeModelResToJSON, SubscriptionDiscountEligibilityResFromJSON, SubscriptionDiscountEligibilityResToJSON, TimestampResFromJSON, TimestampResToJSON, UserDomainResFromJSON, UserDomainResToJSON, } from './';
|
|
15
|
+
import { CancelationDetailsResFromJSON, CancelationDetailsResToJSON, CaseActionDomainFromJSON, CaseActionDomainToJSON, CaseStatusDomainFromJSON, CaseStatusDomainToJSON, CaseViolationPenaltyFromJSON, CaseViolationPenaltyToJSON, CitationModelResFromJSON, CitationModelResToJSON, LawfirmCaseModelResFromJSON, LawfirmCaseModelResToJSON, LetterOfEngagementFromJSON, LetterOfEngagementToJSON, PaymentCardInputFromJSON, PaymentCardInputToJSON, PaymentPlanTypeModelResFromJSON, PaymentPlanTypeModelResToJSON, SubscriptionDiscountEligibilityResFromJSON, SubscriptionDiscountEligibilityResToJSON, TimestampResFromJSON, TimestampResToJSON, UserDomainResFromJSON, UserDomainResToJSON, } from './';
|
|
16
16
|
export function CaseModelResFromJSON(json) {
|
|
17
17
|
return CaseModelResFromJSONTyped(json, false);
|
|
18
18
|
}
|
|
@@ -28,6 +28,7 @@ export function CaseModelResFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
28
|
'cancelationDetails': !exists(json, 'cancelationDetails') ? undefined : CancelationDetailsResFromJSON(json['cancelationDetails']),
|
|
29
29
|
'cancelationReason': !exists(json, 'cancelationReason') ? undefined : json['cancelationReason'],
|
|
30
30
|
'cancellationExpiryDate': !exists(json, 'cancellationExpiryDate') ? undefined : TimestampResFromJSON(json['cancellationExpiryDate']),
|
|
31
|
+
'cardInput': !exists(json, 'cardInput') ? undefined : PaymentCardInputFromJSON(json['cardInput']),
|
|
31
32
|
'caseCancellationDate': !exists(json, 'caseCancellationDate') ? undefined : TimestampResFromJSON(json['caseCancellationDate']),
|
|
32
33
|
'caseCreationDate': !exists(json, 'caseCreationDate') ? undefined : TimestampResFromJSON(json['caseCreationDate']),
|
|
33
34
|
'caseId': !exists(json, 'caseId') ? undefined : json['caseId'],
|
|
@@ -68,6 +69,7 @@ export function CaseModelResToJSON(value) {
|
|
|
68
69
|
'cancelationDetails': CancelationDetailsResToJSON(value.cancelationDetails),
|
|
69
70
|
'cancelationReason': value.cancelationReason,
|
|
70
71
|
'cancellationExpiryDate': TimestampResToJSON(value.cancellationExpiryDate),
|
|
72
|
+
'cardInput': PaymentCardInputToJSON(value.cardInput),
|
|
71
73
|
'caseCancellationDate': TimestampResToJSON(value.caseCancellationDate),
|
|
72
74
|
'caseCreationDate': TimestampResToJSON(value.caseCreationDate),
|
|
73
75
|
'caseId': value.caseId,
|
|
@@ -16,6 +16,12 @@ import { CasePaymentBreakdownItemModel } from './';
|
|
|
16
16
|
* @interface CasePaymentModel
|
|
17
17
|
*/
|
|
18
18
|
export interface CasePaymentModel {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Date}
|
|
22
|
+
* @memberof CasePaymentModel
|
|
23
|
+
*/
|
|
24
|
+
captureDateUtc?: Date;
|
|
19
25
|
/**
|
|
20
26
|
*
|
|
21
27
|
* @type {Date}
|
|
@@ -28,6 +34,12 @@ export interface CasePaymentModel {
|
|
|
28
34
|
* @memberof CasePaymentModel
|
|
29
35
|
*/
|
|
30
36
|
dueNow?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Date}
|
|
40
|
+
* @memberof CasePaymentModel
|
|
41
|
+
*/
|
|
42
|
+
expiryDateUtc?: Date;
|
|
31
43
|
/**
|
|
32
44
|
*
|
|
33
45
|
* @type {number}
|
|
@@ -21,8 +21,10 @@ export function CasePaymentModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
21
21
|
return json;
|
|
22
22
|
}
|
|
23
23
|
return {
|
|
24
|
+
'captureDateUtc': !exists(json, 'captureDateUtc') ? undefined : (new Date(json['captureDateUtc'])),
|
|
24
25
|
'dueDate': !exists(json, 'dueDate') ? undefined : (new Date(json['dueDate'])),
|
|
25
26
|
'dueNow': !exists(json, 'dueNow') ? undefined : json['dueNow'],
|
|
27
|
+
'expiryDateUtc': !exists(json, 'expiryDateUtc') ? undefined : (new Date(json['expiryDateUtc'])),
|
|
26
28
|
'feeAmount': !exists(json, 'feeAmount') ? undefined : json['feeAmount'],
|
|
27
29
|
'items': !exists(json, 'items') ? undefined : (json['items'].map(CasePaymentBreakdownItemModelFromJSON)),
|
|
28
30
|
};
|
|
@@ -35,8 +37,10 @@ export function CasePaymentModelToJSON(value) {
|
|
|
35
37
|
return null;
|
|
36
38
|
}
|
|
37
39
|
return {
|
|
40
|
+
'captureDateUtc': value.captureDateUtc === undefined ? undefined : (value.captureDateUtc.toISOString()),
|
|
38
41
|
'dueDate': value.dueDate === undefined ? undefined : (value.dueDate.toISOString()),
|
|
39
42
|
'dueNow': value.dueNow,
|
|
43
|
+
'expiryDateUtc': value.expiryDateUtc === undefined ? undefined : (value.expiryDateUtc.toISOString()),
|
|
40
44
|
'feeAmount': value.feeAmount,
|
|
41
45
|
'items': value.items === undefined ? undefined : (value.items.map(CasePaymentBreakdownItemModelToJSON)),
|
|
42
46
|
};
|
|
@@ -9,13 +9,19 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { CaseCounterOptionModel } from './';
|
|
12
|
+
import { AuthorModel, CaseCounterOptionModel } from './';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
16
16
|
* @interface GetCounterOfferResponse
|
|
17
17
|
*/
|
|
18
18
|
export interface GetCounterOfferResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {AuthorModel}
|
|
22
|
+
* @memberof GetCounterOfferResponse
|
|
23
|
+
*/
|
|
24
|
+
author?: AuthorModel;
|
|
19
25
|
/**
|
|
20
26
|
*
|
|
21
27
|
* @type {number}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
|
-
import { CaseCounterOptionModelFromJSON, CaseCounterOptionModelToJSON, } from './';
|
|
15
|
+
import { AuthorModelFromJSON, AuthorModelToJSON, CaseCounterOptionModelFromJSON, CaseCounterOptionModelToJSON, } from './';
|
|
16
16
|
export function GetCounterOfferResponseFromJSON(json) {
|
|
17
17
|
return GetCounterOfferResponseFromJSONTyped(json, false);
|
|
18
18
|
}
|
|
@@ -21,6 +21,7 @@ export function GetCounterOfferResponseFromJSONTyped(json, ignoreDiscriminator)
|
|
|
21
21
|
return json;
|
|
22
22
|
}
|
|
23
23
|
return {
|
|
24
|
+
'author': !exists(json, 'author') ? undefined : AuthorModelFromJSON(json['author']),
|
|
24
25
|
'counterOfferAmountInCents': !exists(json, 'counterOfferAmountInCents') ? undefined : json['counterOfferAmountInCents'],
|
|
25
26
|
'counterOfferDateUtc': !exists(json, 'counterOfferDateUtc') ? undefined : (new Date(json['counterOfferDateUtc'])),
|
|
26
27
|
'counterOfferId': !exists(json, 'counterOfferId') ? undefined : json['counterOfferId'],
|
|
@@ -46,6 +47,7 @@ export function GetCounterOfferResponseToJSON(value) {
|
|
|
46
47
|
return null;
|
|
47
48
|
}
|
|
48
49
|
return {
|
|
50
|
+
'author': AuthorModelToJSON(value.author),
|
|
49
51
|
'counterOfferAmountInCents': value.counterOfferAmountInCents,
|
|
50
52
|
'counterOfferDateUtc': value.counterOfferDateUtc === undefined ? undefined : (value.counterOfferDateUtc.toISOString()),
|
|
51
53
|
'counterOfferId': value.counterOfferId,
|
|
@@ -0,0 +1,27 @@
|
|
|
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 PaymentCardInput
|
|
16
|
+
*/
|
|
17
|
+
export interface PaymentCardInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PaymentCardInput
|
|
22
|
+
*/
|
|
23
|
+
last4?: string;
|
|
24
|
+
}
|
|
25
|
+
export declare function PaymentCardInputFromJSON(json: any): PaymentCardInput;
|
|
26
|
+
export declare function PaymentCardInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentCardInput;
|
|
27
|
+
export declare function PaymentCardInputToJSON(value?: PaymentCardInput | null): any;
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
export function PaymentCardInputFromJSON(json) {
|
|
16
|
+
return PaymentCardInputFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function PaymentCardInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
+
if ((json === undefined) || (json === null)) {
|
|
20
|
+
return json;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'last4': !exists(json, 'last4') ? undefined : json['last4'],
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export function PaymentCardInputToJSON(value) {
|
|
27
|
+
if (value === undefined) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
if (value === null) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'last4': value.last4,
|
|
35
|
+
};
|
|
36
|
+
}
|
|
@@ -544,6 +544,7 @@ export * from './OCRPredictionCaseResponse';
|
|
|
544
544
|
export * from './OCRViolationModel';
|
|
545
545
|
export * from './OtherCase';
|
|
546
546
|
export * from './OutgoingContactDomain';
|
|
547
|
+
export * from './PaymentCardInput';
|
|
547
548
|
export * from './PaymentPlanTypeModel';
|
|
548
549
|
export * from './PaymentPlanTypeModelReq';
|
|
549
550
|
export * from './PaymentPlanTypeModelRes';
|
|
@@ -544,6 +544,7 @@ export * from './OCRPredictionCaseResponse';
|
|
|
544
544
|
export * from './OCRViolationModel';
|
|
545
545
|
export * from './OtherCase';
|
|
546
546
|
export * from './OutgoingContactDomain';
|
|
547
|
+
export * from './PaymentCardInput';
|
|
547
548
|
export * from './PaymentPlanTypeModel';
|
|
548
549
|
export * from './PaymentPlanTypeModelReq';
|
|
549
550
|
export * from './PaymentPlanTypeModelRes';
|