@memberjunction/core-entities 2.101.0 → 2.102.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.
@@ -2311,6 +2311,7 @@ export declare const ConversationDetailSchema: z.ZodObject<{
2311
2311
  ArtifactID: z.ZodNullable<z.ZodString>;
2312
2312
  ArtifactVersionID: z.ZodNullable<z.ZodString>;
2313
2313
  CompletionTime: z.ZodNullable<z.ZodNumber>;
2314
+ IsPinned: z.ZodBoolean;
2314
2315
  Conversation: z.ZodNullable<z.ZodString>;
2315
2316
  User: z.ZodNullable<z.ZodString>;
2316
2317
  Artifact: z.ZodNullable<z.ZodString>;
@@ -2333,6 +2334,7 @@ export declare const ConversationDetailSchema: z.ZodObject<{
2333
2334
  ArtifactID?: string;
2334
2335
  ArtifactVersionID?: string;
2335
2336
  CompletionTime?: number;
2337
+ IsPinned?: boolean;
2336
2338
  Conversation?: string;
2337
2339
  Artifact?: string;
2338
2340
  }, {
@@ -2354,6 +2356,7 @@ export declare const ConversationDetailSchema: z.ZodObject<{
2354
2356
  ArtifactID?: string;
2355
2357
  ArtifactVersionID?: string;
2356
2358
  CompletionTime?: number;
2359
+ IsPinned?: boolean;
2357
2360
  Conversation?: string;
2358
2361
  Artifact?: string;
2359
2362
  }>;
@@ -2375,9 +2378,14 @@ export declare const ConversationSchema: z.ZodObject<{
2375
2378
  __mj_CreatedAt: z.ZodDate;
2376
2379
  __mj_UpdatedAt: z.ZodDate;
2377
2380
  Status: z.ZodUnion<[z.ZodLiteral<"Processing">, z.ZodLiteral<"Available">]>;
2381
+ EnvironmentID: z.ZodString;
2382
+ ProjectID: z.ZodNullable<z.ZodString>;
2383
+ IsPinned: z.ZodBoolean;
2378
2384
  User: z.ZodString;
2379
2385
  LinkedEntity: z.ZodNullable<z.ZodString>;
2380
2386
  DataContext: z.ZodNullable<z.ZodString>;
2387
+ Environment: z.ZodString;
2388
+ Project: z.ZodNullable<z.ZodString>;
2381
2389
  }, "strip", z.ZodTypeAny, {
2382
2390
  ID?: string;
2383
2391
  __mj_CreatedAt?: Date;
@@ -2389,12 +2397,17 @@ export declare const ConversationSchema: z.ZodObject<{
2389
2397
  User?: string;
2390
2398
  Type?: string;
2391
2399
  ExternalID?: string;
2400
+ IsPinned?: boolean;
2392
2401
  IsArchived?: boolean;
2393
2402
  LinkedEntityID?: string;
2394
2403
  LinkedRecordID?: string;
2395
2404
  DataContextID?: string;
2405
+ EnvironmentID?: string;
2406
+ ProjectID?: string;
2396
2407
  LinkedEntity?: string;
2397
2408
  DataContext?: string;
2409
+ Environment?: string;
2410
+ Project?: string;
2398
2411
  }, {
2399
2412
  ID?: string;
2400
2413
  __mj_CreatedAt?: Date;
@@ -2406,12 +2419,17 @@ export declare const ConversationSchema: z.ZodObject<{
2406
2419
  User?: string;
2407
2420
  Type?: string;
2408
2421
  ExternalID?: string;
2422
+ IsPinned?: boolean;
2409
2423
  IsArchived?: boolean;
2410
2424
  LinkedEntityID?: string;
2411
2425
  LinkedRecordID?: string;
2412
2426
  DataContextID?: string;
2427
+ EnvironmentID?: string;
2428
+ ProjectID?: string;
2413
2429
  LinkedEntity?: string;
2414
2430
  DataContext?: string;
2431
+ Environment?: string;
2432
+ Project?: string;
2415
2433
  }>;
2416
2434
  export type ConversationEntityType = z.infer<typeof ConversationSchema>;
2417
2435
  /**
@@ -2467,9 +2485,11 @@ export declare const DashboardSchema: z.ZodObject<{
2467
2485
  ApplicationID: z.ZodNullable<z.ZodString>;
2468
2486
  DriverClass: z.ZodNullable<z.ZodString>;
2469
2487
  Code: z.ZodNullable<z.ZodString>;
2488
+ EnvironmentID: z.ZodString;
2470
2489
  User: z.ZodString;
2471
2490
  Category: z.ZodNullable<z.ZodString>;
2472
2491
  Application: z.ZodNullable<z.ZodString>;
2492
+ Environment: z.ZodString;
2473
2493
  }, "strip", z.ZodTypeAny, {
2474
2494
  ID?: string;
2475
2495
  __mj_CreatedAt?: Date;
@@ -2485,6 +2505,8 @@ export declare const DashboardSchema: z.ZodObject<{
2485
2505
  Category?: string;
2486
2506
  ApplicationID?: string;
2487
2507
  Application?: string;
2508
+ EnvironmentID?: string;
2509
+ Environment?: string;
2488
2510
  UIConfigDetails?: string;
2489
2511
  Thumbnail?: string;
2490
2512
  Scope?: "Global" | "App";
@@ -2503,6 +2525,8 @@ export declare const DashboardSchema: z.ZodObject<{
2503
2525
  Category?: string;
2504
2526
  ApplicationID?: string;
2505
2527
  Application?: string;
2528
+ EnvironmentID?: string;
2529
+ Environment?: string;
2506
2530
  UIConfigDetails?: string;
2507
2531
  Thumbnail?: string;
2508
2532
  Scope?: "Global" | "App";
@@ -4649,6 +4673,62 @@ export declare const ListSchema: z.ZodObject<{
4649
4673
  CompanyIntegration?: string;
4650
4674
  }>;
4651
4675
  export type ListEntityType = z.infer<typeof ListSchema>;
4676
+ /**
4677
+ * zod schema definition for the entity MJ: Access Control Rules
4678
+ */
4679
+ export declare const AccessControlRuleSchema: z.ZodObject<{
4680
+ ID: z.ZodString;
4681
+ EntityID: z.ZodString;
4682
+ RecordID: z.ZodString;
4683
+ GranteeType: z.ZodUnion<[z.ZodLiteral<"User">, z.ZodLiteral<"Role">, z.ZodLiteral<"Everyone">, z.ZodLiteral<"Public">]>;
4684
+ GranteeID: z.ZodNullable<z.ZodString>;
4685
+ CanRead: z.ZodBoolean;
4686
+ CanCreate: z.ZodBoolean;
4687
+ CanUpdate: z.ZodBoolean;
4688
+ CanDelete: z.ZodBoolean;
4689
+ CanShare: z.ZodBoolean;
4690
+ ExpiresAt: z.ZodNullable<z.ZodDate>;
4691
+ GrantedByUserID: z.ZodString;
4692
+ __mj_CreatedAt: z.ZodDate;
4693
+ __mj_UpdatedAt: z.ZodDate;
4694
+ Entity: z.ZodString;
4695
+ GrantedByUser: z.ZodString;
4696
+ }, "strip", z.ZodTypeAny, {
4697
+ ID?: string;
4698
+ __mj_CreatedAt?: Date;
4699
+ __mj_UpdatedAt?: Date;
4700
+ EntityID?: string;
4701
+ Entity?: string;
4702
+ RecordID?: string;
4703
+ CanCreate?: boolean;
4704
+ CanRead?: boolean;
4705
+ CanUpdate?: boolean;
4706
+ CanDelete?: boolean;
4707
+ GranteeType?: "User" | "Role" | "Everyone" | "Public";
4708
+ GranteeID?: string;
4709
+ CanShare?: boolean;
4710
+ ExpiresAt?: Date;
4711
+ GrantedByUserID?: string;
4712
+ GrantedByUser?: string;
4713
+ }, {
4714
+ ID?: string;
4715
+ __mj_CreatedAt?: Date;
4716
+ __mj_UpdatedAt?: Date;
4717
+ EntityID?: string;
4718
+ Entity?: string;
4719
+ RecordID?: string;
4720
+ CanCreate?: boolean;
4721
+ CanRead?: boolean;
4722
+ CanUpdate?: boolean;
4723
+ CanDelete?: boolean;
4724
+ GranteeType?: "User" | "Role" | "Everyone" | "Public";
4725
+ GranteeID?: string;
4726
+ CanShare?: boolean;
4727
+ ExpiresAt?: Date;
4728
+ GrantedByUserID?: string;
4729
+ GrantedByUser?: string;
4730
+ }>;
4731
+ export type AccessControlRuleEntityType = z.infer<typeof AccessControlRuleSchema>;
4652
4732
  /**
4653
4733
  * zod schema definition for the entity MJ: AI Agent Prompts
4654
4734
  */
@@ -5827,6 +5907,135 @@ export declare const ArtifactTypeSchema: z.ZodObject<{
5827
5907
  IsEnabled?: boolean;
5828
5908
  }>;
5829
5909
  export type ArtifactTypeEntityType = z.infer<typeof ArtifactTypeSchema>;
5910
+ /**
5911
+ * zod schema definition for the entity MJ: Artifact Versions
5912
+ */
5913
+ export declare const ArtifactVersionSchema: z.ZodObject<{
5914
+ ID: z.ZodString;
5915
+ ArtifactID: z.ZodString;
5916
+ VersionNumber: z.ZodNumber;
5917
+ Content: z.ZodNullable<z.ZodString>;
5918
+ Configuration: z.ZodNullable<z.ZodString>;
5919
+ Comments: z.ZodNullable<z.ZodString>;
5920
+ UserID: z.ZodString;
5921
+ __mj_CreatedAt: z.ZodDate;
5922
+ __mj_UpdatedAt: z.ZodDate;
5923
+ Artifact: z.ZodString;
5924
+ User: z.ZodString;
5925
+ }, "strip", z.ZodTypeAny, {
5926
+ ID?: string;
5927
+ Comments?: string;
5928
+ __mj_CreatedAt?: Date;
5929
+ __mj_UpdatedAt?: Date;
5930
+ UserID?: string;
5931
+ User?: string;
5932
+ Configuration?: string;
5933
+ ArtifactID?: string;
5934
+ Artifact?: string;
5935
+ VersionNumber?: number;
5936
+ Content?: string;
5937
+ }, {
5938
+ ID?: string;
5939
+ Comments?: string;
5940
+ __mj_CreatedAt?: Date;
5941
+ __mj_UpdatedAt?: Date;
5942
+ UserID?: string;
5943
+ User?: string;
5944
+ Configuration?: string;
5945
+ ArtifactID?: string;
5946
+ Artifact?: string;
5947
+ VersionNumber?: number;
5948
+ Content?: string;
5949
+ }>;
5950
+ export type ArtifactVersionEntityType = z.infer<typeof ArtifactVersionSchema>;
5951
+ /**
5952
+ * zod schema definition for the entity MJ: Artifacts
5953
+ */
5954
+ export declare const ArtifactSchema: z.ZodObject<{
5955
+ ID: z.ZodString;
5956
+ EnvironmentID: z.ZodString;
5957
+ Name: z.ZodString;
5958
+ Description: z.ZodNullable<z.ZodString>;
5959
+ TypeID: z.ZodString;
5960
+ Comments: z.ZodNullable<z.ZodString>;
5961
+ UserID: z.ZodString;
5962
+ __mj_CreatedAt: z.ZodDate;
5963
+ __mj_UpdatedAt: z.ZodDate;
5964
+ Environment: z.ZodString;
5965
+ Type: z.ZodString;
5966
+ User: z.ZodString;
5967
+ }, "strip", z.ZodTypeAny, {
5968
+ ID?: string;
5969
+ Comments?: string;
5970
+ __mj_CreatedAt?: Date;
5971
+ __mj_UpdatedAt?: Date;
5972
+ Name?: string;
5973
+ Description?: string;
5974
+ UserID?: string;
5975
+ User?: string;
5976
+ Type?: string;
5977
+ TypeID?: string;
5978
+ EnvironmentID?: string;
5979
+ Environment?: string;
5980
+ }, {
5981
+ ID?: string;
5982
+ Comments?: string;
5983
+ __mj_CreatedAt?: Date;
5984
+ __mj_UpdatedAt?: Date;
5985
+ Name?: string;
5986
+ Description?: string;
5987
+ UserID?: string;
5988
+ User?: string;
5989
+ Type?: string;
5990
+ TypeID?: string;
5991
+ EnvironmentID?: string;
5992
+ Environment?: string;
5993
+ }>;
5994
+ export type ArtifactEntityType = z.infer<typeof ArtifactSchema>;
5995
+ /**
5996
+ * zod schema definition for the entity MJ: Collections
5997
+ */
5998
+ export declare const CollectionSchema: z.ZodObject<{
5999
+ ID: z.ZodString;
6000
+ EnvironmentID: z.ZodString;
6001
+ ParentID: z.ZodNullable<z.ZodString>;
6002
+ Name: z.ZodString;
6003
+ Description: z.ZodNullable<z.ZodString>;
6004
+ Icon: z.ZodNullable<z.ZodString>;
6005
+ Color: z.ZodNullable<z.ZodString>;
6006
+ Sequence: z.ZodNullable<z.ZodNumber>;
6007
+ __mj_CreatedAt: z.ZodDate;
6008
+ __mj_UpdatedAt: z.ZodDate;
6009
+ Environment: z.ZodString;
6010
+ Parent: z.ZodNullable<z.ZodString>;
6011
+ }, "strip", z.ZodTypeAny, {
6012
+ ID?: string;
6013
+ __mj_CreatedAt?: Date;
6014
+ __mj_UpdatedAt?: Date;
6015
+ Name?: string;
6016
+ Description?: string;
6017
+ ParentID?: string;
6018
+ Parent?: string;
6019
+ Sequence?: number;
6020
+ Icon?: string;
6021
+ EnvironmentID?: string;
6022
+ Environment?: string;
6023
+ Color?: string;
6024
+ }, {
6025
+ ID?: string;
6026
+ __mj_CreatedAt?: Date;
6027
+ __mj_UpdatedAt?: Date;
6028
+ Name?: string;
6029
+ Description?: string;
6030
+ ParentID?: string;
6031
+ Parent?: string;
6032
+ Sequence?: number;
6033
+ Icon?: string;
6034
+ EnvironmentID?: string;
6035
+ Environment?: string;
6036
+ Color?: string;
6037
+ }>;
6038
+ export type CollectionEntityType = z.infer<typeof CollectionSchema>;
5830
6039
  /**
5831
6040
  * zod schema definition for the entity MJ: Component Dependencies
5832
6041
  */
@@ -6122,20 +6331,20 @@ export declare const ConversationArtifactVersionSchema: z.ZodObject<{
6122
6331
  __mj_CreatedAt?: Date;
6123
6332
  __mj_UpdatedAt?: Date;
6124
6333
  Configuration?: string;
6334
+ Content?: string;
6125
6335
  Version?: number;
6126
6336
  ConversationArtifactID?: string;
6127
6337
  ConversationArtifact?: string;
6128
- Content?: string;
6129
6338
  }, {
6130
6339
  ID?: string;
6131
6340
  Comments?: string;
6132
6341
  __mj_CreatedAt?: Date;
6133
6342
  __mj_UpdatedAt?: Date;
6134
6343
  Configuration?: string;
6344
+ Content?: string;
6135
6345
  Version?: number;
6136
6346
  ConversationArtifactID?: string;
6137
6347
  ConversationArtifact?: string;
6138
- Content?: string;
6139
6348
  }>;
6140
6349
  export type ConversationArtifactVersionEntityType = z.infer<typeof ConversationArtifactVersionSchema>;
6141
6350
  /**
@@ -6163,7 +6372,7 @@ export declare const ConversationArtifactSchema: z.ZodObject<{
6163
6372
  ConversationID?: string;
6164
6373
  Conversation?: string;
6165
6374
  ArtifactTypeID?: string;
6166
- SharingScope?: "None" | "Public" | "SpecificUsers" | "Everyone";
6375
+ SharingScope?: "None" | "Everyone" | "Public" | "SpecificUsers";
6167
6376
  ArtifactType?: string;
6168
6377
  }, {
6169
6378
  ID?: string;
@@ -6175,7 +6384,7 @@ export declare const ConversationArtifactSchema: z.ZodObject<{
6175
6384
  ConversationID?: string;
6176
6385
  Conversation?: string;
6177
6386
  ArtifactTypeID?: string;
6178
- SharingScope?: "None" | "Public" | "SpecificUsers" | "Everyone";
6387
+ SharingScope?: "None" | "Everyone" | "Public" | "SpecificUsers";
6179
6388
  ArtifactType?: string;
6180
6389
  }>;
6181
6390
  export type ConversationArtifactEntityType = z.infer<typeof ConversationArtifactSchema>;
@@ -6252,6 +6461,126 @@ export declare const DashboardUserStateSchema: z.ZodObject<{
6252
6461
  UserState?: string;
6253
6462
  }>;
6254
6463
  export type DashboardUserStateEntityType = z.infer<typeof DashboardUserStateSchema>;
6464
+ /**
6465
+ * zod schema definition for the entity MJ: Environments
6466
+ */
6467
+ export declare const EnvironmentSchema: z.ZodObject<{
6468
+ ID: z.ZodString;
6469
+ Name: z.ZodString;
6470
+ Description: z.ZodNullable<z.ZodString>;
6471
+ IsDefault: z.ZodBoolean;
6472
+ Settings: z.ZodNullable<z.ZodString>;
6473
+ __mj_CreatedAt: z.ZodDate;
6474
+ __mj_UpdatedAt: z.ZodDate;
6475
+ }, "strip", z.ZodTypeAny, {
6476
+ ID?: string;
6477
+ __mj_CreatedAt?: Date;
6478
+ __mj_UpdatedAt?: Date;
6479
+ Name?: string;
6480
+ Description?: string;
6481
+ IsDefault?: boolean;
6482
+ Settings?: string;
6483
+ }, {
6484
+ ID?: string;
6485
+ __mj_CreatedAt?: Date;
6486
+ __mj_UpdatedAt?: Date;
6487
+ Name?: string;
6488
+ Description?: string;
6489
+ IsDefault?: boolean;
6490
+ Settings?: string;
6491
+ }>;
6492
+ export type EnvironmentEntityType = z.infer<typeof EnvironmentSchema>;
6493
+ /**
6494
+ * zod schema definition for the entity MJ: Projects
6495
+ */
6496
+ export declare const ProjectSchema: z.ZodObject<{
6497
+ ID: z.ZodString;
6498
+ EnvironmentID: z.ZodString;
6499
+ ParentID: z.ZodNullable<z.ZodString>;
6500
+ Name: z.ZodString;
6501
+ Description: z.ZodNullable<z.ZodString>;
6502
+ Color: z.ZodNullable<z.ZodString>;
6503
+ Icon: z.ZodNullable<z.ZodString>;
6504
+ IsArchived: z.ZodBoolean;
6505
+ __mj_CreatedAt: z.ZodDate;
6506
+ __mj_UpdatedAt: z.ZodDate;
6507
+ Environment: z.ZodString;
6508
+ Parent: z.ZodNullable<z.ZodString>;
6509
+ }, "strip", z.ZodTypeAny, {
6510
+ ID?: string;
6511
+ __mj_CreatedAt?: Date;
6512
+ __mj_UpdatedAt?: Date;
6513
+ Name?: string;
6514
+ Description?: string;
6515
+ ParentID?: string;
6516
+ Parent?: string;
6517
+ Icon?: string;
6518
+ IsArchived?: boolean;
6519
+ EnvironmentID?: string;
6520
+ Environment?: string;
6521
+ Color?: string;
6522
+ }, {
6523
+ ID?: string;
6524
+ __mj_CreatedAt?: Date;
6525
+ __mj_UpdatedAt?: Date;
6526
+ Name?: string;
6527
+ Description?: string;
6528
+ ParentID?: string;
6529
+ Parent?: string;
6530
+ Icon?: string;
6531
+ IsArchived?: boolean;
6532
+ EnvironmentID?: string;
6533
+ Environment?: string;
6534
+ Color?: string;
6535
+ }>;
6536
+ export type ProjectEntityType = z.infer<typeof ProjectSchema>;
6537
+ /**
6538
+ * zod schema definition for the entity MJ: Public Links
6539
+ */
6540
+ export declare const PublicLinkSchema: z.ZodObject<{
6541
+ ID: z.ZodString;
6542
+ ResourceType: z.ZodUnion<[z.ZodLiteral<"Artifact">, z.ZodLiteral<"Conversation">, z.ZodLiteral<"Collection">]>;
6543
+ ResourceID: z.ZodString;
6544
+ Token: z.ZodString;
6545
+ PasswordHash: z.ZodNullable<z.ZodString>;
6546
+ ExpiresAt: z.ZodNullable<z.ZodDate>;
6547
+ MaxViews: z.ZodNullable<z.ZodNumber>;
6548
+ CurrentViews: z.ZodNumber;
6549
+ UserID: z.ZodString;
6550
+ IsActive: z.ZodBoolean;
6551
+ __mj_CreatedAt: z.ZodDate;
6552
+ __mj_UpdatedAt: z.ZodDate;
6553
+ User: z.ZodString;
6554
+ }, "strip", z.ZodTypeAny, {
6555
+ ID?: string;
6556
+ __mj_CreatedAt?: Date;
6557
+ __mj_UpdatedAt?: Date;
6558
+ UserID?: string;
6559
+ User?: string;
6560
+ IsActive?: boolean;
6561
+ ExpiresAt?: Date;
6562
+ ResourceType?: "Conversation" | "Artifact" | "Collection";
6563
+ ResourceID?: string;
6564
+ Token?: string;
6565
+ PasswordHash?: string;
6566
+ MaxViews?: number;
6567
+ CurrentViews?: number;
6568
+ }, {
6569
+ ID?: string;
6570
+ __mj_CreatedAt?: Date;
6571
+ __mj_UpdatedAt?: Date;
6572
+ UserID?: string;
6573
+ User?: string;
6574
+ IsActive?: boolean;
6575
+ ExpiresAt?: Date;
6576
+ ResourceType?: "Conversation" | "Artifact" | "Collection";
6577
+ ResourceID?: string;
6578
+ Token?: string;
6579
+ PasswordHash?: string;
6580
+ MaxViews?: number;
6581
+ CurrentViews?: number;
6582
+ }>;
6583
+ export type PublicLinkEntityType = z.infer<typeof PublicLinkSchema>;
6255
6584
  /**
6256
6585
  * zod schema definition for the entity MJ: Query Parameters
6257
6586
  */
@@ -6302,6 +6631,50 @@ export declare const QueryParameterSchema: z.ZodObject<{
6302
6631
  AutoDetectConfidenceScore?: number;
6303
6632
  }>;
6304
6633
  export type QueryParameterEntityType = z.infer<typeof QueryParameterSchema>;
6634
+ /**
6635
+ * zod schema definition for the entity MJ: Record Links
6636
+ */
6637
+ export declare const RecordLinkSchema: z.ZodObject<{
6638
+ ID: z.ZodString;
6639
+ SourceEntityID: z.ZodString;
6640
+ SourceRecordID: z.ZodString;
6641
+ TargetEntityID: z.ZodString;
6642
+ TargetRecordID: z.ZodString;
6643
+ LinkType: z.ZodNullable<z.ZodString>;
6644
+ Sequence: z.ZodNullable<z.ZodNumber>;
6645
+ Metadata: z.ZodNullable<z.ZodString>;
6646
+ __mj_CreatedAt: z.ZodDate;
6647
+ __mj_UpdatedAt: z.ZodDate;
6648
+ SourceEntity: z.ZodString;
6649
+ TargetEntity: z.ZodString;
6650
+ }, "strip", z.ZodTypeAny, {
6651
+ ID?: string;
6652
+ __mj_CreatedAt?: Date;
6653
+ __mj_UpdatedAt?: Date;
6654
+ Sequence?: number;
6655
+ SourceEntityID?: string;
6656
+ SourceRecordID?: string;
6657
+ TargetEntityID?: string;
6658
+ TargetRecordID?: string;
6659
+ LinkType?: string;
6660
+ Metadata?: string;
6661
+ SourceEntity?: string;
6662
+ TargetEntity?: string;
6663
+ }, {
6664
+ ID?: string;
6665
+ __mj_CreatedAt?: Date;
6666
+ __mj_UpdatedAt?: Date;
6667
+ Sequence?: number;
6668
+ SourceEntityID?: string;
6669
+ SourceRecordID?: string;
6670
+ TargetEntityID?: string;
6671
+ TargetRecordID?: string;
6672
+ LinkType?: string;
6673
+ Metadata?: string;
6674
+ SourceEntity?: string;
6675
+ TargetEntity?: string;
6676
+ }>;
6677
+ export type RecordLinkEntityType = z.infer<typeof RecordLinkSchema>;
6305
6678
  /**
6306
6679
  * zod schema definition for the entity MJ: Report User States
6307
6680
  */
@@ -6355,9 +6728,9 @@ export declare const ReportVersionSchema: z.ZodObject<{
6355
6728
  Name?: string;
6356
6729
  Description?: string;
6357
6730
  Configuration?: string;
6731
+ VersionNumber?: number;
6358
6732
  Report?: string;
6359
6733
  ReportID?: string;
6360
- VersionNumber?: number;
6361
6734
  DataContextUpdated?: boolean;
6362
6735
  }, {
6363
6736
  ID?: string;
@@ -6366,39 +6739,171 @@ export declare const ReportVersionSchema: z.ZodObject<{
6366
6739
  Name?: string;
6367
6740
  Description?: string;
6368
6741
  Configuration?: string;
6742
+ VersionNumber?: number;
6369
6743
  Report?: string;
6370
6744
  ReportID?: string;
6371
- VersionNumber?: number;
6372
6745
  DataContextUpdated?: boolean;
6373
6746
  }>;
6374
6747
  export type ReportVersionEntityType = z.infer<typeof ReportVersionSchema>;
6375
6748
  /**
6376
- * zod schema definition for the entity Output Delivery Types
6749
+ * zod schema definition for the entity MJ: Task Dependencies
6377
6750
  */
6378
- export declare const OutputDeliveryTypeSchema: z.ZodObject<{
6751
+ export declare const TaskDependencySchema: z.ZodObject<{
6379
6752
  ID: z.ZodString;
6380
- Name: z.ZodString;
6381
- Description: z.ZodNullable<z.ZodString>;
6753
+ TaskID: z.ZodString;
6754
+ DependsOnTaskID: z.ZodString;
6755
+ DependencyType: z.ZodUnion<[z.ZodLiteral<"Prerequisite">, z.ZodLiteral<"Corequisite">, z.ZodLiteral<"Optional">]>;
6382
6756
  __mj_CreatedAt: z.ZodDate;
6383
6757
  __mj_UpdatedAt: z.ZodDate;
6758
+ Task: z.ZodString;
6759
+ DependsOnTask: z.ZodString;
6384
6760
  }, "strip", z.ZodTypeAny, {
6385
6761
  ID?: string;
6386
6762
  __mj_CreatedAt?: Date;
6387
6763
  __mj_UpdatedAt?: Date;
6388
- Name?: string;
6389
- Description?: string;
6764
+ TaskID?: string;
6765
+ DependsOnTaskID?: string;
6766
+ DependencyType?: "Prerequisite" | "Corequisite" | "Optional";
6767
+ Task?: string;
6768
+ DependsOnTask?: string;
6390
6769
  }, {
6391
6770
  ID?: string;
6392
6771
  __mj_CreatedAt?: Date;
6393
6772
  __mj_UpdatedAt?: Date;
6394
- Name?: string;
6395
- Description?: string;
6773
+ TaskID?: string;
6774
+ DependsOnTaskID?: string;
6775
+ DependencyType?: "Prerequisite" | "Corequisite" | "Optional";
6776
+ Task?: string;
6777
+ DependsOnTask?: string;
6396
6778
  }>;
6397
- export type OutputDeliveryTypeEntityType = z.infer<typeof OutputDeliveryTypeSchema>;
6779
+ export type TaskDependencyEntityType = z.infer<typeof TaskDependencySchema>;
6398
6780
  /**
6399
- * zod schema definition for the entity Output Format Types
6781
+ * zod schema definition for the entity MJ: Task Types
6400
6782
  */
6401
- export declare const OutputFormatTypeSchema: z.ZodObject<{
6783
+ export declare const TaskTypeSchema: z.ZodObject<{
6784
+ ID: z.ZodString;
6785
+ Name: z.ZodString;
6786
+ Description: z.ZodNullable<z.ZodString>;
6787
+ __mj_CreatedAt: z.ZodDate;
6788
+ __mj_UpdatedAt: z.ZodDate;
6789
+ }, "strip", z.ZodTypeAny, {
6790
+ ID?: string;
6791
+ __mj_CreatedAt?: Date;
6792
+ __mj_UpdatedAt?: Date;
6793
+ Name?: string;
6794
+ Description?: string;
6795
+ }, {
6796
+ ID?: string;
6797
+ __mj_CreatedAt?: Date;
6798
+ __mj_UpdatedAt?: Date;
6799
+ Name?: string;
6800
+ Description?: string;
6801
+ }>;
6802
+ export type TaskTypeEntityType = z.infer<typeof TaskTypeSchema>;
6803
+ /**
6804
+ * zod schema definition for the entity MJ: Tasks
6805
+ */
6806
+ export declare const TaskSchema: z.ZodObject<{
6807
+ ID: z.ZodString;
6808
+ ParentID: z.ZodNullable<z.ZodString>;
6809
+ Name: z.ZodString;
6810
+ Description: z.ZodNullable<z.ZodString>;
6811
+ TypeID: z.ZodString;
6812
+ EnvironmentID: z.ZodString;
6813
+ ProjectID: z.ZodNullable<z.ZodString>;
6814
+ ConversationDetailID: z.ZodNullable<z.ZodString>;
6815
+ UserID: z.ZodNullable<z.ZodString>;
6816
+ AgentID: z.ZodNullable<z.ZodString>;
6817
+ Status: z.ZodUnion<[z.ZodLiteral<"Pending">, z.ZodLiteral<"In Progress">, z.ZodLiteral<"Complete">, z.ZodLiteral<"Cancelled">, z.ZodLiteral<"Failed">, z.ZodLiteral<"Blocked">, z.ZodLiteral<"Deferred">]>;
6818
+ PercentComplete: z.ZodNullable<z.ZodNumber>;
6819
+ DueAt: z.ZodNullable<z.ZodDate>;
6820
+ StartedAt: z.ZodNullable<z.ZodDate>;
6821
+ CompletedAt: z.ZodNullable<z.ZodDate>;
6822
+ __mj_CreatedAt: z.ZodDate;
6823
+ __mj_UpdatedAt: z.ZodDate;
6824
+ Parent: z.ZodNullable<z.ZodString>;
6825
+ Type: z.ZodString;
6826
+ Environment: z.ZodString;
6827
+ Project: z.ZodNullable<z.ZodString>;
6828
+ User: z.ZodNullable<z.ZodString>;
6829
+ Agent: z.ZodNullable<z.ZodString>;
6830
+ }, "strip", z.ZodTypeAny, {
6831
+ ID?: string;
6832
+ __mj_CreatedAt?: Date;
6833
+ __mj_UpdatedAt?: Date;
6834
+ Name?: string;
6835
+ Description?: string;
6836
+ ParentID?: string;
6837
+ Status?: "Pending" | "Complete" | "Failed" | "In Progress" | "Cancelled" | "Blocked" | "Deferred";
6838
+ Parent?: string;
6839
+ StartedAt?: Date;
6840
+ UserID?: string;
6841
+ User?: string;
6842
+ Type?: string;
6843
+ AgentID?: string;
6844
+ Agent?: string;
6845
+ TypeID?: string;
6846
+ EnvironmentID?: string;
6847
+ ProjectID?: string;
6848
+ Environment?: string;
6849
+ Project?: string;
6850
+ CompletedAt?: Date;
6851
+ ConversationDetailID?: string;
6852
+ PercentComplete?: number;
6853
+ DueAt?: Date;
6854
+ }, {
6855
+ ID?: string;
6856
+ __mj_CreatedAt?: Date;
6857
+ __mj_UpdatedAt?: Date;
6858
+ Name?: string;
6859
+ Description?: string;
6860
+ ParentID?: string;
6861
+ Status?: "Pending" | "Complete" | "Failed" | "In Progress" | "Cancelled" | "Blocked" | "Deferred";
6862
+ Parent?: string;
6863
+ StartedAt?: Date;
6864
+ UserID?: string;
6865
+ User?: string;
6866
+ Type?: string;
6867
+ AgentID?: string;
6868
+ Agent?: string;
6869
+ TypeID?: string;
6870
+ EnvironmentID?: string;
6871
+ ProjectID?: string;
6872
+ Environment?: string;
6873
+ Project?: string;
6874
+ CompletedAt?: Date;
6875
+ ConversationDetailID?: string;
6876
+ PercentComplete?: number;
6877
+ DueAt?: Date;
6878
+ }>;
6879
+ export type TaskEntityType = z.infer<typeof TaskSchema>;
6880
+ /**
6881
+ * zod schema definition for the entity Output Delivery Types
6882
+ */
6883
+ export declare const OutputDeliveryTypeSchema: z.ZodObject<{
6884
+ ID: z.ZodString;
6885
+ Name: z.ZodString;
6886
+ Description: z.ZodNullable<z.ZodString>;
6887
+ __mj_CreatedAt: z.ZodDate;
6888
+ __mj_UpdatedAt: z.ZodDate;
6889
+ }, "strip", z.ZodTypeAny, {
6890
+ ID?: string;
6891
+ __mj_CreatedAt?: Date;
6892
+ __mj_UpdatedAt?: Date;
6893
+ Name?: string;
6894
+ Description?: string;
6895
+ }, {
6896
+ ID?: string;
6897
+ __mj_CreatedAt?: Date;
6898
+ __mj_UpdatedAt?: Date;
6899
+ Name?: string;
6900
+ Description?: string;
6901
+ }>;
6902
+ export type OutputDeliveryTypeEntityType = z.infer<typeof OutputDeliveryTypeSchema>;
6903
+ /**
6904
+ * zod schema definition for the entity Output Format Types
6905
+ */
6906
+ export declare const OutputFormatTypeSchema: z.ZodObject<{
6402
6907
  ID: z.ZodString;
6403
6908
  Name: z.ZodString;
6404
6909
  Description: z.ZodNullable<z.ZodString>;
@@ -6637,15 +7142,15 @@ export declare const QueryFieldSchema: z.ZodObject<{
6637
7142
  Query?: string;
6638
7143
  DetectionMethod?: "AI" | "Manual";
6639
7144
  AutoDetectConfidenceScore?: number;
7145
+ SourceEntityID?: string;
7146
+ SourceEntity?: string;
6640
7147
  SQLBaseType?: string;
6641
7148
  SQLFullType?: string;
6642
- SourceEntityID?: string;
6643
7149
  SourceFieldName?: string;
6644
7150
  IsComputed?: boolean;
6645
7151
  ComputationDescription?: string;
6646
7152
  IsSummary?: boolean;
6647
7153
  SummaryDescription?: string;
6648
- SourceEntity?: string;
6649
7154
  }, {
6650
7155
  ID?: string;
6651
7156
  __mj_CreatedAt?: Date;
@@ -6657,15 +7162,15 @@ export declare const QueryFieldSchema: z.ZodObject<{
6657
7162
  Query?: string;
6658
7163
  DetectionMethod?: "AI" | "Manual";
6659
7164
  AutoDetectConfidenceScore?: number;
7165
+ SourceEntityID?: string;
7166
+ SourceEntity?: string;
6660
7167
  SQLBaseType?: string;
6661
7168
  SQLFullType?: string;
6662
- SourceEntityID?: string;
6663
7169
  SourceFieldName?: string;
6664
7170
  IsComputed?: boolean;
6665
7171
  ComputationDescription?: string;
6666
7172
  IsSummary?: boolean;
6667
7173
  SummaryDescription?: string;
6668
- SourceEntity?: string;
6669
7174
  }>;
6670
7175
  export type QueryFieldEntityType = z.infer<typeof QueryFieldSchema>;
6671
7176
  /**
@@ -7244,6 +7749,7 @@ export declare const ReportSchema: z.ZodObject<{
7244
7749
  __mj_CreatedAt: z.ZodDate;
7245
7750
  __mj_UpdatedAt: z.ZodDate;
7246
7751
  Thumbnail: z.ZodNullable<z.ZodString>;
7752
+ EnvironmentID: z.ZodString;
7247
7753
  Category: z.ZodNullable<z.ZodString>;
7248
7754
  User: z.ZodString;
7249
7755
  Conversation: z.ZodNullable<z.ZodString>;
@@ -7252,6 +7758,7 @@ export declare const ReportSchema: z.ZodObject<{
7252
7758
  OutputFormatType: z.ZodNullable<z.ZodString>;
7253
7759
  OutputDeliveryType: z.ZodNullable<z.ZodString>;
7254
7760
  OutputWorkflow: z.ZodNullable<z.ZodString>;
7761
+ Environment: z.ZodString;
7255
7762
  }, "strip", z.ZodTypeAny, {
7256
7763
  ID?: string;
7257
7764
  __mj_CreatedAt?: Date;
@@ -7266,7 +7773,9 @@ export declare const ReportSchema: z.ZodObject<{
7266
7773
  ConversationID?: string;
7267
7774
  Conversation?: string;
7268
7775
  DataContextID?: string;
7776
+ EnvironmentID?: string;
7269
7777
  DataContext?: string;
7778
+ Environment?: string;
7270
7779
  Thumbnail?: string;
7271
7780
  ConversationDetailID?: string;
7272
7781
  SharingScope?: "Specific" | "None" | "Everyone";
@@ -7294,7 +7803,9 @@ export declare const ReportSchema: z.ZodObject<{
7294
7803
  ConversationID?: string;
7295
7804
  Conversation?: string;
7296
7805
  DataContextID?: string;
7806
+ EnvironmentID?: string;
7297
7807
  DataContext?: string;
7808
+ Environment?: string;
7298
7809
  Thumbnail?: string;
7299
7810
  ConversationDetailID?: string;
7300
7811
  SharingScope?: "Specific" | "None" | "Everyone";
@@ -7329,20 +7840,20 @@ export declare const ResourceLinkSchema: z.ZodObject<{
7329
7840
  __mj_UpdatedAt?: Date;
7330
7841
  UserID?: string;
7331
7842
  User?: string;
7843
+ ResourceType?: string;
7332
7844
  ResourceTypeID?: string;
7333
7845
  ResourceRecordID?: string;
7334
7846
  FolderID?: string;
7335
- ResourceType?: string;
7336
7847
  }, {
7337
7848
  ID?: string;
7338
7849
  __mj_CreatedAt?: Date;
7339
7850
  __mj_UpdatedAt?: Date;
7340
7851
  UserID?: string;
7341
7852
  User?: string;
7853
+ ResourceType?: string;
7342
7854
  ResourceTypeID?: string;
7343
7855
  ResourceRecordID?: string;
7344
7856
  FolderID?: string;
7345
- ResourceType?: string;
7346
7857
  }>;
7347
7858
  export type ResourceLinkEntityType = z.infer<typeof ResourceLinkSchema>;
7348
7859
  /**
@@ -7374,9 +7885,9 @@ export declare const ResourcePermissionSchema: z.ZodObject<{
7374
7885
  Type?: "User" | "Role";
7375
7886
  RoleID?: string;
7376
7887
  Role?: string;
7888
+ ResourceType?: string;
7377
7889
  ResourceTypeID?: string;
7378
7890
  ResourceRecordID?: string;
7379
- ResourceType?: string;
7380
7891
  StartSharingAt?: Date;
7381
7892
  EndSharingAt?: Date;
7382
7893
  PermissionLevel?: "View" | "Edit" | "Owner";
@@ -7390,9 +7901,9 @@ export declare const ResourcePermissionSchema: z.ZodObject<{
7390
7901
  Type?: "User" | "Role";
7391
7902
  RoleID?: string;
7392
7903
  Role?: string;
7904
+ ResourceType?: string;
7393
7905
  ResourceTypeID?: string;
7394
7906
  ResourceRecordID?: string;
7395
- ResourceType?: string;
7396
7907
  StartSharingAt?: Date;
7397
7908
  EndSharingAt?: Date;
7398
7909
  PermissionLevel?: "View" | "Edit" | "Owner";
@@ -8051,9 +8562,9 @@ export declare const UserNotificationSchema: z.ZodObject<{
8051
8562
  Message?: string;
8052
8563
  User?: string;
8053
8564
  Title?: string;
8565
+ ResourceType?: string;
8054
8566
  ResourceTypeID?: string;
8055
8567
  ResourceRecordID?: string;
8056
- ResourceType?: string;
8057
8568
  ResourceConfiguration?: string;
8058
8569
  Unread?: boolean;
8059
8570
  ReadAt?: Date;
@@ -8065,9 +8576,9 @@ export declare const UserNotificationSchema: z.ZodObject<{
8065
8576
  Message?: string;
8066
8577
  User?: string;
8067
8578
  Title?: string;
8579
+ ResourceType?: string;
8068
8580
  ResourceTypeID?: string;
8069
8581
  ResourceRecordID?: string;
8070
- ResourceType?: string;
8071
8582
  ResourceConfiguration?: string;
8072
8583
  Unread?: boolean;
8073
8584
  ReadAt?: Date;
@@ -8660,9 +9171,9 @@ export declare const WorkspaceItemSchema: z.ZodObject<{
8660
9171
  Description?: string;
8661
9172
  Configuration?: string;
8662
9173
  Sequence?: number;
9174
+ ResourceType?: string;
8663
9175
  ResourceTypeID?: string;
8664
9176
  ResourceRecordID?: string;
8665
- ResourceType?: string;
8666
9177
  WorkspaceID?: string;
8667
9178
  Workspace?: string;
8668
9179
  }, {
@@ -8673,9 +9184,9 @@ export declare const WorkspaceItemSchema: z.ZodObject<{
8673
9184
  Description?: string;
8674
9185
  Configuration?: string;
8675
9186
  Sequence?: number;
9187
+ ResourceType?: string;
8676
9188
  ResourceTypeID?: string;
8677
9189
  ResourceRecordID?: string;
8678
- ResourceType?: string;
8679
9190
  WorkspaceID?: string;
8680
9191
  Workspace?: string;
8681
9192
  }>;
@@ -15357,6 +15868,15 @@ export declare class ConversationDetailEntity extends BaseEntity<ConversationDet
15357
15868
  get CompletionTime(): number | null;
15358
15869
  set CompletionTime(value: number | null);
15359
15870
  /**
15871
+ * * Field Name: IsPinned
15872
+ * * Display Name: Is Pinned
15873
+ * * SQL Data Type: bit
15874
+ * * Default Value: 0
15875
+ * * Description: Indicates if this message is pinned within the conversation for easy reference
15876
+ */
15877
+ get IsPinned(): boolean;
15878
+ set IsPinned(value: boolean);
15879
+ /**
15360
15880
  * * Field Name: Conversation
15361
15881
  * * Display Name: Conversation
15362
15882
  * * SQL Data Type: nvarchar(255)
@@ -15517,6 +16037,32 @@ export declare class ConversationEntity extends BaseEntity<ConversationEntityTyp
15517
16037
  get Status(): 'Processing' | 'Available';
15518
16038
  set Status(value: 'Processing' | 'Available');
15519
16039
  /**
16040
+ * * Field Name: EnvironmentID
16041
+ * * Display Name: Environment ID
16042
+ * * SQL Data Type: uniqueidentifier
16043
+ * * Related Entity/Foreign Key: MJ: Environments (vwEnvironments.ID)
16044
+ * * Default Value: F51358F3-9447-4176-B313-BF8025FD8D09
16045
+ */
16046
+ get EnvironmentID(): string;
16047
+ set EnvironmentID(value: string);
16048
+ /**
16049
+ * * Field Name: ProjectID
16050
+ * * Display Name: Project ID
16051
+ * * SQL Data Type: uniqueidentifier
16052
+ * * Related Entity/Foreign Key: MJ: Projects (vwProjects.ID)
16053
+ */
16054
+ get ProjectID(): string | null;
16055
+ set ProjectID(value: string | null);
16056
+ /**
16057
+ * * Field Name: IsPinned
16058
+ * * Display Name: Is Pinned
16059
+ * * SQL Data Type: bit
16060
+ * * Default Value: 0
16061
+ * * Description: Indicates if this conversation is pinned to the top of lists
16062
+ */
16063
+ get IsPinned(): boolean;
16064
+ set IsPinned(value: boolean);
16065
+ /**
15520
16066
  * * Field Name: User
15521
16067
  * * Display Name: User
15522
16068
  * * SQL Data Type: nvarchar(100)
@@ -15534,6 +16080,18 @@ export declare class ConversationEntity extends BaseEntity<ConversationEntityTyp
15534
16080
  * * SQL Data Type: nvarchar(255)
15535
16081
  */
15536
16082
  get DataContext(): string | null;
16083
+ /**
16084
+ * * Field Name: Environment
16085
+ * * Display Name: Environment
16086
+ * * SQL Data Type: nvarchar(255)
16087
+ */
16088
+ get Environment(): string;
16089
+ /**
16090
+ * * Field Name: Project
16091
+ * * Display Name: Project
16092
+ * * SQL Data Type: nvarchar(255)
16093
+ */
16094
+ get Project(): string | null;
15537
16095
  }
15538
16096
  /**
15539
16097
  * Dashboard Categories - strongly typed entity sub-class
@@ -15769,6 +16327,15 @@ export declare class DashboardEntity extends BaseEntity<DashboardEntityType> {
15769
16327
  get Code(): string | null;
15770
16328
  set Code(value: string | null);
15771
16329
  /**
16330
+ * * Field Name: EnvironmentID
16331
+ * * Display Name: Environment ID
16332
+ * * SQL Data Type: uniqueidentifier
16333
+ * * Related Entity/Foreign Key: MJ: Environments (vwEnvironments.ID)
16334
+ * * Default Value: F51358F3-9447-4176-B313-BF8025FD8D09
16335
+ */
16336
+ get EnvironmentID(): string;
16337
+ set EnvironmentID(value: string);
16338
+ /**
15772
16339
  * * Field Name: User
15773
16340
  * * Display Name: User
15774
16341
  * * SQL Data Type: nvarchar(100)
@@ -15786,6 +16353,12 @@ export declare class DashboardEntity extends BaseEntity<DashboardEntityType> {
15786
16353
  * * SQL Data Type: nvarchar(100)
15787
16354
  */
15788
16355
  get Application(): string | null;
16356
+ /**
16357
+ * * Field Name: Environment
16358
+ * * Display Name: Environment
16359
+ * * SQL Data Type: nvarchar(255)
16360
+ */
16361
+ get Environment(): string;
15789
16362
  }
15790
16363
  /**
15791
16364
  * Data Context Items - strongly typed entity sub-class
@@ -21638,45 +22211,30 @@ export declare class ListEntity extends BaseEntity<ListEntityType> {
21638
22211
  get CompanyIntegration(): string | null;
21639
22212
  }
21640
22213
  /**
21641
- * MJ: AI Agent Prompts - strongly typed entity sub-class
22214
+ * MJ: Access Control Rules - strongly typed entity sub-class
21642
22215
  * * Schema: __mj
21643
- * * Base Table: AIAgentPrompt
21644
- * * Base View: vwAIAgentPrompts
21645
- * * @description Links AI agents with the prompts they use, including execution order and context handling.
22216
+ * * Base Table: AccessControlRule
22217
+ * * Base View: vwAccessControlRules
22218
+ * * @description Generic ACL-style permission system that can control access to any entity record in the system with granular CRUD permissions.
21646
22219
  * * Primary Key: ID
21647
22220
  * @extends {BaseEntity}
21648
22221
  * @class
21649
22222
  * @public
21650
22223
  */
21651
- export declare class AIAgentPromptEntity extends BaseEntity<AIAgentPromptEntityType> {
22224
+ export declare class AccessControlRuleEntity extends BaseEntity<AccessControlRuleEntityType> {
21652
22225
  /**
21653
- * Loads the MJ: AI Agent Prompts record from the database
21654
- * @param ID: string - primary key value to load the MJ: AI Agent Prompts record.
22226
+ * Loads the MJ: Access Control Rules record from the database
22227
+ * @param ID: string - primary key value to load the MJ: Access Control Rules record.
21655
22228
  * @param EntityRelationshipsToLoad - (optional) the relationships to load
21656
22229
  * @returns {Promise<boolean>} - true if successful, false otherwise
21657
22230
  * @public
21658
22231
  * @async
21659
- * @memberof AIAgentPromptEntity
22232
+ * @memberof AccessControlRuleEntity
21660
22233
  * @method
21661
22234
  * @override
21662
22235
  */
21663
22236
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
21664
22237
  /**
21665
- * Validate() method override for MJ: AI Agent Prompts entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
21666
- * * Table-Level: This rule ensures that if the context behavior is set to 'InitialMessages' or 'RecentMessages', then the context message count must be provided. For all other context behaviors, the context message count can be left blank.
21667
- * @public
21668
- * @method
21669
- * @override
21670
- */
21671
- Validate(): ValidationResult;
21672
- /**
21673
- * This rule ensures that if the context behavior is set to 'InitialMessages' or 'RecentMessages', then the context message count must be provided. For all other context behaviors, the context message count can be left blank.
21674
- * @param result - the ValidationResult object to add any errors or warnings to
21675
- * @public
21676
- * @method
21677
- */
21678
- ValidateContextMessageCountRequiredForCertainBehaviors(result: ValidationResult): void;
21679
- /**
21680
22238
  * * Field Name: ID
21681
22239
  * * Display Name: ID
21682
22240
  * * SQL Data Type: uniqueidentifier
@@ -21685,68 +22243,240 @@ export declare class AIAgentPromptEntity extends BaseEntity<AIAgentPromptEntityT
21685
22243
  get ID(): string;
21686
22244
  set ID(value: string);
21687
22245
  /**
21688
- * * Field Name: AgentID
21689
- * * Display Name: Agent ID
22246
+ * * Field Name: EntityID
22247
+ * * Display Name: Entity ID
21690
22248
  * * SQL Data Type: uniqueidentifier
21691
- * * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
21692
- * * Description: References the agent this prompt is associated with.
22249
+ * * Related Entity/Foreign Key: Entities (vwEntities.ID)
21693
22250
  */
21694
- get AgentID(): string;
21695
- set AgentID(value: string);
22251
+ get EntityID(): string;
22252
+ set EntityID(value: string);
21696
22253
  /**
21697
- * * Field Name: PromptID
21698
- * * Display Name: Prompt ID
21699
- * * SQL Data Type: uniqueidentifier
21700
- * * Related Entity/Foreign Key: AI Prompts (vwAIPrompts.ID)
21701
- * * Description: References the prompt to be used by the agent.
22254
+ * * Field Name: RecordID
22255
+ * * Display Name: Record ID
22256
+ * * SQL Data Type: nvarchar(500)
22257
+ * * Description: Primary key value(s) of the record being protected - scalar for simple PKs or JSON for composite PKs
21702
22258
  */
21703
- get PromptID(): string;
21704
- set PromptID(value: string);
22259
+ get RecordID(): string;
22260
+ set RecordID(value: string);
21705
22261
  /**
21706
- * * Field Name: Purpose
21707
- * * Display Name: Purpose
21708
- * * SQL Data Type: nvarchar(MAX)
21709
- * * Description: The functional purpose of this prompt within the agent, such as "Initialize", "ProcessData", or "Summarize".
22262
+ * * Field Name: GranteeType
22263
+ * * Display Name: Grantee Type
22264
+ * * SQL Data Type: nvarchar(50)
22265
+ * * Value List Type: List
22266
+ * * Possible Values
22267
+ * * User
22268
+ * * Role
22269
+ * * Everyone
22270
+ * * Public
22271
+ * * Description: Type of grantee receiving permission (User, Role, Everyone, Public). "Everyone" means all authenticated users whereas "Public" means any authenticated OR anonymous user.
21710
22272
  */
21711
- get Purpose(): string | null;
21712
- set Purpose(value: string | null);
22273
+ get GranteeType(): 'User' | 'Role' | 'Everyone' | 'Public';
22274
+ set GranteeType(value: 'User' | 'Role' | 'Everyone' | 'Public');
21713
22275
  /**
21714
- * * Field Name: ExecutionOrder
21715
- * * Display Name: Execution Order
21716
- * * SQL Data Type: int
22276
+ * * Field Name: GranteeID
22277
+ * * Display Name: Grantee ID
22278
+ * * SQL Data Type: uniqueidentifier
22279
+ */
22280
+ get GranteeID(): string | null;
22281
+ set GranteeID(value: string | null);
22282
+ /**
22283
+ * * Field Name: CanRead
22284
+ * * Display Name: Can Read
22285
+ * * SQL Data Type: bit
21717
22286
  * * Default Value: 0
21718
- * * Description: The sequence order in which this prompt should be executed within the agent's workflow.
22287
+ * * Description: Permission to read/view the record
21719
22288
  */
21720
- get ExecutionOrder(): number;
21721
- set ExecutionOrder(value: number);
22289
+ get CanRead(): boolean;
22290
+ set CanRead(value: boolean);
21722
22291
  /**
21723
- * * Field Name: ConfigurationID
21724
- * * Display Name: Configuration ID
21725
- * * SQL Data Type: uniqueidentifier
21726
- * * Related Entity/Foreign Key: MJ: AI Configurations (vwAIConfigurations.ID)
21727
- * * Description: Optional reference to a specific configuration to use for this prompt. If NULL, uses the default configuration.
22292
+ * * Field Name: CanCreate
22293
+ * * Display Name: Can Create
22294
+ * * SQL Data Type: bit
22295
+ * * Default Value: 0
22296
+ * * Description: Permission to create new related records
21728
22297
  */
21729
- get ConfigurationID(): string | null;
21730
- set ConfigurationID(value: string | null);
22298
+ get CanCreate(): boolean;
22299
+ set CanCreate(value: boolean);
21731
22300
  /**
21732
- * * Field Name: Status
21733
- * * Display Name: Status
21734
- * * SQL Data Type: nvarchar(20)
21735
- * * Default Value: Active
21736
- * * Value List Type: List
21737
- * * Possible Values
21738
- * * Active
21739
- * * Inactive
21740
- * * Deprecated
21741
- * * Preview
21742
- * * Description: The current status of this agent-prompt mapping. Values include Active, Inactive, Deprecated, and Preview.
22301
+ * * Field Name: CanUpdate
22302
+ * * Display Name: Can Update
22303
+ * * SQL Data Type: bit
22304
+ * * Default Value: 0
22305
+ * * Description: Permission to update/modify the record
21743
22306
  */
21744
- get Status(): 'Active' | 'Inactive' | 'Deprecated' | 'Preview';
21745
- set Status(value: 'Active' | 'Inactive' | 'Deprecated' | 'Preview');
22307
+ get CanUpdate(): boolean;
22308
+ set CanUpdate(value: boolean);
21746
22309
  /**
21747
- * * Field Name: ContextBehavior
21748
- * * Display Name: Context Behavior
21749
- * * SQL Data Type: nvarchar(50)
22310
+ * * Field Name: CanDelete
22311
+ * * Display Name: Can Delete
22312
+ * * SQL Data Type: bit
22313
+ * * Default Value: 0
22314
+ * * Description: Permission to delete the record
22315
+ */
22316
+ get CanDelete(): boolean;
22317
+ set CanDelete(value: boolean);
22318
+ /**
22319
+ * * Field Name: CanShare
22320
+ * * Display Name: Can Share
22321
+ * * SQL Data Type: bit
22322
+ * * Default Value: 0
22323
+ * * Description: Permission to share/grant permissions to other users
22324
+ */
22325
+ get CanShare(): boolean;
22326
+ set CanShare(value: boolean);
22327
+ /**
22328
+ * * Field Name: ExpiresAt
22329
+ * * Display Name: Expires At
22330
+ * * SQL Data Type: datetimeoffset
22331
+ * * Description: Optional expiration date/time for this access rule
22332
+ */
22333
+ get ExpiresAt(): Date | null;
22334
+ set ExpiresAt(value: Date | null);
22335
+ /**
22336
+ * * Field Name: GrantedByUserID
22337
+ * * Display Name: Granted By User ID
22338
+ * * SQL Data Type: uniqueidentifier
22339
+ * * Related Entity/Foreign Key: Users (vwUsers.ID)
22340
+ */
22341
+ get GrantedByUserID(): string;
22342
+ set GrantedByUserID(value: string);
22343
+ /**
22344
+ * * Field Name: __mj_CreatedAt
22345
+ * * Display Name: Created At
22346
+ * * SQL Data Type: datetimeoffset
22347
+ * * Default Value: getutcdate()
22348
+ */
22349
+ get __mj_CreatedAt(): Date;
22350
+ /**
22351
+ * * Field Name: __mj_UpdatedAt
22352
+ * * Display Name: Updated At
22353
+ * * SQL Data Type: datetimeoffset
22354
+ * * Default Value: getutcdate()
22355
+ */
22356
+ get __mj_UpdatedAt(): Date;
22357
+ /**
22358
+ * * Field Name: Entity
22359
+ * * Display Name: Entity
22360
+ * * SQL Data Type: nvarchar(255)
22361
+ */
22362
+ get Entity(): string;
22363
+ /**
22364
+ * * Field Name: GrantedByUser
22365
+ * * Display Name: Granted By User
22366
+ * * SQL Data Type: nvarchar(100)
22367
+ */
22368
+ get GrantedByUser(): string;
22369
+ }
22370
+ /**
22371
+ * MJ: AI Agent Prompts - strongly typed entity sub-class
22372
+ * * Schema: __mj
22373
+ * * Base Table: AIAgentPrompt
22374
+ * * Base View: vwAIAgentPrompts
22375
+ * * @description Links AI agents with the prompts they use, including execution order and context handling.
22376
+ * * Primary Key: ID
22377
+ * @extends {BaseEntity}
22378
+ * @class
22379
+ * @public
22380
+ */
22381
+ export declare class AIAgentPromptEntity extends BaseEntity<AIAgentPromptEntityType> {
22382
+ /**
22383
+ * Loads the MJ: AI Agent Prompts record from the database
22384
+ * @param ID: string - primary key value to load the MJ: AI Agent Prompts record.
22385
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
22386
+ * @returns {Promise<boolean>} - true if successful, false otherwise
22387
+ * @public
22388
+ * @async
22389
+ * @memberof AIAgentPromptEntity
22390
+ * @method
22391
+ * @override
22392
+ */
22393
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
22394
+ /**
22395
+ * Validate() method override for MJ: AI Agent Prompts entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
22396
+ * * Table-Level: This rule ensures that if the context behavior is set to 'InitialMessages' or 'RecentMessages', then the context message count must be provided. For all other context behaviors, the context message count can be left blank.
22397
+ * @public
22398
+ * @method
22399
+ * @override
22400
+ */
22401
+ Validate(): ValidationResult;
22402
+ /**
22403
+ * This rule ensures that if the context behavior is set to 'InitialMessages' or 'RecentMessages', then the context message count must be provided. For all other context behaviors, the context message count can be left blank.
22404
+ * @param result - the ValidationResult object to add any errors or warnings to
22405
+ * @public
22406
+ * @method
22407
+ */
22408
+ ValidateContextMessageCountRequiredForCertainBehaviors(result: ValidationResult): void;
22409
+ /**
22410
+ * * Field Name: ID
22411
+ * * Display Name: ID
22412
+ * * SQL Data Type: uniqueidentifier
22413
+ * * Default Value: newsequentialid()
22414
+ */
22415
+ get ID(): string;
22416
+ set ID(value: string);
22417
+ /**
22418
+ * * Field Name: AgentID
22419
+ * * Display Name: Agent ID
22420
+ * * SQL Data Type: uniqueidentifier
22421
+ * * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
22422
+ * * Description: References the agent this prompt is associated with.
22423
+ */
22424
+ get AgentID(): string;
22425
+ set AgentID(value: string);
22426
+ /**
22427
+ * * Field Name: PromptID
22428
+ * * Display Name: Prompt ID
22429
+ * * SQL Data Type: uniqueidentifier
22430
+ * * Related Entity/Foreign Key: AI Prompts (vwAIPrompts.ID)
22431
+ * * Description: References the prompt to be used by the agent.
22432
+ */
22433
+ get PromptID(): string;
22434
+ set PromptID(value: string);
22435
+ /**
22436
+ * * Field Name: Purpose
22437
+ * * Display Name: Purpose
22438
+ * * SQL Data Type: nvarchar(MAX)
22439
+ * * Description: The functional purpose of this prompt within the agent, such as "Initialize", "ProcessData", or "Summarize".
22440
+ */
22441
+ get Purpose(): string | null;
22442
+ set Purpose(value: string | null);
22443
+ /**
22444
+ * * Field Name: ExecutionOrder
22445
+ * * Display Name: Execution Order
22446
+ * * SQL Data Type: int
22447
+ * * Default Value: 0
22448
+ * * Description: The sequence order in which this prompt should be executed within the agent's workflow.
22449
+ */
22450
+ get ExecutionOrder(): number;
22451
+ set ExecutionOrder(value: number);
22452
+ /**
22453
+ * * Field Name: ConfigurationID
22454
+ * * Display Name: Configuration ID
22455
+ * * SQL Data Type: uniqueidentifier
22456
+ * * Related Entity/Foreign Key: MJ: AI Configurations (vwAIConfigurations.ID)
22457
+ * * Description: Optional reference to a specific configuration to use for this prompt. If NULL, uses the default configuration.
22458
+ */
22459
+ get ConfigurationID(): string | null;
22460
+ set ConfigurationID(value: string | null);
22461
+ /**
22462
+ * * Field Name: Status
22463
+ * * Display Name: Status
22464
+ * * SQL Data Type: nvarchar(20)
22465
+ * * Default Value: Active
22466
+ * * Value List Type: List
22467
+ * * Possible Values
22468
+ * * Active
22469
+ * * Inactive
22470
+ * * Deprecated
22471
+ * * Preview
22472
+ * * Description: The current status of this agent-prompt mapping. Values include Active, Inactive, Deprecated, and Preview.
22473
+ */
22474
+ get Status(): 'Active' | 'Inactive' | 'Deprecated' | 'Preview';
22475
+ set Status(value: 'Active' | 'Inactive' | 'Deprecated' | 'Preview');
22476
+ /**
22477
+ * * Field Name: ContextBehavior
22478
+ * * Display Name: Context Behavior
22479
+ * * SQL Data Type: nvarchar(50)
21750
22480
  * * Default Value: Complete
21751
22481
  * * Value List Type: List
21752
22482
  * * Possible Values
@@ -25224,25 +25954,25 @@ export declare class ArtifactTypeEntity extends BaseEntity<ArtifactTypeEntityTyp
25224
25954
  get __mj_UpdatedAt(): Date;
25225
25955
  }
25226
25956
  /**
25227
- * MJ: Component Dependencies - strongly typed entity sub-class
25957
+ * MJ: Artifact Versions - strongly typed entity sub-class
25228
25958
  * * Schema: __mj
25229
- * * Base Table: ComponentDependency
25230
- * * Base View: vwComponentDependencies
25231
- * * @description Tracks component-to-component dependencies for composition
25959
+ * * Base Table: ArtifactVersion
25960
+ * * Base View: vwArtifactVersions
25961
+ * * @description Version history for artifacts, tracking all changes over time
25232
25962
  * * Primary Key: ID
25233
25963
  * @extends {BaseEntity}
25234
25964
  * @class
25235
25965
  * @public
25236
25966
  */
25237
- export declare class ComponentDependencyEntity extends BaseEntity<ComponentDependencyEntityType> {
25967
+ export declare class ArtifactVersionEntity extends BaseEntity<ArtifactVersionEntityType> {
25238
25968
  /**
25239
- * Loads the MJ: Component Dependencies record from the database
25240
- * @param ID: string - primary key value to load the MJ: Component Dependencies record.
25969
+ * Loads the MJ: Artifact Versions record from the database
25970
+ * @param ID: string - primary key value to load the MJ: Artifact Versions record.
25241
25971
  * @param EntityRelationshipsToLoad - (optional) the relationships to load
25242
25972
  * @returns {Promise<boolean>} - true if successful, false otherwise
25243
25973
  * @public
25244
25974
  * @async
25245
- * @memberof ComponentDependencyEntity
25975
+ * @memberof ArtifactVersionEntity
25246
25976
  * @method
25247
25977
  * @override
25248
25978
  */
@@ -25252,28 +25982,57 @@ export declare class ComponentDependencyEntity extends BaseEntity<ComponentDepen
25252
25982
  * * Display Name: ID
25253
25983
  * * SQL Data Type: uniqueidentifier
25254
25984
  * * Default Value: newsequentialid()
25255
- * * Description: Primary key for component dependency
25256
25985
  */
25257
25986
  get ID(): string;
25258
25987
  set ID(value: string);
25259
25988
  /**
25260
- * * Field Name: ComponentID
25261
- * * Display Name: Component ID
25989
+ * * Field Name: ArtifactID
25990
+ * * Display Name: Artifact ID
25262
25991
  * * SQL Data Type: uniqueidentifier
25263
- * * Related Entity/Foreign Key: MJ: Components (vwComponents.ID)
25264
- * * Description: Foreign key to parent Component that has the dependency
25992
+ * * Related Entity/Foreign Key: MJ: Artifacts (vwArtifacts.ID)
25265
25993
  */
25266
- get ComponentID(): string;
25267
- set ComponentID(value: string);
25994
+ get ArtifactID(): string;
25995
+ set ArtifactID(value: string);
25268
25996
  /**
25269
- * * Field Name: DependencyComponentID
25270
- * * Display Name: Dependency Component ID
25997
+ * * Field Name: VersionNumber
25998
+ * * Display Name: Version Number
25999
+ * * SQL Data Type: int
26000
+ * * Description: Sequential version number for this artifact
26001
+ */
26002
+ get VersionNumber(): number;
26003
+ set VersionNumber(value: number);
26004
+ /**
26005
+ * * Field Name: Content
26006
+ * * Display Name: Content
26007
+ * * SQL Data Type: nvarchar(MAX)
26008
+ * * Description: The content of the artifact at this version
26009
+ */
26010
+ get Content(): string | null;
26011
+ set Content(value: string | null);
26012
+ /**
26013
+ * * Field Name: Configuration
26014
+ * * Display Name: Configuration
26015
+ * * SQL Data Type: nvarchar(MAX)
26016
+ * * Description: JSON configuration for this version
26017
+ */
26018
+ get Configuration(): string | null;
26019
+ set Configuration(value: string | null);
26020
+ /**
26021
+ * * Field Name: Comments
26022
+ * * Display Name: Comments
26023
+ * * SQL Data Type: nvarchar(MAX)
26024
+ * * Description: User comments specific to this version
26025
+ */
26026
+ get Comments(): string | null;
26027
+ set Comments(value: string | null);
26028
+ /**
26029
+ * * Field Name: UserID
26030
+ * * Display Name: User ID
25271
26031
  * * SQL Data Type: uniqueidentifier
25272
- * * Related Entity/Foreign Key: MJ: Components (vwComponents.ID)
25273
- * * Description: Foreign key to the Component that is depended upon
26032
+ * * Related Entity/Foreign Key: Users (vwUsers.ID)
25274
26033
  */
25275
- get DependencyComponentID(): string;
25276
- set DependencyComponentID(value: string);
26034
+ get UserID(): string;
26035
+ set UserID(value: string);
25277
26036
  /**
25278
26037
  * * Field Name: __mj_CreatedAt
25279
26038
  * * Display Name: Created At
@@ -25289,38 +26048,38 @@ export declare class ComponentDependencyEntity extends BaseEntity<ComponentDepen
25289
26048
  */
25290
26049
  get __mj_UpdatedAt(): Date;
25291
26050
  /**
25292
- * * Field Name: Component
25293
- * * Display Name: Component
25294
- * * SQL Data Type: nvarchar(500)
26051
+ * * Field Name: Artifact
26052
+ * * Display Name: Artifact
26053
+ * * SQL Data Type: nvarchar(255)
25295
26054
  */
25296
- get Component(): string;
26055
+ get Artifact(): string;
25297
26056
  /**
25298
- * * Field Name: DependencyComponent
25299
- * * Display Name: Dependency Component
25300
- * * SQL Data Type: nvarchar(500)
26057
+ * * Field Name: User
26058
+ * * Display Name: User
26059
+ * * SQL Data Type: nvarchar(100)
25301
26060
  */
25302
- get DependencyComponent(): string;
26061
+ get User(): string;
25303
26062
  }
25304
26063
  /**
25305
- * MJ: Component Libraries - strongly typed entity sub-class
26064
+ * MJ: Artifacts - strongly typed entity sub-class
25306
26065
  * * Schema: __mj
25307
- * * Base Table: ComponentLibrary
25308
- * * Base View: vwComponentLibraries
25309
- * * @description Catalog of third-party JavaScript libraries that components can depend on
26066
+ * * Base Table: Artifact
26067
+ * * Base View: vwArtifacts
26068
+ * * @description Independent content items (code, documents, charts) that can be linked to multiple conversations and collections. Supports versioning and sharing.
25310
26069
  * * Primary Key: ID
25311
26070
  * @extends {BaseEntity}
25312
26071
  * @class
25313
26072
  * @public
25314
26073
  */
25315
- export declare class ComponentLibraryEntity extends BaseEntity<ComponentLibraryEntityType> {
26074
+ export declare class ArtifactEntity extends BaseEntity<ArtifactEntityType> {
25316
26075
  /**
25317
- * Loads the MJ: Component Libraries record from the database
25318
- * @param ID: string - primary key value to load the MJ: Component Libraries record.
26076
+ * Loads the MJ: Artifacts record from the database
26077
+ * @param ID: string - primary key value to load the MJ: Artifacts record.
25319
26078
  * @param EntityRelationshipsToLoad - (optional) the relationships to load
25320
26079
  * @returns {Promise<boolean>} - true if successful, false otherwise
25321
26080
  * @public
25322
26081
  * @async
25323
- * @memberof ComponentLibraryEntity
26082
+ * @memberof ArtifactEntity
25324
26083
  * @method
25325
26084
  * @override
25326
26085
  */
@@ -25330,83 +26089,181 @@ export declare class ComponentLibraryEntity extends BaseEntity<ComponentLibraryE
25330
26089
  * * Display Name: ID
25331
26090
  * * SQL Data Type: uniqueidentifier
25332
26091
  * * Default Value: newsequentialid()
25333
- * * Description: Primary key for the component library
25334
26092
  */
25335
26093
  get ID(): string;
25336
26094
  set ID(value: string);
25337
26095
  /**
26096
+ * * Field Name: EnvironmentID
26097
+ * * Display Name: Environment ID
26098
+ * * SQL Data Type: uniqueidentifier
26099
+ * * Related Entity/Foreign Key: MJ: Environments (vwEnvironments.ID)
26100
+ * * Default Value: F51358F3-9447-4176-B313-BF8025FD8D09
26101
+ */
26102
+ get EnvironmentID(): string;
26103
+ set EnvironmentID(value: string);
26104
+ /**
25338
26105
  * * Field Name: Name
25339
26106
  * * Display Name: Name
25340
- * * SQL Data Type: nvarchar(500)
25341
- * * Description: NPM-style package name (e.g., recharts, lodash, @memberjunction/lib-name)
26107
+ * * SQL Data Type: nvarchar(255)
26108
+ * * Description: Display name for the artifact
25342
26109
  */
25343
26110
  get Name(): string;
25344
26111
  set Name(value: string);
25345
26112
  /**
25346
- * * Field Name: DisplayName
25347
- * * Display Name: Display Name
25348
- * * SQL Data Type: nvarchar(500)
25349
- * * Description: User-friendly display name for the library
26113
+ * * Field Name: Description
26114
+ * * Display Name: Description
26115
+ * * SQL Data Type: nvarchar(MAX)
26116
+ * * Description: Detailed description of the artifact contents and purpose
25350
26117
  */
25351
- get DisplayName(): string | null;
25352
- set DisplayName(value: string | null);
26118
+ get Description(): string | null;
26119
+ set Description(value: string | null);
25353
26120
  /**
25354
- * * Field Name: Version
25355
- * * Display Name: Version
25356
- * * SQL Data Type: nvarchar(100)
25357
- * * Description: Library version number
25358
- */
25359
- get Version(): string | null;
25360
- set Version(value: string | null);
26121
+ * * Field Name: TypeID
26122
+ * * Display Name: Type ID
26123
+ * * SQL Data Type: uniqueidentifier
26124
+ * * Related Entity/Foreign Key: MJ: Artifact Types (vwArtifactTypes.ID)
26125
+ */
26126
+ get TypeID(): string;
26127
+ set TypeID(value: string);
25361
26128
  /**
25362
- * * Field Name: GlobalVariable
25363
- * * Display Name: Global Variable
26129
+ * * Field Name: Comments
26130
+ * * Display Name: Comments
26131
+ * * SQL Data Type: nvarchar(MAX)
26132
+ * * Description: User comments about the artifact
26133
+ */
26134
+ get Comments(): string | null;
26135
+ set Comments(value: string | null);
26136
+ /**
26137
+ * * Field Name: UserID
26138
+ * * Display Name: User ID
26139
+ * * SQL Data Type: uniqueidentifier
26140
+ * * Related Entity/Foreign Key: Users (vwUsers.ID)
26141
+ */
26142
+ get UserID(): string;
26143
+ set UserID(value: string);
26144
+ /**
26145
+ * * Field Name: __mj_CreatedAt
26146
+ * * Display Name: Created At
26147
+ * * SQL Data Type: datetimeoffset
26148
+ * * Default Value: getutcdate()
26149
+ */
26150
+ get __mj_CreatedAt(): Date;
26151
+ /**
26152
+ * * Field Name: __mj_UpdatedAt
26153
+ * * Display Name: Updated At
26154
+ * * SQL Data Type: datetimeoffset
26155
+ * * Default Value: getutcdate()
26156
+ */
26157
+ get __mj_UpdatedAt(): Date;
26158
+ /**
26159
+ * * Field Name: Environment
26160
+ * * Display Name: Environment
25364
26161
  * * SQL Data Type: nvarchar(255)
25365
- * * Description: Global variable name when loaded (e.g., _ for lodash, React for react)
25366
26162
  */
25367
- get GlobalVariable(): string | null;
25368
- set GlobalVariable(value: string | null);
26163
+ get Environment(): string;
25369
26164
  /**
25370
- * * Field Name: Category
25371
- * * Display Name: Category
26165
+ * * Field Name: Type
26166
+ * * Display Name: Type
25372
26167
  * * SQL Data Type: nvarchar(100)
25373
- * * Value List Type: List
25374
- * * Possible Values
25375
- * * Core
25376
- * * Runtime
25377
- * * UI
25378
- * * Charting
25379
- * * Utility
25380
- * * Other
25381
- * * Description: Library category: Core, Runtime, UI, Charting, Utility, or Other
25382
26168
  */
25383
- get Category(): 'Core' | 'Runtime' | 'UI' | 'Charting' | 'Utility' | 'Other' | null;
25384
- set Category(value: 'Core' | 'Runtime' | 'UI' | 'Charting' | 'Utility' | 'Other' | null);
26169
+ get Type(): string;
25385
26170
  /**
25386
- * * Field Name: CDNUrl
25387
- * * Display Name: CDN Url
25388
- * * SQL Data Type: nvarchar(1000)
25389
- * * Description: CDN URL for loading the library JavaScript
26171
+ * * Field Name: User
26172
+ * * Display Name: User
26173
+ * * SQL Data Type: nvarchar(100)
25390
26174
  */
25391
- get CDNUrl(): string | null;
25392
- set CDNUrl(value: string | null);
26175
+ get User(): string;
26176
+ }
26177
+ /**
26178
+ * MJ: Collections - strongly typed entity sub-class
26179
+ * * Schema: __mj
26180
+ * * Base Table: Collection
26181
+ * * Base View: vwCollections
26182
+ * * @description Organizational folders for storing and categorizing artifacts. Supports nested folder structure for hierarchical organization.
26183
+ * * Primary Key: ID
26184
+ * @extends {BaseEntity}
26185
+ * @class
26186
+ * @public
26187
+ */
26188
+ export declare class CollectionEntity extends BaseEntity<CollectionEntityType> {
25393
26189
  /**
25394
- * * Field Name: CDNCssUrl
25395
- * * Display Name: CDN Css Url
25396
- * * SQL Data Type: nvarchar(1000)
25397
- * * Description: Optional CDN URL for loading library CSS
26190
+ * Loads the MJ: Collections record from the database
26191
+ * @param ID: string - primary key value to load the MJ: Collections record.
26192
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
26193
+ * @returns {Promise<boolean>} - true if successful, false otherwise
26194
+ * @public
26195
+ * @async
26196
+ * @memberof CollectionEntity
26197
+ * @method
26198
+ * @override
25398
26199
  */
25399
- get CDNCssUrl(): string | null;
25400
- set CDNCssUrl(value: string | null);
26200
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
26201
+ /**
26202
+ * * Field Name: ID
26203
+ * * Display Name: ID
26204
+ * * SQL Data Type: uniqueidentifier
26205
+ * * Default Value: newsequentialid()
26206
+ */
26207
+ get ID(): string;
26208
+ set ID(value: string);
26209
+ /**
26210
+ * * Field Name: EnvironmentID
26211
+ * * Display Name: Environment ID
26212
+ * * SQL Data Type: uniqueidentifier
26213
+ * * Related Entity/Foreign Key: MJ: Environments (vwEnvironments.ID)
26214
+ * * Default Value: F51358F3-9447-4176-B313-BF8025FD8D09
26215
+ */
26216
+ get EnvironmentID(): string;
26217
+ set EnvironmentID(value: string);
26218
+ /**
26219
+ * * Field Name: ParentID
26220
+ * * Display Name: Parent ID
26221
+ * * SQL Data Type: uniqueidentifier
26222
+ * * Related Entity/Foreign Key: MJ: Collections (vwCollections.ID)
26223
+ */
26224
+ get ParentID(): string | null;
26225
+ set ParentID(value: string | null);
26226
+ /**
26227
+ * * Field Name: Name
26228
+ * * Display Name: Name
26229
+ * * SQL Data Type: nvarchar(255)
26230
+ * * Description: Display name for the collection
26231
+ */
26232
+ get Name(): string;
26233
+ set Name(value: string);
25401
26234
  /**
25402
26235
  * * Field Name: Description
25403
26236
  * * Display Name: Description
25404
26237
  * * SQL Data Type: nvarchar(MAX)
25405
- * * Description: Description of the library and its capabilities
26238
+ * * Description: Detailed description of the collection purpose
25406
26239
  */
25407
26240
  get Description(): string | null;
25408
26241
  set Description(value: string | null);
25409
26242
  /**
26243
+ * * Field Name: Icon
26244
+ * * Display Name: Icon
26245
+ * * SQL Data Type: nvarchar(50)
26246
+ * * Description: Font Awesome icon class for UI display
26247
+ */
26248
+ get Icon(): string | null;
26249
+ set Icon(value: string | null);
26250
+ /**
26251
+ * * Field Name: Color
26252
+ * * Display Name: Color
26253
+ * * SQL Data Type: nvarchar(7)
26254
+ * * Description: Hex color code for UI display (#RRGGBB format)
26255
+ */
26256
+ get Color(): string | null;
26257
+ set Color(value: string | null);
26258
+ /**
26259
+ * * Field Name: Sequence
26260
+ * * Display Name: Sequence
26261
+ * * SQL Data Type: int
26262
+ * * Description: Display sequence for ordering collections in UI
26263
+ */
26264
+ get Sequence(): number | null;
26265
+ set Sequence(value: number | null);
26266
+ /**
25410
26267
  * * Field Name: __mj_CreatedAt
25411
26268
  * * Display Name: Created At
25412
26269
  * * SQL Data Type: datetimeoffset
@@ -25421,70 +26278,38 @@ export declare class ComponentLibraryEntity extends BaseEntity<ComponentLibraryE
25421
26278
  */
25422
26279
  get __mj_UpdatedAt(): Date;
25423
26280
  /**
25424
- * * Field Name: Status
25425
- * * Display Name: Status
25426
- * * SQL Data Type: nvarchar(20)
25427
- * * Default Value: Active
25428
- * * Value List Type: List
25429
- * * Possible Values
25430
- * * Active
25431
- * * Deprecated
25432
- * * Disabled
25433
- * * Description: Status of the component library. Active: fully supported; Deprecated: works but shows console warning; Disabled: throws error if used
25434
- */
25435
- get Status(): 'Active' | 'Deprecated' | 'Disabled';
25436
- set Status(value: 'Active' | 'Deprecated' | 'Disabled');
25437
- /**
25438
- * * Field Name: LintRules
25439
- * * Display Name: Lint Rules
25440
- * * SQL Data Type: nvarchar(MAX)
25441
- * * Description: JSON configuration for library-specific lint rules that are applied during component validation. This field contains structured rules that define how components using this library should be validated, including DOM element requirements, initialization patterns, lifecycle methods, and common error patterns. Example structure: {"initialization": {"constructorName": "Chart", "elementType": "canvas"}, "lifecycle": {"requiredMethods": ["render"], "cleanupMethods": ["destroy"]}}. The linter dynamically applies these rules based on the libraries referenced in a component spec, enabling extensible validation without hardcoding library-specific logic.
25442
- */
25443
- get LintRules(): string | null;
25444
- set LintRules(value: string | null);
25445
- /**
25446
- * * Field Name: Dependencies
25447
- * * Display Name: Dependencies
25448
- * * SQL Data Type: nvarchar(MAX)
25449
- * * Description: JSON object defining dependencies for this component library. Format: { "libraryName": "versionSpec", ... }. Version specifications follow NPM-style syntax (e.g., "~1.0.0", "^1.2.3", "2.3.4"). Dependencies are loaded before this library to ensure proper execution context.
26281
+ * * Field Name: Environment
26282
+ * * Display Name: Environment
26283
+ * * SQL Data Type: nvarchar(255)
25450
26284
  */
25451
- get Dependencies(): string | null;
25452
- set Dependencies(value: string | null);
26285
+ get Environment(): string;
25453
26286
  /**
25454
- * * Field Name: UsageType
25455
- * * Display Name: Usage Type
25456
- * * SQL Data Type: nvarchar(50)
25457
- * * Default Value: Both
25458
- * * Value List Type: List
25459
- * * Possible Values
25460
- * * Direct
25461
- * * Dependency
25462
- * * Both
25463
- * * Description: Controls how the library can be used: Direct (by components), Dependency (only as dependency), or Both
26287
+ * * Field Name: Parent
26288
+ * * Display Name: Parent
26289
+ * * SQL Data Type: nvarchar(255)
25464
26290
  */
25465
- get UsageType(): 'Direct' | 'Dependency' | 'Both';
25466
- set UsageType(value: 'Direct' | 'Dependency' | 'Both');
26291
+ get Parent(): string | null;
25467
26292
  }
25468
26293
  /**
25469
- * MJ: Component Library Links - strongly typed entity sub-class
26294
+ * MJ: Component Dependencies - strongly typed entity sub-class
25470
26295
  * * Schema: __mj
25471
- * * Base Table: ComponentLibraryLink
25472
- * * Base View: vwComponentLibraryLinks
25473
- * * @description Links components to their third-party library dependencies
26296
+ * * Base Table: ComponentDependency
26297
+ * * Base View: vwComponentDependencies
26298
+ * * @description Tracks component-to-component dependencies for composition
25474
26299
  * * Primary Key: ID
25475
26300
  * @extends {BaseEntity}
25476
26301
  * @class
25477
26302
  * @public
25478
26303
  */
25479
- export declare class ComponentLibraryLinkEntity extends BaseEntity<ComponentLibraryLinkEntityType> {
26304
+ export declare class ComponentDependencyEntity extends BaseEntity<ComponentDependencyEntityType> {
25480
26305
  /**
25481
- * Loads the MJ: Component Library Links record from the database
25482
- * @param ID: string - primary key value to load the MJ: Component Library Links record.
26306
+ * Loads the MJ: Component Dependencies record from the database
26307
+ * @param ID: string - primary key value to load the MJ: Component Dependencies record.
25483
26308
  * @param EntityRelationshipsToLoad - (optional) the relationships to load
25484
26309
  * @returns {Promise<boolean>} - true if successful, false otherwise
25485
26310
  * @public
25486
26311
  * @async
25487
- * @memberof ComponentLibraryLinkEntity
26312
+ * @memberof ComponentDependencyEntity
25488
26313
  * @method
25489
26314
  * @override
25490
26315
  */
@@ -25494,7 +26319,7 @@ export declare class ComponentLibraryLinkEntity extends BaseEntity<ComponentLibr
25494
26319
  * * Display Name: ID
25495
26320
  * * SQL Data Type: uniqueidentifier
25496
26321
  * * Default Value: newsequentialid()
25497
- * * Description: Primary key for component-library relationship
26322
+ * * Description: Primary key for component dependency
25498
26323
  */
25499
26324
  get ID(): string;
25500
26325
  set ID(value: string);
@@ -25503,27 +26328,19 @@ export declare class ComponentLibraryLinkEntity extends BaseEntity<ComponentLibr
25503
26328
  * * Display Name: Component ID
25504
26329
  * * SQL Data Type: uniqueidentifier
25505
26330
  * * Related Entity/Foreign Key: MJ: Components (vwComponents.ID)
25506
- * * Description: Foreign key to Component that depends on the library
26331
+ * * Description: Foreign key to parent Component that has the dependency
25507
26332
  */
25508
26333
  get ComponentID(): string;
25509
26334
  set ComponentID(value: string);
25510
26335
  /**
25511
- * * Field Name: LibraryID
25512
- * * Display Name: Library ID
26336
+ * * Field Name: DependencyComponentID
26337
+ * * Display Name: Dependency Component ID
25513
26338
  * * SQL Data Type: uniqueidentifier
25514
- * * Related Entity/Foreign Key: MJ: Component Libraries (vwComponentLibraries.ID)
25515
- * * Description: Foreign key to ComponentLibrary that the component depends on
25516
- */
25517
- get LibraryID(): string;
25518
- set LibraryID(value: string);
25519
- /**
25520
- * * Field Name: MinVersion
25521
- * * Display Name: Min Version
25522
- * * SQL Data Type: nvarchar(100)
25523
- * * Description: Minimum version requirement using semantic versioning (e.g., ^1.0.0, ~2.5.0)
26339
+ * * Related Entity/Foreign Key: MJ: Components (vwComponents.ID)
26340
+ * * Description: Foreign key to the Component that is depended upon
25524
26341
  */
25525
- get MinVersion(): string | null;
25526
- set MinVersion(value: string | null);
26342
+ get DependencyComponentID(): string;
26343
+ set DependencyComponentID(value: string);
25527
26344
  /**
25528
26345
  * * Field Name: __mj_CreatedAt
25529
26346
  * * Display Name: Created At
@@ -25545,32 +26362,32 @@ export declare class ComponentLibraryLinkEntity extends BaseEntity<ComponentLibr
25545
26362
  */
25546
26363
  get Component(): string;
25547
26364
  /**
25548
- * * Field Name: Library
25549
- * * Display Name: Library
26365
+ * * Field Name: DependencyComponent
26366
+ * * Display Name: Dependency Component
25550
26367
  * * SQL Data Type: nvarchar(500)
25551
26368
  */
25552
- get Library(): string;
26369
+ get DependencyComponent(): string;
25553
26370
  }
25554
26371
  /**
25555
- * MJ: Component Registries - strongly typed entity sub-class
26372
+ * MJ: Component Libraries - strongly typed entity sub-class
25556
26373
  * * Schema: __mj
25557
- * * Base Table: ComponentRegistry
25558
- * * Base View: vwComponentRegistries
25559
- * * @description Registry catalog for component sources, similar to NPM registry but supporting multiple sources
26374
+ * * Base Table: ComponentLibrary
26375
+ * * Base View: vwComponentLibraries
26376
+ * * @description Catalog of third-party JavaScript libraries that components can depend on
25560
26377
  * * Primary Key: ID
25561
26378
  * @extends {BaseEntity}
25562
26379
  * @class
25563
26380
  * @public
25564
26381
  */
25565
- export declare class ComponentRegistryEntity extends BaseEntity<ComponentRegistryEntityType> {
26382
+ export declare class ComponentLibraryEntity extends BaseEntity<ComponentLibraryEntityType> {
25566
26383
  /**
25567
- * Loads the MJ: Component Registries record from the database
25568
- * @param ID: string - primary key value to load the MJ: Component Registries record.
26384
+ * Loads the MJ: Component Libraries record from the database
26385
+ * @param ID: string - primary key value to load the MJ: Component Libraries record.
25569
26386
  * @param EntityRelationshipsToLoad - (optional) the relationships to load
25570
26387
  * @returns {Promise<boolean>} - true if successful, false otherwise
25571
26388
  * @public
25572
26389
  * @async
25573
- * @memberof ComponentRegistryEntity
26390
+ * @memberof ComponentLibraryEntity
25574
26391
  * @method
25575
26392
  * @override
25576
26393
  */
@@ -25580,28 +26397,278 @@ export declare class ComponentRegistryEntity extends BaseEntity<ComponentRegistr
25580
26397
  * * Display Name: ID
25581
26398
  * * SQL Data Type: uniqueidentifier
25582
26399
  * * Default Value: newsequentialid()
25583
- * * Description: Primary key for the component registry
26400
+ * * Description: Primary key for the component library
25584
26401
  */
25585
26402
  get ID(): string;
25586
26403
  set ID(value: string);
25587
26404
  /**
25588
26405
  * * Field Name: Name
25589
26406
  * * Display Name: Name
25590
- * * SQL Data Type: nvarchar(255)
25591
- * * Description: Name of the registry (e.g., MemberJunction Registry, NPM, Internal Registry)
26407
+ * * SQL Data Type: nvarchar(500)
26408
+ * * Description: NPM-style package name (e.g., recharts, lodash, @memberjunction/lib-name)
25592
26409
  */
25593
26410
  get Name(): string;
25594
26411
  set Name(value: string);
25595
26412
  /**
25596
- * * Field Name: Description
25597
- * * Display Name: Description
25598
- * * SQL Data Type: nvarchar(MAX)
25599
- * * Description: Description of the registry and its purpose
26413
+ * * Field Name: DisplayName
26414
+ * * Display Name: Display Name
26415
+ * * SQL Data Type: nvarchar(500)
26416
+ * * Description: User-friendly display name for the library
25600
26417
  */
25601
- get Description(): string | null;
25602
- set Description(value: string | null);
26418
+ get DisplayName(): string | null;
26419
+ set DisplayName(value: string | null);
25603
26420
  /**
25604
- * * Field Name: URI
26421
+ * * Field Name: Version
26422
+ * * Display Name: Version
26423
+ * * SQL Data Type: nvarchar(100)
26424
+ * * Description: Library version number
26425
+ */
26426
+ get Version(): string | null;
26427
+ set Version(value: string | null);
26428
+ /**
26429
+ * * Field Name: GlobalVariable
26430
+ * * Display Name: Global Variable
26431
+ * * SQL Data Type: nvarchar(255)
26432
+ * * Description: Global variable name when loaded (e.g., _ for lodash, React for react)
26433
+ */
26434
+ get GlobalVariable(): string | null;
26435
+ set GlobalVariable(value: string | null);
26436
+ /**
26437
+ * * Field Name: Category
26438
+ * * Display Name: Category
26439
+ * * SQL Data Type: nvarchar(100)
26440
+ * * Value List Type: List
26441
+ * * Possible Values
26442
+ * * Core
26443
+ * * Runtime
26444
+ * * UI
26445
+ * * Charting
26446
+ * * Utility
26447
+ * * Other
26448
+ * * Description: Library category: Core, Runtime, UI, Charting, Utility, or Other
26449
+ */
26450
+ get Category(): 'Core' | 'Runtime' | 'UI' | 'Charting' | 'Utility' | 'Other' | null;
26451
+ set Category(value: 'Core' | 'Runtime' | 'UI' | 'Charting' | 'Utility' | 'Other' | null);
26452
+ /**
26453
+ * * Field Name: CDNUrl
26454
+ * * Display Name: CDN Url
26455
+ * * SQL Data Type: nvarchar(1000)
26456
+ * * Description: CDN URL for loading the library JavaScript
26457
+ */
26458
+ get CDNUrl(): string | null;
26459
+ set CDNUrl(value: string | null);
26460
+ /**
26461
+ * * Field Name: CDNCssUrl
26462
+ * * Display Name: CDN Css Url
26463
+ * * SQL Data Type: nvarchar(1000)
26464
+ * * Description: Optional CDN URL for loading library CSS
26465
+ */
26466
+ get CDNCssUrl(): string | null;
26467
+ set CDNCssUrl(value: string | null);
26468
+ /**
26469
+ * * Field Name: Description
26470
+ * * Display Name: Description
26471
+ * * SQL Data Type: nvarchar(MAX)
26472
+ * * Description: Description of the library and its capabilities
26473
+ */
26474
+ get Description(): string | null;
26475
+ set Description(value: string | null);
26476
+ /**
26477
+ * * Field Name: __mj_CreatedAt
26478
+ * * Display Name: Created At
26479
+ * * SQL Data Type: datetimeoffset
26480
+ * * Default Value: getutcdate()
26481
+ */
26482
+ get __mj_CreatedAt(): Date;
26483
+ /**
26484
+ * * Field Name: __mj_UpdatedAt
26485
+ * * Display Name: Updated At
26486
+ * * SQL Data Type: datetimeoffset
26487
+ * * Default Value: getutcdate()
26488
+ */
26489
+ get __mj_UpdatedAt(): Date;
26490
+ /**
26491
+ * * Field Name: Status
26492
+ * * Display Name: Status
26493
+ * * SQL Data Type: nvarchar(20)
26494
+ * * Default Value: Active
26495
+ * * Value List Type: List
26496
+ * * Possible Values
26497
+ * * Active
26498
+ * * Deprecated
26499
+ * * Disabled
26500
+ * * Description: Status of the component library. Active: fully supported; Deprecated: works but shows console warning; Disabled: throws error if used
26501
+ */
26502
+ get Status(): 'Active' | 'Deprecated' | 'Disabled';
26503
+ set Status(value: 'Active' | 'Deprecated' | 'Disabled');
26504
+ /**
26505
+ * * Field Name: LintRules
26506
+ * * Display Name: Lint Rules
26507
+ * * SQL Data Type: nvarchar(MAX)
26508
+ * * Description: JSON configuration for library-specific lint rules that are applied during component validation. This field contains structured rules that define how components using this library should be validated, including DOM element requirements, initialization patterns, lifecycle methods, and common error patterns. Example structure: {"initialization": {"constructorName": "Chart", "elementType": "canvas"}, "lifecycle": {"requiredMethods": ["render"], "cleanupMethods": ["destroy"]}}. The linter dynamically applies these rules based on the libraries referenced in a component spec, enabling extensible validation without hardcoding library-specific logic.
26509
+ */
26510
+ get LintRules(): string | null;
26511
+ set LintRules(value: string | null);
26512
+ /**
26513
+ * * Field Name: Dependencies
26514
+ * * Display Name: Dependencies
26515
+ * * SQL Data Type: nvarchar(MAX)
26516
+ * * Description: JSON object defining dependencies for this component library. Format: { "libraryName": "versionSpec", ... }. Version specifications follow NPM-style syntax (e.g., "~1.0.0", "^1.2.3", "2.3.4"). Dependencies are loaded before this library to ensure proper execution context.
26517
+ */
26518
+ get Dependencies(): string | null;
26519
+ set Dependencies(value: string | null);
26520
+ /**
26521
+ * * Field Name: UsageType
26522
+ * * Display Name: Usage Type
26523
+ * * SQL Data Type: nvarchar(50)
26524
+ * * Default Value: Both
26525
+ * * Value List Type: List
26526
+ * * Possible Values
26527
+ * * Direct
26528
+ * * Dependency
26529
+ * * Both
26530
+ * * Description: Controls how the library can be used: Direct (by components), Dependency (only as dependency), or Both
26531
+ */
26532
+ get UsageType(): 'Direct' | 'Dependency' | 'Both';
26533
+ set UsageType(value: 'Direct' | 'Dependency' | 'Both');
26534
+ }
26535
+ /**
26536
+ * MJ: Component Library Links - strongly typed entity sub-class
26537
+ * * Schema: __mj
26538
+ * * Base Table: ComponentLibraryLink
26539
+ * * Base View: vwComponentLibraryLinks
26540
+ * * @description Links components to their third-party library dependencies
26541
+ * * Primary Key: ID
26542
+ * @extends {BaseEntity}
26543
+ * @class
26544
+ * @public
26545
+ */
26546
+ export declare class ComponentLibraryLinkEntity extends BaseEntity<ComponentLibraryLinkEntityType> {
26547
+ /**
26548
+ * Loads the MJ: Component Library Links record from the database
26549
+ * @param ID: string - primary key value to load the MJ: Component Library Links record.
26550
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
26551
+ * @returns {Promise<boolean>} - true if successful, false otherwise
26552
+ * @public
26553
+ * @async
26554
+ * @memberof ComponentLibraryLinkEntity
26555
+ * @method
26556
+ * @override
26557
+ */
26558
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
26559
+ /**
26560
+ * * Field Name: ID
26561
+ * * Display Name: ID
26562
+ * * SQL Data Type: uniqueidentifier
26563
+ * * Default Value: newsequentialid()
26564
+ * * Description: Primary key for component-library relationship
26565
+ */
26566
+ get ID(): string;
26567
+ set ID(value: string);
26568
+ /**
26569
+ * * Field Name: ComponentID
26570
+ * * Display Name: Component ID
26571
+ * * SQL Data Type: uniqueidentifier
26572
+ * * Related Entity/Foreign Key: MJ: Components (vwComponents.ID)
26573
+ * * Description: Foreign key to Component that depends on the library
26574
+ */
26575
+ get ComponentID(): string;
26576
+ set ComponentID(value: string);
26577
+ /**
26578
+ * * Field Name: LibraryID
26579
+ * * Display Name: Library ID
26580
+ * * SQL Data Type: uniqueidentifier
26581
+ * * Related Entity/Foreign Key: MJ: Component Libraries (vwComponentLibraries.ID)
26582
+ * * Description: Foreign key to ComponentLibrary that the component depends on
26583
+ */
26584
+ get LibraryID(): string;
26585
+ set LibraryID(value: string);
26586
+ /**
26587
+ * * Field Name: MinVersion
26588
+ * * Display Name: Min Version
26589
+ * * SQL Data Type: nvarchar(100)
26590
+ * * Description: Minimum version requirement using semantic versioning (e.g., ^1.0.0, ~2.5.0)
26591
+ */
26592
+ get MinVersion(): string | null;
26593
+ set MinVersion(value: string | null);
26594
+ /**
26595
+ * * Field Name: __mj_CreatedAt
26596
+ * * Display Name: Created At
26597
+ * * SQL Data Type: datetimeoffset
26598
+ * * Default Value: getutcdate()
26599
+ */
26600
+ get __mj_CreatedAt(): Date;
26601
+ /**
26602
+ * * Field Name: __mj_UpdatedAt
26603
+ * * Display Name: Updated At
26604
+ * * SQL Data Type: datetimeoffset
26605
+ * * Default Value: getutcdate()
26606
+ */
26607
+ get __mj_UpdatedAt(): Date;
26608
+ /**
26609
+ * * Field Name: Component
26610
+ * * Display Name: Component
26611
+ * * SQL Data Type: nvarchar(500)
26612
+ */
26613
+ get Component(): string;
26614
+ /**
26615
+ * * Field Name: Library
26616
+ * * Display Name: Library
26617
+ * * SQL Data Type: nvarchar(500)
26618
+ */
26619
+ get Library(): string;
26620
+ }
26621
+ /**
26622
+ * MJ: Component Registries - strongly typed entity sub-class
26623
+ * * Schema: __mj
26624
+ * * Base Table: ComponentRegistry
26625
+ * * Base View: vwComponentRegistries
26626
+ * * @description Registry catalog for component sources, similar to NPM registry but supporting multiple sources
26627
+ * * Primary Key: ID
26628
+ * @extends {BaseEntity}
26629
+ * @class
26630
+ * @public
26631
+ */
26632
+ export declare class ComponentRegistryEntity extends BaseEntity<ComponentRegistryEntityType> {
26633
+ /**
26634
+ * Loads the MJ: Component Registries record from the database
26635
+ * @param ID: string - primary key value to load the MJ: Component Registries record.
26636
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
26637
+ * @returns {Promise<boolean>} - true if successful, false otherwise
26638
+ * @public
26639
+ * @async
26640
+ * @memberof ComponentRegistryEntity
26641
+ * @method
26642
+ * @override
26643
+ */
26644
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
26645
+ /**
26646
+ * * Field Name: ID
26647
+ * * Display Name: ID
26648
+ * * SQL Data Type: uniqueidentifier
26649
+ * * Default Value: newsequentialid()
26650
+ * * Description: Primary key for the component registry
26651
+ */
26652
+ get ID(): string;
26653
+ set ID(value: string);
26654
+ /**
26655
+ * * Field Name: Name
26656
+ * * Display Name: Name
26657
+ * * SQL Data Type: nvarchar(255)
26658
+ * * Description: Name of the registry (e.g., MemberJunction Registry, NPM, Internal Registry)
26659
+ */
26660
+ get Name(): string;
26661
+ set Name(value: string);
26662
+ /**
26663
+ * * Field Name: Description
26664
+ * * Display Name: Description
26665
+ * * SQL Data Type: nvarchar(MAX)
26666
+ * * Description: Description of the registry and its purpose
26667
+ */
26668
+ get Description(): string | null;
26669
+ set Description(value: string | null);
26670
+ /**
26671
+ * * Field Name: URI
25605
26672
  * * Display Name: URI
25606
26673
  * * SQL Data Type: nvarchar(500)
25607
26674
  * * Description: Registry endpoint URI (e.g., https://registry.memberjunction.org)
@@ -26295,20 +27362,691 @@ export declare class DashboardUserPreferenceEntity extends BaseEntity<DashboardU
26295
27362
  */
26296
27363
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
26297
27364
  /**
26298
- * Validate() method override for MJ: Dashboard User Preferences entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
26299
- * * Table-Level: This rule ensures that when the scope is set to 'Global', the ApplicationID must be blank, and when the scope is set to 'App', an ApplicationID must be provided.
27365
+ * Validate() method override for MJ: Dashboard User Preferences entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
27366
+ * * Table-Level: This rule ensures that when the scope is set to 'Global', the ApplicationID must be blank, and when the scope is set to 'App', an ApplicationID must be provided.
27367
+ * @public
27368
+ * @method
27369
+ * @override
27370
+ */
27371
+ Validate(): ValidationResult;
27372
+ /**
27373
+ * This rule ensures that when the scope is set to 'Global', the ApplicationID must be blank, and when the scope is set to 'App', an ApplicationID must be provided.
27374
+ * @param result - the ValidationResult object to add any errors or warnings to
27375
+ * @public
27376
+ * @method
27377
+ */
27378
+ ValidateApplicationIDCorrectForScope(result: ValidationResult): void;
27379
+ /**
27380
+ * * Field Name: ID
27381
+ * * Display Name: ID
27382
+ * * SQL Data Type: uniqueidentifier
27383
+ * * Default Value: newsequentialid()
27384
+ */
27385
+ get ID(): string;
27386
+ set ID(value: string);
27387
+ /**
27388
+ * * Field Name: UserID
27389
+ * * Display Name: User ID
27390
+ * * SQL Data Type: uniqueidentifier
27391
+ * * Related Entity/Foreign Key: Users (vwUsers.ID)
27392
+ * * Description: User that these preferences belong to, NULL for system defaults
27393
+ */
27394
+ get UserID(): string | null;
27395
+ set UserID(value: string | null);
27396
+ /**
27397
+ * * Field Name: DashboardID
27398
+ * * Display Name: Dashboard ID
27399
+ * * SQL Data Type: uniqueidentifier
27400
+ * * Related Entity/Foreign Key: Dashboards (vwDashboards.ID)
27401
+ * * Description: Dashboard that this preference refers to
27402
+ */
27403
+ get DashboardID(): string;
27404
+ set DashboardID(value: string);
27405
+ /**
27406
+ * * Field Name: Scope
27407
+ * * Display Name: Scope
27408
+ * * SQL Data Type: nvarchar(20)
27409
+ * * Value List Type: List
27410
+ * * Possible Values
27411
+ * * Global
27412
+ * * App
27413
+ * * Description: Scope of the preference (Global or App)
27414
+ */
27415
+ get Scope(): 'Global' | 'App';
27416
+ set Scope(value: 'Global' | 'App');
27417
+ /**
27418
+ * * Field Name: ApplicationID
27419
+ * * Display Name: Application ID
27420
+ * * SQL Data Type: uniqueidentifier
27421
+ * * Related Entity/Foreign Key: Applications (vwApplications.ID)
27422
+ * * Description: Application that this preference applies to (only for App scope)
27423
+ */
27424
+ get ApplicationID(): string | null;
27425
+ set ApplicationID(value: string | null);
27426
+ /**
27427
+ * * Field Name: DisplayOrder
27428
+ * * Display Name: Display Order
27429
+ * * SQL Data Type: int
27430
+ * * Description: Order in which to display the dashboard
27431
+ */
27432
+ get DisplayOrder(): number;
27433
+ set DisplayOrder(value: number);
27434
+ /**
27435
+ * * Field Name: __mj_CreatedAt
27436
+ * * Display Name: Created At
27437
+ * * SQL Data Type: datetimeoffset
27438
+ * * Default Value: getutcdate()
27439
+ */
27440
+ get __mj_CreatedAt(): Date;
27441
+ /**
27442
+ * * Field Name: __mj_UpdatedAt
27443
+ * * Display Name: Updated At
27444
+ * * SQL Data Type: datetimeoffset
27445
+ * * Default Value: getutcdate()
27446
+ */
27447
+ get __mj_UpdatedAt(): Date;
27448
+ /**
27449
+ * * Field Name: User
27450
+ * * Display Name: User
27451
+ * * SQL Data Type: nvarchar(100)
27452
+ */
27453
+ get User(): string | null;
27454
+ /**
27455
+ * * Field Name: Dashboard
27456
+ * * Display Name: Dashboard
27457
+ * * SQL Data Type: nvarchar(255)
27458
+ */
27459
+ get Dashboard(): string;
27460
+ /**
27461
+ * * Field Name: Application
27462
+ * * Display Name: Application
27463
+ * * SQL Data Type: nvarchar(100)
27464
+ */
27465
+ get Application(): string | null;
27466
+ }
27467
+ /**
27468
+ * MJ: Dashboard User States - strongly typed entity sub-class
27469
+ * * Schema: __mj
27470
+ * * Base Table: DashboardUserState
27471
+ * * Base View: vwDashboardUserStates
27472
+ * * @description Stores user-specific dashboard state information
27473
+ * * Primary Key: ID
27474
+ * @extends {BaseEntity}
27475
+ * @class
27476
+ * @public
27477
+ */
27478
+ export declare class DashboardUserStateEntity extends BaseEntity<DashboardUserStateEntityType> {
27479
+ /**
27480
+ * Loads the MJ: Dashboard User States record from the database
27481
+ * @param ID: string - primary key value to load the MJ: Dashboard User States record.
27482
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
27483
+ * @returns {Promise<boolean>} - true if successful, false otherwise
27484
+ * @public
27485
+ * @async
27486
+ * @memberof DashboardUserStateEntity
27487
+ * @method
27488
+ * @override
27489
+ */
27490
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
27491
+ /**
27492
+ * * Field Name: ID
27493
+ * * Display Name: ID
27494
+ * * SQL Data Type: uniqueidentifier
27495
+ * * Default Value: newsequentialid()
27496
+ */
27497
+ get ID(): string;
27498
+ set ID(value: string);
27499
+ /**
27500
+ * * Field Name: DashboardID
27501
+ * * Display Name: Dashboard ID
27502
+ * * SQL Data Type: uniqueidentifier
27503
+ * * Related Entity/Foreign Key: Dashboards (vwDashboards.ID)
27504
+ * * Description: Dashboard that this state applies to
27505
+ */
27506
+ get DashboardID(): string;
27507
+ set DashboardID(value: string);
27508
+ /**
27509
+ * * Field Name: UserID
27510
+ * * Display Name: User ID
27511
+ * * SQL Data Type: uniqueidentifier
27512
+ * * Related Entity/Foreign Key: Users (vwUsers.ID)
27513
+ * * Description: User that this state belongs to
27514
+ */
27515
+ get UserID(): string;
27516
+ set UserID(value: string);
27517
+ /**
27518
+ * * Field Name: UserState
27519
+ * * Display Name: User State
27520
+ * * SQL Data Type: nvarchar(MAX)
27521
+ * * Description: JSON object containing user-specific dashboard state
27522
+ */
27523
+ get UserState(): string | null;
27524
+ set UserState(value: string | null);
27525
+ /**
27526
+ * * Field Name: __mj_CreatedAt
27527
+ * * Display Name: Created At
27528
+ * * SQL Data Type: datetimeoffset
27529
+ * * Default Value: getutcdate()
27530
+ */
27531
+ get __mj_CreatedAt(): Date;
27532
+ /**
27533
+ * * Field Name: __mj_UpdatedAt
27534
+ * * Display Name: Updated At
27535
+ * * SQL Data Type: datetimeoffset
27536
+ * * Default Value: getutcdate()
27537
+ */
27538
+ get __mj_UpdatedAt(): Date;
27539
+ /**
27540
+ * * Field Name: Dashboard
27541
+ * * Display Name: Dashboard
27542
+ * * SQL Data Type: nvarchar(255)
27543
+ */
27544
+ get Dashboard(): string;
27545
+ /**
27546
+ * * Field Name: User
27547
+ * * Display Name: User
27548
+ * * SQL Data Type: nvarchar(100)
27549
+ */
27550
+ get User(): string;
27551
+ }
27552
+ /**
27553
+ * MJ: Environments - strongly typed entity sub-class
27554
+ * * Schema: __mj
27555
+ * * Base Table: Environment
27556
+ * * Base View: vwEnvironments
27557
+ * * @description Top-level container for organizing conversations, artifacts, and collections. Provides isolation and grouping for different teams, clients, or functional areas.
27558
+ * * Primary Key: ID
27559
+ * @extends {BaseEntity}
27560
+ * @class
27561
+ * @public
27562
+ */
27563
+ export declare class EnvironmentEntity extends BaseEntity<EnvironmentEntityType> {
27564
+ /**
27565
+ * Loads the MJ: Environments record from the database
27566
+ * @param ID: string - primary key value to load the MJ: Environments record.
27567
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
27568
+ * @returns {Promise<boolean>} - true if successful, false otherwise
27569
+ * @public
27570
+ * @async
27571
+ * @memberof EnvironmentEntity
27572
+ * @method
27573
+ * @override
27574
+ */
27575
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
27576
+ /**
27577
+ * * Field Name: ID
27578
+ * * Display Name: ID
27579
+ * * SQL Data Type: uniqueidentifier
27580
+ * * Default Value: newsequentialid()
27581
+ */
27582
+ get ID(): string;
27583
+ set ID(value: string);
27584
+ /**
27585
+ * * Field Name: Name
27586
+ * * Display Name: Name
27587
+ * * SQL Data Type: nvarchar(255)
27588
+ * * Description: Display name for the environment
27589
+ */
27590
+ get Name(): string;
27591
+ set Name(value: string);
27592
+ /**
27593
+ * * Field Name: Description
27594
+ * * Display Name: Description
27595
+ * * SQL Data Type: nvarchar(MAX)
27596
+ * * Description: Detailed description of the environment purpose and scope
27597
+ */
27598
+ get Description(): string | null;
27599
+ set Description(value: string | null);
27600
+ /**
27601
+ * * Field Name: IsDefault
27602
+ * * Display Name: Is Default
27603
+ * * SQL Data Type: bit
27604
+ * * Default Value: 0
27605
+ * * Description: Indicates if this is the default environment for the organization
27606
+ */
27607
+ get IsDefault(): boolean;
27608
+ set IsDefault(value: boolean);
27609
+ /**
27610
+ * * Field Name: Settings
27611
+ * * Display Name: Settings
27612
+ * * SQL Data Type: nvarchar(MAX)
27613
+ * * Description: JSON configuration for environment-specific settings and features
27614
+ */
27615
+ get Settings(): string | null;
27616
+ set Settings(value: string | null);
27617
+ /**
27618
+ * * Field Name: __mj_CreatedAt
27619
+ * * Display Name: Created At
27620
+ * * SQL Data Type: datetimeoffset
27621
+ * * Default Value: getutcdate()
27622
+ */
27623
+ get __mj_CreatedAt(): Date;
27624
+ /**
27625
+ * * Field Name: __mj_UpdatedAt
27626
+ * * Display Name: Updated At
27627
+ * * SQL Data Type: datetimeoffset
27628
+ * * Default Value: getutcdate()
27629
+ */
27630
+ get __mj_UpdatedAt(): Date;
27631
+ }
27632
+ /**
27633
+ * MJ: Projects - strongly typed entity sub-class
27634
+ * * Schema: __mj
27635
+ * * Base Table: Project
27636
+ * * Base View: vwProjects
27637
+ * * @description Container for grouping related conversations around a common topic, client, or initiative. Supports nesting for sub-projects.
27638
+ * * Primary Key: ID
27639
+ * @extends {BaseEntity}
27640
+ * @class
27641
+ * @public
27642
+ */
27643
+ export declare class ProjectEntity extends BaseEntity<ProjectEntityType> {
27644
+ /**
27645
+ * Loads the MJ: Projects record from the database
27646
+ * @param ID: string - primary key value to load the MJ: Projects record.
27647
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
27648
+ * @returns {Promise<boolean>} - true if successful, false otherwise
27649
+ * @public
27650
+ * @async
27651
+ * @memberof ProjectEntity
27652
+ * @method
27653
+ * @override
27654
+ */
27655
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
27656
+ /**
27657
+ * * Field Name: ID
27658
+ * * Display Name: ID
27659
+ * * SQL Data Type: uniqueidentifier
27660
+ * * Default Value: newsequentialid()
27661
+ */
27662
+ get ID(): string;
27663
+ set ID(value: string);
27664
+ /**
27665
+ * * Field Name: EnvironmentID
27666
+ * * Display Name: Environment ID
27667
+ * * SQL Data Type: uniqueidentifier
27668
+ * * Related Entity/Foreign Key: MJ: Environments (vwEnvironments.ID)
27669
+ * * Default Value: F51358F3-9447-4176-B313-BF8025FD8D09
27670
+ */
27671
+ get EnvironmentID(): string;
27672
+ set EnvironmentID(value: string);
27673
+ /**
27674
+ * * Field Name: ParentID
27675
+ * * Display Name: Parent ID
27676
+ * * SQL Data Type: uniqueidentifier
27677
+ * * Related Entity/Foreign Key: MJ: Projects (vwProjects.ID)
27678
+ */
27679
+ get ParentID(): string | null;
27680
+ set ParentID(value: string | null);
27681
+ /**
27682
+ * * Field Name: Name
27683
+ * * Display Name: Name
27684
+ * * SQL Data Type: nvarchar(255)
27685
+ * * Description: Display name for the project
27686
+ */
27687
+ get Name(): string;
27688
+ set Name(value: string);
27689
+ /**
27690
+ * * Field Name: Description
27691
+ * * Display Name: Description
27692
+ * * SQL Data Type: nvarchar(MAX)
27693
+ * * Description: Detailed description of the project goals and scope
27694
+ */
27695
+ get Description(): string | null;
27696
+ set Description(value: string | null);
27697
+ /**
27698
+ * * Field Name: Color
27699
+ * * Display Name: Color
27700
+ * * SQL Data Type: nvarchar(7)
27701
+ * * Description: Hex color code for project badges in UI (#RRGGBB format)
27702
+ */
27703
+ get Color(): string | null;
27704
+ set Color(value: string | null);
27705
+ /**
27706
+ * * Field Name: Icon
27707
+ * * Display Name: Icon
27708
+ * * SQL Data Type: nvarchar(50)
27709
+ * * Description: Font Awesome icon class for UI display
27710
+ */
27711
+ get Icon(): string | null;
27712
+ set Icon(value: string | null);
27713
+ /**
27714
+ * * Field Name: IsArchived
27715
+ * * Display Name: Is Archived
27716
+ * * SQL Data Type: bit
27717
+ * * Default Value: 0
27718
+ * * Description: Indicates if this project is archived and should be hidden from active lists
27719
+ */
27720
+ get IsArchived(): boolean;
27721
+ set IsArchived(value: boolean);
27722
+ /**
27723
+ * * Field Name: __mj_CreatedAt
27724
+ * * Display Name: Created At
27725
+ * * SQL Data Type: datetimeoffset
27726
+ * * Default Value: getutcdate()
27727
+ */
27728
+ get __mj_CreatedAt(): Date;
27729
+ /**
27730
+ * * Field Name: __mj_UpdatedAt
27731
+ * * Display Name: Updated At
27732
+ * * SQL Data Type: datetimeoffset
27733
+ * * Default Value: getutcdate()
27734
+ */
27735
+ get __mj_UpdatedAt(): Date;
27736
+ /**
27737
+ * * Field Name: Environment
27738
+ * * Display Name: Environment
27739
+ * * SQL Data Type: nvarchar(255)
27740
+ */
27741
+ get Environment(): string;
27742
+ /**
27743
+ * * Field Name: Parent
27744
+ * * Display Name: Parent
27745
+ * * SQL Data Type: nvarchar(255)
27746
+ */
27747
+ get Parent(): string | null;
27748
+ }
27749
+ /**
27750
+ * MJ: Public Links - strongly typed entity sub-class
27751
+ * * Schema: __mj
27752
+ * * Base Table: PublicLink
27753
+ * * Base View: vwPublicLinks
27754
+ * * @description Shareable links for external access to artifacts and other resources. Supports password protection and expiration.
27755
+ * * Primary Key: ID
27756
+ * @extends {BaseEntity}
27757
+ * @class
27758
+ * @public
27759
+ */
27760
+ export declare class PublicLinkEntity extends BaseEntity<PublicLinkEntityType> {
27761
+ /**
27762
+ * Loads the MJ: Public Links record from the database
27763
+ * @param ID: string - primary key value to load the MJ: Public Links record.
27764
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
27765
+ * @returns {Promise<boolean>} - true if successful, false otherwise
27766
+ * @public
27767
+ * @async
27768
+ * @memberof PublicLinkEntity
27769
+ * @method
27770
+ * @override
27771
+ */
27772
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
27773
+ /**
27774
+ * * Field Name: ID
27775
+ * * Display Name: ID
27776
+ * * SQL Data Type: uniqueidentifier
27777
+ * * Default Value: newsequentialid()
27778
+ */
27779
+ get ID(): string;
27780
+ set ID(value: string);
27781
+ /**
27782
+ * * Field Name: ResourceType
27783
+ * * Display Name: Resource Type
27784
+ * * SQL Data Type: nvarchar(50)
27785
+ * * Value List Type: List
27786
+ * * Possible Values
27787
+ * * Artifact
27788
+ * * Conversation
27789
+ * * Collection
27790
+ * * Description: Type of resource being shared (Artifact, Conversation, Collection)
27791
+ */
27792
+ get ResourceType(): 'Artifact' | 'Conversation' | 'Collection';
27793
+ set ResourceType(value: 'Artifact' | 'Conversation' | 'Collection');
27794
+ /**
27795
+ * * Field Name: ResourceID
27796
+ * * Display Name: Resource ID
27797
+ * * SQL Data Type: uniqueidentifier
27798
+ */
27799
+ get ResourceID(): string;
27800
+ set ResourceID(value: string);
27801
+ /**
27802
+ * * Field Name: Token
27803
+ * * Display Name: Token
27804
+ * * SQL Data Type: nvarchar(255)
27805
+ * * Description: Unique token for accessing the shared resource via URL
27806
+ */
27807
+ get Token(): string;
27808
+ set Token(value: string);
27809
+ /**
27810
+ * * Field Name: PasswordHash
27811
+ * * Display Name: Password Hash
27812
+ * * SQL Data Type: nvarchar(255)
27813
+ * * Description: SHA256 hash of optional password for additional security
27814
+ */
27815
+ get PasswordHash(): string | null;
27816
+ set PasswordHash(value: string | null);
27817
+ /**
27818
+ * * Field Name: ExpiresAt
27819
+ * * Display Name: Expires At
27820
+ * * SQL Data Type: datetimeoffset
27821
+ * * Description: Optional expiration date/time for this public link
27822
+ */
27823
+ get ExpiresAt(): Date | null;
27824
+ set ExpiresAt(value: Date | null);
27825
+ /**
27826
+ * * Field Name: MaxViews
27827
+ * * Display Name: Max Views
27828
+ * * SQL Data Type: int
27829
+ * * Description: Maximum number of times this link can be viewed
27830
+ */
27831
+ get MaxViews(): number | null;
27832
+ set MaxViews(value: number | null);
27833
+ /**
27834
+ * * Field Name: CurrentViews
27835
+ * * Display Name: Current Views
27836
+ * * SQL Data Type: int
27837
+ * * Default Value: 0
27838
+ * * Description: Current count of how many times this link has been viewed
27839
+ */
27840
+ get CurrentViews(): number;
27841
+ set CurrentViews(value: number);
27842
+ /**
27843
+ * * Field Name: UserID
27844
+ * * Display Name: User ID
27845
+ * * SQL Data Type: uniqueidentifier
27846
+ * * Related Entity/Foreign Key: Users (vwUsers.ID)
27847
+ */
27848
+ get UserID(): string;
27849
+ set UserID(value: string);
27850
+ /**
27851
+ * * Field Name: IsActive
27852
+ * * Display Name: Is Active
27853
+ * * SQL Data Type: bit
27854
+ * * Default Value: 1
27855
+ * * Description: Indicates if this link is currently active and accessible
27856
+ */
27857
+ get IsActive(): boolean;
27858
+ set IsActive(value: boolean);
27859
+ /**
27860
+ * * Field Name: __mj_CreatedAt
27861
+ * * Display Name: Created At
27862
+ * * SQL Data Type: datetimeoffset
27863
+ * * Default Value: getutcdate()
27864
+ */
27865
+ get __mj_CreatedAt(): Date;
27866
+ /**
27867
+ * * Field Name: __mj_UpdatedAt
27868
+ * * Display Name: Updated At
27869
+ * * SQL Data Type: datetimeoffset
27870
+ * * Default Value: getutcdate()
27871
+ */
27872
+ get __mj_UpdatedAt(): Date;
27873
+ /**
27874
+ * * Field Name: User
27875
+ * * Display Name: User
27876
+ * * SQL Data Type: nvarchar(100)
27877
+ */
27878
+ get User(): string;
27879
+ }
27880
+ /**
27881
+ * MJ: Query Parameters - strongly typed entity sub-class
27882
+ * * Schema: __mj
27883
+ * * Base Table: QueryParameter
27884
+ * * Base View: vwQueryParameters
27885
+ * * @description Stores parameter definitions for parameterized queries that use Nunjucks templates. Each parameter represents a dynamic value that can be passed when executing the query. Parameters are automatically extracted from the query template by the QueryEntityServer using LLM analysis, or can be manually defined. The combination of parameter metadata and validation filters creates a self-documenting, type-safe query execution system.
27886
+ * * Primary Key: ID
27887
+ * @extends {BaseEntity}
27888
+ * @class
27889
+ * @public
27890
+ */
27891
+ export declare class QueryParameterEntity extends BaseEntity<QueryParameterEntityType> {
27892
+ /**
27893
+ * Loads the MJ: Query Parameters record from the database
27894
+ * @param ID: string - primary key value to load the MJ: Query Parameters record.
27895
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
27896
+ * @returns {Promise<boolean>} - true if successful, false otherwise
27897
+ * @public
27898
+ * @async
27899
+ * @memberof QueryParameterEntity
27900
+ * @method
27901
+ * @override
27902
+ */
27903
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
27904
+ /**
27905
+ * * Field Name: ID
27906
+ * * Display Name: ID
27907
+ * * SQL Data Type: uniqueidentifier
27908
+ * * Default Value: newsequentialid()
27909
+ */
27910
+ get ID(): string;
27911
+ set ID(value: string);
27912
+ /**
27913
+ * * Field Name: QueryID
27914
+ * * Display Name: Query ID
27915
+ * * SQL Data Type: uniqueidentifier
27916
+ * * Related Entity/Foreign Key: Queries (vwQueries.ID)
27917
+ */
27918
+ get QueryID(): string;
27919
+ set QueryID(value: string);
27920
+ /**
27921
+ * * Field Name: Name
27922
+ * * Display Name: Name
27923
+ * * SQL Data Type: nvarchar(255)
27924
+ * * Description: The name of the parameter as it appears in the Nunjucks template. This must match exactly with the parameter reference in the SQL template. For example, if the template contains {{ userEmail | required | email }}, the Name would be "userEmail". Parameter names should follow JavaScript identifier rules: start with a letter, and contain only letters, numbers, and underscores.
27925
+ */
27926
+ get Name(): string;
27927
+ set Name(value: string);
27928
+ /**
27929
+ * * Field Name: Type
27930
+ * * Display Name: Type
27931
+ * * SQL Data Type: nvarchar(50)
27932
+ * * Value List Type: List
27933
+ * * Possible Values
27934
+ * * string
27935
+ * * number
27936
+ * * date
27937
+ * * boolean
27938
+ * * array
27939
+ * * Description: The data type of the parameter used for validation and type conversion. Valid values are: "string" for text values, "number" for integers or decimals, "date" for date/datetime values (ISO 8601 format expected), "boolean" for true/false values, and "array" for multiple values (typically used with IN clauses). The type determines which validation filters can be applied and how the parameter is processed.
27940
+ */
27941
+ get Type(): 'string' | 'number' | 'date' | 'boolean' | 'array';
27942
+ set Type(value: 'string' | 'number' | 'date' | 'boolean' | 'array');
27943
+ /**
27944
+ * * Field Name: IsRequired
27945
+ * * Display Name: Is Required
27946
+ * * SQL Data Type: bit
27947
+ * * Default Value: 0
27948
+ * * Description: Indicates whether this parameter must be provided when executing the query. When true, the query execution will fail if the parameter is not supplied and no DefaultValue is set. This is automatically determined by the presence of the "required" filter in the template, but can be manually overridden. Required parameters ensure data integrity and prevent unintended query behavior.
27949
+ */
27950
+ get IsRequired(): boolean | null;
27951
+ set IsRequired(value: boolean | null);
27952
+ /**
27953
+ * * Field Name: DefaultValue
27954
+ * * Display Name: Default Value
27955
+ * * SQL Data Type: nvarchar(MAX)
27956
+ * * Description: The default value to use when the parameter is not provided during query execution. This value must be compatible with the parameter Type. For arrays, use JSON format like ["value1","value2"]. Default values allow queries to have sensible fallbacks while still accepting custom inputs. If a parameter is required (IsRequired=true), the default value is ignored.
27957
+ */
27958
+ get DefaultValue(): string | null;
27959
+ set DefaultValue(value: string | null);
27960
+ /**
27961
+ * * Field Name: Description
27962
+ * * Display Name: Description
27963
+ * * SQL Data Type: nvarchar(MAX)
27964
+ * * Description: Human-readable description explaining the purpose and usage of this parameter. This is typically generated by LLM analysis of the query context but can be manually edited. Good descriptions include: what the parameter filters or controls, valid value ranges or formats, business meaning, and any special considerations. This text is shown in UI to help users understand what value to provide.
27965
+ */
27966
+ get Description(): string | null;
27967
+ set Description(value: string | null);
27968
+ /**
27969
+ * * Field Name: SampleValue
27970
+ * * Display Name: Sample Value
27971
+ * * SQL Data Type: nvarchar(MAX)
27972
+ * * Description: A concrete example value demonstrating the proper format for this parameter. Generated by LLM based on the query context and validation filters. For example: "john@example.com" for an email parameter, "2024-01-15" for a date, or "["active","pending"]" for a status array. Sample values help users understand the expected format and can be used in API documentation.
27973
+ */
27974
+ get SampleValue(): string | null;
27975
+ set SampleValue(value: string | null);
27976
+ /**
27977
+ * * Field Name: ValidationFilters
27978
+ * * Display Name: Validation Filters
27979
+ * * SQL Data Type: nvarchar(MAX)
27980
+ * * Description: JSON array of Nunjucks filter definitions that validate and transform the parameter value. Each filter is an object with "name" and optional "args" properties. Filters are applied in order and can include: validation (required, email, min, max), transformation (trim, upper, lower), SQL safety (sqlsafe, sqljoin), and type conversion (number, date). Example: [{"name":"required"},{"name":"email"},{"name":"sqlsafe"}]. The filter chain ensures type safety and prevents SQL injection.
27981
+ */
27982
+ get ValidationFilters(): string | null;
27983
+ set ValidationFilters(value: string | null);
27984
+ /**
27985
+ * * Field Name: DetectionMethod
27986
+ * * Display Name: Detection Method
27987
+ * * SQL Data Type: nvarchar(50)
27988
+ * * Default Value: Manual
27989
+ * * Value List Type: List
27990
+ * * Possible Values
27991
+ * * AI
27992
+ * * Manual
27993
+ * * Description: Indicates how this parameter was identified and added to the system. "AI" means it was automatically detected by LLM analysis of the query template, including extraction of parameter name, type inference from filters, and generation of description. "Manual" means it was explicitly defined by a user. This helps track which parameters might need human review and provides transparency about the source of metadata.
27994
+ */
27995
+ get DetectionMethod(): 'AI' | 'Manual';
27996
+ set DetectionMethod(value: 'AI' | 'Manual');
27997
+ /**
27998
+ * * Field Name: AutoDetectConfidenceScore
27999
+ * * Display Name: Auto Detect Confidence Score
28000
+ * * SQL Data Type: decimal(3, 2)
28001
+ * * Description: Confidence score (0.00-1.00) indicating how certain the AI was about this parameter detection. Only populated when DetectionMethod="AI". Higher scores indicate the LLM was more confident about the parameter name, type, and usage. Scores above 0.80 are generally reliable, 0.60-0.80 may benefit from human review, and below 0.60 should be manually verified. This helps prioritize which auto-detected parameters need human attention.
28002
+ */
28003
+ get AutoDetectConfidenceScore(): number | null;
28004
+ set AutoDetectConfidenceScore(value: number | null);
28005
+ /**
28006
+ * * Field Name: __mj_CreatedAt
28007
+ * * Display Name: Created At
28008
+ * * SQL Data Type: datetimeoffset
28009
+ * * Default Value: getutcdate()
28010
+ */
28011
+ get __mj_CreatedAt(): Date;
28012
+ /**
28013
+ * * Field Name: __mj_UpdatedAt
28014
+ * * Display Name: Updated At
28015
+ * * SQL Data Type: datetimeoffset
28016
+ * * Default Value: getutcdate()
28017
+ */
28018
+ get __mj_UpdatedAt(): Date;
28019
+ /**
28020
+ * * Field Name: Query
28021
+ * * Display Name: Query
28022
+ * * SQL Data Type: nvarchar(255)
28023
+ */
28024
+ get Query(): string;
28025
+ }
28026
+ /**
28027
+ * MJ: Record Links - strongly typed entity sub-class
28028
+ * * Schema: __mj
28029
+ * * Base Table: RecordLink
28030
+ * * Base View: vwRecordLinks
28031
+ * * @description Generic linking table that can connect any two records in the system, providing a flexible relationship management system.
28032
+ * * Primary Key: ID
28033
+ * @extends {BaseEntity}
28034
+ * @class
28035
+ * @public
28036
+ */
28037
+ export declare class RecordLinkEntity extends BaseEntity<RecordLinkEntityType> {
28038
+ /**
28039
+ * Loads the MJ: Record Links record from the database
28040
+ * @param ID: string - primary key value to load the MJ: Record Links record.
28041
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
28042
+ * @returns {Promise<boolean>} - true if successful, false otherwise
26300
28043
  * @public
28044
+ * @async
28045
+ * @memberof RecordLinkEntity
26301
28046
  * @method
26302
28047
  * @override
26303
28048
  */
26304
- Validate(): ValidationResult;
26305
- /**
26306
- * This rule ensures that when the scope is set to 'Global', the ApplicationID must be blank, and when the scope is set to 'App', an ApplicationID must be provided.
26307
- * @param result - the ValidationResult object to add any errors or warnings to
26308
- * @public
26309
- * @method
26310
- */
26311
- ValidateApplicationIDCorrectForScope(result: ValidationResult): void;
28049
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
26312
28050
  /**
26313
28051
  * * Field Name: ID
26314
28052
  * * Display Name: ID
@@ -26318,52 +28056,61 @@ export declare class DashboardUserPreferenceEntity extends BaseEntity<DashboardU
26318
28056
  get ID(): string;
26319
28057
  set ID(value: string);
26320
28058
  /**
26321
- * * Field Name: UserID
26322
- * * Display Name: User ID
28059
+ * * Field Name: SourceEntityID
28060
+ * * Display Name: Source Entity ID
26323
28061
  * * SQL Data Type: uniqueidentifier
26324
- * * Related Entity/Foreign Key: Users (vwUsers.ID)
26325
- * * Description: User that these preferences belong to, NULL for system defaults
28062
+ * * Related Entity/Foreign Key: Entities (vwEntities.ID)
26326
28063
  */
26327
- get UserID(): string | null;
26328
- set UserID(value: string | null);
28064
+ get SourceEntityID(): string;
28065
+ set SourceEntityID(value: string);
26329
28066
  /**
26330
- * * Field Name: DashboardID
26331
- * * Display Name: Dashboard ID
28067
+ * * Field Name: SourceRecordID
28068
+ * * Display Name: Source Record ID
28069
+ * * SQL Data Type: nvarchar(500)
28070
+ * * Description: Primary key value(s) of the source record - scalar for simple PKs or JSON KeyValuePair array for composite PKs
28071
+ */
28072
+ get SourceRecordID(): string;
28073
+ set SourceRecordID(value: string);
28074
+ /**
28075
+ * * Field Name: TargetEntityID
28076
+ * * Display Name: Target Entity ID
26332
28077
  * * SQL Data Type: uniqueidentifier
26333
- * * Related Entity/Foreign Key: Dashboards (vwDashboards.ID)
26334
- * * Description: Dashboard that this preference refers to
28078
+ * * Related Entity/Foreign Key: Entities (vwEntities.ID)
26335
28079
  */
26336
- get DashboardID(): string;
26337
- set DashboardID(value: string);
28080
+ get TargetEntityID(): string;
28081
+ set TargetEntityID(value: string);
26338
28082
  /**
26339
- * * Field Name: Scope
26340
- * * Display Name: Scope
26341
- * * SQL Data Type: nvarchar(20)
26342
- * * Value List Type: List
26343
- * * Possible Values
26344
- * * Global
26345
- * * App
26346
- * * Description: Scope of the preference (Global or App)
28083
+ * * Field Name: TargetRecordID
28084
+ * * Display Name: Target Record ID
28085
+ * * SQL Data Type: nvarchar(500)
28086
+ * * Description: Primary key value(s) of the target record - scalar for simple PKs or JSON KeyValuePair array for composite PKs
26347
28087
  */
26348
- get Scope(): 'Global' | 'App';
26349
- set Scope(value: 'Global' | 'App');
28088
+ get TargetRecordID(): string;
28089
+ set TargetRecordID(value: string);
26350
28090
  /**
26351
- * * Field Name: ApplicationID
26352
- * * Display Name: Application ID
26353
- * * SQL Data Type: uniqueidentifier
26354
- * * Related Entity/Foreign Key: Applications (vwApplications.ID)
26355
- * * Description: Application that this preference applies to (only for App scope)
28091
+ * * Field Name: LinkType
28092
+ * * Display Name: Link Type
28093
+ * * SQL Data Type: nvarchar(50)
28094
+ * * Description: Application-specific relationship type describing how the records are related
26356
28095
  */
26357
- get ApplicationID(): string | null;
26358
- set ApplicationID(value: string | null);
28096
+ get LinkType(): string | null;
28097
+ set LinkType(value: string | null);
26359
28098
  /**
26360
- * * Field Name: DisplayOrder
26361
- * * Display Name: Display Order
28099
+ * * Field Name: Sequence
28100
+ * * Display Name: Sequence
26362
28101
  * * SQL Data Type: int
26363
- * * Description: Order in which to display the dashboard
28102
+ * * Description: Display sequence for ordering linked records in UI
26364
28103
  */
26365
- get DisplayOrder(): number;
26366
- set DisplayOrder(value: number);
28104
+ get Sequence(): number | null;
28105
+ set Sequence(value: number | null);
28106
+ /**
28107
+ * * Field Name: Metadata
28108
+ * * Display Name: Metadata
28109
+ * * SQL Data Type: nvarchar(MAX)
28110
+ * * Description: JSON field for storing additional link-specific metadata
28111
+ */
28112
+ get Metadata(): string | null;
28113
+ set Metadata(value: string | null);
26367
28114
  /**
26368
28115
  * * Field Name: __mj_CreatedAt
26369
28116
  * * Display Name: Created At
@@ -26379,44 +28126,38 @@ export declare class DashboardUserPreferenceEntity extends BaseEntity<DashboardU
26379
28126
  */
26380
28127
  get __mj_UpdatedAt(): Date;
26381
28128
  /**
26382
- * * Field Name: User
26383
- * * Display Name: User
26384
- * * SQL Data Type: nvarchar(100)
26385
- */
26386
- get User(): string | null;
26387
- /**
26388
- * * Field Name: Dashboard
26389
- * * Display Name: Dashboard
28129
+ * * Field Name: SourceEntity
28130
+ * * Display Name: Source Entity
26390
28131
  * * SQL Data Type: nvarchar(255)
26391
28132
  */
26392
- get Dashboard(): string;
28133
+ get SourceEntity(): string;
26393
28134
  /**
26394
- * * Field Name: Application
26395
- * * Display Name: Application
26396
- * * SQL Data Type: nvarchar(100)
28135
+ * * Field Name: TargetEntity
28136
+ * * Display Name: Target Entity
28137
+ * * SQL Data Type: nvarchar(255)
26397
28138
  */
26398
- get Application(): string | null;
28139
+ get TargetEntity(): string;
26399
28140
  }
26400
28141
  /**
26401
- * MJ: Dashboard User States - strongly typed entity sub-class
28142
+ * MJ: Report User States - strongly typed entity sub-class
26402
28143
  * * Schema: __mj
26403
- * * Base Table: DashboardUserState
26404
- * * Base View: vwDashboardUserStates
26405
- * * @description Stores user-specific dashboard state information
28144
+ * * Base Table: ReportUserState
28145
+ * * Base View: vwReportUserStates
28146
+ * * @description Tracks individual user state within interactive reports
26406
28147
  * * Primary Key: ID
26407
28148
  * @extends {BaseEntity}
26408
28149
  * @class
26409
28150
  * @public
26410
28151
  */
26411
- export declare class DashboardUserStateEntity extends BaseEntity<DashboardUserStateEntityType> {
28152
+ export declare class ReportUserStateEntity extends BaseEntity<ReportUserStateEntityType> {
26412
28153
  /**
26413
- * Loads the MJ: Dashboard User States record from the database
26414
- * @param ID: string - primary key value to load the MJ: Dashboard User States record.
28154
+ * Loads the MJ: Report User States record from the database
28155
+ * @param ID: string - primary key value to load the MJ: Report User States record.
26415
28156
  * @param EntityRelationshipsToLoad - (optional) the relationships to load
26416
28157
  * @returns {Promise<boolean>} - true if successful, false otherwise
26417
28158
  * @public
26418
28159
  * @async
26419
- * @memberof DashboardUserStateEntity
28160
+ * @memberof ReportUserStateEntity
26420
28161
  * @method
26421
28162
  * @override
26422
28163
  */
@@ -26430,31 +28171,29 @@ export declare class DashboardUserStateEntity extends BaseEntity<DashboardUserSt
26430
28171
  get ID(): string;
26431
28172
  set ID(value: string);
26432
28173
  /**
26433
- * * Field Name: DashboardID
26434
- * * Display Name: Dashboard ID
28174
+ * * Field Name: ReportID
28175
+ * * Display Name: Report ID
26435
28176
  * * SQL Data Type: uniqueidentifier
26436
- * * Related Entity/Foreign Key: Dashboards (vwDashboards.ID)
26437
- * * Description: Dashboard that this state applies to
28177
+ * * Related Entity/Foreign Key: Reports (vwReports.ID)
26438
28178
  */
26439
- get DashboardID(): string;
26440
- set DashboardID(value: string);
28179
+ get ReportID(): string;
28180
+ set ReportID(value: string);
26441
28181
  /**
26442
28182
  * * Field Name: UserID
26443
28183
  * * Display Name: User ID
26444
28184
  * * SQL Data Type: uniqueidentifier
26445
28185
  * * Related Entity/Foreign Key: Users (vwUsers.ID)
26446
- * * Description: User that this state belongs to
26447
28186
  */
26448
28187
  get UserID(): string;
26449
28188
  set UserID(value: string);
26450
28189
  /**
26451
- * * Field Name: UserState
26452
- * * Display Name: User State
28190
+ * * Field Name: ReportState
28191
+ * * Display Name: Report State
26453
28192
  * * SQL Data Type: nvarchar(MAX)
26454
- * * Description: JSON object containing user-specific dashboard state
28193
+ * * Description: JSON serialized state of user interaction with the report
26455
28194
  */
26456
- get UserState(): string | null;
26457
- set UserState(value: string | null);
28195
+ get ReportState(): string | null;
28196
+ set ReportState(value: string | null);
26458
28197
  /**
26459
28198
  * * Field Name: __mj_CreatedAt
26460
28199
  * * Display Name: Created At
@@ -26470,11 +28209,11 @@ export declare class DashboardUserStateEntity extends BaseEntity<DashboardUserSt
26470
28209
  */
26471
28210
  get __mj_UpdatedAt(): Date;
26472
28211
  /**
26473
- * * Field Name: Dashboard
26474
- * * Display Name: Dashboard
28212
+ * * Field Name: Report
28213
+ * * Display Name: Report
26475
28214
  * * SQL Data Type: nvarchar(255)
26476
28215
  */
26477
- get Dashboard(): string;
28216
+ get Report(): string;
26478
28217
  /**
26479
28218
  * * Field Name: User
26480
28219
  * * Display Name: User
@@ -26483,30 +28222,45 @@ export declare class DashboardUserStateEntity extends BaseEntity<DashboardUserSt
26483
28222
  get User(): string;
26484
28223
  }
26485
28224
  /**
26486
- * MJ: Query Parameters - strongly typed entity sub-class
28225
+ * MJ: Report Versions - strongly typed entity sub-class
26487
28226
  * * Schema: __mj
26488
- * * Base Table: QueryParameter
26489
- * * Base View: vwQueryParameters
26490
- * * @description Stores parameter definitions for parameterized queries that use Nunjucks templates. Each parameter represents a dynamic value that can be passed when executing the query. Parameters are automatically extracted from the query template by the QueryEntityServer using LLM analysis, or can be manually defined. The combination of parameter metadata and validation filters creates a self-documenting, type-safe query execution system.
28227
+ * * Base Table: ReportVersion
28228
+ * * Base View: vwReportVersions
28229
+ * * @description Stores iterations of report logic, structure, and layout changes
26491
28230
  * * Primary Key: ID
26492
28231
  * @extends {BaseEntity}
26493
28232
  * @class
26494
28233
  * @public
26495
28234
  */
26496
- export declare class QueryParameterEntity extends BaseEntity<QueryParameterEntityType> {
28235
+ export declare class ReportVersionEntity extends BaseEntity<ReportVersionEntityType> {
26497
28236
  /**
26498
- * Loads the MJ: Query Parameters record from the database
26499
- * @param ID: string - primary key value to load the MJ: Query Parameters record.
28237
+ * Loads the MJ: Report Versions record from the database
28238
+ * @param ID: string - primary key value to load the MJ: Report Versions record.
26500
28239
  * @param EntityRelationshipsToLoad - (optional) the relationships to load
26501
28240
  * @returns {Promise<boolean>} - true if successful, false otherwise
26502
28241
  * @public
26503
28242
  * @async
26504
- * @memberof QueryParameterEntity
28243
+ * @memberof ReportVersionEntity
26505
28244
  * @method
26506
28245
  * @override
26507
28246
  */
26508
28247
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
26509
28248
  /**
28249
+ * 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:
28250
+ * * VersionNumber: This rule ensures that the version number must be greater than zero, meaning there should be at least one version created.
28251
+ * @public
28252
+ * @method
28253
+ * @override
28254
+ */
28255
+ Validate(): ValidationResult;
28256
+ /**
28257
+ * This rule ensures that the version number must be greater than zero, meaning there should be at least one version created.
28258
+ * @param result - the ValidationResult object to add any errors or warnings to
28259
+ * @public
28260
+ * @method
28261
+ */
28262
+ ValidateVersionNumberGreaterThanZero(result: ValidationResult): void;
28263
+ /**
26510
28264
  * * Field Name: ID
26511
28265
  * * Display Name: ID
26512
28266
  * * SQL Data Type: uniqueidentifier
@@ -26515,98 +28269,152 @@ export declare class QueryParameterEntity extends BaseEntity<QueryParameterEntit
26515
28269
  get ID(): string;
26516
28270
  set ID(value: string);
26517
28271
  /**
26518
- * * Field Name: QueryID
26519
- * * Display Name: Query ID
28272
+ * * Field Name: ReportID
28273
+ * * Display Name: Report ID
26520
28274
  * * SQL Data Type: uniqueidentifier
26521
- * * Related Entity/Foreign Key: Queries (vwQueries.ID)
28275
+ * * Related Entity/Foreign Key: Reports (vwReports.ID)
26522
28276
  */
26523
- get QueryID(): string;
26524
- set QueryID(value: string);
28277
+ get ReportID(): string;
28278
+ set ReportID(value: string);
28279
+ /**
28280
+ * * Field Name: VersionNumber
28281
+ * * Display Name: Version Number
28282
+ * * SQL Data Type: int
28283
+ * * Description: Report version number, sequential per report starting at 1
28284
+ */
28285
+ get VersionNumber(): number;
28286
+ set VersionNumber(value: number);
26525
28287
  /**
26526
28288
  * * Field Name: Name
26527
28289
  * * Display Name: Name
26528
28290
  * * SQL Data Type: nvarchar(255)
26529
- * * Description: The name of the parameter as it appears in the Nunjucks template. This must match exactly with the parameter reference in the SQL template. For example, if the template contains {{ userEmail | required | email }}, the Name would be "userEmail". Parameter names should follow JavaScript identifier rules: start with a letter, and contain only letters, numbers, and underscores.
28291
+ * * Description: Name of this report version
26530
28292
  */
26531
28293
  get Name(): string;
26532
28294
  set Name(value: string);
26533
28295
  /**
26534
- * * Field Name: Type
26535
- * * Display Name: Type
26536
- * * SQL Data Type: nvarchar(50)
26537
- * * Value List Type: List
26538
- * * Possible Values
26539
- * * string
26540
- * * number
26541
- * * date
26542
- * * boolean
26543
- * * array
26544
- * * Description: The data type of the parameter used for validation and type conversion. Valid values are: "string" for text values, "number" for integers or decimals, "date" for date/datetime values (ISO 8601 format expected), "boolean" for true/false values, and "array" for multiple values (typically used with IN clauses). The type determines which validation filters can be applied and how the parameter is processed.
28296
+ * * Field Name: Description
28297
+ * * Display Name: Description
28298
+ * * SQL Data Type: nvarchar(MAX)
28299
+ * * Description: Description of this report version
26545
28300
  */
26546
- get Type(): 'string' | 'number' | 'date' | 'boolean' | 'array';
26547
- set Type(value: 'string' | 'number' | 'date' | 'boolean' | 'array');
28301
+ get Description(): string | null;
28302
+ set Description(value: string | null);
26548
28303
  /**
26549
- * * Field Name: IsRequired
26550
- * * Display Name: Is Required
28304
+ * * Field Name: Configuration
28305
+ * * Display Name: Configuration
28306
+ * * SQL Data Type: nvarchar(MAX)
28307
+ * * Description: JSON configuration of report structure, layout and logic
28308
+ */
28309
+ get Configuration(): string | null;
28310
+ set Configuration(value: string | null);
28311
+ /**
28312
+ * * Field Name: DataContextUpdated
28313
+ * * Display Name: Data Context Updated
26551
28314
  * * SQL Data Type: bit
26552
28315
  * * Default Value: 0
26553
- * * Description: Indicates whether this parameter must be provided when executing the query. When true, the query execution will fail if the parameter is not supplied and no DefaultValue is set. This is automatically determined by the presence of the "required" filter in the template, but can be manually overridden. Required parameters ensure data integrity and prevent unintended query behavior.
28316
+ * * Description: Indicates if the data context was updated in this version
26554
28317
  */
26555
- get IsRequired(): boolean | null;
26556
- set IsRequired(value: boolean | null);
28318
+ get DataContextUpdated(): boolean;
28319
+ set DataContextUpdated(value: boolean);
28320
+ /**
28321
+ * * Field Name: __mj_CreatedAt
28322
+ * * Display Name: Created At
28323
+ * * SQL Data Type: datetimeoffset
28324
+ * * Default Value: getutcdate()
28325
+ */
28326
+ get __mj_CreatedAt(): Date;
28327
+ /**
28328
+ * * Field Name: __mj_UpdatedAt
28329
+ * * Display Name: Updated At
28330
+ * * SQL Data Type: datetimeoffset
28331
+ * * Default Value: getutcdate()
28332
+ */
28333
+ get __mj_UpdatedAt(): Date;
28334
+ /**
28335
+ * * Field Name: Report
28336
+ * * Display Name: Report
28337
+ * * SQL Data Type: nvarchar(255)
28338
+ */
28339
+ get Report(): string;
28340
+ }
28341
+ /**
28342
+ * MJ: Task Dependencies - strongly typed entity sub-class
28343
+ * * Schema: __mj
28344
+ * * Base Table: TaskDependency
28345
+ * * Base View: vwTaskDependencies
28346
+ * * @description Defines dependencies between tasks to create a directed acyclic graph (DAG) for workflow orchestration
28347
+ * * Primary Key: ID
28348
+ * @extends {BaseEntity}
28349
+ * @class
28350
+ * @public
28351
+ */
28352
+ export declare class TaskDependencyEntity extends BaseEntity<TaskDependencyEntityType> {
28353
+ /**
28354
+ * Loads the MJ: Task Dependencies record from the database
28355
+ * @param ID: string - primary key value to load the MJ: Task Dependencies record.
28356
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
28357
+ * @returns {Promise<boolean>} - true if successful, false otherwise
28358
+ * @public
28359
+ * @async
28360
+ * @memberof TaskDependencyEntity
28361
+ * @method
28362
+ * @override
28363
+ */
28364
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
28365
+ /**
28366
+ * Validate() method override for MJ: Task Dependencies entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
28367
+ * * Table-Level: This rule ensures that a task cannot depend on itself. In other words, the dependent task and the task it depends on must be different.
28368
+ * @public
28369
+ * @method
28370
+ * @override
28371
+ */
28372
+ Validate(): ValidationResult;
26557
28373
  /**
26558
- * * Field Name: DefaultValue
26559
- * * Display Name: Default Value
26560
- * * SQL Data Type: nvarchar(MAX)
26561
- * * Description: The default value to use when the parameter is not provided during query execution. This value must be compatible with the parameter Type. For arrays, use JSON format like ["value1","value2"]. Default values allow queries to have sensible fallbacks while still accepting custom inputs. If a parameter is required (IsRequired=true), the default value is ignored.
28374
+ * This rule ensures that a task cannot depend on itself. In other words, the dependent task and the task it depends on must be different.
28375
+ * @param result - the ValidationResult object to add any errors or warnings to
28376
+ * @public
28377
+ * @method
26562
28378
  */
26563
- get DefaultValue(): string | null;
26564
- set DefaultValue(value: string | null);
28379
+ ValidateTaskIDIsNotEqualToDependsOnTaskID(result: ValidationResult): void;
26565
28380
  /**
26566
- * * Field Name: Description
26567
- * * Display Name: Description
26568
- * * SQL Data Type: nvarchar(MAX)
26569
- * * Description: Human-readable description explaining the purpose and usage of this parameter. This is typically generated by LLM analysis of the query context but can be manually edited. Good descriptions include: what the parameter filters or controls, valid value ranges or formats, business meaning, and any special considerations. This text is shown in UI to help users understand what value to provide.
28381
+ * * Field Name: ID
28382
+ * * Display Name: ID
28383
+ * * SQL Data Type: uniqueidentifier
28384
+ * * Default Value: newsequentialid()
26570
28385
  */
26571
- get Description(): string | null;
26572
- set Description(value: string | null);
28386
+ get ID(): string;
28387
+ set ID(value: string);
26573
28388
  /**
26574
- * * Field Name: SampleValue
26575
- * * Display Name: Sample Value
26576
- * * SQL Data Type: nvarchar(MAX)
26577
- * * Description: A concrete example value demonstrating the proper format for this parameter. Generated by LLM based on the query context and validation filters. For example: "john@example.com" for an email parameter, "2024-01-15" for a date, or "["active","pending"]" for a status array. Sample values help users understand the expected format and can be used in API documentation.
28389
+ * * Field Name: TaskID
28390
+ * * Display Name: Task ID
28391
+ * * SQL Data Type: uniqueidentifier
28392
+ * * Related Entity/Foreign Key: MJ: Tasks (vwTasks.ID)
26578
28393
  */
26579
- get SampleValue(): string | null;
26580
- set SampleValue(value: string | null);
28394
+ get TaskID(): string;
28395
+ set TaskID(value: string);
26581
28396
  /**
26582
- * * Field Name: ValidationFilters
26583
- * * Display Name: Validation Filters
26584
- * * SQL Data Type: nvarchar(MAX)
26585
- * * Description: JSON array of Nunjucks filter definitions that validate and transform the parameter value. Each filter is an object with "name" and optional "args" properties. Filters are applied in order and can include: validation (required, email, min, max), transformation (trim, upper, lower), SQL safety (sqlsafe, sqljoin), and type conversion (number, date). Example: [{"name":"required"},{"name":"email"},{"name":"sqlsafe"}]. The filter chain ensures type safety and prevents SQL injection.
28397
+ * * Field Name: DependsOnTaskID
28398
+ * * Display Name: Depends On Task ID
28399
+ * * SQL Data Type: uniqueidentifier
28400
+ * * Related Entity/Foreign Key: MJ: Tasks (vwTasks.ID)
26586
28401
  */
26587
- get ValidationFilters(): string | null;
26588
- set ValidationFilters(value: string | null);
28402
+ get DependsOnTaskID(): string;
28403
+ set DependsOnTaskID(value: string);
26589
28404
  /**
26590
- * * Field Name: DetectionMethod
26591
- * * Display Name: Detection Method
28405
+ * * Field Name: DependencyType
28406
+ * * Display Name: Dependency Type
26592
28407
  * * SQL Data Type: nvarchar(50)
26593
- * * Default Value: Manual
28408
+ * * Default Value: Prerequisite
26594
28409
  * * Value List Type: List
26595
28410
  * * Possible Values
26596
- * * AI
26597
- * * Manual
26598
- * * Description: Indicates how this parameter was identified and added to the system. "AI" means it was automatically detected by LLM analysis of the query template, including extraction of parameter name, type inference from filters, and generation of description. "Manual" means it was explicitly defined by a user. This helps track which parameters might need human review and provides transparency about the source of metadata.
26599
- */
26600
- get DetectionMethod(): 'AI' | 'Manual';
26601
- set DetectionMethod(value: 'AI' | 'Manual');
26602
- /**
26603
- * * Field Name: AutoDetectConfidenceScore
26604
- * * Display Name: Auto Detect Confidence Score
26605
- * * SQL Data Type: decimal(3, 2)
26606
- * * Description: Confidence score (0.00-1.00) indicating how certain the AI was about this parameter detection. Only populated when DetectionMethod="AI". Higher scores indicate the LLM was more confident about the parameter name, type, and usage. Scores above 0.80 are generally reliable, 0.60-0.80 may benefit from human review, and below 0.60 should be manually verified. This helps prioritize which auto-detected parameters need human attention.
28411
+ * * Prerequisite
28412
+ * * Corequisite
28413
+ * * Optional
28414
+ * * Description: Type of dependency relationship (Prerequisite, Corequisite, Optional)
26607
28415
  */
26608
- get AutoDetectConfidenceScore(): number | null;
26609
- set AutoDetectConfidenceScore(value: number | null);
28416
+ get DependencyType(): 'Prerequisite' | 'Corequisite' | 'Optional';
28417
+ set DependencyType(value: 'Prerequisite' | 'Corequisite' | 'Optional');
26610
28418
  /**
26611
28419
  * * Field Name: __mj_CreatedAt
26612
28420
  * * Display Name: Created At
@@ -26622,32 +28430,38 @@ export declare class QueryParameterEntity extends BaseEntity<QueryParameterEntit
26622
28430
  */
26623
28431
  get __mj_UpdatedAt(): Date;
26624
28432
  /**
26625
- * * Field Name: Query
26626
- * * Display Name: Query
28433
+ * * Field Name: Task
28434
+ * * Display Name: Task
26627
28435
  * * SQL Data Type: nvarchar(255)
26628
28436
  */
26629
- get Query(): string;
28437
+ get Task(): string;
28438
+ /**
28439
+ * * Field Name: DependsOnTask
28440
+ * * Display Name: Depends On Task
28441
+ * * SQL Data Type: nvarchar(255)
28442
+ */
28443
+ get DependsOnTask(): string;
26630
28444
  }
26631
28445
  /**
26632
- * MJ: Report User States - strongly typed entity sub-class
28446
+ * MJ: Task Types - strongly typed entity sub-class
26633
28447
  * * Schema: __mj
26634
- * * Base Table: ReportUserState
26635
- * * Base View: vwReportUserStates
26636
- * * @description Tracks individual user state within interactive reports
28448
+ * * Base Table: TaskType
28449
+ * * Base View: vwTaskTypes
28450
+ * * @description Categorization system for different types of tasks that can be created and managed within the system
26637
28451
  * * Primary Key: ID
26638
28452
  * @extends {BaseEntity}
26639
28453
  * @class
26640
28454
  * @public
26641
28455
  */
26642
- export declare class ReportUserStateEntity extends BaseEntity<ReportUserStateEntityType> {
28456
+ export declare class TaskTypeEntity extends BaseEntity<TaskTypeEntityType> {
26643
28457
  /**
26644
- * Loads the MJ: Report User States record from the database
26645
- * @param ID: string - primary key value to load the MJ: Report User States record.
28458
+ * Loads the MJ: Task Types record from the database
28459
+ * @param ID: string - primary key value to load the MJ: Task Types record.
26646
28460
  * @param EntityRelationshipsToLoad - (optional) the relationships to load
26647
28461
  * @returns {Promise<boolean>} - true if successful, false otherwise
26648
28462
  * @public
26649
28463
  * @async
26650
- * @memberof ReportUserStateEntity
28464
+ * @memberof TaskTypeEntity
26651
28465
  * @method
26652
28466
  * @override
26653
28467
  */
@@ -26661,29 +28475,21 @@ export declare class ReportUserStateEntity extends BaseEntity<ReportUserStateEnt
26661
28475
  get ID(): string;
26662
28476
  set ID(value: string);
26663
28477
  /**
26664
- * * Field Name: ReportID
26665
- * * Display Name: Report ID
26666
- * * SQL Data Type: uniqueidentifier
26667
- * * Related Entity/Foreign Key: Reports (vwReports.ID)
26668
- */
26669
- get ReportID(): string;
26670
- set ReportID(value: string);
26671
- /**
26672
- * * Field Name: UserID
26673
- * * Display Name: User ID
26674
- * * SQL Data Type: uniqueidentifier
26675
- * * Related Entity/Foreign Key: Users (vwUsers.ID)
28478
+ * * Field Name: Name
28479
+ * * Display Name: Name
28480
+ * * SQL Data Type: nvarchar(255)
28481
+ * * Description: Display name for the task type
26676
28482
  */
26677
- get UserID(): string;
26678
- set UserID(value: string);
28483
+ get Name(): string;
28484
+ set Name(value: string);
26679
28485
  /**
26680
- * * Field Name: ReportState
26681
- * * Display Name: Report State
28486
+ * * Field Name: Description
28487
+ * * Display Name: Description
26682
28488
  * * SQL Data Type: nvarchar(MAX)
26683
- * * Description: JSON serialized state of user interaction with the report
28489
+ * * Description: Detailed description of what this task type represents and when it should be used
26684
28490
  */
26685
- get ReportState(): string | null;
26686
- set ReportState(value: string | null);
28491
+ get Description(): string | null;
28492
+ set Description(value: string | null);
26687
28493
  /**
26688
28494
  * * Field Name: __mj_CreatedAt
26689
28495
  * * Display Name: Created At
@@ -26698,58 +28504,54 @@ export declare class ReportUserStateEntity extends BaseEntity<ReportUserStateEnt
26698
28504
  * * Default Value: getutcdate()
26699
28505
  */
26700
28506
  get __mj_UpdatedAt(): Date;
26701
- /**
26702
- * * Field Name: Report
26703
- * * Display Name: Report
26704
- * * SQL Data Type: nvarchar(255)
26705
- */
26706
- get Report(): string;
26707
- /**
26708
- * * Field Name: User
26709
- * * Display Name: User
26710
- * * SQL Data Type: nvarchar(100)
26711
- */
26712
- get User(): string;
26713
28507
  }
26714
28508
  /**
26715
- * MJ: Report Versions - strongly typed entity sub-class
28509
+ * MJ: Tasks - strongly typed entity sub-class
26716
28510
  * * Schema: __mj
26717
- * * Base Table: ReportVersion
26718
- * * Base View: vwReportVersions
26719
- * * @description Stores iterations of report logic, structure, and layout changes
28511
+ * * Base Table: Task
28512
+ * * Base View: vwTasks
28513
+ * * @description Core task management entity supporting multi-agent and multi-human collaboration with dependency tracking
26720
28514
  * * Primary Key: ID
26721
28515
  * @extends {BaseEntity}
26722
28516
  * @class
26723
28517
  * @public
26724
28518
  */
26725
- export declare class ReportVersionEntity extends BaseEntity<ReportVersionEntityType> {
28519
+ export declare class TaskEntity extends BaseEntity<TaskEntityType> {
26726
28520
  /**
26727
- * Loads the MJ: Report Versions record from the database
26728
- * @param ID: string - primary key value to load the MJ: Report Versions record.
28521
+ * Loads the MJ: Tasks record from the database
28522
+ * @param ID: string - primary key value to load the MJ: Tasks record.
26729
28523
  * @param EntityRelationshipsToLoad - (optional) the relationships to load
26730
28524
  * @returns {Promise<boolean>} - true if successful, false otherwise
26731
28525
  * @public
26732
28526
  * @async
26733
- * @memberof ReportVersionEntity
28527
+ * @memberof TaskEntity
26734
28528
  * @method
26735
28529
  * @override
26736
28530
  */
26737
28531
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
26738
28532
  /**
26739
- * 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:
26740
- * * VersionNumber: This rule ensures that the version number must be greater than zero, meaning there should be at least one version created.
28533
+ * Validate() method override for MJ: Tasks entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
28534
+ * * PercentComplete: This rule ensures that the percent complete value must always be between 0 and 100, inclusive.
28535
+ * * Table-Level: This rule ensures that you can have a user, or an agent, or neither, but you cannot have both set at the same time.
26741
28536
  * @public
26742
28537
  * @method
26743
28538
  * @override
26744
28539
  */
26745
28540
  Validate(): ValidationResult;
26746
28541
  /**
26747
- * This rule ensures that the version number must be greater than zero, meaning there should be at least one version created.
28542
+ * This rule ensures that the percent complete value must always be between 0 and 100, inclusive.
26748
28543
  * @param result - the ValidationResult object to add any errors or warnings to
26749
28544
  * @public
26750
28545
  * @method
26751
28546
  */
26752
- ValidateVersionNumberGreaterThanZero(result: ValidationResult): void;
28547
+ ValidatePercentCompleteWithinRange(result: ValidationResult): void;
28548
+ /**
28549
+ * This rule ensures that you can have a user, or an agent, or neither, but you cannot have both set at the same time.
28550
+ * @param result - the ValidationResult object to add any errors or warnings to
28551
+ * @public
28552
+ * @method
28553
+ */
28554
+ ValidateUserIDAndAgentIDNotBothSet(result: ValidationResult): void;
26753
28555
  /**
26754
28556
  * * Field Name: ID
26755
28557
  * * Display Name: ID
@@ -26759,26 +28561,18 @@ export declare class ReportVersionEntity extends BaseEntity<ReportVersionEntityT
26759
28561
  get ID(): string;
26760
28562
  set ID(value: string);
26761
28563
  /**
26762
- * * Field Name: ReportID
26763
- * * Display Name: Report ID
28564
+ * * Field Name: ParentID
28565
+ * * Display Name: Parent ID
26764
28566
  * * SQL Data Type: uniqueidentifier
26765
- * * Related Entity/Foreign Key: Reports (vwReports.ID)
28567
+ * * Related Entity/Foreign Key: MJ: Tasks (vwTasks.ID)
26766
28568
  */
26767
- get ReportID(): string;
26768
- set ReportID(value: string);
26769
- /**
26770
- * * Field Name: VersionNumber
26771
- * * Display Name: Version Number
26772
- * * SQL Data Type: int
26773
- * * Description: Report version number, sequential per report starting at 1
26774
- */
26775
- get VersionNumber(): number;
26776
- set VersionNumber(value: number);
28569
+ get ParentID(): string | null;
28570
+ set ParentID(value: string | null);
26777
28571
  /**
26778
28572
  * * Field Name: Name
26779
28573
  * * Display Name: Name
26780
28574
  * * SQL Data Type: nvarchar(255)
26781
- * * Description: Name of this report version
28575
+ * * Description: Display name for the task
26782
28576
  */
26783
28577
  get Name(): string;
26784
28578
  set Name(value: string);
@@ -26786,27 +28580,110 @@ export declare class ReportVersionEntity extends BaseEntity<ReportVersionEntityT
26786
28580
  * * Field Name: Description
26787
28581
  * * Display Name: Description
26788
28582
  * * SQL Data Type: nvarchar(MAX)
26789
- * * Description: Description of this report version
28583
+ * * Description: Detailed description of the task requirements and objectives
26790
28584
  */
26791
28585
  get Description(): string | null;
26792
28586
  set Description(value: string | null);
26793
28587
  /**
26794
- * * Field Name: Configuration
26795
- * * Display Name: Configuration
26796
- * * SQL Data Type: nvarchar(MAX)
26797
- * * Description: JSON configuration of report structure, layout and logic
28588
+ * * Field Name: TypeID
28589
+ * * Display Name: Type ID
28590
+ * * SQL Data Type: uniqueidentifier
28591
+ * * Related Entity/Foreign Key: MJ: Task Types (vwTaskTypes.ID)
26798
28592
  */
26799
- get Configuration(): string | null;
26800
- set Configuration(value: string | null);
28593
+ get TypeID(): string;
28594
+ set TypeID(value: string);
26801
28595
  /**
26802
- * * Field Name: DataContextUpdated
26803
- * * Display Name: Data Context Updated
26804
- * * SQL Data Type: bit
28596
+ * * Field Name: EnvironmentID
28597
+ * * Display Name: Environment ID
28598
+ * * SQL Data Type: uniqueidentifier
28599
+ * * Related Entity/Foreign Key: MJ: Environments (vwEnvironments.ID)
28600
+ * * Default Value: F51358F3-9447-4176-B313-BF8025FD8D09
28601
+ */
28602
+ get EnvironmentID(): string;
28603
+ set EnvironmentID(value: string);
28604
+ /**
28605
+ * * Field Name: ProjectID
28606
+ * * Display Name: Project ID
28607
+ * * SQL Data Type: uniqueidentifier
28608
+ * * Related Entity/Foreign Key: MJ: Projects (vwProjects.ID)
28609
+ */
28610
+ get ProjectID(): string | null;
28611
+ set ProjectID(value: string | null);
28612
+ /**
28613
+ * * Field Name: ConversationDetailID
28614
+ * * Display Name: Conversation Detail ID
28615
+ * * SQL Data Type: uniqueidentifier
28616
+ * * Related Entity/Foreign Key: Conversation Details (vwConversationDetails.ID)
28617
+ */
28618
+ get ConversationDetailID(): string | null;
28619
+ set ConversationDetailID(value: string | null);
28620
+ /**
28621
+ * * Field Name: UserID
28622
+ * * Display Name: User ID
28623
+ * * SQL Data Type: uniqueidentifier
28624
+ * * Related Entity/Foreign Key: Users (vwUsers.ID)
28625
+ */
28626
+ get UserID(): string | null;
28627
+ set UserID(value: string | null);
28628
+ /**
28629
+ * * Field Name: AgentID
28630
+ * * Display Name: Agent ID
28631
+ * * SQL Data Type: uniqueidentifier
28632
+ * * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
28633
+ */
28634
+ get AgentID(): string | null;
28635
+ set AgentID(value: string | null);
28636
+ /**
28637
+ * * Field Name: Status
28638
+ * * Display Name: Status
28639
+ * * SQL Data Type: nvarchar(50)
28640
+ * * Default Value: Pending
28641
+ * * Value List Type: List
28642
+ * * Possible Values
28643
+ * * Pending
28644
+ * * In Progress
28645
+ * * Complete
28646
+ * * Cancelled
28647
+ * * Failed
28648
+ * * Blocked
28649
+ * * Deferred
28650
+ * * Description: Current status of the task (Pending, In Progress, Complete, Cancelled, Failed, Blocked, Deferred)
28651
+ */
28652
+ get Status(): 'Pending' | 'In Progress' | 'Complete' | 'Cancelled' | 'Failed' | 'Blocked' | 'Deferred';
28653
+ set Status(value: 'Pending' | 'In Progress' | 'Complete' | 'Cancelled' | 'Failed' | 'Blocked' | 'Deferred');
28654
+ /**
28655
+ * * Field Name: PercentComplete
28656
+ * * Display Name: Percent Complete
28657
+ * * SQL Data Type: int
26805
28658
  * * Default Value: 0
26806
- * * Description: Indicates if the data context was updated in this version
28659
+ * * Description: Completion percentage for tracking progress (0-100)
26807
28660
  */
26808
- get DataContextUpdated(): boolean;
26809
- set DataContextUpdated(value: boolean);
28661
+ get PercentComplete(): number | null;
28662
+ set PercentComplete(value: number | null);
28663
+ /**
28664
+ * * Field Name: DueAt
28665
+ * * Display Name: Due At
28666
+ * * SQL Data Type: datetimeoffset
28667
+ * * Description: Due date and time for task completion
28668
+ */
28669
+ get DueAt(): Date | null;
28670
+ set DueAt(value: Date | null);
28671
+ /**
28672
+ * * Field Name: StartedAt
28673
+ * * Display Name: Started At
28674
+ * * SQL Data Type: datetimeoffset
28675
+ * * Description: Timestamp when work on the task began
28676
+ */
28677
+ get StartedAt(): Date | null;
28678
+ set StartedAt(value: Date | null);
28679
+ /**
28680
+ * * Field Name: CompletedAt
28681
+ * * Display Name: Completed At
28682
+ * * SQL Data Type: datetimeoffset
28683
+ * * Description: Timestamp when the task was completed
28684
+ */
28685
+ get CompletedAt(): Date | null;
28686
+ set CompletedAt(value: Date | null);
26810
28687
  /**
26811
28688
  * * Field Name: __mj_CreatedAt
26812
28689
  * * Display Name: Created At
@@ -26822,11 +28699,41 @@ export declare class ReportVersionEntity extends BaseEntity<ReportVersionEntityT
26822
28699
  */
26823
28700
  get __mj_UpdatedAt(): Date;
26824
28701
  /**
26825
- * * Field Name: Report
26826
- * * Display Name: Report
28702
+ * * Field Name: Parent
28703
+ * * Display Name: Parent
26827
28704
  * * SQL Data Type: nvarchar(255)
26828
28705
  */
26829
- get Report(): string;
28706
+ get Parent(): string | null;
28707
+ /**
28708
+ * * Field Name: Type
28709
+ * * Display Name: Type
28710
+ * * SQL Data Type: nvarchar(255)
28711
+ */
28712
+ get Type(): string;
28713
+ /**
28714
+ * * Field Name: Environment
28715
+ * * Display Name: Environment
28716
+ * * SQL Data Type: nvarchar(255)
28717
+ */
28718
+ get Environment(): string;
28719
+ /**
28720
+ * * Field Name: Project
28721
+ * * Display Name: Project
28722
+ * * SQL Data Type: nvarchar(255)
28723
+ */
28724
+ get Project(): string | null;
28725
+ /**
28726
+ * * Field Name: User
28727
+ * * Display Name: User
28728
+ * * SQL Data Type: nvarchar(100)
28729
+ */
28730
+ get User(): string | null;
28731
+ /**
28732
+ * * Field Name: Agent
28733
+ * * Display Name: Agent
28734
+ * * SQL Data Type: nvarchar(255)
28735
+ */
28736
+ get Agent(): string | null;
26830
28737
  }
26831
28738
  /**
26832
28739
  * Output Delivery Types - strongly typed entity sub-class
@@ -29348,6 +31255,15 @@ export declare class ReportEntity extends BaseEntity<ReportEntityType> {
29348
31255
  get Thumbnail(): string | null;
29349
31256
  set Thumbnail(value: string | null);
29350
31257
  /**
31258
+ * * Field Name: EnvironmentID
31259
+ * * Display Name: Environment ID
31260
+ * * SQL Data Type: uniqueidentifier
31261
+ * * Related Entity/Foreign Key: MJ: Environments (vwEnvironments.ID)
31262
+ * * Default Value: F51358F3-9447-4176-B313-BF8025FD8D09
31263
+ */
31264
+ get EnvironmentID(): string;
31265
+ set EnvironmentID(value: string);
31266
+ /**
29351
31267
  * * Field Name: Category
29352
31268
  * * Display Name: Category
29353
31269
  * * SQL Data Type: nvarchar(100)
@@ -29395,6 +31311,12 @@ export declare class ReportEntity extends BaseEntity<ReportEntityType> {
29395
31311
  * * SQL Data Type: nvarchar(100)
29396
31312
  */
29397
31313
  get OutputWorkflow(): string | null;
31314
+ /**
31315
+ * * Field Name: Environment
31316
+ * * Display Name: Environment
31317
+ * * SQL Data Type: nvarchar(255)
31318
+ */
31319
+ get Environment(): string;
29398
31320
  }
29399
31321
  /**
29400
31322
  * Resource Links - strongly typed entity sub-class