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
|
@@ -34,12 +34,11 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
37
|
+
exports.ActionSimulationInput = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
-
const
|
|
40
|
-
|
|
41
|
-
exports.FeedbackRowIdentifier = core.serialization
|
|
39
|
+
const ConversationContextSimulationInput_1 = require("./ConversationContextSimulationInput");
|
|
40
|
+
exports.ActionSimulationInput = core.serialization
|
|
42
41
|
.object({
|
|
43
|
-
|
|
42
|
+
parameters: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
44
43
|
})
|
|
45
|
-
.extend(
|
|
44
|
+
.extend(ConversationContextSimulationInput_1.ConversationContextSimulationInput);
|
|
@@ -2,6 +2,7 @@ import type * as MavenAGI from "../../../../api/index";
|
|
|
2
2
|
import * as core from "../../../../core";
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
import { EntityId } from "../../commons/types/EntityId";
|
|
5
|
+
import { ExecutionMode } from "../../commons/types/ExecutionMode";
|
|
5
6
|
import { CapabilityExecutionCompletionReason } from "./CapabilityExecutionCompletionReason";
|
|
6
7
|
import { CapabilityExecutionStatus } from "./CapabilityExecutionStatus";
|
|
7
8
|
export declare const CapabilityExecutionBase: core.serialization.ObjectSchema<serializers.CapabilityExecutionBase.Raw, MavenAGI.CapabilityExecutionBase>;
|
|
@@ -16,5 +17,6 @@ export declare namespace CapabilityExecutionBase {
|
|
|
16
17
|
completedAt?: string | null;
|
|
17
18
|
durationMs?: number | null;
|
|
18
19
|
createdAt: string;
|
|
20
|
+
executionMode: ExecutionMode.Raw;
|
|
19
21
|
}
|
|
20
22
|
}
|
|
@@ -37,6 +37,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.CapabilityExecutionBase = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const EntityId_1 = require("../../commons/types/EntityId");
|
|
40
|
+
const ExecutionMode_1 = require("../../commons/types/ExecutionMode");
|
|
40
41
|
const CapabilityExecutionCompletionReason_1 = require("./CapabilityExecutionCompletionReason");
|
|
41
42
|
const CapabilityExecutionStatus_1 = require("./CapabilityExecutionStatus");
|
|
42
43
|
exports.CapabilityExecutionBase = core.serialization.object({
|
|
@@ -49,4 +50,5 @@ exports.CapabilityExecutionBase = core.serialization.object({
|
|
|
49
50
|
completedAt: core.serialization.date().optional(),
|
|
50
51
|
durationMs: core.serialization.number().optional(),
|
|
51
52
|
createdAt: core.serialization.date(),
|
|
53
|
+
executionMode: ExecutionMode_1.ExecutionMode,
|
|
52
54
|
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { ActionSimulationInput } from "./ActionSimulationInput";
|
|
5
|
+
export declare const CapabilitySimulationInput: core.serialization.Schema<serializers.CapabilitySimulationInput.Raw, MavenAGI.CapabilitySimulationInput>;
|
|
6
|
+
export declare namespace CapabilitySimulationInput {
|
|
7
|
+
type Raw = CapabilitySimulationInput.Action;
|
|
8
|
+
interface Action extends ActionSimulationInput.Raw {
|
|
9
|
+
capabilityType: "ACTION";
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -34,14 +34,12 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
37
|
+
exports.CapabilitySimulationInput = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
-
const
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
.
|
|
43
|
-
count: FeedbackCount_1.FeedbackCount,
|
|
44
|
-
distinctCount: FeedbackDistinctCount_1.FeedbackDistinctCount,
|
|
39
|
+
const ActionSimulationInput_1 = require("./ActionSimulationInput");
|
|
40
|
+
exports.CapabilitySimulationInput = core.serialization
|
|
41
|
+
.union("capabilityType", {
|
|
42
|
+
ACTION: ActionSimulationInput_1.ActionSimulationInput,
|
|
45
43
|
})
|
|
46
44
|
.transform({
|
|
47
45
|
transform: (value) => value,
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { ExecuteActionResponse } from "../../commons/types/ExecuteActionResponse";
|
|
5
|
+
export declare const CapabilitySimulationResult: core.serialization.Schema<serializers.CapabilitySimulationResult.Raw, MavenAGI.CapabilitySimulationResult>;
|
|
6
|
+
export declare namespace CapabilitySimulationResult {
|
|
7
|
+
type Raw = CapabilitySimulationResult.Action;
|
|
8
|
+
interface Action extends ExecuteActionResponse.Raw {
|
|
9
|
+
capabilityType: "ACTION";
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -34,12 +34,14 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
37
|
+
exports.CapabilitySimulationResult = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
-
const
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
.
|
|
43
|
-
field: FeedbackField_1.FeedbackField,
|
|
39
|
+
const ExecuteActionResponse_1 = require("../../commons/types/ExecuteActionResponse");
|
|
40
|
+
exports.CapabilitySimulationResult = core.serialization
|
|
41
|
+
.union("capabilityType", {
|
|
42
|
+
ACTION: ExecuteActionResponse_1.ExecuteActionResponse,
|
|
44
43
|
})
|
|
45
|
-
.
|
|
44
|
+
.transform({
|
|
45
|
+
transform: (value) => value,
|
|
46
|
+
untransform: (value) => value,
|
|
47
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { SimulatedUser } from "./SimulatedUser";
|
|
5
|
+
export declare const ConversationContextSimulationInput: core.serialization.ObjectSchema<serializers.ConversationContextSimulationInput.Raw, MavenAGI.ConversationContextSimulationInput>;
|
|
6
|
+
export declare namespace ConversationContextSimulationInput {
|
|
7
|
+
interface Raw {
|
|
8
|
+
conversationMetadata?: Record<string, string> | null;
|
|
9
|
+
user?: SimulatedUser.Raw | null;
|
|
10
|
+
transientData?: Record<string, string> | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ConversationContextSimulationInput = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const SimulatedUser_1 = require("./SimulatedUser");
|
|
40
|
+
exports.ConversationContextSimulationInput = core.serialization.object({
|
|
41
|
+
conversationMetadata: core.serialization
|
|
42
|
+
.record(core.serialization.string(), core.serialization.string())
|
|
43
|
+
.optional(),
|
|
44
|
+
user: SimulatedUser_1.SimulatedUser.optional(),
|
|
45
|
+
transientData: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
|
|
46
|
+
});
|
|
@@ -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 { SimulatedUserData } from "./SimulatedUserData";
|
|
5
|
+
export declare const SimulatedUser: core.serialization.ObjectSchema<serializers.SimulatedUser.Raw, MavenAGI.SimulatedUser>;
|
|
6
|
+
export declare namespace SimulatedUser {
|
|
7
|
+
interface Raw {
|
|
8
|
+
agentUserData?: Record<string, SimulatedUserData.Raw[]> | null;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -34,10 +34,11 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
37
|
+
exports.SimulatedUser = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
-
const
|
|
40
|
-
exports.
|
|
41
|
-
|
|
42
|
-
|
|
39
|
+
const SimulatedUserData_1 = require("./SimulatedUserData");
|
|
40
|
+
exports.SimulatedUser = core.serialization.object({
|
|
41
|
+
agentUserData: core.serialization
|
|
42
|
+
.record(core.serialization.string(), core.serialization.list(SimulatedUserData_1.SimulatedUserData))
|
|
43
|
+
.optional(),
|
|
43
44
|
});
|
|
@@ -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
|
+
export declare const SimulatedUserData: core.serialization.ObjectSchema<serializers.SimulatedUserData.Raw, MavenAGI.SimulatedUserData>;
|
|
5
|
+
export declare namespace SimulatedUserData {
|
|
6
|
+
interface Raw {
|
|
7
|
+
appId: string;
|
|
8
|
+
value: string;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.SimulatedUserData = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
exports.SimulatedUserData = core.serialization.object({
|
|
40
|
+
appId: core.serialization.string(),
|
|
41
|
+
value: core.serialization.string(),
|
|
42
|
+
});
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./ActionSimulationInput";
|
|
1
2
|
export * from "./CapabilitiesSearchResponse";
|
|
2
3
|
export * from "./CapabilityExecution";
|
|
3
4
|
export * from "./CapabilityExecutionBase";
|
|
@@ -6,7 +7,12 @@ export * from "./CapabilityExecutionRetryability";
|
|
|
6
7
|
export * from "./CapabilityExecutionStatus";
|
|
7
8
|
export * from "./CapabilityExecutionsSearchResponse";
|
|
8
9
|
export * from "./CapabilityResponse";
|
|
10
|
+
export * from "./CapabilitySimulationInput";
|
|
11
|
+
export * from "./CapabilitySimulationResult";
|
|
9
12
|
export * from "./CapabilitySortField";
|
|
10
13
|
export * from "./CapabilitySummary";
|
|
14
|
+
export * from "./ConversationContextSimulationInput";
|
|
11
15
|
export * from "./ConversationKickoffCapabilityExecution";
|
|
16
|
+
export * from "./SimulatedUser";
|
|
17
|
+
export * from "./SimulatedUserData";
|
|
12
18
|
export * from "./TriggerCapabilityExecution";
|
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ActionSimulationInput"), exports);
|
|
17
18
|
__exportStar(require("./CapabilitiesSearchResponse"), exports);
|
|
18
19
|
__exportStar(require("./CapabilityExecution"), exports);
|
|
19
20
|
__exportStar(require("./CapabilityExecutionBase"), exports);
|
|
@@ -22,7 +23,12 @@ __exportStar(require("./CapabilityExecutionRetryability"), exports);
|
|
|
22
23
|
__exportStar(require("./CapabilityExecutionStatus"), exports);
|
|
23
24
|
__exportStar(require("./CapabilityExecutionsSearchResponse"), exports);
|
|
24
25
|
__exportStar(require("./CapabilityResponse"), exports);
|
|
26
|
+
__exportStar(require("./CapabilitySimulationInput"), exports);
|
|
27
|
+
__exportStar(require("./CapabilitySimulationResult"), exports);
|
|
25
28
|
__exportStar(require("./CapabilitySortField"), exports);
|
|
26
29
|
__exportStar(require("./CapabilitySummary"), exports);
|
|
30
|
+
__exportStar(require("./ConversationContextSimulationInput"), exports);
|
|
27
31
|
__exportStar(require("./ConversationKickoffCapabilityExecution"), exports);
|
|
32
|
+
__exportStar(require("./SimulatedUser"), exports);
|
|
33
|
+
__exportStar(require("./SimulatedUserData"), exports);
|
|
28
34
|
__exportStar(require("./TriggerCapabilityExecution"), exports);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../../api/index";
|
|
2
2
|
import * as core from "../../../../core";
|
|
3
3
|
import * as serializers from "../../../index";
|
|
4
|
+
import { CharterType } from "../../commons/types/CharterType";
|
|
4
5
|
import { EntityId } from "../../commons/types/EntityId";
|
|
5
6
|
import { CharterBase } from "./CharterBase";
|
|
6
7
|
import { CharterReferences } from "./CharterReferences";
|
|
7
8
|
import { CharterStatus } from "./CharterStatus";
|
|
8
|
-
import { CharterType } from "./CharterType";
|
|
9
9
|
export declare const CharterContent: core.serialization.ObjectSchema<serializers.CharterContent.Raw, MavenAGI.CharterContent>;
|
|
10
10
|
export declare namespace CharterContent {
|
|
11
11
|
interface Raw extends CharterBase.Raw {
|
|
@@ -37,11 +37,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.CharterContent = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const serializers = __importStar(require("../../../index"));
|
|
40
|
+
const CharterType_1 = require("../../commons/types/CharterType");
|
|
40
41
|
const EntityId_1 = require("../../commons/types/EntityId");
|
|
41
42
|
const CharterBase_1 = require("./CharterBase");
|
|
42
43
|
const CharterReferences_1 = require("./CharterReferences");
|
|
43
44
|
const CharterStatus_1 = require("./CharterStatus");
|
|
44
|
-
const CharterType_1 = require("./CharterType");
|
|
45
45
|
exports.CharterContent = core.serialization
|
|
46
46
|
.object({
|
|
47
47
|
parentCharterId: EntityId_1.EntityId.nullable(),
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../../api/index";
|
|
2
2
|
import * as core from "../../../../core";
|
|
3
3
|
import * as serializers from "../../../index";
|
|
4
|
+
import { CharterType } from "../../commons/types/CharterType";
|
|
4
5
|
import { EntityId } from "../../commons/types/EntityId";
|
|
5
6
|
import { CharterBase } from "./CharterBase";
|
|
6
7
|
import { CharterChildrenExclusionPolicy } from "./CharterChildrenExclusionPolicy";
|
|
7
8
|
import { CharterReferences } from "./CharterReferences";
|
|
8
9
|
import { CharterStatus } from "./CharterStatus";
|
|
9
|
-
import { CharterType } from "./CharterType";
|
|
10
10
|
export declare const CharterResponse: core.serialization.ObjectSchema<serializers.CharterResponse.Raw, MavenAGI.CharterResponse>;
|
|
11
11
|
export declare namespace CharterResponse {
|
|
12
12
|
interface Raw extends CharterBase.Raw {
|
|
@@ -37,12 +37,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.CharterResponse = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const serializers = __importStar(require("../../../index"));
|
|
40
|
+
const CharterType_1 = require("../../commons/types/CharterType");
|
|
40
41
|
const EntityId_1 = require("../../commons/types/EntityId");
|
|
41
42
|
const CharterBase_1 = require("./CharterBase");
|
|
42
43
|
const CharterChildrenExclusionPolicy_1 = require("./CharterChildrenExclusionPolicy");
|
|
43
44
|
const CharterReferences_1 = require("./CharterReferences");
|
|
44
45
|
const CharterStatus_1 = require("./CharterStatus");
|
|
45
|
-
const CharterType_1 = require("./CharterType");
|
|
46
46
|
exports.CharterResponse = core.serialization
|
|
47
47
|
.object({
|
|
48
48
|
charterId: EntityId_1.EntityId,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../../api/index";
|
|
2
2
|
import * as core from "../../../../core";
|
|
3
3
|
import * as serializers from "../../../index";
|
|
4
|
+
import { CharterType } from "../../commons/types/CharterType";
|
|
4
5
|
import { EntityId } from "../../commons/types/EntityId";
|
|
5
6
|
import { CharterChildrenExclusionPolicy } from "./CharterChildrenExclusionPolicy";
|
|
6
7
|
import { CharterStatus } from "./CharterStatus";
|
|
7
|
-
import { CharterType } from "./CharterType";
|
|
8
8
|
export declare const CharterSummary: core.serialization.ObjectSchema<serializers.CharterSummary.Raw, MavenAGI.CharterSummary>;
|
|
9
9
|
export declare namespace CharterSummary {
|
|
10
10
|
interface Raw {
|
|
@@ -37,10 +37,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.CharterSummary = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const serializers = __importStar(require("../../../index"));
|
|
40
|
+
const CharterType_1 = require("../../commons/types/CharterType");
|
|
40
41
|
const EntityId_1 = require("../../commons/types/EntityId");
|
|
41
42
|
const CharterChildrenExclusionPolicy_1 = require("./CharterChildrenExclusionPolicy");
|
|
42
43
|
const CharterStatus_1 = require("./CharterStatus");
|
|
43
|
-
const CharterType_1 = require("./CharterType");
|
|
44
44
|
exports.CharterSummary = core.serialization.object({
|
|
45
45
|
charterId: EntityId_1.EntityId,
|
|
46
46
|
name: core.serialization.string(),
|
|
@@ -32,4 +32,3 @@ __exportStar(require("./CharterSearchRequest"), exports);
|
|
|
32
32
|
__exportStar(require("./CharterSearchResponse"), exports);
|
|
33
33
|
__exportStar(require("./CharterStatus"), exports);
|
|
34
34
|
__exportStar(require("./CharterSummary"), exports);
|
|
35
|
-
__exportStar(require("./CharterType"), exports);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
export declare const ActionExecutionStatus: core.serialization.Schema<serializers.ActionExecutionStatus.Raw, MavenAGI.ActionExecutionStatus>;
|
|
5
|
+
export declare namespace ActionExecutionStatus {
|
|
6
|
+
type Raw = "SUCCESS" | "ERROR";
|
|
7
|
+
}
|
|
@@ -34,6 +34,6 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
37
|
+
exports.ActionExecutionStatus = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
-
exports.
|
|
39
|
+
exports.ActionExecutionStatus = core.serialization.forwardCompatibleEnum_(["SUCCESS", "ERROR"]);
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
export declare const AdditionalDataKey: core.serialization.Schema<serializers.AdditionalDataKey.Raw, MavenAGI.AdditionalDataKey>;
|
|
5
5
|
export declare namespace AdditionalDataKey {
|
|
6
|
-
type Raw = "value" | "previousValue" | "name" | "step" | "reason" | "errorCode" | "errorMessage" | "url" | "query" | "position" | "amount" | "currency" | "channel" | "sourceLanguage" | "targetLanguage" | "mimeType" | "sizeBytes";
|
|
6
|
+
type Raw = "value" | "previousValue" | "name" | "step" | "reason" | "errorCode" | "errorMessage" | "url" | "query" | "position" | "botMessageType" | "amount" | "currency" | "channel" | "sourceLanguage" | "targetLanguage" | "mimeType" | "sizeBytes" | "method" | "items" | "transactionId" | "coupon" | "shipping" | "tax" | "customerType" | "paymentType" | "shippingTier" | "itemListId" | "itemListName" | "promotionId" | "promotionName" | "creativeName" | "creativeSlot" | "leadSource" | "leadStatus" | "contentType" | "contentId" | "groupId" | "virtualCurrencyName" | "virtualCurrencyAmount" | "adPlatform" | "adSource" | "adFormat" | "adUnitName";
|
|
7
7
|
}
|
|
@@ -47,6 +47,7 @@ exports.AdditionalDataKey = core.serialization.forwardCompatibleEnum_([
|
|
|
47
47
|
"url",
|
|
48
48
|
"query",
|
|
49
49
|
"position",
|
|
50
|
+
"botMessageType",
|
|
50
51
|
"amount",
|
|
51
52
|
"currency",
|
|
52
53
|
"channel",
|
|
@@ -54,4 +55,30 @@ exports.AdditionalDataKey = core.serialization.forwardCompatibleEnum_([
|
|
|
54
55
|
"targetLanguage",
|
|
55
56
|
"mimeType",
|
|
56
57
|
"sizeBytes",
|
|
58
|
+
"method",
|
|
59
|
+
"items",
|
|
60
|
+
"transactionId",
|
|
61
|
+
"coupon",
|
|
62
|
+
"shipping",
|
|
63
|
+
"tax",
|
|
64
|
+
"customerType",
|
|
65
|
+
"paymentType",
|
|
66
|
+
"shippingTier",
|
|
67
|
+
"itemListId",
|
|
68
|
+
"itemListName",
|
|
69
|
+
"promotionId",
|
|
70
|
+
"promotionName",
|
|
71
|
+
"creativeName",
|
|
72
|
+
"creativeSlot",
|
|
73
|
+
"leadSource",
|
|
74
|
+
"leadStatus",
|
|
75
|
+
"contentType",
|
|
76
|
+
"contentId",
|
|
77
|
+
"groupId",
|
|
78
|
+
"virtualCurrencyName",
|
|
79
|
+
"virtualCurrencyAmount",
|
|
80
|
+
"adPlatform",
|
|
81
|
+
"adSource",
|
|
82
|
+
"adFormat",
|
|
83
|
+
"adUnitName",
|
|
57
84
|
]);
|
|
@@ -3,9 +3,11 @@ import * as core from "../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
import { AppUser } from "./AppUser";
|
|
5
5
|
import { EntityIdBase } from "./EntityIdBase";
|
|
6
|
+
import { ExecutionMode } from "./ExecutionMode";
|
|
6
7
|
export declare const AppUserRequest: core.serialization.ObjectSchema<serializers.AppUserRequest.Raw, MavenAGI.AppUserRequest>;
|
|
7
8
|
export declare namespace AppUserRequest {
|
|
8
9
|
interface Raw extends AppUser.Raw {
|
|
9
10
|
userId: EntityIdBase.Raw;
|
|
11
|
+
executionMode?: ExecutionMode.Raw | null;
|
|
10
12
|
}
|
|
11
13
|
}
|
|
@@ -38,8 +38,10 @@ exports.AppUserRequest = void 0;
|
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const AppUser_1 = require("./AppUser");
|
|
40
40
|
const EntityIdBase_1 = require("./EntityIdBase");
|
|
41
|
+
const ExecutionMode_1 = require("./ExecutionMode");
|
|
41
42
|
exports.AppUserRequest = core.serialization
|
|
42
43
|
.object({
|
|
43
44
|
userId: EntityIdBase_1.EntityIdBase,
|
|
45
|
+
executionMode: ExecutionMode_1.ExecutionMode.optional(),
|
|
44
46
|
})
|
|
45
47
|
.extend(AppUser_1.AppUser);
|
|
@@ -5,6 +5,7 @@ import { ConversationAnalysis } from "./ConversationAnalysis";
|
|
|
5
5
|
import { ConversationMode } from "./ConversationMode";
|
|
6
6
|
import { ConversationSummary } from "./ConversationSummary";
|
|
7
7
|
import { EntityId } from "./EntityId";
|
|
8
|
+
import { ExecutionMode } from "./ExecutionMode";
|
|
8
9
|
import { RelationshipType } from "./RelationshipType";
|
|
9
10
|
import { ResponseConfig } from "./ResponseConfig";
|
|
10
11
|
import { SimulationContext } from "./SimulationContext";
|
|
@@ -26,6 +27,7 @@ export declare namespace BaseConversationResponse {
|
|
|
26
27
|
open: boolean;
|
|
27
28
|
llmEnabled: boolean;
|
|
28
29
|
simulationContext?: SimulationContext.Raw | null;
|
|
30
|
+
executionMode: ExecutionMode.Raw;
|
|
29
31
|
relatedEntities?: Record<RelationshipType.Raw, EntityId.Raw[] | null | undefined> | null;
|
|
30
32
|
conversationMode?: ConversationMode.Raw | null;
|
|
31
33
|
variantId?: EntityId.Raw | null;
|
|
@@ -40,6 +40,7 @@ const ConversationAnalysis_1 = require("./ConversationAnalysis");
|
|
|
40
40
|
const ConversationMode_1 = require("./ConversationMode");
|
|
41
41
|
const ConversationSummary_1 = require("./ConversationSummary");
|
|
42
42
|
const EntityId_1 = require("./EntityId");
|
|
43
|
+
const ExecutionMode_1 = require("./ExecutionMode");
|
|
43
44
|
const RelationshipType_1 = require("./RelationshipType");
|
|
44
45
|
const ResponseConfig_1 = require("./ResponseConfig");
|
|
45
46
|
const SimulationContext_1 = require("./SimulationContext");
|
|
@@ -59,6 +60,7 @@ exports.BaseConversationResponse = core.serialization.object({
|
|
|
59
60
|
open: core.serialization.boolean(),
|
|
60
61
|
llmEnabled: core.serialization.boolean(),
|
|
61
62
|
simulationContext: SimulationContext_1.SimulationContext.optional(),
|
|
63
|
+
executionMode: ExecutionMode_1.ExecutionMode,
|
|
62
64
|
relatedEntities: core.serialization
|
|
63
65
|
.partialRecord(RelationshipType_1.RelationshipType, core.serialization.list(EntityId_1.EntityId).optional())
|
|
64
66
|
.optional(),
|
|
@@ -1,6 +1,7 @@
|
|
|
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 { CharterType } from "./CharterType";
|
|
4
5
|
import { EntityIdWithoutAgent } from "./EntityIdWithoutAgent";
|
|
5
6
|
export declare const BotLogicCharterDetail: core.serialization.ObjectSchema<serializers.BotLogicCharterDetail.Raw, MavenAGI.BotLogicCharterDetail>;
|
|
6
7
|
export declare namespace BotLogicCharterDetail {
|
|
@@ -9,5 +10,6 @@ export declare namespace BotLogicCharterDetail {
|
|
|
9
10
|
name: string;
|
|
10
11
|
segmentId?: EntityIdWithoutAgent.Raw | null;
|
|
11
12
|
parentId?: EntityIdWithoutAgent.Raw | null;
|
|
13
|
+
type?: CharterType.Raw | null;
|
|
12
14
|
}
|
|
13
15
|
}
|
|
@@ -36,10 +36,12 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.BotLogicCharterDetail = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const CharterType_1 = require("./CharterType");
|
|
39
40
|
const EntityIdWithoutAgent_1 = require("./EntityIdWithoutAgent");
|
|
40
41
|
exports.BotLogicCharterDetail = core.serialization.object({
|
|
41
42
|
charterId: EntityIdWithoutAgent_1.EntityIdWithoutAgent,
|
|
42
43
|
name: core.serialization.string(),
|
|
43
44
|
segmentId: EntityIdWithoutAgent_1.EntityIdWithoutAgent.optional(),
|
|
44
45
|
parentId: EntityIdWithoutAgent_1.EntityIdWithoutAgent.optional(),
|
|
46
|
+
type: CharterType_1.CharterType.optional(),
|
|
45
47
|
});
|
|
@@ -3,6 +3,7 @@ import * as core from "../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
import { BotConversationMessageType } from "./BotConversationMessageType";
|
|
5
5
|
import { BotLogic } from "./BotLogic";
|
|
6
|
+
import { BotMessageStatusReason } from "./BotMessageStatusReason";
|
|
6
7
|
import { BotResponse } from "./BotResponse";
|
|
7
8
|
import { BotResponseMetadata } from "./BotResponseMetadata";
|
|
8
9
|
import { ConversationMessageBase } from "./ConversationMessageBase";
|
|
@@ -17,5 +18,6 @@ export declare namespace BotMessage {
|
|
|
17
18
|
metadata: BotResponseMetadata.Raw;
|
|
18
19
|
status: MessageStatus.Raw;
|
|
19
20
|
logic?: BotLogic.Raw | null;
|
|
21
|
+
statusReason?: BotMessageStatusReason.Raw | null;
|
|
20
22
|
}
|
|
21
23
|
}
|
|
@@ -38,6 +38,7 @@ exports.BotMessage = void 0;
|
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const BotConversationMessageType_1 = require("./BotConversationMessageType");
|
|
40
40
|
const BotLogic_1 = require("./BotLogic");
|
|
41
|
+
const BotMessageStatusReason_1 = require("./BotMessageStatusReason");
|
|
41
42
|
const BotResponse_1 = require("./BotResponse");
|
|
42
43
|
const BotResponseMetadata_1 = require("./BotResponseMetadata");
|
|
43
44
|
const ConversationMessageBase_1 = require("./ConversationMessageBase");
|
|
@@ -51,5 +52,6 @@ exports.BotMessage = core.serialization
|
|
|
51
52
|
metadata: BotResponseMetadata_1.BotResponseMetadata,
|
|
52
53
|
status: MessageStatus_1.MessageStatus,
|
|
53
54
|
logic: BotLogic_1.BotLogic.optional(),
|
|
55
|
+
statusReason: BotMessageStatusReason_1.BotMessageStatusReason.optional(),
|
|
54
56
|
})
|
|
55
57
|
.extend(ConversationMessageBase_1.ConversationMessageBase);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
export declare const BotMessageStatusReason: core.serialization.Schema<serializers.BotMessageStatusReason.Raw, MavenAGI.BotMessageStatusReason>;
|
|
5
|
+
export declare namespace BotMessageStatusReason {
|
|
6
|
+
type Raw = "CONTENT_SAFETY_ISSUE" | "FAILED_TO_RETRIEVE_KNOWLEDGE" | "FAILED_TO_RETRIEVE_ACTIONS";
|
|
7
|
+
}
|