@memberjunction/core-entities 5.27.1 → 5.29.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.
@@ -4174,6 +4174,230 @@ export declare const MJApplicationSchema: z.ZodObject<{
4174
4174
  AutoUpdatePath?: boolean;
4175
4175
  }>;
4176
4176
  export type MJApplicationEntityType = z.infer<typeof MJApplicationSchema>;
4177
+ /**
4178
+ * zod schema definition for the entity MJ: Archive Configuration Entities
4179
+ */
4180
+ export declare const MJArchiveConfigurationEntitySchema: z.ZodObject<{
4181
+ ID: z.ZodString;
4182
+ ArchiveConfigurationID: z.ZodString;
4183
+ EntityID: z.ZodString;
4184
+ Mode: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"ArchiveOnly">, z.ZodLiteral<"HardDelete">, z.ZodLiteral<"StripFields">]>>;
4185
+ RetentionDays: z.ZodNullable<z.ZodNumber>;
4186
+ DateField: z.ZodString;
4187
+ FilterExpression: z.ZodNullable<z.ZodString>;
4188
+ BatchSize: z.ZodNullable<z.ZodNumber>;
4189
+ Priority: z.ZodNumber;
4190
+ FieldConfiguration: z.ZodString;
4191
+ DriverClass: z.ZodNullable<z.ZodString>;
4192
+ ArchiveRelatedRecordChanges: z.ZodNullable<z.ZodBoolean>;
4193
+ IsActive: z.ZodBoolean;
4194
+ __mj_CreatedAt: z.ZodDate;
4195
+ __mj_UpdatedAt: z.ZodDate;
4196
+ ArchiveConfiguration: z.ZodString;
4197
+ Entity: z.ZodString;
4198
+ }, "strip", z.ZodTypeAny, {
4199
+ ID?: string;
4200
+ EntityID?: string;
4201
+ __mj_CreatedAt?: Date;
4202
+ __mj_UpdatedAt?: Date;
4203
+ Entity?: string;
4204
+ DriverClass?: string;
4205
+ IsActive?: boolean;
4206
+ Priority?: number;
4207
+ ArchiveConfigurationID?: string;
4208
+ Mode?: "ArchiveOnly" | "HardDelete" | "StripFields";
4209
+ RetentionDays?: number;
4210
+ DateField?: string;
4211
+ FilterExpression?: string;
4212
+ BatchSize?: number;
4213
+ FieldConfiguration?: string;
4214
+ ArchiveRelatedRecordChanges?: boolean;
4215
+ ArchiveConfiguration?: string;
4216
+ }, {
4217
+ ID?: string;
4218
+ EntityID?: string;
4219
+ __mj_CreatedAt?: Date;
4220
+ __mj_UpdatedAt?: Date;
4221
+ Entity?: string;
4222
+ DriverClass?: string;
4223
+ IsActive?: boolean;
4224
+ Priority?: number;
4225
+ ArchiveConfigurationID?: string;
4226
+ Mode?: "ArchiveOnly" | "HardDelete" | "StripFields";
4227
+ RetentionDays?: number;
4228
+ DateField?: string;
4229
+ FilterExpression?: string;
4230
+ BatchSize?: number;
4231
+ FieldConfiguration?: string;
4232
+ ArchiveRelatedRecordChanges?: boolean;
4233
+ ArchiveConfiguration?: string;
4234
+ }>;
4235
+ export type MJArchiveConfigurationEntityEntityType = z.infer<typeof MJArchiveConfigurationEntitySchema>;
4236
+ /**
4237
+ * zod schema definition for the entity MJ: Archive Configurations
4238
+ */
4239
+ export declare const MJArchiveConfigurationSchema: z.ZodObject<{
4240
+ ID: z.ZodString;
4241
+ Name: z.ZodString;
4242
+ Description: z.ZodNullable<z.ZodString>;
4243
+ StorageAccountID: z.ZodNullable<z.ZodString>;
4244
+ RootPath: z.ZodString;
4245
+ ArchiveFormat: z.ZodUnion<[z.ZodLiteral<"CSV">, z.ZodLiteral<"JSON">, z.ZodLiteral<"Parquet">]>;
4246
+ IsActive: z.ZodBoolean;
4247
+ DefaultRetentionDays: z.ZodNumber;
4248
+ DefaultMode: z.ZodUnion<[z.ZodLiteral<"ArchiveOnly">, z.ZodLiteral<"HardDelete">, z.ZodLiteral<"StripFields">]>;
4249
+ DefaultBatchSize: z.ZodNumber;
4250
+ ArchiveRelatedRecordChanges: z.ZodBoolean;
4251
+ Status: z.ZodUnion<[z.ZodLiteral<"Disabled">, z.ZodLiteral<"Error">, z.ZodLiteral<"Idle">, z.ZodLiteral<"Running">]>;
4252
+ CreatedByUserID: z.ZodString;
4253
+ __mj_CreatedAt: z.ZodDate;
4254
+ __mj_UpdatedAt: z.ZodDate;
4255
+ StorageAccount: z.ZodNullable<z.ZodString>;
4256
+ CreatedByUser: z.ZodString;
4257
+ }, "strip", z.ZodTypeAny, {
4258
+ ID?: string;
4259
+ __mj_CreatedAt?: Date;
4260
+ __mj_UpdatedAt?: Date;
4261
+ Name?: string;
4262
+ Description?: string;
4263
+ Status?: "Disabled" | "Running" | "Error" | "Idle";
4264
+ IsActive?: boolean;
4265
+ CreatedByUserID?: string;
4266
+ CreatedByUser?: string;
4267
+ ArchiveRelatedRecordChanges?: boolean;
4268
+ StorageAccountID?: string;
4269
+ RootPath?: string;
4270
+ ArchiveFormat?: "JSON" | "CSV" | "Parquet";
4271
+ DefaultRetentionDays?: number;
4272
+ DefaultMode?: "ArchiveOnly" | "HardDelete" | "StripFields";
4273
+ DefaultBatchSize?: number;
4274
+ StorageAccount?: string;
4275
+ }, {
4276
+ ID?: string;
4277
+ __mj_CreatedAt?: Date;
4278
+ __mj_UpdatedAt?: Date;
4279
+ Name?: string;
4280
+ Description?: string;
4281
+ Status?: "Disabled" | "Running" | "Error" | "Idle";
4282
+ IsActive?: boolean;
4283
+ CreatedByUserID?: string;
4284
+ CreatedByUser?: string;
4285
+ ArchiveRelatedRecordChanges?: boolean;
4286
+ StorageAccountID?: string;
4287
+ RootPath?: string;
4288
+ ArchiveFormat?: "JSON" | "CSV" | "Parquet";
4289
+ DefaultRetentionDays?: number;
4290
+ DefaultMode?: "ArchiveOnly" | "HardDelete" | "StripFields";
4291
+ DefaultBatchSize?: number;
4292
+ StorageAccount?: string;
4293
+ }>;
4294
+ export type MJArchiveConfigurationEntityType = z.infer<typeof MJArchiveConfigurationSchema>;
4295
+ /**
4296
+ * zod schema definition for the entity MJ: Archive Run Details
4297
+ */
4298
+ export declare const MJArchiveRunDetailSchema: z.ZodObject<{
4299
+ ID: z.ZodString;
4300
+ ArchiveRunID: z.ZodString;
4301
+ EntityID: z.ZodString;
4302
+ RecordID: z.ZodString;
4303
+ Status: z.ZodUnion<[z.ZodLiteral<"Failed">, z.ZodLiteral<"Skipped">, z.ZodLiteral<"Success">]>;
4304
+ StoragePath: z.ZodNullable<z.ZodString>;
4305
+ BytesArchived: z.ZodNumber;
4306
+ ErrorMessage: z.ZodNullable<z.ZodString>;
4307
+ ArchivedAt: z.ZodNullable<z.ZodDate>;
4308
+ VersionStamp: z.ZodNullable<z.ZodDate>;
4309
+ IsRecordChangeArchive: z.ZodBoolean;
4310
+ __mj_CreatedAt: z.ZodDate;
4311
+ __mj_UpdatedAt: z.ZodDate;
4312
+ Entity: z.ZodString;
4313
+ }, "strip", z.ZodTypeAny, {
4314
+ ID?: string;
4315
+ EntityID?: string;
4316
+ RecordID?: string;
4317
+ __mj_CreatedAt?: Date;
4318
+ __mj_UpdatedAt?: Date;
4319
+ Entity?: string;
4320
+ Status?: "Failed" | "Success" | "Skipped";
4321
+ ErrorMessage?: string;
4322
+ ArchiveRunID?: string;
4323
+ StoragePath?: string;
4324
+ BytesArchived?: number;
4325
+ ArchivedAt?: Date;
4326
+ VersionStamp?: Date;
4327
+ IsRecordChangeArchive?: boolean;
4328
+ }, {
4329
+ ID?: string;
4330
+ EntityID?: string;
4331
+ RecordID?: string;
4332
+ __mj_CreatedAt?: Date;
4333
+ __mj_UpdatedAt?: Date;
4334
+ Entity?: string;
4335
+ Status?: "Failed" | "Success" | "Skipped";
4336
+ ErrorMessage?: string;
4337
+ ArchiveRunID?: string;
4338
+ StoragePath?: string;
4339
+ BytesArchived?: number;
4340
+ ArchivedAt?: Date;
4341
+ VersionStamp?: Date;
4342
+ IsRecordChangeArchive?: boolean;
4343
+ }>;
4344
+ export type MJArchiveRunDetailEntityType = z.infer<typeof MJArchiveRunDetailSchema>;
4345
+ /**
4346
+ * zod schema definition for the entity MJ: Archive Runs
4347
+ */
4348
+ export declare const MJArchiveRunSchema: z.ZodObject<{
4349
+ ID: z.ZodString;
4350
+ ArchiveConfigurationID: z.ZodString;
4351
+ StartedAt: z.ZodDate;
4352
+ CompletedAt: z.ZodNullable<z.ZodDate>;
4353
+ Status: z.ZodUnion<[z.ZodLiteral<"Cancelled">, z.ZodLiteral<"Complete">, z.ZodLiteral<"Failed">, z.ZodLiteral<"PartialSuccess">, z.ZodLiteral<"Running">]>;
4354
+ TotalRecords: z.ZodNumber;
4355
+ ArchivedRecords: z.ZodNumber;
4356
+ FailedRecords: z.ZodNumber;
4357
+ SkippedRecords: z.ZodNumber;
4358
+ TotalBytesArchived: z.ZodNumber;
4359
+ ErrorLog: z.ZodNullable<z.ZodString>;
4360
+ UserID: z.ZodString;
4361
+ __mj_CreatedAt: z.ZodDate;
4362
+ __mj_UpdatedAt: z.ZodDate;
4363
+ ArchiveConfiguration: z.ZodString;
4364
+ User: z.ZodString;
4365
+ }, "strip", z.ZodTypeAny, {
4366
+ ID?: string;
4367
+ User?: string;
4368
+ __mj_CreatedAt?: Date;
4369
+ __mj_UpdatedAt?: Date;
4370
+ Status?: "Complete" | "Failed" | "Cancelled" | "Running" | "PartialSuccess";
4371
+ StartedAt?: Date;
4372
+ UserID?: string;
4373
+ CompletedAt?: Date;
4374
+ ArchiveConfigurationID?: string;
4375
+ ArchiveConfiguration?: string;
4376
+ TotalRecords?: number;
4377
+ ArchivedRecords?: number;
4378
+ FailedRecords?: number;
4379
+ SkippedRecords?: number;
4380
+ TotalBytesArchived?: number;
4381
+ ErrorLog?: string;
4382
+ }, {
4383
+ ID?: string;
4384
+ User?: string;
4385
+ __mj_CreatedAt?: Date;
4386
+ __mj_UpdatedAt?: Date;
4387
+ Status?: "Complete" | "Failed" | "Cancelled" | "Running" | "PartialSuccess";
4388
+ StartedAt?: Date;
4389
+ UserID?: string;
4390
+ CompletedAt?: Date;
4391
+ ArchiveConfigurationID?: string;
4392
+ ArchiveConfiguration?: string;
4393
+ TotalRecords?: number;
4394
+ ArchivedRecords?: number;
4395
+ FailedRecords?: number;
4396
+ SkippedRecords?: number;
4397
+ TotalBytesArchived?: number;
4398
+ ErrorLog?: string;
4399
+ }>;
4400
+ export type MJArchiveRunEntityType = z.infer<typeof MJArchiveRunSchema>;
4177
4401
  /**
4178
4402
  * zod schema definition for the entity MJ: Artifact Permissions
4179
4403
  */
