mavenagi 1.2.64 → 1.2.66
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.d.ts +4 -2
- package/BaseClient.js +8 -3
- package/README.md +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 +10 -2
- package/api/resources/agents/types/Agent.d.ts +3 -1
- package/api/resources/agents/types/AgentPrompting.d.ts +12 -2
- package/api/resources/analytics/client/Client.d.ts +0 -38
- package/api/resources/analytics/client/Client.js +0 -120
- package/api/resources/analytics/types/AgentUserGroupBy.d.ts +15 -0
- package/api/resources/analytics/types/AgentUserRowIdentifier.d.ts +2 -0
- package/api/resources/analytics/types/AgentUserTableRequest.d.ts +7 -0
- package/api/resources/analytics/types/AgentUserTableResponse.d.ts +4 -1
- package/api/resources/analytics/types/index.d.ts +1 -10
- package/api/resources/analytics/types/index.js +1 -10
- 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 +33 -0
- package/api/resources/capabilities/client/Client.js +126 -3
- package/api/resources/capabilities/client/requests/CapabilitiesSearchRequest.d.ts +0 -4
- package/api/resources/capabilities/client/requests/CapabilityExecutionsSearchRequest.d.ts +5 -0
- package/api/resources/capabilities/client/requests/SimulateCapabilityByTypeRequest.d.ts +14 -0
- package/api/resources/capabilities/client/requests/index.d.ts +1 -0
- package/api/resources/capabilities/types/ActionSimulationInput.d.ts +5 -0
- package/api/resources/capabilities/types/CapabilityExecutionBase.d.ts +5 -0
- package/api/resources/capabilities/types/CapabilityExecutionsSearchResponse.d.ts +3 -1
- package/api/resources/capabilities/types/CapabilitySimulationInput.d.ts +11 -0
- package/api/resources/capabilities/types/CapabilitySimulationResult.d.ts +10 -0
- package/api/resources/capabilities/types/ConversationContextSimulationInput.d.ts +14 -0
- package/api/resources/capabilities/types/SimulatedUser.d.ts +9 -0
- package/api/resources/capabilities/types/SimulatedUserData.d.ts +6 -0
- package/api/resources/capabilities/types/index.d.ts +6 -0
- package/api/resources/capabilities/types/index.js +6 -0
- package/api/resources/charters/client/Client.js +4 -4
- package/api/resources/charters/types/CharterBase.d.ts +5 -1
- 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/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/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 +84 -3
- package/api/resources/commons/types/AdditionalDataKey.js +84 -3
- package/api/resources/commons/types/AppUserRequest.d.ts +11 -0
- package/api/resources/commons/types/BaseConversationResponse.d.ts +6 -0
- package/api/resources/commons/types/BotLogicCharterDetail.d.ts +2 -0
- package/api/resources/commons/types/BotMessage.d.ts +6 -1
- 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 +1 -1
- package/api/resources/commons/types/ConversationMetadataValueSource.d.ts +7 -0
- package/api/resources/commons/types/ConversationResponse.d.ts +1 -0
- package/api/resources/commons/types/ConversationSummary.d.ts +5 -3
- package/api/resources/commons/types/ConversationValueSource.d.ts +13 -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 +5 -2
- package/api/resources/commons/types/ErrorReason.js +5 -2
- package/api/resources/commons/types/EventBaseNoId.d.ts +6 -0
- package/api/resources/commons/types/EventFilter.d.ts +3 -0
- package/api/resources/commons/types/EventTriggerType.d.ts +7 -0
- package/api/resources/commons/types/EventTriggerType.js +7 -0
- package/api/resources/commons/types/ExecuteActionResponse.d.ts +14 -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/InitializeConversationResponse.d.ts +40 -0
- 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 +19 -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 +7 -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/UserDataValueSource.d.ts +8 -0
- package/api/resources/commons/types/UserDataValueSource.js +3 -0
- package/api/resources/commons/types/UserEvent.d.ts +1 -1
- package/api/resources/commons/types/UserEventName.d.ts +80 -5
- package/api/resources/commons/types/UserEventName.js +80 -5
- package/api/resources/commons/types/index.d.ts +14 -0
- package/api/resources/commons/types/index.js +14 -0
- package/api/resources/conversation/client/Client.d.ts +53 -29
- package/api/resources/conversation/client/Client.js +65 -40
- package/api/resources/conversation/client/requests/ConversationDeleteRequest.d.ts +1 -1
- package/api/resources/conversation/client/requests/ConversationGetRequest.d.ts +2 -0
- 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/conversation/types/ConversationRequest.d.ts +45 -0
- package/api/resources/conversation/types/DeliverConversationMessageRequest.d.ts +1 -1
- package/api/resources/conversation/types/index.d.ts +0 -3
- package/api/resources/conversation/types/index.js +0 -3
- package/api/resources/customers/client/Client.js +2 -2
- package/api/resources/customers/types/CustomerFilter.d.ts +2 -0
- package/api/resources/customers/types/CustomerResponse.d.ts +2 -2
- package/api/resources/developersCommons/types/BaseDetailApp.d.ts +13 -4
- package/api/resources/developersCommons/types/Link.d.ts +1 -1
- package/api/resources/developersCommons/types/MarketplaceAppDetail.d.ts +2 -1
- 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 +3 -2
- package/api/resources/intelligentFields/client/Client.js +6 -5
- package/api/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.d.ts +0 -2
- 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/knowledge/client/Client.js +13 -13
- package/api/resources/knowledge/types/KnowledgeBaseFunctionBindings.d.ts +12 -0
- package/api/resources/knowledge/types/KnowledgeBaseFunctionBindings.js +3 -0
- 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/knowledge/types/KnowledgeDocumentResponse.d.ts +1 -1
- package/api/resources/knowledge/types/index.d.ts +1 -0
- package/api/resources/knowledge/types/index.js +1 -0
- package/api/resources/organizations/client/Client.d.ts +13 -15
- package/api/resources/organizations/client/Client.js +17 -19
- 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/AgentUserField.d.ts +8 -0
- package/api/resources/users/types/AgentUserField.js +8 -0
- package/api/resources/users/types/AgentUserFilter.d.ts +4 -0
- package/api/resources/users/types/AgentUserSearchRequest.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/auth/AnyAuthProvider.d.ts +23 -0
- package/auth/AnyAuthProvider.js +46 -0
- package/auth/BearerAuthProvider.d.ts +20 -0
- package/auth/BearerAuthProvider.js +82 -0
- package/auth/index.d.ts +2 -0
- package/auth/index.js +5 -1
- 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 +207 -128
- package/serialization/resources/analytics/types/AgentUserGroupBy.d.ts +15 -0
- package/serialization/resources/analytics/types/{FeedbackTableResponse.js → AgentUserGroupBy.js} +10 -6
- package/serialization/resources/analytics/types/AgentUserRowIdentifier.d.ts +2 -0
- package/serialization/resources/analytics/types/AgentUserRowIdentifier.js +2 -0
- package/serialization/resources/analytics/types/AgentUserTableRequest.d.ts +2 -0
- package/serialization/resources/analytics/types/AgentUserTableRequest.js +2 -0
- package/serialization/resources/analytics/types/index.d.ts +1 -10
- package/serialization/resources/analytics/types/index.js +1 -10
- package/serialization/resources/capabilities/client/requests/CapabilitiesSearchRequest.d.ts +0 -2
- package/serialization/resources/capabilities/client/requests/CapabilitiesSearchRequest.js +0 -2
- package/serialization/resources/capabilities/client/requests/CapabilityExecutionsSearchRequest.d.ts +2 -0
- package/serialization/resources/capabilities/client/requests/CapabilityExecutionsSearchRequest.js +2 -0
- package/serialization/resources/capabilities/types/ActionSimulationInput.d.ts +10 -0
- package/serialization/resources/{analytics/types/FeedbackRowIdentifier.js → capabilities/types/ActionSimulationInput.js} +5 -6
- package/serialization/resources/capabilities/types/CapabilityExecutionBase.d.ts +2 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionBase.js +2 -0
- package/serialization/resources/capabilities/types/CapabilitySimulationInput.d.ts +11 -0
- package/serialization/resources/{analytics/types/FeedbackMetric.js → capabilities/types/CapabilitySimulationInput.js} +5 -7
- package/serialization/resources/capabilities/types/CapabilitySimulationResult.d.ts +11 -0
- package/serialization/resources/{analytics/types/FeedbackGroupBy.js → capabilities/types/CapabilitySimulationResult.js} +9 -7
- package/serialization/resources/capabilities/types/ConversationContextSimulationInput.d.ts +12 -0
- package/serialization/resources/capabilities/types/ConversationContextSimulationInput.js +46 -0
- package/serialization/resources/capabilities/types/SimulatedUser.d.ts +10 -0
- package/serialization/resources/{analytics/types/FeedbackAnalyticsRequest.js → capabilities/types/SimulatedUser.js} +6 -5
- package/serialization/resources/capabilities/types/SimulatedUserData.d.ts +10 -0
- package/serialization/resources/capabilities/types/SimulatedUserData.js +42 -0
- package/serialization/resources/capabilities/types/index.d.ts +6 -0
- package/serialization/resources/capabilities/types/index.js +6 -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/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/{conversation/types/FeedbackField.js → commons/types/ActionExecutionStatus.js} +2 -2
- package/serialization/resources/commons/types/AdditionalDataKey.d.ts +1 -1
- package/serialization/resources/commons/types/AdditionalDataKey.js +27 -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/BaseConversationResponse.d.ts +2 -0
- package/serialization/resources/commons/types/BaseConversationResponse.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 +15 -0
- package/serialization/resources/commons/types/ConversationValueSource.js +49 -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 +1 -0
- package/serialization/resources/commons/types/EventBaseNoId.d.ts +2 -0
- package/serialization/resources/commons/types/EventBaseNoId.js +2 -0
- package/serialization/resources/commons/types/EventFilter.d.ts +2 -0
- package/serialization/resources/commons/types/EventFilter.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/{analytics/types/FeedbackDistinctCount.js → commons/types/FunctionVersionBinding.js} +5 -4
- 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/{analytics/types/FeedbackCount.js → commons/types/SimulationActionCallApp.js} +2 -2
- package/serialization/resources/commons/types/SimulationActionMock.d.ts +12 -0
- package/serialization/resources/{analytics/types/FeedbackColumnDefinition.js → commons/types/SimulationActionMock.js} +7 -8
- 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/UserDataValueSource.d.ts +9 -0
- package/serialization/resources/commons/types/UserDataValueSource.js +41 -0
- package/serialization/resources/commons/types/UserEventName.d.ts +1 -1
- package/serialization/resources/commons/types/UserEventName.js +25 -0
- package/serialization/resources/commons/types/index.d.ts +14 -0
- package/serialization/resources/commons/types/index.js +14 -0
- package/serialization/resources/conversation/types/ConversationFilter.d.ts +1 -1
- package/serialization/resources/conversation/types/ConversationFilter.js +1 -1
- package/serialization/resources/conversation/types/index.d.ts +0 -3
- package/serialization/resources/conversation/types/index.js +0 -3
- package/serialization/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.d.ts +0 -1
- package/serialization/resources/intelligentFields/client/requests/IntelligentFieldPatchRequest.js +0 -1
- package/serialization/resources/knowledge/types/KnowledgeBaseFunctionBindings.d.ts +12 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseFunctionBindings.js +44 -0
- package/serialization/resources/knowledge/types/index.d.ts +1 -0
- package/serialization/resources/knowledge/types/index.js +1 -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/AgentUserField.d.ts +1 -1
- package/serialization/resources/users/types/AgentUserField.js +1 -1
- 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/analytics/types/FeedbackAnalyticsRequest.d.ts +0 -11
- package/api/resources/analytics/types/FeedbackColumnDefinition.d.ts +0 -5
- package/api/resources/analytics/types/FeedbackCount.d.ts +0 -4
- package/api/resources/analytics/types/FeedbackDistinctCount.d.ts +0 -9
- package/api/resources/analytics/types/FeedbackGroupBy.d.ts +0 -5
- package/api/resources/analytics/types/FeedbackMetric.d.ts +0 -13
- package/api/resources/analytics/types/FeedbackRow.d.ts +0 -11
- package/api/resources/analytics/types/FeedbackRowIdentifier.d.ts +0 -5
- package/api/resources/analytics/types/FeedbackTableRequest.d.ts +0 -38
- package/api/resources/analytics/types/FeedbackTableResponse.d.ts +0 -56
- package/api/resources/conversation/types/FeedbackField.d.ts +0 -7
- package/api/resources/conversation/types/FeedbackField.js +0 -10
- package/api/resources/conversation/types/FeedbackFilter.d.ts +0 -9
- package/serialization/resources/analytics/types/FeedbackAnalyticsRequest.d.ts +0 -11
- package/serialization/resources/analytics/types/FeedbackColumnDefinition.d.ts +0 -11
- package/serialization/resources/analytics/types/FeedbackCount.d.ts +0 -7
- package/serialization/resources/analytics/types/FeedbackDistinctCount.d.ts +0 -10
- package/serialization/resources/analytics/types/FeedbackGroupBy.d.ts +0 -11
- package/serialization/resources/analytics/types/FeedbackMetric.d.ts +0 -15
- package/serialization/resources/analytics/types/FeedbackRow.d.ts +0 -14
- package/serialization/resources/analytics/types/FeedbackRow.js +0 -48
- package/serialization/resources/analytics/types/FeedbackRowIdentifier.d.ts +0 -11
- package/serialization/resources/analytics/types/FeedbackTableRequest.d.ts +0 -15
- package/serialization/resources/analytics/types/FeedbackTableRequest.js +0 -49
- package/serialization/resources/analytics/types/FeedbackTableResponse.d.ts +0 -11
- package/serialization/resources/conversation/types/FeedbackField.d.ts +0 -7
- package/serialization/resources/conversation/types/FeedbackFilter.d.ts +0 -15
- package/serialization/resources/conversation/types/FeedbackFilter.js +0 -47
- /package/api/resources/analytics/types/{FeedbackAnalyticsRequest.js → AgentUserGroupBy.js} +0 -0
- /package/api/resources/{analytics/types/FeedbackColumnDefinition.js → capabilities/client/requests/SimulateCapabilityByTypeRequest.js} +0 -0
- /package/api/resources/{analytics/types/FeedbackCount.js → capabilities/types/ActionSimulationInput.js} +0 -0
- /package/api/resources/{analytics/types/FeedbackDistinctCount.js → capabilities/types/CapabilitySimulationInput.js} +0 -0
- /package/api/resources/{analytics/types/FeedbackGroupBy.js → capabilities/types/CapabilitySimulationResult.js} +0 -0
- /package/api/resources/{analytics/types/FeedbackMetric.js → capabilities/types/ConversationContextSimulationInput.js} +0 -0
- /package/api/resources/{analytics/types/FeedbackRow.js → capabilities/types/SimulatedUser.js} +0 -0
- /package/api/resources/{analytics/types/FeedbackRowIdentifier.js → capabilities/types/SimulatedUserData.js} +0 -0
- /package/api/resources/{charters → commons}/types/CharterType.d.ts +0 -0
- /package/api/resources/{charters → commons}/types/CharterType.js +0 -0
- /package/api/resources/{analytics/types/FeedbackTableRequest.js → commons/types/ConversationMetadataValueSource.js} +0 -0
- /package/api/resources/{analytics/types/FeedbackTableResponse.js → commons/types/ConversationValueSource.js} +0 -0
- /package/api/resources/{conversation/types/FeedbackFilter.js → commons/types/ExecuteActionResponse.js} +0 -0
- /package/api/resources/{conversation → commons}/types/SimulationFilter.d.ts +0 -0
- /package/api/resources/{conversation → commons}/types/SimulationFilter.js +0 -0
- /package/serialization/resources/{charters → commons}/types/CharterType.d.ts +0 -0
- /package/serialization/resources/{charters → commons}/types/CharterType.js +0 -0
- /package/serialization/resources/{conversation → commons}/types/SimulationFilter.d.ts +0 -0
- /package/serialization/resources/{conversation → commons}/types/SimulationFilter.js +0 -0
package/reference.md
CHANGED
|
@@ -1062,86 +1062,6 @@ await client.analytics.exportConversationTable({
|
|
|
1062
1062
|
</dl>
|
|
1063
1063
|
|
|
1064
1064
|
|
|
1065
|
-
</dd>
|
|
1066
|
-
</dl>
|
|
1067
|
-
</details>
|
|
1068
|
-
|
|
1069
|
-
<details><summary><code>client.analytics.<a href="/src/api/resources/analytics/client/Client.ts">getFeedbackTable</a>({ ...params }) -> MavenAGI.FeedbackTableResponse</code></summary>
|
|
1070
|
-
<dl>
|
|
1071
|
-
<dd>
|
|
1072
|
-
|
|
1073
|
-
#### 📝 Description
|
|
1074
|
-
|
|
1075
|
-
<dl>
|
|
1076
|
-
<dd>
|
|
1077
|
-
|
|
1078
|
-
<dl>
|
|
1079
|
-
<dd>
|
|
1080
|
-
|
|
1081
|
-
Deprecated. Use `getEventTable` instead, which reports the same thumbs up/down and insert
|
|
1082
|
-
activity as user events.
|
|
1083
|
-
|
|
1084
|
-
Retrieves structured feedback data formatted as a table, allowing users to group, filter,
|
|
1085
|
-
and define specific metrics to display as columns.
|
|
1086
|
-
</dd>
|
|
1087
|
-
</dl>
|
|
1088
|
-
</dd>
|
|
1089
|
-
</dl>
|
|
1090
|
-
|
|
1091
|
-
#### 🔌 Usage
|
|
1092
|
-
|
|
1093
|
-
<dl>
|
|
1094
|
-
<dd>
|
|
1095
|
-
|
|
1096
|
-
<dl>
|
|
1097
|
-
<dd>
|
|
1098
|
-
|
|
1099
|
-
```typescript
|
|
1100
|
-
await client.analytics.getFeedbackTable({
|
|
1101
|
-
feedbackFilter: {
|
|
1102
|
-
types: ["THUMBS_UP", "INSERT"]
|
|
1103
|
-
},
|
|
1104
|
-
fieldGroupings: [{
|
|
1105
|
-
field: "CreatedBy"
|
|
1106
|
-
}],
|
|
1107
|
-
columnDefinitions: [{
|
|
1108
|
-
header: "feedback_count",
|
|
1109
|
-
metric: {
|
|
1110
|
-
type: "count"
|
|
1111
|
-
}
|
|
1112
|
-
}]
|
|
1113
|
-
});
|
|
1114
|
-
|
|
1115
|
-
```
|
|
1116
|
-
</dd>
|
|
1117
|
-
</dl>
|
|
1118
|
-
</dd>
|
|
1119
|
-
</dl>
|
|
1120
|
-
|
|
1121
|
-
#### ⚙️ Parameters
|
|
1122
|
-
|
|
1123
|
-
<dl>
|
|
1124
|
-
<dd>
|
|
1125
|
-
|
|
1126
|
-
<dl>
|
|
1127
|
-
<dd>
|
|
1128
|
-
|
|
1129
|
-
**request:** `MavenAGI.FeedbackTableRequest`
|
|
1130
|
-
|
|
1131
|
-
</dd>
|
|
1132
|
-
</dl>
|
|
1133
|
-
|
|
1134
|
-
<dl>
|
|
1135
|
-
<dd>
|
|
1136
|
-
|
|
1137
|
-
**requestOptions:** `AnalyticsClient.RequestOptions`
|
|
1138
|
-
|
|
1139
|
-
</dd>
|
|
1140
|
-
</dl>
|
|
1141
|
-
</dd>
|
|
1142
|
-
</dl>
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
1065
|
</dd>
|
|
1146
1066
|
</dl>
|
|
1147
1067
|
</details>
|
|
@@ -2373,6 +2293,97 @@ await client.capabilities.deleteCapability("ACTION", "referenceId");
|
|
|
2373
2293
|
</dl>
|
|
2374
2294
|
|
|
2375
2295
|
|
|
2296
|
+
</dd>
|
|
2297
|
+
</dl>
|
|
2298
|
+
</details>
|
|
2299
|
+
|
|
2300
|
+
<details><summary><code>client.capabilities.<a href="/src/api/resources/capabilities/client/Client.ts">simulateCapability</a>(capabilityType, referenceId, { ...params }) -> MavenAGI.CapabilitySimulationResult</code></summary>
|
|
2301
|
+
<dl>
|
|
2302
|
+
<dd>
|
|
2303
|
+
|
|
2304
|
+
#### 📝 Description
|
|
2305
|
+
|
|
2306
|
+
<dl>
|
|
2307
|
+
<dd>
|
|
2308
|
+
|
|
2309
|
+
<dl>
|
|
2310
|
+
<dd>
|
|
2311
|
+
|
|
2312
|
+
Run one of an agent's capabilities once, as a simulation, and return what it produced.
|
|
2313
|
+
|
|
2314
|
+
The caller supplies everything the capability reads, so it runs in isolation: no
|
|
2315
|
+
conversation or agent user has to exist first. The capability is told its mode is
|
|
2316
|
+
`SIMULATION`, the same as in a test suite run, so an app that honours it can avoid side
|
|
2317
|
+
effects in real systems. Nothing here runs a capability live.
|
|
2318
|
+
|
|
2319
|
+
Only actions can be simulated today. Triggers and conversation kickoffs are rejected with a
|
|
2320
|
+
400 until they can run as simulations. Intelligent fields cannot be simulated.
|
|
2321
|
+
</dd>
|
|
2322
|
+
</dl>
|
|
2323
|
+
</dd>
|
|
2324
|
+
</dl>
|
|
2325
|
+
|
|
2326
|
+
#### 🔌 Usage
|
|
2327
|
+
|
|
2328
|
+
<dl>
|
|
2329
|
+
<dd>
|
|
2330
|
+
|
|
2331
|
+
<dl>
|
|
2332
|
+
<dd>
|
|
2333
|
+
|
|
2334
|
+
```typescript
|
|
2335
|
+
await client.capabilities.simulateCapability("ACTION", "referenceId", {
|
|
2336
|
+
body: {
|
|
2337
|
+
capabilityType: "ACTION"
|
|
2338
|
+
}
|
|
2339
|
+
});
|
|
2340
|
+
|
|
2341
|
+
```
|
|
2342
|
+
</dd>
|
|
2343
|
+
</dl>
|
|
2344
|
+
</dd>
|
|
2345
|
+
</dl>
|
|
2346
|
+
|
|
2347
|
+
#### ⚙️ Parameters
|
|
2348
|
+
|
|
2349
|
+
<dl>
|
|
2350
|
+
<dd>
|
|
2351
|
+
|
|
2352
|
+
<dl>
|
|
2353
|
+
<dd>
|
|
2354
|
+
|
|
2355
|
+
**capabilityType:** `MavenAGI.CapabilityType` — Which kind of capability to simulate. Must match the body's `capabilityType`.
|
|
2356
|
+
|
|
2357
|
+
</dd>
|
|
2358
|
+
</dl>
|
|
2359
|
+
|
|
2360
|
+
<dl>
|
|
2361
|
+
<dd>
|
|
2362
|
+
|
|
2363
|
+
**referenceId:** `string` — The capability's reference ID, unique within its type and app.
|
|
2364
|
+
|
|
2365
|
+
</dd>
|
|
2366
|
+
</dl>
|
|
2367
|
+
|
|
2368
|
+
<dl>
|
|
2369
|
+
<dd>
|
|
2370
|
+
|
|
2371
|
+
**request:** `MavenAGI.SimulateCapabilityByTypeRequest`
|
|
2372
|
+
|
|
2373
|
+
</dd>
|
|
2374
|
+
</dl>
|
|
2375
|
+
|
|
2376
|
+
<dl>
|
|
2377
|
+
<dd>
|
|
2378
|
+
|
|
2379
|
+
**requestOptions:** `CapabilitiesClient.RequestOptions`
|
|
2380
|
+
|
|
2381
|
+
</dd>
|
|
2382
|
+
</dl>
|
|
2383
|
+
</dd>
|
|
2384
|
+
</dl>
|
|
2385
|
+
|
|
2386
|
+
|
|
2376
2387
|
</dd>
|
|
2377
2388
|
</dl>
|
|
2378
2389
|
</details>
|
|
@@ -3210,27 +3221,9 @@ After initialization,
|
|
|
3210
3221
|
```typescript
|
|
3211
3222
|
await client.conversation.initialize({
|
|
3212
3223
|
conversationId: {
|
|
3213
|
-
referenceId: "
|
|
3224
|
+
referenceId: "conversation-0"
|
|
3214
3225
|
},
|
|
3215
|
-
messages: [
|
|
3216
|
-
conversationMessageId: {
|
|
3217
|
-
referenceId: "x"
|
|
3218
|
-
},
|
|
3219
|
-
userId: {
|
|
3220
|
-
referenceId: "x"
|
|
3221
|
-
},
|
|
3222
|
-
text: "text",
|
|
3223
|
-
userMessageType: "USER"
|
|
3224
|
-
}, {
|
|
3225
|
-
conversationMessageId: {
|
|
3226
|
-
referenceId: "x"
|
|
3227
|
-
},
|
|
3228
|
-
userId: {
|
|
3229
|
-
referenceId: "x"
|
|
3230
|
-
},
|
|
3231
|
-
text: "text",
|
|
3232
|
-
userMessageType: "USER"
|
|
3233
|
-
}]
|
|
3226
|
+
messages: []
|
|
3234
3227
|
});
|
|
3235
3228
|
|
|
3236
3229
|
```
|
|
@@ -3429,17 +3422,19 @@ await client.conversation.get("conversationId");
|
|
|
3429
3422
|
<dl>
|
|
3430
3423
|
<dd>
|
|
3431
3424
|
|
|
3432
|
-
Wipes
|
|
3433
|
-
The conversation ID
|
|
3434
|
-
|
|
3435
|
-
|
|
3425
|
+
Wipes the user content from a conversation.
|
|
3426
|
+
The conversation and its ID still exist afterwards, and so does its non-content data, so it still counts in metrics.
|
|
3427
|
+
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.
|
|
3428
|
+
A `202 Accepted` response means the wipe is still completing and will finish on its own.
|
|
3436
3429
|
|
|
3437
3430
|
Simulation conversations will no longer be visible in search results nor metrics.
|
|
3438
|
-
Non-simulation conversations
|
|
3431
|
+
Non-simulation conversations remain visible; they cannot be fully removed from the system.
|
|
3439
3432
|
|
|
3440
3433
|
<Warning>This is a destructive operation and cannot be undone. <br/><br/>
|
|
3441
|
-
|
|
3442
|
-
|
|
3434
|
+
What is wiped: the conversation's `subject` and `analysis.agentResponse` are cleared, and `analysis.userRequest` is replaced with `reason`.
|
|
3435
|
+
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.
|
|
3436
|
+
Evaluation results for the conversation are deleted, and the payloads recorded on its trigger and action executions are cleared. <br/><br/>
|
|
3437
|
+
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>
|
|
3443
3438
|
</dd>
|
|
3444
3439
|
</dl>
|
|
3445
3440
|
</dd>
|
|
@@ -4406,9 +4401,11 @@ await client.conversation.export({});
|
|
|
4406
4401
|
|
|
4407
4402
|
Deliver a message to a user or conversation.
|
|
4408
4403
|
|
|
4404
|
+
A closed conversation (`open` set to false) takes no new messages and returns a 400.
|
|
4405
|
+
|
|
4409
4406
|
<Warning>
|
|
4410
|
-
Currently, messages can only be successfully delivered to conversations with the `ASYNC` capability
|
|
4411
|
-
User message delivery is not yet supported.
|
|
4407
|
+
Currently, messages can only be successfully delivered to conversations with the `ASYNC` capability.
|
|
4408
|
+
User message delivery is not yet supported and returns a 400.
|
|
4412
4409
|
</Warning>
|
|
4413
4410
|
</dd>
|
|
4414
4411
|
</dl>
|
|
@@ -5964,8 +5961,9 @@ deletes any kind of capability the same way. That endpoint returns no body.
|
|
|
5964
5961
|
Soft delete an intelligent field. Only INACTIVE fields can be deleted.
|
|
5965
5962
|
|
|
5966
5963
|
Deleted fields are excluded from search results, and getting one by ID returns 404.
|
|
5967
|
-
Creating a
|
|
5968
|
-
|
|
5964
|
+
Creating a field with the same referenceId as a deleted field reclaims it: the field keeps
|
|
5965
|
+
its identity and entityType, every other setting comes from the request, and it gets the
|
|
5966
|
+
status a new field gets.
|
|
5969
5967
|
|
|
5970
5968
|
Deleted fields cannot be modified.
|
|
5971
5969
|
</dd>
|
|
@@ -7356,9 +7354,9 @@ await client.knowledge.patchKnowledgeDocument("help-center", "how-it-works", {
|
|
|
7356
7354
|
|
|
7357
7355
|
Create a new organization.
|
|
7358
7356
|
|
|
7359
|
-
|
|
7360
|
-
|
|
7361
|
-
|
|
7357
|
+
Only Maven staff hold this permission.
|
|
7358
|
+
|
|
7359
|
+
<Note>**Required permission:** `create:organization`</Note>
|
|
7362
7360
|
</dd>
|
|
7363
7361
|
</dl>
|
|
7364
7362
|
</dd>
|
|
@@ -7433,6 +7431,8 @@ await client.organizations.create("organizationReferenceId", {
|
|
|
7433
7431
|
<dd>
|
|
7434
7432
|
|
|
7435
7433
|
Get an organization by ID
|
|
7434
|
+
|
|
7435
|
+
<Note>**Required permission:** `read:organization`</Note>
|
|
7436
7436
|
</dd>
|
|
7437
7437
|
</dl>
|
|
7438
7438
|
</dd>
|
|
@@ -7498,9 +7498,7 @@ await client.organizations.get("organizationReferenceId");
|
|
|
7498
7498
|
Update mutable organization fields.
|
|
7499
7499
|
All fields will overwrite the existing value on the organization only if provided.
|
|
7500
7500
|
|
|
7501
|
-
<
|
|
7502
|
-
This endpoint requires additional permissions. Contact support to request access.
|
|
7503
|
-
</Tip>
|
|
7501
|
+
<Note>**Required permission:** `edit:organization`</Note>
|
|
7504
7502
|
</dd>
|
|
7505
7503
|
</dl>
|
|
7506
7504
|
</dd>
|
|
@@ -7573,9 +7571,7 @@ await client.organizations.patch("organizationReferenceId", {});
|
|
|
7573
7571
|
|
|
7574
7572
|
Delete an organization.
|
|
7575
7573
|
|
|
7576
|
-
<
|
|
7577
|
-
This endpoint requires additional permissions. Contact support to request access.
|
|
7578
|
-
</Tip>
|
|
7574
|
+
<Note>**Required permission:** `delete:organization`</Note>
|
|
7579
7575
|
</dd>
|
|
7580
7576
|
</dl>
|
|
7581
7577
|
</dd>
|
|
@@ -7641,9 +7637,9 @@ await client.organizations.delete("organizationReferenceId");
|
|
|
7641
7637
|
Retrieves structured conversation data across all organizations, formatted as a table,
|
|
7642
7638
|
allowing users to group, filter, and define specific metrics to display as columns.
|
|
7643
7639
|
|
|
7644
|
-
|
|
7645
|
-
|
|
7646
|
-
|
|
7640
|
+
Only Maven staff hold this permission.
|
|
7641
|
+
|
|
7642
|
+
<Note>**Required permission:** `read:all-organizations`</Note>
|
|
7647
7643
|
</dd>
|
|
7648
7644
|
</dl>
|
|
7649
7645
|
</dd>
|
|
@@ -7736,9 +7732,9 @@ await client.organizations.getConversationTable({
|
|
|
7736
7732
|
Fetches conversation data across all organizations, visualized in a chart format.
|
|
7737
7733
|
Supported chart types include pie chart, date histogram, and stacked bar charts.
|
|
7738
7734
|
|
|
7739
|
-
|
|
7740
|
-
|
|
7741
|
-
|
|
7735
|
+
Only Maven staff hold this permission.
|
|
7736
|
+
|
|
7737
|
+
<Note>**Required permission:** `read:all-organizations`</Note>
|
|
7742
7738
|
</dd>
|
|
7743
7739
|
</dl>
|
|
7744
7740
|
</dd>
|
|
@@ -8088,7 +8084,7 @@ await client.segments.patch("segmentReferenceId", {});
|
|
|
8088
8084
|
|
|
8089
8085
|
Soft delete a segment. Only INACTIVE segments can be deleted.
|
|
8090
8086
|
|
|
8091
|
-
Deleted segments are excluded from search results but can still be retrieved by ID for archival purposes. Creating a
|
|
8087
|
+
Deleted segments are excluded from search results but can still be retrieved by ID for archival purposes. Creating a segment with the same referenceId as a deleted segment reclaims it: the segment keeps its identity, and every other setting comes from the request.
|
|
8092
8088
|
|
|
8093
8089
|
Deleted segments cannot be modified.
|
|
8094
8090
|
</dd>
|
|
@@ -8684,6 +8680,84 @@ await client.users.getAgentUser("aus_1234567890");
|
|
|
8684
8680
|
</dl>
|
|
8685
8681
|
|
|
8686
8682
|
|
|
8683
|
+
</dd>
|
|
8684
|
+
</dl>
|
|
8685
|
+
</details>
|
|
8686
|
+
|
|
8687
|
+
<details><summary><code>client.users.<a href="/src/api/resources/users/client/Client.ts">deleteAgentUser</a>(agentUserId) -> void</code></summary>
|
|
8688
|
+
<dl>
|
|
8689
|
+
<dd>
|
|
8690
|
+
|
|
8691
|
+
#### 📝 Description
|
|
8692
|
+
|
|
8693
|
+
<dl>
|
|
8694
|
+
<dd>
|
|
8695
|
+
|
|
8696
|
+
<dl>
|
|
8697
|
+
<dd>
|
|
8698
|
+
|
|
8699
|
+
Deletes the identifiers and user data that every app has saved for an agent user.
|
|
8700
|
+
This is the same as calling `DELETE /users/{userId}` for each of the agent user's app users.
|
|
8701
|
+
|
|
8702
|
+
The agent user and its app users still exist afterwards, with no identifiers or user data.
|
|
8703
|
+
Apps can keep writing to them; a later create or update adds data back to the same users.
|
|
8704
|
+
|
|
8705
|
+
Conversations, their messages and events are not modified, apart from the intelligent field values below. To wipe a conversation, use `DELETE /conversations/{conversationId}`.
|
|
8706
|
+
|
|
8707
|
+
If the ID belongs to an agent user that has been merged into another, the agent user it was merged into is wiped.
|
|
8708
|
+
|
|
8709
|
+
<Warning>This is a destructive operation and cannot be undone.</Warning>
|
|
8710
|
+
|
|
8711
|
+
### Intelligent fields
|
|
8712
|
+
|
|
8713
|
+
The agent user's intelligent field values are deleted too, and removed from their `INTELLIGENT_FIELD_VALUE_CHANGED` events; the events themselves are kept.
|
|
8714
|
+
Unlike `DELETE /users/{userId}`, the wipe does not recompute the values. They can be computed again later from the user's remaining conversations, for example after the user sends another message; wipe those conversations first to prevent that.
|
|
8715
|
+
</dd>
|
|
8716
|
+
</dl>
|
|
8717
|
+
</dd>
|
|
8718
|
+
</dl>
|
|
8719
|
+
|
|
8720
|
+
#### 🔌 Usage
|
|
8721
|
+
|
|
8722
|
+
<dl>
|
|
8723
|
+
<dd>
|
|
8724
|
+
|
|
8725
|
+
<dl>
|
|
8726
|
+
<dd>
|
|
8727
|
+
|
|
8728
|
+
```typescript
|
|
8729
|
+
await client.users.deleteAgentUser("aus_1234567890");
|
|
8730
|
+
|
|
8731
|
+
```
|
|
8732
|
+
</dd>
|
|
8733
|
+
</dl>
|
|
8734
|
+
</dd>
|
|
8735
|
+
</dl>
|
|
8736
|
+
|
|
8737
|
+
#### ⚙️ Parameters
|
|
8738
|
+
|
|
8739
|
+
<dl>
|
|
8740
|
+
<dd>
|
|
8741
|
+
|
|
8742
|
+
<dl>
|
|
8743
|
+
<dd>
|
|
8744
|
+
|
|
8745
|
+
**agentUserId:** `string` — The ID of the agent user to wipe.
|
|
8746
|
+
|
|
8747
|
+
</dd>
|
|
8748
|
+
</dl>
|
|
8749
|
+
|
|
8750
|
+
<dl>
|
|
8751
|
+
<dd>
|
|
8752
|
+
|
|
8753
|
+
**requestOptions:** `UsersClient.RequestOptions`
|
|
8754
|
+
|
|
8755
|
+
</dd>
|
|
8756
|
+
</dl>
|
|
8757
|
+
</dd>
|
|
8758
|
+
</dl>
|
|
8759
|
+
|
|
8760
|
+
|
|
8687
8761
|
</dd>
|
|
8688
8762
|
</dl>
|
|
8689
8763
|
</details>
|
|
@@ -8848,9 +8922,14 @@ await client.users.get("user-0");
|
|
|
8848
8922
|
<dl>
|
|
8849
8923
|
<dd>
|
|
8850
8924
|
|
|
8851
|
-
Deletes all identifiers and user data saved by the specified app.
|
|
8925
|
+
Deletes all identifiers and user data saved by the specified app for this user.
|
|
8852
8926
|
Does not modify data or identifiers saved by other apps.
|
|
8853
8927
|
|
|
8928
|
+
The app user still exists afterwards, with no identifiers or user data, and the app can keep writing to it.
|
|
8929
|
+
Conversations, their messages and events are not modified.
|
|
8930
|
+
The agent user's intelligent field values are not deleted; they are recomputed without this app's data.
|
|
8931
|
+
To wipe a conversation, use `DELETE /conversations/{conversationId}`. To wipe every app's data for a user, use `DELETE /agentusers/{agentUserId}`.
|
|
8932
|
+
|
|
8854
8933
|
If this user is linked to a user from another app, it will not be unlinked. Unlinking of users is not yet supported.
|
|
8855
8934
|
|
|
8856
8935
|
<Warning>This is a destructive operation and cannot be undone.</Warning>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { EntityId } from "../../commons/types/EntityId";
|
|
5
|
+
import { AgentUserField } from "../../users/types/AgentUserField";
|
|
6
|
+
import { GroupByBase } from "./GroupByBase";
|
|
7
|
+
import { Range } from "./Range";
|
|
8
|
+
export declare const AgentUserGroupBy: core.serialization.ObjectSchema<serializers.AgentUserGroupBy.Raw, MavenAGI.AgentUserGroupBy>;
|
|
9
|
+
export declare namespace AgentUserGroupBy {
|
|
10
|
+
interface Raw extends GroupByBase.Raw {
|
|
11
|
+
field: AgentUserField.Raw;
|
|
12
|
+
intelligentFieldId?: EntityId.Raw | null;
|
|
13
|
+
ranges?: Range.Raw[] | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
package/serialization/resources/analytics/types/{FeedbackTableResponse.js → AgentUserGroupBy.js}
RENAMED
|
@@ -34,12 +34,16 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
37
|
+
exports.AgentUserGroupBy = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
-
const
|
|
40
|
-
const
|
|
41
|
-
|
|
39
|
+
const EntityId_1 = require("../../commons/types/EntityId");
|
|
40
|
+
const AgentUserField_1 = require("../../users/types/AgentUserField");
|
|
41
|
+
const GroupByBase_1 = require("./GroupByBase");
|
|
42
|
+
const Range_1 = require("./Range");
|
|
43
|
+
exports.AgentUserGroupBy = core.serialization
|
|
42
44
|
.object({
|
|
43
|
-
|
|
45
|
+
field: AgentUserField_1.AgentUserField,
|
|
46
|
+
intelligentFieldId: EntityId_1.EntityId.optional(),
|
|
47
|
+
ranges: core.serialization.list(Range_1.Range).optional(),
|
|
44
48
|
})
|
|
45
|
-
.extend(
|
|
49
|
+
.extend(GroupByBase_1.GroupByBase);
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../../api/index";
|
|
2
2
|
import * as core from "../../../../core";
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
|
+
import { EntityId } from "../../commons/types/EntityId";
|
|
4
5
|
import { AgentUserField } from "../../users/types/AgentUserField";
|
|
5
6
|
import { RowIdentifierBase } from "./RowIdentifierBase";
|
|
6
7
|
export declare const AgentUserRowIdentifier: core.serialization.ObjectSchema<serializers.AgentUserRowIdentifier.Raw, MavenAGI.AgentUserRowIdentifier>;
|
|
7
8
|
export declare namespace AgentUserRowIdentifier {
|
|
8
9
|
interface Raw extends RowIdentifierBase.Raw {
|
|
9
10
|
field: AgentUserField.Raw;
|
|
11
|
+
intelligentFieldId?: EntityId.Raw | null;
|
|
10
12
|
}
|
|
11
13
|
}
|
|
@@ -36,10 +36,12 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.AgentUserRowIdentifier = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const EntityId_1 = require("../../commons/types/EntityId");
|
|
39
40
|
const AgentUserField_1 = require("../../users/types/AgentUserField");
|
|
40
41
|
const RowIdentifierBase_1 = require("./RowIdentifierBase");
|
|
41
42
|
exports.AgentUserRowIdentifier = core.serialization
|
|
42
43
|
.object({
|
|
43
44
|
field: AgentUserField_1.AgentUserField,
|
|
45
|
+
intelligentFieldId: EntityId_1.EntityId.optional(),
|
|
44
46
|
})
|
|
45
47
|
.extend(RowIdentifierBase_1.RowIdentifierBase);
|
|
@@ -3,11 +3,13 @@ import * as core from "../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
import { AgentUserAnalyticsRequest } from "./AgentUserAnalyticsRequest";
|
|
5
5
|
import { AgentUserColumnDefinition } from "./AgentUserColumnDefinition";
|
|
6
|
+
import { AgentUserGroupBy } from "./AgentUserGroupBy";
|
|
6
7
|
import { TimeInterval } from "./TimeInterval";
|
|
7
8
|
export declare const AgentUserTableRequest: core.serialization.ObjectSchema<serializers.AgentUserTableRequest.Raw, MavenAGI.AgentUserTableRequest>;
|
|
8
9
|
export declare namespace AgentUserTableRequest {
|
|
9
10
|
interface Raw extends AgentUserAnalyticsRequest.Raw {
|
|
10
11
|
timeGrouping?: TimeInterval.Raw | null;
|
|
12
|
+
fieldGroupings?: AgentUserGroupBy.Raw[] | null;
|
|
11
13
|
columnDefinitions: AgentUserColumnDefinition.Raw[];
|
|
12
14
|
}
|
|
13
15
|
}
|
|
@@ -38,10 +38,12 @@ exports.AgentUserTableRequest = void 0;
|
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const AgentUserAnalyticsRequest_1 = require("./AgentUserAnalyticsRequest");
|
|
40
40
|
const AgentUserColumnDefinition_1 = require("./AgentUserColumnDefinition");
|
|
41
|
+
const AgentUserGroupBy_1 = require("./AgentUserGroupBy");
|
|
41
42
|
const TimeInterval_1 = require("./TimeInterval");
|
|
42
43
|
exports.AgentUserTableRequest = core.serialization
|
|
43
44
|
.object({
|
|
44
45
|
timeGrouping: TimeInterval_1.TimeInterval.optional(),
|
|
46
|
+
fieldGroupings: core.serialization.list(AgentUserGroupBy_1.AgentUserGroupBy).optional(),
|
|
45
47
|
columnDefinitions: core.serialization.list(AgentUserColumnDefinition_1.AgentUserColumnDefinition),
|
|
46
48
|
})
|
|
47
49
|
.extend(AgentUserAnalyticsRequest_1.AgentUserAnalyticsRequest);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./AgentUserAnalyticsRequest";
|
|
2
2
|
export * from "./AgentUserColumnDefinition";
|
|
3
3
|
export * from "./AgentUserCount";
|
|
4
|
+
export * from "./AgentUserGroupBy";
|
|
4
5
|
export * from "./AgentUserMetric";
|
|
5
6
|
export * from "./AgentUserRow";
|
|
6
7
|
export * from "./AgentUserRowIdentifier";
|
|
@@ -47,16 +48,6 @@ export * from "./EventRow";
|
|
|
47
48
|
export * from "./EventRowIdentifier";
|
|
48
49
|
export * from "./EventTableRequest";
|
|
49
50
|
export * from "./EventTableResponse";
|
|
50
|
-
export * from "./FeedbackAnalyticsRequest";
|
|
51
|
-
export * from "./FeedbackColumnDefinition";
|
|
52
|
-
export * from "./FeedbackCount";
|
|
53
|
-
export * from "./FeedbackDistinctCount";
|
|
54
|
-
export * from "./FeedbackGroupBy";
|
|
55
|
-
export * from "./FeedbackMetric";
|
|
56
|
-
export * from "./FeedbackRow";
|
|
57
|
-
export * from "./FeedbackRowIdentifier";
|
|
58
|
-
export * from "./FeedbackTableRequest";
|
|
59
|
-
export * from "./FeedbackTableResponse";
|
|
60
51
|
export * from "./FieldValue";
|
|
61
52
|
export * from "./GroupByBase";
|
|
62
53
|
export * from "./LabeledPoint";
|
|
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./AgentUserAnalyticsRequest"), exports);
|
|
18
18
|
__exportStar(require("./AgentUserColumnDefinition"), exports);
|
|
19
19
|
__exportStar(require("./AgentUserCount"), exports);
|
|
20
|
+
__exportStar(require("./AgentUserGroupBy"), exports);
|
|
20
21
|
__exportStar(require("./AgentUserMetric"), exports);
|
|
21
22
|
__exportStar(require("./AgentUserRow"), exports);
|
|
22
23
|
__exportStar(require("./AgentUserRowIdentifier"), exports);
|
|
@@ -63,16 +64,6 @@ __exportStar(require("./EventRow"), exports);
|
|
|
63
64
|
__exportStar(require("./EventRowIdentifier"), exports);
|
|
64
65
|
__exportStar(require("./EventTableRequest"), exports);
|
|
65
66
|
__exportStar(require("./EventTableResponse"), exports);
|
|
66
|
-
__exportStar(require("./FeedbackAnalyticsRequest"), exports);
|
|
67
|
-
__exportStar(require("./FeedbackColumnDefinition"), exports);
|
|
68
|
-
__exportStar(require("./FeedbackCount"), exports);
|
|
69
|
-
__exportStar(require("./FeedbackDistinctCount"), exports);
|
|
70
|
-
__exportStar(require("./FeedbackGroupBy"), exports);
|
|
71
|
-
__exportStar(require("./FeedbackMetric"), exports);
|
|
72
|
-
__exportStar(require("./FeedbackRow"), exports);
|
|
73
|
-
__exportStar(require("./FeedbackRowIdentifier"), exports);
|
|
74
|
-
__exportStar(require("./FeedbackTableRequest"), exports);
|
|
75
|
-
__exportStar(require("./FeedbackTableResponse"), exports);
|
|
76
67
|
__exportStar(require("./FieldValue"), exports);
|
|
77
68
|
__exportStar(require("./GroupByBase"), exports);
|
|
78
69
|
__exportStar(require("./LabeledPoint"), exports);
|
|
@@ -17,7 +17,5 @@ export declare namespace CapabilitiesSearchRequest {
|
|
|
17
17
|
userInteractionRequired?: boolean | null;
|
|
18
18
|
sortId?: CapabilitySortField.Raw | null;
|
|
19
19
|
variantId?: EntityIdWithoutAgent.Raw | null;
|
|
20
|
-
variantReferenceId?: string | null;
|
|
21
|
-
variantAppId?: string | null;
|
|
22
20
|
}
|
|
23
21
|
}
|
|
@@ -51,7 +51,5 @@ exports.CapabilitiesSearchRequest = core.serialization
|
|
|
51
51
|
userInteractionRequired: core.serialization.boolean().optional(),
|
|
52
52
|
sortId: CapabilitySortField_1.CapabilitySortField.optional(),
|
|
53
53
|
variantId: EntityIdWithoutAgent_1.EntityIdWithoutAgent.optional(),
|
|
54
|
-
variantReferenceId: core.serialization.string().optional(),
|
|
55
|
-
variantAppId: core.serialization.string().optional(),
|
|
56
54
|
})
|
|
57
55
|
.extend(BaseCappedPaginatedRequest_1.BaseCappedPaginatedRequest);
|
package/serialization/resources/capabilities/client/requests/CapabilityExecutionsSearchRequest.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import type * as serializers from "../../../../index";
|
|
|
4
4
|
import { BaseCappedPaginatedRequest } from "../../../commons/types/BaseCappedPaginatedRequest";
|
|
5
5
|
import { CapabilityType } from "../../../commons/types/CapabilityType";
|
|
6
6
|
import { EntityId } from "../../../commons/types/EntityId";
|
|
7
|
+
import { SimulationFilter } from "../../../commons/types/SimulationFilter";
|
|
7
8
|
import { CapabilityExecutionStatus } from "../../types/CapabilityExecutionStatus";
|
|
8
9
|
export declare const CapabilityExecutionsSearchRequest: core.serialization.Schema<serializers.CapabilityExecutionsSearchRequest.Raw, MavenAGI.CapabilityExecutionsSearchRequest>;
|
|
9
10
|
export declare namespace CapabilityExecutionsSearchRequest {
|
|
@@ -12,5 +13,6 @@ export declare namespace CapabilityExecutionsSearchRequest {
|
|
|
12
13
|
capabilityTypes?: CapabilityType.Raw[] | null;
|
|
13
14
|
capabilityIds?: EntityId.Raw[] | null;
|
|
14
15
|
statuses?: CapabilityExecutionStatus.Raw[] | null;
|
|
16
|
+
simulationFilter?: SimulationFilter.Raw | null;
|
|
15
17
|
}
|
|
16
18
|
}
|
package/serialization/resources/capabilities/client/requests/CapabilityExecutionsSearchRequest.js
CHANGED
|
@@ -39,6 +39,7 @@ const core = __importStar(require("../../../../../core"));
|
|
|
39
39
|
const BaseCappedPaginatedRequest_1 = require("../../../commons/types/BaseCappedPaginatedRequest");
|
|
40
40
|
const CapabilityType_1 = require("../../../commons/types/CapabilityType");
|
|
41
41
|
const EntityId_1 = require("../../../commons/types/EntityId");
|
|
42
|
+
const SimulationFilter_1 = require("../../../commons/types/SimulationFilter");
|
|
42
43
|
const CapabilityExecutionStatus_1 = require("../../types/CapabilityExecutionStatus");
|
|
43
44
|
exports.CapabilityExecutionsSearchRequest = core.serialization
|
|
44
45
|
.object({
|
|
@@ -46,5 +47,6 @@ exports.CapabilityExecutionsSearchRequest = core.serialization
|
|
|
46
47
|
capabilityTypes: core.serialization.list(CapabilityType_1.CapabilityType).optional(),
|
|
47
48
|
capabilityIds: core.serialization.list(EntityId_1.EntityId).optional(),
|
|
48
49
|
statuses: core.serialization.list(CapabilityExecutionStatus_1.CapabilityExecutionStatus).optional(),
|
|
50
|
+
simulationFilter: SimulationFilter_1.SimulationFilter.optional(),
|
|
49
51
|
})
|
|
50
52
|
.extend(BaseCappedPaginatedRequest_1.BaseCappedPaginatedRequest);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { ConversationContextSimulationInput } from "./ConversationContextSimulationInput";
|
|
5
|
+
export declare const ActionSimulationInput: core.serialization.ObjectSchema<serializers.ActionSimulationInput.Raw, MavenAGI.ActionSimulationInput>;
|
|
6
|
+
export declare namespace ActionSimulationInput {
|
|
7
|
+
interface Raw extends ConversationContextSimulationInput.Raw {
|
|
8
|
+
parameters?: Record<string, unknown> | null;
|
|
9
|
+
}
|
|
10
|
+
}
|