@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
@@ -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 { AddressDomain, LawfirmJobTitleModel, PhoneNumberDomain, Timestamp, UserAccountModel, UserReferralLinkModel, UserRoleDomain, UserSocialProfileModel, UserSubscriptionPlanModel } from './';
12
+ import { AddressDomain, LawfirmJobTitleModel, PhoneNumberDomain, Timestamp, UserAccountModel, UserHouseholdBeneficiaryModel, UserReferralLinkModel, UserRoleDomain, UserSocialProfileModel, UserSubscriptionPlanModel } from './';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -28,6 +28,12 @@ export interface UserDomain {
28
28
  * @memberof UserDomain
29
29
  */
30
30
  address?: AddressDomain;
31
+ /**
32
+ *
33
+ * @type {Array<UserHouseholdBeneficiaryModel>}
34
+ * @memberof UserDomain
35
+ */
36
+ copilots?: Array<UserHouseholdBeneficiaryModel>;
31
37
  /**
32
38
  *
33
39
  * @type {Timestamp}
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { exists } from '../runtime';
15
- import { AddressDomainFromJSON, AddressDomainToJSON, LawfirmJobTitleModelFromJSON, LawfirmJobTitleModelToJSON, PhoneNumberDomainFromJSON, PhoneNumberDomainToJSON, TimestampFromJSON, TimestampToJSON, UserAccountModelFromJSON, UserAccountModelToJSON, UserReferralLinkModelFromJSON, UserReferralLinkModelToJSON, UserRoleDomainFromJSON, UserRoleDomainToJSON, UserSocialProfileModelFromJSON, UserSocialProfileModelToJSON, UserSubscriptionPlanModelFromJSON, UserSubscriptionPlanModelToJSON, } from './';
15
+ import { AddressDomainFromJSON, AddressDomainToJSON, LawfirmJobTitleModelFromJSON, LawfirmJobTitleModelToJSON, PhoneNumberDomainFromJSON, PhoneNumberDomainToJSON, TimestampFromJSON, TimestampToJSON, UserAccountModelFromJSON, UserAccountModelToJSON, UserHouseholdBeneficiaryModelFromJSON, UserHouseholdBeneficiaryModelToJSON, UserReferralLinkModelFromJSON, UserReferralLinkModelToJSON, UserRoleDomainFromJSON, UserRoleDomainToJSON, UserSocialProfileModelFromJSON, UserSocialProfileModelToJSON, UserSubscriptionPlanModelFromJSON, UserSubscriptionPlanModelToJSON, } from './';
16
16
  export function UserDomainFromJSON(json) {
17
17
  return UserDomainFromJSONTyped(json, false);
18
18
  }
@@ -23,6 +23,7 @@ export function UserDomainFromJSONTyped(json, ignoreDiscriminator) {
23
23
  return {
24
24
  'accounts': !exists(json, 'accounts') ? undefined : (json['accounts'].map(UserAccountModelFromJSON)),
25
25
  'address': !exists(json, 'address') ? undefined : AddressDomainFromJSON(json['address']),
26
+ 'copilots': !exists(json, 'copilots') ? undefined : (json['copilots'].map(UserHouseholdBeneficiaryModelFromJSON)),
26
27
  'creationDateUtc': !exists(json, 'creationDateUtc') ? undefined : TimestampFromJSON(json['creationDateUtc']),
27
28
  'dob': !exists(json, 'dob') ? undefined : (new Date(json['dob'])),
28
29
  'driverLicenseNumber': !exists(json, 'driverLicenseNumber') ? undefined : json['driverLicenseNumber'],
@@ -82,6 +83,7 @@ export function UserDomainToJSON(value) {
82
83
  return {
83
84
  'accounts': value.accounts === undefined ? undefined : (value.accounts.map(UserAccountModelToJSON)),
84
85
  'address': AddressDomainToJSON(value.address),
86
+ 'copilots': value.copilots === undefined ? undefined : (value.copilots.map(UserHouseholdBeneficiaryModelToJSON)),
85
87
  'creationDateUtc': TimestampToJSON(value.creationDateUtc),
86
88
  'dob': value.dob === undefined ? undefined : (value.dob.toISOString()),
87
89
  'driverLicenseNumber': value.driverLicenseNumber,
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { AddressDomainReq, LawfirmJobTitleModelReq, PhoneNumberDomainReq, TimestampReq, UserAccountModel, UserReferralLinkModelReq, UserRoleDomain, UserSocialProfileModelReq, UserSubscriptionPlanModelReq } from './';
12
+ import { AddressDomainReq, LawfirmJobTitleModelReq, PhoneNumberDomainReq, TimestampReq, UserAccountModel, UserHouseholdBeneficiaryModelReq, UserReferralLinkModelReq, UserRoleDomain, UserSocialProfileModelReq, UserSubscriptionPlanModelReq } from './';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -28,6 +28,12 @@ export interface UserDomainReq {
28
28
  * @memberof UserDomainReq
29
29
  */
30
30
  address?: AddressDomainReq;
31
+ /**
32
+ *
33
+ * @type {Array<UserHouseholdBeneficiaryModelReq>}
34
+ * @memberof UserDomainReq
35
+ */
36
+ copilots?: Array<UserHouseholdBeneficiaryModelReq>;
31
37
  /**
32
38
  *
33
39
  * @type {TimestampReq}
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { exists } from '../runtime';
15
- import { AddressDomainReqFromJSON, AddressDomainReqToJSON, LawfirmJobTitleModelReqFromJSON, LawfirmJobTitleModelReqToJSON, PhoneNumberDomainReqFromJSON, PhoneNumberDomainReqToJSON, TimestampReqFromJSON, TimestampReqToJSON, UserAccountModelFromJSON, UserAccountModelToJSON, UserReferralLinkModelReqFromJSON, UserReferralLinkModelReqToJSON, UserRoleDomainFromJSON, UserRoleDomainToJSON, UserSocialProfileModelReqFromJSON, UserSocialProfileModelReqToJSON, UserSubscriptionPlanModelReqFromJSON, UserSubscriptionPlanModelReqToJSON, } from './';
15
+ import { AddressDomainReqFromJSON, AddressDomainReqToJSON, LawfirmJobTitleModelReqFromJSON, LawfirmJobTitleModelReqToJSON, PhoneNumberDomainReqFromJSON, PhoneNumberDomainReqToJSON, TimestampReqFromJSON, TimestampReqToJSON, UserAccountModelFromJSON, UserAccountModelToJSON, UserHouseholdBeneficiaryModelReqFromJSON, UserHouseholdBeneficiaryModelReqToJSON, UserReferralLinkModelReqFromJSON, UserReferralLinkModelReqToJSON, UserRoleDomainFromJSON, UserRoleDomainToJSON, UserSocialProfileModelReqFromJSON, UserSocialProfileModelReqToJSON, UserSubscriptionPlanModelReqFromJSON, UserSubscriptionPlanModelReqToJSON, } from './';
16
16
  export function UserDomainReqFromJSON(json) {
17
17
  return UserDomainReqFromJSONTyped(json, false);
18
18
  }
@@ -23,6 +23,7 @@ export function UserDomainReqFromJSONTyped(json, ignoreDiscriminator) {
23
23
  return {
24
24
  'accounts': !exists(json, 'accounts') ? undefined : (json['accounts'].map(UserAccountModelFromJSON)),
25
25
  'address': !exists(json, 'address') ? undefined : AddressDomainReqFromJSON(json['address']),
26
+ 'copilots': !exists(json, 'copilots') ? undefined : (json['copilots'].map(UserHouseholdBeneficiaryModelReqFromJSON)),
26
27
  'creationDateUtc': !exists(json, 'creationDateUtc') ? undefined : TimestampReqFromJSON(json['creationDateUtc']),
27
28
  'dob': !exists(json, 'dob') ? undefined : (new Date(json['dob'])),
28
29
  'driverLicenseNumber': !exists(json, 'driverLicenseNumber') ? undefined : json['driverLicenseNumber'],
@@ -81,6 +82,7 @@ export function UserDomainReqToJSON(value) {
81
82
  return {
82
83
  'accounts': value.accounts === undefined ? undefined : (value.accounts.map(UserAccountModelToJSON)),
83
84
  'address': AddressDomainReqToJSON(value.address),
85
+ 'copilots': value.copilots === undefined ? undefined : (value.copilots.map(UserHouseholdBeneficiaryModelReqToJSON)),
84
86
  'creationDateUtc': TimestampReqToJSON(value.creationDateUtc),
85
87
  'dob': value.dob === undefined ? undefined : (value.dob.toISOString()),
86
88
  'driverLicenseNumber': value.driverLicenseNumber,
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { AddressDomainRes, LawfirmJobTitleModelRes, PhoneNumberDomainRes, TimestampRes, UserAccountModel, UserReferralLinkModelRes, UserRoleDomain, UserSocialProfileModelRes, UserSubscriptionPlanModelRes } from './';
12
+ import { AddressDomainRes, LawfirmJobTitleModelRes, PhoneNumberDomainRes, TimestampRes, UserAccountModel, UserHouseholdBeneficiaryModelRes, UserReferralLinkModelRes, UserRoleDomain, UserSocialProfileModelRes, UserSubscriptionPlanModelRes } from './';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -28,6 +28,12 @@ export interface UserDomainRes {
28
28
  * @memberof UserDomainRes
29
29
  */
30
30
  address?: AddressDomainRes;
31
+ /**
32
+ *
33
+ * @type {Array<UserHouseholdBeneficiaryModelRes>}
34
+ * @memberof UserDomainRes
35
+ */
36
+ copilots?: Array<UserHouseholdBeneficiaryModelRes>;
31
37
  /**
32
38
  *
33
39
  * @type {TimestampRes}
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { exists } from '../runtime';
15
- import { AddressDomainResFromJSON, AddressDomainResToJSON, LawfirmJobTitleModelResFromJSON, LawfirmJobTitleModelResToJSON, PhoneNumberDomainResFromJSON, PhoneNumberDomainResToJSON, TimestampResFromJSON, TimestampResToJSON, UserAccountModelFromJSON, UserAccountModelToJSON, UserReferralLinkModelResFromJSON, UserReferralLinkModelResToJSON, UserRoleDomainFromJSON, UserRoleDomainToJSON, UserSocialProfileModelResFromJSON, UserSocialProfileModelResToJSON, UserSubscriptionPlanModelResFromJSON, UserSubscriptionPlanModelResToJSON, } from './';
15
+ import { AddressDomainResFromJSON, AddressDomainResToJSON, LawfirmJobTitleModelResFromJSON, LawfirmJobTitleModelResToJSON, PhoneNumberDomainResFromJSON, PhoneNumberDomainResToJSON, TimestampResFromJSON, TimestampResToJSON, UserAccountModelFromJSON, UserAccountModelToJSON, UserHouseholdBeneficiaryModelResFromJSON, UserHouseholdBeneficiaryModelResToJSON, UserReferralLinkModelResFromJSON, UserReferralLinkModelResToJSON, UserRoleDomainFromJSON, UserRoleDomainToJSON, UserSocialProfileModelResFromJSON, UserSocialProfileModelResToJSON, UserSubscriptionPlanModelResFromJSON, UserSubscriptionPlanModelResToJSON, } from './';
16
16
  export function UserDomainResFromJSON(json) {
17
17
  return UserDomainResFromJSONTyped(json, false);
18
18
  }
@@ -23,6 +23,7 @@ export function UserDomainResFromJSONTyped(json, ignoreDiscriminator) {
23
23
  return {
24
24
  'accounts': !exists(json, 'accounts') ? undefined : (json['accounts'].map(UserAccountModelFromJSON)),
25
25
  'address': !exists(json, 'address') ? undefined : AddressDomainResFromJSON(json['address']),
26
+ 'copilots': !exists(json, 'copilots') ? undefined : (json['copilots'].map(UserHouseholdBeneficiaryModelResFromJSON)),
26
27
  'creationDateUtc': !exists(json, 'creationDateUtc') ? undefined : TimestampResFromJSON(json['creationDateUtc']),
27
28
  'dob': !exists(json, 'dob') ? undefined : (new Date(json['dob'])),
28
29
  'driverLicenseNumber': !exists(json, 'driverLicenseNumber') ? undefined : json['driverLicenseNumber'],
@@ -82,6 +83,7 @@ export function UserDomainResToJSON(value) {
82
83
  return {
83
84
  'accounts': value.accounts === undefined ? undefined : (value.accounts.map(UserAccountModelToJSON)),
84
85
  'address': AddressDomainResToJSON(value.address),
86
+ 'copilots': value.copilots === undefined ? undefined : (value.copilots.map(UserHouseholdBeneficiaryModelResToJSON)),
85
87
  'creationDateUtc': TimestampResToJSON(value.creationDateUtc),
86
88
  'dob': value.dob === undefined ? undefined : (value.dob.toISOString()),
87
89
  'driverLicenseNumber': value.driverLicenseNumber,
@@ -0,0 +1,68 @@
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 UserHouseholdBeneficiaryModel
16
+ */
17
+ export interface UserHouseholdBeneficiaryModel {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof UserHouseholdBeneficiaryModel
22
+ */
23
+ firstName?: string;
24
+ /**
25
+ *
26
+ * @type {Date}
27
+ * @memberof UserHouseholdBeneficiaryModel
28
+ */
29
+ joinDateUtc?: Date;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof UserHouseholdBeneficiaryModel
34
+ */
35
+ lastName?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof UserHouseholdBeneficiaryModel
40
+ */
41
+ profilePictureUrl?: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof UserHouseholdBeneficiaryModel
46
+ */
47
+ relationType?: UserHouseholdBeneficiaryModelRelationTypeEnum;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof UserHouseholdBeneficiaryModel
52
+ */
53
+ userId?: number;
54
+ }
55
+ export declare function UserHouseholdBeneficiaryModelFromJSON(json: any): UserHouseholdBeneficiaryModel;
56
+ export declare function UserHouseholdBeneficiaryModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserHouseholdBeneficiaryModel;
57
+ export declare function UserHouseholdBeneficiaryModelToJSON(value?: UserHouseholdBeneficiaryModel | null): any;
58
+ /**
59
+ * @export
60
+ * @enum {string}
61
+ */
62
+ export declare enum UserHouseholdBeneficiaryModelRelationTypeEnum {
63
+ OWNER = "OWNER",
64
+ SIBLING = "SIBLING",
65
+ SPOUSE = "SPOUSE",
66
+ TEENAGER = "TEENAGER",
67
+ UNKNOWN = "UNKNOWN"
68
+ }
@@ -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 UserHouseholdBeneficiaryModelFromJSON(json) {
16
+ return UserHouseholdBeneficiaryModelFromJSONTyped(json, false);
17
+ }
18
+ export function UserHouseholdBeneficiaryModelFromJSONTyped(json, ignoreDiscriminator) {
19
+ if ((json === undefined) || (json === null)) {
20
+ return json;
21
+ }
22
+ return {
23
+ 'firstName': !exists(json, 'firstName') ? undefined : json['firstName'],
24
+ 'joinDateUtc': !exists(json, 'joinDateUtc') ? undefined : (new Date(json['joinDateUtc'])),
25
+ 'lastName': !exists(json, 'lastName') ? undefined : json['lastName'],
26
+ 'profilePictureUrl': !exists(json, 'profilePictureUrl') ? undefined : json['profilePictureUrl'],
27
+ 'relationType': !exists(json, 'relationType') ? undefined : json['relationType'],
28
+ 'userId': !exists(json, 'userId') ? undefined : json['userId'],
29
+ };
30
+ }
31
+ export function UserHouseholdBeneficiaryModelToJSON(value) {
32
+ if (value === undefined) {
33
+ return undefined;
34
+ }
35
+ if (value === null) {
36
+ return null;
37
+ }
38
+ return {
39
+ 'firstName': value.firstName,
40
+ 'joinDateUtc': value.joinDateUtc === undefined ? undefined : (value.joinDateUtc.toISOString()),
41
+ 'lastName': value.lastName,
42
+ 'profilePictureUrl': value.profilePictureUrl,
43
+ 'relationType': value.relationType,
44
+ 'userId': value.userId,
45
+ };
46
+ }
47
+ /**
48
+ * @export
49
+ * @enum {string}
50
+ */
51
+ export var UserHouseholdBeneficiaryModelRelationTypeEnum;
52
+ (function (UserHouseholdBeneficiaryModelRelationTypeEnum) {
53
+ UserHouseholdBeneficiaryModelRelationTypeEnum["OWNER"] = "OWNER";
54
+ UserHouseholdBeneficiaryModelRelationTypeEnum["SIBLING"] = "SIBLING";
55
+ UserHouseholdBeneficiaryModelRelationTypeEnum["SPOUSE"] = "SPOUSE";
56
+ UserHouseholdBeneficiaryModelRelationTypeEnum["TEENAGER"] = "TEENAGER";
57
+ UserHouseholdBeneficiaryModelRelationTypeEnum["UNKNOWN"] = "UNKNOWN";
58
+ })(UserHouseholdBeneficiaryModelRelationTypeEnum || (UserHouseholdBeneficiaryModelRelationTypeEnum = {}));
@@ -0,0 +1,68 @@
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 UserHouseholdBeneficiaryModelReq
16
+ */
17
+ export interface UserHouseholdBeneficiaryModelReq {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof UserHouseholdBeneficiaryModelReq
22
+ */
23
+ firstName?: string;
24
+ /**
25
+ *
26
+ * @type {Date}
27
+ * @memberof UserHouseholdBeneficiaryModelReq
28
+ */
29
+ joinDateUtc?: Date;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof UserHouseholdBeneficiaryModelReq
34
+ */
35
+ lastName?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof UserHouseholdBeneficiaryModelReq
40
+ */
41
+ profilePictureUrl?: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof UserHouseholdBeneficiaryModelReq
46
+ */
47
+ relationType?: UserHouseholdBeneficiaryModelReqRelationTypeEnum;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof UserHouseholdBeneficiaryModelReq
52
+ */
53
+ userId?: number;
54
+ }
55
+ export declare function UserHouseholdBeneficiaryModelReqFromJSON(json: any): UserHouseholdBeneficiaryModelReq;
56
+ export declare function UserHouseholdBeneficiaryModelReqFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserHouseholdBeneficiaryModelReq;
57
+ export declare function UserHouseholdBeneficiaryModelReqToJSON(value?: UserHouseholdBeneficiaryModelReq | null): any;
58
+ /**
59
+ * @export
60
+ * @enum {string}
61
+ */
62
+ export declare enum UserHouseholdBeneficiaryModelReqRelationTypeEnum {
63
+ OWNER = "OWNER",
64
+ SIBLING = "SIBLING",
65
+ SPOUSE = "SPOUSE",
66
+ TEENAGER = "TEENAGER",
67
+ UNKNOWN = "UNKNOWN"
68
+ }
@@ -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 UserHouseholdBeneficiaryModelReqFromJSON(json) {
16
+ return UserHouseholdBeneficiaryModelReqFromJSONTyped(json, false);
17
+ }
18
+ export function UserHouseholdBeneficiaryModelReqFromJSONTyped(json, ignoreDiscriminator) {
19
+ if ((json === undefined) || (json === null)) {
20
+ return json;
21
+ }
22
+ return {
23
+ 'firstName': !exists(json, 'firstName') ? undefined : json['firstName'],
24
+ 'joinDateUtc': !exists(json, 'joinDateUtc') ? undefined : (new Date(json['joinDateUtc'])),
25
+ 'lastName': !exists(json, 'lastName') ? undefined : json['lastName'],
26
+ 'profilePictureUrl': !exists(json, 'profilePictureUrl') ? undefined : json['profilePictureUrl'],
27
+ 'relationType': !exists(json, 'relationType') ? undefined : json['relationType'],
28
+ 'userId': !exists(json, 'userId') ? undefined : json['userId'],
29
+ };
30
+ }
31
+ export function UserHouseholdBeneficiaryModelReqToJSON(value) {
32
+ if (value === undefined) {
33
+ return undefined;
34
+ }
35
+ if (value === null) {
36
+ return null;
37
+ }
38
+ return {
39
+ 'firstName': value.firstName,
40
+ 'joinDateUtc': value.joinDateUtc === undefined ? undefined : (value.joinDateUtc.toISOString()),
41
+ 'lastName': value.lastName,
42
+ 'profilePictureUrl': value.profilePictureUrl,
43
+ 'relationType': value.relationType,
44
+ 'userId': value.userId,
45
+ };
46
+ }
47
+ /**
48
+ * @export
49
+ * @enum {string}
50
+ */
51
+ export var UserHouseholdBeneficiaryModelReqRelationTypeEnum;
52
+ (function (UserHouseholdBeneficiaryModelReqRelationTypeEnum) {
53
+ UserHouseholdBeneficiaryModelReqRelationTypeEnum["OWNER"] = "OWNER";
54
+ UserHouseholdBeneficiaryModelReqRelationTypeEnum["SIBLING"] = "SIBLING";
55
+ UserHouseholdBeneficiaryModelReqRelationTypeEnum["SPOUSE"] = "SPOUSE";
56
+ UserHouseholdBeneficiaryModelReqRelationTypeEnum["TEENAGER"] = "TEENAGER";
57
+ UserHouseholdBeneficiaryModelReqRelationTypeEnum["UNKNOWN"] = "UNKNOWN";
58
+ })(UserHouseholdBeneficiaryModelReqRelationTypeEnum || (UserHouseholdBeneficiaryModelReqRelationTypeEnum = {}));
@@ -0,0 +1,68 @@
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 UserHouseholdBeneficiaryModelRes
16
+ */
17
+ export interface UserHouseholdBeneficiaryModelRes {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof UserHouseholdBeneficiaryModelRes
22
+ */
23
+ firstName?: string;
24
+ /**
25
+ *
26
+ * @type {Date}
27
+ * @memberof UserHouseholdBeneficiaryModelRes
28
+ */
29
+ joinDateUtc?: Date;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof UserHouseholdBeneficiaryModelRes
34
+ */
35
+ lastName?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof UserHouseholdBeneficiaryModelRes
40
+ */
41
+ profilePictureUrl?: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof UserHouseholdBeneficiaryModelRes
46
+ */
47
+ relationType?: UserHouseholdBeneficiaryModelResRelationTypeEnum;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof UserHouseholdBeneficiaryModelRes
52
+ */
53
+ userId?: number;
54
+ }
55
+ export declare function UserHouseholdBeneficiaryModelResFromJSON(json: any): UserHouseholdBeneficiaryModelRes;
56
+ export declare function UserHouseholdBeneficiaryModelResFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserHouseholdBeneficiaryModelRes;
57
+ export declare function UserHouseholdBeneficiaryModelResToJSON(value?: UserHouseholdBeneficiaryModelRes | null): any;
58
+ /**
59
+ * @export
60
+ * @enum {string}
61
+ */
62
+ export declare enum UserHouseholdBeneficiaryModelResRelationTypeEnum {
63
+ OWNER = "OWNER",
64
+ SIBLING = "SIBLING",
65
+ SPOUSE = "SPOUSE",
66
+ TEENAGER = "TEENAGER",
67
+ UNKNOWN = "UNKNOWN"
68
+ }