@@ -4237,6 +4461,7 @@ export declare const MJArtifactTypeSchema: z.ZodObject<{
4237
4461
  DriverClass: z.ZodNullable<z.ZodString>;
4238
4462
  Icon: z.ZodNullable<z.ZodString>;
4239
4463
  ContentCategory: z.ZodUnion<[z.ZodLiteral<"File">, z.ZodLiteral<"Text">]>;
4464
+ ToolLibraryClass: z.ZodNullable<z.ZodString>;
4240
4465
  Parent: z.ZodNullable<z.ZodString>;
4241
4466
  RootParentID: z.ZodNullable<z.ZodString>;
4242
4467
  }, "strip", z.ZodTypeAny, {
@@ -4254,6 +4479,7 @@ export declare const MJArtifactTypeSchema: z.ZodObject<{
4254
4479
  IsEnabled?: boolean;
4255
4480
  ExtractRules?: string;
4256
4481
  ContentCategory?: "File" | "Text";
4482
+ ToolLibraryClass?: string;
4257
4483
  }, {
4258
4484
  ID?: string;
4259
4485
  __mj_CreatedAt?: Date;
@@ -4269,6 +4495,7 @@ export declare const MJArtifactTypeSchema: z.ZodObject<{
4269
4495
  IsEnabled?: boolean;
4270
4496
  ExtractRules?: string;
4271
4497
  ContentCategory?: "File" | "Text";
4498
+ ToolLibraryClass?: string;
4272
4499
  }>;
4273
4500
  export type MJArtifactTypeEntityType = z.infer<typeof MJArtifactTypeSchema>;
4274
4501
  /**
@@ -5023,7 +5250,7 @@ export declare const MJCompanyIntegrationEntityMapSchema: z.ZodObject<{
5023
5250
  SyncEnabled?: boolean;
5024
5251
  MatchStrategy?: string;
5025
5252
  ConflictResolution?: "DestWins" | "Manual" | "MostRecent" | "SourceWins";
5026
- DeleteBehavior?: "DoNothing" | "HardDelete" | "SoftDelete";
5253
+ DeleteBehavior?: "HardDelete" | "DoNothing" | "SoftDelete";
5027
5254
  CompanyIntegration?: string;
5028
5255
  }, {
5029
5256
  ID?: string;
@@ -5041,7 +5268,7 @@ export declare const MJCompanyIntegrationEntityMapSchema: z.ZodObject<{
5041
5268
  SyncEnabled?: boolean;
5042
5269
  MatchStrategy?: string;
5043
5270
  ConflictResolution?: "DestWins" | "Manual" | "MostRecent" | "SourceWins";
5044
- DeleteBehavior?: "DoNothing" | "HardDelete" | "SoftDelete";
5271
+ DeleteBehavior?: "HardDelete" | "DoNothing" | "SoftDelete";
5045
5272
  CompanyIntegration?: string;
5046
5273
  }>;
5047
5274
  export type MJCompanyIntegrationEntityMapEntityType = z.infer<typeof MJCompanyIntegrationEntityMapSchema>;
@@ -5248,10 +5475,10 @@ export declare const MJCompanyIntegrationRunSchema: z.ZodObject<{
5248
5475
  EndedAt?: Date;
5249
5476
  Company?: string;
5250
5477
  ScheduledJobRunID?: string;
5251
- CompanyIntegrationID?: string;
5252
- RunByUserID?: string;
5253
5478
  TotalRecords?: number;
5254
5479
  ErrorLog?: string;
5480
+ CompanyIntegrationID?: string;
5481
+ RunByUserID?: string;
5255
5482
  ConfigData?: string;
5256
5483
  Integration?: string;
5257
5484
  RunByUser?: string;
@@ -5265,10 +5492,10 @@ export declare const MJCompanyIntegrationRunSchema: z.ZodObject<{
5265
5492
  EndedAt?: Date;
5266
5493
  Company?: string;
5267
5494
  ScheduledJobRunID?: string;
5268
- CompanyIntegrationID?: string;
5269
- RunByUserID?: string;
5270
5495
  TotalRecords?: number;
5271
5496
  ErrorLog?: string;
5497
+ CompanyIntegrationID?: string;
5498
+ RunByUserID?: string;
5272
5499
  ConfigData?: string;
5273
5500
  Integration?: string;
5274
5501
  RunByUser?: string;
@@ -5860,9 +6087,9 @@ export declare const MJContentItemSchema: z.ZodObject<{
5860
6087
  ContentSourceTypeID?: string;
5861
6088
  ContentFileTypeID?: string;
5862
6089
  EntityRecordDocumentID?: string;
5863
- EmbeddingStatus?: "Pending" | "Complete" | "Failed" | "Processing" | "Skipped";
6090
+ EmbeddingStatus?: "Pending" | "Complete" | "Failed" | "Skipped" | "Processing";
5864
6091
  LastEmbeddedAt?: Date;
5865
- TaggingStatus?: "Pending" | "Complete" | "Failed" | "Processing" | "Skipped";
6092
+ TaggingStatus?: "Pending" | "Complete" | "Failed" | "Skipped" | "Processing";
5866
6093
  LastTaggedAt?: Date;
5867
6094
  ContentSource?: string;
5868
6095
  ContentSourceType?: string;
@@ -5885,9 +6112,9 @@ export declare const MJContentItemSchema: z.ZodObject<{
5885
6112
  ContentSourceTypeID?: string;
5886
6113
  ContentFileTypeID?: string;
5887
6114
  EntityRecordDocumentID?: string;
5888
- EmbeddingStatus?: "Pending" | "Complete" | "Failed" | "Processing" | "Skipped";
6115
+ EmbeddingStatus?: "Pending" | "Complete" | "Failed" | "Skipped" | "Processing";
5889
6116
  LastEmbeddedAt?: Date;
5890
- TaggingStatus?: "Pending" | "Complete" | "Failed" | "Processing" | "Skipped";
6117
+ TaggingStatus?: "Pending" | "Complete" | "Failed" | "Skipped" | "Processing";
5891
6118
  LastTaggedAt?: Date;
5892
6119
  ContentSource?: string;
5893
6120
  ContentSourceType?: string;
@@ -6018,6 +6245,7 @@ export declare const MJContentProcessRunSchema: z.ZodObject<{
6018
6245
  Status?: string;
6019
6246
  Configuration?: any;
6020
6247
  ErrorMessage?: string;
6248
+ BatchSize?: number;
6021
6249
  ErrorCount?: number;
6022
6250
  StartTime?: Date;
6023
6251
  EndTime?: Date;
@@ -6026,7 +6254,6 @@ export declare const MJContentProcessRunSchema: z.ZodObject<{
6026
6254
  StartedByUserID?: string;
6027
6255
  TotalItemCount?: number;
6028
6256
  LastProcessedOffset?: number;
6029
- BatchSize?: number;
6030
6257
  CancellationRequested?: boolean;
6031
6258
  Source?: string;
6032
6259
  StartedByUser?: string;
@@ -6037,6 +6264,7 @@ export declare const MJContentProcessRunSchema: z.ZodObject<{
6037
6264
  Status?: string;
6038
6265
  Configuration?: any;
6039
6266
  ErrorMessage?: string;
6267
+ BatchSize?: number;
6040
6268
  ErrorCount?: number;
6041
6269
  StartTime?: Date;
6042
6270
  EndTime?: Date;
@@ -6045,7 +6273,6 @@ export declare const MJContentProcessRunSchema: z.ZodObject<{
6045
6273
  StartedByUserID?: string;
6046
6274
  TotalItemCount?: number;
6047
6275
  LastProcessedOffset?: number;
6048
- BatchSize?: number;
6049
6276
  CancellationRequested?: boolean;
6050
6277
  Source?: string;
6051
6278
  StartedByUser?: string;
@@ -6572,7 +6799,7 @@ export declare const MJConversationDetailSchema: z.ZodObject<{
6572
6799
  RootParentID: z.ZodNullable<z.ZodString>;
6573
6800
  }, "strip", z.ZodTypeAny, {
6574
6801
  ID?: string;
6575
- Role?: "User" | "AI" | "Error";
6802
+ Role?: "User" | "Error" | "AI";
6576
6803
  User?: string;
6577
6804
  __mj_CreatedAt?: Date;
6578
6805
  __mj_UpdatedAt?: Date;
@@ -6589,12 +6816,12 @@ export declare const MJConversationDetailSchema: z.ZodObject<{
6589
6816
  TestRunID?: string;
6590
6817
  TestRun?: string;
6591
6818
  CompletionTime?: number;
6819
+ Error?: string;
6592
6820
  ArtifactID?: string;
6593
6821
  Artifact?: string;
6594
6822
  ArtifactVersionID?: string;
6595
6823
  ArtifactVersion?: string;
6596
6824
  ExternalID?: string;
6597
- Error?: string;
6598
6825
  HiddenToUser?: boolean;
6599
6826
  UserRating?: number;
6600
6827
  UserFeedback?: string;
@@ -6608,7 +6835,7 @@ export declare const MJConversationDetailSchema: z.ZodObject<{
6608
6835
  OriginalMessageChanged?: boolean;
6609
6836
  }, {
6610
6837
  ID?: string;
6611
- Role?: "User" | "AI" | "Error";
6838
+ Role?: "User" | "Error" | "AI";
6612
6839
  User?: string;
6613
6840
  __mj_CreatedAt?: Date;
6614
6841
  __mj_UpdatedAt?: Date;
@@ -6625,12 +6852,12 @@ export declare const MJConversationDetailSchema: z.ZodObject<{
6625
6852
  TestRunID?: string;
6626
6853
  TestRun?: string;
6627
6854
  CompletionTime?: number;
6855
+ Error?: string;
6628
6856
  ArtifactID?: string;
6629
6857
  Artifact?: string;
6630
6858
  ArtifactVersionID?: string;
6631
6859
  ArtifactVersion?: string;
6632
6860
  ExternalID?: string;
6633
- Error?: string;
6634
6861
  HiddenToUser?: boolean;
6635
6862
  UserRating?: number;
6636
6863
  UserFeedback?: string;
@@ -7488,7 +7715,7 @@ export declare const MJDuplicateRunDetailSchema: z.ZodObject<{
7488
7715
  MergeStatus?: "Pending" | "Complete" | "Error" | "Not Applicable";
7489
7716
  RecordMetadata?: string;
7490
7717
  DuplicateRunID?: string;
7491
- MatchStatus?: "Pending" | "Complete" | "Skipped" | "Error";
7718
+ MatchStatus?: "Pending" | "Complete" | "Error" | "Skipped";
7492
7719
  SkippedReason?: string;
7493
7720
  MatchErrorMessage?: string;
7494
7721
  MergeErrorMessage?: string;
@@ -7503,7 +7730,7 @@ export declare const MJDuplicateRunDetailSchema: z.ZodObject<{
7503
7730
  MergeStatus?: "Pending" | "Complete" | "Error" | "Not Applicable";
7504
7731
  RecordMetadata?: string;
7505
7732
  DuplicateRunID?: string;
7506
- MatchStatus?: "Pending" | "Complete" | "Skipped" | "Error";
7733
+ MatchStatus?: "Pending" | "Complete" | "Error" | "Skipped";
7507
7734
  SkippedReason?: string;
7508
7735
  MatchErrorMessage?: string;
7509
7736
  MergeErrorMessage?: string;
@@ -7544,10 +7771,10 @@ export declare const MJDuplicateRunSchema: z.ZodObject<{
7544
7771
  Entity?: string;
7545
7772
  StartedAt?: Date;
7546
7773
  EndedAt?: Date;
7774
+ BatchSize?: number;
7547
7775
  StartedByUserID?: string;
7548
7776
  TotalItemCount?: number;
7549
7777
  LastProcessedOffset?: number;
7550
- BatchSize?: number;
7551
7778
  CancellationRequested?: boolean;
7552
7779
  StartedByUser?: string;
7553
7780
  ApprovalStatus?: "Pending" | "Approved" | "Rejected";
@@ -7567,10 +7794,10 @@ export declare const MJDuplicateRunSchema: z.ZodObject<{
7567
7794
  Entity?: string;
7568
7795
  StartedAt?: Date;
7569
7796
  EndedAt?: Date;
7797
+ BatchSize?: number;
7570
7798
  StartedByUserID?: string;
7571
7799
  TotalItemCount?: number;
7572
7800
  LastProcessedOffset?: number;
7573
- BatchSize?: number;
7574
7801
  CancellationRequested?: boolean;
7575
7802
  StartedByUser?: string;
7576
7803
  ApprovalStatus?: "Pending" | "Approved" | "Rejected";
@@ -9715,6 +9942,7 @@ export declare const MJIntegrationObjectFieldSchema: z.ZodObject<{
9715
9942
  Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Deprecated">, z.ZodLiteral<"Disabled">]>;
9716
9943
  __mj_CreatedAt: z.ZodDate;
9717
9944
  __mj_UpdatedAt: z.ZodDate;
9945
+ IsCustom: z.ZodBoolean;
9718
9946
  IntegrationObject: z.ZodString;
9719
9947
  RelatedIntegrationObject: z.ZodNullable<z.ZodString>;
9720
9948
  }, "strip", z.ZodTypeAny, {
@@ -9741,6 +9969,7 @@ export declare const MJIntegrationObjectFieldSchema: z.ZodObject<{
9741
9969
  IsReadOnly?: boolean;
9742
9970
  RelatedIntegrationObjectID?: string;
9743
9971
  RelatedIntegrationObjectFieldName?: string;
9972
+ IsCustom?: boolean;
9744
9973
  IntegrationObject?: string;
9745
9974
  RelatedIntegrationObject?: string;
9746
9975
  }, {
@@ -9767,6 +9996,7 @@ export declare const MJIntegrationObjectFieldSchema: z.ZodObject<{
9767
9996
  IsReadOnly?: boolean;
9768
9997
  RelatedIntegrationObjectID?: string;
9769
9998
  RelatedIntegrationObjectFieldName?: string;
9999
+ IsCustom?: boolean;
9770
10000
  IntegrationObject?: string;
9771
10001
  RelatedIntegrationObject?: string;
9772
10002
  }>;
@@ -9797,6 +10027,7 @@ export declare const MJIntegrationObjectSchema: z.ZodObject<{
9797
10027
  WriteAPIPath: z.ZodNullable<z.ZodString>;
9798
10028
  WriteMethod: z.ZodNullable<z.ZodString>;
9799
10029
  DeleteMethod: z.ZodNullable<z.ZodString>;
10030
+ IsCustom: z.ZodBoolean;
9800
10031
  Integration: z.ZodString;
9801
10032
  }, "strip", z.ZodTypeAny, {
9802
10033
  ID?: string;
@@ -9811,6 +10042,7 @@ export declare const MJIntegrationObjectSchema: z.ZodObject<{
9811
10042
  Configuration?: string;
9812
10043
  Integration?: string;
9813
10044
  IntegrationID?: string;
10045
+ IsCustom?: boolean;
9814
10046
  APIPath?: string;
9815
10047
  ResponseDataKey?: string;
9816
10048
  DefaultPageSize?: number;
@@ -9835,6 +10067,7 @@ export declare const MJIntegrationObjectSchema: z.ZodObject<{
9835
10067
  Configuration?: string;
9836
10068
  Integration?: string;
9837
10069
  IntegrationID?: string;
10070
+ IsCustom?: boolean;
9838
10071
  APIPath?: string;
9839
10072
  ResponseDataKey?: string;
9840
10073
  DefaultPageSize?: number;
@@ -10635,6 +10868,35 @@ export declare const MJMCPToolExecutionLogSchema: z.ZodObject<{
10635
10868
  OutputTruncated?: boolean;
10636
10869
  }>;
10637
10870
  export type MJMCPToolExecutionLogEntityType = z.infer<typeof MJMCPToolExecutionLogSchema>;
10871
+ /**
10872
+ * zod schema definition for the entity MJ: MCP Tool Favorites
10873
+ */
10874
+ export declare const MJMCPToolFavoriteSchema: z.ZodObject<{
10875
+ ID: z.ZodString;
10876
+ UserID: z.ZodString;
10877
+ MCPServerToolID: z.ZodString;
10878
+ __mj_CreatedAt: z.ZodDate;
10879
+ __mj_UpdatedAt: z.ZodDate;
10880
+ User: z.ZodString;
10881
+ MCPServerTool: z.ZodNullable<z.ZodString>;
10882
+ }, "strip", z.ZodTypeAny, {
10883
+ ID?: string;
10884
+ User?: string;
10885
+ __mj_CreatedAt?: Date;
10886
+ __mj_UpdatedAt?: Date;
10887
+ UserID?: string;
10888
+ MCPServerToolID?: string;
10889
+ MCPServerTool?: string;
10890
+ }, {
10891
+ ID?: string;
10892
+ User?: string;
10893
+ __mj_CreatedAt?: Date;
10894
+ __mj_UpdatedAt?: Date;
10895
+ UserID?: string;
10896
+ MCPServerToolID?: string;
10897
+ MCPServerTool?: string;
10898
+ }>;
10899
+ export type MJMCPToolFavoriteEntityType = z.infer<typeof MJMCPToolFavoriteSchema>;
10638
10900
  /**
10639
10901
  * zod schema definition for the entity MJ: O Auth Auth Server Metadata Caches
10640
10902
  */
@@ -11833,7 +12095,7 @@ export declare const MJRecommendationRunSchema: z.ZodObject<{
11833
12095
  __mj_CreatedAt?: Date;
11834
12096
  __mj_UpdatedAt?: Date;
11835
12097
  Description?: string;
11836
- Status?: "Pending" | "Canceled" | "Completed" | "In Progress" | "Error";
12098
+ Status?: "Pending" | "Canceled" | "Completed" | "Error" | "In Progress";
11837
12099
  RunByUserID?: string;
11838
12100
  RunByUser?: string;
11839
12101
  RecommendationProviderID?: string;
@@ -11845,7 +12107,7 @@ export declare const MJRecommendationRunSchema: z.ZodObject<{
11845
12107
  __mj_CreatedAt?: Date;
11846
12108
  __mj_UpdatedAt?: Date;
11847
12109
  Description?: string;
11848
- Status?: "Pending" | "Canceled" | "Completed" | "In Progress" | "Error";
12110
+ Status?: "Pending" | "Canceled" | "Completed" | "Error" | "In Progress";
11849
12111
  RunByUserID?: string;
11850
12112
  RunByUser?: string;
11851
12113
  RecommendationProviderID?: string;
@@ -11903,7 +12165,7 @@ export declare const MJRecordChangeReplayRunSchema: z.ZodObject<{
11903
12165
  User?: string;
11904
12166
  __mj_CreatedAt?: Date;
11905
12167
  __mj_UpdatedAt?: Date;
11906
- Status?: "Pending" | "Complete" | "In Progress" | "Error";
12168
+ Status?: "Pending" | "Complete" | "Error" | "In Progress";
11907
12169
  StartedAt?: Date;
11908
12170
  EndedAt?: Date;
11909
12171
  UserID?: string;
@@ -11912,7 +12174,7 @@ export declare const MJRecordChangeReplayRunSchema: z.ZodObject<{
11912
12174
  User?: string;
11913
12175
  __mj_CreatedAt?: Date;
11914
12176
  __mj_UpdatedAt?: Date;
11915
- Status?: "Pending" | "Complete" | "In Progress" | "Error";
12177
+ Status?: "Pending" | "Complete" | "Error" | "In Progress";
11916
12178
  StartedAt?: Date;
11917
12179
  EndedAt?: Date;
11918
12180
  UserID?: string;
@@ -11927,7 +12189,7 @@ export declare const MJRecordChangeSchema: z.ZodObject<{
11927
12189
  RecordID: z.ZodString;
11928
12190
  UserID: z.ZodString;
11929
12191
  Type: z.ZodUnion<[z.ZodLiteral<"Create">, z.ZodLiteral<"Delete">, z.ZodLiteral<"Snapshot">, z.ZodLiteral<"Update">]>;
11930
- Source: z.ZodUnion<[z.ZodLiteral<"External">, z.ZodLiteral<"Internal">]>;
12192
+ Source: z.ZodUnion<[z.ZodLiteral<"External">, z.ZodLiteral<"Internal">, z.ZodLiteral<"Restore">]>;
11931
12193
  ChangedAt: z.ZodDate;
11932
12194
  ChangesJSON: z.ZodString;
11933
12195
  ChangesDescription: z.ZodString;
@@ -11939,10 +12201,14 @@ export declare const MJRecordChangeSchema: z.ZodObject<{
11939
12201
  Comments: z.ZodNullable<z.ZodString>;
11940
12202
  CreatedAt: z.ZodDate;
11941
12203
  UpdatedAt: z.ZodDate;
12204
+ RestoredFromID: z.ZodNullable<z.ZodString>;
12205
+ RestoreReason: z.ZodNullable<z.ZodString>;
11942
12206
  Entity: z.ZodString;
11943
12207
  User: z.ZodString;
11944
12208
  ReplayRun: z.ZodNullable<z.ZodString>;
11945
12209
  Integration: z.ZodNullable<z.ZodString>;
12210
+ RestoredFrom: z.ZodNullable<z.ZodString>;
12211
+ RootRestoredFromID: z.ZodNullable<z.ZodString>;
11946
12212
  }, "strip", z.ZodTypeAny, {
11947
12213
  ID?: string;
11948
12214
  EntityID?: string;
@@ -11956,7 +12222,7 @@ export declare const MJRecordChangeSchema: z.ZodObject<{
11956
12222
  ErrorLog?: string;
11957
12223
  Integration?: string;
11958
12224
  IntegrationID?: string;
11959
- Source?: "Internal" | "External";
12225
+ Source?: "Internal" | "External" | "Restore";
11960
12226
  ChangedAt?: Date;
11961
12227
  ChangesJSON?: string;
11962
12228
  ChangesDescription?: string;
@@ -11964,7 +12230,11 @@ export declare const MJRecordChangeSchema: z.ZodObject<{
11964
12230
  ReplayRunID?: string;
11965
12231
  CreatedAt?: Date;
11966
12232
  UpdatedAt?: Date;
12233
+ RestoredFromID?: string;
12234
+ RestoreReason?: string;
11967
12235
  ReplayRun?: string;
12236
+ RestoredFrom?: string;
12237
+ RootRestoredFromID?: string;
11968
12238
  }, {
11969
12239
  ID?: string;
11970
12240
  EntityID?: string;
@@ -11978,7 +12248,7 @@ export declare const MJRecordChangeSchema: z.ZodObject<{
11978
12248
  ErrorLog?: string;
11979
12249
  Integration?: string;
11980
12250
  IntegrationID?: string;
11981
- Source?: "Internal" | "External";
12251
+ Source?: "Internal" | "External" | "Restore";
11982
12252
  ChangedAt?: Date;
11983
12253
  ChangesJSON?: string;
11984
12254
  ChangesDescription?: string;
@@ -11986,7 +12256,11 @@ export declare const MJRecordChangeSchema: z.ZodObject<{
11986
12256
  ReplayRunID?: string;
11987
12257
  CreatedAt?: Date;
11988
12258
  UpdatedAt?: Date;
12259
+ RestoredFromID?: string;
12260
+ RestoreReason?: string;
11989
12261
  ReplayRun?: string;
12262
+ RestoredFrom?: string;
12263
+ RootRestoredFromID?: string;
11990
12264
  }>;
11991
12265
  export type MJRecordChangeEntityType = z.infer<typeof MJRecordChangeSchema>;
11992
12266
  /**
@@ -13832,7 +14106,7 @@ export declare const MJTestRunSchema: z.ZodObject<{
13832
14106
  ID?: string;
13833
14107
  __mj_CreatedAt?: Date;
13834
14108
  __mj_UpdatedAt?: Date;
13835
- Status?: "Pending" | "Failed" | "Running" | "Timeout" | "Skipped" | "Error" | "Passed";
14109
+ Status?: "Pending" | "Failed" | "Running" | "Timeout" | "Error" | "Skipped" | "Passed";
13836
14110
  StartedAt?: Date;
13837
14111
  Sequence?: number;
13838
14112
  DurationSeconds?: number;
@@ -13869,7 +14143,7 @@ export declare const MJTestRunSchema: z.ZodObject<{
13869
14143
  ID?: string;
13870
14144
  __mj_CreatedAt?: Date;
13871
14145
  __mj_UpdatedAt?: Date;
13872
- Status?: "Pending" | "Failed" | "Running" | "Timeout" | "Skipped" | "Error" | "Passed";
14146
+ Status?: "Pending" | "Failed" | "Running" | "Timeout" | "Error" | "Skipped" | "Passed";
13873
14147
  StartedAt?: Date;
13874
14148
  Sequence?: number;
13875
14149
  DurationSeconds?: number;
@@ -15019,7 +15293,7 @@ export declare const MJVersionLabelRestoreSchema: z.ZodObject<{
15019
15293
  User?: string;
15020
15294
  __mj_CreatedAt?: Date;
15021
15295
  __mj_UpdatedAt?: Date;
15022
- Status?: "Pending" | "Complete" | "In Progress" | "Error" | "Partial";
15296
+ Status?: "Pending" | "Complete" | "Error" | "In Progress" | "Partial";
15023
15297
  StartedAt?: Date;
15024
15298
  EndedAt?: Date;
15025
15299
  UserID?: string;
@@ -15036,7 +15310,7 @@ export declare const MJVersionLabelRestoreSchema: z.ZodObject<{
15036
15310
  User?: string;
15037
15311
  __mj_CreatedAt?: Date;
15038
15312
  __mj_UpdatedAt?: Date;
15039
- Status?: "Pending" | "Complete" | "In Progress" | "Error" | "Partial";
15313
+ Status?: "Pending" | "Complete" | "Error" | "In Progress" | "Partial";
15040
15314
  StartedAt?: Date;
15041
15315
  EndedAt?: Date;
15042
15316
  UserID?: string;
@@ -27711,6 +27985,655 @@ export declare class MJApplicationEntity extends BaseEntity<MJApplicationEntityT
27711
27985
  get AutoUpdatePath(): boolean;
27712
27986
  set AutoUpdatePath(value: boolean);
27713
27987
  }
27988
+ /**
27989
+ * MJ: Archive Configuration Entities - strongly typed entity sub-class
27990
+ * * Schema: __mj
27991
+ * * Base Table: ArchiveConfigurationEntity
27992
+ * * Base View: vwArchiveConfigurationEntities
27993
+ * * @description Per-entity configuration within an archive pipeline. Allows overriding the parent configuration's defaults for mode, retention, batch size, and filtering on a per-entity basis.
27994
+ * * Primary Key: ID
27995
+ * @extends {BaseEntity}
27996
+ * @class
27997
+ * @public
27998
+ */
27999
+ export declare class MJArchiveConfigurationEntityEntity extends BaseEntity<MJArchiveConfigurationEntityEntityType> {
28000
+ /**
28001
+ * Loads the MJ: Archive Configuration Entities record from the database
28002
+ * @param ID: string - primary key value to load the MJ: Archive Configuration Entities record.
28003
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
28004
+ * @returns {Promise<boolean>} - true if successful, false otherwise
28005
+ * @public
28006
+ * @async
28007
+ * @memberof MJArchiveConfigurationEntityEntity
28008
+ * @method
28009
+ * @override
28010
+ */
28011
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
28012
+ /**
28013
+ * * Field Name: ID
28014
+ * * Display Name: ID
28015
+ * * SQL Data Type: uniqueidentifier
28016
+ * * Default Value: newsequentialid()
28017
+ */
28018
+ get ID(): string;
28019
+ set ID(value: string);
28020
+ /**
28021
+ * * Field Name: ArchiveConfigurationID
28022
+ * * Display Name: Archive Configuration
28023
+ * * SQL Data Type: uniqueidentifier
28024
+ * * Related Entity/Foreign Key: MJ: Archive Configurations (vwArchiveConfigurations.ID)
28025
+ * * Description: Foreign key to the parent ArchiveConfiguration.
28026
+ */
28027
+ get ArchiveConfigurationID(): string;
28028
+ set ArchiveConfigurationID(value: string);
28029
+ /**
28030
+ * * Field Name: EntityID
28031
+ * * Display Name: Entity
28032
+ * * SQL Data Type: uniqueidentifier
28033
+ * * Related Entity/Foreign Key: MJ: Entities (vwEntities.ID)
28034
+ * * Description: Foreign key to the Entity being archived.
28035
+ */
28036
+ get EntityID(): string;
28037
+ set EntityID(value: string);
28038
+ /**
28039
+ * * Field Name: Mode
28040
+ * * Display Name: Archive Mode
28041
+ * * SQL Data Type: nvarchar(20)
28042
+ * * Value List Type: List
28043
+ * * Possible Values
28044
+ * * ArchiveOnly
28045
+ * * HardDelete
28046
+ * * StripFields
28047
+ * * Description: Archive mode override for this entity. NULL inherits from the parent configuration's DefaultMode.
28048
+ */
28049
+ get Mode(): 'ArchiveOnly' | 'HardDelete' | 'StripFields' | null;
28050
+ set Mode(value: 'ArchiveOnly' | 'HardDelete' | 'StripFields' | null);
28051
+ /**
28052
+ * * Field Name: RetentionDays
28053
+ * * Display Name: Retention Days
28054
+ * * SQL Data Type: int
28055
+ * * Description: Retention period override in days. NULL inherits from the parent configuration's DefaultRetentionDays.
28056
+ */
28057
+ get RetentionDays(): number | null;
28058
+ set RetentionDays(value: number | null);
28059
+ /**
28060
+ * * Field Name: DateField
28061
+ * * Display Name: Date Field
28062
+ * * SQL Data Type: nvarchar(100)
28063
+ * * Default Value: __mj_CreatedAt
28064
+ * * Description: The date field on the entity used to determine record age for retention policy evaluation. Defaults to __mj_CreatedAt.
28065
+ */
28066
+ get DateField(): string;
28067
+ set DateField(value: string);
28068
+ /**
28069
+ * * Field Name: FilterExpression
28070
+ * * Display Name: Filter Expression
28071
+ * * SQL Data Type: nvarchar(MAX)
28072
+ * * Description: Optional SQL WHERE clause fragment to further filter which records are eligible for archiving (e.g., "Status = 'Closed'").
28073
+ */
28074
+ get FilterExpression(): string | null;
28075
+ set FilterExpression(value: string | null);
28076
+ /**
28077
+ * * Field Name: BatchSize
28078
+ * * Display Name: Batch Size
28079
+ * * SQL Data Type: int
28080
+ * * Description: Batch size override for this entity. NULL inherits from the parent configuration's DefaultBatchSize.
28081
+ */
28082
+ get BatchSize(): number | null;
28083
+ set BatchSize(value: number | null);
28084
+ /**
28085
+ * * Field Name: Priority
28086
+ * * Display Name: Priority
28087
+ * * SQL Data Type: int
28088
+ * * Default Value: 100
28089
+ * * Description: Processing priority — lower numbers are archived first. Default is 100.
28090
+ */
28091
+ get Priority(): number;
28092
+ set Priority(value: number);
28093
+ /**
28094
+ * * Field Name: FieldConfiguration
28095
+ * * Display Name: Field Configuration
28096
+ * * SQL Data Type: nvarchar(MAX)
28097
+ * * Description: JSON configuration specifying which fields to include/exclude in the archive output. Required for all modes.
28098
+ */
28099
+ get FieldConfiguration(): string;
28100
+ set FieldConfiguration(value: string);
28101
+ /**
28102
+ * * Field Name: DriverClass
28103
+ * * Display Name: Driver Class
28104
+ * * SQL Data Type: nvarchar(500)
28105
+ * * Description: Optional fully-qualified class name of a custom archive driver to use for this entity, overriding the default archiver.
28106
+ */
28107
+ get DriverClass(): string | null;
28108
+ set DriverClass(value: string | null);
28109
+ /**
28110
+ * * Field Name: ArchiveRelatedRecordChanges
28111
+ * * Display Name: Archive Related Record Changes
28112
+ * * SQL Data Type: bit
28113
+ * * Description: Override for archiving related Record Changes. NULL inherits from the parent configuration.
28114
+ */
28115
+ get ArchiveRelatedRecordChanges(): boolean | null;
28116
+ set ArchiveRelatedRecordChanges(value: boolean | null);
28117
+ /**
28118
+ * * Field Name: IsActive
28119
+ * * Display Name: Is Active
28120
+ * * SQL Data Type: bit
28121
+ * * Default Value: 1
28122
+ * * Description: Whether this entity is active within the archive configuration.
28123
+ */
28124
+ get IsActive(): boolean;
28125
+ set IsActive(value: boolean);
28126
+ /**
28127
+ * * Field Name: __mj_CreatedAt
28128
+ * * Display Name: Created At
28129
+ * * SQL Data Type: datetimeoffset
28130
+ * * Default Value: getutcdate()
28131
+ */
28132
+ get __mj_CreatedAt(): Date;
28133
+ /**
28134
+ * * Field Name: __mj_UpdatedAt
28135
+ * * Display Name: Updated At
28136
+ * * SQL Data Type: datetimeoffset
28137
+ * * Default Value: getutcdate()
28138
+ */
28139
+ get __mj_UpdatedAt(): Date;
28140
+ /**
28141
+ * * Field Name: ArchiveConfiguration
28142
+ * * Display Name: Archive Configuration Name
28143
+ * * SQL Data Type: nvarchar(255)
28144
+ */
28145
+ get ArchiveConfiguration(): string;
28146
+ /**
28147
+ * * Field Name: Entity
28148
+ * * Display Name: Entity Name
28149
+ * * SQL Data Type: nvarchar(255)
28150
+ */
28151
+ get Entity(): string;
28152
+ }
28153
+ /**
28154
+ * MJ: Archive Configurations - strongly typed entity sub-class
28155
+ * * Schema: __mj
28156
+ * * Base Table: ArchiveConfiguration
28157
+ * * Base View: vwArchiveConfigurations
28158
+ * * @description Top-level configuration for an archive pipeline. Defines the storage target, default retention policy, archive format, and operational mode for archiving entity records.
28159
+ * * Primary Key: ID
28160
+ * @extends {BaseEntity}
28161
+ * @class
28162
+ * @public
28163
+ */
28164
+ export declare class MJArchiveConfigurationEntity extends BaseEntity<MJArchiveConfigurationEntityType> {
28165
+ /**
28166
+ * Loads the MJ: Archive Configurations record from the database
28167
+ * @param ID: string - primary key value to load the MJ: Archive Configurations record.
28168
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
28169
+ * @returns {Promise<boolean>} - true if successful, false otherwise
28170
+ * @public
28171
+ * @async
28172
+ * @memberof MJArchiveConfigurationEntity
28173
+ * @method
28174
+ * @override
28175
+ */
28176
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
28177
+ /**
28178
+ * * Field Name: ID
28179
+ * * Display Name: ID
28180
+ * * SQL Data Type: uniqueidentifier
28181
+ * * Default Value: newsequentialid()
28182
+ */
28183
+ get ID(): string;
28184
+ set ID(value: string);
28185
+ /**
28186
+ * * Field Name: Name
28187
+ * * Display Name: Name
28188
+ * * SQL Data Type: nvarchar(255)
28189
+ * * Description: Human-readable name for this archive configuration.
28190
+ */
28191
+ get Name(): string;
28192
+ set Name(value: string);
28193
+ /**
28194
+ * * Field Name: Description
28195
+ * * Display Name: Description
28196
+ * * SQL Data Type: nvarchar(MAX)
28197
+ */
28198
+ get Description(): string | null;
28199
+ set Description(value: string | null);
28200
+ /**
28201
+ * * Field Name: StorageAccountID
28202
+ * * Display Name: Storage Account
28203
+ * * SQL Data Type: uniqueidentifier
28204
+ * * Related Entity/Foreign Key: MJ: File Storage Accounts (vwFileStorageAccounts.ID)
28205
+ * * Description: Foreign key to FileStorageAccount — the blob/file storage target for archived data.
28206
+ */
28207
+ get StorageAccountID(): string | null;
28208
+ set StorageAccountID(value: string | null);
28209
+ /**
28210
+ * * Field Name: RootPath
28211
+ * * Display Name: Root Path
28212
+ * * SQL Data Type: nvarchar(500)
28213
+ * * Description: Root path within the storage account where archive files are written (e.g., "archives/production/").
28214
+ */
28215
+ get RootPath(): string;
28216
+ set RootPath(value: string);
28217
+ /**
28218
+ * * Field Name: ArchiveFormat
28219
+ * * Display Name: Archive Format
28220
+ * * SQL Data Type: nvarchar(20)
28221
+ * * Default Value: JSON
28222
+ * * Value List Type: List
28223
+ * * Possible Values
28224
+ * * CSV
28225
+ * * JSON
28226
+ * * Parquet
28227
+ * * Description: Output format for archived records: JSON, Parquet, or CSV.
28228
+ */
28229
+ get ArchiveFormat(): 'CSV' | 'JSON' | 'Parquet';
28230
+ set ArchiveFormat(value: 'CSV' | 'JSON' | 'Parquet');
28231
+ /**
28232
+ * * Field Name: IsActive
28233
+ * * Display Name: Is Active
28234
+ * * SQL Data Type: bit
28235
+ * * Default Value: 0
28236
+ * * Description: Whether this configuration is active and eligible for scheduled archive runs.
28237
+ */
28238
+ get IsActive(): boolean;
28239
+ set IsActive(value: boolean);
28240
+ /**
28241
+ * * Field Name: DefaultRetentionDays
28242
+ * * Display Name: Default Retention Days
28243
+ * * SQL Data Type: int
28244
+ * * Default Value: 365
28245
+ * * Description: Default number of days after which records become eligible for archiving. Can be overridden per entity.
28246
+ */
28247
+ get DefaultRetentionDays(): number;
28248
+ set DefaultRetentionDays(value: number);
28249
+ /**
28250
+ * * Field Name: DefaultMode
28251
+ * * Display Name: Default Mode
28252
+ * * SQL Data Type: nvarchar(20)
28253
+ * * Default Value: StripFields
28254
+ * * Value List Type: List
28255
+ * * Possible Values
28256
+ * * ArchiveOnly
28257
+ * * HardDelete
28258
+ * * StripFields
28259
+ * * Description: Default archive mode: StripFields (null out specified fields), HardDelete (delete from source after archiving), ArchiveOnly (copy to storage without modifying source).
28260
+ */
28261
+ get DefaultMode(): 'ArchiveOnly' | 'HardDelete' | 'StripFields';
28262
+ set DefaultMode(value: 'ArchiveOnly' | 'HardDelete' | 'StripFields');
28263
+ /**
28264
+ * * Field Name: DefaultBatchSize
28265
+ * * Display Name: Default Batch Size
28266
+ * * SQL Data Type: int
28267
+ * * Default Value: 100
28268
+ * * Description: Default number of records to process per batch during archive runs.
28269
+ */
28270
+ get DefaultBatchSize(): number;
28271
+ set DefaultBatchSize(value: number);
28272
+ /**
28273
+ * * Field Name: ArchiveRelatedRecordChanges
28274
+ * * Display Name: Archive Related Record Changes
28275
+ * * SQL Data Type: bit
28276
+ * * Default Value: 1
28277
+ * * Description: When enabled, related Record Changes entries are also archived alongside the source records.
28278
+ */
28279
+ get ArchiveRelatedRecordChanges(): boolean;
28280
+ set ArchiveRelatedRecordChanges(value: boolean);
28281
+ /**
28282
+ * * Field Name: Status
28283
+ * * Display Name: Status
28284
+ * * SQL Data Type: nvarchar(20)
28285
+ * * Default Value: Idle
28286
+ * * Value List Type: List
28287
+ * * Possible Values
28288
+ * * Disabled
28289
+ * * Error
28290
+ * * Idle
28291
+ * * Running
28292
+ * * Description: Current operational status of this configuration: Idle, Running, Error, or Disabled.
28293
+ */
28294
+ get Status(): 'Disabled' | 'Error' | 'Idle' | 'Running';
28295
+ set Status(value: 'Disabled' | 'Error' | 'Idle' | 'Running');
28296
+ /**
28297
+ * * Field Name: CreatedByUserID
28298
+ * * Display Name: Created By User ID
28299
+ * * SQL Data Type: uniqueidentifier
28300
+ * * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)
28301
+ * * Description: The user who created this archive configuration.
28302
+ */
28303
+ get CreatedByUserID(): string;
28304
+ set CreatedByUserID(value: string);
28305
+ /**
28306
+ * * Field Name: __mj_CreatedAt
28307
+ * * Display Name: Created At
28308
+ * * SQL Data Type: datetimeoffset
28309
+ * * Default Value: getutcdate()
28310
+ */
28311
+ get __mj_CreatedAt(): Date;
28312
+ /**
28313
+ * * Field Name: __mj_UpdatedAt
28314
+ * * Display Name: Updated At
28315
+ * * SQL Data Type: datetimeoffset
28316
+ * * Default Value: getutcdate()
28317
+ */
28318
+ get __mj_UpdatedAt(): Date;
28319
+ /**
28320
+ * * Field Name: StorageAccount
28321
+ * * Display Name: Storage Account Name
28322
+ * * SQL Data Type: nvarchar(200)
28323
+ */
28324
+ get StorageAccount(): string | null;
28325
+ /**
28326
+ * * Field Name: CreatedByUser
28327
+ * * Display Name: Created By User
28328
+ * * SQL Data Type: nvarchar(100)
28329
+ */
28330
+ get CreatedByUser(): string;
28331
+ }
28332
+ /**
28333
+ * MJ: Archive Run Details - strongly typed entity sub-class
28334
+ * * Schema: __mj
28335
+ * * Base Table: ArchiveRunDetail
28336
+ * * Base View: vwArchiveRunDetails
28337
+ * * @description Per-record detail for each archive run. Tracks the outcome, storage location, and error information for each individual record processed.
28338
+ * * Primary Key: ID
28339
+ * @extends {BaseEntity}
28340
+ * @class
28341
+ * @public
28342
+ */
28343
+ export declare class MJArchiveRunDetailEntity extends BaseEntity<MJArchiveRunDetailEntityType> {
28344
+ /**
28345
+ * Loads the MJ: Archive Run Details record from the database
28346
+ * @param ID: string - primary key value to load the MJ: Archive Run Details record.
28347
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
28348
+ * @returns {Promise<boolean>} - true if successful, false otherwise
28349
+ * @public
28350
+ * @async
28351
+ * @memberof MJArchiveRunDetailEntity
28352
+ * @method
28353
+ * @override
28354
+ */
28355
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
28356
+ /**
28357
+ * * Field Name: ID
28358
+ * * Display Name: ID
28359
+ * * SQL Data Type: uniqueidentifier
28360
+ * * Default Value: newsequentialid()
28361
+ */
28362
+ get ID(): string;
28363
+ set ID(value: string);
28364
+ /**
28365
+ * * Field Name: ArchiveRunID
28366
+ * * Display Name: Archive Run
28367
+ * * SQL Data Type: uniqueidentifier
28368
+ * * Related Entity/Foreign Key: MJ: Archive Runs (vwArchiveRuns.ID)
28369
+ * * Description: Foreign key to the parent ArchiveRun.
28370
+ */
28371
+ get ArchiveRunID(): string;
28372
+ set ArchiveRunID(value: string);
28373
+ /**
28374
+ * * Field Name: EntityID
28375
+ * * Display Name: Entity Record
28376
+ * * SQL Data Type: uniqueidentifier
28377
+ * * Related Entity/Foreign Key: MJ: Entities (vwEntities.ID)
28378
+ * * Description: Foreign key to the Entity this record belongs to.
28379
+ */
28380
+ get EntityID(): string;
28381
+ set EntityID(value: string);
28382
+ /**
28383
+ * * Field Name: RecordID
28384
+ * * Display Name: Record ID
28385
+ * * SQL Data Type: nvarchar(750)
28386
+ * * Description: The primary key value of the archived record (string representation to support all key types).
28387
+ */
28388
+ get RecordID(): string;
28389
+ set RecordID(value: string);
28390
+ /**
28391
+ * * Field Name: Status
28392
+ * * Display Name: Status
28393
+ * * SQL Data Type: nvarchar(50)
28394
+ * * Value List Type: List
28395
+ * * Possible Values
28396
+ * * Failed
28397
+ * * Skipped
28398
+ * * Success
28399
+ * * Description: Outcome for this record: Success, Failed, or Skipped.
28400
+ */
28401
+ get Status(): 'Failed' | 'Skipped' | 'Success';
28402
+ set Status(value: 'Failed' | 'Skipped' | 'Success');
28403
+ /**
28404
+ * * Field Name: StoragePath
28405
+ * * Display Name: Storage Path
28406
+ * * SQL Data Type: nvarchar(1000)
28407
+ * * Description: Full path to the archived file in storage (e.g., "archives/production/Users/2026/04/record-id.json").
28408
+ */
28409
+ get StoragePath(): string | null;
28410
+ set StoragePath(value: string | null);
28411
+ /**
28412
+ * * Field Name: BytesArchived
28413
+ * * Display Name: Bytes Archived
28414
+ * * SQL Data Type: bigint
28415
+ * * Default Value: 0
28416
+ * * Description: Number of bytes written to storage for this record.
28417
+ */
28418
+ get BytesArchived(): number;
28419
+ set BytesArchived(value: number);
28420
+ /**
28421
+ * * Field Name: ErrorMessage
28422
+ * * Display Name: Error Message
28423
+ * * SQL Data Type: nvarchar(MAX)
28424
+ * * Description: Error details when Status is Failed.
28425
+ */
28426
+ get ErrorMessage(): string | null;
28427
+ set ErrorMessage(value: string | null);
28428
+ /**
28429
+ * * Field Name: ArchivedAt
28430
+ * * Display Name: Archived At
28431
+ * * SQL Data Type: datetimeoffset
28432
+ * * Description: Timestamp when this record was successfully archived.
28433
+ */
28434
+ get ArchivedAt(): Date | null;
28435
+ set ArchivedAt(value: Date | null);
28436
+ /**
28437
+ * * Field Name: VersionStamp
28438
+ * * Display Name: Version Stamp
28439
+ * * SQL Data Type: datetimeoffset
28440
+ * * Description: The __mj_UpdatedAt timestamp of the record at the time of archiving, used for conflict detection during restore.
28441
+ */
28442
+ get VersionStamp(): Date | null;
28443
+ set VersionStamp(value: Date | null);
28444
+ /**
28445
+ * * Field Name: IsRecordChangeArchive
28446
+ * * Display Name: Is Record Change Archive
28447
+ * * SQL Data Type: bit
28448
+ * * Default Value: 0
28449
+ * * Description: When true, this detail row represents an archived Record Change entry rather than a primary entity record.
28450
+ */
28451
+ get IsRecordChangeArchive(): boolean;
28452
+ set IsRecordChangeArchive(value: boolean);
28453
+ /**
28454
+ * * Field Name: __mj_CreatedAt
28455
+ * * Display Name: Created At
28456
+ * * SQL Data Type: datetimeoffset
28457
+ * * Default Value: getutcdate()
28458
+ */
28459
+ get __mj_CreatedAt(): Date;
28460
+ /**
28461
+ * * Field Name: __mj_UpdatedAt
28462
+ * * Display Name: Updated At
28463
+ * * SQL Data Type: datetimeoffset
28464
+ * * Default Value: getutcdate()
28465
+ */
28466
+ get __mj_UpdatedAt(): Date;
28467
+ /**
28468
+ * * Field Name: Entity
28469
+ * * Display Name: Entity Type
28470
+ * * SQL Data Type: nvarchar(255)
28471
+ */
28472
+ get Entity(): string;
28473
+ }
28474
+ /**
28475
+ * MJ: Archive Runs - strongly typed entity sub-class
28476
+ * * Schema: __mj
28477
+ * * Base Table: ArchiveRun
28478
+ * * Base View: vwArchiveRuns
28479
+ * * @description Tracks each execution of an archive configuration, including timing, aggregate statistics, and overall status.
28480
+ * * Primary Key: ID
28481
+ * @extends {BaseEntity}
28482
+ * @class
28483
+ * @public
28484
+ */
28485
+ export declare class MJArchiveRunEntity extends BaseEntity<MJArchiveRunEntityType> {
28486
+ /**
28487
+ * Loads the MJ: Archive Runs record from the database
28488
+ * @param ID: string - primary key value to load the MJ: Archive Runs record.
28489
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
28490
+ * @returns {Promise<boolean>} - true if successful, false otherwise
28491
+ * @public
28492
+ * @async
28493
+ * @memberof MJArchiveRunEntity
28494
+ * @method
28495
+ * @override
28496
+ */
28497
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
28498
+ /**
28499
+ * * Field Name: ID
28500
+ * * Display Name: ID
28501
+ * * SQL Data Type: uniqueidentifier
28502
+ * * Default Value: newsequentialid()
28503
+ */
28504
+ get ID(): string;
28505
+ set ID(value: string);
28506
+ /**
28507
+ * * Field Name: ArchiveConfigurationID
28508
+ * * Display Name: Archive Configuration
28509
+ * * SQL Data Type: uniqueidentifier
28510
+ * * Related Entity/Foreign Key: MJ: Archive Configurations (vwArchiveConfigurations.ID)
28511
+ * * Description: Foreign key to the ArchiveConfiguration that was executed.
28512
+ */
28513
+ get ArchiveConfigurationID(): string;
28514
+ set ArchiveConfigurationID(value: string);
28515
+ /**
28516
+ * * Field Name: StartedAt
28517
+ * * Display Name: Started At
28518
+ * * SQL Data Type: datetimeoffset
28519
+ * * Default Value: getutcdate()
28520
+ * * Description: Timestamp when the archive run started.
28521
+ */
28522
+ get StartedAt(): Date;
28523
+ set StartedAt(value: Date);
28524
+ /**
28525
+ * * Field Name: CompletedAt
28526
+ * * Display Name: Completed At
28527
+ * * SQL Data Type: datetimeoffset
28528
+ * * Description: Timestamp when the archive run completed (NULL while still running).
28529
+ */
28530
+ get CompletedAt(): Date | null;
28531
+ set CompletedAt(value: Date | null);
28532
+ /**
28533
+ * * Field Name: Status
28534
+ * * Display Name: Status
28535
+ * * SQL Data Type: nvarchar(50)
28536
+ * * Default Value: Running
28537
+ * * Value List Type: List
28538
+ * * Possible Values
28539
+ * * Cancelled
28540
+ * * Complete
28541
+ * * Failed
28542
+ * * PartialSuccess
28543
+ * * Running
28544
+ * * Description: Current status: Running, Complete, Failed, Cancelled, or PartialSuccess.
28545
+ */
28546
+ get Status(): 'Cancelled' | 'Complete' | 'Failed' | 'PartialSuccess' | 'Running';
28547
+ set Status(value: 'Cancelled' | 'Complete' | 'Failed' | 'PartialSuccess' | 'Running');
28548
+ /**
28549
+ * * Field Name: TotalRecords
28550
+ * * Display Name: Total Records
28551
+ * * SQL Data Type: int
28552
+ * * Default Value: 0
28553
+ * * Description: Total number of records identified for archiving in this run.
28554
+ */
28555
+ get TotalRecords(): number;
28556
+ set TotalRecords(value: number);
28557
+ /**
28558
+ * * Field Name: ArchivedRecords
28559
+ * * Display Name: Archived Records
28560
+ * * SQL Data Type: int
28561
+ * * Default Value: 0
28562
+ * * Description: Number of records successfully archived.
28563
+ */
28564
+ get ArchivedRecords(): number;
28565
+ set ArchivedRecords(value: number);
28566
+ /**
28567
+ * * Field Name: FailedRecords
28568
+ * * Display Name: Failed Records
28569
+ * * SQL Data Type: int
28570
+ * * Default Value: 0
28571
+ * * Description: Number of records that failed to archive.
28572
+ */
28573
+ get FailedRecords(): number;
28574
+ set FailedRecords(value: number);
28575
+ /**
28576
+ * * Field Name: SkippedRecords
28577
+ * * Display Name: Skipped Records
28578
+ * * SQL Data Type: int
28579
+ * * Default Value: 0
28580
+ * * Description: Number of records skipped (e.g., already archived or filtered out).
28581
+ */
28582
+ get SkippedRecords(): number;
28583
+ set SkippedRecords(value: number);
28584
+ /**
28585
+ * * Field Name: TotalBytesArchived
28586
+ * * Display Name: Total Bytes Archived
28587
+ * * SQL Data Type: bigint
28588
+ * * Default Value: 0
28589
+ * * Description: Total bytes written to archive storage during this run.
28590
+ */
28591
+ get TotalBytesArchived(): number;
28592
+ set TotalBytesArchived(value: number);
28593
+ /**
28594
+ * * Field Name: ErrorLog
28595
+ * * Display Name: Error Log
28596
+ * * SQL Data Type: nvarchar(MAX)
28597
+ * * Description: Aggregated error log for the run. Contains error details when Status is Failed or PartialSuccess.
28598
+ */
28599
+ get ErrorLog(): string | null;
28600
+ set ErrorLog(value: string | null);
28601
+ /**
28602
+ * * Field Name: UserID
28603
+ * * Display Name: Initiated By
28604
+ * * SQL Data Type: uniqueidentifier
28605
+ * * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)
28606
+ * * Description: The user who initiated this archive run.
28607
+ */
28608
+ get UserID(): string;
28609
+ set UserID(value: string);
28610
+ /**
28611
+ * * Field Name: __mj_CreatedAt
28612
+ * * Display Name: Created At
28613
+ * * SQL Data Type: datetimeoffset
28614
+ * * Default Value: getutcdate()
28615
+ */
28616
+ get __mj_CreatedAt(): Date;
28617
+ /**
28618
+ * * Field Name: __mj_UpdatedAt
28619
+ * * Display Name: Updated At
28620
+ * * SQL Data Type: datetimeoffset
28621
+ * * Default Value: getutcdate()
28622
+ */
28623
+ get __mj_UpdatedAt(): Date;
28624
+ /**
28625
+ * * Field Name: ArchiveConfiguration
28626
+ * * Display Name: Configuration Name
28627
+ * * SQL Data Type: nvarchar(255)
28628
+ */
28629
+ get ArchiveConfiguration(): string;
28630
+ /**
28631
+ * * Field Name: User
28632
+ * * Display Name: User Name
28633
+ * * SQL Data Type: nvarchar(100)
28634
+ */
28635
+ get User(): string;
28636
+ }
27714
28637
  /**
27715
28638
  * MJ: Artifact Permissions - strongly typed entity sub-class
27716
28639
  * * Schema: __mj
@@ -27926,7 +28849,7 @@ export declare class MJArtifactTypeEntity extends BaseEntity<MJArtifactTypeEntit
27926
28849
  set ParentID(value: string | null);
27927
28850
  /**
27928
28851
  * * Field Name: ExtractRules
27929
- * * Display Name: Extract Rules
28852
+ * * Display Name: Extraction Rules
27930
28853
  * * SQL Data Type: nvarchar(MAX)
27931
28854
  * * Description: JSON array of extraction rules defining how to extract attributes from artifact content. Each rule has: name (string), description (string), type (TypeScript type), standardProperty ('name'|'description'|'displayMarkdown'|'displayHtml'|null), extractor (JavaScript code string). Child types inherit parent rules and can override by name.
27932
28855
  */
@@ -27962,6 +28885,14 @@ export declare class MJArtifactTypeEntity extends BaseEntity<MJArtifactTypeEntit
27962
28885
  get ContentCategory(): 'File' | 'Text';
27963
28886
  set ContentCategory(value: 'File' | 'Text');
27964
28887
  /**
28888
+ * * Field Name: ToolLibraryClass
28889
+ * * Display Name: Tool Library Class
28890
+ * * SQL Data Type: nvarchar(100)
28891
+ * * Description: Class name for the BaseArtifactToolLibrary subclass that provides type-specific artifact exploration tools for agents. Resolved via ClassFactory. When NULL, ArtifactToolManager uses name-based fallback resolution.
28892
+ */
28893
+ get ToolLibraryClass(): string | null;
28894
+ set ToolLibraryClass(value: string | null);
28895
+ /**
27965
28896
  * * Field Name: Parent
27966
28897
  * * Display Name: Parent
27967
28898
  * * SQL Data Type: nvarchar(100)
@@ -43254,7 +44185,7 @@ export declare class MJIntegrationObjectFieldEntity extends BaseEntity<MJIntegra
43254
44185
  set IntegrationObjectID(value: string);
43255
44186
  /**
43256
44187
  * * Field Name: Name
43257
- * * Display Name: Name
44188
+ * * Display Name: Field Name
43258
44189
  * * SQL Data Type: nvarchar(255)
43259
44190
  * * Description: Field name as returned by the external API
43260
44191
  */
@@ -43286,7 +44217,7 @@ export declare class MJIntegrationObjectFieldEntity extends BaseEntity<MJIntegra
43286
44217
  set Category(value: string | null);
43287
44218
  /**
43288
44219
  * * Field Name: Type
43289
- * * Display Name: Type
44220
+ * * Display Name: Data Type
43290
44221
  * * SQL Data Type: nvarchar(100)
43291
44222
  * * Description: Data type of the field (e.g., nvarchar, int, datetime, decimal, bit). Uses same type vocabulary as EntityField.
43292
44223
  */
@@ -43335,7 +44266,7 @@ export declare class MJIntegrationObjectFieldEntity extends BaseEntity<MJIntegra
43335
44266
  set DefaultValue(value: string | null);
43336
44267
  /**
43337
44268
  * * Field Name: IsPrimaryKey
43338
- * * Display Name: Primary Key
44269
+ * * Display Name: Is Primary Key
43339
44270
  * * SQL Data Type: bit
43340
44271
  * * Default Value: 0
43341
44272
  * * Description: Whether this field is part of the object primary key
@@ -43344,7 +44275,7 @@ export declare class MJIntegrationObjectFieldEntity extends BaseEntity<MJIntegra
43344
44275
  set IsPrimaryKey(value: boolean);
43345
44276
  /**
43346
44277
  * * Field Name: IsUniqueKey
43347
- * * Display Name: Unique Key
44278
+ * * Display Name: Is Unique Key
43348
44279
  * * SQL Data Type: bit
43349
44280
  * * Default Value: 0
43350
44281
  * * Description: Whether values must be unique across all records
@@ -43353,7 +44284,7 @@ export declare class MJIntegrationObjectFieldEntity extends BaseEntity<MJIntegra
43353
44284
  set IsUniqueKey(value: boolean);
43354
44285
  /**
43355
44286
  * * Field Name: IsReadOnly
43356
- * * Display Name: Read Only
44287
+ * * Display Name: Is Read Only
43357
44288
  * * SQL Data Type: bit
43358
44289
  * * Default Value: 0
43359
44290
  * * Description: Whether this field cannot be written back to the source system
@@ -43362,7 +44293,7 @@ export declare class MJIntegrationObjectFieldEntity extends BaseEntity<MJIntegra
43362
44293
  set IsReadOnly(value: boolean);
43363
44294
  /**
43364
44295
  * * Field Name: IsRequired
43365
- * * Display Name: Required
44296
+ * * Display Name: Is Required
43366
44297
  * * SQL Data Type: bit
43367
44298
  * * Default Value: 0
43368
44299
  * * Description: Whether this field is required for create/update operations
@@ -43432,6 +44363,15 @@ export declare class MJIntegrationObjectFieldEntity extends BaseEntity<MJIntegra
43432
44363
  */
43433
44364
  get __mj_UpdatedAt(): Date;
43434
44365
  /**
44366
+ * * Field Name: IsCustom
44367
+ * * Display Name: Is Custom
44368
+ * * SQL Data Type: bit
44369
+ * * Default Value: 0
44370
+ * * Description: When true, this field was dynamically discovered by IntrospectSchema and is not defined in static connector metadata.
44371
+ */
44372
+ get IsCustom(): boolean;
44373
+ set IsCustom(value: boolean);
44374
+ /**
43435
44375
  * * Field Name: IntegrationObject
43436
44376
  * * Display Name: Integration Object Name
43437
44377
  * * SQL Data Type: nvarchar(255)
@@ -43479,7 +44419,7 @@ export declare class MJIntegrationObjectEntity extends BaseEntity<MJIntegrationO
43479
44419
  set ID(value: string);
43480
44420
  /**
43481
44421
  * * Field Name: IntegrationID
43482
- * * Display Name: Integration
44422
+ * * Display Name: Integration ID
43483
44423
  * * SQL Data Type: uniqueidentifier
43484
44424
  * * Related Entity/Foreign Key: MJ: Integrations (vwIntegrations.ID)
43485
44425
  * * Description: Foreign key to the Integration that owns this object
@@ -43587,7 +44527,7 @@ export declare class MJIntegrationObjectEntity extends BaseEntity<MJIntegrationO
43587
44527
  set SupportsWrite(value: boolean);
43588
44528
  /**
43589
44529
  * * Field Name: DefaultQueryParams
43590
- * * Display Name: Default Query Parameters
44530
+ * * Display Name: Default Query Params
43591
44531
  * * SQL Data Type: nvarchar(MAX)
43592
44532
  * * Description: JSON object of default query parameters to include with every API request for this object
43593
44533
  */
@@ -43665,8 +44605,17 @@ export declare class MJIntegrationObjectEntity extends BaseEntity<MJIntegrationO
43665
44605
  get DeleteMethod(): string | null;
43666
44606
  set DeleteMethod(value: string | null);
43667
44607
  /**
44608
+ * * Field Name: IsCustom
44609
+ * * Display Name: Is Custom
44610
+ * * SQL Data Type: bit
44611
+ * * Default Value: 0
44612
+ * * Description: When true, this object was dynamically discovered by IntrospectSchema and is not defined in static connector metadata.
44613
+ */
44614
+ get IsCustom(): boolean;
44615
+ set IsCustom(value: boolean);
44616
+ /**
43668
44617
  * * Field Name: Integration
43669
- * * Display Name: Integration Name
44618
+ * * Display Name: Integration
43670
44619
  * * SQL Data Type: nvarchar(100)
43671
44620
  */
43672
44621
  get Integration(): string;
@@ -45793,6 +46742,81 @@ export declare class MJMCPToolExecutionLogEntity extends BaseEntity<MJMCPToolExe
45793
46742
  */
45794
46743
  get User(): string;
45795
46744
  }
46745
+ /**
46746
+ * MJ: MCP Tool Favorites - strongly typed entity sub-class
46747
+ * * Schema: __mj
46748
+ * * Base Table: MCPToolFavorite
46749
+ * * Base View: vwMCPToolFavorites
46750
+ * * @description Per-user favorite marker for an MCP Server Tool. Lets users star tools for quick access in the MCP Dashboard and Test dialog.
46751
+ * * Primary Key: ID
46752
+ * @extends {BaseEntity}
46753
+ * @class
46754
+ * @public
46755
+ */
46756
+ export declare class MJMCPToolFavoriteEntity extends BaseEntity<MJMCPToolFavoriteEntityType> {
46757
+ /**
46758
+ * Loads the MJ: MCP Tool Favorites record from the database
46759
+ * @param ID: string - primary key value to load the MJ: MCP Tool Favorites record.
46760
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
46761
+ * @returns {Promise<boolean>} - true if successful, false otherwise
46762
+ * @public
46763
+ * @async
46764
+ * @memberof MJMCPToolFavoriteEntity
46765
+ * @method
46766
+ * @override
46767
+ */
46768
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
46769
+ /**
46770
+ * * Field Name: ID
46771
+ * * Display Name: ID
46772
+ * * SQL Data Type: uniqueidentifier
46773
+ * * Default Value: newsequentialid()
46774
+ */
46775
+ get ID(): string;
46776
+ set ID(value: string);
46777
+ /**
46778
+ * * Field Name: UserID
46779
+ * * Display Name: User ID
46780
+ * * SQL Data Type: uniqueidentifier
46781
+ * * Related Entity/Foreign Key: MJ: Users (vwUsers.ID)
46782
+ */
46783
+ get UserID(): string;
46784
+ set UserID(value: string);
46785
+ /**
46786
+ * * Field Name: MCPServerToolID
46787
+ * * Display Name: MCP Server Tool ID
46788
+ * * SQL Data Type: uniqueidentifier
46789
+ * * Related Entity/Foreign Key: MJ: MCP Server Tools (vwMCPServerTools.ID)
46790
+ */
46791
+ get MCPServerToolID(): string;
46792
+ set MCPServerToolID(value: string);
46793
+ /**
46794
+ * * Field Name: __mj_CreatedAt
46795
+ * * Display Name: Created At
46796
+ * * SQL Data Type: datetimeoffset
46797
+ * * Default Value: getutcdate()
46798
+ */
46799
+ get __mj_CreatedAt(): Date;
46800
+ /**
46801
+ * * Field Name: __mj_UpdatedAt
46802
+ * * Display Name: Updated At
46803
+ * * SQL Data Type: datetimeoffset
46804
+ * * Default Value: getutcdate()
46805
+ */
46806
+ get __mj_UpdatedAt(): Date;
46807
+ /**
46808
+ * * Field Name: User
46809
+ * * Display Name: User
46810
+ * * SQL Data Type: nvarchar(100)
46811
+ */
46812
+ get User(): string;
46813
+ /**
46814
+ * * Field Name: MCPServerTool
46815
+ * * Display Name: MCP Server Tool
46816
+ * * SQL Data Type: nvarchar(255)
46817
+ */
46818
+ get MCPServerTool(): string | null;
46819
+ }
45796
46820
  /**
45797
46821
  * MJ: O Auth Auth Server Metadata Caches - strongly typed entity sub-class
45798
46822
  * * Schema: __mj
@@ -49380,10 +50404,11 @@ export declare class MJRecordChangeEntity extends BaseEntity<MJRecordChangeEntit
49380
50404
  * * Possible Values
49381
50405
  * * External
49382
50406
  * * Internal
50407
+ * * Restore
49383
50408
  * * Description: Internal or External
49384
50409
  */
49385
- get Source(): 'External' | 'Internal';
49386
- set Source(value: 'External' | 'Internal');
50410
+ get Source(): 'External' | 'Internal' | 'Restore';
50411
+ set Source(value: 'External' | 'Internal' | 'Restore');
49387
50412
  /**
49388
50413
  * * Field Name: ChangedAt
49389
50414
  * * Display Name: Changed At
@@ -49411,7 +50436,7 @@ export declare class MJRecordChangeEntity extends BaseEntity<MJRecordChangeEntit
49411
50436
  set ChangesDescription(value: string);
49412
50437
  /**
49413
50438
  * * Field Name: FullRecordJSON
49414
- * * Display Name: Full Record Snapshot
50439
+ * * Display Name: Full Record JSON
49415
50440
  * * SQL Data Type: nvarchar(MAX)
49416
50441
  * * Description: A complete snapshot of the record AFTER the change was applied in a JSON format that can be parsed.
49417
50442
  */
@@ -49479,8 +50504,25 @@ export declare class MJRecordChangeEntity extends BaseEntity<MJRecordChangeEntit
49479
50504
  */
49480
50505
  get UpdatedAt(): Date;
49481
50506
  /**
50507
+ * * Field Name: RestoredFromID
50508
+ * * Display Name: Restored From ID
50509
+ * * SQL Data Type: uniqueidentifier
50510
+ * * Related Entity/Foreign Key: MJ: Record Changes (vwRecordChanges.ID)
50511
+ * * Description: When this RecordChange was produced by a restore operation, points at the historical RecordChange whose state was restored. NULL for ordinary changes. Together with Source='Restore' this builds the version-chain lineage for auditing and timeline navigation.
50512
+ */
50513
+ get RestoredFromID(): string | null;
50514
+ set RestoredFromID(value: string | null);
50515
+ /**
50516
+ * * Field Name: RestoreReason
50517
+ * * Display Name: Restore Reason
50518
+ * * SQL Data Type: nvarchar(MAX)
50519
+ * * Description: Optional user-entered explanation captured at restore time. Persisted for audit purposes (regulated industries often require a reason for every reversal). NULL when the user did not enter one or when the change was not a restore.
50520
+ */
50521
+ get RestoreReason(): string | null;
50522
+ set RestoreReason(value: string | null);
50523
+ /**
49482
50524
  * * Field Name: Entity
49483
- * * Display Name: Entity
50525
+ * * Display Name: Entity Name
49484
50526
  * * SQL Data Type: nvarchar(255)
49485
50527
  */
49486
50528
  get Entity(): string;
@@ -49502,6 +50544,18 @@ export declare class MJRecordChangeEntity extends BaseEntity<MJRecordChangeEntit
49502
50544
  * * SQL Data Type: nvarchar(100)
49503
50545
  */
49504
50546
  get Integration(): string | null;
50547
+ /**
50548
+ * * Field Name: RestoredFrom
50549
+ * * Display Name: Restored From
50550
+ * * SQL Data Type: nvarchar(750)
50551
+ */
50552
+ get RestoredFrom(): string | null;
50553
+ /**
50554
+ * * Field Name: RootRestoredFromID
50555
+ * * Display Name: Root Restored From ID
50556
+ * * SQL Data Type: uniqueidentifier
50557
+ */
50558
+ get RootRestoredFromID(): string | null;
49505
50559
  }
49506
50560
  /**
49507
50561
  * MJ: Record Geo Codes - strongly typed entity sub-class
@@ -58215,7 +59269,7 @@ export declare class MJVersionLabelItemEntity extends BaseEntity<MJVersionLabelI
58215
59269
  /**
58216
59270
  * * Field Name: RecordChange
58217
59271
  * * Display Name: Record Change
58218
- * * SQL Data Type: nvarchar(MAX)
59272
+ * * SQL Data Type: nvarchar(750)
58219
59273
  */
58220
59274
  get RecordChange(): string;
58221
59275
  /**