mavenagi 1.2.63 → 1.2.65
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/BaseClient.js +2 -2
- package/api/resources/actions/client/Client.js +3 -3
- package/api/resources/agents/client/Client.js +5 -5
- package/api/resources/agents/client/requests/AgentPatchRequest.d.ts +23 -3
- package/api/resources/agents/types/Agent.d.ts +9 -1
- package/api/resources/agents/types/AgentPrompting.d.ts +14 -2
- package/api/resources/appDirectory/client/Client.js +5 -5
- package/api/resources/assets/client/Client.js +1 -1
- package/api/resources/capabilities/client/Client.d.ts +68 -0
- package/api/resources/capabilities/client/Client.js +243 -3
- package/api/resources/capabilities/client/requests/CapabilitiesSearchRequest.d.ts +4 -1
- package/api/resources/capabilities/client/requests/CapabilityExecutionsSearchRequest.d.ts +36 -0
- package/api/resources/capabilities/client/requests/CapabilityExecutionsSearchRequest.js +3 -0
- package/api/resources/capabilities/client/requests/GetCapabilityByTypeRequest.d.ts +4 -1
- package/api/resources/capabilities/client/requests/SimulateCapabilityByTypeRequest.d.ts +14 -0
- package/api/resources/capabilities/client/requests/SimulateCapabilityByTypeRequest.js +3 -0
- package/api/resources/capabilities/client/requests/index.d.ts +2 -0
- package/api/resources/capabilities/types/ActionSimulationInput.d.ts +5 -0
- package/api/resources/capabilities/types/ActionSimulationInput.js +3 -0
- package/api/resources/capabilities/types/CapabilityExecution.d.ts +14 -0
- package/api/resources/capabilities/types/CapabilityExecution.js +3 -0
- package/api/resources/capabilities/types/CapabilityExecutionBase.d.ts +32 -0
- package/api/resources/capabilities/types/CapabilityExecutionBase.js +3 -0
- package/api/resources/capabilities/types/CapabilityExecutionCompletionReason.d.ts +36 -0
- package/api/resources/capabilities/types/CapabilityExecutionCompletionReason.js +39 -0
- package/api/resources/capabilities/types/CapabilityExecutionRetryability.d.ts +17 -0
- package/api/resources/capabilities/types/CapabilityExecutionRetryability.js +20 -0
- package/api/resources/capabilities/types/CapabilityExecutionStatus.d.ts +10 -0
- package/api/resources/capabilities/types/CapabilityExecutionStatus.js +13 -0
- package/api/resources/capabilities/types/CapabilityExecutionsSearchResponse.d.ts +62 -0
- package/api/resources/capabilities/types/CapabilityExecutionsSearchResponse.js +3 -0
- package/api/resources/capabilities/types/CapabilitySimulationInput.d.ts +11 -0
- package/api/resources/capabilities/types/CapabilitySimulationInput.js +3 -0
- package/api/resources/capabilities/types/CapabilitySimulationResult.d.ts +10 -0
- package/api/resources/capabilities/types/CapabilitySimulationResult.js +3 -0
- package/api/resources/capabilities/types/ConversationContextSimulationInput.d.ts +14 -0
- package/api/resources/capabilities/types/ConversationContextSimulationInput.js +3 -0
- package/api/resources/capabilities/types/ConversationKickoffCapabilityExecution.d.ts +7 -0
- package/api/resources/capabilities/types/ConversationKickoffCapabilityExecution.js +3 -0
- package/api/resources/capabilities/types/SimulatedUser.d.ts +9 -0
- package/api/resources/capabilities/types/SimulatedUser.js +3 -0
- package/api/resources/capabilities/types/SimulatedUserData.d.ts +6 -0
- package/api/resources/capabilities/types/SimulatedUserData.js +3 -0
- package/api/resources/capabilities/types/TriggerCapabilityExecution.d.ts +19 -0
- package/api/resources/capabilities/types/TriggerCapabilityExecution.js +3 -0
- package/api/resources/capabilities/types/index.d.ts +14 -0
- package/api/resources/capabilities/types/index.js +14 -0
- package/api/resources/charters/client/Client.js +7 -5
- package/api/resources/charters/client/requests/CharterDeleteRequest.d.ts +6 -6
- package/api/resources/charters/client/requests/CharterGetAncestorsRequest.d.ts +12 -0
- package/api/resources/charters/client/requests/CharterGetRequest.d.ts +9 -1
- package/api/resources/charters/client/requests/CharterPatchRequest.d.ts +5 -6
- package/api/resources/charters/types/CharterBase.d.ts +9 -4
- package/api/resources/charters/types/CharterChildrenExclusionPolicy.d.ts +2 -0
- package/api/resources/charters/types/CharterChildrenExclusionPolicy.js +2 -0
- package/api/resources/charters/types/CharterContent.d.ts +2 -0
- package/api/resources/charters/types/CharterListChildrenRequest.d.ts +10 -0
- package/api/resources/charters/types/CharterPatchReferences.d.ts +2 -0
- package/api/resources/charters/types/CharterReferences.d.ts +2 -0
- package/api/resources/charters/types/CharterResponse.d.ts +5 -1
- package/api/resources/charters/types/CharterSearchFilter.d.ts +9 -1
- package/api/resources/charters/types/CharterStatus.d.ts +4 -0
- package/api/resources/charters/types/CharterStatus.js +4 -0
- package/api/resources/charters/types/CharterSummary.d.ts +5 -1
- package/api/resources/charters/types/index.d.ts +0 -1
- package/api/resources/charters/types/index.js +0 -1
- package/api/resources/commons/types/ActionExecutionStatus.d.ts +6 -0
- package/api/resources/commons/types/ActionExecutionStatus.js +9 -0
- package/api/resources/commons/types/ActionProperties.d.ts +1 -1
- package/api/resources/commons/types/AdditionalDataKey.d.ts +3 -0
- package/api/resources/commons/types/AdditionalDataKey.js +3 -0
- package/api/resources/commons/types/AppUserRequest.d.ts +11 -0
- package/api/resources/commons/types/BotLogicCharterDetail.d.ts +3 -1
- package/api/resources/commons/types/BotLogicSegmentsItem.d.ts +3 -0
- package/api/resources/commons/types/BotMessage.d.ts +5 -0
- package/api/resources/commons/types/BotMessageStatusReason.d.ts +13 -0
- package/api/resources/commons/types/BotMessageStatusReason.js +16 -0
- package/api/resources/commons/types/Capability.d.ts +4 -0
- package/api/resources/commons/types/Capability.js +4 -0
- package/api/resources/commons/types/CapabilityStatus.d.ts +2 -2
- package/api/resources/commons/types/CapabilityStatus.js +2 -2
- package/api/resources/commons/types/ConversationAnalysis.d.ts +2 -2
- package/api/resources/commons/types/ConversationMetadataValueSource.d.ts +7 -0
- package/api/resources/commons/types/ConversationMetadataValueSource.js +3 -0
- package/api/resources/commons/types/ConversationSummary.d.ts +5 -3
- package/api/resources/commons/types/ConversationValueSource.d.ts +10 -0
- package/api/resources/commons/types/ConversationValueSource.js +3 -0
- package/api/resources/commons/types/EntityType.d.ts +5 -0
- package/api/resources/commons/types/EntityType.js +5 -0
- package/api/resources/commons/types/ErrorReason.d.ts +6 -0
- package/api/resources/commons/types/ErrorReason.js +6 -0
- package/api/resources/commons/types/EventFilter.d.ts +1 -0
- package/api/resources/commons/types/ExecuteActionResponse.d.ts +14 -0
- package/api/resources/commons/types/ExecuteActionResponse.js +3 -0
- package/api/resources/commons/types/ExecutionMode.d.ts +10 -0
- package/api/resources/commons/types/ExecutionMode.js +13 -0
- package/api/resources/commons/types/FunctionVersionBinding.d.ts +11 -0
- package/api/resources/commons/types/FunctionVersionBinding.js +3 -0
- package/api/resources/commons/types/InboxItemDuplicateDocuments.d.ts +1 -1
- package/api/resources/commons/types/InboxItemStatus.d.ts +1 -1
- package/api/resources/commons/types/InboxItemStatus.js +1 -1
- package/api/resources/commons/types/LlmInclusionStatus.d.ts +3 -0
- package/api/resources/commons/types/LlmInclusionStatus.js +3 -0
- package/api/resources/commons/types/MetadataConversationValueFilter.d.ts +15 -0
- package/api/resources/commons/types/MetadataConversationValueFilter.js +3 -0
- package/api/resources/commons/types/MetadataFilter.d.ts +33 -6
- package/api/resources/commons/types/Quality.d.ts +2 -0
- package/api/resources/commons/types/Quality.js +2 -0
- package/api/resources/commons/types/QualityReason.d.ts +4 -0
- package/api/resources/commons/types/QualityReason.js +4 -0
- package/api/resources/commons/types/RelationshipType.d.ts +2 -2
- package/api/resources/commons/types/RelationshipType.js +2 -2
- package/api/resources/commons/types/ResolutionStatus.d.ts +2 -0
- package/api/resources/commons/types/ResolutionStatus.js +2 -0
- package/api/resources/commons/types/ResponseConfig.d.ts +2 -0
- package/api/resources/commons/types/SimulationActionBehavior.d.ts +18 -0
- package/api/resources/commons/types/SimulationActionBehavior.js +3 -0
- package/api/resources/commons/types/SimulationActionCallApp.d.ts +1 -0
- package/api/resources/commons/types/SimulationActionCallApp.js +3 -0
- package/api/resources/commons/types/SimulationActionMock.d.ts +6 -0
- package/api/resources/commons/types/SimulationActionMock.js +3 -0
- package/api/resources/commons/types/SimulationContext.d.ts +19 -0
- package/api/resources/commons/types/SystemEventName.d.ts +5 -2
- package/api/resources/commons/types/SystemEventName.js +5 -2
- package/api/resources/commons/types/UserEvent.d.ts +1 -1
- package/api/resources/commons/types/UserEventName.d.ts +1 -1
- package/api/resources/commons/types/UserEventName.js +1 -1
- package/api/resources/commons/types/index.d.ts +12 -0
- package/api/resources/commons/types/index.js +12 -0
- package/api/resources/conversation/client/Client.d.ts +17 -9
- package/api/resources/conversation/client/Client.js +27 -19
- package/api/resources/conversation/client/requests/ConversationDeleteRequest.d.ts +1 -1
- package/api/resources/conversation/types/BillableFilterField.d.ts +3 -3
- package/api/resources/conversation/types/BillableFilterField.js +3 -3
- package/api/resources/conversation/types/ConversationField.d.ts +8 -0
- package/api/resources/conversation/types/ConversationField.js +8 -0
- package/api/resources/conversation/types/ConversationFilter.d.ts +7 -1
- package/api/resources/conversation/types/ConversationPatchRequest.d.ts +1 -1
- package/api/resources/customers/client/Client.js +2 -2
- package/api/resources/customers/types/CustomerFilter.d.ts +16 -1
- package/api/resources/customers/types/CustomerResponse.d.ts +2 -2
- package/api/resources/events/client/Client.js +1 -1
- package/api/resources/inbox/client/Client.js +6 -6
- package/api/resources/integrations/client/Client.js +1 -1
- package/api/resources/intelligentFields/client/Client.d.ts +4 -3
- package/api/resources/intelligentFields/client/Client.js +7 -6
- package/api/resources/intelligentFields/client/requests/IntelligentFieldGetRequest.d.ts +9 -1
- package/api/resources/intelligentFields/types/EnumOption.d.ts +1 -1
- package/api/resources/intelligentFields/types/IntelligentFieldBase.d.ts +1 -1
- package/api/resources/intelligentFields/types/IntelligentFieldCore.d.ts +5 -1
- package/api/resources/intelligentFields/types/IntelligentFieldType.d.ts +1 -1
- package/api/resources/intelligentFields/types/IntelligentFieldType.js +1 -1
- package/api/resources/intelligentFields/types/IntelligentFieldValueSearchRequest.d.ts +5 -4
- package/api/resources/knowledge/client/Client.js +13 -13
- package/api/resources/knowledge/types/KnowledgeBaseIndexingStatus.d.ts +1 -1
- package/api/resources/knowledge/types/KnowledgeBaseIndexingStatus.js +1 -1
- package/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +3 -1
- package/api/resources/knowledge/types/KnowledgeBaseType.d.ts +2 -0
- package/api/resources/knowledge/types/KnowledgeBaseType.js +2 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersion.d.ts +2 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersionStatus.d.ts +4 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersionStatus.js +4 -0
- package/api/resources/organizations/client/Client.js +4 -4
- package/api/resources/segments/client/Client.d.ts +1 -1
- package/api/resources/segments/client/Client.js +4 -4
- package/api/resources/segments/types/SegmentStatus.d.ts +4 -0
- package/api/resources/segments/types/SegmentStatus.js +4 -0
- package/api/resources/triggers/client/Client.js +3 -3
- package/api/resources/triggers/types/EventTriggerBase.d.ts +2 -0
- package/api/resources/users/client/Client.d.ts +42 -1
- package/api/resources/users/client/Client.js +116 -4
- package/api/resources/users/types/AgentUser.d.ts +3 -0
- package/api/resources/users/types/AgentUserFilter.d.ts +4 -0
- package/api/resources/voiceConversations/client/Client.d.ts +1 -1
- package/api/resources/voiceConversations/client/Socket.d.ts +2 -2
- package/api/resources/voiceConversations/client/Socket.js +16 -17
- package/core/fetcher/Fetcher.js +33 -3
- package/core/fetcher/getErrorResponseBody.js +20 -7
- package/core/fetcher/getResponseBody.d.ts +16 -0
- package/core/fetcher/getResponseBody.js +27 -22
- package/core/fetcher/makePassthroughRequest.js +20 -4
- package/core/fetcher/makeRequest.d.ts +6 -1
- package/core/fetcher/makeRequest.js +38 -5
- package/core/fetcher/requestWithRetries.d.ts +1 -1
- package/core/fetcher/requestWithRetries.js +23 -2
- package/core/fetcher/signals.d.ts +1 -0
- package/core/fetcher/signals.js +3 -2
- package/core/stream/Stream.d.ts +3 -0
- package/core/stream/Stream.js +5 -0
- package/core/url/encodePathParam.d.ts +3 -1
- package/core/url/encodePathParam.js +8 -2
- package/core/websocket/ws.d.ts +16 -2
- package/core/websocket/ws.js +110 -20
- package/errors/MavenAGIError.js +16 -2
- package/package.json +1 -1
- package/reference.md +273 -13
- package/serialization/resources/agents/client/requests/AgentPatchRequest.d.ts +2 -0
- package/serialization/resources/agents/client/requests/AgentPatchRequest.js +2 -0
- package/serialization/resources/agents/types/Agent.d.ts +2 -0
- package/serialization/resources/agents/types/Agent.js +2 -0
- package/serialization/resources/capabilities/client/requests/CapabilityExecutionsSearchRequest.d.ts +16 -0
- package/serialization/resources/capabilities/client/requests/CapabilityExecutionsSearchRequest.js +50 -0
- package/serialization/resources/capabilities/client/requests/index.d.ts +1 -0
- package/serialization/resources/capabilities/client/requests/index.js +3 -1
- package/serialization/resources/capabilities/types/ActionSimulationInput.d.ts +10 -0
- package/serialization/resources/capabilities/types/ActionSimulationInput.js +44 -0
- package/serialization/resources/capabilities/types/CapabilityExecution.d.ts +15 -0
- package/serialization/resources/capabilities/types/CapabilityExecution.js +49 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionBase.d.ts +20 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionBase.js +52 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionCompletionReason.d.ts +7 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionCompletionReason.js +50 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionRetryability.d.ts +7 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionRetryability.js +39 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionStatus.d.ts +7 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionStatus.js +39 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionsSearchResponse.d.ts +11 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionsSearchResponse.js +45 -0
- package/serialization/resources/capabilities/types/CapabilitySimulationInput.d.ts +11 -0
- package/serialization/resources/capabilities/types/CapabilitySimulationInput.js +47 -0
- package/serialization/resources/capabilities/types/CapabilitySimulationResult.d.ts +11 -0
- package/serialization/resources/capabilities/types/CapabilitySimulationResult.js +47 -0
- package/serialization/resources/capabilities/types/ConversationContextSimulationInput.d.ts +12 -0
- package/serialization/resources/capabilities/types/ConversationContextSimulationInput.js +46 -0
- package/serialization/resources/capabilities/types/ConversationKickoffCapabilityExecution.d.ts +9 -0
- package/serialization/resources/capabilities/types/ConversationKickoffCapabilityExecution.js +40 -0
- package/serialization/resources/capabilities/types/SimulatedUser.d.ts +10 -0
- package/serialization/resources/capabilities/types/SimulatedUser.js +44 -0
- package/serialization/resources/capabilities/types/SimulatedUserData.d.ts +10 -0
- package/serialization/resources/capabilities/types/SimulatedUserData.js +42 -0
- package/serialization/resources/capabilities/types/TriggerCapabilityExecution.d.ts +15 -0
- package/serialization/resources/capabilities/types/TriggerCapabilityExecution.js +49 -0
- package/serialization/resources/capabilities/types/index.d.ts +14 -0
- package/serialization/resources/capabilities/types/index.js +14 -0
- package/serialization/resources/charters/types/CharterContent.d.ts +1 -1
- package/serialization/resources/charters/types/CharterContent.js +1 -1
- package/serialization/resources/charters/types/CharterListChildrenRequest.d.ts +2 -0
- package/serialization/resources/charters/types/CharterListChildrenRequest.js +2 -0
- package/serialization/resources/charters/types/CharterResponse.d.ts +1 -1
- package/serialization/resources/charters/types/CharterResponse.js +1 -1
- package/serialization/resources/charters/types/CharterSummary.d.ts +1 -1
- package/serialization/resources/charters/types/CharterSummary.js +1 -1
- package/serialization/resources/charters/types/index.d.ts +0 -1
- package/serialization/resources/charters/types/index.js +0 -1
- package/serialization/resources/commons/types/ActionExecutionStatus.d.ts +7 -0
- package/serialization/resources/commons/types/ActionExecutionStatus.js +39 -0
- package/serialization/resources/commons/types/AdditionalDataKey.d.ts +1 -1
- package/serialization/resources/commons/types/AdditionalDataKey.js +1 -0
- package/serialization/resources/commons/types/AppUserRequest.d.ts +2 -0
- package/serialization/resources/commons/types/AppUserRequest.js +2 -0
- package/serialization/resources/commons/types/BotLogicCharterDetail.d.ts +2 -0
- package/serialization/resources/commons/types/BotLogicCharterDetail.js +2 -0
- package/serialization/resources/commons/types/BotMessage.d.ts +2 -0
- package/serialization/resources/commons/types/BotMessage.js +2 -0
- package/serialization/resources/commons/types/BotMessageStatusReason.d.ts +7 -0
- package/serialization/resources/commons/types/BotMessageStatusReason.js +43 -0
- package/serialization/resources/commons/types/ConversationMetadataValueSource.d.ts +9 -0
- package/serialization/resources/commons/types/ConversationMetadataValueSource.js +41 -0
- package/serialization/resources/commons/types/ConversationValueSource.d.ts +11 -0
- package/serialization/resources/commons/types/ConversationValueSource.js +47 -0
- package/serialization/resources/commons/types/EntityType.d.ts +1 -1
- package/serialization/resources/commons/types/EntityType.js +5 -0
- package/serialization/resources/commons/types/ErrorReason.d.ts +1 -1
- package/serialization/resources/commons/types/ErrorReason.js +2 -0
- package/serialization/resources/commons/types/ExecuteActionResponse.d.ts +13 -0
- package/serialization/resources/commons/types/ExecuteActionResponse.js +45 -0
- package/serialization/resources/commons/types/ExecutionMode.d.ts +7 -0
- package/serialization/resources/commons/types/ExecutionMode.js +39 -0
- package/serialization/resources/commons/types/FunctionVersionBinding.d.ts +11 -0
- package/serialization/resources/commons/types/FunctionVersionBinding.js +43 -0
- package/serialization/resources/commons/types/MetadataConversationValueFilter.d.ts +11 -0
- package/serialization/resources/commons/types/MetadataConversationValueFilter.js +43 -0
- package/serialization/resources/commons/types/MetadataFilter.d.ts +5 -1
- package/serialization/resources/commons/types/MetadataFilter.js +2 -0
- package/serialization/resources/commons/types/SimulationActionBehavior.d.ts +15 -0
- package/serialization/resources/commons/types/SimulationActionBehavior.js +49 -0
- package/serialization/resources/commons/types/SimulationActionCallApp.d.ts +7 -0
- package/serialization/resources/commons/types/SimulationActionCallApp.js +39 -0
- package/serialization/resources/commons/types/SimulationActionMock.d.ts +12 -0
- package/serialization/resources/commons/types/SimulationActionMock.js +44 -0
- package/serialization/resources/commons/types/SimulationContext.d.ts +4 -0
- package/serialization/resources/commons/types/SimulationContext.js +4 -0
- package/serialization/resources/commons/types/SystemEventName.d.ts +1 -1
- package/serialization/resources/commons/types/SystemEventName.js +1 -0
- package/serialization/resources/commons/types/index.d.ts +12 -0
- package/serialization/resources/commons/types/index.js +12 -0
- package/serialization/resources/users/types/AgentUser.d.ts +2 -0
- package/serialization/resources/users/types/AgentUser.js +2 -0
- package/serialization/resources/users/types/AgentUserFilter.d.ts +2 -0
- package/serialization/resources/users/types/AgentUserFilter.js +2 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- /package/api/resources/{charters → commons}/types/CharterType.d.ts +0 -0
- /package/api/resources/{charters → commons}/types/CharterType.js +0 -0
- /package/serialization/resources/{charters → commons}/types/CharterType.d.ts +0 -0
- /package/serialization/resources/{charters → commons}/types/CharterType.js +0 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* Binds a capability to one version of a Function. Both IDs carry the Function's app, which
|
|
4
|
+
* must be the capability's own app.
|
|
5
|
+
*/
|
|
6
|
+
export interface FunctionVersionBinding {
|
|
7
|
+
/** The bound Function. `type` is `FUNCTION`. */
|
|
8
|
+
functionId: MavenAGI.EntityIdWithoutAgent;
|
|
9
|
+
/** The version of that Function that runs. `type` is `FUNCTION_VERSION`. */
|
|
10
|
+
versionId: MavenAGI.EntityIdWithoutAgent;
|
|
11
|
+
}
|
|
@@ -4,7 +4,7 @@ export interface InboxItemDuplicateDocuments extends MavenAGI.InboxItemBase {
|
|
|
4
4
|
recommendedFixes: MavenAGI.InboxItemFixDeactivateDocument[];
|
|
5
5
|
/** List of fixes associated with the inbox item. */
|
|
6
6
|
otherFixes: MavenAGI.InboxItemFixDeactivateDocument[];
|
|
7
|
-
/** Information about the source document associated with the inbox item. */
|
|
7
|
+
/** Information about the source document associated with the inbox item. Shown in Agent Designer as "Reference Document". */
|
|
8
8
|
sourceDocument: MavenAGI.DocumentInformation;
|
|
9
9
|
/** List of Document information objects related to the inbox item. */
|
|
10
10
|
documents: MavenAGI.DocumentInformation[];
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.InboxItemStatus = void 0;
|
|
5
5
|
exports.InboxItemStatus = {
|
|
6
6
|
/**
|
|
7
|
-
* The inbox item is open. */
|
|
7
|
+
* The inbox item is open. Shown in Agent Designer as "Unresolved". */
|
|
8
8
|
Open: "OPEN",
|
|
9
9
|
/**
|
|
10
10
|
* The inbox item was resolved by the user. */
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
/** Shown in Agent Designer as "Agent inclusion". */
|
|
1
2
|
export declare const LlmInclusionStatus: {
|
|
2
3
|
readonly Always: "ALWAYS";
|
|
3
4
|
readonly WhenRelevant: "WHEN_RELEVANT";
|
|
5
|
+
/**
|
|
6
|
+
* A knowledge base's "Deactivate" action sets this, and "Activate" sets `WHEN_RELEVANT`. */
|
|
4
7
|
readonly Never: "NEVER";
|
|
5
8
|
};
|
|
6
9
|
export type LlmInclusionStatus = (typeof LlmInclusionStatus)[keyof typeof LlmInclusionStatus] | string;
|
|
@@ -2,8 +2,11 @@
|
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.LlmInclusionStatus = void 0;
|
|
5
|
+
/** Shown in Agent Designer as "Agent inclusion". */
|
|
5
6
|
exports.LlmInclusionStatus = {
|
|
6
7
|
Always: "ALWAYS",
|
|
7
8
|
WhenRelevant: "WHEN_RELEVANT",
|
|
9
|
+
/**
|
|
10
|
+
* A knowledge base's "Deactivate" action sets this, and "Activate" sets `WHEN_RELEVANT`. */
|
|
8
11
|
Never: "NEVER",
|
|
9
12
|
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* Matches documents whose value under `key` equals a value read from the conversation
|
|
4
|
+
* being answered, so one filter follows each conversation instead of naming a fixed value.
|
|
5
|
+
*
|
|
6
|
+
* When the conversation has no value at `source`, nothing matches. To also keep documents
|
|
7
|
+
* that apply everywhere, combine this with an entry in an `OR` group, for example
|
|
8
|
+
* `state = All`.
|
|
9
|
+
*/
|
|
10
|
+
export interface MetadataConversationValueFilter {
|
|
11
|
+
/** The document metadata key to test, as in `MetadataEntryCondition`. */
|
|
12
|
+
key: string;
|
|
13
|
+
/** Where on the conversation to read the value that documents must equal. */
|
|
14
|
+
source: MavenAGI.ConversationValueSource;
|
|
15
|
+
}
|
|
@@ -1,11 +1,35 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../index";
|
|
2
2
|
/**
|
|
3
|
-
* A predicate over a string-to-string metadata map:
|
|
4
|
-
*
|
|
3
|
+
* A predicate over a string-to-string metadata map: a condition on the value under one
|
|
4
|
+
* key, a match against a value read from the conversation, or a group of predicates
|
|
5
|
+
* combined with a logical operator.
|
|
5
6
|
*
|
|
6
|
-
* Kept small on purpose: at most 3 levels of nesting and 10 nodes in total,
|
|
7
|
-
*
|
|
8
|
-
* recognisable slice, not to encode a query language. Exceeding
|
|
7
|
+
* Kept small on purpose: by default at most 3 levels of nesting and 10 nodes in total,
|
|
8
|
+
* counting every group, entry and conversation value. A filter is meant to narrow a
|
|
9
|
+
* knowledge base to a recognisable slice, not to encode a query language. Exceeding
|
|
10
|
+
* either is a 400.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* {
|
|
14
|
+
* metadataFilterType: "group",
|
|
15
|
+
* operator: MavenAGI.PreconditionGroupOperator.Or,
|
|
16
|
+
* filters: [{
|
|
17
|
+
* metadataFilterType: "conversationValue",
|
|
18
|
+
* key: "state",
|
|
19
|
+
* source: {
|
|
20
|
+
* type: "conversationMetadata",
|
|
21
|
+
* key: "case_state"
|
|
22
|
+
* }
|
|
23
|
+
* }, {
|
|
24
|
+
* metadataFilterType: "entry",
|
|
25
|
+
* key: "state",
|
|
26
|
+
* condition: {
|
|
27
|
+
* opType: "comparison",
|
|
28
|
+
* operator: MavenAGI.MetadataComparisonOperator.Eq,
|
|
29
|
+
* value: "All"
|
|
30
|
+
* }
|
|
31
|
+
* }]
|
|
32
|
+
* }
|
|
9
33
|
*
|
|
10
34
|
* @example
|
|
11
35
|
* {
|
|
@@ -30,11 +54,14 @@ import type * as MavenAGI from "../../../index";
|
|
|
30
54
|
* }]
|
|
31
55
|
* }
|
|
32
56
|
*/
|
|
33
|
-
export type MetadataFilter = MavenAGI.MetadataFilter.Entry | MavenAGI.MetadataFilter.Group;
|
|
57
|
+
export type MetadataFilter = MavenAGI.MetadataFilter.Entry | MavenAGI.MetadataFilter.ConversationValue | MavenAGI.MetadataFilter.Group;
|
|
34
58
|
export declare namespace MetadataFilter {
|
|
35
59
|
interface Entry extends MavenAGI.MetadataEntryCondition {
|
|
36
60
|
metadataFilterType: "entry";
|
|
37
61
|
}
|
|
62
|
+
interface ConversationValue extends MavenAGI.MetadataConversationValueFilter {
|
|
63
|
+
metadataFilterType: "conversationValue";
|
|
64
|
+
}
|
|
38
65
|
interface Group extends MavenAGI.MetadataFilterGroup {
|
|
39
66
|
metadataFilterType: "group";
|
|
40
67
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export declare const Quality: {
|
|
2
2
|
readonly Good: "GOOD";
|
|
3
3
|
readonly NeedsImprovement: "NEEDS_IMPROVEMENT";
|
|
4
|
+
/**
|
|
5
|
+
* Shown in Agent Designer as "Ineligible". */
|
|
4
6
|
readonly Unknown: "UNKNOWN";
|
|
5
7
|
};
|
|
6
8
|
export type Quality = (typeof Quality)[keyof typeof Quality] | string;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export declare const QualityReason: {
|
|
2
2
|
readonly MissingKnowledge: "MISSING_KNOWLEDGE";
|
|
3
|
+
/**
|
|
4
|
+
* Shown in Agent Designer as "Missing user data". */
|
|
3
5
|
readonly MissingUserInformation: "MISSING_USER_INFORMATION";
|
|
4
6
|
readonly MissingAction: "MISSING_ACTION";
|
|
5
7
|
readonly NeedsUserClarification: "NEEDS_USER_CLARIFICATION";
|
|
@@ -7,6 +9,8 @@ export declare const QualityReason: {
|
|
|
7
9
|
readonly Interrupted: "INTERRUPTED";
|
|
8
10
|
readonly UnsupportedUserBehavior: "UNSUPPORTED_USER_BEHAVIOR";
|
|
9
11
|
readonly Unknown: "UNKNOWN";
|
|
12
|
+
/**
|
|
13
|
+
* Maven did not reply in the conversation. Shown in Agent Designer as "No generated responses". */
|
|
10
14
|
readonly NoBotReplies: "NO_BOT_REPLIES";
|
|
11
15
|
};
|
|
12
16
|
export type QualityReason = (typeof QualityReason)[keyof typeof QualityReason] | string;
|
|
@@ -4,6 +4,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.QualityReason = void 0;
|
|
5
5
|
exports.QualityReason = {
|
|
6
6
|
MissingKnowledge: "MISSING_KNOWLEDGE",
|
|
7
|
+
/**
|
|
8
|
+
* Shown in Agent Designer as "Missing user data". */
|
|
7
9
|
MissingUserInformation: "MISSING_USER_INFORMATION",
|
|
8
10
|
MissingAction: "MISSING_ACTION",
|
|
9
11
|
NeedsUserClarification: "NEEDS_USER_CLARIFICATION",
|
|
@@ -11,5 +13,7 @@ exports.QualityReason = {
|
|
|
11
13
|
Interrupted: "INTERRUPTED",
|
|
12
14
|
UnsupportedUserBehavior: "UNSUPPORTED_USER_BEHAVIOR",
|
|
13
15
|
Unknown: "UNKNOWN",
|
|
16
|
+
/**
|
|
17
|
+
* Maven did not reply in the conversation. Shown in Agent Designer as "No generated responses". */
|
|
14
18
|
NoBotReplies: "NO_BOT_REPLIES",
|
|
15
19
|
};
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* The kind of relationship (edge) between two entities. Names the edge,
|
|
3
3
|
* not the node — `EntityId` already carries the node type.
|
|
4
4
|
*
|
|
5
|
-
* * `SPAWN_FROM`: the entity this one was spawned from.
|
|
6
|
-
* * `SPAWN_TO`: the entities that were spawned from this one.
|
|
5
|
+
* * `SPAWN_FROM`: the entity this one was spawned from. Shown in Agent Designer as "Started from".
|
|
6
|
+
* * `SPAWN_TO`: the entities that were spawned from this one. Shown in Agent Designer as "Linked to".
|
|
7
7
|
*/
|
|
8
8
|
export declare const RelationshipType: {
|
|
9
9
|
readonly SpawnFrom: "SPAWN_FROM";
|
|
@@ -6,8 +6,8 @@ exports.RelationshipType = void 0;
|
|
|
6
6
|
* The kind of relationship (edge) between two entities. Names the edge,
|
|
7
7
|
* not the node — `EntityId` already carries the node type.
|
|
8
8
|
*
|
|
9
|
-
* * `SPAWN_FROM`: the entity this one was spawned from.
|
|
10
|
-
* * `SPAWN_TO`: the entities that were spawned from this one.
|
|
9
|
+
* * `SPAWN_FROM`: the entity this one was spawned from. Shown in Agent Designer as "Started from".
|
|
10
|
+
* * `SPAWN_TO`: the entities that were spawned from this one. Shown in Agent Designer as "Linked to".
|
|
11
11
|
*/
|
|
12
12
|
exports.RelationshipType = {
|
|
13
13
|
SpawnFrom: "SPAWN_FROM",
|
|
@@ -2,6 +2,8 @@ export declare const ResolutionStatus: {
|
|
|
2
2
|
readonly Unknown: "UNKNOWN";
|
|
3
3
|
readonly Error: "ERROR";
|
|
4
4
|
readonly InProgress: "IN_PROGRESS";
|
|
5
|
+
/**
|
|
6
|
+
* Shown in Agent Designer as "Resolved by Maven". */
|
|
5
7
|
readonly Resolved: "RESOLVED";
|
|
6
8
|
readonly Escalated: "ESCALATED";
|
|
7
9
|
readonly Incomplete: "INCOMPLETE";
|
|
@@ -9,6 +9,8 @@ export interface ResponseConfig {
|
|
|
9
9
|
* - `CHARTS_HIGHCHARTS_TS`: Whether the response should include a Highcharts typescript chart if applicable.
|
|
10
10
|
* - `ASYNC`: Whether the app that created this conversation supports asynchronous message delivery. If provided, messages may be sent to the app via the `handleMessage` function.
|
|
11
11
|
* - `OAUTH_BUTTONS`: Whether the response should include OAuth buttons. If provided, the caller needs to render OAuth buttons when returned from the ask API and allow the user to click the buttons to initiate the OAuth flow. If not provided, then actions which require OAuth authorization will not be considered by the LLM. This capability is not recommended for surfaces which can not display links (e.g. voice).
|
|
12
|
+
*
|
|
13
|
+
* Shown in Agent Designer as "Response type".
|
|
12
14
|
*/
|
|
13
15
|
capabilities: MavenAGI.Capability[];
|
|
14
16
|
/** Whether the response is for an human agent (true) or an end user (false). Defaults to false. */
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../index";
|
|
2
|
+
export type SimulationActionBehavior =
|
|
3
|
+
/**
|
|
4
|
+
* The platform does not call the action's app and uses this result as the action's
|
|
5
|
+
* result. `response` and `errorMessage` are Handlebars templates over the action's input
|
|
6
|
+
* parameters, such as `{{parameterId}}`, rendered without HTML escaping. */
|
|
7
|
+
MavenAGI.SimulationActionBehavior.FixedResponse
|
|
8
|
+
/**
|
|
9
|
+
* The platform calls the action's app instead of returning a mocked result. */
|
|
10
|
+
| MavenAGI.SimulationActionBehavior.CallApp;
|
|
11
|
+
export declare namespace SimulationActionBehavior {
|
|
12
|
+
interface FixedResponse extends MavenAGI.ExecuteActionResponse {
|
|
13
|
+
type: "fixedResponse";
|
|
14
|
+
}
|
|
15
|
+
interface CallApp extends MavenAGI.SimulationActionCallApp {
|
|
16
|
+
type: "callApp";
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type SimulationActionCallApp = {};
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* Conversations with a simulation context are the runs on the Agent Designer "Simulator" page.
|
|
4
|
+
*/
|
|
2
5
|
export interface SimulationContext {
|
|
3
6
|
/**
|
|
4
7
|
* Deprecated. Superseded by charters, which determine agent behavior per round. Has no effect for agents using charters.
|
|
5
8
|
*
|
|
6
9
|
* If provided, overrides the agent's default additional prompt text during the simulation.
|
|
10
|
+
*
|
|
11
|
+
* Shown in Agent Designer as "Additional persona instructions".
|
|
7
12
|
*/
|
|
8
13
|
additionalPromptText?: string;
|
|
9
14
|
/** Deprecated. Superseded by charters, which determine agent behavior per round. Has no effect for agents using charters. */
|
|
@@ -22,4 +27,18 @@ export interface SimulationContext {
|
|
|
22
27
|
* keeps the variant it was created with.
|
|
23
28
|
*/
|
|
24
29
|
variantId?: MavenAGI.EntityIdWithoutAgent;
|
|
30
|
+
/**
|
|
31
|
+
* What the platform does when the agent executes each action during this simulation. At
|
|
32
|
+
* most one entry per action; a request that names an action twice is rejected. An action
|
|
33
|
+
* with no entry follows `defaultActionBehavior`. A conversation that already exists keeps
|
|
34
|
+
* the mocks and default it was created with.
|
|
35
|
+
*/
|
|
36
|
+
actionMocks?: MavenAGI.SimulationActionMock[];
|
|
37
|
+
/**
|
|
38
|
+
* What the platform does when the agent executes an action that has no `actionMocks`
|
|
39
|
+
* entry. When absent, the action's app is called as usual. A `fixedResponse` here keeps the
|
|
40
|
+
* simulation from calling any action's app that `actionMocks` doesn't name with `callApp`;
|
|
41
|
+
* its templates are rendered over the parameters of whichever action was called.
|
|
42
|
+
*/
|
|
43
|
+
defaultActionBehavior?: MavenAGI.SimulationActionBehavior;
|
|
25
44
|
}
|
|
@@ -33,10 +33,13 @@ export declare const SystemEventName: {
|
|
|
33
33
|
* A data sync with an external system failed */
|
|
34
34
|
readonly SyncFailed: "SYNC_FAILED";
|
|
35
35
|
/**
|
|
36
|
-
* A conversation was closed, by setting `open` to false through the conversation PATCH. `references` carries the conversation. */
|
|
36
|
+
* A conversation was closed, by setting `open` to false through the conversation PATCH. `references` carries the conversation. Maven records it once it has finished analyzing the conversation (its summary, category and intelligent field values), so the conversation's data is final when the event arrives; that can be a little after the close. */
|
|
37
37
|
readonly ConversationClosed: "CONVERSATION_CLOSED";
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* The agent sent a visible reply in a conversation: a response or a suggestion. `references` carries the conversation, the message, the charters matched in the turn that produced this reply, and the actions the bot ran in that turn, failed attempts included. Actions the user submitted as a form, or was only offered, are not included. Each event covers its own reply's turn, not earlier ones. A `references` condition can name a charter, an action or a combination of them. `contextInfo.additionalData` carries the message's `botMessageType` (see `AdditionalDataKey`). Like `CONVERSATION_CLOSED`, it is recorded once Maven has finished analyzing the conversation through that reply. */
|
|
40
|
+
readonly BotReplyCreated: "BOT_REPLY_CREATED";
|
|
41
|
+
/**
|
|
42
|
+
* An intelligent field's value on a conversation or agent user was set or changed. `references` carries the field and the conversation or agent user the value belongs to; `contextInfo.additionalData` carries the new `value` and the `previousValue` (see `AdditionalDataKey`). A string value is written as is, a boolean or number as its text (`true`, `3`), and a multi-select's options as a JSON array. A key is absent when its value is undetermined or, for `previousValue`, when the field had no previous value. */
|
|
40
43
|
readonly IntelligentFieldValueChanged: "INTELLIGENT_FIELD_VALUE_CHANGED";
|
|
41
44
|
};
|
|
42
45
|
export type SystemEventName = (typeof SystemEventName)[keyof typeof SystemEventName] | string;
|
|
@@ -37,9 +37,12 @@ exports.SystemEventName = {
|
|
|
37
37
|
* A data sync with an external system failed */
|
|
38
38
|
SyncFailed: "SYNC_FAILED",
|
|
39
39
|
/**
|
|
40
|
-
* A conversation was closed, by setting `open` to false through the conversation PATCH. `references` carries the conversation. */
|
|
40
|
+
* A conversation was closed, by setting `open` to false through the conversation PATCH. `references` carries the conversation. Maven records it once it has finished analyzing the conversation (its summary, category and intelligent field values), so the conversation's data is final when the event arrives; that can be a little after the close. */
|
|
41
41
|
ConversationClosed: "CONVERSATION_CLOSED",
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* The agent sent a visible reply in a conversation: a response or a suggestion. `references` carries the conversation, the message, the charters matched in the turn that produced this reply, and the actions the bot ran in that turn, failed attempts included. Actions the user submitted as a form, or was only offered, are not included. Each event covers its own reply's turn, not earlier ones. A `references` condition can name a charter, an action or a combination of them. `contextInfo.additionalData` carries the message's `botMessageType` (see `AdditionalDataKey`). Like `CONVERSATION_CLOSED`, it is recorded once Maven has finished analyzing the conversation through that reply. */
|
|
44
|
+
BotReplyCreated: "BOT_REPLY_CREATED",
|
|
45
|
+
/**
|
|
46
|
+
* An intelligent field's value on a conversation or agent user was set or changed. `references` carries the field and the conversation or agent user the value belongs to; `contextInfo.additionalData` carries the new `value` and the `previousValue` (see `AdditionalDataKey`). A string value is written as is, a boolean or number as its text (`true`, `3`), and a multi-select's options as a JSON array. A key is absent when its value is undetermined or, for `previousValue`, when the field had no previous value. */
|
|
44
47
|
IntelligentFieldValueChanged: "INTELLIGENT_FIELD_VALUE_CHANGED",
|
|
45
48
|
};
|
|
@@ -4,7 +4,7 @@ export interface UserEvent extends MavenAGI.EventBaseNoId {
|
|
|
4
4
|
id: MavenAGI.EntityId;
|
|
5
5
|
/** The date and time the event was created */
|
|
6
6
|
createdAt?: Date;
|
|
7
|
-
/** The name of the event */
|
|
7
|
+
/** The name of the event. Shown in Agent Designer as "Event type". */
|
|
8
8
|
eventName: MavenAGI.UserEventName;
|
|
9
9
|
/** Information about the user who triggered the event */
|
|
10
10
|
userInfo: MavenAGI.EventUserInfo;
|
|
@@ -12,7 +12,7 @@ export declare const UserEventName: {
|
|
|
12
12
|
* The chat window was closed */
|
|
13
13
|
readonly ChatClosed: "CHAT_CLOSED";
|
|
14
14
|
/**
|
|
15
|
-
* A text was inserted into a field */
|
|
15
|
+
* A text was inserted into a field. Shown in Agent Designer as "Inserted". */
|
|
16
16
|
readonly TextInserted: "TEXT_INSERTED";
|
|
17
17
|
/**
|
|
18
18
|
* A CSAT rating was submitted */
|
|
@@ -16,7 +16,7 @@ exports.UserEventName = {
|
|
|
16
16
|
* The chat window was closed */
|
|
17
17
|
ChatClosed: "CHAT_CLOSED",
|
|
18
18
|
/**
|
|
19
|
-
* A text was inserted into a field */
|
|
19
|
+
* A text was inserted into a field. Shown in Agent Designer as "Inserted". */
|
|
20
20
|
TextInserted: "TEXT_INSERTED",
|
|
21
21
|
/**
|
|
22
22
|
* A CSAT rating was submitted */
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./ActionBase";
|
|
2
2
|
export * from "./ActionEnumOption";
|
|
3
3
|
export * from "./ActionExecutionParamValue";
|
|
4
|
+
export * from "./ActionExecutionStatus";
|
|
4
5
|
export * from "./ActionFormField";
|
|
5
6
|
export * from "./ActionOAuthConfiguration";
|
|
6
7
|
export * from "./ActionParameter";
|
|
@@ -47,6 +48,7 @@ export * from "./BotLogicSegmentsItem";
|
|
|
47
48
|
export * from "./BotLogicSteeringItem";
|
|
48
49
|
export * from "./BotLogicUserItem";
|
|
49
50
|
export * from "./BotMessage";
|
|
51
|
+
export * from "./BotMessageStatusReason";
|
|
50
52
|
export * from "./BotOAuthButtonResponse";
|
|
51
53
|
export * from "./BotObjectResponse";
|
|
52
54
|
export * from "./BotResponse";
|
|
@@ -58,6 +60,7 @@ export * from "./Capability";
|
|
|
58
60
|
export * from "./CapabilityBase";
|
|
59
61
|
export * from "./CapabilityStatus";
|
|
60
62
|
export * from "./CapabilityType";
|
|
63
|
+
export * from "./CharterType";
|
|
61
64
|
export * from "./ChartSpecSchema";
|
|
62
65
|
export * from "./CheckboxSettingsSchemaEntry";
|
|
63
66
|
export * from "./ColorSettingsSchemaEntry";
|
|
@@ -70,6 +73,7 @@ export * from "./ConversationKickoffExecutionResponse";
|
|
|
70
73
|
export * from "./ConversationKickoffStatus";
|
|
71
74
|
export * from "./ConversationMessageBase";
|
|
72
75
|
export * from "./ConversationMessageResponse";
|
|
76
|
+
export * from "./ConversationMetadataValueSource";
|
|
73
77
|
export * from "./ConversationMode";
|
|
74
78
|
export * from "./ConversationModePrecondition";
|
|
75
79
|
export * from "./ConversationPrecondition";
|
|
@@ -80,6 +84,7 @@ export * from "./ConversationRound";
|
|
|
80
84
|
export * from "./ConversationState";
|
|
81
85
|
export * from "./ConversationStatePrecondition";
|
|
82
86
|
export * from "./ConversationSummary";
|
|
87
|
+
export * from "./ConversationValueSource";
|
|
83
88
|
export * from "./CsatInfo";
|
|
84
89
|
export * from "./CursorPage";
|
|
85
90
|
export * from "./DeviceInfo";
|
|
@@ -108,11 +113,14 @@ export * from "./EventTriggerType";
|
|
|
108
113
|
export * from "./EventType";
|
|
109
114
|
export * from "./EventUserInfo";
|
|
110
115
|
export * from "./EventUserInfoBase";
|
|
116
|
+
export * from "./ExecuteActionResponse";
|
|
117
|
+
export * from "./ExecutionMode";
|
|
111
118
|
export * from "./Feedback";
|
|
112
119
|
export * from "./FeedbackBase";
|
|
113
120
|
export * from "./FeedbackInfo";
|
|
114
121
|
export * from "./FeedbackType";
|
|
115
122
|
export * from "./FieldCondition";
|
|
123
|
+
export * from "./FunctionVersionBinding";
|
|
116
124
|
export * from "./GeoInfo";
|
|
117
125
|
export * from "./HarmfulContentAnalysis";
|
|
118
126
|
export * from "./ImageSettingsSchemaEntry";
|
|
@@ -148,6 +156,7 @@ export * from "./MessageStatus";
|
|
|
148
156
|
export * from "./MetadataComparisonCondition";
|
|
149
157
|
export * from "./MetadataComparisonOperator";
|
|
150
158
|
export * from "./MetadataCondition";
|
|
159
|
+
export * from "./MetadataConversationValueFilter";
|
|
151
160
|
export * from "./MetadataEntryCondition";
|
|
152
161
|
export * from "./MetadataFilter";
|
|
153
162
|
export * from "./MetadataFilterGroup";
|
|
@@ -205,6 +214,9 @@ export * from "./SettingsSchemaEntry";
|
|
|
205
214
|
export * from "./SettingsSchemaEntryBase";
|
|
206
215
|
export * from "./SettingsSchemaValidation";
|
|
207
216
|
export * from "./SideEffects";
|
|
217
|
+
export * from "./SimulationActionBehavior";
|
|
218
|
+
export * from "./SimulationActionCallApp";
|
|
219
|
+
export * from "./SimulationActionMock";
|
|
208
220
|
export * from "./SimulationContext";
|
|
209
221
|
export * from "./Source";
|
|
210
222
|
export * from "./SourceInfo";
|
|
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./ActionBase"), exports);
|
|
18
18
|
__exportStar(require("./ActionEnumOption"), exports);
|
|
19
19
|
__exportStar(require("./ActionExecutionParamValue"), exports);
|
|
20
|
+
__exportStar(require("./ActionExecutionStatus"), exports);
|
|
20
21
|
__exportStar(require("./ActionFormField"), exports);
|
|
21
22
|
__exportStar(require("./ActionOAuthConfiguration"), exports);
|
|
22
23
|
__exportStar(require("./ActionParameter"), exports);
|
|
@@ -63,6 +64,7 @@ __exportStar(require("./BotLogicSegmentsItem"), exports);
|
|
|
63
64
|
__exportStar(require("./BotLogicSteeringItem"), exports);
|
|
64
65
|
__exportStar(require("./BotLogicUserItem"), exports);
|
|
65
66
|
__exportStar(require("./BotMessage"), exports);
|
|
67
|
+
__exportStar(require("./BotMessageStatusReason"), exports);
|
|
66
68
|
__exportStar(require("./BotOAuthButtonResponse"), exports);
|
|
67
69
|
__exportStar(require("./BotObjectResponse"), exports);
|
|
68
70
|
__exportStar(require("./BotResponse"), exports);
|
|
@@ -74,6 +76,7 @@ __exportStar(require("./Capability"), exports);
|
|
|
74
76
|
__exportStar(require("./CapabilityBase"), exports);
|
|
75
77
|
__exportStar(require("./CapabilityStatus"), exports);
|
|
76
78
|
__exportStar(require("./CapabilityType"), exports);
|
|
79
|
+
__exportStar(require("./CharterType"), exports);
|
|
77
80
|
__exportStar(require("./ChartSpecSchema"), exports);
|
|
78
81
|
__exportStar(require("./CheckboxSettingsSchemaEntry"), exports);
|
|
79
82
|
__exportStar(require("./ColorSettingsSchemaEntry"), exports);
|
|
@@ -86,6 +89,7 @@ __exportStar(require("./ConversationKickoffExecutionResponse"), exports);
|
|
|
86
89
|
__exportStar(require("./ConversationKickoffStatus"), exports);
|
|
87
90
|
__exportStar(require("./ConversationMessageBase"), exports);
|
|
88
91
|
__exportStar(require("./ConversationMessageResponse"), exports);
|
|
92
|
+
__exportStar(require("./ConversationMetadataValueSource"), exports);
|
|
89
93
|
__exportStar(require("./ConversationMode"), exports);
|
|
90
94
|
__exportStar(require("./ConversationModePrecondition"), exports);
|
|
91
95
|
__exportStar(require("./ConversationPrecondition"), exports);
|
|
@@ -96,6 +100,7 @@ __exportStar(require("./ConversationRound"), exports);
|
|
|
96
100
|
__exportStar(require("./ConversationState"), exports);
|
|
97
101
|
__exportStar(require("./ConversationStatePrecondition"), exports);
|
|
98
102
|
__exportStar(require("./ConversationSummary"), exports);
|
|
103
|
+
__exportStar(require("./ConversationValueSource"), exports);
|
|
99
104
|
__exportStar(require("./CsatInfo"), exports);
|
|
100
105
|
__exportStar(require("./CursorPage"), exports);
|
|
101
106
|
__exportStar(require("./DeviceInfo"), exports);
|
|
@@ -124,11 +129,14 @@ __exportStar(require("./EventTriggerType"), exports);
|
|
|
124
129
|
__exportStar(require("./EventType"), exports);
|
|
125
130
|
__exportStar(require("./EventUserInfo"), exports);
|
|
126
131
|
__exportStar(require("./EventUserInfoBase"), exports);
|
|
132
|
+
__exportStar(require("./ExecuteActionResponse"), exports);
|
|
133
|
+
__exportStar(require("./ExecutionMode"), exports);
|
|
127
134
|
__exportStar(require("./Feedback"), exports);
|
|
128
135
|
__exportStar(require("./FeedbackBase"), exports);
|
|
129
136
|
__exportStar(require("./FeedbackInfo"), exports);
|
|
130
137
|
__exportStar(require("./FeedbackType"), exports);
|
|
131
138
|
__exportStar(require("./FieldCondition"), exports);
|
|
139
|
+
__exportStar(require("./FunctionVersionBinding"), exports);
|
|
132
140
|
__exportStar(require("./GeoInfo"), exports);
|
|
133
141
|
__exportStar(require("./HarmfulContentAnalysis"), exports);
|
|
134
142
|
__exportStar(require("./ImageSettingsSchemaEntry"), exports);
|
|
@@ -164,6 +172,7 @@ __exportStar(require("./MessageStatus"), exports);
|
|
|
164
172
|
__exportStar(require("./MetadataComparisonCondition"), exports);
|
|
165
173
|
__exportStar(require("./MetadataComparisonOperator"), exports);
|
|
166
174
|
__exportStar(require("./MetadataCondition"), exports);
|
|
175
|
+
__exportStar(require("./MetadataConversationValueFilter"), exports);
|
|
167
176
|
__exportStar(require("./MetadataEntryCondition"), exports);
|
|
168
177
|
__exportStar(require("./MetadataFilter"), exports);
|
|
169
178
|
__exportStar(require("./MetadataFilterGroup"), exports);
|
|
@@ -221,6 +230,9 @@ __exportStar(require("./SettingsSchemaEntry"), exports);
|
|
|
221
230
|
__exportStar(require("./SettingsSchemaEntryBase"), exports);
|
|
222
231
|
__exportStar(require("./SettingsSchemaValidation"), exports);
|
|
223
232
|
__exportStar(require("./SideEffects"), exports);
|
|
233
|
+
__exportStar(require("./SimulationActionBehavior"), exports);
|
|
234
|
+
__exportStar(require("./SimulationActionCallApp"), exports);
|
|
235
|
+
__exportStar(require("./SimulationActionMock"), exports);
|
|
224
236
|
__exportStar(require("./SimulationContext"), exports);
|
|
225
237
|
__exportStar(require("./Source"), exports);
|
|
226
238
|
__exportStar(require("./SourceInfo"), exports);
|
|
@@ -108,17 +108,19 @@ export declare class ConversationClient {
|
|
|
108
108
|
get(conversationId: string, request?: MavenAGI.ConversationGetRequest, requestOptions?: ConversationClient.RequestOptions): core.HttpResponsePromise<MavenAGI.ConversationResponse>;
|
|
109
109
|
private __get;
|
|
110
110
|
/**
|
|
111
|
-
* Wipes
|
|
112
|
-
* The conversation ID
|
|
113
|
-
*
|
|
114
|
-
*
|
|
111
|
+
* Wipes the user content from a conversation.
|
|
112
|
+
* The conversation and its ID still exist afterwards, and so does its non-content data, so it still counts in metrics.
|
|
113
|
+
* The conversation is sealed against further writes as soon as this call returns: adding or changing messages fails with `409 Conflict`, and so does deleting it again once the wipe has finished.
|
|
114
|
+
* A `202 Accepted` response means the wipe is still completing and will finish on its own.
|
|
115
115
|
*
|
|
116
116
|
* Simulation conversations will no longer be visible in search results nor metrics.
|
|
117
|
-
* Non-simulation conversations
|
|
117
|
+
* Non-simulation conversations remain visible; they cannot be fully removed from the system.
|
|
118
118
|
*
|
|
119
119
|
* <Warning>This is a destructive operation and cannot be undone. <br/><br/>
|
|
120
|
-
*
|
|
121
|
-
*
|
|
120
|
+
* What is wiped: the conversation's `subject` and `analysis.agentResponse` are cleared, and `analysis.userRequest` is replaced with `reason`.
|
|
121
|
+
* Every message's text, from the user and the agent alike, is replaced with `reason`, and its attachments, follow-up questions, backend LLM prompt and history, the data actions returned, and action arguments are cleared.
|
|
122
|
+
* Evaluation results for the conversation are deleted, and the payloads recorded on its trigger and action executions are cleared. <br/><br/>
|
|
123
|
+
* What is kept: the conversation's metadata, each message's charts, structured answer and app-supplied metadata, the conversation's intelligent field values, its feedback and events, and the users who took part. To wipe a user's data, use `DELETE /users/{userId}` or `DELETE /agentusers/{agentUserId}`.</Warning>
|
|
122
124
|
*
|
|
123
125
|
* @param {string} conversationId - The ID of the conversation to delete
|
|
124
126
|
* @param {MavenAGI.ConversationDeleteRequest} request
|
|
@@ -246,9 +248,13 @@ export declare class ConversationClient {
|
|
|
246
248
|
askStream(conversationId: string, request: MavenAGI.AskRequest, requestOptions?: ConversationClient.RequestOptions): core.HttpResponsePromise<core.Stream<MavenAGI.StreamResponse>>;
|
|
247
249
|
private __askStream;
|
|
248
250
|
/**
|
|
249
|
-
* @
|
|
251
|
+
* @deprecated
|
|
252
|
+
*
|
|
253
|
+
* Deprecated. Set the agent's `categoryIntelligentFieldId` and read that intelligent field's value instead.
|
|
250
254
|
*
|
|
251
|
-
* Uses an LLM flow to categorize the conversation.
|
|
255
|
+
* Uses an LLM flow to categorize the conversation.
|
|
256
|
+
*
|
|
257
|
+
* Returns a 400 for new agents and for any agent with a `categoryIntelligentFieldId`. Their conversation categories come only from that intelligent field: read the field's value, or react to it changing with an `EVENT_CREATED` trigger on the `INTELLIGENT_FIELD_VALUE_CHANGED` system event.
|
|
252
258
|
*
|
|
253
259
|
* @param {string} conversationId - The ID of the conversation to categorize
|
|
254
260
|
* @param {ConversationClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -475,6 +481,8 @@ export declare class ConversationClient {
|
|
|
475
481
|
* This API is offered for backwards compatibility.
|
|
476
482
|
* Most API callers should create simulations programmatically to allow for more flexibility.
|
|
477
483
|
*
|
|
484
|
+
* Shown in Agent Designer as "Import questions".
|
|
485
|
+
*
|
|
478
486
|
* @param {core.file.Uploadable} file
|
|
479
487
|
* @param {MavenAGI.SimulationImportRequest} request
|
|
480
488
|
* @param {ConversationClient.RequestOptions} requestOptions - Request-specific configuration.
|