@memberjunction/core-entities 3.2.0 → 3.3.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/UserViewEntity.d.ts +151 -0
- package/dist/custom/UserViewEntity.d.ts.map +1 -1
- package/dist/custom/UserViewEntity.js +16 -1
- package/dist/custom/UserViewEntity.js.map +1 -1
- package/dist/engines/dashboards.d.ts +17 -0
- package/dist/engines/dashboards.d.ts.map +1 -1
- package/dist/engines/dashboards.js +22 -0
- package/dist/engines/dashboards.js.map +1 -1
- package/dist/generated/entity_subclasses.d.ts +845 -43
- package/dist/generated/entity_subclasses.d.ts.map +1 -1
- package/dist/generated/entity_subclasses.js +1263 -74
- package/dist/generated/entity_subclasses.js.map +1 -1
- package/package.json +5 -5
|
@@ -240,7 +240,7 @@ export declare const ActionParamSchema: z.ZodObject<{
|
|
|
240
240
|
Name: z.ZodString;
|
|
241
241
|
DefaultValue: z.ZodNullable<z.ZodString>;
|
|
242
242
|
Type: z.ZodUnion<[z.ZodLiteral<"Both">, z.ZodLiteral<"Input">, z.ZodLiteral<"Output">]>;
|
|
243
|
-
ValueType: z.ZodUnion<[z.ZodLiteral<"BaseEntity Sub-Class">, z.ZodLiteral<"BaseEntity Sub-Class">, z.ZodLiteral<"MediaOutput">, z.ZodLiteral<"Other">, z.ZodLiteral<"
|
|
243
|
+
ValueType: z.ZodUnion<[z.ZodLiteral<"BaseEntity Sub-Class">, z.ZodLiteral<"BaseEntity Sub-Class">, z.ZodLiteral<"MediaOutput">, z.ZodLiteral<"Other">, z.ZodLiteral<"Other">, z.ZodLiteral<"Scalar">, z.ZodLiteral<"Scalar">, z.ZodLiteral<"Simple Object">, z.ZodLiteral<"Simple Object">]>;
|
|
244
244
|
IsArray: z.ZodBoolean;
|
|
245
245
|
Description: z.ZodNullable<z.ZodString>;
|
|
246
246
|
IsRequired: z.ZodBoolean;
|
|
@@ -613,6 +613,12 @@ export declare const AIAgentNoteSchema: z.ZodObject<{
|
|
|
613
613
|
CompanyID: z.ZodNullable<z.ZodString>;
|
|
614
614
|
EmbeddingVector: z.ZodNullable<z.ZodString>;
|
|
615
615
|
EmbeddingModelID: z.ZodNullable<z.ZodString>;
|
|
616
|
+
PrimaryScopeEntityID: z.ZodNullable<z.ZodString>;
|
|
617
|
+
PrimaryScopeRecordID: z.ZodNullable<z.ZodString>;
|
|
618
|
+
SecondaryScopes: z.ZodNullable<z.ZodString>;
|
|
619
|
+
LastAccessedAt: z.ZodNullable<z.ZodDate>;
|
|
620
|
+
AccessCount: z.ZodNumber;
|
|
621
|
+
ExpiresAt: z.ZodNullable<z.ZodDate>;
|
|
616
622
|
Agent: z.ZodNullable<z.ZodString>;
|
|
617
623
|
AgentNoteType: z.ZodNullable<z.ZodString>;
|
|
618
624
|
User: z.ZodNullable<z.ZodString>;
|
|
@@ -621,6 +627,7 @@ export declare const AIAgentNoteSchema: z.ZodObject<{
|
|
|
621
627
|
SourceAIAgentRun: z.ZodNullable<z.ZodString>;
|
|
622
628
|
Company: z.ZodNullable<z.ZodString>;
|
|
623
629
|
EmbeddingModel: z.ZodNullable<z.ZodString>;
|
|
630
|
+
PrimaryScopeEntity: z.ZodNullable<z.ZodString>;
|
|
624
631
|
}, "strip", z.ZodTypeAny, {
|
|
625
632
|
ID?: string;
|
|
626
633
|
Comments?: string;
|
|
@@ -641,12 +648,19 @@ export declare const AIAgentNoteSchema: z.ZodObject<{
|
|
|
641
648
|
CompanyID?: string;
|
|
642
649
|
EmbeddingVector?: string;
|
|
643
650
|
EmbeddingModelID?: string;
|
|
651
|
+
PrimaryScopeEntityID?: string;
|
|
652
|
+
PrimaryScopeRecordID?: string;
|
|
653
|
+
SecondaryScopes?: string;
|
|
654
|
+
LastAccessedAt?: Date;
|
|
655
|
+
AccessCount?: number;
|
|
656
|
+
ExpiresAt?: Date;
|
|
644
657
|
AgentNoteType?: string;
|
|
645
658
|
SourceConversation?: string;
|
|
646
659
|
SourceConversationDetail?: string;
|
|
647
660
|
SourceAIAgentRun?: string;
|
|
648
661
|
Company?: string;
|
|
649
662
|
EmbeddingModel?: string;
|
|
663
|
+
PrimaryScopeEntity?: string;
|
|
650
664
|
}, {
|
|
651
665
|
ID?: string;
|
|
652
666
|
Comments?: string;
|
|
@@ -667,12 +681,19 @@ export declare const AIAgentNoteSchema: z.ZodObject<{
|
|
|
667
681
|
CompanyID?: string;
|
|
668
682
|
EmbeddingVector?: string;
|
|
669
683
|
EmbeddingModelID?: string;
|
|
684
|
+
PrimaryScopeEntityID?: string;
|
|
685
|
+
PrimaryScopeRecordID?: string;
|
|
686
|
+
SecondaryScopes?: string;
|
|
687
|
+
LastAccessedAt?: Date;
|
|
688
|
+
AccessCount?: number;
|
|
689
|
+
ExpiresAt?: Date;
|
|
670
690
|
AgentNoteType?: string;
|
|
671
691
|
SourceConversation?: string;
|
|
672
692
|
SourceConversationDetail?: string;
|
|
673
693
|
SourceAIAgentRun?: string;
|
|
674
694
|
Company?: string;
|
|
675
695
|
EmbeddingModel?: string;
|
|
696
|
+
PrimaryScopeEntity?: string;
|
|
676
697
|
}>;
|
|
677
698
|
export type AIAgentNoteEntityType = z.infer<typeof AIAgentNoteSchema>;
|
|
678
699
|
/**
|
|
@@ -788,6 +809,11 @@ export declare const AIAgentSchema: z.ZodObject<{
|
|
|
788
809
|
AttachmentRootPath: z.ZodNullable<z.ZodString>;
|
|
789
810
|
InlineStorageThresholdBytes: z.ZodNullable<z.ZodNumber>;
|
|
790
811
|
AgentTypePromptParams: z.ZodNullable<z.ZodString>;
|
|
812
|
+
ScopeConfig: z.ZodNullable<z.ZodString>;
|
|
813
|
+
NoteRetentionDays: z.ZodNullable<z.ZodNumber>;
|
|
814
|
+
ExampleRetentionDays: z.ZodNullable<z.ZodNumber>;
|
|
815
|
+
AutoArchiveEnabled: z.ZodBoolean;
|
|
816
|
+
RerankerConfiguration: z.ZodNullable<z.ZodString>;
|
|
791
817
|
Parent: z.ZodNullable<z.ZodString>;
|
|
792
818
|
ContextCompressionPrompt: z.ZodNullable<z.ZodString>;
|
|
793
819
|
Type: z.ZodNullable<z.ZodString>;
|
|
@@ -855,6 +881,11 @@ export declare const AIAgentSchema: z.ZodObject<{
|
|
|
855
881
|
AttachmentRootPath?: string;
|
|
856
882
|
InlineStorageThresholdBytes?: number;
|
|
857
883
|
AgentTypePromptParams?: string;
|
|
884
|
+
ScopeConfig?: string;
|
|
885
|
+
NoteRetentionDays?: number;
|
|
886
|
+
ExampleRetentionDays?: number;
|
|
887
|
+
AutoArchiveEnabled?: boolean;
|
|
888
|
+
RerankerConfiguration?: string;
|
|
858
889
|
ContextCompressionPrompt?: string;
|
|
859
890
|
DefaultArtifactType?: string;
|
|
860
891
|
OwnerUser?: string;
|
|
@@ -919,6 +950,11 @@ export declare const AIAgentSchema: z.ZodObject<{
|
|
|
919
950
|
AttachmentRootPath?: string;
|
|
920
951
|
InlineStorageThresholdBytes?: number;
|
|
921
952
|
AgentTypePromptParams?: string;
|
|
953
|
+
ScopeConfig?: string;
|
|
954
|
+
NoteRetentionDays?: number;
|
|
955
|
+
ExampleRetentionDays?: number;
|
|
956
|
+
AutoArchiveEnabled?: boolean;
|
|
957
|
+
RerankerConfiguration?: string;
|
|
922
958
|
ContextCompressionPrompt?: string;
|
|
923
959
|
DefaultArtifactType?: string;
|
|
924
960
|
OwnerUser?: string;
|
|
@@ -5060,6 +5096,7 @@ export declare const AccessControlRuleSchema: z.ZodObject<{
|
|
|
5060
5096
|
ID?: string;
|
|
5061
5097
|
__mj_CreatedAt?: Date;
|
|
5062
5098
|
__mj_UpdatedAt?: Date;
|
|
5099
|
+
ExpiresAt?: Date;
|
|
5063
5100
|
EntityID?: string;
|
|
5064
5101
|
Entity?: string;
|
|
5065
5102
|
RecordID?: string;
|
|
@@ -5070,13 +5107,13 @@ export declare const AccessControlRuleSchema: z.ZodObject<{
|
|
|
5070
5107
|
GranteeType?: "User" | "Role" | "Everyone" | "Public";
|
|
5071
5108
|
GranteeID?: string;
|
|
5072
5109
|
CanShare?: boolean;
|
|
5073
|
-
ExpiresAt?: Date;
|
|
5074
5110
|
GrantedByUserID?: string;
|
|
5075
5111
|
GrantedByUser?: string;
|
|
5076
5112
|
}, {
|
|
5077
5113
|
ID?: string;
|
|
5078
5114
|
__mj_CreatedAt?: Date;
|
|
5079
5115
|
__mj_UpdatedAt?: Date;
|
|
5116
|
+
ExpiresAt?: Date;
|
|
5080
5117
|
EntityID?: string;
|
|
5081
5118
|
Entity?: string;
|
|
5082
5119
|
RecordID?: string;
|
|
@@ -5087,7 +5124,6 @@ export declare const AccessControlRuleSchema: z.ZodObject<{
|
|
|
5087
5124
|
GranteeType?: "User" | "Role" | "Everyone" | "Public";
|
|
5088
5125
|
GranteeID?: string;
|
|
5089
5126
|
CanShare?: boolean;
|
|
5090
|
-
ExpiresAt?: Date;
|
|
5091
5127
|
GrantedByUserID?: string;
|
|
5092
5128
|
GrantedByUser?: string;
|
|
5093
5129
|
}>;
|
|
@@ -5270,6 +5306,12 @@ export declare const AIAgentExampleSchema: z.ZodObject<{
|
|
|
5270
5306
|
__mj_UpdatedAt: z.ZodDate;
|
|
5271
5307
|
EmbeddingVector: z.ZodNullable<z.ZodString>;
|
|
5272
5308
|
EmbeddingModelID: z.ZodNullable<z.ZodString>;
|
|
5309
|
+
PrimaryScopeEntityID: z.ZodNullable<z.ZodString>;
|
|
5310
|
+
PrimaryScopeRecordID: z.ZodNullable<z.ZodString>;
|
|
5311
|
+
SecondaryScopes: z.ZodNullable<z.ZodString>;
|
|
5312
|
+
LastAccessedAt: z.ZodNullable<z.ZodDate>;
|
|
5313
|
+
AccessCount: z.ZodNumber;
|
|
5314
|
+
ExpiresAt: z.ZodNullable<z.ZodDate>;
|
|
5273
5315
|
Agent: z.ZodNullable<z.ZodString>;
|
|
5274
5316
|
User: z.ZodNullable<z.ZodString>;
|
|
5275
5317
|
Company: z.ZodNullable<z.ZodString>;
|
|
@@ -5277,6 +5319,7 @@ export declare const AIAgentExampleSchema: z.ZodObject<{
|
|
|
5277
5319
|
SourceConversationDetail: z.ZodNullable<z.ZodString>;
|
|
5278
5320
|
SourceAIAgentRun: z.ZodNullable<z.ZodString>;
|
|
5279
5321
|
EmbeddingModel: z.ZodNullable<z.ZodString>;
|
|
5322
|
+
PrimaryScopeEntity: z.ZodNullable<z.ZodString>;
|
|
5280
5323
|
}, "strip", z.ZodTypeAny, {
|
|
5281
5324
|
ID?: string;
|
|
5282
5325
|
Comments?: string;
|
|
@@ -5295,11 +5338,18 @@ export declare const AIAgentExampleSchema: z.ZodObject<{
|
|
|
5295
5338
|
CompanyID?: string;
|
|
5296
5339
|
EmbeddingVector?: string;
|
|
5297
5340
|
EmbeddingModelID?: string;
|
|
5341
|
+
PrimaryScopeEntityID?: string;
|
|
5342
|
+
PrimaryScopeRecordID?: string;
|
|
5343
|
+
SecondaryScopes?: string;
|
|
5344
|
+
LastAccessedAt?: Date;
|
|
5345
|
+
AccessCount?: number;
|
|
5346
|
+
ExpiresAt?: Date;
|
|
5298
5347
|
SourceConversation?: string;
|
|
5299
5348
|
SourceConversationDetail?: string;
|
|
5300
5349
|
SourceAIAgentRun?: string;
|
|
5301
5350
|
Company?: string;
|
|
5302
5351
|
EmbeddingModel?: string;
|
|
5352
|
+
PrimaryScopeEntity?: string;
|
|
5303
5353
|
ExampleInput?: string;
|
|
5304
5354
|
ExampleOutput?: string;
|
|
5305
5355
|
SuccessScore?: number;
|
|
@@ -5321,11 +5371,18 @@ export declare const AIAgentExampleSchema: z.ZodObject<{
|
|
|
5321
5371
|
CompanyID?: string;
|
|
5322
5372
|
EmbeddingVector?: string;
|
|
5323
5373
|
EmbeddingModelID?: string;
|
|
5374
|
+
PrimaryScopeEntityID?: string;
|
|
5375
|
+
PrimaryScopeRecordID?: string;
|
|
5376
|
+
SecondaryScopes?: string;
|
|
5377
|
+
LastAccessedAt?: Date;
|
|
5378
|
+
AccessCount?: number;
|
|
5379
|
+
ExpiresAt?: Date;
|
|
5324
5380
|
SourceConversation?: string;
|
|
5325
5381
|
SourceConversationDetail?: string;
|
|
5326
5382
|
SourceAIAgentRun?: string;
|
|
5327
5383
|
Company?: string;
|
|
5328
5384
|
EmbeddingModel?: string;
|
|
5385
|
+
PrimaryScopeEntity?: string;
|
|
5329
5386
|
ExampleInput?: string;
|
|
5330
5387
|
ExampleOutput?: string;
|
|
5331
5388
|
SuccessScore?: number;
|
|
@@ -5724,6 +5781,9 @@ export declare const AIAgentRunSchema: z.ZodObject<{
|
|
|
5724
5781
|
Comments: z.ZodNullable<z.ZodString>;
|
|
5725
5782
|
ScheduledJobRunID: z.ZodNullable<z.ZodString>;
|
|
5726
5783
|
TestRunID: z.ZodNullable<z.ZodString>;
|
|
5784
|
+
PrimaryScopeEntityID: z.ZodNullable<z.ZodString>;
|
|
5785
|
+
PrimaryScopeRecordID: z.ZodNullable<z.ZodString>;
|
|
5786
|
+
SecondaryScopes: z.ZodNullable<z.ZodString>;
|
|
5727
5787
|
Agent: z.ZodNullable<z.ZodString>;
|
|
5728
5788
|
ParentRun: z.ZodNullable<z.ZodString>;
|
|
5729
5789
|
Conversation: z.ZodNullable<z.ZodString>;
|
|
@@ -5735,6 +5795,7 @@ export declare const AIAgentRunSchema: z.ZodObject<{
|
|
|
5735
5795
|
OverrideVendor: z.ZodNullable<z.ZodString>;
|
|
5736
5796
|
ScheduledJobRun: z.ZodNullable<z.ZodString>;
|
|
5737
5797
|
TestRun: z.ZodNullable<z.ZodString>;
|
|
5798
|
+
PrimaryScopeEntity: z.ZodNullable<z.ZodString>;
|
|
5738
5799
|
RootParentRunID: z.ZodNullable<z.ZodString>;
|
|
5739
5800
|
RootLastRunID: z.ZodNullable<z.ZodString>;
|
|
5740
5801
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5749,6 +5810,10 @@ export declare const AIAgentRunSchema: z.ZodObject<{
|
|
|
5749
5810
|
User?: string;
|
|
5750
5811
|
AgentID?: string;
|
|
5751
5812
|
Agent?: string;
|
|
5813
|
+
PrimaryScopeEntityID?: string;
|
|
5814
|
+
PrimaryScopeRecordID?: string;
|
|
5815
|
+
SecondaryScopes?: string;
|
|
5816
|
+
PrimaryScopeEntity?: string;
|
|
5752
5817
|
Success?: boolean;
|
|
5753
5818
|
EffortLevel?: number;
|
|
5754
5819
|
ConfigurationID?: string;
|
|
@@ -5804,6 +5869,10 @@ export declare const AIAgentRunSchema: z.ZodObject<{
|
|
|
5804
5869
|
User?: string;
|
|
5805
5870
|
AgentID?: string;
|
|
5806
5871
|
Agent?: string;
|
|
5872
|
+
PrimaryScopeEntityID?: string;
|
|
5873
|
+
PrimaryScopeRecordID?: string;
|
|
5874
|
+
SecondaryScopes?: string;
|
|
5875
|
+
PrimaryScopeEntity?: string;
|
|
5807
5876
|
Success?: boolean;
|
|
5808
5877
|
EffortLevel?: number;
|
|
5809
5878
|
ConfigurationID?: string;
|
|
@@ -7050,6 +7119,102 @@ export declare const AIVendorSchema: z.ZodObject<{
|
|
|
7050
7119
|
CredentialType?: string;
|
|
7051
7120
|
}>;
|
|
7052
7121
|
export type AIVendorEntityType = z.infer<typeof AIVendorSchema>;
|
|
7122
|
+
/**
|
|
7123
|
+
* zod schema definition for the entity MJ: API Application Scopes
|
|
7124
|
+
*/
|
|
7125
|
+
export declare const APIApplicationScopeSchema: z.ZodObject<{
|
|
7126
|
+
ID: z.ZodString;
|
|
7127
|
+
ApplicationID: z.ZodString;
|
|
7128
|
+
ScopeID: z.ZodString;
|
|
7129
|
+
ResourcePattern: z.ZodNullable<z.ZodString>;
|
|
7130
|
+
PatternType: z.ZodUnion<[z.ZodLiteral<"Exclude">, z.ZodLiteral<"Include">]>;
|
|
7131
|
+
IsDeny: z.ZodBoolean;
|
|
7132
|
+
Priority: z.ZodNumber;
|
|
7133
|
+
__mj_CreatedAt: z.ZodDate;
|
|
7134
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
7135
|
+
Application: z.ZodString;
|
|
7136
|
+
Scope: z.ZodString;
|
|
7137
|
+
}, "strip", z.ZodTypeAny, {
|
|
7138
|
+
ID?: string;
|
|
7139
|
+
__mj_CreatedAt?: Date;
|
|
7140
|
+
__mj_UpdatedAt?: Date;
|
|
7141
|
+
Priority?: number;
|
|
7142
|
+
ApplicationID?: string;
|
|
7143
|
+
Application?: string;
|
|
7144
|
+
Scope?: string;
|
|
7145
|
+
ScopeID?: string;
|
|
7146
|
+
ResourcePattern?: string;
|
|
7147
|
+
PatternType?: "Exclude" | "Include";
|
|
7148
|
+
IsDeny?: boolean;
|
|
7149
|
+
}, {
|
|
7150
|
+
ID?: string;
|
|
7151
|
+
__mj_CreatedAt?: Date;
|
|
7152
|
+
__mj_UpdatedAt?: Date;
|
|
7153
|
+
Priority?: number;
|
|
7154
|
+
ApplicationID?: string;
|
|
7155
|
+
Application?: string;
|
|
7156
|
+
Scope?: string;
|
|
7157
|
+
ScopeID?: string;
|
|
7158
|
+
ResourcePattern?: string;
|
|
7159
|
+
PatternType?: "Exclude" | "Include";
|
|
7160
|
+
IsDeny?: boolean;
|
|
7161
|
+
}>;
|
|
7162
|
+
export type APIApplicationScopeEntityType = z.infer<typeof APIApplicationScopeSchema>;
|
|
7163
|
+
/**
|
|
7164
|
+
* zod schema definition for the entity MJ: API Applications
|
|
7165
|
+
*/
|
|
7166
|
+
export declare const APIApplicationSchema: z.ZodObject<{
|
|
7167
|
+
ID: z.ZodString;
|
|
7168
|
+
Name: z.ZodString;
|
|
7169
|
+
Description: z.ZodNullable<z.ZodString>;
|
|
7170
|
+
IsActive: z.ZodBoolean;
|
|
7171
|
+
__mj_CreatedAt: z.ZodDate;
|
|
7172
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
7173
|
+
}, "strip", z.ZodTypeAny, {
|
|
7174
|
+
ID?: string;
|
|
7175
|
+
__mj_CreatedAt?: Date;
|
|
7176
|
+
__mj_UpdatedAt?: Date;
|
|
7177
|
+
Name?: string;
|
|
7178
|
+
Description?: string;
|
|
7179
|
+
IsActive?: boolean;
|
|
7180
|
+
}, {
|
|
7181
|
+
ID?: string;
|
|
7182
|
+
__mj_CreatedAt?: Date;
|
|
7183
|
+
__mj_UpdatedAt?: Date;
|
|
7184
|
+
Name?: string;
|
|
7185
|
+
Description?: string;
|
|
7186
|
+
IsActive?: boolean;
|
|
7187
|
+
}>;
|
|
7188
|
+
export type APIApplicationEntityType = z.infer<typeof APIApplicationSchema>;
|
|
7189
|
+
/**
|
|
7190
|
+
* zod schema definition for the entity MJ: API Key Applications
|
|
7191
|
+
*/
|
|
7192
|
+
export declare const APIKeyApplicationSchema: z.ZodObject<{
|
|
7193
|
+
ID: z.ZodString;
|
|
7194
|
+
APIKeyID: z.ZodString;
|
|
7195
|
+
ApplicationID: z.ZodString;
|
|
7196
|
+
__mj_CreatedAt: z.ZodDate;
|
|
7197
|
+
__mj_UpdatedAt: z.ZodDate;
|
|
7198
|
+
APIKey: z.ZodString;
|
|
7199
|
+
Application: z.ZodString;
|
|
7200
|
+
}, "strip", z.ZodTypeAny, {
|
|
7201
|
+
ID?: string;
|
|
7202
|
+
__mj_CreatedAt?: Date;
|
|
7203
|
+
__mj_UpdatedAt?: Date;
|
|
7204
|
+
ApplicationID?: string;
|
|
7205
|
+
Application?: string;
|
|
7206
|
+
APIKey?: string;
|
|
7207
|
+
APIKeyID?: string;
|
|
7208
|
+
}, {
|
|
7209
|
+
ID?: string;
|
|
7210
|
+
__mj_CreatedAt?: Date;
|
|
7211
|
+
__mj_UpdatedAt?: Date;
|
|
7212
|
+
ApplicationID?: string;
|
|
7213
|
+
Application?: string;
|
|
7214
|
+
APIKey?: string;
|
|
7215
|
+
APIKeyID?: string;
|
|
7216
|
+
}>;
|
|
7217
|
+
export type APIKeyApplicationEntityType = z.infer<typeof APIKeyApplicationSchema>;
|
|
7053
7218
|
/**
|
|
7054
7219
|
* zod schema definition for the entity MJ: API Key Scopes
|
|
7055
7220
|
*/
|
|
@@ -7059,24 +7224,36 @@ export declare const APIKeyScopeSchema: z.ZodObject<{
|
|
|
7059
7224
|
ScopeID: z.ZodString;
|
|
7060
7225
|
__mj_CreatedAt: z.ZodDate;
|
|
7061
7226
|
__mj_UpdatedAt: z.ZodDate;
|
|
7227
|
+
ResourcePattern: z.ZodNullable<z.ZodString>;
|
|
7228
|
+
PatternType: z.ZodUnion<[z.ZodLiteral<"Exclude">, z.ZodLiteral<"Include">]>;
|
|
7229
|
+
IsDeny: z.ZodBoolean;
|
|
7230
|
+
Priority: z.ZodNumber;
|
|
7062
7231
|
APIKey: z.ZodString;
|
|
7063
7232
|
Scope: z.ZodString;
|
|
7064
7233
|
}, "strip", z.ZodTypeAny, {
|
|
7065
7234
|
ID?: string;
|
|
7066
7235
|
__mj_CreatedAt?: Date;
|
|
7067
7236
|
__mj_UpdatedAt?: Date;
|
|
7237
|
+
Priority?: number;
|
|
7068
7238
|
APIKey?: string;
|
|
7069
7239
|
Scope?: string;
|
|
7070
|
-
APIKeyID?: string;
|
|
7071
7240
|
ScopeID?: string;
|
|
7241
|
+
ResourcePattern?: string;
|
|
7242
|
+
PatternType?: "Exclude" | "Include";
|
|
7243
|
+
IsDeny?: boolean;
|
|
7244
|
+
APIKeyID?: string;
|
|
7072
7245
|
}, {
|
|
7073
7246
|
ID?: string;
|
|
7074
7247
|
__mj_CreatedAt?: Date;
|
|
7075
7248
|
__mj_UpdatedAt?: Date;
|
|
7249
|
+
Priority?: number;
|
|
7076
7250
|
APIKey?: string;
|
|
7077
7251
|
Scope?: string;
|
|
7078
|
-
APIKeyID?: string;
|
|
7079
7252
|
ScopeID?: string;
|
|
7253
|
+
ResourcePattern?: string;
|
|
7254
|
+
PatternType?: "Exclude" | "Include";
|
|
7255
|
+
IsDeny?: boolean;
|
|
7256
|
+
APIKeyID?: string;
|
|
7080
7257
|
}>;
|
|
7081
7258
|
export type APIKeyScopeEntityType = z.infer<typeof APIKeyScopeSchema>;
|
|
7082
7259
|
/**
|
|
@@ -7094,11 +7271,19 @@ export declare const APIKeyUsageLogSchema: z.ZodObject<{
|
|
|
7094
7271
|
UserAgent: z.ZodNullable<z.ZodString>;
|
|
7095
7272
|
__mj_CreatedAt: z.ZodDate;
|
|
7096
7273
|
__mj_UpdatedAt: z.ZodDate;
|
|
7274
|
+
ApplicationID: z.ZodNullable<z.ZodString>;
|
|
7275
|
+
RequestedResource: z.ZodNullable<z.ZodString>;
|
|
7276
|
+
ScopesEvaluated: z.ZodNullable<z.ZodString>;
|
|
7277
|
+
AuthorizationResult: z.ZodUnion<[z.ZodLiteral<"Allowed">, z.ZodLiteral<"Denied">, z.ZodLiteral<"NoScopesRequired">]>;
|
|
7278
|
+
DeniedReason: z.ZodNullable<z.ZodString>;
|
|
7097
7279
|
APIKey: z.ZodString;
|
|
7280
|
+
Application: z.ZodNullable<z.ZodString>;
|
|
7098
7281
|
}, "strip", z.ZodTypeAny, {
|
|
7099
7282
|
ID?: string;
|
|
7100
7283
|
__mj_CreatedAt?: Date;
|
|
7101
7284
|
__mj_UpdatedAt?: Date;
|
|
7285
|
+
ApplicationID?: string;
|
|
7286
|
+
Application?: string;
|
|
7102
7287
|
APIKey?: string;
|
|
7103
7288
|
APIKeyID?: string;
|
|
7104
7289
|
Endpoint?: string;
|
|
@@ -7108,10 +7293,16 @@ export declare const APIKeyUsageLogSchema: z.ZodObject<{
|
|
|
7108
7293
|
ResponseTimeMs?: number;
|
|
7109
7294
|
IPAddress?: string;
|
|
7110
7295
|
UserAgent?: string;
|
|
7296
|
+
RequestedResource?: string;
|
|
7297
|
+
ScopesEvaluated?: string;
|
|
7298
|
+
AuthorizationResult?: "Allowed" | "Denied" | "NoScopesRequired";
|
|
7299
|
+
DeniedReason?: string;
|
|
7111
7300
|
}, {
|
|
7112
7301
|
ID?: string;
|
|
7113
7302
|
__mj_CreatedAt?: Date;
|
|
7114
7303
|
__mj_UpdatedAt?: Date;
|
|
7304
|
+
ApplicationID?: string;
|
|
7305
|
+
Application?: string;
|
|
7115
7306
|
APIKey?: string;
|
|
7116
7307
|
APIKeyID?: string;
|
|
7117
7308
|
Endpoint?: string;
|
|
@@ -7121,6 +7312,10 @@ export declare const APIKeyUsageLogSchema: z.ZodObject<{
|
|
|
7121
7312
|
ResponseTimeMs?: number;
|
|
7122
7313
|
IPAddress?: string;
|
|
7123
7314
|
UserAgent?: string;
|
|
7315
|
+
RequestedResource?: string;
|
|
7316
|
+
ScopesEvaluated?: string;
|
|
7317
|
+
AuthorizationResult?: "Allowed" | "Denied" | "NoScopesRequired";
|
|
7318
|
+
DeniedReason?: string;
|
|
7124
7319
|
}>;
|
|
7125
7320
|
export type APIKeyUsageLogEntityType = z.infer<typeof APIKeyUsageLogSchema>;
|
|
7126
7321
|
/**
|
|
@@ -7180,20 +7375,38 @@ export declare const APIScopeSchema: z.ZodObject<{
|
|
|
7180
7375
|
Description: z.ZodNullable<z.ZodString>;
|
|
7181
7376
|
__mj_CreatedAt: z.ZodDate;
|
|
7182
7377
|
__mj_UpdatedAt: z.ZodDate;
|
|
7378
|
+
ParentID: z.ZodNullable<z.ZodString>;
|
|
7379
|
+
FullPath: z.ZodString;
|
|
7380
|
+
ResourceType: z.ZodNullable<z.ZodString>;
|
|
7381
|
+
IsActive: z.ZodBoolean;
|
|
7382
|
+
Parent: z.ZodNullable<z.ZodString>;
|
|
7383
|
+
RootParentID: z.ZodNullable<z.ZodString>;
|
|
7183
7384
|
}, "strip", z.ZodTypeAny, {
|
|
7184
7385
|
ID?: string;
|
|
7185
7386
|
__mj_CreatedAt?: Date;
|
|
7186
7387
|
__mj_UpdatedAt?: Date;
|
|
7187
7388
|
Name?: string;
|
|
7188
7389
|
Description?: string;
|
|
7390
|
+
ParentID?: string;
|
|
7391
|
+
Parent?: string;
|
|
7392
|
+
RootParentID?: string;
|
|
7189
7393
|
Category?: string;
|
|
7394
|
+
IsActive?: boolean;
|
|
7395
|
+
FullPath?: string;
|
|
7396
|
+
ResourceType?: string;
|
|
7190
7397
|
}, {
|
|
7191
7398
|
ID?: string;
|
|
7192
7399
|
__mj_CreatedAt?: Date;
|
|
7193
7400
|
__mj_UpdatedAt?: Date;
|
|
7194
7401
|
Name?: string;
|
|
7195
7402
|
Description?: string;
|
|
7403
|
+
ParentID?: string;
|
|
7404
|
+
Parent?: string;
|
|
7405
|
+
RootParentID?: string;
|
|
7196
7406
|
Category?: string;
|
|
7407
|
+
IsActive?: boolean;
|
|
7408
|
+
FullPath?: string;
|
|
7409
|
+
ResourceType?: string;
|
|
7197
7410
|
}>;
|
|
7198
7411
|
export type APIScopeEntityType = z.infer<typeof APIScopeSchema>;
|
|
7199
7412
|
/**
|
|
@@ -8665,11 +8878,11 @@ export declare const ListInvitationSchema: z.ZodObject<{
|
|
|
8665
8878
|
__mj_CreatedAt?: Date;
|
|
8666
8879
|
__mj_UpdatedAt?: Date;
|
|
8667
8880
|
Status?: "Pending" | "Revoked" | "Expired" | "Accepted";
|
|
8881
|
+
ExpiresAt?: Date;
|
|
8668
8882
|
Role?: "Editor" | "Viewer";
|
|
8669
8883
|
Email?: string;
|
|
8670
8884
|
List?: string;
|
|
8671
8885
|
ListID?: string;
|
|
8672
|
-
ExpiresAt?: Date;
|
|
8673
8886
|
CreatedByUserID?: string;
|
|
8674
8887
|
CreatedByUser?: string;
|
|
8675
8888
|
Token?: string;
|
|
@@ -8678,11 +8891,11 @@ export declare const ListInvitationSchema: z.ZodObject<{
|
|
|
8678
8891
|
__mj_CreatedAt?: Date;
|
|
8679
8892
|
__mj_UpdatedAt?: Date;
|
|
8680
8893
|
Status?: "Pending" | "Revoked" | "Expired" | "Accepted";
|
|
8894
|
+
ExpiresAt?: Date;
|
|
8681
8895
|
Role?: "Editor" | "Viewer";
|
|
8682
8896
|
Email?: string;
|
|
8683
8897
|
List?: string;
|
|
8684
8898
|
ListID?: string;
|
|
8685
|
-
ExpiresAt?: Date;
|
|
8686
8899
|
CreatedByUserID?: string;
|
|
8687
8900
|
CreatedByUser?: string;
|
|
8688
8901
|
Token?: string;
|
|
@@ -8795,8 +9008,8 @@ export declare const PublicLinkSchema: z.ZodObject<{
|
|
|
8795
9008
|
User?: string;
|
|
8796
9009
|
IsActive?: boolean;
|
|
8797
9010
|
ExpiresAt?: Date;
|
|
8798
|
-
Token?: string;
|
|
8799
9011
|
ResourceType?: "Conversation" | "Artifact" | "Collection";
|
|
9012
|
+
Token?: string;
|
|
8800
9013
|
ResourceID?: string;
|
|
8801
9014
|
PasswordHash?: string;
|
|
8802
9015
|
MaxViews?: number;
|
|
@@ -8809,8 +9022,8 @@ export declare const PublicLinkSchema: z.ZodObject<{
|
|
|
8809
9022
|
User?: string;
|
|
8810
9023
|
IsActive?: boolean;
|
|
8811
9024
|
ExpiresAt?: Date;
|
|
8812
|
-
Token?: string;
|
|
8813
9025
|
ResourceType?: "Conversation" | "Artifact" | "Collection";
|
|
9026
|
+
Token?: string;
|
|
8814
9027
|
ResourceID?: string;
|
|
8815
9028
|
PasswordHash?: string;
|
|
8816
9029
|
MaxViews?: number;
|
|
@@ -13019,15 +13232,15 @@ export declare class ActionParamEntity extends BaseEntity<ActionParamEntityType>
|
|
|
13019
13232
|
* * BaseEntity Sub-Class
|
|
13020
13233
|
* * Other
|
|
13021
13234
|
* * MediaOutput
|
|
13022
|
-
* * Scalar
|
|
13023
13235
|
* * Other
|
|
13024
13236
|
* * Scalar
|
|
13237
|
+
* * Scalar
|
|
13025
13238
|
* * Simple Object
|
|
13026
13239
|
* * Simple Object
|
|
13027
13240
|
* * Description: Tracks the basic value type of the parameter, additional information can be provided in the Description field
|
|
13028
13241
|
*/
|
|
13029
|
-
get ValueType(): 'BaseEntity Sub-Class' | 'BaseEntity Sub-Class' | 'Other' | 'MediaOutput' | '
|
|
13030
|
-
set ValueType(value: 'BaseEntity Sub-Class' | 'BaseEntity Sub-Class' | 'Other' | 'MediaOutput' | '
|
|
13242
|
+
get ValueType(): 'BaseEntity Sub-Class' | 'BaseEntity Sub-Class' | 'Other' | 'MediaOutput' | 'Other' | 'Scalar' | 'Scalar' | 'Simple Object' | 'Simple Object';
|
|
13243
|
+
set ValueType(value: 'BaseEntity Sub-Class' | 'BaseEntity Sub-Class' | 'Other' | 'MediaOutput' | 'Other' | 'Scalar' | 'Scalar' | 'Simple Object' | 'Simple Object');
|
|
13031
13244
|
/**
|
|
13032
13245
|
* * Field Name: IsArray
|
|
13033
13246
|
* * Display Name: Is Array
|
|
@@ -14080,7 +14293,7 @@ export declare class AIAgentNoteEntity extends BaseEntity<AIAgentNoteEntityType>
|
|
|
14080
14293
|
set ID(value: string);
|
|
14081
14294
|
/**
|
|
14082
14295
|
* * Field Name: AgentID
|
|
14083
|
-
* * Display Name: Agent
|
|
14296
|
+
* * Display Name: Agent
|
|
14084
14297
|
* * SQL Data Type: uniqueidentifier
|
|
14085
14298
|
* * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
|
|
14086
14299
|
*/
|
|
@@ -14088,7 +14301,7 @@ export declare class AIAgentNoteEntity extends BaseEntity<AIAgentNoteEntityType>
|
|
|
14088
14301
|
set AgentID(value: string | null);
|
|
14089
14302
|
/**
|
|
14090
14303
|
* * Field Name: AgentNoteTypeID
|
|
14091
|
-
* * Display Name: Agent Note Type
|
|
14304
|
+
* * Display Name: Agent Note Type
|
|
14092
14305
|
* * SQL Data Type: uniqueidentifier
|
|
14093
14306
|
* * Related Entity/Foreign Key: AI Agent Note Types (vwAIAgentNoteTypes.ID)
|
|
14094
14307
|
*/
|
|
@@ -14118,7 +14331,7 @@ export declare class AIAgentNoteEntity extends BaseEntity<AIAgentNoteEntityType>
|
|
|
14118
14331
|
get __mj_UpdatedAt(): Date;
|
|
14119
14332
|
/**
|
|
14120
14333
|
* * Field Name: UserID
|
|
14121
|
-
* * Display Name: User
|
|
14334
|
+
* * Display Name: User
|
|
14122
14335
|
* * SQL Data Type: uniqueidentifier
|
|
14123
14336
|
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
14124
14337
|
* * Description: Foreign key referencing the ID column in the User table, indicating the user associated with the note. Used when Type=User
|
|
@@ -14143,7 +14356,7 @@ export declare class AIAgentNoteEntity extends BaseEntity<AIAgentNoteEntityType>
|
|
|
14143
14356
|
set Type(value: 'Constraint' | 'Context' | 'Example' | 'Issue' | 'Preference');
|
|
14144
14357
|
/**
|
|
14145
14358
|
* * Field Name: IsAutoGenerated
|
|
14146
|
-
* * Display Name:
|
|
14359
|
+
* * Display Name: Auto Generated
|
|
14147
14360
|
* * SQL Data Type: bit
|
|
14148
14361
|
* * Default Value: 0
|
|
14149
14362
|
* * Description: Indicates whether this note was automatically generated by an AI agent (1) or manually created (0).
|
|
@@ -14174,7 +14387,7 @@ export declare class AIAgentNoteEntity extends BaseEntity<AIAgentNoteEntityType>
|
|
|
14174
14387
|
set Status(value: 'Active' | 'Pending' | 'Revoked');
|
|
14175
14388
|
/**
|
|
14176
14389
|
* * Field Name: SourceConversationID
|
|
14177
|
-
* * Display Name: Source Conversation
|
|
14390
|
+
* * Display Name: Source Conversation
|
|
14178
14391
|
* * SQL Data Type: uniqueidentifier
|
|
14179
14392
|
* * Related Entity/Foreign Key: Conversations (vwConversations.ID)
|
|
14180
14393
|
* * Description: Optional reference to the conversation that inspired or generated this note.
|
|
@@ -14183,7 +14396,7 @@ export declare class AIAgentNoteEntity extends BaseEntity<AIAgentNoteEntityType>
|
|
|
14183
14396
|
set SourceConversationID(value: string | null);
|
|
14184
14397
|
/**
|
|
14185
14398
|
* * Field Name: SourceConversationDetailID
|
|
14186
|
-
* * Display Name: Source Conversation Detail
|
|
14399
|
+
* * Display Name: Source Conversation Detail
|
|
14187
14400
|
* * SQL Data Type: uniqueidentifier
|
|
14188
14401
|
* * Related Entity/Foreign Key: Conversation Details (vwConversationDetails.ID)
|
|
14189
14402
|
* * Description: Optional reference to the specific conversation message that inspired this note.
|
|
@@ -14192,7 +14405,7 @@ export declare class AIAgentNoteEntity extends BaseEntity<AIAgentNoteEntityType>
|
|
|
14192
14405
|
set SourceConversationDetailID(value: string | null);
|
|
14193
14406
|
/**
|
|
14194
14407
|
* * Field Name: SourceAIAgentRunID
|
|
14195
|
-
* * Display Name: Source AI Agent Run
|
|
14408
|
+
* * Display Name: Source AI Agent Run
|
|
14196
14409
|
* * SQL Data Type: uniqueidentifier
|
|
14197
14410
|
* * Related Entity/Foreign Key: MJ: AI Agent Runs (vwAIAgentRuns.ID)
|
|
14198
14411
|
* * Description: Optional reference to the AI agent run that generated this note.
|
|
@@ -14201,7 +14414,7 @@ export declare class AIAgentNoteEntity extends BaseEntity<AIAgentNoteEntityType>
|
|
|
14201
14414
|
set SourceAIAgentRunID(value: string | null);
|
|
14202
14415
|
/**
|
|
14203
14416
|
* * Field Name: CompanyID
|
|
14204
|
-
* * Display Name: Company
|
|
14417
|
+
* * Display Name: Company
|
|
14205
14418
|
* * SQL Data Type: uniqueidentifier
|
|
14206
14419
|
* * Related Entity/Foreign Key: Companies (vwCompanies.ID)
|
|
14207
14420
|
* * Description: Optional company scope for this note. When populated with UserID, creates org+user specific notes.
|
|
@@ -14218,7 +14431,7 @@ export declare class AIAgentNoteEntity extends BaseEntity<AIAgentNoteEntityType>
|
|
|
14218
14431
|
set EmbeddingVector(value: string | null);
|
|
14219
14432
|
/**
|
|
14220
14433
|
* * Field Name: EmbeddingModelID
|
|
14221
|
-
* * Display Name: Embedding Model
|
|
14434
|
+
* * Display Name: Embedding Model
|
|
14222
14435
|
* * SQL Data Type: uniqueidentifier
|
|
14223
14436
|
* * Related Entity/Foreign Key: AI Models (vwAIModels.ID)
|
|
14224
14437
|
* * Description: Reference to the AI model used to generate the embedding vector.
|
|
@@ -14226,6 +14439,56 @@ export declare class AIAgentNoteEntity extends BaseEntity<AIAgentNoteEntityType>
|
|
|
14226
14439
|
get EmbeddingModelID(): string | null;
|
|
14227
14440
|
set EmbeddingModelID(value: string | null);
|
|
14228
14441
|
/**
|
|
14442
|
+
* * Field Name: PrimaryScopeEntityID
|
|
14443
|
+
* * Display Name: Primary Scope Entity
|
|
14444
|
+
* * SQL Data Type: uniqueidentifier
|
|
14445
|
+
* * Related Entity/Foreign Key: Entities (vwEntities.ID)
|
|
14446
|
+
* * Description: Foreign key to Entity table identifying which entity type is used for primary scoping. NULL means this is a global note.
|
|
14447
|
+
*/
|
|
14448
|
+
get PrimaryScopeEntityID(): string | null;
|
|
14449
|
+
set PrimaryScopeEntityID(value: string | null);
|
|
14450
|
+
/**
|
|
14451
|
+
* * Field Name: PrimaryScopeRecordID
|
|
14452
|
+
* * Display Name: Primary Scope Record
|
|
14453
|
+
* * SQL Data Type: nvarchar(100)
|
|
14454
|
+
* * Description: The record ID within the primary scope entity. NULL means global note. When set with empty SecondaryScopes, indicates primary-scope-only note.
|
|
14455
|
+
*/
|
|
14456
|
+
get PrimaryScopeRecordID(): string | null;
|
|
14457
|
+
set PrimaryScopeRecordID(value: string | null);
|
|
14458
|
+
/**
|
|
14459
|
+
* * Field Name: SecondaryScopes
|
|
14460
|
+
* * Display Name: Secondary Scopes
|
|
14461
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
14462
|
+
* * Description: JSON object containing additional scope dimensions. Empty/NULL with PrimaryScopeRecordID set = org-level note. Populated = fully-scoped note.
|
|
14463
|
+
*/
|
|
14464
|
+
get SecondaryScopes(): string | null;
|
|
14465
|
+
set SecondaryScopes(value: string | null);
|
|
14466
|
+
/**
|
|
14467
|
+
* * Field Name: LastAccessedAt
|
|
14468
|
+
* * Display Name: Last Accessed At
|
|
14469
|
+
* * SQL Data Type: datetimeoffset
|
|
14470
|
+
* * Description: Timestamp of when this note was last accessed/injected into agent context. Used for lifecycle management and cleanup.
|
|
14471
|
+
*/
|
|
14472
|
+
get LastAccessedAt(): Date | null;
|
|
14473
|
+
set LastAccessedAt(value: Date | null);
|
|
14474
|
+
/**
|
|
14475
|
+
* * Field Name: AccessCount
|
|
14476
|
+
* * Display Name: Access Count
|
|
14477
|
+
* * SQL Data Type: int
|
|
14478
|
+
* * Default Value: 0
|
|
14479
|
+
* * Description: Number of times this note has been accessed/injected into agent context. Used for analytics and determining note value.
|
|
14480
|
+
*/
|
|
14481
|
+
get AccessCount(): number;
|
|
14482
|
+
set AccessCount(value: number);
|
|
14483
|
+
/**
|
|
14484
|
+
* * Field Name: ExpiresAt
|
|
14485
|
+
* * Display Name: Expires At
|
|
14486
|
+
* * SQL Data Type: datetimeoffset
|
|
14487
|
+
* * Description: Optional expiration timestamp. Notes past this date are candidates for archival. NULL means no expiration.
|
|
14488
|
+
*/
|
|
14489
|
+
get ExpiresAt(): Date | null;
|
|
14490
|
+
set ExpiresAt(value: Date | null);
|
|
14491
|
+
/**
|
|
14229
14492
|
* * Field Name: Agent
|
|
14230
14493
|
* * Display Name: Agent
|
|
14231
14494
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -14273,6 +14536,12 @@ export declare class AIAgentNoteEntity extends BaseEntity<AIAgentNoteEntityType>
|
|
|
14273
14536
|
* * SQL Data Type: nvarchar(50)
|
|
14274
14537
|
*/
|
|
14275
14538
|
get EmbeddingModel(): string | null;
|
|
14539
|
+
/**
|
|
14540
|
+
* * Field Name: PrimaryScopeEntity
|
|
14541
|
+
* * Display Name: Primary Scope Entity
|
|
14542
|
+
* * SQL Data Type: nvarchar(255)
|
|
14543
|
+
*/
|
|
14544
|
+
get PrimaryScopeEntity(): string | null;
|
|
14276
14545
|
}
|
|
14277
14546
|
/**
|
|
14278
14547
|
* AI Agent Requests - strongly typed entity sub-class
|
|
@@ -14557,7 +14826,7 @@ export declare class AIAgentEntity extends BaseEntity<AIAgentEntityType> {
|
|
|
14557
14826
|
get __mj_UpdatedAt(): Date;
|
|
14558
14827
|
/**
|
|
14559
14828
|
* * Field Name: ParentID
|
|
14560
|
-
* * Display Name: Parent
|
|
14829
|
+
* * Display Name: Parent
|
|
14561
14830
|
* * SQL Data Type: uniqueidentifier
|
|
14562
14831
|
* * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
|
|
14563
14832
|
* * Description: References the parent agent in the hierarchical structure. If NULL, this is a root (top-level) agent.
|
|
@@ -14614,7 +14883,7 @@ export declare class AIAgentEntity extends BaseEntity<AIAgentEntityType> {
|
|
|
14614
14883
|
set ContextCompressionMessageThreshold(value: number | null);
|
|
14615
14884
|
/**
|
|
14616
14885
|
* * Field Name: ContextCompressionPromptID
|
|
14617
|
-
* * Display Name: Context Compression Prompt
|
|
14886
|
+
* * Display Name: Context Compression Prompt ID
|
|
14618
14887
|
* * SQL Data Type: uniqueidentifier
|
|
14619
14888
|
* * Related Entity/Foreign Key: AI Prompts (vwAIPrompts.ID)
|
|
14620
14889
|
*/
|
|
@@ -14630,7 +14899,7 @@ export declare class AIAgentEntity extends BaseEntity<AIAgentEntityType> {
|
|
|
14630
14899
|
set ContextCompressionMessageRetentionCount(value: number | null);
|
|
14631
14900
|
/**
|
|
14632
14901
|
* * Field Name: TypeID
|
|
14633
|
-
* * Display Name:
|
|
14902
|
+
* * Display Name: Type
|
|
14634
14903
|
* * SQL Data Type: uniqueidentifier
|
|
14635
14904
|
* * Related Entity/Foreign Key: MJ: AI Agent Types (vwAIAgentTypes.ID)
|
|
14636
14905
|
* * Description: Reference to the AIAgentType that defines the category and system-level behavior for this agent. Cannot be null.
|
|
@@ -14861,7 +15130,7 @@ if this limit is exceeded.
|
|
|
14861
15130
|
set DefaultArtifactTypeID(value: string | null);
|
|
14862
15131
|
/**
|
|
14863
15132
|
* * Field Name: OwnerUserID
|
|
14864
|
-
* * Display Name: Owner User
|
|
15133
|
+
* * Display Name: Owner User ID
|
|
14865
15134
|
* * SQL Data Type: uniqueidentifier
|
|
14866
15135
|
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
14867
15136
|
* * Default Value: ECAFCCEC-6A37-EF11-86D4-000D3A4E707E
|
|
@@ -15011,7 +15280,7 @@ if this limit is exceeded.
|
|
|
15011
15280
|
set MaxMessages(value: number | null);
|
|
15012
15281
|
/**
|
|
15013
15282
|
* * Field Name: AttachmentStorageProviderID
|
|
15014
|
-
* * Display Name: Attachment Storage Provider
|
|
15283
|
+
* * Display Name: Attachment Storage Provider ID
|
|
15015
15284
|
* * SQL Data Type: uniqueidentifier
|
|
15016
15285
|
* * Related Entity/Foreign Key: File Storage Providers (vwFileStorageProviders.ID)
|
|
15017
15286
|
* * Description: File storage provider for large attachments. Overrides the default from AIConfiguration. NULL uses system default.
|
|
@@ -15043,6 +15312,49 @@ if this limit is exceeded.
|
|
|
15043
15312
|
get AgentTypePromptParams(): string | null;
|
|
15044
15313
|
set AgentTypePromptParams(value: string | null);
|
|
15045
15314
|
/**
|
|
15315
|
+
* * Field Name: ScopeConfig
|
|
15316
|
+
* * Display Name: Scope Config
|
|
15317
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
15318
|
+
* * Description: JSON configuration defining scope dimensions for multi-tenant deployments. Example: {"dimensions":[{"name":"OrganizationID","entityId":"...","isPrimary":true,"required":true},{"name":"ContactID","entityId":"...","isPrimary":false,"required":false}],"inheritanceMode":"cascading"}
|
|
15319
|
+
*/
|
|
15320
|
+
get ScopeConfig(): string | null;
|
|
15321
|
+
set ScopeConfig(value: string | null);
|
|
15322
|
+
/**
|
|
15323
|
+
* * Field Name: NoteRetentionDays
|
|
15324
|
+
* * Display Name: Note Retention Days
|
|
15325
|
+
* * SQL Data Type: int
|
|
15326
|
+
* * Default Value: 90
|
|
15327
|
+
* * Description: Number of days to retain notes before archiving due to inactivity. Default 90. NULL means use system default.
|
|
15328
|
+
*/
|
|
15329
|
+
get NoteRetentionDays(): number | null;
|
|
15330
|
+
set NoteRetentionDays(value: number | null);
|
|
15331
|
+
/**
|
|
15332
|
+
* * Field Name: ExampleRetentionDays
|
|
15333
|
+
* * Display Name: Example Retention Days
|
|
15334
|
+
* * SQL Data Type: int
|
|
15335
|
+
* * Default Value: 180
|
|
15336
|
+
* * Description: Number of days to retain examples before archiving due to inactivity. Default 180. NULL means use system default.
|
|
15337
|
+
*/
|
|
15338
|
+
get ExampleRetentionDays(): number | null;
|
|
15339
|
+
set ExampleRetentionDays(value: number | null);
|
|
15340
|
+
/**
|
|
15341
|
+
* * Field Name: AutoArchiveEnabled
|
|
15342
|
+
* * Display Name: Auto Archive Enabled
|
|
15343
|
+
* * SQL Data Type: bit
|
|
15344
|
+
* * Default Value: 1
|
|
15345
|
+
* * Description: Whether automatic archival of stale notes/examples is enabled for this agent. Default true.
|
|
15346
|
+
*/
|
|
15347
|
+
get AutoArchiveEnabled(): boolean;
|
|
15348
|
+
set AutoArchiveEnabled(value: boolean);
|
|
15349
|
+
/**
|
|
15350
|
+
* * Field Name: RerankerConfiguration
|
|
15351
|
+
* * Display Name: Reranker Configuration
|
|
15352
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
15353
|
+
* * Description: JSON configuration for optional reranking of retrieved memory items. Schema: { enabled: boolean, rerankerModelId: string, retrievalMultiplier: number (default 3), minRelevanceThreshold: number (default 0.5), rerankPromptId?: string, contextFields?: string[], fallbackOnError: boolean (default true) }. When null or disabled, vector search results are used directly without reranking.
|
|
15354
|
+
*/
|
|
15355
|
+
get RerankerConfiguration(): string | null;
|
|
15356
|
+
set RerankerConfiguration(value: string | null);
|
|
15357
|
+
/**
|
|
15046
15358
|
* * Field Name: Parent
|
|
15047
15359
|
* * Display Name: Parent
|
|
15048
15360
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -27100,7 +27412,7 @@ export declare class AIAgentExampleEntity extends BaseEntity<AIAgentExampleEntit
|
|
|
27100
27412
|
set ID(value: string);
|
|
27101
27413
|
/**
|
|
27102
27414
|
* * Field Name: AgentID
|
|
27103
|
-
* * Display Name: Agent
|
|
27415
|
+
* * Display Name: Agent
|
|
27104
27416
|
* * SQL Data Type: uniqueidentifier
|
|
27105
27417
|
* * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
|
|
27106
27418
|
* * Description: The AI agent this example is associated with. Examples are always agent-specific.
|
|
@@ -27109,7 +27421,7 @@ export declare class AIAgentExampleEntity extends BaseEntity<AIAgentExampleEntit
|
|
|
27109
27421
|
set AgentID(value: string);
|
|
27110
27422
|
/**
|
|
27111
27423
|
* * Field Name: UserID
|
|
27112
|
-
* * Display Name: User
|
|
27424
|
+
* * Display Name: User
|
|
27113
27425
|
* * SQL Data Type: uniqueidentifier
|
|
27114
27426
|
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
27115
27427
|
* * Description: Optional user scope. When populated, this example is specific to this user.
|
|
@@ -27118,7 +27430,7 @@ export declare class AIAgentExampleEntity extends BaseEntity<AIAgentExampleEntit
|
|
|
27118
27430
|
set UserID(value: string | null);
|
|
27119
27431
|
/**
|
|
27120
27432
|
* * Field Name: CompanyID
|
|
27121
|
-
* * Display Name: Company
|
|
27433
|
+
* * Display Name: Company
|
|
27122
27434
|
* * SQL Data Type: uniqueidentifier
|
|
27123
27435
|
* * Related Entity/Foreign Key: Companies (vwCompanies.ID)
|
|
27124
27436
|
* * Description: Optional company scope. When populated, this example is specific to this company.
|
|
@@ -27168,7 +27480,7 @@ export declare class AIAgentExampleEntity extends BaseEntity<AIAgentExampleEntit
|
|
|
27168
27480
|
set IsAutoGenerated(value: boolean);
|
|
27169
27481
|
/**
|
|
27170
27482
|
* * Field Name: SourceConversationID
|
|
27171
|
-
* * Display Name: Source Conversation
|
|
27483
|
+
* * Display Name: Source Conversation
|
|
27172
27484
|
* * SQL Data Type: uniqueidentifier
|
|
27173
27485
|
* * Related Entity/Foreign Key: Conversations (vwConversations.ID)
|
|
27174
27486
|
* * Description: Optional reference to the conversation where this example originated.
|
|
@@ -27177,7 +27489,7 @@ export declare class AIAgentExampleEntity extends BaseEntity<AIAgentExampleEntit
|
|
|
27177
27489
|
set SourceConversationID(value: string | null);
|
|
27178
27490
|
/**
|
|
27179
27491
|
* * Field Name: SourceConversationDetailID
|
|
27180
|
-
* * Display Name: Source Conversation Detail
|
|
27492
|
+
* * Display Name: Source Conversation Detail
|
|
27181
27493
|
* * SQL Data Type: uniqueidentifier
|
|
27182
27494
|
* * Related Entity/Foreign Key: Conversation Details (vwConversationDetails.ID)
|
|
27183
27495
|
* * Description: Optional reference to the specific conversation message that represents this example.
|
|
@@ -27186,7 +27498,7 @@ export declare class AIAgentExampleEntity extends BaseEntity<AIAgentExampleEntit
|
|
|
27186
27498
|
set SourceConversationDetailID(value: string | null);
|
|
27187
27499
|
/**
|
|
27188
27500
|
* * Field Name: SourceAIAgentRunID
|
|
27189
|
-
* * Display Name: Source AI Agent Run
|
|
27501
|
+
* * Display Name: Source AI Agent Run
|
|
27190
27502
|
* * SQL Data Type: uniqueidentifier
|
|
27191
27503
|
* * Related Entity/Foreign Key: MJ: AI Agent Runs (vwAIAgentRuns.ID)
|
|
27192
27504
|
* * Description: Optional reference to the AI agent run that generated this example.
|
|
@@ -27247,7 +27559,7 @@ export declare class AIAgentExampleEntity extends BaseEntity<AIAgentExampleEntit
|
|
|
27247
27559
|
set EmbeddingVector(value: string | null);
|
|
27248
27560
|
/**
|
|
27249
27561
|
* * Field Name: EmbeddingModelID
|
|
27250
|
-
* * Display Name: Embedding Model
|
|
27562
|
+
* * Display Name: Embedding Model
|
|
27251
27563
|
* * SQL Data Type: uniqueidentifier
|
|
27252
27564
|
* * Related Entity/Foreign Key: AI Models (vwAIModels.ID)
|
|
27253
27565
|
* * Description: Reference to the AI model used to generate the embedding vector.
|
|
@@ -27255,6 +27567,56 @@ export declare class AIAgentExampleEntity extends BaseEntity<AIAgentExampleEntit
|
|
|
27255
27567
|
get EmbeddingModelID(): string | null;
|
|
27256
27568
|
set EmbeddingModelID(value: string | null);
|
|
27257
27569
|
/**
|
|
27570
|
+
* * Field Name: PrimaryScopeEntityID
|
|
27571
|
+
* * Display Name: Primary Scope Entity
|
|
27572
|
+
* * SQL Data Type: uniqueidentifier
|
|
27573
|
+
* * Related Entity/Foreign Key: Entities (vwEntities.ID)
|
|
27574
|
+
* * Description: Foreign key to Entity table identifying which entity type is used for primary scoping. NULL means this is a global example.
|
|
27575
|
+
*/
|
|
27576
|
+
get PrimaryScopeEntityID(): string | null;
|
|
27577
|
+
set PrimaryScopeEntityID(value: string | null);
|
|
27578
|
+
/**
|
|
27579
|
+
* * Field Name: PrimaryScopeRecordID
|
|
27580
|
+
* * Display Name: Primary Scope Record
|
|
27581
|
+
* * SQL Data Type: nvarchar(100)
|
|
27582
|
+
* * Description: The record ID within the primary scope entity. NULL means global example. When set with empty SecondaryScopes, indicates primary-scope-only example.
|
|
27583
|
+
*/
|
|
27584
|
+
get PrimaryScopeRecordID(): string | null;
|
|
27585
|
+
set PrimaryScopeRecordID(value: string | null);
|
|
27586
|
+
/**
|
|
27587
|
+
* * Field Name: SecondaryScopes
|
|
27588
|
+
* * Display Name: Secondary Scopes
|
|
27589
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
27590
|
+
* * Description: JSON object containing additional scope dimensions. Empty/NULL with PrimaryScopeRecordID set = org-level example. Populated = fully-scoped example.
|
|
27591
|
+
*/
|
|
27592
|
+
get SecondaryScopes(): string | null;
|
|
27593
|
+
set SecondaryScopes(value: string | null);
|
|
27594
|
+
/**
|
|
27595
|
+
* * Field Name: LastAccessedAt
|
|
27596
|
+
* * Display Name: Last Accessed At
|
|
27597
|
+
* * SQL Data Type: datetimeoffset
|
|
27598
|
+
* * Description: Timestamp of when this example was last accessed/used for agent context. Used for lifecycle management and cleanup.
|
|
27599
|
+
*/
|
|
27600
|
+
get LastAccessedAt(): Date | null;
|
|
27601
|
+
set LastAccessedAt(value: Date | null);
|
|
27602
|
+
/**
|
|
27603
|
+
* * Field Name: AccessCount
|
|
27604
|
+
* * Display Name: Access Count
|
|
27605
|
+
* * SQL Data Type: int
|
|
27606
|
+
* * Default Value: 0
|
|
27607
|
+
* * Description: Number of times this example has been accessed/used. Used for analytics and determining example value.
|
|
27608
|
+
*/
|
|
27609
|
+
get AccessCount(): number;
|
|
27610
|
+
set AccessCount(value: number);
|
|
27611
|
+
/**
|
|
27612
|
+
* * Field Name: ExpiresAt
|
|
27613
|
+
* * Display Name: Expires At
|
|
27614
|
+
* * SQL Data Type: datetimeoffset
|
|
27615
|
+
* * Description: Optional expiration timestamp. Examples past this date are candidates for archival. NULL means no expiration.
|
|
27616
|
+
*/
|
|
27617
|
+
get ExpiresAt(): Date | null;
|
|
27618
|
+
set ExpiresAt(value: Date | null);
|
|
27619
|
+
/**
|
|
27258
27620
|
* * Field Name: Agent
|
|
27259
27621
|
* * Display Name: Agent
|
|
27260
27622
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -27296,6 +27658,12 @@ export declare class AIAgentExampleEntity extends BaseEntity<AIAgentExampleEntit
|
|
|
27296
27658
|
* * SQL Data Type: nvarchar(50)
|
|
27297
27659
|
*/
|
|
27298
27660
|
get EmbeddingModel(): string | null;
|
|
27661
|
+
/**
|
|
27662
|
+
* * Field Name: PrimaryScopeEntity
|
|
27663
|
+
* * Display Name: Primary Scope Entity
|
|
27664
|
+
* * SQL Data Type: nvarchar(255)
|
|
27665
|
+
*/
|
|
27666
|
+
get PrimaryScopeEntity(): string | null;
|
|
27299
27667
|
}
|
|
27300
27668
|
/**
|
|
27301
27669
|
* MJ: AI Agent Modalities - strongly typed entity sub-class
|
|
@@ -28397,7 +28765,7 @@ export declare class AIAgentRunEntity extends BaseEntity<AIAgentRunEntityType> {
|
|
|
28397
28765
|
set ID(value: string);
|
|
28398
28766
|
/**
|
|
28399
28767
|
* * Field Name: AgentID
|
|
28400
|
-
* * Display Name: Agent
|
|
28768
|
+
* * Display Name: Agent
|
|
28401
28769
|
* * SQL Data Type: uniqueidentifier
|
|
28402
28770
|
* * Related Entity/Foreign Key: AI Agents (vwAIAgents.ID)
|
|
28403
28771
|
* * Description: Reference to the AIAgent that is being executed in this run
|
|
@@ -28464,7 +28832,7 @@ export declare class AIAgentRunEntity extends BaseEntity<AIAgentRunEntityType> {
|
|
|
28464
28832
|
set ErrorMessage(value: string | null);
|
|
28465
28833
|
/**
|
|
28466
28834
|
* * Field Name: ConversationID
|
|
28467
|
-
* * Display Name: Conversation
|
|
28835
|
+
* * Display Name: Conversation
|
|
28468
28836
|
* * SQL Data Type: uniqueidentifier
|
|
28469
28837
|
* * Related Entity/Foreign Key: Conversations (vwConversations.ID)
|
|
28470
28838
|
* * Description: Identifier linking multiple agent runs that are part of the same conversation or user session
|
|
@@ -28473,7 +28841,7 @@ export declare class AIAgentRunEntity extends BaseEntity<AIAgentRunEntityType> {
|
|
|
28473
28841
|
set ConversationID(value: string | null);
|
|
28474
28842
|
/**
|
|
28475
28843
|
* * Field Name: UserID
|
|
28476
|
-
* * Display Name: User
|
|
28844
|
+
* * Display Name: User
|
|
28477
28845
|
* * SQL Data Type: uniqueidentifier
|
|
28478
28846
|
* * Related Entity/Foreign Key: Users (vwUsers.ID)
|
|
28479
28847
|
* * Description: User context identifier for authentication and permissions during the agent run
|
|
@@ -28755,6 +29123,31 @@ each time the agent processes a prompt step.
|
|
|
28755
29123
|
get TestRunID(): string | null;
|
|
28756
29124
|
set TestRunID(value: string | null);
|
|
28757
29125
|
/**
|
|
29126
|
+
* * Field Name: PrimaryScopeEntityID
|
|
29127
|
+
* * Display Name: Primary Scope Entity ID
|
|
29128
|
+
* * SQL Data Type: uniqueidentifier
|
|
29129
|
+
* * Related Entity/Foreign Key: Entities (vwEntities.ID)
|
|
29130
|
+
* * Description: Foreign key to Entity table identifying which entity type is used for primary scoping (e.g., Organizations, Tenants)
|
|
29131
|
+
*/
|
|
29132
|
+
get PrimaryScopeEntityID(): string | null;
|
|
29133
|
+
set PrimaryScopeEntityID(value: string | null);
|
|
29134
|
+
/**
|
|
29135
|
+
* * Field Name: PrimaryScopeRecordID
|
|
29136
|
+
* * Display Name: Primary Scope Record ID
|
|
29137
|
+
* * SQL Data Type: nvarchar(100)
|
|
29138
|
+
* * Description: The record ID within the primary scope entity (e.g., the specific OrganizationID). Indexed for fast multi-tenant filtering.
|
|
29139
|
+
*/
|
|
29140
|
+
get PrimaryScopeRecordID(): string | null;
|
|
29141
|
+
set PrimaryScopeRecordID(value: string | null);
|
|
29142
|
+
/**
|
|
29143
|
+
* * Field Name: SecondaryScopes
|
|
29144
|
+
* * Display Name: Secondary Scopes
|
|
29145
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
29146
|
+
* * Description: JSON object containing additional scope dimensions beyond the primary scope. Example: {"ContactID":"abc-123","TeamID":"team-456"}
|
|
29147
|
+
*/
|
|
29148
|
+
get SecondaryScopes(): string | null;
|
|
29149
|
+
set SecondaryScopes(value: string | null);
|
|
29150
|
+
/**
|
|
28758
29151
|
* * Field Name: Agent
|
|
28759
29152
|
* * Display Name: Agent
|
|
28760
29153
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -28821,6 +29214,12 @@ each time the agent processes a prompt step.
|
|
|
28821
29214
|
*/
|
|
28822
29215
|
get TestRun(): string | null;
|
|
28823
29216
|
/**
|
|
29217
|
+
* * Field Name: PrimaryScopeEntity
|
|
29218
|
+
* * Display Name: Primary Scope Entity
|
|
29219
|
+
* * SQL Data Type: nvarchar(255)
|
|
29220
|
+
*/
|
|
29221
|
+
get PrimaryScopeEntity(): string | null;
|
|
29222
|
+
/**
|
|
28824
29223
|
* * Field Name: RootParentRunID
|
|
28825
29224
|
* * Display Name: Root Parent Run ID
|
|
28826
29225
|
* * SQL Data Type: uniqueidentifier
|
|
@@ -32396,6 +32795,271 @@ export declare class AIVendorEntity extends BaseEntity<AIVendorEntityType> {
|
|
|
32396
32795
|
*/
|
|
32397
32796
|
get CredentialType(): string | null;
|
|
32398
32797
|
}
|
|
32798
|
+
/**
|
|
32799
|
+
* MJ: API Application Scopes - strongly typed entity sub-class
|
|
32800
|
+
* * Schema: __mj
|
|
32801
|
+
* * Base Table: APIApplicationScope
|
|
32802
|
+
* * Base View: vwAPIApplicationScopes
|
|
32803
|
+
* * @description Defines the scope ceiling for each application with pattern-based rules. Controls which scopes and resource patterns an application can use, regardless of what API keys grant.
|
|
32804
|
+
* * Primary Key: ID
|
|
32805
|
+
* @extends {BaseEntity}
|
|
32806
|
+
* @class
|
|
32807
|
+
* @public
|
|
32808
|
+
*/
|
|
32809
|
+
export declare class APIApplicationScopeEntity extends BaseEntity<APIApplicationScopeEntityType> {
|
|
32810
|
+
/**
|
|
32811
|
+
* Loads the MJ: API Application Scopes record from the database
|
|
32812
|
+
* @param ID: string - primary key value to load the MJ: API Application Scopes record.
|
|
32813
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
32814
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
32815
|
+
* @public
|
|
32816
|
+
* @async
|
|
32817
|
+
* @memberof APIApplicationScopeEntity
|
|
32818
|
+
* @method
|
|
32819
|
+
* @override
|
|
32820
|
+
*/
|
|
32821
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
32822
|
+
/**
|
|
32823
|
+
* * Field Name: ID
|
|
32824
|
+
* * Display Name: ID
|
|
32825
|
+
* * SQL Data Type: uniqueidentifier
|
|
32826
|
+
* * Default Value: newsequentialid()
|
|
32827
|
+
*/
|
|
32828
|
+
get ID(): string;
|
|
32829
|
+
set ID(value: string);
|
|
32830
|
+
/**
|
|
32831
|
+
* * Field Name: ApplicationID
|
|
32832
|
+
* * Display Name: Application
|
|
32833
|
+
* * SQL Data Type: uniqueidentifier
|
|
32834
|
+
* * Related Entity/Foreign Key: MJ: API Applications (vwAPIApplications.ID)
|
|
32835
|
+
* * Description: Reference to the application this ceiling rule applies to.
|
|
32836
|
+
*/
|
|
32837
|
+
get ApplicationID(): string;
|
|
32838
|
+
set ApplicationID(value: string);
|
|
32839
|
+
/**
|
|
32840
|
+
* * Field Name: ScopeID
|
|
32841
|
+
* * Display Name: Scope
|
|
32842
|
+
* * SQL Data Type: uniqueidentifier
|
|
32843
|
+
* * Related Entity/Foreign Key: MJ: API Scopes (vwAPIScopes.ID)
|
|
32844
|
+
* * Description: Reference to the scope this rule applies to.
|
|
32845
|
+
*/
|
|
32846
|
+
get ScopeID(): string;
|
|
32847
|
+
set ScopeID(value: string);
|
|
32848
|
+
/**
|
|
32849
|
+
* * Field Name: ResourcePattern
|
|
32850
|
+
* * Display Name: Resource Pattern
|
|
32851
|
+
* * SQL Data Type: nvarchar(750)
|
|
32852
|
+
* * Description: Glob pattern for matching resources (e.g., Users,Accounts or Skip* or *). NULL means match all resources.
|
|
32853
|
+
*/
|
|
32854
|
+
get ResourcePattern(): string | null;
|
|
32855
|
+
set ResourcePattern(value: string | null);
|
|
32856
|
+
/**
|
|
32857
|
+
* * Field Name: PatternType
|
|
32858
|
+
* * Display Name: Pattern Type
|
|
32859
|
+
* * SQL Data Type: nvarchar(20)
|
|
32860
|
+
* * Default Value: Include
|
|
32861
|
+
* * Value List Type: List
|
|
32862
|
+
* * Possible Values
|
|
32863
|
+
* * Exclude
|
|
32864
|
+
* * Include
|
|
32865
|
+
* * Description: How to interpret the pattern: Include (grant if matches) or Exclude (grant if does NOT match).
|
|
32866
|
+
*/
|
|
32867
|
+
get PatternType(): 'Exclude' | 'Include';
|
|
32868
|
+
set PatternType(value: 'Exclude' | 'Include');
|
|
32869
|
+
/**
|
|
32870
|
+
* * Field Name: IsDeny
|
|
32871
|
+
* * Display Name: Deny
|
|
32872
|
+
* * SQL Data Type: bit
|
|
32873
|
+
* * Default Value: 0
|
|
32874
|
+
* * Description: If true, this rule explicitly DENIES access. Deny rules trump allow rules at the same priority level.
|
|
32875
|
+
*/
|
|
32876
|
+
get IsDeny(): boolean;
|
|
32877
|
+
set IsDeny(value: boolean);
|
|
32878
|
+
/**
|
|
32879
|
+
* * Field Name: Priority
|
|
32880
|
+
* * Display Name: Priority
|
|
32881
|
+
* * SQL Data Type: int
|
|
32882
|
+
* * Default Value: 0
|
|
32883
|
+
* * Description: Rule evaluation order. Higher priority rules are evaluated first. Within same priority, deny rules are evaluated before allow rules.
|
|
32884
|
+
*/
|
|
32885
|
+
get Priority(): number;
|
|
32886
|
+
set Priority(value: number);
|
|
32887
|
+
/**
|
|
32888
|
+
* * Field Name: __mj_CreatedAt
|
|
32889
|
+
* * Display Name: Created At
|
|
32890
|
+
* * SQL Data Type: datetimeoffset
|
|
32891
|
+
* * Default Value: getutcdate()
|
|
32892
|
+
*/
|
|
32893
|
+
get __mj_CreatedAt(): Date;
|
|
32894
|
+
/**
|
|
32895
|
+
* * Field Name: __mj_UpdatedAt
|
|
32896
|
+
* * Display Name: Updated At
|
|
32897
|
+
* * SQL Data Type: datetimeoffset
|
|
32898
|
+
* * Default Value: getutcdate()
|
|
32899
|
+
*/
|
|
32900
|
+
get __mj_UpdatedAt(): Date;
|
|
32901
|
+
/**
|
|
32902
|
+
* * Field Name: Application
|
|
32903
|
+
* * Display Name: Application Name
|
|
32904
|
+
* * SQL Data Type: nvarchar(100)
|
|
32905
|
+
*/
|
|
32906
|
+
get Application(): string;
|
|
32907
|
+
/**
|
|
32908
|
+
* * Field Name: Scope
|
|
32909
|
+
* * Display Name: Scope Name
|
|
32910
|
+
* * SQL Data Type: nvarchar(100)
|
|
32911
|
+
*/
|
|
32912
|
+
get Scope(): string;
|
|
32913
|
+
}
|
|
32914
|
+
/**
|
|
32915
|
+
* MJ: API Applications - strongly typed entity sub-class
|
|
32916
|
+
* * Schema: __mj
|
|
32917
|
+
* * Base Table: APIApplication
|
|
32918
|
+
* * Base View: vwAPIApplications
|
|
32919
|
+
* * @description Registry of applications that can consume MemberJunction APIs. Each application defines a scope ceiling that limits what API keys can access when used with that application.
|
|
32920
|
+
* * Primary Key: ID
|
|
32921
|
+
* @extends {BaseEntity}
|
|
32922
|
+
* @class
|
|
32923
|
+
* @public
|
|
32924
|
+
*/
|
|
32925
|
+
export declare class APIApplicationEntity extends BaseEntity<APIApplicationEntityType> {
|
|
32926
|
+
/**
|
|
32927
|
+
* Loads the MJ: API Applications record from the database
|
|
32928
|
+
* @param ID: string - primary key value to load the MJ: API Applications record.
|
|
32929
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
32930
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
32931
|
+
* @public
|
|
32932
|
+
* @async
|
|
32933
|
+
* @memberof APIApplicationEntity
|
|
32934
|
+
* @method
|
|
32935
|
+
* @override
|
|
32936
|
+
*/
|
|
32937
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
32938
|
+
/**
|
|
32939
|
+
* * Field Name: ID
|
|
32940
|
+
* * Display Name: ID
|
|
32941
|
+
* * SQL Data Type: uniqueidentifier
|
|
32942
|
+
* * Default Value: newsequentialid()
|
|
32943
|
+
*/
|
|
32944
|
+
get ID(): string;
|
|
32945
|
+
set ID(value: string);
|
|
32946
|
+
/**
|
|
32947
|
+
* * Field Name: Name
|
|
32948
|
+
* * Display Name: Name
|
|
32949
|
+
* * SQL Data Type: nvarchar(100)
|
|
32950
|
+
* * Description: Unique name identifying the application (e.g., MJAPI, MCPServer, Portal, CLI).
|
|
32951
|
+
*/
|
|
32952
|
+
get Name(): string;
|
|
32953
|
+
set Name(value: string);
|
|
32954
|
+
/**
|
|
32955
|
+
* * Field Name: Description
|
|
32956
|
+
* * Display Name: Description
|
|
32957
|
+
* * SQL Data Type: nvarchar(500)
|
|
32958
|
+
* * Description: Human-readable description of the application and its purpose.
|
|
32959
|
+
*/
|
|
32960
|
+
get Description(): string | null;
|
|
32961
|
+
set Description(value: string | null);
|
|
32962
|
+
/**
|
|
32963
|
+
* * Field Name: IsActive
|
|
32964
|
+
* * Display Name: Active
|
|
32965
|
+
* * SQL Data Type: bit
|
|
32966
|
+
* * Default Value: 1
|
|
32967
|
+
* * Description: Whether this application is currently active. Inactive applications reject all API key authentication.
|
|
32968
|
+
*/
|
|
32969
|
+
get IsActive(): boolean;
|
|
32970
|
+
set IsActive(value: boolean);
|
|
32971
|
+
/**
|
|
32972
|
+
* * Field Name: __mj_CreatedAt
|
|
32973
|
+
* * Display Name: Created At
|
|
32974
|
+
* * SQL Data Type: datetimeoffset
|
|
32975
|
+
* * Default Value: getutcdate()
|
|
32976
|
+
*/
|
|
32977
|
+
get __mj_CreatedAt(): Date;
|
|
32978
|
+
/**
|
|
32979
|
+
* * Field Name: __mj_UpdatedAt
|
|
32980
|
+
* * Display Name: Updated At
|
|
32981
|
+
* * SQL Data Type: datetimeoffset
|
|
32982
|
+
* * Default Value: getutcdate()
|
|
32983
|
+
*/
|
|
32984
|
+
get __mj_UpdatedAt(): Date;
|
|
32985
|
+
}
|
|
32986
|
+
/**
|
|
32987
|
+
* MJ: API Key Applications - strongly typed entity sub-class
|
|
32988
|
+
* * Schema: __mj
|
|
32989
|
+
* * Base Table: APIKeyApplication
|
|
32990
|
+
* * Base View: vwAPIKeyApplications
|
|
32991
|
+
* * @description Optional binding of API keys to specific applications. If no records exist for a key, it works with all applications. If records exist, the key only works with those specific applications.
|
|
32992
|
+
* * Primary Key: ID
|
|
32993
|
+
* @extends {BaseEntity}
|
|
32994
|
+
* @class
|
|
32995
|
+
* @public
|
|
32996
|
+
*/
|
|
32997
|
+
export declare class APIKeyApplicationEntity extends BaseEntity<APIKeyApplicationEntityType> {
|
|
32998
|
+
/**
|
|
32999
|
+
* Loads the MJ: API Key Applications record from the database
|
|
33000
|
+
* @param ID: string - primary key value to load the MJ: API Key Applications record.
|
|
33001
|
+
* @param EntityRelationshipsToLoad - (optional) the relationships to load
|
|
33002
|
+
* @returns {Promise<boolean>} - true if successful, false otherwise
|
|
33003
|
+
* @public
|
|
33004
|
+
* @async
|
|
33005
|
+
* @memberof APIKeyApplicationEntity
|
|
33006
|
+
* @method
|
|
33007
|
+
* @override
|
|
33008
|
+
*/
|
|
33009
|
+
Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
33010
|
+
/**
|
|
33011
|
+
* * Field Name: ID
|
|
33012
|
+
* * Display Name: ID
|
|
33013
|
+
* * SQL Data Type: uniqueidentifier
|
|
33014
|
+
* * Default Value: newsequentialid()
|
|
33015
|
+
*/
|
|
33016
|
+
get ID(): string;
|
|
33017
|
+
set ID(value: string);
|
|
33018
|
+
/**
|
|
33019
|
+
* * Field Name: APIKeyID
|
|
33020
|
+
* * Display Name: API Key
|
|
33021
|
+
* * SQL Data Type: uniqueidentifier
|
|
33022
|
+
* * Related Entity/Foreign Key: MJ: API Keys (vwAPIKeys.ID)
|
|
33023
|
+
* * Description: Reference to the API key being bound to an application.
|
|
33024
|
+
*/
|
|
33025
|
+
get APIKeyID(): string;
|
|
33026
|
+
set APIKeyID(value: string);
|
|
33027
|
+
/**
|
|
33028
|
+
* * Field Name: ApplicationID
|
|
33029
|
+
* * Display Name: Application
|
|
33030
|
+
* * SQL Data Type: uniqueidentifier
|
|
33031
|
+
* * Related Entity/Foreign Key: MJ: API Applications (vwAPIApplications.ID)
|
|
33032
|
+
* * Description: Reference to the application this key is authorized to use.
|
|
33033
|
+
*/
|
|
33034
|
+
get ApplicationID(): string;
|
|
33035
|
+
set ApplicationID(value: string);
|
|
33036
|
+
/**
|
|
33037
|
+
* * Field Name: __mj_CreatedAt
|
|
33038
|
+
* * Display Name: Created At
|
|
33039
|
+
* * SQL Data Type: datetimeoffset
|
|
33040
|
+
* * Default Value: getutcdate()
|
|
33041
|
+
*/
|
|
33042
|
+
get __mj_CreatedAt(): Date;
|
|
33043
|
+
/**
|
|
33044
|
+
* * Field Name: __mj_UpdatedAt
|
|
33045
|
+
* * Display Name: Updated At
|
|
33046
|
+
* * SQL Data Type: datetimeoffset
|
|
33047
|
+
* * Default Value: getutcdate()
|
|
33048
|
+
*/
|
|
33049
|
+
get __mj_UpdatedAt(): Date;
|
|
33050
|
+
/**
|
|
33051
|
+
* * Field Name: APIKey
|
|
33052
|
+
* * Display Name: API Key Value
|
|
33053
|
+
* * SQL Data Type: nvarchar(255)
|
|
33054
|
+
*/
|
|
33055
|
+
get APIKey(): string;
|
|
33056
|
+
/**
|
|
33057
|
+
* * Field Name: Application
|
|
33058
|
+
* * Display Name: Application Name
|
|
33059
|
+
* * SQL Data Type: nvarchar(100)
|
|
33060
|
+
*/
|
|
33061
|
+
get Application(): string;
|
|
33062
|
+
}
|
|
32399
33063
|
/**
|
|
32400
33064
|
* MJ: API Key Scopes - strongly typed entity sub-class
|
|
32401
33065
|
* * Schema: __mj
|
|
@@ -32438,7 +33102,7 @@ export declare class APIKeyScopeEntity extends BaseEntity<APIKeyScopeEntityType>
|
|
|
32438
33102
|
set APIKeyID(value: string);
|
|
32439
33103
|
/**
|
|
32440
33104
|
* * Field Name: ScopeID
|
|
32441
|
-
* * Display Name: Scope
|
|
33105
|
+
* * Display Name: Scope ID
|
|
32442
33106
|
* * SQL Data Type: uniqueidentifier
|
|
32443
33107
|
* * Related Entity/Foreign Key: MJ: API Scopes (vwAPIScopes.ID)
|
|
32444
33108
|
*/
|
|
@@ -32459,14 +33123,53 @@ export declare class APIKeyScopeEntity extends BaseEntity<APIKeyScopeEntityType>
|
|
|
32459
33123
|
*/
|
|
32460
33124
|
get __mj_UpdatedAt(): Date;
|
|
32461
33125
|
/**
|
|
33126
|
+
* * Field Name: ResourcePattern
|
|
33127
|
+
* * Display Name: Resource Pattern
|
|
33128
|
+
* * SQL Data Type: nvarchar(750)
|
|
33129
|
+
* * Description: Glob pattern for matching resources (e.g., Users,Accounts or Skip* or *). NULL means match all resources under this scope.
|
|
33130
|
+
*/
|
|
33131
|
+
get ResourcePattern(): string | null;
|
|
33132
|
+
set ResourcePattern(value: string | null);
|
|
33133
|
+
/**
|
|
33134
|
+
* * Field Name: PatternType
|
|
33135
|
+
* * Display Name: Pattern Type
|
|
33136
|
+
* * SQL Data Type: nvarchar(20)
|
|
33137
|
+
* * Default Value: Include
|
|
33138
|
+
* * Value List Type: List
|
|
33139
|
+
* * Possible Values
|
|
33140
|
+
* * Exclude
|
|
33141
|
+
* * Include
|
|
33142
|
+
* * Description: How to interpret the pattern: Include (grant if matches) or Exclude (grant if does NOT match).
|
|
33143
|
+
*/
|
|
33144
|
+
get PatternType(): 'Exclude' | 'Include';
|
|
33145
|
+
set PatternType(value: 'Exclude' | 'Include');
|
|
33146
|
+
/**
|
|
33147
|
+
* * Field Name: IsDeny
|
|
33148
|
+
* * Display Name: Deny Rule
|
|
33149
|
+
* * SQL Data Type: bit
|
|
33150
|
+
* * Default Value: 0
|
|
33151
|
+
* * Description: If true, this rule explicitly DENIES access. Deny rules trump allow rules at the same priority level.
|
|
33152
|
+
*/
|
|
33153
|
+
get IsDeny(): boolean;
|
|
33154
|
+
set IsDeny(value: boolean);
|
|
33155
|
+
/**
|
|
33156
|
+
* * Field Name: Priority
|
|
33157
|
+
* * Display Name: Priority
|
|
33158
|
+
* * SQL Data Type: int
|
|
33159
|
+
* * Default Value: 0
|
|
33160
|
+
* * Description: Rule evaluation order. Higher priority rules are evaluated first. Within same priority, deny rules are evaluated before allow rules.
|
|
33161
|
+
*/
|
|
33162
|
+
get Priority(): number;
|
|
33163
|
+
set Priority(value: number);
|
|
33164
|
+
/**
|
|
32462
33165
|
* * Field Name: APIKey
|
|
32463
|
-
* * Display Name: API Key
|
|
33166
|
+
* * Display Name: API Key Name
|
|
32464
33167
|
* * SQL Data Type: nvarchar(255)
|
|
32465
33168
|
*/
|
|
32466
33169
|
get APIKey(): string;
|
|
32467
33170
|
/**
|
|
32468
33171
|
* * Field Name: Scope
|
|
32469
|
-
* * Display Name: Scope
|
|
33172
|
+
* * Display Name: Scope
|
|
32470
33173
|
* * SQL Data Type: nvarchar(100)
|
|
32471
33174
|
*/
|
|
32472
33175
|
get Scope(): string;
|
|
@@ -32545,7 +33248,7 @@ export declare class APIKeyUsageLogEntity extends BaseEntity<APIKeyUsageLogEntit
|
|
|
32545
33248
|
set StatusCode(value: number);
|
|
32546
33249
|
/**
|
|
32547
33250
|
* * Field Name: ResponseTimeMs
|
|
32548
|
-
* * Display Name: Response Time
|
|
33251
|
+
* * Display Name: Response Time
|
|
32549
33252
|
* * SQL Data Type: int
|
|
32550
33253
|
* * Description: Total time in milliseconds to process the request and return a response. Useful for performance monitoring.
|
|
32551
33254
|
*/
|
|
@@ -32582,11 +33285,64 @@ export declare class APIKeyUsageLogEntity extends BaseEntity<APIKeyUsageLogEntit
|
|
|
32582
33285
|
*/
|
|
32583
33286
|
get __mj_UpdatedAt(): Date;
|
|
32584
33287
|
/**
|
|
33288
|
+
* * Field Name: ApplicationID
|
|
33289
|
+
* * Display Name: Application ID
|
|
33290
|
+
* * SQL Data Type: uniqueidentifier
|
|
33291
|
+
* * Related Entity/Foreign Key: MJ: API Applications (vwAPIApplications.ID)
|
|
33292
|
+
* * Description: The application through which this request was made (MJAPI, MCPServer, etc.).
|
|
33293
|
+
*/
|
|
33294
|
+
get ApplicationID(): string | null;
|
|
33295
|
+
set ApplicationID(value: string | null);
|
|
33296
|
+
/**
|
|
33297
|
+
* * Field Name: RequestedResource
|
|
33298
|
+
* * Display Name: Requested Resource
|
|
33299
|
+
* * SQL Data Type: nvarchar(500)
|
|
33300
|
+
* * Description: The specific resource that was requested (e.g., entity name, agent name, query name).
|
|
33301
|
+
*/
|
|
33302
|
+
get RequestedResource(): string | null;
|
|
33303
|
+
set RequestedResource(value: string | null);
|
|
33304
|
+
/**
|
|
33305
|
+
* * Field Name: ScopesEvaluated
|
|
33306
|
+
* * Display Name: Scopes Evaluated
|
|
33307
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
33308
|
+
* * Description: JSON array containing detailed evaluation of each scope rule checked during authorization.
|
|
33309
|
+
*/
|
|
33310
|
+
get ScopesEvaluated(): string | null;
|
|
33311
|
+
set ScopesEvaluated(value: string | null);
|
|
33312
|
+
/**
|
|
33313
|
+
* * Field Name: AuthorizationResult
|
|
33314
|
+
* * Display Name: Authorization Result
|
|
33315
|
+
* * SQL Data Type: nvarchar(20)
|
|
33316
|
+
* * Default Value: Allowed
|
|
33317
|
+
* * Value List Type: List
|
|
33318
|
+
* * Possible Values
|
|
33319
|
+
* * Allowed
|
|
33320
|
+
* * Denied
|
|
33321
|
+
* * NoScopesRequired
|
|
33322
|
+
* * Description: Final authorization result: Allowed, Denied, or NoScopesRequired (for operations that do not require scope checks).
|
|
33323
|
+
*/
|
|
33324
|
+
get AuthorizationResult(): 'Allowed' | 'Denied' | 'NoScopesRequired';
|
|
33325
|
+
set AuthorizationResult(value: 'Allowed' | 'Denied' | 'NoScopesRequired');
|
|
33326
|
+
/**
|
|
33327
|
+
* * Field Name: DeniedReason
|
|
33328
|
+
* * Display Name: Denied Reason
|
|
33329
|
+
* * SQL Data Type: nvarchar(500)
|
|
33330
|
+
* * Description: When authorization is denied, explains why (e.g., app ceiling blocked, no matching key scope, explicit deny rule).
|
|
33331
|
+
*/
|
|
33332
|
+
get DeniedReason(): string | null;
|
|
33333
|
+
set DeniedReason(value: string | null);
|
|
33334
|
+
/**
|
|
32585
33335
|
* * Field Name: APIKey
|
|
32586
|
-
* * Display Name: API Key
|
|
33336
|
+
* * Display Name: API Key Value
|
|
32587
33337
|
* * SQL Data Type: nvarchar(255)
|
|
32588
33338
|
*/
|
|
32589
33339
|
get APIKey(): string;
|
|
33340
|
+
/**
|
|
33341
|
+
* * Field Name: Application
|
|
33342
|
+
* * Display Name: Application
|
|
33343
|
+
* * SQL Data Type: nvarchar(100)
|
|
33344
|
+
*/
|
|
33345
|
+
get Application(): string | null;
|
|
32590
33346
|
}
|
|
32591
33347
|
/**
|
|
32592
33348
|
* MJ: API Keys - strongly typed entity sub-class
|
|
@@ -32750,7 +33506,7 @@ export declare class APIScopeEntity extends BaseEntity<APIScopeEntityType> {
|
|
|
32750
33506
|
set ID(value: string);
|
|
32751
33507
|
/**
|
|
32752
33508
|
* * Field Name: Name
|
|
32753
|
-
* * Display Name:
|
|
33509
|
+
* * Display Name: Name
|
|
32754
33510
|
* * SQL Data Type: nvarchar(100)
|
|
32755
33511
|
* * Description: Unique scope identifier following the pattern category:permission (e.g., entities:read, agents:execute, admin:*). Supports wildcard (*) for broad permissions.
|
|
32756
33512
|
*/
|
|
@@ -32758,7 +33514,7 @@ export declare class APIScopeEntity extends BaseEntity<APIScopeEntityType> {
|
|
|
32758
33514
|
set Name(value: string);
|
|
32759
33515
|
/**
|
|
32760
33516
|
* * Field Name: Category
|
|
32761
|
-
* * Display Name:
|
|
33517
|
+
* * Display Name: Category
|
|
32762
33518
|
* * SQL Data Type: nvarchar(100)
|
|
32763
33519
|
* * Description: Grouping category for the scope (e.g., Entities, Agents, Admin). Used for organizing and filtering scopes in the UI.
|
|
32764
33520
|
*/
|
|
@@ -32786,6 +33542,52 @@ export declare class APIScopeEntity extends BaseEntity<APIScopeEntityType> {
|
|
|
32786
33542
|
* * Default Value: getutcdate()
|
|
32787
33543
|
*/
|
|
32788
33544
|
get __mj_UpdatedAt(): Date;
|
|
33545
|
+
/**
|
|
33546
|
+
* * Field Name: ParentID
|
|
33547
|
+
* * Display Name: Parent ID
|
|
33548
|
+
* * SQL Data Type: uniqueidentifier
|
|
33549
|
+
* * Related Entity/Foreign Key: MJ: API Scopes (vwAPIScopes.ID)
|
|
33550
|
+
* * Description: Reference to parent scope for hierarchical organization. NULL indicates a root-level scope.
|
|
33551
|
+
*/
|
|
33552
|
+
get ParentID(): string | null;
|
|
33553
|
+
set ParentID(value: string | null);
|
|
33554
|
+
/**
|
|
33555
|
+
* * Field Name: FullPath
|
|
33556
|
+
* * Display Name: Full Path
|
|
33557
|
+
* * SQL Data Type: nvarchar(500)
|
|
33558
|
+
* * Description: Full hierarchical path of the scope (e.g., entity:runview, agent:execute). Used for matching during authorization.
|
|
33559
|
+
*/
|
|
33560
|
+
get FullPath(): string;
|
|
33561
|
+
set FullPath(value: string);
|
|
33562
|
+
/**
|
|
33563
|
+
* * Field Name: ResourceType
|
|
33564
|
+
* * Display Name: Resource Type
|
|
33565
|
+
* * SQL Data Type: nvarchar(50)
|
|
33566
|
+
* * Description: Type of resource this scope applies to (Entity, Agent, Query, Mutation, or NULL for abstract grouping scopes).
|
|
33567
|
+
*/
|
|
33568
|
+
get ResourceType(): string | null;
|
|
33569
|
+
set ResourceType(value: string | null);
|
|
33570
|
+
/**
|
|
33571
|
+
* * Field Name: IsActive
|
|
33572
|
+
* * Display Name: Active
|
|
33573
|
+
* * SQL Data Type: bit
|
|
33574
|
+
* * Default Value: 1
|
|
33575
|
+
* * Description: Whether this scope is currently active. Inactive scopes are ignored during authorization.
|
|
33576
|
+
*/
|
|
33577
|
+
get IsActive(): boolean;
|
|
33578
|
+
set IsActive(value: boolean);
|
|
33579
|
+
/**
|
|
33580
|
+
* * Field Name: Parent
|
|
33581
|
+
* * Display Name: Parent
|
|
33582
|
+
* * SQL Data Type: nvarchar(100)
|
|
33583
|
+
*/
|
|
33584
|
+
get Parent(): string | null;
|
|
33585
|
+
/**
|
|
33586
|
+
* * Field Name: RootParentID
|
|
33587
|
+
* * Display Name: Root Parent ID
|
|
33588
|
+
* * SQL Data Type: uniqueidentifier
|
|
33589
|
+
*/
|
|
33590
|
+
get RootParentID(): string | null;
|
|
32789
33591
|
}
|
|
32790
33592
|
/**
|
|
32791
33593
|
* MJ: Artifact Permissions - strongly typed entity sub-class
|