@otr-app/shared-backend-generated-client 2.5.52 → 2.5.54

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 (74) hide show
  1. package/dist/angular/.openapi-generator/FILES +6 -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 +6 -3
  11. package/dist/angular/model/socialLoginRequest.ts +6 -0
  12. package/dist/angular/model/subscriptionPlanEligibility.ts +30 -0
  13. package/dist/angular/model/subscriptionPlanEligibilityReq.ts +30 -0
  14. package/dist/angular/model/subscriptionPlanEligibilityRes.ts +30 -0
  15. package/dist/angular/model/workflowCaseModel.ts +2 -2
  16. package/dist/typescript/model/CaseModel.d.ts +1 -1
  17. package/dist/typescript/model/CaseModelReq.d.ts +1 -1
  18. package/dist/typescript/model/CaseModelRes.d.ts +1 -1
  19. package/dist/typescript/model/HypotheticalPlanEligibilityModel.d.ts +27 -0
  20. package/dist/typescript/model/HypotheticalPlanEligibilityModel.js +26 -0
  21. package/dist/typescript/model/HypotheticalPlanEligibilityModelReq.d.ts +27 -0
  22. package/dist/typescript/model/HypotheticalPlanEligibilityModelReq.js +26 -0
  23. package/dist/typescript/model/HypotheticalPlanEligibilityModelRes.d.ts +27 -0
  24. package/dist/typescript/model/HypotheticalPlanEligibilityModelRes.js +26 -0
  25. package/dist/typescript/model/MatchInnerCaseModel.d.ts +1 -1
  26. package/dist/typescript/model/MatchInnerCaseResponse.d.ts +1 -1
  27. package/dist/typescript/model/SocialLoginRequest.d.ts +5 -0
  28. package/dist/typescript/model/SocialLoginRequest.js +5 -0
  29. package/dist/typescript/model/SubscriptionPlanEligibility.d.ts +25 -0
  30. package/dist/typescript/model/SubscriptionPlanEligibility.js +20 -0
  31. package/dist/typescript/model/SubscriptionPlanEligibilityReq.d.ts +25 -0
  32. package/dist/typescript/model/SubscriptionPlanEligibilityReq.js +20 -0
  33. package/dist/typescript/model/SubscriptionPlanEligibilityRes.d.ts +25 -0
  34. package/dist/typescript/model/SubscriptionPlanEligibilityRes.js +20 -0
  35. package/dist/typescript/model/WorkflowCaseModel.d.ts +1 -1
  36. package/dist/typescript/model/models.d.ts +6 -3
  37. package/dist/typescript/model/models.js +6 -3
  38. package/dist/typescript-fetch/models/CaseModel.d.ts +3 -3
  39. package/dist/typescript-fetch/models/CaseModel.js +3 -3
  40. package/dist/typescript-fetch/models/CaseModelReq.d.ts +3 -3
  41. package/dist/typescript-fetch/models/CaseModelReq.js +3 -3
  42. package/dist/typescript-fetch/models/CaseModelRes.d.ts +3 -3
  43. package/dist/typescript-fetch/models/CaseModelRes.js +3 -3
  44. package/dist/typescript-fetch/models/HypotheticalPlanEligibilityModel.d.ts +51 -0
  45. package/dist/typescript-fetch/models/HypotheticalPlanEligibilityModel.js +58 -0
  46. package/dist/typescript-fetch/models/HypotheticalPlanEligibilityModelReq.d.ts +51 -0
  47. package/dist/typescript-fetch/models/HypotheticalPlanEligibilityModelReq.js +58 -0
  48. package/dist/typescript-fetch/models/HypotheticalPlanEligibilityModelRes.d.ts +51 -0
  49. package/dist/typescript-fetch/models/HypotheticalPlanEligibilityModelRes.js +58 -0
  50. package/dist/typescript-fetch/models/MatchInnerCaseModel.d.ts +3 -3
  51. package/dist/typescript-fetch/models/MatchInnerCaseModel.js +3 -3
  52. package/dist/typescript-fetch/models/MatchInnerCaseResponse.d.ts +3 -3
  53. package/dist/typescript-fetch/models/MatchInnerCaseResponse.js +3 -3
  54. package/dist/typescript-fetch/models/SocialLoginRequest.d.ts +14 -0
  55. package/dist/typescript-fetch/models/SocialLoginRequest.js +11 -0
  56. package/dist/typescript-fetch/models/SubscriptionPlanEligibility.d.ts +55 -0
  57. package/dist/typescript-fetch/models/SubscriptionPlanEligibility.js +53 -0
  58. package/dist/typescript-fetch/models/SubscriptionPlanEligibilityReq.d.ts +55 -0
  59. package/dist/typescript-fetch/models/SubscriptionPlanEligibilityReq.js +53 -0
  60. package/dist/typescript-fetch/models/SubscriptionPlanEligibilityRes.d.ts +55 -0
  61. package/dist/typescript-fetch/models/SubscriptionPlanEligibilityRes.js +53 -0
  62. package/dist/typescript-fetch/models/WorkflowCaseModel.d.ts +3 -3
  63. package/dist/typescript-fetch/models/WorkflowCaseModel.js +3 -3
  64. package/dist/typescript-fetch/models/index.d.ts +6 -3
  65. package/dist/typescript-fetch/models/index.js +6 -3
  66. package/dist/typescript-open-api/otr-backend.d.ts +65 -30
  67. package/dist/typescript-open-api/otr-backend.js +23 -12
  68. package/package.json +1 -1
  69. package/dist/typescript-fetch/models/SubscriptionDiscountEligibility.d.ts +0 -48
  70. package/dist/typescript-fetch/models/SubscriptionDiscountEligibility.js +0 -50
  71. package/dist/typescript-fetch/models/SubscriptionDiscountEligibilityReq.d.ts +0 -48
  72. package/dist/typescript-fetch/models/SubscriptionDiscountEligibilityReq.js +0 -50
  73. package/dist/typescript-fetch/models/SubscriptionDiscountEligibilityRes.d.ts +0 -48
  74. package/dist/typescript-fetch/models/SubscriptionDiscountEligibilityRes.js +0 -50
