@memberjunction/core-entities 2.78.0 → 2.79.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.
@@ -4790,9 +4790,17 @@ export declare const AIAgentRunSchema: z.ZodObject<{
4790
4790
  LastRunID: z.ZodNullable<z.ZodString>;
4791
4791
  StartingPayload: z.ZodNullable<z.ZodString>;
4792
4792
  TotalPromptIterations: z.ZodNumber;
4793
+ ConfigurationID: z.ZodNullable<z.ZodString>;
4794
+ OverrideModelID: z.ZodNullable<z.ZodString>;
4795
+ OverrideVendorID: z.ZodNullable<z.ZodString>;
4796
+ Data: z.ZodNullable<z.ZodString>;
4797
+ Verbose: z.ZodNullable<z.ZodBoolean>;
4793
4798
  Agent: z.ZodNullable<z.ZodString>;
4794
4799
  Conversation: z.ZodNullable<z.ZodString>;
4795
4800
  User: z.ZodNullable<z.ZodString>;
4801
+ Configuration: z.ZodNullable<z.ZodString>;
4802
+ OverrideModel: z.ZodNullable<z.ZodString>;
4803
+ OverrideVendor: z.ZodNullable<z.ZodString>;
4796
4804
  }, "strip", z.ZodTypeAny, {
4797
4805
  ID?: string;
4798
4806
  __mj_CreatedAt?: Date;
@@ -4804,6 +4812,8 @@ export declare const AIAgentRunSchema: z.ZodObject<{
4804
4812
  User?: string;
4805
4813
  AgentID?: string;
4806
4814
  Agent?: string;
4815
+ ConfigurationID?: string;
4816
+ Configuration?: string;
4807
4817
  Success?: boolean;
4808
4818
  ErrorMessage?: string;
4809
4819
  LastRunID?: string;
@@ -4828,6 +4838,12 @@ export declare const AIAgentRunSchema: z.ZodObject<{
4828
4838
  FinalPayload?: string;
4829
4839
  StartingPayload?: string;
4830
4840
  TotalPromptIterations?: number;
4841
+ OverrideModelID?: string;
4842
+ OverrideVendorID?: string;
4843
+ Data?: string;
4844
+ Verbose?: boolean;
4845
+ OverrideModel?: string;
4846
+ OverrideVendor?: string;
4831
4847
  }, {
4832
4848
  ID?: string;
4833
4849
  __mj_CreatedAt?: Date;
@@ -4839,6 +4855,8 @@ export declare const AIAgentRunSchema: z.ZodObject<{
4839
4855
  User?: string;
4840
4856
  AgentID?: string;
4841
4857
  Agent?: string;
4858
+ ConfigurationID?: string;
4859
+ Configuration?: string;
4842
4860
  Success?: boolean;
4843
4861
  ErrorMessage?: string;
4844
4862
  LastRunID?: string;
@@ -4863,6 +4881,12 @@ export declare const AIAgentRunSchema: z.ZodObject<{
4863
4881
  FinalPayload?: string;
4864
4882
  StartingPayload?: string;
4865
4883
  TotalPromptIterations?: number;
4884
+ OverrideModelID?: string;
4885
+ OverrideVendorID?: string;
4886
+ Data?: string;
4887
+ Verbose?: boolean;
4888
+ OverrideModel?: string;
4889
+ OverrideVendor?: string;
4866
4890
  }>;
4867
4891
  export type AIAgentRunEntityType = z.infer<typeof AIAgentRunSchema>;
4868
4892
  /**
@@ -5432,6 +5456,11 @@ export declare const AIPromptRunSchema: z.ZodObject<{
5432
5456
  StreamingEnabled: z.ZodBoolean;
5433
5457
  FirstTokenTime: z.ZodNullable<z.ZodNumber>;
5434
5458
  ErrorDetails: z.ZodNullable<z.ZodString>;
5459
+ ChildPromptID: z.ZodNullable<z.ZodString>;
5460
+ QueueTime: z.ZodNullable<z.ZodNumber>;
5461
+ PromptTime: z.ZodNullable<z.ZodNumber>;
5462
+ CompletionTime: z.ZodNullable<z.ZodNumber>;
5463
+ ModelSpecificResponseDetails: z.ZodNullable<z.ZodString>;
5435
5464
  Prompt: z.ZodString;
5436
5465
  Model: z.ZodString;
5437
5466
  Vendor: z.ZodString;
@@ -5439,6 +5468,7 @@ export declare const AIPromptRunSchema: z.ZodObject<{
5439
5468
  Configuration: z.ZodNullable<z.ZodString>;
5440
5469
  OriginalModel: z.ZodNullable<z.ZodString>;
5441
5470
  Judge: z.ZodNullable<z.ZodString>;
5471
+ ChildPrompt: z.ZodNullable<z.ZodString>;
5442
5472
  }, "strip", z.ZodTypeAny, {
5443
5473
  ID?: string;
5444
5474
  __mj_CreatedAt?: Date;
@@ -5471,6 +5501,7 @@ export declare const AIPromptRunSchema: z.ZodObject<{
5471
5501
  Success?: boolean;
5472
5502
  ErrorMessage?: string;
5473
5503
  Prompt?: string;
5504
+ CompletionTime?: number;
5474
5505
  PromptID?: string;
5475
5506
  AgentRunID?: string;
5476
5507
  Cancelled?: boolean;
@@ -5520,8 +5551,13 @@ export declare const AIPromptRunSchema: z.ZodObject<{
5520
5551
  StreamingEnabled?: boolean;
5521
5552
  FirstTokenTime?: number;
5522
5553
  ErrorDetails?: string;
5554
+ ChildPromptID?: string;
5555
+ QueueTime?: number;
5556
+ PromptTime?: number;
5557
+ ModelSpecificResponseDetails?: string;
5523
5558
  OriginalModel?: string;
5524
5559
  Judge?: string;
5560
+ ChildPrompt?: string;
5525
5561
  }, {
5526
5562
  ID?: string;
5527
5563
  __mj_CreatedAt?: Date;
@@ -5554,6 +5590,7 @@ export declare const AIPromptRunSchema: z.ZodObject<{
5554
5590
  Success?: boolean;
5555
5591
  ErrorMessage?: string;
5556
5592
  Prompt?: string;
5593
+ CompletionTime?: number;
5557
5594
  PromptID?: string;
5558
5595
  AgentRunID?: string;
5559
5596
  Cancelled?: boolean;
@@ -5603,8 +5640,13 @@ export declare const AIPromptRunSchema: z.ZodObject<{
5603
5640
  StreamingEnabled?: boolean;
5604
5641
  FirstTokenTime?: number;
5605
5642
  ErrorDetails?: string;
5643
+ ChildPromptID?: string;
5644
+ QueueTime?: number;
5645
+ PromptTime?: number;
5646
+ ModelSpecificResponseDetails?: string;
5606
5647
  OriginalModel?: string;
5607
5648
  Judge?: string;
5649
+ ChildPrompt?: string;
5608
5650
  }>;
5609
5651
  export type AIPromptRunEntityType = z.infer<typeof AIPromptRunSchema>;
5610
5652
  /**
@@ -6334,8 +6376,8 @@ export declare const QueueTaskSchema: z.ZodObject<{
6334
6376
  EndedAt?: Date;
6335
6377
  Output?: string;
6336
6378
  ErrorMessage?: string;
6337
- QueueID?: string;
6338
6379
  Data?: string;
6380
+ QueueID?: string;
6339
6381
  Options?: string;
6340
6382
  Queue?: string;
6341
6383
  }, {
@@ -6348,8 +6390,8 @@ export declare const QueueTaskSchema: z.ZodObject<{
6348
6390
  EndedAt?: Date;
6349
6391
  Output?: string;
6350
6392
  ErrorMessage?: string;
6351
- QueueID?: string;
6352
6393
  Data?: string;
6394
+ QueueID?: string;
6353
6395
  Options?: string;
6354
6396
  Queue?: string;
6355
6397
  }>;
@@ -21891,6 +21933,50 @@ each time the agent processes a prompt step.
21891
21933
  get TotalPromptIterations(): number;
21892
21934
  set TotalPromptIterations(value: number);
21893
21935
  /**
21936
+ * * Field Name: ConfigurationID
21937
+ * * Display Name: Configuration ID
21938
+ * * SQL Data Type: uniqueidentifier
21939
+ * * Related Entity/Foreign Key: MJ: AI Configurations (vwAIConfigurations.ID)
21940
+ * * Description: The AI Configuration used for this agent execution. When set, this configuration was used for all prompts executed by this agent and its sub-agents.
21941
+ */
21942
+ get ConfigurationID(): string | null;
21943
+ set ConfigurationID(value: string | null);
21944
+ /**
21945
+ * * Field Name: OverrideModelID
21946
+ * * Display Name: Override Model ID
21947
+ * * SQL Data Type: uniqueidentifier
21948
+ * * Related Entity/Foreign Key: AI Models (vwAIModels.ID)
21949
+ * * Description: Runtime model override that was used for this execution. When set, this model took precedence over all other model selection methods.
21950
+ */
21951
+ get OverrideModelID(): string | null;
21952
+ set OverrideModelID(value: string | null);
21953
+ /**
21954
+ * * Field Name: OverrideVendorID
21955
+ * * Display Name: Override Vendor ID
21956
+ * * SQL Data Type: uniqueidentifier
21957
+ * * Related Entity/Foreign Key: MJ: AI Vendors (vwAIVendors.ID)
21958
+ * * Description: Runtime vendor override that was used for this execution. When set along with OverrideModelID, this vendor was used to provide the model.
21959
+ */
21960
+ get OverrideVendorID(): string | null;
21961
+ set OverrideVendorID(value: string | null);
21962
+ /**
21963
+ * * Field Name: Data
21964
+ * * Display Name: Data
21965
+ * * SQL Data Type: nvarchar(MAX)
21966
+ * * Description: JSON serialized data that was passed for template rendering and prompt execution. This data was passed to the agent's prompt as well as all sub-agents.
21967
+ */
21968
+ get Data(): string | null;
21969
+ set Data(value: string | null);
21970
+ /**
21971
+ * * Field Name: Verbose
21972
+ * * Display Name: Verbose
21973
+ * * SQL Data Type: bit
21974
+ * * Default Value: 0
21975
+ * * Description: Indicates whether verbose logging was enabled during this agent execution. When true, detailed decision-making and execution flow was logged.
21976
+ */
21977
+ get Verbose(): boolean | null;
21978
+ set Verbose(value: boolean | null);
21979
+ /**
21894
21980
  * * Field Name: Agent
21895
21981
  * * Display Name: Agent
21896
21982
  * * SQL Data Type: nvarchar(255)
@@ -21908,6 +21994,24 @@ each time the agent processes a prompt step.
21908
21994
  * * SQL Data Type: nvarchar(100)
21909
21995
  */
21910
21996
  get User(): string | null;
21997
+ /**
21998
+ * * Field Name: Configuration
21999
+ * * Display Name: Configuration
22000
+ * * SQL Data Type: nvarchar(100)
22001
+ */
22002
+ get Configuration(): string | null;
22003
+ /**
22004
+ * * Field Name: OverrideModel
22005
+ * * Display Name: Override Model
22006
+ * * SQL Data Type: nvarchar(50)
22007
+ */
22008
+ get OverrideModel(): string | null;
22009
+ /**
22010
+ * * Field Name: OverrideVendor
22011
+ * * Display Name: Override Vendor
22012
+ * * SQL Data Type: nvarchar(50)
22013
+ */
22014
+ get OverrideVendor(): string | null;
21911
22015
  }
21912
22016
  /**
21913
22017
  * MJ: AI Agent Step Paths - strongly typed entity sub-class
@@ -24132,6 +24236,47 @@ export declare class AIPromptRunEntity extends BaseEntity<AIPromptRunEntityType>
24132
24236
  get ErrorDetails(): string | null;
24133
24237
  set ErrorDetails(value: string | null);
24134
24238
  /**
24239
+ * * Field Name: ChildPromptID
24240
+ * * Display Name: Child Prompt ID
24241
+ * * SQL Data Type: uniqueidentifier
24242
+ * * Related Entity/Foreign Key: AI Prompts (vwAIPrompts.ID)
24243
+ * * Description: References the specific child prompt that was executed as part of hierarchical prompt composition. NULL for regular prompts or parent prompts that don't directly execute a child.
24244
+ */
24245
+ get ChildPromptID(): string | null;
24246
+ set ChildPromptID(value: string | null);
24247
+ /**
24248
+ * * Field Name: QueueTime
24249
+ * * Display Name: Queue Time
24250
+ * * SQL Data Type: int
24251
+ * * Description: Queue time in milliseconds before the model started processing the request. Provider-specific timing metric.
24252
+ */
24253
+ get QueueTime(): number | null;
24254
+ set QueueTime(value: number | null);
24255
+ /**
24256
+ * * Field Name: PromptTime
24257
+ * * Display Name: Prompt Time
24258
+ * * SQL Data Type: int
24259
+ * * Description: Time in milliseconds for the model to ingest and process the prompt. Provider-specific timing metric.
24260
+ */
24261
+ get PromptTime(): number | null;
24262
+ set PromptTime(value: number | null);
24263
+ /**
24264
+ * * Field Name: CompletionTime
24265
+ * * Display Name: Completion Time
24266
+ * * SQL Data Type: int
24267
+ * * Description: Time in milliseconds for the model to generate the completion/response tokens. Provider-specific timing metric.
24268
+ */
24269
+ get CompletionTime(): number | null;
24270
+ set CompletionTime(value: number | null);
24271
+ /**
24272
+ * * Field Name: ModelSpecificResponseDetails
24273
+ * * Display Name: Model Specific Response Details
24274
+ * * SQL Data Type: nvarchar(MAX)
24275
+ * * Description: JSON field containing provider-specific response metadata and details not captured in standard fields. Structure varies by AI provider.
24276
+ */
24277
+ get ModelSpecificResponseDetails(): string | null;
24278
+ set ModelSpecificResponseDetails(value: string | null);
24279
+ /**
24135
24280
  * * Field Name: Prompt
24136
24281
  * * Display Name: Prompt
24137
24282
  * * SQL Data Type: nvarchar(255)
@@ -24173,6 +24318,12 @@ export declare class AIPromptRunEntity extends BaseEntity<AIPromptRunEntityType>
24173
24318
  * * SQL Data Type: nvarchar(255)
24174
24319
  */
24175
24320
  get Judge(): string | null;
24321
+ /**
24322
+ * * Field Name: ChildPrompt
24323
+ * * Display Name: Child Prompt
24324
+ * * SQL Data Type: nvarchar(255)
24325
+ */
24326
+ get ChildPrompt(): string | null;
24176
24327
  }
24177
24328
  /**
24178
24329
  * MJ: AI Vendor Type Definitions - strongly typed entity sub-class