@memberjunction/core-entities 2.111.1 → 2.113.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/ComponentEntityExtended.d.ts +3 -2
- package/dist/custom/ComponentEntityExtended.d.ts.map +1 -1
- package/dist/custom/ComponentEntityExtended.js +36 -4
- package/dist/custom/ComponentEntityExtended.js.map +1 -1
- package/dist/custom/UserViewEntity.d.ts.map +1 -1
- package/dist/custom/UserViewEntity.js +13 -1
- package/dist/custom/UserViewEntity.js.map +1 -1
- package/dist/generated/entity_subclasses.d.ts +459 -32
- package/dist/generated/entity_subclasses.d.ts.map +1 -1
- package/dist/generated/entity_subclasses.js +666 -32
- package/dist/generated/entity_subclasses.js.map +1 -1
- package/package.json +4 -4
|
@@ -608,11 +608,14 @@ export declare const AIAgentNoteSchema: z.ZodObject<{
|
|
|
608
608
|
SourceConversationDetailID: z.ZodNullable<z.ZodString>;
|
|
609
609
|
SourceAIAgentRunID: z.ZodNullable<z.ZodString>;
|
|
610
610
|
CompanyID: z.ZodNullable<z.ZodString>;
|
|
611
|
+
EmbeddingVector: z.ZodNullable<z.ZodString>;
|
|
612
|
+
EmbeddingModelID: z.ZodNullable<z.ZodString>;
|
|
611
613
|
Agent: z.ZodNullable<z.ZodString>;
|
|
612
614
|
AgentNoteType: z.ZodNullable<z.ZodString>;
|
|
613
615
|
User: z.ZodNullable<z.ZodString>;
|
|
614
616
|
SourceConversation: z.ZodNullable<z.ZodString>;
|
|
615
617
|
Company: z.ZodNullable<z.ZodString>;
|
|
618
|
+
EmbeddingModel: z.ZodNullable<z.ZodString>;
|
|
616
619
|
}, "strip", z.ZodTypeAny, {
|
|
617
620
|
ID?: string;
|
|
618
621
|
Comments?: string;
|
|
@@ -631,9 +634,12 @@ export declare const AIAgentNoteSchema: z.ZodObject<{
|
|
|
631
634
|
SourceConversationDetailID?: string;
|
|
632
635
|
SourceAIAgentRunID?: string;
|
|
633
636
|
CompanyID?: string;
|
|
637
|
+
EmbeddingVector?: string;
|
|
638
|
+
EmbeddingModelID?: string;
|
|
634
639
|
AgentNoteType?: string;
|
|
635
640
|
SourceConversation?: string;
|
|
636
641
|
Company?: string;
|
|
642
|
+
EmbeddingModel?: string;
|
|
637
643
|
}, {
|
|
638
644
|
ID?: string;
|
|
639
645
|
Comments?: string;
|
|
@@ -652,9 +658,12 @@ export declare const AIAgentNoteSchema: z.ZodObject<{
|
|
|
652
658
|
SourceConversationDetailID?: string;
|
|
653
659
|
SourceAIAgentRunID?: string;
|
|
654
660
|
CompanyID?: string;
|
|
661
|
+
EmbeddingVector?: string;
|
|
662
|
+
EmbeddingModelID?: string;
|
|
655
663
|
AgentNoteType?: string;
|
|
656
664
|
SourceConversation?: string;
|
|
657
665
|
Company?: string;
|
|
666
|
+
EmbeddingModel?: string;
|
|
658
667
|
}>;
|
|
659
668
|
export type AIAgentNoteEntityType = z.infer<typeof AIAgentNoteSchema>;
|
|
660
669
|
/**
|
|
@@ -763,6 +772,9 @@ export declare const AIAgentSchema: z.ZodObject<{
|
|
|
763
772
|
InjectExamples: z.ZodBoolean;
|
|
764
773
|
MaxExamplesToInject: z.ZodNumber;
|
|
765
774
|
ExampleInjectionStrategy: z.ZodUnion<[z.ZodLiteral<"Rated">, z.ZodLiteral<"Recent">, z.ZodLiteral<"Semantic">]>;
|
|
775
|
+
IsRestricted: z.ZodBoolean;
|
|
776
|
+
MessageMode: z.ZodUnion<[z.ZodLiteral<"All">, z.ZodLiteral<"Bookend">, z.ZodLiteral<"Latest">, z.ZodLiteral<"None">]>;
|
|
777
|
+
MaxMessages: z.ZodNullable<z.ZodNumber>;
|
|
766
778
|
Parent: z.ZodNullable<z.ZodString>;
|
|
767
779
|
ContextCompressionPrompt: z.ZodNullable<z.ZodString>;
|
|
768
780
|
Type: z.ZodNullable<z.ZodString>;
|
|
@@ -822,6 +834,9 @@ export declare const AIAgentSchema: z.ZodObject<{
|
|
|
822
834
|
InjectExamples?: boolean;
|
|
823
835
|
MaxExamplesToInject?: number;
|
|
824
836
|
ExampleInjectionStrategy?: "Recent" | "Rated" | "Semantic";
|
|
837
|
+
IsRestricted?: boolean;
|
|
838
|
+
MessageMode?: "None" | "All" | "Bookend" | "Latest";
|
|
839
|
+
MaxMessages?: number;
|
|
825
840
|
ContextCompressionPrompt?: string;
|
|
826
841
|
DefaultArtifactType?: string;
|
|
827
842
|
OwnerUser?: string;
|
|
@@ -878,6 +893,9 @@ export declare const AIAgentSchema: z.ZodObject<{
|
|
|
878
893
|
InjectExamples?: boolean;
|
|
879
894
|
MaxExamplesToInject?: number;
|
|
880
895
|
ExampleInjectionStrategy?: "Recent" | "Rated" | "Semantic";
|
|
896
|
+
IsRestricted?: boolean;
|
|
897
|
+
MessageMode?: "None" | "All" | "Bookend" | "Latest";
|
|
898
|
+
MaxMessages?: number;
|
|
881
899
|
ContextCompressionPrompt?: string;
|
|
882
900
|
DefaultArtifactType?: string;
|
|
883
901
|
OwnerUser?: string;
|
|
@@ -5014,10 +5032,13 @@ export declare const AIAgentExampleSchema: z.ZodObject<{
|
|
|
5014
5032
|
Status: z.ZodUnion<[z.ZodLiteral<"Active">, z.ZodLiteral<"Pending">, z.ZodLiteral<"Revoked">]>;
|
|
5015
5033
|
__mj_CreatedAt: z.ZodDate;
|
|
5016
5034
|
__mj_UpdatedAt: z.ZodDate;
|
|
5035
|
+
EmbeddingVector: z.ZodNullable<z.ZodString>;
|
|
5036
|
+
EmbeddingModelID: z.ZodNullable<z.ZodString>;
|
|
5017
5037
|
Agent: z.ZodNullable<z.ZodString>;
|
|
5018
5038
|
User: z.ZodNullable<z.ZodString>;
|
|
5019
5039
|
Company: z.ZodNullable<z.ZodString>;
|
|
5020
5040
|
SourceConversation: z.ZodNullable<z.ZodString>;
|
|
5041
|
+
EmbeddingModel: z.ZodNullable<z.ZodString>;
|
|
5021
5042
|
}, "strip", z.ZodTypeAny, {
|
|
5022
5043
|
ID?: string;
|
|
5023
5044
|
Comments?: string;
|
|
@@ -5034,8 +5055,11 @@ export declare const AIAgentExampleSchema: z.ZodObject<{
|
|
|
5034
5055
|
SourceConversationDetailID?: string;
|
|
5035
5056
|
SourceAIAgentRunID?: string;
|
|
5036
5057
|
CompanyID?: string;
|
|
5058
|
+
EmbeddingVector?: string;
|
|
5059
|
+
EmbeddingModelID?: string;
|
|
5037
5060
|
SourceConversation?: string;
|
|
5038
5061
|
Company?: string;
|
|
5062
|
+
EmbeddingModel?: string;
|
|
5039
5063
|
ExampleInput?: string;
|
|
5040
5064
|
ExampleOutput?: string;
|
|
5041
5065
|
SuccessScore?: number;
|
|
@@ -5055,8 +5079,11 @@ export declare const AIAgentExampleSchema: z.ZodObject<{
|
|
|
5055
5079
|
SourceConversationDetailID?: string;
|
|
5056
5080
|
SourceAIAgentRunID?: string;
|
|
5057
5081
|
CompanyID?: string;
|
|
5082
|
+
EmbeddingVector?: string;
|
|
5083
|
+
EmbeddingModelID?: string;
|
|
5058
5084
|
SourceConversation?: string;
|
|
5059
5085
|
Company?: string;
|
|
5086
|
+
EmbeddingModel?: string;
|
|
5060
5087
|
ExampleInput?: string;
|
|
5061
5088
|
ExampleOutput?: string;
|
|
5062
5089
|
SuccessScore?: number;
|
|
@@ -5175,6 +5202,8 @@ export declare const AIAgentRelationshipSchema: z.ZodObject<{
|
|
|
5175
5202
|
SubAgentOutputMapping: z.ZodNullable<z.ZodString>;
|
|
5176
5203
|
SubAgentInputMapping: z.ZodNullable<z.ZodString>;
|
|
5177
5204
|
SubAgentContextPaths: z.ZodNullable<z.ZodString>;
|
|
5205
|
+
MessageMode: z.ZodUnion<[z.ZodLiteral<"All">, z.ZodLiteral<"Bookend">, z.ZodLiteral<"Latest">, z.ZodLiteral<"None">]>;
|
|
5206
|
+
MaxMessages: z.ZodNullable<z.ZodNumber>;
|
|
5178
5207
|
Agent: z.ZodNullable<z.ZodString>;
|
|
5179
5208
|
SubAgent: z.ZodNullable<z.ZodString>;
|
|
5180
5209
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5184,6 +5213,8 @@ export declare const AIAgentRelationshipSchema: z.ZodObject<{
|
|
|
5184
5213
|
Status?: "Active" | "Pending" | "Revoked";
|
|
5185
5214
|
AgentID?: string;
|
|
5186
5215
|
Agent?: string;
|
|
5216
|
+
MessageMode?: "None" | "All" | "Bookend" | "Latest";
|
|
5217
|
+
MaxMessages?: number;
|
|
5187
5218
|
SubAgentID?: string;
|
|
5188
5219
|
SubAgentOutputMapping?: string;
|
|
5189
5220
|
SubAgentInputMapping?: string;
|
|
@@ -5196,6 +5227,8 @@ export declare const AIAgentRelationshipSchema: z.ZodObject<{
|
|
|
5196
5227
|
Status?: "Active" | "Pending" | "Revoked";
|
|
5197
5228
|
AgentID?: string;
|
|
5198
5229
|
Agent?: string;
|
|
5230
|
+
MessageMode?: "None" | "All" | "Bookend" | "Latest";
|
|
5231
|
+
MaxMessages?: number;
|
|
5199
5232
|
SubAgentID?: string;
|
|
5200
5233
|
SubAgentOutputMapping?: string;
|
|
5201
5234
|
SubAgentInputMapping?: string;
|
|
@@ -6385,6 +6418,41 @@ export declare const ArtifactTypeSchema: z.ZodObject<{
|
|
|
6385
6418
|
ExtractRules?: string;
|
|
6386
6419
|
}>;
|
|
6387
6420
|
export type ArtifactTypeEntityType = z.infer<typeof ArtifactTypeSchema>;
|
|
6421
|
+
/**
|
|
6422
|
+
* zod schema definition for the entity MJ: Artifact Uses
|
|
6423
|
+
*/
|
|
6424
|
+
export declare const ArtifactUseSchema: z.ZodObject<{
|
|
6425
|
+
ID: z.ZodString;
|
|
6426
|
+
ArtifactVersionID: z.ZodString;
|
|
6427
|
+
UserID: z.ZodString;
|
|
6428
|
+
UsageType: z.ZodUnion<[z.ZodLiteral<"Exported">, z.ZodLiteral<"Opened">, z.ZodLiteral<"Saved">, z.ZodLiteral<"Shared">, z.ZodLiteral<"Viewed">]>;
|
|
6429
|
+
UsageContext: z.ZodNullable<z.ZodString>;
|
|
6430
|
+
__mj_CreatedAt: z.ZodDate;
|
|
6431
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
6432
|
+
ArtifactVersion: z.ZodNullable<z.ZodString>;
|
|
6433
|
+
User: z.ZodString;
|
|
6434
|
+
}, "strip", z.ZodTypeAny, {
|
|
6435
|
+
ID?: string;
|
|
6436
|
+
__mj_CreatedAt?: Date;
|
|
6437
|
+
__mj_UpdatedAt?: Date;
|
|
6438
|
+
UserID?: string;
|
|
6439
|
+
User?: string;
|
|
6440
|
+
ArtifactVersionID?: string;
|
|
6441
|
+
UsageType?: "Exported" | "Opened" | "Saved" | "Shared" | "Viewed";
|
|
6442
|
+
UsageContext?: string;
|
|
6443
|
+
ArtifactVersion?: string;
|
|
6444
|
+
}, {
|
|
6445
|
+
ID?: string;
|
|
6446
|
+
__mj_CreatedAt?: Date;
|
|
6447
|
+
__mj_UpdatedAt?: Date;
|
|
6448
|
+
UserID?: string;
|
|
6449
|
+
User?: string;
|
|
6450
|
+
ArtifactVersionID?: string;
|
|
6451
|
+
UsageType?: "Exported" | "Opened" | "Saved" | "Shared" | "Viewed";
|
|
6452
|
+
UsageContext?: string;
|
|
6453
|
+
ArtifactVersion?: string;
|
|
6454
|
+
}>;
|
|
6455
|
+
export type ArtifactUseEntityType = z.infer<typeof ArtifactUseSchema>;
|
|
6388
6456
|
/**
|
|
6389
6457
|
* zod schema definition for the entity MJ: Artifact Version Attributes
|
|
6390
6458
|
*/
|
|
@@ -6406,8 +6474,8 @@ export declare const ArtifactVersionAttributeSchema: z.ZodObject<{
|
|
|
6406
6474
|
Type?: string;
|
|
6407
6475
|
Value?: string;
|
|
6408
6476
|
ArtifactVersionID?: string;
|
|
6409
|
-
StandardProperty?: "description" | "displayHtml" | "displayMarkdown" | "name";
|
|
6410
6477
|
ArtifactVersion?: string;
|
|
6478
|
+
StandardProperty?: "description" | "displayHtml" | "displayMarkdown" | "name";
|
|
6411
6479
|
}, {
|
|
6412
6480
|
ID?: string;
|
|
6413
6481
|
__mj_CreatedAt?: Date;
|
|
@@ -6416,8 +6484,8 @@ export declare const ArtifactVersionAttributeSchema: z.ZodObject<{
|
|
|
6416
6484
|
Type?: string;
|
|
6417
6485
|
Value?: string;
|
|
6418
6486
|
ArtifactVersionID?: string;
|
|
6419
|
-
StandardProperty?: "description" | "displayHtml" | "displayMarkdown" | "name";
|
|
6420
6487
|
ArtifactVersion?: string;
|
|
6488
|
+
StandardProperty?: "description" | "displayHtml" | "displayMarkdown" | "name";
|
|
6421
6489
|
}>;
|
|
6422
6490
|
export type ArtifactVersionAttributeEntityType = z.infer<typeof ArtifactVersionAttributeSchema>;
|
|
6423
6491
|
/**
|
|
@@ -6523,19 +6591,19 @@ export type ArtifactEntityType = z.infer<typeof ArtifactSchema>;
|
|
|
6523
6591
|
export declare const CollectionArtifactSchema: z.ZodObject<{
|
|
6524
6592
|
ID: z.ZodString;
|
|
6525
6593
|
CollectionID: z.ZodString;
|
|
6526
|
-
ArtifactID: z.ZodString;
|
|
6527
6594
|
Sequence: z.ZodNumber;
|
|
6528
6595
|
__mj_CreatedAt: z.ZodDate;
|
|
6529
6596
|
__mj_UpdatedAt: z.ZodDate;
|
|
6597
|
+
ArtifactVersionID: z.ZodString;
|
|
6530
6598
|
Collection: z.ZodString;
|
|
6531
|
-
|
|
6599
|
+
ArtifactVersion: z.ZodNullable<z.ZodString>;
|
|
6532
6600
|
}, "strip", z.ZodTypeAny, {
|
|
6533
6601
|
ID?: string;
|
|
6534
6602
|
__mj_CreatedAt?: Date;
|
|
6535
6603
|
__mj_UpdatedAt?: Date;
|
|
6536
6604
|
Sequence?: number;
|
|
6537
|
-
|
|
6538
|
-
|
|
6605
|
+
ArtifactVersionID?: string;
|
|
6606
|
+
ArtifactVersion?: string;
|
|
6539
6607
|
CollectionID?: string;
|
|
6540
6608
|
Collection?: string;
|
|
6541
6609
|
}, {
|
|
@@ -6543,8 +6611,8 @@ export declare const CollectionArtifactSchema: z.ZodObject<{
|
|
|
6543
6611
|
__mj_CreatedAt?: Date;
|
|
6544
6612
|
__mj_UpdatedAt?: Date;
|
|
6545
6613
|
Sequence?: number;
|
|
6546
|
-
|
|
6547
|
-
|
|
6614
|
+
ArtifactVersionID?: string;
|
|
6615
|
+
ArtifactVersion?: string;
|
|
6548
6616
|
CollectionID?: string;
|
|
6549
6617
|
Collection?: string;
|
|
6550
6618
|
}>;
|
|
@@ -6706,13 +6774,13 @@ export declare const ComponentLibrarySchema: z.ZodObject<{
|
|
|
6706
6774
|
Status?: "Active" | "Disabled" | "Deprecated";
|
|
6707
6775
|
Category?: "Other" | "Charting" | "Core" | "Runtime" | "UI" | "Utility";
|
|
6708
6776
|
DisplayName?: string;
|
|
6777
|
+
UsageType?: "Both" | "Dependency" | "Direct";
|
|
6709
6778
|
Version?: string;
|
|
6710
6779
|
GlobalVariable?: string;
|
|
6711
6780
|
CDNUrl?: string;
|
|
6712
6781
|
CDNCssUrl?: string;
|
|
6713
6782
|
LintRules?: string;
|
|
6714
6783
|
Dependencies?: string;
|
|
6715
|
-
UsageType?: "Both" | "Dependency" | "Direct";
|
|
6716
6784
|
}, {
|
|
6717
6785
|
ID?: string;
|
|
6718
6786
|
__mj_CreatedAt?: Date;
|
|
@@ -6722,13 +6790,13 @@ export declare const ComponentLibrarySchema: z.ZodObject<{
|
|
|
6722
6790
|
Status?: "Active" | "Disabled" | "Deprecated";
|
|
6723
6791
|
Category?: "Other" | "Charting" | "Core" | "Runtime" | "UI" | "Utility";
|
|
6724
6792
|
DisplayName?: string;
|
|
6793
|
+
UsageType?: "Both" | "Dependency" | "Direct";
|
|
6725
6794
|
Version?: string;
|
|
6726
6795
|
GlobalVariable?: string;
|
|
6727
6796
|
CDNUrl?: string;
|
|
6728
6797
|
CDNCssUrl?: string;
|
|
6729
6798
|
LintRules?: string;
|
|
6730
6799
|
Dependencies?: string;
|
|
6731
|
-
UsageType?: "Both" | "Dependency" | "Direct";
|
|
6732
6800
|
}>;
|
|
6733
6801
|
export type ComponentLibraryEntityType = z.infer<typeof ComponentLibrarySchema>;
|
|
6734
6802
|
/**
|
|
@@ -7030,6 +7098,38 @@ export declare const ConversationDetailArtifactSchema: z.ZodObject<{
|
|
|
7030
7098
|
ArtifactVersion?: string;
|
|
7031
7099
|
}>;
|
|
7032
7100
|
export type ConversationDetailArtifactEntityType = z.infer<typeof ConversationDetailArtifactSchema>;
|
|
7101
|
+
/**
|
|
7102
|
+
* zod schema definition for the entity MJ: Conversation Detail Ratings
|
|
7103
|
+
*/
|
|
7104
|
+
export declare const ConversationDetailRatingSchema: z.ZodObject<{
|
|
7105
|
+
ID: z.ZodString;
|
|
7106
|
+
ConversationDetailID: z.ZodString;
|
|
7107
|
+
UserID: z.ZodString;
|
|
7108
|
+
Rating: z.ZodNumber;
|
|
7109
|
+
Comments: z.ZodNullable<z.ZodString>;
|
|
7110
|
+
__mj_CreatedAt: z.ZodDate;
|
|
7111
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
7112
|
+
User: z.ZodString;
|
|
7113
|
+
}, "strip", z.ZodTypeAny, {
|
|
7114
|
+
ID?: string;
|
|
7115
|
+
Comments?: string;
|
|
7116
|
+
__mj_CreatedAt?: Date;
|
|
7117
|
+
__mj_UpdatedAt?: Date;
|
|
7118
|
+
UserID?: string;
|
|
7119
|
+
User?: string;
|
|
7120
|
+
ConversationDetailID?: string;
|
|
7121
|
+
Rating?: number;
|
|
7122
|
+
}, {
|
|
7123
|
+
ID?: string;
|
|
7124
|
+
Comments?: string;
|
|
7125
|
+
__mj_CreatedAt?: Date;
|
|
7126
|
+
__mj_UpdatedAt?: Date;
|
|
7127
|
+
UserID?: string;
|
|
7128
|
+
User?: string;
|
|
7129
|
+
ConversationDetailID?: string;
|
|
7130
|
+
Rating?: number;
|
|
7131
|
+
}>;
|
|
7132
|
+
export type ConversationDetailRatingEntityType = z.infer<typeof ConversationDetailRatingSchema>;
|
|
7033
7133
|
/**
|
|
7034
7134
|
* zod schema definition for the entity MJ: Dashboard User Preferences
|
|
7035
7135
|
*/
|
|
@@ -7819,6 +7919,9 @@ export declare const QuerySchema: z.ZodObject<{
|
|
|
7819
7919
|
Status?: "Pending" | "Approved" | "Rejected" | "Expired";
|
|
7820
7920
|
CategoryID?: string;
|
|
7821
7921
|
Category?: string;
|
|
7922
|
+
EmbeddingVector?: string;
|
|
7923
|
+
EmbeddingModelID?: string;
|
|
7924
|
+
EmbeddingModel?: string;
|
|
7822
7925
|
SQL?: string;
|
|
7823
7926
|
UserQuestion?: string;
|
|
7824
7927
|
TechnicalDescription?: string;
|
|
@@ -7831,9 +7934,6 @@ export declare const QuerySchema: z.ZodObject<{
|
|
|
7831
7934
|
CacheEnabled?: boolean;
|
|
7832
7935
|
CacheTTLMinutes?: number;
|
|
7833
7936
|
CacheMaxSize?: number;
|
|
7834
|
-
EmbeddingVector?: string;
|
|
7835
|
-
EmbeddingModelID?: string;
|
|
7836
|
-
EmbeddingModel?: string;
|
|
7837
7937
|
}, {
|
|
7838
7938
|
ID?: string;
|
|
7839
7939
|
__mj_CreatedAt?: Date;
|
|
@@ -7843,6 +7943,9 @@ export declare const QuerySchema: z.ZodObject<{
|
|
|
7843
7943
|
Status?: "Pending" | "Approved" | "Rejected" | "Expired";
|
|
7844
7944
|
CategoryID?: string;
|
|
7845
7945
|
Category?: string;
|
|
7946
|
+
EmbeddingVector?: string;
|
|
7947
|
+
EmbeddingModelID?: string;
|
|
7948
|
+
EmbeddingModel?: string;
|
|
7846
7949
|
SQL?: string;
|
|
7847
7950
|
UserQuestion?: string;
|
|
7848
7951
|
TechnicalDescription?: string;
|
|
@@ -7855,9 +7958,6 @@ export declare const QuerySchema: z.ZodObject<{
|
|
|
7855
7958
|
CacheEnabled?: boolean;
|
|
7856
7959
|
CacheTTLMinutes?: number;
|
|
7857
7960
|
CacheMaxSize?: number;
|
|
7858
|
-
EmbeddingVector?: string;
|
|
7859
|
-
EmbeddingModelID?: string;
|
|
7860
|
-
EmbeddingModel?: string;
|
|
7861
7961
|
}>;
|
|
7862
7962
|
export type QueryEntityType = z.infer<typeof QuerySchema>;
|
|
7863
7963
|
/**
|
|
@@ -9831,20 +9931,20 @@ export declare const VectorIndexSchema: z.ZodObject<{
|
|
|
9831
9931
|
__mj_UpdatedAt?: Date;
|
|
9832
9932
|
Name?: string;
|
|
9833
9933
|
Description?: string;
|
|
9834
|
-
VectorDatabaseID?: string;
|
|
9835
|
-
VectorDatabase?: string;
|
|
9836
9934
|
EmbeddingModelID?: string;
|
|
9837
9935
|
EmbeddingModel?: string;
|
|
9936
|
+
VectorDatabaseID?: string;
|
|
9937
|
+
VectorDatabase?: string;
|
|
9838
9938
|
}, {
|
|
9839
9939
|
ID?: string;
|
|
9840
9940
|
__mj_CreatedAt?: Date;
|
|
9841
9941
|
__mj_UpdatedAt?: Date;
|
|
9842
9942
|
Name?: string;
|
|
9843
9943
|
Description?: string;
|
|
9844
|
-
VectorDatabaseID?: string;
|
|
9845
|
-
VectorDatabase?: string;
|
|
9846
9944
|
EmbeddingModelID?: string;
|
|
9847
9945
|
EmbeddingModel?: string;
|
|
9946
|
+
VectorDatabaseID?: string;
|
|
9947
|
+
VectorDatabase?: string;
|
|
9848
9948
|
}>;
|
|
9849
9949
|
export type VectorIndexEntityType = z.infer<typeof VectorIndexSchema>;
|
|
9850
9950
|
/**
|
|
@@ -11941,6 +12041,23 @@ export declare class AIAgentNoteEntity extends BaseEntity<AIAgentNoteEntityType>
|
|
|
11941
12041
|
get CompanyID(): string | null;
|
|
11942
12042
|
set CompanyID(value: string | null);
|
|
11943
12043
|
/**
|
|
12044
|
+
* * Field Name: EmbeddingVector
|
|
12045
|
+
* * Display Name: Embedding Vector
|
|
12046
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
12047
|
+
* * Description: JSON array of embedding vector for semantic search on Note field. Auto-generated when Note changes.
|
|
12048
|
+
*/
|
|
12049
|
+
get EmbeddingVector(): string | null;
|
|
12050
|
+
set EmbeddingVector(value: string | null);
|
|
12051
|
+
/**
|
|
12052
|
+
* * Field Name: EmbeddingModelID
|
|
12053
|
+
* * Display Name: Embedding Model ID
|
|
12054
|
+
* * SQL Data Type: uniqueidentifier
|
|
12055
|
+
* * Related Entity/Foreign Key: AI Models (vwAIModels.ID)
|
|
12056
|
+
* * Description: Reference to the AI model used to generate the embedding vector.
|
|
12057
|
+
*/
|
|
12058
|
+
get EmbeddingModelID(): string | null;
|
|
12059
|
+
set EmbeddingModelID(value: string | null);
|
|
12060
|
+
/**
|
|
11944
12061
|
* * Field Name: Agent
|
|
11945
12062
|
* * Display Name: Agent
|
|
11946
12063
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -11970,6 +12087,12 @@ export declare class AIAgentNoteEntity extends BaseEntity<AIAgentNoteEntityType>
|
|
|
11970
12087
|
* * SQL Data Type: nvarchar(50)
|
|
11971
12088
|
*/
|
|
11972
12089
|
get Company(): string | null;
|
|
12090
|
+
/**
|
|
12091
|
+
* * Field Name: EmbeddingModel
|
|
12092
|
+
* * Display Name: Embedding Model
|
|
12093
|
+
* * SQL Data Type: nvarchar(50)
|
|
12094
|
+
*/
|
|
12095
|
+
get EmbeddingModel(): string | null;
|
|
11973
12096
|
}
|
|
11974
12097
|
/**
|
|
11975
12098
|
* AI Agent Requests - strongly typed entity sub-class
|
|
@@ -12146,6 +12269,7 @@ export declare class AIAgentEntity extends BaseEntity<AIAgentEntityType> {
|
|
|
12146
12269
|
* 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:
|
|
12147
12270
|
* * DefaultPromptEffortLevel: This rule ensures that if a default prompt effort level is specified, it must be a number between 1 and 100, inclusive.
|
|
12148
12271
|
* * 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.
|
|
12272
|
+
* * MaxMessages: This rule ensures that the maximum number of messages, if specified, must be greater than zero.
|
|
12149
12273
|
* * MinExecutionsPerRun: This rule ensures that if a minimum executions per run value is specified, it cannot be negative. If the field is not specified, there is no restriction.
|
|
12150
12274
|
* * Table-Level: This rule ensures that if context compression is enabled, then the message threshold, prompt ID, and message retention count must all be provided. If context compression is not enabled, then these fields can be left empty.
|
|
12151
12275
|
* * Table-Level: This rule ensures that if both the minimum and maximum number of executions per run are provided, the minimum cannot be greater than the maximum. If either value is not provided, no check is performed.
|
|
@@ -12170,6 +12294,13 @@ export declare class AIAgentEntity extends BaseEntity<AIAgentEntityType> {
|
|
|
12170
12294
|
*/
|
|
12171
12295
|
ValidateMaxExecutionsPerRunGreaterThanZero(result: ValidationResult): void;
|
|
12172
12296
|
/**
|
|
12297
|
+
* This rule ensures that the maximum number of messages, if specified, must be greater than zero.
|
|
12298
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
12299
|
+
* @public
|
|
12300
|
+
* @method
|
|
12301
|
+
*/
|
|
12302
|
+
ValidateMaxMessagesGreaterThanZero(result: ValidationResult): void;
|
|
12303
|
+
/**
|
|
12173
12304
|
* This rule ensures that if a minimum executions per run value is specified, it cannot be negative. If the field is not specified, there is no restriction.
|
|
12174
12305
|
* @param result - the ValidationResult object to add any errors or warnings to
|
|
12175
12306
|
* @public
|
|
@@ -12667,6 +12798,38 @@ if this limit is exceeded.
|
|
|
12667
12798
|
get ExampleInjectionStrategy(): 'Rated' | 'Recent' | 'Semantic';
|
|
12668
12799
|
set ExampleInjectionStrategy(value: 'Rated' | 'Recent' | 'Semantic');
|
|
12669
12800
|
/**
|
|
12801
|
+
* * Field Name: IsRestricted
|
|
12802
|
+
* * Display Name: Is Restricted
|
|
12803
|
+
* * SQL Data Type: bit
|
|
12804
|
+
* * Default Value: 0
|
|
12805
|
+
* * Description: When true, agent is restricted to system/scheduled use only and hidden from user selection, Agent Manager, and MCP/A2A discovery.
|
|
12806
|
+
*/
|
|
12807
|
+
get IsRestricted(): boolean;
|
|
12808
|
+
set IsRestricted(value: boolean);
|
|
12809
|
+
/**
|
|
12810
|
+
* * Field Name: MessageMode
|
|
12811
|
+
* * Display Name: Message Mode
|
|
12812
|
+
* * SQL Data Type: nvarchar(50)
|
|
12813
|
+
* * Default Value: None
|
|
12814
|
+
* * Value List Type: List
|
|
12815
|
+
* * Possible Values
|
|
12816
|
+
* * All
|
|
12817
|
+
* * Bookend
|
|
12818
|
+
* * Latest
|
|
12819
|
+
* * None
|
|
12820
|
+
* * Description: Specifies how conversation messages are passed from parent agent to this child sub-agent (when this agent is a child via ParentID). Valid values: 'None' (fresh start - only context and task message, default), 'All' (all parent conversation history), 'Latest' (most recent MaxMessages messages), 'Bookend' (first 2 messages + most recent MaxMessages-2 messages with indicator between). Stored on child agent because each child has only one parent relationship.
|
|
12821
|
+
*/
|
|
12822
|
+
get MessageMode(): 'All' | 'Bookend' | 'Latest' | 'None';
|
|
12823
|
+
set MessageMode(value: 'All' | 'Bookend' | 'Latest' | 'None');
|
|
12824
|
+
/**
|
|
12825
|
+
* * Field Name: MaxMessages
|
|
12826
|
+
* * Display Name: Max Messages
|
|
12827
|
+
* * SQL Data Type: int
|
|
12828
|
+
* * Description: Maximum number of conversation messages to include when MessageMode is 'Latest' or 'Bookend'. NULL means no limit (ignored for 'None' and 'All' modes). Must be greater than 0 if specified. For 'Latest': keeps most recent N messages. For 'Bookend': keeps first 2 + most recent (N-2) messages.
|
|
12829
|
+
*/
|
|
12830
|
+
get MaxMessages(): number | null;
|
|
12831
|
+
set MaxMessages(value: number | null);
|
|
12832
|
+
/**
|
|
12670
12833
|
* * Field Name: Parent
|
|
12671
12834
|
* * Display Name: Parent
|
|
12672
12835
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -24254,6 +24417,23 @@ export declare class AIAgentExampleEntity extends BaseEntity<AIAgentExampleEntit
|
|
|
24254
24417
|
*/
|
|
24255
24418
|
get __mj_UpdatedAt(): Date;
|
|
24256
24419
|
/**
|
|
24420
|
+
* * Field Name: EmbeddingVector
|
|
24421
|
+
* * Display Name: Embedding Vector
|
|
24422
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
24423
|
+
* * Description: JSON array of embedding vector for semantic search on ExampleInput field. Auto-generated when ExampleInput changes.
|
|
24424
|
+
*/
|
|
24425
|
+
get EmbeddingVector(): string | null;
|
|
24426
|
+
set EmbeddingVector(value: string | null);
|
|
24427
|
+
/**
|
|
24428
|
+
* * Field Name: EmbeddingModelID
|
|
24429
|
+
* * Display Name: Embedding Model ID
|
|
24430
|
+
* * SQL Data Type: uniqueidentifier
|
|
24431
|
+
* * Related Entity/Foreign Key: AI Models (vwAIModels.ID)
|
|
24432
|
+
* * Description: Reference to the AI model used to generate the embedding vector.
|
|
24433
|
+
*/
|
|
24434
|
+
get EmbeddingModelID(): string | null;
|
|
24435
|
+
set EmbeddingModelID(value: string | null);
|
|
24436
|
+
/**
|
|
24257
24437
|
* * Field Name: Agent
|
|
24258
24438
|
* * Display Name: Agent
|
|
24259
24439
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -24277,6 +24457,12 @@ export declare class AIAgentExampleEntity extends BaseEntity<AIAgentExampleEntit
|
|
|
24277
24457
|
* * SQL Data Type: nvarchar(255)
|
|
24278
24458
|
*/
|
|
24279
24459
|
get SourceConversation(): string | null;
|
|
24460
|
+
/**
|
|
24461
|
+
* * Field Name: EmbeddingModel
|
|
24462
|
+
* * Display Name: Embedding Model
|
|
24463
|
+
* * SQL Data Type: nvarchar(50)
|
|
24464
|
+
*/
|
|
24465
|
+
get EmbeddingModel(): string | null;
|
|
24280
24466
|
}
|
|
24281
24467
|
/**
|
|
24282
24468
|
* MJ: AI Agent Permissions - strongly typed entity sub-class
|
|
@@ -24617,6 +24803,21 @@ export declare class AIAgentRelationshipEntity extends BaseEntity<AIAgentRelatio
|
|
|
24617
24803
|
*/
|
|
24618
24804
|
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
24619
24805
|
/**
|
|
24806
|
+
* Validate() method override for MJ: AI Agent Relationships entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
24807
|
+
* * MaxMessages: This rule makes sure that if a value is specified for MaxMessages, it must be greater than 0.
|
|
24808
|
+
* @public
|
|
24809
|
+
* @method
|
|
24810
|
+
* @override
|
|
24811
|
+
*/
|
|
24812
|
+
Validate(): ValidationResult;
|
|
24813
|
+
/**
|
|
24814
|
+
* This rule makes sure that if a value is specified for MaxMessages, it must be greater than 0.
|
|
24815
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
24816
|
+
* @public
|
|
24817
|
+
* @method
|
|
24818
|
+
*/
|
|
24819
|
+
ValidateMaxMessagesGreaterThanZero(result: ValidationResult): void;
|
|
24820
|
+
/**
|
|
24620
24821
|
* * Field Name: ID
|
|
24621
24822
|
* * Display Name: ID
|
|
24622
24823
|
* * SQL Data Type: uniqueidentifier
|
|
@@ -24695,6 +24896,29 @@ export declare class AIAgentRelationshipEntity extends BaseEntity<AIAgentRelatio
|
|
|
24695
24896
|
get SubAgentContextPaths(): string | null;
|
|
24696
24897
|
set SubAgentContextPaths(value: string | null);
|
|
24697
24898
|
/**
|
|
24899
|
+
* * Field Name: MessageMode
|
|
24900
|
+
* * Display Name: Message Mode
|
|
24901
|
+
* * SQL Data Type: nvarchar(50)
|
|
24902
|
+
* * Default Value: None
|
|
24903
|
+
* * Value List Type: List
|
|
24904
|
+
* * Possible Values
|
|
24905
|
+
* * All
|
|
24906
|
+
* * Bookend
|
|
24907
|
+
* * Latest
|
|
24908
|
+
* * None
|
|
24909
|
+
* * Description: Specifies how conversation messages are passed from parent agent to related sub-agent. Valid values: 'None' (fresh start - only context and task message, default), 'All' (all parent conversation history), 'Latest' (most recent MaxMessages messages), 'Bookend' (first 2 messages + most recent MaxMessages-2 messages with indicator between). Stored on relationship because related sub-agents can have multiple parents with different message passing needs.
|
|
24910
|
+
*/
|
|
24911
|
+
get MessageMode(): 'All' | 'Bookend' | 'Latest' | 'None';
|
|
24912
|
+
set MessageMode(value: 'All' | 'Bookend' | 'Latest' | 'None');
|
|
24913
|
+
/**
|
|
24914
|
+
* * Field Name: MaxMessages
|
|
24915
|
+
* * Display Name: Max Messages
|
|
24916
|
+
* * SQL Data Type: int
|
|
24917
|
+
* * Description: Maximum number of conversation messages to include when MessageMode is 'Latest' or 'Bookend'. NULL means no limit (ignored for 'None' and 'All' modes). Must be greater than 0 if specified. For 'Latest': keeps most recent N messages. For 'Bookend': keeps first 2 + most recent (N-2) messages.
|
|
24918
|
+
*/
|
|
24919
|
+
get MaxMessages(): number | null;
|
|
24920
|
+
set MaxMessages(value: number | null);
|
|
24921
|
+
/**
|
|
24698
24922
|
* * Field Name: Agent
|
|
24699
24923
|
* * Display Name: Agent
|
|
24700
24924
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -28269,6 +28493,106 @@ export declare class ArtifactTypeEntity extends BaseEntity<ArtifactTypeEntityTyp
|
|
|
28269
28493
|
*/
|
|
28270
28494
|
get RootParentID(): string | null;
|
|
28271
28495
|
}
|
|
28496
|
+
/**
|
|
28497
|
+
* MJ: Artifact Uses - strongly typed entity sub-class
|
|
28498
|
+
* * Schema: __mj
|
|
28499
|
+
* * Base Table: ArtifactUse
|
|
28500
|
+
* * Base View: vwArtifactUses
|
|
28501
|
+
* * @description Audit trail of artifact usage for security and analytics. Tracks each time an artifact is viewed, opened, shared, saved, or exported by users.
|
|
28502
|
+
* * Primary Key: ID
|
|
28503
|
+
* @extends {BaseEntity}
|
|
28504
|
+
* @class
|
|
28505
|
+
* @public
|
|
28506
|
+
*/
|
|
28507
|
+
export declare class ArtifactUseEntity extends BaseEntity<ArtifactUseEntityType> {
|
|
28508
|
+
/**
|
|
28509
|
+
* Loads the MJ: Artifact Uses record from the database
|
|
28510
|
+
* @param ID: string - primary key value to load the MJ: Artifact Uses record.
|
|
28511
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
28512
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
28513
|
+
* @public
|
|
28514
|
+
* @async
|
|
28515
|
+
* @memberof ArtifactUseEntity
|
|
28516
|
+
* @method
|
|
28517
|
+
* @override
|
|
28518
|
+
*/
|
|
28519
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
28520
|
+
/**
|
|
28521
|
+
* * Field Name: ID
|
|
28522
|
+
* * Display Name: ID
|
|
28523
|
+
* * SQL Data Type: uniqueidentifier
|
|
28524
|
+
* * Default Value: newsequentialid()
|
|
28525
|
+
*/
|
|
28526
|
+
get ID(): string;
|
|
28527
|
+
set ID(value: string);
|
|
28528
|
+
/**
|
|
28529
|
+
* * Field Name: ArtifactVersionID
|
|
28530
|
+
* * Display Name: Artifact Version ID
|
|
28531
|
+
* * SQL Data Type: uniqueidentifier
|
|
28532
|
+
* * Related Entity/Foreign Key: MJ: Artifact Versions (vwArtifactVersions.ID)
|
|
28533
|
+
* * Description: The specific version of the artifact being used.
|
|
28534
|
+
*/
|
|
28535
|
+
get ArtifactVersionID(): string;
|
|
28536
|
+
set ArtifactVersionID(value: string);
|
|
28537
|
+
/**
|
|
28538
|
+
* * Field Name: UserID
|
|
28539
|
+
* * Display Name: User ID
|
|
28540
|
+
* * SQL Data Type: uniqueidentifier
|
|
28541
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
28542
|
+
* * Description: The user performing the action.
|
|
28543
|
+
*/
|
|
28544
|
+
get UserID(): string;
|
|
28545
|
+
set UserID(value: string);
|
|
28546
|
+
/**
|
|
28547
|
+
* * Field Name: UsageType
|
|
28548
|
+
* * Display Name: Usage Type
|
|
28549
|
+
* * SQL Data Type: nvarchar(20)
|
|
28550
|
+
* * Value List Type: List
|
|
28551
|
+
* * Possible Values
|
|
28552
|
+
* * Exported
|
|
28553
|
+
* * Opened
|
|
28554
|
+
* * Saved
|
|
28555
|
+
* * Shared
|
|
28556
|
+
* * Viewed
|
|
28557
|
+
* * Description: Type of usage: Viewed (artifact displayed), Opened (artifact accessed), Shared (artifact shared with others), Saved (artifact bookmarked), or Exported (artifact downloaded).
|
|
28558
|
+
*/
|
|
28559
|
+
get UsageType(): 'Exported' | 'Opened' | 'Saved' | 'Shared' | 'Viewed';
|
|
28560
|
+
set UsageType(value: 'Exported' | 'Opened' | 'Saved' | 'Shared' | 'Viewed');
|
|
28561
|
+
/**
|
|
28562
|
+
* * Field Name: UsageContext
|
|
28563
|
+
* * Display Name: Usage Context
|
|
28564
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
28565
|
+
* * Description: Optional JSON context with additional metadata about the usage event (e.g., source page, referrer, device info).
|
|
28566
|
+
*/
|
|
28567
|
+
get UsageContext(): string | null;
|
|
28568
|
+
set UsageContext(value: string | null);
|
|
28569
|
+
/**
|
|
28570
|
+
* * Field Name: __mj_CreatedAt
|
|
28571
|
+
* * Display Name: Created At
|
|
28572
|
+
* * SQL Data Type: datetimeoffset
|
|
28573
|
+
* * Default Value: getutcdate()
|
|
28574
|
+
*/
|
|
28575
|
+
get __mj_CreatedAt(): Date;
|
|
28576
|
+
/**
|
|
28577
|
+
* * Field Name: __mj_UpdatedAt
|
|
28578
|
+
* * Display Name: Updated At
|
|
28579
|
+
* * SQL Data Type: datetimeoffset
|
|
28580
|
+
* * Default Value: getutcdate()
|
|
28581
|
+
*/
|
|
28582
|
+
get __mj_UpdatedAt(): Date;
|
|
28583
|
+
/**
|
|
28584
|
+
* * Field Name: ArtifactVersion
|
|
28585
|
+
* * Display Name: Artifact Version
|
|
28586
|
+
* * SQL Data Type: nvarchar(255)
|
|
28587
|
+
*/
|
|
28588
|
+
get ArtifactVersion(): string | null;
|
|
28589
|
+
/**
|
|
28590
|
+
* * Field Name: User
|
|
28591
|
+
* * Display Name: User
|
|
28592
|
+
* * SQL Data Type: nvarchar(100)
|
|
28593
|
+
*/
|
|
28594
|
+
get User(): string;
|
|
28595
|
+
}
|
|
28272
28596
|
/**
|
|
28273
28597
|
* MJ: Artifact Version Attributes - strongly typed entity sub-class
|
|
28274
28598
|
* * Schema: __mj
|
|
@@ -28632,7 +28956,7 @@ export declare class ArtifactEntity extends BaseEntity<ArtifactEntityType> {
|
|
|
28632
28956
|
* * Schema: __mj
|
|
28633
28957
|
* * Base Table: CollectionArtifact
|
|
28634
28958
|
* * Base View: vwCollectionArtifacts
|
|
28635
|
-
* * @description
|
|
28959
|
+
* * @description Links collections to specific artifact versions. Each collection can contain multiple versions of the same artifact.
|
|
28636
28960
|
* * Primary Key: ID
|
|
28637
28961
|
* @extends {BaseEntity}
|
|
28638
28962
|
* @class
|
|
@@ -28668,14 +28992,6 @@ export declare class CollectionArtifactEntity extends BaseEntity<CollectionArtif
|
|
|
28668
28992
|
get CollectionID(): string;
|
|
28669
28993
|
set CollectionID(value: string);
|
|
28670
28994
|
/**
|
|
28671
|
-
* * Field Name: ArtifactID
|
|
28672
|
-
* * Display Name: Artifact ID
|
|
28673
|
-
* * SQL Data Type: uniqueidentifier
|
|
28674
|
-
* * Related Entity/Foreign Key: MJ: Artifacts (vwArtifacts.ID)
|
|
28675
|
-
*/
|
|
28676
|
-
get ArtifactID(): string;
|
|
28677
|
-
set ArtifactID(value: string);
|
|
28678
|
-
/**
|
|
28679
28995
|
* * Field Name: Sequence
|
|
28680
28996
|
* * Display Name: Sequence
|
|
28681
28997
|
* * SQL Data Type: int
|
|
@@ -28699,17 +29015,26 @@ export declare class CollectionArtifactEntity extends BaseEntity<CollectionArtif
|
|
|
28699
29015
|
*/
|
|
28700
29016
|
get __mj_UpdatedAt(): Date;
|
|
28701
29017
|
/**
|
|
29018
|
+
* * Field Name: ArtifactVersionID
|
|
29019
|
+
* * Display Name: Artifact Version ID
|
|
29020
|
+
* * SQL Data Type: uniqueidentifier
|
|
29021
|
+
* * Related Entity/Foreign Key: MJ: Artifact Versions (vwArtifactVersions.ID)
|
|
29022
|
+
* * Description: Required. Specific version of the artifact saved to this collection. Collections store version-specific artifacts to enable proper version tracking and Links tab filtering.
|
|
29023
|
+
*/
|
|
29024
|
+
get ArtifactVersionID(): string;
|
|
29025
|
+
set ArtifactVersionID(value: string);
|
|
29026
|
+
/**
|
|
28702
29027
|
* * Field Name: Collection
|
|
28703
29028
|
* * Display Name: Collection
|
|
28704
29029
|
* * SQL Data Type: nvarchar(255)
|
|
28705
29030
|
*/
|
|
28706
29031
|
get Collection(): string;
|
|
28707
29032
|
/**
|
|
28708
|
-
* * Field Name:
|
|
28709
|
-
* * Display Name: Artifact
|
|
29033
|
+
* * Field Name: ArtifactVersion
|
|
29034
|
+
* * Display Name: Artifact Version
|
|
28710
29035
|
* * SQL Data Type: nvarchar(255)
|
|
28711
29036
|
*/
|
|
28712
|
-
get
|
|
29037
|
+
get ArtifactVersion(): string | null;
|
|
28713
29038
|
}
|
|
28714
29039
|
/**
|
|
28715
29040
|
* MJ: Collection Permissions - strongly typed entity sub-class
|
|
@@ -30108,6 +30433,108 @@ export declare class ConversationDetailArtifactEntity extends BaseEntity<Convers
|
|
|
30108
30433
|
*/
|
|
30109
30434
|
get ArtifactVersion(): string | null;
|
|
30110
30435
|
}
|
|
30436
|
+
/**
|
|
30437
|
+
* MJ: Conversation Detail Ratings - strongly typed entity sub-class
|
|
30438
|
+
* * Schema: __mj
|
|
30439
|
+
* * Base Table: ConversationDetailRating
|
|
30440
|
+
* * Base View: vwConversationDetailRatings
|
|
30441
|
+
* * @description Stores per-user ratings for conversation messages, supporting multi-user conversations where each user can independently rate messages.
|
|
30442
|
+
* * Primary Key: ID
|
|
30443
|
+
* @extends {BaseEntity}
|
|
30444
|
+
* @class
|
|
30445
|
+
* @public
|
|
30446
|
+
*/
|
|
30447
|
+
export declare class ConversationDetailRatingEntity extends BaseEntity<ConversationDetailRatingEntityType> {
|
|
30448
|
+
/**
|
|
30449
|
+
* Loads the MJ: Conversation Detail Ratings record from the database
|
|
30450
|
+
* @param ID: string - primary key value to load the MJ: Conversation Detail Ratings record.
|
|
30451
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
30452
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
30453
|
+
* @public
|
|
30454
|
+
* @async
|
|
30455
|
+
* @memberof ConversationDetailRatingEntity
|
|
30456
|
+
* @method
|
|
30457
|
+
* @override
|
|
30458
|
+
*/
|
|
30459
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
30460
|
+
/**
|
|
30461
|
+
* Validate() method override for MJ: Conversation Detail Ratings entity. This is an auto-generated method that invokes the generated validators for this entity for the following fields:
|
|
30462
|
+
* * Rating: This rule ensures that the rating must be a whole number between 1 and 10, inclusive.
|
|
30463
|
+
* @public
|
|
30464
|
+
* @method
|
|
30465
|
+
* @override
|
|
30466
|
+
*/
|
|
30467
|
+
Validate(): ValidationResult;
|
|
30468
|
+
/**
|
|
30469
|
+
* This rule ensures that the rating must be a whole number between 1 and 10, inclusive.
|
|
30470
|
+
* @param result - the ValidationResult object to add any errors or warnings to
|
|
30471
|
+
* @public
|
|
30472
|
+
* @method
|
|
30473
|
+
*/
|
|
30474
|
+
ValidateRatingWithinAllowedRange(result: ValidationResult): void;
|
|
30475
|
+
/**
|
|
30476
|
+
* * Field Name: ID
|
|
30477
|
+
* * Display Name: ID
|
|
30478
|
+
* * SQL Data Type: uniqueidentifier
|
|
30479
|
+
* * Default Value: newsequentialid()
|
|
30480
|
+
*/
|
|
30481
|
+
get ID(): string;
|
|
30482
|
+
set ID(value: string);
|
|
30483
|
+
/**
|
|
30484
|
+
* * Field Name: ConversationDetailID
|
|
30485
|
+
* * Display Name: Conversation Detail ID
|
|
30486
|
+
* * SQL Data Type: uniqueidentifier
|
|
30487
|
+
* * Related Entity/Foreign Key: Conversation Details (vwConversationDetails.ID)
|
|
30488
|
+
* * Description: The conversation message being rated.
|
|
30489
|
+
*/
|
|
30490
|
+
get ConversationDetailID(): string;
|
|
30491
|
+
set ConversationDetailID(value: string);
|
|
30492
|
+
/**
|
|
30493
|
+
* * Field Name: UserID
|
|
30494
|
+
* * Display Name: User ID
|
|
30495
|
+
* * SQL Data Type: uniqueidentifier
|
|
30496
|
+
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
30497
|
+
* * Description: The user providing the rating.
|
|
30498
|
+
*/
|
|
30499
|
+
get UserID(): string;
|
|
30500
|
+
set UserID(value: string);
|
|
30501
|
+
/**
|
|
30502
|
+
* * Field Name: Rating
|
|
30503
|
+
* * Display Name: Rating
|
|
30504
|
+
* * SQL Data Type: int
|
|
30505
|
+
* * Description: Rating on a 1-10 scale where 1 is thumbs down and 10 is thumbs up.
|
|
30506
|
+
*/
|
|
30507
|
+
get Rating(): number;
|
|
30508
|
+
set Rating(value: number);
|
|
30509
|
+
/**
|
|
30510
|
+
* * Field Name: Comments
|
|
30511
|
+
* * Display Name: Comments
|
|
30512
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
30513
|
+
* * Description: Optional textual feedback from the user about this message.
|
|
30514
|
+
*/
|
|
30515
|
+
get Comments(): string | null;
|
|
30516
|
+
set Comments(value: string | null);
|
|
30517
|
+
/**
|
|
30518
|
+
* * Field Name: __mj_CreatedAt
|
|
30519
|
+
* * Display Name: Created At
|
|
30520
|
+
* * SQL Data Type: datetimeoffset
|
|
30521
|
+
* * Default Value: getutcdate()
|
|
30522
|
+
*/
|
|
30523
|
+
get __mj_CreatedAt(): Date;
|
|
30524
|
+
/**
|
|
30525
|
+
* * Field Name: __mj_UpdatedAt
|
|
30526
|
+
* * Display Name: Updated At
|
|
30527
|
+
* * SQL Data Type: datetimeoffset
|
|
30528
|
+
* * Default Value: getutcdate()
|
|
30529
|
+
*/
|
|
30530
|
+
get __mj_UpdatedAt(): Date;
|
|
30531
|
+
/**
|
|
30532
|
+
* * Field Name: User
|
|
30533
|
+
* * Display Name: User
|
|
30534
|
+
* * SQL Data Type: nvarchar(100)
|
|
30535
|
+
*/
|
|
30536
|
+
get User(): string;
|
|
30537
|
+
}
|
|
30111
30538
|
/**
|
|
30112
30539
|
* MJ: Dashboard User Preferences - strongly typed entity sub-class
|
|
30113
30540
|
* * Schema: __mj
|