@otr-app/shared-backend-generated-client 2.5.36 → 2.5.37

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.
@@ -18,10 +18,25 @@ export interface DefendantDetailsModel {
18
18
  firstName?: string;
19
19
  hasFinancialAccess?: boolean;
20
20
  lastName?: string;
21
+ ownerRelationshipToClientType?: DefendantDetailsModel.OwnerRelationshipToClientTypeEnum;
21
22
  relationshipToClientType?: DefendantDetailsModel.RelationshipToClientTypeEnum;
22
23
  userId?: number;
23
24
  }
24
25
  export namespace DefendantDetailsModel {
26
+ export type OwnerRelationshipToClientTypeEnum = 'CHILD' | 'EMPLOYER' | 'FAMILY_MEMBER' | 'FRIEND' | 'LAWYER' | 'OTHER' | 'PARENT' | 'SELF' | 'SERVICE_PROVIDER' | 'SIGNIFICANT_OTHER' | 'UNKNOWN';
27
+ export const OwnerRelationshipToClientTypeEnum = {
28
+ Child: 'CHILD' as OwnerRelationshipToClientTypeEnum,
29
+ Employer: 'EMPLOYER' as OwnerRelationshipToClientTypeEnum,
30
+ FamilyMember: 'FAMILY_MEMBER' as OwnerRelationshipToClientTypeEnum,
31
+ Friend: 'FRIEND' as OwnerRelationshipToClientTypeEnum,
32
+ Lawyer: 'LAWYER' as OwnerRelationshipToClientTypeEnum,
33
+ Other: 'OTHER' as OwnerRelationshipToClientTypeEnum,
34
+ Parent: 'PARENT' as OwnerRelationshipToClientTypeEnum,
35
+ Self: 'SELF' as OwnerRelationshipToClientTypeEnum,
36
+ ServiceProvider: 'SERVICE_PROVIDER' as OwnerRelationshipToClientTypeEnum,
37
+ SignificantOther: 'SIGNIFICANT_OTHER' as OwnerRelationshipToClientTypeEnum,
38
+ Unknown: 'UNKNOWN' as OwnerRelationshipToClientTypeEnum
39
+ };
25
40
  export type RelationshipToClientTypeEnum = 'CHILD' | 'EMPLOYER' | 'FAMILY_MEMBER' | 'FRIEND' | 'LAWYER' | 'OTHER' | 'PARENT' | 'SELF' | 'SERVICE_PROVIDER' | 'SIGNIFICANT_OTHER' | 'UNKNOWN';
26
41
  export const RelationshipToClientTypeEnum = {
27
42
  Child: 'CHILD' as RelationshipToClientTypeEnum,
@@ -16,10 +16,24 @@ export interface DefendantDetailsModel {
16
16
  "firstName"?: string;
17
17
  "hasFinancialAccess"?: boolean;
18
18
  "lastName"?: string;
19
+ "ownerRelationshipToClientType"?: DefendantDetailsModel.OwnerRelationshipToClientTypeEnum;
19
20
  "relationshipToClientType"?: DefendantDetailsModel.RelationshipToClientTypeEnum;
20
21
  "userId"?: number;
21
22
  }
22
23
  export declare namespace DefendantDetailsModel {
24
+ enum OwnerRelationshipToClientTypeEnum {
25
+ CHILD,
26
+ EMPLOYER,
27
+ FAMILYMEMBER,
28
+ FRIEND,
29
+ LAWYER,
30
+ OTHER,
31
+ PARENT,
32
+ SELF,
33
+ SERVICEPROVIDER,
34
+ SIGNIFICANTOTHER,
35
+ UNKNOWN
36
+ }
23
37
  enum RelationshipToClientTypeEnum {
24
38
  CHILD,
25
39
  EMPLOYER,
@@ -11,6 +11,20 @@
11
11
  */
12
12
  export var DefendantDetailsModel;
13
13
  (function (DefendantDetailsModel) {
14
+ let OwnerRelationshipToClientTypeEnum;
15
+ (function (OwnerRelationshipToClientTypeEnum) {
16
+ OwnerRelationshipToClientTypeEnum[OwnerRelationshipToClientTypeEnum["CHILD"] = 'CHILD'] = "CHILD";
17
+ OwnerRelationshipToClientTypeEnum[OwnerRelationshipToClientTypeEnum["EMPLOYER"] = 'EMPLOYER'] = "EMPLOYER";
18
+ OwnerRelationshipToClientTypeEnum[OwnerRelationshipToClientTypeEnum["FAMILYMEMBER"] = 'FAMILY_MEMBER'] = "FAMILYMEMBER";
19
+ OwnerRelationshipToClientTypeEnum[OwnerRelationshipToClientTypeEnum["FRIEND"] = 'FRIEND'] = "FRIEND";
20
+ OwnerRelationshipToClientTypeEnum[OwnerRelationshipToClientTypeEnum["LAWYER"] = 'LAWYER'] = "LAWYER";
21
+ OwnerRelationshipToClientTypeEnum[OwnerRelationshipToClientTypeEnum["OTHER"] = 'OTHER'] = "OTHER";
22
+ OwnerRelationshipToClientTypeEnum[OwnerRelationshipToClientTypeEnum["PARENT"] = 'PARENT'] = "PARENT";
23
+ OwnerRelationshipToClientTypeEnum[OwnerRelationshipToClientTypeEnum["SELF"] = 'SELF'] = "SELF";
24
+ OwnerRelationshipToClientTypeEnum[OwnerRelationshipToClientTypeEnum["SERVICEPROVIDER"] = 'SERVICE_PROVIDER'] = "SERVICEPROVIDER";
25
+ OwnerRelationshipToClientTypeEnum[OwnerRelationshipToClientTypeEnum["SIGNIFICANTOTHER"] = 'SIGNIFICANT_OTHER'] = "SIGNIFICANTOTHER";
26
+ OwnerRelationshipToClientTypeEnum[OwnerRelationshipToClientTypeEnum["UNKNOWN"] = 'UNKNOWN'] = "UNKNOWN";
27
+ })(OwnerRelationshipToClientTypeEnum = DefendantDetailsModel.OwnerRelationshipToClientTypeEnum || (DefendantDetailsModel.OwnerRelationshipToClientTypeEnum = {}));
14
28
  let RelationshipToClientTypeEnum;
15
29
  (function (RelationshipToClientTypeEnum) {
16
30
  RelationshipToClientTypeEnum[RelationshipToClientTypeEnum["CHILD"] = 'CHILD'] = "CHILD";
@@ -51,6 +51,12 @@ export interface DefendantDetailsModel {
51
51
  * @memberof DefendantDetailsModel
52
52
  */
53
53
  lastName?: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof DefendantDetailsModel
58
+ */
59
+ ownerRelationshipToClientType?: DefendantDetailsModelOwnerRelationshipToClientTypeEnum;
54
60
  /**
55
61
  *
56
62
  * @type {string}
@@ -71,6 +77,23 @@ export declare function DefendantDetailsModelToJSON(value?: DefendantDetailsMode
71
77
  * @export
72
78
  * @enum {string}
73
79
  */
80
+ export declare enum DefendantDetailsModelOwnerRelationshipToClientTypeEnum {
81
+ CHILD = "CHILD",
82
+ EMPLOYER = "EMPLOYER",
83
+ FAMILYMEMBER = "FAMILY_MEMBER",
84
+ FRIEND = "FRIEND",
85
+ LAWYER = "LAWYER",
86
+ OTHER = "OTHER",
87
+ PARENT = "PARENT",
88
+ SELF = "SELF",
89
+ SERVICEPROVIDER = "SERVICE_PROVIDER",
90
+ SIGNIFICANTOTHER = "SIGNIFICANT_OTHER",
91
+ UNKNOWN = "UNKNOWN"
92
+ }
93
+ /**
94
+ * @export
95
+ * @enum {string}
96
+ */
74
97
  export declare enum DefendantDetailsModelRelationshipToClientTypeEnum {
75
98
  CHILD = "CHILD",
76
99
  EMPLOYER = "EMPLOYER",
@@ -26,6 +26,7 @@ export function DefendantDetailsModelFromJSONTyped(json, ignoreDiscriminator) {
26
26
  'firstName': !exists(json, 'firstName') ? undefined : json['firstName'],
27
27
  'hasFinancialAccess': !exists(json, 'hasFinancialAccess') ? undefined : json['hasFinancialAccess'],
28
28
  'lastName': !exists(json, 'lastName') ? undefined : json['lastName'],
29
+ 'ownerRelationshipToClientType': !exists(json, 'ownerRelationshipToClientType') ? undefined : json['ownerRelationshipToClientType'],
29
30
  'relationshipToClientType': !exists(json, 'relationshipToClientType') ? undefined : json['relationshipToClientType'],
30
31
  'userId': !exists(json, 'userId') ? undefined : json['userId'],
31
32
  };
@@ -44,6 +45,7 @@ export function DefendantDetailsModelToJSON(value) {
44
45
  'firstName': value.firstName,
45
46
  'hasFinancialAccess': value.hasFinancialAccess,
46
47
  'lastName': value.lastName,
48
+ 'ownerRelationshipToClientType': value.ownerRelationshipToClientType,
47
49
  'relationshipToClientType': value.relationshipToClientType,
48
50
  'userId': value.userId,
49
51
  };
@@ -52,6 +54,24 @@ export function DefendantDetailsModelToJSON(value) {
52
54
  * @export
53
55
  * @enum {string}
54
56
  */
57
+ export var DefendantDetailsModelOwnerRelationshipToClientTypeEnum;
58
+ (function (DefendantDetailsModelOwnerRelationshipToClientTypeEnum) {
59
+ DefendantDetailsModelOwnerRelationshipToClientTypeEnum["CHILD"] = "CHILD";
60
+ DefendantDetailsModelOwnerRelationshipToClientTypeEnum["EMPLOYER"] = "EMPLOYER";
61
+ DefendantDetailsModelOwnerRelationshipToClientTypeEnum["FAMILYMEMBER"] = "FAMILY_MEMBER";
62
+ DefendantDetailsModelOwnerRelationshipToClientTypeEnum["FRIEND"] = "FRIEND";
63
+ DefendantDetailsModelOwnerRelationshipToClientTypeEnum["LAWYER"] = "LAWYER";
64
+ DefendantDetailsModelOwnerRelationshipToClientTypeEnum["OTHER"] = "OTHER";
65
+ DefendantDetailsModelOwnerRelationshipToClientTypeEnum["PARENT"] = "PARENT";
66
+ DefendantDetailsModelOwnerRelationshipToClientTypeEnum["SELF"] = "SELF";
67
+ DefendantDetailsModelOwnerRelationshipToClientTypeEnum["SERVICEPROVIDER"] = "SERVICE_PROVIDER";
68
+ DefendantDetailsModelOwnerRelationshipToClientTypeEnum["SIGNIFICANTOTHER"] = "SIGNIFICANT_OTHER";
69
+ DefendantDetailsModelOwnerRelationshipToClientTypeEnum["UNKNOWN"] = "UNKNOWN";
70
+ })(DefendantDetailsModelOwnerRelationshipToClientTypeEnum || (DefendantDetailsModelOwnerRelationshipToClientTypeEnum = {}));
71
+ /**
72
+ * @export
73
+ * @enum {string}
74
+ */
55
75
  export var DefendantDetailsModelRelationshipToClientTypeEnum;
56
76
  (function (DefendantDetailsModelRelationshipToClientTypeEnum) {
57
77
  DefendantDetailsModelRelationshipToClientTypeEnum["CHILD"] = "CHILD";
@@ -9881,6 +9881,8 @@ export interface components {
9881
9881
  hasFinancialAccess?: boolean;
9882
9882
  lastName?: string;
9883
9883
  /** @enum {string} */
9884
+ ownerRelationshipToClientType?: CaseUserDetailsModelRelationshipToClientType;
9885
+ /** @enum {string} */
9884
9886
  relationshipToClientType?: CaseUserDetailsModelRelationshipToClientType;
9885
9887
  /** Format: int64 */
9886
9888
  userId?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.5.36",
3
+ "version": "2.5.37",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"