@memberjunction/core-entities 2.16.1 → 2.17.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.
@@ -667,6 +667,189 @@ export declare const AIResultCacheSchema: z.ZodObject<{
667
667
  AIPrompt?: string;
668
668
  }>;
669
669
  export type AIResultCacheEntityType = z.infer<typeof AIResultCacheSchema>;
670
+ /**
671
+ * zod schema definition for the entity AIAgent Actions
672
+ */
673
+ export declare const AIAgentActionSchema: z.ZodObject<{
674
+ ID: z.ZodString;
675
+ AgentID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
676
+ ActionID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
677
+ Status: z.ZodUnion<[z.ZodLiteral<"Pending">, z.ZodLiteral<"Active">, z.ZodLiteral<"Revoked">]>;
678
+ __mj_CreatedAt: z.ZodDate;
679
+ __mj_UpdatedAt: z.ZodDate;
680
+ Agent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
681
+ Action: z.ZodOptional<z.ZodNullable<z.ZodString>>;
682
+ }, "strip", z.ZodTypeAny, {
683
+ ID?: string;
684
+ ActionID?: string;
685
+ __mj_CreatedAt?: Date;
686
+ __mj_UpdatedAt?: Date;
687
+ Action?: string;
688
+ Status?: "Pending" | "Active" | "Revoked";
689
+ AgentID?: string;
690
+ Agent?: string;
691
+ }, {
692
+ ID?: string;
693
+ ActionID?: string;
694
+ __mj_CreatedAt?: Date;
695
+ __mj_UpdatedAt?: Date;
696
+ Action?: string;
697
+ Status?: "Pending" | "Active" | "Revoked";
698
+ AgentID?: string;
699
+ Agent?: string;
700
+ }>;
701
+ export type AIAgentActionEntityType = z.infer<typeof AIAgentActionSchema>;
702
+ /**
703
+ * zod schema definition for the entity AIAgent Learning Cycles
704
+ */
705
+ export declare const AIAgentLearningCycleSchema: z.ZodObject<{
706
+ ID: z.ZodString;
707
+ AgentID: z.ZodString;
708
+ StartedAt: z.ZodDate;
709
+ EndedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
710
+ Status: z.ZodUnion<[z.ZodLiteral<"In-Progress">, z.ZodLiteral<"Complete">, z.ZodLiteral<"Failed">]>;
711
+ AgentSummary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
712
+ __mj_CreatedAt: z.ZodDate;
713
+ __mj_UpdatedAt: z.ZodDate;
714
+ Agent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
715
+ }, "strip", z.ZodTypeAny, {
716
+ ID?: string;
717
+ __mj_CreatedAt?: Date;
718
+ __mj_UpdatedAt?: Date;
719
+ Status?: "Complete" | "In-Progress" | "Failed";
720
+ StartedAt?: Date;
721
+ EndedAt?: Date;
722
+ AgentID?: string;
723
+ Agent?: string;
724
+ AgentSummary?: string;
725
+ }, {
726
+ ID?: string;
727
+ __mj_CreatedAt?: Date;
728
+ __mj_UpdatedAt?: Date;
729
+ Status?: "Complete" | "In-Progress" | "Failed";
730
+ StartedAt?: Date;
731
+ EndedAt?: Date;
732
+ AgentID?: string;
733
+ Agent?: string;
734
+ AgentSummary?: string;
735
+ }>;
736
+ export type AIAgentLearningCycleEntityType = z.infer<typeof AIAgentLearningCycleSchema>;
737
+ /**
738
+ * zod schema definition for the entity AIAgent Models
739
+ */
740
+ export declare const AIAgentModelSchema: z.ZodObject<{
741
+ ID: z.ZodString;
742
+ AgentID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
743
+ ModelID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
744
+ Active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
745
+ Priority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
746
+ __mj_CreatedAt: z.ZodDate;
747
+ __mj_UpdatedAt: z.ZodDate;
748
+ Agent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
749
+ Model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
750
+ }, "strip", z.ZodTypeAny, {
751
+ Active?: boolean;
752
+ ID?: string;
753
+ __mj_CreatedAt?: Date;
754
+ __mj_UpdatedAt?: Date;
755
+ AgentID?: string;
756
+ Agent?: string;
757
+ ModelID?: string;
758
+ Priority?: number;
759
+ Model?: string;
760
+ }, {
761
+ Active?: boolean;
762
+ ID?: string;
763
+ __mj_CreatedAt?: Date;
764
+ __mj_UpdatedAt?: Date;
765
+ AgentID?: string;
766
+ Agent?: string;
767
+ ModelID?: string;
768
+ Priority?: number;
769
+ Model?: string;
770
+ }>;
771
+ export type AIAgentModelEntityType = z.infer<typeof AIAgentModelSchema>;
772
+ /**
773
+ * zod schema definition for the entity AIAgent Note Types
774
+ */
775
+ export declare const AIAgentNoteTypeSchema: z.ZodObject<{
776
+ ID: z.ZodString;
777
+ Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
778
+ Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
779
+ __mj_CreatedAt: z.ZodDate;
780
+ __mj_UpdatedAt: z.ZodDate;
781
+ }, "strip", z.ZodTypeAny, {
782
+ ID?: string;
783
+ __mj_CreatedAt?: Date;
784
+ __mj_UpdatedAt?: Date;
785
+ Name?: string;
786
+ Description?: string;
787
+ }, {
788
+ ID?: string;
789
+ __mj_CreatedAt?: Date;
790
+ __mj_UpdatedAt?: Date;
791
+ Name?: string;
792
+ Description?: string;
793
+ }>;
794
+ export type AIAgentNoteTypeEntityType = z.infer<typeof AIAgentNoteTypeSchema>;
795
+ /**
796
+ * zod schema definition for the entity AIAgent Notes
797
+ */
798
+ export declare const AIAgentNoteSchema: z.ZodObject<{
799
+ ID: z.ZodString;
800
+ AgentID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
801
+ AgentNoteTypeID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
802
+ Note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
803
+ __mj_CreatedAt: z.ZodDate;
804
+ __mj_UpdatedAt: z.ZodDate;
805
+ Agent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
806
+ AgentNoteType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
807
+ }, "strip", z.ZodTypeAny, {
808
+ ID?: string;
809
+ __mj_CreatedAt?: Date;
810
+ __mj_UpdatedAt?: Date;
811
+ AgentID?: string;
812
+ Agent?: string;
813
+ AgentNoteTypeID?: string;
814
+ Note?: string;
815
+ AgentNoteType?: string;
816
+ }, {
817
+ ID?: string;
818
+ __mj_CreatedAt?: Date;
819
+ __mj_UpdatedAt?: Date;
820
+ AgentID?: string;
821
+ Agent?: string;
822
+ AgentNoteTypeID?: string;
823
+ Note?: string;
824
+ AgentNoteType?: string;
825
+ }>;
826
+ export type AIAgentNoteEntityType = z.infer<typeof AIAgentNoteSchema>;
827
+ /**
828
+ * zod schema definition for the entity AIAgents
829
+ */
830
+ export declare const AIAgentSchema: z.ZodObject<{
831
+ ID: z.ZodString;
832
+ Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
833
+ Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
834
+ LogoURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
835
+ __mj_CreatedAt: z.ZodDate;
836
+ __mj_UpdatedAt: z.ZodDate;
837
+ }, "strip", z.ZodTypeAny, {
838
+ ID?: string;
839
+ __mj_CreatedAt?: Date;
840
+ __mj_UpdatedAt?: Date;
841
+ Name?: string;
842
+ Description?: string;
843
+ LogoURL?: string;
844
+ }, {
845
+ ID?: string;
846
+ __mj_CreatedAt?: Date;
847
+ __mj_UpdatedAt?: Date;
848
+ Name?: string;
849
+ Description?: string;
850
+ LogoURL?: string;
851
+ }>;
852
+ export type AIAgentEntityType = z.infer<typeof AIAgentSchema>;
670
853
  /**
671
854
  * zod schema definition for the entity Application Entities
672
855
  */