@@ -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
  };
@@ -15,6 +15,12 @@
15
15
  * @interface SocialLoginRequest
16
16
  */
17
17
  export interface SocialLoginRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SocialLoginRequest
22
+ */
23
+ accessType?: SocialLoginRequestAccessTypeEnum;
18
24
  /**
19
25
  *
20
26
  * @type {number}
@@ -91,6 +97,14 @@ export declare function SocialLoginRequestToJSON(value?: SocialLoginRequest | nu
91
97
  * @export
92
98
  * @enum {string}
93
99
  */
100
+ export declare enum SocialLoginRequestAccessTypeEnum {
101
+ Classic = "classic",
102
+ Limited = "limited"
103
+ }
104
+ /**
105
+ * @export
106
+ * @enum {string}
107
+ */
94
108
  export declare enum SocialLoginRequestClientTypeEnum {
95
109
  ANDROID = "ANDROID",
96
110
  DESKTOPWEBAPP = "DESKTOP_WEBAPP",
@@ -20,6 +20,7 @@ export function SocialLoginRequestFromJSONTyped(json, ignoreDiscriminator) {
20
20
  return json;
21
21
  }
22
22
  return {
23
+ 'accessType': !exists(json, 'accessType') ? undefined : json['accessType'],
23
24
  'citationId': !exists(json, 'citationId') ? undefined : json['citationId'],
24
25
  'clientType': !exists(json, 'clientType') ? undefined : json['clientType'],
25
26
  'fingerPrintId': !exists(json, 'fingerPrintId') ? undefined : json['fingerPrintId'],
@@ -41,6 +42,7 @@ export function SocialLoginRequestToJSON(value) {
41
42
  return null;
42
43
  }
43
44
  return {
45
+ 'accessType': value.accessType,
44
46
  'citationId': value.citationId,
45
47
  'clientType': value.clientType,
46
48
  'fingerPrintId': value.fingerPrintId,
@@ -58,6 +60,15 @@ export function SocialLoginRequestToJSON(value) {
58
60
  * @export
59
61
  * @enum {string}
60
62
  */
63
+ export var SocialLoginRequestAccessTypeEnum;
64
+ (function (SocialLoginRequestAccessTypeEnum) {
65
+ SocialLoginRequestAccessTypeEnum["Classic"] = "classic";
66
+ SocialLoginRequestAccessTypeEnum["Limited"] = "limited";
67
+ })(SocialLoginRequestAccessTypeEnum || (SocialLoginRequestAccessTypeEnum = {}));
68
+ /**
69
+ * @export
70
+ * @enum {string}
71
+ */
61
72
  export var SocialLoginRequestClientTypeEnum;
62
73
  (function (SocialLoginRequestClientTypeEnum) {
63
74
  SocialLoginRequestClientTypeEnum["ANDROID"] = "ANDROID";
@@ -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, SubscriptionDiscountEligibility, Timestamp, UnavailableMatchAttributesModel, WorkflowCitationModel, WorkflowViolationPenaltyModel } from './';
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 {SubscriptionDiscountEligibility}
105
+ * @type {SubscriptionPlanEligibility}
106
106
  * @memberof WorkflowCaseModel
107
107
  */
108
- subscriptionDiscountEligibility?: 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, SubscriptionDiscountEligibilityFromJSON, SubscriptionDiscountEligibilityToJSON, TimestampFromJSON, TimestampToJSON, UnavailableMatchAttributesModelFromJSON, UnavailableMatchAttributesModelToJSON, WorkflowCitationModelFromJSON, WorkflowCitationModelToJSON, WorkflowViolationPenaltyModelFromJSON, WorkflowViolationPenaltyModelToJSON, } from './';
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 : SubscriptionDiscountEligibilityFromJSON(json['subscriptionDiscountEligibility']),
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': SubscriptionDiscountEligibilityToJSON(value.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';