@otr-app/shared-backend-generated-client 2.5.51 → 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.
Files changed (96) hide show
  1. package/dist/angular/.openapi-generator/FILES +9 -3
  2. package/dist/angular/model/caseModel.ts +2 -2
  3. package/dist/angular/model/caseModelReq.ts +2 -2
  4. package/dist/angular/model/caseModelRes.ts +2 -2
  5. package/dist/angular/model/hypotheticalPlanEligibilityModel.ts +33 -0
  6. package/dist/angular/model/hypotheticalPlanEligibilityModelReq.ts +33 -0
  7. package/dist/angular/model/hypotheticalPlanEligibilityModelRes.ts +33 -0
  8. package/dist/angular/model/matchInnerCaseModel.ts +2 -2
  9. package/dist/angular/model/matchInnerCaseResponse.ts +2 -2
  10. package/dist/angular/model/models.ts +9 -3
  11. package/dist/angular/model/subscriptionPlanEligibility.ts +30 -0
  12. package/dist/angular/model/subscriptionPlanEligibilityReq.ts +30 -0
  13. package/dist/angular/model/subscriptionPlanEligibilityRes.ts +30 -0
  14. package/dist/angular/model/userDomain.ts +2 -0
  15. package/dist/angular/model/userDomainReq.ts +2 -0
  16. package/dist/angular/model/userDomainRes.ts +2 -0
  17. package/dist/angular/model/userHouseholdBeneficiaryModel.ts +33 -0
  18. package/dist/angular/model/userHouseholdBeneficiaryModelReq.ts +33 -0
  19. package/dist/angular/model/userHouseholdBeneficiaryModelRes.ts +33 -0
  20. package/dist/angular/model/workflowCaseModel.ts +2 -2
  21. package/dist/typescript/model/CaseModel.d.ts +1 -1
  22. package/dist/typescript/model/CaseModelReq.d.ts +1 -1
  23. package/dist/typescript/model/CaseModelRes.d.ts +1 -1
  24. package/dist/typescript/model/HypotheticalPlanEligibilityModel.d.ts +27 -0
  25. package/dist/typescript/model/HypotheticalPlanEligibilityModel.js +26 -0
  26. package/dist/typescript/model/HypotheticalPlanEligibilityModelReq.d.ts +27 -0
  27. package/dist/typescript/model/HypotheticalPlanEligibilityModelReq.js +26 -0
  28. package/dist/typescript/model/HypotheticalPlanEligibilityModelRes.d.ts +27 -0
  29. package/dist/typescript/model/HypotheticalPlanEligibilityModelRes.js +26 -0
  30. package/dist/typescript/model/MatchInnerCaseModel.d.ts +1 -1
  31. package/dist/typescript/model/MatchInnerCaseResponse.d.ts +1 -1
  32. package/dist/typescript/model/SubscriptionPlanEligibility.d.ts +25 -0
  33. package/dist/typescript/model/SubscriptionPlanEligibility.js +20 -0
  34. package/dist/typescript/model/SubscriptionPlanEligibilityReq.d.ts +25 -0
  35. package/dist/typescript/model/SubscriptionPlanEligibilityReq.js +20 -0
  36. package/dist/typescript/model/SubscriptionPlanEligibilityRes.d.ts +25 -0
  37. package/dist/typescript/model/SubscriptionPlanEligibilityRes.js +20 -0
  38. package/dist/typescript/model/UserDomain.d.ts +1 -0
  39. package/dist/typescript/model/UserDomainReq.d.ts +1 -0
  40. package/dist/typescript/model/UserDomainRes.d.ts +1 -0
  41. package/dist/typescript/model/UserHouseholdBeneficiaryModel.d.ts +28 -0
  42. package/dist/typescript/model/UserHouseholdBeneficiaryModel.js +22 -0
  43. package/dist/typescript/model/UserHouseholdBeneficiaryModelReq.d.ts +28 -0
  44. package/dist/typescript/model/UserHouseholdBeneficiaryModelReq.js +22 -0
  45. package/dist/typescript/model/UserHouseholdBeneficiaryModelRes.d.ts +28 -0
  46. package/dist/typescript/model/UserHouseholdBeneficiaryModelRes.js +22 -0
  47. package/dist/typescript/model/WorkflowCaseModel.d.ts +1 -1
  48. package/dist/typescript/model/models.d.ts +9 -3
  49. package/dist/typescript/model/models.js +9 -3
  50. package/dist/typescript-fetch/models/CaseModel.d.ts +3 -3
  51. package/dist/typescript-fetch/models/CaseModel.js +3 -3
  52. package/dist/typescript-fetch/models/CaseModelReq.d.ts +3 -3
  53. package/dist/typescript-fetch/models/CaseModelReq.js +3 -3
  54. package/dist/typescript-fetch/models/CaseModelRes.d.ts +3 -3
  55. package/dist/typescript-fetch/models/CaseModelRes.js +3 -3
  56. package/dist/typescript-fetch/models/HypotheticalPlanEligibilityModel.d.ts +51 -0
  57. package/dist/typescript-fetch/models/HypotheticalPlanEligibilityModel.js +58 -0
  58. package/dist/typescript-fetch/models/HypotheticalPlanEligibilityModelReq.d.ts +51 -0
  59. package/dist/typescript-fetch/models/HypotheticalPlanEligibilityModelReq.js +58 -0
  60. package/dist/typescript-fetch/models/HypotheticalPlanEligibilityModelRes.d.ts +51 -0
  61. package/dist/typescript-fetch/models/HypotheticalPlanEligibilityModelRes.js +58 -0
  62. package/dist/typescript-fetch/models/MatchInnerCaseModel.d.ts +3 -3
  63. package/dist/typescript-fetch/models/MatchInnerCaseModel.js +3 -3
  64. package/dist/typescript-fetch/models/MatchInnerCaseResponse.d.ts +3 -3
  65. package/dist/typescript-fetch/models/MatchInnerCaseResponse.js +3 -3
  66. package/dist/typescript-fetch/models/SubscriptionPlanEligibility.d.ts +55 -0
  67. package/dist/typescript-fetch/models/SubscriptionPlanEligibility.js +53 -0
  68. package/dist/typescript-fetch/models/SubscriptionPlanEligibilityReq.d.ts +55 -0
  69. package/dist/typescript-fetch/models/SubscriptionPlanEligibilityReq.js +53 -0
  70. package/dist/typescript-fetch/models/SubscriptionPlanEligibilityRes.d.ts +55 -0
  71. package/dist/typescript-fetch/models/SubscriptionPlanEligibilityRes.js +53 -0
  72. package/dist/typescript-fetch/models/UserDomain.d.ts +7 -1
  73. package/dist/typescript-fetch/models/UserDomain.js +3 -1
  74. package/dist/typescript-fetch/models/UserDomainReq.d.ts +7 -1
  75. package/dist/typescript-fetch/models/UserDomainReq.js +3 -1
  76. package/dist/typescript-fetch/models/UserDomainRes.d.ts +7 -1
  77. package/dist/typescript-fetch/models/UserDomainRes.js +3 -1
  78. package/dist/typescript-fetch/models/UserHouseholdBeneficiaryModel.d.ts +68 -0
  79. package/dist/typescript-fetch/models/UserHouseholdBeneficiaryModel.js +58 -0
  80. package/dist/typescript-fetch/models/UserHouseholdBeneficiaryModelReq.d.ts +68 -0
  81. package/dist/typescript-fetch/models/UserHouseholdBeneficiaryModelReq.js +58 -0
  82. package/dist/typescript-fetch/models/UserHouseholdBeneficiaryModelRes.d.ts +68 -0
  83. package/dist/typescript-fetch/models/UserHouseholdBeneficiaryModelRes.js +58 -0
  84. package/dist/typescript-fetch/models/WorkflowCaseModel.d.ts +3 -3
  85. package/dist/typescript-fetch/models/WorkflowCaseModel.js +3 -3
  86. package/dist/typescript-fetch/models/index.d.ts +9 -3
  87. package/dist/typescript-fetch/models/index.js +9 -3
  88. package/dist/typescript-open-api/otr-backend.d.ts +98 -30
  89. package/dist/typescript-open-api/otr-backend.js +18 -12
  90. package/package.json +1 -1
  91. package/dist/typescript-fetch/models/SubscriptionDiscountEligibility.d.ts +0 -48
  92. package/dist/typescript-fetch/models/SubscriptionDiscountEligibility.js +0 -50
  93. package/dist/typescript-fetch/models/SubscriptionDiscountEligibilityReq.d.ts +0 -48
  94. package/dist/typescript-fetch/models/SubscriptionDiscountEligibilityReq.js +0 -50
  95. package/dist/typescript-fetch/models/SubscriptionDiscountEligibilityRes.d.ts +0 -48
  96. 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 { CancelationDetailsRes, CaseActionDomain, CaseStatusDomain, CaseViolationPenalty, CitationModelRes, LawfirmCaseModelRes, LetterOfEngagement, PaymentCardInput, PaymentPlanTypeModelRes, SubscriptionDiscountEligibilityRes, TimestampRes, UserDomainRes } from './';
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 {SubscriptionDiscountEligibilityRes}
183
+ * @type {SubscriptionPlanEligibilityRes}
184
184
  * @memberof CaseModelRes
