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
|
@@ -7,4 +7,6 @@ export interface ConversationGetRequest {
|
|
|
7
7
|
appId?: string;
|
|
8
8
|
/** The language to translate the conversation analysis into */
|
|
9
9
|
translationLanguage?: string;
|
|
10
|
+
/** Whether to return `logic` on each bot message. Defaults to `true`. Pass `false` to leave it out, which makes the response much smaller. */
|
|
11
|
+
includeLogic?: boolean;
|
|
10
12
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Fields used to filter conversations by billing status:
|
|
3
|
-
* - ELIGIBLE_AND_BILLABLE: Billable conversations with a RESOLVED resolution status.
|
|
4
|
-
* - ELIGIBLE_AND_NOT_BILLABLE: Conversations eligible for billing consideration but not currently billable. Includes ERROR, IN_PROGRESS, ESCALATED, INCOMPLETE, and NEGATIVE_FEEDBACK.
|
|
5
|
-
* - INELIGIBLE: Conversations excluded from billing consideration. Includes CONTENT_SAFETY_FLAGGED, PROMPT_ATTACK_FLAGGED, HANGUP, INELIGIBLE, and UNKNOWN.
|
|
3
|
+
* - ELIGIBLE_AND_BILLABLE: Billable conversations with a RESOLVED resolution status. Shown in Agent Designer as "Billable".
|
|
4
|
+
* - ELIGIBLE_AND_NOT_BILLABLE: Conversations eligible for billing consideration but not currently billable. Shown in Agent Designer as "Not billable". Includes ERROR, IN_PROGRESS, ESCALATED, INCOMPLETE, and NEGATIVE_FEEDBACK.
|
|
5
|
+
* - INELIGIBLE: Conversations excluded from billing consideration. Includes CONTENT_SAFETY_FLAGGED, PROMPT_ATTACK_FLAGGED, HANGUP, INELIGIBLE, and UNKNOWN. Shown in Agent Designer as "Not eligible".
|
|
6
6
|
*/
|
|
7
7
|
export declare const BillableFilterField: {
|
|
8
8
|
readonly EligibleAndBillable: "ELIGIBLE_AND_BILLABLE";
|
|
@@ -4,9 +4,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.BillableFilterField = void 0;
|
|
5
5
|
/**
|
|
6
6
|
* Fields used to filter conversations by billing status:
|
|
7
|
-
* - ELIGIBLE_AND_BILLABLE: Billable conversations with a RESOLVED resolution status.
|
|
8
|
-
* - ELIGIBLE_AND_NOT_BILLABLE: Conversations eligible for billing consideration but not currently billable. Includes ERROR, IN_PROGRESS, ESCALATED, INCOMPLETE, and NEGATIVE_FEEDBACK.
|
|
9
|
-
* - INELIGIBLE: Conversations excluded from billing consideration. Includes CONTENT_SAFETY_FLAGGED, PROMPT_ATTACK_FLAGGED, HANGUP, INELIGIBLE, and UNKNOWN.
|
|
7
|
+
* - ELIGIBLE_AND_BILLABLE: Billable conversations with a RESOLVED resolution status. Shown in Agent Designer as "Billable".
|
|
8
|
+
* - ELIGIBLE_AND_NOT_BILLABLE: Conversations eligible for billing consideration but not currently billable. Shown in Agent Designer as "Not billable". Includes ERROR, IN_PROGRESS, ESCALATED, INCOMPLETE, and NEGATIVE_FEEDBACK.
|
|
9
|
+
* - INELIGIBLE: Conversations excluded from billing consideration. Includes CONTENT_SAFETY_FLAGGED, PROMPT_ATTACK_FLAGGED, HANGUP, INELIGIBLE, and UNKNOWN. Shown in Agent Designer as "Not eligible".
|
|
10
10
|
*/
|
|
11
11
|
exports.BillableFilterField = {
|
|
12
12
|
EligibleAndBillable: "ELIGIBLE_AND_BILLABLE",
|
|
@@ -2,6 +2,8 @@ export declare const ConversationField: {
|
|
|
2
2
|
readonly Category: "Category";
|
|
3
3
|
readonly FirstResponseTime: "FirstResponseTime";
|
|
4
4
|
readonly HandleTime: "HandleTime";
|
|
5
|
+
/**
|
|
6
|
+
* Shown in Agent Designer Insights as the "Top agents" table. */
|
|
5
7
|
readonly HumanAgents: "HumanAgents";
|
|
6
8
|
readonly HumanAgentsWithInserts: "HumanAgentsWithInserts";
|
|
7
9
|
readonly App: "App";
|
|
@@ -10,12 +12,16 @@ export declare const ConversationField: {
|
|
|
10
12
|
readonly ResolutionStatus: "ResolutionStatus";
|
|
11
13
|
readonly ResolvedByMaven: "ResolvedByMaven";
|
|
12
14
|
readonly Quality: "Quality";
|
|
15
|
+
/**
|
|
16
|
+
* Shown in Agent Designer as "Active users" when counted distinctly. */
|
|
13
17
|
readonly Users: "Users";
|
|
14
18
|
readonly ResponseLength: "ResponseLength";
|
|
15
19
|
readonly ThumbsUpCount: "ThumbsUpCount";
|
|
16
20
|
readonly ThumbsDownCount: "ThumbsDownCount";
|
|
17
21
|
readonly InsertCount: "InsertCount";
|
|
18
22
|
readonly Tags: "Tags";
|
|
23
|
+
/**
|
|
24
|
+
* Shown in Agent Designer as "Customer interactions". */
|
|
19
25
|
readonly UserMessageCount: "UserMessageCount";
|
|
20
26
|
readonly BotMessageCount: "BotMessageCount";
|
|
21
27
|
readonly Languages: "Languages";
|
|
@@ -25,6 +31,8 @@ export declare const ConversationField: {
|
|
|
25
31
|
readonly ActionExecutionCount: "ActionExecutionCount";
|
|
26
32
|
readonly ActionErrorCount: "ActionErrorCount";
|
|
27
33
|
readonly Charters: "Charters";
|
|
34
|
+
/**
|
|
35
|
+
* Shown in Agent Designer Insights as the "Top knowledge documents" table. */
|
|
28
36
|
readonly Sources: "Sources";
|
|
29
37
|
readonly CreatedAt: "CreatedAt";
|
|
30
38
|
readonly PredictedNps: "PredictedNPS";
|
|
@@ -6,6 +6,8 @@ exports.ConversationField = {
|
|
|
6
6
|
Category: "Category",
|
|
7
7
|
FirstResponseTime: "FirstResponseTime",
|
|
8
8
|
HandleTime: "HandleTime",
|
|
9
|
+
/**
|
|
10
|
+
* Shown in Agent Designer Insights as the "Top agents" table. */
|
|
9
11
|
HumanAgents: "HumanAgents",
|
|
10
12
|
HumanAgentsWithInserts: "HumanAgentsWithInserts",
|
|
11
13
|
App: "App",
|
|
@@ -14,12 +16,16 @@ exports.ConversationField = {
|
|
|
14
16
|
ResolutionStatus: "ResolutionStatus",
|
|
15
17
|
ResolvedByMaven: "ResolvedByMaven",
|
|
16
18
|
Quality: "Quality",
|
|
19
|
+
/**
|
|
20
|
+
* Shown in Agent Designer as "Active users" when counted distinctly. */
|
|
17
21
|
Users: "Users",
|
|
18
22
|
ResponseLength: "ResponseLength",
|
|
19
23
|
ThumbsUpCount: "ThumbsUpCount",
|
|
20
24
|
ThumbsDownCount: "ThumbsDownCount",
|
|
21
25
|
InsertCount: "InsertCount",
|
|
22
26
|
Tags: "Tags",
|
|
27
|
+
/**
|
|
28
|
+
* Shown in Agent Designer as "Customer interactions". */
|
|
23
29
|
UserMessageCount: "UserMessageCount",
|
|
24
30
|
BotMessageCount: "BotMessageCount",
|
|
25
31
|
Languages: "Languages",
|
|
@@ -29,6 +35,8 @@ exports.ConversationField = {
|
|
|
29
35
|
ActionExecutionCount: "ActionExecutionCount",
|
|
30
36
|
ActionErrorCount: "ActionErrorCount",
|
|
31
37
|
Charters: "Charters",
|
|
38
|
+
/**
|
|
39
|
+
* Shown in Agent Designer Insights as the "Top knowledge documents" table. */
|
|
32
40
|
Sources: "Sources",
|
|
33
41
|
CreatedAt: "CreatedAt",
|
|
34
42
|
PredictedNps: "PredictedNPS",
|
|
@@ -20,6 +20,8 @@ export interface ConversationFilter {
|
|
|
20
20
|
* - `tags:myvalue OR anothervalue` - matches conversations with a tag of `myvalue` or `anothervalue`
|
|
21
21
|
* - `-tags:myvalue` - matches conversations that do not have the tag `myvalue`
|
|
22
22
|
* - `_exists_:tags` - matches conversations that have any tags field set
|
|
23
|
+
*
|
|
24
|
+
* Shown in Agent Designer as "Content includes".
|
|
23
25
|
*/
|
|
24
26
|
search?: string;
|
|
25
27
|
/** Filter conversations created on or after this timestamp */
|
|
@@ -41,6 +43,8 @@ export interface ConversationFilter {
|
|
|
41
43
|
* `BUTTON_CLICKED` events by their `feedbackInfo.thumbUp` value, and `Insert` matches
|
|
42
44
|
* `TEXT_INSERTED` events. `Handoff` matches bot responses that returned the system fallback
|
|
43
45
|
* message.
|
|
46
|
+
*
|
|
47
|
+
* Shown in Agent Designer as "Event".
|
|
44
48
|
*/
|
|
45
49
|
feedback?: MavenAGI.FeedbackType[];
|
|
46
50
|
/** Filter by human agents who participated in the conversation */
|
|
@@ -72,7 +76,7 @@ export interface ConversationFilter {
|
|
|
72
76
|
deleted?: boolean;
|
|
73
77
|
/** Filter by tags applied to the conversation */
|
|
74
78
|
tags?: string[];
|
|
75
|
-
/** Filter by agent user IDs associated with the conversation */
|
|
79
|
+
/** Filter by agent user IDs associated with the conversation. Shown in Agent Designer as "Users", where the user enters identifiers such as an email. */
|
|
76
80
|
agentUserIds?: string[];
|
|
77
81
|
/**
|
|
78
82
|
* Filter by conversation resolution status which is determined by AI based on the conversation content.
|
|
@@ -138,6 +142,8 @@ export interface ConversationFilter {
|
|
|
138
142
|
*
|
|
139
143
|
* If billable is `null` or `[]` then defaults to all eligible conversations,
|
|
140
144
|
* which means ELIGIBLE_AND_BILLABLE and ELIGIBLE_AND_NOT_BILLABLE.
|
|
145
|
+
*
|
|
146
|
+
* Shown in Agent Designer as "Billing status".
|
|
141
147
|
*/
|
|
142
148
|
billable?: MavenAGI.BillableFilterField[];
|
|
143
149
|
}
|
|
@@ -8,7 +8,7 @@ import type * as MavenAGI from "../../../index";
|
|
|
8
8
|
export interface ConversationPatchRequest {
|
|
9
9
|
/** The App ID of the conversation to patch. If not provided the ID of the calling app will be used. */
|
|
10
10
|
appId?: string;
|
|
11
|
-
/** Whether the conversation is open. Set it to false to close the conversation, which records a `CONVERSATION_CLOSED` system event. Closing is final: a closed conversation cannot be reopened and takes no new questions, form submissions, messages or metadata. It can still be read, deleted, and patched otherwise, for example to add attachments. For a conversation with the `ASYNC` capability, only an open conversation can receive asynchronous messages. */
|
|
11
|
+
/** Whether the conversation is open. Set it to false to close the conversation, which records a `CONVERSATION_CLOSED` system event. Closing is final: a closed conversation cannot be reopened and takes no new questions, form submissions, messages or metadata. It can still be read, deleted, and patched otherwise, for example to add attachments. For a conversation with the `ASYNC` capability, only an open conversation can receive asynchronous messages. Close a conversation only after its ask calls have returned. An answer still being generated when the conversation closes is saved anyway, and the `CONVERSATION_CLOSED` event can then go out before that answer is in the conversation's data. */
|
|
12
12
|
open?: boolean;
|
|
13
13
|
/** Whether the LLM is enabled for this conversation. */
|
|
14
14
|
llmEnabled?: boolean;
|
|
@@ -1,4 +1,49 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* conversationId: {
|
|
6
|
+
* referenceId: "conversation-0"
|
|
7
|
+
* },
|
|
8
|
+
* messages: []
|
|
9
|
+
* }
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* {
|
|
13
|
+
* conversationId: {
|
|
14
|
+
* referenceId: "simulation-0"
|
|
15
|
+
* },
|
|
16
|
+
* simulationContext: {
|
|
17
|
+
* actionMocks: [{
|
|
18
|
+
* actionId: {
|
|
19
|
+
* type: MavenAGI.EntityType.Action,
|
|
20
|
+
* appId: "my-app",
|
|
21
|
+
* referenceId: "refund-order"
|
|
22
|
+
* },
|
|
23
|
+
* behavior: {
|
|
24
|
+
* type: "fixedResponse",
|
|
25
|
+
* response: "Refunded order {{orderId}}"
|
|
26
|
+
* }
|
|
27
|
+
* }, {
|
|
28
|
+
* actionId: {
|
|
29
|
+
* type: MavenAGI.EntityType.Action,
|
|
30
|
+
* appId: "my-app",
|
|
31
|
+
* referenceId: "get-order-status"
|
|
32
|
+
* },
|
|
33
|
+
* behavior: {
|
|
34
|
+
* type: "fixedResponse",
|
|
35
|
+
* status: MavenAGI.ActionExecutionStatus.Error,
|
|
36
|
+
* response: "Order {{orderId}} was not found",
|
|
37
|
+
* errorMessage: "No order with ID {{orderId}}"
|
|
38
|
+
* }
|
|
39
|
+
* }],
|
|
40
|
+
* defaultActionBehavior: {
|
|
41
|
+
* type: "callApp"
|
|
42
|
+
* }
|
|
43
|
+
* },
|
|
44
|
+
* messages: []
|
|
45
|
+
* }
|
|
46
|
+
*/
|
|
2
47
|
export interface ConversationRequest {
|
|
3
48
|
/** An externally supplied ID to uniquely identify this conversation */
|
|
4
49
|
conversationId: MavenAGI.EntityIdBase;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../index";
|
|
2
2
|
export interface DeliverConversationMessageRequest {
|
|
3
|
-
/** The ID of the conversation to deliver the message to. Message delivery will fail if the conversation does not have the `ASYNC` capability
|
|
3
|
+
/** The ID of the conversation to deliver the message to. Message delivery will fail if the conversation does not have the `ASYNC` capability, and a closed conversation (`open` set to false) returns a 400. */
|
|
4
4
|
conversationId: MavenAGI.EntityIdWithoutAgent;
|
|
5
5
|
/** The message to deliver. */
|
|
6
6
|
message: MavenAGI.ConversationMessageRequest;
|
|
@@ -26,11 +26,8 @@ export * from "./DeliverMessageRequest";
|
|
|
26
26
|
export * from "./DeliverMessageResponse";
|
|
27
27
|
export * from "./DeliverUserMessageRequest";
|
|
28
28
|
export * from "./DeliveryStatus";
|
|
29
|
-
export * from "./FeedbackField";
|
|
30
|
-
export * from "./FeedbackFilter";
|
|
31
29
|
export * from "./FeedbackRequest";
|
|
32
30
|
export * from "./NumericConversationField";
|
|
33
|
-
export * from "./SimulationFilter";
|
|
34
31
|
export * from "./StreamResponse";
|
|
35
32
|
export * from "./SubmitActionFormRequest";
|
|
36
33
|
export * from "./UpdateMetadataRequest";
|
|
@@ -42,11 +42,8 @@ __exportStar(require("./DeliverMessageRequest"), exports);
|
|
|
42
42
|
__exportStar(require("./DeliverMessageResponse"), exports);
|
|
43
43
|
__exportStar(require("./DeliverUserMessageRequest"), exports);
|
|
44
44
|
__exportStar(require("./DeliveryStatus"), exports);
|
|
45
|
-
__exportStar(require("./FeedbackField"), exports);
|
|
46
|
-
__exportStar(require("./FeedbackFilter"), exports);
|
|
47
45
|
__exportStar(require("./FeedbackRequest"), exports);
|
|
48
46
|
__exportStar(require("./NumericConversationField"), exports);
|
|
49
|
-
__exportStar(require("./SimulationFilter"), exports);
|
|
50
47
|
__exportStar(require("./StreamResponse"), exports);
|
|
51
48
|
__exportStar(require("./SubmitActionFormRequest"), exports);
|
|
52
49
|
__exportStar(require("./UpdateMetadataRequest"), exports);
|
|
@@ -296,7 +296,7 @@ class CustomersClient {
|
|
|
296
296
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
297
297
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
298
298
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
299
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/customers/${core.url.encodePathParam(customerReferenceId)}`),
|
|
299
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/customers/${core.url.encodePathParam(customerReferenceId, errors.MavenAGIError)}`),
|
|
300
300
|
method: "GET",
|
|
301
301
|
headers: _headers,
|
|
302
302
|
queryString: core.url
|
|
@@ -402,7 +402,7 @@ class CustomersClient {
|
|
|
402
402
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
403
403
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
404
404
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
405
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/customers/${core.url.encodePathParam(customerReferenceId)}`),
|
|
405
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/customers/${core.url.encodePathParam(customerReferenceId, errors.MavenAGIError)}`),
|
|
406
406
|
method: "PATCH",
|
|
407
407
|
headers: _headers,
|
|
408
408
|
contentType: "application/merge-patch+json",
|
|
@@ -13,6 +13,8 @@ export interface CustomerFilter {
|
|
|
13
13
|
* - `metadata.mykey:*` - matches customers with a metadata field `mykey`
|
|
14
14
|
* - `-metadata:myvalue` - matches customers that do not have any metadata field set to `myvalue`
|
|
15
15
|
* - `_exists_:metadata` - matches customers that have any metadata field set
|
|
16
|
+
*
|
|
17
|
+
* Shown in Agent Designer as "Name or description".
|
|
16
18
|
*/
|
|
17
19
|
search?: string;
|
|
18
20
|
/** The statuses to filter the customers by. */
|
|
@@ -23,8 +23,8 @@ import type * as MavenAGI from "../../../index";
|
|
|
23
23
|
export interface CustomerResponse extends MavenAGI.CustomerBase {
|
|
24
24
|
/** ID that uniquely identifies this customer */
|
|
25
25
|
customerId: MavenAGI.EntityId;
|
|
26
|
-
/** Set of agent user IDs assigned to this customer */
|
|
26
|
+
/** Set of agent user IDs assigned to this customer. Shown in Agent Designer under "People", together with `members`. */
|
|
27
27
|
assignees: Set<string>;
|
|
28
|
-
/** Set of agent user IDs who are members of this customer */
|
|
28
|
+
/** Set of agent user IDs who are members of this customer. Shown in Agent Designer under "People", together with `assignees`. */
|
|
29
29
|
members: Set<string>;
|
|
30
30
|
}
|
|
@@ -3,13 +3,22 @@ import type * as MavenAGI from "../../../index";
|
|
|
3
3
|
* An app with the extra detail needed to render its page and drive installation.
|
|
4
4
|
*/
|
|
5
5
|
export interface BaseDetailApp extends MavenAGI.BaseApp {
|
|
6
|
-
/**
|
|
6
|
+
/**
|
|
7
|
+
* Guidance shown while installing the app, for example how to obtain the credentials it asks for.
|
|
8
|
+
* May use [placeholders](https://developers.mavenagi.com/docs/documentation/configuration-and-integration/placeholders) such as `${agentId}`.
|
|
9
|
+
*/
|
|
7
10
|
installationInstructions?: string;
|
|
8
|
-
/** Guidance shown once the app is installed. */
|
|
11
|
+
/** Guidance shown once the app is installed. May use [placeholders](https://developers.mavenagi.com/docs/documentation/configuration-and-integration/placeholders), settings included. */
|
|
9
12
|
instructions?: string;
|
|
10
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* URL of a preview image or demo for the app's detail page. May use [placeholders](https://developers.mavenagi.com/docs/documentation/configuration-and-integration/placeholders) such as
|
|
15
|
+
* `${appHost}` and `${settings.region}`.
|
|
16
|
+
*/
|
|
11
17
|
previewUrl?: string;
|
|
12
|
-
/**
|
|
18
|
+
/**
|
|
19
|
+
* Supporting links published by the author, such as documentation or a privacy policy. Their URLs
|
|
20
|
+
* may use [placeholders](https://developers.mavenagi.com/docs/documentation/configuration-and-integration/placeholders) such as `${appHost}`, but never settings: links are public.
|
|
21
|
+
*/
|
|
13
22
|
links: MavenAGI.Link[];
|
|
14
23
|
/**
|
|
15
24
|
* The settings the app accepts. Drives the install form, and describes which values are files
|
|
@@ -6,6 +6,6 @@ export interface Link {
|
|
|
6
6
|
title: string;
|
|
7
7
|
/** Optional longer explanation of where the link goes. */
|
|
8
8
|
description?: string;
|
|
9
|
-
/** Destination URL. */
|
|
9
|
+
/** Destination URL. May use [placeholders](https://developers.mavenagi.com/docs/documentation/configuration-and-integration/placeholders) such as `${appHost}`. */
|
|
10
10
|
url: string;
|
|
11
11
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../index";
|
|
2
2
|
/**
|
|
3
3
|
* A detailed app definition used when rendering an app detail page within the app directory.
|
|
4
|
-
* The
|
|
4
|
+
* The installationInstructions and links have their placeholders filled in for the agent, and, once the
|
|
5
|
+
* app is installed, so do the instructions and previewUrl. See [Placeholders](https://developers.mavenagi.com/docs/documentation/configuration-and-integration/placeholders).
|
|
5
6
|
*/
|
|
6
7
|
export interface MarketplaceAppDetail extends MavenAGI.BaseDetailApp {
|
|
7
8
|
/** Whether this app is currently installed on the agent the request was scoped to. */
|
|
@@ -306,7 +306,7 @@ class EventsClient {
|
|
|
306
306
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
307
307
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
308
308
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
309
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/events/${core.url.encodePathParam(eventId)}`),
|
|
309
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/events/${core.url.encodePathParam(eventId, errors.MavenAGIError)}`),
|
|
310
310
|
method: "GET",
|
|
311
311
|
headers: _headers,
|
|
312
312
|
queryString: core.url
|
|
@@ -325,7 +325,7 @@ class InboxClient {
|
|
|
325
325
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
326
326
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
327
327
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
328
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/inbox/${core.url.encodePathParam(inboxItemId)}`),
|
|
328
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/inbox/${core.url.encodePathParam(inboxItemId, errors.MavenAGIError)}`),
|
|
329
329
|
method: "PATCH",
|
|
330
330
|
headers: _headers,
|
|
331
331
|
contentType: "application/json",
|
|
@@ -431,7 +431,7 @@ class InboxClient {
|
|
|
431
431
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
432
432
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
433
433
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
434
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/inbox/${core.url.encodePathParam(inboxItemId)}/tags`),
|
|
434
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/inbox/${core.url.encodePathParam(inboxItemId, errors.MavenAGIError)}/tags`),
|
|
435
435
|
method: "PATCH",
|
|
436
436
|
headers: _headers,
|
|
437
437
|
contentType: "application/json",
|
|
@@ -539,7 +539,7 @@ class InboxClient {
|
|
|
539
539
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
540
540
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
541
541
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
542
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/inbox/${core.url.encodePathParam(inboxItemId)}`),
|
|
542
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/inbox/${core.url.encodePathParam(inboxItemId, errors.MavenAGIError)}`),
|
|
543
543
|
method: "GET",
|
|
544
544
|
headers: _headers,
|
|
545
545
|
queryString: core.url
|
|
@@ -648,7 +648,7 @@ class InboxClient {
|
|
|
648
648
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
649
649
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
650
650
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
651
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/inbox/fix/${core.url.encodePathParam(inboxItemFixId)}`),
|
|
651
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/inbox/fix/${core.url.encodePathParam(inboxItemFixId, errors.MavenAGIError)}`),
|
|
652
652
|
method: "GET",
|
|
653
653
|
headers: _headers,
|
|
654
654
|
queryString: core.url
|
|
@@ -754,7 +754,7 @@ class InboxClient {
|
|
|
754
754
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
755
755
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
756
756
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
757
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/inbox/${core.url.encodePathParam(inboxItemId)}/applyfixes`),
|
|
757
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/inbox/${core.url.encodePathParam(inboxItemId, errors.MavenAGIError)}/applyfixes`),
|
|
758
758
|
method: "POST",
|
|
759
759
|
headers: _headers,
|
|
760
760
|
contentType: "application/json",
|
|
@@ -854,7 +854,7 @@ class InboxClient {
|
|
|
854
854
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
855
855
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
856
856
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
857
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/inbox/${core.url.encodePathParam(inboxItemId)}/ignore`),
|
|
857
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/inbox/${core.url.encodePathParam(inboxItemId, errors.MavenAGIError)}/ignore`),
|
|
858
858
|
method: "POST",
|
|
859
859
|
headers: _headers,
|
|
860
860
|
queryString: core.url
|
|
@@ -88,7 +88,7 @@ class IntegrationsClient {
|
|
|
88
88
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
89
89
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
90
90
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
91
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `v1/organizations/${core.url.encodePathParam(organizationId)}/integrations/${core.url.encodePathParam(integrationId)}`),
|
|
91
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `v1/organizations/${core.url.encodePathParam(organizationId, errors.MavenAGIError)}/integrations/${core.url.encodePathParam(integrationId, errors.MavenAGIError)}`),
|
|
92
92
|
method: "PATCH",
|
|
93
93
|
headers: _headers,
|
|
94
94
|
contentType: "application/json",
|
|
@@ -129,8 +129,9 @@ export declare class IntelligentFieldsClient {
|
|
|
129
129
|
* Soft delete an intelligent field. Only INACTIVE fields can be deleted.
|
|
130
130
|
*
|
|
131
131
|
* Deleted fields are excluded from search results, and getting one by ID returns 404.
|
|
132
|
-
* Creating a
|
|
133
|
-
*
|
|
132
|
+
* Creating a field with the same referenceId as a deleted field reclaims it: the field keeps
|
|
133
|
+
* its identity and entityType, every other setting comes from the request, and it gets the
|
|
134
|
+
* status a new field gets.
|
|
134
135
|
*
|
|
135
136
|
* Deleted fields cannot be modified.
|
|
136
137
|
*
|
|
@@ -233,7 +233,7 @@ class IntelligentFieldsClient {
|
|
|
233
233
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
234
234
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
235
235
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
236
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/intelligent-fields/${core.url.encodePathParam(fieldReferenceId)}`),
|
|
236
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/intelligent-fields/${core.url.encodePathParam(fieldReferenceId, errors.MavenAGIError)}`),
|
|
237
237
|
method: "GET",
|
|
238
238
|
headers: _headers,
|
|
239
239
|
queryString: core.url
|
|
@@ -348,7 +348,7 @@ class IntelligentFieldsClient {
|
|
|
348
348
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
349
349
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
350
350
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
351
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/intelligent-fields/${core.url.encodePathParam(fieldReferenceId)}`),
|
|
351
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/intelligent-fields/${core.url.encodePathParam(fieldReferenceId, errors.MavenAGIError)}`),
|
|
352
352
|
method: "PATCH",
|
|
353
353
|
headers: _headers,
|
|
354
354
|
contentType: "application/merge-patch+json",
|
|
@@ -429,8 +429,9 @@ class IntelligentFieldsClient {
|
|
|
429
429
|
* Soft delete an intelligent field. Only INACTIVE fields can be deleted.
|
|
430
430
|
*
|
|
431
431
|
* Deleted fields are excluded from search results, and getting one by ID returns 404.
|
|
432
|
-
* Creating a
|
|
433
|
-
*
|
|
432
|
+
* Creating a field with the same referenceId as a deleted field reclaims it: the field keeps
|
|
433
|
+
* its identity and entityType, every other setting comes from the request, and it gets the
|
|
434
|
+
* status a new field gets.
|
|
434
435
|
*
|
|
435
436
|
* Deleted fields cannot be modified.
|
|
436
437
|
*
|
|
@@ -467,7 +468,7 @@ class IntelligentFieldsClient {
|
|
|
467
468
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
468
469
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
469
470
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
470
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/intelligent-fields/${core.url.encodePathParam(fieldReferenceId)}`),
|
|
471
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/intelligent-fields/${core.url.encodePathParam(fieldReferenceId, errors.MavenAGIError)}`),
|
|
471
472
|
method: "DELETE",
|
|
472
473
|
headers: _headers,
|
|
473
474
|
queryString: core.url
|
|
@@ -30,6 +30,4 @@ export interface IntelligentFieldPatchRequest {
|
|
|
30
30
|
enumOptions?: MavenAGI.EnumOption[];
|
|
31
31
|
/** The agent variant to stage this patch in. Required on an agent with versioned intelligent fields; a patch that omits it there is rejected with reason `VARIANT_REQUIRED`. */
|
|
32
32
|
variantId?: MavenAGI.EntityIdWithoutAgent;
|
|
33
|
-
/** Deprecated, use `variantId.appId`, which wins when both are set. */
|
|
34
|
-
variantAppId?: string;
|
|
35
33
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
export interface EnumOption {
|
|
7
7
|
/** The value of the option */
|
|
8
8
|
value: string;
|
|
9
|
-
/** Display label for the option */
|
|
9
|
+
/** Display label for the option. Shown in Agent Designer as "Option Name". */
|
|
10
10
|
label?: string;
|
|
11
11
|
/**
|
|
12
12
|
* Instructions that tell the LLM when to pick this option. Up to 1200 characters. On a
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../index";
|
|
2
2
|
export interface IntelligentFieldBase extends MavenAGI.IntelligentFieldCore {
|
|
3
|
-
/** Target entity type for evaluation. CONVERSATION is supported, and AGENT_USER is supported for agents with user-level intelligent fields enabled. The backend will return an error for other types. */
|
|
3
|
+
/** Target entity type for evaluation. CONVERSATION is supported, and AGENT_USER is supported for agents with user-level intelligent fields enabled. The backend will return an error for other types. Shown in Agent Designer as "Target", with `CONVERSATION` as "On conversations" and `AGENT_USER` as "On users". */
|
|
4
4
|
entityType: MavenAGI.EntityType;
|
|
5
5
|
/** On a request, the agent variant to stage the write in. On a response, the variant the request named, if any; absent when it named none. */
|
|
6
6
|
variantId?: MavenAGI.EntityIdWithoutAgent;
|
|
@@ -13,13 +13,17 @@ export interface IntelligentFieldCore {
|
|
|
13
13
|
* - NUMBER: a number
|
|
14
14
|
*
|
|
15
15
|
* For a single select, use STRING or NUMBER together with `enumOptions`.
|
|
16
|
+
*
|
|
17
|
+
* Shown in Agent Designer as "Value format" or "Field type".
|
|
16
18
|
*/
|
|
17
19
|
validationType: MavenAGI.IntelligentFieldType;
|
|
18
|
-
/** Definition used by the LLM when generating this field's value */
|
|
20
|
+
/** Definition used by the LLM when generating this field's value. Shown in Agent Designer as "Define this field" (the evaluation instructions). */
|
|
19
21
|
definition: string;
|
|
20
22
|
/**
|
|
21
23
|
* The finite set of values this field may take. Omit to let the LLM produce any value of
|
|
22
24
|
* the `validationType`. Options may be added later with the patch endpoint, but not removed.
|
|
25
|
+
*
|
|
26
|
+
* Shown in Agent Designer as "Select Options".
|
|
23
27
|
*/
|
|
24
28
|
enumOptions?: MavenAGI.EnumOption[];
|
|
25
29
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** Result type hint used for schema generation, UI, and validation */
|
|
1
|
+
/** Result type hint used for schema generation, UI, and validation. In Agent Designer, "Text" saves as `MULTILINE`, "Select" is `STRING` (or `NUMBER` when every option is numeric) with `enumOptions`, and "Multi-Select" is `MULTI_SELECT`. */
|
|
2
2
|
export declare const IntelligentFieldType: {
|
|
3
3
|
/**
|
|
4
4
|
* A single short string value. */
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.IntelligentFieldType = void 0;
|
|
5
|
-
/** Result type hint used for schema generation, UI, and validation */
|
|
5
|
+
/** Result type hint used for schema generation, UI, and validation. In Agent Designer, "Text" saves as `MULTILINE`, "Select" is `STRING` (or `NUMBER` when every option is numeric) with `enumOptions`, and "Multi-Select" is `MULTI_SELECT`. */
|
|
6
6
|
exports.IntelligentFieldType = {
|
|
7
7
|
/**
|
|
8
8
|
* A single short string value. */
|