@memberjunction/core-entities 5.24.0 → 5.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/engines/FileStorageEngine.d.ts +21 -5
  2. package/dist/engines/FileStorageEngine.d.ts.map +1 -1
  3. package/dist/engines/FileStorageEngine.js +24 -4
  4. package/dist/engines/FileStorageEngine.js.map +1 -1
  5. package/dist/engines/GeoDataEngine.d.ts +141 -0
  6. package/dist/engines/GeoDataEngine.d.ts.map +1 -0
  7. package/dist/engines/GeoDataEngine.js +425 -0
  8. package/dist/engines/GeoDataEngine.js.map +1 -0
  9. package/dist/engines/InstanceConfigEngine.d.ts +105 -0
  10. package/dist/engines/InstanceConfigEngine.d.ts.map +1 -0
  11. package/dist/engines/InstanceConfigEngine.js +198 -0
  12. package/dist/engines/InstanceConfigEngine.js.map +1 -0
  13. package/dist/engines/SearchEngineBase.d.ts +76 -0
  14. package/dist/engines/SearchEngineBase.d.ts.map +1 -0
  15. package/dist/engines/SearchEngineBase.js +141 -0
  16. package/dist/engines/SearchEngineBase.js.map +1 -0
  17. package/dist/engines/UserInfoEngine.d.ts +15 -1
  18. package/dist/engines/UserInfoEngine.d.ts.map +1 -1
  19. package/dist/engines/UserInfoEngine.js +45 -0
  20. package/dist/engines/UserInfoEngine.js.map +1 -1
  21. package/dist/engines/artifacts.d.ts +13 -0
  22. package/dist/engines/artifacts.d.ts.map +1 -1
  23. package/dist/engines/artifacts.js +25 -0
  24. package/dist/engines/artifacts.js.map +1 -1
  25. package/dist/generated/entity_subclasses.d.ts +1629 -71
  26. package/dist/generated/entity_subclasses.d.ts.map +1 -1
  27. package/dist/generated/entity_subclasses.js +2438 -123
  28. package/dist/generated/entity_subclasses.js.map +1 -1
  29. package/dist/index.d.ts +3 -0
  30. package/dist/index.d.ts.map +1 -1
  31. package/dist/index.js +3 -0
  32. package/dist/index.js.map +1 -1
  33. package/package.json +5 -5