185
185
  */
186
- subscriptionDiscountEligibility?: SubscriptionDiscountEligibilityRes;
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, 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, 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 : SubscriptionDiscountEligibilityResFromJSON(json['subscriptionDiscountEligibility']),
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': SubscriptionDiscountEligibilityResToJSON(value.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 = {}));
@@ -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, SubscriptionDiscountEligibility, Timestamp } from './';
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 {SubscriptionDiscountEligibility}
87
+ * @type {SubscriptionPlanEligibility}
88
88
  * @memberof MatchInnerCaseModel
89
89
  */
90
- subscriptionDiscountEligibility?: 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, SubscriptionDiscountEligibilityFromJSON, SubscriptionDiscountEligibilityToJSON, TimestampFromJSON, TimestampToJSON, } from './';
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 : SubscriptionDiscountEligibilityFromJSON(json['subscriptionDiscountEligibility']),
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': SubscriptionDiscountEligibilityToJSON(value.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, SubscriptionDiscountEligibility } from './';
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 {SubscriptionDiscountEligibility}
63
+ * @type {SubscriptionPlanEligibility}
64
64
  * @memberof MatchInnerCaseResponse
65
65
  */
66
- subscriptionDiscountEligibility?: 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, SubscriptionDiscountEligibilityFromJSON, SubscriptionDiscountEligibilityToJSON, } from './';
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 : SubscriptionDiscountEligibilityFromJSON(json['subscriptionDiscountEligibility']),
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': SubscriptionDiscountEligibilityToJSON(value.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
+ }