@memberjunction/core-entities 2.55.0 → 2.56.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.
@@ -578,6 +578,11 @@ exports.ActionSchema = zod_1.z.object({
578
578
  * * SQL Data Type: uniqueidentifier
579
579
  * * Related Entity/Foreign Key: Actions (vwActions.ID)
580
580
  * * Description: Optional ID of the parent action this action inherits from. Used for hierarchical action composition where child actions can specialize parent actions.`),
581
+ IconClass: zod_1.z.string().nullable().describe(`
582
+ * * Field Name: IconClass
583
+ * * Display Name: Icon Class
584
+ * * SQL Data Type: nvarchar(100)
585
+ * * Description: Font Awesome icon class (e.g., fa-cog, fa-play, fa-search) for visual representation of the action.`),
581
586
  Category: zod_1.z.string().nullable().describe(`
582
587
  * * Field Name: Category
583
588
  * * Display Name: Category
@@ -1070,6 +1075,11 @@ exports.AIAgentSchema = zod_1.z.object({
1070
1075
  * * Display Name: Driver Class
1071
1076
  * * SQL Data Type: nvarchar(255)
1072
1077
  * * Description: Optional override for the class name used by the MemberJunction class factory to instantiate this specific agent. If specified, this overrides the agent type's DriverClass. Useful for specialized agent implementations.`),
1078
+ IconClass: zod_1.z.string().nullable().describe(`
1079
+ * * Field Name: IconClass
1080
+ * * Display Name: Icon Class
1081
+ * * SQL Data Type: nvarchar(100)
1082
+ * * Description: Font Awesome icon class (e.g., fa-robot, fa-brain) for the agent. Used as fallback when LogoURL is not set or fails to load.`),
1073
1083
  Parent: zod_1.z.string().nullable().describe(`
1074
1084
  * * Field Name: Parent
1075
1085
  * * Display Name: Parent
@@ -7910,6 +7920,76 @@ exports.AIPromptRunSchema = zod_1.z.object({
7910
7920
  * * Display Name: Descendant Cost
7911
7921
  * * SQL Data Type: decimal(18, 6)
7912
7922
  * * Description: The total cost of all descendant (child and grandchild) prompt runs, excluding this run's own cost. For leaf nodes (no children), this is 0. Updated when child costs change.`),
7923
+ ValidationAttemptCount: zod_1.z.number().nullable().describe(`
7924
+ * * Field Name: ValidationAttemptCount
7925
+ * * Display Name: Validation Attempt Count
7926
+ * * SQL Data Type: int
7927
+ * * Description: Total number of validation attempts made (including the initial attempt)`),
7928
+ SuccessfulValidationCount: zod_1.z.number().nullable().describe(`
7929
+ * * Field Name: SuccessfulValidationCount
7930
+ * * Display Name: Successful Validation Count
7931
+ * * SQL Data Type: int
7932
+ * * Description: Number of validation attempts that passed validation`),
7933
+ FinalValidationPassed: zod_1.z.boolean().nullable().describe(`
7934
+ * * Field Name: FinalValidationPassed
7935
+ * * Display Name: Final Validation Passed
7936
+ * * SQL Data Type: bit
7937
+ * * Description: Whether validation ultimately passed (1) or failed (0)`),
7938
+ ValidationBehavior: zod_1.z.string().nullable().describe(`
7939
+ * * Field Name: ValidationBehavior
7940
+ * * Display Name: Validation Behavior
7941
+ * * SQL Data Type: nvarchar(50)
7942
+ * * Description: Validation behavior used: Strict, Warn, or None`),
7943
+ RetryStrategy: zod_1.z.string().nullable().describe(`
7944
+ * * Field Name: RetryStrategy
7945
+ * * Display Name: Retry Strategy
7946
+ * * SQL Data Type: nvarchar(50)
7947
+ * * Description: Retry strategy used: Fixed, Linear, or Exponential`),
7948
+ MaxRetriesConfigured: zod_1.z.number().nullable().describe(`
7949
+ * * Field Name: MaxRetriesConfigured
7950
+ * * Display Name: Max Retries Configured
7951
+ * * SQL Data Type: int
7952
+ * * Description: Maximum number of retries configured on the prompt`),
7953
+ FinalValidationError: zod_1.z.string().nullable().describe(`
7954
+ * * Field Name: FinalValidationError
7955
+ * * Display Name: Final Validation Error
7956
+ * * SQL Data Type: nvarchar(500)
7957
+ * * Description: The final validation error message if validation failed`),
7958
+ ValidationErrorCount: zod_1.z.number().nullable().describe(`
7959
+ * * Field Name: ValidationErrorCount
7960
+ * * Display Name: Validation Error Count
7961
+ * * SQL Data Type: int
7962
+ * * Description: Number of validation errors on the final attempt`),
7963
+ CommonValidationError: zod_1.z.string().nullable().describe(`
7964
+ * * Field Name: CommonValidationError
7965
+ * * Display Name: Common Validation Error
7966
+ * * SQL Data Type: nvarchar(255)
7967
+ * * Description: Most frequent validation error across all attempts`),
7968
+ FirstAttemptAt: zod_1.z.date().nullable().describe(`
7969
+ * * Field Name: FirstAttemptAt
7970
+ * * Display Name: First Attempt At
7971
+ * * SQL Data Type: datetime
7972
+ * * Description: Timestamp of the first validation attempt`),
7973
+ LastAttemptAt: zod_1.z.date().nullable().describe(`
7974
+ * * Field Name: LastAttemptAt
7975
+ * * Display Name: Last Attempt At
7976
+ * * SQL Data Type: datetime
7977
+ * * Description: Timestamp of the last validation attempt`),
7978
+ TotalRetryDurationMS: zod_1.z.number().nullable().describe(`
7979
+ * * Field Name: TotalRetryDurationMS
7980
+ * * Display Name: Total Retry Duration MS
7981
+ * * SQL Data Type: int
7982
+ * * Description: Total time spent on retries in milliseconds (excluding first attempt)`),
7983
+ ValidationAttempts: zod_1.z.string().nullable().describe(`
7984
+ * * Field Name: ValidationAttempts
7985
+ * * Display Name: Validation Attempts
7986
+ * * SQL Data Type: nvarchar(MAX)
7987
+ * * Description: JSON array containing detailed information about each validation attempt`),
7988
+ ValidationSummary: zod_1.z.string().nullable().describe(`
7989
+ * * Field Name: ValidationSummary
7990
+ * * Display Name: Validation Summary
7991
+ * * SQL Data Type: nvarchar(MAX)
7992
+ * * Description: JSON object containing summary information about the validation process`),
7913
7993
  Prompt: zod_1.z.string().describe(`
7914
7994
  * * Field Name: Prompt
7915
7995
  * * Display Name: Prompt
@@ -13098,6 +13178,18 @@ let ActionEntity = class ActionEntity extends core_1.BaseEntity {
13098
13178
  this.Set('ParentID', value);
13099
13179
  }
13100
13180
  /**
13181
+ * * Field Name: IconClass
13182
+ * * Display Name: Icon Class
13183
+ * * SQL Data Type: nvarchar(100)
13184
+ * * Description: Font Awesome icon class (e.g., fa-cog, fa-play, fa-search) for visual representation of the action.
13185
+ */
13186
+ get IconClass() {
13187
+ return this.Get('IconClass');
13188
+ }
13189
+ set IconClass(value) {
13190
+ this.Set('IconClass', value);
13191
+ }
13192
+ /**
13101
13193
  * * Field Name: Category
13102
13194
  * * Display Name: Category
13103
13195
  * * SQL Data Type: nvarchar(255)
@@ -14366,6 +14458,18 @@ let AIAgentEntity = class AIAgentEntity extends core_1.BaseEntity {
14366
14458
  this.Set('DriverClass', value);
14367
14459
  }
14368
14460
  /**
14461
+ * * Field Name: IconClass
14462
+ * * Display Name: Icon Class
14463
+ * * SQL Data Type: nvarchar(100)
14464
+ * * Description: Font Awesome icon class (e.g., fa-robot, fa-brain) for the agent. Used as fallback when LogoURL is not set or fails to load.
14465
+ */
14466
+ get IconClass() {
14467
+ return this.Get('IconClass');
14468
+ }
14469
+ set IconClass(value) {
14470
+ this.Set('IconClass', value);
14471
+ }
14472
+ /**
14369
14473
  * * Field Name: Parent
14370
14474
  * * Display Name: Parent
14371
14475
  * * SQL Data Type: nvarchar(255)
@@ -32254,6 +32358,174 @@ let AIPromptRunEntity = class AIPromptRunEntity extends core_1.BaseEntity {
32254
32358
  this.Set('DescendantCost', value);
32255
32359
  }
32256
32360
  /**
32361
+ * * Field Name: ValidationAttemptCount
32362
+ * * Display Name: Validation Attempt Count
32363
+ * * SQL Data Type: int
32364
+ * * Description: Total number of validation attempts made (including the initial attempt)
32365
+ */
32366
+ get ValidationAttemptCount() {
32367
+ return this.Get('ValidationAttemptCount');
32368
+ }
32369
+ set ValidationAttemptCount(value) {
32370
+ this.Set('ValidationAttemptCount', value);
32371
+ }
32372
+ /**
32373
+ * * Field Name: SuccessfulValidationCount
32374
+ * * Display Name: Successful Validation Count
32375
+ * * SQL Data Type: int
32376
+ * * Description: Number of validation attempts that passed validation
32377
+ */
32378
+ get SuccessfulValidationCount() {
32379
+ return this.Get('SuccessfulValidationCount');
32380
+ }
32381
+ set SuccessfulValidationCount(value) {
32382
+ this.Set('SuccessfulValidationCount', value);
32383
+ }
32384
+ /**
32385
+ * * Field Name: FinalValidationPassed
32386
+ * * Display Name: Final Validation Passed
32387
+ * * SQL Data Type: bit
32388
+ * * Description: Whether validation ultimately passed (1) or failed (0)
32389
+ */
32390
+ get FinalValidationPassed() {
32391
+ return this.Get('FinalValidationPassed');
32392
+ }
32393
+ set FinalValidationPassed(value) {
32394
+ this.Set('FinalValidationPassed', value);
32395
+ }
32396
+ /**
32397
+ * * Field Name: ValidationBehavior
32398
+ * * Display Name: Validation Behavior
32399
+ * * SQL Data Type: nvarchar(50)
32400
+ * * Description: Validation behavior used: Strict, Warn, or None
32401
+ */
32402
+ get ValidationBehavior() {
32403
+ return this.Get('ValidationBehavior');
32404
+ }
32405
+ set ValidationBehavior(value) {
32406
+ this.Set('ValidationBehavior', value);
32407
+ }
32408
+ /**
32409
+ * * Field Name: RetryStrategy
32410
+ * * Display Name: Retry Strategy
32411
+ * * SQL Data Type: nvarchar(50)
32412
+ * * Description: Retry strategy used: Fixed, Linear, or Exponential
32413
+ */
32414
+ get RetryStrategy() {
32415
+ return this.Get('RetryStrategy');
32416
+ }
32417
+ set RetryStrategy(value) {
32418
+ this.Set('RetryStrategy', value);
32419
+ }
32420
+ /**
32421
+ * * Field Name: MaxRetriesConfigured
32422
+ * * Display Name: Max Retries Configured
32423
+ * * SQL Data Type: int
32424
+ * * Description: Maximum number of retries configured on the prompt
32425
+ */
32426
+ get MaxRetriesConfigured() {
32427
+ return this.Get('MaxRetriesConfigured');
32428
+ }
32429
+ set MaxRetriesConfigured(value) {
32430
+ this.Set('MaxRetriesConfigured', value);
32431
+ }
32432
+ /**
32433
+ * * Field Name: FinalValidationError
32434
+ * * Display Name: Final Validation Error
32435
+ * * SQL Data Type: nvarchar(500)
32436
+ * * Description: The final validation error message if validation failed
32437
+ */
32438
+ get FinalValidationError() {
32439
+ return this.Get('FinalValidationError');
32440
+ }
32441
+ set FinalValidationError(value) {
32442
+ this.Set('FinalValidationError', value);
32443
+ }
32444
+ /**
32445
+ * * Field Name: ValidationErrorCount
32446
+ * * Display Name: Validation Error Count
32447
+ * * SQL Data Type: int
32448
+ * * Description: Number of validation errors on the final attempt
32449
+ */
32450
+ get ValidationErrorCount() {
32451
+ return this.Get('ValidationErrorCount');
32452
+ }
32453
+ set ValidationErrorCount(value) {
32454
+ this.Set('ValidationErrorCount', value);
32455
+ }
32456
+ /**
32457
+ * * Field Name: CommonValidationError
32458
+ * * Display Name: Common Validation Error
32459
+ * * SQL Data Type: nvarchar(255)
32460
+ * * Description: Most frequent validation error across all attempts
32461
+ */
32462
+ get CommonValidationError() {
32463
+ return this.Get('CommonValidationError');
32464
+ }
32465
+ set CommonValidationError(value) {
32466
+ this.Set('CommonValidationError', value);
32467
+ }
32468
+ /**
32469
+ * * Field Name: FirstAttemptAt
32470
+ * * Display Name: First Attempt At
32471
+ * * SQL Data Type: datetime
32472
+ * * Description: Timestamp of the first validation attempt
32473
+ */
32474
+ get FirstAttemptAt() {
32475
+ return this.Get('FirstAttemptAt');
32476
+ }
32477
+ set FirstAttemptAt(value) {
32478
+ this.Set('FirstAttemptAt', value);
32479
+ }
32480
+ /**
32481
+ * * Field Name: LastAttemptAt
32482
+ * * Display Name: Last Attempt At
32483
+ * * SQL Data Type: datetime
32484
+ * * Description: Timestamp of the last validation attempt
32485
+ */
32486
+ get LastAttemptAt() {
32487
+ return this.Get('LastAttemptAt');
32488
+ }
32489
+ set LastAttemptAt(value) {
32490
+ this.Set('LastAttemptAt', value);
32491
+ }
32492
+ /**
32493
+ * * Field Name: TotalRetryDurationMS
32494
+ * * Display Name: Total Retry Duration MS
32495
+ * * SQL Data Type: int
32496
+ * * Description: Total time spent on retries in milliseconds (excluding first attempt)
32497
+ */
32498
+ get TotalRetryDurationMS() {
32499
+ return this.Get('TotalRetryDurationMS');
32500
+ }
32501
+ set TotalRetryDurationMS(value) {
32502
+ this.Set('TotalRetryDurationMS', value);
32503
+ }
32504
+ /**
32505
+ * * Field Name: ValidationAttempts
32506
+ * * Display Name: Validation Attempts
32507
+ * * SQL Data Type: nvarchar(MAX)
32508
+ * * Description: JSON array containing detailed information about each validation attempt
32509
+ */
32510
+ get ValidationAttempts() {
32511
+ return this.Get('ValidationAttempts');
32512
+ }
32513
+ set ValidationAttempts(value) {
32514
+ this.Set('ValidationAttempts', value);
32515
+ }
32516
+ /**
32517
+ * * Field Name: ValidationSummary
32518
+ * * Display Name: Validation Summary
32519
+ * * SQL Data Type: nvarchar(MAX)
32520
+ * * Description: JSON object containing summary information about the validation process
32521
+ */
32522
+ get ValidationSummary() {
32523
+ return this.Get('ValidationSummary');
32524
+ }
32525
+ set ValidationSummary(value) {
32526
+ this.Set('ValidationSummary', value);
32527
+ }
32528
+ /**
32257
32529
  * * Field Name: Prompt
32258
32530
  * * Display Name: Prompt
32259
32531
  * * SQL Data Type: nvarchar(255)