@claimscore/event-schemas 0.1.0-beta.2 → 1.0.0

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 (45) hide show
  1. package/README.md +78 -19
  2. package/dist/{account/v1/account_activated.js → cjs/account/v1/activated.js} +2 -2
  3. package/dist/{case/v1/case_created.js → cjs/case/v1/created.js} +2 -2
  4. package/dist/{file → cjs/file}/v1/analysis_requested.js +1 -1
  5. package/dist/{file → cjs/file}/v1/preprocess_completed.js +1 -1
  6. package/dist/cjs/index.js +32 -0
  7. package/dist/{invitation/v1/invitation_approved.js → cjs/invitation/v1/approved.js} +2 -2
  8. package/dist/{organization/v1/invitation_created.js → cjs/invitation/v1/created.js} +3 -3
  9. package/dist/{invitation/v1/invitation_verification_resent.js → cjs/invitation/v1/verification_resent.js} +2 -2
  10. package/dist/cjs/package.json +3 -0
  11. package/dist/{case/v1/permission_created.js → cjs/permission/v1/created.js} +3 -3
  12. package/dist/{case/v1/permission_deleted.js → cjs/permission/v1/deleted.js} +3 -3
  13. package/dist/{case/v1/permission_updated.js → cjs/permission/v1/updated.js} +3 -3
  14. package/dist/{report/v1/report_generated.js → cjs/report/v1/generated.js} +2 -2
  15. package/dist/cjs/topics.js +17 -0
  16. package/dist/esm/account/v1/activated.js +186 -0
  17. package/dist/esm/case/v1/created.js +232 -0
  18. package/dist/esm/file/v1/analysis_requested.js +144 -0
  19. package/dist/esm/file/v1/preprocess_completed.js +144 -0
  20. package/dist/esm/index.d.ts +12 -0
  21. package/dist/esm/index.js +13 -0
  22. package/dist/esm/invitation/v1/approved.js +140 -0
  23. package/dist/{organization/v1/invitation_created.d.ts → esm/invitation/v1/created.d.ts} +1 -1
  24. package/dist/esm/invitation/v1/created.js +302 -0
  25. package/dist/esm/invitation/v1/verification_resent.js +186 -0
  26. package/dist/esm/package.json +3 -0
  27. package/dist/{case/v1/permission_created.d.ts → esm/permission/v1/created.d.ts} +1 -1
  28. package/dist/esm/permission/v1/created.js +206 -0
  29. package/dist/{case/v1/permission_deleted.d.ts → esm/permission/v1/deleted.d.ts} +1 -1
  30. package/dist/esm/permission/v1/deleted.js +206 -0
  31. package/dist/{case/v1/permission_updated.d.ts → esm/permission/v1/updated.d.ts} +1 -1
  32. package/dist/esm/permission/v1/updated.js +206 -0
  33. package/dist/esm/report/v1/generated.js +378 -0
  34. package/dist/esm/topics.d.ts +13 -0
  35. package/dist/esm/topics.js +14 -0
  36. package/package.json +20 -5
  37. package/dist/index.d.ts +0 -11
  38. package/dist/index.js +0 -29
  39. /package/dist/{account/v1/account_activated.d.ts → esm/account/v1/activated.d.ts} +0 -0
  40. /package/dist/{case/v1/case_created.d.ts → esm/case/v1/created.d.ts} +0 -0
  41. /package/dist/{file → esm/file}/v1/analysis_requested.d.ts +0 -0
  42. /package/dist/{file → esm/file}/v1/preprocess_completed.d.ts +0 -0
  43. /package/dist/{invitation/v1/invitation_approved.d.ts → esm/invitation/v1/approved.d.ts} +0 -0
  44. /package/dist/{invitation/v1/invitation_verification_resent.d.ts → esm/invitation/v1/verification_resent.d.ts} +0 -0
  45. /package/dist/{report/v1/report_generated.d.ts → esm/report/v1/generated.d.ts} +0 -0