@@ -596,7 +596,9 @@ export declare const MJAIAgentCategorySchema: z.ZodObject<{
596
596
  Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Disabled">, z.ZodLiteral<"Pending">]>;
597
597
  __mj_CreatedAt: z.ZodDate;
598
598
  __mj_UpdatedAt: z.ZodDate;
599
+ DefaultStorageAccountID: z.ZodNullable<z.ZodString>;
599
600
  Parent: z.ZodNullable<z.ZodString>;
601
+ DefaultStorageAccount: z.ZodNullable<z.ZodString>;
600
602
  RootParentID: z.ZodNullable<z.ZodString>;
601
603
  }, "strip", z.ZodTypeAny, {
602
604
  ID?: string;
@@ -609,6 +611,8 @@ export declare const MJAIAgentCategorySchema: z.ZodObject<{
609
611
  Parent?: string;
610
612
  RootParentID?: string;
611
613
  AssignmentStrategy?: string;
614
+ DefaultStorageAccountID?: string;
615
+ DefaultStorageAccount?: string;
612
616
  }, {
613
617
  ID?: string;
614
618
  __mj_CreatedAt?: Date;
@@ -620,6 +624,8 @@ export declare const MJAIAgentCategorySchema: z.ZodObject<{
620
624
  Parent?: string;
621
625
  RootParentID?: string;
622
626
  AssignmentStrategy?: string;
627
+ DefaultStorageAccountID?: string;
628
+ DefaultStorageAccount?: string;
623
629
  }>;
624
630
  export type MJAIAgentCategoryEntityType = z.infer<typeof MJAIAgentCategorySchema>;
625
631
  /**
@@ -1899,7 +1905,9 @@ export declare const MJAIAgentTypeSchema: z.ZodObject<{
1899
1905
  UIFormSectionExpandedByDefault: z.ZodBoolean;
1900
1906
  PromptParamsSchema: z.ZodNullable<z.ZodString>;
1901
1907
  AssignmentStrategy: z.ZodNullable<z.ZodString>;
1908
+ DefaultStorageAccountID: z.ZodNullable<z.ZodString>;
1902
1909
  SystemPrompt: z.ZodNullable<z.ZodString>;
1910
+ DefaultStorageAccount: z.ZodNullable<z.ZodString>;
1903
1911
  }, "strip", z.ZodTypeAny, {
1904
1912
  ID?: string;
1905
1913
  __mj_CreatedAt?: Date;
@@ -1909,6 +1917,8 @@ export declare const MJAIAgentTypeSchema: z.ZodObject<{
1909
1917
  DriverClass?: string;
1910
1918
  IsActive?: boolean;
1911
1919
  AssignmentStrategy?: string;
1920
+ DefaultStorageAccountID?: string;
1921
+ DefaultStorageAccount?: string;
1912
1922
  SystemPromptID?: string;
1913
1923
  AgentPromptPlaceholder?: string;
1914
1924
  UIFormSectionKey?: string;
@@ -1925,6 +1935,8 @@ export declare const MJAIAgentTypeSchema: z.ZodObject<{
1925
1935
  DriverClass?: string;
1926
1936
  IsActive?: boolean;
1927
1937
  AssignmentStrategy?: string;
1938
+ DefaultStorageAccountID?: string;
1939
+ DefaultStorageAccount?: string;
1928
1940
  SystemPromptID?: string;
1929
1941
  AgentPromptPlaceholder?: string;
1930
1942
  UIFormSectionKey?: string;
@@ -2001,6 +2013,7 @@ export declare const MJAIAgentSchema: z.ZodObject<{
2001
2013
  RerankerConfiguration: z.ZodNullable<z.ZodString>;
2002
2014
  CategoryID: z.ZodNullable<z.ZodString>;
2003
2015
  AllowEphemeralClientTools: z.ZodBoolean;
2016
+ DefaultStorageAccountID: z.ZodNullable<z.ZodString>;
2004
2017
  Parent: z.ZodNullable<z.ZodString>;
2005
2018
  ContextCompressionPrompt: z.ZodNullable<z.ZodString>;
2006
2019
  Type: z.ZodNullable<z.ZodString>;
@@ -2008,6 +2021,7 @@ export declare const MJAIAgentSchema: z.ZodObject<{
2008
2021
  OwnerUser: z.ZodString;
2009
2022
  AttachmentStorageProvider: z.ZodNullable<z.ZodString>;
2010
2023
  Category: z.ZodNullable<z.ZodString>;
2024
+ DefaultStorageAccount: z.ZodNullable<z.ZodString>;
2011
2025
  RootParentID: z.ZodNullable<z.ZodString>;
2012
2026
  }, "strip", z.ZodTypeAny, {
2013
2027
  ID?: string;
@@ -2026,6 +2040,8 @@ export declare const MJAIAgentSchema: z.ZodObject<{
2026
2040
  Category?: string;
2027
2041
  MinExecutionsPerRun?: number;
2028
2042
  MaxExecutionsPerRun?: number;
2043
+ DefaultStorageAccountID?: string;
2044
+ DefaultStorageAccount?: string;
2029
2045
  ExecutionOrder?: number;
2030
2046
  MessageMode?: "None" | "All" | "Bookend" | "Latest";
2031
2047
  MaxMessages?: number;
@@ -2098,6 +2114,8 @@ export declare const MJAIAgentSchema: z.ZodObject<{
2098
2114
  Category?: string;
2099
2115
  MinExecutionsPerRun?: number;
2100
2116
  MaxExecutionsPerRun?: number;
2117
+ DefaultStorageAccountID?: string;
2118
+ DefaultStorageAccount?: string;
2101
2119
  ExecutionOrder?: number;
2102
2120
  MessageMode?: "None" | "All" | "Bookend" | "Latest";
2103
2121
  MaxMessages?: number;
@@ -4027,6 +4045,41 @@ export declare const MJApplicationEntitySchema: z.ZodObject<{
4027
4045
  EntityBaseTableCodeName?: string;
4028
4046
  }>;
4029
4047
  export type MJApplicationEntityEntityType = z.infer<typeof MJApplicationEntitySchema>;
4048
+ /**
4049
+ * zod schema definition for the entity MJ: Application Roles
4050
+ */
4051
+ export declare const MJApplicationRoleSchema: z.ZodObject<{
4052
+ ID: z.ZodString;
4053
+ ApplicationID: z.ZodString;
4054
+ RoleID: z.ZodString;
4055
+ CanAccess: z.ZodBoolean;
4056
+ CanAdmin: z.ZodBoolean;
4057
+ __mj_CreatedAt: z.ZodDate;
4058
+ __mj_UpdatedAt: z.ZodDate;
4059
+ Application: z.ZodString;
4060
+ Role: z.ZodString;
4061
+ }, "strip", z.ZodTypeAny, {
4062
+ ID?: string;
4063
+ Role?: string;
4064
+ __mj_CreatedAt?: Date;
4065
+ __mj_UpdatedAt?: Date;
4066
+ RoleID?: string;
4067
+ ApplicationID?: string;
4068
+ Application?: string;
4069
+ CanAccess?: boolean;
4070
+ CanAdmin?: boolean;
4071
+ }, {
4072
+ ID?: string;
4073
+ Role?: string;
4074
+ __mj_CreatedAt?: Date;
4075
+ __mj_UpdatedAt?: Date;
4076
+ RoleID?: string;
4077
+ ApplicationID?: string;
4078
+ Application?: string;
4079
+ CanAccess?: boolean;
4080
+ CanAdmin?: boolean;
4081
+ }>;
4082
+ export type MJApplicationRoleEntityType = z.infer<typeof MJApplicationRoleSchema>;
4030
4083
  /**
4031
4084
  * zod schema definition for the entity MJ: Application Settings
4032
4085
  */
@@ -4183,6 +4236,7 @@ export declare const MJArtifactTypeSchema: z.ZodObject<{
4183
4236
  ExtractRules: z.ZodNullable<z.ZodString>;
4184
4237
  DriverClass: z.ZodNullable<z.ZodString>;
4185
4238
  Icon: z.ZodNullable<z.ZodString>;
4239
+ ContentCategory: z.ZodUnion<[z.ZodLiteral<"File">, z.ZodLiteral<"Text">]>;
4186
4240
  Parent: z.ZodNullable<z.ZodString>;
4187
4241
  RootParentID: z.ZodNullable<z.ZodString>;
4188
4242
  }, "strip", z.ZodTypeAny, {
@@ -4199,6 +4253,7 @@ export declare const MJArtifactTypeSchema: z.ZodObject<{
4199
4253
  ContentType?: string;
4200
4254
  IsEnabled?: boolean;
4201
4255
  ExtractRules?: string;
4256
+ ContentCategory?: "File" | "Text";
4202
4257
  }, {
4203
4258
  ID?: string;
4204
4259
  __mj_CreatedAt?: Date;
@@ -4213,6 +4268,7 @@ export declare const MJArtifactTypeSchema: z.ZodObject<{
4213
4268
  ContentType?: string;
4214
4269
  IsEnabled?: boolean;
4215
4270
  ExtractRules?: string;
4271
+ ContentCategory?: "File" | "Text";
4216
4272
  }>;
4217
4273
  export type MJArtifactTypeEntityType = z.infer<typeof MJArtifactTypeSchema>;
4218
4274
  /**
@@ -4301,8 +4357,14 @@ export declare const MJArtifactVersionSchema: z.ZodObject<{
4301
4357
  ContentHash: z.ZodNullable<z.ZodString>;
4302
4358
  Name: z.ZodNullable<z.ZodString>;
4303
4359
  Description: z.ZodNullable<z.ZodString>;
4360
+ FileID: z.ZodNullable<z.ZodString>;
4361
+ ContentMode: z.ZodUnion<[z.ZodLiteral<"File">, z.ZodLiteral<"Text">]>;
4362
+ MimeType: z.ZodNullable<z.ZodString>;
4363
+ FileName: z.ZodNullable<z.ZodString>;
4364
+ ContentSizeBytes: z.ZodNullable<z.ZodNumber>;
4304
4365
  Artifact: z.ZodString;
4305
4366
  User: z.ZodString;
4367
+ File: z.ZodNullable<z.ZodString>;
4306
4368
  }, "strip", z.ZodTypeAny, {
4307
4369
  ID?: string;
4308
4370
  User?: string;
@@ -4313,11 +4375,17 @@ export declare const MJArtifactVersionSchema: z.ZodObject<{
4313
4375
  Description?: string;
4314
4376
  UserID?: string;
4315
4377
  Configuration?: string;
4378
+ MimeType?: string;
4379
+ FileName?: string;
4380
+ FileID?: string;
4381
+ File?: string;
4316
4382
  Content?: string;
4317
4383
  ArtifactID?: string;
4318
4384
  Artifact?: string;
4319
4385
  VersionNumber?: number;
4320
4386
  ContentHash?: string;
4387
+ ContentMode?: "File" | "Text";
4388
+ ContentSizeBytes?: number;
4321
4389
  }, {
4322
4390
  ID?: string;
4323
4391
  User?: string;
@@ -4328,11 +4396,17 @@ export declare const MJArtifactVersionSchema: z.ZodObject<{
4328
4396
  Description?: string;
4329
4397
  UserID?: string;
4330
4398
  Configuration?: string;
4399
+ MimeType?: string;
4400
+ FileName?: string;
4401
+ FileID?: string;
4402
+ File?: string;
4331
4403
  Content?: string;
4332
4404
  ArtifactID?: string;
4333
4405
  Artifact?: string;
4334
4406
  VersionNumber?: number;
4335
4407
  ContentHash?: string;
4408
+ ContentMode?: "File" | "Text";
4409
+ ContentSizeBytes?: number;
4336
4410
  }>;
4337
4411
  export type MJArtifactVersionEntityType = z.infer<typeof MJArtifactVersionSchema>;
4338
4412
  /**
@@ -6647,6 +6721,47 @@ export declare const MJConversationSchema: z.ZodObject<{
6647
6721
  Project?: string;
6648
6722
  }>;
6649
6723
  export type MJConversationEntityType = z.infer<typeof MJConversationSchema>;
6724
+ /**
6725
+ * zod schema definition for the entity MJ: Countries
6726
+ */
6727
+ export declare const MJCountrySchema: z.ZodObject<{
6728
+ ID: z.ZodString;
6729
+ Name: z.ZodString;
6730
+ ISO2: z.ZodString;
6731
+ ISO3: z.ZodString;
6732
+ NumericCode: z.ZodNullable<z.ZodNumber>;
6733
+ Latitude: z.ZodNullable<z.ZodNumber>;
6734
+ Longitude: z.ZodNullable<z.ZodNumber>;
6735
+ BoundaryGeoJSON: z.ZodNullable<z.ZodString>;
6736
+ CommonAliases: z.ZodNullable<z.ZodString>;
6737
+ __mj_CreatedAt: z.ZodDate;
6738
+ __mj_UpdatedAt: z.ZodDate;
6739
+ }, "strip", z.ZodTypeAny, {
6740
+ ID?: string;
6741
+ __mj_CreatedAt?: Date;
6742
+ __mj_UpdatedAt?: Date;
6743
+ Name?: string;
6744
+ ISO2?: string;
6745
+ ISO3?: string;
6746
+ NumericCode?: number;
6747
+ Latitude?: number;
6748
+ Longitude?: number;
6749
+ BoundaryGeoJSON?: string;
6750
+ CommonAliases?: string;
6751
+ }, {
6752
+ ID?: string;
6753
+ __mj_CreatedAt?: Date;
6754
+ __mj_UpdatedAt?: Date;
6755
+ Name?: string;
6756
+ ISO2?: string;
6757
+ ISO3?: string;
6758
+ NumericCode?: number;
6759
+ Latitude?: number;
6760
+ Longitude?: number;
6761
+ BoundaryGeoJSON?: string;
6762
+ CommonAliases?: string;
6763
+ }>;
6764
+ export type MJCountryEntityType = z.infer<typeof MJCountrySchema>;
6650
6765
  /**
6651
6766
  * zod schema definition for the entity MJ: Credential Categories
6652
6767
  */
@@ -7815,6 +7930,11 @@ export declare const MJEntitySchema: z.ZodObject<{
7815
7930
  Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Deprecated">, z.ZodLiteral<"Disabled">]>;
7816
7931
  DisplayName: z.ZodNullable<z.ZodString>;
7817
7932
  AllowMultipleSubtypes: z.ZodBoolean;
7933
+ AutoUpdateFullTextSearch: z.ZodBoolean;
7934
+ AutoUpdateAllowUserSearchAPI: z.ZodBoolean;
7935
+ TrustServerCacheCompletely: z.ZodBoolean;
7936
+ SupportsGeoCoding: z.ZodBoolean;
7937
+ AutoUpdateSupportsGeoCoding: z.ZodBoolean;
7818
7938
  CodeName: z.ZodNullable<z.ZodString>;
7819
7939
  ClassName: z.ZodNullable<z.ZodString>;
7820
7940
  BaseTableCodeName: z.ZodNullable<z.ZodString>;
@@ -7882,6 +8002,11 @@ export declare const MJEntitySchema: z.ZodObject<{
7882
8002
  RowCount?: number;
7883
8003
  RowCountRunAt?: Date;
7884
8004
  AllowMultipleSubtypes?: boolean;
8005
+ AutoUpdateFullTextSearch?: boolean;
8006
+ AutoUpdateAllowUserSearchAPI?: boolean;
8007
+ TrustServerCacheCompletely?: boolean;
8008
+ SupportsGeoCoding?: boolean;
8009
+ AutoUpdateSupportsGeoCoding?: boolean;
7885
8010
  BaseTableCodeName?: string;
7886
8011
  ParentEntity?: string;
7887
8012
  ParentBaseTable?: string;
@@ -7947,6 +8072,11 @@ export declare const MJEntitySchema: z.ZodObject<{
7947
8072
  RowCount?: number;
7948
8073
  RowCountRunAt?: Date;
7949
8074
  AllowMultipleSubtypes?: boolean;
8075
+ AutoUpdateFullTextSearch?: boolean;
8076
+ AutoUpdateAllowUserSearchAPI?: boolean;
8077
+ TrustServerCacheCompletely?: boolean;
8078
+ SupportsGeoCoding?: boolean;
8079
+ AutoUpdateSupportsGeoCoding?: boolean;
7950
8080
  BaseTableCodeName?: string;
7951
8081
  ParentEntity?: string;
7952
8082
  ParentBaseTable?: string;
@@ -8460,7 +8590,7 @@ export declare const MJEntityFieldSchema: z.ZodObject<{
8460
8590
  DefaultValue: z.ZodNullable<z.ZodString>;
8461
8591
  AutoIncrement: z.ZodBoolean;
8462
8592
  ValueListType: z.ZodUnion<[z.ZodLiteral<"List">, z.ZodLiteral<"ListOrUserEntry">, z.ZodLiteral<"None">]>;
8463
- ExtendedType: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"Code">, z.ZodLiteral<"Email">, z.ZodLiteral<"FaceTime">, z.ZodLiteral<"Geo">, z.ZodLiteral<"MSTeams">, z.ZodLiteral<"Other">, z.ZodLiteral<"SIP">, z.ZodLiteral<"SMS">, z.ZodLiteral<"Skype">, z.ZodLiteral<"Tel">, z.ZodLiteral<"URL">, z.ZodLiteral<"WhatsApp">, z.ZodLiteral<"ZoomMtg">]>>;
8593
+ ExtendedType: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"Code">, z.ZodLiteral<"Email">, z.ZodLiteral<"FaceTime">, z.ZodLiteral<"Geo">, z.ZodLiteral<"GeoAddress">, z.ZodLiteral<"GeoCity">, z.ZodLiteral<"GeoCountry">, z.ZodLiteral<"GeoLatitude">, z.ZodLiteral<"GeoLongitude">, z.ZodLiteral<"GeoPostalCode">, z.ZodLiteral<"GeoStateProvince">, z.ZodLiteral<"MSTeams">, z.ZodLiteral<"Other">, z.ZodLiteral<"SIP">, z.ZodLiteral<"SMS">, z.ZodLiteral<"Skype">, z.ZodLiteral<"Tel">, z.ZodLiteral<"URL">, z.ZodLiteral<"WhatsApp">, z.ZodLiteral<"ZoomMtg">]>>;
8464
8594
  CodeType: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"CSS">, z.ZodLiteral<"HTML">, z.ZodLiteral<"JavaScript">, z.ZodLiteral<"Other">, z.ZodLiteral<"SQL">, z.ZodLiteral<"TypeScript">]>>;
8465
8595
  DefaultInView: z.ZodBoolean;
8466
8596
  ViewCellTemplate: z.ZodNullable<z.ZodString>;
@@ -8501,6 +8631,10 @@ export declare const MJEntityFieldSchema: z.ZodObject<{
8501
8631
  JSONType: z.ZodNullable<z.ZodString>;
8502
8632
  JSONTypeIsArray: z.ZodBoolean;
8503
8633
  JSONTypeDefinition: z.ZodNullable<z.ZodString>;
8634
+ UserSearchPredicateAPI: z.ZodString;
8635
+ AutoUpdateUserSearchPredicate: z.ZodBoolean;
8636
+ AutoUpdateFullTextSearch: z.ZodBoolean;
8637
+ AutoUpdateExtendedType: z.ZodBoolean;
8504
8638
  FieldCodeName: z.ZodNullable<z.ZodString>;
8505
8639
  Entity: z.ZodString;
8506
8640
  SchemaName: z.ZodString;
@@ -8537,6 +8671,7 @@ export declare const MJEntityFieldSchema: z.ZodObject<{
8537
8671
  AllowUpdateAPI?: boolean;
8538
8672
  FullTextSearchEnabled?: boolean;
8539
8673
  ScopeDefault?: string;
8674
+ AutoUpdateFullTextSearch?: boolean;
8540
8675
  IsPrimaryKey?: boolean;
8541
8676
  IsUnique?: boolean;
8542
8677
  Length?: number;
@@ -8545,7 +8680,7 @@ export declare const MJEntityFieldSchema: z.ZodObject<{
8545
8680
  AllowsNull?: boolean;
8546
8681
  AutoIncrement?: boolean;
8547
8682
  ValueListType?: "None" | "List" | "ListOrUserEntry";
8548
- ExtendedType?: "Code" | "Other" | "URL" | "Email" | "FaceTime" | "Geo" | "MSTeams" | "SIP" | "SMS" | "Skype" | "Tel" | "WhatsApp" | "ZoomMtg";
8683
+ ExtendedType?: "Code" | "Other" | "URL" | "Email" | "FaceTime" | "Geo" | "GeoAddress" | "GeoCity" | "GeoCountry" | "GeoLatitude" | "GeoLongitude" | "GeoPostalCode" | "GeoStateProvince" | "MSTeams" | "SIP" | "SMS" | "Skype" | "Tel" | "WhatsApp" | "ZoomMtg";
8549
8684
  CodeType?: "Other" | "SQL" | "CSS" | "HTML" | "JavaScript" | "TypeScript";
8550
8685
  DefaultInView?: boolean;
8551
8686
  ViewCellTemplate?: string;
@@ -8580,6 +8715,9 @@ export declare const MJEntityFieldSchema: z.ZodObject<{
8580
8715
  JSONType?: string;
8581
8716
  JSONTypeIsArray?: boolean;
8582
8717
  JSONTypeDefinition?: string;
8718
+ UserSearchPredicateAPI?: string;
8719
+ AutoUpdateUserSearchPredicate?: boolean;
8720
+ AutoUpdateExtendedType?: boolean;
8583
8721
  FieldCodeName?: string;
8584
8722
  RelatedEntity?: string;
8585
8723
  RelatedEntitySchemaName?: string;
@@ -8610,6 +8748,7 @@ export declare const MJEntityFieldSchema: z.ZodObject<{
8610
8748
  AllowUpdateAPI?: boolean;
8611
8749
  FullTextSearchEnabled?: boolean;
8612
8750
  ScopeDefault?: string;
8751
+ AutoUpdateFullTextSearch?: boolean;
8613
8752
  IsPrimaryKey?: boolean;
8614
8753
  IsUnique?: boolean;
8615
8754
  Length?: number;
@@ -8618,7 +8757,7 @@ export declare const MJEntityFieldSchema: z.ZodObject<{
8618
8757
  AllowsNull?: boolean;
8619
8758
  AutoIncrement?: boolean;
8620
8759
  ValueListType?: "None" | "List" | "ListOrUserEntry";
8621
- ExtendedType?: "Code" | "Other" | "URL" | "Email" | "FaceTime" | "Geo" | "MSTeams" | "SIP" | "SMS" | "Skype" | "Tel" | "WhatsApp" | "ZoomMtg";
8760
+ ExtendedType?: "Code" | "Other" | "URL" | "Email" | "FaceTime" | "Geo" | "GeoAddress" | "GeoCity" | "GeoCountry" | "GeoLatitude" | "GeoLongitude" | "GeoPostalCode" | "GeoStateProvince" | "MSTeams" | "SIP" | "SMS" | "Skype" | "Tel" | "WhatsApp" | "ZoomMtg";
8622
8761
  CodeType?: "Other" | "SQL" | "CSS" | "HTML" | "JavaScript" | "TypeScript";
8623
8762
  DefaultInView?: boolean;
8624
8763
  ViewCellTemplate?: string;
@@ -8653,6 +8792,9 @@ export declare const MJEntityFieldSchema: z.ZodObject<{
8653
8792
  JSONType?: string;
8654
8793
  JSONTypeIsArray?: boolean;
8655
8794
  JSONTypeDefinition?: string;
8795
+ UserSearchPredicateAPI?: string;
8796
+ AutoUpdateUserSearchPredicate?: boolean;
8797
+ AutoUpdateExtendedType?: boolean;
8656
8798
  FieldCodeName?: string;
8657
8799
  RelatedEntity?: string;
8658
8800
  RelatedEntitySchemaName?: string;
@@ -9241,6 +9383,50 @@ export declare const MJFileEntityRecordLinkSchema: z.ZodObject<{
9241
9383
  File?: string;
9242
9384
  }>;
9243
9385
  export type MJFileEntityRecordLinkEntityType = z.infer<typeof MJFileEntityRecordLinkSchema>;
9386
+ /**
9387
+ * zod schema definition for the entity MJ: File Storage Account Permissions
9388
+ */
9389
+ export declare const MJFileStorageAccountPermissionSchema: z.ZodObject<{
9390
+ ID: z.ZodString;
9391
+ FileStorageAccountID: z.ZodString;
9392
+ Type: z.ZodUnion<[z.ZodLiteral<"Everyone">, z.ZodLiteral<"Role">, z.ZodLiteral<"User">]>;
9393
+ UserID: z.ZodNullable<z.ZodString>;
9394
+ RoleID: z.ZodNullable<z.ZodString>;
9395
+ CanRead: z.ZodBoolean;
9396
+ CanWrite: z.ZodBoolean;
9397
+ __mj_CreatedAt: z.ZodDate;
9398
+ __mj_UpdatedAt: z.ZodDate;
9399
+ FileStorageAccount: z.ZodString;
9400
+ User: z.ZodNullable<z.ZodString>;
9401
+ Role: z.ZodNullable<z.ZodString>;
9402
+ }, "strip", z.ZodTypeAny, {
9403
+ ID?: string;
9404
+ Role?: string;
9405
+ User?: string;
9406
+ CanRead?: boolean;
9407
+ __mj_CreatedAt?: Date;
9408
+ __mj_UpdatedAt?: Date;
9409
+ UserID?: string;
9410
+ Type?: "Everyone" | "Role" | "User";
9411
+ RoleID?: string;
9412
+ FileStorageAccountID?: string;
9413
+ CanWrite?: boolean;
9414
+ FileStorageAccount?: string;
9415
+ }, {
9416
+ ID?: string;
9417
+ Role?: string;
9418
+ User?: string;
9419
+ CanRead?: boolean;
9420
+ __mj_CreatedAt?: Date;
9421
+ __mj_UpdatedAt?: Date;
9422
+ UserID?: string;
9423
+ Type?: "Everyone" | "Role" | "User";
9424
+ RoleID?: string;
9425
+ FileStorageAccountID?: string;
9426
+ CanWrite?: boolean;
9427
+ FileStorageAccount?: string;
9428
+ }>;
9429
+ export type MJFileStorageAccountPermissionEntityType = z.infer<typeof MJFileStorageAccountPermissionSchema>;
9244
9430
  /**
9245
9431
  * zod schema definition for the entity MJ: File Storage Accounts
9246
9432
  */
@@ -9252,6 +9438,7 @@ export declare const MJFileStorageAccountSchema: z.ZodObject<{
9252
9438
  CredentialID: z.ZodString;
9253
9439
  __mj_CreatedAt: z.ZodDate;
9254
9440
  __mj_UpdatedAt: z.ZodDate;
9441
+ IncludeInGlobalSearch: z.ZodBoolean;
9255
9442
  Provider: z.ZodString;
9256
9443
  Credential: z.ZodString;
9257
9444
  }, "strip", z.ZodTypeAny, {
@@ -9263,6 +9450,7 @@ export declare const MJFileStorageAccountSchema: z.ZodObject<{
9263
9450
  CredentialID?: string;
9264
9451
  Credential?: string;
9265
9452
  ProviderID?: string;
9453
+ IncludeInGlobalSearch?: boolean;
9266
9454
  Provider?: string;
9267
9455
  }, {
9268
9456
  ID?: string;
@@ -9273,6 +9461,7 @@ export declare const MJFileStorageAccountSchema: z.ZodObject<{
9273
9461
  CredentialID?: string;
9274
9462
  Credential?: string;
9275
9463
  ProviderID?: string;
9464
+ IncludeInGlobalSearch?: boolean;
9276
9465
  Provider?: string;
9277
9466
  }>;
9278
9467
  export type MJFileStorageAccountEntityType = z.infer<typeof MJFileStorageAccountSchema>;
@@ -9455,6 +9644,44 @@ export declare const MJGeneratedCodeSchema: z.ZodObject<{
9455
9644
  GeneratedByModel?: string;
9456
9645
  }>;
9457
9646
  export type MJGeneratedCodeEntityType = z.infer<typeof MJGeneratedCodeSchema>;
9647
+ /**
9648
+ * zod schema definition for the entity MJ: Instance Configurations
9649
+ */
9650
+ export declare const MJInstanceConfigurationSchema: z.ZodObject<{
9651
+ ID: z.ZodString;
9652
+ FeatureKey: z.ZodString;
9653
+ Value: z.ZodString;
9654
+ ValueType: z.ZodUnion<[z.ZodLiteral<"boolean">, z.ZodLiteral<"json">, z.ZodLiteral<"number">, z.ZodLiteral<"string">]>;
9655
+ Category: z.ZodString;
9656
+ DisplayName: z.ZodString;
9657
+ Description: z.ZodNullable<z.ZodString>;
9658
+ DefaultValue: z.ZodString;
9659
+ __mj_CreatedAt: z.ZodDate;
9660
+ __mj_UpdatedAt: z.ZodDate;
9661
+ }, "strip", z.ZodTypeAny, {
9662
+ ID?: string;
9663
+ __mj_CreatedAt?: Date;
9664
+ __mj_UpdatedAt?: Date;
9665
+ Description?: string;
9666
+ DefaultValue?: string;
9667
+ ValueType?: "string" | "number" | "boolean" | "json";
9668
+ Category?: string;
9669
+ DisplayName?: string;
9670
+ Value?: string;
9671
+ FeatureKey?: string;
9672
+ }, {
9673
+ ID?: string;
9674
+ __mj_CreatedAt?: Date;
9675
+ __mj_UpdatedAt?: Date;
9676
+ Description?: string;
9677
+ DefaultValue?: string;
9678
+ ValueType?: "string" | "number" | "boolean" | "json";
9679
+ Category?: string;
9680
+ DisplayName?: string;
9681
+ Value?: string;
9682
+ FeatureKey?: string;
9683
+ }>;
9684
+ export type MJInstanceConfigurationEntityType = z.infer<typeof MJInstanceConfigurationSchema>;
9458
9685
  /**
9459
9686
  * zod schema definition for the entity MJ: Integration Object Fields
9460
9687
  */
@@ -11756,6 +11983,74 @@ export declare const MJRecordChangeSchema: z.ZodObject<{
11756
11983
  ReplayRun?: string;
11757
11984
  }>;
11758
11985
  export type MJRecordChangeEntityType = z.infer<typeof MJRecordChangeSchema>;
11986
+ /**
11987
+ * zod schema definition for the entity MJ: Record Geo Codes
11988
+ */
11989
+ export declare const MJRecordGeoCodeSchema: z.ZodObject<{
11990
+ ID: z.ZodString;
11991
+ EntityID: z.ZodString;
11992
+ RecordID: z.ZodString;
11993
+ LocationType: z.ZodString;
11994
+ Latitude: z.ZodNullable<z.ZodNumber>;
11995
+ Longitude: z.ZodNullable<z.ZodNumber>;
11996
+ Precision: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"city">, z.ZodLiteral<"country">, z.ZodLiteral<"county">, z.ZodLiteral<"exact">, z.ZodLiteral<"postal_code">, z.ZodLiteral<"state_province">]>>;
11997
+ CountryID: z.ZodNullable<z.ZodString>;
11998
+ StateProvinceID: z.ZodNullable<z.ZodString>;
11999
+ Status: z.ZodUnion<[z.ZodLiteral<"failed">, z.ZodLiteral<"pending">, z.ZodLiteral<"success">]>;
12000
+ ErrorMessage: z.ZodNullable<z.ZodString>;
12001
+ RetryCount: z.ZodNumber;
12002
+ SourceFieldHash: z.ZodNullable<z.ZodString>;
12003
+ GeocodedAt: z.ZodNullable<z.ZodDate>;
12004
+ GeocodingSource: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"google">, z.ZodLiteral<"ip_geolocation">, z.ZodLiteral<"manual">, z.ZodLiteral<"native">, z.ZodLiteral<"reference_data">, z.ZodLiteral<"reverse">]>>;
12005
+ __mj_CreatedAt: z.ZodDate;
12006
+ __mj_UpdatedAt: z.ZodDate;
12007
+ Entity: z.ZodString;
12008
+ Country: z.ZodNullable<z.ZodString>;
12009
+ StateProvince: z.ZodNullable<z.ZodString>;
12010
+ }, "strip", z.ZodTypeAny, {
12011
+ ID?: string;
12012
+ EntityID?: string;
12013
+ RecordID?: string;
12014
+ __mj_CreatedAt?: Date;
12015
+ __mj_UpdatedAt?: Date;
12016
+ Entity?: string;
12017
+ Status?: "failed" | "pending" | "success";
12018
+ ErrorMessage?: string;
12019
+ RetryCount?: number;
12020
+ Latitude?: number;
12021
+ Longitude?: number;
12022
+ Precision?: "exact" | "city" | "country" | "county" | "postal_code" | "state_province";
12023
+ LocationType?: string;
12024
+ CountryID?: string;
12025
+ StateProvinceID?: string;
12026
+ SourceFieldHash?: string;
12027
+ GeocodedAt?: Date;
12028
+ GeocodingSource?: "reverse" | "google" | "ip_geolocation" | "manual" | "native" | "reference_data";
12029
+ Country?: string;
12030
+ StateProvince?: string;
12031
+ }, {
12032
+ ID?: string;
12033
+ EntityID?: string;
12034
+ RecordID?: string;
12035
+ __mj_CreatedAt?: Date;
12036
+ __mj_UpdatedAt?: Date;
12037
+ Entity?: string;
12038
+ Status?: "failed" | "pending" | "success";
12039
+ ErrorMessage?: string;
12040
+ RetryCount?: number;
12041
+ Latitude?: number;
12042
+ Longitude?: number;
12043
+ Precision?: "exact" | "city" | "country" | "county" | "postal_code" | "state_province";
12044
+ LocationType?: string;
12045
+ CountryID?: string;
12046
+ StateProvinceID?: string;
12047
+ SourceFieldHash?: string;
12048
+ GeocodedAt?: Date;
12049
+ GeocodingSource?: "reverse" | "google" | "ip_geolocation" | "manual" | "native" | "reference_data";
12050
+ Country?: string;
12051
+ StateProvince?: string;
12052
+ }>;
12053
+ export type MJRecordGeoCodeEntityType = z.infer<typeof MJRecordGeoCodeSchema>;
11759
12054
  /**
11760
12055
  * zod schema definition for the entity MJ: Record Links
11761
12056
  */
@@ -12637,6 +12932,62 @@ export declare const MJSchemaInfoSchema: z.ZodObject<{
12637
12932
  EntityNameSuffix?: string;
12638
12933
  }>;
12639
12934
  export type MJSchemaInfoEntityType = z.infer<typeof MJSchemaInfoSchema>;
12935
+ /**
12936
+ * zod schema definition for the entity MJ: Search Providers
12937
+ */
12938
+ export declare const MJSearchProviderSchema: z.ZodObject<{
12939
+ ID: z.ZodString;
12940
+ Name: z.ZodString;
12941
+ Description: z.ZodNullable<z.ZodString>;
12942
+ DriverClass: z.ZodString;
12943
+ Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Pending">, z.ZodLiteral<"Terminated">]>;
12944
+ Priority: z.ZodNumber;
12945
+ SupportsPreview: z.ZodBoolean;
12946
+ MaxResultsOverride: z.ZodNullable<z.ZodNumber>;
12947
+ ProviderConfig: z.ZodNullable<z.ZodString>;
12948
+ CredentialID: z.ZodNullable<z.ZodString>;
12949
+ DisplayName: z.ZodNullable<z.ZodString>;
12950
+ Icon: z.ZodNullable<z.ZodString>;
12951
+ Comments: z.ZodNullable<z.ZodString>;
12952
+ __mj_CreatedAt: z.ZodDate;
12953
+ __mj_UpdatedAt: z.ZodDate;
12954
+ Credential: z.ZodNullable<z.ZodString>;
12955
+ }, "strip", z.ZodTypeAny, {
12956
+ ID?: string;
12957
+ __mj_CreatedAt?: Date;
12958
+ __mj_UpdatedAt?: Date;
12959
+ Comments?: string;
12960
+ Name?: string;
12961
+ Description?: string;
12962
+ Status?: "Active" | "Pending" | "Terminated";
12963
+ DriverClass?: string;
12964
+ Priority?: number;
12965
+ DisplayName?: string;
12966
+ Icon?: string;
12967
+ CredentialID?: string;
12968
+ Credential?: string;
12969
+ SupportsPreview?: boolean;
12970
+ MaxResultsOverride?: number;
12971
+ ProviderConfig?: string;
12972
+ }, {
12973
+ ID?: string;
12974
+ __mj_CreatedAt?: Date;
12975
+ __mj_UpdatedAt?: Date;
12976
+ Comments?: string;
12977
+ Name?: string;
12978
+ Description?: string;
12979
+ Status?: "Active" | "Pending" | "Terminated";
12980
+ DriverClass?: string;
12981
+ Priority?: number;
12982
+ DisplayName?: string;
12983
+ Icon?: string;
12984
+ CredentialID?: string;
12985
+ Credential?: string;
12986
+ SupportsPreview?: boolean;
12987
+ MaxResultsOverride?: number;
12988
+ ProviderConfig?: string;
12989
+ }>;
12990
+ export type MJSearchProviderEntityType = z.infer<typeof MJSearchProviderSchema>;
12640
12991
  /**
12641
12992
  * zod schema definition for the entity MJ: Skills
12642
12993
  */
@@ -12707,6 +13058,50 @@ export declare const MJSQLDialectSchema: z.ZodObject<{
12707
13058
  WebURL?: string;
12708
13059
  }>;
12709
13060
  export type MJSQLDialectEntityType = z.infer<typeof MJSQLDialectSchema>;
13061
+ /**
13062
+ * zod schema definition for the entity MJ: State Provinces
13063
+ */
13064
+ export declare const MJStateProvinceSchema: z.ZodObject<{
13065
+ ID: z.ZodString;
13066
+ CountryID: z.ZodString;
13067
+ Name: z.ZodString;
13068
+ Code: z.ZodString;
13069
+ ISO3166_2: z.ZodString;
13070
+ Latitude: z.ZodNullable<z.ZodNumber>;
13071
+ Longitude: z.ZodNullable<z.ZodNumber>;
13072
+ BoundaryGeoJSON: z.ZodNullable<z.ZodString>;
13073
+ CommonAliases: z.ZodNullable<z.ZodString>;
13074
+ __mj_CreatedAt: z.ZodDate;
13075
+ __mj_UpdatedAt: z.ZodDate;
13076
+ Country: z.ZodString;
13077
+ }, "strip", z.ZodTypeAny, {
13078
+ ID?: string;
13079
+ __mj_CreatedAt?: Date;
13080
+ __mj_UpdatedAt?: Date;
13081
+ Name?: string;
13082
+ Code?: string;
13083
+ Latitude?: number;
13084
+ Longitude?: number;
13085
+ BoundaryGeoJSON?: string;
13086
+ CommonAliases?: string;
13087
+ CountryID?: string;
13088
+ Country?: string;
13089
+ ISO3166_2?: string;
13090
+ }, {
13091
+ ID?: string;
13092
+ __mj_CreatedAt?: Date;
13093
+ __mj_UpdatedAt?: Date;
13094
+ Name?: string;
13095
+ Code?: string;
13096
+ Latitude?: number;
13097
+ Longitude?: number;
13098
+ BoundaryGeoJSON?: string;
13099
+ CommonAliases?: string;
13100
+ CountryID?: string;
13101
+ Country?: string;
13102
+ ISO3166_2?: string;
13103
+ }>;
13104
+ export type MJStateProvinceEntityType = z.infer<typeof MJStateProvinceSchema>;
12710
13105
  /**
12711
13106
  * zod schema definition for the entity MJ: Tag Audit Logs
12712
13107
  */
@@ -14438,6 +14833,8 @@ export declare const MJVectorDatabaseSchema: z.ZodObject<{
14438
14833
  __mj_CreatedAt: z.ZodDate;
14439
14834
  __mj_UpdatedAt: z.ZodDate;
14440
14835
  Configuration: z.ZodNullable<z.ZodString>;
14836
+ CredentialID: z.ZodNullable<z.ZodString>;
14837
+ Credential: z.ZodNullable<z.ZodString>;
14441
14838
  }, "strip", z.ZodTypeAny, {
14442
14839
  ID?: string;
14443
14840
  __mj_CreatedAt?: Date;
@@ -14445,6 +14842,8 @@ export declare const MJVectorDatabaseSchema: z.ZodObject<{
14445
14842
  Name?: string;
14446
14843
  Description?: string;
14447
14844
  Configuration?: string;
14845
+ CredentialID?: string;
14846
+ Credential?: string;
14448
14847
  DefaultURL?: string;
14449
14848
  ClassKey?: string;
14450
14849
  }, {
@@ -14454,6 +14853,8 @@ export declare const MJVectorDatabaseSchema: z.ZodObject<{
14454
14853
  Name?: string;
14455
14854
  Description?: string;
14456
14855
  Configuration?: string;
14856
+ CredentialID?: string;
14857
+ Credential?: string;
14457
14858
  DefaultURL?: string;
14458
14859
  ClassKey?: string;
14459
14860
  }>;
@@ -14486,9 +14887,9 @@ export declare const MJVectorIndexSchema: z.ZodObject<{
14486
14887
  ExternalID?: string;
14487
14888
  VectorDatabaseID?: string;
14488
14889
  VectorDatabase?: string;
14890
+ ProviderConfig?: string;
14489
14891
  Dimensions?: number;
14490
14892
  Metric?: string;
14491
- ProviderConfig?: string;
14492
14893
  }, {
14493
14894
  ID?: string;
14494
14895
  __mj_CreatedAt?: Date;
@@ -14500,9 +14901,9 @@ export declare const MJVectorIndexSchema: z.ZodObject<{
14500
14901
  ExternalID?: string;
14501
14902
  VectorDatabaseID?: string;
14502
14903
  VectorDatabase?: string;
14904
+ ProviderConfig?: string;
14503
14905
  Dimensions?: number;
14504
14906
  Metric?: string;
14505
- ProviderConfig?: string;
14506
14907
  }>;
14507
14908
  export type MJVectorIndexEntityType = z.infer<typeof MJVectorIndexSchema>;
14508
14909
  /**
@@ -16693,12 +17094,27 @@ export declare class MJAIAgentCategoryEntity extends BaseEntity<MJAIAgentCategor
16693
17094
  */
16694
17095
  get __mj_UpdatedAt(): Date;
16695
17096
  /**
17097
+ * * Field Name: DefaultStorageAccountID
17098
+ * * Display Name: Default Storage Account
17099
+ * * SQL Data Type: uniqueidentifier
17100
+ * * Related Entity/Foreign Key: MJ: File Storage Accounts (vwFileStorageAccounts.ID)
17101
+ * * Description: Default file storage account for agents in this category. Inherited by child categories that do not define their own value — resolution walks up the ParentID tree until a non-null value is found. Overrides the Type-level default. FK to FileStorageAccount.
17102
+ */
17103
+ get DefaultStorageAccountID(): string | null;
17104
+ set DefaultStorageAccountID(value: string | null);
17105
+ /**
16696
17106
  * * Field Name: Parent
16697
- * * Display Name: Parent Name
17107
+ * * Display Name: Parent
16698
17108
  * * SQL Data Type: nvarchar(200)
16699
17109
  */
16700
17110
  get Parent(): string | null;
16701
17111
  /**
17112
+ * * Field Name: DefaultStorageAccount
17113
+ * * Display Name: Default Storage Account Name
17114
+ * * SQL Data Type: nvarchar(200)
17115
+ */
17116
+ get DefaultStorageAccount(): string | null;
17117
+ /**
16702
17118
  * * Field Name: RootParentID
16703
17119
  * * Display Name: Root Parent
16704
17120
  * * SQL Data Type: uniqueidentifier
@@ -20556,7 +20972,7 @@ export declare class MJAIAgentTypeEntity extends BaseEntity<MJAIAgentTypeEntityT
20556
20972
  set UIFormSectionExpandedByDefault(value: boolean);
20557
20973
  /**
20558
20974
  * * Field Name: PromptParamsSchema
20559
- * * Display Name: Prompt Parameters Schema
20975
+ * * Display Name: Prompt Params Schema
20560
20976
  * * SQL Data Type: nvarchar(MAX)
20561
20977
  * * Description: JSON Schema defining the available prompt parameters for this agent type. Includes property definitions with types, defaults, and descriptions. Used by agents of this type to customize which prompt sections are included in the system prompt. The schema follows JSON Schema draft-07 format.
20562
20978
  */
@@ -20571,11 +20987,26 @@ export declare class MJAIAgentTypeEntity extends BaseEntity<MJAIAgentTypeEntityT
20571
20987
  get AssignmentStrategy(): string | null;
20572
20988
  set AssignmentStrategy(value: string | null);
20573
20989
  /**
20990
+ * * Field Name: DefaultStorageAccountID
20991
+ * * Display Name: Default Storage Account
20992
+ * * SQL Data Type: uniqueidentifier
20993
+ * * Related Entity/Foreign Key: MJ: File Storage Accounts (vwFileStorageAccounts.ID)
20994
+ * * Description: Default file storage account for agents of this type. Lowest priority in the resolution chain (Type → Category tree → Agent → Runtime override). When set, all agents of this type use this storage account unless overridden at a more specific level. FK to FileStorageAccount.
20995
+ */
20996
+ get DefaultStorageAccountID(): string | null;
20997
+ set DefaultStorageAccountID(value: string | null);
20998
+ /**
20574
20999
  * * Field Name: SystemPrompt
20575
- * * Display Name: System Prompt Text
21000
+ * * Display Name: System Prompt
20576
21001
  * * SQL Data Type: nvarchar(255)
20577
21002
  */
20578
21003
  get SystemPrompt(): string | null;
21004
+ /**
21005
+ * * Field Name: DefaultStorageAccount
21006
+ * * Display Name: Default Storage Account Name
21007
+ * * SQL Data Type: nvarchar(200)
21008
+ */
21009
+ get DefaultStorageAccount(): string | null;
20579
21010
  }
20580
21011
  /**
20581
21012
  * MJ: AI Agents - strongly typed entity sub-class
@@ -20772,7 +21203,7 @@ export declare class MJAIAgentEntity extends BaseEntity<MJAIAgentEntityType> {
20772
21203
  set EnableContextCompression(value: boolean);
20773
21204
  /**
20774
21205
  * * Field Name: ContextCompressionMessageThreshold
20775
- * * Display Name: Compression Message Threshold
21206
+ * * Display Name: Context Compression Message Threshold
20776
21207
  * * SQL Data Type: int
20777
21208
  * * Description: Number of messages that triggers context compression when EnableContextCompression is true.
20778
21209
  */
@@ -20780,7 +21211,7 @@ export declare class MJAIAgentEntity extends BaseEntity<MJAIAgentEntityType> {
20780
21211
  set ContextCompressionMessageThreshold(value: number | null);
20781
21212
  /**
20782
21213
  * * Field Name: ContextCompressionPromptID
20783
- * * Display Name: Compression Prompt
21214
+ * * Display Name: Context Compression Prompt
20784
21215
  * * SQL Data Type: uniqueidentifier
20785
21216
  * * Related Entity/Foreign Key: MJ: AI Prompts (vwAIPrompts.ID)
20786
21217
  */
@@ -20788,7 +21219,7 @@ export declare class MJAIAgentEntity extends BaseEntity<MJAIAgentEntityType> {
20788
21219
  set ContextCompressionPromptID(value: string | null);
20789
21220
  /**
20790
21221
  * * Field Name: ContextCompressionMessageRetentionCount
20791
- * * Display Name: Compression Message Retention Count
21222
+ * * Display Name: Context Compression Message Retention Count
20792
21223
  * * SQL Data Type: int
20793
21224
  * * Description: Number of recent messages to keep uncompressed when context compression is applied.
20794
21225
  */
@@ -21270,6 +21701,15 @@ if this limit is exceeded.
21270
21701
  get AllowEphemeralClientTools(): boolean;
21271
21702
  set AllowEphemeralClientTools(value: boolean);
21272
21703
  /**
21704
+ * * Field Name: DefaultStorageAccountID
21705
+ * * Display Name: Default Storage Account ID
21706
+ * * SQL Data Type: uniqueidentifier
21707
+ * * Related Entity/Foreign Key: MJ: File Storage Accounts (vwFileStorageAccounts.ID)
21708
+ * * Description: Default file storage account for this specific agent. Overrides both Type-level and Category-level defaults. Can be further overridden at runtime via ExecuteAgentParams.override.storageAccountId. FK to FileStorageAccount.
21709
+ */
21710
+ get DefaultStorageAccountID(): string | null;
21711
+ set DefaultStorageAccountID(value: string | null);
21712
+ /**
21273
21713
  * * Field Name: Parent
21274
21714
  * * Display Name: Parent Name
21275
21715
  * * SQL Data Type: nvarchar(255)
@@ -21277,7 +21717,7 @@ if this limit is exceeded.
21277
21717
  get Parent(): string | null;
21278
21718
  /**
21279
21719
  * * Field Name: ContextCompressionPrompt
21280
- * * Display Name: Context Compression Prompt Name
21720
+ * * Display Name: Context Compression Prompt
21281
21721
  * * SQL Data Type: nvarchar(255)
21282
21722
  */
21283
21723
  get ContextCompressionPrompt(): string | null;
@@ -21312,6 +21752,12 @@ if this limit is exceeded.
21312
21752
  */
21313
21753
  get Category(): string | null;
21314
21754
  /**
21755
+ * * Field Name: DefaultStorageAccount
21756
+ * * Display Name: Default Storage Account
21757
+ * * SQL Data Type: nvarchar(200)
21758
+ */
21759
+ get DefaultStorageAccount(): string | null;
21760
+ /**
21315
21761
  * * Field Name: RootParentID
21316
21762
  * * Display Name: Root Parent
21317
21763
  * * SQL Data Type: uniqueidentifier
@@ -26858,6 +27304,101 @@ export declare class MJApplicationEntityEntity extends BaseEntity<MJApplicationE
26858
27304
  */
26859
27305
  get EntityBaseTableCodeName(): string | null;
26860
27306
  }
27307
+ /**
27308
+ * MJ: Application Roles - strongly typed entity sub-class
27309
+ * * Schema: __mj
27310
+ * * Base Table: ApplicationRole
27311
+ * * Base View: vwApplicationRoles
27312
+ * * @description Controls which roles can access and administer specific applications. When no ApplicationRole records exist for an application, all roles can access it (open access). When at least one record exists, only roles with CanAccess=1 are permitted.
27313
+ * * Primary Key: ID
27314
+ * @extends {BaseEntity}
27315
+ * @class
27316
+ * @public
27317
+ */
27318
+ export declare class MJApplicationRoleEntity extends BaseEntity<MJApplicationRoleEntityType> {
27319
+ /**
27320
+ * Loads the MJ: Application Roles record from the database
27321
+ * @param ID: string - primary key value to load the MJ: Application Roles record.
27322
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
27323
+ * @returns {Promise<boolean>} - true if successful, false otherwise
27324
+ * @public
27325
+ * @async
27326
+ * @memberof MJApplicationRoleEntity
27327
+ * @method
27328
+ * @override
27329
+ */
27330
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
27331
+ /**
27332
+ * * Field Name: ID
27333
+ * * Display Name: ID
27334
+ * * SQL Data Type: uniqueidentifier
27335
+ * * Default Value: newsequentialid()
27336
+ */
27337
+ get ID(): string;
27338
+ set ID(value: string);
27339
+ /**
27340
+ * * Field Name: ApplicationID
27341
+ * * Display Name: Application
27342
+ * * SQL Data Type: uniqueidentifier
27343
+ * * Related Entity/Foreign Key: MJ: Applications (vwApplications.ID)
27344
+ * * Description: Foreign key to the Application this role grant applies to
27345
+ */
27346
+ get ApplicationID(): string;
27347
+ set ApplicationID(value: string);
27348
+ /**
27349
+ * * Field Name: RoleID
27350
+ * * Display Name: Role
27351
+ * * SQL Data Type: uniqueidentifier
27352
+ * * Related Entity/Foreign Key: MJ: Roles (vwRoles.ID)
27353
+ * * Description: Foreign key to the Role being granted or denied access
27354
+ */
27355
+ get RoleID(): string;
27356
+ set RoleID(value: string);
27357
+ /**
27358
+ * * Field Name: CanAccess
27359
+ * * Display Name: Can Access
27360
+ * * SQL Data Type: bit
27361
+ * * Default Value: 1
27362
+ * * Description: When true, users in this role can access the application. When false, this record acts as an explicit deny for the role.
27363
+ */
27364
+ get CanAccess(): boolean;
27365
+ set CanAccess(value: boolean);
27366
+ /**
27367
+ * * Field Name: CanAdmin
27368
+ * * Display Name: Can Admin
27369
+ * * SQL Data Type: bit
27370
+ * * Default Value: 0
27371
+ * * Description: When true, users in this role can modify application settings, manage nav items, and configure the application.
27372
+ */
27373
+ get CanAdmin(): boolean;
27374
+ set CanAdmin(value: boolean);
27375
+ /**
27376
+ * * Field Name: __mj_CreatedAt
27377
+ * * Display Name: Created At
27378
+ * * SQL Data Type: datetimeoffset
27379
+ * * Default Value: getutcdate()
27380
+ */
27381
+ get __mj_CreatedAt(): Date;
27382
+ /**
27383
+ * * Field Name: __mj_UpdatedAt
27384
+ * * Display Name: Updated At
27385
+ * * SQL Data Type: datetimeoffset
27386
+ * * Default Value: getutcdate()
27387
+ */
27388
+ get __mj_UpdatedAt(): Date;
27389
+ /**
27390
+ * * Field Name: Application
27391
+ * * Display Name: Application Name
27392
+ * * SQL Data Type: nvarchar(100)
27393
+ */
27394
+ get Application(): string;
27395
+ /**
27396
+ * * Field Name: Role
27397
+ * * Display Name: Role Name
27398
+ * * SQL Data Type: nvarchar(50)
27399
+ */
27400
+ get Role(): string;
27401
+ }
26861
27402
  /**
26862
27403
  * MJ: Application Settings - strongly typed entity sub-class
26863
27404
  * * Schema: __mj
@@ -27402,6 +27943,19 @@ export declare class MJArtifactTypeEntity extends BaseEntity<MJArtifactTypeEntit
27402
27943
  get Icon(): string | null;
27403
27944
  set Icon(value: string | null);
27404
27945
  /**
27946
+ * * Field Name: ContentCategory
27947
+ * * Display Name: Content Category
27948
+ * * SQL Data Type: nvarchar(10)
27949
+ * * Default Value: Text
27950
+ * * Value List Type: List
27951
+ * * Possible Values
27952
+ * * File
27953
+ * * Text
27954
+ * * Description: Classifies whether this artifact type stores text content ('Text', the default for all existing types) or a binary file in MJStorage ('File'). Used by AgentRunner and viewer components to route file-based artifacts correctly.
27955
+ */
27956
+ get ContentCategory(): 'File' | 'Text';
27957
+ set ContentCategory(value: 'File' | 'Text');
27958
+ /**
27405
27959
  * * Field Name: Parent
27406
27960
  * * Display Name: Parent
27407
27961
  * * SQL Data Type: nvarchar(100)
@@ -27648,7 +28202,7 @@ export declare class MJArtifactVersionEntity extends BaseEntity<MJArtifactVersio
27648
28202
  set ID(value: string);
27649
28203
  /**
27650
28204
  * * Field Name: ArtifactID
27651
- * * Display Name: Artifact ID
28205
+ * * Display Name: Artifact
27652
28206
  * * SQL Data Type: uniqueidentifier
27653
28207
  * * Related Entity/Foreign Key: MJ: Artifacts (vwArtifacts.ID)
27654
28208
  */
@@ -27688,7 +28242,7 @@ export declare class MJArtifactVersionEntity extends BaseEntity<MJArtifactVersio
27688
28242
  set Comments(value: string | null);
27689
28243
  /**
27690
28244
  * * Field Name: UserID
27691
- * * Display Name: User ID
28245
+ * * Display Name: User
27692
28246
  * * SQL Data Type: uniqueidentifier
27693
28247
  * * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)
27694
28248
  */
@@ -27733,6 +28287,52 @@ export declare class MJArtifactVersionEntity extends BaseEntity<MJArtifactVersio
27733
28287
  get Description(): string | null;
27734
28288
  set Description(value: string | null);
27735
28289
  /**
28290
+ * * Field Name: FileID
28291
+ * * Display Name: File
28292
+ * * SQL Data Type: uniqueidentifier
28293
+ * * Related Entity/Foreign Key: MJ: Files (vwFiles.ID)
28294
+ * * Description: Foreign key to the MJ: Files entity. When ContentMode is 'File', this references the binary file stored in MJStorage. NULL when ContentMode is 'Text'.
28295
+ */
28296
+ get FileID(): string | null;
28297
+ set FileID(value: string | null);
28298
+ /**
28299
+ * * Field Name: ContentMode
28300
+ * * Display Name: Content Mode
28301
+ * * SQL Data Type: nvarchar(10)
28302
+ * * Default Value: Text
28303
+ * * Value List Type: List
28304
+ * * Possible Values
28305
+ * * File
28306
+ * * Text
28307
+ * * Description: Determines how artifact content is stored. 'Text' (default) means the Content column holds the data. 'File' means FileID references a binary file in MJStorage and Content is unused.
28308
+ */
28309
+ get ContentMode(): 'File' | 'Text';
28310
+ set ContentMode(value: 'File' | 'Text');
28311
+ /**
28312
+ * * Field Name: MimeType
28313
+ * * Display Name: MIME Type
28314
+ * * SQL Data Type: nvarchar(200)
28315
+ * * Description: MIME type of the stored file (e.g. application/pdf). Denormalized from the File entity for display without joins. Only populated when ContentMode is 'File'.
28316
+ */
28317
+ get MimeType(): string | null;
28318
+ set MimeType(value: string | null);
28319
+ /**
28320
+ * * Field Name: FileName
28321
+ * * Display Name: File Name
28322
+ * * SQL Data Type: nvarchar(500)
28323
+ * * Description: Original filename of the stored file (e.g. report.pdf). Denormalized from the File entity for display without joins. Only populated when ContentMode is 'File'.
28324
+ */
28325
+ get FileName(): string | null;
28326
+ set FileName(value: string | null);
28327
+ /**
28328
+ * * Field Name: ContentSizeBytes
28329
+ * * Display Name: Content Size Bytes
28330
+ * * SQL Data Type: bigint
28331
+ * * Description: Size of the stored file in bytes. Denormalized for display without loading the file. Only populated when ContentMode is 'File'.
28332
+ */
28333
+ get ContentSizeBytes(): number | null;
28334
+ set ContentSizeBytes(value: number | null);
28335
+ /**
27736
28336
  * * Field Name: Artifact
27737
28337
  * * Display Name: Artifact
27738
28338
  * * SQL Data Type: nvarchar(255)
@@ -27744,6 +28344,12 @@ export declare class MJArtifactVersionEntity extends BaseEntity<MJArtifactVersio
27744
28344
  * * SQL Data Type: nvarchar(100)
27745
28345
  */
27746
28346
  get User(): string;
28347
+ /**
28348
+ * * Field Name: File
28349
+ * * Display Name: File
28350
+ * * SQL Data Type: nvarchar(500)
28351
+ */
28352
+ get File(): string | null;
27747
28353
  }
27748
28354
  /**
27749
28355
  * MJ: Artifacts - strongly typed entity sub-class
@@ -34387,6 +34993,117 @@ export declare class MJConversationEntity extends BaseEntity<MJConversationEntit
34387
34993
  */
34388
34994
  get TestRun(): string | null;
34389
34995
  }
34996
+ /**
34997
+ * MJ: Countries - strongly typed entity sub-class
34998
+ * * Schema: __mj
34999
+ * * Base Table: Country
35000
+ * * Base View: vwCountries
35001
+ * * @description Reference table for countries with ISO 3166-1 codes, geographic centroids, and optional medium-resolution boundary GeoJSON for choropleth rendering. Seeded with ~250 countries.
35002
+ * * Primary Key: ID
35003
+ * @extends {BaseEntity}
35004
+ * @class
35005
+ * @public
35006
+ */
35007
+ export declare class MJCountryEntity extends BaseEntity<MJCountryEntityType> {
35008
+ /**
35009
+ * Loads the MJ: Countries record from the database
35010
+ * @param ID: string - primary key value to load the MJ: Countries record.
35011
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
35012
+ * @returns {Promise<boolean>} - true if successful, false otherwise
35013
+ * @public
35014
+ * @async
35015
+ * @memberof MJCountryEntity
35016
+ * @method
35017
+ * @override
35018
+ */
35019
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
35020
+ /**
35021
+ * * Field Name: ID
35022
+ * * Display Name: ID
35023
+ * * SQL Data Type: uniqueidentifier
35024
+ * * Default Value: newsequentialid()
35025
+ */
35026
+ get ID(): string;
35027
+ set ID(value: string);
35028
+ /**
35029
+ * * Field Name: Name
35030
+ * * Display Name: Name
35031
+ * * SQL Data Type: nvarchar(200)
35032
+ * * Description: Full country name (e.g., "United States", "Canada").
35033
+ */
35034
+ get Name(): string;
35035
+ set Name(value: string);
35036
+ /**
35037
+ * * Field Name: ISO2
35038
+ * * Display Name: ISO 2
35039
+ * * SQL Data Type: nvarchar(2)
35040
+ * * Description: ISO 3166-1 alpha-2 code (e.g., "US", "CA"). Unique business key for lookups.
35041
+ */
35042
+ get ISO2(): string;
35043
+ set ISO2(value: string);
35044
+ /**
35045
+ * * Field Name: ISO3
35046
+ * * Display Name: ISO 3
35047
+ * * SQL Data Type: nvarchar(3)
35048
+ * * Description: ISO 3166-1 alpha-3 code (e.g., "USA", "CAN"). Unique business key for lookups.
35049
+ */
35050
+ get ISO3(): string;
35051
+ set ISO3(value: string);
35052
+ /**
35053
+ * * Field Name: NumericCode
35054
+ * * Display Name: Numeric Code
35055
+ * * SQL Data Type: int
35056
+ * * Description: ISO 3166-1 numeric code (e.g., 840 for US, 124 for Canada).
35057
+ */
35058
+ get NumericCode(): number | null;
35059
+ set NumericCode(value: number | null);
35060
+ /**
35061
+ * * Field Name: Latitude
35062
+ * * Display Name: Latitude
35063
+ * * SQL Data Type: decimal(10, 6)
35064
+ * * Description: Geographic centroid latitude. Used as fallback point for country-level geocoding.
35065
+ */
35066
+ get Latitude(): number | null;
35067
+ set Latitude(value: number | null);
35068
+ /**
35069
+ * * Field Name: Longitude
35070
+ * * Display Name: Longitude
35071
+ * * SQL Data Type: decimal(10, 6)
35072
+ * * Description: Geographic centroid longitude. Used as fallback point for country-level geocoding.
35073
+ */
35074
+ get Longitude(): number | null;
35075
+ set Longitude(value: number | null);
35076
+ /**
35077
+ * * Field Name: BoundaryGeoJSON
35078
+ * * Display Name: Boundary GeoJSON
35079
+ * * SQL Data Type: nvarchar(MAX)
35080
+ * * Description: Medium-resolution (~50m) GeoJSON boundary polygon for choropleth map rendering. Nullable — point map falls back to centroid if absent. Total ~3MB for all countries.
35081
+ */
35082
+ get BoundaryGeoJSON(): string | null;
35083
+ set BoundaryGeoJSON(value: string | null);
35084
+ /**
35085
+ * * Field Name: CommonAliases
35086
+ * * Display Name: Common Aliases
35087
+ * * SQL Data Type: nvarchar(MAX)
35088
+ * * Description: JSON array of common aliases and alternate names (e.g., ["United States","USA","U.S.","America"]). Used by GeoResolver for fuzzy text-to-country matching.
35089
+ */
35090
+ get CommonAliases(): string | null;
35091
+ set CommonAliases(value: string | null);
35092
+ /**
35093
+ * * Field Name: __mj_CreatedAt
35094
+ * * Display Name: Created At
35095
+ * * SQL Data Type: datetimeoffset
35096
+ * * Default Value: getutcdate()
35097
+ */
35098
+ get __mj_CreatedAt(): Date;
35099
+ /**
35100
+ * * Field Name: __mj_UpdatedAt
35101
+ * * Display Name: Updated At
35102
+ * * SQL Data Type: datetimeoffset
35103
+ * * Default Value: getutcdate()
35104
+ */
35105
+ get __mj_UpdatedAt(): Date;
35106
+ }
34390
35107
  /**
34391
35108
  * MJ: Credential Categories - strongly typed entity sub-class
34392
35109
  * * Schema: __mj
@@ -37459,7 +38176,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37459
38176
  set ID(value: string);
37460
38177
  /**
37461
38178
  * * Field Name: ParentID
37462
- * * Display Name: Parent ID
38179
+ * * Display Name: Parent
37463
38180
  * * SQL Data Type: uniqueidentifier
37464
38181
  * * Related Entity/Foreign Key: MJ: Entities (vwEntities.ID)
37465
38182
  */
@@ -37621,7 +38338,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37621
38338
  set CustomResolverAPI(value: boolean);
37622
38339
  /**
37623
38340
  * * Field Name: AllowUserSearchAPI
37624
- * * Display Name: Allow User Search API
38341
+ * * Display Name: Allow User Search
37625
38342
  * * SQL Data Type: bit
37626
38343
  * * Default Value: 0
37627
38344
  * * Description: Enabling this bit will result in search being possible at the API and UI layers
@@ -37630,7 +38347,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37630
38347
  set AllowUserSearchAPI(value: boolean);
37631
38348
  /**
37632
38349
  * * Field Name: FullTextSearchEnabled
37633
- * * Display Name: Full Text Search Enabled
38350
+ * * Display Name: Full-Text Search Enabled
37634
38351
  * * SQL Data Type: bit
37635
38352
  * * Default Value: 0
37636
38353
  * * Description: Whether full-text search indexing is enabled for this entity.
@@ -37639,7 +38356,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37639
38356
  set FullTextSearchEnabled(value: boolean);
37640
38357
  /**
37641
38358
  * * Field Name: FullTextCatalog
37642
- * * Display Name: Full Text Catalog
38359
+ * * Display Name: Full-Text Catalog
37643
38360
  * * SQL Data Type: nvarchar(255)
37644
38361
  * * Description: Name of the SQL Server full-text catalog if search is enabled.
37645
38362
  */
@@ -37647,7 +38364,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37647
38364
  set FullTextCatalog(value: string | null);
37648
38365
  /**
37649
38366
  * * Field Name: FullTextCatalogGenerated
37650
- * * Display Name: Full Text Catalog Generated
38367
+ * * Display Name: Full-Text Catalog Generated
37651
38368
  * * SQL Data Type: bit
37652
38369
  * * Default Value: 1
37653
38370
  * * Description: Indicates if the full-text catalog was auto-generated by CodeGen.
@@ -37656,7 +38373,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37656
38373
  set FullTextCatalogGenerated(value: boolean);
37657
38374
  /**
37658
38375
  * * Field Name: FullTextIndex
37659
- * * Display Name: Full Text Index
38376
+ * * Display Name: Full-Text Index
37660
38377
  * * SQL Data Type: nvarchar(255)
37661
38378
  * * Description: Name of the full-text index on this entity's table.
37662
38379
  */
@@ -37664,7 +38381,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37664
38381
  set FullTextIndex(value: string | null);
37665
38382
  /**
37666
38383
  * * Field Name: FullTextIndexGenerated
37667
- * * Display Name: Full Text Index Generated
38384
+ * * Display Name: Full-Text Index Generated
37668
38385
  * * SQL Data Type: bit
37669
38386
  * * Default Value: 1
37670
38387
  * * Description: Indicates if the full-text index was auto-generated by CodeGen.
@@ -37673,7 +38390,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37673
38390
  set FullTextIndexGenerated(value: boolean);
37674
38391
  /**
37675
38392
  * * Field Name: FullTextSearchFunction
37676
- * * Display Name: Full Text Search Function
38393
+ * * Display Name: Search Function
37677
38394
  * * SQL Data Type: nvarchar(255)
37678
38395
  * * Description: Name of the function used for full-text searching this entity.
37679
38396
  */
@@ -37681,7 +38398,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37681
38398
  set FullTextSearchFunction(value: string | null);
37682
38399
  /**
37683
38400
  * * Field Name: FullTextSearchFunctionGenerated
37684
- * * Display Name: Full Text Search Function Generated
38401
+ * * Display Name: Search Function Generated
37685
38402
  * * SQL Data Type: bit
37686
38403
  * * Default Value: 1
37687
38404
  * * Description: Indicates if the search function was auto-generated by CodeGen.
@@ -37699,7 +38416,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37699
38416
  set UserViewMaxRows(value: number | null);
37700
38417
  /**
37701
38418
  * * Field Name: spCreate
37702
- * * Display Name: Create Stored Procedure
38419
+ * * Display Name: Create Procedure
37703
38420
  * * SQL Data Type: nvarchar(255)
37704
38421
  * * Description: Name of the stored procedure for creating records in this entity.
37705
38422
  */
@@ -37707,7 +38424,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37707
38424
  set spCreate(value: string | null);
37708
38425
  /**
37709
38426
  * * Field Name: spUpdate
37710
- * * Display Name: Update Stored Procedure
38427
+ * * Display Name: Update Procedure
37711
38428
  * * SQL Data Type: nvarchar(255)
37712
38429
  * * Description: Name of the stored procedure for updating records in this entity.
37713
38430
  */
@@ -37715,7 +38432,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37715
38432
  set spUpdate(value: string | null);
37716
38433
  /**
37717
38434
  * * Field Name: spDelete
37718
- * * Display Name: Delete Stored Procedure
38435
+ * * Display Name: Delete Procedure
37719
38436
  * * SQL Data Type: nvarchar(255)
37720
38437
  * * Description: Name of the stored procedure for deleting records in this entity.
37721
38438
  */
@@ -37723,7 +38440,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37723
38440
  set spDelete(value: string | null);
37724
38441
  /**
37725
38442
  * * Field Name: spCreateGenerated
37726
- * * Display Name: Create Procedure Generated
38443
+ * * Display Name: Create SP Generated
37727
38444
  * * SQL Data Type: bit
37728
38445
  * * Default Value: 1
37729
38446
  * * Description: Indicates if the create procedure was auto-generated by CodeGen.
@@ -37732,7 +38449,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37732
38449
  set spCreateGenerated(value: boolean);
37733
38450
  /**
37734
38451
  * * Field Name: spUpdateGenerated
37735
- * * Display Name: Update Procedure Generated
38452
+ * * Display Name: Update SP Generated
37736
38453
  * * SQL Data Type: bit
37737
38454
  * * Default Value: 1
37738
38455
  * * Description: Indicates if the update procedure was auto-generated by CodeGen.
@@ -37741,7 +38458,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37741
38458
  set spUpdateGenerated(value: boolean);
37742
38459
  /**
37743
38460
  * * Field Name: spDeleteGenerated
37744
- * * Display Name: Delete Procedure Generated
38461
+ * * Display Name: Delete SP Generated
37745
38462
  * * SQL Data Type: bit
37746
38463
  * * Default Value: 1
37747
38464
  * * Description: Indicates if the delete procedure was auto-generated by CodeGen.
@@ -37781,7 +38498,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37781
38498
  set AllowRecordMerge(value: boolean);
37782
38499
  /**
37783
38500
  * * Field Name: spMatch
37784
- * * Display Name: Match Stored Procedure
38501
+ * * Display Name: Match Procedure
37785
38502
  * * SQL Data Type: nvarchar(255)
37786
38503
  * * Description: When specified, this stored procedure is used to find matching records in this particular entity. The convention is to pass in the primary key(s) columns for the given entity to the procedure and the return will be zero to many rows where there is a column for each primary key field(s) and a ProbabilityScore (numeric(1,12)) column that has a 0 to 1 value of the probability of a match.
37787
38504
  */
@@ -37789,7 +38506,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37789
38506
  set spMatch(value: string | null);
37790
38507
  /**
37791
38508
  * * Field Name: RelationshipDefaultDisplayType
37792
- * * Display Name: Relationship Default Display Type
38509
+ * * Display Name: Default Relationship Display Type
37793
38510
  * * SQL Data Type: nvarchar(20)
37794
38511
  * * Default Value: Search
37795
38512
  * * Value List Type: List
@@ -37811,7 +38528,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37811
38528
  set UserFormGenerated(value: boolean);
37812
38529
  /**
37813
38530
  * * Field Name: EntityObjectSubclassName
37814
- * * Display Name: Entity Object Subclass Name
38531
+ * * Display Name: Subclass Name
37815
38532
  * * SQL Data Type: nvarchar(255)
37816
38533
  * * Description: TypeScript class name for the entity subclass in the codebase.
37817
38534
  */
@@ -37819,7 +38536,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37819
38536
  set EntityObjectSubclassName(value: string | null);
37820
38537
  /**
37821
38538
  * * Field Name: EntityObjectSubclassImport
37822
- * * Display Name: Entity Object Subclass Import
38539
+ * * Display Name: Subclass Import Path
37823
38540
  * * SQL Data Type: nvarchar(255)
37824
38541
  * * Description: Import path for the entity subclass in the TypeScript codebase.
37825
38542
  */
@@ -37857,7 +38574,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37857
38574
  get __mj_UpdatedAt(): Date;
37858
38575
  /**
37859
38576
  * * Field Name: ScopeDefault
37860
- * * Display Name: Scope Default
38577
+ * * Display Name: Default Scope
37861
38578
  * * SQL Data Type: nvarchar(100)
37862
38579
  * * Description: Optional, comma-delimited string indicating the default scope for entity visibility. Options include Users, Admins, AI, and All. Defaults to All when NULL. This is used for simple defaults for filtering entity visibility, not security enforcement.
37863
38580
  */
@@ -37865,7 +38582,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37865
38582
  set ScopeDefault(value: string | null);
37866
38583
  /**
37867
38584
  * * Field Name: RowsToPackWithSchema
37868
- * * Display Name: Rows To Pack With Schema
38585
+ * * Display Name: Rows To Pack
37869
38586
  * * SQL Data Type: nvarchar(20)
37870
38587
  * * Default Value: None
37871
38588
  * * Value List Type: List
@@ -37879,7 +38596,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37879
38596
  set RowsToPackWithSchema(value: 'All' | 'None' | 'Sample');
37880
38597
  /**
37881
38598
  * * Field Name: RowsToPackSampleMethod
37882
- * * Display Name: Rows To Pack Sample Method
38599
+ * * Display Name: Packing Sample Method
37883
38600
  * * SQL Data Type: nvarchar(20)
37884
38601
  * * Default Value: random
37885
38602
  * * Value List Type: List
@@ -37893,7 +38610,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37893
38610
  set RowsToPackSampleMethod(value: 'bottom n' | 'random' | 'top n');
37894
38611
  /**
37895
38612
  * * Field Name: RowsToPackSampleCount
37896
- * * Display Name: Rows To Pack Sample Count
38613
+ * * Display Name: Packing Sample Count
37897
38614
  * * SQL Data Type: int
37898
38615
  * * Default Value: 0
37899
38616
  * * Description: The number of rows to pack when RowsToPackWithSchema is set to Sample, based on the designated sampling method. Defaults to 0.
@@ -37902,7 +38619,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37902
38619
  set RowsToPackSampleCount(value: number);
37903
38620
  /**
37904
38621
  * * Field Name: RowsToPackSampleOrder
37905
- * * Display Name: Rows To Pack Sample Order
38622
+ * * Display Name: Packing Sample Order
37906
38623
  * * SQL Data Type: nvarchar(MAX)
37907
38624
  * * Description: An optional ORDER BY clause for row packing when RowsToPackWithSchema is set to Sample. Allows custom ordering for selected entity data when using top n and bottom n.
37908
38625
  */
@@ -37910,7 +38627,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37910
38627
  set RowsToPackSampleOrder(value: string | null);
37911
38628
  /**
37912
38629
  * * Field Name: AutoRowCountFrequency
37913
- * * Display Name: Auto Row Count Frequency
38630
+ * * Display Name: Refresh Frequency (Hours)
37914
38631
  * * SQL Data Type: int
37915
38632
  * * Description: Frequency in hours for automatically performing row counts on this entity. If NULL, automatic row counting is disabled. If greater than 0, schedules recurring SELECT COUNT(*) queries at the specified interval.
37916
38633
  */
@@ -37926,7 +38643,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37926
38643
  set RowCount(value: number | null);
37927
38644
  /**
37928
38645
  * * Field Name: RowCountRunAt
37929
- * * Display Name: Row Count Run At
38646
+ * * Display Name: Last Counted At
37930
38647
  * * SQL Data Type: datetimeoffset
37931
38648
  * * Description: Timestamp indicating when the last automatic row count was performed for this entity.
37932
38649
  */
@@ -37964,6 +38681,51 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37964
38681
  get AllowMultipleSubtypes(): boolean;
37965
38682
  set AllowMultipleSubtypes(value: boolean);
37966
38683
  /**
38684
+ * * Field Name: AutoUpdateFullTextSearch
38685
+ * * Display Name: Auto Update Search Settings
38686
+ * * SQL Data Type: bit
38687
+ * * Default Value: 1
38688
+ * * Description: When true, CodeGen LLM can auto-configure full-text search settings (FullTextSearchEnabled, catalog, index, function) during code generation runs.
38689
+ */
38690
+ get AutoUpdateFullTextSearch(): boolean;
38691
+ set AutoUpdateFullTextSearch(value: boolean);
38692
+ /**
38693
+ * * Field Name: AutoUpdateAllowUserSearchAPI
38694
+ * * Display Name: Auto Update Search API
38695
+ * * SQL Data Type: bit
38696
+ * * Default Value: 1
38697
+ * * Description: When true, CodeGen LLM can auto-set AllowUserSearchAPI during code generation runs.
38698
+ */
38699
+ get AutoUpdateAllowUserSearchAPI(): boolean;
38700
+ set AutoUpdateAllowUserSearchAPI(value: boolean);
38701
+ /**
38702
+ * * Field Name: TrustServerCacheCompletely
38703
+ * * Display Name: Trust Server Cache
38704
+ * * SQL Data Type: bit
38705
+ * * Default Value: 1
38706
+ * * Description: When true (default), the server-side RunView cache will store and return cached results for this entity, trusting that all mutations flow through BaseEntity.Save() which fires cache invalidation events. Set to false for entities whose rows are created as side-effects of other operations via raw SQL (e.g., Record Changes created by spCreateRecordChange_Internal), since those inserts bypass BaseEntity and never trigger cache invalidation.
38707
+ */
38708
+ get TrustServerCacheCompletely(): boolean;
38709
+ set TrustServerCacheCompletely(value: boolean);
38710
+ /**
38711
+ * * Field Name: SupportsGeoCoding
38712
+ * * Display Name: Supports Geo-Coding
38713
+ * * SQL Data Type: bit
38714
+ * * Default Value: 0
38715
+ * * Description: When true, CodeGen generates geo-aware subclass code, adds __mj_Latitude/__mj_Longitude virtual fields to the base view, and the UI shows a map view toggle. Auto-set by CodeGen when LLM detects geo-capable fields (address, lat/lng, etc.).
38716
+ */
38717
+ get SupportsGeoCoding(): boolean;
38718
+ set SupportsGeoCoding(value: boolean);
38719
+ /**
38720
+ * * Field Name: AutoUpdateSupportsGeoCoding
38721
+ * * Display Name: Auto Update Geo-Coding
38722
+ * * SQL Data Type: bit
38723
+ * * Default Value: 1
38724
+ * * Description: When true (default), CodeGen can automatically set SupportsGeoCoding based on LLM analysis of entity fields. Set to 0 to lock the value and prevent CodeGen from changing it.
38725
+ */
38726
+ get AutoUpdateSupportsGeoCoding(): boolean;
38727
+ set AutoUpdateSupportsGeoCoding(value: boolean);
38728
+ /**
37967
38729
  * * Field Name: CodeName
37968
38730
  * * Display Name: Code Name
37969
38731
  * * SQL Data Type: nvarchar(MAX)
@@ -39355,7 +40117,7 @@ export declare class MJEntityFieldEntity extends BaseEntity<MJEntityFieldEntityT
39355
40117
  set ID(value: string);
39356
40118
  /**
39357
40119
  * * Field Name: EntityID
39358
- * * Display Name: Entity
40120
+ * * Display Name: Entity ID
39359
40121
  * * SQL Data Type: uniqueidentifier
39360
40122
  * * Related Entity/Foreign Key: MJ: Entities (vwEntities.ID)
39361
40123
  */
@@ -39428,7 +40190,7 @@ export declare class MJEntityFieldEntity extends BaseEntity<MJEntityFieldEntityT
39428
40190
  set Category(value: string | null);
39429
40191
  /**
39430
40192
  * * Field Name: Type
39431
- * * Display Name: Type
40193
+ * * Display Name: Data Type
39432
40194
  * * SQL Data Type: nvarchar(100)
39433
40195
  * * Description: SQL Data type (auto maintained by CodeGen)
39434
40196
  */
@@ -39501,6 +40263,13 @@ export declare class MJEntityFieldEntity extends BaseEntity<MJEntityFieldEntityT
39501
40263
  * * Email
39502
40264
  * * FaceTime
39503
40265
  * * Geo
40266
+ * * GeoAddress
40267
+ * * GeoCity
40268
+ * * GeoCountry
40269
+ * * GeoLatitude
40270
+ * * GeoLongitude
40271
+ * * GeoPostalCode
40272
+ * * GeoStateProvince
39504
40273
  * * MSTeams
39505
40274
  * * Other
39506
40275
  * * SIP
@@ -39512,8 +40281,8 @@ export declare class MJEntityFieldEntity extends BaseEntity<MJEntityFieldEntityT
39512
40281
  * * ZoomMtg
39513
40282
  * * Description: Defines extended behaviors for a field such as for Email, Web URLs, Code, etc.
39514
40283
  */
39515
- get ExtendedType(): 'Code' | 'Email' | 'FaceTime' | 'Geo' | 'MSTeams' | 'Other' | 'SIP' | 'SMS' | 'Skype' | 'Tel' | 'URL' | 'WhatsApp' | 'ZoomMtg' | null;
39516
- set ExtendedType(value: 'Code' | 'Email' | 'FaceTime' | 'Geo' | 'MSTeams' | 'Other' | 'SIP' | 'SMS' | 'Skype' | 'Tel' | 'URL' | 'WhatsApp' | 'ZoomMtg' | null);
40284
+ get ExtendedType(): 'Code' | 'Email' | 'FaceTime' | 'Geo' | 'GeoAddress' | 'GeoCity' | 'GeoCountry' | 'GeoLatitude' | 'GeoLongitude' | 'GeoPostalCode' | 'GeoStateProvince' | 'MSTeams' | 'Other' | 'SIP' | 'SMS' | 'Skype' | 'Tel' | 'URL' | 'WhatsApp' | 'ZoomMtg' | null;
40285
+ set ExtendedType(value: 'Code' | 'Email' | 'FaceTime' | 'Geo' | 'GeoAddress' | 'GeoCity' | 'GeoCountry' | 'GeoLatitude' | 'GeoLongitude' | 'GeoPostalCode' | 'GeoStateProvince' | 'MSTeams' | 'Other' | 'SIP' | 'SMS' | 'Skype' | 'Tel' | 'URL' | 'WhatsApp' | 'ZoomMtg' | null);
39517
40286
  /**
39518
40287
  * * Field Name: CodeType
39519
40288
  * * Display Name: Code Type
@@ -39575,7 +40344,7 @@ export declare class MJEntityFieldEntity extends BaseEntity<MJEntityFieldEntityT
39575
40344
  set AllowUpdateInView(value: boolean);
39576
40345
  /**
39577
40346
  * * Field Name: IncludeInUserSearchAPI
39578
- * * Display Name: Include In User Search API
40347
+ * * Display Name: Include In User Search
39579
40348
  * * SQL Data Type: bit
39580
40349
  * * Default Value: 0
39581
40350
  * * Description: If set to 1, this column will be included in user search queries for both traditional and full text search
@@ -39593,7 +40362,7 @@ export declare class MJEntityFieldEntity extends BaseEntity<MJEntityFieldEntityT
39593
40362
  set FullTextSearchEnabled(value: boolean);
39594
40363
  /**
39595
40364
  * * Field Name: UserSearchParamFormatAPI
39596
- * * Display Name: User Search Param Format API
40365
+ * * Display Name: Search Param Format
39597
40366
  * * SQL Data Type: nvarchar(500)
39598
40367
  * * Description: NULL
39599
40368
  */
@@ -39649,7 +40418,7 @@ export declare class MJEntityFieldEntity extends BaseEntity<MJEntityFieldEntityT
39649
40418
  set RelatedEntityID(value: string | null);
39650
40419
  /**
39651
40420
  * * Field Name: RelatedEntityFieldName
39652
- * * Display Name: Related Entity Field Name
40421
+ * * Display Name: Related Entity Field
39653
40422
  * * SQL Data Type: nvarchar(255)
39654
40423
  * * Description: Name of the field in the Related Entity that this field links to (auto maintained by CodeGen)
39655
40424
  */
@@ -39657,7 +40426,7 @@ export declare class MJEntityFieldEntity extends BaseEntity<MJEntityFieldEntityT
39657
40426
  set RelatedEntityFieldName(value: string | null);
39658
40427
  /**
39659
40428
  * * Field Name: IncludeRelatedEntityNameFieldInBaseView
39660
- * * Display Name: Include Related Entity Name Field In Base View
40429
+ * * Display Name: Include Related Name In View
39661
40430
  * * SQL Data Type: bit
39662
40431
  * * Default Value: 1
39663
40432
  * * Description: If set to 1, the "Name" field of the Related Entity will be included in this entity as a virtual field
@@ -39666,7 +40435,7 @@ export declare class MJEntityFieldEntity extends BaseEntity<MJEntityFieldEntityT
39666
40435
  set IncludeRelatedEntityNameFieldInBaseView(value: boolean);
39667
40436
  /**
39668
40437
  * * Field Name: RelatedEntityNameFieldMap
39669
- * * Display Name: Related Entity Name Field Map
40438
+ * * Display Name: Related Entity Name Map
39670
40439
  * * SQL Data Type: nvarchar(255)
39671
40440
  * * Description: For foreign key fields, maps which field in the related entity contains the display name. This is used by CodeGen to automatically add in virtual fields for the "Name Field" of the related entity.
39672
40441
  */
@@ -39713,7 +40482,7 @@ export declare class MJEntityFieldEntity extends BaseEntity<MJEntityFieldEntityT
39713
40482
  set ScopeDefault(value: string | null);
39714
40483
  /**
39715
40484
  * * Field Name: AutoUpdateRelatedEntityInfo
39716
- * * Display Name: Auto Update Related Entity Info
40485
+ * * Display Name: Auto Update Related Info
39717
40486
  * * SQL Data Type: bit
39718
40487
  * * Default Value: 1
39719
40488
  * * Description: Indicates whether the related entity information should be automatically updated from the database schema. When set to 0, relationships not part of the database schema can be manually defined at the application and AI agent level. Defaults to 1.
@@ -39786,7 +40555,7 @@ export declare class MJEntityFieldEntity extends BaseEntity<MJEntityFieldEntityT
39786
40555
  set AutoUpdateDisplayName(value: boolean);
39787
40556
  /**
39788
40557
  * * Field Name: AutoUpdateIncludeInUserSearchAPI
39789
- * * Display Name: Auto Update Include In User Search API
40558
+ * * Display Name: Auto Update Search Inclusion
39790
40559
  * * SQL Data Type: bit
39791
40560
  * * Default Value: 1
39792
40561
  * * Description: When 1, allows system/LLM to auto-update IncludeInUserSearchAPI during CodeGen; when 0, user has locked this field
@@ -39881,6 +40650,42 @@ export declare class MJEntityFieldEntity extends BaseEntity<MJEntityFieldEntityT
39881
40650
  get JSONTypeDefinition(): string | null;
39882
40651
  set JSONTypeDefinition(value: string | null);
39883
40652
  /**
40653
+ * * Field Name: UserSearchPredicateAPI
40654
+ * * Display Name: User Search Predicate
40655
+ * * SQL Data Type: nvarchar(20)
40656
+ * * Default Value: Contains
40657
+ * * Description: Search predicate controlling how user search queries match against this field. Valid values: BeginsWith, Contains, EndsWith, Exact.
40658
+ */
40659
+ get UserSearchPredicateAPI(): string;
40660
+ set UserSearchPredicateAPI(value: string);
40661
+ /**
40662
+ * * Field Name: AutoUpdateUserSearchPredicate
40663
+ * * Display Name: Auto Update Search Predicate
40664
+ * * SQL Data Type: bit
40665
+ * * Default Value: 1
40666
+ * * Description: When true, CodeGen LLM can auto-set the UserSearchPredicateAPI value during code generation runs.
40667
+ */
40668
+ get AutoUpdateUserSearchPredicate(): boolean;
40669
+ set AutoUpdateUserSearchPredicate(value: boolean);
40670
+ /**
40671
+ * * Field Name: AutoUpdateFullTextSearch
40672
+ * * Display Name: Auto Update Full Text Search
40673
+ * * SQL Data Type: bit
40674
+ * * Default Value: 1
40675
+ * * Description: When true, CodeGen LLM can auto-set the FullTextSearchEnabled value during code generation runs.
40676
+ */
40677
+ get AutoUpdateFullTextSearch(): boolean;
40678
+ set AutoUpdateFullTextSearch(value: boolean);
40679
+ /**
40680
+ * * Field Name: AutoUpdateExtendedType
40681
+ * * Display Name: Auto Update Extended Type
40682
+ * * SQL Data Type: bit
40683
+ * * Default Value: 1
40684
+ * * Description: When true (default), CodeGen can automatically suggest and apply ExtendedType values (GeoLatitude, GeoLongitude, GeoAddress, etc.) during LLM field categorization. Set to 0 to lock admin-specified ExtendedType.
40685
+ */
40686
+ get AutoUpdateExtendedType(): boolean;
40687
+ set AutoUpdateExtendedType(value: boolean);
40688
+ /**
39884
40689
  * * Field Name: FieldCodeName
39885
40690
  * * Display Name: Field Code Name
39886
40691
  * * SQL Data Type: nvarchar(MAX)
@@ -39924,25 +40729,25 @@ export declare class MJEntityFieldEntity extends BaseEntity<MJEntityFieldEntityT
39924
40729
  get EntityClassName(): string | null;
39925
40730
  /**
39926
40731
  * * Field Name: RelatedEntity
39927
- * * Display Name: Related Entity
40732
+ * * Display Name: Related Entity Name
39928
40733
  * * SQL Data Type: nvarchar(255)
39929
40734
  */
39930
40735
  get RelatedEntity(): string | null;
39931
40736
  /**
39932
40737
  * * Field Name: RelatedEntitySchemaName
39933
- * * Display Name: Related Entity Schema Name
40738
+ * * Display Name: Related Entity Schema
39934
40739
  * * SQL Data Type: nvarchar(255)
39935
40740
  */
39936
40741
  get RelatedEntitySchemaName(): string | null;
39937
40742
  /**
39938
40743
  * * Field Name: RelatedEntityBaseTable
39939
- * * Display Name: Related Entity Base Table
40744
+ * * Display Name: Related Entity Table
39940
40745
  * * SQL Data Type: nvarchar(255)
39941
40746
  */
39942
40747
  get RelatedEntityBaseTable(): string | null;
39943
40748
  /**
39944
40749
  * * Field Name: RelatedEntityBaseView
39945
- * * Display Name: Related Entity Base View
40750
+ * * Display Name: Related Entity View
39946
40751
  * * SQL Data Type: nvarchar(255)
39947
40752
  */
39948
40753
  get RelatedEntityBaseView(): string | null;
@@ -41539,6 +42344,145 @@ export declare class MJFileEntityRecordLinkEntity extends BaseEntity<MJFileEntit
41539
42344
  */
41540
42345
  get Entity(): string;
41541
42346
  }
42347
+ /**
42348
+ * MJ: File Storage Account Permissions - strongly typed entity sub-class
42349
+ * * Schema: __mj
42350
+ * * Base Table: FileStorageAccountPermission
42351
+ * * Base View: vwFileStorageAccountPermissions
42352
+ * * @description Controls which users and roles can access specific file storage accounts. If no permission records exist for an account, it is accessible to everyone (backwards compatible).
42353
+ * * Primary Key: ID
42354
+ * @extends {BaseEntity}
42355
+ * @class
42356
+ * @public
42357
+ */
42358
+ export declare class MJFileStorageAccountPermissionEntity extends BaseEntity<MJFileStorageAccountPermissionEntityType> {
42359
+ /**
42360
+ * Loads the MJ: File Storage Account Permissions record from the database
42361
+ * @param ID: string - primary key value to load the MJ: File Storage Account Permissions record.
42362
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
42363
+ * @returns {Promise<boolean>} - true if successful, false otherwise
42364
+ * @public
42365
+ * @async
42366
+ * @memberof MJFileStorageAccountPermissionEntity
42367
+ * @method
42368
+ * @override
42369
+ */
42370
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
42371
+ /**
42372
+ * Validate() method override for MJ: File Storage Account Permissions entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
42373
+ * * Table-Level: Permissions must be correctly assigned based on the type: a 'User' type requires a User ID and no Role ID, a 'Role' type requires a Role ID and no User ID, and the 'Everyone' type requires both IDs to be empty. This ensures that permissions are always linked to the correct entity.
42374
+ * @public
42375
+ * @method
42376
+ * @override
42377
+ */
42378
+ Validate(): ValidationResult;
42379
+ /**
42380
+ * Permissions must be correctly assigned based on the type: a 'User' type requires a User ID and no Role ID, a 'Role' type requires a Role ID and no User ID, and the 'Everyone' type requires both IDs to be empty. This ensures that permissions are always linked to the correct entity.
42381
+ * @param result - the ValidationResult object to add any errors or warnings to
42382
+ * @public
42383
+ * @method
42384
+ */
42385
+ ValidateTypeIdentifierAssignment(result: ValidationResult): void;
42386
+ /**
42387
+ * * Field Name: ID
42388
+ * * Display Name: ID
42389
+ * * SQL Data Type: uniqueidentifier
42390
+ * * Default Value: newsequentialid()
42391
+ */
42392
+ get ID(): string;
42393
+ set ID(value: string);
42394
+ /**
42395
+ * * Field Name: FileStorageAccountID
42396
+ * * Display Name: Storage Account
42397
+ * * SQL Data Type: uniqueidentifier
42398
+ * * Related Entity/Foreign Key: MJ: File Storage Accounts (vwFileStorageAccounts.ID)
42399
+ * * Description: The storage account this permission applies to.
42400
+ */
42401
+ get FileStorageAccountID(): string;
42402
+ set FileStorageAccountID(value: string);
42403
+ /**
42404
+ * * Field Name: Type
42405
+ * * Display Name: Permission Type
42406
+ * * SQL Data Type: nvarchar(20)
42407
+ * * Default Value: Role
42408
+ * * Value List Type: List
42409
+ * * Possible Values
42410
+ * * Everyone
42411
+ * * Role
42412
+ * * User
42413
+ * * Description: Permission type: User (requires UserID), Role (requires RoleID), or Everyone (both NULL).
42414
+ */
42415
+ get Type(): 'Everyone' | 'Role' | 'User';
42416
+ set Type(value: 'Everyone' | 'Role' | 'User');
42417
+ /**
42418
+ * * Field Name: UserID
42419
+ * * Display Name: User
42420
+ * * SQL Data Type: uniqueidentifier
42421
+ * * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)
42422
+ * * Description: Required when Type is User. The specific user granted access to this storage account.
42423
+ */
42424
+ get UserID(): string | null;
42425
+ set UserID(value: string | null);
42426
+ /**
42427
+ * * Field Name: RoleID
42428
+ * * Display Name: Role
42429
+ * * SQL Data Type: uniqueidentifier
42430
+ * * Related Entity/Foreign Key: MJ: Roles (vwRoles.ID)
42431
+ * * Description: Required when Type is Role. The role granted access to this storage account.
42432
+ */
42433
+ get RoleID(): string | null;
42434
+ set RoleID(value: string | null);
42435
+ /**
42436
+ * * Field Name: CanRead
42437
+ * * Display Name: Can Read
42438
+ * * SQL Data Type: bit
42439
+ * * Default Value: 1
42440
+ * * Description: Whether the grantee can read/search files in this storage account.
42441
+ */
42442
+ get CanRead(): boolean;
42443
+ set CanRead(value: boolean);
42444
+ /**
42445
+ * * Field Name: CanWrite
42446
+ * * Display Name: Can Write
42447
+ * * SQL Data Type: bit
42448
+ * * Default Value: 0
42449
+ * * Description: Whether the grantee can upload/modify files in this storage account.
42450
+ */
42451
+ get CanWrite(): boolean;
42452
+ set CanWrite(value: boolean);
42453
+ /**
42454
+ * * Field Name: __mj_CreatedAt
42455
+ * * Display Name: Created At
42456
+ * * SQL Data Type: datetimeoffset
42457
+ * * Default Value: getutcdate()
42458
+ */
42459
+ get __mj_CreatedAt(): Date;
42460
+ /**
42461
+ * * Field Name: __mj_UpdatedAt
42462
+ * * Display Name: Updated At
42463
+ * * SQL Data Type: datetimeoffset
42464
+ * * Default Value: getutcdate()
42465
+ */
42466
+ get __mj_UpdatedAt(): Date;
42467
+ /**
42468
+ * * Field Name: FileStorageAccount
42469
+ * * Display Name: Storage Account Name
42470
+ * * SQL Data Type: nvarchar(200)
42471
+ */
42472
+ get FileStorageAccount(): string;
42473
+ /**
42474
+ * * Field Name: User
42475
+ * * Display Name: User Name
42476
+ * * SQL Data Type: nvarchar(100)
42477
+ */
42478
+ get User(): string | null;
42479
+ /**
42480
+ * * Field Name: Role
42481
+ * * Display Name: Role Name
42482
+ * * SQL Data Type: nvarchar(50)
42483
+ */
42484
+ get Role(): string | null;
42485
+ }
41542
42486
  /**
41543
42487
  * MJ: File Storage Accounts - strongly typed entity sub-class
41544
42488
  * * Schema: __mj
@@ -41621,8 +42565,17 @@ export declare class MJFileStorageAccountEntity extends BaseEntity<MJFileStorage
41621
42565
  */
41622
42566
  get __mj_UpdatedAt(): Date;
41623
42567
  /**
42568
+ * * Field Name: IncludeInGlobalSearch
42569
+ * * Display Name: Include In Global Search
42570
+ * * SQL Data Type: bit
42571
+ * * Default Value: 0
42572
+ * * Description: When true, this storage account is included in universal/global search results. Only effective if the associated provider supports search (SupportsSearch = 1).
42573
+ */
42574
+ get IncludeInGlobalSearch(): boolean;
42575
+ set IncludeInGlobalSearch(value: boolean);
42576
+ /**
41624
42577
  * * Field Name: Provider
41625
- * * Display Name: Provider Name
42578
+ * * Display Name: Provider Type
41626
42579
  * * SQL Data Type: nvarchar(50)
41627
42580
  */
41628
42581
  get Provider(): string;
@@ -42122,6 +43075,117 @@ export declare class MJGeneratedCodeEntity extends BaseEntity<MJGeneratedCodeEnt
42122
43075
  */
42123
43076
  get LinkedEntity(): string | null;
42124
43077
  }
43078
+ /**
43079
+ * MJ: Instance Configurations - strongly typed entity sub-class
43080
+ * * Schema: __mj
43081
+ * * Base Table: InstanceConfiguration
43082
+ * * Base View: vwInstanceConfigurations
43083
+ * * @description Instance-level feature toggles and configuration. Controls which features are enabled per MJ Explorer deployment.
43084
+ * * Primary Key: ID
43085
+ * @extends {BaseEntity}
43086
+ * @class
43087
+ * @public
43088
+ */
43089
+ export declare class MJInstanceConfigurationEntity extends BaseEntity<MJInstanceConfigurationEntityType> {
43090
+ /**
43091
+ * Loads the MJ: Instance Configurations record from the database
43092
+ * @param ID: string - primary key value to load the MJ: Instance Configurations record.
43093
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
43094
+ * @returns {Promise<boolean>} - true if successful, false otherwise
43095
+ * @public
43096
+ * @async
43097
+ * @memberof MJInstanceConfigurationEntity
43098
+ * @method
43099
+ * @override
43100
+ */
43101
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
43102
+ /**
43103
+ * * Field Name: ID
43104
+ * * Display Name: ID
43105
+ * * SQL Data Type: uniqueidentifier
43106
+ * * Default Value: newsequentialid()
43107
+ */
43108
+ get ID(): string;
43109
+ set ID(value: string);
43110
+ /**
43111
+ * * Field Name: FeatureKey
43112
+ * * Display Name: Feature Key
43113
+ * * SQL Data Type: nvarchar(200)
43114
+ * * Description: Unique dot-notation key identifying the feature, e.g. Shell.SearchBar.Enabled.
43115
+ */
43116
+ get FeatureKey(): string;
43117
+ set FeatureKey(value: string);
43118
+ /**
43119
+ * * Field Name: Value
43120
+ * * Display Name: Current Value
43121
+ * * SQL Data Type: nvarchar(MAX)
43122
+ * * Description: Current value for this feature setting.
43123
+ */
43124
+ get Value(): string;
43125
+ set Value(value: string);
43126
+ /**
43127
+ * * Field Name: ValueType
43128
+ * * Display Name: Value Type
43129
+ * * SQL Data Type: nvarchar(20)
43130
+ * * Default Value: boolean
43131
+ * * Value List Type: List
43132
+ * * Possible Values
43133
+ * * boolean
43134
+ * * json
43135
+ * * number
43136
+ * * string
43137
+ * * Description: Data type of the value: boolean, string, number, or json.
43138
+ */
43139
+ get ValueType(): 'boolean' | 'json' | 'number' | 'string';
43140
+ set ValueType(value: 'boolean' | 'json' | 'number' | 'string');
43141
+ /**
43142
+ * * Field Name: Category
43143
+ * * Display Name: Admin Category
43144
+ * * SQL Data Type: nvarchar(100)
43145
+ * * Default Value: General
43146
+ * * Description: Grouping category for admin UI display.
43147
+ */
43148
+ get Category(): string;
43149
+ set Category(value: string);
43150
+ /**
43151
+ * * Field Name: DisplayName
43152
+ * * Display Name: Display Name
43153
+ * * SQL Data Type: nvarchar(200)
43154
+ * * Description: Human-readable display name for the setting.
43155
+ */
43156
+ get DisplayName(): string;
43157
+ set DisplayName(value: string);
43158
+ /**
43159
+ * * Field Name: Description
43160
+ * * Display Name: Description
43161
+ * * SQL Data Type: nvarchar(MAX)
43162
+ * * Description: Optional extended description or help text for the setting.
43163
+ */
43164
+ get Description(): string | null;
43165
+ set Description(value: string | null);
43166
+ /**
43167
+ * * Field Name: DefaultValue
43168
+ * * Display Name: Default Value
43169
+ * * SQL Data Type: nvarchar(MAX)
43170
+ * * Description: Factory default value. Used when resetting to defaults.
43171
+ */
43172
+ get DefaultValue(): string;
43173
+ set DefaultValue(value: string);
43174
+ /**
43175
+ * * Field Name: __mj_CreatedAt
43176
+ * * Display Name: Created At
43177
+ * * SQL Data Type: datetimeoffset
43178
+ * * Default Value: getutcdate()
43179
+ */
43180
+ get __mj_CreatedAt(): Date;
43181
+ /**
43182
+ * * Field Name: __mj_UpdatedAt
43183
+ * * Display Name: Updated At
43184
+ * * SQL Data Type: datetimeoffset
43185
+ * * Default Value: getutcdate()
43186
+ */
43187
+ get __mj_UpdatedAt(): Date;
43188
+ }
42125
43189
  /**
42126
43190
  * MJ: Integration Object Fields - strongly typed entity sub-class
42127
43191
  * * Schema: __mj
@@ -48415,6 +49479,210 @@ export declare class MJRecordChangeEntity extends BaseEntity<MJRecordChangeEntit
48415
49479
  */
48416
49480
  get Integration(): string | null;
48417
49481
  }
49482
+ /**
49483
+ * MJ: Record Geo Codes - strongly typed entity sub-class
49484
+ * * Schema: __mj
49485
+ * * Base Table: RecordGeoCode
49486
+ * * Base View: vwRecordGeoCodes
49487
+ * * @description Polymorphic table storing persisted geocoding results for any MJ entity record. Each row maps an entity record + location type to a lat/lng coordinate, with optional country/state references for choropleth grouping. Supports multi-location entities via LocationType discriminator.
49488
+ * * Primary Key: ID
49489
+ * @extends {BaseEntity}
49490
+ * @class
49491
+ * @public
49492
+ */
49493
+ export declare class MJRecordGeoCodeEntity extends BaseEntity<MJRecordGeoCodeEntityType> {
49494
+ /**
49495
+ * Loads the MJ: Record Geo Codes record from the database
49496
+ * @param ID: string - primary key value to load the MJ: Record Geo Codes record.
49497
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
49498
+ * @returns {Promise<boolean>} - true if successful, false otherwise
49499
+ * @public
49500
+ * @async
49501
+ * @memberof MJRecordGeoCodeEntity
49502
+ * @method
49503
+ * @override
49504
+ */
49505
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
49506
+ /**
49507
+ * * Field Name: ID
49508
+ * * Display Name: ID
49509
+ * * SQL Data Type: uniqueidentifier
49510
+ * * Default Value: newsequentialid()
49511
+ */
49512
+ get ID(): string;
49513
+ set ID(value: string);
49514
+ /**
49515
+ * * Field Name: EntityID
49516
+ * * Display Name: Entity
49517
+ * * SQL Data Type: uniqueidentifier
49518
+ * * Related Entity/Foreign Key: MJ: Entities (vwEntities.ID)
49519
+ * * Description: Foreign key to Entity. Identifies which entity this geocode belongs to.
49520
+ */
49521
+ get EntityID(): string;
49522
+ set EntityID(value: string);
49523
+ /**
49524
+ * * Field Name: RecordID
49525
+ * * Display Name: Record
49526
+ * * SQL Data Type: nvarchar(450)
49527
+ * * Description: MJ composite primary key format string identifying the source record (e.g., "ID|<uuid>"). Max 450 chars for SQL Server index support.
49528
+ */
49529
+ get RecordID(): string;
49530
+ set RecordID(value: string);
49531
+ /**
49532
+ * * Field Name: LocationType
49533
+ * * Display Name: Location Type
49534
+ * * SQL Data Type: nvarchar(50)
49535
+ * * Default Value: Primary
49536
+ * * Description: Discriminator for multi-location entities. Default "Primary" for single-address entities. Multi-address examples: "Home", "Business", "Mailing", "PO Box".
49537
+ */
49538
+ get LocationType(): string;
49539
+ set LocationType(value: string);
49540
+ /**
49541
+ * * Field Name: Latitude
49542
+ * * Display Name: Latitude
49543
+ * * SQL Data Type: decimal(10, 6)
49544
+ * * Description: Geocoded latitude coordinate. NULL when Status is "pending" or "failed".
49545
+ */
49546
+ get Latitude(): number | null;
49547
+ set Latitude(value: number | null);
49548
+ /**
49549
+ * * Field Name: Longitude
49550
+ * * Display Name: Longitude
49551
+ * * SQL Data Type: decimal(10, 6)
49552
+ * * Description: Geocoded longitude coordinate. NULL when Status is "pending" or "failed".
49553
+ */
49554
+ get Longitude(): number | null;
49555
+ set Longitude(value: number | null);
49556
+ /**
49557
+ * * Field Name: Precision
49558
+ * * Display Name: Precision
49559
+ * * SQL Data Type: nvarchar(20)
49560
+ * * Value List Type: List
49561
+ * * Possible Values
49562
+ * * city
49563
+ * * country
49564
+ * * county
49565
+ * * exact
49566
+ * * postal_code
49567
+ * * state_province
49568
+ * * Description: Precision level of the geocoded result: exact (street address), postal_code, city, county, state_province, or country.
49569
+ */
49570
+ get Precision(): 'city' | 'country' | 'county' | 'exact' | 'postal_code' | 'state_province' | null;
49571
+ set Precision(value: 'city' | 'country' | 'county' | 'exact' | 'postal_code' | 'state_province' | null);
49572
+ /**
49573
+ * * Field Name: CountryID
49574
+ * * Display Name: Country
49575
+ * * SQL Data Type: uniqueidentifier
49576
+ * * Related Entity/Foreign Key: MJ: Countries (vwCountries.ID)
49577
+ * * Description: Optional FK to Country reference table. Populated alongside lat/lng to enable choropleth grouping without reverse-geocoding at render time.
49578
+ */
49579
+ get CountryID(): string | null;
49580
+ set CountryID(value: string | null);
49581
+ /**
49582
+ * * Field Name: StateProvinceID
49583
+ * * Display Name: State Province
49584
+ * * SQL Data Type: uniqueidentifier
49585
+ * * Related Entity/Foreign Key: MJ: State Provinces (vwStateProvinces.ID)
49586
+ * * Description: Optional FK to StateProvince reference table. Populated alongside lat/lng to enable state-level choropleth grouping.
49587
+ */
49588
+ get StateProvinceID(): string | null;
49589
+ set StateProvinceID(value: string | null);
49590
+ /**
49591
+ * * Field Name: Status
49592
+ * * Display Name: Status
49593
+ * * SQL Data Type: nvarchar(20)
49594
+ * * Default Value: pending
49595
+ * * Value List Type: List
49596
+ * * Possible Values
49597
+ * * failed
49598
+ * * pending
49599
+ * * success
49600
+ * * Description: Current geocoding status: "pending" (awaiting geocode), "success" (geocoded), or "failed" (geocoding error). Used by scheduled job for retry logic.
49601
+ */
49602
+ get Status(): 'failed' | 'pending' | 'success';
49603
+ set Status(value: 'failed' | 'pending' | 'success');
49604
+ /**
49605
+ * * Field Name: ErrorMessage
49606
+ * * Display Name: Error Message
49607
+ * * SQL Data Type: nvarchar(MAX)
49608
+ * * Description: Error details when Status is "failed". Captures API error messages, rate limit info, etc. for debugging.
49609
+ */
49610
+ get ErrorMessage(): string | null;
49611
+ set ErrorMessage(value: string | null);
49612
+ /**
49613
+ * * Field Name: RetryCount
49614
+ * * Display Name: Retry Count
49615
+ * * SQL Data Type: int
49616
+ * * Default Value: 0
49617
+ * * Description: Number of geocoding attempts. Used for exponential backoff in the scheduled retry job. Stops retrying at configurable maxRetries (default 3).
49618
+ */
49619
+ get RetryCount(): number;
49620
+ set RetryCount(value: number);
49621
+ /**
49622
+ * * Field Name: SourceFieldHash
49623
+ * * Display Name: Source Field Hash
49624
+ * * SQL Data Type: nvarchar(64)
49625
+ * * Description: SHA-256 hash of the source field values that produced this geocode. When source fields change on save, the hash won't match and re-geocoding is triggered. Format: SHA-256(concat(field1, "|", field2, ...)).
49626
+ */
49627
+ get SourceFieldHash(): string | null;
49628
+ set SourceFieldHash(value: string | null);
49629
+ /**
49630
+ * * Field Name: GeocodedAt
49631
+ * * Display Name: Geocoded At
49632
+ * * SQL Data Type: datetimeoffset
49633
+ * * Description: Timestamp of when geocoding was last attempted (success or failure).
49634
+ */
49635
+ get GeocodedAt(): Date | null;
49636
+ set GeocodedAt(value: Date | null);
49637
+ /**
49638
+ * * Field Name: GeocodingSource
49639
+ * * Display Name: Geocoding Source
49640
+ * * SQL Data Type: nvarchar(30)
49641
+ * * Value List Type: List
49642
+ * * Possible Values
49643
+ * * google
49644
+ * * ip_geolocation
49645
+ * * manual
49646
+ * * native
49647
+ * * reference_data
49648
+ * * reverse
49649
+ * * Description: How this geocode was produced: google (Google Geocoding API), reference_data (resolved via Country/StateProvince tables), manual (user-entered), ip_geolocation (IP lookup), native (copied from entity lat/lng fields), reverse (reverse geocode from coordinates).
49650
+ */
49651
+ get GeocodingSource(): 'google' | 'ip_geolocation' | 'manual' | 'native' | 'reference_data' | 'reverse' | null;
49652
+ set GeocodingSource(value: 'google' | 'ip_geolocation' | 'manual' | 'native' | 'reference_data' | 'reverse' | null);
49653
+ /**
49654
+ * * Field Name: __mj_CreatedAt
49655
+ * * Display Name: Created At
49656
+ * * SQL Data Type: datetimeoffset
49657
+ * * Default Value: getutcdate()
49658
+ */
49659
+ get __mj_CreatedAt(): Date;
49660
+ /**
49661
+ * * Field Name: __mj_UpdatedAt
49662
+ * * Display Name: Updated At
49663
+ * * SQL Data Type: datetimeoffset
49664
+ * * Default Value: getutcdate()
49665
+ */
49666
+ get __mj_UpdatedAt(): Date;
49667
+ /**
49668
+ * * Field Name: Entity
49669
+ * * Display Name: Entity Name
49670
+ * * SQL Data Type: nvarchar(255)
49671
+ */
49672
+ get Entity(): string;
49673
+ /**
49674
+ * * Field Name: Country
49675
+ * * Display Name: Country Name
49676
+ * * SQL Data Type: nvarchar(200)
49677
+ */
49678
+ get Country(): string | null;
49679
+ /**
49680
+ * * Field Name: StateProvince
49681
+ * * Display Name: State Province Name
49682
+ * * SQL Data Type: nvarchar(200)
49683
+ */
49684
+ get StateProvince(): string | null;
49685
+ }
48418
49686
  /**
48419
49687
  * MJ: Record Links - strongly typed entity sub-class
48420
49688
  * * Schema: __mj
@@ -50892,6 +52160,178 @@ export declare class MJSchemaInfoEntity extends BaseEntity<MJSchemaInfoEntityTyp
50892
52160
  get EntityNameSuffix(): string | null;
50893
52161
  set EntityNameSuffix(value: string | null);
50894
52162
  }
52163
+ /**
52164
+ * MJ: Search Providers - strongly typed entity sub-class
52165
+ * * Schema: __mj
52166
+ * * Base Table: SearchProvider
52167
+ * * Base View: vwSearchProviders
52168
+ * * Primary Key: ID
52169
+ * @extends {BaseEntity}
52170
+ * @class
52171
+ * @public
52172
+ */
52173
+ export declare class MJSearchProviderEntity extends BaseEntity<MJSearchProviderEntityType> {
52174
+ /**
52175
+ * Loads the MJ: Search Providers record from the database
52176
+ * @param ID: string - primary key value to load the MJ: Search Providers record.
52177
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
52178
+ * @returns {Promise<boolean>} - true if successful, false otherwise
52179
+ * @public
52180
+ * @async
52181
+ * @memberof MJSearchProviderEntity
52182
+ * @method
52183
+ * @override
52184
+ */
52185
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
52186
+ /**
52187
+ * Validate() method override for MJ: Search Providers entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
52188
+ * * Priority: The priority level must be a non-negative value (0 or greater) to ensure valid ordering and categorization of records.
52189
+ * @public
52190
+ * @method
52191
+ * @override
52192
+ */
52193
+ Validate(): ValidationResult;
52194
+ /**
52195
+ * The priority level must be a non-negative value (0 or greater) to ensure valid ordering and categorization of records.
52196
+ * @param result - the ValidationResult object to add any errors or warnings to
52197
+ * @public
52198
+ * @method
52199
+ */
52200
+ ValidatePriorityAtLeastZero(result: ValidationResult): void;
52201
+ /**
52202
+ * * Field Name: ID
52203
+ * * Display Name: ID
52204
+ * * SQL Data Type: uniqueidentifier
52205
+ * * Default Value: newsequentialid()
52206
+ */
52207
+ get ID(): string;
52208
+ set ID(value: string);
52209
+ /**
52210
+ * * Field Name: Name
52211
+ * * Display Name: Name
52212
+ * * SQL Data Type: nvarchar(200)
52213
+ * * Description: Display name for this search provider (e.g., "Vector Search", "Algolia")
52214
+ */
52215
+ get Name(): string;
52216
+ set Name(value: string);
52217
+ /**
52218
+ * * Field Name: Description
52219
+ * * Display Name: Description
52220
+ * * SQL Data Type: nvarchar(MAX)
52221
+ * * Description: Human-readable description of what this provider searches and how it works
52222
+ */
52223
+ get Description(): string | null;
52224
+ set Description(value: string | null);
52225
+ /**
52226
+ * * Field Name: DriverClass
52227
+ * * Display Name: Driver Class
52228
+ * * SQL Data Type: nvarchar(500)
52229
+ * * Description: ClassFactory key used with @RegisterClass(ISearchProvider, DriverClass) to instantiate the provider at runtime
52230
+ */
52231
+ get DriverClass(): string;
52232
+ set DriverClass(value: string);
52233
+ /**
52234
+ * * Field Name: Status
52235
+ * * Display Name: Status
52236
+ * * SQL Data Type: nvarchar(20)
52237
+ * * Default Value: Active
52238
+ * * Value List Type: List
52239
+ * * Possible Values
52240
+ * * Active
52241
+ * * Pending
52242
+ * * Terminated
52243
+ * * Description: Provider lifecycle status: Pending (not yet activated), Active (in use), Terminated (disabled)
52244
+ */
52245
+ get Status(): 'Active' | 'Pending' | 'Terminated';
52246
+ set Status(value: 'Active' | 'Pending' | 'Terminated');
52247
+ /**
52248
+ * * Field Name: Priority
52249
+ * * Display Name: Priority
52250
+ * * SQL Data Type: int
52251
+ * * Default Value: 0
52252
+ * * Description: Execution priority (lower = higher priority). Controls provider ordering and can influence RRF weighting. Must be >= 0.
52253
+ */
52254
+ get Priority(): number;
52255
+ set Priority(value: number);
52256
+ /**
52257
+ * * Field Name: SupportsPreview
52258
+ * * Display Name: Supports Preview
52259
+ * * SQL Data Type: bit
52260
+ * * Default Value: 1
52261
+ * * Description: Whether this provider should run during fast preview/autocomplete searches. Expensive providers (external APIs) may set this to 0.
52262
+ */
52263
+ get SupportsPreview(): boolean;
52264
+ set SupportsPreview(value: boolean);
52265
+ /**
52266
+ * * Field Name: MaxResultsOverride
52267
+ * * Display Name: Max Results Override
52268
+ * * SQL Data Type: int
52269
+ * * Description: Optional per-provider cap on the number of results to return. Useful for rate-limited or pay-per-query external APIs. When NULL, uses the SearchEngine default.
52270
+ */
52271
+ get MaxResultsOverride(): number | null;
52272
+ set MaxResultsOverride(value: number | null);
52273
+ /**
52274
+ * * Field Name: ProviderConfig
52275
+ * * Display Name: Provider Configuration
52276
+ * * SQL Data Type: nvarchar(MAX)
52277
+ * * Description: Optional JSON configuration blob for provider-specific settings (e.g., API endpoints, index names, tuning parameters). Schema is provider-defined.
52278
+ */
52279
+ get ProviderConfig(): string | null;
52280
+ set ProviderConfig(value: string | null);
52281
+ /**
52282
+ * * Field Name: CredentialID
52283
+ * * Display Name: Credential
52284
+ * * SQL Data Type: uniqueidentifier
52285
+ * * Related Entity/Foreign Key: MJ: Credentials (vwCredentials.ID)
52286
+ * * Description: Optional FK to the Credential entity for providers that require authentication (e.g., Algolia API key, external service credentials)
52287
+ */
52288
+ get CredentialID(): string | null;
52289
+ set CredentialID(value: string | null);
52290
+ /**
52291
+ * * Field Name: DisplayName
52292
+ * * Display Name: Display Name
52293
+ * * SQL Data Type: nvarchar(200)
52294
+ * * Description: UI display name for this provider shown in filter facets and result grouping (e.g., "Database", "Semantic Search"). When NULL, falls back to the Name column.
52295
+ */
52296
+ get DisplayName(): string | null;
52297
+ set DisplayName(value: string | null);
52298
+ /**
52299
+ * * Field Name: Icon
52300
+ * * Display Name: Icon
52301
+ * * SQL Data Type: nvarchar(200)
52302
+ * * Description: CSS icon class for UI display in filter facets and result badges (e.g., "fa-solid fa-database", "fa-solid fa-brain"). Supports any CSS-based icon library. When NULL, a default icon is used.
52303
+ */
52304
+ get Icon(): string | null;
52305
+ set Icon(value: string | null);
52306
+ /**
52307
+ * * Field Name: Comments
52308
+ * * Display Name: Comments
52309
+ * * SQL Data Type: nvarchar(MAX)
52310
+ * * Description: Free-form notes about this provider configuration
52311
+ */
52312
+ get Comments(): string | null;
52313
+ set Comments(value: string | null);
52314
+ /**
52315
+ * * Field Name: __mj_CreatedAt
52316
+ * * Display Name: Created At
52317
+ * * SQL Data Type: datetimeoffset
52318
+ * * Default Value: getutcdate()
52319
+ */
52320
+ get __mj_CreatedAt(): Date;
52321
+ /**
52322
+ * * Field Name: __mj_UpdatedAt
52323
+ * * Display Name: Updated At
52324
+ * * SQL Data Type: datetimeoffset
52325
+ * * Default Value: getutcdate()
52326
+ */
52327
+ get __mj_UpdatedAt(): Date;
52328
+ /**
52329
+ * * Field Name: Credential
52330
+ * * Display Name: Credential Name
52331
+ * * SQL Data Type: nvarchar(200)
52332
+ */
52333
+ get Credential(): string | null;
52334
+ }
50895
52335
  /**
50896
52336
  * MJ: Skills - strongly typed entity sub-class
50897
52337
  * * Schema: __mj
@@ -51074,6 +52514,124 @@ export declare class MJSQLDialectEntity extends BaseEntity<MJSQLDialectEntityTyp
51074
52514
  */
51075
52515
  get __mj_UpdatedAt(): Date;
51076
52516
  }
52517
+ /**
52518
+ * MJ: State Provinces - strongly typed entity sub-class
52519
+ * * Schema: __mj
52520
+ * * Base Table: StateProvince
52521
+ * * Base View: vwStateProvinces
52522
+ * * @description Reference table for states, provinces, and first-level administrative divisions. Linked to Country via FK. Seeded with ~5,000 records with ISO 3166-2 codes, centroids, and optional boundary GeoJSON.
52523
+ * * Primary Key: ID
52524
+ * @extends {BaseEntity}
52525
+ * @class
52526
+ * @public
52527
+ */
52528
+ export declare class MJStateProvinceEntity extends BaseEntity<MJStateProvinceEntityType> {
52529
+ /**
52530
+ * Loads the MJ: State Provinces record from the database
52531
+ * @param ID: string - primary key value to load the MJ: State Provinces record.
52532
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
52533
+ * @returns {Promise<boolean>} - true if successful, false otherwise
52534
+ * @public
52535
+ * @async
52536
+ * @memberof MJStateProvinceEntity
52537
+ * @method
52538
+ * @override
52539
+ */
52540
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
52541
+ /**
52542
+ * * Field Name: ID
52543
+ * * Display Name: ID
52544
+ * * SQL Data Type: uniqueidentifier
52545
+ * * Default Value: newsequentialid()
52546
+ */
52547
+ get ID(): string;
52548
+ set ID(value: string);
52549
+ /**
52550
+ * * Field Name: CountryID
52551
+ * * Display Name: Country
52552
+ * * SQL Data Type: uniqueidentifier
52553
+ * * Related Entity/Foreign Key: MJ: Countries (vwCountries.ID)
52554
+ * * Description: Foreign key to Country. Establishes the parent country for this state/province.
52555
+ */
52556
+ get CountryID(): string;
52557
+ set CountryID(value: string);
52558
+ /**
52559
+ * * Field Name: Name
52560
+ * * Display Name: Name
52561
+ * * SQL Data Type: nvarchar(200)
52562
+ * * Description: Full state/province name (e.g., "California", "Ontario").
52563
+ */
52564
+ get Name(): string;
52565
+ set Name(value: string);
52566
+ /**
52567
+ * * Field Name: Code
52568
+ * * Display Name: State Code
52569
+ * * SQL Data Type: nvarchar(10)
52570
+ * * Description: Short code within the country (e.g., "CA", "ON"). Unique per country via compound constraint.
52571
+ */
52572
+ get Code(): string;
52573
+ set Code(value: string);
52574
+ /**
52575
+ * * Field Name: ISO3166_2
52576
+ * * Display Name: ISO 3166-2 Code
52577
+ * * SQL Data Type: nvarchar(10)
52578
+ * * Description: ISO 3166-2 subdivision code (e.g., "US-CA", "CA-ON"). Globally unique.
52579
+ */
52580
+ get ISO3166_2(): string;
52581
+ set ISO3166_2(value: string);
52582
+ /**
52583
+ * * Field Name: Latitude
52584
+ * * Display Name: Latitude
52585
+ * * SQL Data Type: decimal(10, 6)
52586
+ * * Description: Geographic centroid latitude. Used as fallback point for state-level geocoding.
52587
+ */
52588
+ get Latitude(): number | null;
52589
+ set Latitude(value: number | null);
52590
+ /**
52591
+ * * Field Name: Longitude
52592
+ * * Display Name: Longitude
52593
+ * * SQL Data Type: decimal(10, 6)
52594
+ * * Description: Geographic centroid longitude. Used as fallback point for state-level geocoding.
52595
+ */
52596
+ get Longitude(): number | null;
52597
+ set Longitude(value: number | null);
52598
+ /**
52599
+ * * Field Name: BoundaryGeoJSON
52600
+ * * Display Name: Boundary GeoJSON
52601
+ * * SQL Data Type: nvarchar(MAX)
52602
+ * * Description: Medium-resolution (~50m) GeoJSON boundary polygon for choropleth map rendering. Nullable. Total ~15-20MB for all states/provinces worldwide.
52603
+ */
52604
+ get BoundaryGeoJSON(): string | null;
52605
+ set BoundaryGeoJSON(value: string | null);
52606
+ /**
52607
+ * * Field Name: CommonAliases
52608
+ * * Display Name: Common Aliases
52609
+ * * SQL Data Type: nvarchar(MAX)
52610
+ * * Description: JSON array of common aliases (e.g., ["Calif.","California","Cal"]). Used by GeoResolver for fuzzy text-to-state matching.
52611
+ */
52612
+ get CommonAliases(): string | null;
52613
+ set CommonAliases(value: string | null);
52614
+ /**
52615
+ * * Field Name: __mj_CreatedAt
52616
+ * * Display Name: Created At
52617
+ * * SQL Data Type: datetimeoffset
52618
+ * * Default Value: getutcdate()
52619
+ */
52620
+ get __mj_CreatedAt(): Date;
52621
+ /**
52622
+ * * Field Name: __mj_UpdatedAt
52623
+ * * Display Name: Updated At
52624
+ * * SQL Data Type: datetimeoffset
52625
+ * * Default Value: getutcdate()
52626
+ */
52627
+ get __mj_UpdatedAt(): Date;
52628
+ /**
52629
+ * * Field Name: Country
52630
+ * * Display Name: Country Name
52631
+ * * SQL Data Type: nvarchar(200)
52632
+ */
52633
+ get Country(): string;
52634
+ }
51077
52635
  /**
51078
52636
  * MJ: Tag Audit Logs - strongly typed entity sub-class
51079
52637
  * * Schema: __mj
@@ -51218,21 +52776,6 @@ export declare class MJTagCoOccurrenceEntity extends BaseEntity<MJTagCoOccurrenc
51218
52776
  */
51219
52777
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
51220
52778
  /**
51221
- * Validate() method override for MJ: Tag Co Occurrences entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
51222
- * * Table-Level: Tag A must be ordered before Tag B to ensure that each pair of tags is stored consistently and to prevent duplicate entries for the same combination.
51223
- * @public
51224
- * @method
51225
- * @override
51226
- */
51227
- Validate(): ValidationResult;
51228
- /**
51229
- * Tag A must be ordered before Tag B to ensure that each pair of tags is stored consistently and to prevent duplicate entries for the same combination.
51230
- * @param result - the ValidationResult object to add any errors or warnings to
51231
- * @public
51232
- * @method
51233
- */
51234
- ValidateTagAIDLessThanTagBID(result: ValidationResult): void;
51235
- /**
51236
52779
  * * Field Name: ID
51237
52780
  * * Display Name: ID
51238
52781
  * * SQL Data Type: uniqueidentifier
@@ -56292,6 +57835,21 @@ export declare class MJVectorDatabaseEntity extends BaseEntity<MJVectorDatabaseE
56292
57835
  */
56293
57836
  get Configuration(): string | null;
56294
57837
  set Configuration(value: string | null);
57838
+ /**
57839
+ * * Field Name: CredentialID
57840
+ * * Display Name: Credential
57841
+ * * SQL Data Type: uniqueidentifier
57842
+ * * Related Entity/Foreign Key: MJ: Credentials (vwCredentials.ID)
57843
+ * * Description: Optional link to a stored credential containing the API key and any other authentication details for this vector database provider. When set, the Credential Engine decrypts and supplies the key at runtime. When NULL, the system falls back to the environment variable AI_VENDOR_API_KEY__<ClassKey>.
57844
+ */
57845
+ get CredentialID(): string | null;
57846
+ set CredentialID(value: string | null);
57847
+ /**
57848
+ * * Field Name: Credential
57849
+ * * Display Name: Credential Name
57850
+ * * SQL Data Type: nvarchar(200)
57851
+ */
57852
+ get Credential(): string | null;
56295
57853
  }
56296
57854
  /**
56297
57855
  * MJ: Vector Indexes - strongly typed entity sub-class