@otr-app/shared-backend-generated-client 2.5.52 → 2.5.53
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 +6 -3
- package/dist/angular/model/caseModel.ts +2 -2
- package/dist/angular/model/caseModelReq.ts +2 -2
- package/dist/angular/model/caseModelRes.ts +2 -2
- package/dist/angular/model/hypotheticalPlanEligibilityModel.ts +33 -0
- package/dist/angular/model/hypotheticalPlanEligibilityModelReq.ts +33 -0
- package/dist/angular/model/hypotheticalPlanEligibilityModelRes.ts +33 -0
- package/dist/angular/model/matchInnerCaseModel.ts +2 -2
- package/dist/angular/model/matchInnerCaseResponse.ts +2 -2
- package/dist/angular/model/models.ts +6 -3
- package/dist/angular/model/subscriptionPlanEligibility.ts +30 -0
- package/dist/angular/model/subscriptionPlanEligibilityReq.ts +30 -0
- package/dist/angular/model/subscriptionPlanEligibilityRes.ts +30 -0
- package/dist/angular/model/workflowCaseModel.ts +2 -2
- package/dist/typescript/model/CaseModel.d.ts +1 -1
- package/dist/typescript/model/CaseModelReq.d.ts +1 -1
- package/dist/typescript/model/CaseModelRes.d.ts +1 -1
- package/dist/typescript/model/HypotheticalPlanEligibilityModel.d.ts +27 -0
- package/dist/typescript/model/HypotheticalPlanEligibilityModel.js +26 -0
- package/dist/typescript/model/HypotheticalPlanEligibilityModelReq.d.ts +27 -0
- package/dist/typescript/model/HypotheticalPlanEligibilityModelReq.js +26 -0
- package/dist/typescript/model/HypotheticalPlanEligibilityModelRes.d.ts +27 -0
- package/dist/typescript/model/HypotheticalPlanEligibilityModelRes.js +26 -0
- package/dist/typescript/model/MatchInnerCaseModel.d.ts +1 -1
- package/dist/typescript/model/MatchInnerCaseResponse.d.ts +1 -1
- package/dist/typescript/model/SubscriptionPlanEligibility.d.ts +25 -0
- package/dist/typescript/model/SubscriptionPlanEligibility.js +20 -0
- package/dist/typescript/model/SubscriptionPlanEligibilityReq.d.ts +25 -0
- package/dist/typescript/model/SubscriptionPlanEligibilityReq.js +20 -0
- package/dist/typescript/model/SubscriptionPlanEligibilityRes.d.ts +25 -0
- package/dist/typescript/model/SubscriptionPlanEligibilityRes.js +20 -0
- package/dist/typescript/model/WorkflowCaseModel.d.ts +1 -1
- package/dist/typescript/model/models.d.ts +6 -3
- package/dist/typescript/model/models.js +6 -3
- package/dist/typescript-fetch/models/CaseModel.d.ts +3 -3
- package/dist/typescript-fetch/models/CaseModel.js +3 -3
- package/dist/typescript-fetch/models/CaseModelReq.d.ts +3 -3
- package/dist/typescript-fetch/models/CaseModelReq.js +3 -3
- package/dist/typescript-fetch/models/CaseModelRes.d.ts +3 -3
- package/dist/typescript-fetch/models/CaseModelRes.js +3 -3
- package/dist/typescript-fetch/models/HypotheticalPlanEligibilityModel.d.ts +51 -0
- package/dist/typescript-fetch/models/HypotheticalPlanEligibilityModel.js +58 -0
- package/dist/typescript-fetch/models/HypotheticalPlanEligibilityModelReq.d.ts +51 -0
- package/dist/typescript-fetch/models/HypotheticalPlanEligibilityModelReq.js +58 -0
- package/dist/typescript-fetch/models/HypotheticalPlanEligibilityModelRes.d.ts +51 -0
- package/dist/typescript-fetch/models/HypotheticalPlanEligibilityModelRes.js +58 -0
- package/dist/typescript-fetch/models/MatchInnerCaseModel.d.ts +3 -3
- package/dist/typescript-fetch/models/MatchInnerCaseModel.js +3 -3
- package/dist/typescript-fetch/models/MatchInnerCaseResponse.d.ts +3 -3
- package/dist/typescript-fetch/models/MatchInnerCaseResponse.js +3 -3
- package/dist/typescript-fetch/models/SubscriptionPlanEligibility.d.ts +55 -0
- package/dist/typescript-fetch/models/SubscriptionPlanEligibility.js +53 -0
- package/dist/typescript-fetch/models/SubscriptionPlanEligibilityReq.d.ts +55 -0
- package/dist/typescript-fetch/models/SubscriptionPlanEligibilityReq.js +53 -0
- package/dist/typescript-fetch/models/SubscriptionPlanEligibilityRes.d.ts +55 -0
- package/dist/typescript-fetch/models/SubscriptionPlanEligibilityRes.js +53 -0
- package/dist/typescript-fetch/models/WorkflowCaseModel.d.ts +3 -3
- package/dist/typescript-fetch/models/WorkflowCaseModel.js +3 -3
- package/dist/typescript-fetch/models/index.d.ts +6 -3
- package/dist/typescript-fetch/models/index.js +6 -3
- package/dist/typescript-open-api/otr-backend.d.ts +59 -30
- package/dist/typescript-open-api/otr-backend.js +18 -12
- package/package.json +1 -1
- package/dist/typescript-fetch/models/SubscriptionDiscountEligibility.d.ts +0 -48
- package/dist/typescript-fetch/models/SubscriptionDiscountEligibility.js +0 -50
- package/dist/typescript-fetch/models/SubscriptionDiscountEligibilityReq.d.ts +0 -48
- package/dist/typescript-fetch/models/SubscriptionDiscountEligibilityReq.js +0 -50
- package/dist/typescript-fetch/models/SubscriptionDiscountEligibilityRes.d.ts +0 -48
- package/dist/typescript-fetch/models/SubscriptionDiscountEligibilityRes.js +0 -50
|
@@ -0,0 +1,25 @@
|
|
|
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 SubscriptionPlanEligibilityReq {
|
|
14
|
+
"hypotheticalEligibility"?: models.HypotheticalPlanEligibilityModelReq;
|
|
15
|
+
"productName"?: string;
|
|
16
|
+
"subscriptionDiscountEligibilityType"?: SubscriptionPlanEligibilityReq.SubscriptionDiscountEligibilityTypeEnum;
|
|
17
|
+
"uiSubscriptionEligibilityMsg"?: string;
|
|
18
|
+
}
|
|
19
|
+
export declare namespace SubscriptionPlanEligibilityReq {
|
|
20
|
+
enum SubscriptionDiscountEligibilityTypeEnum {
|
|
21
|
+
ISELIGIBLE,
|
|
22
|
+
ISNOTELIGIBLE,
|
|
23
|
+
NOTAPPLICABLE
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
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 SubscriptionPlanEligibilityReq;
|
|
13
|
+
(function (SubscriptionPlanEligibilityReq) {
|
|
14
|
+
let SubscriptionDiscountEligibilityTypeEnum;
|
|
15
|
+
(function (SubscriptionDiscountEligibilityTypeEnum) {
|
|
16
|
+
SubscriptionDiscountEligibilityTypeEnum[SubscriptionDiscountEligibilityTypeEnum["ISELIGIBLE"] = 'IS_ELIGIBLE'] = "ISELIGIBLE";
|
|
17
|
+
SubscriptionDiscountEligibilityTypeEnum[SubscriptionDiscountEligibilityTypeEnum["ISNOTELIGIBLE"] = 'IS_NOT_ELIGIBLE'] = "ISNOTELIGIBLE";
|
|
18
|
+
SubscriptionDiscountEligibilityTypeEnum[SubscriptionDiscountEligibilityTypeEnum["NOTAPPLICABLE"] = 'NOT_APPLICABLE'] = "NOTAPPLICABLE";
|
|
19
|
+
})(SubscriptionDiscountEligibilityTypeEnum = SubscriptionPlanEligibilityReq.SubscriptionDiscountEligibilityTypeEnum || (SubscriptionPlanEligibilityReq.SubscriptionDiscountEligibilityTypeEnum = {}));
|
|
20
|
+
})(SubscriptionPlanEligibilityReq || (SubscriptionPlanEligibilityReq = {}));
|
|
@@ -0,0 +1,25 @@
|
|
|
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 SubscriptionPlanEligibilityRes {
|
|
14
|
+
"hypotheticalEligibility"?: models.HypotheticalPlanEligibilityModelRes;
|
|
15
|
+
"productName"?: string;
|
|
16
|
+
"subscriptionDiscountEligibilityType"?: SubscriptionPlanEligibilityRes.SubscriptionDiscountEligibilityTypeEnum;
|
|
17
|
+
"uiSubscriptionEligibilityMsg"?: string;
|
|
18
|
+
}
|
|
19
|
+
export declare namespace SubscriptionPlanEligibilityRes {
|
|
20
|
+
enum SubscriptionDiscountEligibilityTypeEnum {
|
|
21
|
+
ISELIGIBLE,
|
|
22
|
+
ISNOTELIGIBLE,
|
|
23
|
+
NOTAPPLICABLE
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
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 SubscriptionPlanEligibilityRes;
|
|
13
|
+
(function (SubscriptionPlanEligibilityRes) {
|
|
14
|
+
let SubscriptionDiscountEligibilityTypeEnum;
|
|
15
|
+
(function (SubscriptionDiscountEligibilityTypeEnum) {
|
|
16
|
+
SubscriptionDiscountEligibilityTypeEnum[SubscriptionDiscountEligibilityTypeEnum["ISELIGIBLE"] = 'IS_ELIGIBLE'] = "ISELIGIBLE";
|
|
17
|
+
SubscriptionDiscountEligibilityTypeEnum[SubscriptionDiscountEligibilityTypeEnum["ISNOTELIGIBLE"] = 'IS_NOT_ELIGIBLE'] = "ISNOTELIGIBLE";
|
|
18
|
+
SubscriptionDiscountEligibilityTypeEnum[SubscriptionDiscountEligibilityTypeEnum["NOTAPPLICABLE"] = 'NOT_APPLICABLE'] = "NOTAPPLICABLE";
|
|
19
|
+
})(SubscriptionDiscountEligibilityTypeEnum = SubscriptionPlanEligibilityRes.SubscriptionDiscountEligibilityTypeEnum || (SubscriptionPlanEligibilityRes.SubscriptionDiscountEligibilityTypeEnum = {}));
|
|
20
|
+
})(SubscriptionPlanEligibilityRes || (SubscriptionPlanEligibilityRes = {}));
|
|
@@ -25,7 +25,7 @@ export interface WorkflowCaseModel {
|
|
|
25
25
|
"paymentPlanTypeModel"?: models.PaymentPlanTypeModel;
|
|
26
26
|
"referralCode"?: string;
|
|
27
27
|
"referralCodeOwner"?: WorkflowCaseModel.ReferralCodeOwnerEnum;
|
|
28
|
-
"subscriptionDiscountEligibility"?: models.
|
|
28
|
+
"subscriptionDiscountEligibility"?: models.SubscriptionPlanEligibility;
|
|
29
29
|
"userId"?: number;
|
|
30
30
|
}
|
|
31
31
|
export declare namespace WorkflowCaseModel {
|
|
@@ -406,6 +406,9 @@ export * from './GptFunctionModel';
|
|
|
406
406
|
export * from './GraphRequest';
|
|
407
407
|
export * from './HandleOrphanedStripeChargeRequest';
|
|
408
408
|
export * from './HandleOrphanedStripeChargeResponse';
|
|
409
|
+
export * from './HypotheticalPlanEligibilityModel';
|
|
410
|
+
export * from './HypotheticalPlanEligibilityModelReq';
|
|
411
|
+
export * from './HypotheticalPlanEligibilityModelRes';
|
|
409
412
|
export * from './IncomingEmail';
|
|
410
413
|
export * from './IncomingEmailModels';
|
|
411
414
|
export * from './IncomingEmailRequest';
|
|
@@ -714,10 +717,10 @@ export * from './StripeTransferSyncResults';
|
|
|
714
717
|
export * from './SubscribeRequest';
|
|
715
718
|
export * from './Subscriber';
|
|
716
719
|
export * from './SubscriberDomain';
|
|
717
|
-
export * from './SubscriptionDiscountEligibility';
|
|
718
|
-
export * from './SubscriptionDiscountEligibilityReq';
|
|
719
|
-
export * from './SubscriptionDiscountEligibilityRes';
|
|
720
720
|
export * from './SubscriptionGuardianModel';
|
|
721
|
+
export * from './SubscriptionPlanEligibility';
|
|
722
|
+
export * from './SubscriptionPlanEligibilityReq';
|
|
723
|
+
export * from './SubscriptionPlanEligibilityRes';
|
|
721
724
|
export * from './SupportedStateModel';
|
|
722
725
|
export * from './SyncStripeChargesRequest';
|
|
723
726
|
export * from './SyncStripeChargesResponse';
|
|
@@ -406,6 +406,9 @@ export * from './GptFunctionModel';
|
|
|
406
406
|
export * from './GraphRequest';
|
|
407
407
|
export * from './HandleOrphanedStripeChargeRequest';
|
|
408
408
|
export * from './HandleOrphanedStripeChargeResponse';
|
|
409
|
+
export * from './HypotheticalPlanEligibilityModel';
|
|
410
|
+
export * from './HypotheticalPlanEligibilityModelReq';
|
|
411
|
+
export * from './HypotheticalPlanEligibilityModelRes';
|
|
409
412
|
export * from './IncomingEmail';
|
|
410
413
|
export * from './IncomingEmailModels';
|
|
411
414
|
export * from './IncomingEmailRequest';
|
|
@@ -714,10 +717,10 @@ export * from './StripeTransferSyncResults';
|
|
|
714
717
|
export * from './SubscribeRequest';
|
|
715
718
|
export * from './Subscriber';
|
|
716
719
|
export * from './SubscriberDomain';
|
|
717
|
-
export * from './SubscriptionDiscountEligibility';
|
|
718
|
-
export * from './SubscriptionDiscountEligibilityReq';
|
|
719
|
-
export * from './SubscriptionDiscountEligibilityRes';
|
|
720
720
|
export * from './SubscriptionGuardianModel';
|
|
721
|
+
export * from './SubscriptionPlanEligibility';
|
|
722
|
+
export * from './SubscriptionPlanEligibilityReq';
|
|
723
|
+
export * from './SubscriptionPlanEligibilityRes';
|
|
721
724
|
export * from './SupportedStateModel';
|
|
722
725
|
export * from './SyncStripeChargesRequest';
|
|
723
726
|
export * from './SyncStripeChargesResponse';
|
|
@@ -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, PaymentCardInput, PaymentPlanTypeModel,
|
|
12
|
+
import { CancelationDetails, CaseActionDomain, CaseStatusDomain, CaseViolationPenalty, CitationModel, LawfirmCaseModel, LetterOfEngagement, PaymentCardInput, PaymentPlanTypeModel, SubscriptionPlanEligibility, Timestamp, UserDomain } from './';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -180,10 +180,10 @@ export interface CaseModel {
|
|
|
180
180
|
resolutionSummary?: string;
|
|
181
181
|
/**
|
|
182
182
|
*
|
|
183
|
-
* @type {
|
|
183
|
+
* @type {SubscriptionPlanEligibility}
|
|
184
184
|
* @memberof CaseModel
|
|
185
185
|
*/
|
|
186
|
-
subscriptionDiscountEligibility?:
|
|
186
|
+
subscriptionDiscountEligibility?: SubscriptionPlanEligibility;
|
|
187
187
|
/**
|
|
188
188
|
*
|
|
189
189
|
* @type {string}
|
|
@@ -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, PaymentCardInputFromJSON, PaymentCardInputToJSON, PaymentPlanTypeModelFromJSON, PaymentPlanTypeModelToJSON,
|
|
15
|
+
import { CancelationDetailsFromJSON, CancelationDetailsToJSON, CaseActionDomainFromJSON, CaseActionDomainToJSON, CaseStatusDomainFromJSON, CaseStatusDomainToJSON, CaseViolationPenaltyFromJSON, CaseViolationPenaltyToJSON, CitationModelFromJSON, CitationModelToJSON, LawfirmCaseModelFromJSON, LawfirmCaseModelToJSON, LetterOfEngagementFromJSON, LetterOfEngagementToJSON, PaymentCardInputFromJSON, PaymentCardInputToJSON, PaymentPlanTypeModelFromJSON, PaymentPlanTypeModelToJSON, SubscriptionPlanEligibilityFromJSON, SubscriptionPlanEligibilityToJSON, TimestampFromJSON, TimestampToJSON, UserDomainFromJSON, UserDomainToJSON, } from './';
|
|
16
16
|
export function CaseModelFromJSON(json) {
|
|
17
17
|
return CaseModelFromJSONTyped(json, false);
|
|
18
18
|
}
|
|
@@ -48,7 +48,7 @@ export function CaseModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
48
48
|
'referralCode': !exists(json, 'referralCode') ? undefined : json['referralCode'],
|
|
49
49
|
'refundEligibility': !exists(json, 'refundEligibility') ? undefined : json['refundEligibility'],
|
|
50
50
|
'resolutionSummary': !exists(json, 'resolutionSummary') ? undefined : json['resolutionSummary'],
|
|
51
|
-
'subscriptionDiscountEligibility': !exists(json, 'subscriptionDiscountEligibility') ? undefined :
|
|
51
|
+
'subscriptionDiscountEligibility': !exists(json, 'subscriptionDiscountEligibility') ? undefined : SubscriptionPlanEligibilityFromJSON(json['subscriptionDiscountEligibility']),
|
|
52
52
|
'uiRefundMsg': !exists(json, 'uiRefundMsg') ? undefined : json['uiRefundMsg'],
|
|
53
53
|
'user': !exists(json, 'user') ? undefined : UserDomainFromJSON(json['user']),
|
|
54
54
|
'userId': !exists(json, 'userId') ? undefined : json['userId'],
|
|
@@ -89,7 +89,7 @@ export function CaseModelToJSON(value) {
|
|
|
89
89
|
'referralCode': value.referralCode,
|
|
90
90
|
'refundEligibility': value.refundEligibility,
|
|
91
91
|
'resolutionSummary': value.resolutionSummary,
|
|
92
|
-
'subscriptionDiscountEligibility':
|
|
92
|
+
'subscriptionDiscountEligibility': SubscriptionPlanEligibilityToJSON(value.subscriptionDiscountEligibility),
|
|
93
93
|
'uiRefundMsg': value.uiRefundMsg,
|
|
94
94
|
'user': UserDomainToJSON(value.user),
|
|
95
95
|
'userId': value.userId,
|
|
@@ -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, PaymentCardInput, PaymentPlanTypeModelReq,
|
|
12
|
+
import { CancelationDetailsReq, CaseActionDomain, CaseStatusDomain, CaseViolationPenalty, CitationModelReq, LawfirmCaseModelReq, LetterOfEngagement, PaymentCardInput, PaymentPlanTypeModelReq, SubscriptionPlanEligibilityReq, TimestampReq, UserDomainReq } from './';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -180,10 +180,10 @@ export interface CaseModelReq {
|
|
|
180
180
|
resolutionSummary?: string;
|
|
181
181
|
/**
|
|
182
182
|
*
|
|
183
|
-
* @type {
|
|
183
|
+
* @type {SubscriptionPlanEligibilityReq}
|
|
184
184
|
* @memberof CaseModelReq
|
|
185
185
|
*/
|
|
186
|
-
subscriptionDiscountEligibility?:
|
|
186
|
+
subscriptionDiscountEligibility?: SubscriptionPlanEligibilityReq;
|
|
187
187
|
/**
|
|
188
188
|
*
|
|
189
189
|
* @type {string}
|
|
@@ -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, PaymentCardInputFromJSON, PaymentCardInputToJSON, PaymentPlanTypeModelReqFromJSON, PaymentPlanTypeModelReqToJSON,
|
|
15
|
+
import { CancelationDetailsReqFromJSON, CancelationDetailsReqToJSON, CaseActionDomainFromJSON, CaseActionDomainToJSON, CaseStatusDomainFromJSON, CaseStatusDomainToJSON, CaseViolationPenaltyFromJSON, CaseViolationPenaltyToJSON, CitationModelReqFromJSON, CitationModelReqToJSON, LawfirmCaseModelReqFromJSON, LawfirmCaseModelReqToJSON, LetterOfEngagementFromJSON, LetterOfEngagementToJSON, PaymentCardInputFromJSON, PaymentCardInputToJSON, PaymentPlanTypeModelReqFromJSON, PaymentPlanTypeModelReqToJSON, SubscriptionPlanEligibilityReqFromJSON, SubscriptionPlanEligibilityReqToJSON, TimestampReqFromJSON, TimestampReqToJSON, UserDomainReqFromJSON, UserDomainReqToJSON, } from './';
|
|
16
16
|
export function CaseModelReqFromJSON(json) {
|
|
17
17
|
return CaseModelReqFromJSONTyped(json, false);
|
|
18
18
|
}
|
|
@@ -48,7 +48,7 @@ export function CaseModelReqFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
48
48
|
'referralCode': !exists(json, 'referralCode') ? undefined : json['referralCode'],
|
|
49
49
|
'refundEligibility': !exists(json, 'refundEligibility') ? undefined : json['refundEligibility'],
|
|
50
50
|
'resolutionSummary': !exists(json, 'resolutionSummary') ? undefined : json['resolutionSummary'],
|
|
51
|
-
'subscriptionDiscountEligibility': !exists(json, 'subscriptionDiscountEligibility') ? undefined :
|
|
51
|
+
'subscriptionDiscountEligibility': !exists(json, 'subscriptionDiscountEligibility') ? undefined : SubscriptionPlanEligibilityReqFromJSON(json['subscriptionDiscountEligibility']),
|
|
52
52
|
'uiRefundMsg': !exists(json, 'uiRefundMsg') ? undefined : json['uiRefundMsg'],
|
|
53
53
|
'user': !exists(json, 'user') ? undefined : UserDomainReqFromJSON(json['user']),
|
|
54
54
|
'userId': !exists(json, 'userId') ? undefined : json['userId'],
|
|
@@ -89,7 +89,7 @@ export function CaseModelReqToJSON(value) {
|
|
|
89
89
|
'referralCode': value.referralCode,
|
|
90
90
|
'refundEligibility': value.refundEligibility,
|
|
91
91
|
'resolutionSummary': value.resolutionSummary,
|
|
92
|
-
'subscriptionDiscountEligibility':
|
|
92
|
+
'subscriptionDiscountEligibility': SubscriptionPlanEligibilityReqToJSON(value.subscriptionDiscountEligibility),
|
|
93
93
|
'uiRefundMsg': value.uiRefundMsg,
|
|
94
94
|
'user': UserDomainReqToJSON(value.user),
|
|
95
95
|
'userId': value.userId,
|
|
@@ -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, PaymentCardInput, PaymentPlanTypeModelRes,
|
|
12
|
+
import { CancelationDetailsRes, CaseActionDomain, CaseStatusDomain, CaseViolationPenalty, CitationModelRes, LawfirmCaseModelRes, LetterOfEngagement, PaymentCardInput, PaymentPlanTypeModelRes, SubscriptionPlanEligibilityRes, TimestampRes, UserDomainRes } from './';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -180,10 +180,10 @@ export interface CaseModelRes {
|
|
|
180
180
|
resolutionSummary?: string;
|
|
181
181
|
/**
|
|
182
182
|
*
|
|
183
|
-
* @type {
|
|
183
|
+
* @type {SubscriptionPlanEligibilityRes}
|
|
184
184
|
* @memberof CaseModelRes
|
|
185
185
|
*/
|
|
186
|
-
subscriptionDiscountEligibility?:
|
|
186
|
+
subscriptionDiscountEligibility?: SubscriptionPlanEligibilityRes;
|
|
187
187
|
/**
|
|
188
188
|
*
|
|
189
189
|
* @type {string}
|
|
@@ -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, PaymentCardInputFromJSON, PaymentCardInputToJSON, PaymentPlanTypeModelResFromJSON, PaymentPlanTypeModelResToJSON,
|
|
15
|
+
import { CancelationDetailsResFromJSON, CancelationDetailsResToJSON, CaseActionDomainFromJSON, CaseActionDomainToJSON, CaseStatusDomainFromJSON, CaseStatusDomainToJSON, CaseViolationPenaltyFromJSON, CaseViolationPenaltyToJSON, CitationModelResFromJSON, CitationModelResToJSON, LawfirmCaseModelResFromJSON, LawfirmCaseModelResToJSON, LetterOfEngagementFromJSON, LetterOfEngagementToJSON, PaymentCardInputFromJSON, PaymentCardInputToJSON, PaymentPlanTypeModelResFromJSON, PaymentPlanTypeModelResToJSON, SubscriptionPlanEligibilityResFromJSON, SubscriptionPlanEligibilityResToJSON, TimestampResFromJSON, TimestampResToJSON, UserDomainResFromJSON, UserDomainResToJSON, } from './';
|
|
16
16
|
export function CaseModelResFromJSON(json) {
|
|
17
17
|
return CaseModelResFromJSONTyped(json, false);
|
|
18
18
|
}
|
|
@@ -48,7 +48,7 @@ export function CaseModelResFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
48
48
|
'referralCode': !exists(json, 'referralCode') ? undefined : json['referralCode'],
|
|
49
49
|
'refundEligibility': !exists(json, 'refundEligibility') ? undefined : json['refundEligibility'],
|
|
50
50
|
'resolutionSummary': !exists(json, 'resolutionSummary') ? undefined : json['resolutionSummary'],
|
|
51
|
-
'subscriptionDiscountEligibility': !exists(json, 'subscriptionDiscountEligibility') ? undefined :
|
|
51
|
+
'subscriptionDiscountEligibility': !exists(json, 'subscriptionDiscountEligibility') ? undefined : SubscriptionPlanEligibilityResFromJSON(json['subscriptionDiscountEligibility']),
|
|
52
52
|
'uiRefundMsg': !exists(json, 'uiRefundMsg') ? undefined : json['uiRefundMsg'],
|
|
53
53
|
'user': !exists(json, 'user') ? undefined : UserDomainResFromJSON(json['user']),
|
|
54
54
|
'userId': !exists(json, 'userId') ? undefined : json['userId'],
|
|
@@ -89,7 +89,7 @@ export function CaseModelResToJSON(value) {
|
|
|
89
89
|
'referralCode': value.referralCode,
|
|
90
90
|
'refundEligibility': value.refundEligibility,
|
|
91
91
|
'resolutionSummary': value.resolutionSummary,
|
|
92
|
-
'subscriptionDiscountEligibility':
|
|
92
|
+
'subscriptionDiscountEligibility': SubscriptionPlanEligibilityResToJSON(value.subscriptionDiscountEligibility),
|
|
93
93
|
'uiRefundMsg': value.uiRefundMsg,
|
|
94
94
|
'user': UserDomainResToJSON(value.user),
|
|
95
95
|
'userId': value.userId,
|
|
@@ -0,0 +1,51 @@
|
|
|
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 HypotheticalPlanEligibilityModel
|
|
16
|
+
*/
|
|
17
|
+
export interface HypotheticalPlanEligibilityModel {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof HypotheticalPlanEligibilityModel
|
|
22
|
+
*/
|
|
23
|
+
hypotheticalEligibility?: HypotheticalPlanEligibilityModelHypotheticalEligibilityEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof HypotheticalPlanEligibilityModel
|
|
28
|
+
*/
|
|
29
|
+
productName?: HypotheticalPlanEligibilityModelProductNameEnum;
|
|
30
|
+
}
|
|
31
|
+
export declare function HypotheticalPlanEligibilityModelFromJSON(json: any): HypotheticalPlanEligibilityModel;
|
|
32
|
+
export declare function HypotheticalPlanEligibilityModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): HypotheticalPlanEligibilityModel;
|
|
33
|
+
export declare function HypotheticalPlanEligibilityModelToJSON(value?: HypotheticalPlanEligibilityModel | null): any;
|
|
34
|
+
/**
|
|
35
|
+
* @export
|
|
36
|
+
* @enum {string}
|
|
37
|
+
*/
|
|
38
|
+
export declare enum HypotheticalPlanEligibilityModelHypotheticalEligibilityEnum {
|
|
39
|
+
FULLYELIGIBLE = "FULLY_ELIGIBLE",
|
|
40
|
+
NOTELIGIBLE = "NOT_ELIGIBLE",
|
|
41
|
+
PARTIALLYELIGIBLE = "PARTIALLY_ELIGIBLE"
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
* @enum {string}
|
|
46
|
+
*/
|
|
47
|
+
export declare enum HypotheticalPlanEligibilityModelProductNameEnum {
|
|
48
|
+
CONVOYPRO = "CONVOY_PRO",
|
|
49
|
+
OTRFASTLANE = "OTR_FASTLANE",
|
|
50
|
+
OTRFASTLANETEEN = "OTR_FASTLANE_TEEN"
|
|
51
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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 HypotheticalPlanEligibilityModelFromJSON(json) {
|
|
16
|
+
return HypotheticalPlanEligibilityModelFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function HypotheticalPlanEligibilityModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
+
if ((json === undefined) || (json === null)) {
|
|
20
|
+
return json;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'hypotheticalEligibility': !exists(json, 'hypotheticalEligibility') ? undefined : json['hypotheticalEligibility'],
|
|
24
|
+
'productName': !exists(json, 'productName') ? undefined : json['productName'],
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export function HypotheticalPlanEligibilityModelToJSON(value) {
|
|
28
|
+
if (value === undefined) {
|
|
29
|
+
return undefined;
|
|
30
|
+
}
|
|
31
|
+
if (value === null) {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'hypotheticalEligibility': value.hypotheticalEligibility,
|
|
36
|
+
'productName': value.productName,
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* @export
|
|
41
|
+
* @enum {string}
|
|
42
|
+
*/
|
|
43
|
+
export var HypotheticalPlanEligibilityModelHypotheticalEligibilityEnum;
|
|
44
|
+
(function (HypotheticalPlanEligibilityModelHypotheticalEligibilityEnum) {
|
|
45
|
+
HypotheticalPlanEligibilityModelHypotheticalEligibilityEnum["FULLYELIGIBLE"] = "FULLY_ELIGIBLE";
|
|
46
|
+
HypotheticalPlanEligibilityModelHypotheticalEligibilityEnum["NOTELIGIBLE"] = "NOT_ELIGIBLE";
|
|
47
|
+
HypotheticalPlanEligibilityModelHypotheticalEligibilityEnum["PARTIALLYELIGIBLE"] = "PARTIALLY_ELIGIBLE";
|
|
48
|
+
})(HypotheticalPlanEligibilityModelHypotheticalEligibilityEnum || (HypotheticalPlanEligibilityModelHypotheticalEligibilityEnum = {}));
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
* @enum {string}
|
|
52
|
+
*/
|
|
53
|
+
export var HypotheticalPlanEligibilityModelProductNameEnum;
|
|
54
|
+
(function (HypotheticalPlanEligibilityModelProductNameEnum) {
|
|
55
|
+
HypotheticalPlanEligibilityModelProductNameEnum["CONVOYPRO"] = "CONVOY_PRO";
|
|
56
|
+
HypotheticalPlanEligibilityModelProductNameEnum["OTRFASTLANE"] = "OTR_FASTLANE";
|
|
57
|
+
HypotheticalPlanEligibilityModelProductNameEnum["OTRFASTLANETEEN"] = "OTR_FASTLANE_TEEN";
|
|
58
|
+
})(HypotheticalPlanEligibilityModelProductNameEnum || (HypotheticalPlanEligibilityModelProductNameEnum = {}));
|
|
@@ -0,0 +1,51 @@
|
|
|
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 HypotheticalPlanEligibilityModelReq
|
|
16
|
+
*/
|
|
17
|
+
export interface HypotheticalPlanEligibilityModelReq {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof HypotheticalPlanEligibilityModelReq
|
|
22
|
+
*/
|
|
23
|
+
hypotheticalEligibility?: HypotheticalPlanEligibilityModelReqHypotheticalEligibilityEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof HypotheticalPlanEligibilityModelReq
|
|
28
|
+
*/
|
|
29
|
+
productName?: HypotheticalPlanEligibilityModelReqProductNameEnum;
|
|
30
|
+
}
|
|
31
|
+
export declare function HypotheticalPlanEligibilityModelReqFromJSON(json: any): HypotheticalPlanEligibilityModelReq;
|
|
32
|
+
export declare function HypotheticalPlanEligibilityModelReqFromJSONTyped(json: any, ignoreDiscriminator: boolean): HypotheticalPlanEligibilityModelReq;
|
|
33
|
+
export declare function HypotheticalPlanEligibilityModelReqToJSON(value?: HypotheticalPlanEligibilityModelReq | null): any;
|
|
34
|
+
/**
|
|
35
|
+
* @export
|
|
36
|
+
* @enum {string}
|
|
37
|
+
*/
|
|
38
|
+
export declare enum HypotheticalPlanEligibilityModelReqHypotheticalEligibilityEnum {
|
|
39
|
+
FULLYELIGIBLE = "FULLY_ELIGIBLE",
|
|
40
|
+
NOTELIGIBLE = "NOT_ELIGIBLE",
|
|
41
|
+
PARTIALLYELIGIBLE = "PARTIALLY_ELIGIBLE"
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
* @enum {string}
|
|
46
|
+
*/
|
|
47
|
+
export declare enum HypotheticalPlanEligibilityModelReqProductNameEnum {
|
|
48
|
+
CONVOYPRO = "CONVOY_PRO",
|
|
49
|
+
OTRFASTLANE = "OTR_FASTLANE",
|
|
50
|
+
OTRFASTLANETEEN = "OTR_FASTLANE_TEEN"
|
|
51
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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 HypotheticalPlanEligibilityModelReqFromJSON(json) {
|
|
16
|
+
return HypotheticalPlanEligibilityModelReqFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function HypotheticalPlanEligibilityModelReqFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
+
if ((json === undefined) || (json === null)) {
|
|
20
|
+
return json;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'hypotheticalEligibility': !exists(json, 'hypotheticalEligibility') ? undefined : json['hypotheticalEligibility'],
|
|
24
|
+
'productName': !exists(json, 'productName') ? undefined : json['productName'],
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export function HypotheticalPlanEligibilityModelReqToJSON(value) {
|
|
28
|
+
if (value === undefined) {
|
|
29
|
+
return undefined;
|
|
30
|
+
}
|
|
31
|
+
if (value === null) {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'hypotheticalEligibility': value.hypotheticalEligibility,
|
|
36
|
+
'productName': value.productName,
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* @export
|
|
41
|
+
* @enum {string}
|
|
42
|
+
*/
|
|
43
|
+
export var HypotheticalPlanEligibilityModelReqHypotheticalEligibilityEnum;
|
|
44
|
+
(function (HypotheticalPlanEligibilityModelReqHypotheticalEligibilityEnum) {
|
|
45
|
+
HypotheticalPlanEligibilityModelReqHypotheticalEligibilityEnum["FULLYELIGIBLE"] = "FULLY_ELIGIBLE";
|
|
46
|
+
HypotheticalPlanEligibilityModelReqHypotheticalEligibilityEnum["NOTELIGIBLE"] = "NOT_ELIGIBLE";
|
|
47
|
+
HypotheticalPlanEligibilityModelReqHypotheticalEligibilityEnum["PARTIALLYELIGIBLE"] = "PARTIALLY_ELIGIBLE";
|
|
48
|
+
})(HypotheticalPlanEligibilityModelReqHypotheticalEligibilityEnum || (HypotheticalPlanEligibilityModelReqHypotheticalEligibilityEnum = {}));
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
* @enum {string}
|
|
52
|
+
*/
|
|
53
|
+
export var HypotheticalPlanEligibilityModelReqProductNameEnum;
|
|
54
|
+
(function (HypotheticalPlanEligibilityModelReqProductNameEnum) {
|
|
55
|
+
HypotheticalPlanEligibilityModelReqProductNameEnum["CONVOYPRO"] = "CONVOY_PRO";
|
|
56
|
+
HypotheticalPlanEligibilityModelReqProductNameEnum["OTRFASTLANE"] = "OTR_FASTLANE";
|
|
57
|
+
HypotheticalPlanEligibilityModelReqProductNameEnum["OTRFASTLANETEEN"] = "OTR_FASTLANE_TEEN";
|
|
58
|
+
})(HypotheticalPlanEligibilityModelReqProductNameEnum || (HypotheticalPlanEligibilityModelReqProductNameEnum = {}));
|
|
@@ -0,0 +1,51 @@
|
|
|
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 HypotheticalPlanEligibilityModelRes
|
|
16
|
+
*/
|
|
17
|
+
export interface HypotheticalPlanEligibilityModelRes {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof HypotheticalPlanEligibilityModelRes
|
|
22
|
+
*/
|
|
23
|
+
hypotheticalEligibility?: HypotheticalPlanEligibilityModelResHypotheticalEligibilityEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof HypotheticalPlanEligibilityModelRes
|
|
28
|
+
*/
|
|
29
|
+
productName?: HypotheticalPlanEligibilityModelResProductNameEnum;
|
|
30
|
+
}
|
|
31
|
+
export declare function HypotheticalPlanEligibilityModelResFromJSON(json: any): HypotheticalPlanEligibilityModelRes;
|
|
32
|
+
export declare function HypotheticalPlanEligibilityModelResFromJSONTyped(json: any, ignoreDiscriminator: boolean): HypotheticalPlanEligibilityModelRes;
|
|
33
|
+
export declare function HypotheticalPlanEligibilityModelResToJSON(value?: HypotheticalPlanEligibilityModelRes | null): any;
|
|
34
|
+
/**
|
|
35
|
+
* @export
|
|
36
|
+
* @enum {string}
|
|
37
|
+
*/
|
|
38
|
+
export declare enum HypotheticalPlanEligibilityModelResHypotheticalEligibilityEnum {
|
|
39
|
+
FULLYELIGIBLE = "FULLY_ELIGIBLE",
|
|
40
|
+
NOTELIGIBLE = "NOT_ELIGIBLE",
|
|
41
|
+
PARTIALLYELIGIBLE = "PARTIALLY_ELIGIBLE"
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
* @enum {string}
|
|
46
|
+
*/
|
|
47
|
+
export declare enum HypotheticalPlanEligibilityModelResProductNameEnum {
|
|
48
|
+
CONVOYPRO = "CONVOY_PRO",
|
|
49
|
+
OTRFASTLANE = "OTR_FASTLANE",
|
|
50
|
+
OTRFASTLANETEEN = "OTR_FASTLANE_TEEN"
|
|
51
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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 HypotheticalPlanEligibilityModelResFromJSON(json) {
|
|
16
|
+
return HypotheticalPlanEligibilityModelResFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function HypotheticalPlanEligibilityModelResFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
+
if ((json === undefined) || (json === null)) {
|
|
20
|
+
return json;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'hypotheticalEligibility': !exists(json, 'hypotheticalEligibility') ? undefined : json['hypotheticalEligibility'],
|
|
24
|
+
'productName': !exists(json, 'productName') ? undefined : json['productName'],
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export function HypotheticalPlanEligibilityModelResToJSON(value) {
|
|
28
|
+
if (value === undefined) {
|
|
29
|
+
return undefined;
|
|
30
|
+
}
|
|
31
|
+
if (value === null) {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'hypotheticalEligibility': value.hypotheticalEligibility,
|
|
36
|
+
'productName': value.productName,
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* @export
|
|
41
|
+
* @enum {string}
|
|
42
|
+
*/
|
|
43
|
+
export var HypotheticalPlanEligibilityModelResHypotheticalEligibilityEnum;
|
|
44
|
+
(function (HypotheticalPlanEligibilityModelResHypotheticalEligibilityEnum) {
|
|
45
|
+
HypotheticalPlanEligibilityModelResHypotheticalEligibilityEnum["FULLYELIGIBLE"] = "FULLY_ELIGIBLE";
|
|
46
|
+
HypotheticalPlanEligibilityModelResHypotheticalEligibilityEnum["NOTELIGIBLE"] = "NOT_ELIGIBLE";
|
|
47
|
+
HypotheticalPlanEligibilityModelResHypotheticalEligibilityEnum["PARTIALLYELIGIBLE"] = "PARTIALLY_ELIGIBLE";
|
|
48
|
+
})(HypotheticalPlanEligibilityModelResHypotheticalEligibilityEnum || (HypotheticalPlanEligibilityModelResHypotheticalEligibilityEnum = {}));
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
* @enum {string}
|
|
52
|
+
*/
|
|
53
|
+
export var HypotheticalPlanEligibilityModelResProductNameEnum;
|
|
54
|
+
(function (HypotheticalPlanEligibilityModelResProductNameEnum) {
|
|
55
|
+
HypotheticalPlanEligibilityModelResProductNameEnum["CONVOYPRO"] = "CONVOY_PRO";
|
|
56
|
+
HypotheticalPlanEligibilityModelResProductNameEnum["OTRFASTLANE"] = "OTR_FASTLANE";
|
|
57
|
+
HypotheticalPlanEligibilityModelResProductNameEnum["OTRFASTLANETEEN"] = "OTR_FASTLANE_TEEN";
|
|
58
|
+
})(HypotheticalPlanEligibilityModelResProductNameEnum || (HypotheticalPlanEligibilityModelResProductNameEnum = {}));
|