@memberjunction/core-entities 2.76.0 → 2.77.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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseEntity, ValidationResult } from "@memberjunction/core";
|
|
1
|
+
import { BaseEntity, EntityDeleteOptions, ValidationResult } from "@memberjunction/core";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
export declare const loadModule: () => void;
|
|
4
4
|
/**
|
|
@@ -14708,6 +14708,16 @@ export declare class ConversationDetailEntity extends BaseEntity<ConversationDet
|
|
|
14708
14708
|
*/
|
|
14709
14709
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
14710
14710
|
/**
|
|
14711
|
+
* Conversation Details - Delete method override to wrap in transaction since CascadeDeletes is true.
|
|
14712
|
+
* Wrapping in a transaction ensures that all cascade delete operations are handled atomically.
|
|
14713
|
+
* @public
|
|
14714
|
+
* @method
|
|
14715
|
+
* @override
|
|
14716
|
+
* @memberof ConversationDetailEntity
|
|
14717
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
14718
|
+
*/
|
|
14719
|
+
Delete(options?: EntityDeleteOptions): Promise<boolean>;
|
|
14720
|
+
/**
|
|
14711
14721
|
* Validate() method override for Conversation Details entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
14712
14722
|
* * UserRating: This rule ensures that the user rating is between 1 and 10, inclusive. Ratings below 1 or above 10 are not allowed.
|
|
14713
14723
|
* @public
|
|
@@ -14910,6 +14920,16 @@ export declare class ConversationEntity extends BaseEntity<ConversationEntityTyp
|
|
|
14910
14920
|
*/
|
|
14911
14921
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
14912
14922
|
/**
|
|
14923
|
+
* Conversations - Delete method override to wrap in transaction since CascadeDeletes is true.
|
|
14924
|
+
* Wrapping in a transaction ensures that all cascade delete operations are handled atomically.
|
|
14925
|
+
* @public
|
|
14926
|
+
* @method
|
|
14927
|
+
* @override
|
|
14928
|
+
* @memberof ConversationEntity
|
|
14929
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
14930
|
+
*/
|
|
14931
|
+
Delete(options?: EntityDeleteOptions): Promise<boolean>;
|
|
14932
|
+
/**
|
|
14913
14933
|
* * Field Name: ID
|
|
14914
14934
|
* * Display Name: ID
|
|
14915
14935
|
* * SQL Data Type: uniqueidentifier
|
|
@@ -24399,6 +24419,16 @@ export declare class ConversationArtifactVersionEntity extends BaseEntity<Conver
|
|
|
24399
24419
|
*/
|
|
24400
24420
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
24401
24421
|
/**
|
|
24422
|
+
* MJ: Conversation Artifact Versions - Delete method override to wrap in transaction since CascadeDeletes is true.
|
|
24423
|
+
* Wrapping in a transaction ensures that all cascade delete operations are handled atomically.
|
|
24424
|
+
* @public
|
|
24425
|
+
* @method
|
|
24426
|
+
* @override
|
|
24427
|
+
* @memberof ConversationArtifactVersionEntity
|
|
24428
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
24429
|
+
*/
|
|
24430
|
+
Delete(options?: EntityDeleteOptions): Promise<boolean>;
|
|
24431
|
+
/**
|
|
24402
24432
|
* Validate() method override for MJ: Conversation Artifact Versions entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
24403
24433
|
* * Version: This rule ensures that the version number must be greater than zero.
|
|
24404
24434
|
* @public
|
|
@@ -24508,6 +24538,16 @@ export declare class ConversationArtifactEntity extends BaseEntity<ConversationA
|
|
|
24508
24538
|
*/
|
|
24509
24539
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
24510
24540
|
/**
|
|
24541
|
+
* MJ: Conversation Artifacts - Delete method override to wrap in transaction since CascadeDeletes is true.
|
|
24542
|
+
* Wrapping in a transaction ensures that all cascade delete operations are handled atomically.
|
|
24543
|
+
* @public
|
|
24544
|
+
* @method
|
|
24545
|
+
* @override
|
|
24546
|
+
* @memberof ConversationArtifactEntity
|
|
24547
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
24548
|
+
*/
|
|
24549
|
+
Delete(options?: EntityDeleteOptions): Promise<boolean>;
|
|
24550
|
+
/**
|
|
24511
24551
|
* * Field Name: ID
|
|
24512
24552
|
* * Display Name: ID
|
|
24513
24553
|
* * SQL Data Type: uniqueidentifier
|
|
@@ -27411,6 +27451,16 @@ export declare class ReportEntity extends BaseEntity<ReportEntityType> {
|
|
|
27411
27451
|
*/
|
|
27412
27452
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
27413
27453
|
/**
|
|
27454
|
+
* Reports - Delete method override to wrap in transaction since CascadeDeletes is true.
|
|
27455
|
+
* Wrapping in a transaction ensures that all cascade delete operations are handled atomically.
|
|
27456
|
+
* @public
|
|
27457
|
+
* @method
|
|
27458
|
+
* @override
|
|
27459
|
+
* @memberof ReportEntity
|
|
27460
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
27461
|
+
*/
|
|
27462
|
+
Delete(options?: EntityDeleteOptions): Promise<boolean>;
|
|
27463
|
+
/**
|
|
27414
27464
|
* * Field Name: ID
|
|
27415
27465
|
* * Display Name: ID
|
|
27416
27466
|
* * SQL Data Type: uniqueidentifier
|