@memberjunction/core-entities 2.29.2 → 2.31.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.
@@ -8,7 +8,7 @@ export declare const ActionAuthorizationSchema: z.ZodObject<{
8
8
  ID: z.ZodString;
9
9
  ActionID: z.ZodString;
10
10
  AuthorizationID: z.ZodString;
11
- Comments: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ Comments: z.ZodNullable<z.ZodString>;
12
12
  __mj_CreatedAt: z.ZodDate;
13
13
  __mj_UpdatedAt: z.ZodDate;
14
14
  Action: z.ZodString;
@@ -39,12 +39,12 @@ export type ActionAuthorizationEntityType = z.infer<typeof ActionAuthorizationSc
39
39
  export declare const ActionCategorySchema: z.ZodObject<{
40
40
  ID: z.ZodString;
41
41
  Name: z.ZodString;
42
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
- ParentID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ Description: z.ZodNullable<z.ZodString>;
43
+ ParentID: z.ZodNullable<z.ZodString>;
44
44
  Status: z.ZodUnion<[z.ZodLiteral<"Disabled">, z.ZodLiteral<"Active">, z.ZodLiteral<"Pending">]>;
45
45
  __mj_CreatedAt: z.ZodDate;
46
46
  __mj_UpdatedAt: z.ZodDate;
47
- Parent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ Parent: z.ZodNullable<z.ZodString>;
48
48
  }, "strip", z.ZodTypeAny, {
49
49
  ID?: string;
50
50
  __mj_CreatedAt?: Date;
@@ -71,7 +71,7 @@ export type ActionCategoryEntityType = z.infer<typeof ActionCategorySchema>;
71
71
  export declare const ActionContextTypeSchema: z.ZodObject<{
72
72
  ID: z.ZodString;
73
73
  Name: z.ZodString;
74
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
74
+ Description: z.ZodNullable<z.ZodString>;
75
75
  __mj_CreatedAt: z.ZodDate;
76
76
  __mj_UpdatedAt: z.ZodDate;
77
77
  }, "strip", z.ZodTypeAny, {
@@ -94,12 +94,12 @@ export type ActionContextTypeEntityType = z.infer<typeof ActionContextTypeSchema
94
94
  export declare const ActionContextSchema: z.ZodObject<{
95
95
  ID: z.ZodString;
96
96
  ActionID: z.ZodString;
97
- ContextTypeID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
97
+ ContextTypeID: z.ZodNullable<z.ZodString>;
98
98
  Status: z.ZodUnion<[z.ZodLiteral<"Disabled">, z.ZodLiteral<"Active">, z.ZodLiteral<"Pending">]>;
99
99
  __mj_CreatedAt: z.ZodDate;
100
100
  __mj_UpdatedAt: z.ZodDate;
101
101
  Action: z.ZodString;
102
- ContextType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102
+ ContextType: z.ZodNullable<z.ZodString>;
103
103
  }, "strip", z.ZodTypeAny, {
104
104
  ID?: string;
105
105
  ActionID?: string;
@@ -127,11 +127,11 @@ export declare const ActionExecutionLogSchema: z.ZodObject<{
127
127
  ID: z.ZodString;
128
128
  ActionID: z.ZodString;
129
129
  StartedAt: z.ZodDate;
130
- EndedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
131
- Params: z.ZodOptional<z.ZodNullable<z.ZodString>>;
132
- ResultCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
130
+ EndedAt: z.ZodNullable<z.ZodDate>;
131
+ Params: z.ZodNullable<z.ZodString>;
132
+ ResultCode: z.ZodNullable<z.ZodString>;
133
133
  UserID: z.ZodString;
134
- RetentionPeriod: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
134
+ RetentionPeriod: z.ZodNullable<z.ZodNumber>;
135
135
  __mj_CreatedAt: z.ZodDate;
136
136
  __mj_UpdatedAt: z.ZodDate;
137
137
  Action: z.ZodString;
@@ -170,9 +170,9 @@ export type ActionExecutionLogEntityType = z.infer<typeof ActionExecutionLogSche
170
170
  export declare const ActionFilterSchema: z.ZodObject<{
171
171
  ID: z.ZodString;
172
172
  UserDescription: z.ZodString;
173
- UserComments: z.ZodOptional<z.ZodNullable<z.ZodString>>;
173
+ UserComments: z.ZodNullable<z.ZodString>;
174
174
  Code: z.ZodString;
175
- CodeExplanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
175
+ CodeExplanation: z.ZodNullable<z.ZodString>;
176
176
  __mj_CreatedAt: z.ZodDate;
177
177
  __mj_UpdatedAt: z.ZodDate;
178
178
  }, "strip", z.ZodTypeAny, {
@@ -200,7 +200,7 @@ export declare const ActionLibrarySchema: z.ZodObject<{
200
200
  ID: z.ZodString;
201
201
  ActionID: z.ZodString;
202
202
  LibraryID: z.ZodString;
203
- ItemsUsed: z.ZodOptional<z.ZodNullable<z.ZodString>>;
203
+ ItemsUsed: z.ZodNullable<z.ZodString>;
204
204
  __mj_CreatedAt: z.ZodDate;
205
205
  __mj_UpdatedAt: z.ZodDate;
206
206
  Action: z.ZodString;
@@ -232,11 +232,11 @@ export declare const ActionParamSchema: z.ZodObject<{
232
232
  ID: z.ZodString;
233
233
  ActionID: z.ZodString;
234
234
  Name: z.ZodString;
235
- DefaultValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
235
+ DefaultValue: z.ZodNullable<z.ZodString>;
236
236
  Type: z.ZodUnion<[z.ZodLiteral<"Input">, z.ZodLiteral<"Output">, z.ZodLiteral<"Both">]>;
237
237
  ValueType: z.ZodUnion<[z.ZodLiteral<"Scalar">, z.ZodLiteral<"Simple Object">, z.ZodLiteral<"BaseEntity Sub-Class">, z.ZodLiteral<"Other">]>;
238
238
  IsArray: z.ZodBoolean;
239
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
239
+ Description: z.ZodNullable<z.ZodString>;
240
240
  IsRequired: z.ZodBoolean;
241
241
  __mj_CreatedAt: z.ZodDate;
242
242
  __mj_UpdatedAt: z.ZodDate;
@@ -277,7 +277,7 @@ export declare const ActionResultCodeSchema: z.ZodObject<{
277
277
  ActionID: z.ZodString;
278
278
  ResultCode: z.ZodString;
279
279
  IsSuccess: z.ZodBoolean;
280
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
280
+ Description: z.ZodNullable<z.ZodString>;
281
281
  __mj_CreatedAt: z.ZodDate;
282
282
  __mj_UpdatedAt: z.ZodDate;
283
283
  Action: z.ZodString;
@@ -306,26 +306,26 @@ export type ActionResultCodeEntityType = z.infer<typeof ActionResultCodeSchema>;
306
306
  */
307
307
  export declare const ActionSchema: z.ZodObject<{
308
308
  ID: z.ZodString;
309
- CategoryID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
309
+ CategoryID: z.ZodNullable<z.ZodString>;
310
310
  Name: z.ZodString;
311
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
311
+ Description: z.ZodNullable<z.ZodString>;
312
312
  Type: z.ZodUnion<[z.ZodLiteral<"Generated">, z.ZodLiteral<"Custom">]>;
313
- UserPrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
314
- UserComments: z.ZodOptional<z.ZodNullable<z.ZodString>>;
315
- Code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
316
- CodeComments: z.ZodOptional<z.ZodNullable<z.ZodString>>;
313
+ UserPrompt: z.ZodNullable<z.ZodString>;
314
+ UserComments: z.ZodNullable<z.ZodString>;
315
+ Code: z.ZodNullable<z.ZodString>;
316
+ CodeComments: z.ZodNullable<z.ZodString>;
317
317
  CodeApprovalStatus: z.ZodUnion<[z.ZodLiteral<"Rejected">, z.ZodLiteral<"Approved">, z.ZodLiteral<"Pending">]>;
318
- CodeApprovalComments: z.ZodOptional<z.ZodNullable<z.ZodString>>;
319
- CodeApprovedByUserID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
320
- CodeApprovedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
318
+ CodeApprovalComments: z.ZodNullable<z.ZodString>;
319
+ CodeApprovedByUserID: z.ZodNullable<z.ZodString>;
320
+ CodeApprovedAt: z.ZodNullable<z.ZodDate>;
321
321
  CodeLocked: z.ZodBoolean;
322
322
  ForceCodeGeneration: z.ZodBoolean;
323
- RetentionPeriod: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
323
+ RetentionPeriod: z.ZodNullable<z.ZodNumber>;
324
324
  Status: z.ZodUnion<[z.ZodLiteral<"Disabled">, z.ZodLiteral<"Active">, z.ZodLiteral<"Pending">]>;
325
325
  __mj_CreatedAt: z.ZodDate;
326
326
  __mj_UpdatedAt: z.ZodDate;
327
- Category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
328
- CodeApprovedByUser: z.ZodOptional<z.ZodNullable<z.ZodString>>;
327
+ Category: z.ZodNullable<z.ZodString>;
328
+ CodeApprovedByUser: z.ZodNullable<z.ZodString>;
329
329
  }, "strip", z.ZodTypeAny, {
330
330
  Category?: string;
331
331
  ID?: string;
@@ -378,13 +378,13 @@ export type ActionEntityType = z.infer<typeof ActionSchema>;
378
378
  export declare const AIActionSchema: z.ZodObject<{
379
379
  ID: z.ZodString;
380
380
  Name: z.ZodString;
381
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
382
- DefaultPrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
383
- DefaultModelID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
381
+ Description: z.ZodNullable<z.ZodString>;
382
+ DefaultPrompt: z.ZodNullable<z.ZodString>;
383
+ DefaultModelID: z.ZodNullable<z.ZodString>;
384
384
  IsActive: z.ZodBoolean;
385
385
  __mj_CreatedAt: z.ZodDate;
386
386
  __mj_UpdatedAt: z.ZodDate;
387
- DefaultModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
387
+ DefaultModel: z.ZodNullable<z.ZodString>;
388
388
  }, "strip", z.ZodTypeAny, {
389
389
  ID?: string;
390
390
  __mj_CreatedAt?: Date;
@@ -412,13 +412,13 @@ export type AIActionEntityType = z.infer<typeof AIActionSchema>;
412
412
  */
413
413
  export declare const AIAgentActionSchema: z.ZodObject<{
414
414
  ID: z.ZodString;
415
- AgentID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
416
- ActionID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
415
+ AgentID: z.ZodNullable<z.ZodString>;
416
+ ActionID: z.ZodNullable<z.ZodString>;
417
417
  Status: z.ZodUnion<[z.ZodLiteral<"Pending">, z.ZodLiteral<"Active">, z.ZodLiteral<"Revoked">]>;
418
418
  __mj_CreatedAt: z.ZodDate;
419
419
  __mj_UpdatedAt: z.ZodDate;
420
- Agent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
421
- Action: z.ZodOptional<z.ZodNullable<z.ZodString>>;
420
+ Agent: z.ZodNullable<z.ZodString>;
421
+ Action: z.ZodNullable<z.ZodString>;
422
422
  }, "strip", z.ZodTypeAny, {
423
423
  ID?: string;
424
424
  ActionID?: string;
@@ -446,12 +446,12 @@ export declare const AIAgentLearningCycleSchema: z.ZodObject<{
446
446
  ID: z.ZodString;
447
447
  AgentID: z.ZodString;
448
448
  StartedAt: z.ZodDate;
449
- EndedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
449
+ EndedAt: z.ZodNullable<z.ZodDate>;
450
450
  Status: z.ZodUnion<[z.ZodLiteral<"In-Progress">, z.ZodLiteral<"Complete">, z.ZodLiteral<"Failed">]>;
451
- AgentSummary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
451
+ AgentSummary: z.ZodNullable<z.ZodString>;
452
452
  __mj_CreatedAt: z.ZodDate;
453
453
  __mj_UpdatedAt: z.ZodDate;
454
- Agent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
454
+ Agent: z.ZodNullable<z.ZodString>;
455
455
  }, "strip", z.ZodTypeAny, {
456
456
  ID?: string;
457
457
  __mj_CreatedAt?: Date;
@@ -479,14 +479,14 @@ export type AIAgentLearningCycleEntityType = z.infer<typeof AIAgentLearningCycle
479
479
  */
480
480
  export declare const AIAgentModelSchema: z.ZodObject<{
481
481
  ID: z.ZodString;
482
- AgentID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
483
- ModelID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
484
- Active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
485
- Priority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
482
+ AgentID: z.ZodNullable<z.ZodString>;
483
+ ModelID: z.ZodNullable<z.ZodString>;
484
+ Active: z.ZodNullable<z.ZodBoolean>;
485
+ Priority: z.ZodNullable<z.ZodNumber>;
486
486
  __mj_CreatedAt: z.ZodDate;
487
487
  __mj_UpdatedAt: z.ZodDate;
488
- Agent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
489
- Model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
488
+ Agent: z.ZodNullable<z.ZodString>;
489
+ Model: z.ZodNullable<z.ZodString>;
490
490
  }, "strip", z.ZodTypeAny, {
491
491
  Active?: boolean;
492
492
  ID?: string;
@@ -514,8 +514,8 @@ export type AIAgentModelEntityType = z.infer<typeof AIAgentModelSchema>;
514
514
  */
515
515
  export declare const AIAgentNoteTypeSchema: z.ZodObject<{
516
516
  ID: z.ZodString;
517
- Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
518
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
517
+ Name: z.ZodNullable<z.ZodString>;
518
+ Description: z.ZodNullable<z.ZodString>;
519
519
  __mj_CreatedAt: z.ZodDate;
520
520
  __mj_UpdatedAt: z.ZodDate;
521
521
  }, "strip", z.ZodTypeAny, {
@@ -537,16 +537,16 @@ export type AIAgentNoteTypeEntityType = z.infer<typeof AIAgentNoteTypeSchema>;
537
537
  */
538
538
  export declare const AIAgentNoteSchema: z.ZodObject<{
539
539
  ID: z.ZodString;
540
- AgentID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
541
- AgentNoteTypeID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
542
- Note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
540
+ AgentID: z.ZodNullable<z.ZodString>;
541
+ AgentNoteTypeID: z.ZodNullable<z.ZodString>;
542
+ Note: z.ZodNullable<z.ZodString>;
543
543
  __mj_CreatedAt: z.ZodDate;
544
544
  __mj_UpdatedAt: z.ZodDate;
545
545
  Type: z.ZodUnion<[z.ZodLiteral<"User">, z.ZodLiteral<"Global">]>;
546
- UserID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
547
- Agent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
548
- AgentNoteType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
549
- User: z.ZodOptional<z.ZodNullable<z.ZodString>>;
546
+ UserID: z.ZodNullable<z.ZodString>;
547
+ Agent: z.ZodNullable<z.ZodString>;
548
+ AgentNoteType: z.ZodNullable<z.ZodString>;
549
+ User: z.ZodNullable<z.ZodString>;
550
550
  }, "strip", z.ZodTypeAny, {
551
551
  ID?: string;
552
552
  __mj_CreatedAt?: Date;
@@ -580,18 +580,18 @@ export declare const AIAgentRequestSchema: z.ZodObject<{
580
580
  ID: z.ZodString;
581
581
  AgentID: z.ZodString;
582
582
  RequestedAt: z.ZodDate;
583
- RequestForUserID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
583
+ RequestForUserID: z.ZodNullable<z.ZodString>;
584
584
  Status: z.ZodUnion<[z.ZodLiteral<"Requested">, z.ZodLiteral<"Approved">, z.ZodLiteral<"Rejected">, z.ZodLiteral<"Canceled">]>;
585
585
  Request: z.ZodString;
586
- Response: z.ZodOptional<z.ZodNullable<z.ZodString>>;
587
- ResponseByUserID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
588
- RespondedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
589
- Comments: z.ZodOptional<z.ZodNullable<z.ZodString>>;
586
+ Response: z.ZodNullable<z.ZodString>;
587
+ ResponseByUserID: z.ZodNullable<z.ZodString>;
588
+ RespondedAt: z.ZodNullable<z.ZodDate>;
589
+ Comments: z.ZodNullable<z.ZodString>;
590
590
  __mj_CreatedAt: z.ZodDate;
591
591
  __mj_UpdatedAt: z.ZodDate;
592
- Agent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
593
- RequestForUser: z.ZodOptional<z.ZodNullable<z.ZodString>>;
594
- ResponseByUser: z.ZodOptional<z.ZodNullable<z.ZodString>>;
592
+ Agent: z.ZodNullable<z.ZodString>;
593
+ RequestForUser: z.ZodNullable<z.ZodString>;
594
+ ResponseByUser: z.ZodNullable<z.ZodString>;
595
595
  }, "strip", z.ZodTypeAny, {
596
596
  ID?: string;
597
597
  Comments?: string;
@@ -631,9 +631,9 @@ export type AIAgentRequestEntityType = z.infer<typeof AIAgentRequestSchema>;
631
631
  */
632
632
  export declare const AIAgentSchema: z.ZodObject<{
633
633
  ID: z.ZodString;
634
- Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
635
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
636
- LogoURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
634
+ Name: z.ZodNullable<z.ZodString>;
635
+ Description: z.ZodNullable<z.ZodString>;
636
+ LogoURL: z.ZodNullable<z.ZodString>;
637
637
  __mj_CreatedAt: z.ZodDate;
638
638
  __mj_UpdatedAt: z.ZodDate;
639
639
  }, "strip", z.ZodTypeAny, {
@@ -690,7 +690,7 @@ export type AIModelActionEntityType = z.infer<typeof AIModelActionSchema>;
690
690
  export declare const AIModelTypeSchema: z.ZodObject<{
691
691
  ID: z.ZodString;
692
692
  Name: z.ZodString;
693
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
693
+ Description: z.ZodNullable<z.ZodString>;
694
694
  __mj_CreatedAt: z.ZodDate;
695
695
  __mj_UpdatedAt: z.ZodDate;
696
696
  }, "strip", z.ZodTypeAny, {
@@ -713,20 +713,20 @@ export type AIModelTypeEntityType = z.infer<typeof AIModelTypeSchema>;
713
713
  export declare const AIModelSchema: z.ZodObject<{
714
714
  ID: z.ZodString;
715
715
  Name: z.ZodString;
716
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
717
- Vendor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
716
+ Description: z.ZodNullable<z.ZodString>;
717
+ Vendor: z.ZodNullable<z.ZodString>;
718
718
  AIModelTypeID: z.ZodString;
719
- PowerRank: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
719
+ PowerRank: z.ZodNullable<z.ZodNumber>;
720
720
  IsActive: z.ZodBoolean;
721
- DriverClass: z.ZodOptional<z.ZodNullable<z.ZodString>>;
722
- DriverImportPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
723
- APIName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
721
+ DriverClass: z.ZodNullable<z.ZodString>;
722
+ DriverImportPath: z.ZodNullable<z.ZodString>;
723
+ APIName: z.ZodNullable<z.ZodString>;
724
724
  __mj_CreatedAt: z.ZodDate;
725
725
  __mj_UpdatedAt: z.ZodDate;
726
- SpeedRank: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
727
- CostRank: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
728
- ModelSelectionInsights: z.ZodOptional<z.ZodNullable<z.ZodString>>;
729
- InputTokenLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
726
+ SpeedRank: z.ZodNullable<z.ZodNumber>;
727
+ CostRank: z.ZodNullable<z.ZodNumber>;
728
+ ModelSelectionInsights: z.ZodNullable<z.ZodString>;
729
+ InputTokenLimit: z.ZodNullable<z.ZodNumber>;
730
730
  SupportedResponseFormats: z.ZodString;
731
731
  AIModelType: z.ZodString;
732
732
  }, "strip", z.ZodTypeAny, {
@@ -775,11 +775,11 @@ export type AIModelEntityType = z.infer<typeof AIModelSchema>;
775
775
  export declare const AIPromptCategorySchema: z.ZodObject<{
776
776
  ID: z.ZodString;
777
777
  Name: z.ZodString;
778
- ParentID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
779
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
778
+ ParentID: z.ZodNullable<z.ZodString>;
779
+ Description: z.ZodNullable<z.ZodString>;
780
780
  __mj_CreatedAt: z.ZodDate;
781
781
  __mj_UpdatedAt: z.ZodDate;
782
- Parent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
782
+ Parent: z.ZodNullable<z.ZodString>;
783
783
  }, "strip", z.ZodTypeAny, {
784
784
  ID?: string;
785
785
  __mj_CreatedAt?: Date;
@@ -804,7 +804,7 @@ export type AIPromptCategoryEntityType = z.infer<typeof AIPromptCategorySchema>;
804
804
  export declare const AIPromptTypeSchema: z.ZodObject<{
805
805
  ID: z.ZodString;
806
806
  Name: z.ZodString;
807
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
807
+ Description: z.ZodNullable<z.ZodString>;
808
808
  __mj_CreatedAt: z.ZodDate;
809
809
  __mj_UpdatedAt: z.ZodDate;
810
810
  }, "strip", z.ZodTypeAny, {
@@ -827,9 +827,9 @@ export type AIPromptTypeEntityType = z.infer<typeof AIPromptTypeSchema>;
827
827
  export declare const AIPromptSchema: z.ZodObject<{
828
828
  ID: z.ZodString;
829
829
  Name: z.ZodString;
830
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
830
+ Description: z.ZodNullable<z.ZodString>;
831
831
  TemplateID: z.ZodString;
832
- CategoryID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
832
+ CategoryID: z.ZodNullable<z.ZodString>;
833
833
  TypeID: z.ZodString;
834
834
  Status: z.ZodUnion<[z.ZodLiteral<"Pending">, z.ZodLiteral<"Active">, z.ZodLiteral<"Disabled">]>;
835
835
  CacheResults: z.ZodBoolean;
@@ -837,9 +837,9 @@ export declare const AIPromptSchema: z.ZodObject<{
837
837
  __mj_CreatedAt: z.ZodDate;
838
838
  __mj_UpdatedAt: z.ZodDate;
839
839
  ResponseFormat: z.ZodUnion<[z.ZodLiteral<"Any">, z.ZodLiteral<"Text">, z.ZodLiteral<"Markdown">, z.ZodLiteral<"JSON">, z.ZodLiteral<"ModelSpecific">]>;
840
- ModelSpecificResponseFormat: z.ZodOptional<z.ZodNullable<z.ZodString>>;
840
+ ModelSpecificResponseFormat: z.ZodNullable<z.ZodString>;
841
841
  Template: z.ZodString;
842
- Category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
842
+ Category: z.ZodNullable<z.ZodString>;
843
843
  Type: z.ZodString;
844
844
  }, "strip", z.ZodTypeAny, {
845
845
  Category?: string;
@@ -886,9 +886,9 @@ export declare const AIResultCacheSchema: z.ZodObject<{
886
886
  AIModelID: z.ZodString;
887
887
  RunAt: z.ZodDate;
888
888
  PromptText: z.ZodString;
889
- ResultText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
889
+ ResultText: z.ZodNullable<z.ZodString>;
890
890
  Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Expired">]>;
891
- ExpiredOn: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
891
+ ExpiredOn: z.ZodNullable<z.ZodDate>;
892
892
  __mj_CreatedAt: z.ZodDate;
893
893
  __mj_UpdatedAt: z.ZodDate;
894
894
  AIPrompt: z.ZodString;
@@ -935,9 +935,9 @@ export declare const ApplicationEntitySchema: z.ZodObject<{
935
935
  Application: z.ZodString;
936
936
  Entity: z.ZodString;
937
937
  EntityBaseTable: z.ZodString;
938
- EntityCodeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
939
- EntityClassName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
940
- EntityBaseTableCodeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
938
+ EntityCodeName: z.ZodNullable<z.ZodString>;
939
+ EntityClassName: z.ZodNullable<z.ZodString>;
940
+ EntityBaseTableCodeName: z.ZodNullable<z.ZodString>;
941
941
  }, "strip", z.ZodTypeAny, {
942
942
  ID?: string;
943
943
  __mj_CreatedAt?: Date;
@@ -976,7 +976,7 @@ export declare const ApplicationSettingSchema: z.ZodObject<{
976
976
  ApplicationID: z.ZodString;
977
977
  Name: z.ZodString;
978
978
  Value: z.ZodString;
979
- Comments: z.ZodOptional<z.ZodNullable<z.ZodString>>;
979
+ Comments: z.ZodNullable<z.ZodString>;
980
980
  __mj_CreatedAt: z.ZodDate;
981
981
  __mj_UpdatedAt: z.ZodDate;
982
982
  Application: z.ZodString;
@@ -1006,8 +1006,8 @@ export type ApplicationSettingEntityType = z.infer<typeof ApplicationSettingSche
1006
1006
  export declare const ApplicationSchema: z.ZodObject<{
1007
1007
  ID: z.ZodString;
1008
1008
  Name: z.ZodString;
1009
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1010
- Icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1009
+ Description: z.ZodNullable<z.ZodString>;
1010
+ Icon: z.ZodNullable<z.ZodString>;
1011
1011
  DefaultForNewUser: z.ZodBoolean;
1012
1012
  __mj_CreatedAt: z.ZodDate;
1013
1013
  __mj_UpdatedAt: z.ZodDate;
@@ -1035,13 +1035,13 @@ export type ApplicationEntityType = z.infer<typeof ApplicationSchema>;
1035
1035
  export declare const AuditLogTypeSchema: z.ZodObject<{
1036
1036
  ID: z.ZodString;
1037
1037
  Name: z.ZodString;
1038
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1039
- ParentID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1040
- AuthorizationID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1038
+ Description: z.ZodNullable<z.ZodString>;
1039
+ ParentID: z.ZodNullable<z.ZodString>;
1040
+ AuthorizationID: z.ZodNullable<z.ZodString>;
1041
1041
  __mj_CreatedAt: z.ZodDate;
1042
1042
  __mj_UpdatedAt: z.ZodDate;
1043
- Parent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1044
- Authorization: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1043
+ Parent: z.ZodNullable<z.ZodString>;
1044
+ Authorization: z.ZodNullable<z.ZodString>;
1045
1045
  }, "strip", z.ZodTypeAny, {
1046
1046
  ID?: string;
1047
1047
  AuthorizationID?: string;
@@ -1071,18 +1071,18 @@ export declare const AuditLogSchema: z.ZodObject<{
1071
1071
  ID: z.ZodString;
1072
1072
  UserID: z.ZodString;
1073
1073
  AuditLogTypeID: z.ZodString;
1074
- AuthorizationID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1074
+ AuthorizationID: z.ZodNullable<z.ZodString>;
1075
1075
  Status: z.ZodUnion<[z.ZodLiteral<"Success">, z.ZodLiteral<"Failed">]>;
1076
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1077
- Details: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1078
- EntityID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1079
- RecordID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1076
+ Description: z.ZodNullable<z.ZodString>;
1077
+ Details: z.ZodNullable<z.ZodString>;
1078
+ EntityID: z.ZodNullable<z.ZodString>;
1079
+ RecordID: z.ZodNullable<z.ZodString>;
1080
1080
  __mj_CreatedAt: z.ZodDate;
1081
1081
  __mj_UpdatedAt: z.ZodDate;
1082
1082
  User: z.ZodString;
1083
1083
  AuditLogType: z.ZodString;
1084
- Authorization: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1085
- Entity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1084
+ Authorization: z.ZodNullable<z.ZodString>;
1085
+ Entity: z.ZodNullable<z.ZodString>;
1086
1086
  }, "strip", z.ZodTypeAny, {
1087
1087
  Details?: string;
1088
1088
  ID?: string;
@@ -1154,14 +1154,14 @@ export type AuthorizationRoleEntityType = z.infer<typeof AuthorizationRoleSchema
1154
1154
  */
1155
1155
  export declare const AuthorizationSchema: z.ZodObject<{
1156
1156
  ID: z.ZodString;
1157
- ParentID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1157
+ ParentID: z.ZodNullable<z.ZodString>;
1158
1158
  Name: z.ZodString;
1159
1159
  IsActive: z.ZodBoolean;
1160
1160
  UseAuditLog: z.ZodBoolean;
1161
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1161
+ Description: z.ZodNullable<z.ZodString>;
1162
1162
  __mj_CreatedAt: z.ZodDate;
1163
1163
  __mj_UpdatedAt: z.ZodDate;
1164
- Parent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1164
+ Parent: z.ZodNullable<z.ZodString>;
1165
1165
  }, "strip", z.ZodTypeAny, {
1166
1166
  ID?: string;
1167
1167
  __mj_CreatedAt?: Date;
@@ -1193,7 +1193,7 @@ export declare const CommunicationBaseMessageTypeSchema: z.ZodObject<{
1193
1193
  SupportsAttachments: z.ZodBoolean;
1194
1194
  SupportsSubjectLine: z.ZodBoolean;
1195
1195
  SupportsHtml: z.ZodBoolean;
1196
- MaxBytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1196
+ MaxBytes: z.ZodNullable<z.ZodNumber>;
1197
1197
  __mj_CreatedAt: z.ZodDate;
1198
1198
  __mj_UpdatedAt: z.ZodDate;
1199
1199
  }, "strip", z.ZodTypeAny, {
@@ -1223,12 +1223,12 @@ export declare const CommunicationLogSchema: z.ZodObject<{
1223
1223
  ID: z.ZodString;
1224
1224
  CommunicationProviderID: z.ZodString;
1225
1225
  CommunicationProviderMessageTypeID: z.ZodString;
1226
- CommunicationRunID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1226
+ CommunicationRunID: z.ZodNullable<z.ZodString>;
1227
1227
  Direction: z.ZodUnion<[z.ZodLiteral<"Sending">, z.ZodLiteral<"Receiving">]>;
1228
1228
  MessageDate: z.ZodDate;
1229
1229
  Status: z.ZodUnion<[z.ZodLiteral<"Pending">, z.ZodLiteral<"In-Progress">, z.ZodLiteral<"Complete">, z.ZodLiteral<"Failed">]>;
1230
- MessageContent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1231
- ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1230
+ MessageContent: z.ZodNullable<z.ZodString>;
1231
+ ErrorMessage: z.ZodNullable<z.ZodString>;
1232
1232
  __mj_CreatedAt: z.ZodDate;
1233
1233
  __mj_UpdatedAt: z.ZodDate;
1234
1234
  CommunicationProvider: z.ZodString;
@@ -1272,7 +1272,7 @@ export declare const CommunicationProviderMessageTypeSchema: z.ZodObject<{
1272
1272
  CommunicationBaseMessageTypeID: z.ZodString;
1273
1273
  Name: z.ZodString;
1274
1274
  Status: z.ZodUnion<[z.ZodLiteral<"Disabled">, z.ZodLiteral<"Active">]>;
1275
- AdditionalAttributes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1275
+ AdditionalAttributes: z.ZodNullable<z.ZodString>;
1276
1276
  __mj_CreatedAt: z.ZodDate;
1277
1277
  __mj_UpdatedAt: z.ZodDate;
1278
1278
  CommunicationProvider: z.ZodString;
@@ -1307,7 +1307,7 @@ export type CommunicationProviderMessageTypeEntityType = z.infer<typeof Communic
1307
1307
  export declare const CommunicationProviderSchema: z.ZodObject<{
1308
1308
  ID: z.ZodString;
1309
1309
  Name: z.ZodString;
1310
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1310
+ Description: z.ZodNullable<z.ZodString>;
1311
1311
  Status: z.ZodUnion<[z.ZodLiteral<"Disabled">, z.ZodLiteral<"Active">]>;
1312
1312
  SupportsSending: z.ZodBoolean;
1313
1313
  SupportsReceiving: z.ZodBoolean;
@@ -1350,10 +1350,10 @@ export declare const CommunicationRunSchema: z.ZodObject<{
1350
1350
  UserID: z.ZodString;
1351
1351
  Direction: z.ZodUnion<[z.ZodLiteral<"Sending">, z.ZodLiteral<"Receiving">]>;
1352
1352
  Status: z.ZodUnion<[z.ZodLiteral<"Pending">, z.ZodLiteral<"In-Progress">, z.ZodLiteral<"Complete">, z.ZodLiteral<"Failed">]>;
1353
- StartedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1354
- EndedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1355
- Comments: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1356
- ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1353
+ StartedAt: z.ZodNullable<z.ZodDate>;
1354
+ EndedAt: z.ZodNullable<z.ZodDate>;
1355
+ Comments: z.ZodNullable<z.ZodString>;
1356
+ ErrorMessage: z.ZodNullable<z.ZodString>;
1357
1357
  __mj_CreatedAt: z.ZodDate;
1358
1358
  __mj_UpdatedAt: z.ZodDate;
1359
1359
  User: z.ZodString;
@@ -1390,9 +1390,9 @@ export declare const CompanySchema: z.ZodObject<{
1390
1390
  ID: z.ZodString;
1391
1391
  Name: z.ZodString;
1392
1392
  Description: z.ZodString;
1393
- Website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1394
- LogoURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1395
- Domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1393
+ Website: z.ZodNullable<z.ZodString>;
1394
+ LogoURL: z.ZodNullable<z.ZodString>;
1395
+ Domain: z.ZodNullable<z.ZodString>;
1396
1396
  __mj_CreatedAt: z.ZodDate;
1397
1397
  __mj_UpdatedAt: z.ZodDate;
1398
1398
  }, "strip", z.ZodTypeAny, {
@@ -1455,9 +1455,9 @@ export declare const CompanyIntegrationRunAPILogSchema: z.ZodObject<{
1455
1455
  CompanyIntegrationRunID: z.ZodString;
1456
1456
  ExecutedAt: z.ZodDate;
1457
1457
  IsSuccess: z.ZodBoolean;
1458
- RequestMethod: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"DELETE">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"HEAD">, z.ZodLiteral<"OPTIONS">]>>>;
1459
- URL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1460
- Parameters: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1458
+ RequestMethod: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"DELETE">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"HEAD">, z.ZodLiteral<"OPTIONS">]>>;
1459
+ URL: z.ZodNullable<z.ZodString>;
1460
+ Parameters: z.ZodNullable<z.ZodString>;
1461
1461
  __mj_CreatedAt: z.ZodDate;
1462
1462
  __mj_UpdatedAt: z.ZodDate;
1463
1463
  }, "strip", z.ZodTypeAny, {
@@ -1496,8 +1496,8 @@ export declare const CompanyIntegrationRunDetailSchema: z.ZodObject<{
1496
1496
  __mj_CreatedAt: z.ZodDate;
1497
1497
  __mj_UpdatedAt: z.ZodDate;
1498
1498
  Entity: z.ZodString;
1499
- RunStartedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1500
- RunEndedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1499
+ RunStartedAt: z.ZodNullable<z.ZodDate>;
1500
+ RunEndedAt: z.ZodNullable<z.ZodDate>;
1501
1501
  }, "strip", z.ZodTypeAny, {
1502
1502
  ID?: string;
1503
1503
  __mj_CreatedAt?: Date;
@@ -1533,15 +1533,15 @@ export declare const CompanyIntegrationRunSchema: z.ZodObject<{
1533
1533
  ID: z.ZodString;
1534
1534
  CompanyIntegrationID: z.ZodString;
1535
1535
  RunByUserID: z.ZodString;
1536
- StartedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1537
- EndedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1536
+ StartedAt: z.ZodNullable<z.ZodDate>;
1537
+ EndedAt: z.ZodNullable<z.ZodDate>;
1538
1538
  TotalRecords: z.ZodNumber;
1539
- Comments: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1539
+ Comments: z.ZodNullable<z.ZodString>;
1540
1540
  __mj_CreatedAt: z.ZodDate;
1541
1541
  __mj_UpdatedAt: z.ZodDate;
1542
1542
  Status: z.ZodUnion<[z.ZodLiteral<"Pending">, z.ZodLiteral<"In Progress">, z.ZodLiteral<"Success">, z.ZodLiteral<"Failed">]>;
1543
- ErrorLog: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1544
- ConfigData: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1543
+ ErrorLog: z.ZodNullable<z.ZodString>;
1544
+ ConfigData: z.ZodNullable<z.ZodString>;
1545
1545
  Integration: z.ZodString;
1546
1546
  Company: z.ZodString;
1547
1547
  RunByUser: z.ZodString;
@@ -1586,25 +1586,25 @@ export declare const CompanyIntegrationSchema: z.ZodObject<{
1586
1586
  ID: z.ZodString;
1587
1587
  CompanyID: z.ZodString;
1588
1588
  IntegrationID: z.ZodString;
1589
- IsActive: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1590
- AccessToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1591
- RefreshToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1592
- TokenExpirationDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1593
- APIKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1594
- ExternalSystemID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1589
+ IsActive: z.ZodNullable<z.ZodBoolean>;
1590
+ AccessToken: z.ZodNullable<z.ZodString>;
1591
+ RefreshToken: z.ZodNullable<z.ZodString>;
1592
+ TokenExpirationDate: z.ZodNullable<z.ZodDate>;
1593
+ APIKey: z.ZodNullable<z.ZodString>;
1594
+ ExternalSystemID: z.ZodNullable<z.ZodString>;
1595
1595
  IsExternalSystemReadOnly: z.ZodBoolean;
1596
- ClientID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1597
- ClientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1598
- CustomAttribute1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1596
+ ClientID: z.ZodNullable<z.ZodString>;
1597
+ ClientSecret: z.ZodNullable<z.ZodString>;
1598
+ CustomAttribute1: z.ZodNullable<z.ZodString>;
1599
1599
  __mj_CreatedAt: z.ZodDate;
1600
1600
  __mj_UpdatedAt: z.ZodDate;
1601
1601
  Company: z.ZodString;
1602
1602
  Integration: z.ZodString;
1603
- DriverClassName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1604
- DriverImportPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1605
- LastRunID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1606
- LastRunStartedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1607
- LastRunEndedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1603
+ DriverClassName: z.ZodNullable<z.ZodString>;
1604
+ DriverImportPath: z.ZodNullable<z.ZodString>;
1605
+ LastRunID: z.ZodNullable<z.ZodString>;
1606
+ LastRunStartedAt: z.ZodNullable<z.ZodDate>;
1607
+ LastRunEndedAt: z.ZodNullable<z.ZodDate>;
1608
1608
  }, "strip", z.ZodTypeAny, {
1609
1609
  ID?: string;
1610
1610
  __mj_CreatedAt?: Date;
@@ -1659,7 +1659,7 @@ export type CompanyIntegrationEntityType = z.infer<typeof CompanyIntegrationSche
1659
1659
  export declare const ContentFileTypeSchema: z.ZodObject<{
1660
1660
  ID: z.ZodString;
1661
1661
  Name: z.ZodString;
1662
- FileExtension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1662
+ FileExtension: z.ZodNullable<z.ZodString>;
1663
1663
  __mj_CreatedAt: z.ZodDate;
1664
1664
  __mj_UpdatedAt: z.ZodDate;
1665
1665
  }, "strip", z.ZodTypeAny, {
@@ -1686,7 +1686,7 @@ export declare const ContentItemAttributeSchema: z.ZodObject<{
1686
1686
  Value: z.ZodString;
1687
1687
  __mj_CreatedAt: z.ZodDate;
1688
1688
  __mj_UpdatedAt: z.ZodDate;
1689
- ContentItem: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1689
+ ContentItem: z.ZodNullable<z.ZodString>;
1690
1690
  }, "strip", z.ZodTypeAny, {
1691
1691
  ID?: string;
1692
1692
  __mj_CreatedAt?: Date;
@@ -1714,7 +1714,7 @@ export declare const ContentItemTagSchema: z.ZodObject<{
1714
1714
  Tag: z.ZodString;
1715
1715
  __mj_CreatedAt: z.ZodDate;
1716
1716
  __mj_UpdatedAt: z.ZodDate;
1717
- Item: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1717
+ Item: z.ZodNullable<z.ZodString>;
1718
1718
  }, "strip", z.ZodTypeAny, {
1719
1719
  ID?: string;
1720
1720
  __mj_CreatedAt?: Date;
@@ -1737,17 +1737,17 @@ export type ContentItemTagEntityType = z.infer<typeof ContentItemTagSchema>;
1737
1737
  export declare const ContentItemSchema: z.ZodObject<{
1738
1738
  ID: z.ZodString;
1739
1739
  ContentSourceID: z.ZodString;
1740
- Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1741
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1740
+ Name: z.ZodNullable<z.ZodString>;
1741
+ Description: z.ZodNullable<z.ZodString>;
1742
1742
  ContentTypeID: z.ZodString;
1743
1743
  ContentSourceTypeID: z.ZodString;
1744
1744
  ContentFileTypeID: z.ZodString;
1745
- Checksum: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1745
+ Checksum: z.ZodNullable<z.ZodString>;
1746
1746
  URL: z.ZodString;
1747
- Text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1747
+ Text: z.ZodNullable<z.ZodString>;
1748
1748
  __mj_CreatedAt: z.ZodDate;
1749
1749
  __mj_UpdatedAt: z.ZodDate;
1750
- ContentSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1750
+ ContentSource: z.ZodNullable<z.ZodString>;
1751
1751
  ContentType: z.ZodString;
1752
1752
  ContentSourceType: z.ZodString;
1753
1753
  ContentFileType: z.ZodString;
@@ -1793,13 +1793,13 @@ export type ContentItemEntityType = z.infer<typeof ContentItemSchema>;
1793
1793
  export declare const ContentProcessRunSchema: z.ZodObject<{
1794
1794
  ID: z.ZodString;
1795
1795
  SourceID: z.ZodString;
1796
- StartTime: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1797
- EndTime: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1798
- Status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1799
- ProcessedItems: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1796
+ StartTime: z.ZodNullable<z.ZodDate>;
1797
+ EndTime: z.ZodNullable<z.ZodDate>;
1798
+ Status: z.ZodNullable<z.ZodString>;
1799
+ ProcessedItems: z.ZodNullable<z.ZodNumber>;
1800
1800
  __mj_CreatedAt: z.ZodDate;
1801
1801
  __mj_UpdatedAt: z.ZodDate;
1802
- Source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1802
+ Source: z.ZodNullable<z.ZodString>;
1803
1803
  }, "strip", z.ZodTypeAny, {
1804
1804
  ID?: string;
1805
1805
  __mj_CreatedAt?: Date;
@@ -1832,7 +1832,7 @@ export declare const ContentSourceParamSchema: z.ZodObject<{
1832
1832
  Value: z.ZodString;
1833
1833
  __mj_CreatedAt: z.ZodDate;
1834
1834
  __mj_UpdatedAt: z.ZodDate;
1835
- ContentSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1835
+ ContentSource: z.ZodNullable<z.ZodString>;
1836
1836
  }, "strip", z.ZodTypeAny, {
1837
1837
  ID?: string;
1838
1838
  __mj_CreatedAt?: Date;
@@ -1857,9 +1857,9 @@ export type ContentSourceParamEntityType = z.infer<typeof ContentSourceParamSche
1857
1857
  export declare const ContentSourceTypeParamSchema: z.ZodObject<{
1858
1858
  ID: z.ZodString;
1859
1859
  Name: z.ZodString;
1860
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1861
- Type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1862
- DefaultValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1860
+ Description: z.ZodNullable<z.ZodString>;
1861
+ Type: z.ZodNullable<z.ZodString>;
1862
+ DefaultValue: z.ZodNullable<z.ZodString>;
1863
1863
  IsRequired: z.ZodBoolean;
1864
1864
  __mj_CreatedAt: z.ZodDate;
1865
1865
  __mj_UpdatedAt: z.ZodDate;
@@ -1889,7 +1889,7 @@ export type ContentSourceTypeParamEntityType = z.infer<typeof ContentSourceTypeP
1889
1889
  export declare const ContentSourceTypeSchema: z.ZodObject<{
1890
1890
  ID: z.ZodString;
1891
1891
  Name: z.ZodString;
1892
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1892
+ Description: z.ZodNullable<z.ZodString>;
1893
1893
  __mj_CreatedAt: z.ZodDate;
1894
1894
  __mj_UpdatedAt: z.ZodDate;
1895
1895
  }, "strip", z.ZodTypeAny, {
@@ -1911,7 +1911,7 @@ export type ContentSourceTypeEntityType = z.infer<typeof ContentSourceTypeSchema
1911
1911
  */
1912
1912
  export declare const ContentSourceSchema: z.ZodObject<{
1913
1913
  ID: z.ZodString;
1914
- Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1914
+ Name: z.ZodNullable<z.ZodString>;
1915
1915
  ContentTypeID: z.ZodString;
1916
1916
  ContentSourceTypeID: z.ZodString;
1917
1917
  ContentFileTypeID: z.ZodString;
@@ -1955,7 +1955,7 @@ export declare const ContentTypeAttributeSchema: z.ZodObject<{
1955
1955
  ContentTypeID: z.ZodString;
1956
1956
  Name: z.ZodString;
1957
1957
  Prompt: z.ZodString;
1958
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1958
+ Description: z.ZodNullable<z.ZodString>;
1959
1959
  __mj_CreatedAt: z.ZodDate;
1960
1960
  __mj_UpdatedAt: z.ZodDate;
1961
1961
  }, "strip", z.ZodTypeAny, {
@@ -1982,7 +1982,7 @@ export type ContentTypeAttributeEntityType = z.infer<typeof ContentTypeAttribute
1982
1982
  export declare const ContentTypeSchema: z.ZodObject<{
1983
1983
  ID: z.ZodString;
1984
1984
  Name: z.ZodString;
1985
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1985
+ Description: z.ZodNullable<z.ZodString>;
1986
1986
  AIModelID: z.ZodString;
1987
1987
  MinTags: z.ZodNumber;
1988
1988
  MaxTags: z.ZodNumber;
@@ -2017,20 +2017,20 @@ export type ContentTypeEntityType = z.infer<typeof ContentTypeSchema>;
2017
2017
  export declare const ConversationDetailSchema: z.ZodObject<{
2018
2018
  ID: z.ZodString;
2019
2019
  ConversationID: z.ZodString;
2020
- ExternalID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2020
+ ExternalID: z.ZodNullable<z.ZodString>;
2021
2021
  Role: z.ZodUnion<[z.ZodLiteral<"User">, z.ZodLiteral<"AI">, z.ZodLiteral<"Error">]>;
2022
2022
  Message: z.ZodString;
2023
- Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2023
+ Error: z.ZodNullable<z.ZodString>;
2024
2024
  HiddenToUser: z.ZodBoolean;
2025
2025
  __mj_CreatedAt: z.ZodDate;
2026
2026
  __mj_UpdatedAt: z.ZodDate;
2027
- UserRating: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2028
- UserFeedback: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2029
- ReflectionInsights: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2030
- SummaryOfEarlierConversation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2031
- UserID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2032
- Conversation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2033
- User: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2027
+ UserRating: z.ZodNullable<z.ZodNumber>;
2028
+ UserFeedback: z.ZodNullable<z.ZodString>;
2029
+ ReflectionInsights: z.ZodNullable<z.ZodString>;
2030
+ SummaryOfEarlierConversation: z.ZodNullable<z.ZodString>;
2031
+ UserID: z.ZodNullable<z.ZodString>;
2032
+ Conversation: z.ZodNullable<z.ZodString>;
2033
+ User: z.ZodNullable<z.ZodString>;
2034
2034
  }, "strip", z.ZodTypeAny, {
2035
2035
  Error?: string;
2036
2036
  ID?: string;
@@ -2073,19 +2073,19 @@ export type ConversationDetailEntityType = z.infer<typeof ConversationDetailSche
2073
2073
  export declare const ConversationSchema: z.ZodObject<{
2074
2074
  ID: z.ZodString;
2075
2075
  UserID: z.ZodString;
2076
- ExternalID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2077
- Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2078
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2076
+ ExternalID: z.ZodNullable<z.ZodString>;
2077
+ Name: z.ZodNullable<z.ZodString>;
2078
+ Description: z.ZodNullable<z.ZodString>;
2079
2079
  Type: z.ZodString;
2080
2080
  IsArchived: z.ZodBoolean;
2081
- LinkedEntityID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2082
- LinkedRecordID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2083
- DataContextID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2081
+ LinkedEntityID: z.ZodNullable<z.ZodString>;
2082
+ LinkedRecordID: z.ZodNullable<z.ZodString>;
2083
+ DataContextID: z.ZodNullable<z.ZodString>;
2084
2084
  __mj_CreatedAt: z.ZodDate;
2085
2085
  __mj_UpdatedAt: z.ZodDate;
2086
2086
  User: z.ZodString;
2087
- LinkedEntity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2088
- DataContext: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2087
+ LinkedEntity: z.ZodNullable<z.ZodString>;
2088
+ DataContext: z.ZodNullable<z.ZodString>;
2089
2089
  }, "strip", z.ZodTypeAny, {
2090
2090
  ID?: string;
2091
2091
  __mj_CreatedAt?: Date;
@@ -2126,12 +2126,12 @@ export type ConversationEntityType = z.infer<typeof ConversationSchema>;
2126
2126
  export declare const DashboardCategorySchema: z.ZodObject<{
2127
2127
  ID: z.ZodString;
2128
2128
  Name: z.ZodString;
2129
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2130
- ParentID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2129
+ Description: z.ZodNullable<z.ZodString>;
2130
+ ParentID: z.ZodNullable<z.ZodString>;
2131
2131
  UserID: z.ZodString;
2132
2132
  __mj_CreatedAt: z.ZodDate;
2133
2133
  __mj_UpdatedAt: z.ZodDate;
2134
- Parent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2134
+ Parent: z.ZodNullable<z.ZodString>;
2135
2135
  User: z.ZodString;
2136
2136
  }, "strip", z.ZodTypeAny, {
2137
2137
  ID?: string;
@@ -2161,14 +2161,14 @@ export type DashboardCategoryEntityType = z.infer<typeof DashboardCategorySchema
2161
2161
  export declare const DashboardSchema: z.ZodObject<{
2162
2162
  ID: z.ZodString;
2163
2163
  Name: z.ZodString;
2164
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2164
+ Description: z.ZodNullable<z.ZodString>;
2165
2165
  UserID: z.ZodString;
2166
- CategoryID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2166
+ CategoryID: z.ZodNullable<z.ZodString>;
2167
2167
  UIConfigDetails: z.ZodString;
2168
2168
  __mj_CreatedAt: z.ZodDate;
2169
2169
  __mj_UpdatedAt: z.ZodDate;
2170
2170
  User: z.ZodString;
2171
- Category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2171
+ Category: z.ZodNullable<z.ZodString>;
2172
2172
  }, "strip", z.ZodTypeAny, {
2173
2173
  Category?: string;
2174
2174
  ID?: string;
@@ -2200,20 +2200,20 @@ export declare const DataContextItemSchema: z.ZodObject<{
2200
2200
  ID: z.ZodString;
2201
2201
  DataContextID: z.ZodString;
2202
2202
  Type: z.ZodUnion<[z.ZodLiteral<"view">, z.ZodLiteral<"sql">, z.ZodLiteral<"query">, z.ZodLiteral<"single_record">, z.ZodLiteral<"full_entity">]>;
2203
- ViewID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2204
- QueryID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2205
- EntityID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2206
- RecordID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2207
- SQL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2208
- DataJSON: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2209
- LastRefreshedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2203
+ ViewID: z.ZodNullable<z.ZodString>;
2204
+ QueryID: z.ZodNullable<z.ZodString>;
2205
+ EntityID: z.ZodNullable<z.ZodString>;
2206
+ RecordID: z.ZodNullable<z.ZodString>;
2207
+ SQL: z.ZodNullable<z.ZodString>;
2208
+ DataJSON: z.ZodNullable<z.ZodString>;
2209
+ LastRefreshedAt: z.ZodNullable<z.ZodDate>;
2210
2210
  __mj_CreatedAt: z.ZodDate;
2211
2211
  __mj_UpdatedAt: z.ZodDate;
2212
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2212
+ Description: z.ZodNullable<z.ZodString>;
2213
2213
  DataContext: z.ZodString;
2214
- View: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2215
- Query: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2216
- Entity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2214
+ View: z.ZodNullable<z.ZodString>;
2215
+ Query: z.ZodNullable<z.ZodString>;
2216
+ Entity: z.ZodNullable<z.ZodString>;
2217
2217
  }, "strip", z.ZodTypeAny, {
2218
2218
  ID?: string;
2219
2219
  __mj_CreatedAt?: Date;
@@ -2258,9 +2258,9 @@ export type DataContextItemEntityType = z.infer<typeof DataContextItemSchema>;
2258
2258
  export declare const DataContextSchema: z.ZodObject<{
2259
2259
  ID: z.ZodString;
2260
2260
  Name: z.ZodString;
2261
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2261
+ Description: z.ZodNullable<z.ZodString>;
2262
2262
  UserID: z.ZodString;
2263
- LastRefreshedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2263
+ LastRefreshedAt: z.ZodNullable<z.ZodDate>;
2264
2264
  __mj_CreatedAt: z.ZodDate;
2265
2265
  __mj_UpdatedAt: z.ZodDate;
2266
2266
  User: z.ZodString;
@@ -2293,12 +2293,12 @@ export declare const DatasetItemSchema: z.ZodObject<{
2293
2293
  DatasetID: z.ZodString;
2294
2294
  Sequence: z.ZodNumber;
2295
2295
  EntityID: z.ZodString;
2296
- WhereClause: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2296
+ WhereClause: z.ZodNullable<z.ZodString>;
2297
2297
  DateFieldToCheck: z.ZodString;
2298
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2298
+ Description: z.ZodNullable<z.ZodString>;
2299
2299
  __mj_CreatedAt: z.ZodDate;
2300
2300
  __mj_UpdatedAt: z.ZodDate;
2301
- Columns: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2301
+ Columns: z.ZodNullable<z.ZodString>;
2302
2302
  Dataset: z.ZodString;
2303
2303
  Entity: z.ZodString;
2304
2304
  }, "strip", z.ZodTypeAny, {
@@ -2337,7 +2337,7 @@ export type DatasetItemEntityType = z.infer<typeof DatasetItemSchema>;
2337
2337
  export declare const DatasetSchema: z.ZodObject<{
2338
2338
  ID: z.ZodString;
2339
2339
  Name: z.ZodString;
2340
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2340
+ Description: z.ZodNullable<z.ZodString>;
2341
2341
  __mj_CreatedAt: z.ZodDate;
2342
2342
  __mj_UpdatedAt: z.ZodDate;
2343
2343
  }, "strip", z.ZodTypeAny, {
@@ -2366,7 +2366,7 @@ export declare const DuplicateRunDetailMatchSchema: z.ZodObject<{
2366
2366
  MatchedAt: z.ZodDate;
2367
2367
  Action: z.ZodString;
2368
2368
  ApprovalStatus: z.ZodUnion<[z.ZodLiteral<"Rejected">, z.ZodLiteral<"Approved">, z.ZodLiteral<"Pending">]>;
2369
- RecordMergeLogID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2369
+ RecordMergeLogID: z.ZodNullable<z.ZodString>;
2370
2370
  MergeStatus: z.ZodUnion<[z.ZodLiteral<"Error">, z.ZodLiteral<"Complete">, z.ZodLiteral<"Pending">]>;
2371
2371
  MergedAt: z.ZodDate;
2372
2372
  __mj_CreatedAt: z.ZodDate;
@@ -2409,10 +2409,10 @@ export declare const DuplicateRunDetailSchema: z.ZodObject<{
2409
2409
  DuplicateRunID: z.ZodString;
2410
2410
  RecordID: z.ZodString;
2411
2411
  MatchStatus: z.ZodUnion<[z.ZodLiteral<"Error">, z.ZodLiteral<"Skipped">, z.ZodLiteral<"Complete">, z.ZodLiteral<"Pending">]>;
2412
- SkippedReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2413
- MatchErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2412
+ SkippedReason: z.ZodNullable<z.ZodString>;
2413
+ MatchErrorMessage: z.ZodNullable<z.ZodString>;
2414
2414
  MergeStatus: z.ZodUnion<[z.ZodLiteral<"Error">, z.ZodLiteral<"Complete">, z.ZodLiteral<"Pending">, z.ZodLiteral<"Not Applicable">]>;
2415
- MergeErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2415
+ MergeErrorMessage: z.ZodNullable<z.ZodString>;
2416
2416
  __mj_CreatedAt: z.ZodDate;
2417
2417
  __mj_UpdatedAt: z.ZodDate;
2418
2418
  }, "strip", z.ZodTypeAny, {
@@ -2448,18 +2448,18 @@ export declare const DuplicateRunSchema: z.ZodObject<{
2448
2448
  StartedByUserID: z.ZodString;
2449
2449
  SourceListID: z.ZodString;
2450
2450
  StartedAt: z.ZodDate;
2451
- EndedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2451
+ EndedAt: z.ZodNullable<z.ZodDate>;
2452
2452
  ApprovalStatus: z.ZodUnion<[z.ZodLiteral<"Rejected">, z.ZodLiteral<"Approved">, z.ZodLiteral<"Pending">]>;
2453
- ApprovalComments: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2454
- ApprovedByUserID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2453
+ ApprovalComments: z.ZodNullable<z.ZodString>;
2454
+ ApprovedByUserID: z.ZodNullable<z.ZodString>;
2455
2455
  ProcessingStatus: z.ZodUnion<[z.ZodLiteral<"Failed">, z.ZodLiteral<"Complete">, z.ZodLiteral<"In Progress">, z.ZodLiteral<"Pending">]>;
2456
- ProcessingErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2456
+ ProcessingErrorMessage: z.ZodNullable<z.ZodString>;
2457
2457
  __mj_CreatedAt: z.ZodDate;
2458
2458
  __mj_UpdatedAt: z.ZodDate;
2459
2459
  Entity: z.ZodString;
2460
2460
  StartedByUser: z.ZodString;
2461
2461
  SourceList: z.ZodString;
2462
- ApprovedByUser: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2462
+ ApprovedByUser: z.ZodNullable<z.ZodString>;
2463
2463
  }, "strip", z.ZodTypeAny, {
2464
2464
  ID?: string;
2465
2465
  __mj_CreatedAt?: Date;
@@ -2588,18 +2588,18 @@ export declare const EmployeeSchema: z.ZodObject<{
2588
2588
  FirstName: z.ZodString;
2589
2589
  LastName: z.ZodString;
2590
2590
  CompanyID: z.ZodString;
2591
- SupervisorID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2592
- Title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2591
+ SupervisorID: z.ZodNullable<z.ZodString>;
2592
+ Title: z.ZodNullable<z.ZodString>;
2593
2593
  Email: z.ZodString;
2594
- Phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2594
+ Phone: z.ZodNullable<z.ZodString>;
2595
2595
  Active: z.ZodBoolean;
2596
2596
  __mj_CreatedAt: z.ZodDate;
2597
2597
  __mj_UpdatedAt: z.ZodDate;
2598
- FirstLast: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2599
- Supervisor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2600
- SupervisorFirstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2601
- SupervisorLastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2602
- SupervisorEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2598
+ FirstLast: z.ZodNullable<z.ZodString>;
2599
+ Supervisor: z.ZodNullable<z.ZodString>;
2600
+ SupervisorFirstName: z.ZodNullable<z.ZodString>;
2601
+ SupervisorLastName: z.ZodNullable<z.ZodString>;
2602
+ SupervisorEmail: z.ZodNullable<z.ZodString>;
2603
2603
  }, "strip", z.ZodTypeAny, {
2604
2604
  Active?: boolean;
2605
2605
  ID?: string;
@@ -2643,10 +2643,10 @@ export type EmployeeEntityType = z.infer<typeof EmployeeSchema>;
2643
2643
  */
2644
2644
  export declare const EntitySchema: z.ZodObject<{
2645
2645
  ID: z.ZodString;
2646
- ParentID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2646
+ ParentID: z.ZodNullable<z.ZodString>;
2647
2647
  Name: z.ZodString;
2648
- NameSuffix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2649
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2648
+ NameSuffix: z.ZodNullable<z.ZodString>;
2649
+ Description: z.ZodNullable<z.ZodString>;
2650
2650
  AutoUpdateDescription: z.ZodBoolean;
2651
2651
  BaseTable: z.ZodString;
2652
2652
  BaseView: z.ZodString;
@@ -2664,42 +2664,42 @@ export declare const EntitySchema: z.ZodObject<{
2664
2664
  CustomResolverAPI: z.ZodBoolean;
2665
2665
  AllowUserSearchAPI: z.ZodBoolean;
2666
2666
  FullTextSearchEnabled: z.ZodBoolean;
2667
- FullTextCatalog: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2667
+ FullTextCatalog: z.ZodNullable<z.ZodString>;
2668
2668
  FullTextCatalogGenerated: z.ZodBoolean;
2669
- FullTextIndex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2669
+ FullTextIndex: z.ZodNullable<z.ZodString>;
2670
2670
  FullTextIndexGenerated: z.ZodBoolean;
2671
- FullTextSearchFunction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2671
+ FullTextSearchFunction: z.ZodNullable<z.ZodString>;
2672
2672
  FullTextSearchFunctionGenerated: z.ZodBoolean;
2673
- UserViewMaxRows: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2674
- spCreate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2675
- spUpdate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2676
- spDelete: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2673
+ UserViewMaxRows: z.ZodNullable<z.ZodNumber>;
2674
+ spCreate: z.ZodNullable<z.ZodString>;
2675
+ spUpdate: z.ZodNullable<z.ZodString>;
2676
+ spDelete: z.ZodNullable<z.ZodString>;
2677
2677
  spCreateGenerated: z.ZodBoolean;
2678
2678
  spUpdateGenerated: z.ZodBoolean;
2679
2679
  spDeleteGenerated: z.ZodBoolean;
2680
2680
  CascadeDeletes: z.ZodBoolean;
2681
2681
  DeleteType: z.ZodUnion<[z.ZodLiteral<"Hard">, z.ZodLiteral<"Soft">]>;
2682
2682
  AllowRecordMerge: z.ZodBoolean;
2683
- spMatch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2683
+ spMatch: z.ZodNullable<z.ZodString>;
2684
2684
  RelationshipDefaultDisplayType: z.ZodUnion<[z.ZodLiteral<"Search">, z.ZodLiteral<"Dropdown">]>;
2685
2685
  UserFormGenerated: z.ZodBoolean;
2686
- EntityObjectSubclassName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2687
- EntityObjectSubclassImport: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2688
- PreferredCommunicationField: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2689
- Icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2686
+ EntityObjectSubclassName: z.ZodNullable<z.ZodString>;
2687
+ EntityObjectSubclassImport: z.ZodNullable<z.ZodString>;
2688
+ PreferredCommunicationField: z.ZodNullable<z.ZodString>;
2689
+ Icon: z.ZodNullable<z.ZodString>;
2690
2690
  __mj_CreatedAt: z.ZodDate;
2691
2691
  __mj_UpdatedAt: z.ZodDate;
2692
- ScopeDefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2692
+ ScopeDefault: z.ZodNullable<z.ZodString>;
2693
2693
  RowsToPackWithSchema: z.ZodUnion<[z.ZodLiteral<"None">, z.ZodLiteral<"Sample">, z.ZodLiteral<"All">]>;
2694
2694
  RowsToPackSampleMethod: z.ZodUnion<[z.ZodLiteral<"random">, z.ZodLiteral<"top n">, z.ZodLiteral<"bottom n">]>;
2695
2695
  RowsToPackSampleCount: z.ZodNumber;
2696
- RowsToPackSampleOrder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2697
- CodeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2698
- ClassName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2699
- BaseTableCodeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2700
- ParentEntity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2701
- ParentBaseTable: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2702
- ParentBaseView: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2696
+ RowsToPackSampleOrder: z.ZodNullable<z.ZodString>;
2697
+ CodeName: z.ZodNullable<z.ZodString>;
2698
+ ClassName: z.ZodNullable<z.ZodString>;
2699
+ BaseTableCodeName: z.ZodNullable<z.ZodString>;
2700
+ ParentEntity: z.ZodNullable<z.ZodString>;
2701
+ ParentBaseTable: z.ZodNullable<z.ZodString>;
2702
+ ParentBaseView: z.ZodNullable<z.ZodString>;
2703
2703
  }, "strip", z.ZodTypeAny, {
2704
2704
  ID?: string;
2705
2705
  __mj_CreatedAt?: Date;
@@ -2855,7 +2855,7 @@ export type EntityActionFilterEntityType = z.infer<typeof EntityActionFilterSche
2855
2855
  export declare const EntityActionInvocationTypeSchema: z.ZodObject<{
2856
2856
  ID: z.ZodString;
2857
2857
  Name: z.ZodString;
2858
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2858
+ Description: z.ZodNullable<z.ZodString>;
2859
2859
  DisplaySequence: z.ZodNumber;
2860
2860
  __mj_CreatedAt: z.ZodDate;
2861
2861
  __mj_UpdatedAt: z.ZodDate;
@@ -2912,8 +2912,8 @@ export declare const EntityActionParamSchema: z.ZodObject<{
2912
2912
  EntityActionID: z.ZodString;
2913
2913
  ActionParamID: z.ZodString;
2914
2914
  ValueType: z.ZodUnion<[z.ZodLiteral<"Static">, z.ZodLiteral<"Entity Object">, z.ZodLiteral<"Script">, z.ZodLiteral<"Entity Field">]>;
2915
- Value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2916
- Comments: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2915
+ Value: z.ZodNullable<z.ZodString>;
2916
+ Comments: z.ZodNullable<z.ZodString>;
2917
2917
  __mj_CreatedAt: z.ZodDate;
2918
2918
  __mj_UpdatedAt: z.ZodDate;
2919
2919
  ActionParam: z.ZodString;
@@ -2980,20 +2980,20 @@ export declare const EntityAIActionSchema: z.ZodObject<{
2980
2980
  AIModelID: z.ZodString;
2981
2981
  AIActionID: z.ZodString;
2982
2982
  Name: z.ZodString;
2983
- Prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2983
+ Prompt: z.ZodNullable<z.ZodString>;
2984
2984
  TriggerEvent: z.ZodUnion<[z.ZodLiteral<"after save">, z.ZodLiteral<"before save">]>;
2985
2985
  UserMessage: z.ZodString;
2986
2986
  OutputType: z.ZodUnion<[z.ZodLiteral<"entity">, z.ZodLiteral<"field">]>;
2987
- OutputField: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2987
+ OutputField: z.ZodNullable<z.ZodString>;
2988
2988
  SkipIfOutputFieldNotEmpty: z.ZodBoolean;
2989
- OutputEntityID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2990
- Comments: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2989
+ OutputEntityID: z.ZodNullable<z.ZodString>;
2990
+ Comments: z.ZodNullable<z.ZodString>;
2991
2991
  __mj_CreatedAt: z.ZodDate;
2992
2992
  __mj_UpdatedAt: z.ZodDate;
2993
2993
  Entity: z.ZodString;
2994
2994
  AIModel: z.ZodString;
2995
2995
  AIAction: z.ZodString;
2996
- OutputEntity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2996
+ OutputEntity: z.ZodNullable<z.ZodString>;
2997
2997
  }, "strip", z.ZodTypeAny, {
2998
2998
  ID?: string;
2999
2999
  Comments?: string;
@@ -3100,8 +3100,8 @@ export type EntityCommunicationMessageTypeEntityType = z.infer<typeof EntityComm
3100
3100
  export declare const EntityDocumentRunSchema: z.ZodObject<{
3101
3101
  ID: z.ZodString;
3102
3102
  EntityDocumentID: z.ZodString;
3103
- StartedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3104
- EndedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
3103
+ StartedAt: z.ZodNullable<z.ZodDate>;
3104
+ EndedAt: z.ZodNullable<z.ZodDate>;
3105
3105
  Status: z.ZodUnion<[z.ZodLiteral<"Pending">, z.ZodLiteral<"Complete">, z.ZodLiteral<"Failed">]>;
3106
3106
  __mj_CreatedAt: z.ZodDate;
3107
3107
  __mj_UpdatedAt: z.ZodDate;
@@ -3134,7 +3134,7 @@ export declare const EntityDocumentSettingSchema: z.ZodObject<{
3134
3134
  EntityDocumentID: z.ZodString;
3135
3135
  Name: z.ZodString;
3136
3136
  Value: z.ZodString;
3137
- Comments: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3137
+ Comments: z.ZodNullable<z.ZodString>;
3138
3138
  __mj_CreatedAt: z.ZodDate;
3139
3139
  __mj_UpdatedAt: z.ZodDate;
3140
3140
  EntityDocument: z.ZodString;
@@ -3164,7 +3164,7 @@ export type EntityDocumentSettingEntityType = z.infer<typeof EntityDocumentSetti
3164
3164
  export declare const EntityDocumentTypeSchema: z.ZodObject<{
3165
3165
  ID: z.ZodString;
3166
3166
  Name: z.ZodString;
3167
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3167
+ Description: z.ZodNullable<z.ZodString>;
3168
3168
  __mj_CreatedAt: z.ZodDate;
3169
3169
  __mj_UpdatedAt: z.ZodDate;
3170
3170
  }, "strip", z.ZodTypeAny, {
@@ -3248,8 +3248,8 @@ export declare const EntityFieldValueSchema: z.ZodObject<{
3248
3248
  EntityFieldID: z.ZodString;
3249
3249
  Sequence: z.ZodNumber;
3250
3250
  Value: z.ZodString;
3251
- Code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3252
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3251
+ Code: z.ZodNullable<z.ZodString>;
3252
+ Description: z.ZodNullable<z.ZodString>;
3253
3253
  __mj_CreatedAt: z.ZodDate;
3254
3254
  __mj_UpdatedAt: z.ZodDate;
3255
3255
  EntityField: z.ZodString;
@@ -3289,62 +3289,62 @@ export declare const EntityFieldSchema: z.ZodObject<{
3289
3289
  EntityID: z.ZodString;
3290
3290
  Sequence: z.ZodNumber;
3291
3291
  Name: z.ZodString;
3292
- DisplayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3293
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3292
+ DisplayName: z.ZodNullable<z.ZodString>;
3293
+ Description: z.ZodNullable<z.ZodString>;
3294
3294
  AutoUpdateDescription: z.ZodBoolean;
3295
3295
  IsPrimaryKey: z.ZodBoolean;
3296
3296
  IsUnique: z.ZodBoolean;
3297
- Category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3297
+ Category: z.ZodNullable<z.ZodString>;
3298
3298
  Type: z.ZodString;
3299
- Length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3300
- Precision: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3301
- Scale: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3299
+ Length: z.ZodNullable<z.ZodNumber>;
3300
+ Precision: z.ZodNullable<z.ZodNumber>;
3301
+ Scale: z.ZodNullable<z.ZodNumber>;
3302
3302
  AllowsNull: z.ZodBoolean;
3303
- DefaultValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3303
+ DefaultValue: z.ZodNullable<z.ZodString>;
3304
3304
  AutoIncrement: z.ZodBoolean;
3305
3305
  ValueListType: z.ZodUnion<[z.ZodLiteral<"None">, z.ZodLiteral<"List">, z.ZodLiteral<"ListOrUserEntry">]>;
3306
- ExtendedType: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"Email">, z.ZodLiteral<"URL">, z.ZodLiteral<"Tel">, z.ZodLiteral<"SMS">, z.ZodLiteral<"Geo">, z.ZodLiteral<"WhatsApp">, z.ZodLiteral<"FaceTime">, z.ZodLiteral<"Skype">, z.ZodLiteral<"SIP">, z.ZodLiteral<"MSTeams">, z.ZodLiteral<"ZoomMtg">, z.ZodLiteral<"Other">, z.ZodLiteral<"Code">]>>>;
3307
- CodeType: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"TypeScript">, z.ZodLiteral<"SQL">, z.ZodLiteral<"HTML">, z.ZodLiteral<"CSS">, z.ZodLiteral<"JavaScript">, z.ZodLiteral<"Other">]>>>;
3306
+ ExtendedType: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"Email">, z.ZodLiteral<"URL">, z.ZodLiteral<"Tel">, z.ZodLiteral<"SMS">, z.ZodLiteral<"Geo">, z.ZodLiteral<"WhatsApp">, z.ZodLiteral<"FaceTime">, z.ZodLiteral<"Skype">, z.ZodLiteral<"SIP">, z.ZodLiteral<"MSTeams">, z.ZodLiteral<"ZoomMtg">, z.ZodLiteral<"Other">, z.ZodLiteral<"Code">]>>;
3307
+ CodeType: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"TypeScript">, z.ZodLiteral<"SQL">, z.ZodLiteral<"HTML">, z.ZodLiteral<"CSS">, z.ZodLiteral<"JavaScript">, z.ZodLiteral<"Other">]>>;
3308
3308
  DefaultInView: z.ZodBoolean;
3309
- ViewCellTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3310
- DefaultColumnWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3309
+ ViewCellTemplate: z.ZodNullable<z.ZodString>;
3310
+ DefaultColumnWidth: z.ZodNullable<z.ZodNumber>;
3311
3311
  AllowUpdateAPI: z.ZodBoolean;
3312
3312
  AllowUpdateInView: z.ZodBoolean;
3313
3313
  IncludeInUserSearchAPI: z.ZodBoolean;
3314
3314
  FullTextSearchEnabled: z.ZodBoolean;
3315
- UserSearchParamFormatAPI: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3315
+ UserSearchParamFormatAPI: z.ZodNullable<z.ZodString>;
3316
3316
  IncludeInGeneratedForm: z.ZodBoolean;
3317
3317
  GeneratedFormSection: z.ZodUnion<[z.ZodLiteral<"Top">, z.ZodLiteral<"Category">, z.ZodLiteral<"Details">]>;
3318
3318
  IsVirtual: z.ZodBoolean;
3319
3319
  IsNameField: z.ZodBoolean;
3320
- RelatedEntityID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3321
- RelatedEntityFieldName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3320
+ RelatedEntityID: z.ZodNullable<z.ZodString>;
3321
+ RelatedEntityFieldName: z.ZodNullable<z.ZodString>;
3322
3322
  IncludeRelatedEntityNameFieldInBaseView: z.ZodBoolean;
3323
- RelatedEntityNameFieldMap: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3323
+ RelatedEntityNameFieldMap: z.ZodNullable<z.ZodString>;
3324
3324
  RelatedEntityDisplayType: z.ZodString;
3325
- EntityIDFieldName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3325
+ EntityIDFieldName: z.ZodNullable<z.ZodString>;
3326
3326
  __mj_CreatedAt: z.ZodDate;
3327
3327
  __mj_UpdatedAt: z.ZodDate;
3328
- ScopeDefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3328
+ ScopeDefault: z.ZodNullable<z.ZodString>;
3329
3329
  AutoUpdateRelatedEntityInfo: z.ZodBoolean;
3330
3330
  ValuesToPackWithSchema: z.ZodUnion<[z.ZodLiteral<"Auto">, z.ZodLiteral<"None">, z.ZodLiteral<"All">]>;
3331
- GeneratedValidationFunctionName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3332
- GeneratedValidationFunctionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3333
- GeneratedValidationFunctionCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3334
- GeneratedValidationFunctionCheckConstraint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3335
- FieldCodeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3331
+ GeneratedValidationFunctionName: z.ZodNullable<z.ZodString>;
3332
+ GeneratedValidationFunctionDescription: z.ZodNullable<z.ZodString>;
3333
+ GeneratedValidationFunctionCode: z.ZodNullable<z.ZodString>;
3334
+ GeneratedValidationFunctionCheckConstraint: z.ZodNullable<z.ZodString>;
3335
+ FieldCodeName: z.ZodNullable<z.ZodString>;
3336
3336
  Entity: z.ZodString;
3337
3337
  SchemaName: z.ZodString;
3338
3338
  BaseTable: z.ZodString;
3339
3339
  BaseView: z.ZodString;
3340
- EntityCodeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3341
- EntityClassName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3342
- RelatedEntity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3343
- RelatedEntitySchemaName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3344
- RelatedEntityBaseTable: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3345
- RelatedEntityBaseView: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3346
- RelatedEntityCodeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3347
- RelatedEntityClassName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3340
+ EntityCodeName: z.ZodNullable<z.ZodString>;
3341
+ EntityClassName: z.ZodNullable<z.ZodString>;
3342
+ RelatedEntity: z.ZodNullable<z.ZodString>;
3343
+ RelatedEntitySchemaName: z.ZodNullable<z.ZodString>;
3344
+ RelatedEntityBaseTable: z.ZodNullable<z.ZodString>;
3345
+ RelatedEntityBaseView: z.ZodNullable<z.ZodString>;
3346
+ RelatedEntityCodeName: z.ZodNullable<z.ZodString>;
3347
+ RelatedEntityClassName: z.ZodNullable<z.ZodString>;
3348
3348
  }, "strip", z.ZodTypeAny, {
3349
3349
  Category?: string;
3350
3350
  ID?: string;
@@ -3480,19 +3480,19 @@ export declare const EntityPermissionSchema: z.ZodObject<{
3480
3480
  CanRead: z.ZodBoolean;
3481
3481
  CanUpdate: z.ZodBoolean;
3482
3482
  CanDelete: z.ZodBoolean;
3483
- ReadRLSFilterID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3484
- CreateRLSFilterID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3485
- UpdateRLSFilterID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3486
- DeleteRLSFilterID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3483
+ ReadRLSFilterID: z.ZodNullable<z.ZodString>;
3484
+ CreateRLSFilterID: z.ZodNullable<z.ZodString>;
3485
+ UpdateRLSFilterID: z.ZodNullable<z.ZodString>;
3486
+ DeleteRLSFilterID: z.ZodNullable<z.ZodString>;
3487
3487
  __mj_CreatedAt: z.ZodDate;
3488
3488
  __mj_UpdatedAt: z.ZodDate;
3489
3489
  Entity: z.ZodString;
3490
3490
  RoleName: z.ZodString;
3491
- RoleSQLName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3492
- CreateRLSFilter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3493
- ReadRLSFilter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3494
- UpdateRLSFilter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3495
- DeleteRLSFilter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3491
+ RoleSQLName: z.ZodNullable<z.ZodString>;
3492
+ CreateRLSFilter: z.ZodNullable<z.ZodString>;
3493
+ ReadRLSFilter: z.ZodNullable<z.ZodString>;
3494
+ UpdateRLSFilter: z.ZodNullable<z.ZodString>;
3495
+ DeleteRLSFilter: z.ZodNullable<z.ZodString>;
3496
3496
  }, "strip", z.ZodTypeAny, {
3497
3497
  ID?: string;
3498
3498
  __mj_CreatedAt?: Date;
@@ -3545,10 +3545,10 @@ export declare const EntityRecordDocumentSchema: z.ZodObject<{
3545
3545
  EntityID: z.ZodString;
3546
3546
  RecordID: z.ZodString;
3547
3547
  EntityDocumentID: z.ZodString;
3548
- DocumentText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3548
+ DocumentText: z.ZodNullable<z.ZodString>;
3549
3549
  VectorIndexID: z.ZodString;
3550
- VectorID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3551
- VectorJSON: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3550
+ VectorID: z.ZodNullable<z.ZodString>;
3551
+ VectorJSON: z.ZodNullable<z.ZodString>;
3552
3552
  EntityRecordUpdatedAt: z.ZodDate;
3553
3553
  __mj_CreatedAt: z.ZodDate;
3554
3554
  __mj_UpdatedAt: z.ZodDate;
@@ -3593,7 +3593,7 @@ export type EntityRecordDocumentEntityType = z.infer<typeof EntityRecordDocument
3593
3593
  export declare const EntityRelationshipDisplayComponentSchema: z.ZodObject<{
3594
3594
  ID: z.ZodString;
3595
3595
  Name: z.ZodString;
3596
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3596
+ Description: z.ZodNullable<z.ZodString>;
3597
3597
  RelationshipType: z.ZodUnion<[z.ZodLiteral<"One to Many">, z.ZodLiteral<"Many to Many">, z.ZodLiteral<"Both">]>;
3598
3598
  __mj_CreatedAt: z.ZodDate;
3599
3599
  __mj_UpdatedAt: z.ZodDate;
@@ -3624,19 +3624,19 @@ export declare const EntityRelationshipSchema: z.ZodObject<{
3624
3624
  BundleInAPI: z.ZodBoolean;
3625
3625
  IncludeInParentAllQuery: z.ZodBoolean;
3626
3626
  Type: z.ZodUnion<[z.ZodLiteral<"One To Many">, z.ZodLiteral<"Many To Many">]>;
3627
- EntityKeyField: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3627
+ EntityKeyField: z.ZodNullable<z.ZodString>;
3628
3628
  RelatedEntityJoinField: z.ZodString;
3629
- JoinView: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3630
- JoinEntityJoinField: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3631
- JoinEntityInverseJoinField: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3629
+ JoinView: z.ZodNullable<z.ZodString>;
3630
+ JoinEntityJoinField: z.ZodNullable<z.ZodString>;
3631
+ JoinEntityInverseJoinField: z.ZodNullable<z.ZodString>;
3632
3632
  DisplayInForm: z.ZodBoolean;
3633
3633
  DisplayLocation: z.ZodUnion<[z.ZodLiteral<"After Field Tabs">, z.ZodLiteral<"Before Field Tabs">]>;
3634
- DisplayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3634
+ DisplayName: z.ZodNullable<z.ZodString>;
3635
3635
  DisplayIconType: z.ZodUnion<[z.ZodLiteral<"Related Entity Icon">, z.ZodLiteral<"Custom">, z.ZodLiteral<"None">]>;
3636
- DisplayIcon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3637
- DisplayUserViewID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3638
- DisplayComponentID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3639
- DisplayComponentConfiguration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3636
+ DisplayIcon: z.ZodNullable<z.ZodString>;
3637
+ DisplayUserViewID: z.ZodNullable<z.ZodString>;
3638
+ DisplayComponentID: z.ZodNullable<z.ZodString>;
3639
+ DisplayComponentConfiguration: z.ZodNullable<z.ZodString>;
3640
3640
  __mj_CreatedAt: z.ZodDate;
3641
3641
  __mj_UpdatedAt: z.ZodDate;
3642
3642
  AutoUpdateFromSchema: z.ZodBoolean;
@@ -3646,10 +3646,10 @@ export declare const EntityRelationshipSchema: z.ZodObject<{
3646
3646
  RelatedEntity: z.ZodString;
3647
3647
  RelatedEntityBaseTable: z.ZodString;
3648
3648
  RelatedEntityBaseView: z.ZodString;
3649
- RelatedEntityClassName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3650
- RelatedEntityCodeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3651
- RelatedEntityBaseTableCodeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3652
- DisplayUserViewName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3649
+ RelatedEntityClassName: z.ZodNullable<z.ZodString>;
3650
+ RelatedEntityCodeName: z.ZodNullable<z.ZodString>;
3651
+ RelatedEntityBaseTableCodeName: z.ZodNullable<z.ZodString>;
3652
+ DisplayUserViewName: z.ZodNullable<z.ZodString>;
3653
3653
  }, "strip", z.ZodTypeAny, {
3654
3654
  ID?: string;
3655
3655
  __mj_CreatedAt?: Date;
@@ -3728,7 +3728,7 @@ export declare const EntitySettingSchema: z.ZodObject<{
3728
3728
  EntityID: z.ZodString;
3729
3729
  Name: z.ZodString;
3730
3730
  Value: z.ZodString;
3731
- Comments: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3731
+ Comments: z.ZodNullable<z.ZodString>;
3732
3732
  __mj_CreatedAt: z.ZodDate;
3733
3733
  __mj_UpdatedAt: z.ZodDate;
3734
3734
  Entity: z.ZodString;
@@ -3757,14 +3757,14 @@ export type EntitySettingEntityType = z.infer<typeof EntitySettingSchema>;
3757
3757
  */
3758
3758
  export declare const ErrorLogSchema: z.ZodObject<{
3759
3759
  ID: z.ZodString;
3760
- CompanyIntegrationRunID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3761
- CompanyIntegrationRunDetailID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3762
- Code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3763
- Message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3764
- CreatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3765
- Status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3766
- Category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3767
- Details: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3760
+ CompanyIntegrationRunID: z.ZodNullable<z.ZodString>;
3761
+ CompanyIntegrationRunDetailID: z.ZodNullable<z.ZodString>;
3762
+ Code: z.ZodNullable<z.ZodString>;
3763
+ Message: z.ZodNullable<z.ZodString>;
3764
+ CreatedBy: z.ZodNullable<z.ZodString>;
3765
+ Status: z.ZodNullable<z.ZodString>;
3766
+ Category: z.ZodNullable<z.ZodString>;
3767
+ Details: z.ZodNullable<z.ZodString>;
3768
3768
  __mj_CreatedAt: z.ZodDate;
3769
3769
  __mj_UpdatedAt: z.ZodDate;
3770
3770
  }, "strip", z.ZodTypeAny, {
@@ -3804,9 +3804,9 @@ export declare const ExplorerNavigationItemSchema: z.ZodObject<{
3804
3804
  IsActive: z.ZodBoolean;
3805
3805
  ShowInHomeScreen: z.ZodBoolean;
3806
3806
  ShowInNavigationDrawer: z.ZodBoolean;
3807
- IconCSSClass: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3808
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3809
- Comments: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3807
+ IconCSSClass: z.ZodNullable<z.ZodString>;
3808
+ Description: z.ZodNullable<z.ZodString>;
3809
+ Comments: z.ZodNullable<z.ZodString>;
3810
3810
  __mj_CreatedAt: z.ZodDate;
3811
3811
  __mj_UpdatedAt: z.ZodDate;
3812
3812
  }, "strip", z.ZodTypeAny, {
@@ -3843,11 +3843,11 @@ export type ExplorerNavigationItemEntityType = z.infer<typeof ExplorerNavigation
3843
3843
  export declare const FileCategorySchema: z.ZodObject<{
3844
3844
  ID: z.ZodString;
3845
3845
  Name: z.ZodString;
3846
- ParentID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3847
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3846
+ ParentID: z.ZodNullable<z.ZodString>;
3847
+ Description: z.ZodNullable<z.ZodString>;
3848
3848
  __mj_CreatedAt: z.ZodDate;
3849
3849
  __mj_UpdatedAt: z.ZodDate;
3850
- Parent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3850
+ Parent: z.ZodNullable<z.ZodString>;
3851
3851
  }, "strip", z.ZodTypeAny, {
3852
3852
  ID?: string;
3853
3853
  __mj_CreatedAt?: Date;
@@ -3904,7 +3904,7 @@ export type FileEntityRecordLinkEntityType = z.infer<typeof FileEntityRecordLink
3904
3904
  export declare const FileStorageProviderSchema: z.ZodObject<{
3905
3905
  ID: z.ZodString;
3906
3906
  Name: z.ZodString;
3907
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3907
+ Description: z.ZodNullable<z.ZodString>;
3908
3908
  ServerDriverKey: z.ZodString;
3909
3909
  ClientDriverKey: z.ZodString;
3910
3910
  Priority: z.ZodNumber;
@@ -3939,15 +3939,15 @@ export type FileStorageProviderEntityType = z.infer<typeof FileStorageProviderSc
3939
3939
  export declare const FileSchema: z.ZodObject<{
3940
3940
  ID: z.ZodString;
3941
3941
  Name: z.ZodString;
3942
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3943
- CategoryID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3942
+ Description: z.ZodNullable<z.ZodString>;
3943
+ CategoryID: z.ZodNullable<z.ZodString>;
3944
3944
  ProviderID: z.ZodString;
3945
- ContentType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3946
- ProviderKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3945
+ ContentType: z.ZodNullable<z.ZodString>;
3946
+ ProviderKey: z.ZodNullable<z.ZodString>;
3947
3947
  Status: z.ZodString;
3948
3948
  __mj_CreatedAt: z.ZodDate;
3949
3949
  __mj_UpdatedAt: z.ZodDate;
3950
- Category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3950
+ Category: z.ZodNullable<z.ZodString>;
3951
3951
  Provider: z.ZodString;
3952
3952
  }, "strip", z.ZodTypeAny, {
3953
3953
  Category?: string;
@@ -3977,6 +3977,94 @@ export declare const FileSchema: z.ZodObject<{
3977
3977
  Provider?: string;
3978
3978
  }>;
3979
3979
  export type FileEntityType = z.infer<typeof FileSchema>;
3980
+ /**
3981
+ * zod schema definition for the entity Generated Code Categories
3982
+ */
3983
+ export declare const GeneratedCodeCategorySchema: z.ZodObject<{
3984
+ ID: z.ZodString;
3985
+ Name: z.ZodString;
3986
+ Description: z.ZodNullable<z.ZodString>;
3987
+ ParentID: z.ZodNullable<z.ZodString>;
3988
+ __mj_CreatedAt: z.ZodDate;
3989
+ __mj_UpdatedAt: z.ZodDate;
3990
+ Parent: z.ZodNullable<z.ZodString>;
3991
+ }, "strip", z.ZodTypeAny, {
3992
+ ID?: string;
3993
+ __mj_CreatedAt?: Date;
3994
+ __mj_UpdatedAt?: Date;
3995
+ Name?: string;
3996
+ Description?: string;
3997
+ ParentID?: string;
3998
+ Parent?: string;
3999
+ }, {
4000
+ ID?: string;
4001
+ __mj_CreatedAt?: Date;
4002
+ __mj_UpdatedAt?: Date;
4003
+ Name?: string;
4004
+ Description?: string;
4005
+ ParentID?: string;
4006
+ Parent?: string;
4007
+ }>;
4008
+ export type GeneratedCodeCategoryEntityType = z.infer<typeof GeneratedCodeCategorySchema>;
4009
+ /**
4010
+ * zod schema definition for the entity Generated Codes
4011
+ */
4012
+ export declare const GeneratedCodeSchema: z.ZodObject<{
4013
+ ID: z.ZodString;
4014
+ GeneratedAt: z.ZodDate;
4015
+ CategoryID: z.ZodString;
4016
+ GeneratedByModelID: z.ZodString;
4017
+ Name: z.ZodString;
4018
+ Description: z.ZodNullable<z.ZodString>;
4019
+ Code: z.ZodString;
4020
+ Source: z.ZodString;
4021
+ LinkedEntityID: z.ZodNullable<z.ZodString>;
4022
+ LinkedRecordPrimaryKey: z.ZodNullable<z.ZodString>;
4023
+ Status: z.ZodUnion<[z.ZodLiteral<"Pending">, z.ZodLiteral<"Approved">, z.ZodLiteral<"Rejected">]>;
4024
+ Language: z.ZodUnion<[z.ZodLiteral<"TypeScript">, z.ZodLiteral<"SQL">, z.ZodLiteral<"HTML">, z.ZodLiteral<"CSS">, z.ZodLiteral<"JavaScript">, z.ZodLiteral<"Python">, z.ZodLiteral<"Other">]>;
4025
+ __mj_CreatedAt: z.ZodDate;
4026
+ __mj_UpdatedAt: z.ZodDate;
4027
+ Category: z.ZodString;
4028
+ GeneratedByModel: z.ZodString;
4029
+ LinkedEntity: z.ZodNullable<z.ZodString>;
4030
+ }, "strip", z.ZodTypeAny, {
4031
+ Category?: string;
4032
+ ID?: string;
4033
+ __mj_CreatedAt?: Date;
4034
+ __mj_UpdatedAt?: Date;
4035
+ Name?: string;
4036
+ Description?: string;
4037
+ Status?: "Pending" | "Approved" | "Rejected";
4038
+ Code?: string;
4039
+ CategoryID?: string;
4040
+ Source?: string;
4041
+ LinkedEntityID?: string;
4042
+ LinkedEntity?: string;
4043
+ GeneratedAt?: Date;
4044
+ GeneratedByModelID?: string;
4045
+ LinkedRecordPrimaryKey?: string;
4046
+ Language?: "Other" | "SQL" | "TypeScript" | "HTML" | "CSS" | "JavaScript" | "Python";
4047
+ GeneratedByModel?: string;
4048
+ }, {
4049
+ Category?: string;
4050
+ ID?: string;
4051
+ __mj_CreatedAt?: Date;
4052
+ __mj_UpdatedAt?: Date;
4053
+ Name?: string;
4054
+ Description?: string;
4055
+ Status?: "Pending" | "Approved" | "Rejected";
4056
+ Code?: string;
4057
+ CategoryID?: string;
4058
+ Source?: string;
4059
+ LinkedEntityID?: string;
4060
+ LinkedEntity?: string;
4061
+ GeneratedAt?: Date;
4062
+ GeneratedByModelID?: string;
4063
+ LinkedRecordPrimaryKey?: string;
4064
+ Language?: "Other" | "SQL" | "TypeScript" | "HTML" | "CSS" | "JavaScript" | "Python";
4065
+ GeneratedByModel?: string;
4066
+ }>;
4067
+ export type GeneratedCodeEntityType = z.infer<typeof GeneratedCodeSchema>;
3980
4068
  /**
3981
4069
  * zod schema definition for the entity Integration URL Formats
3982
4070
  */
@@ -3985,12 +4073,12 @@ export declare const IntegrationURLFormatSchema: z.ZodObject<{
3985
4073
  IntegrationID: z.ZodString;
3986
4074
  EntityID: z.ZodString;
3987
4075
  URLFormat: z.ZodString;
3988
- Comments: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4076
+ Comments: z.ZodNullable<z.ZodString>;
3989
4077
  __mj_CreatedAt: z.ZodDate;
3990
4078
  __mj_UpdatedAt: z.ZodDate;
3991
4079
  Integration: z.ZodString;
3992
- NavigationBaseURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3993
- FullURLFormat: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4080
+ NavigationBaseURL: z.ZodNullable<z.ZodString>;
4081
+ FullURLFormat: z.ZodNullable<z.ZodString>;
3994
4082
  }, "strip", z.ZodTypeAny, {
3995
4083
  ID?: string;
3996
4084
  Comments?: string;
@@ -4020,10 +4108,10 @@ export type IntegrationURLFormatEntityType = z.infer<typeof IntegrationURLFormat
4020
4108
  */
4021
4109
  export declare const IntegrationSchema: z.ZodObject<{
4022
4110
  Name: z.ZodString;
4023
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4024
- NavigationBaseURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4025
- ClassName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4026
- ImportPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4111
+ Description: z.ZodNullable<z.ZodString>;
4112
+ NavigationBaseURL: z.ZodNullable<z.ZodString>;
4113
+ ClassName: z.ZodNullable<z.ZodString>;
4114
+ ImportPath: z.ZodNullable<z.ZodString>;
4027
4115
  BatchMaxRequestCount: z.ZodNumber;
4028
4116
  BatchRequestWaitTime: z.ZodNumber;
4029
4117
  __mj_CreatedAt: z.ZodDate;
@@ -4059,10 +4147,10 @@ export type IntegrationEntityType = z.infer<typeof IntegrationSchema>;
4059
4147
  export declare const LibrarySchema: z.ZodObject<{
4060
4148
  ID: z.ZodString;
4061
4149
  Name: z.ZodString;
4062
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4150
+ Description: z.ZodNullable<z.ZodString>;
4063
4151
  Status: z.ZodUnion<[z.ZodLiteral<"Pending">, z.ZodLiteral<"Active">, z.ZodLiteral<"Disabled">]>;
4064
- TypeDefinitions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4065
- SampleCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4152
+ TypeDefinitions: z.ZodNullable<z.ZodString>;
4153
+ SampleCode: z.ZodNullable<z.ZodString>;
4066
4154
  __mj_CreatedAt: z.ZodDate;
4067
4155
  __mj_UpdatedAt: z.ZodDate;
4068
4156
  }, "strip", z.ZodTypeAny, {
@@ -4120,12 +4208,12 @@ export type LibraryItemEntityType = z.infer<typeof LibraryItemSchema>;
4120
4208
  export declare const ListCategorySchema: z.ZodObject<{
4121
4209
  ID: z.ZodString;
4122
4210
  Name: z.ZodString;
4123
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4124
- ParentID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4211
+ Description: z.ZodNullable<z.ZodString>;
4212
+ ParentID: z.ZodNullable<z.ZodString>;
4125
4213
  UserID: z.ZodString;
4126
4214
  __mj_CreatedAt: z.ZodDate;
4127
4215
  __mj_UpdatedAt: z.ZodDate;
4128
- Parent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4216
+ Parent: z.ZodNullable<z.ZodString>;
4129
4217
  User: z.ZodString;
4130
4218
  }, "strip", z.ZodTypeAny, {
4131
4219
  ID?: string;
@@ -4160,7 +4248,7 @@ export declare const ListDetailSchema: z.ZodObject<{
4160
4248
  __mj_CreatedAt: z.ZodDate;
4161
4249
  __mj_UpdatedAt: z.ZodDate;
4162
4250
  Status: z.ZodUnion<[z.ZodLiteral<"Pending">, z.ZodLiteral<"Active">, z.ZodLiteral<"Disabled">, z.ZodLiteral<"Rejected">, z.ZodLiteral<"Complete">, z.ZodLiteral<"Error">, z.ZodLiteral<"Other">]>;
4163
- AdditionalData: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4251
+ AdditionalData: z.ZodNullable<z.ZodString>;
4164
4252
  List: z.ZodString;
4165
4253
  }, "strip", z.ZodTypeAny, {
4166
4254
  List?: string;
@@ -4190,17 +4278,17 @@ export type ListDetailEntityType = z.infer<typeof ListDetailSchema>;
4190
4278
  export declare const ListSchema: z.ZodObject<{
4191
4279
  ID: z.ZodString;
4192
4280
  Name: z.ZodString;
4193
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4281
+ Description: z.ZodNullable<z.ZodString>;
4194
4282
  EntityID: z.ZodString;
4195
4283
  UserID: z.ZodString;
4196
- CategoryID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4197
- ExternalSystemRecordID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4198
- CompanyIntegrationID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4284
+ CategoryID: z.ZodNullable<z.ZodString>;
4285
+ ExternalSystemRecordID: z.ZodNullable<z.ZodString>;
4286
+ CompanyIntegrationID: z.ZodNullable<z.ZodString>;
4199
4287
  __mj_CreatedAt: z.ZodDate;
4200
4288
  __mj_UpdatedAt: z.ZodDate;
4201
4289
  Entity: z.ZodString;
4202
4290
  User: z.ZodString;
4203
- Category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4291
+ Category: z.ZodNullable<z.ZodString>;
4204
4292
  }, "strip", z.ZodTypeAny, {
4205
4293
  Category?: string;
4206
4294
  ID?: string;
@@ -4231,13 +4319,83 @@ export declare const ListSchema: z.ZodObject<{
4231
4319
  ExternalSystemRecordID?: string;
4232
4320
  }>;
4233
4321
  export type ListEntityType = z.infer<typeof ListSchema>;
4322
+ /**
4323
+ * zod schema definition for the entity MJ: Report User States
4324
+ */
4325
+ export declare const ReportUserStateSchema: z.ZodObject<{
4326
+ ID: z.ZodString;
4327
+ ReportID: z.ZodString;
4328
+ UserID: z.ZodString;
4329
+ ReportState: z.ZodNullable<z.ZodString>;
4330
+ __mj_CreatedAt: z.ZodDate;
4331
+ __mj_UpdatedAt: z.ZodDate;
4332
+ Report: z.ZodString;
4333
+ User: z.ZodString;
4334
+ }, "strip", z.ZodTypeAny, {
4335
+ ID?: string;
4336
+ __mj_CreatedAt?: Date;
4337
+ __mj_UpdatedAt?: Date;
4338
+ UserID?: string;
4339
+ User?: string;
4340
+ ReportID?: string;
4341
+ ReportState?: string;
4342
+ Report?: string;
4343
+ }, {
4344
+ ID?: string;
4345
+ __mj_CreatedAt?: Date;
4346
+ __mj_UpdatedAt?: Date;
4347
+ UserID?: string;
4348
+ User?: string;
4349
+ ReportID?: string;
4350
+ ReportState?: string;
4351
+ Report?: string;
4352
+ }>;
4353
+ export type ReportUserStateEntityType = z.infer<typeof ReportUserStateSchema>;
4354
+ /**
4355
+ * zod schema definition for the entity MJ: Report Versions
4356
+ */
4357
+ export declare const ReportVersionSchema: z.ZodObject<{
4358
+ ID: z.ZodString;
4359
+ ReportID: z.ZodString;
4360
+ VersionNumber: z.ZodNumber;
4361
+ Name: z.ZodString;
4362
+ Description: z.ZodNullable<z.ZodString>;
4363
+ Configuration: z.ZodNullable<z.ZodString>;
4364
+ DataContextUpdated: z.ZodBoolean;
4365
+ __mj_CreatedAt: z.ZodDate;
4366
+ __mj_UpdatedAt: z.ZodDate;
4367
+ Report: z.ZodString;
4368
+ }, "strip", z.ZodTypeAny, {
4369
+ ID?: string;
4370
+ __mj_CreatedAt?: Date;
4371
+ __mj_UpdatedAt?: Date;
4372
+ Name?: string;
4373
+ Description?: string;
4374
+ ReportID?: string;
4375
+ Report?: string;
4376
+ VersionNumber?: number;
4377
+ Configuration?: string;
4378
+ DataContextUpdated?: boolean;
4379
+ }, {
4380
+ ID?: string;
4381
+ __mj_CreatedAt?: Date;
4382
+ __mj_UpdatedAt?: Date;
4383
+ Name?: string;
4384
+ Description?: string;
4385
+ ReportID?: string;
4386
+ Report?: string;
4387
+ VersionNumber?: number;
4388
+ Configuration?: string;
4389
+ DataContextUpdated?: boolean;
4390
+ }>;
4391
+ export type ReportVersionEntityType = z.infer<typeof ReportVersionSchema>;
4234
4392
  /**
4235
4393
  * zod schema definition for the entity Output Delivery Types
4236
4394
  */
4237
4395
  export declare const OutputDeliveryTypeSchema: z.ZodObject<{
4238
4396
  ID: z.ZodString;
4239
4397
  Name: z.ZodString;
4240
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4398
+ Description: z.ZodNullable<z.ZodString>;
4241
4399
  __mj_CreatedAt: z.ZodDate;
4242
4400
  __mj_UpdatedAt: z.ZodDate;
4243
4401
  }, "strip", z.ZodTypeAny, {
@@ -4260,8 +4418,8 @@ export type OutputDeliveryTypeEntityType = z.infer<typeof OutputDeliveryTypeSche
4260
4418
  export declare const OutputFormatTypeSchema: z.ZodObject<{
4261
4419
  ID: z.ZodString;
4262
4420
  Name: z.ZodString;
4263
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4264
- DisplayFormat: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4421
+ Description: z.ZodNullable<z.ZodString>;
4422
+ DisplayFormat: z.ZodNullable<z.ZodString>;
4265
4423
  __mj_CreatedAt: z.ZodDate;
4266
4424
  __mj_UpdatedAt: z.ZodDate;
4267
4425
  }, "strip", z.ZodTypeAny, {
@@ -4286,7 +4444,7 @@ export type OutputFormatTypeEntityType = z.infer<typeof OutputFormatTypeSchema>;
4286
4444
  export declare const OutputTriggerTypeSchema: z.ZodObject<{
4287
4445
  ID: z.ZodString;
4288
4446
  Name: z.ZodString;
4289
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4447
+ Description: z.ZodNullable<z.ZodString>;
4290
4448
  __mj_CreatedAt: z.ZodDate;
4291
4449
  __mj_UpdatedAt: z.ZodDate;
4292
4450
  }, "strip", z.ZodTypeAny, {
@@ -4309,19 +4467,19 @@ export type OutputTriggerTypeEntityType = z.infer<typeof OutputTriggerTypeSchema
4309
4467
  export declare const QuerySchema: z.ZodObject<{
4310
4468
  ID: z.ZodString;
4311
4469
  Name: z.ZodString;
4312
- CategoryID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4313
- UserQuestion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4314
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4315
- SQL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4316
- TechnicalDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4317
- OriginalSQL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4318
- Feedback: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4470
+ CategoryID: z.ZodNullable<z.ZodString>;
4471
+ UserQuestion: z.ZodNullable<z.ZodString>;
4472
+ Description: z.ZodNullable<z.ZodString>;
4473
+ SQL: z.ZodNullable<z.ZodString>;
4474
+ TechnicalDescription: z.ZodNullable<z.ZodString>;
4475
+ OriginalSQL: z.ZodNullable<z.ZodString>;
4476
+ Feedback: z.ZodNullable<z.ZodString>;
4319
4477
  Status: z.ZodUnion<[z.ZodLiteral<"Pending">, z.ZodLiteral<"Approved">, z.ZodLiteral<"Rejected">, z.ZodLiteral<"Expired">]>;
4320
- QualityRank: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4321
- ExecutionCostRank: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4478
+ QualityRank: z.ZodNullable<z.ZodNumber>;
4479
+ ExecutionCostRank: z.ZodNullable<z.ZodNumber>;
4322
4480
  __mj_CreatedAt: z.ZodDate;
4323
4481
  __mj_UpdatedAt: z.ZodDate;
4324
- Category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4482
+ Category: z.ZodNullable<z.ZodString>;
4325
4483
  }, "strip", z.ZodTypeAny, {
4326
4484
  Category?: string;
4327
4485
  ID?: string;
@@ -4362,12 +4520,12 @@ export type QueryEntityType = z.infer<typeof QuerySchema>;
4362
4520
  export declare const QueryCategorySchema: z.ZodObject<{
4363
4521
  ID: z.ZodString;
4364
4522
  Name: z.ZodString;
4365
- ParentID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4366
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4523
+ ParentID: z.ZodNullable<z.ZodString>;
4524
+ Description: z.ZodNullable<z.ZodString>;
4367
4525
  UserID: z.ZodString;
4368
4526
  __mj_CreatedAt: z.ZodDate;
4369
4527
  __mj_UpdatedAt: z.ZodDate;
4370
- Parent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4528
+ Parent: z.ZodNullable<z.ZodString>;
4371
4529
  User: z.ZodString;
4372
4530
  }, "strip", z.ZodTypeAny, {
4373
4531
  ID?: string;
@@ -4427,20 +4585,20 @@ export declare const QueryFieldSchema: z.ZodObject<{
4427
4585
  ID: z.ZodString;
4428
4586
  QueryID: z.ZodString;
4429
4587
  Name: z.ZodString;
4430
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4588
+ Description: z.ZodNullable<z.ZodString>;
4431
4589
  Sequence: z.ZodNumber;
4432
4590
  SQLBaseType: z.ZodString;
4433
4591
  SQLFullType: z.ZodString;
4434
- SourceEntityID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4435
- SourceFieldName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4592
+ SourceEntityID: z.ZodNullable<z.ZodString>;
4593
+ SourceFieldName: z.ZodNullable<z.ZodString>;
4436
4594
  IsComputed: z.ZodBoolean;
4437
- ComputationDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4595
+ ComputationDescription: z.ZodNullable<z.ZodString>;
4438
4596
  IsSummary: z.ZodBoolean;
4439
- SummaryDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4597
+ SummaryDescription: z.ZodNullable<z.ZodString>;
4440
4598
  __mj_CreatedAt: z.ZodDate;
4441
4599
  __mj_UpdatedAt: z.ZodDate;
4442
4600
  Query: z.ZodString;
4443
- SourceEntity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4601
+ SourceEntity: z.ZodNullable<z.ZodString>;
4444
4602
  }, "strip", z.ZodTypeAny, {
4445
4603
  ID?: string;
4446
4604
  __mj_CreatedAt?: Date;
@@ -4515,13 +4673,13 @@ export declare const QueueTaskSchema: z.ZodObject<{
4515
4673
  ID: z.ZodString;
4516
4674
  QueueID: z.ZodString;
4517
4675
  Status: z.ZodUnion<[z.ZodLiteral<"In Progress">, z.ZodLiteral<"Completed">, z.ZodLiteral<"Failed">]>;
4518
- StartedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
4519
- EndedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
4520
- Data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4521
- Options: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4522
- Output: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4523
- ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4524
- Comments: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4676
+ StartedAt: z.ZodNullable<z.ZodDate>;
4677
+ EndedAt: z.ZodNullable<z.ZodDate>;
4678
+ Data: z.ZodNullable<z.ZodString>;
4679
+ Options: z.ZodNullable<z.ZodString>;
4680
+ Output: z.ZodNullable<z.ZodString>;
4681
+ ErrorMessage: z.ZodNullable<z.ZodString>;
4682
+ Comments: z.ZodNullable<z.ZodString>;
4525
4683
  __mj_CreatedAt: z.ZodDate;
4526
4684
  __mj_UpdatedAt: z.ZodDate;
4527
4685
  Queue: z.ZodString;
@@ -4561,9 +4719,9 @@ export type QueueTaskEntityType = z.infer<typeof QueueTaskSchema>;
4561
4719
  export declare const QueueTypeSchema: z.ZodObject<{
4562
4720
  ID: z.ZodString;
4563
4721
  Name: z.ZodString;
4564
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4722
+ Description: z.ZodNullable<z.ZodString>;
4565
4723
  DriverClass: z.ZodString;
4566
- DriverImportPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4724
+ DriverImportPath: z.ZodNullable<z.ZodString>;
4567
4725
  IsActive: z.ZodBoolean;
4568
4726
  __mj_CreatedAt: z.ZodDate;
4569
4727
  __mj_UpdatedAt: z.ZodDate;
@@ -4593,20 +4751,20 @@ export type QueueTypeEntityType = z.infer<typeof QueueTypeSchema>;
4593
4751
  export declare const QueueSchema: z.ZodObject<{
4594
4752
  ID: z.ZodString;
4595
4753
  Name: z.ZodString;
4596
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4754
+ Description: z.ZodNullable<z.ZodString>;
4597
4755
  QueueTypeID: z.ZodString;
4598
4756
  IsActive: z.ZodBoolean;
4599
- ProcessPID: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4600
- ProcessPlatform: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4601
- ProcessVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4602
- ProcessCwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4603
- ProcessIPAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4604
- ProcessMacAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4605
- ProcessOSName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4606
- ProcessOSVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4607
- ProcessHostName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4608
- ProcessUserID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4609
- ProcessUserName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4757
+ ProcessPID: z.ZodNullable<z.ZodNumber>;
4758
+ ProcessPlatform: z.ZodNullable<z.ZodString>;
4759
+ ProcessVersion: z.ZodNullable<z.ZodString>;
4760
+ ProcessCwd: z.ZodNullable<z.ZodString>;
4761
+ ProcessIPAddress: z.ZodNullable<z.ZodString>;
4762
+ ProcessMacAddress: z.ZodNullable<z.ZodString>;
4763
+ ProcessOSName: z.ZodNullable<z.ZodString>;
4764
+ ProcessOSVersion: z.ZodNullable<z.ZodString>;
4765
+ ProcessHostName: z.ZodNullable<z.ZodString>;
4766
+ ProcessUserID: z.ZodNullable<z.ZodString>;
4767
+ ProcessUserName: z.ZodNullable<z.ZodString>;
4610
4768
  LastHeartbeat: z.ZodDate;
4611
4769
  __mj_CreatedAt: z.ZodDate;
4612
4770
  __mj_UpdatedAt: z.ZodDate;
@@ -4663,7 +4821,7 @@ export declare const RecommendationItemSchema: z.ZodObject<{
4663
4821
  RecommendationID: z.ZodString;
4664
4822
  DestinationEntityID: z.ZodString;
4665
4823
  DestinationEntityRecordID: z.ZodString;
4666
- MatchProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4824
+ MatchProbability: z.ZodNullable<z.ZodNumber>;
4667
4825
  __mj_CreatedAt: z.ZodDate;
4668
4826
  __mj_UpdatedAt: z.ZodDate;
4669
4827
  DestinationEntity: z.ZodString;
@@ -4693,7 +4851,7 @@ export type RecommendationItemEntityType = z.infer<typeof RecommendationItemSche
4693
4851
  export declare const RecommendationProviderSchema: z.ZodObject<{
4694
4852
  ID: z.ZodString;
4695
4853
  Name: z.ZodString;
4696
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4854
+ Description: z.ZodNullable<z.ZodString>;
4697
4855
  __mj_CreatedAt: z.ZodDate;
4698
4856
  __mj_UpdatedAt: z.ZodDate;
4699
4857
  }, "strip", z.ZodTypeAny, {
@@ -4717,9 +4875,9 @@ export declare const RecommendationRunSchema: z.ZodObject<{
4717
4875
  ID: z.ZodString;
4718
4876
  RecommendationProviderID: z.ZodString;
4719
4877
  StartDate: z.ZodDate;
4720
- EndDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
4878
+ EndDate: z.ZodNullable<z.ZodDate>;
4721
4879
  Status: z.ZodUnion<[z.ZodLiteral<"Pending">, z.ZodLiteral<"In Progress">, z.ZodLiteral<"Completed">, z.ZodLiteral<"Canceled">, z.ZodLiteral<"Error">]>;
4722
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4880
+ Description: z.ZodNullable<z.ZodString>;
4723
4881
  RunByUserID: z.ZodString;
4724
4882
  __mj_CreatedAt: z.ZodDate;
4725
4883
  __mj_UpdatedAt: z.ZodDate;
@@ -4786,7 +4944,7 @@ export type RecommendationEntityType = z.infer<typeof RecommendationSchema>;
4786
4944
  export declare const RecordChangeReplayRunSchema: z.ZodObject<{
4787
4945
  ID: z.ZodString;
4788
4946
  StartedAt: z.ZodDate;
4789
- EndedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
4947
+ EndedAt: z.ZodNullable<z.ZodDate>;
4790
4948
  Status: z.ZodUnion<[z.ZodLiteral<"Pending">, z.ZodLiteral<"In Progress">, z.ZodLiteral<"Complete">, z.ZodLiteral<"Error">]>;
4791
4949
  UserID: z.ZodString;
4792
4950
  __mj_CreatedAt: z.ZodDate;
@@ -4827,15 +4985,15 @@ export declare const RecordChangeSchema: z.ZodObject<{
4827
4985
  ChangesDescription: z.ZodString;
4828
4986
  FullRecordJSON: z.ZodString;
4829
4987
  Status: z.ZodUnion<[z.ZodLiteral<"Pending">, z.ZodLiteral<"Complete">, z.ZodLiteral<"Error">]>;
4830
- ErrorLog: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4831
- ReplayRunID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4832
- IntegrationID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4833
- Comments: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4988
+ ErrorLog: z.ZodNullable<z.ZodString>;
4989
+ ReplayRunID: z.ZodNullable<z.ZodString>;
4990
+ IntegrationID: z.ZodNullable<z.ZodString>;
4991
+ Comments: z.ZodNullable<z.ZodString>;
4834
4992
  CreatedAt: z.ZodDate;
4835
4993
  UpdatedAt: z.ZodDate;
4836
4994
  Entity: z.ZodString;
4837
4995
  User: z.ZodString;
4838
- Integration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4996
+ Integration: z.ZodNullable<z.ZodString>;
4839
4997
  }, "strip", z.ZodTypeAny, {
4840
4998
  ID?: string;
4841
4999
  Comments?: string;
@@ -4888,7 +5046,7 @@ export declare const RecordMergeDeletionLogSchema: z.ZodObject<{
4888
5046
  RecordMergeLogID: z.ZodString;
4889
5047
  DeletedRecordID: z.ZodString;
4890
5048
  Status: z.ZodUnion<[z.ZodLiteral<"Pending">, z.ZodLiteral<"Complete">, z.ZodLiteral<"Error">]>;
4891
- ProcessingLog: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5049
+ ProcessingLog: z.ZodNullable<z.ZodString>;
4892
5050
  __mj_CreatedAt: z.ZodDate;
4893
5051
  __mj_UpdatedAt: z.ZodDate;
4894
5052
  }, "strip", z.ZodTypeAny, {
@@ -4918,17 +5076,17 @@ export declare const RecordMergeLogSchema: z.ZodObject<{
4918
5076
  SurvivingRecordID: z.ZodString;
4919
5077
  InitiatedByUserID: z.ZodString;
4920
5078
  ApprovalStatus: z.ZodUnion<[z.ZodLiteral<"Pending">, z.ZodLiteral<"Approved">, z.ZodLiteral<"Rejected">]>;
4921
- ApprovedByUserID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5079
+ ApprovedByUserID: z.ZodNullable<z.ZodString>;
4922
5080
  ProcessingStatus: z.ZodUnion<[z.ZodLiteral<"Started">, z.ZodLiteral<"Complete">, z.ZodLiteral<"Error">]>;
4923
5081
  ProcessingStartedAt: z.ZodDate;
4924
- ProcessingEndedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
4925
- ProcessingLog: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4926
- Comments: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5082
+ ProcessingEndedAt: z.ZodNullable<z.ZodDate>;
5083
+ ProcessingLog: z.ZodNullable<z.ZodString>;
5084
+ Comments: z.ZodNullable<z.ZodString>;
4927
5085
  __mj_CreatedAt: z.ZodDate;
4928
5086
  __mj_UpdatedAt: z.ZodDate;
4929
5087
  Entity: z.ZodString;
4930
5088
  InitiatedByUser: z.ZodString;
4931
- ApprovedByUser: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5089
+ ApprovedByUser: z.ZodNullable<z.ZodString>;
4932
5090
  }, "strip", z.ZodTypeAny, {
4933
5091
  ID?: string;
4934
5092
  Comments?: string;
@@ -4971,12 +5129,12 @@ export type RecordMergeLogEntityType = z.infer<typeof RecordMergeLogSchema>;
4971
5129
  export declare const ReportCategorySchema: z.ZodObject<{
4972
5130
  ID: z.ZodString;
4973
5131
  Name: z.ZodString;
4974
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4975
- ParentID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5132
+ Description: z.ZodNullable<z.ZodString>;
5133
+ ParentID: z.ZodNullable<z.ZodString>;
4976
5134
  UserID: z.ZodString;
4977
5135
  __mj_CreatedAt: z.ZodDate;
4978
5136
  __mj_UpdatedAt: z.ZodDate;
4979
- Parent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5137
+ Parent: z.ZodNullable<z.ZodString>;
4980
5138
  User: z.ZodString;
4981
5139
  }, "strip", z.ZodTypeAny, {
4982
5140
  ID?: string;
@@ -5019,8 +5177,8 @@ export declare const ReportSnapshotSchema: z.ZodObject<{
5019
5177
  UserID?: string;
5020
5178
  User?: string;
5021
5179
  ReportID?: string;
5022
- ResultSet?: string;
5023
5180
  Report?: string;
5181
+ ResultSet?: string;
5024
5182
  }, {
5025
5183
  ID?: string;
5026
5184
  __mj_CreatedAt?: Date;
@@ -5028,8 +5186,8 @@ export declare const ReportSnapshotSchema: z.ZodObject<{
5028
5186
  UserID?: string;
5029
5187
  User?: string;
5030
5188
  ReportID?: string;
5031
- ResultSet?: string;
5032
5189
  Report?: string;
5190
+ ResultSet?: string;
5033
5191
  }>;
5034
5192
  export type ReportSnapshotEntityType = z.infer<typeof ReportSnapshotSchema>;
5035
5193
  /**
@@ -5038,30 +5196,30 @@ export type ReportSnapshotEntityType = z.infer<typeof ReportSnapshotSchema>;
5038
5196
  export declare const ReportSchema: z.ZodObject<{
5039
5197
  ID: z.ZodString;
5040
5198
  Name: z.ZodString;
5041
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5042
- CategoryID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5199
+ Description: z.ZodNullable<z.ZodString>;
5200
+ CategoryID: z.ZodNullable<z.ZodString>;
5043
5201
  UserID: z.ZodString;
5044
5202
  SharingScope: z.ZodUnion<[z.ZodLiteral<"None">, z.ZodLiteral<"Specific">, z.ZodLiteral<"Everyone">]>;
5045
- ConversationID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5046
- ConversationDetailID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5047
- DataContextID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5048
- Configuration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5049
- OutputTriggerTypeID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5050
- OutputFormatTypeID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5051
- OutputDeliveryTypeID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5052
- OutputFrequency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5053
- OutputTargetEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5054
- OutputWorkflowID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5203
+ ConversationID: z.ZodNullable<z.ZodString>;
5204
+ ConversationDetailID: z.ZodNullable<z.ZodString>;
5205
+ DataContextID: z.ZodNullable<z.ZodString>;
5206
+ Configuration: z.ZodNullable<z.ZodString>;
5207
+ OutputTriggerTypeID: z.ZodNullable<z.ZodString>;
5208
+ OutputFormatTypeID: z.ZodNullable<z.ZodString>;
5209
+ OutputDeliveryTypeID: z.ZodNullable<z.ZodString>;
5210
+ OutputFrequency: z.ZodNullable<z.ZodString>;
5211
+ OutputTargetEmail: z.ZodNullable<z.ZodString>;
5212
+ OutputWorkflowID: z.ZodNullable<z.ZodString>;
5055
5213
  __mj_CreatedAt: z.ZodDate;
5056
5214
  __mj_UpdatedAt: z.ZodDate;
5057
- Category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5215
+ Category: z.ZodNullable<z.ZodString>;
5058
5216
  User: z.ZodString;
5059
- Conversation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5060
- DataContext: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5061
- OutputTriggerType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5062
- OutputFormatType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5063
- OutputDeliveryType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5064
- OutputWorkflow: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5217
+ Conversation: z.ZodNullable<z.ZodString>;
5218
+ DataContext: z.ZodNullable<z.ZodString>;
5219
+ OutputTriggerType: z.ZodNullable<z.ZodString>;
5220
+ OutputFormatType: z.ZodNullable<z.ZodString>;
5221
+ OutputDeliveryType: z.ZodNullable<z.ZodString>;
5222
+ OutputWorkflow: z.ZodNullable<z.ZodString>;
5065
5223
  }, "strip", z.ZodTypeAny, {
5066
5224
  Category?: string;
5067
5225
  ID?: string;
@@ -5076,9 +5234,9 @@ export declare const ReportSchema: z.ZodObject<{
5076
5234
  Conversation?: string;
5077
5235
  DataContextID?: string;
5078
5236
  DataContext?: string;
5237
+ Configuration?: string;
5079
5238
  SharingScope?: "None" | "Specific" | "Everyone";
5080
5239
  ConversationDetailID?: string;
5081
- Configuration?: string;
5082
5240
  OutputTriggerTypeID?: string;
5083
5241
  OutputFormatTypeID?: string;
5084
5242
  OutputDeliveryTypeID?: string;
@@ -5103,9 +5261,9 @@ export declare const ReportSchema: z.ZodObject<{
5103
5261
  Conversation?: string;
5104
5262
  DataContextID?: string;
5105
5263
  DataContext?: string;
5264
+ Configuration?: string;
5106
5265
  SharingScope?: "None" | "Specific" | "Everyone";
5107
5266
  ConversationDetailID?: string;
5108
- Configuration?: string;
5109
5267
  OutputTriggerTypeID?: string;
5110
5268
  OutputFormatTypeID?: string;
5111
5269
  OutputDeliveryTypeID?: string;
@@ -5126,7 +5284,7 @@ export declare const ResourceLinkSchema: z.ZodObject<{
5126
5284
  UserID: z.ZodString;
5127
5285
  ResourceTypeID: z.ZodString;
5128
5286
  ResourceRecordID: z.ZodString;
5129
- FolderID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5287
+ FolderID: z.ZodNullable<z.ZodString>;
5130
5288
  __mj_CreatedAt: z.ZodDate;
5131
5289
  __mj_UpdatedAt: z.ZodDate;
5132
5290
  User: z.ZodString;
@@ -5161,17 +5319,17 @@ export declare const ResourcePermissionSchema: z.ZodObject<{
5161
5319
  ResourceTypeID: z.ZodString;
5162
5320
  ResourceRecordID: z.ZodString;
5163
5321
  Type: z.ZodUnion<[z.ZodLiteral<"Role">, z.ZodLiteral<"User">]>;
5164
- StartSharingAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
5165
- EndSharingAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
5166
- RoleID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5167
- UserID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5168
- PermissionLevel: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"View">, z.ZodLiteral<"Edit">, z.ZodLiteral<"Owner">]>>>;
5322
+ StartSharingAt: z.ZodNullable<z.ZodDate>;
5323
+ EndSharingAt: z.ZodNullable<z.ZodDate>;
5324
+ RoleID: z.ZodNullable<z.ZodString>;
5325
+ UserID: z.ZodNullable<z.ZodString>;
5326
+ PermissionLevel: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"View">, z.ZodLiteral<"Edit">, z.ZodLiteral<"Owner">]>>;
5169
5327
  __mj_CreatedAt: z.ZodDate;
5170
5328
  __mj_UpdatedAt: z.ZodDate;
5171
5329
  Status: z.ZodUnion<[z.ZodLiteral<"Requested">, z.ZodLiteral<"Approved">, z.ZodLiteral<"Rejected">, z.ZodLiteral<"Revoked">]>;
5172
5330
  ResourceType: z.ZodString;
5173
- Role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5174
- User: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5331
+ Role: z.ZodNullable<z.ZodString>;
5332
+ User: z.ZodNullable<z.ZodString>;
5175
5333
  }, "strip", z.ZodTypeAny, {
5176
5334
  ID?: string;
5177
5335
  __mj_CreatedAt?: Date;
@@ -5213,14 +5371,14 @@ export declare const ResourceTypeSchema: z.ZodObject<{
5213
5371
  ID: z.ZodString;
5214
5372
  Name: z.ZodString;
5215
5373
  DisplayName: z.ZodString;
5216
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5217
- Icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5218
- EntityID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5374
+ Description: z.ZodNullable<z.ZodString>;
5375
+ Icon: z.ZodNullable<z.ZodString>;
5376
+ EntityID: z.ZodNullable<z.ZodString>;
5219
5377
  __mj_CreatedAt: z.ZodDate;
5220
5378
  __mj_UpdatedAt: z.ZodDate;
5221
- CategoryEntityID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5222
- Entity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5223
- CategoryEntity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5379
+ CategoryEntityID: z.ZodNullable<z.ZodString>;
5380
+ Entity: z.ZodNullable<z.ZodString>;
5381
+ CategoryEntity: z.ZodNullable<z.ZodString>;
5224
5382
  }, "strip", z.ZodTypeAny, {
5225
5383
  ID?: string;
5226
5384
  __mj_CreatedAt?: Date;
@@ -5253,9 +5411,9 @@ export type ResourceTypeEntityType = z.infer<typeof ResourceTypeSchema>;
5253
5411
  export declare const RoleSchema: z.ZodObject<{
5254
5412
  ID: z.ZodString;
5255
5413
  Name: z.ZodString;
5256
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5257
- DirectoryID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5258
- SQLName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5414
+ Description: z.ZodNullable<z.ZodString>;
5415
+ DirectoryID: z.ZodNullable<z.ZodString>;
5416
+ SQLName: z.ZodNullable<z.ZodString>;
5259
5417
  __mj_CreatedAt: z.ZodDate;
5260
5418
  __mj_UpdatedAt: z.ZodDate;
5261
5419
  }, "strip", z.ZodTypeAny, {
@@ -5282,8 +5440,8 @@ export type RoleEntityType = z.infer<typeof RoleSchema>;
5282
5440
  export declare const RowLevelSecurityFilterSchema: z.ZodObject<{
5283
5441
  ID: z.ZodString;
5284
5442
  Name: z.ZodString;
5285
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5286
- FilterText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5443
+ Description: z.ZodNullable<z.ZodString>;
5444
+ FilterText: z.ZodNullable<z.ZodString>;
5287
5445
  __mj_CreatedAt: z.ZodDate;
5288
5446
  __mj_UpdatedAt: z.ZodDate;
5289
5447
  }, "strip", z.ZodTypeAny, {
@@ -5310,8 +5468,8 @@ export declare const ScheduledActionParamSchema: z.ZodObject<{
5310
5468
  ScheduledActionID: z.ZodString;
5311
5469
  ActionParamID: z.ZodString;
5312
5470
  ValueType: z.ZodUnion<[z.ZodLiteral<"Static">, z.ZodLiteral<"SQL Statement">]>;
5313
- Value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5314
- Comments: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5471
+ Value: z.ZodNullable<z.ZodString>;
5472
+ Comments: z.ZodNullable<z.ZodString>;
5315
5473
  __mj_CreatedAt: z.ZodDate;
5316
5474
  __mj_UpdatedAt: z.ZodDate;
5317
5475
  ScheduledAction: z.ZodString;
@@ -5346,18 +5504,18 @@ export type ScheduledActionParamEntityType = z.infer<typeof ScheduledActionParam
5346
5504
  export declare const ScheduledActionSchema: z.ZodObject<{
5347
5505
  ID: z.ZodString;
5348
5506
  Name: z.ZodString;
5349
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5507
+ Description: z.ZodNullable<z.ZodString>;
5350
5508
  CreatedByUserID: z.ZodString;
5351
5509
  ActionID: z.ZodString;
5352
5510
  Type: z.ZodUnion<[z.ZodLiteral<"Daily">, z.ZodLiteral<"Weekly">, z.ZodLiteral<"Monthly">, z.ZodLiteral<"Yearly">, z.ZodLiteral<"Custom">]>;
5353
- CronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5511
+ CronExpression: z.ZodNullable<z.ZodString>;
5354
5512
  Timezone: z.ZodString;
5355
5513
  Status: z.ZodUnion<[z.ZodLiteral<"Pending">, z.ZodLiteral<"Active">, z.ZodLiteral<"Disabled">, z.ZodLiteral<"Expired">]>;
5356
- IntervalDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5357
- DayOfWeek: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5358
- DayOfMonth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5359
- Month: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5360
- CustomCronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5514
+ IntervalDays: z.ZodNullable<z.ZodNumber>;
5515
+ DayOfWeek: z.ZodNullable<z.ZodString>;
5516
+ DayOfMonth: z.ZodNullable<z.ZodNumber>;
5517
+ Month: z.ZodNullable<z.ZodString>;
5518
+ CustomCronExpression: z.ZodNullable<z.ZodString>;
5361
5519
  __mj_CreatedAt: z.ZodDate;
5362
5520
  __mj_UpdatedAt: z.ZodDate;
5363
5521
  CreatedByUser: z.ZodString;
@@ -5410,7 +5568,7 @@ export declare const SchemaInfoSchema: z.ZodObject<{
5410
5568
  SchemaName: z.ZodString;
5411
5569
  EntityIDMin: z.ZodNumber;
5412
5570
  EntityIDMax: z.ZodNumber;
5413
- Comments: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5571
+ Comments: z.ZodNullable<z.ZodString>;
5414
5572
  __mj_CreatedAt: z.ZodDate;
5415
5573
  __mj_UpdatedAt: z.ZodDate;
5416
5574
  }, "strip", z.ZodTypeAny, {
@@ -5437,10 +5595,10 @@ export type SchemaInfoEntityType = z.infer<typeof SchemaInfoSchema>;
5437
5595
  export declare const SkillSchema: z.ZodObject<{
5438
5596
  ID: z.ZodString;
5439
5597
  Name: z.ZodString;
5440
- ParentID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5598
+ ParentID: z.ZodNullable<z.ZodString>;
5441
5599
  __mj_CreatedAt: z.ZodDate;
5442
5600
  __mj_UpdatedAt: z.ZodDate;
5443
- Parent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5601
+ Parent: z.ZodNullable<z.ZodString>;
5444
5602
  }, "strip", z.ZodTypeAny, {
5445
5603
  ID?: string;
5446
5604
  __mj_CreatedAt?: Date;
@@ -5495,12 +5653,12 @@ export type TaggedItemEntityType = z.infer<typeof TaggedItemSchema>;
5495
5653
  export declare const TagSchema: z.ZodObject<{
5496
5654
  ID: z.ZodString;
5497
5655
  Name: z.ZodString;
5498
- ParentID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5656
+ ParentID: z.ZodNullable<z.ZodString>;
5499
5657
  DisplayName: z.ZodString;
5500
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5658
+ Description: z.ZodNullable<z.ZodString>;
5501
5659
  __mj_CreatedAt: z.ZodDate;
5502
5660
  __mj_UpdatedAt: z.ZodDate;
5503
- Parent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5661
+ Parent: z.ZodNullable<z.ZodString>;
5504
5662
  }, "strip", z.ZodTypeAny, {
5505
5663
  ID?: string;
5506
5664
  __mj_CreatedAt?: Date;
@@ -5527,12 +5685,12 @@ export type TagEntityType = z.infer<typeof TagSchema>;
5527
5685
  export declare const TemplateCategorySchema: z.ZodObject<{
5528
5686
  ID: z.ZodString;
5529
5687
  Name: z.ZodString;
5530
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5531
- ParentID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5688
+ Description: z.ZodNullable<z.ZodString>;
5689
+ ParentID: z.ZodNullable<z.ZodString>;
5532
5690
  UserID: z.ZodString;
5533
5691
  __mj_CreatedAt: z.ZodDate;
5534
5692
  __mj_UpdatedAt: z.ZodDate;
5535
- Parent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5693
+ Parent: z.ZodNullable<z.ZodString>;
5536
5694
  User: z.ZodString;
5537
5695
  }, "strip", z.ZodTypeAny, {
5538
5696
  ID?: string;
@@ -5562,7 +5720,7 @@ export type TemplateCategoryEntityType = z.infer<typeof TemplateCategorySchema>;
5562
5720
  export declare const TemplateContentTypeSchema: z.ZodObject<{
5563
5721
  ID: z.ZodString;
5564
5722
  Name: z.ZodString;
5565
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5723
+ Description: z.ZodNullable<z.ZodString>;
5566
5724
  CodeType: z.ZodUnion<[z.ZodLiteral<"TypeScript">, z.ZodLiteral<"SQL">, z.ZodLiteral<"HTML">, z.ZodLiteral<"CSS">, z.ZodLiteral<"JavaScript">, z.ZodLiteral<"JSON">, z.ZodLiteral<"Other">]>;
5567
5725
  __mj_CreatedAt: z.ZodDate;
5568
5726
  __mj_UpdatedAt: z.ZodDate;
@@ -5589,7 +5747,7 @@ export declare const TemplateContentSchema: z.ZodObject<{
5589
5747
  ID: z.ZodString;
5590
5748
  TemplateID: z.ZodString;
5591
5749
  TypeID: z.ZodString;
5592
- TemplateText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5750
+ TemplateText: z.ZodNullable<z.ZodString>;
5593
5751
  Priority: z.ZodNumber;
5594
5752
  IsActive: z.ZodBoolean;
5595
5753
  __mj_CreatedAt: z.ZodDate;
@@ -5627,20 +5785,20 @@ export declare const TemplateParamSchema: z.ZodObject<{
5627
5785
  ID: z.ZodString;
5628
5786
  TemplateID: z.ZodString;
5629
5787
  Name: z.ZodString;
5630
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5788
+ Description: z.ZodNullable<z.ZodString>;
5631
5789
  Type: z.ZodUnion<[z.ZodLiteral<"Scalar">, z.ZodLiteral<"Array">, z.ZodLiteral<"Object">, z.ZodLiteral<"Record">, z.ZodLiteral<"Entity">]>;
5632
- DefaultValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5790
+ DefaultValue: z.ZodNullable<z.ZodString>;
5633
5791
  IsRequired: z.ZodBoolean;
5634
- LinkedParameterName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5635
- LinkedParameterField: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5636
- ExtraFilter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5637
- EntityID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5638
- RecordID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5792
+ LinkedParameterName: z.ZodNullable<z.ZodString>;
5793
+ LinkedParameterField: z.ZodNullable<z.ZodString>;
5794
+ ExtraFilter: z.ZodNullable<z.ZodString>;
5795
+ EntityID: z.ZodNullable<z.ZodString>;
5796
+ RecordID: z.ZodNullable<z.ZodString>;
5639
5797
  __mj_CreatedAt: z.ZodDate;
5640
5798
  __mj_UpdatedAt: z.ZodDate;
5641
- OrderBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5799
+ OrderBy: z.ZodNullable<z.ZodString>;
5642
5800
  Template: z.ZodString;
5643
- Entity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5801
+ Entity: z.ZodNullable<z.ZodString>;
5644
5802
  }, "strip", z.ZodTypeAny, {
5645
5803
  ID?: string;
5646
5804
  __mj_CreatedAt?: Date;
@@ -5685,16 +5843,16 @@ export type TemplateParamEntityType = z.infer<typeof TemplateParamSchema>;
5685
5843
  export declare const TemplateSchema: z.ZodObject<{
5686
5844
  ID: z.ZodString;
5687
5845
  Name: z.ZodString;
5688
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5689
- CategoryID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5690
- UserPrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5846
+ Description: z.ZodNullable<z.ZodString>;
5847
+ CategoryID: z.ZodNullable<z.ZodString>;
5848
+ UserPrompt: z.ZodNullable<z.ZodString>;
5691
5849
  UserID: z.ZodString;
5692
- ActiveAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
5693
- DisabledAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
5850
+ ActiveAt: z.ZodNullable<z.ZodDate>;
5851
+ DisabledAt: z.ZodNullable<z.ZodDate>;
5694
5852
  IsActive: z.ZodBoolean;
5695
5853
  __mj_CreatedAt: z.ZodDate;
5696
5854
  __mj_UpdatedAt: z.ZodDate;
5697
- Category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5855
+ Category: z.ZodNullable<z.ZodString>;
5698
5856
  User: z.ZodString;
5699
5857
  }, "strip", z.ZodTypeAny, {
5700
5858
  Category?: string;
@@ -5837,17 +5995,17 @@ export type UserFavoriteEntityType = z.infer<typeof UserFavoriteSchema>;
5837
5995
  export declare const UserNotificationSchema: z.ZodObject<{
5838
5996
  ID: z.ZodString;
5839
5997
  UserID: z.ZodString;
5840
- Title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5841
- Message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5842
- ResourceTypeID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5843
- ResourceConfiguration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5998
+ Title: z.ZodNullable<z.ZodString>;
5999
+ Message: z.ZodNullable<z.ZodString>;
6000
+ ResourceTypeID: z.ZodNullable<z.ZodString>;
6001
+ ResourceConfiguration: z.ZodNullable<z.ZodString>;
5844
6002
  Unread: z.ZodBoolean;
5845
- ReadAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
6003
+ ReadAt: z.ZodNullable<z.ZodDate>;
5846
6004
  __mj_CreatedAt: z.ZodDate;
5847
6005
  __mj_UpdatedAt: z.ZodDate;
5848
- ResourceRecordID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6006
+ ResourceRecordID: z.ZodNullable<z.ZodString>;
5849
6007
  User: z.ZodString;
5850
- ResourceType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6008
+ ResourceType: z.ZodNullable<z.ZodString>;
5851
6009
  }, "strip", z.ZodTypeAny, {
5852
6010
  ID?: string;
5853
6011
  __mj_CreatedAt?: Date;
@@ -5893,10 +6051,10 @@ export declare const UserRecordLogSchema: z.ZodObject<{
5893
6051
  __mj_UpdatedAt: z.ZodDate;
5894
6052
  Entity: z.ZodString;
5895
6053
  UserName: z.ZodString;
5896
- UserFirstLast: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6054
+ UserFirstLast: z.ZodNullable<z.ZodString>;
5897
6055
  UserEmail: z.ZodString;
5898
- UserSupervisor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5899
- UserSupervisorEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6056
+ UserSupervisor: z.ZodNullable<z.ZodString>;
6057
+ UserSupervisorEmail: z.ZodNullable<z.ZodString>;
5900
6058
  }, "strip", z.ZodTypeAny, {
5901
6059
  ID?: string;
5902
6060
  __mj_CreatedAt?: Date;
@@ -5966,13 +6124,13 @@ export type UserRoleEntityType = z.infer<typeof UserRoleSchema>;
5966
6124
  export declare const UserViewCategorySchema: z.ZodObject<{
5967
6125
  ID: z.ZodString;
5968
6126
  Name: z.ZodString;
5969
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5970
- ParentID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6127
+ Description: z.ZodNullable<z.ZodString>;
6128
+ ParentID: z.ZodNullable<z.ZodString>;
5971
6129
  EntityID: z.ZodString;
5972
6130
  UserID: z.ZodString;
5973
6131
  __mj_CreatedAt: z.ZodDate;
5974
6132
  __mj_UpdatedAt: z.ZodDate;
5975
- Parent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6133
+ Parent: z.ZodNullable<z.ZodString>;
5976
6134
  Entity: z.ZodString;
5977
6135
  User: z.ZodString;
5978
6136
  }, "strip", z.ZodTypeAny, {
@@ -6070,24 +6228,24 @@ export declare const UserViewSchema: z.ZodObject<{
6070
6228
  UserID: z.ZodString;
6071
6229
  EntityID: z.ZodString;
6072
6230
  Name: z.ZodString;
6073
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6074
- CategoryID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6231
+ Description: z.ZodNullable<z.ZodString>;
6232
+ CategoryID: z.ZodNullable<z.ZodString>;
6075
6233
  IsShared: z.ZodBoolean;
6076
6234
  IsDefault: z.ZodBoolean;
6077
- GridState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6078
- FilterState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6235
+ GridState: z.ZodNullable<z.ZodString>;
6236
+ FilterState: z.ZodNullable<z.ZodString>;
6079
6237
  CustomFilterState: z.ZodBoolean;
6080
6238
  SmartFilterEnabled: z.ZodBoolean;
6081
- SmartFilterPrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6082
- SmartFilterWhereClause: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6083
- SmartFilterExplanation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6084
- WhereClause: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6239
+ SmartFilterPrompt: z.ZodNullable<z.ZodString>;
6240
+ SmartFilterWhereClause: z.ZodNullable<z.ZodString>;
6241
+ SmartFilterExplanation: z.ZodNullable<z.ZodString>;
6242
+ WhereClause: z.ZodNullable<z.ZodString>;
6085
6243
  CustomWhereClause: z.ZodBoolean;
6086
- SortState: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6244
+ SortState: z.ZodNullable<z.ZodString>;
6087
6245
  __mj_CreatedAt: z.ZodDate;
6088
6246
  __mj_UpdatedAt: z.ZodDate;
6089
6247
  UserName: z.ZodString;
6090
- UserFirstLast: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6248
+ UserFirstLast: z.ZodNullable<z.ZodString>;
6091
6249
  UserEmail: z.ZodString;
6092
6250
  UserType: z.ZodString;
6093
6251
  Entity: z.ZodString;
@@ -6154,24 +6312,24 @@ export type UserViewEntityType = z.infer<typeof UserViewSchema>;
6154
6312
  export declare const UserSchema: z.ZodObject<{
6155
6313
  ID: z.ZodString;
6156
6314
  Name: z.ZodString;
6157
- FirstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6158
- LastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6159
- Title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6315
+ FirstName: z.ZodNullable<z.ZodString>;
6316
+ LastName: z.ZodNullable<z.ZodString>;
6317
+ Title: z.ZodNullable<z.ZodString>;
6160
6318
  Email: z.ZodString;
6161
6319
  Type: z.ZodUnion<[z.ZodLiteral<"User">, z.ZodLiteral<"Owner">]>;
6162
6320
  IsActive: z.ZodBoolean;
6163
6321
  LinkedRecordType: z.ZodString;
6164
- LinkedEntityID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6165
- LinkedEntityRecordID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6166
- EmployeeID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6322
+ LinkedEntityID: z.ZodNullable<z.ZodString>;
6323
+ LinkedEntityRecordID: z.ZodNullable<z.ZodString>;
6324
+ EmployeeID: z.ZodNullable<z.ZodString>;
6167
6325
  __mj_CreatedAt: z.ZodDate;
6168
6326
  __mj_UpdatedAt: z.ZodDate;
6169
- FirstLast: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6170
- EmployeeFirstLast: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6171
- EmployeeEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6172
- EmployeeTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6173
- EmployeeSupervisor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6174
- EmployeeSupervisorEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6327
+ FirstLast: z.ZodNullable<z.ZodString>;
6328
+ EmployeeFirstLast: z.ZodNullable<z.ZodString>;
6329
+ EmployeeEmail: z.ZodNullable<z.ZodString>;
6330
+ EmployeeTitle: z.ZodNullable<z.ZodString>;
6331
+ EmployeeSupervisor: z.ZodNullable<z.ZodString>;
6332
+ EmployeeSupervisorEmail: z.ZodNullable<z.ZodString>;
6175
6333
  }, "strip", z.ZodTypeAny, {
6176
6334
  ID?: string;
6177
6335
  __mj_CreatedAt?: Date;
@@ -6222,9 +6380,9 @@ export type UserEntityType = z.infer<typeof UserSchema>;
6222
6380
  export declare const VectorDatabaseSchema: z.ZodObject<{
6223
6381
  ID: z.ZodString;
6224
6382
  Name: z.ZodString;
6225
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6226
- DefaultURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6227
- ClassKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6383
+ Description: z.ZodNullable<z.ZodString>;
6384
+ DefaultURL: z.ZodNullable<z.ZodString>;
6385
+ ClassKey: z.ZodNullable<z.ZodString>;
6228
6386
  __mj_CreatedAt: z.ZodDate;
6229
6387
  __mj_UpdatedAt: z.ZodDate;
6230
6388
  }, "strip", z.ZodTypeAny, {
@@ -6251,7 +6409,7 @@ export type VectorDatabaseEntityType = z.infer<typeof VectorDatabaseSchema>;
6251
6409
  export declare const VectorIndexSchema: z.ZodObject<{
6252
6410
  ID: z.ZodString;
6253
6411
  Name: z.ZodString;
6254
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6412
+ Description: z.ZodNullable<z.ZodString>;
6255
6413
  VectorDatabaseID: z.ZodString;
6256
6414
  EmbeddingModelID: z.ZodString;
6257
6415
  __mj_CreatedAt: z.ZodDate;
@@ -6288,14 +6446,14 @@ export declare const VersionInstallationSchema: z.ZodObject<{
6288
6446
  MajorVersion: z.ZodNumber;
6289
6447
  MinorVersion: z.ZodNumber;
6290
6448
  PatchVersion: z.ZodNumber;
6291
- Type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"New">, z.ZodLiteral<"Upgrade">]>>>;
6449
+ Type: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"New">, z.ZodLiteral<"Upgrade">]>>;
6292
6450
  InstalledAt: z.ZodDate;
6293
6451
  Status: z.ZodUnion<[z.ZodLiteral<"Pending">, z.ZodLiteral<"In Progress">, z.ZodLiteral<"Complete">, z.ZodLiteral<"Failed">]>;
6294
- InstallLog: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6295
- Comments: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6452
+ InstallLog: z.ZodNullable<z.ZodString>;
6453
+ Comments: z.ZodNullable<z.ZodString>;
6296
6454
  __mj_CreatedAt: z.ZodDate;
6297
6455
  __mj_UpdatedAt: z.ZodDate;
6298
- CompleteVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6456
+ CompleteVersion: z.ZodNullable<z.ZodString>;
6299
6457
  }, "strip", z.ZodTypeAny, {
6300
6458
  ID?: string;
6301
6459
  Comments?: string;
@@ -6330,7 +6488,7 @@ export type VersionInstallationEntityType = z.infer<typeof VersionInstallationSc
6330
6488
  export declare const WorkflowEngineSchema: z.ZodObject<{
6331
6489
  ID: z.ZodString;
6332
6490
  Name: z.ZodString;
6333
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6491
+ Description: z.ZodNullable<z.ZodString>;
6334
6492
  DriverPath: z.ZodString;
6335
6493
  DriverClass: z.ZodString;
6336
6494
  __mj_CreatedAt: z.ZodDate;
@@ -6361,9 +6519,9 @@ export declare const WorkflowRunSchema: z.ZodObject<{
6361
6519
  WorkflowID: z.ZodString;
6362
6520
  ExternalSystemRecordID: z.ZodString;
6363
6521
  StartedAt: z.ZodDate;
6364
- EndedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
6522
+ EndedAt: z.ZodNullable<z.ZodDate>;
6365
6523
  Status: z.ZodUnion<[z.ZodLiteral<"Pending">, z.ZodLiteral<"In Progress">, z.ZodLiteral<"Complete">, z.ZodLiteral<"Failed">]>;
6366
- Results: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6524
+ Results: z.ZodNullable<z.ZodString>;
6367
6525
  __mj_CreatedAt: z.ZodDate;
6368
6526
  __mj_UpdatedAt: z.ZodDate;
6369
6527
  Workflow: z.ZodString;
@@ -6400,16 +6558,16 @@ export type WorkflowRunEntityType = z.infer<typeof WorkflowRunSchema>;
6400
6558
  export declare const WorkflowSchema: z.ZodObject<{
6401
6559
  ID: z.ZodString;
6402
6560
  Name: z.ZodString;
6403
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6561
+ Description: z.ZodNullable<z.ZodString>;
6404
6562
  WorkflowEngineID: z.ZodString;
6405
6563
  ExternalSystemRecordID: z.ZodString;
6406
6564
  AutoRunEnabled: z.ZodBoolean;
6407
- AutoRunIntervalUnits: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"Years">, z.ZodLiteral<"Months">, z.ZodLiteral<"Weeks">, z.ZodLiteral<"Days">, z.ZodLiteral<"Hours">, z.ZodLiteral<"Minutes">]>>>;
6408
- AutoRunInterval: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
6409
- SubclassName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6565
+ AutoRunIntervalUnits: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"Years">, z.ZodLiteral<"Months">, z.ZodLiteral<"Weeks">, z.ZodLiteral<"Days">, z.ZodLiteral<"Hours">, z.ZodLiteral<"Minutes">]>>;
6566
+ AutoRunInterval: z.ZodNullable<z.ZodNumber>;
6567
+ SubclassName: z.ZodNullable<z.ZodString>;
6410
6568
  __mj_CreatedAt: z.ZodDate;
6411
6569
  __mj_UpdatedAt: z.ZodDate;
6412
- AutoRunIntervalMinutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
6570
+ AutoRunIntervalMinutes: z.ZodNullable<z.ZodNumber>;
6413
6571
  }, "strip", z.ZodTypeAny, {
6414
6572
  ID?: string;
6415
6573
  __mj_CreatedAt?: Date;
@@ -6444,12 +6602,12 @@ export type WorkflowEntityType = z.infer<typeof WorkflowSchema>;
6444
6602
  export declare const WorkspaceItemSchema: z.ZodObject<{
6445
6603
  ID: z.ZodString;
6446
6604
  Name: z.ZodString;
6447
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6605
+ Description: z.ZodNullable<z.ZodString>;
6448
6606
  WorkspaceID: z.ZodString;
6449
6607
  ResourceTypeID: z.ZodString;
6450
- ResourceRecordID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6608
+ ResourceRecordID: z.ZodNullable<z.ZodString>;
6451
6609
  Sequence: z.ZodNumber;
6452
- Configuration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6610
+ Configuration: z.ZodNullable<z.ZodString>;
6453
6611
  __mj_CreatedAt: z.ZodDate;
6454
6612
  __mj_UpdatedAt: z.ZodDate;
6455
6613
  Workspace: z.ZodString;
@@ -6488,7 +6646,7 @@ export type WorkspaceItemEntityType = z.infer<typeof WorkspaceItemSchema>;
6488
6646
  export declare const WorkspaceSchema: z.ZodObject<{
6489
6647
  ID: z.ZodString;
6490
6648
  Name: z.ZodString;
6491
- Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6649
+ Description: z.ZodNullable<z.ZodString>;
6492
6650
  UserID: z.ZodString;
6493
6651
  __mj_CreatedAt: z.ZodDate;
6494
6652
  __mj_UpdatedAt: z.ZodDate;
@@ -8428,7 +8586,7 @@ export declare class AIModelEntity extends BaseEntity<AIModelEntityType> {
8428
8586
  */
8429
8587
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
8430
8588
  /**
8431
- * Validate() method override for AI Models entity. This is an auto-generated method that invokes the generated field validators for this entity for the following fields:
8589
+ * Validate() method override for AI Models entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
8432
8590
  * * SpeedRank: This rule ensures that the speed rank must be zero or a positive number.
8433
8591
  * * CostRank: This rule ensures that the cost rank of an item must be zero or higher. This means that the cost rank cannot be negative.
8434
8592
  * * PowerRank: This rule ensures that the power rank must be greater than or equal to zero, meaning that it cannot be negative.
@@ -10091,6 +10249,21 @@ export declare class CommunicationProviderEntity extends BaseEntity<Communicatio
10091
10249
  */
10092
10250
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
10093
10251
  /**
10252
+ * Validate() method override for Communication Providers entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
10253
+ * * Table-Level: This rule ensures that the ability to schedule sending messages cannot exceed the overall ability to send messages. In simpler terms, if a user can send messages, they can also send them on a schedule, but if they cannot send messages, they shouldn't be able to send them on a schedule either.
10254
+ * @public
10255
+ * @method
10256
+ * @override
10257
+ */
10258
+ Validate(): ValidationResult;
10259
+ /**
10260
+ * This rule ensures that the ability to schedule sending messages cannot exceed the overall ability to send messages. In simpler terms, if a user can send messages, they can also send them on a schedule, but if they cannot send messages, they shouldn't be able to send them on a schedule either.
10261
+ * @param result - the ValidationResult object to add any errors or warnings to
10262
+ * @public
10263
+ * @method
10264
+ */
10265
+ ValidateSupportsScheduledSendingComparedToSupportsSending(result: ValidationResult): void;
10266
+ /**
10094
10267
  * * Field Name: ID
10095
10268
  * * Display Name: ID
10096
10269
  * * SQL Data Type: uniqueidentifier
@@ -11929,7 +12102,7 @@ export declare class ConversationDetailEntity extends BaseEntity<ConversationDet
11929
12102
  */
11930
12103
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
11931
12104
  /**
11932
- * Validate() method override for Conversation Details entity. This is an auto-generated method that invokes the generated field validators for this entity for the following fields:
12105
+ * Validate() method override for Conversation Details entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
11933
12106
  * * UserRating: This rule ensures that the user rating is between 1 and 10, inclusive. Ratings below 1 or above 10 are not allowed.
11934
12107
  * @public
11935
12108
  * @method
@@ -13629,6 +13802,21 @@ export declare class EntityEntity extends BaseEntity<EntityEntityType> {
13629
13802
  */
13630
13803
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
13631
13804
  /**
13805
+ * Validate() method override for Entities entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
13806
+ * * Table-Level: This rule ensures that if record merging is allowed, it can only be permitted if record deletion is enabled and the deletion type is set to 'Soft'.
13807
+ * @public
13808
+ * @method
13809
+ * @override
13810
+ */
13811
+ Validate(): ValidationResult;
13812
+ /**
13813
+ * This rule ensures that if record merging is allowed, it can only be permitted if record deletion is enabled and the deletion type is set to 'Soft'.
13814
+ * @param result - the ValidationResult object to add any errors or warnings to
13815
+ * @public
13816
+ * @method
13817
+ */
13818
+ ValidateAllowRecordMergeConstraints(result: ValidationResult): void;
13819
+ /**
13632
13820
  * * Field Name: ID
13633
13821
  * * SQL Data Type: uniqueidentifier
13634
13822
  * * Default Value: newsequentialid()
@@ -15109,6 +15297,21 @@ export declare class EntityDocumentEntity extends BaseEntity<EntityDocumentEntit
15109
15297
  */
15110
15298
  Delete(): Promise<boolean>;
15111
15299
  /**
15300
+ * Validate() method override for Entity Documents entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
15301
+ * * Table-Level: This rule ensures that the potential match threshold is not greater than the absolute match threshold, and both thresholds must be between 0 and 1 inclusive.
15302
+ * @public
15303
+ * @method
15304
+ * @override
15305
+ */
15306
+ Validate(): ValidationResult;
15307
+ /**
15308
+ * This rule ensures that the potential match threshold is not greater than the absolute match threshold, and both thresholds must be between 0 and 1 inclusive.
15309
+ * @param result - the ValidationResult object to add any errors or warnings to
15310
+ * @public
15311
+ * @method
15312
+ */
15313
+ ValidatePotentialMatchThresholdAgainstAbsoluteMatchThreshold(result: ValidationResult): void;
15314
+ /**
15112
15315
  * * Field Name: ID
15113
15316
  * * Display Name: ID
15114
15317
  * * SQL Data Type: uniqueidentifier
@@ -16724,7 +16927,7 @@ export declare class ExplorerNavigationItemEntity extends BaseEntity<ExplorerNav
16724
16927
  */
16725
16928
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
16726
16929
  /**
16727
- * Validate() method override for Explorer Navigation Items entity. This is an auto-generated method that invokes the generated field validators for this entity for the following fields:
16930
+ * Validate() method override for Explorer Navigation Items entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
16728
16931
  * * Sequence: This rule ensures that the sequence must be greater than zero.
16729
16932
  * @public
16730
16933
  * @method
@@ -17189,65 +17392,58 @@ export declare class FileEntity extends BaseEntity<FileEntityType> {
17189
17392
  get Provider(): string;
17190
17393
  }
17191
17394
  /**
17192
- * Integration URL Formats - strongly typed entity sub-class
17395
+ * Generated Code Categories - strongly typed entity sub-class
17193
17396
  * * Schema: __mj
17194
- * * Base Table: IntegrationURLFormat
17195
- * * Base View: vwIntegrationURLFormats
17196
- * * @description Used to generate web links for end users to easily access resources in a source system. URL Formats support templating to inject various field values at run-time to take a user directly to a resource in a source system.
17397
+ * * Base Table: GeneratedCodeCategory
17398
+ * * Base View: vwGeneratedCodeCategories
17197
17399
  * * Primary Key: ID
17198
17400
  * @extends {BaseEntity}
17199
17401
  * @class
17200
17402
  * @public
17201
17403
  */
17202
- export declare class IntegrationURLFormatEntity extends BaseEntity<IntegrationURLFormatEntityType> {
17404
+ export declare class GeneratedCodeCategoryEntity extends BaseEntity<GeneratedCodeCategoryEntityType> {
17203
17405
  /**
17204
- * Loads the Integration URL Formats record from the database
17205
- * @param ID: string - primary key value to load the Integration URL Formats record.
17406
+ * Loads the Generated Code Categories record from the database
17407
+ * @param ID: string - primary key value to load the Generated Code Categories record.
17206
17408
  * @param EntityRelationshipsToLoad - (optional) the relationships to load
17207
17409
  * @returns {Promise<boolean>} - true if successful, false otherwise
17208
17410
  * @public
17209
17411
  * @async
17210
- * @memberof IntegrationURLFormatEntity
17412
+ * @memberof GeneratedCodeCategoryEntity
17211
17413
  * @method
17212
17414
  * @override
17213
17415
  */
17214
17416
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
17215
17417
  /**
17216
17418
  * * Field Name: ID
17419
+ * * Display Name: ID
17217
17420
  * * SQL Data Type: uniqueidentifier
17218
17421
  * * Default Value: newsequentialid()
17219
17422
  */
17220
17423
  get ID(): string;
17221
17424
  /**
17222
- * * Field Name: IntegrationID
17223
- * * Display Name: Integration ID
17224
- * * SQL Data Type: uniqueidentifier
17225
- * * Related Entity/Foreign Key: Integrations (vwIntegrations.ID)
17226
- */
17227
- get IntegrationID(): string;
17228
- set IntegrationID(value: string);
17229
- /**
17230
- * * Field Name: EntityID
17231
- * * Display Name: Entity ID
17232
- * * SQL Data Type: uniqueidentifier
17233
- * * Related Entity/Foreign Key: Entities (vwEntities.ID)
17425
+ * * Field Name: Name
17426
+ * * Display Name: Name
17427
+ * * SQL Data Type: nvarchar(255)
17234
17428
  */
17235
- get EntityID(): string;
17236
- set EntityID(value: string);
17429
+ get Name(): string;
17430
+ set Name(value: string);
17237
17431
  /**
17238
- * * Field Name: URLFormat
17239
- * * SQL Data Type: nvarchar(500)
17240
- * * Description: The URL Format for the given integration including the ability to include markup with fields from the integration
17432
+ * * Field Name: Description
17433
+ * * Display Name: Description
17434
+ * * SQL Data Type: nvarchar(MAX)
17241
17435
  */
17242
- get URLFormat(): string;
17243
- set URLFormat(value: string);
17436
+ get Description(): string | null;
17437
+ set Description(value: string | null);
17244
17438
  /**
17245
- * * Field Name: Comments
17246
- * * Display Name: Comments
17247
- * * SQL Data Type: nvarchar(MAX)
17439
+ * * Field Name: ParentID
17440
+ * * Display Name: Parent ID
17441
+ * * SQL Data Type: uniqueidentifier
17442
+ * * Related Entity/Foreign Key: Generated Code Categories (vwGeneratedCodeCategories.ID)
17443
+ * * Description: Parent category ID, allowing for hierarchical categorization.
17248
17444
  */
17249
- get Comments(): string | null;
17250
- set Comments(value: string | null);
17445
+ get ParentID(): string | null;
17446
+ set ParentID(value: string | null);
17251
17447
  /**
17252
17448
  * * Field Name: __mj_CreatedAt
17253
17449
  * * Display Name: Created At
@@ -17263,66 +17459,316 @@ export declare class IntegrationURLFormatEntity extends BaseEntity<IntegrationUR
17263
17459
  */
17264
17460
  get __mj_UpdatedAt(): Date;
17265
17461
  /**
17266
- * * Field Name: Integration
17267
- * * Display Name: Integration
17268
- * * SQL Data Type: nvarchar(100)
17269
- */
17270
- get Integration(): string;
17271
- /**
17272
- * * Field Name: NavigationBaseURL
17273
- * * Display Name: Navigation Base URL
17274
- * * SQL Data Type: nvarchar(500)
17275
- */
17276
- get NavigationBaseURL(): string | null;
17277
- /**
17278
- * * Field Name: FullURLFormat
17279
- * * Display Name: Full URLFormat
17280
- * * SQL Data Type: nvarchar(1000)
17462
+ * * Field Name: Parent
17463
+ * * Display Name: Parent
17464
+ * * SQL Data Type: nvarchar(255)
17281
17465
  */
17282
- get FullURLFormat(): string | null;
17466
+ get Parent(): string | null;
17283
17467
  }
17284
17468
  /**
17285
- * Integrations - strongly typed entity sub-class
17469
+ * Generated Codes - strongly typed entity sub-class
17286
17470
  * * Schema: __mj
17287
- * * Base Table: Integration
17288
- * * Base View: vwIntegrations
17289
- * * @description Catalog of all integrations that have been configured in the system.
17471
+ * * Base Table: GeneratedCode
17472
+ * * Base View: vwGeneratedCodes
17290
17473
  * * Primary Key: ID
17291
17474
  * @extends {BaseEntity}
17292
17475
  * @class
17293
17476
  * @public
17294
17477
  */
17295
- export declare class IntegrationEntity extends BaseEntity<IntegrationEntityType> {
17478
+ export declare class GeneratedCodeEntity extends BaseEntity<GeneratedCodeEntityType> {
17296
17479
  /**
17297
- * Loads the Integrations record from the database
17298
- * @param ID: string - primary key value to load the Integrations record.
17480
+ * Loads the Generated Codes record from the database
17481
+ * @param ID: string - primary key value to load the Generated Codes record.
17299
17482
  * @param EntityRelationshipsToLoad - (optional) the relationships to load
17300
17483
  * @returns {Promise<boolean>} - true if successful, false otherwise
17301
17484
  * @public
17302
17485
  * @async
17303
- * @memberof IntegrationEntity
17486
+ * @memberof GeneratedCodeEntity
17304
17487
  * @method
17305
17488
  * @override
17306
17489
  */
17307
17490
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
17308
17491
  /**
17492
+ * * Field Name: ID
17493
+ * * Display Name: ID
17494
+ * * SQL Data Type: uniqueidentifier
17495
+ * * Default Value: newsequentialid()
17496
+ */
17497
+ get ID(): string;
17498
+ /**
17499
+ * * Field Name: GeneratedAt
17500
+ * * Display Name: Generated At
17501
+ * * SQL Data Type: datetimeoffset
17502
+ * * Default Value: getutcdate()
17503
+ * * Description: When the code was generated.
17504
+ */
17505
+ get GeneratedAt(): Date;
17506
+ set GeneratedAt(value: Date);
17507
+ /**
17508
+ * * Field Name: CategoryID
17509
+ * * Display Name: Category ID
17510
+ * * SQL Data Type: uniqueidentifier
17511
+ * * Related Entity/Foreign Key: Generated Code Categories (vwGeneratedCodeCategories.ID)
17512
+ * * Description: Reference to the category of generated code.
17513
+ */
17514
+ get CategoryID(): string;
17515
+ set CategoryID(value: string);
17516
+ /**
17517
+ * * Field Name: GeneratedByModelID
17518
+ * * Display Name: Generated By Model ID
17519
+ * * SQL Data Type: uniqueidentifier
17520
+ * * Related Entity/Foreign Key: AI Models (vwAIModels.ID)
17521
+ * * Description: AI model responsible for generating this code.
17522
+ */
17523
+ get GeneratedByModelID(): string;
17524
+ set GeneratedByModelID(value: string);
17525
+ /**
17309
17526
  * * Field Name: Name
17310
- * * SQL Data Type: nvarchar(100)
17527
+ * * Display Name: Name
17528
+ * * SQL Data Type: nvarchar(255)
17529
+ * * Description: Descriptive name of the generated code.
17311
17530
  */
17312
17531
  get Name(): string;
17313
17532
  set Name(value: string);
17314
17533
  /**
17315
17534
  * * Field Name: Description
17316
- * * SQL Data Type: nvarchar(255)
17535
+ * * Display Name: Description
17536
+ * * SQL Data Type: nvarchar(MAX)
17537
+ * * Description: Optional description of the generated code.
17317
17538
  */
17318
17539
  get Description(): string | null;
17319
17540
  set Description(value: string | null);
17320
17541
  /**
17321
- * * Field Name: NavigationBaseURL
17322
- * * Display Name: Navigation Base URL
17323
- * * SQL Data Type: nvarchar(500)
17324
- */
17325
- get NavigationBaseURL(): string | null;
17542
+ * * Field Name: Code
17543
+ * * Display Name: Code
17544
+ * * SQL Data Type: nvarchar(MAX)
17545
+ * * Description: The actual generated code.
17546
+ */
17547
+ get Code(): string;
17548
+ set Code(value: string);
17549
+ /**
17550
+ * * Field Name: Source
17551
+ * * Display Name: Source
17552
+ * * SQL Data Type: nvarchar(MAX)
17553
+ * * Description: Source material used to generate the code, e.g., a SQL CHECK constraint.
17554
+ */
17555
+ get Source(): string;
17556
+ set Source(value: string);
17557
+ /**
17558
+ * * Field Name: LinkedEntityID
17559
+ * * Display Name: Linked Entity ID
17560
+ * * SQL Data Type: uniqueidentifier
17561
+ * * Related Entity/Foreign Key: Entities (vwEntities.ID)
17562
+ */
17563
+ get LinkedEntityID(): string | null;
17564
+ set LinkedEntityID(value: string | null);
17565
+ /**
17566
+ * * Field Name: LinkedRecordPrimaryKey
17567
+ * * Display Name: Linked Record Primary Key
17568
+ * * SQL Data Type: nvarchar(MAX)
17569
+ */
17570
+ get LinkedRecordPrimaryKey(): string | null;
17571
+ set LinkedRecordPrimaryKey(value: string | null);
17572
+ /**
17573
+ * * Field Name: Status
17574
+ * * Display Name: Status
17575
+ * * SQL Data Type: nvarchar(20)
17576
+ * * Default Value: Pending
17577
+ * * Value List Type: List
17578
+ * * Possible Values
17579
+ * * Pending
17580
+ * * Approved
17581
+ * * Rejected
17582
+ * * Description: Status of the generated code, e.g., Pending, Approved, or Rejected.
17583
+ */
17584
+ get Status(): 'Pending' | 'Approved' | 'Rejected';
17585
+ set Status(value: 'Pending' | 'Approved' | 'Rejected');
17586
+ /**
17587
+ * * Field Name: Language
17588
+ * * Display Name: Language
17589
+ * * SQL Data Type: nvarchar(50)
17590
+ * * Default Value: TypeScript
17591
+ * * Value List Type: List
17592
+ * * Possible Values
17593
+ * * TypeScript
17594
+ * * SQL
17595
+ * * HTML
17596
+ * * CSS
17597
+ * * JavaScript
17598
+ * * Python
17599
+ * * Other
17600
+ * * Description: Programming language of the generated code (TypeScript, SQL, HTML, CSS, JavaScript, Python, or Other).
17601
+ */
17602
+ get Language(): 'TypeScript' | 'SQL' | 'HTML' | 'CSS' | 'JavaScript' | 'Python' | 'Other';
17603
+ set Language(value: 'TypeScript' | 'SQL' | 'HTML' | 'CSS' | 'JavaScript' | 'Python' | 'Other');
17604
+ /**
17605
+ * * Field Name: __mj_CreatedAt
17606
+ * * Display Name: Created At
17607
+ * * SQL Data Type: datetimeoffset
17608
+ * * Default Value: getutcdate()
17609
+ */
17610
+ get __mj_CreatedAt(): Date;
17611
+ /**
17612
+ * * Field Name: __mj_UpdatedAt
17613
+ * * Display Name: Updated At
17614
+ * * SQL Data Type: datetimeoffset
17615
+ * * Default Value: getutcdate()
17616
+ */
17617
+ get __mj_UpdatedAt(): Date;
17618
+ /**
17619
+ * * Field Name: Category
17620
+ * * Display Name: Category
17621
+ * * SQL Data Type: nvarchar(255)
17622
+ */
17623
+ get Category(): string;
17624
+ /**
17625
+ * * Field Name: GeneratedByModel
17626
+ * * Display Name: Generated By Model
17627
+ * * SQL Data Type: nvarchar(50)
17628
+ */
17629
+ get GeneratedByModel(): string;
17630
+ /**
17631
+ * * Field Name: LinkedEntity
17632
+ * * Display Name: Linked Entity
17633
+ * * SQL Data Type: nvarchar(255)
17634
+ */
17635
+ get LinkedEntity(): string | null;
17636
+ }
17637
+ /**
17638
+ * Integration URL Formats - strongly typed entity sub-class
17639
+ * * Schema: __mj
17640
+ * * Base Table: IntegrationURLFormat
17641
+ * * Base View: vwIntegrationURLFormats
17642
+ * * @description Used to generate web links for end users to easily access resources in a source system. URL Formats support templating to inject various field values at run-time to take a user directly to a resource in a source system.
17643
+ * * Primary Key: ID
17644
+ * @extends {BaseEntity}
17645
+ * @class
17646
+ * @public
17647
+ */
17648
+ export declare class IntegrationURLFormatEntity extends BaseEntity<IntegrationURLFormatEntityType> {
17649
+ /**
17650
+ * Loads the Integration URL Formats record from the database
17651
+ * @param ID: string - primary key value to load the Integration URL Formats record.
17652
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
17653
+ * @returns {Promise<boolean>} - true if successful, false otherwise
17654
+ * @public
17655
+ * @async
17656
+ * @memberof IntegrationURLFormatEntity
17657
+ * @method
17658
+ * @override
17659
+ */
17660
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
17661
+ /**
17662
+ * * Field Name: ID
17663
+ * * SQL Data Type: uniqueidentifier
17664
+ * * Default Value: newsequentialid()
17665
+ */
17666
+ get ID(): string;
17667
+ /**
17668
+ * * Field Name: IntegrationID
17669
+ * * Display Name: Integration ID
17670
+ * * SQL Data Type: uniqueidentifier
17671
+ * * Related Entity/Foreign Key: Integrations (vwIntegrations.ID)
17672
+ */
17673
+ get IntegrationID(): string;
17674
+ set IntegrationID(value: string);
17675
+ /**
17676
+ * * Field Name: EntityID
17677
+ * * Display Name: Entity ID
17678
+ * * SQL Data Type: uniqueidentifier
17679
+ * * Related Entity/Foreign Key: Entities (vwEntities.ID)
17680
+ */
17681
+ get EntityID(): string;
17682
+ set EntityID(value: string);
17683
+ /**
17684
+ * * Field Name: URLFormat
17685
+ * * SQL Data Type: nvarchar(500)
17686
+ * * Description: The URL Format for the given integration including the ability to include markup with fields from the integration
17687
+ */
17688
+ get URLFormat(): string;
17689
+ set URLFormat(value: string);
17690
+ /**
17691
+ * * Field Name: Comments
17692
+ * * Display Name: Comments
17693
+ * * SQL Data Type: nvarchar(MAX)
17694
+ */
17695
+ get Comments(): string | null;
17696
+ set Comments(value: string | null);
17697
+ /**
17698
+ * * Field Name: __mj_CreatedAt
17699
+ * * Display Name: Created At
17700
+ * * SQL Data Type: datetimeoffset
17701
+ * * Default Value: getutcdate()
17702
+ */
17703
+ get __mj_CreatedAt(): Date;
17704
+ /**
17705
+ * * Field Name: __mj_UpdatedAt
17706
+ * * Display Name: Updated At
17707
+ * * SQL Data Type: datetimeoffset
17708
+ * * Default Value: getutcdate()
17709
+ */
17710
+ get __mj_UpdatedAt(): Date;
17711
+ /**
17712
+ * * Field Name: Integration
17713
+ * * Display Name: Integration
17714
+ * * SQL Data Type: nvarchar(100)
17715
+ */
17716
+ get Integration(): string;
17717
+ /**
17718
+ * * Field Name: NavigationBaseURL
17719
+ * * Display Name: Navigation Base URL
17720
+ * * SQL Data Type: nvarchar(500)
17721
+ */
17722
+ get NavigationBaseURL(): string | null;
17723
+ /**
17724
+ * * Field Name: FullURLFormat
17725
+ * * Display Name: Full URLFormat
17726
+ * * SQL Data Type: nvarchar(1000)
17727
+ */
17728
+ get FullURLFormat(): string | null;
17729
+ }
17730
+ /**
17731
+ * Integrations - strongly typed entity sub-class
17732
+ * * Schema: __mj
17733
+ * * Base Table: Integration
17734
+ * * Base View: vwIntegrations
17735
+ * * @description Catalog of all integrations that have been configured in the system.
17736
+ * * Primary Key: ID
17737
+ * @extends {BaseEntity}
17738
+ * @class
17739
+ * @public
17740
+ */
17741
+ export declare class IntegrationEntity extends BaseEntity<IntegrationEntityType> {
17742
+ /**
17743
+ * Loads the Integrations record from the database
17744
+ * @param ID: string - primary key value to load the Integrations record.
17745
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
17746
+ * @returns {Promise<boolean>} - true if successful, false otherwise
17747
+ * @public
17748
+ * @async
17749
+ * @memberof IntegrationEntity
17750
+ * @method
17751
+ * @override
17752
+ */
17753
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
17754
+ /**
17755
+ * * Field Name: Name
17756
+ * * SQL Data Type: nvarchar(100)
17757
+ */
17758
+ get Name(): string;
17759
+ set Name(value: string);
17760
+ /**
17761
+ * * Field Name: Description
17762
+ * * SQL Data Type: nvarchar(255)
17763
+ */
17764
+ get Description(): string | null;
17765
+ set Description(value: string | null);
17766
+ /**
17767
+ * * Field Name: NavigationBaseURL
17768
+ * * Display Name: Navigation Base URL
17769
+ * * SQL Data Type: nvarchar(500)
17770
+ */
17771
+ get NavigationBaseURL(): string | null;
17326
17772
  set NavigationBaseURL(value: string | null);
17327
17773
  /**
17328
17774
  * * Field Name: ClassName
@@ -17848,6 +18294,205 @@ export declare class ListEntity extends BaseEntity<ListEntityType> {
17848
18294
  */
17849
18295
  get Category(): string | null;
17850
18296
  }
18297
+ /**
18298
+ * MJ: Report User States - strongly typed entity sub-class
18299
+ * * Schema: __mj
18300
+ * * Base Table: ReportUserState
18301
+ * * Base View: vwReportUserStates
18302
+ * * Primary Key: ID
18303
+ * @extends {BaseEntity}
18304
+ * @class
18305
+ * @public
18306
+ */
18307
+ export declare class ReportUserStateEntity extends BaseEntity<ReportUserStateEntityType> {
18308
+ /**
18309
+ * Loads the MJ: Report User States record from the database
18310
+ * @param ID: string - primary key value to load the MJ: Report User States record.
18311
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
18312
+ * @returns {Promise<boolean>} - true if successful, false otherwise
18313
+ * @public
18314
+ * @async
18315
+ * @memberof ReportUserStateEntity
18316
+ * @method
18317
+ * @override
18318
+ */
18319
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
18320
+ /**
18321
+ * * Field Name: ID
18322
+ * * Display Name: ID
18323
+ * * SQL Data Type: uniqueidentifier
18324
+ * * Default Value: newsequentialid()
18325
+ */
18326
+ get ID(): string;
18327
+ /**
18328
+ * * Field Name: ReportID
18329
+ * * Display Name: Report ID
18330
+ * * SQL Data Type: uniqueidentifier
18331
+ * * Related Entity/Foreign Key: Reports (vwReports.ID)
18332
+ */
18333
+ get ReportID(): string;
18334
+ set ReportID(value: string);
18335
+ /**
18336
+ * * Field Name: UserID
18337
+ * * Display Name: User ID
18338
+ * * SQL Data Type: uniqueidentifier
18339
+ * * Related Entity/Foreign Key: Users (vwUsers.ID)
18340
+ */
18341
+ get UserID(): string;
18342
+ set UserID(value: string);
18343
+ /**
18344
+ * * Field Name: ReportState
18345
+ * * Display Name: Report State
18346
+ * * SQL Data Type: nvarchar(MAX)
18347
+ * * Description: JSON serialized state of user interaction with the report
18348
+ */
18349
+ get ReportState(): string | null;
18350
+ set ReportState(value: string | null);
18351
+ /**
18352
+ * * Field Name: __mj_CreatedAt
18353
+ * * Display Name: Created At
18354
+ * * SQL Data Type: datetimeoffset
18355
+ * * Default Value: getutcdate()
18356
+ */
18357
+ get __mj_CreatedAt(): Date;
18358
+ /**
18359
+ * * Field Name: __mj_UpdatedAt
18360
+ * * Display Name: Updated At
18361
+ * * SQL Data Type: datetimeoffset
18362
+ * * Default Value: getutcdate()
18363
+ */
18364
+ get __mj_UpdatedAt(): Date;
18365
+ /**
18366
+ * * Field Name: Report
18367
+ * * Display Name: Report
18368
+ * * SQL Data Type: nvarchar(255)
18369
+ * * Default Value: null
18370
+ */
18371
+ get Report(): string;
18372
+ /**
18373
+ * * Field Name: User
18374
+ * * Display Name: User
18375
+ * * SQL Data Type: nvarchar(100)
18376
+ * * Default Value: null
18377
+ */
18378
+ get User(): string;
18379
+ }
18380
+ /**
18381
+ * MJ: Report Versions - strongly typed entity sub-class
18382
+ * * Schema: __mj
18383
+ * * Base Table: ReportVersion
18384
+ * * Base View: vwReportVersions
18385
+ * * Primary Key: ID
18386
+ * @extends {BaseEntity}
18387
+ * @class
18388
+ * @public
18389
+ */
18390
+ export declare class ReportVersionEntity extends BaseEntity<ReportVersionEntityType> {
18391
+ /**
18392
+ * Loads the MJ: Report Versions record from the database
18393
+ * @param ID: string - primary key value to load the MJ: Report Versions record.
18394
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
18395
+ * @returns {Promise<boolean>} - true if successful, false otherwise
18396
+ * @public
18397
+ * @async
18398
+ * @memberof ReportVersionEntity
18399
+ * @method
18400
+ * @override
18401
+ */
18402
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
18403
+ /**
18404
+ * Validate() method override for MJ: Report Versions entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
18405
+ * * VersionNumber: This rule ensures that the version number must be greater than zero, meaning there should be at least one version created.
18406
+ * @public
18407
+ * @method
18408
+ * @override
18409
+ */
18410
+ Validate(): ValidationResult;
18411
+ /**
18412
+ * This rule ensures that the version number must be greater than zero, meaning there should be at least one version created.
18413
+ * @param result - the ValidationResult object to add any errors or warnings to
18414
+ * @public
18415
+ * @method
18416
+ */
18417
+ ValidateVersionNumberGreaterThanZero(result: ValidationResult): void;
18418
+ /**
18419
+ * * Field Name: ID
18420
+ * * Display Name: ID
18421
+ * * SQL Data Type: uniqueidentifier
18422
+ * * Default Value: newsequentialid()
18423
+ */
18424
+ get ID(): string;
18425
+ /**
18426
+ * * Field Name: ReportID
18427
+ * * Display Name: Report ID
18428
+ * * SQL Data Type: uniqueidentifier
18429
+ * * Related Entity/Foreign Key: Reports (vwReports.ID)
18430
+ */
18431
+ get ReportID(): string;
18432
+ set ReportID(value: string);
18433
+ /**
18434
+ * * Field Name: VersionNumber
18435
+ * * Display Name: Version Number
18436
+ * * SQL Data Type: int
18437
+ * * Description: Report version number, sequential per report starting at 1
18438
+ */
18439
+ get VersionNumber(): number;
18440
+ set VersionNumber(value: number);
18441
+ /**
18442
+ * * Field Name: Name
18443
+ * * Display Name: Name
18444
+ * * SQL Data Type: nvarchar(255)
18445
+ * * Description: Name of this report version
18446
+ */
18447
+ get Name(): string;
18448
+ set Name(value: string);
18449
+ /**
18450
+ * * Field Name: Description
18451
+ * * Display Name: Description
18452
+ * * SQL Data Type: nvarchar(MAX)
18453
+ * * Description: Description of this report version
18454
+ */
18455
+ get Description(): string | null;
18456
+ set Description(value: string | null);
18457
+ /**
18458
+ * * Field Name: Configuration
18459
+ * * Display Name: Configuration
18460
+ * * SQL Data Type: nvarchar(MAX)
18461
+ * * Description: JSON configuration of report structure, layout and logic
18462
+ */
18463
+ get Configuration(): string | null;
18464
+ set Configuration(value: string | null);
18465
+ /**
18466
+ * * Field Name: DataContextUpdated
18467
+ * * Display Name: Data Context Updated
18468
+ * * SQL Data Type: bit
18469
+ * * Default Value: 0
18470
+ * * Description: Indicates if the data context was updated in this version
18471
+ */
18472
+ get DataContextUpdated(): boolean;
18473
+ set DataContextUpdated(value: boolean);
18474
+ /**
18475
+ * * Field Name: __mj_CreatedAt
18476
+ * * Display Name: Created At
18477
+ * * SQL Data Type: datetimeoffset
18478
+ * * Default Value: getutcdate()
18479
+ */
18480
+ get __mj_CreatedAt(): Date;
18481
+ /**
18482
+ * * Field Name: __mj_UpdatedAt
18483
+ * * Display Name: Updated At
18484
+ * * SQL Data Type: datetimeoffset
18485
+ * * Default Value: getutcdate()
18486
+ */
18487
+ get __mj_UpdatedAt(): Date;
18488
+ /**
18489
+ * * Field Name: Report
18490
+ * * Display Name: Report
18491
+ * * SQL Data Type: nvarchar(255)
18492
+ * * Default Value: null
18493
+ */
18494
+ get Report(): string;
18495
+ }
17851
18496
  /**
17852
18497
  * Output Delivery Types - strongly typed entity sub-class
17853
18498
  * * Schema: __mj
@@ -19040,7 +19685,7 @@ export declare class RecommendationItemEntity extends BaseEntity<RecommendationI
19040
19685
  */
19041
19686
  Delete(): Promise<boolean>;
19042
19687
  /**
19043
- * Validate() method override for Recommendation Items entity. This is an auto-generated method that invokes the generated field validators for this entity for the following fields:
19688
+ * Validate() method override for Recommendation Items entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
19044
19689
  * * MatchProbability: This rule ensures that the match probability value is between 0 and 1, inclusive.
19045
19690
  * @public
19046
19691
  * @method
@@ -20421,6 +21066,21 @@ export declare class ResourcePermissionEntity extends BaseEntity<ResourcePermiss
20421
21066
  */
20422
21067
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
20423
21068
  /**
21069
+ * Validate() method override for Resource Permissions entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
21070
+ * * Table-Level: This rule ensures that when the type is set to 'Role', a role ID must be provided and the user ID must not be provided. Conversely, if the type is set to 'User', a user ID must be provided and the role ID must not be provided.
21071
+ * @public
21072
+ * @method
21073
+ * @override
21074
+ */
21075
+ Validate(): ValidationResult;
21076
+ /**
21077
+ * This rule ensures that when the type is set to 'Role', a role ID must be provided and the user ID must not be provided. Conversely, if the type is set to 'User', a user ID must be provided and the role ID must not be provided.
21078
+ * @param result - the ValidationResult object to add any errors or warnings to
21079
+ * @public
21080
+ * @method
21081
+ */
21082
+ ValidateUserTypeConstraints(result: ValidationResult): void;
21083
+ /**
20424
21084
  * * Field Name: ID
20425
21085
  * * Display Name: ID
20426
21086
  * * SQL Data Type: uniqueidentifier
@@ -21122,6 +21782,29 @@ export declare class SchemaInfoEntity extends BaseEntity<SchemaInfoEntityType> {
21122
21782
  */
21123
21783
  Delete(): Promise<boolean>;
21124
21784
  /**
21785
+ * Validate() method override for Schema Info entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
21786
+ * * Table-Level: This rule ensures that both the minimum and maximum entity IDs must be greater than zero.
21787
+ * * Table-Level: This rule ensures that the maximum entity ID must be greater than the minimum entity ID, which helps to maintain valid and logical ranges for entity IDs.
21788
+ * @public
21789
+ * @method
21790
+ * @override
21791
+ */
21792
+ Validate(): ValidationResult;
21793
+ /**
21794
+ * This rule ensures that both the minimum and maximum entity IDs must be greater than zero.
21795
+ * @param result - the ValidationResult object to add any errors or warnings to
21796
+ * @public
21797
+ * @method
21798
+ */
21799
+ ValidateEntityIDMinAndEntityIDMaxGreaterThanZero(result: ValidationResult): void;
21800
+ /**
21801
+ * This rule ensures that the maximum entity ID must be greater than the minimum entity ID, which helps to maintain valid and logical ranges for entity IDs.
21802
+ * @param result - the ValidationResult object to add any errors or warnings to
21803
+ * @public
21804
+ * @method
21805
+ */
21806
+ ValidateEntityIDMaxGreaterThanEntityIDMin(result: ValidationResult): void;
21807
+ /**
21125
21808
  * * Field Name: ID
21126
21809
  * * Display Name: ID
21127
21810
  * * SQL Data Type: uniqueidentifier