@memberjunction/core-entities 5.24.0 → 5.26.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 +1653 -71
  26. package/dist/generated/entity_subclasses.d.ts.map +1 -1
  27. package/dist/generated/entity_subclasses.js +2476 -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 +6 -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,13 @@ 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;
7938
+ AllowCaching: z.ZodBoolean;
7939
+ DetectExternalChanges: z.ZodBoolean;
7818
7940
  CodeName: z.ZodNullable<z.ZodString>;
7819
7941
  ClassName: z.ZodNullable<z.ZodString>;
7820
7942
  BaseTableCodeName: z.ZodNullable<z.ZodString>;
@@ -7882,6 +8004,13 @@ export declare const MJEntitySchema: z.ZodObject<{
7882
8004
  RowCount?: number;
7883
8005
  RowCountRunAt?: Date;
7884
8006
  AllowMultipleSubtypes?: boolean;
8007
+ AutoUpdateFullTextSearch?: boolean;
8008
+ AutoUpdateAllowUserSearchAPI?: boolean;
8009
+ TrustServerCacheCompletely?: boolean;
8010
+ SupportsGeoCoding?: boolean;
8011
+ AutoUpdateSupportsGeoCoding?: boolean;
8012
+ AllowCaching?: boolean;
8013
+ DetectExternalChanges?: boolean;
7885
8014
  BaseTableCodeName?: string;
7886
8015
  ParentEntity?: string;
7887
8016
  ParentBaseTable?: string;
@@ -7947,6 +8076,13 @@ export declare const MJEntitySchema: z.ZodObject<{
7947
8076
  RowCount?: number;
7948
8077
  RowCountRunAt?: Date;
7949
8078
  AllowMultipleSubtypes?: boolean;
8079
+ AutoUpdateFullTextSearch?: boolean;
8080
+ AutoUpdateAllowUserSearchAPI?: boolean;
8081
+ TrustServerCacheCompletely?: boolean;
8082
+ SupportsGeoCoding?: boolean;
8083
+ AutoUpdateSupportsGeoCoding?: boolean;
8084
+ AllowCaching?: boolean;
8085
+ DetectExternalChanges?: boolean;
7950
8086
  BaseTableCodeName?: string;
7951
8087
  ParentEntity?: string;
7952
8088
  ParentBaseTable?: string;
@@ -8460,7 +8596,7 @@ export declare const MJEntityFieldSchema: z.ZodObject<{
8460
8596
  DefaultValue: z.ZodNullable<z.ZodString>;
8461
8597
  AutoIncrement: z.ZodBoolean;
8462
8598
  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">]>>;
8599
+ 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
8600
  CodeType: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"CSS">, z.ZodLiteral<"HTML">, z.ZodLiteral<"JavaScript">, z.ZodLiteral<"Other">, z.ZodLiteral<"SQL">, z.ZodLiteral<"TypeScript">]>>;
8465
8601
  DefaultInView: z.ZodBoolean;
8466
8602
  ViewCellTemplate: z.ZodNullable<z.ZodString>;
@@ -8501,6 +8637,10 @@ export declare const MJEntityFieldSchema: z.ZodObject<{
8501
8637
  JSONType: z.ZodNullable<z.ZodString>;
8502
8638
  JSONTypeIsArray: z.ZodBoolean;
8503
8639
  JSONTypeDefinition: z.ZodNullable<z.ZodString>;
8640
+ UserSearchPredicateAPI: z.ZodString;
8641
+ AutoUpdateUserSearchPredicate: z.ZodBoolean;
8642
+ AutoUpdateFullTextSearch: z.ZodBoolean;
8643
+ AutoUpdateExtendedType: z.ZodBoolean;
8504
8644
  FieldCodeName: z.ZodNullable<z.ZodString>;
8505
8645
  Entity: z.ZodString;
8506
8646
  SchemaName: z.ZodString;
@@ -8537,6 +8677,7 @@ export declare const MJEntityFieldSchema: z.ZodObject<{
8537
8677
  AllowUpdateAPI?: boolean;
8538
8678
  FullTextSearchEnabled?: boolean;
8539
8679
  ScopeDefault?: string;
8680
+ AutoUpdateFullTextSearch?: boolean;
8540
8681
  IsPrimaryKey?: boolean;
8541
8682
  IsUnique?: boolean;
8542
8683
  Length?: number;
@@ -8545,7 +8686,7 @@ export declare const MJEntityFieldSchema: z.ZodObject<{
8545
8686
  AllowsNull?: boolean;
8546
8687
  AutoIncrement?: boolean;
8547
8688
  ValueListType?: "None" | "List" | "ListOrUserEntry";
8548
- ExtendedType?: "Code" | "Other" | "URL" | "Email" | "FaceTime" | "Geo" | "MSTeams" | "SIP" | "SMS" | "Skype" | "Tel" | "WhatsApp" | "ZoomMtg";
8689
+ ExtendedType?: "Code" | "Other" | "URL" | "Email" | "FaceTime" | "Geo" | "GeoAddress" | "GeoCity" | "GeoCountry" | "GeoLatitude" | "GeoLongitude" | "GeoPostalCode" | "GeoStateProvince" | "MSTeams" | "SIP" | "SMS" | "Skype" | "Tel" | "WhatsApp" | "ZoomMtg";
8549
8690
  CodeType?: "Other" | "SQL" | "CSS" | "HTML" | "JavaScript" | "TypeScript";
8550
8691
  DefaultInView?: boolean;
8551
8692
  ViewCellTemplate?: string;
@@ -8580,6 +8721,9 @@ export declare const MJEntityFieldSchema: z.ZodObject<{
8580
8721
  JSONType?: string;
8581
8722
  JSONTypeIsArray?: boolean;
8582
8723
  JSONTypeDefinition?: string;
8724
+ UserSearchPredicateAPI?: string;
8725
+ AutoUpdateUserSearchPredicate?: boolean;
8726
+ AutoUpdateExtendedType?: boolean;
8583
8727
  FieldCodeName?: string;
8584
8728
  RelatedEntity?: string;
8585
8729
  RelatedEntitySchemaName?: string;
@@ -8610,6 +8754,7 @@ export declare const MJEntityFieldSchema: z.ZodObject<{
8610
8754
  AllowUpdateAPI?: boolean;
8611
8755
  FullTextSearchEnabled?: boolean;
8612
8756
  ScopeDefault?: string;
8757
+ AutoUpdateFullTextSearch?: boolean;
8613
8758
  IsPrimaryKey?: boolean;
8614
8759
  IsUnique?: boolean;
8615
8760
  Length?: number;
@@ -8618,7 +8763,7 @@ export declare const MJEntityFieldSchema: z.ZodObject<{
8618
8763
  AllowsNull?: boolean;
8619
8764
  AutoIncrement?: boolean;
8620
8765
  ValueListType?: "None" | "List" | "ListOrUserEntry";
8621
- ExtendedType?: "Code" | "Other" | "URL" | "Email" | "FaceTime" | "Geo" | "MSTeams" | "SIP" | "SMS" | "Skype" | "Tel" | "WhatsApp" | "ZoomMtg";
8766
+ ExtendedType?: "Code" | "Other" | "URL" | "Email" | "FaceTime" | "Geo" | "GeoAddress" | "GeoCity" | "GeoCountry" | "GeoLatitude" | "GeoLongitude" | "GeoPostalCode" | "GeoStateProvince" | "MSTeams" | "SIP" | "SMS" | "Skype" | "Tel" | "WhatsApp" | "ZoomMtg";
8622
8767
  CodeType?: "Other" | "SQL" | "CSS" | "HTML" | "JavaScript" | "TypeScript";
8623
8768
  DefaultInView?: boolean;
8624
8769
  ViewCellTemplate?: string;
@@ -8653,6 +8798,9 @@ export declare const MJEntityFieldSchema: z.ZodObject<{
8653
8798
  JSONType?: string;
8654
8799
  JSONTypeIsArray?: boolean;
8655
8800
  JSONTypeDefinition?: string;
8801
+ UserSearchPredicateAPI?: string;
8802
+ AutoUpdateUserSearchPredicate?: boolean;
8803
+ AutoUpdateExtendedType?: boolean;
8656
8804
  FieldCodeName?: string;
8657
8805
  RelatedEntity?: string;
8658
8806
  RelatedEntitySchemaName?: string;
@@ -9241,6 +9389,50 @@ export declare const MJFileEntityRecordLinkSchema: z.ZodObject<{
9241
9389
  File?: string;
9242
9390
  }>;
9243
9391
  export type MJFileEntityRecordLinkEntityType = z.infer<typeof MJFileEntityRecordLinkSchema>;
9392
+ /**
9393
+ * zod schema definition for the entity MJ: File Storage Account Permissions
9394
+ */
9395
+ export declare const MJFileStorageAccountPermissionSchema: z.ZodObject<{
9396
+ ID: z.ZodString;
9397
+ FileStorageAccountID: z.ZodString;
9398
+ Type: z.ZodUnion<[z.ZodLiteral<"Everyone">, z.ZodLiteral<"Role">, z.ZodLiteral<"User">]>;
9399
+ UserID: z.ZodNullable<z.ZodString>;
9400
+ RoleID: z.ZodNullable<z.ZodString>;
9401
+ CanRead: z.ZodBoolean;
9402
+ CanWrite: z.ZodBoolean;
9403
+ __mj_CreatedAt: z.ZodDate;
9404
+ __mj_UpdatedAt: z.ZodDate;
9405
+ FileStorageAccount: z.ZodString;
9406
+ User: z.ZodNullable<z.ZodString>;
9407
+ Role: z.ZodNullable<z.ZodString>;
9408
+ }, "strip", z.ZodTypeAny, {
9409
+ ID?: string;
9410
+ Role?: string;
9411
+ User?: string;
9412
+ CanRead?: boolean;
9413
+ __mj_CreatedAt?: Date;
9414
+ __mj_UpdatedAt?: Date;
9415
+ UserID?: string;
9416
+ Type?: "Everyone" | "Role" | "User";
9417
+ RoleID?: string;
9418
+ FileStorageAccountID?: string;
9419
+ CanWrite?: boolean;
9420
+ FileStorageAccount?: string;
9421
+ }, {
9422
+ ID?: string;
9423
+ Role?: string;
9424
+ User?: string;
9425
+ CanRead?: boolean;
9426
+ __mj_CreatedAt?: Date;
9427
+ __mj_UpdatedAt?: Date;
9428
+ UserID?: string;
9429
+ Type?: "Everyone" | "Role" | "User";
9430
+ RoleID?: string;
9431
+ FileStorageAccountID?: string;
9432
+ CanWrite?: boolean;
9433
+ FileStorageAccount?: string;
9434
+ }>;
9435
+ export type MJFileStorageAccountPermissionEntityType = z.infer<typeof MJFileStorageAccountPermissionSchema>;
9244
9436
  /**
9245
9437
  * zod schema definition for the entity MJ: File Storage Accounts
9246
9438
  */
@@ -9252,6 +9444,7 @@ export declare const MJFileStorageAccountSchema: z.ZodObject<{
9252
9444
  CredentialID: z.ZodString;
9253
9445
  __mj_CreatedAt: z.ZodDate;
9254
9446
  __mj_UpdatedAt: z.ZodDate;
9447
+ IncludeInGlobalSearch: z.ZodBoolean;
9255
9448
  Provider: z.ZodString;
9256
9449
  Credential: z.ZodString;
9257
9450
  }, "strip", z.ZodTypeAny, {
@@ -9263,6 +9456,7 @@ export declare const MJFileStorageAccountSchema: z.ZodObject<{
9263
9456
  CredentialID?: string;
9264
9457
  Credential?: string;
9265
9458
  ProviderID?: string;
9459
+ IncludeInGlobalSearch?: boolean;
9266
9460
  Provider?: string;
9267
9461
  }, {
9268
9462
  ID?: string;
@@ -9273,6 +9467,7 @@ export declare const MJFileStorageAccountSchema: z.ZodObject<{
9273
9467
  CredentialID?: string;
9274
9468
  Credential?: string;
9275
9469
  ProviderID?: string;
9470
+ IncludeInGlobalSearch?: boolean;
9276
9471
  Provider?: string;
9277
9472
  }>;
9278
9473
  export type MJFileStorageAccountEntityType = z.infer<typeof MJFileStorageAccountSchema>;
@@ -9455,6 +9650,44 @@ export declare const MJGeneratedCodeSchema: z.ZodObject<{
9455
9650
  GeneratedByModel?: string;
9456
9651
  }>;
9457
9652
  export type MJGeneratedCodeEntityType = z.infer<typeof MJGeneratedCodeSchema>;
9653
+ /**
9654
+ * zod schema definition for the entity MJ: Instance Configurations
9655
+ */
9656
+ export declare const MJInstanceConfigurationSchema: z.ZodObject<{
9657
+ ID: z.ZodString;
9658
+ FeatureKey: z.ZodString;
9659
+ Value: z.ZodString;
9660
+ ValueType: z.ZodUnion<[z.ZodLiteral<"boolean">, z.ZodLiteral<"json">, z.ZodLiteral<"number">, z.ZodLiteral<"string">]>;
9661
+ Category: z.ZodString;
9662
+ DisplayName: z.ZodString;
9663
+ Description: z.ZodNullable<z.ZodString>;
9664
+ DefaultValue: z.ZodString;
9665
+ __mj_CreatedAt: z.ZodDate;
9666
+ __mj_UpdatedAt: z.ZodDate;
9667
+ }, "strip", z.ZodTypeAny, {
9668
+ ID?: string;
9669
+ __mj_CreatedAt?: Date;
9670
+ __mj_UpdatedAt?: Date;
9671
+ Description?: string;
9672
+ DefaultValue?: string;
9673
+ ValueType?: "string" | "number" | "boolean" | "json";
9674
+ Category?: string;
9675
+ DisplayName?: string;
9676
+ Value?: string;
9677
+ FeatureKey?: string;
9678
+ }, {
9679
+ ID?: string;
9680
+ __mj_CreatedAt?: Date;
9681
+ __mj_UpdatedAt?: Date;
9682
+ Description?: string;
9683
+ DefaultValue?: string;
9684
+ ValueType?: "string" | "number" | "boolean" | "json";
9685
+ Category?: string;
9686
+ DisplayName?: string;
9687
+ Value?: string;
9688
+ FeatureKey?: string;
9689
+ }>;
9690
+ export type MJInstanceConfigurationEntityType = z.infer<typeof MJInstanceConfigurationSchema>;
9458
9691
  /**
9459
9692
  * zod schema definition for the entity MJ: Integration Object Fields
9460
9693
  */
@@ -11756,6 +11989,74 @@ export declare const MJRecordChangeSchema: z.ZodObject<{
11756
11989
  ReplayRun?: string;
11757
11990
  }>;
11758
11991
  export type MJRecordChangeEntityType = z.infer<typeof MJRecordChangeSchema>;
11992
+ /**
11993
+ * zod schema definition for the entity MJ: Record Geo Codes
11994
+ */
11995
+ export declare const MJRecordGeoCodeSchema: z.ZodObject<{
11996
+ ID: z.ZodString;
11997
+ EntityID: z.ZodString;
11998
+ RecordID: z.ZodString;
11999
+ LocationType: z.ZodString;
12000
+ Latitude: z.ZodNullable<z.ZodNumber>;
12001
+ Longitude: z.ZodNullable<z.ZodNumber>;
12002
+ 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">]>>;
12003
+ CountryID: z.ZodNullable<z.ZodString>;
12004
+ StateProvinceID: z.ZodNullable<z.ZodString>;
12005
+ Status: z.ZodUnion<[z.ZodLiteral<"failed">, z.ZodLiteral<"pending">, z.ZodLiteral<"success">]>;
12006
+ ErrorMessage: z.ZodNullable<z.ZodString>;
12007
+ RetryCount: z.ZodNumber;
12008
+ SourceFieldHash: z.ZodNullable<z.ZodString>;
12009
+ GeocodedAt: z.ZodNullable<z.ZodDate>;
12010
+ 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">]>>;
12011
+ __mj_CreatedAt: z.ZodDate;
12012
+ __mj_UpdatedAt: z.ZodDate;
12013
+ Entity: z.ZodString;
12014
+ Country: z.ZodNullable<z.ZodString>;
12015
+ StateProvince: z.ZodNullable<z.ZodString>;
12016
+ }, "strip", z.ZodTypeAny, {
12017
+ ID?: string;
12018
+ EntityID?: string;
12019
+ RecordID?: string;
12020
+ __mj_CreatedAt?: Date;
12021
+ __mj_UpdatedAt?: Date;
12022
+ Entity?: string;
12023
+ Status?: "failed" | "pending" | "success";
12024
+ ErrorMessage?: string;
12025
+ RetryCount?: number;
12026
+ Latitude?: number;
12027
+ Longitude?: number;
12028
+ Precision?: "exact" | "city" | "country" | "county" | "postal_code" | "state_province";
12029
+ LocationType?: string;
12030
+ CountryID?: string;
12031
+ StateProvinceID?: string;
12032
+ SourceFieldHash?: string;
12033
+ GeocodedAt?: Date;
12034
+ GeocodingSource?: "reverse" | "google" | "ip_geolocation" | "manual" | "native" | "reference_data";
12035
+ Country?: string;
12036
+ StateProvince?: string;
12037
+ }, {
12038
+ ID?: string;
12039
+ EntityID?: string;
12040
+ RecordID?: string;
12041
+ __mj_CreatedAt?: Date;
12042
+ __mj_UpdatedAt?: Date;
12043
+ Entity?: string;
12044
+ Status?: "failed" | "pending" | "success";
12045
+ ErrorMessage?: string;
12046
+ RetryCount?: number;
12047
+ Latitude?: number;
12048
+ Longitude?: number;
12049
+ Precision?: "exact" | "city" | "country" | "county" | "postal_code" | "state_province";
12050
+ LocationType?: string;
12051
+ CountryID?: string;
12052
+ StateProvinceID?: string;
12053
+ SourceFieldHash?: string;
12054
+ GeocodedAt?: Date;
12055
+ GeocodingSource?: "reverse" | "google" | "ip_geolocation" | "manual" | "native" | "reference_data";
12056
+ Country?: string;
12057
+ StateProvince?: string;
12058
+ }>;
12059
+ export type MJRecordGeoCodeEntityType = z.infer<typeof MJRecordGeoCodeSchema>;
11759
12060
  /**
11760
12061
  * zod schema definition for the entity MJ: Record Links
11761
12062
  */
@@ -12637,6 +12938,62 @@ export declare const MJSchemaInfoSchema: z.ZodObject<{
12637
12938
  EntityNameSuffix?: string;
12638
12939
  }>;
12639
12940
  export type MJSchemaInfoEntityType = z.infer<typeof MJSchemaInfoSchema>;
12941
+ /**
12942
+ * zod schema definition for the entity MJ: Search Providers
12943
+ */
12944
+ export declare const MJSearchProviderSchema: z.ZodObject<{
12945
+ ID: z.ZodString;
12946
+ Name: z.ZodString;
12947
+ Description: z.ZodNullable<z.ZodString>;
12948
+ DriverClass: z.ZodString;
12949
+ Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Pending">, z.ZodLiteral<"Terminated">]>;
12950
+ Priority: z.ZodNumber;
12951
+ SupportsPreview: z.ZodBoolean;
12952
+ MaxResultsOverride: z.ZodNullable<z.ZodNumber>;
12953
+ ProviderConfig: z.ZodNullable<z.ZodString>;
12954
+ CredentialID: z.ZodNullable<z.ZodString>;
12955
+ DisplayName: z.ZodNullable<z.ZodString>;
12956
+ Icon: z.ZodNullable<z.ZodString>;
12957
+ Comments: z.ZodNullable<z.ZodString>;
12958
+ __mj_CreatedAt: z.ZodDate;
12959
+ __mj_UpdatedAt: z.ZodDate;
12960
+ Credential: z.ZodNullable<z.ZodString>;
12961
+ }, "strip", z.ZodTypeAny, {
12962
+ ID?: string;
12963
+ __mj_CreatedAt?: Date;
12964
+ __mj_UpdatedAt?: Date;
12965
+ Comments?: string;
12966
+ Name?: string;
12967
+ Description?: string;
12968
+ Status?: "Active" | "Pending" | "Terminated";
12969
+ DriverClass?: string;
12970
+ Priority?: number;
12971
+ DisplayName?: string;
12972
+ Icon?: string;
12973
+ CredentialID?: string;
12974
+ Credential?: string;
12975
+ SupportsPreview?: boolean;
12976
+ MaxResultsOverride?: number;
12977
+ ProviderConfig?: string;
12978
+ }, {
12979
+ ID?: string;
12980
+ __mj_CreatedAt?: Date;
12981
+ __mj_UpdatedAt?: Date;
12982
+ Comments?: string;
12983
+ Name?: string;
12984
+ Description?: string;
12985
+ Status?: "Active" | "Pending" | "Terminated";
12986
+ DriverClass?: string;
12987
+ Priority?: number;
12988
+ DisplayName?: string;
12989
+ Icon?: string;
12990
+ CredentialID?: string;
12991
+ Credential?: string;
12992
+ SupportsPreview?: boolean;
12993
+ MaxResultsOverride?: number;
12994
+ ProviderConfig?: string;
12995
+ }>;
12996
+ export type MJSearchProviderEntityType = z.infer<typeof MJSearchProviderSchema>;
12640
12997
  /**
12641
12998
  * zod schema definition for the entity MJ: Skills
12642
12999
  */
@@ -12707,6 +13064,50 @@ export declare const MJSQLDialectSchema: z.ZodObject<{
12707
13064
  WebURL?: string;
12708
13065
  }>;
12709
13066
  export type MJSQLDialectEntityType = z.infer<typeof MJSQLDialectSchema>;
13067
+ /**
13068
+ * zod schema definition for the entity MJ: State Provinces
13069
+ */
13070
+ export declare const MJStateProvinceSchema: z.ZodObject<{
13071
+ ID: z.ZodString;
13072
+ CountryID: z.ZodString;
13073
+ Name: z.ZodString;
13074
+ Code: z.ZodString;
13075
+ ISO3166_2: z.ZodString;
13076
+ Latitude: z.ZodNullable<z.ZodNumber>;
13077
+ Longitude: z.ZodNullable<z.ZodNumber>;
13078
+ BoundaryGeoJSON: z.ZodNullable<z.ZodString>;
13079
+ CommonAliases: z.ZodNullable<z.ZodString>;
13080
+ __mj_CreatedAt: z.ZodDate;
13081
+ __mj_UpdatedAt: z.ZodDate;
13082
+ Country: z.ZodString;
13083
+ }, "strip", z.ZodTypeAny, {
13084
+ ID?: string;
13085
+ __mj_CreatedAt?: Date;
13086
+ __mj_UpdatedAt?: Date;
13087
+ Name?: string;
13088
+ Code?: string;
13089
+ Latitude?: number;
13090
+ Longitude?: number;
13091
+ BoundaryGeoJSON?: string;
13092
+ CommonAliases?: string;
13093
+ CountryID?: string;
13094
+ Country?: string;
13095
+ ISO3166_2?: string;
13096
+ }, {
13097
+ ID?: string;
13098
+ __mj_CreatedAt?: Date;
13099
+ __mj_UpdatedAt?: Date;
13100
+ Name?: string;
13101
+ Code?: string;
13102
+ Latitude?: number;
13103
+ Longitude?: number;
13104
+ BoundaryGeoJSON?: string;
13105
+ CommonAliases?: string;
13106
+ CountryID?: string;
13107
+ Country?: string;
13108
+ ISO3166_2?: string;
13109
+ }>;
13110
+ export type MJStateProvinceEntityType = z.infer<typeof MJStateProvinceSchema>;
12710
13111
  /**
12711
13112
  * zod schema definition for the entity MJ: Tag Audit Logs
12712
13113
  */
@@ -14438,6 +14839,8 @@ export declare const MJVectorDatabaseSchema: z.ZodObject<{
14438
14839
  __mj_CreatedAt: z.ZodDate;
14439
14840
  __mj_UpdatedAt: z.ZodDate;
14440
14841
  Configuration: z.ZodNullable<z.ZodString>;
14842
+ CredentialID: z.ZodNullable<z.ZodString>;
14843
+ Credential: z.ZodNullable<z.ZodString>;
14441
14844
  }, "strip", z.ZodTypeAny, {
14442
14845
  ID?: string;
14443
14846
  __mj_CreatedAt?: Date;
@@ -14445,6 +14848,8 @@ export declare const MJVectorDatabaseSchema: z.ZodObject<{
14445
14848
  Name?: string;
14446
14849
  Description?: string;
14447
14850
  Configuration?: string;
14851
+ CredentialID?: string;
14852
+ Credential?: string;
14448
14853
  DefaultURL?: string;
14449
14854
  ClassKey?: string;
14450
14855
  }, {
@@ -14454,6 +14859,8 @@ export declare const MJVectorDatabaseSchema: z.ZodObject<{
14454
14859
  Name?: string;
14455
14860
  Description?: string;
14456
14861
  Configuration?: string;
14862
+ CredentialID?: string;
14863
+ Credential?: string;
14457
14864
  DefaultURL?: string;
14458
14865
  ClassKey?: string;
14459
14866
  }>;
@@ -14486,9 +14893,9 @@ export declare const MJVectorIndexSchema: z.ZodObject<{
14486
14893
  ExternalID?: string;
14487
14894
  VectorDatabaseID?: string;
14488
14895
  VectorDatabase?: string;
14896
+ ProviderConfig?: string;
14489
14897
  Dimensions?: number;
14490
14898
  Metric?: string;
14491
- ProviderConfig?: string;
14492
14899
  }, {
14493
14900
  ID?: string;
14494
14901
  __mj_CreatedAt?: Date;
@@ -14500,9 +14907,9 @@ export declare const MJVectorIndexSchema: z.ZodObject<{
14500
14907
  ExternalID?: string;
14501
14908
  VectorDatabaseID?: string;
14502
14909
  VectorDatabase?: string;
14910
+ ProviderConfig?: string;
14503
14911
  Dimensions?: number;
14504
14912
  Metric?: string;
14505
- ProviderConfig?: string;
14506
14913
  }>;
14507
14914
  export type MJVectorIndexEntityType = z.infer<typeof MJVectorIndexSchema>;
14508
14915
  /**
@@ -16693,12 +17100,27 @@ export declare class MJAIAgentCategoryEntity extends BaseEntity<MJAIAgentCategor
16693
17100
  */
16694
17101
  get __mj_UpdatedAt(): Date;
16695
17102
  /**
17103
+ * * Field Name: DefaultStorageAccountID
17104
+ * * Display Name: Default Storage Account
17105
+ * * SQL Data Type: uniqueidentifier
17106
+ * * Related Entity/Foreign Key: MJ: File Storage Accounts (vwFileStorageAccounts.ID)
17107
+ * * 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.
17108
+ */
17109
+ get DefaultStorageAccountID(): string | null;
17110
+ set DefaultStorageAccountID(value: string | null);
17111
+ /**
16696
17112
  * * Field Name: Parent
16697
- * * Display Name: Parent Name
17113
+ * * Display Name: Parent
16698
17114
  * * SQL Data Type: nvarchar(200)
16699
17115
  */
16700
17116
  get Parent(): string | null;
16701
17117
  /**
17118
+ * * Field Name: DefaultStorageAccount
17119
+ * * Display Name: Default Storage Account Name
17120
+ * * SQL Data Type: nvarchar(200)
17121
+ */
17122
+ get DefaultStorageAccount(): string | null;
17123
+ /**
16702
17124
  * * Field Name: RootParentID
16703
17125
  * * Display Name: Root Parent
16704
17126
  * * SQL Data Type: uniqueidentifier
@@ -20556,7 +20978,7 @@ export declare class MJAIAgentTypeEntity extends BaseEntity<MJAIAgentTypeEntityT
20556
20978
  set UIFormSectionExpandedByDefault(value: boolean);
20557
20979
  /**
20558
20980
  * * Field Name: PromptParamsSchema
20559
- * * Display Name: Prompt Parameters Schema
20981
+ * * Display Name: Prompt Params Schema
20560
20982
  * * SQL Data Type: nvarchar(MAX)
20561
20983
  * * 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
20984
  */
@@ -20571,11 +20993,26 @@ export declare class MJAIAgentTypeEntity extends BaseEntity<MJAIAgentTypeEntityT
20571
20993
  get AssignmentStrategy(): string | null;
20572
20994
  set AssignmentStrategy(value: string | null);
20573
20995
  /**
20996
+ * * Field Name: DefaultStorageAccountID
20997
+ * * Display Name: Default Storage Account
20998
+ * * SQL Data Type: uniqueidentifier
20999
+ * * Related Entity/Foreign Key: MJ: File Storage Accounts (vwFileStorageAccounts.ID)
21000
+ * * 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.
21001
+ */
21002
+ get DefaultStorageAccountID(): string | null;
21003
+ set DefaultStorageAccountID(value: string | null);
21004
+ /**
20574
21005
  * * Field Name: SystemPrompt
20575
- * * Display Name: System Prompt Text
21006
+ * * Display Name: System Prompt
20576
21007
  * * SQL Data Type: nvarchar(255)
20577
21008
  */
20578
21009
  get SystemPrompt(): string | null;
21010
+ /**
21011
+ * * Field Name: DefaultStorageAccount
21012
+ * * Display Name: Default Storage Account Name
21013
+ * * SQL Data Type: nvarchar(200)
21014
+ */
21015
+ get DefaultStorageAccount(): string | null;
20579
21016
  }
20580
21017
  /**
20581
21018
  * MJ: AI Agents - strongly typed entity sub-class
@@ -20772,7 +21209,7 @@ export declare class MJAIAgentEntity extends BaseEntity<MJAIAgentEntityType> {
20772
21209
  set EnableContextCompression(value: boolean);
20773
21210
  /**
20774
21211
  * * Field Name: ContextCompressionMessageThreshold
20775
- * * Display Name: Compression Message Threshold
21212
+ * * Display Name: Context Compression Message Threshold
20776
21213
  * * SQL Data Type: int
20777
21214
  * * Description: Number of messages that triggers context compression when EnableContextCompression is true.
20778
21215
  */
@@ -20780,7 +21217,7 @@ export declare class MJAIAgentEntity extends BaseEntity<MJAIAgentEntityType> {
20780
21217
  set ContextCompressionMessageThreshold(value: number | null);
20781
21218
  /**
20782
21219
  * * Field Name: ContextCompressionPromptID
20783
- * * Display Name: Compression Prompt
21220
+ * * Display Name: Context Compression Prompt
20784
21221
  * * SQL Data Type: uniqueidentifier
20785
21222
  * * Related Entity/Foreign Key: MJ: AI Prompts (vwAIPrompts.ID)
20786
21223
  */
@@ -20788,7 +21225,7 @@ export declare class MJAIAgentEntity extends BaseEntity<MJAIAgentEntityType> {
20788
21225
  set ContextCompressionPromptID(value: string | null);
20789
21226
  /**
20790
21227
  * * Field Name: ContextCompressionMessageRetentionCount
20791
- * * Display Name: Compression Message Retention Count
21228
+ * * Display Name: Context Compression Message Retention Count
20792
21229
  * * SQL Data Type: int
20793
21230
  * * Description: Number of recent messages to keep uncompressed when context compression is applied.
20794
21231
  */
@@ -21270,6 +21707,15 @@ if this limit is exceeded.
21270
21707
  get AllowEphemeralClientTools(): boolean;
21271
21708
  set AllowEphemeralClientTools(value: boolean);
21272
21709
  /**
21710
+ * * Field Name: DefaultStorageAccountID
21711
+ * * Display Name: Default Storage Account ID
21712
+ * * SQL Data Type: uniqueidentifier
21713
+ * * Related Entity/Foreign Key: MJ: File Storage Accounts (vwFileStorageAccounts.ID)
21714
+ * * 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.
21715
+ */
21716
+ get DefaultStorageAccountID(): string | null;
21717
+ set DefaultStorageAccountID(value: string | null);
21718
+ /**
21273
21719
  * * Field Name: Parent
21274
21720
  * * Display Name: Parent Name
21275
21721
  * * SQL Data Type: nvarchar(255)
@@ -21277,7 +21723,7 @@ if this limit is exceeded.
21277
21723
  get Parent(): string | null;
21278
21724
  /**
21279
21725
  * * Field Name: ContextCompressionPrompt
21280
- * * Display Name: Context Compression Prompt Name
21726
+ * * Display Name: Context Compression Prompt
21281
21727
  * * SQL Data Type: nvarchar(255)
21282
21728
  */
21283
21729
  get ContextCompressionPrompt(): string | null;
@@ -21312,6 +21758,12 @@ if this limit is exceeded.
21312
21758
  */
21313
21759
  get Category(): string | null;
21314
21760
  /**
21761
+ * * Field Name: DefaultStorageAccount
21762
+ * * Display Name: Default Storage Account
21763
+ * * SQL Data Type: nvarchar(200)
21764
+ */
21765
+ get DefaultStorageAccount(): string | null;
21766
+ /**
21315
21767
  * * Field Name: RootParentID
21316
21768
  * * Display Name: Root Parent
21317
21769
  * * SQL Data Type: uniqueidentifier
@@ -26858,6 +27310,101 @@ export declare class MJApplicationEntityEntity extends BaseEntity<MJApplicationE
26858
27310
  */
26859
27311
  get EntityBaseTableCodeName(): string | null;
26860
27312
  }
27313
+ /**
27314
+ * MJ: Application Roles - strongly typed entity sub-class
27315
+ * * Schema: __mj
27316
+ * * Base Table: ApplicationRole
27317
+ * * Base View: vwApplicationRoles
27318
+ * * @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.
27319
+ * * Primary Key: ID
27320
+ * @extends {BaseEntity}
27321
+ * @class
27322
+ * @public
27323
+ */
27324
+ export declare class MJApplicationRoleEntity extends BaseEntity<MJApplicationRoleEntityType> {
27325
+ /**
27326
+ * Loads the MJ: Application Roles record from the database
27327
+ * @param ID: string - primary key value to load the MJ: Application Roles record.
27328
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
27329
+ * @returns {Promise<boolean>} - true if successful, false otherwise
27330
+ * @public
27331
+ * @async
27332
+ * @memberof MJApplicationRoleEntity
27333
+ * @method
27334
+ * @override
27335
+ */
27336
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
27337
+ /**
27338
+ * * Field Name: ID
27339
+ * * Display Name: ID
27340
+ * * SQL Data Type: uniqueidentifier
27341
+ * * Default Value: newsequentialid()
27342
+ */
27343
+ get ID(): string;
27344
+ set ID(value: string);
27345
+ /**
27346
+ * * Field Name: ApplicationID
27347
+ * * Display Name: Application
27348
+ * * SQL Data Type: uniqueidentifier
27349
+ * * Related Entity/Foreign Key: MJ: Applications (vwApplications.ID)
27350
+ * * Description: Foreign key to the Application this role grant applies to
27351
+ */
27352
+ get ApplicationID(): string;
27353
+ set ApplicationID(value: string);
27354
+ /**
27355
+ * * Field Name: RoleID
27356
+ * * Display Name: Role
27357
+ * * SQL Data Type: uniqueidentifier
27358
+ * * Related Entity/Foreign Key: MJ: Roles (vwRoles.ID)
27359
+ * * Description: Foreign key to the Role being granted or denied access
27360
+ */
27361
+ get RoleID(): string;
27362
+ set RoleID(value: string);
27363
+ /**
27364
+ * * Field Name: CanAccess
27365
+ * * Display Name: Can Access
27366
+ * * SQL Data Type: bit
27367
+ * * Default Value: 1
27368
+ * * Description: When true, users in this role can access the application. When false, this record acts as an explicit deny for the role.
27369
+ */
27370
+ get CanAccess(): boolean;
27371
+ set CanAccess(value: boolean);
27372
+ /**
27373
+ * * Field Name: CanAdmin
27374
+ * * Display Name: Can Admin
27375
+ * * SQL Data Type: bit
27376
+ * * Default Value: 0
27377
+ * * Description: When true, users in this role can modify application settings, manage nav items, and configure the application.
27378
+ */
27379
+ get CanAdmin(): boolean;
27380
+ set CanAdmin(value: boolean);
27381
+ /**
27382
+ * * Field Name: __mj_CreatedAt
27383
+ * * Display Name: Created At
27384
+ * * SQL Data Type: datetimeoffset
27385
+ * * Default Value: getutcdate()
27386
+ */
27387
+ get __mj_CreatedAt(): Date;
27388
+ /**
27389
+ * * Field Name: __mj_UpdatedAt
27390
+ * * Display Name: Updated At
27391
+ * * SQL Data Type: datetimeoffset
27392
+ * * Default Value: getutcdate()
27393
+ */
27394
+ get __mj_UpdatedAt(): Date;
27395
+ /**
27396
+ * * Field Name: Application
27397
+ * * Display Name: Application Name
27398
+ * * SQL Data Type: nvarchar(100)
27399
+ */
27400
+ get Application(): string;
27401
+ /**
27402
+ * * Field Name: Role
27403
+ * * Display Name: Role Name
27404
+ * * SQL Data Type: nvarchar(50)
27405
+ */
27406
+ get Role(): string;
27407
+ }
26861
27408
  /**
26862
27409
  * MJ: Application Settings - strongly typed entity sub-class
26863
27410
  * * Schema: __mj
@@ -27402,6 +27949,19 @@ export declare class MJArtifactTypeEntity extends BaseEntity<MJArtifactTypeEntit
27402
27949
  get Icon(): string | null;
27403
27950
  set Icon(value: string | null);
27404
27951
  /**
27952
+ * * Field Name: ContentCategory
27953
+ * * Display Name: Content Category
27954
+ * * SQL Data Type: nvarchar(10)
27955
+ * * Default Value: Text
27956
+ * * Value List Type: List
27957
+ * * Possible Values
27958
+ * * File
27959
+ * * Text
27960
+ * * 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.
27961
+ */
27962
+ get ContentCategory(): 'File' | 'Text';
27963
+ set ContentCategory(value: 'File' | 'Text');
27964
+ /**
27405
27965
  * * Field Name: Parent
27406
27966
  * * Display Name: Parent
27407
27967
  * * SQL Data Type: nvarchar(100)
@@ -27648,7 +28208,7 @@ export declare class MJArtifactVersionEntity extends BaseEntity<MJArtifactVersio
27648
28208
  set ID(value: string);
27649
28209
  /**
27650
28210
  * * Field Name: ArtifactID
27651
- * * Display Name: Artifact ID
28211
+ * * Display Name: Artifact
27652
28212
  * * SQL Data Type: uniqueidentifier
27653
28213
  * * Related Entity/Foreign Key: MJ: Artifacts (vwArtifacts.ID)
27654
28214
  */
@@ -27688,7 +28248,7 @@ export declare class MJArtifactVersionEntity extends BaseEntity<MJArtifactVersio
27688
28248
  set Comments(value: string | null);
27689
28249
  /**
27690
28250
  * * Field Name: UserID
27691
- * * Display Name: User ID
28251
+ * * Display Name: User
27692
28252
  * * SQL Data Type: uniqueidentifier
27693
28253
  * * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)
27694
28254
  */
@@ -27733,6 +28293,52 @@ export declare class MJArtifactVersionEntity extends BaseEntity<MJArtifactVersio
27733
28293
  get Description(): string | null;
27734
28294
  set Description(value: string | null);
27735
28295
  /**
28296
+ * * Field Name: FileID
28297
+ * * Display Name: File
28298
+ * * SQL Data Type: uniqueidentifier
28299
+ * * Related Entity/Foreign Key: MJ: Files (vwFiles.ID)
28300
+ * * 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'.
28301
+ */
28302
+ get FileID(): string | null;
28303
+ set FileID(value: string | null);
28304
+ /**
28305
+ * * Field Name: ContentMode
28306
+ * * Display Name: Content Mode
28307
+ * * SQL Data Type: nvarchar(10)
28308
+ * * Default Value: Text
28309
+ * * Value List Type: List
28310
+ * * Possible Values
28311
+ * * File
28312
+ * * Text
28313
+ * * 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.
28314
+ */
28315
+ get ContentMode(): 'File' | 'Text';
28316
+ set ContentMode(value: 'File' | 'Text');
28317
+ /**
28318
+ * * Field Name: MimeType
28319
+ * * Display Name: MIME Type
28320
+ * * SQL Data Type: nvarchar(200)
28321
+ * * 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'.
28322
+ */
28323
+ get MimeType(): string | null;
28324
+ set MimeType(value: string | null);
28325
+ /**
28326
+ * * Field Name: FileName
28327
+ * * Display Name: File Name
28328
+ * * SQL Data Type: nvarchar(500)
28329
+ * * 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'.
28330
+ */
28331
+ get FileName(): string | null;
28332
+ set FileName(value: string | null);
28333
+ /**
28334
+ * * Field Name: ContentSizeBytes
28335
+ * * Display Name: Content Size Bytes
28336
+ * * SQL Data Type: bigint
28337
+ * * Description: Size of the stored file in bytes. Denormalized for display without loading the file. Only populated when ContentMode is 'File'.
28338
+ */
28339
+ get ContentSizeBytes(): number | null;
28340
+ set ContentSizeBytes(value: number | null);
28341
+ /**
27736
28342
  * * Field Name: Artifact
27737
28343
  * * Display Name: Artifact
27738
28344
  * * SQL Data Type: nvarchar(255)
@@ -27744,6 +28350,12 @@ export declare class MJArtifactVersionEntity extends BaseEntity<MJArtifactVersio
27744
28350
  * * SQL Data Type: nvarchar(100)
27745
28351
  */
27746
28352
  get User(): string;
28353
+ /**
28354
+ * * Field Name: File
28355
+ * * Display Name: File
28356
+ * * SQL Data Type: nvarchar(500)
28357
+ */
28358
+ get File(): string | null;
27747
28359
  }
27748
28360
  /**
27749
28361
  * MJ: Artifacts - strongly typed entity sub-class
@@ -34387,6 +34999,117 @@ export declare class MJConversationEntity extends BaseEntity<MJConversationEntit
34387
34999
  */
34388
35000
  get TestRun(): string | null;
34389
35001
  }
35002
+ /**
35003
+ * MJ: Countries - strongly typed entity sub-class
35004
+ * * Schema: __mj
35005
+ * * Base Table: Country
35006
+ * * Base View: vwCountries
35007
+ * * @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.
35008
+ * * Primary Key: ID
35009
+ * @extends {BaseEntity}
35010
+ * @class
35011
+ * @public
35012
+ */
35013
+ export declare class MJCountryEntity extends BaseEntity<MJCountryEntityType> {
35014
+ /**
35015
+ * Loads the MJ: Countries record from the database
35016
+ * @param ID: string - primary key value to load the MJ: Countries record.
35017
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
35018
+ * @returns {Promise<boolean>} - true if successful, false otherwise
35019
+ * @public
35020
+ * @async
35021
+ * @memberof MJCountryEntity
35022
+ * @method
35023
+ * @override
35024
+ */
35025
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
35026
+ /**
35027
+ * * Field Name: ID
35028
+ * * Display Name: ID
35029
+ * * SQL Data Type: uniqueidentifier
35030
+ * * Default Value: newsequentialid()
35031
+ */
35032
+ get ID(): string;
35033
+ set ID(value: string);
35034
+ /**
35035
+ * * Field Name: Name
35036
+ * * Display Name: Name
35037
+ * * SQL Data Type: nvarchar(200)
35038
+ * * Description: Full country name (e.g., "United States", "Canada").
35039
+ */
35040
+ get Name(): string;
35041
+ set Name(value: string);
35042
+ /**
35043
+ * * Field Name: ISO2
35044
+ * * Display Name: ISO 2
35045
+ * * SQL Data Type: nvarchar(2)
35046
+ * * Description: ISO 3166-1 alpha-2 code (e.g., "US", "CA"). Unique business key for lookups.
35047
+ */
35048
+ get ISO2(): string;
35049
+ set ISO2(value: string);
35050
+ /**
35051
+ * * Field Name: ISO3
35052
+ * * Display Name: ISO 3
35053
+ * * SQL Data Type: nvarchar(3)
35054
+ * * Description: ISO 3166-1 alpha-3 code (e.g., "USA", "CAN"). Unique business key for lookups.
35055
+ */
35056
+ get ISO3(): string;
35057
+ set ISO3(value: string);
35058
+ /**
35059
+ * * Field Name: NumericCode
35060
+ * * Display Name: Numeric Code
35061
+ * * SQL Data Type: int
35062
+ * * Description: ISO 3166-1 numeric code (e.g., 840 for US, 124 for Canada).
35063
+ */
35064
+ get NumericCode(): number | null;
35065
+ set NumericCode(value: number | null);
35066
+ /**
35067
+ * * Field Name: Latitude
35068
+ * * Display Name: Latitude
35069
+ * * SQL Data Type: decimal(10, 6)
35070
+ * * Description: Geographic centroid latitude. Used as fallback point for country-level geocoding.
35071
+ */
35072
+ get Latitude(): number | null;
35073
+ set Latitude(value: number | null);
35074
+ /**
35075
+ * * Field Name: Longitude
35076
+ * * Display Name: Longitude
35077
+ * * SQL Data Type: decimal(10, 6)
35078
+ * * Description: Geographic centroid longitude. Used as fallback point for country-level geocoding.
35079
+ */
35080
+ get Longitude(): number | null;
35081
+ set Longitude(value: number | null);
35082
+ /**
35083
+ * * Field Name: BoundaryGeoJSON
35084
+ * * Display Name: Boundary GeoJSON
35085
+ * * SQL Data Type: nvarchar(MAX)
35086
+ * * 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.
35087
+ */
35088
+ get BoundaryGeoJSON(): string | null;
35089
+ set BoundaryGeoJSON(value: string | null);
35090
+ /**
35091
+ * * Field Name: CommonAliases
35092
+ * * Display Name: Common Aliases
35093
+ * * SQL Data Type: nvarchar(MAX)
35094
+ * * 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.
35095
+ */
35096
+ get CommonAliases(): string | null;
35097
+ set CommonAliases(value: string | null);
35098
+ /**
35099
+ * * Field Name: __mj_CreatedAt
35100
+ * * Display Name: Created At
35101
+ * * SQL Data Type: datetimeoffset
35102
+ * * Default Value: getutcdate()
35103
+ */
35104
+ get __mj_CreatedAt(): Date;
35105
+ /**
35106
+ * * Field Name: __mj_UpdatedAt
35107
+ * * Display Name: Updated At
35108
+ * * SQL Data Type: datetimeoffset
35109
+ * * Default Value: getutcdate()
35110
+ */
35111
+ get __mj_UpdatedAt(): Date;
35112
+ }
34390
35113
  /**
34391
35114
  * MJ: Credential Categories - strongly typed entity sub-class
34392
35115
  * * Schema: __mj
@@ -37459,7 +38182,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37459
38182
  set ID(value: string);
37460
38183
  /**
37461
38184
  * * Field Name: ParentID
37462
- * * Display Name: Parent ID
38185
+ * * Display Name: Parent
37463
38186
  * * SQL Data Type: uniqueidentifier
37464
38187
  * * Related Entity/Foreign Key: MJ: Entities (vwEntities.ID)
37465
38188
  */
@@ -37621,7 +38344,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37621
38344
  set CustomResolverAPI(value: boolean);
37622
38345
  /**
37623
38346
  * * Field Name: AllowUserSearchAPI
37624
- * * Display Name: Allow User Search API
38347
+ * * Display Name: Allow User Search
37625
38348
  * * SQL Data Type: bit
37626
38349
  * * Default Value: 0
37627
38350
  * * Description: Enabling this bit will result in search being possible at the API and UI layers
@@ -37630,7 +38353,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37630
38353
  set AllowUserSearchAPI(value: boolean);
37631
38354
  /**
37632
38355
  * * Field Name: FullTextSearchEnabled
37633
- * * Display Name: Full Text Search Enabled
38356
+ * * Display Name: Full-Text Search Enabled
37634
38357
  * * SQL Data Type: bit
37635
38358
  * * Default Value: 0
37636
38359
  * * Description: Whether full-text search indexing is enabled for this entity.
@@ -37639,7 +38362,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37639
38362
  set FullTextSearchEnabled(value: boolean);
37640
38363
  /**
37641
38364
  * * Field Name: FullTextCatalog
37642
- * * Display Name: Full Text Catalog
38365
+ * * Display Name: Full-Text Catalog
37643
38366
  * * SQL Data Type: nvarchar(255)
37644
38367
  * * Description: Name of the SQL Server full-text catalog if search is enabled.
37645
38368
  */
@@ -37647,7 +38370,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37647
38370
  set FullTextCatalog(value: string | null);
37648
38371
  /**
37649
38372
  * * Field Name: FullTextCatalogGenerated
37650
- * * Display Name: Full Text Catalog Generated
38373
+ * * Display Name: Full-Text Catalog Generated
37651
38374
  * * SQL Data Type: bit
37652
38375
  * * Default Value: 1
37653
38376
  * * Description: Indicates if the full-text catalog was auto-generated by CodeGen.
@@ -37656,7 +38379,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37656
38379
  set FullTextCatalogGenerated(value: boolean);
37657
38380
  /**
37658
38381
  * * Field Name: FullTextIndex
37659
- * * Display Name: Full Text Index
38382
+ * * Display Name: Full-Text Index
37660
38383
  * * SQL Data Type: nvarchar(255)
37661
38384
  * * Description: Name of the full-text index on this entity's table.
37662
38385
  */
@@ -37664,7 +38387,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37664
38387
  set FullTextIndex(value: string | null);
37665
38388
  /**
37666
38389
  * * Field Name: FullTextIndexGenerated
37667
- * * Display Name: Full Text Index Generated
38390
+ * * Display Name: Full-Text Index Generated
37668
38391
  * * SQL Data Type: bit
37669
38392
  * * Default Value: 1
37670
38393
  * * Description: Indicates if the full-text index was auto-generated by CodeGen.
@@ -37673,7 +38396,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37673
38396
  set FullTextIndexGenerated(value: boolean);
37674
38397
  /**
37675
38398
  * * Field Name: FullTextSearchFunction
37676
- * * Display Name: Full Text Search Function
38399
+ * * Display Name: Search Function
37677
38400
  * * SQL Data Type: nvarchar(255)
37678
38401
  * * Description: Name of the function used for full-text searching this entity.
37679
38402
  */
@@ -37681,7 +38404,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37681
38404
  set FullTextSearchFunction(value: string | null);
37682
38405
  /**
37683
38406
  * * Field Name: FullTextSearchFunctionGenerated
37684
- * * Display Name: Full Text Search Function Generated
38407
+ * * Display Name: Search Function Generated
37685
38408
  * * SQL Data Type: bit
37686
38409
  * * Default Value: 1
37687
38410
  * * Description: Indicates if the search function was auto-generated by CodeGen.
@@ -37699,7 +38422,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37699
38422
  set UserViewMaxRows(value: number | null);
37700
38423
  /**
37701
38424
  * * Field Name: spCreate
37702
- * * Display Name: Create Stored Procedure
38425
+ * * Display Name: Create Procedure
37703
38426
  * * SQL Data Type: nvarchar(255)
37704
38427
  * * Description: Name of the stored procedure for creating records in this entity.
37705
38428
  */
@@ -37707,7 +38430,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37707
38430
  set spCreate(value: string | null);
37708
38431
  /**
37709
38432
  * * Field Name: spUpdate
37710
- * * Display Name: Update Stored Procedure
38433
+ * * Display Name: Update Procedure
37711
38434
  * * SQL Data Type: nvarchar(255)
37712
38435
  * * Description: Name of the stored procedure for updating records in this entity.
37713
38436
  */
@@ -37715,7 +38438,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37715
38438
  set spUpdate(value: string | null);
37716
38439
  /**
37717
38440
  * * Field Name: spDelete
37718
- * * Display Name: Delete Stored Procedure
38441
+ * * Display Name: Delete Procedure
37719
38442
  * * SQL Data Type: nvarchar(255)
37720
38443
  * * Description: Name of the stored procedure for deleting records in this entity.
37721
38444
  */
@@ -37723,7 +38446,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37723
38446
  set spDelete(value: string | null);
37724
38447
  /**
37725
38448
  * * Field Name: spCreateGenerated
37726
- * * Display Name: Create Procedure Generated
38449
+ * * Display Name: Create SP Generated
37727
38450
  * * SQL Data Type: bit
37728
38451
  * * Default Value: 1
37729
38452
  * * Description: Indicates if the create procedure was auto-generated by CodeGen.
@@ -37732,7 +38455,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37732
38455
  set spCreateGenerated(value: boolean);
37733
38456
  /**
37734
38457
  * * Field Name: spUpdateGenerated
37735
- * * Display Name: Update Procedure Generated
38458
+ * * Display Name: Update SP Generated
37736
38459
  * * SQL Data Type: bit
37737
38460
  * * Default Value: 1
37738
38461
  * * Description: Indicates if the update procedure was auto-generated by CodeGen.
@@ -37741,7 +38464,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37741
38464
  set spUpdateGenerated(value: boolean);
37742
38465
  /**
37743
38466
  * * Field Name: spDeleteGenerated
37744
- * * Display Name: Delete Procedure Generated
38467
+ * * Display Name: Delete SP Generated
37745
38468
  * * SQL Data Type: bit
37746
38469
  * * Default Value: 1
37747
38470
  * * Description: Indicates if the delete procedure was auto-generated by CodeGen.
@@ -37781,7 +38504,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37781
38504
  set AllowRecordMerge(value: boolean);
37782
38505
  /**
37783
38506
  * * Field Name: spMatch
37784
- * * Display Name: Match Stored Procedure
38507
+ * * Display Name: Match Procedure
37785
38508
  * * SQL Data Type: nvarchar(255)
37786
38509
  * * 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
38510
  */
@@ -37789,7 +38512,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37789
38512
  set spMatch(value: string | null);
37790
38513
  /**
37791
38514
  * * Field Name: RelationshipDefaultDisplayType
37792
- * * Display Name: Relationship Default Display Type
38515
+ * * Display Name: Default Relationship Display Type
37793
38516
  * * SQL Data Type: nvarchar(20)
37794
38517
  * * Default Value: Search
37795
38518
  * * Value List Type: List
@@ -37811,7 +38534,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37811
38534
  set UserFormGenerated(value: boolean);
37812
38535
  /**
37813
38536
  * * Field Name: EntityObjectSubclassName
37814
- * * Display Name: Entity Object Subclass Name
38537
+ * * Display Name: Subclass Name
37815
38538
  * * SQL Data Type: nvarchar(255)
37816
38539
  * * Description: TypeScript class name for the entity subclass in the codebase.
37817
38540
  */
@@ -37819,7 +38542,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37819
38542
  set EntityObjectSubclassName(value: string | null);
37820
38543
  /**
37821
38544
  * * Field Name: EntityObjectSubclassImport
37822
- * * Display Name: Entity Object Subclass Import
38545
+ * * Display Name: Subclass Import Path
37823
38546
  * * SQL Data Type: nvarchar(255)
37824
38547
  * * Description: Import path for the entity subclass in the TypeScript codebase.
37825
38548
  */
@@ -37857,7 +38580,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37857
38580
  get __mj_UpdatedAt(): Date;
37858
38581
  /**
37859
38582
  * * Field Name: ScopeDefault
37860
- * * Display Name: Scope Default
38583
+ * * Display Name: Default Scope
37861
38584
  * * SQL Data Type: nvarchar(100)
37862
38585
  * * 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
38586
  */
@@ -37865,7 +38588,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37865
38588
  set ScopeDefault(value: string | null);
37866
38589
  /**
37867
38590
  * * Field Name: RowsToPackWithSchema
37868
- * * Display Name: Rows To Pack With Schema
38591
+ * * Display Name: Rows To Pack
37869
38592
  * * SQL Data Type: nvarchar(20)
37870
38593
  * * Default Value: None
37871
38594
  * * Value List Type: List
@@ -37879,7 +38602,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37879
38602
  set RowsToPackWithSchema(value: 'All' | 'None' | 'Sample');
37880
38603
  /**
37881
38604
  * * Field Name: RowsToPackSampleMethod
37882
- * * Display Name: Rows To Pack Sample Method
38605
+ * * Display Name: Packing Sample Method
37883
38606
  * * SQL Data Type: nvarchar(20)
37884
38607
  * * Default Value: random
37885
38608
  * * Value List Type: List
@@ -37893,7 +38616,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37893
38616
  set RowsToPackSampleMethod(value: 'bottom n' | 'random' | 'top n');
37894
38617
  /**
37895
38618
  * * Field Name: RowsToPackSampleCount
37896
- * * Display Name: Rows To Pack Sample Count
38619
+ * * Display Name: Packing Sample Count
37897
38620
  * * SQL Data Type: int
37898
38621
  * * Default Value: 0
37899
38622
  * * Description: The number of rows to pack when RowsToPackWithSchema is set to Sample, based on the designated sampling method. Defaults to 0.
@@ -37902,7 +38625,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37902
38625
  set RowsToPackSampleCount(value: number);
37903
38626
  /**
37904
38627
  * * Field Name: RowsToPackSampleOrder
37905
- * * Display Name: Rows To Pack Sample Order
38628
+ * * Display Name: Packing Sample Order
37906
38629
  * * SQL Data Type: nvarchar(MAX)
37907
38630
  * * 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
38631
  */
@@ -37910,7 +38633,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37910
38633
  set RowsToPackSampleOrder(value: string | null);
37911
38634
  /**
37912
38635
  * * Field Name: AutoRowCountFrequency
37913
- * * Display Name: Auto Row Count Frequency
38636
+ * * Display Name: Refresh Frequency (Hours)
37914
38637
  * * SQL Data Type: int
37915
38638
  * * 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
38639
  */
@@ -37926,7 +38649,7 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37926
38649
  set RowCount(value: number | null);
37927
38650
  /**
37928
38651
  * * Field Name: RowCountRunAt
37929
- * * Display Name: Row Count Run At
38652
+ * * Display Name: Last Counted At
37930
38653
  * * SQL Data Type: datetimeoffset
37931
38654
  * * Description: Timestamp indicating when the last automatic row count was performed for this entity.
37932
38655
  */
@@ -37964,6 +38687,69 @@ export declare class MJEntityEntity extends BaseEntity<MJEntityEntityType> {
37964
38687
  get AllowMultipleSubtypes(): boolean;
37965
38688
  set AllowMultipleSubtypes(value: boolean);
37966
38689
  /**
38690
+ * * Field Name: AutoUpdateFullTextSearch
38691
+ * * Display Name: Auto Update Search Settings
38692
+ * * SQL Data Type: bit
38693
+ * * Default Value: 1
38694
+ * * Description: When true, CodeGen LLM can auto-configure full-text search settings (FullTextSearchEnabled, catalog, index, function) during code generation runs.
38695
+ */
38696
+ get AutoUpdateFullTextSearch(): boolean;
38697
+ set AutoUpdateFullTextSearch(value: boolean);
38698
+ /**
38699
+ * * Field Name: AutoUpdateAllowUserSearchAPI
38700
+ * * Display Name: Auto Update Search API
38701
+ * * SQL Data Type: bit
38702
+ * * Default Value: 1
38703
+ * * Description: When true, CodeGen LLM can auto-set AllowUserSearchAPI during code generation runs.
38704
+ */
38705
+ get AutoUpdateAllowUserSearchAPI(): boolean;
38706
+ set AutoUpdateAllowUserSearchAPI(value: boolean);
38707
+ /**
38708
+ * * Field Name: TrustServerCacheCompletely
38709
+ * * Display Name: Trust Server Cache
38710
+ * * SQL Data Type: bit
38711
+ * * Default Value: 1
38712
+ * * 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.
38713
+ */
38714
+ get TrustServerCacheCompletely(): boolean;
38715
+ set TrustServerCacheCompletely(value: boolean);
38716
+ /**
38717
+ * * Field Name: SupportsGeoCoding
38718
+ * * Display Name: Supports Geo-Coding
38719
+ * * SQL Data Type: bit
38720
+ * * Default Value: 0
38721
+ * * 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.).
38722
+ */
38723
+ get SupportsGeoCoding(): boolean;
38724
+ set SupportsGeoCoding(value: boolean);
38725
+ /**
38726
+ * * Field Name: AutoUpdateSupportsGeoCoding
38727
+ * * Display Name: Auto Update Geo-Coding
38728
+ * * SQL Data Type: bit
38729
+ * * Default Value: 1
38730
+ * * 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.
38731
+ */
38732
+ get AutoUpdateSupportsGeoCoding(): boolean;
38733
+ set AutoUpdateSupportsGeoCoding(value: boolean);
38734
+ /**
38735
+ * * Field Name: AllowCaching
38736
+ * * Display Name: Allow Caching
38737
+ * * SQL Data Type: bit
38738
+ * * Default Value: 0
38739
+ * * Description: Controls whether this entity participates in server-side and client-side caching. When false, all cache operations (PreRunView checks, auto-cache storage, BaseEntity event fingerprint scans, client-side IndexedDB cache) are skipped entirely. This column is the single source of truth at runtime; schema-level defaults are applied at CodeGen time via newEntityDefaults.AllowCachingBySchema.
38740
+ */
38741
+ get AllowCaching(): boolean;
38742
+ set AllowCaching(value: boolean);
38743
+ /**
38744
+ * * Field Name: DetectExternalChanges
38745
+ * * Display Name: Detect External Changes
38746
+ * * SQL Data Type: bit
38747
+ * * Default Value: 0
38748
+ * * Description: When set to 1 AND TrackRecordChanges is also 1, the external change detection system will scan this entity for changes made outside the MJ framework (direct SQL, third-party tools, etc.) and replay them through Save() to create proper RecordChange audit entries. Default is 0 (opt-out) because most entities, especially __mj schema metadata tables, are managed by migrations/CodeGen and should not be scanned.
38749
+ */
38750
+ get DetectExternalChanges(): boolean;
38751
+ set DetectExternalChanges(value: boolean);
38752
+ /**
37967
38753
  * * Field Name: CodeName
37968
38754
  * * Display Name: Code Name
37969
38755
  * * SQL Data Type: nvarchar(MAX)
@@ -39355,7 +40141,7 @@ export declare class MJEntityFieldEntity extends BaseEntity<MJEntityFieldEntityT
39355
40141
  set ID(value: string);
39356
40142
  /**
39357
40143
  * * Field Name: EntityID
39358
- * * Display Name: Entity
40144
+ * * Display Name: Entity ID
39359
40145
  * * SQL Data Type: uniqueidentifier
39360
40146
  * * Related Entity/Foreign Key: MJ: Entities (vwEntities.ID)
39361
40147
  */
@@ -39428,7 +40214,7 @@ export declare class MJEntityFieldEntity extends BaseEntity<MJEntityFieldEntityT
39428
40214
  set Category(value: string | null);
39429
40215
  /**
39430
40216
  * * Field Name: Type
39431
- * * Display Name: Type
40217
+ * * Display Name: Data Type
39432
40218
  * * SQL Data Type: nvarchar(100)
39433
40219
  * * Description: SQL Data type (auto maintained by CodeGen)
39434
40220
  */
@@ -39501,6 +40287,13 @@ export declare class MJEntityFieldEntity extends BaseEntity<MJEntityFieldEntityT
39501
40287
  * * Email
39502
40288
  * * FaceTime
39503
40289
  * * Geo
40290
+ * * GeoAddress
40291
+ * * GeoCity
40292
+ * * GeoCountry
40293
+ * * GeoLatitude
40294
+ * * GeoLongitude
40295
+ * * GeoPostalCode
40296
+ * * GeoStateProvince
39504
40297
  * * MSTeams
39505
40298
  * * Other
39506
40299
  * * SIP
@@ -39512,8 +40305,8 @@ export declare class MJEntityFieldEntity extends BaseEntity<MJEntityFieldEntityT
39512
40305
  * * ZoomMtg
39513
40306
  * * Description: Defines extended behaviors for a field such as for Email, Web URLs, Code, etc.
39514
40307
  */
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);
40308
+ get ExtendedType(): 'Code' | 'Email' | 'FaceTime' | 'Geo' | 'GeoAddress' | 'GeoCity' | 'GeoCountry' | 'GeoLatitude' | 'GeoLongitude' | 'GeoPostalCode' | 'GeoStateProvince' | 'MSTeams' | 'Other' | 'SIP' | 'SMS' | 'Skype' | 'Tel' | 'URL' | 'WhatsApp' | 'ZoomMtg' | null;
40309
+ 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
40310
  /**
39518
40311
  * * Field Name: CodeType
39519
40312
  * * Display Name: Code Type
@@ -39575,7 +40368,7 @@ export declare class MJEntityFieldEntity extends BaseEntity<MJEntityFieldEntityT
39575
40368
  set AllowUpdateInView(value: boolean);
39576
40369
  /**
39577
40370
  * * Field Name: IncludeInUserSearchAPI
39578
- * * Display Name: Include In User Search API
40371
+ * * Display Name: Include In User Search
39579
40372
  * * SQL Data Type: bit
39580
40373
  * * Default Value: 0
39581
40374
  * * Description: If set to 1, this column will be included in user search queries for both traditional and full text search
@@ -39593,7 +40386,7 @@ export declare class MJEntityFieldEntity extends BaseEntity<MJEntityFieldEntityT
39593
40386
  set FullTextSearchEnabled(value: boolean);
39594
40387
  /**
39595
40388
  * * Field Name: UserSearchParamFormatAPI
39596
- * * Display Name: User Search Param Format API
40389
+ * * Display Name: Search Param Format
39597
40390
  * * SQL Data Type: nvarchar(500)
39598
40391
  * * Description: NULL
39599
40392
  */
@@ -39649,7 +40442,7 @@ export declare class MJEntityFieldEntity extends BaseEntity<MJEntityFieldEntityT
39649
40442
  set RelatedEntityID(value: string | null);
39650
40443
  /**
39651
40444
  * * Field Name: RelatedEntityFieldName
39652
- * * Display Name: Related Entity Field Name
40445
+ * * Display Name: Related Entity Field
39653
40446
  * * SQL Data Type: nvarchar(255)
39654
40447
  * * Description: Name of the field in the Related Entity that this field links to (auto maintained by CodeGen)
39655
40448
  */
@@ -39657,7 +40450,7 @@ export declare class MJEntityFieldEntity extends BaseEntity<MJEntityFieldEntityT
39657
40450
  set RelatedEntityFieldName(value: string | null);
39658
40451
  /**
39659
40452
  * * Field Name: IncludeRelatedEntityNameFieldInBaseView
39660
- * * Display Name: Include Related Entity Name Field In Base View
40453
+ * * Display Name: Include Related Name In View
39661
40454
  * * SQL Data Type: bit
39662
40455
  * * Default Value: 1
39663
40456
  * * Description: If set to 1, the "Name" field of the Related Entity will be included in this entity as a virtual field
@@ -39666,7 +40459,7 @@ export declare class MJEntityFieldEntity extends BaseEntity<MJEntityFieldEntityT
39666
40459
  set IncludeRelatedEntityNameFieldInBaseView(value: boolean);
39667
40460
  /**
39668
40461
  * * Field Name: RelatedEntityNameFieldMap
39669
- * * Display Name: Related Entity Name Field Map
40462
+ * * Display Name: Related Entity Name Map
39670
40463
  * * SQL Data Type: nvarchar(255)
39671
40464
  * * 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
40465
  */
@@ -39713,7 +40506,7 @@ export declare class MJEntityFieldEntity extends BaseEntity<MJEntityFieldEntityT
39713
40506
  set ScopeDefault(value: string | null);
39714
40507
  /**
39715
40508
  * * Field Name: AutoUpdateRelatedEntityInfo
39716
- * * Display Name: Auto Update Related Entity Info
40509
+ * * Display Name: Auto Update Related Info
39717
40510
  * * SQL Data Type: bit
39718
40511
  * * Default Value: 1
39719
40512
  * * 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 +40579,7 @@ export declare class MJEntityFieldEntity extends BaseEntity<MJEntityFieldEntityT
39786
40579
  set AutoUpdateDisplayName(value: boolean);
39787
40580
  /**
39788
40581
  * * Field Name: AutoUpdateIncludeInUserSearchAPI
39789
- * * Display Name: Auto Update Include In User Search API
40582
+ * * Display Name: Auto Update Search Inclusion
39790
40583
  * * SQL Data Type: bit
39791
40584
  * * Default Value: 1
39792
40585
  * * Description: When 1, allows system/LLM to auto-update IncludeInUserSearchAPI during CodeGen; when 0, user has locked this field
@@ -39881,6 +40674,42 @@ export declare class MJEntityFieldEntity extends BaseEntity<MJEntityFieldEntityT
39881
40674
  get JSONTypeDefinition(): string | null;
39882
40675
  set JSONTypeDefinition(value: string | null);
39883
40676
  /**
40677
+ * * Field Name: UserSearchPredicateAPI
40678
+ * * Display Name: User Search Predicate
40679
+ * * SQL Data Type: nvarchar(20)
40680
+ * * Default Value: Contains
40681
+ * * Description: Search predicate controlling how user search queries match against this field. Valid values: BeginsWith, Contains, EndsWith, Exact.
40682
+ */
40683
+ get UserSearchPredicateAPI(): string;
40684
+ set UserSearchPredicateAPI(value: string);
40685
+ /**
40686
+ * * Field Name: AutoUpdateUserSearchPredicate
40687
+ * * Display Name: Auto Update Search Predicate
40688
+ * * SQL Data Type: bit
40689
+ * * Default Value: 1
40690
+ * * Description: When true, CodeGen LLM can auto-set the UserSearchPredicateAPI value during code generation runs.
40691
+ */
40692
+ get AutoUpdateUserSearchPredicate(): boolean;
40693
+ set AutoUpdateUserSearchPredicate(value: boolean);
40694
+ /**
40695
+ * * Field Name: AutoUpdateFullTextSearch
40696
+ * * Display Name: Auto Update Full Text Search
40697
+ * * SQL Data Type: bit
40698
+ * * Default Value: 1
40699
+ * * Description: When true, CodeGen LLM can auto-set the FullTextSearchEnabled value during code generation runs.
40700
+ */
40701
+ get AutoUpdateFullTextSearch(): boolean;
40702
+ set AutoUpdateFullTextSearch(value: boolean);
40703
+ /**
40704
+ * * Field Name: AutoUpdateExtendedType
40705
+ * * Display Name: Auto Update Extended Type
40706
+ * * SQL Data Type: bit
40707
+ * * Default Value: 1
40708
+ * * 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.
40709
+ */
40710
+ get AutoUpdateExtendedType(): boolean;
40711
+ set AutoUpdateExtendedType(value: boolean);
40712
+ /**
39884
40713
  * * Field Name: FieldCodeName
39885
40714
  * * Display Name: Field Code Name
39886
40715
  * * SQL Data Type: nvarchar(MAX)
@@ -39924,25 +40753,25 @@ export declare class MJEntityFieldEntity extends BaseEntity<MJEntityFieldEntityT
39924
40753
  get EntityClassName(): string | null;
39925
40754
  /**
39926
40755
  * * Field Name: RelatedEntity
39927
- * * Display Name: Related Entity
40756
+ * * Display Name: Related Entity Name
39928
40757
  * * SQL Data Type: nvarchar(255)
39929
40758
  */
39930
40759
  get RelatedEntity(): string | null;
39931
40760
  /**
39932
40761
  * * Field Name: RelatedEntitySchemaName
39933
- * * Display Name: Related Entity Schema Name
40762
+ * * Display Name: Related Entity Schema
39934
40763
  * * SQL Data Type: nvarchar(255)
39935
40764
  */
39936
40765
  get RelatedEntitySchemaName(): string | null;
39937
40766
  /**
39938
40767
  * * Field Name: RelatedEntityBaseTable
39939
- * * Display Name: Related Entity Base Table
40768
+ * * Display Name: Related Entity Table
39940
40769
  * * SQL Data Type: nvarchar(255)
39941
40770
  */
39942
40771
  get RelatedEntityBaseTable(): string | null;
39943
40772
  /**
39944
40773
  * * Field Name: RelatedEntityBaseView
39945
- * * Display Name: Related Entity Base View
40774
+ * * Display Name: Related Entity View
39946
40775
  * * SQL Data Type: nvarchar(255)
39947
40776
  */
39948
40777
  get RelatedEntityBaseView(): string | null;
@@ -41539,6 +42368,145 @@ export declare class MJFileEntityRecordLinkEntity extends BaseEntity<MJFileEntit
41539
42368
  */
41540
42369
  get Entity(): string;
41541
42370
  }
42371
+ /**
42372
+ * MJ: File Storage Account Permissions - strongly typed entity sub-class
42373
+ * * Schema: __mj
42374
+ * * Base Table: FileStorageAccountPermission
42375
+ * * Base View: vwFileStorageAccountPermissions
42376
+ * * @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).
42377
+ * * Primary Key: ID
42378
+ * @extends {BaseEntity}
42379
+ * @class
42380
+ * @public
42381
+ */
42382
+ export declare class MJFileStorageAccountPermissionEntity extends BaseEntity<MJFileStorageAccountPermissionEntityType> {
42383
+ /**
42384
+ * Loads the MJ: File Storage Account Permissions record from the database
42385
+ * @param ID: string - primary key value to load the MJ: File Storage Account Permissions record.
42386
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
42387
+ * @returns {Promise<boolean>} - true if successful, false otherwise
42388
+ * @public
42389
+ * @async
42390
+ * @memberof MJFileStorageAccountPermissionEntity
42391
+ * @method
42392
+ * @override
42393
+ */
42394
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
42395
+ /**
42396
+ * 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:
42397
+ * * 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.
42398
+ * @public
42399
+ * @method
42400
+ * @override
42401
+ */
42402
+ Validate(): ValidationResult;
42403
+ /**
42404
+ * 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.
42405
+ * @param result - the ValidationResult object to add any errors or warnings to
42406
+ * @public
42407
+ * @method
42408
+ */
42409
+ ValidateTypeIdentifierAssignment(result: ValidationResult): void;
42410
+ /**
42411
+ * * Field Name: ID
42412
+ * * Display Name: ID
42413
+ * * SQL Data Type: uniqueidentifier
42414
+ * * Default Value: newsequentialid()
42415
+ */
42416
+ get ID(): string;
42417
+ set ID(value: string);
42418
+ /**
42419
+ * * Field Name: FileStorageAccountID
42420
+ * * Display Name: Storage Account
42421
+ * * SQL Data Type: uniqueidentifier
42422
+ * * Related Entity/Foreign Key: MJ: File Storage Accounts (vwFileStorageAccounts.ID)
42423
+ * * Description: The storage account this permission applies to.
42424
+ */
42425
+ get FileStorageAccountID(): string;
42426
+ set FileStorageAccountID(value: string);
42427
+ /**
42428
+ * * Field Name: Type
42429
+ * * Display Name: Permission Type
42430
+ * * SQL Data Type: nvarchar(20)
42431
+ * * Default Value: Role
42432
+ * * Value List Type: List
42433
+ * * Possible Values
42434
+ * * Everyone
42435
+ * * Role
42436
+ * * User
42437
+ * * Description: Permission type: User (requires UserID), Role (requires RoleID), or Everyone (both NULL).
42438
+ */
42439
+ get Type(): 'Everyone' | 'Role' | 'User';
42440
+ set Type(value: 'Everyone' | 'Role' | 'User');
42441
+ /**
42442
+ * * Field Name: UserID
42443
+ * * Display Name: User
42444
+ * * SQL Data Type: uniqueidentifier
42445
+ * * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)
42446
+ * * Description: Required when Type is User. The specific user granted access to this storage account.
42447
+ */
42448
+ get UserID(): string | null;
42449
+ set UserID(value: string | null);
42450
+ /**
42451
+ * * Field Name: RoleID
42452
+ * * Display Name: Role
42453
+ * * SQL Data Type: uniqueidentifier
42454
+ * * Related Entity/Foreign Key: MJ: Roles (vwRoles.ID)
42455
+ * * Description: Required when Type is Role. The role granted access to this storage account.
42456
+ */
42457
+ get RoleID(): string | null;
42458
+ set RoleID(value: string | null);
42459
+ /**
42460
+ * * Field Name: CanRead
42461
+ * * Display Name: Can Read
42462
+ * * SQL Data Type: bit
42463
+ * * Default Value: 1
42464
+ * * Description: Whether the grantee can read/search files in this storage account.
42465
+ */
42466
+ get CanRead(): boolean;
42467
+ set CanRead(value: boolean);
42468
+ /**
42469
+ * * Field Name: CanWrite
42470
+ * * Display Name: Can Write
42471
+ * * SQL Data Type: bit
42472
+ * * Default Value: 0
42473
+ * * Description: Whether the grantee can upload/modify files in this storage account.
42474
+ */
42475
+ get CanWrite(): boolean;
42476
+ set CanWrite(value: boolean);
42477
+ /**
42478
+ * * Field Name: __mj_CreatedAt
42479
+ * * Display Name: Created At
42480
+ * * SQL Data Type: datetimeoffset
42481
+ * * Default Value: getutcdate()
42482
+ */
42483
+ get __mj_CreatedAt(): Date;
42484
+ /**
42485
+ * * Field Name: __mj_UpdatedAt
42486
+ * * Display Name: Updated At
42487
+ * * SQL Data Type: datetimeoffset
42488
+ * * Default Value: getutcdate()
42489
+ */
42490
+ get __mj_UpdatedAt(): Date;
42491
+ /**
42492
+ * * Field Name: FileStorageAccount
42493
+ * * Display Name: Storage Account Name
42494
+ * * SQL Data Type: nvarchar(200)
42495
+ */
42496
+ get FileStorageAccount(): string;
42497
+ /**
42498
+ * * Field Name: User
42499
+ * * Display Name: User Name
42500
+ * * SQL Data Type: nvarchar(100)
42501
+ */
42502
+ get User(): string | null;
42503
+ /**
42504
+ * * Field Name: Role
42505
+ * * Display Name: Role Name
42506
+ * * SQL Data Type: nvarchar(50)
42507
+ */
42508
+ get Role(): string | null;
42509
+ }
41542
42510
  /**
41543
42511
  * MJ: File Storage Accounts - strongly typed entity sub-class
41544
42512
  * * Schema: __mj
@@ -41621,8 +42589,17 @@ export declare class MJFileStorageAccountEntity extends BaseEntity<MJFileStorage
41621
42589
  */
41622
42590
  get __mj_UpdatedAt(): Date;
41623
42591
  /**
42592
+ * * Field Name: IncludeInGlobalSearch
42593
+ * * Display Name: Include In Global Search
42594
+ * * SQL Data Type: bit
42595
+ * * Default Value: 0
42596
+ * * Description: When true, this storage account is included in universal/global search results. Only effective if the associated provider supports search (SupportsSearch = 1).
42597
+ */
42598
+ get IncludeInGlobalSearch(): boolean;
42599
+ set IncludeInGlobalSearch(value: boolean);
42600
+ /**
41624
42601
  * * Field Name: Provider
41625
- * * Display Name: Provider Name
42602
+ * * Display Name: Provider Type
41626
42603
  * * SQL Data Type: nvarchar(50)
41627
42604
  */
41628
42605
  get Provider(): string;
@@ -42122,6 +43099,117 @@ export declare class MJGeneratedCodeEntity extends BaseEntity<MJGeneratedCodeEnt
42122
43099
  */
42123
43100
  get LinkedEntity(): string | null;
42124
43101
  }
43102
+ /**
43103
+ * MJ: Instance Configurations - strongly typed entity sub-class
43104
+ * * Schema: __mj
43105
+ * * Base Table: InstanceConfiguration
43106
+ * * Base View: vwInstanceConfigurations
43107
+ * * @description Instance-level feature toggles and configuration. Controls which features are enabled per MJ Explorer deployment.
43108
+ * * Primary Key: ID
43109
+ * @extends {BaseEntity}
43110
+ * @class
43111
+ * @public
43112
+ */
43113
+ export declare class MJInstanceConfigurationEntity extends BaseEntity<MJInstanceConfigurationEntityType> {
43114
+ /**
43115
+ * Loads the MJ: Instance Configurations record from the database
43116
+ * @param ID: string - primary key value to load the MJ: Instance Configurations record.
43117
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
43118
+ * @returns {Promise<boolean>} - true if successful, false otherwise
43119
+ * @public
43120
+ * @async
43121
+ * @memberof MJInstanceConfigurationEntity
43122
+ * @method
43123
+ * @override
43124
+ */
43125
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
43126
+ /**
43127
+ * * Field Name: ID
43128
+ * * Display Name: ID
43129
+ * * SQL Data Type: uniqueidentifier
43130
+ * * Default Value: newsequentialid()
43131
+ */
43132
+ get ID(): string;
43133
+ set ID(value: string);
43134
+ /**
43135
+ * * Field Name: FeatureKey
43136
+ * * Display Name: Feature Key
43137
+ * * SQL Data Type: nvarchar(200)
43138
+ * * Description: Unique dot-notation key identifying the feature, e.g. Shell.SearchBar.Enabled.
43139
+ */
43140
+ get FeatureKey(): string;
43141
+ set FeatureKey(value: string);
43142
+ /**
43143
+ * * Field Name: Value
43144
+ * * Display Name: Current Value
43145
+ * * SQL Data Type: nvarchar(MAX)
43146
+ * * Description: Current value for this feature setting.
43147
+ */
43148
+ get Value(): string;
43149
+ set Value(value: string);
43150
+ /**
43151
+ * * Field Name: ValueType
43152
+ * * Display Name: Value Type
43153
+ * * SQL Data Type: nvarchar(20)
43154
+ * * Default Value: boolean
43155
+ * * Value List Type: List
43156
+ * * Possible Values
43157
+ * * boolean
43158
+ * * json
43159
+ * * number
43160
+ * * string
43161
+ * * Description: Data type of the value: boolean, string, number, or json.
43162
+ */
43163
+ get ValueType(): 'boolean' | 'json' | 'number' | 'string';
43164
+ set ValueType(value: 'boolean' | 'json' | 'number' | 'string');
43165
+ /**
43166
+ * * Field Name: Category
43167
+ * * Display Name: Admin Category
43168
+ * * SQL Data Type: nvarchar(100)
43169
+ * * Default Value: General
43170
+ * * Description: Grouping category for admin UI display.
43171
+ */
43172
+ get Category(): string;
43173
+ set Category(value: string);
43174
+ /**
43175
+ * * Field Name: DisplayName
43176
+ * * Display Name: Display Name
43177
+ * * SQL Data Type: nvarchar(200)
43178
+ * * Description: Human-readable display name for the setting.
43179
+ */
43180
+ get DisplayName(): string;
43181
+ set DisplayName(value: string);
43182
+ /**
43183
+ * * Field Name: Description
43184
+ * * Display Name: Description
43185
+ * * SQL Data Type: nvarchar(MAX)
43186
+ * * Description: Optional extended description or help text for the setting.
43187
+ */
43188
+ get Description(): string | null;
43189
+ set Description(value: string | null);
43190
+ /**
43191
+ * * Field Name: DefaultValue
43192
+ * * Display Name: Default Value
43193
+ * * SQL Data Type: nvarchar(MAX)
43194
+ * * Description: Factory default value. Used when resetting to defaults.
43195
+ */
43196
+ get DefaultValue(): string;
43197
+ set DefaultValue(value: string);
43198
+ /**
43199
+ * * Field Name: __mj_CreatedAt
43200
+ * * Display Name: Created At
43201
+ * * SQL Data Type: datetimeoffset
43202
+ * * Default Value: getutcdate()
43203
+ */
43204
+ get __mj_CreatedAt(): Date;
43205
+ /**
43206
+ * * Field Name: __mj_UpdatedAt
43207
+ * * Display Name: Updated At
43208
+ * * SQL Data Type: datetimeoffset
43209
+ * * Default Value: getutcdate()
43210
+ */
43211
+ get __mj_UpdatedAt(): Date;
43212
+ }
42125
43213
  /**
42126
43214
  * MJ: Integration Object Fields - strongly typed entity sub-class
42127
43215
  * * Schema: __mj
@@ -48415,6 +49503,210 @@ export declare class MJRecordChangeEntity extends BaseEntity<MJRecordChangeEntit
48415
49503
  */
48416
49504
  get Integration(): string | null;
48417
49505
  }
49506
+ /**
49507
+ * MJ: Record Geo Codes - strongly typed entity sub-class
49508
+ * * Schema: __mj
49509
+ * * Base Table: RecordGeoCode
49510
+ * * Base View: vwRecordGeoCodes
49511
+ * * @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.
49512
+ * * Primary Key: ID
49513
+ * @extends {BaseEntity}
49514
+ * @class
49515
+ * @public
49516
+ */
49517
+ export declare class MJRecordGeoCodeEntity extends BaseEntity<MJRecordGeoCodeEntityType> {
49518
+ /**
49519
+ * Loads the MJ: Record Geo Codes record from the database
49520
+ * @param ID: string - primary key value to load the MJ: Record Geo Codes record.
49521
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
49522
+ * @returns {Promise<boolean>} - true if successful, false otherwise
49523
+ * @public
49524
+ * @async
49525
+ * @memberof MJRecordGeoCodeEntity
49526
+ * @method
49527
+ * @override
49528
+ */
49529
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
49530
+ /**
49531
+ * * Field Name: ID
49532
+ * * Display Name: ID
49533
+ * * SQL Data Type: uniqueidentifier
49534
+ * * Default Value: newsequentialid()
49535
+ */
49536
+ get ID(): string;
49537
+ set ID(value: string);
49538
+ /**
49539
+ * * Field Name: EntityID
49540
+ * * Display Name: Entity
49541
+ * * SQL Data Type: uniqueidentifier
49542
+ * * Related Entity/Foreign Key: MJ: Entities (vwEntities.ID)
49543
+ * * Description: Foreign key to Entity. Identifies which entity this geocode belongs to.
49544
+ */
49545
+ get EntityID(): string;
49546
+ set EntityID(value: string);
49547
+ /**
49548
+ * * Field Name: RecordID
49549
+ * * Display Name: Record
49550
+ * * SQL Data Type: nvarchar(450)
49551
+ * * Description: MJ composite primary key format string identifying the source record (e.g., "ID|<uuid>"). Max 450 chars for SQL Server index support.
49552
+ */
49553
+ get RecordID(): string;
49554
+ set RecordID(value: string);
49555
+ /**
49556
+ * * Field Name: LocationType
49557
+ * * Display Name: Location Type
49558
+ * * SQL Data Type: nvarchar(50)
49559
+ * * Default Value: Primary
49560
+ * * Description: Discriminator for multi-location entities. Default "Primary" for single-address entities. Multi-address examples: "Home", "Business", "Mailing", "PO Box".
49561
+ */
49562
+ get LocationType(): string;
49563
+ set LocationType(value: string);
49564
+ /**
49565
+ * * Field Name: Latitude
49566
+ * * Display Name: Latitude
49567
+ * * SQL Data Type: decimal(10, 6)
49568
+ * * Description: Geocoded latitude coordinate. NULL when Status is "pending" or "failed".
49569
+ */
49570
+ get Latitude(): number | null;
49571
+ set Latitude(value: number | null);
49572
+ /**
49573
+ * * Field Name: Longitude
49574
+ * * Display Name: Longitude
49575
+ * * SQL Data Type: decimal(10, 6)
49576
+ * * Description: Geocoded longitude coordinate. NULL when Status is "pending" or "failed".
49577
+ */
49578
+ get Longitude(): number | null;
49579
+ set Longitude(value: number | null);
49580
+ /**
49581
+ * * Field Name: Precision
49582
+ * * Display Name: Precision
49583
+ * * SQL Data Type: nvarchar(20)
49584
+ * * Value List Type: List
49585
+ * * Possible Values
49586
+ * * city
49587
+ * * country
49588
+ * * county
49589
+ * * exact
49590
+ * * postal_code
49591
+ * * state_province
49592
+ * * Description: Precision level of the geocoded result: exact (street address), postal_code, city, county, state_province, or country.
49593
+ */
49594
+ get Precision(): 'city' | 'country' | 'county' | 'exact' | 'postal_code' | 'state_province' | null;
49595
+ set Precision(value: 'city' | 'country' | 'county' | 'exact' | 'postal_code' | 'state_province' | null);
49596
+ /**
49597
+ * * Field Name: CountryID
49598
+ * * Display Name: Country
49599
+ * * SQL Data Type: uniqueidentifier
49600
+ * * Related Entity/Foreign Key: MJ: Countries (vwCountries.ID)
49601
+ * * Description: Optional FK to Country reference table. Populated alongside lat/lng to enable choropleth grouping without reverse-geocoding at render time.
49602
+ */
49603
+ get CountryID(): string | null;
49604
+ set CountryID(value: string | null);
49605
+ /**
49606
+ * * Field Name: StateProvinceID
49607
+ * * Display Name: State Province
49608
+ * * SQL Data Type: uniqueidentifier
49609
+ * * Related Entity/Foreign Key: MJ: State Provinces (vwStateProvinces.ID)
49610
+ * * Description: Optional FK to StateProvince reference table. Populated alongside lat/lng to enable state-level choropleth grouping.
49611
+ */
49612
+ get StateProvinceID(): string | null;
49613
+ set StateProvinceID(value: string | null);
49614
+ /**
49615
+ * * Field Name: Status
49616
+ * * Display Name: Status
49617
+ * * SQL Data Type: nvarchar(20)
49618
+ * * Default Value: pending
49619
+ * * Value List Type: List
49620
+ * * Possible Values
49621
+ * * failed
49622
+ * * pending
49623
+ * * success
49624
+ * * Description: Current geocoding status: "pending" (awaiting geocode), "success" (geocoded), or "failed" (geocoding error). Used by scheduled job for retry logic.
49625
+ */
49626
+ get Status(): 'failed' | 'pending' | 'success';
49627
+ set Status(value: 'failed' | 'pending' | 'success');
49628
+ /**
49629
+ * * Field Name: ErrorMessage
49630
+ * * Display Name: Error Message
49631
+ * * SQL Data Type: nvarchar(MAX)
49632
+ * * Description: Error details when Status is "failed". Captures API error messages, rate limit info, etc. for debugging.
49633
+ */
49634
+ get ErrorMessage(): string | null;
49635
+ set ErrorMessage(value: string | null);
49636
+ /**
49637
+ * * Field Name: RetryCount
49638
+ * * Display Name: Retry Count
49639
+ * * SQL Data Type: int
49640
+ * * Default Value: 0
49641
+ * * Description: Number of geocoding attempts. Used for exponential backoff in the scheduled retry job. Stops retrying at configurable maxRetries (default 3).
49642
+ */
49643
+ get RetryCount(): number;
49644
+ set RetryCount(value: number);
49645
+ /**
49646
+ * * Field Name: SourceFieldHash
49647
+ * * Display Name: Source Field Hash
49648
+ * * SQL Data Type: nvarchar(64)
49649
+ * * 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, ...)).
49650
+ */
49651
+ get SourceFieldHash(): string | null;
49652
+ set SourceFieldHash(value: string | null);
49653
+ /**
49654
+ * * Field Name: GeocodedAt
49655
+ * * Display Name: Geocoded At
49656
+ * * SQL Data Type: datetimeoffset
49657
+ * * Description: Timestamp of when geocoding was last attempted (success or failure).
49658
+ */
49659
+ get GeocodedAt(): Date | null;
49660
+ set GeocodedAt(value: Date | null);
49661
+ /**
49662
+ * * Field Name: GeocodingSource
49663
+ * * Display Name: Geocoding Source
49664
+ * * SQL Data Type: nvarchar(30)
49665
+ * * Value List Type: List
49666
+ * * Possible Values
49667
+ * * google
49668
+ * * ip_geolocation
49669
+ * * manual
49670
+ * * native
49671
+ * * reference_data
49672
+ * * reverse
49673
+ * * 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).
49674
+ */
49675
+ get GeocodingSource(): 'google' | 'ip_geolocation' | 'manual' | 'native' | 'reference_data' | 'reverse' | null;
49676
+ set GeocodingSource(value: 'google' | 'ip_geolocation' | 'manual' | 'native' | 'reference_data' | 'reverse' | null);
49677
+ /**
49678
+ * * Field Name: __mj_CreatedAt
49679
+ * * Display Name: Created At
49680
+ * * SQL Data Type: datetimeoffset
49681
+ * * Default Value: getutcdate()
49682
+ */
49683
+ get __mj_CreatedAt(): Date;
49684
+ /**
49685
+ * * Field Name: __mj_UpdatedAt
49686
+ * * Display Name: Updated At
49687
+ * * SQL Data Type: datetimeoffset
49688
+ * * Default Value: getutcdate()
49689
+ */
49690
+ get __mj_UpdatedAt(): Date;
49691
+ /**
49692
+ * * Field Name: Entity
49693
+ * * Display Name: Entity Name
49694
+ * * SQL Data Type: nvarchar(255)
49695
+ */
49696
+ get Entity(): string;
49697
+ /**
49698
+ * * Field Name: Country
49699
+ * * Display Name: Country Name
49700
+ * * SQL Data Type: nvarchar(200)
49701
+ */
49702
+ get Country(): string | null;
49703
+ /**
49704
+ * * Field Name: StateProvince
49705
+ * * Display Name: State Province Name
49706
+ * * SQL Data Type: nvarchar(200)
49707
+ */
49708
+ get StateProvince(): string | null;
49709
+ }
48418
49710
  /**
48419
49711
  * MJ: Record Links - strongly typed entity sub-class
48420
49712
  * * Schema: __mj
@@ -50892,6 +52184,178 @@ export declare class MJSchemaInfoEntity extends BaseEntity<MJSchemaInfoEntityTyp
50892
52184
  get EntityNameSuffix(): string | null;
50893
52185
  set EntityNameSuffix(value: string | null);
50894
52186
  }
52187
+ /**
52188
+ * MJ: Search Providers - strongly typed entity sub-class
52189
+ * * Schema: __mj
52190
+ * * Base Table: SearchProvider
52191
+ * * Base View: vwSearchProviders
52192
+ * * Primary Key: ID
52193
+ * @extends {BaseEntity}
52194
+ * @class
52195
+ * @public
52196
+ */
52197
+ export declare class MJSearchProviderEntity extends BaseEntity<MJSearchProviderEntityType> {
52198
+ /**
52199
+ * Loads the MJ: Search Providers record from the database
52200
+ * @param ID: string - primary key value to load the MJ: Search Providers record.
52201
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
52202
+ * @returns {Promise<boolean>} - true if successful, false otherwise
52203
+ * @public
52204
+ * @async
52205
+ * @memberof MJSearchProviderEntity
52206
+ * @method
52207
+ * @override
52208
+ */
52209
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
52210
+ /**
52211
+ * 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:
52212
+ * * Priority: The priority level must be a non-negative value (0 or greater) to ensure valid ordering and categorization of records.
52213
+ * @public
52214
+ * @method
52215
+ * @override
52216
+ */
52217
+ Validate(): ValidationResult;
52218
+ /**
52219
+ * The priority level must be a non-negative value (0 or greater) to ensure valid ordering and categorization of records.
52220
+ * @param result - the ValidationResult object to add any errors or warnings to
52221
+ * @public
52222
+ * @method
52223
+ */
52224
+ ValidatePriorityAtLeastZero(result: ValidationResult): void;
52225
+ /**
52226
+ * * Field Name: ID
52227
+ * * Display Name: ID
52228
+ * * SQL Data Type: uniqueidentifier
52229
+ * * Default Value: newsequentialid()
52230
+ */
52231
+ get ID(): string;
52232
+ set ID(value: string);
52233
+ /**
52234
+ * * Field Name: Name
52235
+ * * Display Name: Name
52236
+ * * SQL Data Type: nvarchar(200)
52237
+ * * Description: Display name for this search provider (e.g., "Vector Search", "Algolia")
52238
+ */
52239
+ get Name(): string;
52240
+ set Name(value: string);
52241
+ /**
52242
+ * * Field Name: Description
52243
+ * * Display Name: Description
52244
+ * * SQL Data Type: nvarchar(MAX)
52245
+ * * Description: Human-readable description of what this provider searches and how it works
52246
+ */
52247
+ get Description(): string | null;
52248
+ set Description(value: string | null);
52249
+ /**
52250
+ * * Field Name: DriverClass
52251
+ * * Display Name: Driver Class
52252
+ * * SQL Data Type: nvarchar(500)
52253
+ * * Description: ClassFactory key used with @RegisterClass(ISearchProvider, DriverClass) to instantiate the provider at runtime
52254
+ */
52255
+ get DriverClass(): string;
52256
+ set DriverClass(value: string);
52257
+ /**
52258
+ * * Field Name: Status
52259
+ * * Display Name: Status
52260
+ * * SQL Data Type: nvarchar(20)
52261
+ * * Default Value: Active
52262
+ * * Value List Type: List
52263
+ * * Possible Values
52264
+ * * Active
52265
+ * * Pending
52266
+ * * Terminated
52267
+ * * Description: Provider lifecycle status: Pending (not yet activated), Active (in use), Terminated (disabled)
52268
+ */
52269
+ get Status(): 'Active' | 'Pending' | 'Terminated';
52270
+ set Status(value: 'Active' | 'Pending' | 'Terminated');
52271
+ /**
52272
+ * * Field Name: Priority
52273
+ * * Display Name: Priority
52274
+ * * SQL Data Type: int
52275
+ * * Default Value: 0
52276
+ * * Description: Execution priority (lower = higher priority). Controls provider ordering and can influence RRF weighting. Must be >= 0.
52277
+ */
52278
+ get Priority(): number;
52279
+ set Priority(value: number);
52280
+ /**
52281
+ * * Field Name: SupportsPreview
52282
+ * * Display Name: Supports Preview
52283
+ * * SQL Data Type: bit
52284
+ * * Default Value: 1
52285
+ * * Description: Whether this provider should run during fast preview/autocomplete searches. Expensive providers (external APIs) may set this to 0.
52286
+ */
52287
+ get SupportsPreview(): boolean;
52288
+ set SupportsPreview(value: boolean);
52289
+ /**
52290
+ * * Field Name: MaxResultsOverride
52291
+ * * Display Name: Max Results Override
52292
+ * * SQL Data Type: int
52293
+ * * 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.
52294
+ */
52295
+ get MaxResultsOverride(): number | null;
52296
+ set MaxResultsOverride(value: number | null);
52297
+ /**
52298
+ * * Field Name: ProviderConfig
52299
+ * * Display Name: Provider Configuration
52300
+ * * SQL Data Type: nvarchar(MAX)
52301
+ * * Description: Optional JSON configuration blob for provider-specific settings (e.g., API endpoints, index names, tuning parameters). Schema is provider-defined.
52302
+ */
52303
+ get ProviderConfig(): string | null;
52304
+ set ProviderConfig(value: string | null);
52305
+ /**
52306
+ * * Field Name: CredentialID
52307
+ * * Display Name: Credential
52308
+ * * SQL Data Type: uniqueidentifier
52309
+ * * Related Entity/Foreign Key: MJ: Credentials (vwCredentials.ID)
52310
+ * * Description: Optional FK to the Credential entity for providers that require authentication (e.g., Algolia API key, external service credentials)
52311
+ */
52312
+ get CredentialID(): string | null;
52313
+ set CredentialID(value: string | null);
52314
+ /**
52315
+ * * Field Name: DisplayName
52316
+ * * Display Name: Display Name
52317
+ * * SQL Data Type: nvarchar(200)
52318
+ * * 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.
52319
+ */
52320
+ get DisplayName(): string | null;
52321
+ set DisplayName(value: string | null);
52322
+ /**
52323
+ * * Field Name: Icon
52324
+ * * Display Name: Icon
52325
+ * * SQL Data Type: nvarchar(200)
52326
+ * * 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.
52327
+ */
52328
+ get Icon(): string | null;
52329
+ set Icon(value: string | null);
52330
+ /**
52331
+ * * Field Name: Comments
52332
+ * * Display Name: Comments
52333
+ * * SQL Data Type: nvarchar(MAX)
52334
+ * * Description: Free-form notes about this provider configuration
52335
+ */
52336
+ get Comments(): string | null;
52337
+ set Comments(value: string | null);
52338
+ /**
52339
+ * * Field Name: __mj_CreatedAt
52340
+ * * Display Name: Created At
52341
+ * * SQL Data Type: datetimeoffset
52342
+ * * Default Value: getutcdate()
52343
+ */
52344
+ get __mj_CreatedAt(): Date;
52345
+ /**
52346
+ * * Field Name: __mj_UpdatedAt
52347
+ * * Display Name: Updated At
52348
+ * * SQL Data Type: datetimeoffset
52349
+ * * Default Value: getutcdate()
52350
+ */
52351
+ get __mj_UpdatedAt(): Date;
52352
+ /**
52353
+ * * Field Name: Credential
52354
+ * * Display Name: Credential Name
52355
+ * * SQL Data Type: nvarchar(200)
52356
+ */
52357
+ get Credential(): string | null;
52358
+ }
50895
52359
  /**
50896
52360
  * MJ: Skills - strongly typed entity sub-class
50897
52361
  * * Schema: __mj
@@ -51074,6 +52538,124 @@ export declare class MJSQLDialectEntity extends BaseEntity<MJSQLDialectEntityTyp
51074
52538
  */
51075
52539
  get __mj_UpdatedAt(): Date;
51076
52540
  }
52541
+ /**
52542
+ * MJ: State Provinces - strongly typed entity sub-class
52543
+ * * Schema: __mj
52544
+ * * Base Table: StateProvince
52545
+ * * Base View: vwStateProvinces
52546
+ * * @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.
52547
+ * * Primary Key: ID
52548
+ * @extends {BaseEntity}
52549
+ * @class
52550
+ * @public
52551
+ */
52552
+ export declare class MJStateProvinceEntity extends BaseEntity<MJStateProvinceEntityType> {
52553
+ /**
52554
+ * Loads the MJ: State Provinces record from the database
52555
+ * @param ID: string - primary key value to load the MJ: State Provinces record.
52556
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
52557
+ * @returns {Promise<boolean>} - true if successful, false otherwise
52558
+ * @public
52559
+ * @async
52560
+ * @memberof MJStateProvinceEntity
52561
+ * @method
52562
+ * @override
52563
+ */
52564
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
52565
+ /**
52566
+ * * Field Name: ID
52567
+ * * Display Name: ID
52568
+ * * SQL Data Type: uniqueidentifier
52569
+ * * Default Value: newsequentialid()
52570
+ */
52571
+ get ID(): string;
52572
+ set ID(value: string);
52573
+ /**
52574
+ * * Field Name: CountryID
52575
+ * * Display Name: Country
52576
+ * * SQL Data Type: uniqueidentifier
52577
+ * * Related Entity/Foreign Key: MJ: Countries (vwCountries.ID)
52578
+ * * Description: Foreign key to Country. Establishes the parent country for this state/province.
52579
+ */
52580
+ get CountryID(): string;
52581
+ set CountryID(value: string);
52582
+ /**
52583
+ * * Field Name: Name
52584
+ * * Display Name: Name
52585
+ * * SQL Data Type: nvarchar(200)
52586
+ * * Description: Full state/province name (e.g., "California", "Ontario").
52587
+ */
52588
+ get Name(): string;
52589
+ set Name(value: string);
52590
+ /**
52591
+ * * Field Name: Code
52592
+ * * Display Name: State Code
52593
+ * * SQL Data Type: nvarchar(10)
52594
+ * * Description: Short code within the country (e.g., "CA", "ON"). Unique per country via compound constraint.
52595
+ */
52596
+ get Code(): string;
52597
+ set Code(value: string);
52598
+ /**
52599
+ * * Field Name: ISO3166_2
52600
+ * * Display Name: ISO 3166-2 Code
52601
+ * * SQL Data Type: nvarchar(10)
52602
+ * * Description: ISO 3166-2 subdivision code (e.g., "US-CA", "CA-ON"). Globally unique.
52603
+ */
52604
+ get ISO3166_2(): string;
52605
+ set ISO3166_2(value: string);
52606
+ /**
52607
+ * * Field Name: Latitude
52608
+ * * Display Name: Latitude
52609
+ * * SQL Data Type: decimal(10, 6)
52610
+ * * Description: Geographic centroid latitude. Used as fallback point for state-level geocoding.
52611
+ */
52612
+ get Latitude(): number | null;
52613
+ set Latitude(value: number | null);
52614
+ /**
52615
+ * * Field Name: Longitude
52616
+ * * Display Name: Longitude
52617
+ * * SQL Data Type: decimal(10, 6)
52618
+ * * Description: Geographic centroid longitude. Used as fallback point for state-level geocoding.
52619
+ */
52620
+ get Longitude(): number | null;
52621
+ set Longitude(value: number | null);
52622
+ /**
52623
+ * * Field Name: BoundaryGeoJSON
52624
+ * * Display Name: Boundary GeoJSON
52625
+ * * SQL Data Type: nvarchar(MAX)
52626
+ * * Description: Medium-resolution (~50m) GeoJSON boundary polygon for choropleth map rendering. Nullable. Total ~15-20MB for all states/provinces worldwide.
52627
+ */
52628
+ get BoundaryGeoJSON(): string | null;
52629
+ set BoundaryGeoJSON(value: string | null);
52630
+ /**
52631
+ * * Field Name: CommonAliases
52632
+ * * Display Name: Common Aliases
52633
+ * * SQL Data Type: nvarchar(MAX)
52634
+ * * Description: JSON array of common aliases (e.g., ["Calif.","California","Cal"]). Used by GeoResolver for fuzzy text-to-state matching.
52635
+ */
52636
+ get CommonAliases(): string | null;
52637
+ set CommonAliases(value: string | null);
52638
+ /**
52639
+ * * Field Name: __mj_CreatedAt
52640
+ * * Display Name: Created At
52641
+ * * SQL Data Type: datetimeoffset
52642
+ * * Default Value: getutcdate()
52643
+ */
52644
+ get __mj_CreatedAt(): Date;
52645
+ /**
52646
+ * * Field Name: __mj_UpdatedAt
52647
+ * * Display Name: Updated At
52648
+ * * SQL Data Type: datetimeoffset
52649
+ * * Default Value: getutcdate()
52650
+ */
52651
+ get __mj_UpdatedAt(): Date;
52652
+ /**
52653
+ * * Field Name: Country
52654
+ * * Display Name: Country Name
52655
+ * * SQL Data Type: nvarchar(200)
52656
+ */
52657
+ get Country(): string;
52658
+ }
51077
52659
  /**
51078
52660
  * MJ: Tag Audit Logs - strongly typed entity sub-class
51079
52661
  * * Schema: __mj
@@ -51218,21 +52800,6 @@ export declare class MJTagCoOccurrenceEntity extends BaseEntity<MJTagCoOccurrenc
51218
52800
  */
51219
52801
  Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
51220
52802
  /**
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
52803
  * * Field Name: ID
51237
52804
  * * Display Name: ID
51238
52805
  * * SQL Data Type: uniqueidentifier
@@ -56292,6 +57859,21 @@ export declare class MJVectorDatabaseEntity extends BaseEntity<MJVectorDatabaseE
56292
57859
  */
56293
57860
  get Configuration(): string | null;
56294
57861
  set Configuration(value: string | null);
57862
+ /**
57863
+ * * Field Name: CredentialID
57864
+ * * Display Name: Credential
57865
+ * * SQL Data Type: uniqueidentifier
57866
+ * * Related Entity/Foreign Key: MJ: Credentials (vwCredentials.ID)
57867
+ * * 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>.
57868
+ */
57869
+ get CredentialID(): string | null;
57870
+ set CredentialID(value: string | null);
57871
+ /**
57872
+ * * Field Name: Credential
57873
+ * * Display Name: Credential Name
57874
+ * * SQL Data Type: nvarchar(200)
57875
+ */
57876
+ get Credential(): string | null;
56295
57877
  }
56296
57878
  /**
56297
57879
  * MJ: Vector Indexes - strongly typed entity sub-class