@memberjunction/core-entities 2.102.0 → 2.104.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/custom/EnvironmentEntityExtended.d.ts +12 -0
- package/dist/custom/EnvironmentEntityExtended.d.ts.map +1 -0
- package/dist/custom/EnvironmentEntityExtended.js +29 -0
- package/dist/custom/EnvironmentEntityExtended.js.map +1 -0
- package/dist/generated/entity_subclasses.d.ts +281 -0
- package/dist/generated/entity_subclasses.d.ts.map +1 -1
- package/dist/generated/entity_subclasses.js +411 -7
- package/dist/generated/entity_subclasses.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EnvironmentEntity } from "../generated/entity_subclasses";
|
|
2
|
+
export declare class EnvironmentEntityExtended extends EnvironmentEntity {
|
|
3
|
+
/**
|
|
4
|
+
* The default environment ID for MemberJunction. This is the standard environment
|
|
5
|
+
* that is used throughout the system when no specific environment is specified.
|
|
6
|
+
* This value is stable and can be relied upon across all MJ installations.
|
|
7
|
+
*
|
|
8
|
+
* @returns {string} The UUID of the default environment: 'F51358F3-9447-4176-B313-BF8025FD8D09'
|
|
9
|
+
*/
|
|
10
|
+
static get DefaultEnvironmentID(): string;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=EnvironmentEntityExtended.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EnvironmentEntityExtended.d.ts","sourceRoot":"","sources":["../../src/custom/EnvironmentEntityExtended.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAEnE,qBACa,yBAA0B,SAAQ,iBAAiB;IAC5D;;;;;;OAMG;IACH,WAAkB,oBAAoB,IAAI,MAAM,CAE/C;CACJ"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.EnvironmentEntityExtended = void 0;
|
|
10
|
+
const core_1 = require("@memberjunction/core");
|
|
11
|
+
const global_1 = require("@memberjunction/global");
|
|
12
|
+
const entity_subclasses_1 = require("../generated/entity_subclasses");
|
|
13
|
+
let EnvironmentEntityExtended = class EnvironmentEntityExtended extends entity_subclasses_1.EnvironmentEntity {
|
|
14
|
+
/**
|
|
15
|
+
* The default environment ID for MemberJunction. This is the standard environment
|
|
16
|
+
* that is used throughout the system when no specific environment is specified.
|
|
17
|
+
* This value is stable and can be relied upon across all MJ installations.
|
|
18
|
+
*
|
|
19
|
+
* @returns {string} The UUID of the default environment: 'F51358F3-9447-4176-B313-BF8025FD8D09'
|
|
20
|
+
*/
|
|
21
|
+
static get DefaultEnvironmentID() {
|
|
22
|
+
return 'F51358F3-9447-4176-B313-BF8025FD8D09';
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
exports.EnvironmentEntityExtended = EnvironmentEntityExtended;
|
|
26
|
+
exports.EnvironmentEntityExtended = EnvironmentEntityExtended = __decorate([
|
|
27
|
+
(0, global_1.RegisterClass)(core_1.BaseEntity, 'MJ: Environments')
|
|
28
|
+
], EnvironmentEntityExtended);
|
|
29
|
+
//# sourceMappingURL=EnvironmentEntityExtended.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EnvironmentEntityExtended.js","sourceRoot":"","sources":["../../src/custom/EnvironmentEntityExtended.ts"],"names":[],"mappings":";;;;;;;;;AAAA,+CAAkD;AAClD,mDAAuD;AACvD,sEAAmE;AAG5D,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,qCAAiB;IAC5D;;;;;;OAMG;IACI,MAAM,KAAK,oBAAoB;QAClC,OAAO,sCAAsC,CAAC;IAClD,CAAC;CACJ,CAAA;AAXY,8DAAyB;oCAAzB,yBAAyB;IADrC,IAAA,sBAAa,EAAC,iBAAU,EAAE,kBAAkB,CAAC;GACjC,yBAAyB,CAWrC"}
|
|
@@ -2312,16 +2312,24 @@ export declare const ConversationDetailSchema: z.ZodObject<{
|
|
|
2312
2312
|
ArtifactVersionID: z.ZodNullable<z.ZodString>;
|
|
2313
2313
|
CompletionTime: z.ZodNullable<z.ZodNumber>;
|
|
2314
2314
|
IsPinned: z.ZodBoolean;
|
|
2315
|
+
ParentID: z.ZodNullable<z.ZodString>;
|
|
2316
|
+
AgentID: z.ZodNullable<z.ZodString>;
|
|
2317
|
+
Status: z.ZodUnion<[z.ZodLiteral<"Complete">, z.ZodLiteral<"In-Progress">, z.ZodLiteral<"Error">]>;
|
|
2315
2318
|
Conversation: z.ZodNullable<z.ZodString>;
|
|
2316
2319
|
User: z.ZodNullable<z.ZodString>;
|
|
2317
2320
|
Artifact: z.ZodNullable<z.ZodString>;
|
|
2321
|
+
Agent: z.ZodNullable<z.ZodString>;
|
|
2318
2322
|
}, "strip", z.ZodTypeAny, {
|
|
2319
2323
|
ID?: string;
|
|
2320
2324
|
__mj_CreatedAt?: Date;
|
|
2321
2325
|
__mj_UpdatedAt?: Date;
|
|
2326
|
+
ParentID?: string;
|
|
2327
|
+
Status?: "In-Progress" | "Complete" | "Error";
|
|
2322
2328
|
UserID?: string;
|
|
2323
2329
|
Message?: string;
|
|
2324
2330
|
User?: string;
|
|
2331
|
+
AgentID?: string;
|
|
2332
|
+
Agent?: string;
|
|
2325
2333
|
Role?: "User" | "AI" | "Error";
|
|
2326
2334
|
ConversationID?: string;
|
|
2327
2335
|
ExternalID?: string;
|
|
@@ -2341,9 +2349,13 @@ export declare const ConversationDetailSchema: z.ZodObject<{
|
|
|
2341
2349
|
ID?: string;
|
|
2342
2350
|
__mj_CreatedAt?: Date;
|
|
2343
2351
|
__mj_UpdatedAt?: Date;
|
|
2352
|
+
ParentID?: string;
|
|
2353
|
+
Status?: "In-Progress" | "Complete" | "Error";
|
|
2344
2354
|
UserID?: string;
|
|
2345
2355
|
Message?: string;
|
|
2346
2356
|
User?: string;
|
|
2357
|
+
AgentID?: string;
|
|
2358
|
+
Agent?: string;
|
|
2347
2359
|
Role?: "User" | "AI" | "Error";
|
|
2348
2360
|
ConversationID?: string;
|
|
2349
2361
|
ExternalID?: string;
|
|
@@ -5920,6 +5932,7 @@ export declare const ArtifactVersionSchema: z.ZodObject<{
|
|
|
5920
5932
|
UserID: z.ZodString;
|
|
5921
5933
|
__mj_CreatedAt: z.ZodDate;
|
|
5922
5934
|
__mj_UpdatedAt: z.ZodDate;
|
|
5935
|
+
ContentHash: z.ZodNullable<z.ZodString>;
|
|
5923
5936
|
Artifact: z.ZodString;
|
|
5924
5937
|
User: z.ZodString;
|
|
5925
5938
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5934,6 +5947,7 @@ export declare const ArtifactVersionSchema: z.ZodObject<{
|
|
|
5934
5947
|
Artifact?: string;
|
|
5935
5948
|
VersionNumber?: number;
|
|
5936
5949
|
Content?: string;
|
|
5950
|
+
ContentHash?: string;
|
|
5937
5951
|
}, {
|
|
5938
5952
|
ID?: string;
|
|
5939
5953
|
Comments?: string;
|
|
@@ -5946,6 +5960,7 @@ export declare const ArtifactVersionSchema: z.ZodObject<{
|
|
|
5946
5960
|
Artifact?: string;
|
|
5947
5961
|
VersionNumber?: number;
|
|
5948
5962
|
Content?: string;
|
|
5963
|
+
ContentHash?: string;
|
|
5949
5964
|
}>;
|
|
5950
5965
|
export type ArtifactVersionEntityType = z.infer<typeof ArtifactVersionSchema>;
|
|
5951
5966
|
/**
|
|
@@ -5992,6 +6007,38 @@ export declare const ArtifactSchema: z.ZodObject<{
|
|
|
5992
6007
|
Environment?: string;
|
|
5993
6008
|
}>;
|
|
5994
6009
|
export type ArtifactEntityType = z.infer<typeof ArtifactSchema>;
|
|
6010
|
+
/**
|
|
6011
|
+
* zod schema definition for the entity MJ: Collection Artifacts
|
|
6012
|
+
*/
|
|
6013
|
+
export declare const CollectionArtifactSchema: z.ZodObject<{
|
|
6014
|
+
ID: z.ZodString;
|
|
6015
|
+
CollectionID: z.ZodString;
|
|
6016
|
+
ArtifactID: z.ZodString;
|
|
6017
|
+
Sequence: z.ZodNumber;
|
|
6018
|
+
__mj_CreatedAt: z.ZodDate;
|
|
6019
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
6020
|
+
Collection: z.ZodString;
|
|
6021
|
+
Artifact: z.ZodString;
|
|
6022
|
+
}, "strip", z.ZodTypeAny, {
|
|
6023
|
+
ID?: string;
|
|
6024
|
+
__mj_CreatedAt?: Date;
|
|
6025
|
+
__mj_UpdatedAt?: Date;
|
|
6026
|
+
Sequence?: number;
|
|
6027
|
+
ArtifactID?: string;
|
|
6028
|
+
Artifact?: string;
|
|
6029
|
+
CollectionID?: string;
|
|
6030
|
+
Collection?: string;
|
|
6031
|
+
}, {
|
|
6032
|
+
ID?: string;
|
|
6033
|
+
__mj_CreatedAt?: Date;
|
|
6034
|
+
__mj_UpdatedAt?: Date;
|
|
6035
|
+
Sequence?: number;
|
|
6036
|
+
ArtifactID?: string;
|
|
6037
|
+
Artifact?: string;
|
|
6038
|
+
CollectionID?: string;
|
|
6039
|
+
Collection?: string;
|
|
6040
|
+
}>;
|
|
6041
|
+
export type CollectionArtifactEntityType = z.infer<typeof CollectionArtifactSchema>;
|
|
5995
6042
|
/**
|
|
5996
6043
|
* zod schema definition for the entity MJ: Collections
|
|
5997
6044
|
*/
|
|
@@ -6388,6 +6435,32 @@ export declare const ConversationArtifactSchema: z.ZodObject<{
|
|
|
6388
6435
|
ArtifactType?: string;
|
|
6389
6436
|
}>;
|
|
6390
6437
|
export type ConversationArtifactEntityType = z.infer<typeof ConversationArtifactSchema>;
|
|
6438
|
+
/**
|
|
6439
|
+
* zod schema definition for the entity MJ: Conversation Detail Artifacts
|
|
6440
|
+
*/
|
|
6441
|
+
export declare const ConversationDetailArtifactSchema: z.ZodObject<{
|
|
6442
|
+
ID: z.ZodString;
|
|
6443
|
+
ConversationDetailID: z.ZodString;
|
|
6444
|
+
ArtifactVersionID: z.ZodString;
|
|
6445
|
+
Direction: z.ZodUnion<[z.ZodLiteral<"Input">, z.ZodLiteral<"Output">]>;
|
|
6446
|
+
__mj_CreatedAt: z.ZodDate;
|
|
6447
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
6448
|
+
}, "strip", z.ZodTypeAny, {
|
|
6449
|
+
ID?: string;
|
|
6450
|
+
__mj_CreatedAt?: Date;
|
|
6451
|
+
__mj_UpdatedAt?: Date;
|
|
6452
|
+
Direction?: "Input" | "Output";
|
|
6453
|
+
ArtifactVersionID?: string;
|
|
6454
|
+
ConversationDetailID?: string;
|
|
6455
|
+
}, {
|
|
6456
|
+
ID?: string;
|
|
6457
|
+
__mj_CreatedAt?: Date;
|
|
6458
|
+
__mj_UpdatedAt?: Date;
|
|
6459
|
+
Direction?: "Input" | "Output";
|
|
6460
|
+
ArtifactVersionID?: string;
|
|
6461
|
+
ConversationDetailID?: string;
|
|
6462
|
+
}>;
|
|
6463
|
+
export type ConversationDetailArtifactEntityType = z.infer<typeof ConversationDetailArtifactSchema>;
|
|
6391
6464
|
/**
|
|
6392
6465
|
* zod schema definition for the entity MJ: Dashboard User Preferences
|
|
6393
6466
|
*/
|
|
@@ -15877,6 +15950,38 @@ export declare class ConversationDetailEntity extends BaseEntity<ConversationDet
|
|
|
15877
15950
|
get IsPinned(): boolean;
|
|
15878
15951
|
set IsPinned(value: boolean);
|
|
15879
15952
|
/**
|
|
15953
|
+
* * Field Name: ParentID
|
|
15954
|
+
* * Display Name: Parent ID
|
|
15955
|
+
* * SQL Data Type: uniqueidentifier
|
|
15956
|
+
* * Related Entity/Foreign Key: Conversation Details (vwConversationDetails.ID)
|
|
15957
|
+
* * Description: Optional reference to parent message for threaded conversations. NULL for top-level messages.
|
|
15958
|
+
*/
|
|
15959
|
+
get ParentID(): string | null;
|
|
15960
|
+
set ParentID(value: string | null);
|
|
15961
|
+
/**
|
|
15962
|
+
* * Field Name: AgentID
|
|
15963
|
+
* * Display Name: Agent ID
|
|
15964
|
+
* * SQL Data Type: uniqueidentifier
|
|
15965
|
+
* * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
|
|
15966
|
+
* * Description: Denormalized agent ID for quick lookup of agent name and icon without joining through AgentRun
|
|
15967
|
+
*/
|
|
15968
|
+
get AgentID(): string | null;
|
|
15969
|
+
set AgentID(value: string | null);
|
|
15970
|
+
/**
|
|
15971
|
+
* * Field Name: Status
|
|
15972
|
+
* * Display Name: Status
|
|
15973
|
+
* * SQL Data Type: nvarchar(20)
|
|
15974
|
+
* * Default Value: Complete
|
|
15975
|
+
* * Value List Type: List
|
|
15976
|
+
* * Possible Values
|
|
15977
|
+
* * Complete
|
|
15978
|
+
* * In-Progress
|
|
15979
|
+
* * Error
|
|
15980
|
+
* * Description: Status of the conversation message. Complete indicates finished processing, In-Progress indicates active agent work, Error indicates processing failed.
|
|
15981
|
+
*/
|
|
15982
|
+
get Status(): 'Complete' | 'In-Progress' | 'Error';
|
|
15983
|
+
set Status(value: 'Complete' | 'In-Progress' | 'Error');
|
|
15984
|
+
/**
|
|
15880
15985
|
* * Field Name: Conversation
|
|
15881
15986
|
* * Display Name: Conversation
|
|
15882
15987
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -15894,6 +15999,12 @@ export declare class ConversationDetailEntity extends BaseEntity<ConversationDet
|
|
|
15894
15999
|
* * SQL Data Type: nvarchar(255)
|
|
15895
16000
|
*/
|
|
15896
16001
|
get Artifact(): string | null;
|
|
16002
|
+
/**
|
|
16003
|
+
* * Field Name: Agent
|
|
16004
|
+
* * Display Name: Agent
|
|
16005
|
+
* * SQL Data Type: nvarchar(255)
|
|
16006
|
+
*/
|
|
16007
|
+
get Agent(): string | null;
|
|
15897
16008
|
}
|
|
15898
16009
|
/**
|
|
15899
16010
|
* Conversations - strongly typed entity sub-class
|
|
@@ -26048,6 +26159,14 @@ export declare class ArtifactVersionEntity extends BaseEntity<ArtifactVersionEnt
|
|
|
26048
26159
|
*/
|
|
26049
26160
|
get __mj_UpdatedAt(): Date;
|
|
26050
26161
|
/**
|
|
26162
|
+
* * Field Name: ContentHash
|
|
26163
|
+
* * Display Name: Content Hash
|
|
26164
|
+
* * SQL Data Type: nvarchar(500)
|
|
26165
|
+
* * Description: SHA-256 hash of the Content field for duplicate detection and version comparison
|
|
26166
|
+
*/
|
|
26167
|
+
get ContentHash(): string | null;
|
|
26168
|
+
set ContentHash(value: string | null);
|
|
26169
|
+
/**
|
|
26051
26170
|
* * Field Name: Artifact
|
|
26052
26171
|
* * Display Name: Artifact
|
|
26053
26172
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -26174,6 +26293,90 @@ export declare class ArtifactEntity extends BaseEntity<ArtifactEntityType> {
|
|
|
26174
26293
|
*/
|
|
26175
26294
|
get User(): string;
|
|
26176
26295
|
}
|
|
26296
|
+
/**
|
|
26297
|
+
* MJ: Collection Artifacts - strongly typed entity sub-class
|
|
26298
|
+
* * Schema: __mj
|
|
26299
|
+
* * Base Table: CollectionArtifact
|
|
26300
|
+
* * Base View: vwCollectionArtifacts
|
|
26301
|
+
* * @description Join table that establishes many-to-many relationships between Collections and Artifacts, allowing artifacts to be organized within collections
|
|
26302
|
+
* * Primary Key: ID
|
|
26303
|
+
* @extends {BaseEntity}
|
|
26304
|
+
* @class
|
|
26305
|
+
* @public
|
|
26306
|
+
*/
|
|
26307
|
+
export declare class CollectionArtifactEntity extends BaseEntity<CollectionArtifactEntityType> {
|
|
26308
|
+
/**
|
|
26309
|
+
* Loads the MJ: Collection Artifacts record from the database
|
|
26310
|
+
* @param ID: string - primary key value to load the MJ: Collection Artifacts record.
|
|
26311
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
26312
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
26313
|
+
* @public
|
|
26314
|
+
* @async
|
|
26315
|
+
* @memberof CollectionArtifactEntity
|
|
26316
|
+
* @method
|
|
26317
|
+
* @override
|
|
26318
|
+
*/
|
|
26319
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
26320
|
+
/**
|
|
26321
|
+
* * Field Name: ID
|
|
26322
|
+
* * Display Name: ID
|
|
26323
|
+
* * SQL Data Type: uniqueidentifier
|
|
26324
|
+
* * Default Value: newsequentialid()
|
|
26325
|
+
*/
|
|
26326
|
+
get ID(): string;
|
|
26327
|
+
set ID(value: string);
|
|
26328
|
+
/**
|
|
26329
|
+
* * Field Name: CollectionID
|
|
26330
|
+
* * Display Name: Collection ID
|
|
26331
|
+
* * SQL Data Type: uniqueidentifier
|
|
26332
|
+
* * Related Entity/Foreign Key: MJ: Collections (vwCollections.ID)
|
|
26333
|
+
*/
|
|
26334
|
+
get CollectionID(): string;
|
|
26335
|
+
set CollectionID(value: string);
|
|
26336
|
+
/**
|
|
26337
|
+
* * Field Name: ArtifactID
|
|
26338
|
+
* * Display Name: Artifact ID
|
|
26339
|
+
* * SQL Data Type: uniqueidentifier
|
|
26340
|
+
* * Related Entity/Foreign Key: MJ: Artifacts (vwArtifacts.ID)
|
|
26341
|
+
*/
|
|
26342
|
+
get ArtifactID(): string;
|
|
26343
|
+
set ArtifactID(value: string);
|
|
26344
|
+
/**
|
|
26345
|
+
* * Field Name: Sequence
|
|
26346
|
+
* * Display Name: Sequence
|
|
26347
|
+
* * SQL Data Type: int
|
|
26348
|
+
* * Default Value: 0
|
|
26349
|
+
* * Description: Sequence number for ordering artifacts within a collection
|
|
26350
|
+
*/
|
|
26351
|
+
get Sequence(): number;
|
|
26352
|
+
set Sequence(value: number);
|
|
26353
|
+
/**
|
|
26354
|
+
* * Field Name: __mj_CreatedAt
|
|
26355
|
+
* * Display Name: Created At
|
|
26356
|
+
* * SQL Data Type: datetimeoffset
|
|
26357
|
+
* * Default Value: getutcdate()
|
|
26358
|
+
*/
|
|
26359
|
+
get __mj_CreatedAt(): Date;
|
|
26360
|
+
/**
|
|
26361
|
+
* * Field Name: __mj_UpdatedAt
|
|
26362
|
+
* * Display Name: Updated At
|
|
26363
|
+
* * SQL Data Type: datetimeoffset
|
|
26364
|
+
* * Default Value: getutcdate()
|
|
26365
|
+
*/
|
|
26366
|
+
get __mj_UpdatedAt(): Date;
|
|
26367
|
+
/**
|
|
26368
|
+
* * Field Name: Collection
|
|
26369
|
+
* * Display Name: Collection
|
|
26370
|
+
* * SQL Data Type: nvarchar(255)
|
|
26371
|
+
*/
|
|
26372
|
+
get Collection(): string;
|
|
26373
|
+
/**
|
|
26374
|
+
* * Field Name: Artifact
|
|
26375
|
+
* * Display Name: Artifact
|
|
26376
|
+
* * SQL Data Type: nvarchar(255)
|
|
26377
|
+
*/
|
|
26378
|
+
get Artifact(): string;
|
|
26379
|
+
}
|
|
26177
26380
|
/**
|
|
26178
26381
|
* MJ: Collections - strongly typed entity sub-class
|
|
26179
26382
|
* * Schema: __mj
|
|
@@ -27337,6 +27540,84 @@ export declare class ConversationArtifactEntity extends BaseEntity<ConversationA
|
|
|
27337
27540
|
*/
|
|
27338
27541
|
get ArtifactType(): string;
|
|
27339
27542
|
}
|
|
27543
|
+
/**
|
|
27544
|
+
* MJ: Conversation Detail Artifacts - strongly typed entity sub-class
|
|
27545
|
+
* * Schema: __mj
|
|
27546
|
+
* * Base Table: ConversationDetailArtifact
|
|
27547
|
+
* * Base View: vwConversationDetailArtifacts
|
|
27548
|
+
* * @description Junction table tracking many-to-many relationship between conversation messages and artifact versions, with directionality tracking
|
|
27549
|
+
* * Primary Key: ID
|
|
27550
|
+
* @extends {BaseEntity}
|
|
27551
|
+
* @class
|
|
27552
|
+
* @public
|
|
27553
|
+
*/
|
|
27554
|
+
export declare class ConversationDetailArtifactEntity extends BaseEntity<ConversationDetailArtifactEntityType> {
|
|
27555
|
+
/**
|
|
27556
|
+
* Loads the MJ: Conversation Detail Artifacts record from the database
|
|
27557
|
+
* @param ID: string - primary key value to load the MJ: Conversation Detail Artifacts record.
|
|
27558
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
27559
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
27560
|
+
* @public
|
|
27561
|
+
* @async
|
|
27562
|
+
* @memberof ConversationDetailArtifactEntity
|
|
27563
|
+
* @method
|
|
27564
|
+
* @override
|
|
27565
|
+
*/
|
|
27566
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
27567
|
+
/**
|
|
27568
|
+
* * Field Name: ID
|
|
27569
|
+
* * Display Name: ID
|
|
27570
|
+
* * SQL Data Type: uniqueidentifier
|
|
27571
|
+
* * Default Value: newsequentialid()
|
|
27572
|
+
*/
|
|
27573
|
+
get ID(): string;
|
|
27574
|
+
set ID(value: string);
|
|
27575
|
+
/**
|
|
27576
|
+
* * Field Name: ConversationDetailID
|
|
27577
|
+
* * Display Name: Conversation Detail ID
|
|
27578
|
+
* * SQL Data Type: uniqueidentifier
|
|
27579
|
+
* * Related Entity/Foreign Key: Conversation Details (vwConversationDetails.ID)
|
|
27580
|
+
* * Description: Foreign key to ConversationDetail - the conversation message associated with this artifact
|
|
27581
|
+
*/
|
|
27582
|
+
get ConversationDetailID(): string;
|
|
27583
|
+
set ConversationDetailID(value: string);
|
|
27584
|
+
/**
|
|
27585
|
+
* * Field Name: ArtifactVersionID
|
|
27586
|
+
* * Display Name: Artifact Version ID
|
|
27587
|
+
* * SQL Data Type: uniqueidentifier
|
|
27588
|
+
* * Related Entity/Foreign Key: MJ: Artifact Versions (vwArtifactVersions.ID)
|
|
27589
|
+
* * Description: Foreign key to ArtifactVersion - the specific artifact version linked to this conversation message
|
|
27590
|
+
*/
|
|
27591
|
+
get ArtifactVersionID(): string;
|
|
27592
|
+
set ArtifactVersionID(value: string);
|
|
27593
|
+
/**
|
|
27594
|
+
* * Field Name: Direction
|
|
27595
|
+
* * Display Name: Direction
|
|
27596
|
+
* * SQL Data Type: nvarchar(20)
|
|
27597
|
+
* * Default Value: Output
|
|
27598
|
+
* * Value List Type: List
|
|
27599
|
+
* * Possible Values
|
|
27600
|
+
* * Input
|
|
27601
|
+
* * Output
|
|
27602
|
+
* * Description: Direction of artifact flow: Input (fed to agent) or Output (produced by agent)
|
|
27603
|
+
*/
|
|
27604
|
+
get Direction(): 'Input' | 'Output';
|
|
27605
|
+
set Direction(value: 'Input' | 'Output');
|
|
27606
|
+
/**
|
|
27607
|
+
* * Field Name: __mj_CreatedAt
|
|
27608
|
+
* * Display Name: Created At
|
|
27609
|
+
* * SQL Data Type: datetimeoffset
|
|
27610
|
+
* * Default Value: getutcdate()
|
|
27611
|
+
*/
|
|
27612
|
+
get __mj_CreatedAt(): Date;
|
|
27613
|
+
/**
|
|
27614
|
+
* * Field Name: __mj_UpdatedAt
|
|
27615
|
+
* * Display Name: Updated At
|
|
27616
|
+
* * SQL Data Type: datetimeoffset
|
|
27617
|
+
* * Default Value: getutcdate()
|
|
27618
|
+
*/
|
|
27619
|
+
get __mj_UpdatedAt(): Date;
|
|
27620
|
+
}
|
|
27340
27621
|
/**
|
|
27341
27622
|
* MJ: Dashboard User Preferences - strongly typed entity sub-class
|
|
27342
27623
|
* * Schema: __mj
|