@mj-biz-apps/committees-entities 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.
- package/dist/custom/MeetingEntity.d.ts +19 -0
- package/dist/custom/MeetingEntity.d.ts.map +1 -0
- package/dist/custom/MeetingEntity.js +39 -0
- package/dist/custom/MeetingEntity.js.map +1 -0
- package/dist/custom/MembershipEntity.d.ts +32 -0
- package/dist/custom/MembershipEntity.d.ts.map +1 -0
- package/dist/custom/MembershipEntity.js +89 -0
- package/dist/custom/MembershipEntity.js.map +1 -0
- package/dist/demo/demoContactEntitySubclass.d.ts +11 -0
- package/dist/demo/demoContactEntitySubclass.d.ts.map +1 -0
- package/dist/demo/demoContactEntitySubclass.js +35 -0
- package/dist/demo/demoContactEntitySubclass.js.map +1 -0
- package/dist/generated/entity_subclasses.d.ts +2914 -0
- package/dist/generated/entity_subclasses.d.ts.map +1 -0
- package/dist/generated/entity_subclasses.js +4199 -0
- package/dist/generated/entity_subclasses.js.map +1 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +17 -0
- package/dist/index.js.map +1 -0
- package/package.json +30 -0
|
@@ -0,0 +1,4199 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { BaseEntity, CompositeKey, ValidationErrorInfo, ValidationErrorType } from "@memberjunction/core";
|
|
8
|
+
import { RegisterClass } from "@memberjunction/global";
|
|
9
|
+
import { z } from "zod";
|
|
10
|
+
export const loadModule = () => {
|
|
11
|
+
// no-op, only used to ensure this file is a valid module and to allow easy loading
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* zod schema definition for the entity Committees: Agenda Items
|
|
15
|
+
*/
|
|
16
|
+
export const mjBizAppsCommitteesAgendaItemSchema = z.object({
|
|
17
|
+
ID: z.string().describe(`
|
|
18
|
+
* * Field Name: ID
|
|
19
|
+
* * Display Name: ID
|
|
20
|
+
* * SQL Data Type: uniqueidentifier
|
|
21
|
+
* * Default Value: newsequentialid()`),
|
|
22
|
+
MeetingID: z.string().describe(`
|
|
23
|
+
* * Field Name: MeetingID
|
|
24
|
+
* * Display Name: Meeting ID
|
|
25
|
+
* * SQL Data Type: uniqueidentifier
|
|
26
|
+
* * Related Entity/Foreign Key: Committees: Meetings (vwMeetings.ID)`),
|
|
27
|
+
ParentAgendaItemID: z.string().nullable().describe(`
|
|
28
|
+
* * Field Name: ParentAgendaItemID
|
|
29
|
+
* * Display Name: Parent Agenda Item ID
|
|
30
|
+
* * SQL Data Type: uniqueidentifier
|
|
31
|
+
* * Related Entity/Foreign Key: Committees: Agenda Items (vwAgendaItems.ID)`),
|
|
32
|
+
Sequence: z.number().describe(`
|
|
33
|
+
* * Field Name: Sequence
|
|
34
|
+
* * Display Name: Sequence
|
|
35
|
+
* * SQL Data Type: int`),
|
|
36
|
+
Name: z.string().describe(`
|
|
37
|
+
* * Field Name: Name
|
|
38
|
+
* * Display Name: Name
|
|
39
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
40
|
+
Description: z.string().nullable().describe(`
|
|
41
|
+
* * Field Name: Description
|
|
42
|
+
* * Display Name: Description
|
|
43
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
44
|
+
PresenterPersonID: z.string().nullable().describe(`
|
|
45
|
+
* * Field Name: PresenterPersonID
|
|
46
|
+
* * Display Name: Presenter Person ID
|
|
47
|
+
* * SQL Data Type: uniqueidentifier
|
|
48
|
+
* * Related Entity/Foreign Key: MJ_BizApps_Common: People (vwPeople.ID)`),
|
|
49
|
+
DurationMinutes: z.number().nullable().describe(`
|
|
50
|
+
* * Field Name: DurationMinutes
|
|
51
|
+
* * Display Name: Duration Minutes
|
|
52
|
+
* * SQL Data Type: int`),
|
|
53
|
+
ItemType: z.union([z.literal('Action'), z.literal('Discussion'), z.literal('Information'), z.literal('Other'), z.literal('Report'), z.literal('Vote')]).describe(`
|
|
54
|
+
* * Field Name: ItemType
|
|
55
|
+
* * Display Name: Item Type
|
|
56
|
+
* * SQL Data Type: nvarchar(50)
|
|
57
|
+
* * Default Value: Discussion
|
|
58
|
+
* * Value List Type: List
|
|
59
|
+
* * Possible Values
|
|
60
|
+
* * Action
|
|
61
|
+
* * Discussion
|
|
62
|
+
* * Information
|
|
63
|
+
* * Other
|
|
64
|
+
* * Report
|
|
65
|
+
* * Vote`),
|
|
66
|
+
RelatedDocumentURL: z.string().nullable().describe(`
|
|
67
|
+
* * Field Name: RelatedDocumentURL
|
|
68
|
+
* * Display Name: Related Document URL
|
|
69
|
+
* * SQL Data Type: nvarchar(1000)`),
|
|
70
|
+
Status: z.union([z.literal('Completed'), z.literal('Discussed'), z.literal('Pending'), z.literal('Skipped'), z.literal('Tabled')]).describe(`
|
|
71
|
+
* * Field Name: Status
|
|
72
|
+
* * Display Name: Status
|
|
73
|
+
* * SQL Data Type: nvarchar(50)
|
|
74
|
+
* * Default Value: Pending
|
|
75
|
+
* * Value List Type: List
|
|
76
|
+
* * Possible Values
|
|
77
|
+
* * Completed
|
|
78
|
+
* * Discussed
|
|
79
|
+
* * Pending
|
|
80
|
+
* * Skipped
|
|
81
|
+
* * Tabled`),
|
|
82
|
+
Notes: z.string().nullable().describe(`
|
|
83
|
+
* * Field Name: Notes
|
|
84
|
+
* * Display Name: Notes
|
|
85
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
86
|
+
__mj_CreatedAt: z.date().describe(`
|
|
87
|
+
* * Field Name: __mj_CreatedAt
|
|
88
|
+
* * Display Name: Created At
|
|
89
|
+
* * SQL Data Type: datetimeoffset
|
|
90
|
+
* * Default Value: getutcdate()`),
|
|
91
|
+
__mj_UpdatedAt: z.date().describe(`
|
|
92
|
+
* * Field Name: __mj_UpdatedAt
|
|
93
|
+
* * Display Name: Updated At
|
|
94
|
+
* * SQL Data Type: datetimeoffset
|
|
95
|
+
* * Default Value: getutcdate()`),
|
|
96
|
+
Meeting: z.string().describe(`
|
|
97
|
+
* * Field Name: Meeting
|
|
98
|
+
* * Display Name: Meeting
|
|
99
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
100
|
+
ParentAgendaItem: z.string().nullable().describe(`
|
|
101
|
+
* * Field Name: ParentAgendaItem
|
|
102
|
+
* * Display Name: Parent Agenda Item
|
|
103
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
104
|
+
PresenterPerson: z.string().nullable().describe(`
|
|
105
|
+
* * Field Name: PresenterPerson
|
|
106
|
+
* * Display Name: Presenter Person
|
|
107
|
+
* * SQL Data Type: nvarchar(201)`),
|
|
108
|
+
RootParentAgendaItemID: z.string().nullable().describe(`
|
|
109
|
+
* * Field Name: RootParentAgendaItemID
|
|
110
|
+
* * Display Name: Root Parent Agenda Item ID
|
|
111
|
+
* * SQL Data Type: uniqueidentifier`),
|
|
112
|
+
});
|
|
113
|
+
/**
|
|
114
|
+
* zod schema definition for the entity Committees: Artifact Types
|
|
115
|
+
*/
|
|
116
|
+
export const mjBizAppsCommitteesArtifactTypeSchema = z.object({
|
|
117
|
+
ID: z.string().describe(`
|
|
118
|
+
* * Field Name: ID
|
|
119
|
+
* * Display Name: ID
|
|
120
|
+
* * SQL Data Type: uniqueidentifier
|
|
121
|
+
* * Default Value: newsequentialid()`),
|
|
122
|
+
Name: z.string().describe(`
|
|
123
|
+
* * Field Name: Name
|
|
124
|
+
* * Display Name: Name
|
|
125
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
126
|
+
Description: z.string().nullable().describe(`
|
|
127
|
+
* * Field Name: Description
|
|
128
|
+
* * Display Name: Description
|
|
129
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
130
|
+
ExtendedEntityID: z.string().nullable().describe(`
|
|
131
|
+
* * Field Name: ExtendedEntityID
|
|
132
|
+
* * Display Name: Extended Entity ID
|
|
133
|
+
* * SQL Data Type: uniqueidentifier
|
|
134
|
+
* * Related Entity/Foreign Key: MJ: Entities (vwEntities.ID)`),
|
|
135
|
+
IconClass: z.string().nullable().describe(`
|
|
136
|
+
* * Field Name: IconClass
|
|
137
|
+
* * Display Name: Icon Class
|
|
138
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
139
|
+
__mj_CreatedAt: z.date().describe(`
|
|
140
|
+
* * Field Name: __mj_CreatedAt
|
|
141
|
+
* * Display Name: Created At
|
|
142
|
+
* * SQL Data Type: datetimeoffset
|
|
143
|
+
* * Default Value: getutcdate()`),
|
|
144
|
+
__mj_UpdatedAt: z.date().describe(`
|
|
145
|
+
* * Field Name: __mj_UpdatedAt
|
|
146
|
+
* * Display Name: Updated At
|
|
147
|
+
* * SQL Data Type: datetimeoffset
|
|
148
|
+
* * Default Value: getutcdate()`),
|
|
149
|
+
ExtendedEntity: z.string().nullable().describe(`
|
|
150
|
+
* * Field Name: ExtendedEntity
|
|
151
|
+
* * Display Name: Extended Entity
|
|
152
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
153
|
+
});
|
|
154
|
+
/**
|
|
155
|
+
* zod schema definition for the entity Committees: Artifacts
|
|
156
|
+
*/
|
|
157
|
+
export const mjBizAppsCommitteesArtifactSchema = z.object({
|
|
158
|
+
ID: z.string().describe(`
|
|
159
|
+
* * Field Name: ID
|
|
160
|
+
* * Display Name: ID
|
|
161
|
+
* * SQL Data Type: uniqueidentifier
|
|
162
|
+
* * Default Value: newsequentialid()`),
|
|
163
|
+
CommitteeID: z.string().nullable().describe(`
|
|
164
|
+
* * Field Name: CommitteeID
|
|
165
|
+
* * Display Name: Committee ID
|
|
166
|
+
* * SQL Data Type: uniqueidentifier
|
|
167
|
+
* * Related Entity/Foreign Key: Committees: Committees (vwCommittees.ID)`),
|
|
168
|
+
MeetingID: z.string().nullable().describe(`
|
|
169
|
+
* * Field Name: MeetingID
|
|
170
|
+
* * Display Name: Meeting ID
|
|
171
|
+
* * SQL Data Type: uniqueidentifier
|
|
172
|
+
* * Related Entity/Foreign Key: Committees: Meetings (vwMeetings.ID)`),
|
|
173
|
+
AgendaItemID: z.string().nullable().describe(`
|
|
174
|
+
* * Field Name: AgendaItemID
|
|
175
|
+
* * Display Name: Agenda Item ID
|
|
176
|
+
* * SQL Data Type: uniqueidentifier
|
|
177
|
+
* * Related Entity/Foreign Key: Committees: Agenda Items (vwAgendaItems.ID)`),
|
|
178
|
+
TaskID: z.string().nullable().describe(`
|
|
179
|
+
* * Field Name: TaskID
|
|
180
|
+
* * Display Name: Task ID
|
|
181
|
+
* * SQL Data Type: uniqueidentifier
|
|
182
|
+
* * Related Entity/Foreign Key: MJ_BizApps_Tasks: Tasks (vwTasks.ID)`),
|
|
183
|
+
Name: z.string().describe(`
|
|
184
|
+
* * Field Name: Name
|
|
185
|
+
* * Display Name: Name
|
|
186
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
187
|
+
Description: z.string().nullable().describe(`
|
|
188
|
+
* * Field Name: Description
|
|
189
|
+
* * Display Name: Description
|
|
190
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
191
|
+
ArtifactTypeID: z.string().describe(`
|
|
192
|
+
* * Field Name: ArtifactTypeID
|
|
193
|
+
* * Display Name: Artifact Type ID
|
|
194
|
+
* * SQL Data Type: uniqueidentifier
|
|
195
|
+
* * Related Entity/Foreign Key: Committees: Artifact Types (vwArtifactTypes.ID)`),
|
|
196
|
+
Provider: z.union([z.literal('Box'), z.literal('Dropbox'), z.literal('GoogleDrive'), z.literal('OneDrive'), z.literal('SharePoint'), z.literal('URL')]).describe(`
|
|
197
|
+
* * Field Name: Provider
|
|
198
|
+
* * Display Name: Provider
|
|
199
|
+
* * SQL Data Type: nvarchar(50)
|
|
200
|
+
* * Value List Type: List
|
|
201
|
+
* * Possible Values
|
|
202
|
+
* * Box
|
|
203
|
+
* * Dropbox
|
|
204
|
+
* * GoogleDrive
|
|
205
|
+
* * OneDrive
|
|
206
|
+
* * SharePoint
|
|
207
|
+
* * URL`),
|
|
208
|
+
ExternalID: z.string().nullable().describe(`
|
|
209
|
+
* * Field Name: ExternalID
|
|
210
|
+
* * Display Name: External ID
|
|
211
|
+
* * SQL Data Type: nvarchar(500)`),
|
|
212
|
+
URL: z.string().describe(`
|
|
213
|
+
* * Field Name: URL
|
|
214
|
+
* * Display Name: URL
|
|
215
|
+
* * SQL Data Type: nvarchar(2000)`),
|
|
216
|
+
MimeType: z.string().nullable().describe(`
|
|
217
|
+
* * Field Name: MimeType
|
|
218
|
+
* * Display Name: Mime Type
|
|
219
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
220
|
+
FileSize: z.number().nullable().describe(`
|
|
221
|
+
* * Field Name: FileSize
|
|
222
|
+
* * Display Name: File Size
|
|
223
|
+
* * SQL Data Type: bigint`),
|
|
224
|
+
UploadedByPersonID: z.string().nullable().describe(`
|
|
225
|
+
* * Field Name: UploadedByPersonID
|
|
226
|
+
* * Display Name: Uploaded By Person ID
|
|
227
|
+
* * SQL Data Type: uniqueidentifier
|
|
228
|
+
* * Related Entity/Foreign Key: MJ_BizApps_Common: People (vwPeople.ID)`),
|
|
229
|
+
__mj_CreatedAt: z.date().describe(`
|
|
230
|
+
* * Field Name: __mj_CreatedAt
|
|
231
|
+
* * Display Name: Created At
|
|
232
|
+
* * SQL Data Type: datetimeoffset
|
|
233
|
+
* * Default Value: getutcdate()`),
|
|
234
|
+
__mj_UpdatedAt: z.date().describe(`
|
|
235
|
+
* * Field Name: __mj_UpdatedAt
|
|
236
|
+
* * Display Name: Updated At
|
|
237
|
+
* * SQL Data Type: datetimeoffset
|
|
238
|
+
* * Default Value: getutcdate()`),
|
|
239
|
+
Committee: z.string().nullable().describe(`
|
|
240
|
+
* * Field Name: Committee
|
|
241
|
+
* * Display Name: Committee
|
|
242
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
243
|
+
Meeting: z.string().nullable().describe(`
|
|
244
|
+
* * Field Name: Meeting
|
|
245
|
+
* * Display Name: Meeting
|
|
246
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
247
|
+
AgendaItem: z.string().nullable().describe(`
|
|
248
|
+
* * Field Name: AgendaItem
|
|
249
|
+
* * Display Name: Agenda Item
|
|
250
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
251
|
+
Task: z.string().nullable().describe(`
|
|
252
|
+
* * Field Name: Task
|
|
253
|
+
* * Display Name: Task
|
|
254
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
255
|
+
ArtifactType: z.string().describe(`
|
|
256
|
+
* * Field Name: ArtifactType
|
|
257
|
+
* * Display Name: Artifact Type
|
|
258
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
259
|
+
UploadedByPerson: z.string().nullable().describe(`
|
|
260
|
+
* * Field Name: UploadedByPerson
|
|
261
|
+
* * Display Name: Uploaded By Person
|
|
262
|
+
* * SQL Data Type: nvarchar(201)`),
|
|
263
|
+
});
|
|
264
|
+
/**
|
|
265
|
+
* zod schema definition for the entity Committees: Attendances
|
|
266
|
+
*/
|
|
267
|
+
export const mjBizAppsCommitteesAttendanceSchema = z.object({
|
|
268
|
+
ID: z.string().describe(`
|
|
269
|
+
* * Field Name: ID
|
|
270
|
+
* * Display Name: ID
|
|
271
|
+
* * SQL Data Type: uniqueidentifier
|
|
272
|
+
* * Default Value: newsequentialid()`),
|
|
273
|
+
MeetingID: z.string().describe(`
|
|
274
|
+
* * Field Name: MeetingID
|
|
275
|
+
* * Display Name: Meeting ID
|
|
276
|
+
* * SQL Data Type: uniqueidentifier
|
|
277
|
+
* * Related Entity/Foreign Key: Committees: Meetings (vwMeetings.ID)`),
|
|
278
|
+
PersonID: z.string().describe(`
|
|
279
|
+
* * Field Name: PersonID
|
|
280
|
+
* * Display Name: Person ID
|
|
281
|
+
* * SQL Data Type: uniqueidentifier
|
|
282
|
+
* * Related Entity/Foreign Key: MJ_BizApps_Common: People (vwPeople.ID)`),
|
|
283
|
+
AttendanceStatus: z.union([z.literal('Absent'), z.literal('Excused'), z.literal('Expected'), z.literal('Partial'), z.literal('Present')]).describe(`
|
|
284
|
+
* * Field Name: AttendanceStatus
|
|
285
|
+
* * Display Name: Attendance Status
|
|
286
|
+
* * SQL Data Type: nvarchar(50)
|
|
287
|
+
* * Default Value: Expected
|
|
288
|
+
* * Value List Type: List
|
|
289
|
+
* * Possible Values
|
|
290
|
+
* * Absent
|
|
291
|
+
* * Excused
|
|
292
|
+
* * Expected
|
|
293
|
+
* * Partial
|
|
294
|
+
* * Present`),
|
|
295
|
+
JoinedAt: z.date().nullable().describe(`
|
|
296
|
+
* * Field Name: JoinedAt
|
|
297
|
+
* * Display Name: Joined At
|
|
298
|
+
* * SQL Data Type: datetimeoffset`),
|
|
299
|
+
LeftAt: z.date().nullable().describe(`
|
|
300
|
+
* * Field Name: LeftAt
|
|
301
|
+
* * Display Name: Left At
|
|
302
|
+
* * SQL Data Type: datetimeoffset`),
|
|
303
|
+
Notes: z.string().nullable().describe(`
|
|
304
|
+
* * Field Name: Notes
|
|
305
|
+
* * Display Name: Notes
|
|
306
|
+
* * SQL Data Type: nvarchar(500)`),
|
|
307
|
+
__mj_CreatedAt: z.date().describe(`
|
|
308
|
+
* * Field Name: __mj_CreatedAt
|
|
309
|
+
* * Display Name: Created At
|
|
310
|
+
* * SQL Data Type: datetimeoffset
|
|
311
|
+
* * Default Value: getutcdate()`),
|
|
312
|
+
__mj_UpdatedAt: z.date().describe(`
|
|
313
|
+
* * Field Name: __mj_UpdatedAt
|
|
314
|
+
* * Display Name: Updated At
|
|
315
|
+
* * SQL Data Type: datetimeoffset
|
|
316
|
+
* * Default Value: getutcdate()`),
|
|
317
|
+
Meeting: z.string().describe(`
|
|
318
|
+
* * Field Name: Meeting
|
|
319
|
+
* * Display Name: Meeting
|
|
320
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
321
|
+
Person: z.string().describe(`
|
|
322
|
+
* * Field Name: Person
|
|
323
|
+
* * Display Name: Person
|
|
324
|
+
* * SQL Data Type: nvarchar(201)`),
|
|
325
|
+
});
|
|
326
|
+
/**
|
|
327
|
+
* zod schema definition for the entity Committees: Ballots
|
|
328
|
+
*/
|
|
329
|
+
export const mjBizAppsCommitteesBallotSchema = z.object({
|
|
330
|
+
ID: z.string().describe(`
|
|
331
|
+
* * Field Name: ID
|
|
332
|
+
* * Display Name: ID
|
|
333
|
+
* * SQL Data Type: uniqueidentifier
|
|
334
|
+
* * Default Value: newsequentialid()`),
|
|
335
|
+
CommitteeID: z.string().describe(`
|
|
336
|
+
* * Field Name: CommitteeID
|
|
337
|
+
* * Display Name: Committee ID
|
|
338
|
+
* * SQL Data Type: uniqueidentifier
|
|
339
|
+
* * Related Entity/Foreign Key: Committees: Committees (vwCommittees.ID)
|
|
340
|
+
* * Description: Committee this ballot belongs to; also the committee scope for the ballot's meeting-less Motion`),
|
|
341
|
+
MotionID: z.string().describe(`
|
|
342
|
+
* * Field Name: MotionID
|
|
343
|
+
* * Display Name: Motion ID
|
|
344
|
+
* * SQL Data Type: uniqueidentifier
|
|
345
|
+
* * Related Entity/Foreign Key: Committees: Motions (vwMotions.ID)
|
|
346
|
+
* * Description: The Motion this ballot decides — exactly one ballot per motion (unique)`),
|
|
347
|
+
OpensAt: z.date().describe(`
|
|
348
|
+
* * Field Name: OpensAt
|
|
349
|
+
* * Display Name: Opens At
|
|
350
|
+
* * SQL Data Type: datetimeoffset
|
|
351
|
+
* * Description: When voting opens`),
|
|
352
|
+
ClosesAt: z.date().describe(`
|
|
353
|
+
* * Field Name: ClosesAt
|
|
354
|
+
* * Display Name: Closes At
|
|
355
|
+
* * SQL Data Type: datetimeoffset
|
|
356
|
+
* * Description: Scheduled close of the voting window (UI countdown target)`),
|
|
357
|
+
ClosedAt: z.date().nullable().describe(`
|
|
358
|
+
* * Field Name: ClosedAt
|
|
359
|
+
* * Display Name: Closed At
|
|
360
|
+
* * SQL Data Type: datetimeoffset
|
|
361
|
+
* * Description: When the ballot actually closed (early close or scheduled); NULL while open`),
|
|
362
|
+
ThresholdType: z.union([z.literal('SimpleMajority'), z.literal('TwoThirds'), z.literal('Unanimous')]).describe(`
|
|
363
|
+
* * Field Name: ThresholdType
|
|
364
|
+
* * Display Name: Threshold Type
|
|
365
|
+
* * SQL Data Type: nvarchar(20)
|
|
366
|
+
* * Default Value: SimpleMajority
|
|
367
|
+
* * Value List Type: List
|
|
368
|
+
* * Possible Values
|
|
369
|
+
* * SimpleMajority
|
|
370
|
+
* * TwoThirds
|
|
371
|
+
* * Unanimous
|
|
372
|
+
* * Description: Pass threshold measured against the committee's voting members: SimpleMajority, TwoThirds, or Unanimous`),
|
|
373
|
+
IsSealed: z.boolean().describe(`
|
|
374
|
+
* * Field Name: IsSealed
|
|
375
|
+
* * Display Name: Is Sealed
|
|
376
|
+
* * SQL Data Type: bit
|
|
377
|
+
* * Default Value: 1
|
|
378
|
+
* * Description: When 1, individual vote choices are withheld from all consumers (including admins) until the ballot closes; participation (who has voted) remains visible`),
|
|
379
|
+
Status: z.union([z.literal('Cancelled'), z.literal('Closed'), z.literal('Open')]).describe(`
|
|
380
|
+
* * Field Name: Status
|
|
381
|
+
* * Display Name: Status
|
|
382
|
+
* * SQL Data Type: nvarchar(20)
|
|
383
|
+
* * Default Value: Open
|
|
384
|
+
* * Value List Type: List
|
|
385
|
+
* * Possible Values
|
|
386
|
+
* * Cancelled
|
|
387
|
+
* * Closed
|
|
388
|
+
* * Open
|
|
389
|
+
* * Description: Ballot lifecycle: Open (accepting votes), Closed (result computed, votes unsealed, Motion stamped), Cancelled`),
|
|
390
|
+
CreatedByMembershipID: z.string().nullable().describe(`
|
|
391
|
+
* * Field Name: CreatedByMembershipID
|
|
392
|
+
* * Display Name: Created By Membership ID
|
|
393
|
+
* * SQL Data Type: uniqueidentifier
|
|
394
|
+
* * Related Entity/Foreign Key: Committees: Memberships (vwMemberships.ID)
|
|
395
|
+
* * Description: Membership of the member who opened the ballot (typically the Chair)`),
|
|
396
|
+
ResultNotes: z.string().nullable().describe(`
|
|
397
|
+
* * Field Name: ResultNotes
|
|
398
|
+
* * Display Name: Result Notes
|
|
399
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
400
|
+
* * Description: Certification text recorded at close (result summary, any procedural notes)`),
|
|
401
|
+
__mj_CreatedAt: z.date().describe(`
|
|
402
|
+
* * Field Name: __mj_CreatedAt
|
|
403
|
+
* * Display Name: Created At
|
|
404
|
+
* * SQL Data Type: datetimeoffset
|
|
405
|
+
* * Default Value: getutcdate()`),
|
|
406
|
+
__mj_UpdatedAt: z.date().describe(`
|
|
407
|
+
* * Field Name: __mj_UpdatedAt
|
|
408
|
+
* * Display Name: Updated At
|
|
409
|
+
* * SQL Data Type: datetimeoffset
|
|
410
|
+
* * Default Value: getutcdate()`),
|
|
411
|
+
Committee: z.string().describe(`
|
|
412
|
+
* * Field Name: Committee
|
|
413
|
+
* * Display Name: Committee
|
|
414
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
415
|
+
Motion: z.string().describe(`
|
|
416
|
+
* * Field Name: Motion
|
|
417
|
+
* * Display Name: Motion
|
|
418
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
419
|
+
});
|
|
420
|
+
/**
|
|
421
|
+
* zod schema definition for the entity Committees: Comments
|
|
422
|
+
*/
|
|
423
|
+
export const mjBizAppsCommitteesCommentSchema = z.object({
|
|
424
|
+
ID: z.string().describe(`
|
|
425
|
+
* * Field Name: ID
|
|
426
|
+
* * Display Name: ID
|
|
427
|
+
* * SQL Data Type: uniqueidentifier
|
|
428
|
+
* * Default Value: newsequentialid()`),
|
|
429
|
+
CommitteeID: z.string().describe(`
|
|
430
|
+
* * Field Name: CommitteeID
|
|
431
|
+
* * Display Name: Committee ID
|
|
432
|
+
* * SQL Data Type: uniqueidentifier
|
|
433
|
+
* * Related Entity/Foreign Key: Committees: Committees (vwCommittees.ID)`),
|
|
434
|
+
MeetingID: z.string().nullable().describe(`
|
|
435
|
+
* * Field Name: MeetingID
|
|
436
|
+
* * Display Name: Meeting ID
|
|
437
|
+
* * SQL Data Type: uniqueidentifier
|
|
438
|
+
* * Related Entity/Foreign Key: Committees: Meetings (vwMeetings.ID)`),
|
|
439
|
+
AgendaItemID: z.string().nullable().describe(`
|
|
440
|
+
* * Field Name: AgendaItemID
|
|
441
|
+
* * Display Name: Agenda Item ID
|
|
442
|
+
* * SQL Data Type: uniqueidentifier
|
|
443
|
+
* * Related Entity/Foreign Key: Committees: Agenda Items (vwAgendaItems.ID)`),
|
|
444
|
+
TaskID: z.string().nullable().describe(`
|
|
445
|
+
* * Field Name: TaskID
|
|
446
|
+
* * Display Name: Task ID
|
|
447
|
+
* * SQL Data Type: uniqueidentifier
|
|
448
|
+
* * Related Entity/Foreign Key: MJ_BizApps_Tasks: Tasks (vwTasks.ID)`),
|
|
449
|
+
ArtifactID: z.string().nullable().describe(`
|
|
450
|
+
* * Field Name: ArtifactID
|
|
451
|
+
* * Display Name: Artifact ID
|
|
452
|
+
* * SQL Data Type: uniqueidentifier
|
|
453
|
+
* * Related Entity/Foreign Key: Committees: Artifacts (vwArtifacts.ID)`),
|
|
454
|
+
ParentCommentID: z.string().nullable().describe(`
|
|
455
|
+
* * Field Name: ParentCommentID
|
|
456
|
+
* * Display Name: Parent Comment ID
|
|
457
|
+
* * SQL Data Type: uniqueidentifier
|
|
458
|
+
* * Related Entity/Foreign Key: Committees: Comments (vwComments.ID)`),
|
|
459
|
+
PersonID: z.string().describe(`
|
|
460
|
+
* * Field Name: PersonID
|
|
461
|
+
* * Display Name: Person ID
|
|
462
|
+
* * SQL Data Type: uniqueidentifier
|
|
463
|
+
* * Related Entity/Foreign Key: MJ_BizApps_Common: People (vwPeople.ID)`),
|
|
464
|
+
CommentText: z.string().describe(`
|
|
465
|
+
* * Field Name: CommentText
|
|
466
|
+
* * Display Name: Comment Text
|
|
467
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
468
|
+
MentionedPersonIDs: z.string().nullable().describe(`
|
|
469
|
+
* * Field Name: MentionedPersonIDs
|
|
470
|
+
* * Display Name: Mentioned Person I Ds
|
|
471
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
472
|
+
IsResolved: z.boolean().describe(`
|
|
473
|
+
* * Field Name: IsResolved
|
|
474
|
+
* * Display Name: Is Resolved
|
|
475
|
+
* * SQL Data Type: bit
|
|
476
|
+
* * Default Value: 0`),
|
|
477
|
+
__mj_CreatedAt: z.date().describe(`
|
|
478
|
+
* * Field Name: __mj_CreatedAt
|
|
479
|
+
* * Display Name: Created At
|
|
480
|
+
* * SQL Data Type: datetimeoffset
|
|
481
|
+
* * Default Value: getutcdate()`),
|
|
482
|
+
__mj_UpdatedAt: z.date().describe(`
|
|
483
|
+
* * Field Name: __mj_UpdatedAt
|
|
484
|
+
* * Display Name: Updated At
|
|
485
|
+
* * SQL Data Type: datetimeoffset
|
|
486
|
+
* * Default Value: getutcdate()`),
|
|
487
|
+
Committee: z.string().describe(`
|
|
488
|
+
* * Field Name: Committee
|
|
489
|
+
* * Display Name: Committee
|
|
490
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
491
|
+
Meeting: z.string().nullable().describe(`
|
|
492
|
+
* * Field Name: Meeting
|
|
493
|
+
* * Display Name: Meeting
|
|
494
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
495
|
+
AgendaItem: z.string().nullable().describe(`
|
|
496
|
+
* * Field Name: AgendaItem
|
|
497
|
+
* * Display Name: Agenda Item
|
|
498
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
499
|
+
Task: z.string().nullable().describe(`
|
|
500
|
+
* * Field Name: Task
|
|
501
|
+
* * Display Name: Task
|
|
502
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
503
|
+
Artifact: z.string().nullable().describe(`
|
|
504
|
+
* * Field Name: Artifact
|
|
505
|
+
* * Display Name: Artifact
|
|
506
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
507
|
+
Person: z.string().describe(`
|
|
508
|
+
* * Field Name: Person
|
|
509
|
+
* * Display Name: Person
|
|
510
|
+
* * SQL Data Type: nvarchar(201)`),
|
|
511
|
+
RootParentCommentID: z.string().nullable().describe(`
|
|
512
|
+
* * Field Name: RootParentCommentID
|
|
513
|
+
* * Display Name: Root Parent Comment ID
|
|
514
|
+
* * SQL Data Type: uniqueidentifier`),
|
|
515
|
+
});
|
|
516
|
+
/**
|
|
517
|
+
* zod schema definition for the entity Committees: Committees
|
|
518
|
+
*/
|
|
519
|
+
export const mjBizAppsCommitteesCommitteeSchema = z.object({
|
|
520
|
+
ID: z.string().describe(`
|
|
521
|
+
* * Field Name: ID
|
|
522
|
+
* * Display Name: ID
|
|
523
|
+
* * SQL Data Type: uniqueidentifier
|
|
524
|
+
* * Default Value: newsequentialid()`),
|
|
525
|
+
Name: z.string().describe(`
|
|
526
|
+
* * Field Name: Name
|
|
527
|
+
* * Display Name: Name
|
|
528
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
529
|
+
Description: z.string().nullable().describe(`
|
|
530
|
+
* * Field Name: Description
|
|
531
|
+
* * Display Name: Description
|
|
532
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
533
|
+
TypeID: z.string().describe(`
|
|
534
|
+
* * Field Name: TypeID
|
|
535
|
+
* * Display Name: Type ID
|
|
536
|
+
* * SQL Data Type: uniqueidentifier
|
|
537
|
+
* * Related Entity/Foreign Key: Committees: Types (vwTypes.ID)`),
|
|
538
|
+
ParentCommitteeID: z.string().nullable().describe(`
|
|
539
|
+
* * Field Name: ParentCommitteeID
|
|
540
|
+
* * Display Name: Parent Committee ID
|
|
541
|
+
* * SQL Data Type: uniqueidentifier
|
|
542
|
+
* * Related Entity/Foreign Key: Committees: Committees (vwCommittees.ID)`),
|
|
543
|
+
OrganizationID: z.string().nullable().describe(`
|
|
544
|
+
* * Field Name: OrganizationID
|
|
545
|
+
* * Display Name: Organization ID
|
|
546
|
+
* * SQL Data Type: uniqueidentifier
|
|
547
|
+
* * Related Entity/Foreign Key: MJ_BizApps_Common: Organizations (vwOrganizations.ID)`),
|
|
548
|
+
CharterDocumentURL: z.string().nullable().describe(`
|
|
549
|
+
* * Field Name: CharterDocumentURL
|
|
550
|
+
* * Display Name: Charter Document URL
|
|
551
|
+
* * SQL Data Type: nvarchar(1000)`),
|
|
552
|
+
MissionStatement: z.string().nullable().describe(`
|
|
553
|
+
* * Field Name: MissionStatement
|
|
554
|
+
* * Display Name: Mission Statement
|
|
555
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
556
|
+
Status: z.union([z.literal('Active'), z.literal('Dissolved'), z.literal('Inactive'), z.literal('Pending')]).describe(`
|
|
557
|
+
* * Field Name: Status
|
|
558
|
+
* * Display Name: Status
|
|
559
|
+
* * SQL Data Type: nvarchar(50)
|
|
560
|
+
* * Default Value: Active
|
|
561
|
+
* * Value List Type: List
|
|
562
|
+
* * Possible Values
|
|
563
|
+
* * Active
|
|
564
|
+
* * Dissolved
|
|
565
|
+
* * Inactive
|
|
566
|
+
* * Pending`),
|
|
567
|
+
IsPublic: z.boolean().describe(`
|
|
568
|
+
* * Field Name: IsPublic
|
|
569
|
+
* * Display Name: Is Public
|
|
570
|
+
* * SQL Data Type: bit
|
|
571
|
+
* * Default Value: 1`),
|
|
572
|
+
FormationDate: z.date().nullable().describe(`
|
|
573
|
+
* * Field Name: FormationDate
|
|
574
|
+
* * Display Name: Formation Date
|
|
575
|
+
* * SQL Data Type: date`),
|
|
576
|
+
DissolutionDate: z.date().nullable().describe(`
|
|
577
|
+
* * Field Name: DissolutionDate
|
|
578
|
+
* * Display Name: Dissolution Date
|
|
579
|
+
* * SQL Data Type: date`),
|
|
580
|
+
__mj_CreatedAt: z.date().describe(`
|
|
581
|
+
* * Field Name: __mj_CreatedAt
|
|
582
|
+
* * Display Name: Created At
|
|
583
|
+
* * SQL Data Type: datetimeoffset
|
|
584
|
+
* * Default Value: getutcdate()`),
|
|
585
|
+
__mj_UpdatedAt: z.date().describe(`
|
|
586
|
+
* * Field Name: __mj_UpdatedAt
|
|
587
|
+
* * Display Name: Updated At
|
|
588
|
+
* * SQL Data Type: datetimeoffset
|
|
589
|
+
* * Default Value: getutcdate()`),
|
|
590
|
+
Type: z.string().describe(`
|
|
591
|
+
* * Field Name: Type
|
|
592
|
+
* * Display Name: Type
|
|
593
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
594
|
+
ParentCommittee: z.string().nullable().describe(`
|
|
595
|
+
* * Field Name: ParentCommittee
|
|
596
|
+
* * Display Name: Parent Committee
|
|
597
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
598
|
+
Organization: z.string().nullable().describe(`
|
|
599
|
+
* * Field Name: Organization
|
|
600
|
+
* * Display Name: Organization
|
|
601
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
602
|
+
RootParentCommitteeID: z.string().nullable().describe(`
|
|
603
|
+
* * Field Name: RootParentCommitteeID
|
|
604
|
+
* * Display Name: Root Parent Committee ID
|
|
605
|
+
* * SQL Data Type: uniqueidentifier`),
|
|
606
|
+
});
|
|
607
|
+
/**
|
|
608
|
+
* zod schema definition for the entity Committees: Meetings
|
|
609
|
+
*/
|
|
610
|
+
export const mjBizAppsCommitteesMeetingSchema = z.object({
|
|
611
|
+
ID: z.string().describe(`
|
|
612
|
+
* * Field Name: ID
|
|
613
|
+
* * Display Name: ID
|
|
614
|
+
* * SQL Data Type: uniqueidentifier
|
|
615
|
+
* * Default Value: newsequentialid()`),
|
|
616
|
+
CommitteeID: z.string().describe(`
|
|
617
|
+
* * Field Name: CommitteeID
|
|
618
|
+
* * Display Name: Committee ID
|
|
619
|
+
* * SQL Data Type: uniqueidentifier
|
|
620
|
+
* * Related Entity/Foreign Key: Committees: Committees (vwCommittees.ID)`),
|
|
621
|
+
Name: z.string().describe(`
|
|
622
|
+
* * Field Name: Name
|
|
623
|
+
* * Display Name: Name
|
|
624
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
625
|
+
Description: z.string().nullable().describe(`
|
|
626
|
+
* * Field Name: Description
|
|
627
|
+
* * Display Name: Description
|
|
628
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
629
|
+
StartDateTime: z.date().describe(`
|
|
630
|
+
* * Field Name: StartDateTime
|
|
631
|
+
* * Display Name: Start Date Time
|
|
632
|
+
* * SQL Data Type: datetimeoffset`),
|
|
633
|
+
EndDateTime: z.date().nullable().describe(`
|
|
634
|
+
* * Field Name: EndDateTime
|
|
635
|
+
* * Display Name: End Date Time
|
|
636
|
+
* * SQL Data Type: datetimeoffset`),
|
|
637
|
+
TimeZone: z.string().describe(`
|
|
638
|
+
* * Field Name: TimeZone
|
|
639
|
+
* * Display Name: Time Zone
|
|
640
|
+
* * SQL Data Type: nvarchar(50)
|
|
641
|
+
* * Default Value: America/New_York`),
|
|
642
|
+
LocationType: z.union([z.literal('Hybrid'), z.literal('InPerson'), z.literal('Virtual')]).describe(`
|
|
643
|
+
* * Field Name: LocationType
|
|
644
|
+
* * Display Name: Location Type
|
|
645
|
+
* * SQL Data Type: nvarchar(50)
|
|
646
|
+
* * Default Value: Virtual
|
|
647
|
+
* * Value List Type: List
|
|
648
|
+
* * Possible Values
|
|
649
|
+
* * Hybrid
|
|
650
|
+
* * InPerson
|
|
651
|
+
* * Virtual`),
|
|
652
|
+
LocationText: z.string().nullable().describe(`
|
|
653
|
+
* * Field Name: LocationText
|
|
654
|
+
* * Display Name: Location Text
|
|
655
|
+
* * SQL Data Type: nvarchar(500)`),
|
|
656
|
+
VideoProvider: z.string().nullable().describe(`
|
|
657
|
+
* * Field Name: VideoProvider
|
|
658
|
+
* * Display Name: Video Provider
|
|
659
|
+
* * SQL Data Type: nvarchar(50)`),
|
|
660
|
+
VideoProviderID: z.string().nullable().describe(`
|
|
661
|
+
* * Field Name: VideoProviderID
|
|
662
|
+
* * Display Name: Video Provider ID
|
|
663
|
+
* * SQL Data Type: uniqueidentifier
|
|
664
|
+
* * Related Entity/Foreign Key: Committees: Video Providers (vwVideoProviders.ID)`),
|
|
665
|
+
VideoMeetingID: z.string().nullable().describe(`
|
|
666
|
+
* * Field Name: VideoMeetingID
|
|
667
|
+
* * Display Name: Video Meeting ID
|
|
668
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
669
|
+
VideoJoinURL: z.string().nullable().describe(`
|
|
670
|
+
* * Field Name: VideoJoinURL
|
|
671
|
+
* * Display Name: Video Join URL
|
|
672
|
+
* * SQL Data Type: nvarchar(1000)`),
|
|
673
|
+
VideoRecordingURL: z.string().nullable().describe(`
|
|
674
|
+
* * Field Name: VideoRecordingURL
|
|
675
|
+
* * Display Name: Video Recording URL
|
|
676
|
+
* * SQL Data Type: nvarchar(1000)`),
|
|
677
|
+
TranscriptURL: z.string().nullable().describe(`
|
|
678
|
+
* * Field Name: TranscriptURL
|
|
679
|
+
* * Display Name: Transcript URL
|
|
680
|
+
* * SQL Data Type: nvarchar(1000)`),
|
|
681
|
+
Status: z.union([z.literal('Cancelled'), z.literal('Completed'), z.literal('Draft'), z.literal('InProgress'), z.literal('Postponed'), z.literal('Scheduled')]).describe(`
|
|
682
|
+
* * Field Name: Status
|
|
683
|
+
* * Display Name: Status
|
|
684
|
+
* * SQL Data Type: nvarchar(50)
|
|
685
|
+
* * Default Value: Scheduled
|
|
686
|
+
* * Value List Type: List
|
|
687
|
+
* * Possible Values
|
|
688
|
+
* * Cancelled
|
|
689
|
+
* * Completed
|
|
690
|
+
* * Draft
|
|
691
|
+
* * InProgress
|
|
692
|
+
* * Postponed
|
|
693
|
+
* * Scheduled`),
|
|
694
|
+
CalendarEventID: z.string().nullable().describe(`
|
|
695
|
+
* * Field Name: CalendarEventID
|
|
696
|
+
* * Display Name: Calendar Event ID
|
|
697
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
698
|
+
__mj_CreatedAt: z.date().describe(`
|
|
699
|
+
* * Field Name: __mj_CreatedAt
|
|
700
|
+
* * Display Name: Created At
|
|
701
|
+
* * SQL Data Type: datetimeoffset
|
|
702
|
+
* * Default Value: getutcdate()`),
|
|
703
|
+
__mj_UpdatedAt: z.date().describe(`
|
|
704
|
+
* * Field Name: __mj_UpdatedAt
|
|
705
|
+
* * Display Name: Updated At
|
|
706
|
+
* * SQL Data Type: datetimeoffset
|
|
707
|
+
* * Default Value: getutcdate()`),
|
|
708
|
+
Committee: z.string().describe(`
|
|
709
|
+
* * Field Name: Committee
|
|
710
|
+
* * Display Name: Committee
|
|
711
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
712
|
+
VideoProvider_Virtual: z.string().nullable().describe(`
|
|
713
|
+
* * Field Name: VideoProvider_Virtual
|
|
714
|
+
* * Display Name: Video Provider Virtual
|
|
715
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
716
|
+
});
|
|
717
|
+
/**
|
|
718
|
+
* zod schema definition for the entity Committees: Memberships
|
|
719
|
+
*/
|
|
720
|
+
export const mjBizAppsCommitteesMembershipSchema = z.object({
|
|
721
|
+
ID: z.string().describe(`
|
|
722
|
+
* * Field Name: ID
|
|
723
|
+
* * Display Name: ID
|
|
724
|
+
* * SQL Data Type: uniqueidentifier
|
|
725
|
+
* * Default Value: newsequentialid()`),
|
|
726
|
+
PersonID: z.string().describe(`
|
|
727
|
+
* * Field Name: PersonID
|
|
728
|
+
* * Display Name: Person ID
|
|
729
|
+
* * SQL Data Type: uniqueidentifier
|
|
730
|
+
* * Related Entity/Foreign Key: MJ_BizApps_Common: People (vwPeople.ID)`),
|
|
731
|
+
RoleID: z.string().describe(`
|
|
732
|
+
* * Field Name: RoleID
|
|
733
|
+
* * Display Name: Role ID
|
|
734
|
+
* * SQL Data Type: uniqueidentifier
|
|
735
|
+
* * Related Entity/Foreign Key: Committees: Roles (vwRoles.ID)`),
|
|
736
|
+
TermID: z.string().describe(`
|
|
737
|
+
* * Field Name: TermID
|
|
738
|
+
* * Display Name: Term ID
|
|
739
|
+
* * SQL Data Type: uniqueidentifier
|
|
740
|
+
* * Related Entity/Foreign Key: Committees: Terms (vwTerms.ID)`),
|
|
741
|
+
StartDate: z.date().describe(`
|
|
742
|
+
* * Field Name: StartDate
|
|
743
|
+
* * Display Name: Start Date
|
|
744
|
+
* * SQL Data Type: date`),
|
|
745
|
+
EndDate: z.date().nullable().describe(`
|
|
746
|
+
* * Field Name: EndDate
|
|
747
|
+
* * Display Name: End Date
|
|
748
|
+
* * SQL Data Type: date`),
|
|
749
|
+
Status: z.union([z.literal('Active'), z.literal('Ended'), z.literal('Pending'), z.literal('Suspended')]).describe(`
|
|
750
|
+
* * Field Name: Status
|
|
751
|
+
* * Display Name: Status
|
|
752
|
+
* * SQL Data Type: nvarchar(50)
|
|
753
|
+
* * Default Value: Active
|
|
754
|
+
* * Value List Type: List
|
|
755
|
+
* * Possible Values
|
|
756
|
+
* * Active
|
|
757
|
+
* * Ended
|
|
758
|
+
* * Pending
|
|
759
|
+
* * Suspended`),
|
|
760
|
+
EndReason: z.string().nullable().describe(`
|
|
761
|
+
* * Field Name: EndReason
|
|
762
|
+
* * Display Name: End Reason
|
|
763
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
764
|
+
Notes: z.string().nullable().describe(`
|
|
765
|
+
* * Field Name: Notes
|
|
766
|
+
* * Display Name: Notes
|
|
767
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
768
|
+
__mj_CreatedAt: z.date().describe(`
|
|
769
|
+
* * Field Name: __mj_CreatedAt
|
|
770
|
+
* * Display Name: Created At
|
|
771
|
+
* * SQL Data Type: datetimeoffset
|
|
772
|
+
* * Default Value: getutcdate()`),
|
|
773
|
+
__mj_UpdatedAt: z.date().describe(`
|
|
774
|
+
* * Field Name: __mj_UpdatedAt
|
|
775
|
+
* * Display Name: Updated At
|
|
776
|
+
* * SQL Data Type: datetimeoffset
|
|
777
|
+
* * Default Value: getutcdate()`),
|
|
778
|
+
RenewalIntent: z.union([z.literal('No'), z.literal('Undecided'), z.literal('Yes')]).nullable().describe(`
|
|
779
|
+
* * Field Name: RenewalIntent
|
|
780
|
+
* * Display Name: Renewal Intent
|
|
781
|
+
* * SQL Data Type: nvarchar(20)
|
|
782
|
+
* * Value List Type: List
|
|
783
|
+
* * Possible Values
|
|
784
|
+
* * No
|
|
785
|
+
* * Undecided
|
|
786
|
+
* * Yes
|
|
787
|
+
* * Description: The member's stated intent to serve another term (Yes, No, Undecided), captured via Member Home self-service; NULL = not yet answered. Feeds the People & Terms succession pipeline.`),
|
|
788
|
+
Person: z.string().describe(`
|
|
789
|
+
* * Field Name: Person
|
|
790
|
+
* * Display Name: Person
|
|
791
|
+
* * SQL Data Type: nvarchar(201)`),
|
|
792
|
+
Role: z.string().describe(`
|
|
793
|
+
* * Field Name: Role
|
|
794
|
+
* * Display Name: Role
|
|
795
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
796
|
+
Term: z.string().describe(`
|
|
797
|
+
* * Field Name: Term
|
|
798
|
+
* * Display Name: Term
|
|
799
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
800
|
+
});
|
|
801
|
+
/**
|
|
802
|
+
* zod schema definition for the entity Committees: Minutes
|
|
803
|
+
*/
|
|
804
|
+
export const mjBizAppsCommitteesMinuteSchema = z.object({
|
|
805
|
+
ID: z.string().describe(`
|
|
806
|
+
* * Field Name: ID
|
|
807
|
+
* * Display Name: ID
|
|
808
|
+
* * SQL Data Type: uniqueidentifier
|
|
809
|
+
* * Default Value: newsequentialid()`),
|
|
810
|
+
ArtifactID: z.string().nullable().describe(`
|
|
811
|
+
* * Field Name: ArtifactID
|
|
812
|
+
* * Display Name: Artifact ID
|
|
813
|
+
* * SQL Data Type: uniqueidentifier
|
|
814
|
+
* * Related Entity/Foreign Key: Committees: Artifacts (vwArtifacts.ID)`),
|
|
815
|
+
MeetingID: z.string().nullable().describe(`
|
|
816
|
+
* * Field Name: MeetingID
|
|
817
|
+
* * Display Name: Meeting ID
|
|
818
|
+
* * SQL Data Type: uniqueidentifier
|
|
819
|
+
* * Related Entity/Foreign Key: Committees: Meetings (vwMeetings.ID)`),
|
|
820
|
+
Content: z.string().nullable().describe(`
|
|
821
|
+
* * Field Name: Content
|
|
822
|
+
* * Display Name: Content
|
|
823
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
824
|
+
ApprovalStatus: z.union([z.literal('Approved'), z.literal('Draft'), z.literal('PendingApproval'), z.literal('Rejected')]).describe(`
|
|
825
|
+
* * Field Name: ApprovalStatus
|
|
826
|
+
* * Display Name: Approval Status
|
|
827
|
+
* * SQL Data Type: nvarchar(50)
|
|
828
|
+
* * Default Value: Draft
|
|
829
|
+
* * Value List Type: List
|
|
830
|
+
* * Possible Values
|
|
831
|
+
* * Approved
|
|
832
|
+
* * Draft
|
|
833
|
+
* * PendingApproval
|
|
834
|
+
* * Rejected`),
|
|
835
|
+
ApprovedAt: z.date().nullable().describe(`
|
|
836
|
+
* * Field Name: ApprovedAt
|
|
837
|
+
* * Display Name: Approved At
|
|
838
|
+
* * SQL Data Type: datetimeoffset`),
|
|
839
|
+
ApprovedByMeetingID: z.string().nullable().describe(`
|
|
840
|
+
* * Field Name: ApprovedByMeetingID
|
|
841
|
+
* * Display Name: Approved By Meeting ID
|
|
842
|
+
* * SQL Data Type: uniqueidentifier
|
|
843
|
+
* * Related Entity/Foreign Key: Committees: Meetings (vwMeetings.ID)`),
|
|
844
|
+
Notes: z.string().nullable().describe(`
|
|
845
|
+
* * Field Name: Notes
|
|
846
|
+
* * Display Name: Notes
|
|
847
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
848
|
+
__mj_CreatedAt: z.date().describe(`
|
|
849
|
+
* * Field Name: __mj_CreatedAt
|
|
850
|
+
* * Display Name: Created At
|
|
851
|
+
* * SQL Data Type: datetimeoffset
|
|
852
|
+
* * Default Value: getutcdate()`),
|
|
853
|
+
__mj_UpdatedAt: z.date().describe(`
|
|
854
|
+
* * Field Name: __mj_UpdatedAt
|
|
855
|
+
* * Display Name: Updated At
|
|
856
|
+
* * SQL Data Type: datetimeoffset
|
|
857
|
+
* * Default Value: getutcdate()`),
|
|
858
|
+
Artifact: z.string().nullable().describe(`
|
|
859
|
+
* * Field Name: Artifact
|
|
860
|
+
* * Display Name: Artifact
|
|
861
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
862
|
+
Meeting: z.string().nullable().describe(`
|
|
863
|
+
* * Field Name: Meeting
|
|
864
|
+
* * Display Name: Meeting
|
|
865
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
866
|
+
ApprovedByMeeting: z.string().nullable().describe(`
|
|
867
|
+
* * Field Name: ApprovedByMeeting
|
|
868
|
+
* * Display Name: Approved By Meeting
|
|
869
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
870
|
+
});
|
|
871
|
+
/**
|
|
872
|
+
* zod schema definition for the entity Committees: Motions
|
|
873
|
+
*/
|
|
874
|
+
export const mjBizAppsCommitteesMotionSchema = z.object({
|
|
875
|
+
ID: z.string().describe(`
|
|
876
|
+
* * Field Name: ID
|
|
877
|
+
* * Display Name: ID
|
|
878
|
+
* * SQL Data Type: uniqueidentifier
|
|
879
|
+
* * Default Value: newsequentialid()`),
|
|
880
|
+
MeetingID: z.string().nullable().describe(`
|
|
881
|
+
* * Field Name: MeetingID
|
|
882
|
+
* * Display Name: Meeting ID
|
|
883
|
+
* * SQL Data Type: uniqueidentifier
|
|
884
|
+
* * Related Entity/Foreign Key: Committees: Meetings (vwMeetings.ID)
|
|
885
|
+
* * Description: Meeting where the motion was made; NULL for between-meeting e-ballot motions (see Ballot)`),
|
|
886
|
+
AgendaItemID: z.string().nullable().describe(`
|
|
887
|
+
* * Field Name: AgendaItemID
|
|
888
|
+
* * Display Name: Agenda Item ID
|
|
889
|
+
* * SQL Data Type: uniqueidentifier
|
|
890
|
+
* * Related Entity/Foreign Key: Committees: Agenda Items (vwAgendaItems.ID)`),
|
|
891
|
+
Sequence: z.number().describe(`
|
|
892
|
+
* * Field Name: Sequence
|
|
893
|
+
* * Display Name: Sequence
|
|
894
|
+
* * SQL Data Type: int
|
|
895
|
+
* * Default Value: 1`),
|
|
896
|
+
Name: z.string().describe(`
|
|
897
|
+
* * Field Name: Name
|
|
898
|
+
* * Display Name: Name
|
|
899
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
900
|
+
Description: z.string().nullable().describe(`
|
|
901
|
+
* * Field Name: Description
|
|
902
|
+
* * Display Name: Description
|
|
903
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
904
|
+
MovedByMembershipID: z.string().nullable().describe(`
|
|
905
|
+
* * Field Name: MovedByMembershipID
|
|
906
|
+
* * Display Name: Moved By Membership ID
|
|
907
|
+
* * SQL Data Type: uniqueidentifier
|
|
908
|
+
* * Related Entity/Foreign Key: Committees: Memberships (vwMemberships.ID)`),
|
|
909
|
+
SecondedByMembershipID: z.string().nullable().describe(`
|
|
910
|
+
* * Field Name: SecondedByMembershipID
|
|
911
|
+
* * Display Name: Seconded By Membership ID
|
|
912
|
+
* * SQL Data Type: uniqueidentifier
|
|
913
|
+
* * Related Entity/Foreign Key: Committees: Memberships (vwMemberships.ID)`),
|
|
914
|
+
Result: z.union([z.literal('Failed'), z.literal('Passed'), z.literal('Pending'), z.literal('Tabled'), z.literal('Withdrawn')]).describe(`
|
|
915
|
+
* * Field Name: Result
|
|
916
|
+
* * Display Name: Result
|
|
917
|
+
* * SQL Data Type: nvarchar(50)
|
|
918
|
+
* * Default Value: Pending
|
|
919
|
+
* * Value List Type: List
|
|
920
|
+
* * Possible Values
|
|
921
|
+
* * Failed
|
|
922
|
+
* * Passed
|
|
923
|
+
* * Pending
|
|
924
|
+
* * Tabled
|
|
925
|
+
* * Withdrawn`),
|
|
926
|
+
ResultSummary: z.string().nullable().describe(`
|
|
927
|
+
* * Field Name: ResultSummary
|
|
928
|
+
* * Display Name: Result Summary
|
|
929
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
930
|
+
YesCount: z.number().nullable().describe(`
|
|
931
|
+
* * Field Name: YesCount
|
|
932
|
+
* * Display Name: Yes Count
|
|
933
|
+
* * SQL Data Type: int`),
|
|
934
|
+
NoCount: z.number().nullable().describe(`
|
|
935
|
+
* * Field Name: NoCount
|
|
936
|
+
* * Display Name: No Count
|
|
937
|
+
* * SQL Data Type: int`),
|
|
938
|
+
AbstainCount: z.number().nullable().describe(`
|
|
939
|
+
* * Field Name: AbstainCount
|
|
940
|
+
* * Display Name: Abstain Count
|
|
941
|
+
* * SQL Data Type: int`),
|
|
942
|
+
Notes: z.string().nullable().describe(`
|
|
943
|
+
* * Field Name: Notes
|
|
944
|
+
* * Display Name: Notes
|
|
945
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
946
|
+
__mj_CreatedAt: z.date().describe(`
|
|
947
|
+
* * Field Name: __mj_CreatedAt
|
|
948
|
+
* * Display Name: Created At
|
|
949
|
+
* * SQL Data Type: datetimeoffset
|
|
950
|
+
* * Default Value: getutcdate()`),
|
|
951
|
+
__mj_UpdatedAt: z.date().describe(`
|
|
952
|
+
* * Field Name: __mj_UpdatedAt
|
|
953
|
+
* * Display Name: Updated At
|
|
954
|
+
* * SQL Data Type: datetimeoffset
|
|
955
|
+
* * Default Value: getutcdate()`),
|
|
956
|
+
Meeting: z.string().nullable().describe(`
|
|
957
|
+
* * Field Name: Meeting
|
|
958
|
+
* * Display Name: Meeting
|
|
959
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
960
|
+
AgendaItem: z.string().nullable().describe(`
|
|
961
|
+
* * Field Name: AgendaItem
|
|
962
|
+
* * Display Name: Agenda Item
|
|
963
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
964
|
+
});
|
|
965
|
+
/**
|
|
966
|
+
* zod schema definition for the entity Committees: Roles
|
|
967
|
+
*/
|
|
968
|
+
export const mjBizAppsCommitteesRoleSchema = z.object({
|
|
969
|
+
ID: z.string().describe(`
|
|
970
|
+
* * Field Name: ID
|
|
971
|
+
* * Display Name: ID
|
|
972
|
+
* * SQL Data Type: uniqueidentifier
|
|
973
|
+
* * Default Value: newsequentialid()`),
|
|
974
|
+
Name: z.string().describe(`
|
|
975
|
+
* * Field Name: Name
|
|
976
|
+
* * Display Name: Name
|
|
977
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
978
|
+
Description: z.string().nullable().describe(`
|
|
979
|
+
* * Field Name: Description
|
|
980
|
+
* * Display Name: Description
|
|
981
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
982
|
+
IsOfficer: z.boolean().describe(`
|
|
983
|
+
* * Field Name: IsOfficer
|
|
984
|
+
* * Display Name: Is Officer
|
|
985
|
+
* * SQL Data Type: bit
|
|
986
|
+
* * Default Value: 0`),
|
|
987
|
+
IsVotingRole: z.boolean().describe(`
|
|
988
|
+
* * Field Name: IsVotingRole
|
|
989
|
+
* * Display Name: Is Voting Role
|
|
990
|
+
* * SQL Data Type: bit
|
|
991
|
+
* * Default Value: 1`),
|
|
992
|
+
DefaultPermissionsJSON: z.string().nullable().describe(`
|
|
993
|
+
* * Field Name: DefaultPermissionsJSON
|
|
994
|
+
* * Display Name: Default Permissions JSON
|
|
995
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
996
|
+
Sequence: z.number().describe(`
|
|
997
|
+
* * Field Name: Sequence
|
|
998
|
+
* * Display Name: Sequence
|
|
999
|
+
* * SQL Data Type: int
|
|
1000
|
+
* * Default Value: 100`),
|
|
1001
|
+
__mj_CreatedAt: z.date().describe(`
|
|
1002
|
+
* * Field Name: __mj_CreatedAt
|
|
1003
|
+
* * Display Name: Created At
|
|
1004
|
+
* * SQL Data Type: datetimeoffset
|
|
1005
|
+
* * Default Value: getutcdate()`),
|
|
1006
|
+
__mj_UpdatedAt: z.date().describe(`
|
|
1007
|
+
* * Field Name: __mj_UpdatedAt
|
|
1008
|
+
* * Display Name: Updated At
|
|
1009
|
+
* * SQL Data Type: datetimeoffset
|
|
1010
|
+
* * Default Value: getutcdate()`),
|
|
1011
|
+
});
|
|
1012
|
+
/**
|
|
1013
|
+
* zod schema definition for the entity Committees: Terms
|
|
1014
|
+
*/
|
|
1015
|
+
export const mjBizAppsCommitteesTermSchema = z.object({
|
|
1016
|
+
ID: z.string().describe(`
|
|
1017
|
+
* * Field Name: ID
|
|
1018
|
+
* * Display Name: ID
|
|
1019
|
+
* * SQL Data Type: uniqueidentifier
|
|
1020
|
+
* * Default Value: newsequentialid()`),
|
|
1021
|
+
CommitteeID: z.string().describe(`
|
|
1022
|
+
* * Field Name: CommitteeID
|
|
1023
|
+
* * Display Name: Committee ID
|
|
1024
|
+
* * SQL Data Type: uniqueidentifier
|
|
1025
|
+
* * Related Entity/Foreign Key: Committees: Committees (vwCommittees.ID)`),
|
|
1026
|
+
Name: z.string().describe(`
|
|
1027
|
+
* * Field Name: Name
|
|
1028
|
+
* * Display Name: Name
|
|
1029
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
1030
|
+
StartDate: z.date().describe(`
|
|
1031
|
+
* * Field Name: StartDate
|
|
1032
|
+
* * Display Name: Start Date
|
|
1033
|
+
* * SQL Data Type: date`),
|
|
1034
|
+
EndDate: z.date().nullable().describe(`
|
|
1035
|
+
* * Field Name: EndDate
|
|
1036
|
+
* * Display Name: End Date
|
|
1037
|
+
* * SQL Data Type: date`),
|
|
1038
|
+
Status: z.union([z.literal('Active'), z.literal('Completed'), z.literal('Upcoming')]).describe(`
|
|
1039
|
+
* * Field Name: Status
|
|
1040
|
+
* * Display Name: Status
|
|
1041
|
+
* * SQL Data Type: nvarchar(50)
|
|
1042
|
+
* * Default Value: Active
|
|
1043
|
+
* * Value List Type: List
|
|
1044
|
+
* * Possible Values
|
|
1045
|
+
* * Active
|
|
1046
|
+
* * Completed
|
|
1047
|
+
* * Upcoming`),
|
|
1048
|
+
__mj_CreatedAt: z.date().describe(`
|
|
1049
|
+
* * Field Name: __mj_CreatedAt
|
|
1050
|
+
* * Display Name: Created At
|
|
1051
|
+
* * SQL Data Type: datetimeoffset
|
|
1052
|
+
* * Default Value: getutcdate()`),
|
|
1053
|
+
__mj_UpdatedAt: z.date().describe(`
|
|
1054
|
+
* * Field Name: __mj_UpdatedAt
|
|
1055
|
+
* * Display Name: Updated At
|
|
1056
|
+
* * SQL Data Type: datetimeoffset
|
|
1057
|
+
* * Default Value: getutcdate()`),
|
|
1058
|
+
Committee: z.string().describe(`
|
|
1059
|
+
* * Field Name: Committee
|
|
1060
|
+
* * Display Name: Committee
|
|
1061
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
1062
|
+
});
|
|
1063
|
+
/**
|
|
1064
|
+
* zod schema definition for the entity Committees: Types
|
|
1065
|
+
*/
|
|
1066
|
+
export const mjBizAppsCommitteesTypeSchema = z.object({
|
|
1067
|
+
ID: z.string().describe(`
|
|
1068
|
+
* * Field Name: ID
|
|
1069
|
+
* * Display Name: ID
|
|
1070
|
+
* * SQL Data Type: uniqueidentifier
|
|
1071
|
+
* * Default Value: newsequentialid()`),
|
|
1072
|
+
Name: z.string().describe(`
|
|
1073
|
+
* * Field Name: Name
|
|
1074
|
+
* * Display Name: Name
|
|
1075
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
1076
|
+
Description: z.string().nullable().describe(`
|
|
1077
|
+
* * Field Name: Description
|
|
1078
|
+
* * Display Name: Description
|
|
1079
|
+
* * SQL Data Type: nvarchar(MAX)`),
|
|
1080
|
+
IsStandards: z.boolean().describe(`
|
|
1081
|
+
* * Field Name: IsStandards
|
|
1082
|
+
* * Display Name: Is Standards
|
|
1083
|
+
* * SQL Data Type: bit
|
|
1084
|
+
* * Default Value: 0`),
|
|
1085
|
+
DefaultTermMonths: z.number().nullable().describe(`
|
|
1086
|
+
* * Field Name: DefaultTermMonths
|
|
1087
|
+
* * Display Name: Default Term Months
|
|
1088
|
+
* * SQL Data Type: int`),
|
|
1089
|
+
IconClass: z.string().nullable().describe(`
|
|
1090
|
+
* * Field Name: IconClass
|
|
1091
|
+
* * Display Name: Icon Class
|
|
1092
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
1093
|
+
__mj_CreatedAt: z.date().describe(`
|
|
1094
|
+
* * Field Name: __mj_CreatedAt
|
|
1095
|
+
* * Display Name: Created At
|
|
1096
|
+
* * SQL Data Type: datetimeoffset
|
|
1097
|
+
* * Default Value: getutcdate()`),
|
|
1098
|
+
__mj_UpdatedAt: z.date().describe(`
|
|
1099
|
+
* * Field Name: __mj_UpdatedAt
|
|
1100
|
+
* * Display Name: Updated At
|
|
1101
|
+
* * SQL Data Type: datetimeoffset
|
|
1102
|
+
* * Default Value: getutcdate()`),
|
|
1103
|
+
});
|
|
1104
|
+
/**
|
|
1105
|
+
* zod schema definition for the entity Committees: Video Providers
|
|
1106
|
+
*/
|
|
1107
|
+
export const mjBizAppsCommitteesVideoProviderSchema = z.object({
|
|
1108
|
+
ID: z.string().describe(`
|
|
1109
|
+
* * Field Name: ID
|
|
1110
|
+
* * Display Name: ID
|
|
1111
|
+
* * SQL Data Type: uniqueidentifier
|
|
1112
|
+
* * Default Value: newsequentialid()`),
|
|
1113
|
+
Name: z.string().describe(`
|
|
1114
|
+
* * Field Name: Name
|
|
1115
|
+
* * Display Name: Name
|
|
1116
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
1117
|
+
ServerDriverKey: z.string().describe(`
|
|
1118
|
+
* * Field Name: ServerDriverKey
|
|
1119
|
+
* * Display Name: Server Driver Key
|
|
1120
|
+
* * SQL Data Type: nvarchar(100)`),
|
|
1121
|
+
IsActive: z.boolean().describe(`
|
|
1122
|
+
* * Field Name: IsActive
|
|
1123
|
+
* * Display Name: Is Active
|
|
1124
|
+
* * SQL Data Type: bit
|
|
1125
|
+
* * Default Value: 1`),
|
|
1126
|
+
IsDefault: z.boolean().describe(`
|
|
1127
|
+
* * Field Name: IsDefault
|
|
1128
|
+
* * Display Name: Is Default
|
|
1129
|
+
* * SQL Data Type: bit
|
|
1130
|
+
* * Default Value: 0`),
|
|
1131
|
+
CredentialID: z.string().nullable().describe(`
|
|
1132
|
+
* * Field Name: CredentialID
|
|
1133
|
+
* * Display Name: Credential ID
|
|
1134
|
+
* * SQL Data Type: uniqueidentifier
|
|
1135
|
+
* * Related Entity/Foreign Key: MJ: Credentials (vwCredentials.ID)`),
|
|
1136
|
+
__mj_CreatedAt: z.date().describe(`
|
|
1137
|
+
* * Field Name: __mj_CreatedAt
|
|
1138
|
+
* * Display Name: Created At
|
|
1139
|
+
* * SQL Data Type: datetimeoffset
|
|
1140
|
+
* * Default Value: getutcdate()`),
|
|
1141
|
+
__mj_UpdatedAt: z.date().describe(`
|
|
1142
|
+
* * Field Name: __mj_UpdatedAt
|
|
1143
|
+
* * Display Name: Updated At
|
|
1144
|
+
* * SQL Data Type: datetimeoffset
|
|
1145
|
+
* * Default Value: getutcdate()`),
|
|
1146
|
+
Credential: z.string().nullable().describe(`
|
|
1147
|
+
* * Field Name: Credential
|
|
1148
|
+
* * Display Name: Credential
|
|
1149
|
+
* * SQL Data Type: nvarchar(200)`),
|
|
1150
|
+
});
|
|
1151
|
+
/**
|
|
1152
|
+
* zod schema definition for the entity Committees: Votes
|
|
1153
|
+
*/
|
|
1154
|
+
export const mjBizAppsCommitteesVoteSchema = z.object({
|
|
1155
|
+
ID: z.string().describe(`
|
|
1156
|
+
* * Field Name: ID
|
|
1157
|
+
* * Display Name: ID
|
|
1158
|
+
* * SQL Data Type: uniqueidentifier
|
|
1159
|
+
* * Default Value: newsequentialid()`),
|
|
1160
|
+
MotionID: z.string().describe(`
|
|
1161
|
+
* * Field Name: MotionID
|
|
1162
|
+
* * Display Name: Motion ID
|
|
1163
|
+
* * SQL Data Type: uniqueidentifier
|
|
1164
|
+
* * Related Entity/Foreign Key: Committees: Motions (vwMotions.ID)`),
|
|
1165
|
+
MembershipID: z.string().describe(`
|
|
1166
|
+
* * Field Name: MembershipID
|
|
1167
|
+
* * Display Name: Membership ID
|
|
1168
|
+
* * SQL Data Type: uniqueidentifier
|
|
1169
|
+
* * Related Entity/Foreign Key: Committees: Memberships (vwMemberships.ID)`),
|
|
1170
|
+
VoteValue: z.union([z.literal('Absent'), z.literal('Abstain'), z.literal('No'), z.literal('Yes')]).describe(`
|
|
1171
|
+
* * Field Name: VoteValue
|
|
1172
|
+
* * Display Name: Vote Value
|
|
1173
|
+
* * SQL Data Type: nvarchar(20)
|
|
1174
|
+
* * Value List Type: List
|
|
1175
|
+
* * Possible Values
|
|
1176
|
+
* * Absent
|
|
1177
|
+
* * Abstain
|
|
1178
|
+
* * No
|
|
1179
|
+
* * Yes`),
|
|
1180
|
+
Notes: z.string().nullable().describe(`
|
|
1181
|
+
* * Field Name: Notes
|
|
1182
|
+
* * Display Name: Notes
|
|
1183
|
+
* * SQL Data Type: nvarchar(500)`),
|
|
1184
|
+
__mj_CreatedAt: z.date().describe(`
|
|
1185
|
+
* * Field Name: __mj_CreatedAt
|
|
1186
|
+
* * Display Name: Created At
|
|
1187
|
+
* * SQL Data Type: datetimeoffset
|
|
1188
|
+
* * Default Value: getutcdate()`),
|
|
1189
|
+
__mj_UpdatedAt: z.date().describe(`
|
|
1190
|
+
* * Field Name: __mj_UpdatedAt
|
|
1191
|
+
* * Display Name: Updated At
|
|
1192
|
+
* * SQL Data Type: datetimeoffset
|
|
1193
|
+
* * Default Value: getutcdate()`),
|
|
1194
|
+
Motion: z.string().describe(`
|
|
1195
|
+
* * Field Name: Motion
|
|
1196
|
+
* * Display Name: Motion
|
|
1197
|
+
* * SQL Data Type: nvarchar(255)`),
|
|
1198
|
+
});
|
|
1199
|
+
/**
|
|
1200
|
+
* Committees: Agenda Items - strongly typed entity sub-class
|
|
1201
|
+
* * Schema: __mj_BizAppsCommittees
|
|
1202
|
+
* * Base Table: AgendaItem
|
|
1203
|
+
* * Base View: vwAgendaItems
|
|
1204
|
+
* * @description Structured agenda items for meetings with hierarchy support
|
|
1205
|
+
* * Primary Key: ID
|
|
1206
|
+
* @extends {BaseEntity}
|
|
1207
|
+
* @class
|
|
1208
|
+
* @public
|
|
1209
|
+
*/
|
|
1210
|
+
let mjBizAppsCommitteesAgendaItemEntity = class mjBizAppsCommitteesAgendaItemEntity extends BaseEntity {
|
|
1211
|
+
/**
|
|
1212
|
+
* Loads the Committees: Agenda Items record from the database
|
|
1213
|
+
* @param ID: string - primary key value to load the Committees: Agenda Items record.
|
|
1214
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
1215
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
1216
|
+
* @public
|
|
1217
|
+
* @async
|
|
1218
|
+
* @memberof mjBizAppsCommitteesAgendaItemEntity
|
|
1219
|
+
* @method
|
|
1220
|
+
* @override
|
|
1221
|
+
*/
|
|
1222
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
1223
|
+
const compositeKey = new CompositeKey();
|
|
1224
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
1225
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
1226
|
+
}
|
|
1227
|
+
/**
|
|
1228
|
+
* * Field Name: ID
|
|
1229
|
+
* * Display Name: ID
|
|
1230
|
+
* * SQL Data Type: uniqueidentifier
|
|
1231
|
+
* * Default Value: newsequentialid()
|
|
1232
|
+
*/
|
|
1233
|
+
get ID() {
|
|
1234
|
+
return this.Get('ID');
|
|
1235
|
+
}
|
|
1236
|
+
set ID(value) {
|
|
1237
|
+
this.Set('ID', value);
|
|
1238
|
+
}
|
|
1239
|
+
/**
|
|
1240
|
+
* * Field Name: MeetingID
|
|
1241
|
+
* * Display Name: Meeting ID
|
|
1242
|
+
* * SQL Data Type: uniqueidentifier
|
|
1243
|
+
* * Related Entity/Foreign Key: Committees: Meetings (vwMeetings.ID)
|
|
1244
|
+
*/
|
|
1245
|
+
get MeetingID() {
|
|
1246
|
+
return this.Get('MeetingID');
|
|
1247
|
+
}
|
|
1248
|
+
set MeetingID(value) {
|
|
1249
|
+
this.Set('MeetingID', value);
|
|
1250
|
+
}
|
|
1251
|
+
/**
|
|
1252
|
+
* * Field Name: ParentAgendaItemID
|
|
1253
|
+
* * Display Name: Parent Agenda Item ID
|
|
1254
|
+
* * SQL Data Type: uniqueidentifier
|
|
1255
|
+
* * Related Entity/Foreign Key: Committees: Agenda Items (vwAgendaItems.ID)
|
|
1256
|
+
*/
|
|
1257
|
+
get ParentAgendaItemID() {
|
|
1258
|
+
return this.Get('ParentAgendaItemID');
|
|
1259
|
+
}
|
|
1260
|
+
set ParentAgendaItemID(value) {
|
|
1261
|
+
this.Set('ParentAgendaItemID', value);
|
|
1262
|
+
}
|
|
1263
|
+
/**
|
|
1264
|
+
* * Field Name: Sequence
|
|
1265
|
+
* * Display Name: Sequence
|
|
1266
|
+
* * SQL Data Type: int
|
|
1267
|
+
*/
|
|
1268
|
+
get Sequence() {
|
|
1269
|
+
return this.Get('Sequence');
|
|
1270
|
+
}
|
|
1271
|
+
set Sequence(value) {
|
|
1272
|
+
this.Set('Sequence', value);
|
|
1273
|
+
}
|
|
1274
|
+
/**
|
|
1275
|
+
* * Field Name: Name
|
|
1276
|
+
* * Display Name: Name
|
|
1277
|
+
* * SQL Data Type: nvarchar(255)
|
|
1278
|
+
*/
|
|
1279
|
+
get Name() {
|
|
1280
|
+
return this.Get('Name');
|
|
1281
|
+
}
|
|
1282
|
+
set Name(value) {
|
|
1283
|
+
this.Set('Name', value);
|
|
1284
|
+
}
|
|
1285
|
+
/**
|
|
1286
|
+
* * Field Name: Description
|
|
1287
|
+
* * Display Name: Description
|
|
1288
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
1289
|
+
*/
|
|
1290
|
+
get Description() {
|
|
1291
|
+
return this.Get('Description');
|
|
1292
|
+
}
|
|
1293
|
+
set Description(value) {
|
|
1294
|
+
this.Set('Description', value);
|
|
1295
|
+
}
|
|
1296
|
+
/**
|
|
1297
|
+
* * Field Name: PresenterPersonID
|
|
1298
|
+
* * Display Name: Presenter Person ID
|
|
1299
|
+
* * SQL Data Type: uniqueidentifier
|
|
1300
|
+
* * Related Entity/Foreign Key: MJ_BizApps_Common: People (vwPeople.ID)
|
|
1301
|
+
*/
|
|
1302
|
+
get PresenterPersonID() {
|
|
1303
|
+
return this.Get('PresenterPersonID');
|
|
1304
|
+
}
|
|
1305
|
+
set PresenterPersonID(value) {
|
|
1306
|
+
this.Set('PresenterPersonID', value);
|
|
1307
|
+
}
|
|
1308
|
+
/**
|
|
1309
|
+
* * Field Name: DurationMinutes
|
|
1310
|
+
* * Display Name: Duration Minutes
|
|
1311
|
+
* * SQL Data Type: int
|
|
1312
|
+
*/
|
|
1313
|
+
get DurationMinutes() {
|
|
1314
|
+
return this.Get('DurationMinutes');
|
|
1315
|
+
}
|
|
1316
|
+
set DurationMinutes(value) {
|
|
1317
|
+
this.Set('DurationMinutes', value);
|
|
1318
|
+
}
|
|
1319
|
+
/**
|
|
1320
|
+
* * Field Name: ItemType
|
|
1321
|
+
* * Display Name: Item Type
|
|
1322
|
+
* * SQL Data Type: nvarchar(50)
|
|
1323
|
+
* * Default Value: Discussion
|
|
1324
|
+
* * Value List Type: List
|
|
1325
|
+
* * Possible Values
|
|
1326
|
+
* * Action
|
|
1327
|
+
* * Discussion
|
|
1328
|
+
* * Information
|
|
1329
|
+
* * Other
|
|
1330
|
+
* * Report
|
|
1331
|
+
* * Vote
|
|
1332
|
+
*/
|
|
1333
|
+
get ItemType() {
|
|
1334
|
+
return this.Get('ItemType');
|
|
1335
|
+
}
|
|
1336
|
+
set ItemType(value) {
|
|
1337
|
+
this.Set('ItemType', value);
|
|
1338
|
+
}
|
|
1339
|
+
/**
|
|
1340
|
+
* * Field Name: RelatedDocumentURL
|
|
1341
|
+
* * Display Name: Related Document URL
|
|
1342
|
+
* * SQL Data Type: nvarchar(1000)
|
|
1343
|
+
*/
|
|
1344
|
+
get RelatedDocumentURL() {
|
|
1345
|
+
return this.Get('RelatedDocumentURL');
|
|
1346
|
+
}
|
|
1347
|
+
set RelatedDocumentURL(value) {
|
|
1348
|
+
this.Set('RelatedDocumentURL', value);
|
|
1349
|
+
}
|
|
1350
|
+
/**
|
|
1351
|
+
* * Field Name: Status
|
|
1352
|
+
* * Display Name: Status
|
|
1353
|
+
* * SQL Data Type: nvarchar(50)
|
|
1354
|
+
* * Default Value: Pending
|
|
1355
|
+
* * Value List Type: List
|
|
1356
|
+
* * Possible Values
|
|
1357
|
+
* * Completed
|
|
1358
|
+
* * Discussed
|
|
1359
|
+
* * Pending
|
|
1360
|
+
* * Skipped
|
|
1361
|
+
* * Tabled
|
|
1362
|
+
*/
|
|
1363
|
+
get Status() {
|
|
1364
|
+
return this.Get('Status');
|
|
1365
|
+
}
|
|
1366
|
+
set Status(value) {
|
|
1367
|
+
this.Set('Status', value);
|
|
1368
|
+
}
|
|
1369
|
+
/**
|
|
1370
|
+
* * Field Name: Notes
|
|
1371
|
+
* * Display Name: Notes
|
|
1372
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
1373
|
+
*/
|
|
1374
|
+
get Notes() {
|
|
1375
|
+
return this.Get('Notes');
|
|
1376
|
+
}
|
|
1377
|
+
set Notes(value) {
|
|
1378
|
+
this.Set('Notes', value);
|
|
1379
|
+
}
|
|
1380
|
+
/**
|
|
1381
|
+
* * Field Name: __mj_CreatedAt
|
|
1382
|
+
* * Display Name: Created At
|
|
1383
|
+
* * SQL Data Type: datetimeoffset
|
|
1384
|
+
* * Default Value: getutcdate()
|
|
1385
|
+
*/
|
|
1386
|
+
get __mj_CreatedAt() {
|
|
1387
|
+
return this.Get('__mj_CreatedAt');
|
|
1388
|
+
}
|
|
1389
|
+
/**
|
|
1390
|
+
* * Field Name: __mj_UpdatedAt
|
|
1391
|
+
* * Display Name: Updated At
|
|
1392
|
+
* * SQL Data Type: datetimeoffset
|
|
1393
|
+
* * Default Value: getutcdate()
|
|
1394
|
+
*/
|
|
1395
|
+
get __mj_UpdatedAt() {
|
|
1396
|
+
return this.Get('__mj_UpdatedAt');
|
|
1397
|
+
}
|
|
1398
|
+
/**
|
|
1399
|
+
* * Field Name: Meeting
|
|
1400
|
+
* * Display Name: Meeting
|
|
1401
|
+
* * SQL Data Type: nvarchar(255)
|
|
1402
|
+
*/
|
|
1403
|
+
get Meeting() {
|
|
1404
|
+
return this.Get('Meeting');
|
|
1405
|
+
}
|
|
1406
|
+
/**
|
|
1407
|
+
* * Field Name: ParentAgendaItem
|
|
1408
|
+
* * Display Name: Parent Agenda Item
|
|
1409
|
+
* * SQL Data Type: nvarchar(255)
|
|
1410
|
+
*/
|
|
1411
|
+
get ParentAgendaItem() {
|
|
1412
|
+
return this.Get('ParentAgendaItem');
|
|
1413
|
+
}
|
|
1414
|
+
/**
|
|
1415
|
+
* * Field Name: PresenterPerson
|
|
1416
|
+
* * Display Name: Presenter Person
|
|
1417
|
+
* * SQL Data Type: nvarchar(201)
|
|
1418
|
+
*/
|
|
1419
|
+
get PresenterPerson() {
|
|
1420
|
+
return this.Get('PresenterPerson');
|
|
1421
|
+
}
|
|
1422
|
+
/**
|
|
1423
|
+
* * Field Name: RootParentAgendaItemID
|
|
1424
|
+
* * Display Name: Root Parent Agenda Item ID
|
|
1425
|
+
* * SQL Data Type: uniqueidentifier
|
|
1426
|
+
*/
|
|
1427
|
+
get RootParentAgendaItemID() {
|
|
1428
|
+
return this.Get('RootParentAgendaItemID');
|
|
1429
|
+
}
|
|
1430
|
+
};
|
|
1431
|
+
mjBizAppsCommitteesAgendaItemEntity = __decorate([
|
|
1432
|
+
RegisterClass(BaseEntity, 'Committees: Agenda Items')
|
|
1433
|
+
], mjBizAppsCommitteesAgendaItemEntity);
|
|
1434
|
+
export { mjBizAppsCommitteesAgendaItemEntity };
|
|
1435
|
+
/**
|
|
1436
|
+
* Committees: Artifact Types - strongly typed entity sub-class
|
|
1437
|
+
* * Schema: __mj_BizAppsCommittees
|
|
1438
|
+
* * Base Table: ArtifactType
|
|
1439
|
+
* * Base View: vwArtifactTypes
|
|
1440
|
+
* * @description Categories of committee artifacts with optional extension entity for type-specific fields
|
|
1441
|
+
* * Primary Key: ID
|
|
1442
|
+
* @extends {BaseEntity}
|
|
1443
|
+
* @class
|
|
1444
|
+
* @public
|
|
1445
|
+
*/
|
|
1446
|
+
let mjBizAppsCommitteesArtifactTypeEntity = class mjBizAppsCommitteesArtifactTypeEntity extends BaseEntity {
|
|
1447
|
+
/**
|
|
1448
|
+
* Loads the Committees: Artifact Types record from the database
|
|
1449
|
+
* @param ID: string - primary key value to load the Committees: Artifact Types record.
|
|
1450
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
1451
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
1452
|
+
* @public
|
|
1453
|
+
* @async
|
|
1454
|
+
* @memberof mjBizAppsCommitteesArtifactTypeEntity
|
|
1455
|
+
* @method
|
|
1456
|
+
* @override
|
|
1457
|
+
*/
|
|
1458
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
1459
|
+
const compositeKey = new CompositeKey();
|
|
1460
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
1461
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
1462
|
+
}
|
|
1463
|
+
/**
|
|
1464
|
+
* * Field Name: ID
|
|
1465
|
+
* * Display Name: ID
|
|
1466
|
+
* * SQL Data Type: uniqueidentifier
|
|
1467
|
+
* * Default Value: newsequentialid()
|
|
1468
|
+
*/
|
|
1469
|
+
get ID() {
|
|
1470
|
+
return this.Get('ID');
|
|
1471
|
+
}
|
|
1472
|
+
set ID(value) {
|
|
1473
|
+
this.Set('ID', value);
|
|
1474
|
+
}
|
|
1475
|
+
/**
|
|
1476
|
+
* * Field Name: Name
|
|
1477
|
+
* * Display Name: Name
|
|
1478
|
+
* * SQL Data Type: nvarchar(100)
|
|
1479
|
+
*/
|
|
1480
|
+
get Name() {
|
|
1481
|
+
return this.Get('Name');
|
|
1482
|
+
}
|
|
1483
|
+
set Name(value) {
|
|
1484
|
+
this.Set('Name', value);
|
|
1485
|
+
}
|
|
1486
|
+
/**
|
|
1487
|
+
* * Field Name: Description
|
|
1488
|
+
* * Display Name: Description
|
|
1489
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
1490
|
+
*/
|
|
1491
|
+
get Description() {
|
|
1492
|
+
return this.Get('Description');
|
|
1493
|
+
}
|
|
1494
|
+
set Description(value) {
|
|
1495
|
+
this.Set('Description', value);
|
|
1496
|
+
}
|
|
1497
|
+
/**
|
|
1498
|
+
* * Field Name: ExtendedEntityID
|
|
1499
|
+
* * Display Name: Extended Entity ID
|
|
1500
|
+
* * SQL Data Type: uniqueidentifier
|
|
1501
|
+
* * Related Entity/Foreign Key: MJ: Entities (vwEntities.ID)
|
|
1502
|
+
*/
|
|
1503
|
+
get ExtendedEntityID() {
|
|
1504
|
+
return this.Get('ExtendedEntityID');
|
|
1505
|
+
}
|
|
1506
|
+
set ExtendedEntityID(value) {
|
|
1507
|
+
this.Set('ExtendedEntityID', value);
|
|
1508
|
+
}
|
|
1509
|
+
/**
|
|
1510
|
+
* * Field Name: IconClass
|
|
1511
|
+
* * Display Name: Icon Class
|
|
1512
|
+
* * SQL Data Type: nvarchar(100)
|
|
1513
|
+
*/
|
|
1514
|
+
get IconClass() {
|
|
1515
|
+
return this.Get('IconClass');
|
|
1516
|
+
}
|
|
1517
|
+
set IconClass(value) {
|
|
1518
|
+
this.Set('IconClass', value);
|
|
1519
|
+
}
|
|
1520
|
+
/**
|
|
1521
|
+
* * Field Name: __mj_CreatedAt
|
|
1522
|
+
* * Display Name: Created At
|
|
1523
|
+
* * SQL Data Type: datetimeoffset
|
|
1524
|
+
* * Default Value: getutcdate()
|
|
1525
|
+
*/
|
|
1526
|
+
get __mj_CreatedAt() {
|
|
1527
|
+
return this.Get('__mj_CreatedAt');
|
|
1528
|
+
}
|
|
1529
|
+
/**
|
|
1530
|
+
* * Field Name: __mj_UpdatedAt
|
|
1531
|
+
* * Display Name: Updated At
|
|
1532
|
+
* * SQL Data Type: datetimeoffset
|
|
1533
|
+
* * Default Value: getutcdate()
|
|
1534
|
+
*/
|
|
1535
|
+
get __mj_UpdatedAt() {
|
|
1536
|
+
return this.Get('__mj_UpdatedAt');
|
|
1537
|
+
}
|
|
1538
|
+
/**
|
|
1539
|
+
* * Field Name: ExtendedEntity
|
|
1540
|
+
* * Display Name: Extended Entity
|
|
1541
|
+
* * SQL Data Type: nvarchar(255)
|
|
1542
|
+
*/
|
|
1543
|
+
get ExtendedEntity() {
|
|
1544
|
+
return this.Get('ExtendedEntity');
|
|
1545
|
+
}
|
|
1546
|
+
};
|
|
1547
|
+
mjBizAppsCommitteesArtifactTypeEntity = __decorate([
|
|
1548
|
+
RegisterClass(BaseEntity, 'Committees: Artifact Types')
|
|
1549
|
+
], mjBizAppsCommitteesArtifactTypeEntity);
|
|
1550
|
+
export { mjBizAppsCommitteesArtifactTypeEntity };
|
|
1551
|
+
/**
|
|
1552
|
+
* Committees: Artifacts - strongly typed entity sub-class
|
|
1553
|
+
* * Schema: __mj_BizAppsCommittees
|
|
1554
|
+
* * Base Table: Artifact
|
|
1555
|
+
* * Base View: vwArtifacts
|
|
1556
|
+
* * @description Links to external documents and files from various providers
|
|
1557
|
+
* * Primary Key: ID
|
|
1558
|
+
* @extends {BaseEntity}
|
|
1559
|
+
* @class
|
|
1560
|
+
* @public
|
|
1561
|
+
*/
|
|
1562
|
+
let mjBizAppsCommitteesArtifactEntity = class mjBizAppsCommitteesArtifactEntity extends BaseEntity {
|
|
1563
|
+
/**
|
|
1564
|
+
* Loads the Committees: Artifacts record from the database
|
|
1565
|
+
* @param ID: string - primary key value to load the Committees: Artifacts record.
|
|
1566
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
1567
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
1568
|
+
* @public
|
|
1569
|
+
* @async
|
|
1570
|
+
* @memberof mjBizAppsCommitteesArtifactEntity
|
|
1571
|
+
* @method
|
|
1572
|
+
* @override
|
|
1573
|
+
*/
|
|
1574
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
1575
|
+
const compositeKey = new CompositeKey();
|
|
1576
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
1577
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
1578
|
+
}
|
|
1579
|
+
/**
|
|
1580
|
+
* * Field Name: ID
|
|
1581
|
+
* * Display Name: ID
|
|
1582
|
+
* * SQL Data Type: uniqueidentifier
|
|
1583
|
+
* * Default Value: newsequentialid()
|
|
1584
|
+
*/
|
|
1585
|
+
get ID() {
|
|
1586
|
+
return this.Get('ID');
|
|
1587
|
+
}
|
|
1588
|
+
set ID(value) {
|
|
1589
|
+
this.Set('ID', value);
|
|
1590
|
+
}
|
|
1591
|
+
/**
|
|
1592
|
+
* * Field Name: CommitteeID
|
|
1593
|
+
* * Display Name: Committee ID
|
|
1594
|
+
* * SQL Data Type: uniqueidentifier
|
|
1595
|
+
* * Related Entity/Foreign Key: Committees: Committees (vwCommittees.ID)
|
|
1596
|
+
*/
|
|
1597
|
+
get CommitteeID() {
|
|
1598
|
+
return this.Get('CommitteeID');
|
|
1599
|
+
}
|
|
1600
|
+
set CommitteeID(value) {
|
|
1601
|
+
this.Set('CommitteeID', value);
|
|
1602
|
+
}
|
|
1603
|
+
/**
|
|
1604
|
+
* * Field Name: MeetingID
|
|
1605
|
+
* * Display Name: Meeting ID
|
|
1606
|
+
* * SQL Data Type: uniqueidentifier
|
|
1607
|
+
* * Related Entity/Foreign Key: Committees: Meetings (vwMeetings.ID)
|
|
1608
|
+
*/
|
|
1609
|
+
get MeetingID() {
|
|
1610
|
+
return this.Get('MeetingID');
|
|
1611
|
+
}
|
|
1612
|
+
set MeetingID(value) {
|
|
1613
|
+
this.Set('MeetingID', value);
|
|
1614
|
+
}
|
|
1615
|
+
/**
|
|
1616
|
+
* * Field Name: AgendaItemID
|
|
1617
|
+
* * Display Name: Agenda Item ID
|
|
1618
|
+
* * SQL Data Type: uniqueidentifier
|
|
1619
|
+
* * Related Entity/Foreign Key: Committees: Agenda Items (vwAgendaItems.ID)
|
|
1620
|
+
*/
|
|
1621
|
+
get AgendaItemID() {
|
|
1622
|
+
return this.Get('AgendaItemID');
|
|
1623
|
+
}
|
|
1624
|
+
set AgendaItemID(value) {
|
|
1625
|
+
this.Set('AgendaItemID', value);
|
|
1626
|
+
}
|
|
1627
|
+
/**
|
|
1628
|
+
* * Field Name: TaskID
|
|
1629
|
+
* * Display Name: Task ID
|
|
1630
|
+
* * SQL Data Type: uniqueidentifier
|
|
1631
|
+
* * Related Entity/Foreign Key: MJ_BizApps_Tasks: Tasks (vwTasks.ID)
|
|
1632
|
+
*/
|
|
1633
|
+
get TaskID() {
|
|
1634
|
+
return this.Get('TaskID');
|
|
1635
|
+
}
|
|
1636
|
+
set TaskID(value) {
|
|
1637
|
+
this.Set('TaskID', value);
|
|
1638
|
+
}
|
|
1639
|
+
/**
|
|
1640
|
+
* * Field Name: Name
|
|
1641
|
+
* * Display Name: Name
|
|
1642
|
+
* * SQL Data Type: nvarchar(255)
|
|
1643
|
+
*/
|
|
1644
|
+
get Name() {
|
|
1645
|
+
return this.Get('Name');
|
|
1646
|
+
}
|
|
1647
|
+
set Name(value) {
|
|
1648
|
+
this.Set('Name', value);
|
|
1649
|
+
}
|
|
1650
|
+
/**
|
|
1651
|
+
* * Field Name: Description
|
|
1652
|
+
* * Display Name: Description
|
|
1653
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
1654
|
+
*/
|
|
1655
|
+
get Description() {
|
|
1656
|
+
return this.Get('Description');
|
|
1657
|
+
}
|
|
1658
|
+
set Description(value) {
|
|
1659
|
+
this.Set('Description', value);
|
|
1660
|
+
}
|
|
1661
|
+
/**
|
|
1662
|
+
* * Field Name: ArtifactTypeID
|
|
1663
|
+
* * Display Name: Artifact Type ID
|
|
1664
|
+
* * SQL Data Type: uniqueidentifier
|
|
1665
|
+
* * Related Entity/Foreign Key: Committees: Artifact Types (vwArtifactTypes.ID)
|
|
1666
|
+
*/
|
|
1667
|
+
get ArtifactTypeID() {
|
|
1668
|
+
return this.Get('ArtifactTypeID');
|
|
1669
|
+
}
|
|
1670
|
+
set ArtifactTypeID(value) {
|
|
1671
|
+
this.Set('ArtifactTypeID', value);
|
|
1672
|
+
}
|
|
1673
|
+
/**
|
|
1674
|
+
* * Field Name: Provider
|
|
1675
|
+
* * Display Name: Provider
|
|
1676
|
+
* * SQL Data Type: nvarchar(50)
|
|
1677
|
+
* * Value List Type: List
|
|
1678
|
+
* * Possible Values
|
|
1679
|
+
* * Box
|
|
1680
|
+
* * Dropbox
|
|
1681
|
+
* * GoogleDrive
|
|
1682
|
+
* * OneDrive
|
|
1683
|
+
* * SharePoint
|
|
1684
|
+
* * URL
|
|
1685
|
+
*/
|
|
1686
|
+
get Provider() {
|
|
1687
|
+
return this.Get('Provider');
|
|
1688
|
+
}
|
|
1689
|
+
set Provider(value) {
|
|
1690
|
+
this.Set('Provider', value);
|
|
1691
|
+
}
|
|
1692
|
+
/**
|
|
1693
|
+
* * Field Name: ExternalID
|
|
1694
|
+
* * Display Name: External ID
|
|
1695
|
+
* * SQL Data Type: nvarchar(500)
|
|
1696
|
+
*/
|
|
1697
|
+
get ExternalID() {
|
|
1698
|
+
return this.Get('ExternalID');
|
|
1699
|
+
}
|
|
1700
|
+
set ExternalID(value) {
|
|
1701
|
+
this.Set('ExternalID', value);
|
|
1702
|
+
}
|
|
1703
|
+
/**
|
|
1704
|
+
* * Field Name: URL
|
|
1705
|
+
* * Display Name: URL
|
|
1706
|
+
* * SQL Data Type: nvarchar(2000)
|
|
1707
|
+
*/
|
|
1708
|
+
get URL() {
|
|
1709
|
+
return this.Get('URL');
|
|
1710
|
+
}
|
|
1711
|
+
set URL(value) {
|
|
1712
|
+
this.Set('URL', value);
|
|
1713
|
+
}
|
|
1714
|
+
/**
|
|
1715
|
+
* * Field Name: MimeType
|
|
1716
|
+
* * Display Name: Mime Type
|
|
1717
|
+
* * SQL Data Type: nvarchar(100)
|
|
1718
|
+
*/
|
|
1719
|
+
get MimeType() {
|
|
1720
|
+
return this.Get('MimeType');
|
|
1721
|
+
}
|
|
1722
|
+
set MimeType(value) {
|
|
1723
|
+
this.Set('MimeType', value);
|
|
1724
|
+
}
|
|
1725
|
+
/**
|
|
1726
|
+
* * Field Name: FileSize
|
|
1727
|
+
* * Display Name: File Size
|
|
1728
|
+
* * SQL Data Type: bigint
|
|
1729
|
+
*/
|
|
1730
|
+
get FileSize() {
|
|
1731
|
+
return this.Get('FileSize');
|
|
1732
|
+
}
|
|
1733
|
+
set FileSize(value) {
|
|
1734
|
+
this.Set('FileSize', value);
|
|
1735
|
+
}
|
|
1736
|
+
/**
|
|
1737
|
+
* * Field Name: UploadedByPersonID
|
|
1738
|
+
* * Display Name: Uploaded By Person ID
|
|
1739
|
+
* * SQL Data Type: uniqueidentifier
|
|
1740
|
+
* * Related Entity/Foreign Key: MJ_BizApps_Common: People (vwPeople.ID)
|
|
1741
|
+
*/
|
|
1742
|
+
get UploadedByPersonID() {
|
|
1743
|
+
return this.Get('UploadedByPersonID');
|
|
1744
|
+
}
|
|
1745
|
+
set UploadedByPersonID(value) {
|
|
1746
|
+
this.Set('UploadedByPersonID', value);
|
|
1747
|
+
}
|
|
1748
|
+
/**
|
|
1749
|
+
* * Field Name: __mj_CreatedAt
|
|
1750
|
+
* * Display Name: Created At
|
|
1751
|
+
* * SQL Data Type: datetimeoffset
|
|
1752
|
+
* * Default Value: getutcdate()
|
|
1753
|
+
*/
|
|
1754
|
+
get __mj_CreatedAt() {
|
|
1755
|
+
return this.Get('__mj_CreatedAt');
|
|
1756
|
+
}
|
|
1757
|
+
/**
|
|
1758
|
+
* * Field Name: __mj_UpdatedAt
|
|
1759
|
+
* * Display Name: Updated At
|
|
1760
|
+
* * SQL Data Type: datetimeoffset
|
|
1761
|
+
* * Default Value: getutcdate()
|
|
1762
|
+
*/
|
|
1763
|
+
get __mj_UpdatedAt() {
|
|
1764
|
+
return this.Get('__mj_UpdatedAt');
|
|
1765
|
+
}
|
|
1766
|
+
/**
|
|
1767
|
+
* * Field Name: Committee
|
|
1768
|
+
* * Display Name: Committee
|
|
1769
|
+
* * SQL Data Type: nvarchar(255)
|
|
1770
|
+
*/
|
|
1771
|
+
get Committee() {
|
|
1772
|
+
return this.Get('Committee');
|
|
1773
|
+
}
|
|
1774
|
+
/**
|
|
1775
|
+
* * Field Name: Meeting
|
|
1776
|
+
* * Display Name: Meeting
|
|
1777
|
+
* * SQL Data Type: nvarchar(255)
|
|
1778
|
+
*/
|
|
1779
|
+
get Meeting() {
|
|
1780
|
+
return this.Get('Meeting');
|
|
1781
|
+
}
|
|
1782
|
+
/**
|
|
1783
|
+
* * Field Name: AgendaItem
|
|
1784
|
+
* * Display Name: Agenda Item
|
|
1785
|
+
* * SQL Data Type: nvarchar(255)
|
|
1786
|
+
*/
|
|
1787
|
+
get AgendaItem() {
|
|
1788
|
+
return this.Get('AgendaItem');
|
|
1789
|
+
}
|
|
1790
|
+
/**
|
|
1791
|
+
* * Field Name: Task
|
|
1792
|
+
* * Display Name: Task
|
|
1793
|
+
* * SQL Data Type: nvarchar(255)
|
|
1794
|
+
*/
|
|
1795
|
+
get Task() {
|
|
1796
|
+
return this.Get('Task');
|
|
1797
|
+
}
|
|
1798
|
+
/**
|
|
1799
|
+
* * Field Name: ArtifactType
|
|
1800
|
+
* * Display Name: Artifact Type
|
|
1801
|
+
* * SQL Data Type: nvarchar(100)
|
|
1802
|
+
*/
|
|
1803
|
+
get ArtifactType() {
|
|
1804
|
+
return this.Get('ArtifactType');
|
|
1805
|
+
}
|
|
1806
|
+
/**
|
|
1807
|
+
* * Field Name: UploadedByPerson
|
|
1808
|
+
* * Display Name: Uploaded By Person
|
|
1809
|
+
* * SQL Data Type: nvarchar(201)
|
|
1810
|
+
*/
|
|
1811
|
+
get UploadedByPerson() {
|
|
1812
|
+
return this.Get('UploadedByPerson');
|
|
1813
|
+
}
|
|
1814
|
+
};
|
|
1815
|
+
mjBizAppsCommitteesArtifactEntity = __decorate([
|
|
1816
|
+
RegisterClass(BaseEntity, 'Committees: Artifacts')
|
|
1817
|
+
], mjBizAppsCommitteesArtifactEntity);
|
|
1818
|
+
export { mjBizAppsCommitteesArtifactEntity };
|
|
1819
|
+
/**
|
|
1820
|
+
* Committees: Attendances - strongly typed entity sub-class
|
|
1821
|
+
* * Schema: __mj_BizAppsCommittees
|
|
1822
|
+
* * Base Table: Attendance
|
|
1823
|
+
* * Base View: vwAttendances
|
|
1824
|
+
* * @description Meeting attendance records for committee members
|
|
1825
|
+
* * Primary Key: ID
|
|
1826
|
+
* @extends {BaseEntity}
|
|
1827
|
+
* @class
|
|
1828
|
+
* @public
|
|
1829
|
+
*/
|
|
1830
|
+
let mjBizAppsCommitteesAttendanceEntity = class mjBizAppsCommitteesAttendanceEntity extends BaseEntity {
|
|
1831
|
+
/**
|
|
1832
|
+
* Loads the Committees: Attendances record from the database
|
|
1833
|
+
* @param ID: string - primary key value to load the Committees: Attendances record.
|
|
1834
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
1835
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
1836
|
+
* @public
|
|
1837
|
+
* @async
|
|
1838
|
+
* @memberof mjBizAppsCommitteesAttendanceEntity
|
|
1839
|
+
* @method
|
|
1840
|
+
* @override
|
|
1841
|
+
*/
|
|
1842
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
1843
|
+
const compositeKey = new CompositeKey();
|
|
1844
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
1845
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
1846
|
+
}
|
|
1847
|
+
/**
|
|
1848
|
+
* * Field Name: ID
|
|
1849
|
+
* * Display Name: ID
|
|
1850
|
+
* * SQL Data Type: uniqueidentifier
|
|
1851
|
+
* * Default Value: newsequentialid()
|
|
1852
|
+
*/
|
|
1853
|
+
get ID() {
|
|
1854
|
+
return this.Get('ID');
|
|
1855
|
+
}
|
|
1856
|
+
set ID(value) {
|
|
1857
|
+
this.Set('ID', value);
|
|
1858
|
+
}
|
|
1859
|
+
/**
|
|
1860
|
+
* * Field Name: MeetingID
|
|
1861
|
+
* * Display Name: Meeting ID
|
|
1862
|
+
* * SQL Data Type: uniqueidentifier
|
|
1863
|
+
* * Related Entity/Foreign Key: Committees: Meetings (vwMeetings.ID)
|
|
1864
|
+
*/
|
|
1865
|
+
get MeetingID() {
|
|
1866
|
+
return this.Get('MeetingID');
|
|
1867
|
+
}
|
|
1868
|
+
set MeetingID(value) {
|
|
1869
|
+
this.Set('MeetingID', value);
|
|
1870
|
+
}
|
|
1871
|
+
/**
|
|
1872
|
+
* * Field Name: PersonID
|
|
1873
|
+
* * Display Name: Person ID
|
|
1874
|
+
* * SQL Data Type: uniqueidentifier
|
|
1875
|
+
* * Related Entity/Foreign Key: MJ_BizApps_Common: People (vwPeople.ID)
|
|
1876
|
+
*/
|
|
1877
|
+
get PersonID() {
|
|
1878
|
+
return this.Get('PersonID');
|
|
1879
|
+
}
|
|
1880
|
+
set PersonID(value) {
|
|
1881
|
+
this.Set('PersonID', value);
|
|
1882
|
+
}
|
|
1883
|
+
/**
|
|
1884
|
+
* * Field Name: AttendanceStatus
|
|
1885
|
+
* * Display Name: Attendance Status
|
|
1886
|
+
* * SQL Data Type: nvarchar(50)
|
|
1887
|
+
* * Default Value: Expected
|
|
1888
|
+
* * Value List Type: List
|
|
1889
|
+
* * Possible Values
|
|
1890
|
+
* * Absent
|
|
1891
|
+
* * Excused
|
|
1892
|
+
* * Expected
|
|
1893
|
+
* * Partial
|
|
1894
|
+
* * Present
|
|
1895
|
+
*/
|
|
1896
|
+
get AttendanceStatus() {
|
|
1897
|
+
return this.Get('AttendanceStatus');
|
|
1898
|
+
}
|
|
1899
|
+
set AttendanceStatus(value) {
|
|
1900
|
+
this.Set('AttendanceStatus', value);
|
|
1901
|
+
}
|
|
1902
|
+
/**
|
|
1903
|
+
* * Field Name: JoinedAt
|
|
1904
|
+
* * Display Name: Joined At
|
|
1905
|
+
* * SQL Data Type: datetimeoffset
|
|
1906
|
+
*/
|
|
1907
|
+
get JoinedAt() {
|
|
1908
|
+
return this.Get('JoinedAt');
|
|
1909
|
+
}
|
|
1910
|
+
set JoinedAt(value) {
|
|
1911
|
+
this.Set('JoinedAt', value);
|
|
1912
|
+
}
|
|
1913
|
+
/**
|
|
1914
|
+
* * Field Name: LeftAt
|
|
1915
|
+
* * Display Name: Left At
|
|
1916
|
+
* * SQL Data Type: datetimeoffset
|
|
1917
|
+
*/
|
|
1918
|
+
get LeftAt() {
|
|
1919
|
+
return this.Get('LeftAt');
|
|
1920
|
+
}
|
|
1921
|
+
set LeftAt(value) {
|
|
1922
|
+
this.Set('LeftAt', value);
|
|
1923
|
+
}
|
|
1924
|
+
/**
|
|
1925
|
+
* * Field Name: Notes
|
|
1926
|
+
* * Display Name: Notes
|
|
1927
|
+
* * SQL Data Type: nvarchar(500)
|
|
1928
|
+
*/
|
|
1929
|
+
get Notes() {
|
|
1930
|
+
return this.Get('Notes');
|
|
1931
|
+
}
|
|
1932
|
+
set Notes(value) {
|
|
1933
|
+
this.Set('Notes', value);
|
|
1934
|
+
}
|
|
1935
|
+
/**
|
|
1936
|
+
* * Field Name: __mj_CreatedAt
|
|
1937
|
+
* * Display Name: Created At
|
|
1938
|
+
* * SQL Data Type: datetimeoffset
|
|
1939
|
+
* * Default Value: getutcdate()
|
|
1940
|
+
*/
|
|
1941
|
+
get __mj_CreatedAt() {
|
|
1942
|
+
return this.Get('__mj_CreatedAt');
|
|
1943
|
+
}
|
|
1944
|
+
/**
|
|
1945
|
+
* * Field Name: __mj_UpdatedAt
|
|
1946
|
+
* * Display Name: Updated At
|
|
1947
|
+
* * SQL Data Type: datetimeoffset
|
|
1948
|
+
* * Default Value: getutcdate()
|
|
1949
|
+
*/
|
|
1950
|
+
get __mj_UpdatedAt() {
|
|
1951
|
+
return this.Get('__mj_UpdatedAt');
|
|
1952
|
+
}
|
|
1953
|
+
/**
|
|
1954
|
+
* * Field Name: Meeting
|
|
1955
|
+
* * Display Name: Meeting
|
|
1956
|
+
* * SQL Data Type: nvarchar(255)
|
|
1957
|
+
*/
|
|
1958
|
+
get Meeting() {
|
|
1959
|
+
return this.Get('Meeting');
|
|
1960
|
+
}
|
|
1961
|
+
/**
|
|
1962
|
+
* * Field Name: Person
|
|
1963
|
+
* * Display Name: Person
|
|
1964
|
+
* * SQL Data Type: nvarchar(201)
|
|
1965
|
+
*/
|
|
1966
|
+
get Person() {
|
|
1967
|
+
return this.Get('Person');
|
|
1968
|
+
}
|
|
1969
|
+
};
|
|
1970
|
+
mjBizAppsCommitteesAttendanceEntity = __decorate([
|
|
1971
|
+
RegisterClass(BaseEntity, 'Committees: Attendances')
|
|
1972
|
+
], mjBizAppsCommitteesAttendanceEntity);
|
|
1973
|
+
export { mjBizAppsCommitteesAttendanceEntity };
|
|
1974
|
+
/**
|
|
1975
|
+
* Committees: Ballots - strongly typed entity sub-class
|
|
1976
|
+
* * Schema: __mj_BizAppsCommittees
|
|
1977
|
+
* * Base Table: Ballot
|
|
1978
|
+
* * Base View: vwBallots
|
|
1979
|
+
* * @description Between-meeting e-ballot: the voting window for exactly one Motion, with pass threshold and sealed-choice flag. Votes attach to the Motion as ordinary Vote records; while sealed, vote choices are withheld from all consumers until the ballot closes.
|
|
1980
|
+
* * Primary Key: ID
|
|
1981
|
+
* @extends {BaseEntity}
|
|
1982
|
+
* @class
|
|
1983
|
+
* @public
|
|
1984
|
+
*/
|
|
1985
|
+
let mjBizAppsCommitteesBallotEntity = class mjBizAppsCommitteesBallotEntity extends BaseEntity {
|
|
1986
|
+
/**
|
|
1987
|
+
* Loads the Committees: Ballots record from the database
|
|
1988
|
+
* @param ID: string - primary key value to load the Committees: Ballots record.
|
|
1989
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
1990
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
1991
|
+
* @public
|
|
1992
|
+
* @async
|
|
1993
|
+
* @memberof mjBizAppsCommitteesBallotEntity
|
|
1994
|
+
* @method
|
|
1995
|
+
* @override
|
|
1996
|
+
*/
|
|
1997
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
1998
|
+
const compositeKey = new CompositeKey();
|
|
1999
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
2000
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
2001
|
+
}
|
|
2002
|
+
/**
|
|
2003
|
+
* Validate() method override for Committees: Ballots entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
2004
|
+
* * Table-Level: The closing time must be later than the opening time, ensuring that a voting period cannot end before it starts.
|
|
2005
|
+
* @public
|
|
2006
|
+
* @method
|
|
2007
|
+
* @override
|
|
2008
|
+
*/
|
|
2009
|
+
Validate() {
|
|
2010
|
+
const result = super.Validate();
|
|
2011
|
+
this.ValidateClosesAtAfterOpensAt(result);
|
|
2012
|
+
result.Success = result.Success && (result.Errors.length === 0);
|
|
2013
|
+
return result;
|
|
2014
|
+
}
|
|
2015
|
+
/**
|
|
2016
|
+
* The closing time must be later than the opening time, ensuring that a voting period cannot end before it starts.
|
|
2017
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
2018
|
+
* @public
|
|
2019
|
+
* @method
|
|
2020
|
+
*/
|
|
2021
|
+
ValidateClosesAtAfterOpensAt(result) {
|
|
2022
|
+
// Both OpensAt and ClosesAt are required fields, but we still guard against unexpected nulls
|
|
2023
|
+
if (this.OpensAt != null && this.ClosesAt != null && !(this.ClosesAt > this.OpensAt)) {
|
|
2024
|
+
result.Errors.push(new ValidationErrorInfo("ClosesAt", "Closing time must be after opening time.", this.ClosesAt, ValidationErrorType.Failure));
|
|
2025
|
+
}
|
|
2026
|
+
}
|
|
2027
|
+
/**
|
|
2028
|
+
* * Field Name: ID
|
|
2029
|
+
* * Display Name: ID
|
|
2030
|
+
* * SQL Data Type: uniqueidentifier
|
|
2031
|
+
* * Default Value: newsequentialid()
|
|
2032
|
+
*/
|
|
2033
|
+
get ID() {
|
|
2034
|
+
return this.Get('ID');
|
|
2035
|
+
}
|
|
2036
|
+
set ID(value) {
|
|
2037
|
+
this.Set('ID', value);
|
|
2038
|
+
}
|
|
2039
|
+
/**
|
|
2040
|
+
* * Field Name: CommitteeID
|
|
2041
|
+
* * Display Name: Committee ID
|
|
2042
|
+
* * SQL Data Type: uniqueidentifier
|
|
2043
|
+
* * Related Entity/Foreign Key: Committees: Committees (vwCommittees.ID)
|
|
2044
|
+
* * Description: Committee this ballot belongs to; also the committee scope for the ballot's meeting-less Motion
|
|
2045
|
+
*/
|
|
2046
|
+
get CommitteeID() {
|
|
2047
|
+
return this.Get('CommitteeID');
|
|
2048
|
+
}
|
|
2049
|
+
set CommitteeID(value) {
|
|
2050
|
+
this.Set('CommitteeID', value);
|
|
2051
|
+
}
|
|
2052
|
+
/**
|
|
2053
|
+
* * Field Name: MotionID
|
|
2054
|
+
* * Display Name: Motion ID
|
|
2055
|
+
* * SQL Data Type: uniqueidentifier
|
|
2056
|
+
* * Related Entity/Foreign Key: Committees: Motions (vwMotions.ID)
|
|
2057
|
+
* * Description: The Motion this ballot decides — exactly one ballot per motion (unique)
|
|
2058
|
+
*/
|
|
2059
|
+
get MotionID() {
|
|
2060
|
+
return this.Get('MotionID');
|
|
2061
|
+
}
|
|
2062
|
+
set MotionID(value) {
|
|
2063
|
+
this.Set('MotionID', value);
|
|
2064
|
+
}
|
|
2065
|
+
/**
|
|
2066
|
+
* * Field Name: OpensAt
|
|
2067
|
+
* * Display Name: Opens At
|
|
2068
|
+
* * SQL Data Type: datetimeoffset
|
|
2069
|
+
* * Description: When voting opens
|
|
2070
|
+
*/
|
|
2071
|
+
get OpensAt() {
|
|
2072
|
+
return this.Get('OpensAt');
|
|
2073
|
+
}
|
|
2074
|
+
set OpensAt(value) {
|
|
2075
|
+
this.Set('OpensAt', value);
|
|
2076
|
+
}
|
|
2077
|
+
/**
|
|
2078
|
+
* * Field Name: ClosesAt
|
|
2079
|
+
* * Display Name: Closes At
|
|
2080
|
+
* * SQL Data Type: datetimeoffset
|
|
2081
|
+
* * Description: Scheduled close of the voting window (UI countdown target)
|
|
2082
|
+
*/
|
|
2083
|
+
get ClosesAt() {
|
|
2084
|
+
return this.Get('ClosesAt');
|
|
2085
|
+
}
|
|
2086
|
+
set ClosesAt(value) {
|
|
2087
|
+
this.Set('ClosesAt', value);
|
|
2088
|
+
}
|
|
2089
|
+
/**
|
|
2090
|
+
* * Field Name: ClosedAt
|
|
2091
|
+
* * Display Name: Closed At
|
|
2092
|
+
* * SQL Data Type: datetimeoffset
|
|
2093
|
+
* * Description: When the ballot actually closed (early close or scheduled); NULL while open
|
|
2094
|
+
*/
|
|
2095
|
+
get ClosedAt() {
|
|
2096
|
+
return this.Get('ClosedAt');
|
|
2097
|
+
}
|
|
2098
|
+
set ClosedAt(value) {
|
|
2099
|
+
this.Set('ClosedAt', value);
|
|
2100
|
+
}
|
|
2101
|
+
/**
|
|
2102
|
+
* * Field Name: ThresholdType
|
|
2103
|
+
* * Display Name: Threshold Type
|
|
2104
|
+
* * SQL Data Type: nvarchar(20)
|
|
2105
|
+
* * Default Value: SimpleMajority
|
|
2106
|
+
* * Value List Type: List
|
|
2107
|
+
* * Possible Values
|
|
2108
|
+
* * SimpleMajority
|
|
2109
|
+
* * TwoThirds
|
|
2110
|
+
* * Unanimous
|
|
2111
|
+
* * Description: Pass threshold measured against the committee's voting members: SimpleMajority, TwoThirds, or Unanimous
|
|
2112
|
+
*/
|
|
2113
|
+
get ThresholdType() {
|
|
2114
|
+
return this.Get('ThresholdType');
|
|
2115
|
+
}
|
|
2116
|
+
set ThresholdType(value) {
|
|
2117
|
+
this.Set('ThresholdType', value);
|
|
2118
|
+
}
|
|
2119
|
+
/**
|
|
2120
|
+
* * Field Name: IsSealed
|
|
2121
|
+
* * Display Name: Is Sealed
|
|
2122
|
+
* * SQL Data Type: bit
|
|
2123
|
+
* * Default Value: 1
|
|
2124
|
+
* * Description: When 1, individual vote choices are withheld from all consumers (including admins) until the ballot closes; participation (who has voted) remains visible
|
|
2125
|
+
*/
|
|
2126
|
+
get IsSealed() {
|
|
2127
|
+
return this.Get('IsSealed');
|
|
2128
|
+
}
|
|
2129
|
+
set IsSealed(value) {
|
|
2130
|
+
this.Set('IsSealed', value);
|
|
2131
|
+
}
|
|
2132
|
+
/**
|
|
2133
|
+
* * Field Name: Status
|
|
2134
|
+
* * Display Name: Status
|
|
2135
|
+
* * SQL Data Type: nvarchar(20)
|
|
2136
|
+
* * Default Value: Open
|
|
2137
|
+
* * Value List Type: List
|
|
2138
|
+
* * Possible Values
|
|
2139
|
+
* * Cancelled
|
|
2140
|
+
* * Closed
|
|
2141
|
+
* * Open
|
|
2142
|
+
* * Description: Ballot lifecycle: Open (accepting votes), Closed (result computed, votes unsealed, Motion stamped), Cancelled
|
|
2143
|
+
*/
|
|
2144
|
+
get Status() {
|
|
2145
|
+
return this.Get('Status');
|
|
2146
|
+
}
|
|
2147
|
+
set Status(value) {
|
|
2148
|
+
this.Set('Status', value);
|
|
2149
|
+
}
|
|
2150
|
+
/**
|
|
2151
|
+
* * Field Name: CreatedByMembershipID
|
|
2152
|
+
* * Display Name: Created By Membership ID
|
|
2153
|
+
* * SQL Data Type: uniqueidentifier
|
|
2154
|
+
* * Related Entity/Foreign Key: Committees: Memberships (vwMemberships.ID)
|
|
2155
|
+
* * Description: Membership of the member who opened the ballot (typically the Chair)
|
|
2156
|
+
*/
|
|
2157
|
+
get CreatedByMembershipID() {
|
|
2158
|
+
return this.Get('CreatedByMembershipID');
|
|
2159
|
+
}
|
|
2160
|
+
set CreatedByMembershipID(value) {
|
|
2161
|
+
this.Set('CreatedByMembershipID', value);
|
|
2162
|
+
}
|
|
2163
|
+
/**
|
|
2164
|
+
* * Field Name: ResultNotes
|
|
2165
|
+
* * Display Name: Result Notes
|
|
2166
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
2167
|
+
* * Description: Certification text recorded at close (result summary, any procedural notes)
|
|
2168
|
+
*/
|
|
2169
|
+
get ResultNotes() {
|
|
2170
|
+
return this.Get('ResultNotes');
|
|
2171
|
+
}
|
|
2172
|
+
set ResultNotes(value) {
|
|
2173
|
+
this.Set('ResultNotes', value);
|
|
2174
|
+
}
|
|
2175
|
+
/**
|
|
2176
|
+
* * Field Name: __mj_CreatedAt
|
|
2177
|
+
* * Display Name: Created At
|
|
2178
|
+
* * SQL Data Type: datetimeoffset
|
|
2179
|
+
* * Default Value: getutcdate()
|
|
2180
|
+
*/
|
|
2181
|
+
get __mj_CreatedAt() {
|
|
2182
|
+
return this.Get('__mj_CreatedAt');
|
|
2183
|
+
}
|
|
2184
|
+
/**
|
|
2185
|
+
* * Field Name: __mj_UpdatedAt
|
|
2186
|
+
* * Display Name: Updated At
|
|
2187
|
+
* * SQL Data Type: datetimeoffset
|
|
2188
|
+
* * Default Value: getutcdate()
|
|
2189
|
+
*/
|
|
2190
|
+
get __mj_UpdatedAt() {
|
|
2191
|
+
return this.Get('__mj_UpdatedAt');
|
|
2192
|
+
}
|
|
2193
|
+
/**
|
|
2194
|
+
* * Field Name: Committee
|
|
2195
|
+
* * Display Name: Committee
|
|
2196
|
+
* * SQL Data Type: nvarchar(255)
|
|
2197
|
+
*/
|
|
2198
|
+
get Committee() {
|
|
2199
|
+
return this.Get('Committee');
|
|
2200
|
+
}
|
|
2201
|
+
/**
|
|
2202
|
+
* * Field Name: Motion
|
|
2203
|
+
* * Display Name: Motion
|
|
2204
|
+
* * SQL Data Type: nvarchar(255)
|
|
2205
|
+
*/
|
|
2206
|
+
get Motion() {
|
|
2207
|
+
return this.Get('Motion');
|
|
2208
|
+
}
|
|
2209
|
+
};
|
|
2210
|
+
mjBizAppsCommitteesBallotEntity = __decorate([
|
|
2211
|
+
RegisterClass(BaseEntity, 'Committees: Ballots')
|
|
2212
|
+
], mjBizAppsCommitteesBallotEntity);
|
|
2213
|
+
export { mjBizAppsCommitteesBallotEntity };
|
|
2214
|
+
/**
|
|
2215
|
+
* Committees: Comments - strongly typed entity sub-class
|
|
2216
|
+
* * Schema: __mj_BizAppsCommittees
|
|
2217
|
+
* * Base Table: Comment
|
|
2218
|
+
* * Base View: vwComments
|
|
2219
|
+
* * @description Threaded discussion comments on committee meetings, agenda items, tasks, and documents
|
|
2220
|
+
* * Primary Key: ID
|
|
2221
|
+
* @extends {BaseEntity}
|
|
2222
|
+
* @class
|
|
2223
|
+
* @public
|
|
2224
|
+
*/
|
|
2225
|
+
let mjBizAppsCommitteesCommentEntity = class mjBizAppsCommitteesCommentEntity extends BaseEntity {
|
|
2226
|
+
/**
|
|
2227
|
+
* Loads the Committees: Comments record from the database
|
|
2228
|
+
* @param ID: string - primary key value to load the Committees: Comments record.
|
|
2229
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
2230
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
2231
|
+
* @public
|
|
2232
|
+
* @async
|
|
2233
|
+
* @memberof mjBizAppsCommitteesCommentEntity
|
|
2234
|
+
* @method
|
|
2235
|
+
* @override
|
|
2236
|
+
*/
|
|
2237
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
2238
|
+
const compositeKey = new CompositeKey();
|
|
2239
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
2240
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
2241
|
+
}
|
|
2242
|
+
/**
|
|
2243
|
+
* * Field Name: ID
|
|
2244
|
+
* * Display Name: ID
|
|
2245
|
+
* * SQL Data Type: uniqueidentifier
|
|
2246
|
+
* * Default Value: newsequentialid()
|
|
2247
|
+
*/
|
|
2248
|
+
get ID() {
|
|
2249
|
+
return this.Get('ID');
|
|
2250
|
+
}
|
|
2251
|
+
set ID(value) {
|
|
2252
|
+
this.Set('ID', value);
|
|
2253
|
+
}
|
|
2254
|
+
/**
|
|
2255
|
+
* * Field Name: CommitteeID
|
|
2256
|
+
* * Display Name: Committee ID
|
|
2257
|
+
* * SQL Data Type: uniqueidentifier
|
|
2258
|
+
* * Related Entity/Foreign Key: Committees: Committees (vwCommittees.ID)
|
|
2259
|
+
*/
|
|
2260
|
+
get CommitteeID() {
|
|
2261
|
+
return this.Get('CommitteeID');
|
|
2262
|
+
}
|
|
2263
|
+
set CommitteeID(value) {
|
|
2264
|
+
this.Set('CommitteeID', value);
|
|
2265
|
+
}
|
|
2266
|
+
/**
|
|
2267
|
+
* * Field Name: MeetingID
|
|
2268
|
+
* * Display Name: Meeting ID
|
|
2269
|
+
* * SQL Data Type: uniqueidentifier
|
|
2270
|
+
* * Related Entity/Foreign Key: Committees: Meetings (vwMeetings.ID)
|
|
2271
|
+
*/
|
|
2272
|
+
get MeetingID() {
|
|
2273
|
+
return this.Get('MeetingID');
|
|
2274
|
+
}
|
|
2275
|
+
set MeetingID(value) {
|
|
2276
|
+
this.Set('MeetingID', value);
|
|
2277
|
+
}
|
|
2278
|
+
/**
|
|
2279
|
+
* * Field Name: AgendaItemID
|
|
2280
|
+
* * Display Name: Agenda Item ID
|
|
2281
|
+
* * SQL Data Type: uniqueidentifier
|
|
2282
|
+
* * Related Entity/Foreign Key: Committees: Agenda Items (vwAgendaItems.ID)
|
|
2283
|
+
*/
|
|
2284
|
+
get AgendaItemID() {
|
|
2285
|
+
return this.Get('AgendaItemID');
|
|
2286
|
+
}
|
|
2287
|
+
set AgendaItemID(value) {
|
|
2288
|
+
this.Set('AgendaItemID', value);
|
|
2289
|
+
}
|
|
2290
|
+
/**
|
|
2291
|
+
* * Field Name: TaskID
|
|
2292
|
+
* * Display Name: Task ID
|
|
2293
|
+
* * SQL Data Type: uniqueidentifier
|
|
2294
|
+
* * Related Entity/Foreign Key: MJ_BizApps_Tasks: Tasks (vwTasks.ID)
|
|
2295
|
+
*/
|
|
2296
|
+
get TaskID() {
|
|
2297
|
+
return this.Get('TaskID');
|
|
2298
|
+
}
|
|
2299
|
+
set TaskID(value) {
|
|
2300
|
+
this.Set('TaskID', value);
|
|
2301
|
+
}
|
|
2302
|
+
/**
|
|
2303
|
+
* * Field Name: ArtifactID
|
|
2304
|
+
* * Display Name: Artifact ID
|
|
2305
|
+
* * SQL Data Type: uniqueidentifier
|
|
2306
|
+
* * Related Entity/Foreign Key: Committees: Artifacts (vwArtifacts.ID)
|
|
2307
|
+
*/
|
|
2308
|
+
get ArtifactID() {
|
|
2309
|
+
return this.Get('ArtifactID');
|
|
2310
|
+
}
|
|
2311
|
+
set ArtifactID(value) {
|
|
2312
|
+
this.Set('ArtifactID', value);
|
|
2313
|
+
}
|
|
2314
|
+
/**
|
|
2315
|
+
* * Field Name: ParentCommentID
|
|
2316
|
+
* * Display Name: Parent Comment ID
|
|
2317
|
+
* * SQL Data Type: uniqueidentifier
|
|
2318
|
+
* * Related Entity/Foreign Key: Committees: Comments (vwComments.ID)
|
|
2319
|
+
*/
|
|
2320
|
+
get ParentCommentID() {
|
|
2321
|
+
return this.Get('ParentCommentID');
|
|
2322
|
+
}
|
|
2323
|
+
set ParentCommentID(value) {
|
|
2324
|
+
this.Set('ParentCommentID', value);
|
|
2325
|
+
}
|
|
2326
|
+
/**
|
|
2327
|
+
* * Field Name: PersonID
|
|
2328
|
+
* * Display Name: Person ID
|
|
2329
|
+
* * SQL Data Type: uniqueidentifier
|
|
2330
|
+
* * Related Entity/Foreign Key: MJ_BizApps_Common: People (vwPeople.ID)
|
|
2331
|
+
*/
|
|
2332
|
+
get PersonID() {
|
|
2333
|
+
return this.Get('PersonID');
|
|
2334
|
+
}
|
|
2335
|
+
set PersonID(value) {
|
|
2336
|
+
this.Set('PersonID', value);
|
|
2337
|
+
}
|
|
2338
|
+
/**
|
|
2339
|
+
* * Field Name: CommentText
|
|
2340
|
+
* * Display Name: Comment Text
|
|
2341
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
2342
|
+
*/
|
|
2343
|
+
get CommentText() {
|
|
2344
|
+
return this.Get('CommentText');
|
|
2345
|
+
}
|
|
2346
|
+
set CommentText(value) {
|
|
2347
|
+
this.Set('CommentText', value);
|
|
2348
|
+
}
|
|
2349
|
+
/**
|
|
2350
|
+
* * Field Name: MentionedPersonIDs
|
|
2351
|
+
* * Display Name: Mentioned Person I Ds
|
|
2352
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
2353
|
+
*/
|
|
2354
|
+
get MentionedPersonIDs() {
|
|
2355
|
+
return this.Get('MentionedPersonIDs');
|
|
2356
|
+
}
|
|
2357
|
+
set MentionedPersonIDs(value) {
|
|
2358
|
+
this.Set('MentionedPersonIDs', value);
|
|
2359
|
+
}
|
|
2360
|
+
/**
|
|
2361
|
+
* * Field Name: IsResolved
|
|
2362
|
+
* * Display Name: Is Resolved
|
|
2363
|
+
* * SQL Data Type: bit
|
|
2364
|
+
* * Default Value: 0
|
|
2365
|
+
*/
|
|
2366
|
+
get IsResolved() {
|
|
2367
|
+
return this.Get('IsResolved');
|
|
2368
|
+
}
|
|
2369
|
+
set IsResolved(value) {
|
|
2370
|
+
this.Set('IsResolved', value);
|
|
2371
|
+
}
|
|
2372
|
+
/**
|
|
2373
|
+
* * Field Name: __mj_CreatedAt
|
|
2374
|
+
* * Display Name: Created At
|
|
2375
|
+
* * SQL Data Type: datetimeoffset
|
|
2376
|
+
* * Default Value: getutcdate()
|
|
2377
|
+
*/
|
|
2378
|
+
get __mj_CreatedAt() {
|
|
2379
|
+
return this.Get('__mj_CreatedAt');
|
|
2380
|
+
}
|
|
2381
|
+
/**
|
|
2382
|
+
* * Field Name: __mj_UpdatedAt
|
|
2383
|
+
* * Display Name: Updated At
|
|
2384
|
+
* * SQL Data Type: datetimeoffset
|
|
2385
|
+
* * Default Value: getutcdate()
|
|
2386
|
+
*/
|
|
2387
|
+
get __mj_UpdatedAt() {
|
|
2388
|
+
return this.Get('__mj_UpdatedAt');
|
|
2389
|
+
}
|
|
2390
|
+
/**
|
|
2391
|
+
* * Field Name: Committee
|
|
2392
|
+
* * Display Name: Committee
|
|
2393
|
+
* * SQL Data Type: nvarchar(255)
|
|
2394
|
+
*/
|
|
2395
|
+
get Committee() {
|
|
2396
|
+
return this.Get('Committee');
|
|
2397
|
+
}
|
|
2398
|
+
/**
|
|
2399
|
+
* * Field Name: Meeting
|
|
2400
|
+
* * Display Name: Meeting
|
|
2401
|
+
* * SQL Data Type: nvarchar(255)
|
|
2402
|
+
*/
|
|
2403
|
+
get Meeting() {
|
|
2404
|
+
return this.Get('Meeting');
|
|
2405
|
+
}
|
|
2406
|
+
/**
|
|
2407
|
+
* * Field Name: AgendaItem
|
|
2408
|
+
* * Display Name: Agenda Item
|
|
2409
|
+
* * SQL Data Type: nvarchar(255)
|
|
2410
|
+
*/
|
|
2411
|
+
get AgendaItem() {
|
|
2412
|
+
return this.Get('AgendaItem');
|
|
2413
|
+
}
|
|
2414
|
+
/**
|
|
2415
|
+
* * Field Name: Task
|
|
2416
|
+
* * Display Name: Task
|
|
2417
|
+
* * SQL Data Type: nvarchar(255)
|
|
2418
|
+
*/
|
|
2419
|
+
get Task() {
|
|
2420
|
+
return this.Get('Task');
|
|
2421
|
+
}
|
|
2422
|
+
/**
|
|
2423
|
+
* * Field Name: Artifact
|
|
2424
|
+
* * Display Name: Artifact
|
|
2425
|
+
* * SQL Data Type: nvarchar(255)
|
|
2426
|
+
*/
|
|
2427
|
+
get Artifact() {
|
|
2428
|
+
return this.Get('Artifact');
|
|
2429
|
+
}
|
|
2430
|
+
/**
|
|
2431
|
+
* * Field Name: Person
|
|
2432
|
+
* * Display Name: Person
|
|
2433
|
+
* * SQL Data Type: nvarchar(201)
|
|
2434
|
+
*/
|
|
2435
|
+
get Person() {
|
|
2436
|
+
return this.Get('Person');
|
|
2437
|
+
}
|
|
2438
|
+
/**
|
|
2439
|
+
* * Field Name: RootParentCommentID
|
|
2440
|
+
* * Display Name: Root Parent Comment ID
|
|
2441
|
+
* * SQL Data Type: uniqueidentifier
|
|
2442
|
+
*/
|
|
2443
|
+
get RootParentCommentID() {
|
|
2444
|
+
return this.Get('RootParentCommentID');
|
|
2445
|
+
}
|
|
2446
|
+
};
|
|
2447
|
+
mjBizAppsCommitteesCommentEntity = __decorate([
|
|
2448
|
+
RegisterClass(BaseEntity, 'Committees: Comments')
|
|
2449
|
+
], mjBizAppsCommitteesCommentEntity);
|
|
2450
|
+
export { mjBizAppsCommitteesCommentEntity };
|
|
2451
|
+
/**
|
|
2452
|
+
* Committees: Committees - strongly typed entity sub-class
|
|
2453
|
+
* * Schema: __mj_BizAppsCommittees
|
|
2454
|
+
* * Base Table: Committee
|
|
2455
|
+
* * Base View: vwCommittees
|
|
2456
|
+
* * @description Core committee records with hierarchy support
|
|
2457
|
+
* * Primary Key: ID
|
|
2458
|
+
* @extends {BaseEntity}
|
|
2459
|
+
* @class
|
|
2460
|
+
* @public
|
|
2461
|
+
*/
|
|
2462
|
+
let mjBizAppsCommitteesCommitteeEntity = class mjBizAppsCommitteesCommitteeEntity extends BaseEntity {
|
|
2463
|
+
/**
|
|
2464
|
+
* Loads the Committees: Committees record from the database
|
|
2465
|
+
* @param ID: string - primary key value to load the Committees: Committees record.
|
|
2466
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
2467
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
2468
|
+
* @public
|
|
2469
|
+
* @async
|
|
2470
|
+
* @memberof mjBizAppsCommitteesCommitteeEntity
|
|
2471
|
+
* @method
|
|
2472
|
+
* @override
|
|
2473
|
+
*/
|
|
2474
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
2475
|
+
const compositeKey = new CompositeKey();
|
|
2476
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
2477
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
2478
|
+
}
|
|
2479
|
+
/**
|
|
2480
|
+
* * Field Name: ID
|
|
2481
|
+
* * Display Name: ID
|
|
2482
|
+
* * SQL Data Type: uniqueidentifier
|
|
2483
|
+
* * Default Value: newsequentialid()
|
|
2484
|
+
*/
|
|
2485
|
+
get ID() {
|
|
2486
|
+
return this.Get('ID');
|
|
2487
|
+
}
|
|
2488
|
+
set ID(value) {
|
|
2489
|
+
this.Set('ID', value);
|
|
2490
|
+
}
|
|
2491
|
+
/**
|
|
2492
|
+
* * Field Name: Name
|
|
2493
|
+
* * Display Name: Name
|
|
2494
|
+
* * SQL Data Type: nvarchar(255)
|
|
2495
|
+
*/
|
|
2496
|
+
get Name() {
|
|
2497
|
+
return this.Get('Name');
|
|
2498
|
+
}
|
|
2499
|
+
set Name(value) {
|
|
2500
|
+
this.Set('Name', value);
|
|
2501
|
+
}
|
|
2502
|
+
/**
|
|
2503
|
+
* * Field Name: Description
|
|
2504
|
+
* * Display Name: Description
|
|
2505
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
2506
|
+
*/
|
|
2507
|
+
get Description() {
|
|
2508
|
+
return this.Get('Description');
|
|
2509
|
+
}
|
|
2510
|
+
set Description(value) {
|
|
2511
|
+
this.Set('Description', value);
|
|
2512
|
+
}
|
|
2513
|
+
/**
|
|
2514
|
+
* * Field Name: TypeID
|
|
2515
|
+
* * Display Name: Type ID
|
|
2516
|
+
* * SQL Data Type: uniqueidentifier
|
|
2517
|
+
* * Related Entity/Foreign Key: Committees: Types (vwTypes.ID)
|
|
2518
|
+
*/
|
|
2519
|
+
get TypeID() {
|
|
2520
|
+
return this.Get('TypeID');
|
|
2521
|
+
}
|
|
2522
|
+
set TypeID(value) {
|
|
2523
|
+
this.Set('TypeID', value);
|
|
2524
|
+
}
|
|
2525
|
+
/**
|
|
2526
|
+
* * Field Name: ParentCommitteeID
|
|
2527
|
+
* * Display Name: Parent Committee ID
|
|
2528
|
+
* * SQL Data Type: uniqueidentifier
|
|
2529
|
+
* * Related Entity/Foreign Key: Committees: Committees (vwCommittees.ID)
|
|
2530
|
+
*/
|
|
2531
|
+
get ParentCommitteeID() {
|
|
2532
|
+
return this.Get('ParentCommitteeID');
|
|
2533
|
+
}
|
|
2534
|
+
set ParentCommitteeID(value) {
|
|
2535
|
+
this.Set('ParentCommitteeID', value);
|
|
2536
|
+
}
|
|
2537
|
+
/**
|
|
2538
|
+
* * Field Name: OrganizationID
|
|
2539
|
+
* * Display Name: Organization ID
|
|
2540
|
+
* * SQL Data Type: uniqueidentifier
|
|
2541
|
+
* * Related Entity/Foreign Key: MJ_BizApps_Common: Organizations (vwOrganizations.ID)
|
|
2542
|
+
*/
|
|
2543
|
+
get OrganizationID() {
|
|
2544
|
+
return this.Get('OrganizationID');
|
|
2545
|
+
}
|
|
2546
|
+
set OrganizationID(value) {
|
|
2547
|
+
this.Set('OrganizationID', value);
|
|
2548
|
+
}
|
|
2549
|
+
/**
|
|
2550
|
+
* * Field Name: CharterDocumentURL
|
|
2551
|
+
* * Display Name: Charter Document URL
|
|
2552
|
+
* * SQL Data Type: nvarchar(1000)
|
|
2553
|
+
*/
|
|
2554
|
+
get CharterDocumentURL() {
|
|
2555
|
+
return this.Get('CharterDocumentURL');
|
|
2556
|
+
}
|
|
2557
|
+
set CharterDocumentURL(value) {
|
|
2558
|
+
this.Set('CharterDocumentURL', value);
|
|
2559
|
+
}
|
|
2560
|
+
/**
|
|
2561
|
+
* * Field Name: MissionStatement
|
|
2562
|
+
* * Display Name: Mission Statement
|
|
2563
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
2564
|
+
*/
|
|
2565
|
+
get MissionStatement() {
|
|
2566
|
+
return this.Get('MissionStatement');
|
|
2567
|
+
}
|
|
2568
|
+
set MissionStatement(value) {
|
|
2569
|
+
this.Set('MissionStatement', value);
|
|
2570
|
+
}
|
|
2571
|
+
/**
|
|
2572
|
+
* * Field Name: Status
|
|
2573
|
+
* * Display Name: Status
|
|
2574
|
+
* * SQL Data Type: nvarchar(50)
|
|
2575
|
+
* * Default Value: Active
|
|
2576
|
+
* * Value List Type: List
|
|
2577
|
+
* * Possible Values
|
|
2578
|
+
* * Active
|
|
2579
|
+
* * Dissolved
|
|
2580
|
+
* * Inactive
|
|
2581
|
+
* * Pending
|
|
2582
|
+
*/
|
|
2583
|
+
get Status() {
|
|
2584
|
+
return this.Get('Status');
|
|
2585
|
+
}
|
|
2586
|
+
set Status(value) {
|
|
2587
|
+
this.Set('Status', value);
|
|
2588
|
+
}
|
|
2589
|
+
/**
|
|
2590
|
+
* * Field Name: IsPublic
|
|
2591
|
+
* * Display Name: Is Public
|
|
2592
|
+
* * SQL Data Type: bit
|
|
2593
|
+
* * Default Value: 1
|
|
2594
|
+
*/
|
|
2595
|
+
get IsPublic() {
|
|
2596
|
+
return this.Get('IsPublic');
|
|
2597
|
+
}
|
|
2598
|
+
set IsPublic(value) {
|
|
2599
|
+
this.Set('IsPublic', value);
|
|
2600
|
+
}
|
|
2601
|
+
/**
|
|
2602
|
+
* * Field Name: FormationDate
|
|
2603
|
+
* * Display Name: Formation Date
|
|
2604
|
+
* * SQL Data Type: date
|
|
2605
|
+
*/
|
|
2606
|
+
get FormationDate() {
|
|
2607
|
+
return this.Get('FormationDate');
|
|
2608
|
+
}
|
|
2609
|
+
set FormationDate(value) {
|
|
2610
|
+
this.Set('FormationDate', value);
|
|
2611
|
+
}
|
|
2612
|
+
/**
|
|
2613
|
+
* * Field Name: DissolutionDate
|
|
2614
|
+
* * Display Name: Dissolution Date
|
|
2615
|
+
* * SQL Data Type: date
|
|
2616
|
+
*/
|
|
2617
|
+
get DissolutionDate() {
|
|
2618
|
+
return this.Get('DissolutionDate');
|
|
2619
|
+
}
|
|
2620
|
+
set DissolutionDate(value) {
|
|
2621
|
+
this.Set('DissolutionDate', value);
|
|
2622
|
+
}
|
|
2623
|
+
/**
|
|
2624
|
+
* * Field Name: __mj_CreatedAt
|
|
2625
|
+
* * Display Name: Created At
|
|
2626
|
+
* * SQL Data Type: datetimeoffset
|
|
2627
|
+
* * Default Value: getutcdate()
|
|
2628
|
+
*/
|
|
2629
|
+
get __mj_CreatedAt() {
|
|
2630
|
+
return this.Get('__mj_CreatedAt');
|
|
2631
|
+
}
|
|
2632
|
+
/**
|
|
2633
|
+
* * Field Name: __mj_UpdatedAt
|
|
2634
|
+
* * Display Name: Updated At
|
|
2635
|
+
* * SQL Data Type: datetimeoffset
|
|
2636
|
+
* * Default Value: getutcdate()
|
|
2637
|
+
*/
|
|
2638
|
+
get __mj_UpdatedAt() {
|
|
2639
|
+
return this.Get('__mj_UpdatedAt');
|
|
2640
|
+
}
|
|
2641
|
+
/**
|
|
2642
|
+
* * Field Name: Type
|
|
2643
|
+
* * Display Name: Type
|
|
2644
|
+
* * SQL Data Type: nvarchar(100)
|
|
2645
|
+
*/
|
|
2646
|
+
get Type() {
|
|
2647
|
+
return this.Get('Type');
|
|
2648
|
+
}
|
|
2649
|
+
/**
|
|
2650
|
+
* * Field Name: ParentCommittee
|
|
2651
|
+
* * Display Name: Parent Committee
|
|
2652
|
+
* * SQL Data Type: nvarchar(255)
|
|
2653
|
+
*/
|
|
2654
|
+
get ParentCommittee() {
|
|
2655
|
+
return this.Get('ParentCommittee');
|
|
2656
|
+
}
|
|
2657
|
+
/**
|
|
2658
|
+
* * Field Name: Organization
|
|
2659
|
+
* * Display Name: Organization
|
|
2660
|
+
* * SQL Data Type: nvarchar(255)
|
|
2661
|
+
*/
|
|
2662
|
+
get Organization() {
|
|
2663
|
+
return this.Get('Organization');
|
|
2664
|
+
}
|
|
2665
|
+
/**
|
|
2666
|
+
* * Field Name: RootParentCommitteeID
|
|
2667
|
+
* * Display Name: Root Parent Committee ID
|
|
2668
|
+
* * SQL Data Type: uniqueidentifier
|
|
2669
|
+
*/
|
|
2670
|
+
get RootParentCommitteeID() {
|
|
2671
|
+
return this.Get('RootParentCommitteeID');
|
|
2672
|
+
}
|
|
2673
|
+
};
|
|
2674
|
+
mjBizAppsCommitteesCommitteeEntity = __decorate([
|
|
2675
|
+
RegisterClass(BaseEntity, 'Committees: Committees')
|
|
2676
|
+
], mjBizAppsCommitteesCommitteeEntity);
|
|
2677
|
+
export { mjBizAppsCommitteesCommitteeEntity };
|
|
2678
|
+
/**
|
|
2679
|
+
* Committees: Meetings - strongly typed entity sub-class
|
|
2680
|
+
* * Schema: __mj_BizAppsCommittees
|
|
2681
|
+
* * Base Table: Meeting
|
|
2682
|
+
* * Base View: vwMeetings
|
|
2683
|
+
* * @description Committee meeting records with scheduling and video conferencing info
|
|
2684
|
+
* * Primary Key: ID
|
|
2685
|
+
* @extends {BaseEntity}
|
|
2686
|
+
* @class
|
|
2687
|
+
* @public
|
|
2688
|
+
*/
|
|
2689
|
+
let mjBizAppsCommitteesMeetingEntity = class mjBizAppsCommitteesMeetingEntity extends BaseEntity {
|
|
2690
|
+
/**
|
|
2691
|
+
* Loads the Committees: Meetings record from the database
|
|
2692
|
+
* @param ID: string - primary key value to load the Committees: Meetings record.
|
|
2693
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
2694
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
2695
|
+
* @public
|
|
2696
|
+
* @async
|
|
2697
|
+
* @memberof mjBizAppsCommitteesMeetingEntity
|
|
2698
|
+
* @method
|
|
2699
|
+
* @override
|
|
2700
|
+
*/
|
|
2701
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
2702
|
+
const compositeKey = new CompositeKey();
|
|
2703
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
2704
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
2705
|
+
}
|
|
2706
|
+
/**
|
|
2707
|
+
* * Field Name: ID
|
|
2708
|
+
* * Display Name: ID
|
|
2709
|
+
* * SQL Data Type: uniqueidentifier
|
|
2710
|
+
* * Default Value: newsequentialid()
|
|
2711
|
+
*/
|
|
2712
|
+
get ID() {
|
|
2713
|
+
return this.Get('ID');
|
|
2714
|
+
}
|
|
2715
|
+
set ID(value) {
|
|
2716
|
+
this.Set('ID', value);
|
|
2717
|
+
}
|
|
2718
|
+
/**
|
|
2719
|
+
* * Field Name: CommitteeID
|
|
2720
|
+
* * Display Name: Committee ID
|
|
2721
|
+
* * SQL Data Type: uniqueidentifier
|
|
2722
|
+
* * Related Entity/Foreign Key: Committees: Committees (vwCommittees.ID)
|
|
2723
|
+
*/
|
|
2724
|
+
get CommitteeID() {
|
|
2725
|
+
return this.Get('CommitteeID');
|
|
2726
|
+
}
|
|
2727
|
+
set CommitteeID(value) {
|
|
2728
|
+
this.Set('CommitteeID', value);
|
|
2729
|
+
}
|
|
2730
|
+
/**
|
|
2731
|
+
* * Field Name: Name
|
|
2732
|
+
* * Display Name: Name
|
|
2733
|
+
* * SQL Data Type: nvarchar(255)
|
|
2734
|
+
*/
|
|
2735
|
+
get Name() {
|
|
2736
|
+
return this.Get('Name');
|
|
2737
|
+
}
|
|
2738
|
+
set Name(value) {
|
|
2739
|
+
this.Set('Name', value);
|
|
2740
|
+
}
|
|
2741
|
+
/**
|
|
2742
|
+
* * Field Name: Description
|
|
2743
|
+
* * Display Name: Description
|
|
2744
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
2745
|
+
*/
|
|
2746
|
+
get Description() {
|
|
2747
|
+
return this.Get('Description');
|
|
2748
|
+
}
|
|
2749
|
+
set Description(value) {
|
|
2750
|
+
this.Set('Description', value);
|
|
2751
|
+
}
|
|
2752
|
+
/**
|
|
2753
|
+
* * Field Name: StartDateTime
|
|
2754
|
+
* * Display Name: Start Date Time
|
|
2755
|
+
* * SQL Data Type: datetimeoffset
|
|
2756
|
+
*/
|
|
2757
|
+
get StartDateTime() {
|
|
2758
|
+
return this.Get('StartDateTime');
|
|
2759
|
+
}
|
|
2760
|
+
set StartDateTime(value) {
|
|
2761
|
+
this.Set('StartDateTime', value);
|
|
2762
|
+
}
|
|
2763
|
+
/**
|
|
2764
|
+
* * Field Name: EndDateTime
|
|
2765
|
+
* * Display Name: End Date Time
|
|
2766
|
+
* * SQL Data Type: datetimeoffset
|
|
2767
|
+
*/
|
|
2768
|
+
get EndDateTime() {
|
|
2769
|
+
return this.Get('EndDateTime');
|
|
2770
|
+
}
|
|
2771
|
+
set EndDateTime(value) {
|
|
2772
|
+
this.Set('EndDateTime', value);
|
|
2773
|
+
}
|
|
2774
|
+
/**
|
|
2775
|
+
* * Field Name: TimeZone
|
|
2776
|
+
* * Display Name: Time Zone
|
|
2777
|
+
* * SQL Data Type: nvarchar(50)
|
|
2778
|
+
* * Default Value: America/New_York
|
|
2779
|
+
*/
|
|
2780
|
+
get TimeZone() {
|
|
2781
|
+
return this.Get('TimeZone');
|
|
2782
|
+
}
|
|
2783
|
+
set TimeZone(value) {
|
|
2784
|
+
this.Set('TimeZone', value);
|
|
2785
|
+
}
|
|
2786
|
+
/**
|
|
2787
|
+
* * Field Name: LocationType
|
|
2788
|
+
* * Display Name: Location Type
|
|
2789
|
+
* * SQL Data Type: nvarchar(50)
|
|
2790
|
+
* * Default Value: Virtual
|
|
2791
|
+
* * Value List Type: List
|
|
2792
|
+
* * Possible Values
|
|
2793
|
+
* * Hybrid
|
|
2794
|
+
* * InPerson
|
|
2795
|
+
* * Virtual
|
|
2796
|
+
*/
|
|
2797
|
+
get LocationType() {
|
|
2798
|
+
return this.Get('LocationType');
|
|
2799
|
+
}
|
|
2800
|
+
set LocationType(value) {
|
|
2801
|
+
this.Set('LocationType', value);
|
|
2802
|
+
}
|
|
2803
|
+
/**
|
|
2804
|
+
* * Field Name: LocationText
|
|
2805
|
+
* * Display Name: Location Text
|
|
2806
|
+
* * SQL Data Type: nvarchar(500)
|
|
2807
|
+
*/
|
|
2808
|
+
get LocationText() {
|
|
2809
|
+
return this.Get('LocationText');
|
|
2810
|
+
}
|
|
2811
|
+
set LocationText(value) {
|
|
2812
|
+
this.Set('LocationText', value);
|
|
2813
|
+
}
|
|
2814
|
+
/**
|
|
2815
|
+
* * Field Name: VideoProvider
|
|
2816
|
+
* * Display Name: Video Provider
|
|
2817
|
+
* * SQL Data Type: nvarchar(50)
|
|
2818
|
+
*/
|
|
2819
|
+
get VideoProvider() {
|
|
2820
|
+
return this.Get('VideoProvider');
|
|
2821
|
+
}
|
|
2822
|
+
set VideoProvider(value) {
|
|
2823
|
+
this.Set('VideoProvider', value);
|
|
2824
|
+
}
|
|
2825
|
+
/**
|
|
2826
|
+
* * Field Name: VideoProviderID
|
|
2827
|
+
* * Display Name: Video Provider ID
|
|
2828
|
+
* * SQL Data Type: uniqueidentifier
|
|
2829
|
+
* * Related Entity/Foreign Key: Committees: Video Providers (vwVideoProviders.ID)
|
|
2830
|
+
*/
|
|
2831
|
+
get VideoProviderID() {
|
|
2832
|
+
return this.Get('VideoProviderID');
|
|
2833
|
+
}
|
|
2834
|
+
set VideoProviderID(value) {
|
|
2835
|
+
this.Set('VideoProviderID', value);
|
|
2836
|
+
}
|
|
2837
|
+
/**
|
|
2838
|
+
* * Field Name: VideoMeetingID
|
|
2839
|
+
* * Display Name: Video Meeting ID
|
|
2840
|
+
* * SQL Data Type: nvarchar(255)
|
|
2841
|
+
*/
|
|
2842
|
+
get VideoMeetingID() {
|
|
2843
|
+
return this.Get('VideoMeetingID');
|
|
2844
|
+
}
|
|
2845
|
+
set VideoMeetingID(value) {
|
|
2846
|
+
this.Set('VideoMeetingID', value);
|
|
2847
|
+
}
|
|
2848
|
+
/**
|
|
2849
|
+
* * Field Name: VideoJoinURL
|
|
2850
|
+
* * Display Name: Video Join URL
|
|
2851
|
+
* * SQL Data Type: nvarchar(1000)
|
|
2852
|
+
*/
|
|
2853
|
+
get VideoJoinURL() {
|
|
2854
|
+
return this.Get('VideoJoinURL');
|
|
2855
|
+
}
|
|
2856
|
+
set VideoJoinURL(value) {
|
|
2857
|
+
this.Set('VideoJoinURL', value);
|
|
2858
|
+
}
|
|
2859
|
+
/**
|
|
2860
|
+
* * Field Name: VideoRecordingURL
|
|
2861
|
+
* * Display Name: Video Recording URL
|
|
2862
|
+
* * SQL Data Type: nvarchar(1000)
|
|
2863
|
+
*/
|
|
2864
|
+
get VideoRecordingURL() {
|
|
2865
|
+
return this.Get('VideoRecordingURL');
|
|
2866
|
+
}
|
|
2867
|
+
set VideoRecordingURL(value) {
|
|
2868
|
+
this.Set('VideoRecordingURL', value);
|
|
2869
|
+
}
|
|
2870
|
+
/**
|
|
2871
|
+
* * Field Name: TranscriptURL
|
|
2872
|
+
* * Display Name: Transcript URL
|
|
2873
|
+
* * SQL Data Type: nvarchar(1000)
|
|
2874
|
+
*/
|
|
2875
|
+
get TranscriptURL() {
|
|
2876
|
+
return this.Get('TranscriptURL');
|
|
2877
|
+
}
|
|
2878
|
+
set TranscriptURL(value) {
|
|
2879
|
+
this.Set('TranscriptURL', value);
|
|
2880
|
+
}
|
|
2881
|
+
/**
|
|
2882
|
+
* * Field Name: Status
|
|
2883
|
+
* * Display Name: Status
|
|
2884
|
+
* * SQL Data Type: nvarchar(50)
|
|
2885
|
+
* * Default Value: Scheduled
|
|
2886
|
+
* * Value List Type: List
|
|
2887
|
+
* * Possible Values
|
|
2888
|
+
* * Cancelled
|
|
2889
|
+
* * Completed
|
|
2890
|
+
* * Draft
|
|
2891
|
+
* * InProgress
|
|
2892
|
+
* * Postponed
|
|
2893
|
+
* * Scheduled
|
|
2894
|
+
*/
|
|
2895
|
+
get Status() {
|
|
2896
|
+
return this.Get('Status');
|
|
2897
|
+
}
|
|
2898
|
+
set Status(value) {
|
|
2899
|
+
this.Set('Status', value);
|
|
2900
|
+
}
|
|
2901
|
+
/**
|
|
2902
|
+
* * Field Name: CalendarEventID
|
|
2903
|
+
* * Display Name: Calendar Event ID
|
|
2904
|
+
* * SQL Data Type: nvarchar(255)
|
|
2905
|
+
*/
|
|
2906
|
+
get CalendarEventID() {
|
|
2907
|
+
return this.Get('CalendarEventID');
|
|
2908
|
+
}
|
|
2909
|
+
set CalendarEventID(value) {
|
|
2910
|
+
this.Set('CalendarEventID', value);
|
|
2911
|
+
}
|
|
2912
|
+
/**
|
|
2913
|
+
* * Field Name: __mj_CreatedAt
|
|
2914
|
+
* * Display Name: Created At
|
|
2915
|
+
* * SQL Data Type: datetimeoffset
|
|
2916
|
+
* * Default Value: getutcdate()
|
|
2917
|
+
*/
|
|
2918
|
+
get __mj_CreatedAt() {
|
|
2919
|
+
return this.Get('__mj_CreatedAt');
|
|
2920
|
+
}
|
|
2921
|
+
/**
|
|
2922
|
+
* * Field Name: __mj_UpdatedAt
|
|
2923
|
+
* * Display Name: Updated At
|
|
2924
|
+
* * SQL Data Type: datetimeoffset
|
|
2925
|
+
* * Default Value: getutcdate()
|
|
2926
|
+
*/
|
|
2927
|
+
get __mj_UpdatedAt() {
|
|
2928
|
+
return this.Get('__mj_UpdatedAt');
|
|
2929
|
+
}
|
|
2930
|
+
/**
|
|
2931
|
+
* * Field Name: Committee
|
|
2932
|
+
* * Display Name: Committee
|
|
2933
|
+
* * SQL Data Type: nvarchar(255)
|
|
2934
|
+
*/
|
|
2935
|
+
get Committee() {
|
|
2936
|
+
return this.Get('Committee');
|
|
2937
|
+
}
|
|
2938
|
+
/**
|
|
2939
|
+
* * Field Name: VideoProvider_Virtual
|
|
2940
|
+
* * Display Name: Video Provider Virtual
|
|
2941
|
+
* * SQL Data Type: nvarchar(100)
|
|
2942
|
+
*/
|
|
2943
|
+
get VideoProvider_Virtual() {
|
|
2944
|
+
return this.Get('VideoProvider_Virtual');
|
|
2945
|
+
}
|
|
2946
|
+
};
|
|
2947
|
+
mjBizAppsCommitteesMeetingEntity = __decorate([
|
|
2948
|
+
RegisterClass(BaseEntity, 'Committees: Meetings')
|
|
2949
|
+
], mjBizAppsCommitteesMeetingEntity);
|
|
2950
|
+
export { mjBizAppsCommitteesMeetingEntity };
|
|
2951
|
+
/**
|
|
2952
|
+
* Committees: Memberships - strongly typed entity sub-class
|
|
2953
|
+
* * Schema: __mj_BizAppsCommittees
|
|
2954
|
+
* * Base Table: Membership
|
|
2955
|
+
* * Base View: vwMemberships
|
|
2956
|
+
* * @description Person assignments to committees with roles and terms
|
|
2957
|
+
* * Primary Key: ID
|
|
2958
|
+
* @extends {BaseEntity}
|
|
2959
|
+
* @class
|
|
2960
|
+
* @public
|
|
2961
|
+
*/
|
|
2962
|
+
let mjBizAppsCommitteesMembershipEntity = class mjBizAppsCommitteesMembershipEntity extends BaseEntity {
|
|
2963
|
+
/**
|
|
2964
|
+
* Loads the Committees: Memberships record from the database
|
|
2965
|
+
* @param ID: string - primary key value to load the Committees: Memberships record.
|
|
2966
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
2967
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
2968
|
+
* @public
|
|
2969
|
+
* @async
|
|
2970
|
+
* @memberof mjBizAppsCommitteesMembershipEntity
|
|
2971
|
+
* @method
|
|
2972
|
+
* @override
|
|
2973
|
+
*/
|
|
2974
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
2975
|
+
const compositeKey = new CompositeKey();
|
|
2976
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
2977
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
2978
|
+
}
|
|
2979
|
+
/**
|
|
2980
|
+
* * Field Name: ID
|
|
2981
|
+
* * Display Name: ID
|
|
2982
|
+
* * SQL Data Type: uniqueidentifier
|
|
2983
|
+
* * Default Value: newsequentialid()
|
|
2984
|
+
*/
|
|
2985
|
+
get ID() {
|
|
2986
|
+
return this.Get('ID');
|
|
2987
|
+
}
|
|
2988
|
+
set ID(value) {
|
|
2989
|
+
this.Set('ID', value);
|
|
2990
|
+
}
|
|
2991
|
+
/**
|
|
2992
|
+
* * Field Name: PersonID
|
|
2993
|
+
* * Display Name: Person ID
|
|
2994
|
+
* * SQL Data Type: uniqueidentifier
|
|
2995
|
+
* * Related Entity/Foreign Key: MJ_BizApps_Common: People (vwPeople.ID)
|
|
2996
|
+
*/
|
|
2997
|
+
get PersonID() {
|
|
2998
|
+
return this.Get('PersonID');
|
|
2999
|
+
}
|
|
3000
|
+
set PersonID(value) {
|
|
3001
|
+
this.Set('PersonID', value);
|
|
3002
|
+
}
|
|
3003
|
+
/**
|
|
3004
|
+
* * Field Name: RoleID
|
|
3005
|
+
* * Display Name: Role ID
|
|
3006
|
+
* * SQL Data Type: uniqueidentifier
|
|
3007
|
+
* * Related Entity/Foreign Key: Committees: Roles (vwRoles.ID)
|
|
3008
|
+
*/
|
|
3009
|
+
get RoleID() {
|
|
3010
|
+
return this.Get('RoleID');
|
|
3011
|
+
}
|
|
3012
|
+
set RoleID(value) {
|
|
3013
|
+
this.Set('RoleID', value);
|
|
3014
|
+
}
|
|
3015
|
+
/**
|
|
3016
|
+
* * Field Name: TermID
|
|
3017
|
+
* * Display Name: Term ID
|
|
3018
|
+
* * SQL Data Type: uniqueidentifier
|
|
3019
|
+
* * Related Entity/Foreign Key: Committees: Terms (vwTerms.ID)
|
|
3020
|
+
*/
|
|
3021
|
+
get TermID() {
|
|
3022
|
+
return this.Get('TermID');
|
|
3023
|
+
}
|
|
3024
|
+
set TermID(value) {
|
|
3025
|
+
this.Set('TermID', value);
|
|
3026
|
+
}
|
|
3027
|
+
/**
|
|
3028
|
+
* * Field Name: StartDate
|
|
3029
|
+
* * Display Name: Start Date
|
|
3030
|
+
* * SQL Data Type: date
|
|
3031
|
+
*/
|
|
3032
|
+
get StartDate() {
|
|
3033
|
+
return this.Get('StartDate');
|
|
3034
|
+
}
|
|
3035
|
+
set StartDate(value) {
|
|
3036
|
+
this.Set('StartDate', value);
|
|
3037
|
+
}
|
|
3038
|
+
/**
|
|
3039
|
+
* * Field Name: EndDate
|
|
3040
|
+
* * Display Name: End Date
|
|
3041
|
+
* * SQL Data Type: date
|
|
3042
|
+
*/
|
|
3043
|
+
get EndDate() {
|
|
3044
|
+
return this.Get('EndDate');
|
|
3045
|
+
}
|
|
3046
|
+
set EndDate(value) {
|
|
3047
|
+
this.Set('EndDate', value);
|
|
3048
|
+
}
|
|
3049
|
+
/**
|
|
3050
|
+
* * Field Name: Status
|
|
3051
|
+
* * Display Name: Status
|
|
3052
|
+
* * SQL Data Type: nvarchar(50)
|
|
3053
|
+
* * Default Value: Active
|
|
3054
|
+
* * Value List Type: List
|
|
3055
|
+
* * Possible Values
|
|
3056
|
+
* * Active
|
|
3057
|
+
* * Ended
|
|
3058
|
+
* * Pending
|
|
3059
|
+
* * Suspended
|
|
3060
|
+
*/
|
|
3061
|
+
get Status() {
|
|
3062
|
+
return this.Get('Status');
|
|
3063
|
+
}
|
|
3064
|
+
set Status(value) {
|
|
3065
|
+
this.Set('Status', value);
|
|
3066
|
+
}
|
|
3067
|
+
/**
|
|
3068
|
+
* * Field Name: EndReason
|
|
3069
|
+
* * Display Name: End Reason
|
|
3070
|
+
* * SQL Data Type: nvarchar(100)
|
|
3071
|
+
*/
|
|
3072
|
+
get EndReason() {
|
|
3073
|
+
return this.Get('EndReason');
|
|
3074
|
+
}
|
|
3075
|
+
set EndReason(value) {
|
|
3076
|
+
this.Set('EndReason', value);
|
|
3077
|
+
}
|
|
3078
|
+
/**
|
|
3079
|
+
* * Field Name: Notes
|
|
3080
|
+
* * Display Name: Notes
|
|
3081
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
3082
|
+
*/
|
|
3083
|
+
get Notes() {
|
|
3084
|
+
return this.Get('Notes');
|
|
3085
|
+
}
|
|
3086
|
+
set Notes(value) {
|
|
3087
|
+
this.Set('Notes', value);
|
|
3088
|
+
}
|
|
3089
|
+
/**
|
|
3090
|
+
* * Field Name: __mj_CreatedAt
|
|
3091
|
+
* * Display Name: Created At
|
|
3092
|
+
* * SQL Data Type: datetimeoffset
|
|
3093
|
+
* * Default Value: getutcdate()
|
|
3094
|
+
*/
|
|
3095
|
+
get __mj_CreatedAt() {
|
|
3096
|
+
return this.Get('__mj_CreatedAt');
|
|
3097
|
+
}
|
|
3098
|
+
/**
|
|
3099
|
+
* * Field Name: __mj_UpdatedAt
|
|
3100
|
+
* * Display Name: Updated At
|
|
3101
|
+
* * SQL Data Type: datetimeoffset
|
|
3102
|
+
* * Default Value: getutcdate()
|
|
3103
|
+
*/
|
|
3104
|
+
get __mj_UpdatedAt() {
|
|
3105
|
+
return this.Get('__mj_UpdatedAt');
|
|
3106
|
+
}
|
|
3107
|
+
/**
|
|
3108
|
+
* * Field Name: RenewalIntent
|
|
3109
|
+
* * Display Name: Renewal Intent
|
|
3110
|
+
* * SQL Data Type: nvarchar(20)
|
|
3111
|
+
* * Value List Type: List
|
|
3112
|
+
* * Possible Values
|
|
3113
|
+
* * No
|
|
3114
|
+
* * Undecided
|
|
3115
|
+
* * Yes
|
|
3116
|
+
* * Description: The member's stated intent to serve another term (Yes, No, Undecided), captured via Member Home self-service; NULL = not yet answered. Feeds the People & Terms succession pipeline.
|
|
3117
|
+
*/
|
|
3118
|
+
get RenewalIntent() {
|
|
3119
|
+
return this.Get('RenewalIntent');
|
|
3120
|
+
}
|
|
3121
|
+
set RenewalIntent(value) {
|
|
3122
|
+
this.Set('RenewalIntent', value);
|
|
3123
|
+
}
|
|
3124
|
+
/**
|
|
3125
|
+
* * Field Name: Person
|
|
3126
|
+
* * Display Name: Person
|
|
3127
|
+
* * SQL Data Type: nvarchar(201)
|
|
3128
|
+
*/
|
|
3129
|
+
get Person() {
|
|
3130
|
+
return this.Get('Person');
|
|
3131
|
+
}
|
|
3132
|
+
/**
|
|
3133
|
+
* * Field Name: Role
|
|
3134
|
+
* * Display Name: Role
|
|
3135
|
+
* * SQL Data Type: nvarchar(100)
|
|
3136
|
+
*/
|
|
3137
|
+
get Role() {
|
|
3138
|
+
return this.Get('Role');
|
|
3139
|
+
}
|
|
3140
|
+
/**
|
|
3141
|
+
* * Field Name: Term
|
|
3142
|
+
* * Display Name: Term
|
|
3143
|
+
* * SQL Data Type: nvarchar(100)
|
|
3144
|
+
*/
|
|
3145
|
+
get Term() {
|
|
3146
|
+
return this.Get('Term');
|
|
3147
|
+
}
|
|
3148
|
+
};
|
|
3149
|
+
mjBizAppsCommitteesMembershipEntity = __decorate([
|
|
3150
|
+
RegisterClass(BaseEntity, 'Committees: Memberships')
|
|
3151
|
+
], mjBizAppsCommitteesMembershipEntity);
|
|
3152
|
+
export { mjBizAppsCommitteesMembershipEntity };
|
|
3153
|
+
/**
|
|
3154
|
+
* Committees: Minutes - strongly typed entity sub-class
|
|
3155
|
+
* * Schema: __mj_BizAppsCommittees
|
|
3156
|
+
* * Base Table: Minute
|
|
3157
|
+
* * Base View: vwMinutes
|
|
3158
|
+
* * @description Meeting minutes with approval tracking; stored as markdown Content or linked Artifact
|
|
3159
|
+
* * Primary Key: ID
|
|
3160
|
+
* @extends {BaseEntity}
|
|
3161
|
+
* @class
|
|
3162
|
+
* @public
|
|
3163
|
+
*/
|
|
3164
|
+
let mjBizAppsCommitteesMinuteEntity = class mjBizAppsCommitteesMinuteEntity extends BaseEntity {
|
|
3165
|
+
/**
|
|
3166
|
+
* Loads the Committees: Minutes record from the database
|
|
3167
|
+
* @param ID: string - primary key value to load the Committees: Minutes record.
|
|
3168
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
3169
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
3170
|
+
* @public
|
|
3171
|
+
* @async
|
|
3172
|
+
* @memberof mjBizAppsCommitteesMinuteEntity
|
|
3173
|
+
* @method
|
|
3174
|
+
* @override
|
|
3175
|
+
*/
|
|
3176
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
3177
|
+
const compositeKey = new CompositeKey();
|
|
3178
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
3179
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
3180
|
+
}
|
|
3181
|
+
/**
|
|
3182
|
+
* * Field Name: ID
|
|
3183
|
+
* * Display Name: ID
|
|
3184
|
+
* * SQL Data Type: uniqueidentifier
|
|
3185
|
+
* * Default Value: newsequentialid()
|
|
3186
|
+
*/
|
|
3187
|
+
get ID() {
|
|
3188
|
+
return this.Get('ID');
|
|
3189
|
+
}
|
|
3190
|
+
set ID(value) {
|
|
3191
|
+
this.Set('ID', value);
|
|
3192
|
+
}
|
|
3193
|
+
/**
|
|
3194
|
+
* * Field Name: ArtifactID
|
|
3195
|
+
* * Display Name: Artifact ID
|
|
3196
|
+
* * SQL Data Type: uniqueidentifier
|
|
3197
|
+
* * Related Entity/Foreign Key: Committees: Artifacts (vwArtifacts.ID)
|
|
3198
|
+
*/
|
|
3199
|
+
get ArtifactID() {
|
|
3200
|
+
return this.Get('ArtifactID');
|
|
3201
|
+
}
|
|
3202
|
+
set ArtifactID(value) {
|
|
3203
|
+
this.Set('ArtifactID', value);
|
|
3204
|
+
}
|
|
3205
|
+
/**
|
|
3206
|
+
* * Field Name: MeetingID
|
|
3207
|
+
* * Display Name: Meeting ID
|
|
3208
|
+
* * SQL Data Type: uniqueidentifier
|
|
3209
|
+
* * Related Entity/Foreign Key: Committees: Meetings (vwMeetings.ID)
|
|
3210
|
+
*/
|
|
3211
|
+
get MeetingID() {
|
|
3212
|
+
return this.Get('MeetingID');
|
|
3213
|
+
}
|
|
3214
|
+
set MeetingID(value) {
|
|
3215
|
+
this.Set('MeetingID', value);
|
|
3216
|
+
}
|
|
3217
|
+
/**
|
|
3218
|
+
* * Field Name: Content
|
|
3219
|
+
* * Display Name: Content
|
|
3220
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
3221
|
+
*/
|
|
3222
|
+
get Content() {
|
|
3223
|
+
return this.Get('Content');
|
|
3224
|
+
}
|
|
3225
|
+
set Content(value) {
|
|
3226
|
+
this.Set('Content', value);
|
|
3227
|
+
}
|
|
3228
|
+
/**
|
|
3229
|
+
* * Field Name: ApprovalStatus
|
|
3230
|
+
* * Display Name: Approval Status
|
|
3231
|
+
* * SQL Data Type: nvarchar(50)
|
|
3232
|
+
* * Default Value: Draft
|
|
3233
|
+
* * Value List Type: List
|
|
3234
|
+
* * Possible Values
|
|
3235
|
+
* * Approved
|
|
3236
|
+
* * Draft
|
|
3237
|
+
* * PendingApproval
|
|
3238
|
+
* * Rejected
|
|
3239
|
+
*/
|
|
3240
|
+
get ApprovalStatus() {
|
|
3241
|
+
return this.Get('ApprovalStatus');
|
|
3242
|
+
}
|
|
3243
|
+
set ApprovalStatus(value) {
|
|
3244
|
+
this.Set('ApprovalStatus', value);
|
|
3245
|
+
}
|
|
3246
|
+
/**
|
|
3247
|
+
* * Field Name: ApprovedAt
|
|
3248
|
+
* * Display Name: Approved At
|
|
3249
|
+
* * SQL Data Type: datetimeoffset
|
|
3250
|
+
*/
|
|
3251
|
+
get ApprovedAt() {
|
|
3252
|
+
return this.Get('ApprovedAt');
|
|
3253
|
+
}
|
|
3254
|
+
set ApprovedAt(value) {
|
|
3255
|
+
this.Set('ApprovedAt', value);
|
|
3256
|
+
}
|
|
3257
|
+
/**
|
|
3258
|
+
* * Field Name: ApprovedByMeetingID
|
|
3259
|
+
* * Display Name: Approved By Meeting ID
|
|
3260
|
+
* * SQL Data Type: uniqueidentifier
|
|
3261
|
+
* * Related Entity/Foreign Key: Committees: Meetings (vwMeetings.ID)
|
|
3262
|
+
*/
|
|
3263
|
+
get ApprovedByMeetingID() {
|
|
3264
|
+
return this.Get('ApprovedByMeetingID');
|
|
3265
|
+
}
|
|
3266
|
+
set ApprovedByMeetingID(value) {
|
|
3267
|
+
this.Set('ApprovedByMeetingID', value);
|
|
3268
|
+
}
|
|
3269
|
+
/**
|
|
3270
|
+
* * Field Name: Notes
|
|
3271
|
+
* * Display Name: Notes
|
|
3272
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
3273
|
+
*/
|
|
3274
|
+
get Notes() {
|
|
3275
|
+
return this.Get('Notes');
|
|
3276
|
+
}
|
|
3277
|
+
set Notes(value) {
|
|
3278
|
+
this.Set('Notes', value);
|
|
3279
|
+
}
|
|
3280
|
+
/**
|
|
3281
|
+
* * Field Name: __mj_CreatedAt
|
|
3282
|
+
* * Display Name: Created At
|
|
3283
|
+
* * SQL Data Type: datetimeoffset
|
|
3284
|
+
* * Default Value: getutcdate()
|
|
3285
|
+
*/
|
|
3286
|
+
get __mj_CreatedAt() {
|
|
3287
|
+
return this.Get('__mj_CreatedAt');
|
|
3288
|
+
}
|
|
3289
|
+
/**
|
|
3290
|
+
* * Field Name: __mj_UpdatedAt
|
|
3291
|
+
* * Display Name: Updated At
|
|
3292
|
+
* * SQL Data Type: datetimeoffset
|
|
3293
|
+
* * Default Value: getutcdate()
|
|
3294
|
+
*/
|
|
3295
|
+
get __mj_UpdatedAt() {
|
|
3296
|
+
return this.Get('__mj_UpdatedAt');
|
|
3297
|
+
}
|
|
3298
|
+
/**
|
|
3299
|
+
* * Field Name: Artifact
|
|
3300
|
+
* * Display Name: Artifact
|
|
3301
|
+
* * SQL Data Type: nvarchar(255)
|
|
3302
|
+
*/
|
|
3303
|
+
get Artifact() {
|
|
3304
|
+
return this.Get('Artifact');
|
|
3305
|
+
}
|
|
3306
|
+
/**
|
|
3307
|
+
* * Field Name: Meeting
|
|
3308
|
+
* * Display Name: Meeting
|
|
3309
|
+
* * SQL Data Type: nvarchar(255)
|
|
3310
|
+
*/
|
|
3311
|
+
get Meeting() {
|
|
3312
|
+
return this.Get('Meeting');
|
|
3313
|
+
}
|
|
3314
|
+
/**
|
|
3315
|
+
* * Field Name: ApprovedByMeeting
|
|
3316
|
+
* * Display Name: Approved By Meeting
|
|
3317
|
+
* * SQL Data Type: nvarchar(255)
|
|
3318
|
+
*/
|
|
3319
|
+
get ApprovedByMeeting() {
|
|
3320
|
+
return this.Get('ApprovedByMeeting');
|
|
3321
|
+
}
|
|
3322
|
+
};
|
|
3323
|
+
mjBizAppsCommitteesMinuteEntity = __decorate([
|
|
3324
|
+
RegisterClass(BaseEntity, 'Committees: Minutes')
|
|
3325
|
+
], mjBizAppsCommitteesMinuteEntity);
|
|
3326
|
+
export { mjBizAppsCommitteesMinuteEntity };
|
|
3327
|
+
/**
|
|
3328
|
+
* Committees: Motions - strongly typed entity sub-class
|
|
3329
|
+
* * Schema: __mj_BizAppsCommittees
|
|
3330
|
+
* * Base Table: Motion
|
|
3331
|
+
* * Base View: vwMotions
|
|
3332
|
+
* * @description Formal motions put to vote during committee meetings
|
|
3333
|
+
* * Primary Key: ID
|
|
3334
|
+
* @extends {BaseEntity}
|
|
3335
|
+
* @class
|
|
3336
|
+
* @public
|
|
3337
|
+
*/
|
|
3338
|
+
let mjBizAppsCommitteesMotionEntity = class mjBizAppsCommitteesMotionEntity extends BaseEntity {
|
|
3339
|
+
/**
|
|
3340
|
+
* Loads the Committees: Motions record from the database
|
|
3341
|
+
* @param ID: string - primary key value to load the Committees: Motions record.
|
|
3342
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
3343
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
3344
|
+
* @public
|
|
3345
|
+
* @async
|
|
3346
|
+
* @memberof mjBizAppsCommitteesMotionEntity
|
|
3347
|
+
* @method
|
|
3348
|
+
* @override
|
|
3349
|
+
*/
|
|
3350
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
3351
|
+
const compositeKey = new CompositeKey();
|
|
3352
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
3353
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
3354
|
+
}
|
|
3355
|
+
/**
|
|
3356
|
+
* * Field Name: ID
|
|
3357
|
+
* * Display Name: ID
|
|
3358
|
+
* * SQL Data Type: uniqueidentifier
|
|
3359
|
+
* * Default Value: newsequentialid()
|
|
3360
|
+
*/
|
|
3361
|
+
get ID() {
|
|
3362
|
+
return this.Get('ID');
|
|
3363
|
+
}
|
|
3364
|
+
set ID(value) {
|
|
3365
|
+
this.Set('ID', value);
|
|
3366
|
+
}
|
|
3367
|
+
/**
|
|
3368
|
+
* * Field Name: MeetingID
|
|
3369
|
+
* * Display Name: Meeting ID
|
|
3370
|
+
* * SQL Data Type: uniqueidentifier
|
|
3371
|
+
* * Related Entity/Foreign Key: Committees: Meetings (vwMeetings.ID)
|
|
3372
|
+
* * Description: Meeting where the motion was made; NULL for between-meeting e-ballot motions (see Ballot)
|
|
3373
|
+
*/
|
|
3374
|
+
get MeetingID() {
|
|
3375
|
+
return this.Get('MeetingID');
|
|
3376
|
+
}
|
|
3377
|
+
set MeetingID(value) {
|
|
3378
|
+
this.Set('MeetingID', value);
|
|
3379
|
+
}
|
|
3380
|
+
/**
|
|
3381
|
+
* * Field Name: AgendaItemID
|
|
3382
|
+
* * Display Name: Agenda Item ID
|
|
3383
|
+
* * SQL Data Type: uniqueidentifier
|
|
3384
|
+
* * Related Entity/Foreign Key: Committees: Agenda Items (vwAgendaItems.ID)
|
|
3385
|
+
*/
|
|
3386
|
+
get AgendaItemID() {
|
|
3387
|
+
return this.Get('AgendaItemID');
|
|
3388
|
+
}
|
|
3389
|
+
set AgendaItemID(value) {
|
|
3390
|
+
this.Set('AgendaItemID', value);
|
|
3391
|
+
}
|
|
3392
|
+
/**
|
|
3393
|
+
* * Field Name: Sequence
|
|
3394
|
+
* * Display Name: Sequence
|
|
3395
|
+
* * SQL Data Type: int
|
|
3396
|
+
* * Default Value: 1
|
|
3397
|
+
*/
|
|
3398
|
+
get Sequence() {
|
|
3399
|
+
return this.Get('Sequence');
|
|
3400
|
+
}
|
|
3401
|
+
set Sequence(value) {
|
|
3402
|
+
this.Set('Sequence', value);
|
|
3403
|
+
}
|
|
3404
|
+
/**
|
|
3405
|
+
* * Field Name: Name
|
|
3406
|
+
* * Display Name: Name
|
|
3407
|
+
* * SQL Data Type: nvarchar(255)
|
|
3408
|
+
*/
|
|
3409
|
+
get Name() {
|
|
3410
|
+
return this.Get('Name');
|
|
3411
|
+
}
|
|
3412
|
+
set Name(value) {
|
|
3413
|
+
this.Set('Name', value);
|
|
3414
|
+
}
|
|
3415
|
+
/**
|
|
3416
|
+
* * Field Name: Description
|
|
3417
|
+
* * Display Name: Description
|
|
3418
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
3419
|
+
*/
|
|
3420
|
+
get Description() {
|
|
3421
|
+
return this.Get('Description');
|
|
3422
|
+
}
|
|
3423
|
+
set Description(value) {
|
|
3424
|
+
this.Set('Description', value);
|
|
3425
|
+
}
|
|
3426
|
+
/**
|
|
3427
|
+
* * Field Name: MovedByMembershipID
|
|
3428
|
+
* * Display Name: Moved By Membership ID
|
|
3429
|
+
* * SQL Data Type: uniqueidentifier
|
|
3430
|
+
* * Related Entity/Foreign Key: Committees: Memberships (vwMemberships.ID)
|
|
3431
|
+
*/
|
|
3432
|
+
get MovedByMembershipID() {
|
|
3433
|
+
return this.Get('MovedByMembershipID');
|
|
3434
|
+
}
|
|
3435
|
+
set MovedByMembershipID(value) {
|
|
3436
|
+
this.Set('MovedByMembershipID', value);
|
|
3437
|
+
}
|
|
3438
|
+
/**
|
|
3439
|
+
* * Field Name: SecondedByMembershipID
|
|
3440
|
+
* * Display Name: Seconded By Membership ID
|
|
3441
|
+
* * SQL Data Type: uniqueidentifier
|
|
3442
|
+
* * Related Entity/Foreign Key: Committees: Memberships (vwMemberships.ID)
|
|
3443
|
+
*/
|
|
3444
|
+
get SecondedByMembershipID() {
|
|
3445
|
+
return this.Get('SecondedByMembershipID');
|
|
3446
|
+
}
|
|
3447
|
+
set SecondedByMembershipID(value) {
|
|
3448
|
+
this.Set('SecondedByMembershipID', value);
|
|
3449
|
+
}
|
|
3450
|
+
/**
|
|
3451
|
+
* * Field Name: Result
|
|
3452
|
+
* * Display Name: Result
|
|
3453
|
+
* * SQL Data Type: nvarchar(50)
|
|
3454
|
+
* * Default Value: Pending
|
|
3455
|
+
* * Value List Type: List
|
|
3456
|
+
* * Possible Values
|
|
3457
|
+
* * Failed
|
|
3458
|
+
* * Passed
|
|
3459
|
+
* * Pending
|
|
3460
|
+
* * Tabled
|
|
3461
|
+
* * Withdrawn
|
|
3462
|
+
*/
|
|
3463
|
+
get Result() {
|
|
3464
|
+
return this.Get('Result');
|
|
3465
|
+
}
|
|
3466
|
+
set Result(value) {
|
|
3467
|
+
this.Set('Result', value);
|
|
3468
|
+
}
|
|
3469
|
+
/**
|
|
3470
|
+
* * Field Name: ResultSummary
|
|
3471
|
+
* * Display Name: Result Summary
|
|
3472
|
+
* * SQL Data Type: nvarchar(255)
|
|
3473
|
+
*/
|
|
3474
|
+
get ResultSummary() {
|
|
3475
|
+
return this.Get('ResultSummary');
|
|
3476
|
+
}
|
|
3477
|
+
set ResultSummary(value) {
|
|
3478
|
+
this.Set('ResultSummary', value);
|
|
3479
|
+
}
|
|
3480
|
+
/**
|
|
3481
|
+
* * Field Name: YesCount
|
|
3482
|
+
* * Display Name: Yes Count
|
|
3483
|
+
* * SQL Data Type: int
|
|
3484
|
+
*/
|
|
3485
|
+
get YesCount() {
|
|
3486
|
+
return this.Get('YesCount');
|
|
3487
|
+
}
|
|
3488
|
+
set YesCount(value) {
|
|
3489
|
+
this.Set('YesCount', value);
|
|
3490
|
+
}
|
|
3491
|
+
/**
|
|
3492
|
+
* * Field Name: NoCount
|
|
3493
|
+
* * Display Name: No Count
|
|
3494
|
+
* * SQL Data Type: int
|
|
3495
|
+
*/
|
|
3496
|
+
get NoCount() {
|
|
3497
|
+
return this.Get('NoCount');
|
|
3498
|
+
}
|
|
3499
|
+
set NoCount(value) {
|
|
3500
|
+
this.Set('NoCount', value);
|
|
3501
|
+
}
|
|
3502
|
+
/**
|
|
3503
|
+
* * Field Name: AbstainCount
|
|
3504
|
+
* * Display Name: Abstain Count
|
|
3505
|
+
* * SQL Data Type: int
|
|
3506
|
+
*/
|
|
3507
|
+
get AbstainCount() {
|
|
3508
|
+
return this.Get('AbstainCount');
|
|
3509
|
+
}
|
|
3510
|
+
set AbstainCount(value) {
|
|
3511
|
+
this.Set('AbstainCount', value);
|
|
3512
|
+
}
|
|
3513
|
+
/**
|
|
3514
|
+
* * Field Name: Notes
|
|
3515
|
+
* * Display Name: Notes
|
|
3516
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
3517
|
+
*/
|
|
3518
|
+
get Notes() {
|
|
3519
|
+
return this.Get('Notes');
|
|
3520
|
+
}
|
|
3521
|
+
set Notes(value) {
|
|
3522
|
+
this.Set('Notes', value);
|
|
3523
|
+
}
|
|
3524
|
+
/**
|
|
3525
|
+
* * Field Name: __mj_CreatedAt
|
|
3526
|
+
* * Display Name: Created At
|
|
3527
|
+
* * SQL Data Type: datetimeoffset
|
|
3528
|
+
* * Default Value: getutcdate()
|
|
3529
|
+
*/
|
|
3530
|
+
get __mj_CreatedAt() {
|
|
3531
|
+
return this.Get('__mj_CreatedAt');
|
|
3532
|
+
}
|
|
3533
|
+
/**
|
|
3534
|
+
* * Field Name: __mj_UpdatedAt
|
|
3535
|
+
* * Display Name: Updated At
|
|
3536
|
+
* * SQL Data Type: datetimeoffset
|
|
3537
|
+
* * Default Value: getutcdate()
|
|
3538
|
+
*/
|
|
3539
|
+
get __mj_UpdatedAt() {
|
|
3540
|
+
return this.Get('__mj_UpdatedAt');
|
|
3541
|
+
}
|
|
3542
|
+
/**
|
|
3543
|
+
* * Field Name: Meeting
|
|
3544
|
+
* * Display Name: Meeting
|
|
3545
|
+
* * SQL Data Type: nvarchar(255)
|
|
3546
|
+
*/
|
|
3547
|
+
get Meeting() {
|
|
3548
|
+
return this.Get('Meeting');
|
|
3549
|
+
}
|
|
3550
|
+
/**
|
|
3551
|
+
* * Field Name: AgendaItem
|
|
3552
|
+
* * Display Name: Agenda Item
|
|
3553
|
+
* * SQL Data Type: nvarchar(255)
|
|
3554
|
+
*/
|
|
3555
|
+
get AgendaItem() {
|
|
3556
|
+
return this.Get('AgendaItem');
|
|
3557
|
+
}
|
|
3558
|
+
};
|
|
3559
|
+
mjBizAppsCommitteesMotionEntity = __decorate([
|
|
3560
|
+
RegisterClass(BaseEntity, 'Committees: Motions')
|
|
3561
|
+
], mjBizAppsCommitteesMotionEntity);
|
|
3562
|
+
export { mjBizAppsCommitteesMotionEntity };
|
|
3563
|
+
/**
|
|
3564
|
+
* Committees: Roles - strongly typed entity sub-class
|
|
3565
|
+
* * Schema: __mj_BizAppsCommittees
|
|
3566
|
+
* * Base Table: Role
|
|
3567
|
+
* * Base View: vwRoles
|
|
3568
|
+
* * @description Roles that members can hold on committees
|
|
3569
|
+
* * Primary Key: ID
|
|
3570
|
+
* @extends {BaseEntity}
|
|
3571
|
+
* @class
|
|
3572
|
+
* @public
|
|
3573
|
+
*/
|
|
3574
|
+
let mjBizAppsCommitteesRoleEntity = class mjBizAppsCommitteesRoleEntity extends BaseEntity {
|
|
3575
|
+
/**
|
|
3576
|
+
* Loads the Committees: Roles record from the database
|
|
3577
|
+
* @param ID: string - primary key value to load the Committees: Roles record.
|
|
3578
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
3579
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
3580
|
+
* @public
|
|
3581
|
+
* @async
|
|
3582
|
+
* @memberof mjBizAppsCommitteesRoleEntity
|
|
3583
|
+
* @method
|
|
3584
|
+
* @override
|
|
3585
|
+
*/
|
|
3586
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
3587
|
+
const compositeKey = new CompositeKey();
|
|
3588
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
3589
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
3590
|
+
}
|
|
3591
|
+
/**
|
|
3592
|
+
* * Field Name: ID
|
|
3593
|
+
* * Display Name: ID
|
|
3594
|
+
* * SQL Data Type: uniqueidentifier
|
|
3595
|
+
* * Default Value: newsequentialid()
|
|
3596
|
+
*/
|
|
3597
|
+
get ID() {
|
|
3598
|
+
return this.Get('ID');
|
|
3599
|
+
}
|
|
3600
|
+
set ID(value) {
|
|
3601
|
+
this.Set('ID', value);
|
|
3602
|
+
}
|
|
3603
|
+
/**
|
|
3604
|
+
* * Field Name: Name
|
|
3605
|
+
* * Display Name: Name
|
|
3606
|
+
* * SQL Data Type: nvarchar(100)
|
|
3607
|
+
*/
|
|
3608
|
+
get Name() {
|
|
3609
|
+
return this.Get('Name');
|
|
3610
|
+
}
|
|
3611
|
+
set Name(value) {
|
|
3612
|
+
this.Set('Name', value);
|
|
3613
|
+
}
|
|
3614
|
+
/**
|
|
3615
|
+
* * Field Name: Description
|
|
3616
|
+
* * Display Name: Description
|
|
3617
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
3618
|
+
*/
|
|
3619
|
+
get Description() {
|
|
3620
|
+
return this.Get('Description');
|
|
3621
|
+
}
|
|
3622
|
+
set Description(value) {
|
|
3623
|
+
this.Set('Description', value);
|
|
3624
|
+
}
|
|
3625
|
+
/**
|
|
3626
|
+
* * Field Name: IsOfficer
|
|
3627
|
+
* * Display Name: Is Officer
|
|
3628
|
+
* * SQL Data Type: bit
|
|
3629
|
+
* * Default Value: 0
|
|
3630
|
+
*/
|
|
3631
|
+
get IsOfficer() {
|
|
3632
|
+
return this.Get('IsOfficer');
|
|
3633
|
+
}
|
|
3634
|
+
set IsOfficer(value) {
|
|
3635
|
+
this.Set('IsOfficer', value);
|
|
3636
|
+
}
|
|
3637
|
+
/**
|
|
3638
|
+
* * Field Name: IsVotingRole
|
|
3639
|
+
* * Display Name: Is Voting Role
|
|
3640
|
+
* * SQL Data Type: bit
|
|
3641
|
+
* * Default Value: 1
|
|
3642
|
+
*/
|
|
3643
|
+
get IsVotingRole() {
|
|
3644
|
+
return this.Get('IsVotingRole');
|
|
3645
|
+
}
|
|
3646
|
+
set IsVotingRole(value) {
|
|
3647
|
+
this.Set('IsVotingRole', value);
|
|
3648
|
+
}
|
|
3649
|
+
/**
|
|
3650
|
+
* * Field Name: DefaultPermissionsJSON
|
|
3651
|
+
* * Display Name: Default Permissions JSON
|
|
3652
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
3653
|
+
*/
|
|
3654
|
+
get DefaultPermissionsJSON() {
|
|
3655
|
+
return this.Get('DefaultPermissionsJSON');
|
|
3656
|
+
}
|
|
3657
|
+
set DefaultPermissionsJSON(value) {
|
|
3658
|
+
this.Set('DefaultPermissionsJSON', value);
|
|
3659
|
+
}
|
|
3660
|
+
/**
|
|
3661
|
+
* * Field Name: Sequence
|
|
3662
|
+
* * Display Name: Sequence
|
|
3663
|
+
* * SQL Data Type: int
|
|
3664
|
+
* * Default Value: 100
|
|
3665
|
+
*/
|
|
3666
|
+
get Sequence() {
|
|
3667
|
+
return this.Get('Sequence');
|
|
3668
|
+
}
|
|
3669
|
+
set Sequence(value) {
|
|
3670
|
+
this.Set('Sequence', value);
|
|
3671
|
+
}
|
|
3672
|
+
/**
|
|
3673
|
+
* * Field Name: __mj_CreatedAt
|
|
3674
|
+
* * Display Name: Created At
|
|
3675
|
+
* * SQL Data Type: datetimeoffset
|
|
3676
|
+
* * Default Value: getutcdate()
|
|
3677
|
+
*/
|
|
3678
|
+
get __mj_CreatedAt() {
|
|
3679
|
+
return this.Get('__mj_CreatedAt');
|
|
3680
|
+
}
|
|
3681
|
+
/**
|
|
3682
|
+
* * Field Name: __mj_UpdatedAt
|
|
3683
|
+
* * Display Name: Updated At
|
|
3684
|
+
* * SQL Data Type: datetimeoffset
|
|
3685
|
+
* * Default Value: getutcdate()
|
|
3686
|
+
*/
|
|
3687
|
+
get __mj_UpdatedAt() {
|
|
3688
|
+
return this.Get('__mj_UpdatedAt');
|
|
3689
|
+
}
|
|
3690
|
+
};
|
|
3691
|
+
mjBizAppsCommitteesRoleEntity = __decorate([
|
|
3692
|
+
RegisterClass(BaseEntity, 'Committees: Roles')
|
|
3693
|
+
], mjBizAppsCommitteesRoleEntity);
|
|
3694
|
+
export { mjBizAppsCommitteesRoleEntity };
|
|
3695
|
+
/**
|
|
3696
|
+
* Committees: Terms - strongly typed entity sub-class
|
|
3697
|
+
* * Schema: __mj_BizAppsCommittees
|
|
3698
|
+
* * Base Table: Term
|
|
3699
|
+
* * Base View: vwTerms
|
|
3700
|
+
* * @description Time periods for committee membership cycles
|
|
3701
|
+
* * Primary Key: ID
|
|
3702
|
+
* @extends {BaseEntity}
|
|
3703
|
+
* @class
|
|
3704
|
+
* @public
|
|
3705
|
+
*/
|
|
3706
|
+
let mjBizAppsCommitteesTermEntity = class mjBizAppsCommitteesTermEntity extends BaseEntity {
|
|
3707
|
+
/**
|
|
3708
|
+
* Loads the Committees: Terms record from the database
|
|
3709
|
+
* @param ID: string - primary key value to load the Committees: Terms record.
|
|
3710
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
3711
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
3712
|
+
* @public
|
|
3713
|
+
* @async
|
|
3714
|
+
* @memberof mjBizAppsCommitteesTermEntity
|
|
3715
|
+
* @method
|
|
3716
|
+
* @override
|
|
3717
|
+
*/
|
|
3718
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
3719
|
+
const compositeKey = new CompositeKey();
|
|
3720
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
3721
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
3722
|
+
}
|
|
3723
|
+
/**
|
|
3724
|
+
* * Field Name: ID
|
|
3725
|
+
* * Display Name: ID
|
|
3726
|
+
* * SQL Data Type: uniqueidentifier
|
|
3727
|
+
* * Default Value: newsequentialid()
|
|
3728
|
+
*/
|
|
3729
|
+
get ID() {
|
|
3730
|
+
return this.Get('ID');
|
|
3731
|
+
}
|
|
3732
|
+
set ID(value) {
|
|
3733
|
+
this.Set('ID', value);
|
|
3734
|
+
}
|
|
3735
|
+
/**
|
|
3736
|
+
* * Field Name: CommitteeID
|
|
3737
|
+
* * Display Name: Committee ID
|
|
3738
|
+
* * SQL Data Type: uniqueidentifier
|
|
3739
|
+
* * Related Entity/Foreign Key: Committees: Committees (vwCommittees.ID)
|
|
3740
|
+
*/
|
|
3741
|
+
get CommitteeID() {
|
|
3742
|
+
return this.Get('CommitteeID');
|
|
3743
|
+
}
|
|
3744
|
+
set CommitteeID(value) {
|
|
3745
|
+
this.Set('CommitteeID', value);
|
|
3746
|
+
}
|
|
3747
|
+
/**
|
|
3748
|
+
* * Field Name: Name
|
|
3749
|
+
* * Display Name: Name
|
|
3750
|
+
* * SQL Data Type: nvarchar(100)
|
|
3751
|
+
*/
|
|
3752
|
+
get Name() {
|
|
3753
|
+
return this.Get('Name');
|
|
3754
|
+
}
|
|
3755
|
+
set Name(value) {
|
|
3756
|
+
this.Set('Name', value);
|
|
3757
|
+
}
|
|
3758
|
+
/**
|
|
3759
|
+
* * Field Name: StartDate
|
|
3760
|
+
* * Display Name: Start Date
|
|
3761
|
+
* * SQL Data Type: date
|
|
3762
|
+
*/
|
|
3763
|
+
get StartDate() {
|
|
3764
|
+
return this.Get('StartDate');
|
|
3765
|
+
}
|
|
3766
|
+
set StartDate(value) {
|
|
3767
|
+
this.Set('StartDate', value);
|
|
3768
|
+
}
|
|
3769
|
+
/**
|
|
3770
|
+
* * Field Name: EndDate
|
|
3771
|
+
* * Display Name: End Date
|
|
3772
|
+
* * SQL Data Type: date
|
|
3773
|
+
*/
|
|
3774
|
+
get EndDate() {
|
|
3775
|
+
return this.Get('EndDate');
|
|
3776
|
+
}
|
|
3777
|
+
set EndDate(value) {
|
|
3778
|
+
this.Set('EndDate', value);
|
|
3779
|
+
}
|
|
3780
|
+
/**
|
|
3781
|
+
* * Field Name: Status
|
|
3782
|
+
* * Display Name: Status
|
|
3783
|
+
* * SQL Data Type: nvarchar(50)
|
|
3784
|
+
* * Default Value: Active
|
|
3785
|
+
* * Value List Type: List
|
|
3786
|
+
* * Possible Values
|
|
3787
|
+
* * Active
|
|
3788
|
+
* * Completed
|
|
3789
|
+
* * Upcoming
|
|
3790
|
+
*/
|
|
3791
|
+
get Status() {
|
|
3792
|
+
return this.Get('Status');
|
|
3793
|
+
}
|
|
3794
|
+
set Status(value) {
|
|
3795
|
+
this.Set('Status', value);
|
|
3796
|
+
}
|
|
3797
|
+
/**
|
|
3798
|
+
* * Field Name: __mj_CreatedAt
|
|
3799
|
+
* * Display Name: Created At
|
|
3800
|
+
* * SQL Data Type: datetimeoffset
|
|
3801
|
+
* * Default Value: getutcdate()
|
|
3802
|
+
*/
|
|
3803
|
+
get __mj_CreatedAt() {
|
|
3804
|
+
return this.Get('__mj_CreatedAt');
|
|
3805
|
+
}
|
|
3806
|
+
/**
|
|
3807
|
+
* * Field Name: __mj_UpdatedAt
|
|
3808
|
+
* * Display Name: Updated At
|
|
3809
|
+
* * SQL Data Type: datetimeoffset
|
|
3810
|
+
* * Default Value: getutcdate()
|
|
3811
|
+
*/
|
|
3812
|
+
get __mj_UpdatedAt() {
|
|
3813
|
+
return this.Get('__mj_UpdatedAt');
|
|
3814
|
+
}
|
|
3815
|
+
/**
|
|
3816
|
+
* * Field Name: Committee
|
|
3817
|
+
* * Display Name: Committee
|
|
3818
|
+
* * SQL Data Type: nvarchar(255)
|
|
3819
|
+
*/
|
|
3820
|
+
get Committee() {
|
|
3821
|
+
return this.Get('Committee');
|
|
3822
|
+
}
|
|
3823
|
+
};
|
|
3824
|
+
mjBizAppsCommitteesTermEntity = __decorate([
|
|
3825
|
+
RegisterClass(BaseEntity, 'Committees: Terms')
|
|
3826
|
+
], mjBizAppsCommitteesTermEntity);
|
|
3827
|
+
export { mjBizAppsCommitteesTermEntity };
|
|
3828
|
+
/**
|
|
3829
|
+
* Committees: Types - strongly typed entity sub-class
|
|
3830
|
+
* * Schema: __mj_BizAppsCommittees
|
|
3831
|
+
* * Base Table: Type
|
|
3832
|
+
* * Base View: vwTypes
|
|
3833
|
+
* * @description Categories of committees such as Board, Standing, Ad Hoc, Workgroup
|
|
3834
|
+
* * Primary Key: ID
|
|
3835
|
+
* @extends {BaseEntity}
|
|
3836
|
+
* @class
|
|
3837
|
+
* @public
|
|
3838
|
+
*/
|
|
3839
|
+
let mjBizAppsCommitteesTypeEntity = class mjBizAppsCommitteesTypeEntity extends BaseEntity {
|
|
3840
|
+
/**
|
|
3841
|
+
* Loads the Committees: Types record from the database
|
|
3842
|
+
* @param ID: string - primary key value to load the Committees: Types record.
|
|
3843
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
3844
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
3845
|
+
* @public
|
|
3846
|
+
* @async
|
|
3847
|
+
* @memberof mjBizAppsCommitteesTypeEntity
|
|
3848
|
+
* @method
|
|
3849
|
+
* @override
|
|
3850
|
+
*/
|
|
3851
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
3852
|
+
const compositeKey = new CompositeKey();
|
|
3853
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
3854
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
3855
|
+
}
|
|
3856
|
+
/**
|
|
3857
|
+
* * Field Name: ID
|
|
3858
|
+
* * Display Name: ID
|
|
3859
|
+
* * SQL Data Type: uniqueidentifier
|
|
3860
|
+
* * Default Value: newsequentialid()
|
|
3861
|
+
*/
|
|
3862
|
+
get ID() {
|
|
3863
|
+
return this.Get('ID');
|
|
3864
|
+
}
|
|
3865
|
+
set ID(value) {
|
|
3866
|
+
this.Set('ID', value);
|
|
3867
|
+
}
|
|
3868
|
+
/**
|
|
3869
|
+
* * Field Name: Name
|
|
3870
|
+
* * Display Name: Name
|
|
3871
|
+
* * SQL Data Type: nvarchar(100)
|
|
3872
|
+
*/
|
|
3873
|
+
get Name() {
|
|
3874
|
+
return this.Get('Name');
|
|
3875
|
+
}
|
|
3876
|
+
set Name(value) {
|
|
3877
|
+
this.Set('Name', value);
|
|
3878
|
+
}
|
|
3879
|
+
/**
|
|
3880
|
+
* * Field Name: Description
|
|
3881
|
+
* * Display Name: Description
|
|
3882
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
3883
|
+
*/
|
|
3884
|
+
get Description() {
|
|
3885
|
+
return this.Get('Description');
|
|
3886
|
+
}
|
|
3887
|
+
set Description(value) {
|
|
3888
|
+
this.Set('Description', value);
|
|
3889
|
+
}
|
|
3890
|
+
/**
|
|
3891
|
+
* * Field Name: IsStandards
|
|
3892
|
+
* * Display Name: Is Standards
|
|
3893
|
+
* * SQL Data Type: bit
|
|
3894
|
+
* * Default Value: 0
|
|
3895
|
+
*/
|
|
3896
|
+
get IsStandards() {
|
|
3897
|
+
return this.Get('IsStandards');
|
|
3898
|
+
}
|
|
3899
|
+
set IsStandards(value) {
|
|
3900
|
+
this.Set('IsStandards', value);
|
|
3901
|
+
}
|
|
3902
|
+
/**
|
|
3903
|
+
* * Field Name: DefaultTermMonths
|
|
3904
|
+
* * Display Name: Default Term Months
|
|
3905
|
+
* * SQL Data Type: int
|
|
3906
|
+
*/
|
|
3907
|
+
get DefaultTermMonths() {
|
|
3908
|
+
return this.Get('DefaultTermMonths');
|
|
3909
|
+
}
|
|
3910
|
+
set DefaultTermMonths(value) {
|
|
3911
|
+
this.Set('DefaultTermMonths', value);
|
|
3912
|
+
}
|
|
3913
|
+
/**
|
|
3914
|
+
* * Field Name: IconClass
|
|
3915
|
+
* * Display Name: Icon Class
|
|
3916
|
+
* * SQL Data Type: nvarchar(100)
|
|
3917
|
+
*/
|
|
3918
|
+
get IconClass() {
|
|
3919
|
+
return this.Get('IconClass');
|
|
3920
|
+
}
|
|
3921
|
+
set IconClass(value) {
|
|
3922
|
+
this.Set('IconClass', value);
|
|
3923
|
+
}
|
|
3924
|
+
/**
|
|
3925
|
+
* * Field Name: __mj_CreatedAt
|
|
3926
|
+
* * Display Name: Created At
|
|
3927
|
+
* * SQL Data Type: datetimeoffset
|
|
3928
|
+
* * Default Value: getutcdate()
|
|
3929
|
+
*/
|
|
3930
|
+
get __mj_CreatedAt() {
|
|
3931
|
+
return this.Get('__mj_CreatedAt');
|
|
3932
|
+
}
|
|
3933
|
+
/**
|
|
3934
|
+
* * Field Name: __mj_UpdatedAt
|
|
3935
|
+
* * Display Name: Updated At
|
|
3936
|
+
* * SQL Data Type: datetimeoffset
|
|
3937
|
+
* * Default Value: getutcdate()
|
|
3938
|
+
*/
|
|
3939
|
+
get __mj_UpdatedAt() {
|
|
3940
|
+
return this.Get('__mj_UpdatedAt');
|
|
3941
|
+
}
|
|
3942
|
+
};
|
|
3943
|
+
mjBizAppsCommitteesTypeEntity = __decorate([
|
|
3944
|
+
RegisterClass(BaseEntity, 'Committees: Types')
|
|
3945
|
+
], mjBizAppsCommitteesTypeEntity);
|
|
3946
|
+
export { mjBizAppsCommitteesTypeEntity };
|
|
3947
|
+
/**
|
|
3948
|
+
* Committees: Video Providers - strongly typed entity sub-class
|
|
3949
|
+
* * Schema: __mj_BizAppsCommittees
|
|
3950
|
+
* * Base Table: VideoProvider
|
|
3951
|
+
* * Base View: vwVideoProviders
|
|
3952
|
+
* * @description Configured video conferencing providers for auto-creating meeting URLs
|
|
3953
|
+
* * Primary Key: ID
|
|
3954
|
+
* @extends {BaseEntity}
|
|
3955
|
+
* @class
|
|
3956
|
+
* @public
|
|
3957
|
+
*/
|
|
3958
|
+
let mjBizAppsCommitteesVideoProviderEntity = class mjBizAppsCommitteesVideoProviderEntity extends BaseEntity {
|
|
3959
|
+
/**
|
|
3960
|
+
* Loads the Committees: Video Providers record from the database
|
|
3961
|
+
* @param ID: string - primary key value to load the Committees: Video Providers record.
|
|
3962
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
3963
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
3964
|
+
* @public
|
|
3965
|
+
* @async
|
|
3966
|
+
* @memberof mjBizAppsCommitteesVideoProviderEntity
|
|
3967
|
+
* @method
|
|
3968
|
+
* @override
|
|
3969
|
+
*/
|
|
3970
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
3971
|
+
const compositeKey = new CompositeKey();
|
|
3972
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
3973
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
3974
|
+
}
|
|
3975
|
+
/**
|
|
3976
|
+
* * Field Name: ID
|
|
3977
|
+
* * Display Name: ID
|
|
3978
|
+
* * SQL Data Type: uniqueidentifier
|
|
3979
|
+
* * Default Value: newsequentialid()
|
|
3980
|
+
*/
|
|
3981
|
+
get ID() {
|
|
3982
|
+
return this.Get('ID');
|
|
3983
|
+
}
|
|
3984
|
+
set ID(value) {
|
|
3985
|
+
this.Set('ID', value);
|
|
3986
|
+
}
|
|
3987
|
+
/**
|
|
3988
|
+
* * Field Name: Name
|
|
3989
|
+
* * Display Name: Name
|
|
3990
|
+
* * SQL Data Type: nvarchar(100)
|
|
3991
|
+
*/
|
|
3992
|
+
get Name() {
|
|
3993
|
+
return this.Get('Name');
|
|
3994
|
+
}
|
|
3995
|
+
set Name(value) {
|
|
3996
|
+
this.Set('Name', value);
|
|
3997
|
+
}
|
|
3998
|
+
/**
|
|
3999
|
+
* * Field Name: ServerDriverKey
|
|
4000
|
+
* * Display Name: Server Driver Key
|
|
4001
|
+
* * SQL Data Type: nvarchar(100)
|
|
4002
|
+
*/
|
|
4003
|
+
get ServerDriverKey() {
|
|
4004
|
+
return this.Get('ServerDriverKey');
|
|
4005
|
+
}
|
|
4006
|
+
set ServerDriverKey(value) {
|
|
4007
|
+
this.Set('ServerDriverKey', value);
|
|
4008
|
+
}
|
|
4009
|
+
/**
|
|
4010
|
+
* * Field Name: IsActive
|
|
4011
|
+
* * Display Name: Is Active
|
|
4012
|
+
* * SQL Data Type: bit
|
|
4013
|
+
* * Default Value: 1
|
|
4014
|
+
*/
|
|
4015
|
+
get IsActive() {
|
|
4016
|
+
return this.Get('IsActive');
|
|
4017
|
+
}
|
|
4018
|
+
set IsActive(value) {
|
|
4019
|
+
this.Set('IsActive', value);
|
|
4020
|
+
}
|
|
4021
|
+
/**
|
|
4022
|
+
* * Field Name: IsDefault
|
|
4023
|
+
* * Display Name: Is Default
|
|
4024
|
+
* * SQL Data Type: bit
|
|
4025
|
+
* * Default Value: 0
|
|
4026
|
+
*/
|
|
4027
|
+
get IsDefault() {
|
|
4028
|
+
return this.Get('IsDefault');
|
|
4029
|
+
}
|
|
4030
|
+
set IsDefault(value) {
|
|
4031
|
+
this.Set('IsDefault', value);
|
|
4032
|
+
}
|
|
4033
|
+
/**
|
|
4034
|
+
* * Field Name: CredentialID
|
|
4035
|
+
* * Display Name: Credential ID
|
|
4036
|
+
* * SQL Data Type: uniqueidentifier
|
|
4037
|
+
* * Related Entity/Foreign Key: MJ: Credentials (vwCredentials.ID)
|
|
4038
|
+
*/
|
|
4039
|
+
get CredentialID() {
|
|
4040
|
+
return this.Get('CredentialID');
|
|
4041
|
+
}
|
|
4042
|
+
set CredentialID(value) {
|
|
4043
|
+
this.Set('CredentialID', value);
|
|
4044
|
+
}
|
|
4045
|
+
/**
|
|
4046
|
+
* * Field Name: __mj_CreatedAt
|
|
4047
|
+
* * Display Name: Created At
|
|
4048
|
+
* * SQL Data Type: datetimeoffset
|
|
4049
|
+
* * Default Value: getutcdate()
|
|
4050
|
+
*/
|
|
4051
|
+
get __mj_CreatedAt() {
|
|
4052
|
+
return this.Get('__mj_CreatedAt');
|
|
4053
|
+
}
|
|
4054
|
+
/**
|
|
4055
|
+
* * Field Name: __mj_UpdatedAt
|
|
4056
|
+
* * Display Name: Updated At
|
|
4057
|
+
* * SQL Data Type: datetimeoffset
|
|
4058
|
+
* * Default Value: getutcdate()
|
|
4059
|
+
*/
|
|
4060
|
+
get __mj_UpdatedAt() {
|
|
4061
|
+
return this.Get('__mj_UpdatedAt');
|
|
4062
|
+
}
|
|
4063
|
+
/**
|
|
4064
|
+
* * Field Name: Credential
|
|
4065
|
+
* * Display Name: Credential
|
|
4066
|
+
* * SQL Data Type: nvarchar(200)
|
|
4067
|
+
*/
|
|
4068
|
+
get Credential() {
|
|
4069
|
+
return this.Get('Credential');
|
|
4070
|
+
}
|
|
4071
|
+
};
|
|
4072
|
+
mjBizAppsCommitteesVideoProviderEntity = __decorate([
|
|
4073
|
+
RegisterClass(BaseEntity, 'Committees: Video Providers')
|
|
4074
|
+
], mjBizAppsCommitteesVideoProviderEntity);
|
|
4075
|
+
export { mjBizAppsCommitteesVideoProviderEntity };
|
|
4076
|
+
/**
|
|
4077
|
+
* Committees: Votes - strongly typed entity sub-class
|
|
4078
|
+
* * Schema: __mj_BizAppsCommittees
|
|
4079
|
+
* * Base Table: Vote
|
|
4080
|
+
* * Base View: vwVotes
|
|
4081
|
+
* * @description Individual vote records for committee motions
|
|
4082
|
+
* * Primary Key: ID
|
|
4083
|
+
* @extends {BaseEntity}
|
|
4084
|
+
* @class
|
|
4085
|
+
* @public
|
|
4086
|
+
*/
|
|
4087
|
+
let mjBizAppsCommitteesVoteEntity = class mjBizAppsCommitteesVoteEntity extends BaseEntity {
|
|
4088
|
+
/**
|
|
4089
|
+
* Loads the Committees: Votes record from the database
|
|
4090
|
+
* @param ID: string - primary key value to load the Committees: Votes record.
|
|
4091
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
4092
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
4093
|
+
* @public
|
|
4094
|
+
* @async
|
|
4095
|
+
* @memberof mjBizAppsCommitteesVoteEntity
|
|
4096
|
+
* @method
|
|
4097
|
+
* @override
|
|
4098
|
+
*/
|
|
4099
|
+
async Load(ID, EntityRelationshipsToLoad) {
|
|
4100
|
+
const compositeKey = new CompositeKey();
|
|
4101
|
+
compositeKey.KeyValuePairs.push({ FieldName: 'ID', Value: ID });
|
|
4102
|
+
return await super.InnerLoad(compositeKey, EntityRelationshipsToLoad);
|
|
4103
|
+
}
|
|
4104
|
+
/**
|
|
4105
|
+
* * Field Name: ID
|
|
4106
|
+
* * Display Name: ID
|
|
4107
|
+
* * SQL Data Type: uniqueidentifier
|
|
4108
|
+
* * Default Value: newsequentialid()
|
|
4109
|
+
*/
|
|
4110
|
+
get ID() {
|
|
4111
|
+
return this.Get('ID');
|
|
4112
|
+
}
|
|
4113
|
+
set ID(value) {
|
|
4114
|
+
this.Set('ID', value);
|
|
4115
|
+
}
|
|
4116
|
+
/**
|
|
4117
|
+
* * Field Name: MotionID
|
|
4118
|
+
* * Display Name: Motion ID
|
|
4119
|
+
* * SQL Data Type: uniqueidentifier
|
|
4120
|
+
* * Related Entity/Foreign Key: Committees: Motions (vwMotions.ID)
|
|
4121
|
+
*/
|
|
4122
|
+
get MotionID() {
|
|
4123
|
+
return this.Get('MotionID');
|
|
4124
|
+
}
|
|
4125
|
+
set MotionID(value) {
|
|
4126
|
+
this.Set('MotionID', value);
|
|
4127
|
+
}
|
|
4128
|
+
/**
|
|
4129
|
+
* * Field Name: MembershipID
|
|
4130
|
+
* * Display Name: Membership ID
|
|
4131
|
+
* * SQL Data Type: uniqueidentifier
|
|
4132
|
+
* * Related Entity/Foreign Key: Committees: Memberships (vwMemberships.ID)
|
|
4133
|
+
*/
|
|
4134
|
+
get MembershipID() {
|
|
4135
|
+
return this.Get('MembershipID');
|
|
4136
|
+
}
|
|
4137
|
+
set MembershipID(value) {
|
|
4138
|
+
this.Set('MembershipID', value);
|
|
4139
|
+
}
|
|
4140
|
+
/**
|
|
4141
|
+
* * Field Name: VoteValue
|
|
4142
|
+
* * Display Name: Vote Value
|
|
4143
|
+
* * SQL Data Type: nvarchar(20)
|
|
4144
|
+
* * Value List Type: List
|
|
4145
|
+
* * Possible Values
|
|
4146
|
+
* * Absent
|
|
4147
|
+
* * Abstain
|
|
4148
|
+
* * No
|
|
4149
|
+
* * Yes
|
|
4150
|
+
*/
|
|
4151
|
+
get VoteValue() {
|
|
4152
|
+
return this.Get('VoteValue');
|
|
4153
|
+
}
|
|
4154
|
+
set VoteValue(value) {
|
|
4155
|
+
this.Set('VoteValue', value);
|
|
4156
|
+
}
|
|
4157
|
+
/**
|
|
4158
|
+
* * Field Name: Notes
|
|
4159
|
+
* * Display Name: Notes
|
|
4160
|
+
* * SQL Data Type: nvarchar(500)
|
|
4161
|
+
*/
|
|
4162
|
+
get Notes() {
|
|
4163
|
+
return this.Get('Notes');
|
|
4164
|
+
}
|
|
4165
|
+
set Notes(value) {
|
|
4166
|
+
this.Set('Notes', value);
|
|
4167
|
+
}
|
|
4168
|
+
/**
|
|
4169
|
+
* * Field Name: __mj_CreatedAt
|
|
4170
|
+
* * Display Name: Created At
|
|
4171
|
+
* * SQL Data Type: datetimeoffset
|
|
4172
|
+
* * Default Value: getutcdate()
|
|
4173
|
+
*/
|
|
4174
|
+
get __mj_CreatedAt() {
|
|
4175
|
+
return this.Get('__mj_CreatedAt');
|
|
4176
|
+
}
|
|
4177
|
+
/**
|
|
4178
|
+
* * Field Name: __mj_UpdatedAt
|
|
4179
|
+
* * Display Name: Updated At
|
|
4180
|
+
* * SQL Data Type: datetimeoffset
|
|
4181
|
+
* * Default Value: getutcdate()
|
|
4182
|
+
*/
|
|
4183
|
+
get __mj_UpdatedAt() {
|
|
4184
|
+
return this.Get('__mj_UpdatedAt');
|
|
4185
|
+
}
|
|
4186
|
+
/**
|
|
4187
|
+
* * Field Name: Motion
|
|
4188
|
+
* * Display Name: Motion
|
|
4189
|
+
* * SQL Data Type: nvarchar(255)
|
|
4190
|
+
*/
|
|
4191
|
+
get Motion() {
|
|
4192
|
+
return this.Get('Motion');
|
|
4193
|
+
}
|
|
4194
|
+
};
|
|
4195
|
+
mjBizAppsCommitteesVoteEntity = __decorate([
|
|
4196
|
+
RegisterClass(BaseEntity, 'Committees: Votes')
|
|
4197
|
+
], mjBizAppsCommitteesVoteEntity);
|
|
4198
|
+
export { mjBizAppsCommitteesVoteEntity };
|
|
4199
|
+
//# sourceMappingURL=entity_subclasses.js.map
|