@@ -0,0 +1,206 @@
1
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
+ // versions:
3
+ // protoc-gen-ts_proto v2.11.8
4
+ // protoc unknown
5
+ // source: permission/v1/created.proto
6
+ /* eslint-disable */
7
+ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
8
+ export const protobufPackage = "permission.v1";
9
+ function createBasePermissionCreated() {
10
+ return {
11
+ caseId: "",
12
+ caseName: "",
13
+ accountId: "",
14
+ email: "",
15
+ firstName: "",
16
+ roleName: "",
17
+ organizationId: "",
18
+ managerAccountId: "",
19
+ };
20
+ }
21
+ export const PermissionCreated = {
22
+ encode(message, writer = new BinaryWriter()) {
23
+ if (message.caseId !== "") {
24
+ writer.uint32(10).string(message.caseId);
25
+ }
26
+ if (message.caseName !== "") {
27
+ writer.uint32(18).string(message.caseName);
28
+ }
29
+ if (message.accountId !== "") {
30
+ writer.uint32(26).string(message.accountId);
31
+ }
32
+ if (message.email !== "") {
33
+ writer.uint32(34).string(message.email);
34
+ }
35
+ if (message.firstName !== "") {
36
+ writer.uint32(42).string(message.firstName);
37
+ }
38
+ if (message.roleName !== "") {
39
+ writer.uint32(50).string(message.roleName);
40
+ }
41
+ if (message.organizationId !== "") {
42
+ writer.uint32(58).string(message.organizationId);
43
+ }
44
+ if (message.managerAccountId !== "") {
45
+ writer.uint32(66).string(message.managerAccountId);
46
+ }
47
+ return writer;
48
+ },
49
+ decode(input, length) {
50
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
51
+ const end = length === undefined ? reader.len : reader.pos + length;
52
+ const message = createBasePermissionCreated();
53
+ while (reader.pos < end) {
54
+ const tag = reader.uint32();
55
+ switch (tag >>> 3) {
56
+ case 1: {
57
+ if (tag !== 10) {
58
+ break;
59
+ }
60
+ message.caseId = reader.string();
61
+ continue;
62
+ }
63
+ case 2: {
64
+ if (tag !== 18) {
65
+ break;
66
+ }
67
+ message.caseName = reader.string();
68
+ continue;
69
+ }
70
+ case 3: {
71
+ if (tag !== 26) {
72
+ break;
73
+ }
74
+ message.accountId = reader.string();
75
+ continue;
76
+ }
77
+ case 4: {
78
+ if (tag !== 34) {
79
+ break;
80
+ }
81
+ message.email = reader.string();
82
+ continue;
83
+ }
84
+ case 5: {
85
+ if (tag !== 42) {
86
+ break;
87
+ }
88
+ message.firstName = reader.string();
89
+ continue;
90
+ }
91
+ case 6: {
92
+ if (tag !== 50) {
93
+ break;
94
+ }
95
+ message.roleName = reader.string();
96
+ continue;
97
+ }
98
+ case 7: {
99
+ if (tag !== 58) {
100
+ break;
101
+ }
102
+ message.organizationId = reader.string();
103
+ continue;
104
+ }
105
+ case 8: {
106
+ if (tag !== 66) {
107
+ break;
108
+ }
109
+ message.managerAccountId = reader.string();
110
+ continue;
111
+ }
112
+ }
113
+ if ((tag & 7) === 4 || tag === 0) {
114
+ break;
115
+ }
116
+ reader.skip(tag & 7);
117
+ }
118
+ return message;
119
+ },
120
+ fromJSON(object) {
121
+ return {
122
+ caseId: isSet(object.caseId)
123
+ ? globalThis.String(object.caseId)
124
+ : isSet(object.case_id)
125
+ ? globalThis.String(object.case_id)
126
+ : "",
127
+ caseName: isSet(object.caseName)
128
+ ? globalThis.String(object.caseName)
129
+ : isSet(object.case_name)
130
+ ? globalThis.String(object.case_name)
131
+ : "",
132
+ accountId: isSet(object.accountId)
133
+ ? globalThis.String(object.accountId)
134
+ : isSet(object.account_id)
135
+ ? globalThis.String(object.account_id)
136
+ : "",
137
+ email: isSet(object.email) ? globalThis.String(object.email) : "",
138
+ firstName: isSet(object.firstName)
139
+ ? globalThis.String(object.firstName)
140
+ : isSet(object.first_name)
141
+ ? globalThis.String(object.first_name)
142
+ : "",
143
+ roleName: isSet(object.roleName)
144
+ ? globalThis.String(object.roleName)
145
+ : isSet(object.role_name)
146
+ ? globalThis.String(object.role_name)
147
+ : "",
148
+ organizationId: isSet(object.organizationId)
149
+ ? globalThis.String(object.organizationId)
150
+ : isSet(object.organization_id)
151
+ ? globalThis.String(object.organization_id)
152
+ : "",
153
+ managerAccountId: isSet(object.managerAccountId)
154
+ ? globalThis.String(object.managerAccountId)
155
+ : isSet(object.manager_account_id)
156
+ ? globalThis.String(object.manager_account_id)
157
+ : "",
158
+ };
159
+ },
160
+ toJSON(message) {
161
+ const obj = {};
162
+ if (message.caseId !== "") {
163
+ obj.caseId = message.caseId;
164
+ }
165
+ if (message.caseName !== "") {
166
+ obj.caseName = message.caseName;
167
+ }
168
+ if (message.accountId !== "") {
169
+ obj.accountId = message.accountId;
170
+ }
171
+ if (message.email !== "") {
172
+ obj.email = message.email;
173
+ }
174
+ if (message.firstName !== "") {
175
+ obj.firstName = message.firstName;
176
+ }
177
+ if (message.roleName !== "") {
178
+ obj.roleName = message.roleName;
179
+ }
180
+ if (message.organizationId !== "") {
181
+ obj.organizationId = message.organizationId;
182
+ }
183
+ if (message.managerAccountId !== "") {
184
+ obj.managerAccountId = message.managerAccountId;
185
+ }
186
+ return obj;
187
+ },
188
+ create(base) {
189
+ return PermissionCreated.fromPartial(base ?? {});
190
+ },
191
+ fromPartial(object) {
192
+ const message = createBasePermissionCreated();
193
+ message.caseId = object.caseId ?? "";
194
+ message.caseName = object.caseName ?? "";
195
+ message.accountId = object.accountId ?? "";
196
+ message.email = object.email ?? "";
197
+ message.firstName = object.firstName ?? "";
198
+ message.roleName = object.roleName ?? "";
199
+ message.organizationId = object.organizationId ?? "";
200
+ message.managerAccountId = object.managerAccountId ?? "";
201
+ return message;
202
+ },
203
+ };
204
+ function isSet(value) {
205
+ return value !== null && value !== undefined;
206
+ }
@@ -1,5 +1,5 @@
1
1
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
- export declare const protobufPackage = "case.v1";
2
+ export declare const protobufPackage = "permission.v1";
3
3
  export interface PermissionDeleted {
4
4
  caseId: string;
5
5
  caseName: string;
@@ -0,0 +1,206 @@
1
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
+ // versions:
3
+ // protoc-gen-ts_proto v2.11.8
4
+ // protoc unknown
5
+ // source: permission/v1/deleted.proto
6
+ /* eslint-disable */
7
+ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
8
+ export const protobufPackage = "permission.v1";
9
+ function createBasePermissionDeleted() {
10
+ return {
11
+ caseId: "",
12
+ caseName: "",
13
+ accountId: "",
14
+ email: "",
15
+ firstName: "",
16
+ roleName: "",
17
+ organizationId: "",
18
+ managerAccountId: "",
19
+ };
20
+ }
21
+ export const PermissionDeleted = {
22
+ encode(message, writer = new BinaryWriter()) {
23
+ if (message.caseId !== "") {
24
+ writer.uint32(10).string(message.caseId);
25
+ }
26
+ if (message.caseName !== "") {
27
+ writer.uint32(18).string(message.caseName);
28
+ }
29
+ if (message.accountId !== "") {
30
+ writer.uint32(26).string(message.accountId);
31
+ }
32
+ if (message.email !== "") {
33
+ writer.uint32(34).string(message.email);
34
+ }
35
+ if (message.firstName !== "") {
36
+ writer.uint32(42).string(message.firstName);
37
+ }
38
+ if (message.roleName !== "") {
39
+ writer.uint32(50).string(message.roleName);
40
+ }
41
+ if (message.organizationId !== "") {
42
+ writer.uint32(58).string(message.organizationId);
43
+ }
44
+ if (message.managerAccountId !== "") {
45
+ writer.uint32(66).string(message.managerAccountId);
46
+ }
47
+ return writer;
48
+ },
49
+ decode(input, length) {
50
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
51
+ const end = length === undefined ? reader.len : reader.pos + length;
52
+ const message = createBasePermissionDeleted();
53
+ while (reader.pos < end) {
54
+ const tag = reader.uint32();
55
+ switch (tag >>> 3) {
56
+ case 1: {
57
+ if (tag !== 10) {
58
+ break;
59
+ }
60
+ message.caseId = reader.string();
61
+ continue;
62
+ }
63
+ case 2: {
64
+ if (tag !== 18) {
65
+ break;
66
+ }
67
+ message.caseName = reader.string();
68
+ continue;
69
+ }
70
+ case 3: {
71
+ if (tag !== 26) {
72
+ break;
73
+ }
74
+ message.accountId = reader.string();
75
+ continue;
76
+ }
77
+ case 4: {
78
+ if (tag !== 34) {
79
+ break;
80
+ }
81
+ message.email = reader.string();
82
+ continue;
83
+ }
84
+ case 5: {
85
+ if (tag !== 42) {
86
+ break;
87
+ }
88
+ message.firstName = reader.string();
89
+ continue;
90
+ }
91
+ case 6: {
92
+ if (tag !== 50) {
93
+ break;
94
+ }
95
+ message.roleName = reader.string();
96
+ continue;
97
+ }
98
+ case 7: {
99
+ if (tag !== 58) {
100
+ break;
101
+ }
102
+ message.organizationId = reader.string();
103
+ continue;
104
+ }
105
+ case 8: {
106
+ if (tag !== 66) {
107
+ break;
108
+ }
109
+ message.managerAccountId = reader.string();
110
+ continue;
111
+ }
112
+ }
113
+ if ((tag & 7) === 4 || tag === 0) {
114
+ break;
115
+ }
116
+ reader.skip(tag & 7);
117
+ }
118
+ return message;
119
+ },
120
+ fromJSON(object) {
121
+ return {
122
+ caseId: isSet(object.caseId)
123
+ ? globalThis.String(object.caseId)
124
+ : isSet(object.case_id)
125
+ ? globalThis.String(object.case_id)
126
+ : "",
127
+ caseName: isSet(object.caseName)
128
+ ? globalThis.String(object.caseName)
129
+ : isSet(object.case_name)
130
+ ? globalThis.String(object.case_name)
131
+ : "",
132
+ accountId: isSet(object.accountId)
133
+ ? globalThis.String(object.accountId)
134
+ : isSet(object.account_id)
135
+ ? globalThis.String(object.account_id)
136
+ : "",
137
+ email: isSet(object.email) ? globalThis.String(object.email) : "",
138
+ firstName: isSet(object.firstName)
139
+ ? globalThis.String(object.firstName)
140
+ : isSet(object.first_name)
141
+ ? globalThis.String(object.first_name)
142
+ : "",
143
+ roleName: isSet(object.roleName)
144
+ ? globalThis.String(object.roleName)
145
+ : isSet(object.role_name)
146
+ ? globalThis.String(object.role_name)
147
+ : "",
148
+ organizationId: isSet(object.organizationId)
149
+ ? globalThis.String(object.organizationId)
150
+ : isSet(object.organization_id)
151
+ ? globalThis.String(object.organization_id)
152
+ : "",
153
+ managerAccountId: isSet(object.managerAccountId)
154
+ ? globalThis.String(object.managerAccountId)
155
+ : isSet(object.manager_account_id)
156
+ ? globalThis.String(object.manager_account_id)
157
+ : "",
158
+ };
159
+ },
160
+ toJSON(message) {
161
+ const obj = {};
162
+ if (message.caseId !== "") {
163
+ obj.caseId = message.caseId;
164
+ }
165
+ if (message.caseName !== "") {
166
+ obj.caseName = message.caseName;
167
+ }
168
+ if (message.accountId !== "") {
169
+ obj.accountId = message.accountId;
170
+ }
171
+ if (message.email !== "") {
172
+ obj.email = message.email;
173
+ }
174
+ if (message.firstName !== "") {
175
+ obj.firstName = message.firstName;
176
+ }
177
+ if (message.roleName !== "") {
178
+ obj.roleName = message.roleName;
179
+ }
180
+ if (message.organizationId !== "") {
181
+ obj.organizationId = message.organizationId;
182
+ }
183
+ if (message.managerAccountId !== "") {
184
+ obj.managerAccountId = message.managerAccountId;
185
+ }
186
+ return obj;
187
+ },
188
+ create(base) {
189
+ return PermissionDeleted.fromPartial(base ?? {});
190
+ },
191
+ fromPartial(object) {
192
+ const message = createBasePermissionDeleted();
193
+ message.caseId = object.caseId ?? "";
194
+ message.caseName = object.caseName ?? "";
195
+ message.accountId = object.accountId ?? "";
196
+ message.email = object.email ?? "";
197
+ message.firstName = object.firstName ?? "";
198
+ message.roleName = object.roleName ?? "";
199
+ message.organizationId = object.organizationId ?? "";
200
+ message.managerAccountId = object.managerAccountId ?? "";
201
+ return message;
202
+ },
203
+ };
204
+ function isSet(value) {
205
+ return value !== null && value !== undefined;
206
+ }
@@ -1,5 +1,5 @@
1
1
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
- export declare const protobufPackage = "case.v1";
2
+ export declare const protobufPackage = "permission.v1";
3
3
  export interface PermissionUpdated {
4
4
  caseId: string;
5
5
  caseName: string;
@@ -0,0 +1,206 @@
1
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
+ // versions:
3
+ // protoc-gen-ts_proto v2.11.8
4
+ // protoc unknown
5
+ // source: permission/v1/updated.proto
6
+ /* eslint-disable */
7
+ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
8
+ export const protobufPackage = "permission.v1";
9
+ function createBasePermissionUpdated() {
10
+ return {
11
+ caseId: "",
12
+ caseName: "",
13
+ accountId: "",
14
+ email: "",
15
+ firstName: "",
16
+ roleName: "",
17
+ organizationId: "",
18
+ managerAccountId: "",
19
+ };
20
+ }
21
+ export const PermissionUpdated = {
22
+ encode(message, writer = new BinaryWriter()) {
23
+ if (message.caseId !== "") {
24
+ writer.uint32(10).string(message.caseId);
25
+ }
26
+ if (message.caseName !== "") {
27
+ writer.uint32(18).string(message.caseName);
28
+ }
29
+ if (message.accountId !== "") {
30
+ writer.uint32(26).string(message.accountId);
31
+ }
32
+ if (message.email !== "") {
33
+ writer.uint32(34).string(message.email);
34
+ }
35
+ if (message.firstName !== "") {
36
+ writer.uint32(42).string(message.firstName);
37
+ }
38
+ if (message.roleName !== "") {
39
+ writer.uint32(50).string(message.roleName);
40
+ }
41
+ if (message.organizationId !== "") {
42
+ writer.uint32(58).string(message.organizationId);
43
+ }
44
+ if (message.managerAccountId !== "") {
45
+ writer.uint32(66).string(message.managerAccountId);
46
+ }
47
+ return writer;
48
+ },
49
+ decode(input, length) {
50
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
51
+ const end = length === undefined ? reader.len : reader.pos + length;
52
+ const message = createBasePermissionUpdated();
53
+ while (reader.pos < end) {
54
+ const tag = reader.uint32();
55
+ switch (tag >>> 3) {
56
+ case 1: {
57
+ if (tag !== 10) {
58
+ break;
59
+ }
60
+ message.caseId = reader.string();
61
+ continue;
62
+ }
63
+ case 2: {
64
+ if (tag !== 18) {
65
+ break;
66
+ }
67
+ message.caseName = reader.string();
68
+ continue;
69
+ }
70
+ case 3: {
71
+ if (tag !== 26) {
72
+ break;
73
+ }
74
+ message.accountId = reader.string();
75
+ continue;
76
+ }
77
+ case 4: {
78
+ if (tag !== 34) {
79
+ break;
80
+ }
81
+ message.email = reader.string();
82
+ continue;
83
+ }
84
+ case 5: {
85
+ if (tag !== 42) {
86
+ break;
87
+ }
88
+ message.firstName = reader.string();
89
+ continue;
90
+ }
91
+ case 6: {
92
+ if (tag !== 50) {
93
+ break;
94
+ }
95
+ message.roleName = reader.string();
96
+ continue;
97
+ }
98
+ case 7: {
99
+ if (tag !== 58) {
100
+ break;
101
+ }
102
+ message.organizationId = reader.string();
103
+ continue;
104
+ }
105
+ case 8: {
106
+ if (tag !== 66) {
107
+ break;
108
+ }
109
+ message.managerAccountId = reader.string();
110
+ continue;
111
+ }
112
+ }
113
+ if ((tag & 7) === 4 || tag === 0) {
114
+ break;
115
+ }
116
+ reader.skip(tag & 7);
117
+ }
118
+ return message;
119
+ },
120
+ fromJSON(object) {
121
+ return {
122
+ caseId: isSet(object.caseId)
123
+ ? globalThis.String(object.caseId)
124
+ : isSet(object.case_id)
125
+ ? globalThis.String(object.case_id)
126
+ : "",
127
+ caseName: isSet(object.caseName)
128
+ ? globalThis.String(object.caseName)
129
+ : isSet(object.case_name)
130
+ ? globalThis.String(object.case_name)
131
+ : "",
132
+ accountId: isSet(object.accountId)
133
+ ? globalThis.String(object.accountId)
134
+ : isSet(object.account_id)
135
+ ? globalThis.String(object.account_id)
136
+ : "",
137
+ email: isSet(object.email) ? globalThis.String(object.email) : "",
138
+ firstName: isSet(object.firstName)
139
+ ? globalThis.String(object.firstName)
140
+ : isSet(object.first_name)
141
+ ? globalThis.String(object.first_name)
142
+ : "",
143
+ roleName: isSet(object.roleName)
144
+ ? globalThis.String(object.roleName)
145
+ : isSet(object.role_name)
146
+ ? globalThis.String(object.role_name)
147
+ : "",
148
+ organizationId: isSet(object.organizationId)
149
+ ? globalThis.String(object.organizationId)
150
+ : isSet(object.organization_id)
151
+ ? globalThis.String(object.organization_id)
152
+ : "",
153
+ managerAccountId: isSet(object.managerAccountId)
154
+ ? globalThis.String(object.managerAccountId)
155
+ : isSet(object.manager_account_id)
156
+ ? globalThis.String(object.manager_account_id)
157
+ : "",
158
+ };
159
+ },
160
+ toJSON(message) {
161
+ const obj = {};
162
+ if (message.caseId !== "") {
163
+ obj.caseId = message.caseId;
164
+ }
165
+ if (message.caseName !== "") {
166
+ obj.caseName = message.caseName;
167
+ }
168
+ if (message.accountId !== "") {
169
+ obj.accountId = message.accountId;
170
+ }
171
+ if (message.email !== "") {
172
+ obj.email = message.email;
173
+ }
174
+ if (message.firstName !== "") {
175
+ obj.firstName = message.firstName;
176
+ }
177
+ if (message.roleName !== "") {
178
+ obj.roleName = message.roleName;
179
+ }
180
+ if (message.organizationId !== "") {
181
+ obj.organizationId = message.organizationId;
182
+ }
183
+ if (message.managerAccountId !== "") {
184
+ obj.managerAccountId = message.managerAccountId;
185
+ }
186
+ return obj;
187
+ },
188
+ create(base) {
189
+ return PermissionUpdated.fromPartial(base ?? {});
190
+ },
191
+ fromPartial(object) {
192
+ const message = createBasePermissionUpdated();
193
+ message.caseId = object.caseId ?? "";
194
+ message.caseName = object.caseName ?? "";
195
+ message.accountId = object.accountId ?? "";
196
+ message.email = object.email ?? "";
197
+ message.firstName = object.firstName ?? "";
198
+ message.roleName = object.roleName ?? "";
199
+ message.organizationId = object.organizationId ?? "";
200
+ message.managerAccountId = object.managerAccountId ?? "";
201
+ return message;
202
+ },
203
+ };
204
+ function isSet(value) {
205
+ return value !== null && value !== undefined;
206
+ }