@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
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { MatchCaseViolationPenaltyModel, MatchCitationModel, MatchLegalServiceModel, PaymentPlanTypeModel,
|
|
12
|
+
import { MatchCaseViolationPenaltyModel, MatchCitationModel, MatchLegalServiceModel, PaymentPlanTypeModel, SubscriptionPlanEligibility, Timestamp } from './';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -84,10 +84,10 @@ export interface MatchInnerCaseModel {
|
|
|
84
84
|
referralCodeOwner?: MatchInnerCaseModelReferralCodeOwnerEnum;
|
|
85
85
|
/**
|
|
86
86
|
*
|
|
87
|
-
* @type {
|
|
87
|
+
* @type {SubscriptionPlanEligibility}
|
|
88
88
|
* @memberof MatchInnerCaseModel
|
|
89
89
|
*/
|
|
90
|
-
subscriptionDiscountEligibility?:
|
|
90
|
+
subscriptionDiscountEligibility?: SubscriptionPlanEligibility;
|
|
91
91
|
/**
|
|
92
92
|
*
|
|
93
93
|
* @type {number}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
|
-
import { MatchCaseViolationPenaltyModelFromJSON, MatchCaseViolationPenaltyModelToJSON, MatchCitationModelFromJSON, MatchCitationModelToJSON, MatchLegalServiceModelFromJSON, MatchLegalServiceModelToJSON, PaymentPlanTypeModelFromJSON, PaymentPlanTypeModelToJSON,
|
|
15
|
+
import { MatchCaseViolationPenaltyModelFromJSON, MatchCaseViolationPenaltyModelToJSON, MatchCitationModelFromJSON, MatchCitationModelToJSON, MatchLegalServiceModelFromJSON, MatchLegalServiceModelToJSON, PaymentPlanTypeModelFromJSON, PaymentPlanTypeModelToJSON, SubscriptionPlanEligibilityFromJSON, SubscriptionPlanEligibilityToJSON, TimestampFromJSON, TimestampToJSON, } from './';
|
|
16
16
|
export function MatchInnerCaseModelFromJSON(json) {
|
|
17
17
|
return MatchInnerCaseModelFromJSONTyped(json, false);
|
|
18
18
|
}
|
|
@@ -32,7 +32,7 @@ export function MatchInnerCaseModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
32
|
'paymentPlanTypeModel': !exists(json, 'paymentPlanTypeModel') ? undefined : PaymentPlanTypeModelFromJSON(json['paymentPlanTypeModel']),
|
|
33
33
|
'referralCode': !exists(json, 'referralCode') ? undefined : json['referralCode'],
|
|
34
34
|
'referralCodeOwner': !exists(json, 'referralCodeOwner') ? undefined : json['referralCodeOwner'],
|
|
35
|
-
'subscriptionDiscountEligibility': !exists(json, 'subscriptionDiscountEligibility') ? undefined :
|
|
35
|
+
'subscriptionDiscountEligibility': !exists(json, 'subscriptionDiscountEligibility') ? undefined : SubscriptionPlanEligibilityFromJSON(json['subscriptionDiscountEligibility']),
|
|
36
36
|
'userId': !exists(json, 'userId') ? undefined : json['userId'],
|
|
37
37
|
};
|
|
38
38
|
}
|
|
@@ -55,7 +55,7 @@ export function MatchInnerCaseModelToJSON(value) {
|
|
|
55
55
|
'paymentPlanTypeModel': PaymentPlanTypeModelToJSON(value.paymentPlanTypeModel),
|
|
56
56
|
'referralCode': value.referralCode,
|
|
57
57
|
'referralCodeOwner': value.referralCodeOwner,
|
|
58
|
-
'subscriptionDiscountEligibility':
|
|
58
|
+
'subscriptionDiscountEligibility': SubscriptionPlanEligibilityToJSON(value.subscriptionDiscountEligibility),
|
|
59
59
|
'userId': value.userId,
|
|
60
60
|
};
|
|
61
61
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { CaseViolationPenalty, MatchCitationResponse, MatchLawfirmCaseResponse,
|
|
12
|
+
import { CaseViolationPenalty, MatchCitationResponse, MatchLawfirmCaseResponse, SubscriptionPlanEligibility } from './';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -60,10 +60,10 @@ export interface MatchInnerCaseResponse {
|
|
|
60
60
|
refundEligibility?: MatchInnerCaseResponseRefundEligibilityEnum;
|
|
61
61
|
/**
|
|
62
62
|
*
|
|
63
|
-
* @type {
|
|
63
|
+
* @type {SubscriptionPlanEligibility}
|
|
64
64
|
* @memberof MatchInnerCaseResponse
|
|
65
65
|
*/
|
|
66
|
-
subscriptionDiscountEligibility?:
|
|
66
|
+
subscriptionDiscountEligibility?: SubscriptionPlanEligibility;
|
|
67
67
|
/**
|
|
68
68
|
*
|
|
69
69
|
* @type {string}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
|
-
import { CaseViolationPenaltyFromJSON, CaseViolationPenaltyToJSON, MatchCitationResponseFromJSON, MatchCitationResponseToJSON, MatchLawfirmCaseResponseFromJSON, MatchLawfirmCaseResponseToJSON,
|
|
15
|
+
import { CaseViolationPenaltyFromJSON, CaseViolationPenaltyToJSON, MatchCitationResponseFromJSON, MatchCitationResponseToJSON, MatchLawfirmCaseResponseFromJSON, MatchLawfirmCaseResponseToJSON, SubscriptionPlanEligibilityFromJSON, SubscriptionPlanEligibilityToJSON, } from './';
|
|
16
16
|
export function MatchInnerCaseResponseFromJSON(json) {
|
|
17
17
|
return MatchInnerCaseResponseFromJSONTyped(json, false);
|
|
18
18
|
}
|
|
@@ -28,7 +28,7 @@ export function MatchInnerCaseResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
28
|
'maxPenalties': !exists(json, 'maxPenalties') ? undefined : (json['maxPenalties'].map(CaseViolationPenaltyFromJSON)),
|
|
29
29
|
'referralCodeOwner': !exists(json, 'referralCodeOwner') ? undefined : json['referralCodeOwner'],
|
|
30
30
|
'refundEligibility': !exists(json, 'refundEligibility') ? undefined : json['refundEligibility'],
|
|
31
|
-
'subscriptionDiscountEligibility': !exists(json, 'subscriptionDiscountEligibility') ? undefined :
|
|
31
|
+
'subscriptionDiscountEligibility': !exists(json, 'subscriptionDiscountEligibility') ? undefined : SubscriptionPlanEligibilityFromJSON(json['subscriptionDiscountEligibility']),
|
|
32
32
|
'uiReasonMsg': !exists(json, 'uiReasonMsg') ? undefined : json['uiReasonMsg'],
|
|
33
33
|
'userId': !exists(json, 'userId') ? undefined : json['userId'],
|
|
34
34
|
};
|
|
@@ -48,7 +48,7 @@ export function MatchInnerCaseResponseToJSON(value) {
|
|
|
48
48
|
'maxPenalties': value.maxPenalties === undefined ? undefined : (value.maxPenalties.map(CaseViolationPenaltyToJSON)),
|
|
49
49
|
'referralCodeOwner': value.referralCodeOwner,
|
|
50
50
|
'refundEligibility': value.refundEligibility,
|
|
51
|
-
'subscriptionDiscountEligibility':
|
|
51
|
+
'subscriptionDiscountEligibility': SubscriptionPlanEligibilityToJSON(value.subscriptionDiscountEligibility),
|
|
52
52
|
'uiReasonMsg': value.uiReasonMsg,
|
|
53
53
|
'userId': value.userId,
|
|
54
54
|
};
|
|
@@ -0,0 +1,55 @@
|
|
|
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 { HypotheticalPlanEligibilityModel } from './';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SubscriptionPlanEligibility
|
|
17
|
+
*/
|
|
18
|
+
export interface SubscriptionPlanEligibility {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {HypotheticalPlanEligibilityModel}
|
|
22
|
+
* @memberof SubscriptionPlanEligibility
|
|
23
|
+
*/
|
|
24
|
+
hypotheticalEligibility?: HypotheticalPlanEligibilityModel;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SubscriptionPlanEligibility
|
|
29
|
+
*/
|
|
30
|
+
productName?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SubscriptionPlanEligibility
|
|
35
|
+
*/
|
|
36
|
+
subscriptionDiscountEligibilityType?: SubscriptionPlanEligibilitySubscriptionDiscountEligibilityTypeEnum;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof SubscriptionPlanEligibility
|
|
41
|
+
*/
|
|
42
|
+
uiSubscriptionEligibilityMsg?: string;
|
|
43
|
+
}
|
|
44
|
+
export declare function SubscriptionPlanEligibilityFromJSON(json: any): SubscriptionPlanEligibility;
|
|
45
|
+
export declare function SubscriptionPlanEligibilityFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionPlanEligibility;
|
|
46
|
+
export declare function SubscriptionPlanEligibilityToJSON(value?: SubscriptionPlanEligibility | null): any;
|
|
47
|
+
/**
|
|
48
|
+
* @export
|
|
49
|
+
* @enum {string}
|
|
50
|
+
*/
|
|
51
|
+
export declare enum SubscriptionPlanEligibilitySubscriptionDiscountEligibilityTypeEnum {
|
|
52
|
+
ISELIGIBLE = "IS_ELIGIBLE",
|
|
53
|
+
ISNOTELIGIBLE = "IS_NOT_ELIGIBLE",
|
|
54
|
+
NOTAPPLICABLE = "NOT_APPLICABLE"
|
|
55
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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 { HypotheticalPlanEligibilityModelFromJSON, HypotheticalPlanEligibilityModelToJSON, } from './';
|
|
16
|
+
export function SubscriptionPlanEligibilityFromJSON(json) {
|
|
17
|
+
return SubscriptionPlanEligibilityFromJSONTyped(json, false);
|
|
18
|
+
}
|
|
19
|
+
export function SubscriptionPlanEligibilityFromJSONTyped(json, ignoreDiscriminator) {
|
|
20
|
+
if ((json === undefined) || (json === null)) {
|
|
21
|
+
return json;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'hypotheticalEligibility': !exists(json, 'hypotheticalEligibility') ? undefined : HypotheticalPlanEligibilityModelFromJSON(json['hypotheticalEligibility']),
|
|
25
|
+
'productName': !exists(json, 'productName') ? undefined : json['productName'],
|
|
26
|
+
'subscriptionDiscountEligibilityType': !exists(json, 'subscriptionDiscountEligibilityType') ? undefined : json['subscriptionDiscountEligibilityType'],
|
|
27
|
+
'uiSubscriptionEligibilityMsg': !exists(json, 'uiSubscriptionEligibilityMsg') ? undefined : json['uiSubscriptionEligibilityMsg'],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
export function SubscriptionPlanEligibilityToJSON(value) {
|
|
31
|
+
if (value === undefined) {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
if (value === null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'hypotheticalEligibility': HypotheticalPlanEligibilityModelToJSON(value.hypotheticalEligibility),
|
|
39
|
+
'productName': value.productName,
|
|
40
|
+
'subscriptionDiscountEligibilityType': value.subscriptionDiscountEligibilityType,
|
|
41
|
+
'uiSubscriptionEligibilityMsg': value.uiSubscriptionEligibilityMsg,
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* @export
|
|
46
|
+
* @enum {string}
|
|
47
|
+
*/
|
|
48
|
+
export var SubscriptionPlanEligibilitySubscriptionDiscountEligibilityTypeEnum;
|
|
49
|
+
(function (SubscriptionPlanEligibilitySubscriptionDiscountEligibilityTypeEnum) {
|
|
50
|
+
SubscriptionPlanEligibilitySubscriptionDiscountEligibilityTypeEnum["ISELIGIBLE"] = "IS_ELIGIBLE";
|
|
51
|
+
SubscriptionPlanEligibilitySubscriptionDiscountEligibilityTypeEnum["ISNOTELIGIBLE"] = "IS_NOT_ELIGIBLE";
|
|
52
|
+
SubscriptionPlanEligibilitySubscriptionDiscountEligibilityTypeEnum["NOTAPPLICABLE"] = "NOT_APPLICABLE";
|
|
53
|
+
})(SubscriptionPlanEligibilitySubscriptionDiscountEligibilityTypeEnum || (SubscriptionPlanEligibilitySubscriptionDiscountEligibilityTypeEnum = {}));
|
|
@@ -0,0 +1,55 @@
|
|
|
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 { HypotheticalPlanEligibilityModelReq } from './';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SubscriptionPlanEligibilityReq
|
|
17
|
+
*/
|
|
18
|
+
export interface SubscriptionPlanEligibilityReq {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {HypotheticalPlanEligibilityModelReq}
|
|
22
|
+
* @memberof SubscriptionPlanEligibilityReq
|
|
23
|
+
*/
|
|
24
|
+
hypotheticalEligibility?: HypotheticalPlanEligibilityModelReq;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SubscriptionPlanEligibilityReq
|
|
29
|
+
*/
|
|
30
|
+
productName?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SubscriptionPlanEligibilityReq
|
|
35
|
+
*/
|
|
36
|
+
subscriptionDiscountEligibilityType?: SubscriptionPlanEligibilityReqSubscriptionDiscountEligibilityTypeEnum;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof SubscriptionPlanEligibilityReq
|
|
41
|
+
*/
|
|
42
|
+
uiSubscriptionEligibilityMsg?: string;
|
|
43
|
+
}
|
|
44
|
+
export declare function SubscriptionPlanEligibilityReqFromJSON(json: any): SubscriptionPlanEligibilityReq;
|
|
45
|
+
export declare function SubscriptionPlanEligibilityReqFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionPlanEligibilityReq;
|
|
46
|
+
export declare function SubscriptionPlanEligibilityReqToJSON(value?: SubscriptionPlanEligibilityReq | null): any;
|
|
47
|
+
/**
|
|
48
|
+
* @export
|
|
49
|
+
* @enum {string}
|
|
50
|
+
*/
|
|
51
|
+
export declare enum SubscriptionPlanEligibilityReqSubscriptionDiscountEligibilityTypeEnum {
|
|
52
|
+
ISELIGIBLE = "IS_ELIGIBLE",
|
|
53
|
+
ISNOTELIGIBLE = "IS_NOT_ELIGIBLE",
|
|
54
|
+
NOTAPPLICABLE = "NOT_APPLICABLE"
|
|
55
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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 { HypotheticalPlanEligibilityModelReqFromJSON, HypotheticalPlanEligibilityModelReqToJSON, } from './';
|
|
16
|
+
export function SubscriptionPlanEligibilityReqFromJSON(json) {
|
|
17
|
+
return SubscriptionPlanEligibilityReqFromJSONTyped(json, false);
|
|
18
|
+
}
|
|
19
|
+
export function SubscriptionPlanEligibilityReqFromJSONTyped(json, ignoreDiscriminator) {
|
|
20
|
+
if ((json === undefined) || (json === null)) {
|
|
21
|
+
return json;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'hypotheticalEligibility': !exists(json, 'hypotheticalEligibility') ? undefined : HypotheticalPlanEligibilityModelReqFromJSON(json['hypotheticalEligibility']),
|
|
25
|
+
'productName': !exists(json, 'productName') ? undefined : json['productName'],
|
|
26
|
+
'subscriptionDiscountEligibilityType': !exists(json, 'subscriptionDiscountEligibilityType') ? undefined : json['subscriptionDiscountEligibilityType'],
|
|
27
|
+
'uiSubscriptionEligibilityMsg': !exists(json, 'uiSubscriptionEligibilityMsg') ? undefined : json['uiSubscriptionEligibilityMsg'],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
export function SubscriptionPlanEligibilityReqToJSON(value) {
|
|
31
|
+
if (value === undefined) {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
if (value === null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'hypotheticalEligibility': HypotheticalPlanEligibilityModelReqToJSON(value.hypotheticalEligibility),
|
|
39
|
+
'productName': value.productName,
|
|
40
|
+
'subscriptionDiscountEligibilityType': value.subscriptionDiscountEligibilityType,
|
|
41
|
+
'uiSubscriptionEligibilityMsg': value.uiSubscriptionEligibilityMsg,
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* @export
|
|
46
|
+
* @enum {string}
|
|
47
|
+
*/
|
|
48
|
+
export var SubscriptionPlanEligibilityReqSubscriptionDiscountEligibilityTypeEnum;
|
|
49
|
+
(function (SubscriptionPlanEligibilityReqSubscriptionDiscountEligibilityTypeEnum) {
|
|
50
|
+
SubscriptionPlanEligibilityReqSubscriptionDiscountEligibilityTypeEnum["ISELIGIBLE"] = "IS_ELIGIBLE";
|
|
51
|
+
SubscriptionPlanEligibilityReqSubscriptionDiscountEligibilityTypeEnum["ISNOTELIGIBLE"] = "IS_NOT_ELIGIBLE";
|
|
52
|
+
SubscriptionPlanEligibilityReqSubscriptionDiscountEligibilityTypeEnum["NOTAPPLICABLE"] = "NOT_APPLICABLE";
|
|
53
|
+
})(SubscriptionPlanEligibilityReqSubscriptionDiscountEligibilityTypeEnum || (SubscriptionPlanEligibilityReqSubscriptionDiscountEligibilityTypeEnum = {}));
|
|
@@ -0,0 +1,55 @@
|
|
|
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 { HypotheticalPlanEligibilityModelRes } from './';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SubscriptionPlanEligibilityRes
|
|
17
|
+
*/
|
|
18
|
+
export interface SubscriptionPlanEligibilityRes {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {HypotheticalPlanEligibilityModelRes}
|
|
22
|
+
* @memberof SubscriptionPlanEligibilityRes
|
|
23
|
+
*/
|
|
24
|
+
hypotheticalEligibility?: HypotheticalPlanEligibilityModelRes;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SubscriptionPlanEligibilityRes
|
|
29
|
+
*/
|
|
30
|
+
productName?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SubscriptionPlanEligibilityRes
|
|
35
|
+
*/
|
|
36
|
+
subscriptionDiscountEligibilityType?: SubscriptionPlanEligibilityResSubscriptionDiscountEligibilityTypeEnum;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof SubscriptionPlanEligibilityRes
|
|
41
|
+
*/
|
|
42
|
+
uiSubscriptionEligibilityMsg?: string;
|
|
43
|
+
}
|
|
44
|
+
export declare function SubscriptionPlanEligibilityResFromJSON(json: any): SubscriptionPlanEligibilityRes;
|
|
45
|
+
export declare function SubscriptionPlanEligibilityResFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionPlanEligibilityRes;
|
|
46
|
+
export declare function SubscriptionPlanEligibilityResToJSON(value?: SubscriptionPlanEligibilityRes | null): any;
|
|
47
|
+
/**
|
|
48
|
+
* @export
|
|
49
|
+
* @enum {string}
|
|
50
|
+
*/
|
|
51
|
+
export declare enum SubscriptionPlanEligibilityResSubscriptionDiscountEligibilityTypeEnum {
|
|
52
|
+
ISELIGIBLE = "IS_ELIGIBLE",
|
|
53
|
+
ISNOTELIGIBLE = "IS_NOT_ELIGIBLE",
|
|
54
|
+
NOTAPPLICABLE = "NOT_APPLICABLE"
|
|
55
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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 { HypotheticalPlanEligibilityModelResFromJSON, HypotheticalPlanEligibilityModelResToJSON, } from './';
|
|
16
|
+
export function SubscriptionPlanEligibilityResFromJSON(json) {
|
|
17
|
+
return SubscriptionPlanEligibilityResFromJSONTyped(json, false);
|
|
18
|
+
}
|
|
19
|
+
export function SubscriptionPlanEligibilityResFromJSONTyped(json, ignoreDiscriminator) {
|
|
20
|
+
if ((json === undefined) || (json === null)) {
|
|
21
|
+
return json;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'hypotheticalEligibility': !exists(json, 'hypotheticalEligibility') ? undefined : HypotheticalPlanEligibilityModelResFromJSON(json['hypotheticalEligibility']),
|
|
25
|
+
'productName': !exists(json, 'productName') ? undefined : json['productName'],
|
|
26
|
+
'subscriptionDiscountEligibilityType': !exists(json, 'subscriptionDiscountEligibilityType') ? undefined : json['subscriptionDiscountEligibilityType'],
|
|
27
|
+
'uiSubscriptionEligibilityMsg': !exists(json, 'uiSubscriptionEligibilityMsg') ? undefined : json['uiSubscriptionEligibilityMsg'],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
export function SubscriptionPlanEligibilityResToJSON(value) {
|
|
31
|
+
if (value === undefined) {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
if (value === null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'hypotheticalEligibility': HypotheticalPlanEligibilityModelResToJSON(value.hypotheticalEligibility),
|
|
39
|
+
'productName': value.productName,
|
|
40
|
+
'subscriptionDiscountEligibilityType': value.subscriptionDiscountEligibilityType,
|
|
41
|
+
'uiSubscriptionEligibilityMsg': value.uiSubscriptionEligibilityMsg,
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* @export
|
|
46
|
+
* @enum {string}
|
|
47
|
+
*/
|
|
48
|
+
export var SubscriptionPlanEligibilityResSubscriptionDiscountEligibilityTypeEnum;
|
|
49
|
+
(function (SubscriptionPlanEligibilityResSubscriptionDiscountEligibilityTypeEnum) {
|
|
50
|
+
SubscriptionPlanEligibilityResSubscriptionDiscountEligibilityTypeEnum["ISELIGIBLE"] = "IS_ELIGIBLE";
|
|
51
|
+
SubscriptionPlanEligibilityResSubscriptionDiscountEligibilityTypeEnum["ISNOTELIGIBLE"] = "IS_NOT_ELIGIBLE";
|
|
52
|
+
SubscriptionPlanEligibilityResSubscriptionDiscountEligibilityTypeEnum["NOTAPPLICABLE"] = "NOT_APPLICABLE";
|
|
53
|
+
})(SubscriptionPlanEligibilityResSubscriptionDiscountEligibilityTypeEnum || (SubscriptionPlanEligibilityResSubscriptionDiscountEligibilityTypeEnum = {}));
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { DefendantDetailsModel, LegalServiceModel, LetterOfEngagement, PaymentPlanTypeModel,
|
|
12
|
+
import { DefendantDetailsModel, LegalServiceModel, LetterOfEngagement, PaymentPlanTypeModel, SubscriptionPlanEligibility, Timestamp, UnavailableMatchAttributesModel, WorkflowCitationModel, WorkflowViolationPenaltyModel } from './';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -102,10 +102,10 @@ export interface WorkflowCaseModel {
|
|
|
102
102
|
referralCodeOwner?: WorkflowCaseModelReferralCodeOwnerEnum;
|
|
103
103
|
/**
|
|
104
104
|
*
|
|
105
|
-
* @type {
|
|
105
|
+
* @type {SubscriptionPlanEligibility}
|
|
106
106
|
* @memberof WorkflowCaseModel
|
|
107
107
|
*/
|
|
108
|
-
subscriptionDiscountEligibility?:
|
|
108
|
+
subscriptionDiscountEligibility?: SubscriptionPlanEligibility;
|
|
109
109
|
/**
|
|
110
110
|
*
|
|
111
111
|
* @type {number}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
|
-
import { DefendantDetailsModelFromJSON, DefendantDetailsModelToJSON, LegalServiceModelFromJSON, LegalServiceModelToJSON, LetterOfEngagementFromJSON, LetterOfEngagementToJSON, PaymentPlanTypeModelFromJSON, PaymentPlanTypeModelToJSON,
|
|
15
|
+
import { DefendantDetailsModelFromJSON, DefendantDetailsModelToJSON, LegalServiceModelFromJSON, LegalServiceModelToJSON, LetterOfEngagementFromJSON, LetterOfEngagementToJSON, PaymentPlanTypeModelFromJSON, PaymentPlanTypeModelToJSON, SubscriptionPlanEligibilityFromJSON, SubscriptionPlanEligibilityToJSON, TimestampFromJSON, TimestampToJSON, UnavailableMatchAttributesModelFromJSON, UnavailableMatchAttributesModelToJSON, WorkflowCitationModelFromJSON, WorkflowCitationModelToJSON, WorkflowViolationPenaltyModelFromJSON, WorkflowViolationPenaltyModelToJSON, } from './';
|
|
16
16
|
export function WorkflowCaseModelFromJSON(json) {
|
|
17
17
|
return WorkflowCaseModelFromJSONTyped(json, false);
|
|
18
18
|
}
|
|
@@ -35,7 +35,7 @@ export function WorkflowCaseModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
'paymentPlanTypeModel': !exists(json, 'paymentPlanTypeModel') ? undefined : PaymentPlanTypeModelFromJSON(json['paymentPlanTypeModel']),
|
|
36
36
|
'referralCode': !exists(json, 'referralCode') ? undefined : json['referralCode'],
|
|
37
37
|
'referralCodeOwner': !exists(json, 'referralCodeOwner') ? undefined : json['referralCodeOwner'],
|
|
38
|
-
'subscriptionDiscountEligibility': !exists(json, 'subscriptionDiscountEligibility') ? undefined :
|
|
38
|
+
'subscriptionDiscountEligibility': !exists(json, 'subscriptionDiscountEligibility') ? undefined : SubscriptionPlanEligibilityFromJSON(json['subscriptionDiscountEligibility']),
|
|
39
39
|
'userId': !exists(json, 'userId') ? undefined : json['userId'],
|
|
40
40
|
};
|
|
41
41
|
}
|
|
@@ -61,7 +61,7 @@ export function WorkflowCaseModelToJSON(value) {
|
|
|
61
61
|
'paymentPlanTypeModel': PaymentPlanTypeModelToJSON(value.paymentPlanTypeModel),
|
|
62
62
|
'referralCode': value.referralCode,
|
|
63
63
|
'referralCodeOwner': value.referralCodeOwner,
|
|
64
|
-
'subscriptionDiscountEligibility':
|
|
64
|
+
'subscriptionDiscountEligibility': SubscriptionPlanEligibilityToJSON(value.subscriptionDiscountEligibility),
|
|
65
65
|
'userId': value.userId,
|
|
66
66
|
};
|
|
67
67
|
}
|
|
@@ -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';
|