@otr-app/shared-backend-generated-client 2.5.51 → 2.5.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/angular/.openapi-generator/FILES +3 -0
- package/dist/angular/model/models.ts +3 -0
- package/dist/angular/model/userDomain.ts +2 -0
- package/dist/angular/model/userDomainReq.ts +2 -0
- package/dist/angular/model/userDomainRes.ts +2 -0
- package/dist/angular/model/userHouseholdBeneficiaryModel.ts +33 -0
- package/dist/angular/model/userHouseholdBeneficiaryModelReq.ts +33 -0
- package/dist/angular/model/userHouseholdBeneficiaryModelRes.ts +33 -0
- package/dist/typescript/model/UserDomain.d.ts +1 -0
- package/dist/typescript/model/UserDomainReq.d.ts +1 -0
- package/dist/typescript/model/UserDomainRes.d.ts +1 -0
- package/dist/typescript/model/UserHouseholdBeneficiaryModel.d.ts +28 -0
- package/dist/typescript/model/UserHouseholdBeneficiaryModel.js +22 -0
- package/dist/typescript/model/UserHouseholdBeneficiaryModelReq.d.ts +28 -0
- package/dist/typescript/model/UserHouseholdBeneficiaryModelReq.js +22 -0
- package/dist/typescript/model/UserHouseholdBeneficiaryModelRes.d.ts +28 -0
- package/dist/typescript/model/UserHouseholdBeneficiaryModelRes.js +22 -0
- package/dist/typescript/model/models.d.ts +3 -0
- package/dist/typescript/model/models.js +3 -0
- package/dist/typescript-fetch/models/UserDomain.d.ts +7 -1
- package/dist/typescript-fetch/models/UserDomain.js +3 -1
- package/dist/typescript-fetch/models/UserDomainReq.d.ts +7 -1
- package/dist/typescript-fetch/models/UserDomainReq.js +3 -1
- package/dist/typescript-fetch/models/UserDomainRes.d.ts +7 -1
- package/dist/typescript-fetch/models/UserDomainRes.js +3 -1
- package/dist/typescript-fetch/models/UserHouseholdBeneficiaryModel.d.ts +68 -0
- package/dist/typescript-fetch/models/UserHouseholdBeneficiaryModel.js +58 -0
- package/dist/typescript-fetch/models/UserHouseholdBeneficiaryModelReq.d.ts +68 -0
- package/dist/typescript-fetch/models/UserHouseholdBeneficiaryModelReq.js +58 -0
- package/dist/typescript-fetch/models/UserHouseholdBeneficiaryModelRes.d.ts +68 -0
- package/dist/typescript-fetch/models/UserHouseholdBeneficiaryModelRes.js +58 -0
- package/dist/typescript-fetch/models/index.d.ts +3 -0
- package/dist/typescript-fetch/models/index.js +3 -0
- package/dist/typescript-open-api/otr-backend.d.ts +39 -0
- package/package.json +1 -1
|
@@ -928,6 +928,9 @@ model/userDetails.ts
|
|
|
928
928
|
model/userDomain.ts
|
|
929
929
|
model/userDomainReq.ts
|
|
930
930
|
model/userDomainRes.ts
|
|
931
|
+
model/userHouseholdBeneficiaryModel.ts
|
|
932
|
+
model/userHouseholdBeneficiaryModelReq.ts
|
|
933
|
+
model/userHouseholdBeneficiaryModelRes.ts
|
|
931
934
|
model/userItem.ts
|
|
932
935
|
model/userRefLinkDomain.ts
|
|
933
936
|
model/userReferralLinkModel.ts
|
|
@@ -802,6 +802,9 @@ export * from './userDetails';
|
|
|
802
802
|
export * from './userDomain';
|
|
803
803
|
export * from './userDomainReq';
|
|
804
804
|
export * from './userDomainRes';
|
|
805
|
+
export * from './userHouseholdBeneficiaryModel';
|
|
806
|
+
export * from './userHouseholdBeneficiaryModelReq';
|
|
807
|
+
export * from './userHouseholdBeneficiaryModelRes';
|
|
805
808
|
export * from './userItem';
|
|
806
809
|
export * from './userRefLinkDomain';
|
|
807
810
|
export * from './userReferralLinkModel';
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { UserReferralLinkModel } from './userReferralLinkModel';
|
|
13
|
+
import { UserHouseholdBeneficiaryModel } from './userHouseholdBeneficiaryModel';
|
|
13
14
|
import { UserAccountModel } from './userAccountModel';
|
|
14
15
|
import { AddressDomain } from './addressDomain';
|
|
15
16
|
import { PhoneNumberDomain } from './phoneNumberDomain';
|
|
@@ -23,6 +24,7 @@ import { Timestamp } from './timestamp';
|
|
|
23
24
|
export interface UserDomain {
|
|
24
25
|
accounts?: Array<UserAccountModel>;
|
|
25
26
|
address?: AddressDomain;
|
|
27
|
+
copilots?: Array<UserHouseholdBeneficiaryModel>;
|
|
26
28
|
creationDateUtc?: Timestamp;
|
|
27
29
|
dob?: string;
|
|
28
30
|
driverLicenseNumber?: string;
|
|
@@ -17,12 +17,14 @@ import { TimestampReq } from './timestampReq';
|
|
|
17
17
|
import { UserRoleDomain } from './userRoleDomain';
|
|
18
18
|
import { UserSubscriptionPlanModelReq } from './userSubscriptionPlanModelReq';
|
|
19
19
|
import { PhoneNumberDomainReq } from './phoneNumberDomainReq';
|
|
20
|
+
import { UserHouseholdBeneficiaryModelReq } from './userHouseholdBeneficiaryModelReq';
|
|
20
21
|
import { UserSocialProfileModelReq } from './userSocialProfileModelReq';
|
|
21
22
|
|
|
22
23
|
|
|
23
24
|
export interface UserDomainReq {
|
|
24
25
|
accounts?: Array<UserAccountModel>;
|
|
25
26
|
address?: AddressDomainReq;
|
|
27
|
+
copilots?: Array<UserHouseholdBeneficiaryModelReq>;
|
|
26
28
|
creationDateUtc?: TimestampReq;
|
|
27
29
|
dob?: string;
|
|
28
30
|
driverLicenseNumber?: string;
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { UserSocialProfileModelRes } from './userSocialProfileModelRes';
|
|
13
|
+
import { UserHouseholdBeneficiaryModelRes } from './userHouseholdBeneficiaryModelRes';
|
|
13
14
|
import { LawfirmJobTitleModelRes } from './lawfirmJobTitleModelRes';
|
|
14
15
|
import { UserAccountModel } from './userAccountModel';
|
|
15
16
|
import { UserSubscriptionPlanModelRes } from './userSubscriptionPlanModelRes';
|
|
@@ -23,6 +24,7 @@ import { UserReferralLinkModelRes } from './userReferralLinkModelRes';
|
|
|
23
24
|
export interface UserDomainRes {
|
|
24
25
|
accounts?: Array<UserAccountModel>;
|
|
25
26
|
address?: AddressDomainRes;
|
|
27
|
+
copilots?: Array<UserHouseholdBeneficiaryModelRes>;
|
|
26
28
|
creationDateUtc?: TimestampRes;
|
|
27
29
|
dob?: string;
|
|
28
30
|
driverLicenseNumber?: string;
|
|
@@ -0,0 +1,33 @@
|
|
|
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 interface UserHouseholdBeneficiaryModel {
|
|
15
|
+
firstName?: string;
|
|
16
|
+
joinDateUtc?: string;
|
|
17
|
+
lastName?: string;
|
|
18
|
+
profilePictureUrl?: string;
|
|
19
|
+
relationType?: UserHouseholdBeneficiaryModel.RelationTypeEnum;
|
|
20
|
+
userId?: number;
|
|
21
|
+
}
|
|
22
|
+
export namespace UserHouseholdBeneficiaryModel {
|
|
23
|
+
export type RelationTypeEnum = 'OWNER' | 'SIBLING' | 'SPOUSE' | 'TEENAGER' | 'UNKNOWN';
|
|
24
|
+
export const RelationTypeEnum = {
|
|
25
|
+
Owner: 'OWNER' as RelationTypeEnum,
|
|
26
|
+
Sibling: 'SIBLING' as RelationTypeEnum,
|
|
27
|
+
Spouse: 'SPOUSE' as RelationTypeEnum,
|
|
28
|
+
Teenager: 'TEENAGER' as RelationTypeEnum,
|
|
29
|
+
Unknown: 'UNKNOWN' as RelationTypeEnum
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
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 interface UserHouseholdBeneficiaryModelReq {
|
|
15
|
+
firstName?: string;
|
|
16
|
+
joinDateUtc?: string;
|
|
17
|
+
lastName?: string;
|
|
18
|
+
profilePictureUrl?: string;
|
|
19
|
+
relationType?: UserHouseholdBeneficiaryModelReq.RelationTypeEnum;
|
|
20
|
+
userId?: number;
|
|
21
|
+
}
|
|
22
|
+
export namespace UserHouseholdBeneficiaryModelReq {
|
|
23
|
+
export type RelationTypeEnum = 'OWNER' | 'SIBLING' | 'SPOUSE' | 'TEENAGER' | 'UNKNOWN';
|
|
24
|
+
export const RelationTypeEnum = {
|
|
25
|
+
Owner: 'OWNER' as RelationTypeEnum,
|
|
26
|
+
Sibling: 'SIBLING' as RelationTypeEnum,
|
|
27
|
+
Spouse: 'SPOUSE' as RelationTypeEnum,
|
|
28
|
+
Teenager: 'TEENAGER' as RelationTypeEnum,
|
|
29
|
+
Unknown: 'UNKNOWN' as RelationTypeEnum
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
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 interface UserHouseholdBeneficiaryModelRes {
|
|
15
|
+
firstName?: string;
|
|
16
|
+
joinDateUtc?: string;
|
|
17
|
+
lastName?: string;
|
|
18
|
+
profilePictureUrl?: string;
|
|
19
|
+
relationType?: UserHouseholdBeneficiaryModelRes.RelationTypeEnum;
|
|
20
|
+
userId?: number;
|
|
21
|
+
}
|
|
22
|
+
export namespace UserHouseholdBeneficiaryModelRes {
|
|
23
|
+
export type RelationTypeEnum = 'OWNER' | 'SIBLING' | 'SPOUSE' | 'TEENAGER' | 'UNKNOWN';
|
|
24
|
+
export const RelationTypeEnum = {
|
|
25
|
+
Owner: 'OWNER' as RelationTypeEnum,
|
|
26
|
+
Sibling: 'SIBLING' as RelationTypeEnum,
|
|
27
|
+
Spouse: 'SPOUSE' as RelationTypeEnum,
|
|
28
|
+
Teenager: 'TEENAGER' as RelationTypeEnum,
|
|
29
|
+
Unknown: 'UNKNOWN' as RelationTypeEnum
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
|
|
@@ -13,6 +13,7 @@ import * as models from './models';
|
|
|
13
13
|
export interface UserDomain {
|
|
14
14
|
"accounts"?: Array<models.UserAccountModel>;
|
|
15
15
|
"address"?: models.AddressDomain;
|
|
16
|
+
"copilots"?: Array<models.UserHouseholdBeneficiaryModel>;
|
|
16
17
|
"creationDateUtc"?: models.Timestamp;
|
|
17
18
|
"dob"?: string;
|
|
18
19
|
"driverLicenseNumber"?: string;
|
|
@@ -13,6 +13,7 @@ import * as models from './models';
|
|
|
13
13
|
export interface UserDomainReq {
|
|
14
14
|
"accounts"?: Array<models.UserAccountModel>;
|
|
15
15
|
"address"?: models.AddressDomainReq;
|
|
16
|
+
"copilots"?: Array<models.UserHouseholdBeneficiaryModelReq>;
|
|
16
17
|
"creationDateUtc"?: models.TimestampReq;
|
|
17
18
|
"dob"?: string;
|
|
18
19
|
"driverLicenseNumber"?: string;
|
|
@@ -13,6 +13,7 @@ import * as models from './models';
|
|
|
13
13
|
export interface UserDomainRes {
|
|
14
14
|
"accounts"?: Array<models.UserAccountModel>;
|
|
15
15
|
"address"?: models.AddressDomainRes;
|
|
16
|
+
"copilots"?: Array<models.UserHouseholdBeneficiaryModelRes>;
|
|
16
17
|
"creationDateUtc"?: models.TimestampRes;
|
|
17
18
|
"dob"?: string;
|
|
18
19
|
"driverLicenseNumber"?: string;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OffTheRecord Rest Service API - Devo
|
|
3
|
+
* A service to handle your traffic tickets
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export interface UserHouseholdBeneficiaryModel {
|
|
13
|
+
"firstName"?: string;
|
|
14
|
+
"joinDateUtc"?: string;
|
|
15
|
+
"lastName"?: string;
|
|
16
|
+
"profilePictureUrl"?: string;
|
|
17
|
+
"relationType"?: UserHouseholdBeneficiaryModel.RelationTypeEnum;
|
|
18
|
+
"userId"?: number;
|
|
19
|
+
}
|
|
20
|
+
export declare namespace UserHouseholdBeneficiaryModel {
|
|
21
|
+
enum RelationTypeEnum {
|
|
22
|
+
OWNER,
|
|
23
|
+
SIBLING,
|
|
24
|
+
SPOUSE,
|
|
25
|
+
TEENAGER,
|
|
26
|
+
UNKNOWN
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OffTheRecord Rest Service API - Devo
|
|
3
|
+
* A service to handle your traffic tickets
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export var UserHouseholdBeneficiaryModel;
|
|
13
|
+
(function (UserHouseholdBeneficiaryModel) {
|
|
14
|
+
let RelationTypeEnum;
|
|
15
|
+
(function (RelationTypeEnum) {
|
|
16
|
+
RelationTypeEnum[RelationTypeEnum["OWNER"] = 'OWNER'] = "OWNER";
|
|
17
|
+
RelationTypeEnum[RelationTypeEnum["SIBLING"] = 'SIBLING'] = "SIBLING";
|
|
18
|
+
RelationTypeEnum[RelationTypeEnum["SPOUSE"] = 'SPOUSE'] = "SPOUSE";
|
|
19
|
+
RelationTypeEnum[RelationTypeEnum["TEENAGER"] = 'TEENAGER'] = "TEENAGER";
|
|
20
|
+
RelationTypeEnum[RelationTypeEnum["UNKNOWN"] = 'UNKNOWN'] = "UNKNOWN";
|
|
21
|
+
})(RelationTypeEnum = UserHouseholdBeneficiaryModel.RelationTypeEnum || (UserHouseholdBeneficiaryModel.RelationTypeEnum = {}));
|
|
22
|
+
})(UserHouseholdBeneficiaryModel || (UserHouseholdBeneficiaryModel = {}));
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OffTheRecord Rest Service API - Devo
|
|
3
|
+
* A service to handle your traffic tickets
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export interface UserHouseholdBeneficiaryModelReq {
|
|
13
|
+
"firstName"?: string;
|
|
14
|
+
"joinDateUtc"?: string;
|
|
15
|
+
"lastName"?: string;
|
|
16
|
+
"profilePictureUrl"?: string;
|
|
17
|
+
"relationType"?: UserHouseholdBeneficiaryModelReq.RelationTypeEnum;
|
|
18
|
+
"userId"?: number;
|
|
19
|
+
}
|
|
20
|
+
export declare namespace UserHouseholdBeneficiaryModelReq {
|
|
21
|
+
enum RelationTypeEnum {
|
|
22
|
+
OWNER,
|
|
23
|
+
SIBLING,
|
|
24
|
+
SPOUSE,
|
|
25
|
+
TEENAGER,
|
|
26
|
+
UNKNOWN
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OffTheRecord Rest Service API - Devo
|
|
3
|
+
* A service to handle your traffic tickets
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export var UserHouseholdBeneficiaryModelReq;
|
|
13
|
+
(function (UserHouseholdBeneficiaryModelReq) {
|
|
14
|
+
let RelationTypeEnum;
|
|
15
|
+
(function (RelationTypeEnum) {
|
|
16
|
+
RelationTypeEnum[RelationTypeEnum["OWNER"] = 'OWNER'] = "OWNER";
|
|
17
|
+
RelationTypeEnum[RelationTypeEnum["SIBLING"] = 'SIBLING'] = "SIBLING";
|
|
18
|
+
RelationTypeEnum[RelationTypeEnum["SPOUSE"] = 'SPOUSE'] = "SPOUSE";
|
|
19
|
+
RelationTypeEnum[RelationTypeEnum["TEENAGER"] = 'TEENAGER'] = "TEENAGER";
|
|
20
|
+
RelationTypeEnum[RelationTypeEnum["UNKNOWN"] = 'UNKNOWN'] = "UNKNOWN";
|
|
21
|
+
})(RelationTypeEnum = UserHouseholdBeneficiaryModelReq.RelationTypeEnum || (UserHouseholdBeneficiaryModelReq.RelationTypeEnum = {}));
|
|
22
|
+
})(UserHouseholdBeneficiaryModelReq || (UserHouseholdBeneficiaryModelReq = {}));
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OffTheRecord Rest Service API - Devo
|
|
3
|
+
* A service to handle your traffic tickets
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export interface UserHouseholdBeneficiaryModelRes {
|
|
13
|
+
"firstName"?: string;
|
|
14
|
+
"joinDateUtc"?: string;
|
|
15
|
+
"lastName"?: string;
|
|
16
|
+
"profilePictureUrl"?: string;
|
|
17
|
+
"relationType"?: UserHouseholdBeneficiaryModelRes.RelationTypeEnum;
|
|
18
|
+
"userId"?: number;
|
|
19
|
+
}
|
|
20
|
+
export declare namespace UserHouseholdBeneficiaryModelRes {
|
|
21
|
+
enum RelationTypeEnum {
|
|
22
|
+
OWNER,
|
|
23
|
+
SIBLING,
|
|
24
|
+
SPOUSE,
|
|
25
|
+
TEENAGER,
|
|
26
|
+
UNKNOWN
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OffTheRecord Rest Service API - Devo
|
|
3
|
+
* A service to handle your traffic tickets
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export var UserHouseholdBeneficiaryModelRes;
|
|
13
|
+
(function (UserHouseholdBeneficiaryModelRes) {
|
|
14
|
+
let RelationTypeEnum;
|
|
15
|
+
(function (RelationTypeEnum) {
|
|
16
|
+
RelationTypeEnum[RelationTypeEnum["OWNER"] = 'OWNER'] = "OWNER";
|
|
17
|
+
RelationTypeEnum[RelationTypeEnum["SIBLING"] = 'SIBLING'] = "SIBLING";
|
|
18
|
+
RelationTypeEnum[RelationTypeEnum["SPOUSE"] = 'SPOUSE'] = "SPOUSE";
|
|
19
|
+
RelationTypeEnum[RelationTypeEnum["TEENAGER"] = 'TEENAGER'] = "TEENAGER";
|
|
20
|
+
RelationTypeEnum[RelationTypeEnum["UNKNOWN"] = 'UNKNOWN'] = "UNKNOWN";
|
|
21
|
+
})(RelationTypeEnum = UserHouseholdBeneficiaryModelRes.RelationTypeEnum || (UserHouseholdBeneficiaryModelRes.RelationTypeEnum = {}));
|
|
22
|
+
})(UserHouseholdBeneficiaryModelRes || (UserHouseholdBeneficiaryModelRes = {}));
|
|
@@ -802,6 +802,9 @@ export * from './UserDetails';
|
|
|
802
802
|
export * from './UserDomain';
|
|
803
803
|
export * from './UserDomainReq';
|
|
804
804
|
export * from './UserDomainRes';
|
|
805
|
+
export * from './UserHouseholdBeneficiaryModel';
|
|
806
|
+
export * from './UserHouseholdBeneficiaryModelReq';
|
|
807
|
+
export * from './UserHouseholdBeneficiaryModelRes';
|
|
805
808
|
export * from './UserItem';
|
|
806
809
|
export * from './UserRefLinkDomain';
|
|
807
810
|
export * from './UserReferralLinkModel';
|
|
@@ -802,6 +802,9 @@ export * from './UserDetails';
|
|
|
802
802
|
export * from './UserDomain';
|
|
803
803
|
export * from './UserDomainReq';
|
|
804
804
|
export * from './UserDomainRes';
|
|
805
|
+
export * from './UserHouseholdBeneficiaryModel';
|
|
806
|
+
export * from './UserHouseholdBeneficiaryModelReq';
|
|
807
|
+
export * from './UserHouseholdBeneficiaryModelRes';
|
|
805
808
|
export * from './UserItem';
|
|
806
809
|
export * from './UserRefLinkDomain';
|
|
807
810
|
export * from './UserReferralLinkModel';
|
|
@@ -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
|
+
}
|
|
@@ -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 UserHouseholdBeneficiaryModelResFromJSON(json) {
|
|
16
|
+
return UserHouseholdBeneficiaryModelResFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function UserHouseholdBeneficiaryModelResFromJSONTyped(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 UserHouseholdBeneficiaryModelResToJSON(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 UserHouseholdBeneficiaryModelResRelationTypeEnum;
|
|
52
|
+
(function (UserHouseholdBeneficiaryModelResRelationTypeEnum) {
|
|
53
|
+
UserHouseholdBeneficiaryModelResRelationTypeEnum["OWNER"] = "OWNER";
|
|
54
|
+
UserHouseholdBeneficiaryModelResRelationTypeEnum["SIBLING"] = "SIBLING";
|
|
55
|
+
UserHouseholdBeneficiaryModelResRelationTypeEnum["SPOUSE"] = "SPOUSE";
|
|
56
|
+
UserHouseholdBeneficiaryModelResRelationTypeEnum["TEENAGER"] = "TEENAGER";
|
|
57
|
+
UserHouseholdBeneficiaryModelResRelationTypeEnum["UNKNOWN"] = "UNKNOWN";
|
|
58
|
+
})(UserHouseholdBeneficiaryModelResRelationTypeEnum || (UserHouseholdBeneficiaryModelResRelationTypeEnum = {}));
|
|
@@ -802,6 +802,9 @@ export * from './UserDetails';
|
|
|
802
802
|
export * from './UserDomain';
|
|
803
803
|
export * from './UserDomainReq';
|
|
804
804
|
export * from './UserDomainRes';
|
|
805
|
+
export * from './UserHouseholdBeneficiaryModel';
|
|
806
|
+
export * from './UserHouseholdBeneficiaryModelReq';
|
|
807
|
+
export * from './UserHouseholdBeneficiaryModelRes';
|
|
805
808
|
export * from './UserItem';
|
|
806
809
|
export * from './UserRefLinkDomain';
|
|
807
810
|
export * from './UserReferralLinkModel';
|
|
@@ -802,6 +802,9 @@ export * from './UserDetails';
|
|
|
802
802
|
export * from './UserDomain';
|
|
803
803
|
export * from './UserDomainReq';
|
|
804
804
|
export * from './UserDomainRes';
|
|
805
|
+
export * from './UserHouseholdBeneficiaryModel';
|
|
806
|
+
export * from './UserHouseholdBeneficiaryModelReq';
|
|
807
|
+
export * from './UserHouseholdBeneficiaryModelRes';
|
|
805
808
|
export * from './UserItem';
|
|
806
809
|
export * from './UserRefLinkDomain';
|
|
807
810
|
export * from './UserReferralLinkModel';
|
|
@@ -15798,6 +15798,7 @@ export interface components {
|
|
|
15798
15798
|
UserDomain: {
|
|
15799
15799
|
accounts?: components["schemas"]["UserAccountModel"][];
|
|
15800
15800
|
address?: components["schemas"]["AddressDomain"];
|
|
15801
|
+
copilots?: components["schemas"]["UserHouseholdBeneficiaryModel"][];
|
|
15801
15802
|
creationDateUtc?: components["schemas"]["Timestamp"];
|
|
15802
15803
|
/** Format: date-time */
|
|
15803
15804
|
dob?: string;
|
|
@@ -15866,6 +15867,7 @@ export interface components {
|
|
|
15866
15867
|
UserDomainReq: {
|
|
15867
15868
|
accounts?: components["schemas"]["UserAccountModel"][];
|
|
15868
15869
|
address?: components["schemas"]["AddressDomainReq"];
|
|
15870
|
+
copilots?: components["schemas"]["UserHouseholdBeneficiaryModelReq"][];
|
|
15869
15871
|
creationDateUtc?: components["schemas"]["TimestampReq"];
|
|
15870
15872
|
/** Format: date-time */
|
|
15871
15873
|
dob?: string;
|
|
@@ -15933,6 +15935,7 @@ export interface components {
|
|
|
15933
15935
|
UserDomainRes: {
|
|
15934
15936
|
accounts?: components["schemas"]["UserAccountModel"][];
|
|
15935
15937
|
address?: components["schemas"]["AddressDomainRes"];
|
|
15938
|
+
copilots?: components["schemas"]["UserHouseholdBeneficiaryModelRes"][];
|
|
15936
15939
|
creationDateUtc?: components["schemas"]["TimestampRes"];
|
|
15937
15940
|
/** Format: date-time */
|
|
15938
15941
|
dob?: string;
|
|
@@ -15997,6 +16000,42 @@ export interface components {
|
|
|
15997
16000
|
/** Format: date-time */
|
|
15998
16001
|
userRegistrationDateUtc?: string;
|
|
15999
16002
|
};
|
|
16003
|
+
/** UserHouseholdBeneficiaryModel */
|
|
16004
|
+
UserHouseholdBeneficiaryModel: {
|
|
16005
|
+
firstName?: string;
|
|
16006
|
+
/** Format: date-time */
|
|
16007
|
+
joinDateUtc?: string;
|
|
16008
|
+
lastName?: string;
|
|
16009
|
+
profilePictureUrl?: string;
|
|
16010
|
+
/** @enum {string} */
|
|
16011
|
+
relationType?: GetHouseHoldMateModelRelationshipType;
|
|
16012
|
+
/** Format: int64 */
|
|
16013
|
+
userId?: number;
|
|
16014
|
+
};
|
|
16015
|
+
/** UserHouseholdBeneficiaryModelReq */
|
|
16016
|
+
UserHouseholdBeneficiaryModelReq: {
|
|
16017
|
+
firstName?: string;
|
|
16018
|
+
/** Format: date-time */
|
|
16019
|
+
joinDateUtc?: string;
|
|
16020
|
+
lastName?: string;
|
|
16021
|
+
profilePictureUrl?: string;
|
|
16022
|
+
/** @enum {string} */
|
|
16023
|
+
relationType?: GetHouseHoldMateModelRelationshipType;
|
|
16024
|
+
/** Format: int64 */
|
|
16025
|
+
userId?: number;
|
|
16026
|
+
};
|
|
16027
|
+
/** UserHouseholdBeneficiaryModelRes */
|
|
16028
|
+
UserHouseholdBeneficiaryModelRes: {
|
|
16029
|
+
firstName?: string;
|
|
16030
|
+
/** Format: date-time */
|
|
16031
|
+
joinDateUtc?: string;
|
|
16032
|
+
lastName?: string;
|
|
16033
|
+
profilePictureUrl?: string;
|
|
16034
|
+
/** @enum {string} */
|
|
16035
|
+
relationType?: GetHouseHoldMateModelRelationshipType;
|
|
16036
|
+
/** Format: int64 */
|
|
16037
|
+
userId?: number;
|
|
16038
|
+
};
|
|
16000
16039
|
/** UserItem */
|
|
16001
16040
|
UserItem: {
|
|
16002
16041
|
firstName?: string;
|