@memberjunction/core-entities 2.59.0 → 2.61.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/AIAgentRunExtended.d.ts +32 -0
- package/dist/custom/AIAgentRunExtended.d.ts.map +1 -0
- package/dist/custom/AIAgentRunExtended.js +136 -0
- package/dist/custom/AIAgentRunExtended.js.map +1 -0
- package/dist/custom/AIAgentRunStepExtended.d.ts +48 -0
- package/dist/custom/AIAgentRunStepExtended.d.ts.map +1 -0
- package/dist/custom/AIAgentRunStepExtended.js +149 -0
- package/dist/custom/AIAgentRunStepExtended.js.map +1 -0
- package/dist/generated/entity_subclasses.d.ts +183 -9
- package/dist/generated/entity_subclasses.d.ts.map +1 -1
- package/dist/generated/entity_subclasses.js +278 -4
- package/dist/generated/entity_subclasses.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -664,6 +664,8 @@ export declare const AIAgentSchema: z.ZodObject<{
|
|
|
664
664
|
DriverClass: z.ZodNullable<z.ZodString>;
|
|
665
665
|
IconClass: z.ZodNullable<z.ZodString>;
|
|
666
666
|
ModelSelectionMode: z.ZodUnion<[z.ZodLiteral<"Agent Type">, z.ZodLiteral<"Agent">]>;
|
|
667
|
+
PayloadDownstreamPaths: z.ZodString;
|
|
668
|
+
PayloadUpstreamPaths: z.ZodString;
|
|
667
669
|
Parent: z.ZodNullable<z.ZodString>;
|
|
668
670
|
ContextCompressionPrompt: z.ZodNullable<z.ZodString>;
|
|
669
671
|
Type: z.ZodNullable<z.ZodString>;
|
|
@@ -689,6 +691,8 @@ export declare const AIAgentSchema: z.ZodObject<{
|
|
|
689
691
|
ContextCompressionMessageRetentionCount?: number;
|
|
690
692
|
TypeID?: string;
|
|
691
693
|
ModelSelectionMode?: "Agent" | "Agent Type";
|
|
694
|
+
PayloadDownstreamPaths?: string;
|
|
695
|
+
PayloadUpstreamPaths?: string;
|
|
692
696
|
ContextCompressionPrompt?: string;
|
|
693
697
|
}, {
|
|
694
698
|
ID?: string;
|
|
@@ -712,6 +716,8 @@ export declare const AIAgentSchema: z.ZodObject<{
|
|
|
712
716
|
ContextCompressionMessageRetentionCount?: number;
|
|
713
717
|
TypeID?: string;
|
|
714
718
|
ModelSelectionMode?: "Agent" | "Agent Type";
|
|
719
|
+
PayloadDownstreamPaths?: string;
|
|
720
|
+
PayloadUpstreamPaths?: string;
|
|
715
721
|
ContextCompressionPrompt?: string;
|
|
716
722
|
}>;
|
|
717
723
|
export type AIAgentEntityType = z.infer<typeof AIAgentSchema>;
|
|
@@ -1621,6 +1627,7 @@ export declare const CompanyIntegrationRecordMapSchema: z.ZodObject<{
|
|
|
1621
1627
|
EntityRecordID: z.ZodString;
|
|
1622
1628
|
__mj_CreatedAt: z.ZodDate;
|
|
1623
1629
|
__mj_UpdatedAt: z.ZodDate;
|
|
1630
|
+
CompanyIntegration: z.ZodString;
|
|
1624
1631
|
Entity: z.ZodString;
|
|
1625
1632
|
}, "strip", z.ZodTypeAny, {
|
|
1626
1633
|
ID?: string;
|
|
@@ -1631,6 +1638,7 @@ export declare const CompanyIntegrationRecordMapSchema: z.ZodObject<{
|
|
|
1631
1638
|
CompanyIntegrationID?: string;
|
|
1632
1639
|
ExternalSystemRecordID?: string;
|
|
1633
1640
|
EntityRecordID?: string;
|
|
1641
|
+
CompanyIntegration?: string;
|
|
1634
1642
|
}, {
|
|
1635
1643
|
ID?: string;
|
|
1636
1644
|
__mj_CreatedAt?: Date;
|
|
@@ -1640,6 +1648,7 @@ export declare const CompanyIntegrationRecordMapSchema: z.ZodObject<{
|
|
|
1640
1648
|
CompanyIntegrationID?: string;
|
|
1641
1649
|
ExternalSystemRecordID?: string;
|
|
1642
1650
|
EntityRecordID?: string;
|
|
1651
|
+
CompanyIntegration?: string;
|
|
1643
1652
|
}>;
|
|
1644
1653
|
export type CompanyIntegrationRecordMapEntityType = z.infer<typeof CompanyIntegrationRecordMapSchema>;
|
|
1645
1654
|
/**
|
|
@@ -1793,6 +1802,7 @@ export declare const CompanyIntegrationSchema: z.ZodObject<{
|
|
|
1793
1802
|
CustomAttribute1: z.ZodNullable<z.ZodString>;
|
|
1794
1803
|
__mj_CreatedAt: z.ZodDate;
|
|
1795
1804
|
__mj_UpdatedAt: z.ZodDate;
|
|
1805
|
+
Name: z.ZodString;
|
|
1796
1806
|
Company: z.ZodString;
|
|
1797
1807
|
Integration: z.ZodString;
|
|
1798
1808
|
DriverClassName: z.ZodNullable<z.ZodString>;
|
|
@@ -1804,6 +1814,7 @@ export declare const CompanyIntegrationSchema: z.ZodObject<{
|
|
|
1804
1814
|
ID?: string;
|
|
1805
1815
|
__mj_CreatedAt?: Date;
|
|
1806
1816
|
__mj_UpdatedAt?: Date;
|
|
1817
|
+
Name?: string;
|
|
1807
1818
|
IsActive?: boolean;
|
|
1808
1819
|
DriverImportPath?: string;
|
|
1809
1820
|
Integration?: string;
|
|
@@ -1827,6 +1838,7 @@ export declare const CompanyIntegrationSchema: z.ZodObject<{
|
|
|
1827
1838
|
ID?: string;
|
|
1828
1839
|
__mj_CreatedAt?: Date;
|
|
1829
1840
|
__mj_UpdatedAt?: Date;
|
|
1841
|
+
Name?: string;
|
|
1830
1842
|
IsActive?: boolean;
|
|
1831
1843
|
DriverImportPath?: string;
|
|
1832
1844
|
Integration?: string;
|
|
@@ -2743,6 +2755,7 @@ export declare const EmployeeCompanyIntegrationSchema: z.ZodObject<{
|
|
|
2743
2755
|
IsActive: z.ZodBoolean;
|
|
2744
2756
|
__mj_CreatedAt: z.ZodDate;
|
|
2745
2757
|
__mj_UpdatedAt: z.ZodDate;
|
|
2758
|
+
CompanyIntegration: z.ZodString;
|
|
2746
2759
|
}, "strip", z.ZodTypeAny, {
|
|
2747
2760
|
ID?: string;
|
|
2748
2761
|
__mj_CreatedAt?: Date;
|
|
@@ -2750,6 +2763,7 @@ export declare const EmployeeCompanyIntegrationSchema: z.ZodObject<{
|
|
|
2750
2763
|
IsActive?: boolean;
|
|
2751
2764
|
CompanyIntegrationID?: string;
|
|
2752
2765
|
ExternalSystemRecordID?: string;
|
|
2766
|
+
CompanyIntegration?: string;
|
|
2753
2767
|
EmployeeID?: string;
|
|
2754
2768
|
}, {
|
|
2755
2769
|
ID?: string;
|
|
@@ -2758,6 +2772,7 @@ export declare const EmployeeCompanyIntegrationSchema: z.ZodObject<{
|
|
|
2758
2772
|
IsActive?: boolean;
|
|
2759
2773
|
CompanyIntegrationID?: string;
|
|
2760
2774
|
ExternalSystemRecordID?: string;
|
|
2775
|
+
CompanyIntegration?: string;
|
|
2761
2776
|
EmployeeID?: string;
|
|
2762
2777
|
}>;
|
|
2763
2778
|
export type EmployeeCompanyIntegrationEntityType = z.infer<typeof EmployeeCompanyIntegrationSchema>;
|
|
@@ -4526,6 +4541,7 @@ export declare const ListSchema: z.ZodObject<{
|
|
|
4526
4541
|
Entity: z.ZodString;
|
|
4527
4542
|
User: z.ZodString;
|
|
4528
4543
|
Category: z.ZodNullable<z.ZodString>;
|
|
4544
|
+
CompanyIntegration: z.ZodNullable<z.ZodString>;
|
|
4529
4545
|
}, "strip", z.ZodTypeAny, {
|
|
4530
4546
|
ID?: string;
|
|
4531
4547
|
__mj_CreatedAt?: Date;
|
|
@@ -4540,6 +4556,7 @@ export declare const ListSchema: z.ZodObject<{
|
|
|
4540
4556
|
Entity?: string;
|
|
4541
4557
|
CompanyIntegrationID?: string;
|
|
4542
4558
|
ExternalSystemRecordID?: string;
|
|
4559
|
+
CompanyIntegration?: string;
|
|
4543
4560
|
}, {
|
|
4544
4561
|
ID?: string;
|
|
4545
4562
|
__mj_CreatedAt?: Date;
|
|
@@ -4554,6 +4571,7 @@ export declare const ListSchema: z.ZodObject<{
|
|
|
4554
4571
|
Entity?: string;
|
|
4555
4572
|
CompanyIntegrationID?: string;
|
|
4556
4573
|
ExternalSystemRecordID?: string;
|
|
4574
|
+
CompanyIntegration?: string;
|
|
4557
4575
|
}>;
|
|
4558
4576
|
export type ListEntityType = z.infer<typeof ListSchema>;
|
|
4559
4577
|
/**
|
|
@@ -4613,7 +4631,7 @@ export declare const AIAgentRunStepSchema: z.ZodObject<{
|
|
|
4613
4631
|
ID: z.ZodString;
|
|
4614
4632
|
AgentRunID: z.ZodString;
|
|
4615
4633
|
StepNumber: z.ZodNumber;
|
|
4616
|
-
StepType: z.
|
|
4634
|
+
StepType: z.ZodUnion<[z.ZodLiteral<"Prompt">, z.ZodLiteral<"Actions">, z.ZodLiteral<"Sub-Agent">, z.ZodLiteral<"Decision">, z.ZodLiteral<"Chat">, z.ZodLiteral<"Validation">]>;
|
|
4617
4635
|
StepName: z.ZodString;
|
|
4618
4636
|
TargetID: z.ZodNullable<z.ZodString>;
|
|
4619
4637
|
Status: z.ZodUnion<[z.ZodLiteral<"Running">, z.ZodLiteral<"Completed">, z.ZodLiteral<"Failed">, z.ZodLiteral<"Cancelled">]>;
|
|
@@ -4626,6 +4644,8 @@ export declare const AIAgentRunStepSchema: z.ZodObject<{
|
|
|
4626
4644
|
__mj_CreatedAt: z.ZodDate;
|
|
4627
4645
|
__mj_UpdatedAt: z.ZodDate;
|
|
4628
4646
|
TargetLogID: z.ZodNullable<z.ZodString>;
|
|
4647
|
+
PayloadAtStart: z.ZodNullable<z.ZodString>;
|
|
4648
|
+
PayloadAtEnd: z.ZodNullable<z.ZodString>;
|
|
4629
4649
|
}, "strip", z.ZodTypeAny, {
|
|
4630
4650
|
ID?: string;
|
|
4631
4651
|
__mj_CreatedAt?: Date;
|
|
@@ -4636,13 +4656,15 @@ export declare const AIAgentRunStepSchema: z.ZodObject<{
|
|
|
4636
4656
|
ErrorMessage?: string;
|
|
4637
4657
|
AgentRunID?: string;
|
|
4638
4658
|
StepNumber?: number;
|
|
4639
|
-
StepType?:
|
|
4659
|
+
StepType?: "Prompt" | "Actions" | "Sub-Agent" | "Decision" | "Chat" | "Validation";
|
|
4640
4660
|
StepName?: string;
|
|
4641
4661
|
TargetID?: string;
|
|
4642
4662
|
CompletedAt?: Date;
|
|
4643
4663
|
InputData?: string;
|
|
4644
4664
|
OutputData?: string;
|
|
4645
4665
|
TargetLogID?: string;
|
|
4666
|
+
PayloadAtStart?: string;
|
|
4667
|
+
PayloadAtEnd?: string;
|
|
4646
4668
|
}, {
|
|
4647
4669
|
ID?: string;
|
|
4648
4670
|
__mj_CreatedAt?: Date;
|
|
@@ -4653,13 +4675,15 @@ export declare const AIAgentRunStepSchema: z.ZodObject<{
|
|
|
4653
4675
|
ErrorMessage?: string;
|
|
4654
4676
|
AgentRunID?: string;
|
|
4655
4677
|
StepNumber?: number;
|
|
4656
|
-
StepType?:
|
|
4678
|
+
StepType?: "Prompt" | "Actions" | "Sub-Agent" | "Decision" | "Chat" | "Validation";
|
|
4657
4679
|
StepName?: string;
|
|
4658
4680
|
TargetID?: string;
|
|
4659
4681
|
CompletedAt?: Date;
|
|
4660
4682
|
InputData?: string;
|
|
4661
4683
|
OutputData?: string;
|
|
4662
4684
|
TargetLogID?: string;
|
|
4685
|
+
PayloadAtStart?: string;
|
|
4686
|
+
PayloadAtEnd?: string;
|
|
4663
4687
|
}>;
|
|
4664
4688
|
export type AIAgentRunStepEntityType = z.infer<typeof AIAgentRunStepSchema>;
|
|
4665
4689
|
/**
|
|
@@ -4688,6 +4712,12 @@ export declare const AIAgentRunSchema: z.ZodObject<{
|
|
|
4688
4712
|
TotalPromptTokensUsedRollup: z.ZodNullable<z.ZodNumber>;
|
|
4689
4713
|
TotalCompletionTokensUsedRollup: z.ZodNullable<z.ZodNumber>;
|
|
4690
4714
|
TotalCostRollup: z.ZodNullable<z.ZodNumber>;
|
|
4715
|
+
ConversationDetailID: z.ZodNullable<z.ZodString>;
|
|
4716
|
+
ConversationDetailSequence: z.ZodNullable<z.ZodNumber>;
|
|
4717
|
+
CancellationReason: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"User Request">, z.ZodLiteral<"Timeout">, z.ZodLiteral<"System">]>>;
|
|
4718
|
+
FinalStep: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"Success">, z.ZodLiteral<"Failed">, z.ZodLiteral<"Retry">, z.ZodLiteral<"Sub-Agent">, z.ZodLiteral<"Actions">, z.ZodLiteral<"Chat">]>>;
|
|
4719
|
+
FinalPayload: z.ZodNullable<z.ZodString>;
|
|
4720
|
+
Message: z.ZodNullable<z.ZodString>;
|
|
4691
4721
|
Agent: z.ZodNullable<z.ZodString>;
|
|
4692
4722
|
Conversation: z.ZodNullable<z.ZodString>;
|
|
4693
4723
|
User: z.ZodNullable<z.ZodString>;
|
|
@@ -4698,6 +4728,7 @@ export declare const AIAgentRunSchema: z.ZodObject<{
|
|
|
4698
4728
|
Status?: "Failed" | "Running" | "Completed" | "Cancelled" | "Paused";
|
|
4699
4729
|
StartedAt?: Date;
|
|
4700
4730
|
UserID?: string;
|
|
4731
|
+
Message?: string;
|
|
4701
4732
|
User?: string;
|
|
4702
4733
|
AgentID?: string;
|
|
4703
4734
|
Agent?: string;
|
|
@@ -4717,6 +4748,11 @@ export declare const AIAgentRunSchema: z.ZodObject<{
|
|
|
4717
4748
|
TotalPromptTokensUsedRollup?: number;
|
|
4718
4749
|
TotalCompletionTokensUsedRollup?: number;
|
|
4719
4750
|
TotalCostRollup?: number;
|
|
4751
|
+
ConversationDetailID?: string;
|
|
4752
|
+
ConversationDetailSequence?: number;
|
|
4753
|
+
CancellationReason?: "System" | "User Request" | "Timeout";
|
|
4754
|
+
FinalStep?: "Failed" | "Success" | "Actions" | "Sub-Agent" | "Chat" | "Retry";
|
|
4755
|
+
FinalPayload?: string;
|
|
4720
4756
|
}, {
|
|
4721
4757
|
ID?: string;
|
|
4722
4758
|
__mj_CreatedAt?: Date;
|
|
@@ -4724,6 +4760,7 @@ export declare const AIAgentRunSchema: z.ZodObject<{
|
|
|
4724
4760
|
Status?: "Failed" | "Running" | "Completed" | "Cancelled" | "Paused";
|
|
4725
4761
|
StartedAt?: Date;
|
|
4726
4762
|
UserID?: string;
|
|
4763
|
+
Message?: string;
|
|
4727
4764
|
User?: string;
|
|
4728
4765
|
AgentID?: string;
|
|
4729
4766
|
Agent?: string;
|
|
@@ -4743,6 +4780,11 @@ export declare const AIAgentRunSchema: z.ZodObject<{
|
|
|
4743
4780
|
TotalPromptTokensUsedRollup?: number;
|
|
4744
4781
|
TotalCompletionTokensUsedRollup?: number;
|
|
4745
4782
|
TotalCostRollup?: number;
|
|
4783
|
+
ConversationDetailID?: string;
|
|
4784
|
+
ConversationDetailSequence?: number;
|
|
4785
|
+
CancellationReason?: "System" | "User Request" | "Timeout";
|
|
4786
|
+
FinalStep?: "Failed" | "Success" | "Actions" | "Sub-Agent" | "Chat" | "Retry";
|
|
4787
|
+
FinalPayload?: string;
|
|
4746
4788
|
}>;
|
|
4747
4789
|
export type AIAgentRunEntityType = z.infer<typeof AIAgentRunSchema>;
|
|
4748
4790
|
/**
|
|
@@ -6491,8 +6533,8 @@ export declare const ReportSchema: z.ZodObject<{
|
|
|
6491
6533
|
DataContextID?: string;
|
|
6492
6534
|
DataContext?: string;
|
|
6493
6535
|
Thumbnail?: string;
|
|
6494
|
-
SharingScope?: "Specific" | "None" | "Everyone";
|
|
6495
6536
|
ConversationDetailID?: string;
|
|
6537
|
+
SharingScope?: "Specific" | "None" | "Everyone";
|
|
6496
6538
|
OutputTriggerTypeID?: string;
|
|
6497
6539
|
OutputFormatTypeID?: string;
|
|
6498
6540
|
OutputDeliveryTypeID?: string;
|
|
@@ -6519,8 +6561,8 @@ export declare const ReportSchema: z.ZodObject<{
|
|
|
6519
6561
|
DataContextID?: string;
|
|
6520
6562
|
DataContext?: string;
|
|
6521
6563
|
Thumbnail?: string;
|
|
6522
|
-
SharingScope?: "Specific" | "None" | "Everyone";
|
|
6523
6564
|
ConversationDetailID?: string;
|
|
6565
|
+
SharingScope?: "Specific" | "None" | "Everyone";
|
|
6524
6566
|
OutputTriggerTypeID?: string;
|
|
6525
6567
|
OutputFormatTypeID?: string;
|
|
6526
6568
|
OutputDeliveryTypeID?: string;
|
|
@@ -9883,6 +9925,24 @@ export declare class AIAgentEntity extends BaseEntity<AIAgentEntityType> {
|
|
|
9883
9925
|
get ModelSelectionMode(): 'Agent Type' | 'Agent';
|
|
9884
9926
|
set ModelSelectionMode(value: 'Agent Type' | 'Agent');
|
|
9885
9927
|
/**
|
|
9928
|
+
* * Field Name: PayloadDownstreamPaths
|
|
9929
|
+
* * Display Name: Payload Downstream Paths
|
|
9930
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
9931
|
+
* * Default Value: ["*"]
|
|
9932
|
+
* * Description: JSON array of paths that define which parts of the payload should be sent downstream to sub-agents. Use ["*"] to send entire payload, or specify paths like ["customer.id", "campaign.*", "analysis.sentiment"]
|
|
9933
|
+
*/
|
|
9934
|
+
get PayloadDownstreamPaths(): string;
|
|
9935
|
+
set PayloadDownstreamPaths(value: string);
|
|
9936
|
+
/**
|
|
9937
|
+
* * Field Name: PayloadUpstreamPaths
|
|
9938
|
+
* * Display Name: Payload Upstream Paths
|
|
9939
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
9940
|
+
* * Default Value: ["*"]
|
|
9941
|
+
* * Description: JSON array of paths that define which parts of the payload sub-agents are allowed to write back upstream. Use ["*"] to allow all writes, or specify paths like ["analysis.results", "recommendations.*"]
|
|
9942
|
+
*/
|
|
9943
|
+
get PayloadUpstreamPaths(): string;
|
|
9944
|
+
set PayloadUpstreamPaths(value: string);
|
|
9945
|
+
/**
|
|
9886
9946
|
* * Field Name: Parent
|
|
9887
9947
|
* * Display Name: Parent
|
|
9888
9948
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -12519,6 +12579,12 @@ export declare class CompanyIntegrationRecordMapEntity extends BaseEntity<Compan
|
|
|
12519
12579
|
*/
|
|
12520
12580
|
get __mj_UpdatedAt(): Date;
|
|
12521
12581
|
/**
|
|
12582
|
+
* * Field Name: CompanyIntegration
|
|
12583
|
+
* * Display Name: Company Integration
|
|
12584
|
+
* * SQL Data Type: nvarchar(255)
|
|
12585
|
+
*/
|
|
12586
|
+
get CompanyIntegration(): string;
|
|
12587
|
+
/**
|
|
12522
12588
|
* * Field Name: Entity
|
|
12523
12589
|
* * Display Name: Entity
|
|
12524
12590
|
* * SQL Data Type: nvarchar(255)
|
|
@@ -12998,6 +13064,14 @@ export declare class CompanyIntegrationEntity extends BaseEntity<CompanyIntegrat
|
|
|
12998
13064
|
*/
|
|
12999
13065
|
get __mj_UpdatedAt(): Date;
|
|
13000
13066
|
/**
|
|
13067
|
+
* * Field Name: Name
|
|
13068
|
+
* * Display Name: Name
|
|
13069
|
+
* * SQL Data Type: nvarchar(255)
|
|
13070
|
+
* * Description: User-friendly name for the company integration instance, typically in the format "Company: Integration".
|
|
13071
|
+
*/
|
|
13072
|
+
get Name(): string;
|
|
13073
|
+
set Name(value: string);
|
|
13074
|
+
/**
|
|
13001
13075
|
* * Field Name: Company
|
|
13002
13076
|
* * SQL Data Type: nvarchar(50)
|
|
13003
13077
|
*/
|
|
@@ -15447,6 +15521,12 @@ export declare class EmployeeCompanyIntegrationEntity extends BaseEntity<Employe
|
|
|
15447
15521
|
* * Default Value: getutcdate()
|
|
15448
15522
|
*/
|
|
15449
15523
|
get __mj_UpdatedAt(): Date;
|
|
15524
|
+
/**
|
|
15525
|
+
* * Field Name: CompanyIntegration
|
|
15526
|
+
* * Display Name: Company Integration
|
|
15527
|
+
* * SQL Data Type: nvarchar(255)
|
|
15528
|
+
*/
|
|
15529
|
+
get CompanyIntegration(): string;
|
|
15450
15530
|
}
|
|
15451
15531
|
/**
|
|
15452
15532
|
* Employee Roles - strongly typed entity sub-class
|
|
@@ -20240,6 +20320,12 @@ export declare class ListEntity extends BaseEntity<ListEntityType> {
|
|
|
20240
20320
|
* * SQL Data Type: nvarchar(100)
|
|
20241
20321
|
*/
|
|
20242
20322
|
get Category(): string | null;
|
|
20323
|
+
/**
|
|
20324
|
+
* * Field Name: CompanyIntegration
|
|
20325
|
+
* * Display Name: Company Integration
|
|
20326
|
+
* * SQL Data Type: nvarchar(255)
|
|
20327
|
+
*/
|
|
20328
|
+
get CompanyIntegration(): string | null;
|
|
20243
20329
|
}
|
|
20244
20330
|
/**
|
|
20245
20331
|
* MJ: AI Agent Prompts - strongly typed entity sub-class
|
|
@@ -20472,10 +20558,19 @@ export declare class AIAgentRunStepEntity extends BaseEntity<AIAgentRunStepEntit
|
|
|
20472
20558
|
* * Field Name: StepType
|
|
20473
20559
|
* * Display Name: Step Type
|
|
20474
20560
|
* * SQL Data Type: nvarchar(50)
|
|
20475
|
-
* *
|
|
20561
|
+
* * Default Value: Prompt
|
|
20562
|
+
* * Value List Type: List
|
|
20563
|
+
* * Possible Values
|
|
20564
|
+
* * Prompt
|
|
20565
|
+
* * Actions
|
|
20566
|
+
* * Sub-Agent
|
|
20567
|
+
* * Decision
|
|
20568
|
+
* * Chat
|
|
20569
|
+
* * Validation
|
|
20570
|
+
* * Description: Type of execution step: Prompt, Actions, Sub-Agent, Decision, Chat, Validation
|
|
20476
20571
|
*/
|
|
20477
|
-
get StepType():
|
|
20478
|
-
set StepType(value:
|
|
20572
|
+
get StepType(): 'Prompt' | 'Actions' | 'Sub-Agent' | 'Decision' | 'Chat' | 'Validation';
|
|
20573
|
+
set StepType(value: 'Prompt' | 'Actions' | 'Sub-Agent' | 'Decision' | 'Chat' | 'Validation');
|
|
20479
20574
|
/**
|
|
20480
20575
|
* * Field Name: StepName
|
|
20481
20576
|
* * Display Name: Step Name
|
|
@@ -20578,6 +20673,22 @@ export declare class AIAgentRunStepEntity extends BaseEntity<AIAgentRunStepEntit
|
|
|
20578
20673
|
*/
|
|
20579
20674
|
get TargetLogID(): string | null;
|
|
20580
20675
|
set TargetLogID(value: string | null);
|
|
20676
|
+
/**
|
|
20677
|
+
* * Field Name: PayloadAtStart
|
|
20678
|
+
* * Display Name: Payload At Start
|
|
20679
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
20680
|
+
* * Description: JSON serialization of the Payload state at the start of this step
|
|
20681
|
+
*/
|
|
20682
|
+
get PayloadAtStart(): string | null;
|
|
20683
|
+
set PayloadAtStart(value: string | null);
|
|
20684
|
+
/**
|
|
20685
|
+
* * Field Name: PayloadAtEnd
|
|
20686
|
+
* * Display Name: Payload At End
|
|
20687
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
20688
|
+
* * Description: JSON serialization of the Payload state at the end of this step
|
|
20689
|
+
*/
|
|
20690
|
+
get PayloadAtEnd(): string | null;
|
|
20691
|
+
set PayloadAtEnd(value: string | null);
|
|
20581
20692
|
}
|
|
20582
20693
|
/**
|
|
20583
20694
|
* MJ: AI Agent Runs - strongly typed entity sub-class
|
|
@@ -20707,7 +20818,8 @@ export declare class AIAgentRunEntity extends BaseEntity<AIAgentRunEntityType> {
|
|
|
20707
20818
|
/**
|
|
20708
20819
|
* * Field Name: AgentState
|
|
20709
20820
|
* * Display Name: Agent State
|
|
20710
|
-
* *
|
|
20821
|
+
* *
|
|
20822
|
+
* * @deprecated This field is deprecated and will be removed in a future version. Using it will result in console warnings.SQL Data Type: nvarchar(MAX)
|
|
20711
20823
|
* * Description: JSON serialization of the complete agent state, including conversation context, variables, and execution state. Enables pause/resume functionality.
|
|
20712
20824
|
*/
|
|
20713
20825
|
get AgentState(): string | null;
|
|
@@ -20793,6 +20905,68 @@ export declare class AIAgentRunEntity extends BaseEntity<AIAgentRunEntityType> {
|
|
|
20793
20905
|
get TotalCostRollup(): number | null;
|
|
20794
20906
|
set TotalCostRollup(value: number | null);
|
|
20795
20907
|
/**
|
|
20908
|
+
* * Field Name: ConversationDetailID
|
|
20909
|
+
* * Display Name: Conversation Detail ID
|
|
20910
|
+
* * SQL Data Type: uniqueidentifier
|
|
20911
|
+
* * Related Entity/Foreign Key: Conversation Details (vwConversationDetails.ID)
|
|
20912
|
+
* * Description: Optional tracking of a specific conversation detail (e.g. a specific message) that spawned this agent run
|
|
20913
|
+
*/
|
|
20914
|
+
get ConversationDetailID(): string | null;
|
|
20915
|
+
set ConversationDetailID(value: string | null);
|
|
20916
|
+
/**
|
|
20917
|
+
* * Field Name: ConversationDetailSequence
|
|
20918
|
+
* * Display Name: Conversation Detail Sequence
|
|
20919
|
+
* * SQL Data Type: int
|
|
20920
|
+
* * Description: If a conversation detail spawned multiple agent runs, tracks the order of their spawn/execution
|
|
20921
|
+
*/
|
|
20922
|
+
get ConversationDetailSequence(): number | null;
|
|
20923
|
+
set ConversationDetailSequence(value: number | null);
|
|
20924
|
+
/**
|
|
20925
|
+
* * Field Name: CancellationReason
|
|
20926
|
+
* * Display Name: Cancellation Reason
|
|
20927
|
+
* * SQL Data Type: nvarchar(30)
|
|
20928
|
+
* * Value List Type: List
|
|
20929
|
+
* * Possible Values
|
|
20930
|
+
* * User Request
|
|
20931
|
+
* * Timeout
|
|
20932
|
+
* * System
|
|
20933
|
+
* * Description: Reason for cancellation if the agent run was cancelled
|
|
20934
|
+
*/
|
|
20935
|
+
get CancellationReason(): 'User Request' | 'Timeout' | 'System' | null;
|
|
20936
|
+
set CancellationReason(value: 'User Request' | 'Timeout' | 'System' | null);
|
|
20937
|
+
/**
|
|
20938
|
+
* * Field Name: FinalStep
|
|
20939
|
+
* * Display Name: Final Step
|
|
20940
|
+
* * SQL Data Type: nvarchar(30)
|
|
20941
|
+
* * Value List Type: List
|
|
20942
|
+
* * Possible Values
|
|
20943
|
+
* * Success
|
|
20944
|
+
* * Failed
|
|
20945
|
+
* * Retry
|
|
20946
|
+
* * Sub-Agent
|
|
20947
|
+
* * Actions
|
|
20948
|
+
* * Chat
|
|
20949
|
+
* * Description: The final step type that concluded the agent run
|
|
20950
|
+
*/
|
|
20951
|
+
get FinalStep(): 'Success' | 'Failed' | 'Retry' | 'Sub-Agent' | 'Actions' | 'Chat' | null;
|
|
20952
|
+
set FinalStep(value: 'Success' | 'Failed' | 'Retry' | 'Sub-Agent' | 'Actions' | 'Chat' | null);
|
|
20953
|
+
/**
|
|
20954
|
+
* * Field Name: FinalPayload
|
|
20955
|
+
* * Display Name: Final Payload
|
|
20956
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
20957
|
+
* * Description: JSON serialization of the final Payload state at the end of the agent run
|
|
20958
|
+
*/
|
|
20959
|
+
get FinalPayload(): string | null;
|
|
20960
|
+
set FinalPayload(value: string | null);
|
|
20961
|
+
/**
|
|
20962
|
+
* * Field Name: Message
|
|
20963
|
+
* * Display Name: Message
|
|
20964
|
+
* * SQL Data Type: nvarchar(MAX)
|
|
20965
|
+
* * Description: Final message from the agent to the end user at the end of a run
|
|
20966
|
+
*/
|
|
20967
|
+
get Message(): string | null;
|
|
20968
|
+
set Message(value: string | null);
|
|
20969
|
+
/**
|
|
20796
20970
|
* * Field Name: Agent
|
|
20797
20971
|
* * Display Name: Agent
|
|
20798
20972
|
* * SQL Data Type: nvarchar(255)
|