@memberjunction/core-entities 5.28.0 → 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.
- package/dist/engines/MCPEngine.d.ts +20 -1
- package/dist/engines/MCPEngine.d.ts.map +1 -1
- package/dist/engines/MCPEngine.js +31 -0
- package/dist/engines/MCPEngine.js.map +1 -1
- package/dist/generated/entity_subclasses.d.ts +1022 -34
- package/dist/generated/entity_subclasses.d.ts.map +1 -1
- package/dist/generated/entity_subclasses.js +1469 -12
- package/dist/generated/entity_subclasses.js.map +1 -1
- package/package.json +5 -5
|
@@ -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?: "
|
|
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?: "
|
|
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" | "
|
|
6090
|
+
EmbeddingStatus?: "Pending" | "Complete" | "Failed" | "Skipped" | "Processing";
|
|
5864
6091
|
LastEmbeddedAt?: Date;
|
|
5865
|
-
TaggingStatus?: "Pending" | "Complete" | "Failed" | "
|
|
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" | "
|
|
6115
|
+
EmbeddingStatus?: "Pending" | "Complete" | "Failed" | "Skipped" | "Processing";
|
|
5889
6116
|
LastEmbeddedAt?: Date;
|
|
5890
|
-
TaggingStatus?: "Pending" | "Complete" | "Failed" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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";
|
|
@@ -10641,6 +10868,35 @@ export declare const MJMCPToolExecutionLogSchema: z.ZodObject<{
|
|
|
10641
10868
|
OutputTruncated?: boolean;
|
|
10642
10869
|
}>;
|
|
10643
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>;
|
|
10644
10900
|
/**
|
|
10645
10901
|
* zod schema definition for the entity MJ: O Auth Auth Server Metadata Caches
|
|
10646
10902
|
*/
|
|
@@ -11839,7 +12095,7 @@ export declare const MJRecommendationRunSchema: z.ZodObject<{
|
|
|
11839
12095
|
__mj_CreatedAt?: Date;
|
|
11840
12096
|
__mj_UpdatedAt?: Date;
|
|
11841
12097
|
Description?: string;
|
|
11842
|
-
Status?: "Pending" | "Canceled" | "Completed" | "
|
|
12098
|
+
Status?: "Pending" | "Canceled" | "Completed" | "Error" | "In Progress";
|
|
11843
12099
|
RunByUserID?: string;
|
|
11844
12100
|
RunByUser?: string;
|
|
11845
12101
|
RecommendationProviderID?: string;
|
|
@@ -11851,7 +12107,7 @@ export declare const MJRecommendationRunSchema: z.ZodObject<{
|
|
|
11851
12107
|
__mj_CreatedAt?: Date;
|
|
11852
12108
|
__mj_UpdatedAt?: Date;
|
|
11853
12109
|
Description?: string;
|
|
11854
|
-
Status?: "Pending" | "Canceled" | "Completed" | "
|
|
12110
|
+
Status?: "Pending" | "Canceled" | "Completed" | "Error" | "In Progress";
|
|
11855
12111
|
RunByUserID?: string;
|
|
11856
12112
|
RunByUser?: string;
|
|
11857
12113
|
RecommendationProviderID?: string;
|
|
@@ -11909,7 +12165,7 @@ export declare const MJRecordChangeReplayRunSchema: z.ZodObject<{
|
|
|
11909
12165
|
User?: string;
|
|
11910
12166
|
__mj_CreatedAt?: Date;
|
|
11911
12167
|
__mj_UpdatedAt?: Date;
|
|
11912
|
-
Status?: "Pending" | "Complete" | "
|
|
12168
|
+
Status?: "Pending" | "Complete" | "Error" | "In Progress";
|
|
11913
12169
|
StartedAt?: Date;
|
|
11914
12170
|
EndedAt?: Date;
|
|
11915
12171
|
UserID?: string;
|
|
@@ -11918,7 +12174,7 @@ export declare const MJRecordChangeReplayRunSchema: z.ZodObject<{
|
|
|
11918
12174
|
User?: string;
|
|
11919
12175
|
__mj_CreatedAt?: Date;
|
|
11920
12176
|
__mj_UpdatedAt?: Date;
|
|
11921
|
-
Status?: "Pending" | "Complete" | "
|
|
12177
|
+
Status?: "Pending" | "Complete" | "Error" | "In Progress";
|
|
11922
12178
|
StartedAt?: Date;
|
|
11923
12179
|
EndedAt?: Date;
|
|
11924
12180
|
UserID?: string;
|
|
@@ -13850,7 +14106,7 @@ export declare const MJTestRunSchema: z.ZodObject<{
|
|
|
13850
14106
|
ID?: string;
|
|
13851
14107
|
__mj_CreatedAt?: Date;
|
|
13852
14108
|
__mj_UpdatedAt?: Date;
|
|
13853
|
-
Status?: "Pending" | "Failed" | "Running" | "Timeout" | "
|
|
14109
|
+
Status?: "Pending" | "Failed" | "Running" | "Timeout" | "Error" | "Skipped" | "Passed";
|
|
13854
14110
|
StartedAt?: Date;
|
|
13855
14111
|
Sequence?: number;
|
|
13856
14112
|
DurationSeconds?: number;
|
|
@@ -13887,7 +14143,7 @@ export declare const MJTestRunSchema: z.ZodObject<{
|
|
|
13887
14143
|
ID?: string;
|
|
13888
14144
|
__mj_CreatedAt?: Date;
|
|
13889
14145
|
__mj_UpdatedAt?: Date;
|
|
13890
|
-
Status?: "Pending" | "Failed" | "Running" | "Timeout" | "
|
|
14146
|
+
Status?: "Pending" | "Failed" | "Running" | "Timeout" | "Error" | "Skipped" | "Passed";
|
|
13891
14147
|
StartedAt?: Date;
|
|
13892
14148
|
Sequence?: number;
|
|
13893
14149
|
DurationSeconds?: number;
|
|
@@ -15037,7 +15293,7 @@ export declare const MJVersionLabelRestoreSchema: z.ZodObject<{
|
|
|
15037
15293
|
User?: string;
|
|
15038
15294
|
__mj_CreatedAt?: Date;
|
|
15039
15295
|
__mj_UpdatedAt?: Date;
|
|
15040
|
-
Status?: "Pending" | "Complete" | "
|
|
15296
|
+
Status?: "Pending" | "Complete" | "Error" | "In Progress" | "Partial";
|
|
15041
15297
|
StartedAt?: Date;
|
|
15042
15298
|
EndedAt?: Date;
|
|
15043
15299
|
UserID?: string;
|
|
@@ -15054,7 +15310,7 @@ export declare const MJVersionLabelRestoreSchema: z.ZodObject<{
|
|
|
15054
15310
|
User?: string;
|
|
15055
15311
|
__mj_CreatedAt?: Date;
|
|
15056
15312
|
__mj_UpdatedAt?: Date;
|
|
15057
|
-
Status?: "Pending" | "Complete" | "
|
|
15313
|
+
Status?: "Pending" | "Complete" | "Error" | "In Progress" | "Partial";
|
|
15058
15314
|
StartedAt?: Date;
|
|
15059
15315
|
EndedAt?: Date;
|
|
15060
15316
|
UserID?: string;
|
|
@@ -27729,6 +27985,655 @@ export declare class MJApplicationEntity extends BaseEntity<MJApplicationEntityT
|
|
|
27729
27985
|
get AutoUpdatePath(): boolean;
|
|
27730
27986
|
set AutoUpdatePath(value: boolean);
|
|
27731
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
|
+
}
|
|
27732
28637
|
/**
|
|
27733
28638
|
* MJ: Artifact Permissions - strongly typed entity sub-class
|
|
27734
28639
|
* * Schema: __mj
|
|
@@ -27944,7 +28849,7 @@ export declare class MJArtifactTypeEntity extends BaseEntity<MJArtifactTypeEntit
|
|
|
27944
28849
|
set ParentID(value: string | null);
|
|
27945
28850
|
/**
|
|
27946
28851
|
* * Field Name: ExtractRules
|
|
27947
|
-
* * Display Name:
|
|
28852
|
+
* * Display Name: Extraction Rules
|
|
27948
28853
|
* * SQL Data Type: nvarchar(MAX)
|
|
27949
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.
|
|
27950
28855
|
*/
|
|
@@ -27980,6 +28885,14 @@ export declare class MJArtifactTypeEntity extends BaseEntity<MJArtifactTypeEntit
|
|
|
27980
28885
|
get ContentCategory(): 'File' | 'Text';
|
|
27981
28886
|
set ContentCategory(value: 'File' | 'Text');
|
|
27982
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
|
+
/**
|
|
27983
28896
|
* * Field Name: Parent
|
|
27984
28897
|
* * Display Name: Parent
|
|
27985
28898
|
* * SQL Data Type: nvarchar(100)
|
|
@@ -43272,7 +44185,7 @@ export declare class MJIntegrationObjectFieldEntity extends BaseEntity<MJIntegra
|
|
|
43272
44185
|
set IntegrationObjectID(value: string);
|
|
43273
44186
|
/**
|
|
43274
44187
|
* * Field Name: Name
|
|
43275
|
-
* * Display Name: Name
|
|
44188
|
+
* * Display Name: Field Name
|
|
43276
44189
|
* * SQL Data Type: nvarchar(255)
|
|
43277
44190
|
* * Description: Field name as returned by the external API
|
|
43278
44191
|
*/
|
|
@@ -43389,7 +44302,7 @@ export declare class MJIntegrationObjectFieldEntity extends BaseEntity<MJIntegra
|
|
|
43389
44302
|
set IsRequired(value: boolean);
|
|
43390
44303
|
/**
|
|
43391
44304
|
* * Field Name: RelatedIntegrationObjectID
|
|
43392
|
-
* * Display Name: Related Integration Object
|
|
44305
|
+
* * Display Name: Related Integration Object
|
|
43393
44306
|
* * SQL Data Type: uniqueidentifier
|
|
43394
44307
|
* * Related Entity/Foreign Key: MJ: Integration Objects (vwIntegrationObjects.ID)
|
|
43395
44308
|
* * Description: Foreign key to another IntegrationObject, establishing a relationship. Used for DAG-based dependency ordering and template variable resolution in parent APIPath patterns.
|
|
@@ -43506,7 +44419,7 @@ export declare class MJIntegrationObjectEntity extends BaseEntity<MJIntegrationO
|
|
|
43506
44419
|
set ID(value: string);
|
|
43507
44420
|
/**
|
|
43508
44421
|
* * Field Name: IntegrationID
|
|
43509
|
-
* * Display Name: Integration
|
|
44422
|
+
* * Display Name: Integration ID
|
|
43510
44423
|
* * SQL Data Type: uniqueidentifier
|
|
43511
44424
|
* * Related Entity/Foreign Key: MJ: Integrations (vwIntegrations.ID)
|
|
43512
44425
|
* * Description: Foreign key to the Integration that owns this object
|
|
@@ -43614,7 +44527,7 @@ export declare class MJIntegrationObjectEntity extends BaseEntity<MJIntegrationO
|
|
|
43614
44527
|
set SupportsWrite(value: boolean);
|
|
43615
44528
|
/**
|
|
43616
44529
|
* * Field Name: DefaultQueryParams
|
|
43617
|
-
* * Display Name: Default Query
|
|
44530
|
+
* * Display Name: Default Query Params
|
|
43618
44531
|
* * SQL Data Type: nvarchar(MAX)
|
|
43619
44532
|
* * Description: JSON object of default query parameters to include with every API request for this object
|
|
43620
44533
|
*/
|
|
@@ -43702,7 +44615,7 @@ export declare class MJIntegrationObjectEntity extends BaseEntity<MJIntegrationO
|
|
|
43702
44615
|
set IsCustom(value: boolean);
|
|
43703
44616
|
/**
|
|
43704
44617
|
* * Field Name: Integration
|
|
43705
|
-
* * Display Name: Integration
|
|
44618
|
+
* * Display Name: Integration
|
|
43706
44619
|
* * SQL Data Type: nvarchar(100)
|
|
43707
44620
|
*/
|
|
43708
44621
|
get Integration(): string;
|
|
@@ -45829,6 +46742,81 @@ export declare class MJMCPToolExecutionLogEntity extends BaseEntity<MJMCPToolExe
|
|
|
45829
46742
|
*/
|
|
45830
46743
|
get User(): string;
|
|
45831
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
|
+
}
|
|
45832
46820
|
/**
|
|
45833
46821
|
* MJ: O Auth Auth Server Metadata Caches - strongly typed entity sub-class
|
|
45834
46822
|
* * Schema: __mj
|