@@ -983,7 +1166,7 @@ export declare const CommunicationLogSchema: z.ZodObject<{
983
1166
  ID?: string;
984
1167
  __mj_CreatedAt?: Date;
985
1168
  __mj_UpdatedAt?: Date;
986
- Status?: "Pending" | "Complete" | "Failed" | "In-Progress";
1169
+ Status?: "Pending" | "Complete" | "In-Progress" | "Failed";
987
1170
  CommunicationProviderID?: string;
988
1171
  CommunicationProviderMessageTypeID?: string;
989
1172
  CommunicationRunID?: string;
@@ -997,7 +1180,7 @@ export declare const CommunicationLogSchema: z.ZodObject<{
997
1180
  ID?: string;
998
1181
  __mj_CreatedAt?: Date;
999
1182
  __mj_UpdatedAt?: Date;
1000
- Status?: "Pending" | "Complete" | "Failed" | "In-Progress";
1183
+ Status?: "Pending" | "Complete" | "In-Progress" | "Failed";
1001
1184
  CommunicationProviderID?: string;
1002
1185
  CommunicationProviderMessageTypeID?: string;
1003
1186
  CommunicationRunID?: string;
@@ -1102,7 +1285,7 @@ export declare const CommunicationRunSchema: z.ZodObject<{
1102
1285
  Comments?: string;
1103
1286
  __mj_CreatedAt?: Date;
1104
1287
  __mj_UpdatedAt?: Date;
1105
- Status?: "Pending" | "Complete" | "Failed" | "In-Progress";
1288
+ Status?: "Pending" | "Complete" | "In-Progress" | "Failed";
1106
1289
  StartedAt?: Date;
1107
1290
  EndedAt?: Date;
1108
1291
  UserID?: string;
@@ -1114,7 +1297,7 @@ export declare const CommunicationRunSchema: z.ZodObject<{
1114
1297
  Comments?: string;
1115
1298
  __mj_CreatedAt?: Date;
1116
1299
  __mj_UpdatedAt?: Date;
1117
- Status?: "Pending" | "Complete" | "Failed" | "In-Progress";
1300
+ Status?: "Pending" | "Complete" | "In-Progress" | "Failed";
1118
1301
  StartedAt?: Date;
1119
1302
  EndedAt?: Date;
1120
1303
  UserID?: string;
@@ -1141,8 +1324,8 @@ export declare const CompanySchema: z.ZodObject<{
1141
1324
  __mj_UpdatedAt?: Date;
1142
1325
  Name?: string;
1143
1326
  Description?: string;
1144
- Website?: string;
1145
1327
  LogoURL?: string;
1328
+ Website?: string;
1146
1329
  Domain?: string;
1147
1330
  }, {
1148
1331
  ID?: string;
@@ -1150,8 +1333,8 @@ export declare const CompanySchema: z.ZodObject<{
1150
1333
  __mj_UpdatedAt?: Date;
1151
1334
  Name?: string;
1152
1335
  Description?: string;
1153
- Website?: string;
1154
1336
  LogoURL?: string;
1337
+ Website?: string;
1155
1338
  Domain?: string;
1156
1339
  }>;
1157
1340
  export type CompanyEntityType = z.infer<typeof CompanySchema>;
@@ -2766,16 +2949,16 @@ export declare const EntityCommunicationFieldSchema: z.ZodObject<{
2766
2949
  ID?: string;
2767
2950
  __mj_CreatedAt?: Date;
2768
2951
  __mj_UpdatedAt?: Date;
2952
+ Priority?: number;
2769
2953
  EntityCommunicationMessageTypeID?: string;
2770
2954
  FieldName?: string;
2771
- Priority?: number;
2772
2955
  }, {
2773
2956
  ID?: string;
2774
2957
  __mj_CreatedAt?: Date;
2775
2958
  __mj_UpdatedAt?: Date;
2959
+ Priority?: number;
2776
2960
  EntityCommunicationMessageTypeID?: string;
2777
2961
  FieldName?: string;
2778
- Priority?: number;
2779
2962
  }>;
2780
2963
  export type EntityCommunicationFieldEntityType = z.infer<typeof EntityCommunicationFieldSchema>;
2781
2964
  /**
@@ -4909,7 +5092,7 @@ export declare const ResourcePermissionSchema: z.ZodObject<{
4909
5092
  ID?: string;
4910
5093
  __mj_CreatedAt?: Date;
4911
5094
  __mj_UpdatedAt?: Date;
4912
- Status?: "Approved" | "Rejected" | "Requested" | "Revoked";
5095
+ Status?: "Approved" | "Rejected" | "Revoked" | "Requested";
4913
5096
  UserID?: string;
4914
5097
  User?: string;
4915
5098
  Type?: "User" | "Role";
@@ -4925,7 +5108,7 @@ export declare const ResourcePermissionSchema: z.ZodObject<{
4925
5108
  ID?: string;
4926
5109
  __mj_CreatedAt?: Date;
4927
5110
  __mj_UpdatedAt?: Date;
4928
- Status?: "Approved" | "Rejected" | "Requested" | "Revoked";
5111
+ Status?: "Approved" | "Rejected" | "Revoked" | "Requested";
4929
5112
  UserID?: string;
4930
5113
  User?: string;
4931
5114
  Type?: "User" | "Role";
@@ -8017,6 +8200,497 @@ export declare class AIResultCacheEntity extends BaseEntity<AIResultCacheEntityT
8017
8200
  */
8018
8201
  get AIModel(): string;
8019
8202
  }
8203
+ /**
8204
+ * AIAgent Actions - strongly typed entity sub-class
8205
+ * * Schema: __mj
8206
+ * * Base Table: AIAgentAction
8207
+ * * Base View: vwAIAgentActions
8208
+ * * @description Table to store the relationship between AI agents and actions.
8209
+ * * Primary Key: ID
8210
+ * @extends {BaseEntity}
8211
+ * @class
8212
+ * @public
8213
+ */
8214
+ export declare class AIAgentActionEntity extends BaseEntity<AIAgentActionEntityType> {
8215
+ /**
8216
+ * Loads the AIAgent Actions record from the database
8217
+ * @param ID: string - primary key value to load the AIAgent Actions record.
8218
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
8219
+ * @returns {Promise<boolean>} - true if successful, false otherwise
8220
+ * @public
8221
+ * @async
8222
+ * @memberof AIAgentActionEntity
8223
+ * @method
8224
+ * @override
8225
+ */
8226
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
8227
+ /**
8228
+ * * Field Name: ID
8229
+ * * Display Name: ID
8230
+ * * SQL Data Type: uniqueidentifier
8231
+ * * Default Value: newsequentialid()
8232
+ * * Description: The unique identifier for each AI agent-action mapping. Serves as the primary key.
8233
+ */
8234
+ get ID(): string;
8235
+ /**
8236
+ * * Field Name: AgentID
8237
+ * * Display Name: Agent ID
8238
+ * * SQL Data Type: uniqueidentifier
8239
+ * * Related Entity/Foreign Key: AIAgents (vwAIAgents.ID)
8240
+ * * Description: References the unique identifier of the associated AI agent from the AIAgent table.
8241
+ */
8242
+ get AgentID(): string | null;
8243
+ set AgentID(value: string | null);
8244
+ /**
8245
+ * * Field Name: ActionID
8246
+ * * Display Name: Action ID
8247
+ * * SQL Data Type: uniqueidentifier
8248
+ * * Related Entity/Foreign Key: Actions (vwActions.ID)
8249
+ * * Description: References the unique identifier of the associated action from the Action table.
8250
+ */
8251
+ get ActionID(): string | null;
8252
+ set ActionID(value: string | null);
8253
+ /**
8254
+ * * Field Name: Status
8255
+ * * Display Name: Status
8256
+ * * SQL Data Type: nvarchar(15)
8257
+ * * Default Value: Active
8258
+ * * Value List Type: List
8259
+ * * Possible Values
8260
+ * * Pending
8261
+ * * Active
8262
+ * * Revoked
8263
+ */
8264
+ get Status(): 'Pending' | 'Active' | 'Revoked';
8265
+ set Status(value: 'Pending' | 'Active' | 'Revoked');
8266
+ /**
8267
+ * * Field Name: __mj_CreatedAt
8268
+ * * Display Name: Created At
8269
+ * * SQL Data Type: datetimeoffset
8270
+ * * Default Value: getutcdate()
8271
+ */
8272
+ get __mj_CreatedAt(): Date;
8273
+ /**
8274
+ * * Field Name: __mj_UpdatedAt
8275
+ * * Display Name: Updated At
8276
+ * * SQL Data Type: datetimeoffset
8277
+ * * Default Value: getutcdate()
8278
+ */
8279
+ get __mj_UpdatedAt(): Date;
8280
+ /**
8281
+ * * Field Name: Agent
8282
+ * * Display Name: Agent
8283
+ * * SQL Data Type: nvarchar(255)
8284
+ */
8285
+ get Agent(): string | null;
8286
+ /**
8287
+ * * Field Name: Action
8288
+ * * Display Name: Action
8289
+ * * SQL Data Type: nvarchar(425)
8290
+ */
8291
+ get Action(): string | null;
8292
+ }
8293
+ /**
8294
+ * AIAgent Learning Cycles - strongly typed entity sub-class
8295
+ * * Schema: __mj
8296
+ * * Base Table: AIAgentLearningCycle
8297
+ * * Base View: vwAIAgentLearningCycles
8298
+ * * @description Tracks the learning cycles for AI Agents where the Agent does offline reasoning, reflection, learning, and updates metadata.
8299
+ * * Primary Key: ID
8300
+ * @extends {BaseEntity}
8301
+ * @class
8302
+ * @public
8303
+ */
8304
+ export declare class AIAgentLearningCycleEntity extends BaseEntity<AIAgentLearningCycleEntityType> {
8305
+ /**
8306
+ * Loads the AIAgent Learning Cycles record from the database
8307
+ * @param ID: string - primary key value to load the AIAgent Learning Cycles record.
8308
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
8309
+ * @returns {Promise<boolean>} - true if successful, false otherwise
8310
+ * @public
8311
+ * @async
8312
+ * @memberof AIAgentLearningCycleEntity
8313
+ * @method
8314
+ * @override
8315
+ */
8316
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
8317
+ /**
8318
+ * * Field Name: ID
8319
+ * * Display Name: ID
8320
+ * * SQL Data Type: uniqueidentifier
8321
+ * * Default Value: newsequentialid()
8322
+ * * Description: Unique identifier for the learning cycle.
8323
+ */
8324
+ get ID(): string;
8325
+ /**
8326
+ * * Field Name: AgentID
8327
+ * * Display Name: Agent ID
8328
+ * * SQL Data Type: uniqueidentifier
8329
+ * * Related Entity/Foreign Key: AIAgents (vwAIAgents.ID)
8330
+ * * Description: Identifier for the AI Agent associated with this learning cycle.
8331
+ */
8332
+ get AgentID(): string;
8333
+ set AgentID(value: string);
8334
+ /**
8335
+ * * Field Name: StartedAt
8336
+ * * Display Name: Started At
8337
+ * * SQL Data Type: datetimeoffset
8338
+ * * Default Value: getutcdate()
8339
+ * * Description: Timestamp indicating when the learning cycle started.
8340
+ */
8341
+ get StartedAt(): Date;
8342
+ set StartedAt(value: Date);
8343
+ /**
8344
+ * * Field Name: EndedAt
8345
+ * * Display Name: Ended At
8346
+ * * SQL Data Type: datetimeoffset
8347
+ * * Description: Timestamp indicating when the learning cycle ended.
8348
+ */
8349
+ get EndedAt(): Date | null;
8350
+ set EndedAt(value: Date | null);
8351
+ /**
8352
+ * * Field Name: Status
8353
+ * * Display Name: Status
8354
+ * * SQL Data Type: nvarchar(20)
8355
+ * * Value List Type: List
8356
+ * * Possible Values
8357
+ * * In-Progress
8358
+ * * Complete
8359
+ * * Failed
8360
+ * * Description: Status of the learning cycle (In-Progress, Complete, or Failed).
8361
+ */
8362
+ get Status(): 'In-Progress' | 'Complete' | 'Failed';
8363
+ set Status(value: 'In-Progress' | 'Complete' | 'Failed');
8364
+ /**
8365
+ * * Field Name: AgentSummary
8366
+ * * Display Name: Agent Summary
8367
+ * * SQL Data Type: nvarchar(MAX)
8368
+ * * Description: Text summary provided by the agent about what it learned and any changes it requested for stored metadata.
8369
+ */
8370
+ get AgentSummary(): string | null;
8371
+ set AgentSummary(value: string | null);
8372
+ /**
8373
+ * * Field Name: __mj_CreatedAt
8374
+ * * Display Name: Created At
8375
+ * * SQL Data Type: datetimeoffset
8376
+ * * Default Value: getutcdate()
8377
+ */
8378
+ get __mj_CreatedAt(): Date;
8379
+ /**
8380
+ * * Field Name: __mj_UpdatedAt
8381
+ * * Display Name: Updated At
8382
+ * * SQL Data Type: datetimeoffset
8383
+ * * Default Value: getutcdate()
8384
+ */
8385
+ get __mj_UpdatedAt(): Date;
8386
+ /**
8387
+ * * Field Name: Agent
8388
+ * * Display Name: Agent
8389
+ * * SQL Data Type: nvarchar(255)
8390
+ */
8391
+ get Agent(): string | null;
8392
+ }
8393
+ /**
8394
+ * AIAgent Models - strongly typed entity sub-class
8395
+ * * Schema: __mj
8396
+ * * Base Table: AIAgentModel
8397
+ * * Base View: vwAIAgentModels
8398
+ * * @description Table to store the relationship between AI agents and AI models.
8399
+ * * Primary Key: ID
8400
+ * @extends {BaseEntity}
8401
+ * @class
8402
+ * @public
8403
+ */
8404
+ export declare class AIAgentModelEntity extends BaseEntity<AIAgentModelEntityType> {
8405
+ /**
8406
+ * Loads the AIAgent Models record from the database
8407
+ * @param ID: string - primary key value to load the AIAgent Models record.
8408
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
8409
+ * @returns {Promise<boolean>} - true if successful, false otherwise
8410
+ * @public
8411
+ * @async
8412
+ * @memberof AIAgentModelEntity
8413
+ * @method
8414
+ * @override
8415
+ */
8416
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
8417
+ /**
8418
+ * * Field Name: ID
8419
+ * * Display Name: ID
8420
+ * * SQL Data Type: uniqueidentifier
8421
+ * * Default Value: newsequentialid()
8422
+ * * Description: The unique identifier for each AI agent-model mapping. Serves as the primary key.
8423
+ */
8424
+ get ID(): string;
8425
+ /**
8426
+ * * Field Name: AgentID
8427
+ * * Display Name: Agent ID
8428
+ * * SQL Data Type: uniqueidentifier
8429
+ * * Related Entity/Foreign Key: AIAgents (vwAIAgents.ID)
8430
+ * * Description: References the unique identifier of the associated AI agent from AIAgent table.
8431
+ */
8432
+ get AgentID(): string | null;
8433
+ set AgentID(value: string | null);
8434
+ /**
8435
+ * * Field Name: ModelID
8436
+ * * Display Name: Model ID
8437
+ * * SQL Data Type: uniqueidentifier
8438
+ * * Related Entity/Foreign Key: AI Models (vwAIModels.ID)
8439
+ * * Description: The unique identifier of the associated AI model.
8440
+ */
8441
+ get ModelID(): string | null;
8442
+ set ModelID(value: string | null);
8443
+ /**
8444
+ * * Field Name: Active
8445
+ * * Display Name: Active
8446
+ * * SQL Data Type: bit
8447
+ */
8448
+ get Active(): boolean | null;
8449
+ set Active(value: boolean | null);
8450
+ /**
8451
+ * * Field Name: Priority
8452
+ * * Display Name: Priority
8453
+ * * SQL Data Type: int
8454
+ * * Description: The priority level of the AI model for the agent, where higher values indicate higher priority.
8455
+ */
8456
+ get Priority(): number | null;
8457
+ set Priority(value: number | null);
8458
+ /**
8459
+ * * Field Name: __mj_CreatedAt
8460
+ * * Display Name: Created At
8461
+ * * SQL Data Type: datetimeoffset
8462
+ * * Default Value: getutcdate()
8463
+ */
8464
+ get __mj_CreatedAt(): Date;
8465
+ /**
8466
+ * * Field Name: __mj_UpdatedAt
8467
+ * * Display Name: Updated At
8468
+ * * SQL Data Type: datetimeoffset
8469
+ * * Default Value: getutcdate()
8470
+ */
8471
+ get __mj_UpdatedAt(): Date;
8472
+ /**
8473
+ * * Field Name: Agent
8474
+ * * Display Name: Agent
8475
+ * * SQL Data Type: nvarchar(255)
8476
+ */
8477
+ get Agent(): string | null;
8478
+ /**
8479
+ * * Field Name: Model
8480
+ * * Display Name: Model
8481
+ * * SQL Data Type: nvarchar(50)
8482
+ */
8483
+ get Model(): string | null;
8484
+ }
8485
+ /**
8486
+ * AIAgent Note Types - strongly typed entity sub-class
8487
+ * * Schema: __mj
8488
+ * * Base Table: AIAgentNoteType
8489
+ * * Base View: vwAIAgentNoteTypes
8490
+ * * Primary Key: ID
8491
+ * @extends {BaseEntity}
8492
+ * @class
8493
+ * @public
8494
+ */
8495
+ export declare class AIAgentNoteTypeEntity extends BaseEntity<AIAgentNoteTypeEntityType> {
8496
+ /**
8497
+ * Loads the AIAgent Note Types record from the database
8498
+ * @param ID: string - primary key value to load the AIAgent Note Types record.
8499
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
8500
+ * @returns {Promise<boolean>} - true if successful, false otherwise
8501
+ * @public
8502
+ * @async
8503
+ * @memberof AIAgentNoteTypeEntity
8504
+ * @method
8505
+ * @override
8506
+ */
8507
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
8508
+ /**
8509
+ * * Field Name: ID
8510
+ * * Display Name: ID
8511
+ * * SQL Data Type: uniqueidentifier
8512
+ * * Default Value: newsequentialid()
8513
+ */
8514
+ get ID(): string;
8515
+ /**
8516
+ * * Field Name: Name
8517
+ * * Display Name: Name
8518
+ * * SQL Data Type: nvarchar(255)
8519
+ */
8520
+ get Name(): string | null;
8521
+ set Name(value: string | null);
8522
+ /**
8523
+ * * Field Name: Description
8524
+ * * Display Name: Description
8525
+ * * SQL Data Type: nvarchar(MAX)
8526
+ */
8527
+ get Description(): string | null;
8528
+ set Description(value: string | null);
8529
+ /**
8530
+ * * Field Name: __mj_CreatedAt
8531
+ * * Display Name: Created At
8532
+ * * SQL Data Type: datetimeoffset
8533
+ * * Default Value: getutcdate()
8534
+ */
8535
+ get __mj_CreatedAt(): Date;
8536
+ /**
8537
+ * * Field Name: __mj_UpdatedAt
8538
+ * * Display Name: Updated At
8539
+ * * SQL Data Type: datetimeoffset
8540
+ * * Default Value: getutcdate()
8541
+ */
8542
+ get __mj_UpdatedAt(): Date;
8543
+ }
8544
+ /**
8545
+ * AIAgent Notes - strongly typed entity sub-class
8546
+ * * Schema: __mj
8547
+ * * Base Table: AIAgentNote
8548
+ * * Base View: vwAIAgentNotes
8549
+ * * Primary Key: ID
8550
+ * @extends {BaseEntity}
8551
+ * @class
8552
+ * @public
8553
+ */
8554
+ export declare class AIAgentNoteEntity extends BaseEntity<AIAgentNoteEntityType> {
8555
+ /**
8556
+ * Loads the AIAgent Notes record from the database
8557
+ * @param ID: string - primary key value to load the AIAgent Notes record.
8558
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
8559
+ * @returns {Promise<boolean>} - true if successful, false otherwise
8560
+ * @public
8561
+ * @async
8562
+ * @memberof AIAgentNoteEntity
8563
+ * @method
8564
+ * @override
8565
+ */
8566
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
8567
+ /**
8568
+ * * Field Name: ID
8569
+ * * Display Name: ID
8570
+ * * SQL Data Type: uniqueidentifier
8571
+ * * Default Value: newsequentialid()
8572
+ */
8573
+ get ID(): string;
8574
+ /**
8575
+ * * Field Name: AgentID
8576
+ * * Display Name: Agent ID
8577
+ * * SQL Data Type: uniqueidentifier
8578
+ * * Related Entity/Foreign Key: AIAgents (vwAIAgents.ID)
8579
+ */
8580
+ get AgentID(): string | null;
8581
+ set AgentID(value: string | null);
8582
+ /**
8583
+ * * Field Name: AgentNoteTypeID
8584
+ * * Display Name: Agent Note Type ID
8585
+ * * SQL Data Type: uniqueidentifier
8586
+ * * Related Entity/Foreign Key: AIAgent Note Types (vwAIAgentNoteTypes.ID)
8587
+ */
8588
+ get AgentNoteTypeID(): string | null;
8589
+ set AgentNoteTypeID(value: string | null);
8590
+ /**
8591
+ * * Field Name: Note
8592
+ * * Display Name: Note
8593
+ * * SQL Data Type: nvarchar(MAX)
8594
+ */
8595
+ get Note(): string | null;
8596
+ set Note(value: string | null);
8597
+ /**
8598
+ * * Field Name: __mj_CreatedAt
8599
+ * * Display Name: Created At
8600
+ * * SQL Data Type: datetimeoffset
8601
+ * * Default Value: getutcdate()
8602
+ */
8603
+ get __mj_CreatedAt(): Date;
8604
+ /**
8605
+ * * Field Name: __mj_UpdatedAt
8606
+ * * Display Name: Updated At
8607
+ * * SQL Data Type: datetimeoffset
8608
+ * * Default Value: getutcdate()
8609
+ */
8610
+ get __mj_UpdatedAt(): Date;
8611
+ /**
8612
+ * * Field Name: Agent
8613
+ * * Display Name: Agent
8614
+ * * SQL Data Type: nvarchar(255)
8615
+ */
8616
+ get Agent(): string | null;
8617
+ /**
8618
+ * * Field Name: AgentNoteType
8619
+ * * Display Name: Agent Note Type
8620
+ * * SQL Data Type: nvarchar(255)
8621
+ */
8622
+ get AgentNoteType(): string | null;
8623
+ }
8624
+ /**
8625
+ * AIAgents - strongly typed entity sub-class
8626
+ * * Schema: __mj
8627
+ * * Base Table: AIAgent
8628
+ * * Base View: vwAIAgents
8629
+ * * @description Table to store information about AI agents.
8630
+ * * Primary Key: ID
8631
+ * @extends {BaseEntity}
8632
+ * @class
8633
+ * @public
8634
+ */
8635
+ export declare class AIAgentEntity extends BaseEntity<AIAgentEntityType> {
8636
+ /**
8637
+ * Loads the AIAgents record from the database
8638
+ * @param ID: string - primary key value to load the AIAgents record.
8639
+ * @param EntityRelationshipsToLoad - (optional) the relationships to load
8640
+ * @returns {Promise<boolean>} - true if successful, false otherwise
8641
+ * @public
8642
+ * @async
8643
+ * @memberof AIAgentEntity
8644
+ * @method
8645
+ * @override
8646
+ */
8647
+ Load(ID: string, EntityRelationshipsToLoad?: string[]): Promise<boolean>;
8648
+ /**
8649
+ * * Field Name: ID
8650
+ * * Display Name: ID
8651
+ * * SQL Data Type: uniqueidentifier
8652
+ * * Default Value: newsequentialid()
8653
+ * * Description: The unique identifier for each AI agent. Serves as the primary key.
8654
+ */
8655
+ get ID(): string;
8656
+ /**
8657
+ * * Field Name: Name
8658
+ * * Display Name: Name
8659
+ * * SQL Data Type: nvarchar(255)
8660
+ * * Description: The name of the AI agent.
8661
+ */
8662
+ get Name(): string | null;
8663
+ set Name(value: string | null);
8664
+ /**
8665
+ * * Field Name: Description
8666
+ * * Display Name: Description
8667
+ * * SQL Data Type: nvarchar(MAX)
8668
+ * * Description: A detailed description of the AI agent.
8669
+ */
8670
+ get Description(): string | null;
8671
+ set Description(value: string | null);
8672
+ /**
8673
+ * * Field Name: LogoURL
8674
+ * * Display Name: Logo URL
8675
+ * * SQL Data Type: nvarchar(255)
8676
+ */
8677
+ get LogoURL(): string | null;
8678
+ set LogoURL(value: string | null);
8679
+ /**
8680
+ * * Field Name: __mj_CreatedAt
8681
+ * * Display Name: Created At
8682
+ * * SQL Data Type: datetimeoffset
8683
+ * * Default Value: getutcdate()
8684
+ */
8685
+ get __mj_CreatedAt(): Date;
8686
+ /**
8687
+ * * Field Name: __mj_UpdatedAt
8688
+ * * Display Name: Updated At
8689
+ * * SQL Data Type: datetimeoffset
8690
+ * * Default Value: getutcdate()
8691
+ */
8692
+ get __mj_UpdatedAt(): Date;
8693
+ }
8020
8694
  /**
8021
8695
  * Application Entities - strongly typed entity sub-class
8022
8696
  * * Schema: __mj
@@ -17474,14 +18148,12 @@ export declare class QueryEntityEntity extends BaseEntity<QueryEntityEntityType>
17474
18148
  * * Field Name: Query
17475
18149
  * * Display Name: Query
17476
18150
  * * SQL Data Type: nvarchar(255)
17477
- * * Default Value: null
17478
18151
  */
17479
18152
  get Query(): string;
17480
18153
  /**
17481
18154
  * * Field Name: Entity
17482
18155
  * * Display Name: Entity
17483
18156
  * * SQL Data Type: nvarchar(255)
17484
- * * Default Value: null
17485
18157
  */
17486
18158
  get Entity(): string;
17487
18159
  }