@memberjunction/core-entities 2.54.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.
|
@@ -329,6 +329,7 @@ export declare const ActionSchema: z.ZodObject<{
|
|
|
329
329
|
__mj_UpdatedAt: z.ZodDate;
|
|
330
330
|
DriverClass: z.ZodNullable<z.ZodString>;
|
|
331
331
|
ParentID: z.ZodNullable<z.ZodString>;
|
|
332
|
+
IconClass: z.ZodNullable<z.ZodString>;
|
|
332
333
|
Category: z.ZodNullable<z.ZodString>;
|
|
333
334
|
CodeApprovedByUser: z.ZodNullable<z.ZodString>;
|
|
334
335
|
Parent: z.ZodNullable<z.ZodString>;
|
|
@@ -355,6 +356,7 @@ export declare const ActionSchema: z.ZodObject<{
|
|
|
355
356
|
CodeLocked?: boolean;
|
|
356
357
|
ForceCodeGeneration?: boolean;
|
|
357
358
|
DriverClass?: string;
|
|
359
|
+
IconClass?: string;
|
|
358
360
|
Category?: string;
|
|
359
361
|
CodeApprovedByUser?: string;
|
|
360
362
|
}, {
|
|
@@ -380,6 +382,7 @@ export declare const ActionSchema: z.ZodObject<{
|
|
|
380
382
|
CodeLocked?: boolean;
|
|
381
383
|
ForceCodeGeneration?: boolean;
|
|
382
384
|
DriverClass?: string;
|
|
385
|
+
IconClass?: string;
|
|
383
386
|
Category?: string;
|
|
384
387
|
CodeApprovedByUser?: string;
|
|
385
388
|
}>;
|
|
@@ -659,6 +662,7 @@ export declare const AIAgentSchema: z.ZodObject<{
|
|
|
659
662
|
TypeID: z.ZodNullable<z.ZodString>;
|
|
660
663
|
Status: z.ZodNullable<z.ZodString>;
|
|
661
664
|
DriverClass: z.ZodNullable<z.ZodString>;
|
|
665
|
+
IconClass: z.ZodNullable<z.ZodString>;
|
|
662
666
|
Parent: z.ZodNullable<z.ZodString>;
|
|
663
667
|
ContextCompressionPrompt: z.ZodNullable<z.ZodString>;
|
|
664
668
|
Type: z.ZodNullable<z.ZodString>;
|
|
@@ -673,6 +677,7 @@ export declare const AIAgentSchema: z.ZodObject<{
|
|
|
673
677
|
Parent?: string;
|
|
674
678
|
Type?: string;
|
|
675
679
|
DriverClass?: string;
|
|
680
|
+
IconClass?: string;
|
|
676
681
|
LogoURL?: string;
|
|
677
682
|
ExposeAsAction?: boolean;
|
|
678
683
|
ExecutionOrder?: number;
|
|
@@ -694,6 +699,7 @@ export declare const AIAgentSchema: z.ZodObject<{
|
|
|
694
699
|
Parent?: string;
|
|
695
700
|
Type?: string;
|
|
696
701
|
DriverClass?: string;
|
|
702
|
+
IconClass?: string;
|
|
697
703
|
LogoURL?: string;
|
|
698
704
|
ExposeAsAction?: boolean;
|
|
699
705
|
ExecutionOrder?: number;
|
|
@@ -5134,6 +5140,21 @@ export declare const AIPromptRunSchema: z.ZodObject<{
|
|
|
5134
5140
|
ResponseFormat: z.ZodNullable<z.ZodString>;
|
|
5135
5141
|
LogProbs: z.ZodNullable<z.ZodBoolean>;
|
|
5136
5142
|
TopLogProbs: z.ZodNullable<z.ZodNumber>;
|
|
5143
|
+
DescendantCost: z.ZodNullable<z.ZodNumber>;
|
|
5144
|
+
ValidationAttemptCount: z.ZodNullable<z.ZodNumber>;
|
|
5145
|
+
SuccessfulValidationCount: z.ZodNullable<z.ZodNumber>;
|
|
5146
|
+
FinalValidationPassed: z.ZodNullable<z.ZodBoolean>;
|
|
5147
|
+
ValidationBehavior: z.ZodNullable<z.ZodString>;
|
|
5148
|
+
RetryStrategy: z.ZodNullable<z.ZodString>;
|
|
5149
|
+
MaxRetriesConfigured: z.ZodNullable<z.ZodNumber>;
|
|
5150
|
+
FinalValidationError: z.ZodNullable<z.ZodString>;
|
|
5151
|
+
ValidationErrorCount: z.ZodNullable<z.ZodNumber>;
|
|
5152
|
+
CommonValidationError: z.ZodNullable<z.ZodString>;
|
|
5153
|
+
FirstAttemptAt: z.ZodNullable<z.ZodDate>;
|
|
5154
|
+
LastAttemptAt: z.ZodNullable<z.ZodDate>;
|
|
5155
|
+
TotalRetryDurationMS: z.ZodNullable<z.ZodNumber>;
|
|
5156
|
+
ValidationAttempts: z.ZodNullable<z.ZodString>;
|
|
5157
|
+
ValidationSummary: z.ZodNullable<z.ZodString>;
|
|
5137
5158
|
Prompt: z.ZodString;
|
|
5138
5159
|
Model: z.ZodString;
|
|
5139
5160
|
Vendor: z.ZodString;
|
|
@@ -5151,6 +5172,8 @@ export declare const AIPromptRunSchema: z.ZodObject<{
|
|
|
5151
5172
|
ExecutionOrder?: number;
|
|
5152
5173
|
Vendor?: string;
|
|
5153
5174
|
ResponseFormat?: string;
|
|
5175
|
+
ValidationBehavior?: string;
|
|
5176
|
+
RetryStrategy?: string;
|
|
5154
5177
|
Temperature?: number;
|
|
5155
5178
|
TopP?: number;
|
|
5156
5179
|
TopK?: number;
|
|
@@ -5184,6 +5207,19 @@ export declare const AIPromptRunSchema: z.ZodObject<{
|
|
|
5184
5207
|
TokensPromptRollup?: number;
|
|
5185
5208
|
TokensCompletionRollup?: number;
|
|
5186
5209
|
LogProbs?: boolean;
|
|
5210
|
+
DescendantCost?: number;
|
|
5211
|
+
ValidationAttemptCount?: number;
|
|
5212
|
+
SuccessfulValidationCount?: number;
|
|
5213
|
+
FinalValidationPassed?: boolean;
|
|
5214
|
+
MaxRetriesConfigured?: number;
|
|
5215
|
+
FinalValidationError?: string;
|
|
5216
|
+
ValidationErrorCount?: number;
|
|
5217
|
+
CommonValidationError?: string;
|
|
5218
|
+
FirstAttemptAt?: Date;
|
|
5219
|
+
LastAttemptAt?: Date;
|
|
5220
|
+
TotalRetryDurationMS?: number;
|
|
5221
|
+
ValidationAttempts?: string;
|
|
5222
|
+
ValidationSummary?: string;
|
|
5187
5223
|
}, {
|
|
5188
5224
|
ID?: string;
|
|
5189
5225
|
__mj_CreatedAt?: Date;
|
|
@@ -5196,6 +5232,8 @@ export declare const AIPromptRunSchema: z.ZodObject<{
|
|
|
5196
5232
|
ExecutionOrder?: number;
|
|
5197
5233
|
Vendor?: string;
|
|
5198
5234
|
ResponseFormat?: string;
|
|
5235
|
+
ValidationBehavior?: string;
|
|
5236
|
+
RetryStrategy?: string;
|
|
5199
5237
|
Temperature?: number;
|
|
5200
5238
|
TopP?: number;
|
|
5201
5239
|
TopK?: number;
|
|
@@ -5229,6 +5267,19 @@ export declare const AIPromptRunSchema: z.ZodObject<{
|
|
|
5229
5267
|
TokensPromptRollup?: number;
|
|
5230
5268
|
TokensCompletionRollup?: number;
|
|
5231
5269
|
LogProbs?: boolean;
|
|
5270
|
+
DescendantCost?: number;
|
|
5271
|
+
ValidationAttemptCount?: number;
|
|
5272
|
+
SuccessfulValidationCount?: number;
|
|
5273
|
+
FinalValidationPassed?: boolean;
|
|
5274
|
+
MaxRetriesConfigured?: number;
|
|
5275
|
+
FinalValidationError?: string;
|
|
5276
|
+
ValidationErrorCount?: number;
|
|
5277
|
+
CommonValidationError?: string;
|
|
5278
|
+
FirstAttemptAt?: Date;
|
|
5279
|
+
LastAttemptAt?: Date;
|
|
5280
|
+
TotalRetryDurationMS?: number;
|
|
5281
|
+
ValidationAttempts?: string;
|
|
5282
|
+
ValidationSummary?: string;
|
|
5232
5283
|
}>;
|
|
5233
5284
|
export type AIPromptRunEntityType = z.infer<typeof AIPromptRunSchema>;
|
|
5234
5285
|
/**
|
|
@@ -8899,6 +8950,14 @@ export declare class ActionEntity extends BaseEntity<ActionEntityType> {
|
|
|
8899
8950
|
get ParentID(): string | null;
|
|
8900
8951
|
set ParentID(value: string | null);
|
|
8901
8952
|
/**
|
|
8953
|
+
* * Field Name: IconClass
|
|
8954
|
+
* * Display Name: Icon Class
|
|
8955
|
+
* * SQL Data Type: nvarchar(100)
|
|
8956
|
+
* * Description: Font Awesome icon class (e.g., fa-cog, fa-play, fa-search) for visual representation of the action.
|
|
8957
|
+
*/
|
|
8958
|
+
get IconClass(): string | null;
|
|
8959
|
+
set IconClass(value: string | null);
|
|
8960
|
+
/**
|
|
8902
8961
|
* * Field Name: Category
|
|
8903
8962
|
* * Display Name: Category
|
|
8904
8963
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -9800,6 +9859,14 @@ export declare class AIAgentEntity extends BaseEntity<AIAgentEntityType> {
|
|
|
9800
9859
|
get DriverClass(): string | null;
|
|
9801
9860
|
set DriverClass(value: string | null);
|
|
9802
9861
|
/**
|
|
9862
|
+
* * Field Name: IconClass
|
|
9863
|
+
* * Display Name: Icon Class
|
|
9864
|
+
* * SQL Data Type: nvarchar(100)
|
|
9865
|
+
* * 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.
|
|
9866
|
+
*/
|
|
9867
|
+
get IconClass(): string | null;
|
|
9868
|
+
set IconClass(value: string | null);
|
|
9869
|
+
/**
|
|
9803
9870
|
* * Field Name: Parent
|
|
9804
9871
|
* * Display Name: Parent
|
|
9805
9872
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -19476,7 +19543,6 @@ export declare class FileEntity extends BaseEntity<FileEntityType> {
|
|
|
19476
19543
|
* * Schema: __mj
|
|
19477
19544
|
* * Base Table: GeneratedCodeCategory
|
|
19478
19545
|
* * Base View: vwGeneratedCodeCategories
|
|
19479
|
-
* * @description Categorization for generated code, including optional parent-child relationships.
|
|
19480
19546
|
* * Primary Key: ID
|
|
19481
19547
|
* @extends {BaseEntity}
|
|
19482
19548
|
* @class
|
|
@@ -22255,7 +22321,7 @@ export declare class AIPromptRunEntity extends BaseEntity<AIPromptRunEntityType>
|
|
|
22255
22321
|
* * Field Name: TotalCost
|
|
22256
22322
|
* * Display Name: Total Cost
|
|
22257
22323
|
* * SQL Data Type: decimal(18, 6)
|
|
22258
|
-
* * Description: Total cost
|
|
22324
|
+
* * Description: Total cost of this prompt run including its own cost plus all descendant costs. Calculated as Cost + DescendantCost. This value is stored (not computed) for query performance. Currency is specified in CostCurrency field.
|
|
22259
22325
|
*/
|
|
22260
22326
|
get TotalCost(): number | null;
|
|
22261
22327
|
set TotalCost(value: number | null);
|
|
@@ -22460,6 +22526,126 @@ export declare class AIPromptRunEntity extends BaseEntity<AIPromptRunEntityType>
|
|
|
22460
22526
|
get TopLogProbs(): number | null;
|
|
22461
22527
|
set TopLogProbs(value: number | null);
|
|
22462
22528
|
/**
|
|
22529
|
+
* * Field Name: DescendantCost
|
|
22530
|
+
* * Display Name: Descendant Cost
|
|
22531
|
+
* * SQL Data Type: decimal(18, 6)
|
|
22532
|
+
* * 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.
|
|
22533
|
+
*/
|
|
22534
|
+
get DescendantCost(): number | null;
|
|
22535
|
+
set DescendantCost(value: number | null);
|
|
22536
|
+
/**
|
|
22537
|
+
* * Field Name: ValidationAttemptCount
|
|
22538
|
+
* * Display Name: Validation Attempt Count
|
|
22539
|
+
* * SQL Data Type: int
|
|
22540
|
+
* * Description: Total number of validation attempts made (including the initial attempt)
|
|
22541
|
+
*/
|
|
22542
|
+
get ValidationAttemptCount(): number | null;
|
|
22543
|
+
set ValidationAttemptCount(value: number | null);
|
|
22544
|
+
/**
|
|
22545
|
+
* * Field Name: SuccessfulValidationCount
|
|
22546
|
+
* * Display Name: Successful Validation Count
|
|
22547
|
+
* * SQL Data Type: int
|
|
22548
|
+
* * Description: Number of validation attempts that passed validation
|
|
22549
|
+
*/
|
|
22550
|
+
get SuccessfulValidationCount(): number | null;
|
|
22551
|
+
set SuccessfulValidationCount(value: number | null);
|
|
22552
|
+
/**
|
|
22553
|
+
* * Field Name: FinalValidationPassed
|
|
22554
|
+
* * Display Name: Final Validation Passed
|
|
22555
|
+
* * SQL Data Type: bit
|
|
22556
|
+
* * Description: Whether validation ultimately passed (1) or failed (0)
|
|
22557
|
+
*/
|
|
22558
|
+
get FinalValidationPassed(): boolean | null;
|
|
22559
|
+
set FinalValidationPassed(value: boolean | null);
|
|
22560
|
+
/**
|
|
22561
|
+
* * Field Name: ValidationBehavior
|
|
22562
|
+
* * Display Name: Validation Behavior
|
|
22563
|
+
* * SQL Data Type: nvarchar(50)
|
|
22564
|
+
* * Description: Validation behavior used: Strict, Warn, or None
|
|
22565
|
+
*/
|
|
22566
|
+
get ValidationBehavior(): string | null;
|
|
22567
|
+
set ValidationBehavior(value: string | null);
|
|
22568
|
+
/**
|
|
22569
|
+
* * Field Name: RetryStrategy
|
|
22570
|
+
* * Display Name: Retry Strategy
|
|
22571
|
+
* * SQL Data Type: nvarchar(50)
|
|
22572
|
+
* * Description: Retry strategy used: Fixed, Linear, or Exponential
|
|
22573
|
+
*/
|
|
22574
|
+
get RetryStrategy(): string | null;
|
|
22575
|
+
set RetryStrategy(value: string | null);
|
|
22576
|
+
/**
|
|
22577
|
+
* * Field Name: MaxRetriesConfigured
|
|
22578
|
+
* * Display Name: Max Retries Configured
|
|
22579
|
+
* * SQL Data Type: int
|
|
22580
|
+
* * Description: Maximum number of retries configured on the prompt
|
|
22581
|
+
*/
|
|
22582
|
+
get MaxRetriesConfigured(): number | null;
|
|
22583
|
+
set MaxRetriesConfigured(value: number | null);
|
|
22584
|
+
/**
|
|
22585
|
+
* * Field Name: FinalValidationError
|
|
22586
|
+
* * Display Name: Final Validation Error
|
|
22587
|
+
* * SQL Data Type: nvarchar(500)
|
|
22588
|
+
* * Description: The final validation error message if validation failed
|
|
22589
|
+
*/
|
|
22590
|
+
get FinalValidationError(): string | null;
|
|
22591
|
+
set FinalValidationError(value: string | null);
|
|
22592
|
+
/**
|
|
22593
|
+
* * Field Name: ValidationErrorCount
|
|
22594
|
+
* * Display Name: Validation Error Count
|
|
22595
|
+
* * SQL Data Type: int
|
|
22596
|
+
* * Description: Number of validation errors on the final attempt
|
|
22597
|
+
*/
|
|
22598
|
+
get ValidationErrorCount(): number | null;
|
|
22599
|
+
set ValidationErrorCount(value: number | null);
|
|
22600
|
+
/**
|
|
22601
|
+
* * Field Name: CommonValidationError
|
|
22602
|
+
* * Display Name: Common Validation Error
|
|
22603
|
+
* * SQL Data Type: nvarchar(255)
|
|
22604
|
+
* * Description: Most frequent validation error across all attempts
|
|
22605
|
+
*/
|
|
22606
|
+
get CommonValidationError(): string | null;
|
|
22607
|
+
set CommonValidationError(value: string | null);
|
|
22608
|
+
/**
|
|
22609
|
+
* * Field Name: FirstAttemptAt
|
|
22610
|
+
* * Display Name: First Attempt At
|
|
22611
|
+
* * SQL Data Type: datetime
|
|
22612
|
+
* * Description: Timestamp of the first validation attempt
|
|
22613
|
+
*/
|
|
22614
|
+
get FirstAttemptAt(): Date | null;
|
|
22615
|
+
set FirstAttemptAt(value: Date | null);
|
|
22616
|
+
/**
|
|
22617
|
+
* * Field Name: LastAttemptAt
|
|
22618
|
+
* * Display Name: Last Attempt At
|
|
22619
|
+
* * SQL Data Type: datetime
|
|
22620
|
+
* * Description: Timestamp of the last validation attempt
|
|
22621
|
+
*/
|
|
22622
|
+
get LastAttemptAt(): Date | null;
|
|
22623
|
+
set LastAttemptAt(value: Date | null);
|
|
22624
|
+
/**
|
|
22625
|
+
* * Field Name: TotalRetryDurationMS
|
|
22626
|
+
* * Display Name: Total Retry Duration MS
|
|
22627
|
+
* * SQL Data Type: int
|
|
22628
|
+
* * Description: Total time spent on retries in milliseconds (excluding first attempt)
|
|
22629
|
+
*/
|
|
22630
|
+
get TotalRetryDurationMS(): number | null;
|
|
22631
|
+
set TotalRetryDurationMS(value: number | null);
|
|
22632
|
+
/**
|
|
22633
|
+
* * Field Name: ValidationAttempts
|
|
22634
|
+
* * Display Name: Validation Attempts
|
|
22635
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
22636
|
+
* * Description: JSON array containing detailed information about each validation attempt
|
|
22637
|
+
*/
|
|
22638
|
+
get ValidationAttempts(): string | null;
|
|
22639
|
+
set ValidationAttempts(value: string | null);
|
|
22640
|
+
/**
|
|
22641
|
+
* * Field Name: ValidationSummary
|
|
22642
|
+
* * Display Name: Validation Summary
|
|
22643
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
22644
|
+
* * Description: JSON object containing summary information about the validation process
|
|
22645
|
+
*/
|
|
22646
|
+
get ValidationSummary(): string | null;
|
|
22647
|
+
set ValidationSummary(value: string | null);
|
|
22648
|
+
/**
|
|
22463
22649
|
* * Field Name: Prompt
|
|
22464
22650
|
* * Display Name: Prompt
|
|
22465
22651
|
* * SQL Data Type: nvarchar(255)
|