@memberjunction/core-entities 4.0.0 → 4.2.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/generated/entity_subclasses.d.ts +136 -47
- package/dist/generated/entity_subclasses.d.ts.map +1 -1
- package/dist/generated/entity_subclasses.js +399 -94
- package/dist/generated/entity_subclasses.js.map +1 -1
- package/package.json +5 -5
- package/readme.md +420 -132
- package/dist/custom/AIAgentExtended.d.ts +0 -13
- package/dist/custom/AIAgentExtended.d.ts.map +0 -1
- package/dist/custom/AIAgentExtended.js +0 -37
- package/dist/custom/AIAgentExtended.js.map +0 -1
- package/dist/custom/AIAgentRunExtended.d.ts +0 -32
- package/dist/custom/AIAgentRunExtended.d.ts.map +0 -1
- package/dist/custom/AIAgentRunExtended.js +0 -136
- package/dist/custom/AIAgentRunExtended.js.map +0 -1
- package/dist/custom/AIAgentRunStepExtended.d.ts +0 -48
- package/dist/custom/AIAgentRunStepExtended.d.ts.map +0 -1
- package/dist/custom/AIAgentRunStepExtended.js +0 -149
- package/dist/custom/AIAgentRunStepExtended.js.map +0 -1
- package/dist/custom/AIModelExtended.d.ts +0 -14
- package/dist/custom/AIModelExtended.d.ts.map +0 -1
- package/dist/custom/AIModelExtended.js +0 -36
- package/dist/custom/AIModelExtended.js.map +0 -1
- package/dist/custom/AIPromptCategoryExtended.d.ts +0 -7
- package/dist/custom/AIPromptCategoryExtended.d.ts.map +0 -1
- package/dist/custom/AIPromptCategoryExtended.js +0 -26
- package/dist/custom/AIPromptCategoryExtended.js.map +0 -1
- package/dist/custom/AIPromptExtended.d.ts +0 -51
- package/dist/custom/AIPromptExtended.d.ts.map +0 -1
- package/dist/custom/AIPromptExtended.js +0 -169
- package/dist/custom/AIPromptExtended.js.map +0 -1
- package/dist/custom/AIPromptRunEntityExtended.d.ts +0 -47
- package/dist/custom/AIPromptRunEntityExtended.d.ts.map +0 -1
- package/dist/custom/AIPromptRunEntityExtended.js +0 -156
- package/dist/custom/AIPromptRunEntityExtended.js.map +0 -1
- package/dist/custom/TypeTablesCache.d.ts +0 -12
- package/dist/custom/TypeTablesCache.d.ts.map +0 -1
- package/dist/custom/TypeTablesCache.js +0 -31
- package/dist/custom/TypeTablesCache.js.map +0 -1
|
@@ -14187,6 +14187,16 @@ export declare class ActionEntity extends BaseEntity<ActionEntityType> {
|
|
|
14187
14187
|
*/
|
|
14188
14188
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
14189
14189
|
/**
|
|
14190
|
+
* Actions - Delete method override to wrap in transaction since CascadeDeletes is true.
|
|
14191
|
+
* Wrapping in a transaction ensures that all cascade delete operations are handled atomically.
|
|
14192
|
+
* @public
|
|
14193
|
+
* @method
|
|
14194
|
+
* @override
|
|
14195
|
+
* @memberof ActionEntity
|
|
14196
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
14197
|
+
*/
|
|
14198
|
+
Delete(options?: EntityDeleteOptions): Promise<boolean>;
|
|
14199
|
+
/**
|
|
14190
14200
|
* * Field Name: ID
|
|
14191
14201
|
* * Display Name: ID
|
|
14192
14202
|
* * SQL Data Type: uniqueidentifier
|
|
@@ -15491,6 +15501,16 @@ export declare class AIAgentEntity extends BaseEntity<AIAgentEntityType> {
|
|
|
15491
15501
|
*/
|
|
15492
15502
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
15493
15503
|
/**
|
|
15504
|
+
* AI Agents - Delete method override to wrap in transaction since CascadeDeletes is true.
|
|
15505
|
+
* Wrapping in a transaction ensures that all cascade delete operations are handled atomically.
|
|
15506
|
+
* @public
|
|
15507
|
+
* @method
|
|
15508
|
+
* @override
|
|
15509
|
+
* @memberof AIAgentEntity
|
|
15510
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
15511
|
+
*/
|
|
15512
|
+
Delete(options?: EntityDeleteOptions): Promise<boolean>;
|
|
15513
|
+
/**
|
|
15494
15514
|
* Validate() method override for AI Agents entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
15495
15515
|
* * DefaultPromptEffortLevel: This rule ensures that if a default prompt effort level is specified, it must be a number between 1 and 100, inclusive.
|
|
15496
15516
|
* * MaxExecutionsPerRun: This rule ensures that if 'MaxExecutionsPerRun' is provided, it must be a value greater than zero. If it is left blank, that's acceptable.
|
|
@@ -16522,42 +16542,49 @@ export declare class AIModelEntity extends BaseEntity<AIModelEntityType> {
|
|
|
16522
16542
|
* * SQL Data Type: nvarchar(50)
|
|
16523
16543
|
*/
|
|
16524
16544
|
get Vendor(): string | null;
|
|
16545
|
+
set Vendor(value: string | null);
|
|
16525
16546
|
/**
|
|
16526
16547
|
* * Field Name: DriverClass
|
|
16527
16548
|
* * Display Name: Driver Class
|
|
16528
16549
|
* * SQL Data Type: nvarchar(100)
|
|
16529
16550
|
*/
|
|
16530
16551
|
get DriverClass(): string | null;
|
|
16552
|
+
set DriverClass(value: string | null);
|
|
16531
16553
|
/**
|
|
16532
16554
|
* * Field Name: DriverImportPath
|
|
16533
16555
|
* * Display Name: Driver Import Path
|
|
16534
16556
|
* * SQL Data Type: nvarchar(255)
|
|
16535
16557
|
*/
|
|
16536
16558
|
get DriverImportPath(): string | null;
|
|
16559
|
+
set DriverImportPath(value: string | null);
|
|
16537
16560
|
/**
|
|
16538
16561
|
* * Field Name: APIName
|
|
16539
16562
|
* * Display Name: API Name
|
|
16540
16563
|
* * SQL Data Type: nvarchar(100)
|
|
16541
16564
|
*/
|
|
16542
16565
|
get APIName(): string | null;
|
|
16566
|
+
set APIName(value: string | null);
|
|
16543
16567
|
/**
|
|
16544
16568
|
* * Field Name: InputTokenLimit
|
|
16545
16569
|
* * Display Name: Input Token Limit
|
|
16546
16570
|
* * SQL Data Type: int
|
|
16547
16571
|
*/
|
|
16548
16572
|
get InputTokenLimit(): number | null;
|
|
16573
|
+
set InputTokenLimit(value: number | null);
|
|
16549
16574
|
/**
|
|
16550
16575
|
* * Field Name: SupportedResponseFormats
|
|
16551
16576
|
* * Display Name: Supported Response Formats
|
|
16552
16577
|
* * SQL Data Type: nvarchar(100)
|
|
16553
16578
|
*/
|
|
16554
16579
|
get SupportedResponseFormats(): string | null;
|
|
16580
|
+
set SupportedResponseFormats(value: string | null);
|
|
16555
16581
|
/**
|
|
16556
16582
|
* * Field Name: SupportsEffortLevel
|
|
16557
16583
|
* * Display Name: Supports Effort Level
|
|
16558
16584
|
* * SQL Data Type: bit
|
|
16559
16585
|
*/
|
|
16560
16586
|
get SupportsEffortLevel(): boolean | null;
|
|
16587
|
+
set SupportsEffortLevel(value: boolean | null);
|
|
16561
16588
|
}
|
|
16562
16589
|
/**
|
|
16563
16590
|
* AI Prompt Categories - strongly typed entity sub-class
|
|
@@ -16727,6 +16754,16 @@ export declare class AIPromptEntity extends BaseEntity<AIPromptEntityType> {
|
|
|
16727
16754
|
*/
|
|
16728
16755
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
16729
16756
|
/**
|
|
16757
|
+
* AI Prompts - Delete method override to wrap in transaction since CascadeDeletes is true.
|
|
16758
|
+
* Wrapping in a transaction ensures that all cascade delete operations are handled atomically.
|
|
16759
|
+
* @public
|
|
16760
|
+
* @method
|
|
16761
|
+
* @override
|
|
16762
|
+
* @memberof AIPromptEntity
|
|
16763
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
16764
|
+
*/
|
|
16765
|
+
Delete(options?: EntityDeleteOptions): Promise<boolean>;
|
|
16766
|
+
/**
|
|
16730
16767
|
* Validate() method override for AI Prompts entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
16731
16768
|
* * CacheSimilarityThreshold: This rule ensures that the "CacheSimilarityThreshold" value, if provided, must be between 0 and 1 (including both 0 and 1). If it is not set, there is no restriction.
|
|
16732
16769
|
* * CacheTTLSeconds: This rule ensures that if a cache time-to-live (CacheTTLSeconds) value is provided, it must be greater than zero. If it is not set, that's allowed.
|
|
@@ -17498,7 +17535,7 @@ export declare class AIResultCacheEntity extends BaseEntity<AIResultCacheEntityT
|
|
|
17498
17535
|
set PromptEmbedding(value: number | null);
|
|
17499
17536
|
/**
|
|
17500
17537
|
* * Field Name: PromptRunID
|
|
17501
|
-
* * Display Name: Prompt Run
|
|
17538
|
+
* * Display Name: Prompt Run ID
|
|
17502
17539
|
* * SQL Data Type: uniqueidentifier
|
|
17503
17540
|
* * Related Entity/Foreign Key: MJ: AI Prompt Runs (vwAIPromptRuns.ID)
|
|
17504
17541
|
* * Description: Reference to the AIPromptRun that created this cache entry.
|
|
@@ -21040,7 +21077,7 @@ export declare class ConversationEntity extends BaseEntity<ConversationEntityTyp
|
|
|
21040
21077
|
set LinkedEntityID(value: string | null);
|
|
21041
21078
|
/**
|
|
21042
21079
|
* * Field Name: LinkedRecordID
|
|
21043
|
-
* * Display Name: Linked Record
|
|
21080
|
+
* * Display Name: Linked Record
|
|
21044
21081
|
* * SQL Data Type: nvarchar(500)
|
|
21045
21082
|
* * Description: ID of a related record this conversation is about (support ticket, order, etc.).
|
|
21046
21083
|
*/
|
|
@@ -22052,7 +22089,7 @@ export declare class DuplicateRunDetailEntity extends BaseEntity<DuplicateRunDet
|
|
|
22052
22089
|
set ID(value: string);
|
|
22053
22090
|
/**
|
|
22054
22091
|
* * Field Name: DuplicateRunID
|
|
22055
|
-
* * Display Name: Duplicate Run
|
|
22092
|
+
* * Display Name: Duplicate Run
|
|
22056
22093
|
* * SQL Data Type: uniqueidentifier
|
|
22057
22094
|
* * Related Entity/Foreign Key: Duplicate Runs (vwDuplicateRuns.ID)
|
|
22058
22095
|
*/
|
|
@@ -22060,7 +22097,7 @@ export declare class DuplicateRunDetailEntity extends BaseEntity<DuplicateRunDet
|
|
|
22060
22097
|
set DuplicateRunID(value: string);
|
|
22061
22098
|
/**
|
|
22062
22099
|
* * Field Name: RecordID
|
|
22063
|
-
* * Display Name: Record
|
|
22100
|
+
* * Display Name: Record
|
|
22064
22101
|
* * SQL Data Type: nvarchar(500)
|
|
22065
22102
|
* * Description: The ID of the record being analyzed for duplicates.
|
|
22066
22103
|
*/
|
|
@@ -22385,7 +22422,7 @@ export declare class EmployeeCompanyIntegrationEntity extends BaseEntity<Employe
|
|
|
22385
22422
|
get __mj_UpdatedAt(): Date;
|
|
22386
22423
|
/**
|
|
22387
22424
|
* * Field Name: Employee
|
|
22388
|
-
* * Display Name: Employee
|
|
22425
|
+
* * Display Name: Employee Name
|
|
22389
22426
|
* * SQL Data Type: nvarchar(81)
|
|
22390
22427
|
*/
|
|
22391
22428
|
get Employee(): string | null;
|
|
@@ -22460,7 +22497,7 @@ export declare class EmployeeRoleEntity extends BaseEntity<EmployeeRoleEntityTyp
|
|
|
22460
22497
|
get __mj_UpdatedAt(): Date;
|
|
22461
22498
|
/**
|
|
22462
22499
|
* * Field Name: Employee
|
|
22463
|
-
* * Display Name: Employee
|
|
22500
|
+
* * Display Name: Employee Name
|
|
22464
22501
|
* * SQL Data Type: nvarchar(81)
|
|
22465
22502
|
*/
|
|
22466
22503
|
get Employee(): string | null;
|
|
@@ -22535,7 +22572,7 @@ export declare class EmployeeSkillEntity extends BaseEntity<EmployeeSkillEntityT
|
|
|
22535
22572
|
get __mj_UpdatedAt(): Date;
|
|
22536
22573
|
/**
|
|
22537
22574
|
* * Field Name: Employee
|
|
22538
|
-
* * Display Name: Employee
|
|
22575
|
+
* * Display Name: Employee
|
|
22539
22576
|
* * SQL Data Type: nvarchar(81)
|
|
22540
22577
|
*/
|
|
22541
22578
|
get Employee(): string | null;
|
|
@@ -23354,13 +23391,13 @@ export declare class EntityActionFilterEntity extends BaseEntity<EntityActionFil
|
|
|
23354
23391
|
get __mj_UpdatedAt(): Date;
|
|
23355
23392
|
/**
|
|
23356
23393
|
* * Field Name: EntityAction
|
|
23357
|
-
* * Display Name:
|
|
23394
|
+
* * Display Name: Action Name
|
|
23358
23395
|
* * SQL Data Type: nvarchar(425)
|
|
23359
23396
|
*/
|
|
23360
23397
|
get EntityAction(): string;
|
|
23361
23398
|
/**
|
|
23362
23399
|
* * Field Name: ActionFilter
|
|
23363
|
-
* * Display Name:
|
|
23400
|
+
* * Display Name: Filter Name
|
|
23364
23401
|
* * SQL Data Type: nvarchar(MAX)
|
|
23365
23402
|
*/
|
|
23366
23403
|
get ActionFilter(): string;
|
|
@@ -23471,7 +23508,7 @@ export declare class EntityActionInvocationEntity extends BaseEntity<EntityActio
|
|
|
23471
23508
|
set ID(value: string);
|
|
23472
23509
|
/**
|
|
23473
23510
|
* * Field Name: EntityActionID
|
|
23474
|
-
* * Display Name: Entity Action
|
|
23511
|
+
* * Display Name: Entity Action
|
|
23475
23512
|
* * SQL Data Type: uniqueidentifier
|
|
23476
23513
|
* * Related Entity/Foreign Key: Entity Actions (vwEntityActions.ID)
|
|
23477
23514
|
*/
|
|
@@ -23479,7 +23516,7 @@ export declare class EntityActionInvocationEntity extends BaseEntity<EntityActio
|
|
|
23479
23516
|
set EntityActionID(value: string);
|
|
23480
23517
|
/**
|
|
23481
23518
|
* * Field Name: InvocationTypeID
|
|
23482
|
-
* * Display Name: Invocation Type
|
|
23519
|
+
* * Display Name: Invocation Type
|
|
23483
23520
|
* * SQL Data Type: uniqueidentifier
|
|
23484
23521
|
* * Related Entity/Foreign Key: Entity Action Invocation Types (vwEntityActionInvocationTypes.ID)
|
|
23485
23522
|
*/
|
|
@@ -23515,7 +23552,7 @@ export declare class EntityActionInvocationEntity extends BaseEntity<EntityActio
|
|
|
23515
23552
|
get __mj_UpdatedAt(): Date;
|
|
23516
23553
|
/**
|
|
23517
23554
|
* * Field Name: EntityAction
|
|
23518
|
-
* * Display Name:
|
|
23555
|
+
* * Display Name: Action
|
|
23519
23556
|
* * SQL Data Type: nvarchar(425)
|
|
23520
23557
|
*/
|
|
23521
23558
|
get EntityAction(): string;
|
|
@@ -23560,7 +23597,7 @@ export declare class EntityActionParamEntity extends BaseEntity<EntityActionPara
|
|
|
23560
23597
|
set ID(value: string);
|
|
23561
23598
|
/**
|
|
23562
23599
|
* * Field Name: EntityActionID
|
|
23563
|
-
* * Display Name: Entity Action
|
|
23600
|
+
* * Display Name: Entity Action Id
|
|
23564
23601
|
* * SQL Data Type: uniqueidentifier
|
|
23565
23602
|
* * Related Entity/Foreign Key: Entity Actions (vwEntityActions.ID)
|
|
23566
23603
|
*/
|
|
@@ -23568,7 +23605,7 @@ export declare class EntityActionParamEntity extends BaseEntity<EntityActionPara
|
|
|
23568
23605
|
set EntityActionID(value: string);
|
|
23569
23606
|
/**
|
|
23570
23607
|
* * Field Name: ActionParamID
|
|
23571
|
-
* * Display Name: Action Parameter
|
|
23608
|
+
* * Display Name: Action Parameter Id
|
|
23572
23609
|
* * SQL Data Type: uniqueidentifier
|
|
23573
23610
|
* * Related Entity/Foreign Key: Action Params (vwActionParams.ID)
|
|
23574
23611
|
*/
|
|
@@ -23620,7 +23657,7 @@ export declare class EntityActionParamEntity extends BaseEntity<EntityActionPara
|
|
|
23620
23657
|
get __mj_UpdatedAt(): Date;
|
|
23621
23658
|
/**
|
|
23622
23659
|
* * Field Name: EntityAction
|
|
23623
|
-
* * Display Name: Action
|
|
23660
|
+
* * Display Name: Entity Action
|
|
23624
23661
|
* * SQL Data Type: nvarchar(425)
|
|
23625
23662
|
*/
|
|
23626
23663
|
get EntityAction(): string;
|
|
@@ -23931,7 +23968,7 @@ export declare class EntityCommunicationFieldEntity extends BaseEntity<EntityCom
|
|
|
23931
23968
|
set ID(value: string);
|
|
23932
23969
|
/**
|
|
23933
23970
|
* * Field Name: EntityCommunicationMessageTypeID
|
|
23934
|
-
* * Display Name:
|
|
23971
|
+
* * Display Name: Message Type ID
|
|
23935
23972
|
* * SQL Data Type: uniqueidentifier
|
|
23936
23973
|
* * Related Entity/Foreign Key: Entity Communication Message Types (vwEntityCommunicationMessageTypes.ID)
|
|
23937
23974
|
*/
|
|
@@ -25986,7 +26023,7 @@ export declare class ErrorLogEntity extends BaseEntity<ErrorLogEntityType> {
|
|
|
25986
26023
|
set CompanyIntegrationRunDetailID(value: string | null);
|
|
25987
26024
|
/**
|
|
25988
26025
|
* * Field Name: Code
|
|
25989
|
-
* * Display Name: Code
|
|
26026
|
+
* * Display Name: Error Code
|
|
25990
26027
|
* * SQL Data Type: nchar(20)
|
|
25991
26028
|
* * Description: Error code for categorizing and handling specific error types.
|
|
25992
26029
|
*/
|
|
@@ -26900,6 +26937,7 @@ export declare class IntegrationURLFormatEntity extends BaseEntity<IntegrationUR
|
|
|
26900
26937
|
set EntityID(value: string);
|
|
26901
26938
|
/**
|
|
26902
26939
|
* * Field Name: URLFormat
|
|
26940
|
+
* * Display Name: URL Format
|
|
26903
26941
|
* * SQL Data Type: nvarchar(500)
|
|
26904
26942
|
* * Description: The URL Format for the given integration including the ability to include markup with fields from the integration
|
|
26905
26943
|
*/
|
|
@@ -29266,6 +29304,16 @@ export declare class AIAgentRunStepEntity extends BaseEntity<AIAgentRunStepEntit
|
|
|
29266
29304
|
*/
|
|
29267
29305
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
29268
29306
|
/**
|
|
29307
|
+
* MJ: AI Agent Run Steps - Delete method override to wrap in transaction since CascadeDeletes is true.
|
|
29308
|
+
* Wrapping in a transaction ensures that all cascade delete operations are handled atomically.
|
|
29309
|
+
* @public
|
|
29310
|
+
* @method
|
|
29311
|
+
* @override
|
|
29312
|
+
* @memberof AIAgentRunStepEntity
|
|
29313
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
29314
|
+
*/
|
|
29315
|
+
Delete(options?: EntityDeleteOptions): Promise<boolean>;
|
|
29316
|
+
/**
|
|
29269
29317
|
* Validate() method override for MJ: AI Agent Run Steps entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
29270
29318
|
* * FinalPayloadValidationResult: The FinalPayloadValidationResult field can be empty, but if a value is set it must be one of the allowed outcomes: Warn, Fail, Retry, or Pass. This ensures that only valid validation results are stored.
|
|
29271
29319
|
* * StepNumber: This rule ensures that the step number must be greater than zero.
|
|
@@ -29505,7 +29553,7 @@ detailed information about what validation rules failed.
|
|
|
29505
29553
|
get AgentRun(): string | null;
|
|
29506
29554
|
/**
|
|
29507
29555
|
* * Field Name: Parent
|
|
29508
|
-
* * Display Name: Parent
|
|
29556
|
+
* * Display Name: Parent
|
|
29509
29557
|
* * SQL Data Type: nvarchar(255)
|
|
29510
29558
|
*/
|
|
29511
29559
|
get Parent(): string | null;
|
|
@@ -29541,6 +29589,16 @@ export declare class AIAgentRunEntity extends BaseEntity<AIAgentRunEntityType> {
|
|
|
29541
29589
|
*/
|
|
29542
29590
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
29543
29591
|
/**
|
|
29592
|
+
* MJ: AI Agent Runs - Delete method override to wrap in transaction since CascadeDeletes is true.
|
|
29593
|
+
* Wrapping in a transaction ensures that all cascade delete operations are handled atomically.
|
|
29594
|
+
* @public
|
|
29595
|
+
* @method
|
|
29596
|
+
* @override
|
|
29597
|
+
* @memberof AIAgentRunEntity
|
|
29598
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
29599
|
+
*/
|
|
29600
|
+
Delete(options?: EntityDeleteOptions): Promise<boolean>;
|
|
29601
|
+
/**
|
|
29544
29602
|
* Validate() method override for MJ: AI Agent Runs entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
29545
29603
|
* * EffortLevel: This rule ensures that the effort level, if specified, must be a number between 1 and 100, inclusive.
|
|
29546
29604
|
* * FinalStep: The FinalStep field can be left empty, but if a value is provided it must be one of the approved step names – While, ForEach, Chat, Sub-Agent, Actions, Retry, Failed, or Success. This ensures only valid workflow steps are recorded.
|
|
@@ -30187,6 +30245,16 @@ export declare class AIAgentStepEntity extends BaseEntity<AIAgentStepEntityType>
|
|
|
30187
30245
|
*/
|
|
30188
30246
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
30189
30247
|
/**
|
|
30248
|
+
* MJ: AI Agent Steps - Delete method override to wrap in transaction since CascadeDeletes is true.
|
|
30249
|
+
* Wrapping in a transaction ensures that all cascade delete operations are handled atomically.
|
|
30250
|
+
* @public
|
|
30251
|
+
* @method
|
|
30252
|
+
* @override
|
|
30253
|
+
* @memberof AIAgentStepEntity
|
|
30254
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
30255
|
+
*/
|
|
30256
|
+
Delete(options?: EntityDeleteOptions): Promise<boolean>;
|
|
30257
|
+
/**
|
|
30190
30258
|
* Validate() method override for MJ: AI Agent Steps entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
30191
30259
|
* * RetryCount: This rule ensures that the number of retries allowed cannot be negative.
|
|
30192
30260
|
* * TimeoutSeconds: This rule ensures that, if provided, the timeout value must be greater than zero seconds.
|
|
@@ -30817,6 +30885,16 @@ export declare class AIConfigurationEntity extends BaseEntity<AIConfigurationEnt
|
|
|
30817
30885
|
*/
|
|
30818
30886
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
30819
30887
|
/**
|
|
30888
|
+
* MJ: AI Configurations - Delete method override to wrap in transaction since CascadeDeletes is true.
|
|
30889
|
+
* Wrapping in a transaction ensures that all cascade delete operations are handled atomically.
|
|
30890
|
+
* @public
|
|
30891
|
+
* @method
|
|
30892
|
+
* @override
|
|
30893
|
+
* @memberof AIConfigurationEntity
|
|
30894
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
30895
|
+
*/
|
|
30896
|
+
Delete(options?: EntityDeleteOptions): Promise<boolean>;
|
|
30897
|
+
/**
|
|
30820
30898
|
* * Field Name: ID
|
|
30821
30899
|
* * Display Name: ID
|
|
30822
30900
|
* * SQL Data Type: uniqueidentifier
|
|
@@ -32526,6 +32604,16 @@ export declare class AIPromptRunEntity extends BaseEntity<AIPromptRunEntityType>
|
|
|
32526
32604
|
*/
|
|
32527
32605
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
32528
32606
|
/**
|
|
32607
|
+
* MJ: AI Prompt Runs - Delete method override to wrap in transaction since CascadeDeletes is true.
|
|
32608
|
+
* Wrapping in a transaction ensures that all cascade delete operations are handled atomically.
|
|
32609
|
+
* @public
|
|
32610
|
+
* @method
|
|
32611
|
+
* @override
|
|
32612
|
+
* @memberof AIPromptRunEntity
|
|
32613
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
32614
|
+
*/
|
|
32615
|
+
Delete(options?: EntityDeleteOptions): Promise<boolean>;
|
|
32616
|
+
/**
|
|
32529
32617
|
* Validate() method override for MJ: AI Prompt Runs entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
32530
32618
|
* * EffortLevel: This rule ensures that if an effort level is provided, it must be between 1 and 100, inclusive.
|
|
32531
32619
|
* * Table-Level: This rule ensures that if the 'CompletedAt' date is provided, it must be the same as or later than the 'RunAt' date. If 'CompletedAt' is not specified, there is no restriction.
|
|
@@ -36591,7 +36679,7 @@ export declare class ConversationDetailArtifactEntity extends BaseEntity<Convers
|
|
|
36591
36679
|
get __mj_UpdatedAt(): Date;
|
|
36592
36680
|
/**
|
|
36593
36681
|
* * Field Name: ConversationDetail
|
|
36594
|
-
* * Display Name: Conversation
|
|
36682
|
+
* * Display Name: Conversation Text
|
|
36595
36683
|
* * SQL Data Type: nvarchar(MAX)
|
|
36596
36684
|
*/
|
|
36597
36685
|
get ConversationDetail(): string;
|
|
@@ -36886,7 +36974,7 @@ export declare class ConversationDetailRatingEntity extends BaseEntity<Conversat
|
|
|
36886
36974
|
get __mj_UpdatedAt(): Date;
|
|
36887
36975
|
/**
|
|
36888
36976
|
* * Field Name: ConversationDetail
|
|
36889
|
-
* * Display Name: Conversation
|
|
36977
|
+
* * Display Name: Conversation Message
|
|
36890
36978
|
* * SQL Data Type: nvarchar(MAX)
|
|
36891
36979
|
*/
|
|
36892
36980
|
get ConversationDetail(): string;
|
|
@@ -41811,7 +41899,7 @@ export declare class TaskEntity extends BaseEntity<TaskEntityType> {
|
|
|
41811
41899
|
set ID(value: string);
|
|
41812
41900
|
/**
|
|
41813
41901
|
* * Field Name: ParentID
|
|
41814
|
-
* * Display Name: Parent
|
|
41902
|
+
* * Display Name: Parent ID
|
|
41815
41903
|
* * SQL Data Type: uniqueidentifier
|
|
41816
41904
|
* * Related Entity/Foreign Key: MJ: Tasks (vwTasks.ID)
|
|
41817
41905
|
*/
|
|
@@ -41835,7 +41923,7 @@ export declare class TaskEntity extends BaseEntity<TaskEntityType> {
|
|
|
41835
41923
|
set Description(value: string | null);
|
|
41836
41924
|
/**
|
|
41837
41925
|
* * Field Name: TypeID
|
|
41838
|
-
* * Display Name: Type
|
|
41926
|
+
* * Display Name: Type ID
|
|
41839
41927
|
* * SQL Data Type: uniqueidentifier
|
|
41840
41928
|
* * Related Entity/Foreign Key: MJ: Task Types (vwTaskTypes.ID)
|
|
41841
41929
|
*/
|
|
@@ -41843,7 +41931,7 @@ export declare class TaskEntity extends BaseEntity<TaskEntityType> {
|
|
|
41843
41931
|
set TypeID(value: string);
|
|
41844
41932
|
/**
|
|
41845
41933
|
* * Field Name: EnvironmentID
|
|
41846
|
-
* * Display Name: Environment
|
|
41934
|
+
* * Display Name: Environment ID
|
|
41847
41935
|
* * SQL Data Type: uniqueidentifier
|
|
41848
41936
|
* * Related Entity/Foreign Key: MJ: Environments (vwEnvironments.ID)
|
|
41849
41937
|
* * Default Value: F51358F3-9447-4176-B313-BF8025FD8D09
|
|
@@ -41852,7 +41940,7 @@ export declare class TaskEntity extends BaseEntity<TaskEntityType> {
|
|
|
41852
41940
|
set EnvironmentID(value: string);
|
|
41853
41941
|
/**
|
|
41854
41942
|
* * Field Name: ProjectID
|
|
41855
|
-
* * Display Name: Project
|
|
41943
|
+
* * Display Name: Project ID
|
|
41856
41944
|
* * SQL Data Type: uniqueidentifier
|
|
41857
41945
|
* * Related Entity/Foreign Key: MJ: Projects (vwProjects.ID)
|
|
41858
41946
|
*/
|
|
@@ -41860,7 +41948,7 @@ export declare class TaskEntity extends BaseEntity<TaskEntityType> {
|
|
|
41860
41948
|
set ProjectID(value: string | null);
|
|
41861
41949
|
/**
|
|
41862
41950
|
* * Field Name: ConversationDetailID
|
|
41863
|
-
* * Display Name: Conversation Detail
|
|
41951
|
+
* * Display Name: Conversation Detail ID
|
|
41864
41952
|
* * SQL Data Type: uniqueidentifier
|
|
41865
41953
|
* * Related Entity/Foreign Key: Conversation Details (vwConversationDetails.ID)
|
|
41866
41954
|
*/
|
|
@@ -41868,7 +41956,7 @@ export declare class TaskEntity extends BaseEntity<TaskEntityType> {
|
|
|
41868
41956
|
set ConversationDetailID(value: string | null);
|
|
41869
41957
|
/**
|
|
41870
41958
|
* * Field Name: UserID
|
|
41871
|
-
* * Display Name: User
|
|
41959
|
+
* * Display Name: User ID
|
|
41872
41960
|
* * SQL Data Type: uniqueidentifier
|
|
41873
41961
|
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
41874
41962
|
*/
|
|
@@ -41876,7 +41964,7 @@ export declare class TaskEntity extends BaseEntity<TaskEntityType> {
|
|
|
41876
41964
|
set UserID(value: string | null);
|
|
41877
41965
|
/**
|
|
41878
41966
|
* * Field Name: AgentID
|
|
41879
|
-
* * Display Name: Agent
|
|
41967
|
+
* * Display Name: Agent ID
|
|
41880
41968
|
* * SQL Data Type: uniqueidentifier
|
|
41881
41969
|
* * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
|
|
41882
41970
|
*/
|
|
@@ -41949,25 +42037,25 @@ export declare class TaskEntity extends BaseEntity<TaskEntityType> {
|
|
|
41949
42037
|
get __mj_UpdatedAt(): Date;
|
|
41950
42038
|
/**
|
|
41951
42039
|
* * Field Name: Parent
|
|
41952
|
-
* * Display Name: Parent
|
|
42040
|
+
* * Display Name: Parent Name
|
|
41953
42041
|
* * SQL Data Type: nvarchar(255)
|
|
41954
42042
|
*/
|
|
41955
42043
|
get Parent(): string | null;
|
|
41956
42044
|
/**
|
|
41957
42045
|
* * Field Name: Type
|
|
41958
|
-
* * Display Name: Type
|
|
42046
|
+
* * Display Name: Type Name
|
|
41959
42047
|
* * SQL Data Type: nvarchar(255)
|
|
41960
42048
|
*/
|
|
41961
42049
|
get Type(): string;
|
|
41962
42050
|
/**
|
|
41963
42051
|
* * Field Name: Environment
|
|
41964
|
-
* * Display Name: Environment
|
|
42052
|
+
* * Display Name: Environment Name
|
|
41965
42053
|
* * SQL Data Type: nvarchar(255)
|
|
41966
42054
|
*/
|
|
41967
42055
|
get Environment(): string;
|
|
41968
42056
|
/**
|
|
41969
42057
|
* * Field Name: Project
|
|
41970
|
-
* * Display Name: Project
|
|
42058
|
+
* * Display Name: Project Name
|
|
41971
42059
|
* * SQL Data Type: nvarchar(255)
|
|
41972
42060
|
*/
|
|
41973
42061
|
get Project(): string | null;
|
|
@@ -41979,19 +42067,19 @@ export declare class TaskEntity extends BaseEntity<TaskEntityType> {
|
|
|
41979
42067
|
get ConversationDetail(): string | null;
|
|
41980
42068
|
/**
|
|
41981
42069
|
* * Field Name: User
|
|
41982
|
-
* * Display Name: User
|
|
42070
|
+
* * Display Name: User Name
|
|
41983
42071
|
* * SQL Data Type: nvarchar(100)
|
|
41984
42072
|
*/
|
|
41985
42073
|
get User(): string | null;
|
|
41986
42074
|
/**
|
|
41987
42075
|
* * Field Name: Agent
|
|
41988
|
-
* * Display Name: Agent
|
|
42076
|
+
* * Display Name: Agent Name
|
|
41989
42077
|
* * SQL Data Type: nvarchar(255)
|
|
41990
42078
|
*/
|
|
41991
42079
|
get Agent(): string | null;
|
|
41992
42080
|
/**
|
|
41993
42081
|
* * Field Name: RootParentID
|
|
41994
|
-
* * Display Name: Root Parent
|
|
42082
|
+
* * Display Name: Root Parent ID
|
|
41995
42083
|
* * SQL Data Type: uniqueidentifier
|
|
41996
42084
|
*/
|
|
41997
42085
|
get RootParentID(): string | null;
|
|
@@ -45480,7 +45568,7 @@ export declare class RecommendationItemEntity extends BaseEntity<RecommendationI
|
|
|
45480
45568
|
set ID(value: string);
|
|
45481
45569
|
/**
|
|
45482
45570
|
* * Field Name: RecommendationID
|
|
45483
|
-
* * Display Name: Recommendation
|
|
45571
|
+
* * Display Name: Recommendation
|
|
45484
45572
|
* * SQL Data Type: uniqueidentifier
|
|
45485
45573
|
* * Related Entity/Foreign Key: Recommendations (vwRecommendations.ID)
|
|
45486
45574
|
*/
|
|
@@ -45488,7 +45576,7 @@ export declare class RecommendationItemEntity extends BaseEntity<RecommendationI
|
|
|
45488
45576
|
set RecommendationID(value: string);
|
|
45489
45577
|
/**
|
|
45490
45578
|
* * Field Name: DestinationEntityID
|
|
45491
|
-
* * Display Name: Destination Entity
|
|
45579
|
+
* * Display Name: Destination Entity
|
|
45492
45580
|
* * SQL Data Type: uniqueidentifier
|
|
45493
45581
|
* * Related Entity/Foreign Key: Entities (vwEntities.ID)
|
|
45494
45582
|
*/
|
|
@@ -45496,7 +45584,7 @@ export declare class RecommendationItemEntity extends BaseEntity<RecommendationI
|
|
|
45496
45584
|
set DestinationEntityID(value: string);
|
|
45497
45585
|
/**
|
|
45498
45586
|
* * Field Name: DestinationEntityRecordID
|
|
45499
|
-
* * Display Name: Destination
|
|
45587
|
+
* * Display Name: Destination Record ID
|
|
45500
45588
|
* * SQL Data Type: nvarchar(450)
|
|
45501
45589
|
* * Description: The record ID of the destination entity
|
|
45502
45590
|
*/
|
|
@@ -45761,7 +45849,7 @@ export declare class RecommendationEntity extends BaseEntity<RecommendationEntit
|
|
|
45761
45849
|
set SourceEntityID(value: string);
|
|
45762
45850
|
/**
|
|
45763
45851
|
* * Field Name: SourceEntityRecordID
|
|
45764
|
-
* * Display Name: Source Record ID
|
|
45852
|
+
* * Display Name: Source Entity Record ID
|
|
45765
45853
|
* * SQL Data Type: nvarchar(MAX)
|
|
45766
45854
|
* * Description: The record ID of the source entity
|
|
45767
45855
|
*/
|
|
@@ -45783,7 +45871,7 @@ export declare class RecommendationEntity extends BaseEntity<RecommendationEntit
|
|
|
45783
45871
|
get __mj_UpdatedAt(): Date;
|
|
45784
45872
|
/**
|
|
45785
45873
|
* * Field Name: RecommendationRun
|
|
45786
|
-
* * Display Name:
|
|
45874
|
+
* * Display Name: Run
|
|
45787
45875
|
* * SQL Data Type: nvarchar(255)
|
|
45788
45876
|
*/
|
|
45789
45877
|
get RecommendationRun(): string;
|
|
@@ -45919,7 +46007,7 @@ export declare class RecordChangeEntity extends BaseEntity<RecordChangeEntityTyp
|
|
|
45919
46007
|
set ID(value: string);
|
|
45920
46008
|
/**
|
|
45921
46009
|
* * Field Name: EntityID
|
|
45922
|
-
* * Display Name: Entity
|
|
46010
|
+
* * Display Name: Entity ID
|
|
45923
46011
|
* * SQL Data Type: uniqueidentifier
|
|
45924
46012
|
* * Related Entity/Foreign Key: Entities (vwEntities.ID)
|
|
45925
46013
|
*/
|
|
@@ -45935,7 +46023,7 @@ export declare class RecordChangeEntity extends BaseEntity<RecordChangeEntityTyp
|
|
|
45935
46023
|
set RecordID(value: string);
|
|
45936
46024
|
/**
|
|
45937
46025
|
* * Field Name: UserID
|
|
45938
|
-
* * Display Name: User
|
|
46026
|
+
* * Display Name: User ID
|
|
45939
46027
|
* * SQL Data Type: uniqueidentifier
|
|
45940
46028
|
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
45941
46029
|
*/
|
|
@@ -46026,7 +46114,7 @@ export declare class RecordChangeEntity extends BaseEntity<RecordChangeEntityTyp
|
|
|
46026
46114
|
set ErrorLog(value: string | null);
|
|
46027
46115
|
/**
|
|
46028
46116
|
* * Field Name: ReplayRunID
|
|
46029
|
-
* * Display Name: Replay Run
|
|
46117
|
+
* * Display Name: Replay Run ID
|
|
46030
46118
|
* * SQL Data Type: uniqueidentifier
|
|
46031
46119
|
* * Related Entity/Foreign Key: Record Change Replay Runs (vwRecordChangeReplayRuns.ID)
|
|
46032
46120
|
*/
|
|
@@ -46034,7 +46122,7 @@ export declare class RecordChangeEntity extends BaseEntity<RecordChangeEntityTyp
|
|
|
46034
46122
|
set ReplayRunID(value: string | null);
|
|
46035
46123
|
/**
|
|
46036
46124
|
* * Field Name: IntegrationID
|
|
46037
|
-
* * Display Name: Integration
|
|
46125
|
+
* * Display Name: Integration ID
|
|
46038
46126
|
* * SQL Data Type: uniqueidentifier
|
|
46039
46127
|
* * Related Entity/Foreign Key: Integrations (vwIntegrations.ID)
|
|
46040
46128
|
*/
|
|
@@ -46122,7 +46210,7 @@ export declare class RecordMergeDeletionLogEntity extends BaseEntity<RecordMerge
|
|
|
46122
46210
|
set ID(value: string);
|
|
46123
46211
|
/**
|
|
46124
46212
|
* * Field Name: RecordMergeLogID
|
|
46125
|
-
* * Display Name: Record Merge Log
|
|
46213
|
+
* * Display Name: Record Merge Log
|
|
46126
46214
|
* * SQL Data Type: uniqueidentifier
|
|
46127
46215
|
* * Related Entity/Foreign Key: Record Merge Logs (vwRecordMergeLogs.ID)
|
|
46128
46216
|
*/
|
|
@@ -47203,6 +47291,7 @@ export declare class RoleEntity extends BaseEntity<RoleEntityType> {
|
|
|
47203
47291
|
set DirectoryID(value: string | null);
|
|
47204
47292
|
/**
|
|
47205
47293
|
* * Field Name: SQLName
|
|
47294
|
+
* * Display Name: SQL Name
|
|
47206
47295
|
* * SQL Data Type: nvarchar(250)
|
|
47207
47296
|
* * Description: The name of the role in the database, this is used for auto-generating permission statements by CodeGen
|
|
47208
47297
|
*/
|
|
@@ -48291,7 +48380,7 @@ export declare class TemplateParamEntity extends BaseEntity<TemplateParamEntityT
|
|
|
48291
48380
|
set IsRequired(value: boolean);
|
|
48292
48381
|
/**
|
|
48293
48382
|
* * Field Name: LinkedParameterName
|
|
48294
|
-
* * Display Name: Linked Parameter
|
|
48383
|
+
* * Display Name: Linked Parameter Name
|
|
48295
48384
|
* * SQL Data Type: nvarchar(255)
|
|
48296
48385
|
* * Description: Only used when Type=Entity, this is used to link an Entity parameter with another parameter so that the rows in the Entity parameter can be filtered automatically based on the FKEY relationship between the Record and this Entity parameter. For example, if the Entity-based parameter is for an entity like Activities and there is another parameter of type Record for an entity like Contacts, in that situation the Activities Parameter would point to the Contacts parameter as the LinkedParameterName because we would filter down the Activities in each template render to only those linked to the Contact.
|
|
48297
48386
|
*/
|
|
@@ -48323,7 +48412,7 @@ export declare class TemplateParamEntity extends BaseEntity<TemplateParamEntityT
|
|
|
48323
48412
|
set EntityID(value: string | null);
|
|
48324
48413
|
/**
|
|
48325
48414
|
* * Field Name: RecordID
|
|
48326
|
-
* * Display Name: Record
|
|
48415
|
+
* * Display Name: Record
|
|
48327
48416
|
* * SQL Data Type: nvarchar(2000)
|
|
48328
48417
|
* * Description: Record ID, used only when Type is Record and a specific hardcoded record ID is desired, this is an uncommon use case, helpful for pulling in static types and metadata in some cases.
|
|
48329
48418
|
*/
|
|
@@ -48353,7 +48442,7 @@ export declare class TemplateParamEntity extends BaseEntity<TemplateParamEntityT
|
|
|
48353
48442
|
set OrderBy(value: string | null);
|
|
48354
48443
|
/**
|
|
48355
48444
|
* * Field Name: TemplateContentID
|
|
48356
|
-
* * Display Name: Template Content
|
|
48445
|
+
* * Display Name: Template Content ID
|
|
48357
48446
|
* * SQL Data Type: uniqueidentifier
|
|
48358
48447
|
* * Related Entity/Foreign Key: Template Contents (vwTemplateContents.ID)
|
|
48359
48448
|
* * Description: Optional reference to a specific template content. When NULL, this parameter applies to all content items within the template. When set, this parameter applies only to the specified template content.
|