mavenagi 1.2.71 → 1.2.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BaseClient.js +2 -2
- package/Client.d.ts +3 -0
- package/Client.js +47 -42
- package/api/resources/agentVariants/client/Client.d.ts +484 -0
- package/api/resources/agentVariants/client/Client.js +1888 -0
- package/api/resources/agentVariants/client/index.d.ts +1 -0
- package/api/resources/agentVariants/client/index.js +17 -0
- package/api/resources/agentVariants/client/requests/AgentVariantBaseGetRequest.d.ts +8 -0
- package/api/resources/agentVariants/client/requests/AgentVariantBaseGetRequest.js +3 -0
- package/api/resources/agentVariants/client/requests/AgentVariantCommitRequest.d.ts +27 -0
- package/api/resources/agentVariants/client/requests/AgentVariantCommitRequest.js +3 -0
- package/api/resources/agentVariants/client/requests/AgentVariantDeleteRequest.d.ts +8 -0
- package/api/resources/agentVariants/client/requests/AgentVariantDeleteRequest.js +3 -0
- package/api/resources/agentVariants/client/requests/DiscardWorkingSetEditsRequest.d.ts +10 -0
- package/api/resources/agentVariants/client/requests/DiscardWorkingSetEditsRequest.js +3 -0
- package/api/resources/agentVariants/client/requests/GetEntityEditByIdRequest.d.ts +17 -0
- package/api/resources/agentVariants/client/requests/GetEntityEditByIdRequest.js +3 -0
- package/api/resources/agentVariants/client/requests/GetSettingEditRequest.d.ts +13 -0
- package/api/resources/agentVariants/client/requests/GetSettingEditRequest.js +3 -0
- package/api/resources/agentVariants/client/requests/GetTrafficConfigRequest.d.ts +8 -0
- package/api/resources/agentVariants/client/requests/GetTrafficConfigRequest.js +3 -0
- package/api/resources/agentVariants/client/requests/ListTrafficConfigsRequest.d.ts +12 -0
- package/api/resources/agentVariants/client/requests/ListTrafficConfigsRequest.js +3 -0
- package/api/resources/agentVariants/client/requests/PatchAgentVariantRequest.d.ts +15 -0
- package/api/resources/agentVariants/client/requests/PatchAgentVariantRequest.js +3 -0
- package/api/resources/agentVariants/client/requests/WorkingSetDiffRequest.d.ts +8 -0
- package/api/resources/agentVariants/client/requests/WorkingSetDiffRequest.js +3 -0
- package/api/resources/agentVariants/client/requests/index.d.ts +10 -0
- package/api/resources/agentVariants/client/requests/index.js +2 -0
- package/api/resources/agentVariants/exports.d.ts +2 -0
- package/api/resources/agentVariants/exports.js +21 -0
- package/api/resources/agentVariants/index.d.ts +2 -0
- package/api/resources/agentVariants/index.js +18 -0
- package/api/resources/agentVariants/types/AddedCharterDiff.d.ts +5 -0
- package/api/resources/agentVariants/types/AddedCharterDiff.js +3 -0
- package/api/resources/agentVariants/types/AddedIntelligentFieldDiff.d.ts +5 -0
- package/api/resources/agentVariants/types/AddedIntelligentFieldDiff.js +3 -0
- package/api/resources/agentVariants/types/AgentSettingEdits.d.ts +16 -0
- package/api/resources/agentVariants/types/AgentSettingEdits.js +3 -0
- package/api/resources/agentVariants/types/AgentSettingsDiff.d.ts +12 -0
- package/api/resources/agentVariants/types/AgentSettingsDiff.js +3 -0
- package/api/resources/agentVariants/types/AgentVariantCompareRequest.d.ts +14 -0
- package/api/resources/agentVariants/types/AgentVariantCompareRequest.js +3 -0
- package/api/resources/agentVariants/types/AgentVariantCompareResponse.d.ts +78 -0
- package/api/resources/agentVariants/types/AgentVariantCompareResponse.js +3 -0
- package/api/resources/agentVariants/types/AgentVariantDiff.d.ts +9 -0
- package/api/resources/agentVariants/types/AgentVariantDiff.js +3 -0
- package/api/resources/agentVariants/types/AgentVariantFilter.d.ts +9 -0
- package/api/resources/agentVariants/types/AgentVariantFilter.js +3 -0
- package/api/resources/agentVariants/types/AgentVariantListRequest.d.ts +3 -0
- package/api/resources/agentVariants/types/AgentVariantListRequest.js +3 -0
- package/api/resources/agentVariants/types/AgentVariantRequest.d.ts +28 -0
- package/api/resources/agentVariants/types/AgentVariantRequest.js +3 -0
- package/api/resources/agentVariants/types/AgentVariantResponse.d.ts +43 -0
- package/api/resources/agentVariants/types/AgentVariantResponse.js +3 -0
- package/api/resources/agentVariants/types/AgentVariantSearchResult.d.ts +7 -0
- package/api/resources/agentVariants/types/AgentVariantSearchResult.js +3 -0
- package/api/resources/agentVariants/types/AgentVariantSortField.d.ts +6 -0
- package/api/resources/agentVariants/types/AgentVariantSortField.js +9 -0
- package/api/resources/agentVariants/types/AgentVariantStatus.d.ts +9 -0
- package/api/resources/agentVariants/types/AgentVariantStatus.js +12 -0
- package/api/resources/agentVariants/types/AgentVariantTraffic.d.ts +7 -0
- package/api/resources/agentVariants/types/AgentVariantTraffic.js +3 -0
- package/api/resources/agentVariants/types/AgentVariantsSearchRequest.d.ts +6 -0
- package/api/resources/agentVariants/types/AgentVariantsSearchRequest.js +3 -0
- package/api/resources/agentVariants/types/AgentVariantsSearchResponse.d.ts +63 -0
- package/api/resources/agentVariants/types/AgentVariantsSearchResponse.js +3 -0
- package/api/resources/agentVariants/types/CharterDiff.d.ts +29 -0
- package/api/resources/agentVariants/types/CharterDiff.js +3 -0
- package/api/resources/agentVariants/types/CharterEntityEdit.d.ts +5 -0
- package/api/resources/agentVariants/types/CharterEntityEdit.js +3 -0
- package/api/resources/agentVariants/types/DeletedCharterDiff.d.ts +5 -0
- package/api/resources/agentVariants/types/DeletedCharterDiff.js +3 -0
- package/api/resources/agentVariants/types/DeletedIntelligentFieldDiff.d.ts +5 -0
- package/api/resources/agentVariants/types/DeletedIntelligentFieldDiff.js +3 -0
- package/api/resources/agentVariants/types/EntityEdit.d.ts +16 -0
- package/api/resources/agentVariants/types/EntityEdit.js +3 -0
- package/api/resources/agentVariants/types/EntityEditResponse.d.ts +7 -0
- package/api/resources/agentVariants/types/EntityEditResponse.js +3 -0
- package/api/resources/agentVariants/types/IntelligentFieldDiff.d.ts +27 -0
- package/api/resources/agentVariants/types/IntelligentFieldDiff.js +3 -0
- package/api/resources/agentVariants/types/IntelligentFieldEntityEdit.d.ts +5 -0
- package/api/resources/agentVariants/types/IntelligentFieldEntityEdit.js +3 -0
- package/api/resources/agentVariants/types/ListAgentVariantsResponse.d.ts +42 -0
- package/api/resources/agentVariants/types/ListAgentVariantsResponse.js +3 -0
- package/api/resources/agentVariants/types/ListTrafficConfigsResponse.d.ts +5 -0
- package/api/resources/agentVariants/types/ListTrafficConfigsResponse.js +3 -0
- package/api/resources/agentVariants/types/ModifiedCharterDiff.d.ts +7 -0
- package/api/resources/agentVariants/types/ModifiedCharterDiff.js +3 -0
- package/api/resources/agentVariants/types/ModifiedIntelligentFieldDiff.d.ts +7 -0
- package/api/resources/agentVariants/types/ModifiedIntelligentFieldDiff.js +3 -0
- package/api/resources/agentVariants/types/TrafficAllocation.d.ts +15 -0
- package/api/resources/agentVariants/types/TrafficAllocation.js +3 -0
- package/api/resources/agentVariants/types/TrafficConfigResponse.d.ts +16 -0
- package/api/resources/agentVariants/types/TrafficConfigResponse.js +3 -0
- package/api/resources/agentVariants/types/TrafficFraction.d.ts +4 -0
- package/api/resources/agentVariants/types/TrafficFraction.js +3 -0
- package/api/resources/agentVariants/types/TrafficRule.d.ts +9 -0
- package/api/resources/agentVariants/types/TrafficRule.js +3 -0
- package/api/resources/agentVariants/types/UpdateTrafficConfigRequest.d.ts +7 -0
- package/api/resources/agentVariants/types/UpdateTrafficConfigRequest.js +3 -0
- package/api/resources/agentVariants/types/WorkingSetDiffResponse.d.ts +12 -0
- package/api/resources/agentVariants/types/WorkingSetDiffResponse.js +3 -0
- package/api/resources/agentVariants/types/index.d.ts +35 -0
- package/api/resources/agentVariants/types/index.js +51 -0
- package/api/resources/agents/client/Client.d.ts +62 -0
- package/api/resources/agents/client/Client.js +234 -0
- package/api/resources/agents/client/requests/AgentPatchRequest.d.ts +8 -3
- package/api/resources/agents/client/requests/GetVersionedAgentSettingsRequest.d.ts +10 -0
- package/api/resources/agents/client/requests/GetVersionedAgentSettingsRequest.js +3 -0
- package/api/resources/agents/client/requests/VersionedAgentSettingsPatchRequest.d.ts +17 -0
- package/api/resources/agents/client/requests/VersionedAgentSettingsPatchRequest.js +3 -0
- package/api/resources/agents/client/requests/index.d.ts +2 -0
- package/api/resources/agents/types/Agent.d.ts +9 -1
- package/api/resources/agents/types/AgentMigrations.d.ts +20 -0
- package/api/resources/agents/types/AgentMigrations.js +3 -0
- package/api/resources/agents/types/AgentMigrationsPatch.d.ts +7 -0
- package/api/resources/agents/types/AgentMigrationsPatch.js +3 -0
- package/api/resources/agents/types/AgentPrompting.d.ts +1 -1
- package/api/resources/agents/types/AgentSettingName.d.ts +6 -0
- package/api/resources/agents/types/AgentSettingName.js +9 -0
- package/api/resources/agents/types/VersionedAgentSettings.d.ts +13 -0
- package/api/resources/agents/types/VersionedAgentSettings.js +3 -0
- package/api/resources/agents/types/VersionedEntityTypeOrSetting.d.ts +5 -0
- package/api/resources/agents/types/VersionedEntityTypeOrSetting.js +3 -0
- package/api/resources/agents/types/index.d.ts +5 -0
- package/api/resources/agents/types/index.js +5 -0
- package/api/resources/analytics/client/Client.d.ts +1 -1
- package/api/resources/analytics/client/Client.js +1 -1
- package/api/resources/analytics/types/AgentUserTableRequest.d.ts +2 -0
- package/api/resources/analytics/types/ConversationAnalyticsRequest.d.ts +7 -1
- package/api/resources/analytics/types/ConversationTableRequest.d.ts +7 -1
- package/api/resources/analytics/types/EventTableRequest.d.ts +1 -0
- package/api/resources/analytics/types/GroupByBase.d.ts +1 -1
- package/api/resources/analytics/types/TimeInterval.d.ts +11 -0
- package/api/resources/analytics/types/TimeInterval.js +11 -0
- package/api/resources/appDirectory/client/Client.d.ts +41 -2
- package/api/resources/appDirectory/client/Client.js +49 -2
- package/api/resources/appDirectory/types/InstallDirectoryAppRequest.d.ts +27 -5
- package/api/resources/appSettings/client/Client.d.ts +11 -4
- package/api/resources/appSettings/client/Client.js +11 -4
- package/api/resources/capabilities/client/Client.d.ts +3 -3
- package/api/resources/capabilities/client/Client.js +3 -3
- package/api/resources/capabilities/types/CapabilityExecutionCompletionReason.d.ts +4 -0
- package/api/resources/capabilities/types/CapabilityExecutionCompletionReason.js +4 -0
- package/api/resources/charters/client/Client.d.ts +8 -1
- package/api/resources/charters/client/Client.js +8 -1
- package/api/resources/charters/client/requests/CharterPatchRequest.d.ts +7 -4
- package/api/resources/charters/types/CharterBase.d.ts +5 -3
- package/api/resources/charters/types/CharterEdit.d.ts +18 -0
- package/api/resources/charters/types/CharterEdit.js +3 -0
- package/api/resources/charters/types/CharterPayload.d.ts +10 -0
- package/api/resources/charters/types/CharterPayload.js +3 -0
- package/api/resources/charters/types/CharterResponse.d.ts +17 -2
- package/api/resources/charters/types/CharterSummary.d.ts +17 -2
- package/api/resources/charters/types/index.d.ts +2 -0
- package/api/resources/charters/types/index.js +2 -0
- package/api/resources/commons/types/BotLogicKnowledgeItem.d.ts +2 -0
- package/api/resources/commons/types/BotResponseMetadata.d.ts +5 -0
- package/api/resources/commons/types/CapabilityBase.d.ts +4 -0
- package/api/resources/commons/types/ErrorReason.d.ts +2 -2
- package/api/resources/commons/types/ErrorReason.js +2 -2
- package/api/resources/commons/types/FieldCondition.d.ts +3 -2
- package/api/resources/commons/types/IntelligentFieldPrecondition.d.ts +9 -1
- package/api/resources/commons/types/MetadataPrecondition.d.ts +27 -3
- package/api/resources/commons/types/PresenceOperator.d.ts +2 -1
- package/api/resources/commons/types/PresenceOperator.js +2 -1
- package/api/resources/commons/types/ResolutionStatus.d.ts +9 -5
- package/api/resources/commons/types/ResolutionStatus.js +9 -5
- package/api/resources/commons/types/SimulationContext.d.ts +5 -0
- package/api/resources/commons/types/SimulationSetupFields.d.ts +2 -3
- package/api/resources/commons/types/SystemEventName.d.ts +6 -0
- package/api/resources/commons/types/SystemEventName.js +6 -0
- package/api/resources/commons/types/TagsPrecondition.d.ts +12 -1
- package/api/resources/conversation/client/Client.d.ts +20 -0
- package/api/resources/conversation/client/Client.js +20 -0
- package/api/resources/conversation/client/requests/ConversationGetRequest.d.ts +1 -1
- package/api/resources/conversation/types/ConversationRequest.d.ts +2 -1
- package/api/resources/conversation/types/NumericConversationField.d.ts +13 -0
- package/api/resources/conversation/types/NumericConversationField.js +13 -0
- package/api/resources/developersCommons/types/MarketplaceAppDetail.d.ts +3 -2
- package/api/resources/index.d.ts +5 -0
- package/api/resources/index.js +6 -1
- package/api/resources/intelligentFields/client/Client.d.ts +13 -4
- package/api/resources/intelligentFields/client/Client.js +13 -4
- package/api/resources/intelligentFields/types/IntelligentFieldBase.d.ts +1 -1
- package/api/resources/intelligentFields/types/IntelligentFieldEdit.d.ts +16 -0
- package/api/resources/intelligentFields/types/IntelligentFieldEdit.js +3 -0
- package/api/resources/intelligentFields/types/IntelligentFieldPayload.d.ts +12 -0
- package/api/resources/intelligentFields/types/IntelligentFieldPayload.js +3 -0
- package/api/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +3 -4
- package/api/resources/intelligentFields/types/index.d.ts +2 -0
- package/api/resources/intelligentFields/types/index.js +2 -0
- package/api/resources/knowledge/client/Client.d.ts +33 -2
- package/api/resources/knowledge/client/Client.js +33 -2
- package/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +4 -0
- 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 +4 -0
- package/api/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +4 -0
- package/api/resources/organizations/types/Organization.d.ts +8 -0
- package/api/resources/triggers/client/Client.d.ts +6 -1
- package/api/resources/triggers/client/Client.js +6 -1
- package/api/resources/triggers/client/requests/PartialUpdateRequest.d.ts +6 -0
- package/api/resources/triggers/types/DebounceWait.d.ts +14 -0
- package/api/resources/triggers/types/DebounceWait.js +3 -0
- package/api/resources/triggers/types/DelayWait.d.ts +13 -0
- package/api/resources/triggers/types/DelayWait.js +3 -0
- package/api/resources/triggers/types/EventTriggerBase.d.ts +21 -0
- package/api/resources/triggers/types/EventTriggerResponse.d.ts +12 -0
- package/api/resources/triggers/types/IntervalSchedule.d.ts +17 -0
- package/api/resources/triggers/types/IntervalSchedule.js +3 -0
- package/api/resources/triggers/types/ScheduleInterval.d.ts +9 -0
- package/api/resources/triggers/types/ScheduleInterval.js +12 -0
- package/api/resources/triggers/types/ScheduleSpec.d.ts +11 -0
- package/api/resources/triggers/types/ScheduleSpec.js +3 -0
- package/api/resources/triggers/types/TimeSpan.d.ts +10 -0
- package/api/resources/triggers/types/TimeSpan.js +3 -0
- package/api/resources/triggers/types/TimeSpanUnit.d.ts +7 -0
- package/api/resources/triggers/types/TimeSpanUnit.js +10 -0
- package/api/resources/triggers/types/TriggerRateLimit.d.ts +20 -0
- package/api/resources/triggers/types/TriggerRateLimit.js +3 -0
- package/api/resources/triggers/types/TriggerSchedule.d.ts +30 -0
- package/api/resources/triggers/types/TriggerSchedule.js +3 -0
- package/api/resources/triggers/types/TriggerWait.d.ts +16 -0
- package/api/resources/triggers/types/TriggerWait.js +3 -0
- package/api/resources/triggers/types/TriggerWaitBase.d.ts +9 -0
- package/api/resources/triggers/types/TriggerWaitBase.js +3 -0
- package/api/resources/triggers/types/index.d.ts +11 -0
- package/api/resources/triggers/types/index.js +11 -0
- package/api/resources/users/client/Client.d.ts +1 -3
- package/api/resources/users/client/Client.js +1 -3
- package/api/resources/workingSet/index.d.ts +1 -0
- package/api/resources/workingSet/index.js +17 -0
- package/api/resources/workingSet/types/VariantDebugInfo.d.ts +15 -0
- package/api/resources/workingSet/types/VariantDebugInfo.js +3 -0
- package/api/resources/workingSet/types/index.d.ts +1 -0
- package/api/resources/workingSet/types/index.js +17 -0
- package/package.json +1 -1
- package/reference.md +1542 -15
- package/serialization/resources/agentVariants/client/index.d.ts +1 -0
- package/serialization/resources/agentVariants/client/index.js +17 -0
- package/serialization/resources/agentVariants/client/requests/AgentVariantCommitRequest.d.ts +15 -0
- package/serialization/resources/agentVariants/client/requests/AgentVariantCommitRequest.js +47 -0
- package/serialization/resources/agentVariants/client/requests/GetEntityEditByIdRequest.d.ts +11 -0
- package/serialization/resources/agentVariants/client/requests/GetEntityEditByIdRequest.js +43 -0
- package/serialization/resources/agentVariants/client/requests/GetSettingEditRequest.d.ts +11 -0
- package/serialization/resources/agentVariants/client/requests/GetSettingEditRequest.js +43 -0
- package/serialization/resources/agentVariants/client/requests/PatchAgentVariantRequest.d.ts +13 -0
- package/serialization/resources/agentVariants/client/requests/PatchAgentVariantRequest.js +45 -0
- package/serialization/resources/agentVariants/client/requests/WorkingSetDiffRequest.d.ts +9 -0
- package/serialization/resources/agentVariants/client/requests/WorkingSetDiffRequest.js +41 -0
- package/serialization/resources/agentVariants/client/requests/index.d.ts +5 -0
- package/serialization/resources/agentVariants/client/requests/index.js +13 -0
- package/serialization/resources/agentVariants/index.d.ts +2 -0
- package/serialization/resources/agentVariants/index.js +18 -0
- package/serialization/resources/agentVariants/types/AddedCharterDiff.d.ts +10 -0
- package/serialization/resources/agentVariants/types/AddedCharterDiff.js +42 -0
- package/serialization/resources/agentVariants/types/AddedIntelligentFieldDiff.d.ts +10 -0
- package/serialization/resources/agentVariants/types/AddedIntelligentFieldDiff.js +42 -0
- package/serialization/resources/agentVariants/types/AgentSettingEdits.d.ts +17 -0
- package/serialization/resources/agentVariants/types/AgentSettingEdits.js +49 -0
- package/serialization/resources/agentVariants/types/AgentSettingsDiff.d.ts +13 -0
- package/serialization/resources/agentVariants/types/AgentSettingsDiff.js +45 -0
- package/serialization/resources/agentVariants/types/AgentVariantCompareRequest.d.ts +14 -0
- package/serialization/resources/agentVariants/types/AgentVariantCompareRequest.js +46 -0
- package/serialization/resources/agentVariants/types/AgentVariantCompareResponse.d.ts +13 -0
- package/serialization/resources/agentVariants/types/AgentVariantCompareResponse.js +45 -0
- package/serialization/resources/agentVariants/types/AgentVariantDiff.d.ts +14 -0
- package/serialization/resources/agentVariants/types/AgentVariantDiff.js +46 -0
- package/serialization/resources/agentVariants/types/AgentVariantFilter.d.ts +13 -0
- package/serialization/resources/agentVariants/types/AgentVariantFilter.js +45 -0
- package/serialization/resources/agentVariants/types/AgentVariantListRequest.d.ts +9 -0
- package/serialization/resources/agentVariants/types/AgentVariantListRequest.js +40 -0
- package/serialization/resources/agentVariants/types/AgentVariantRequest.d.ts +14 -0
- package/serialization/resources/agentVariants/types/AgentVariantRequest.js +46 -0
- package/serialization/resources/agentVariants/types/AgentVariantResponse.d.ts +21 -0
- package/serialization/resources/agentVariants/types/AgentVariantResponse.js +53 -0
- package/serialization/resources/agentVariants/types/AgentVariantSearchResult.d.ts +12 -0
- package/serialization/resources/agentVariants/types/AgentVariantSearchResult.js +46 -0
- package/serialization/resources/agentVariants/types/AgentVariantSortField.d.ts +7 -0
- package/serialization/resources/agentVariants/types/AgentVariantSortField.js +39 -0
- package/serialization/resources/agentVariants/types/AgentVariantStatus.d.ts +7 -0
- package/serialization/resources/agentVariants/types/AgentVariantStatus.js +39 -0
- package/serialization/resources/agentVariants/types/AgentVariantTraffic.d.ts +11 -0
- package/serialization/resources/agentVariants/types/AgentVariantTraffic.js +43 -0
- package/serialization/resources/agentVariants/types/AgentVariantsSearchRequest.d.ts +13 -0
- package/serialization/resources/agentVariants/types/AgentVariantsSearchRequest.js +47 -0
- package/serialization/resources/agentVariants/types/AgentVariantsSearchResponse.d.ts +11 -0
- package/serialization/resources/agentVariants/types/AgentVariantsSearchResponse.js +45 -0
- package/serialization/resources/agentVariants/types/CharterDiff.d.ts +19 -0
- package/serialization/resources/agentVariants/types/CharterDiff.js +51 -0
- package/serialization/resources/agentVariants/types/CharterEntityEdit.d.ts +10 -0
- package/serialization/resources/agentVariants/types/CharterEntityEdit.js +42 -0
- package/serialization/resources/agentVariants/types/DeletedCharterDiff.d.ts +10 -0
- package/serialization/resources/agentVariants/types/DeletedCharterDiff.js +42 -0
- package/serialization/resources/agentVariants/types/DeletedIntelligentFieldDiff.d.ts +10 -0
- package/serialization/resources/agentVariants/types/DeletedIntelligentFieldDiff.js +42 -0
- package/serialization/resources/agentVariants/types/EntityEdit.d.ts +15 -0
- package/serialization/resources/agentVariants/types/EntityEdit.js +49 -0
- package/serialization/resources/agentVariants/types/EntityEditResponse.d.ts +12 -0
- package/serialization/resources/agentVariants/types/EntityEditResponse.js +44 -0
- package/serialization/resources/agentVariants/types/IntelligentFieldDiff.d.ts +19 -0
- package/serialization/resources/agentVariants/types/IntelligentFieldDiff.js +51 -0
- package/serialization/resources/agentVariants/types/IntelligentFieldEntityEdit.d.ts +10 -0
- package/serialization/resources/agentVariants/types/IntelligentFieldEntityEdit.js +42 -0
- package/serialization/resources/agentVariants/types/ListAgentVariantsResponse.d.ts +11 -0
- package/serialization/resources/agentVariants/types/ListAgentVariantsResponse.js +45 -0
- package/serialization/resources/agentVariants/types/ListTrafficConfigsResponse.d.ts +11 -0
- package/serialization/resources/agentVariants/types/ListTrafficConfigsResponse.js +45 -0
- package/serialization/resources/agentVariants/types/ModifiedCharterDiff.d.ts +11 -0
- package/serialization/resources/agentVariants/types/ModifiedCharterDiff.js +43 -0
- package/serialization/resources/agentVariants/types/ModifiedIntelligentFieldDiff.d.ts +11 -0
- package/serialization/resources/agentVariants/types/ModifiedIntelligentFieldDiff.js +43 -0
- package/serialization/resources/agentVariants/types/TrafficAllocation.d.ts +11 -0
- package/serialization/resources/agentVariants/types/TrafficAllocation.js +47 -0
- package/serialization/resources/agentVariants/types/TrafficConfigResponse.d.ts +16 -0
- package/serialization/resources/agentVariants/types/TrafficConfigResponse.js +48 -0
- package/serialization/resources/agentVariants/types/TrafficFraction.d.ts +9 -0
- package/serialization/resources/agentVariants/types/TrafficFraction.js +41 -0
- package/serialization/resources/agentVariants/types/TrafficRule.d.ts +12 -0
- package/serialization/resources/agentVariants/types/TrafficRule.js +44 -0
- package/serialization/resources/agentVariants/types/UpdateTrafficConfigRequest.d.ts +11 -0
- package/serialization/resources/agentVariants/types/UpdateTrafficConfigRequest.js +43 -0
- package/serialization/resources/agentVariants/types/WorkingSetDiffResponse.d.ts +13 -0
- package/serialization/resources/agentVariants/types/WorkingSetDiffResponse.js +45 -0
- package/serialization/resources/agentVariants/types/index.d.ts +35 -0
- package/serialization/resources/agentVariants/types/index.js +51 -0
- package/serialization/resources/agents/client/requests/AgentPatchRequest.d.ts +2 -0
- package/serialization/resources/agents/client/requests/AgentPatchRequest.js +2 -0
- package/serialization/resources/agents/client/requests/VersionedAgentSettingsPatchRequest.d.ts +12 -0
- package/serialization/resources/agents/client/requests/VersionedAgentSettingsPatchRequest.js +44 -0
- package/serialization/resources/agents/client/requests/index.d.ts +1 -0
- package/serialization/resources/agents/client/requests/index.js +3 -1
- package/serialization/resources/agents/types/Agent.d.ts +6 -0
- package/serialization/resources/agents/types/Agent.js +6 -0
- package/serialization/resources/agents/types/AgentMigrations.d.ts +11 -0
- package/serialization/resources/agents/types/AgentMigrations.js +43 -0
- package/serialization/resources/agents/types/AgentMigrationsPatch.d.ts +9 -0
- package/serialization/resources/agents/types/AgentMigrationsPatch.js +41 -0
- package/serialization/resources/agents/types/AgentSettingName.d.ts +7 -0
- package/serialization/resources/agents/types/AgentSettingName.js +42 -0
- package/serialization/resources/agents/types/VersionedAgentSettings.d.ts +10 -0
- package/serialization/resources/agents/types/VersionedAgentSettings.js +42 -0
- package/serialization/resources/agents/types/VersionedEntityTypeOrSetting.d.ts +9 -0
- package/serialization/resources/agents/types/VersionedEntityTypeOrSetting.js +41 -0
- package/serialization/resources/agents/types/index.d.ts +5 -0
- package/serialization/resources/agents/types/index.js +5 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionCompletionReason.d.ts +1 -1
- package/serialization/resources/capabilities/types/CapabilityExecutionCompletionReason.js +1 -0
- package/serialization/resources/charters/types/CharterEdit.d.ts +17 -0
- package/serialization/resources/charters/types/CharterEdit.js +49 -0
- package/serialization/resources/charters/types/CharterPayload.d.ts +11 -0
- package/serialization/resources/charters/types/CharterPayload.js +45 -0
- package/serialization/resources/charters/types/CharterResponse.d.ts +3 -0
- package/serialization/resources/charters/types/CharterResponse.js +3 -0
- package/serialization/resources/charters/types/CharterSummary.d.ts +3 -0
- package/serialization/resources/charters/types/CharterSummary.js +3 -0
- package/serialization/resources/charters/types/index.d.ts +2 -0
- package/serialization/resources/charters/types/index.js +2 -0
- package/serialization/resources/commons/types/CapabilityBase.d.ts +3 -0
- package/serialization/resources/commons/types/CapabilityBase.js +3 -0
- package/serialization/resources/commons/types/MetadataPrecondition.d.ts +2 -0
- package/serialization/resources/commons/types/MetadataPrecondition.js +2 -0
- package/serialization/resources/commons/types/SystemEventName.d.ts +1 -1
- package/serialization/resources/commons/types/SystemEventName.js +2 -0
- package/serialization/resources/conversation/types/NumericConversationField.d.ts +1 -1
- package/serialization/resources/conversation/types/NumericConversationField.js +1 -0
- package/serialization/resources/index.d.ts +5 -0
- package/serialization/resources/index.js +6 -1
- package/serialization/resources/intelligentFields/types/IntelligentFieldEdit.d.ts +17 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldEdit.js +49 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldPayload.d.ts +13 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldPayload.js +47 -0
- package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.d.ts +0 -3
- package/serialization/resources/intelligentFields/types/IntelligentFieldResponse.js +0 -3
- package/serialization/resources/intelligentFields/types/index.d.ts +2 -0
- package/serialization/resources/intelligentFields/types/index.js +2 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseResponse.d.ts +3 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +3 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersion.d.ts +3 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersion.js +3 -0
- package/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +3 -0
- package/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.js +3 -0
- package/serialization/resources/organizations/types/Organization.d.ts +5 -0
- package/serialization/resources/organizations/types/Organization.js +5 -0
- package/serialization/resources/triggers/client/requests/PartialUpdateRequest.d.ts +6 -0
- package/serialization/resources/triggers/client/requests/PartialUpdateRequest.js +6 -0
- package/serialization/resources/triggers/types/DebounceWait.d.ts +11 -0
- package/serialization/resources/triggers/types/DebounceWait.js +45 -0
- package/serialization/resources/triggers/types/DelayWait.d.ts +11 -0
- package/serialization/resources/triggers/types/DelayWait.js +45 -0
- package/serialization/resources/triggers/types/EventTriggerBase.d.ts +6 -0
- package/serialization/resources/triggers/types/EventTriggerBase.js +6 -0
- package/serialization/resources/triggers/types/EventTriggerResponse.d.ts +2 -0
- package/serialization/resources/triggers/types/EventTriggerResponse.js +2 -0
- package/serialization/resources/triggers/types/IntervalSchedule.d.ts +14 -0
- package/serialization/resources/triggers/types/IntervalSchedule.js +46 -0
- package/serialization/resources/triggers/types/ScheduleInterval.d.ts +7 -0
- package/serialization/resources/triggers/types/ScheduleInterval.js +39 -0
- package/serialization/resources/triggers/types/ScheduleSpec.d.ts +11 -0
- package/serialization/resources/triggers/types/ScheduleSpec.js +47 -0
- package/serialization/resources/triggers/types/TimeSpan.d.ts +11 -0
- package/serialization/resources/triggers/types/TimeSpan.js +43 -0
- package/serialization/resources/triggers/types/TimeSpanUnit.d.ts +7 -0
- package/serialization/resources/triggers/types/TimeSpanUnit.js +39 -0
- package/serialization/resources/triggers/types/TriggerRateLimit.d.ts +13 -0
- package/serialization/resources/triggers/types/TriggerRateLimit.js +45 -0
- package/serialization/resources/triggers/types/TriggerSchedule.d.ts +12 -0
- package/serialization/resources/triggers/types/TriggerSchedule.js +44 -0
- package/serialization/resources/triggers/types/TriggerWait.d.ts +15 -0
- package/serialization/resources/triggers/types/TriggerWait.js +49 -0
- package/serialization/resources/triggers/types/TriggerWaitBase.d.ts +10 -0
- package/serialization/resources/triggers/types/TriggerWaitBase.js +42 -0
- package/serialization/resources/triggers/types/index.d.ts +11 -0
- package/serialization/resources/triggers/types/index.js +11 -0
- package/serialization/resources/workingSet/index.d.ts +1 -0
- package/serialization/resources/workingSet/index.js +17 -0
- package/serialization/resources/workingSet/types/VariantDebugInfo.d.ts +10 -0
- package/serialization/resources/workingSet/types/VariantDebugInfo.js +42 -0
- package/serialization/resources/workingSet/types/index.d.ts +1 -0
- package/serialization/resources/workingSet/types/index.js +17 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -6,9 +6,17 @@ import type * as MavenAGI from "../../../index";
|
|
|
6
6
|
* the ID of the intelligent field (<referenceId, appId>). Available
|
|
7
7
|
* operators and the corresponding types of the RHS depends on the
|
|
8
8
|
* validationType of the intelligent field.
|
|
9
|
+
*
|
|
10
|
+
* The field must be active and must have entityType `CONVERSATION`. A
|
|
11
|
+
* precondition that names an `AGENT_USER` field is rejected, because a
|
|
12
|
+
* user field has no value on a conversation.
|
|
9
13
|
*/
|
|
10
14
|
export interface IntelligentFieldPrecondition {
|
|
11
|
-
/**
|
|
15
|
+
/**
|
|
16
|
+
* The ID of the intelligent field. It must be an active field with entityType `CONVERSATION`.
|
|
17
|
+
* `appId` is the app that created the field (for example `agent-designer` for a field made in
|
|
18
|
+
* Agent Designer); a field that doesn't exist under that app is rejected with a 404.
|
|
19
|
+
*/
|
|
12
20
|
fieldIdWithoutAgent: MavenAGI.EntityIdWithoutAgent;
|
|
13
21
|
/** The condition to evaluate against the field's value. */
|
|
14
22
|
fieldCondition: MavenAGI.FieldCondition;
|
|
@@ -1,9 +1,33 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../index";
|
|
2
2
|
export interface MetadataPrecondition extends MavenAGI.PreconditionBase {
|
|
3
|
-
/** The key
|
|
3
|
+
/** The metadata key the precondition reads. Without a `fieldCondition`, a missing key fails the precondition, or meets it when `operator` is `NOT`. With a `fieldCondition`, a missing key is undetermined: it meets only `IS_UNDETERMINED`. */
|
|
4
4
|
key: string;
|
|
5
|
-
/** Single value for CONTAINS operator or exact match */
|
|
5
|
+
/** Single value for CONTAINS operator or exact match. Superseded by `fieldCondition`, which carries its own value; this field and the inherited `operator` apply only without one. Keep using it until `fieldCondition` is generally available. */
|
|
6
6
|
value?: string;
|
|
7
|
-
/** Multiple values for CONTAINS_ANY and CONTAINS_ALL operators */
|
|
7
|
+
/** Multiple values for CONTAINS_ANY and CONTAINS_ALL operators. Superseded by `fieldCondition`, which carries its own values; this field and the inherited `operator` apply only without one. Keep using it until `fieldCondition` is generally available. */
|
|
8
8
|
values?: string[];
|
|
9
|
+
/**
|
|
10
|
+
* A typed condition on the value stored under `key`, used instead of `operator`, `value`
|
|
11
|
+
* and `values`. On charters, segments and knowledge bases, setting it together with
|
|
12
|
+
* `operator`, `value` or a non-empty `values` is a 400.
|
|
13
|
+
*
|
|
14
|
+
* Pick the arm by how the value is stored: `string` for a plain string, such as a prefix
|
|
15
|
+
* or suffix match, and `set` for a JSON array of strings, such as `["us-east","eu-west"]`.
|
|
16
|
+
* `numeric` and `boolean` read a value written as a number or `true`/`false`.
|
|
17
|
+
*
|
|
18
|
+
* A missing key meets only `universal` `IS_UNDETERMINED`. Every other condition is unmet,
|
|
19
|
+
* negated ones such as `NOT_STARTS_WITH` and `NEQ` included, unlike `operator: NOT`,
|
|
20
|
+
* which a missing key meets. To also match a conversation without the key, put the
|
|
21
|
+
* condition in an `OR` group with `IS_UNDETERMINED`.
|
|
22
|
+
*
|
|
23
|
+
* A `string` condition compares the stored text, unwrapping a JSON-quoted string first, so
|
|
24
|
+
* a JSON array or number is compared as its raw text. An empty comparison value matches
|
|
25
|
+
* every value for `STARTS_WITH`, `ENDS_WITH` and `CONTAINS_SUBSTRING`. A `numeric` or
|
|
26
|
+
* `boolean` condition is unmet when the value cannot be read as that type. A `set`
|
|
27
|
+
* condition reads a value that is not a JSON array as a one-element set, and skips `null`
|
|
28
|
+
* elements, so `[null]` is an empty set. A `numeric` `comparison` or `boolean` condition
|
|
29
|
+
* without a `value` is saved with `0` or `false`, so `{"opType": "comparison",
|
|
30
|
+
* "operator": "GT"}` means greater than 0.
|
|
31
|
+
*/
|
|
32
|
+
fieldCondition?: MavenAGI.FieldCondition;
|
|
9
33
|
}
|
|
@@ -6,7 +6,8 @@ export declare const PresenceOperator: {
|
|
|
6
6
|
/**
|
|
7
7
|
* The field has no determined value — the LLM could not determine one, the
|
|
8
8
|
* computation failed, is still running, or has not run. Surfaced to authors as
|
|
9
|
-
* the special "Undetermined" value.
|
|
9
|
+
* the special "Undetermined" value. For a metadata precondition, the key is
|
|
10
|
+
* absent. */
|
|
10
11
|
readonly IsUndetermined: "IS_UNDETERMINED";
|
|
11
12
|
/**
|
|
12
13
|
* The field has a determined (non-null) value. */
|
|
@@ -10,7 +10,8 @@ exports.PresenceOperator = {
|
|
|
10
10
|
/**
|
|
11
11
|
* The field has no determined value — the LLM could not determine one, the
|
|
12
12
|
* computation failed, is still running, or has not run. Surfaced to authors as
|
|
13
|
-
* the special "Undetermined" value.
|
|
13
|
+
* the special "Undetermined" value. For a metadata precondition, the key is
|
|
14
|
+
* absent. */
|
|
14
15
|
IsUndetermined: "IS_UNDETERMINED",
|
|
15
16
|
/**
|
|
16
17
|
* The field has a determined (non-null) value. */
|
|
@@ -38,8 +38,10 @@ export declare const ResolutionStatus: {
|
|
|
38
38
|
* The conversation was handed off to a human agent. Either an AI analysis of the
|
|
39
39
|
* transcript found a handoff, or a handoff action that Maven recognizes ran successfully.
|
|
40
40
|
* The AI analysis can be wrong. Once escalation is detected, later messages do not undo
|
|
41
|
-
* it, but the earlier checks, such as `NEGATIVE_FEEDBACK`, still take precedence.
|
|
42
|
-
* conversations are never `ESCALATED
|
|
41
|
+
* it, but the earlier checks, such as `NEGATIVE_FEEDBACK`, still take precedence. Agent
|
|
42
|
+
* Assist copilot conversations are never `ESCALATED`, in any mode: those tagged `copilot`,
|
|
43
|
+
* `copilot-research` or `copilot-advice` count as `RESOLVED` instead, and copilot chat
|
|
44
|
+
* conversations are `INELIGIBLE`. Billing status: not billable. Shown in Agent
|
|
43
45
|
* Designer as "Escalated". */
|
|
44
46
|
readonly Escalated: "ESCALATED";
|
|
45
47
|
/**
|
|
@@ -64,9 +66,11 @@ export declare const ResolutionStatus: {
|
|
|
64
66
|
* status: not eligible. Shown in Agent Designer as "Hangup". */
|
|
65
67
|
readonly Hangup: "HANGUP";
|
|
66
68
|
/**
|
|
67
|
-
* A copilot chat conversation
|
|
68
|
-
*
|
|
69
|
-
*
|
|
69
|
+
* A copilot chat conversation (tagged `copilot-chat`). Other Agent Assist copilot
|
|
70
|
+
* conversations, such as those tagged `copilot`, `copilot-research` or `copilot-advice`,
|
|
71
|
+
* keep the normal statuses but are never `ESCALATED`. Billing status: not eligible. Shown in
|
|
72
|
+
* Agent Designer as "Ineligible". Not the same as the `INELIGIBLE` billing status, which
|
|
73
|
+
* covers every not eligible status. */
|
|
70
74
|
readonly Ineligible: "INELIGIBLE";
|
|
71
75
|
};
|
|
72
76
|
export type ResolutionStatus = (typeof ResolutionStatus)[keyof typeof ResolutionStatus] | string;
|
|
@@ -42,8 +42,10 @@ exports.ResolutionStatus = {
|
|
|
42
42
|
* The conversation was handed off to a human agent. Either an AI analysis of the
|
|
43
43
|
* transcript found a handoff, or a handoff action that Maven recognizes ran successfully.
|
|
44
44
|
* The AI analysis can be wrong. Once escalation is detected, later messages do not undo
|
|
45
|
-
* it, but the earlier checks, such as `NEGATIVE_FEEDBACK`, still take precedence.
|
|
46
|
-
* conversations are never `ESCALATED
|
|
45
|
+
* it, but the earlier checks, such as `NEGATIVE_FEEDBACK`, still take precedence. Agent
|
|
46
|
+
* Assist copilot conversations are never `ESCALATED`, in any mode: those tagged `copilot`,
|
|
47
|
+
* `copilot-research` or `copilot-advice` count as `RESOLVED` instead, and copilot chat
|
|
48
|
+
* conversations are `INELIGIBLE`. Billing status: not billable. Shown in Agent
|
|
47
49
|
* Designer as "Escalated". */
|
|
48
50
|
Escalated: "ESCALATED",
|
|
49
51
|
/**
|
|
@@ -68,8 +70,10 @@ exports.ResolutionStatus = {
|
|
|
68
70
|
* status: not eligible. Shown in Agent Designer as "Hangup". */
|
|
69
71
|
Hangup: "HANGUP",
|
|
70
72
|
/**
|
|
71
|
-
* A copilot chat conversation
|
|
72
|
-
*
|
|
73
|
-
*
|
|
73
|
+
* A copilot chat conversation (tagged `copilot-chat`). Other Agent Assist copilot
|
|
74
|
+
* conversations, such as those tagged `copilot`, `copilot-research` or `copilot-advice`,
|
|
75
|
+
* keep the normal statuses but are never `ESCALATED`. Billing status: not eligible. Shown in
|
|
76
|
+
* Agent Designer as "Ineligible". Not the same as the `INELIGIBLE` billing status, which
|
|
77
|
+
* covers every not eligible status. */
|
|
74
78
|
Ineligible: "INELIGIBLE",
|
|
75
79
|
};
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../index";
|
|
2
2
|
/**
|
|
3
3
|
* Conversations with a simulation context are the runs on the Agent Designer "Simulator" page.
|
|
4
|
+
*
|
|
5
|
+
* By default, an action the agent executes in a simulation calls its app, with mode
|
|
6
|
+
* `SIMULATION`, and the app may act on real systems. To keep an action's app from being called, give it an
|
|
7
|
+
* `actionMocks` entry with a `fixedResponse`, or set `defaultActionBehavior` to a
|
|
8
|
+
* `fixedResponse`.
|
|
4
9
|
*/
|
|
5
10
|
export interface SimulationContext extends MavenAGI.SimulationSetupFields {
|
|
6
11
|
/**
|
|
@@ -7,9 +7,8 @@ export interface SimulationSetupFields {
|
|
|
7
7
|
* When true, the simulation evaluates the agent's charters even if charter evaluation is
|
|
8
8
|
* turned off for the agent. When absent or false, the simulation follows the agent's own
|
|
9
9
|
* charter evaluation setting, like any other conversation. While charters are evaluated,
|
|
10
|
-
* `additionalPromptText` has no effect.
|
|
11
|
-
*
|
|
12
|
-
* already exists keeps the value it was created with.
|
|
10
|
+
* `additionalPromptText` has no effect. A conversation that already exists keeps the value
|
|
11
|
+
* it was created with.
|
|
13
12
|
*/
|
|
14
13
|
evaluateWithCharters?: boolean;
|
|
15
14
|
/**
|
|
@@ -41,8 +41,14 @@ export declare const SystemEventName: {
|
|
|
41
41
|
/**
|
|
42
42
|
* The user sent a message in a conversation. `references` carries the conversation and the message. Unlike `BOT_REPLY_CREATED`, it is recorded as soon as Maven saves the message, without waiting for analysis. Each message is recorded once. */
|
|
43
43
|
readonly UserMessageCreated: "USER_MESSAGE_CREATED";
|
|
44
|
+
/**
|
|
45
|
+
* A scheduled event trigger came due. `references` carries the trigger, and `contextInfo.additionalData` carries the time it was due as `scheduledFor`. Maven saves one per fire, and only that trigger receives it: no other trigger can match one, so a schedule fire never starts a chain of triggers. A trigger condition that names it is rejected with 400. In development. */
|
|
46
|
+
readonly TriggerScheduleFired: "TRIGGER_SCHEDULE_FIRED";
|
|
44
47
|
/**
|
|
45
48
|
* An intelligent field's value on a conversation or agent user was set or changed. `references` carries the field and the conversation or agent user the value belongs to; `contextInfo.additionalData` carries the new `value` and the `previousValue` (see `AdditionalDataKey`). A string value is written as is, a boolean or number as its text (`true`, `3`), and a multi-select's options as a JSON array. A key is absent when its value is undetermined or, for `previousValue`, when the field had no previous value. */
|
|
46
49
|
readonly IntelligentFieldValueChanged: "INTELLIGENT_FIELD_VALUE_CHANGED";
|
|
50
|
+
/**
|
|
51
|
+
* An agent was created. Maven records this event for the organization, not for the new agent, so Maven's record of it is not returned by an agent's event search and does not fire an agent's triggers. Agents created before this event existed have none, and a rare failure can leave one out. */
|
|
52
|
+
readonly AgentCreated: "AGENT_CREATED";
|
|
47
53
|
};
|
|
48
54
|
export type SystemEventName = (typeof SystemEventName)[keyof typeof SystemEventName] | string;
|
|
@@ -45,7 +45,13 @@ exports.SystemEventName = {
|
|
|
45
45
|
/**
|
|
46
46
|
* The user sent a message in a conversation. `references` carries the conversation and the message. Unlike `BOT_REPLY_CREATED`, it is recorded as soon as Maven saves the message, without waiting for analysis. Each message is recorded once. */
|
|
47
47
|
UserMessageCreated: "USER_MESSAGE_CREATED",
|
|
48
|
+
/**
|
|
49
|
+
* A scheduled event trigger came due. `references` carries the trigger, and `contextInfo.additionalData` carries the time it was due as `scheduledFor`. Maven saves one per fire, and only that trigger receives it: no other trigger can match one, so a schedule fire never starts a chain of triggers. A trigger condition that names it is rejected with 400. In development. */
|
|
50
|
+
TriggerScheduleFired: "TRIGGER_SCHEDULE_FIRED",
|
|
48
51
|
/**
|
|
49
52
|
* An intelligent field's value on a conversation or agent user was set or changed. `references` carries the field and the conversation or agent user the value belongs to; `contextInfo.additionalData` carries the new `value` and the `previousValue` (see `AdditionalDataKey`). A string value is written as is, a boolean or number as its text (`true`, `3`), and a multi-select's options as a JSON array. A key is absent when its value is undetermined or, for `previousValue`, when the field had no previous value. */
|
|
50
53
|
IntelligentFieldValueChanged: "INTELLIGENT_FIELD_VALUE_CHANGED",
|
|
54
|
+
/**
|
|
55
|
+
* An agent was created. Maven records this event for the organization, not for the new agent, so Maven's record of it is not returned by an agent's event search and does not fire an agent's triggers. Agents created before this event existed have none, and a rare failure can leave one out. */
|
|
56
|
+
AgentCreated: "AGENT_CREATED",
|
|
51
57
|
};
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* Checks the conversation's tags against `tags`. The `operator` decides how:
|
|
4
|
+
*
|
|
5
|
+
* - None: every listed tag must be present.
|
|
6
|
+
* - `CONTAINS` or `CONTAINS_ANY`: at least one listed tag must be present.
|
|
7
|
+
* - `NOT_CONTAINS` or `NOT_CONTAINS_ANY`: none of the listed tags may be present.
|
|
8
|
+
* - `CONTAINS_ALL`: every listed tag must be present.
|
|
9
|
+
* - `NOT_CONTAINS_ALL`: at least one listed tag must be missing.
|
|
10
|
+
* - `NOT`: met unless every listed tag is present. To require that none are present, use
|
|
11
|
+
* `NOT_CONTAINS_ANY`.
|
|
12
|
+
*/
|
|
2
13
|
export interface TagsPrecondition extends MavenAGI.PreconditionBase {
|
|
3
|
-
/** The tags
|
|
14
|
+
/** The tags the `operator` checks the conversation's tags against. */
|
|
4
15
|
tags: Set<string>;
|
|
5
16
|
}
|
|
@@ -16,6 +16,9 @@ export declare class ConversationClient {
|
|
|
16
16
|
*
|
|
17
17
|
* Conversations can not be modified using this API. If the conversation already exists then the existing conversation will be returned.
|
|
18
18
|
*
|
|
19
|
+
* The conversation belongs to the calling app. Whether it is a simulation is fixed here, when it is created: pass
|
|
20
|
+
* `simulationContext` to make it one.
|
|
21
|
+
*
|
|
19
22
|
* After initialization,
|
|
20
23
|
* - metadata can be changed using the `updateConversationMetadata` API.
|
|
21
24
|
* - messages can be added to the conversation with the `appendNewMessages` or `ask` APIs.
|
|
@@ -213,6 +216,16 @@ export declare class ConversationClient {
|
|
|
213
216
|
* Get an answer from Maven for a given user question. If the user question or its answer already exists,
|
|
214
217
|
* they will be reused and will not be updated. Messages do not allow modification once generated.
|
|
215
218
|
*
|
|
219
|
+
* If no conversation with this ID exists for the calling app, `ask` creates one, and it is live, not a simulation:
|
|
220
|
+
* its actions run against real systems. To test without acting on real systems, call `initialize` first with a
|
|
221
|
+
* `simulationContext` whose `defaultActionBehavior` is a `fixedResponse`. The lookup uses the calling app only, so
|
|
222
|
+
* the ID of a conversation another app created starts a new conversation under the calling app rather than
|
|
223
|
+
* continuing that one.
|
|
224
|
+
*
|
|
225
|
+
* The response leaves out each message's `logic`. Its `summary` and `analysis` are calculated on a delay, so they
|
|
226
|
+
* may not reflect this answer yet (for example `summary.matchedCharterIds` or `analysis.intelligentFieldValues`);
|
|
227
|
+
* read them later with `get`.
|
|
228
|
+
*
|
|
216
229
|
* A closed conversation (`open` set to false) takes no new questions and returns a 400.
|
|
217
230
|
*
|
|
218
231
|
* Concurrency Behavior:
|
|
@@ -263,6 +276,12 @@ export declare class ConversationClient {
|
|
|
263
276
|
* The text portions of stream responses should be concatenated to form the full response text.
|
|
264
277
|
* Action and metadata events should overwrite past data and do not need concatenation.
|
|
265
278
|
*
|
|
279
|
+
* If no conversation with this ID exists for the calling app, `askStream` creates one, and it is live, not a
|
|
280
|
+
* simulation: its actions run against real systems. To test without acting on real systems, call `initialize`
|
|
281
|
+
* first with a `simulationContext` whose `defaultActionBehavior` is a `fixedResponse`. The lookup uses the calling
|
|
282
|
+
* app only, so the ID of a conversation another app created starts a new conversation under the calling app rather
|
|
283
|
+
* than continuing that one.
|
|
284
|
+
*
|
|
266
285
|
* If the user question or its answer already exists, they will be reused and will not be updated.
|
|
267
286
|
* Messages do not allow modification once generated.
|
|
268
287
|
*
|
|
@@ -532,6 +551,7 @@ export declare class ConversationClient {
|
|
|
532
551
|
*
|
|
533
552
|
* This CSV format is very simple and only allows for one column: `question`. A header containing this column is required.
|
|
534
553
|
* Each row will generate one simulation conversation, using the provided response config, if present.
|
|
554
|
+
* The file can have at most 1,000 non-blank rows; a larger file is rejected with a 400.
|
|
535
555
|
*
|
|
536
556
|
* This API is offered for backwards compatibility.
|
|
537
557
|
* Most API callers should create simulations programmatically to allow for more flexibility.
|
|
@@ -64,6 +64,9 @@ class ConversationClient {
|
|
|
64
64
|
*
|
|
65
65
|
* Conversations can not be modified using this API. If the conversation already exists then the existing conversation will be returned.
|
|
66
66
|
*
|
|
67
|
+
* The conversation belongs to the calling app. Whether it is a simulation is fixed here, when it is created: pass
|
|
68
|
+
* `simulationContext` to make it one.
|
|
69
|
+
*
|
|
67
70
|
* After initialization,
|
|
68
71
|
* - metadata can be changed using the `updateConversationMetadata` API.
|
|
69
72
|
* - messages can be added to the conversation with the `appendNewMessages` or `ask` APIs.
|
|
@@ -678,6 +681,16 @@ class ConversationClient {
|
|
|
678
681
|
* Get an answer from Maven for a given user question. If the user question or its answer already exists,
|
|
679
682
|
* they will be reused and will not be updated. Messages do not allow modification once generated.
|
|
680
683
|
*
|
|
684
|
+
* If no conversation with this ID exists for the calling app, `ask` creates one, and it is live, not a simulation:
|
|
685
|
+
* its actions run against real systems. To test without acting on real systems, call `initialize` first with a
|
|
686
|
+
* `simulationContext` whose `defaultActionBehavior` is a `fixedResponse`. The lookup uses the calling app only, so
|
|
687
|
+
* the ID of a conversation another app created starts a new conversation under the calling app rather than
|
|
688
|
+
* continuing that one.
|
|
689
|
+
*
|
|
690
|
+
* The response leaves out each message's `logic`. Its `summary` and `analysis` are calculated on a delay, so they
|
|
691
|
+
* may not reflect this answer yet (for example `summary.matchedCharterIds` or `analysis.intelligentFieldValues`);
|
|
692
|
+
* read them later with `get`.
|
|
693
|
+
*
|
|
681
694
|
* A closed conversation (`open` set to false) takes no new questions and returns a 400.
|
|
682
695
|
*
|
|
683
696
|
* Concurrency Behavior:
|
|
@@ -810,6 +823,12 @@ class ConversationClient {
|
|
|
810
823
|
* The text portions of stream responses should be concatenated to form the full response text.
|
|
811
824
|
* Action and metadata events should overwrite past data and do not need concatenation.
|
|
812
825
|
*
|
|
826
|
+
* If no conversation with this ID exists for the calling app, `askStream` creates one, and it is live, not a
|
|
827
|
+
* simulation: its actions run against real systems. To test without acting on real systems, call `initialize`
|
|
828
|
+
* first with a `simulationContext` whose `defaultActionBehavior` is a `fixedResponse`. The lookup uses the calling
|
|
829
|
+
* app only, so the ID of a conversation another app created starts a new conversation under the calling app rather
|
|
830
|
+
* than continuing that one.
|
|
831
|
+
*
|
|
813
832
|
* If the user question or its answer already exists, they will be reused and will not be updated.
|
|
814
833
|
* Messages do not allow modification once generated.
|
|
815
834
|
*
|
|
@@ -1819,6 +1838,7 @@ class ConversationClient {
|
|
|
1819
1838
|
*
|
|
1820
1839
|
* This CSV format is very simple and only allows for one column: `question`. A header containing this column is required.
|
|
1821
1840
|
* Each row will generate one simulation conversation, using the provided response config, if present.
|
|
1841
|
+
* The file can have at most 1,000 non-blank rows; a larger file is rejected with a 400.
|
|
1822
1842
|
*
|
|
1823
1843
|
* This API is offered for backwards compatibility.
|
|
1824
1844
|
* Most API callers should create simulations programmatically to allow for more flexibility.
|
|
@@ -7,6 +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. */
|
|
10
|
+
/** Whether to return `logic` on each bot message. Defaults to `true`. Pass `false` to leave it out, which makes the response much smaller. Its `knowledge` item lists the documents the agent reviewed and used, including ones without a URL that `metadata.sources` leaves out. */
|
|
11
11
|
includeLogic?: boolean;
|
|
12
12
|
}
|
|
@@ -64,7 +64,8 @@ export interface ConversationRequest extends MavenAGI.ConversationSetupFields {
|
|
|
64
64
|
/**
|
|
65
65
|
* Additional context used for simulation runs. When provided, this conversation will be treated as a simulation and
|
|
66
66
|
* may only be created by apps with the appropriate permission. Simulation conversations are excluded from normal
|
|
67
|
-
* search results unless explicitly included via the `simulationFilter` field.
|
|
67
|
+
* search results unless explicitly included via the `simulationFilter` field. It applies only when the conversation
|
|
68
|
+
* is created: initializing an existing conversation with it does not turn that conversation into a simulation.
|
|
68
69
|
*/
|
|
69
70
|
simulationContext?: MavenAGI.SimulationContext;
|
|
70
71
|
/** The subject of the conversation */
|
|
@@ -10,6 +10,19 @@ export declare const NumericConversationField: {
|
|
|
10
10
|
readonly Csat: "Csat";
|
|
11
11
|
readonly ActionExecutionCount: "ActionExecutionCount";
|
|
12
12
|
readonly ActionErrorCount: "ActionErrorCount";
|
|
13
|
+
/**
|
|
14
|
+
* How long each action call took, in milliseconds. Measured per action call rather than per
|
|
15
|
+
* conversation, so a conversation with twenty calls contributes twenty values. A call with
|
|
16
|
+
* no measured duration contributes none, rather than zero: one that timed out or threw
|
|
17
|
+
* before it ran, and every call recorded before per-action timing (September 2026).
|
|
18
|
+
*
|
|
19
|
+
* Grouping by `Actions` with this metric gives one series per action, each holding only
|
|
20
|
+
* that action's calls; an action none of whose calls has a duration has no series, and the `actions` filter narrows the calls measured to those actions.
|
|
21
|
+
* That grouping has to be the last one (in a bar chart, the `barDefinition`, not the
|
|
22
|
+
* `verticalGrouping`), and every metric in the request has to be `ActionDuration`. Grouping by `ErroredActions` or `IncompleteActions` is rejected, since
|
|
23
|
+
* those group conversations, not calls. A group or interval with no measured call has no
|
|
24
|
+
* value for an average, minimum, maximum, median or percentile, rather than zero. */
|
|
25
|
+
readonly ActionDuration: "ActionDuration";
|
|
13
26
|
/**
|
|
14
27
|
* Selects a NUMBER-validated intelligent field rather than a built-in numeric field.
|
|
15
28
|
* When used, `intelligentFieldId` must also be set to identify which field. */
|
|
@@ -14,6 +14,19 @@ exports.NumericConversationField = {
|
|
|
14
14
|
Csat: "Csat",
|
|
15
15
|
ActionExecutionCount: "ActionExecutionCount",
|
|
16
16
|
ActionErrorCount: "ActionErrorCount",
|
|
17
|
+
/**
|
|
18
|
+
* How long each action call took, in milliseconds. Measured per action call rather than per
|
|
19
|
+
* conversation, so a conversation with twenty calls contributes twenty values. A call with
|
|
20
|
+
* no measured duration contributes none, rather than zero: one that timed out or threw
|
|
21
|
+
* before it ran, and every call recorded before per-action timing (September 2026).
|
|
22
|
+
*
|
|
23
|
+
* Grouping by `Actions` with this metric gives one series per action, each holding only
|
|
24
|
+
* that action's calls; an action none of whose calls has a duration has no series, and the `actions` filter narrows the calls measured to those actions.
|
|
25
|
+
* That grouping has to be the last one (in a bar chart, the `barDefinition`, not the
|
|
26
|
+
* `verticalGrouping`), and every metric in the request has to be `ActionDuration`. Grouping by `ErroredActions` or `IncompleteActions` is rejected, since
|
|
27
|
+
* those group conversations, not calls. A group or interval with no measured call has no
|
|
28
|
+
* value for an average, minimum, maximum, median or percentile, rather than zero. */
|
|
29
|
+
ActionDuration: "ActionDuration",
|
|
17
30
|
/**
|
|
18
31
|
* Selects a NUMBER-validated intelligent field rather than a built-in numeric field.
|
|
19
32
|
* When used, `intelligentFieldId` must also be set to identify which field. */
|
|
@@ -1,8 +1,9 @@
|
|
|
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 installationInstructions and links have their placeholders filled in for the agent,
|
|
5
|
-
* app is installed, so
|
|
4
|
+
* The installationInstructions, instructions and links have their placeholders filled in for the agent,
|
|
5
|
+
* and, once the app is installed, so does the previewUrl. Before the app is installed, settings
|
|
6
|
+
* placeholders in the instructions are left as written, such as `${settings.region}`. See [Placeholders](https://developers.mavenagi.com/docs/documentation/configuration-and-integration/placeholders).
|
|
6
7
|
*/
|
|
7
8
|
export interface MarketplaceAppDetail extends MavenAGI.BaseDetailApp {
|
|
8
9
|
/** Whether this app is currently installed on the agent the request was scoped to. */
|
package/api/resources/index.d.ts
CHANGED
|
@@ -4,6 +4,9 @@ export * from "./actions/types";
|
|
|
4
4
|
export * as agents from "./agents";
|
|
5
5
|
export * from "./agents/client/requests";
|
|
6
6
|
export * from "./agents/types";
|
|
7
|
+
export * as agentVariants from "./agentVariants";
|
|
8
|
+
export * from "./agentVariants/client/requests";
|
|
9
|
+
export * from "./agentVariants/types";
|
|
7
10
|
export * as analytics from "./analytics";
|
|
8
11
|
export * from "./analytics/types";
|
|
9
12
|
export * as appDirectory from "./appDirectory";
|
|
@@ -64,3 +67,5 @@ export * as voice from "./voice";
|
|
|
64
67
|
export * from "./voice/types";
|
|
65
68
|
export * as voiceConversations from "./voiceConversations";
|
|
66
69
|
export * from "./voiceConversations/types";
|
|
70
|
+
export * as workingSet from "./workingSet";
|
|
71
|
+
export * from "./workingSet/types";
|
package/api/resources/index.js
CHANGED
|
@@ -36,13 +36,16 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.voiceConversations = exports.voice = exports.users = exports.triggers = exports.translations = exports.segments = exports.organizations = exports.knowledge = exports.intelligentFields = exports.integrations = exports.inbox = exports.events = exports.developersCommons = exports.customers = exports.conversationKickoffs = exports.conversation = exports.commons = exports.charters = exports.capabilities = exports.assets = exports.appSettings = exports.appDirectory = exports.analytics = exports.agents = exports.actions = void 0;
|
|
39
|
+
exports.workingSet = exports.voiceConversations = exports.voice = exports.users = exports.triggers = exports.translations = exports.segments = exports.organizations = exports.knowledge = exports.intelligentFields = exports.integrations = exports.inbox = exports.events = exports.developersCommons = exports.customers = exports.conversationKickoffs = exports.conversation = exports.commons = exports.charters = exports.capabilities = exports.assets = exports.appSettings = exports.appDirectory = exports.analytics = exports.agentVariants = exports.agents = exports.actions = void 0;
|
|
40
40
|
exports.actions = __importStar(require("./actions"));
|
|
41
41
|
__exportStar(require("./actions/client/requests"), exports);
|
|
42
42
|
__exportStar(require("./actions/types"), exports);
|
|
43
43
|
exports.agents = __importStar(require("./agents"));
|
|
44
44
|
__exportStar(require("./agents/client/requests"), exports);
|
|
45
45
|
__exportStar(require("./agents/types"), exports);
|
|
46
|
+
exports.agentVariants = __importStar(require("./agentVariants"));
|
|
47
|
+
__exportStar(require("./agentVariants/client/requests"), exports);
|
|
48
|
+
__exportStar(require("./agentVariants/types"), exports);
|
|
46
49
|
exports.analytics = __importStar(require("./analytics"));
|
|
47
50
|
__exportStar(require("./analytics/types"), exports);
|
|
48
51
|
exports.appDirectory = __importStar(require("./appDirectory"));
|
|
@@ -103,3 +106,5 @@ exports.voice = __importStar(require("./voice"));
|
|
|
103
106
|
__exportStar(require("./voice/types"), exports);
|
|
104
107
|
exports.voiceConversations = __importStar(require("./voiceConversations"));
|
|
105
108
|
__exportStar(require("./voiceConversations/types"), exports);
|
|
109
|
+
exports.workingSet = __importStar(require("./workingSet"));
|
|
110
|
+
__exportStar(require("./workingSet/types"), exports);
|
|
@@ -15,16 +15,21 @@ export declare class IntelligentFieldsClient {
|
|
|
15
15
|
* `fieldId.referenceId`. Intelligent fields hold LLM-generated values computed for
|
|
16
16
|
* entities such as conversations.
|
|
17
17
|
*
|
|
18
|
+
* To list an agent's fields, or read one, use the capabilities `searchCapabilities` and
|
|
19
|
+
* `getCapability` endpoints with capability type `INTELLIGENT_FIELD`.
|
|
20
|
+
*
|
|
18
21
|
* New fields are created with `status: INACTIVE` and are not evaluated until activated
|
|
19
22
|
* with the patch endpoint. A new field created in a `variantId` starts `ACTIVE` instead,
|
|
20
23
|
* since it is evaluated only once that variant is published and given traffic; it starts
|
|
21
24
|
* `INACTIVE` while the agent is at its limit of active fields. `definition` is limited
|
|
22
25
|
* to 5,000 characters.
|
|
23
26
|
*
|
|
24
|
-
* A replace
|
|
25
|
-
*
|
|
26
|
-
* a different type, create a new field. A
|
|
27
|
-
* with any type
|
|
27
|
+
* A replace must keep the field's `validationType`, or it is rejected with reason
|
|
28
|
+
* `INTELLIGENT_FIELD_TYPE_CHANGED`; one that names a `variantId` keeps the type as that
|
|
29
|
+
* variant has it. To use a different type, create a new field. A deleted field may be
|
|
30
|
+
* recreated with any type (for a variant write, one deleted in that variant), but the
|
|
31
|
+
* values it computed before the delete keep their old type and drop out of analytics for
|
|
32
|
+
* the new one. A replace may change the field's `name`.
|
|
28
33
|
*
|
|
29
34
|
* <Note>**Required permission:** `edit:agents`</Note>
|
|
30
35
|
*
|
|
@@ -168,6 +173,10 @@ export declare class IntelligentFieldsClient {
|
|
|
168
173
|
* Values only exist for fields that were ACTIVE when the entity was evaluated, so a
|
|
169
174
|
* newly activated field returns nothing until evaluation has run.
|
|
170
175
|
*
|
|
176
|
+
* A field can be evaluated again as a conversation goes on, and every successful evaluation is
|
|
177
|
+
* returned here, not only the latest. A conversation's `analysis.intelligentFieldValues` shows only the latest
|
|
178
|
+
* value for each field; use `createdAfter` and `createdBefore` to see how it changed.
|
|
179
|
+
*
|
|
171
180
|
* <Note>**Required permission:** `read:agents`</Note>
|
|
172
181
|
*
|
|
173
182
|
* @param {MavenAGI.IntelligentFieldValueSearchRequest} request
|
|
@@ -62,16 +62,21 @@ class IntelligentFieldsClient {
|
|
|
62
62
|
* `fieldId.referenceId`. Intelligent fields hold LLM-generated values computed for
|
|
63
63
|
* entities such as conversations.
|
|
64
64
|
*
|
|
65
|
+
* To list an agent's fields, or read one, use the capabilities `searchCapabilities` and
|
|
66
|
+
* `getCapability` endpoints with capability type `INTELLIGENT_FIELD`.
|
|
67
|
+
*
|
|
65
68
|
* New fields are created with `status: INACTIVE` and are not evaluated until activated
|
|
66
69
|
* with the patch endpoint. A new field created in a `variantId` starts `ACTIVE` instead,
|
|
67
70
|
* since it is evaluated only once that variant is published and given traffic; it starts
|
|
68
71
|
* `INACTIVE` while the agent is at its limit of active fields. `definition` is limited
|
|
69
72
|
* to 5,000 characters.
|
|
70
73
|
*
|
|
71
|
-
* A replace
|
|
72
|
-
*
|
|
73
|
-
* a different type, create a new field. A
|
|
74
|
-
* with any type
|
|
74
|
+
* A replace must keep the field's `validationType`, or it is rejected with reason
|
|
75
|
+
* `INTELLIGENT_FIELD_TYPE_CHANGED`; one that names a `variantId` keeps the type as that
|
|
76
|
+
* variant has it. To use a different type, create a new field. A deleted field may be
|
|
77
|
+
* recreated with any type (for a variant write, one deleted in that variant), but the
|
|
78
|
+
* values it computed before the delete keep their old type and drop out of analytics for
|
|
79
|
+
* the new one. A replace may change the field's `name`.
|
|
75
80
|
*
|
|
76
81
|
* <Note>**Required permission:** `edit:agents`</Note>
|
|
77
82
|
*
|
|
@@ -557,6 +562,10 @@ class IntelligentFieldsClient {
|
|
|
557
562
|
* Values only exist for fields that were ACTIVE when the entity was evaluated, so a
|
|
558
563
|
* newly activated field returns nothing until evaluation has run.
|
|
559
564
|
*
|
|
565
|
+
* A field can be evaluated again as a conversation goes on, and every successful evaluation is
|
|
566
|
+
* returned here, not only the latest. A conversation's `analysis.intelligentFieldValues` shows only the latest
|
|
567
|
+
* value for each field; use `createdAfter` and `createdBefore` to see how it changed.
|
|
568
|
+
*
|
|
560
569
|
* <Note>**Required permission:** `read:agents`</Note>
|
|
561
570
|
*
|
|
562
571
|
* @param {MavenAGI.IntelligentFieldValueSearchRequest} request
|
|
@@ -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. Shown in Agent Designer as "Target", with `CONVERSATION` as "On conversations" and `AGENT_USER` as "On users". */
|
|
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. Only a `CONVERSATION` field can be used in a charter or segment precondition. An `AGENT_USER` field has no value on a conversation, so a precondition that names one is rejected. 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;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* A single staged version of an intelligent field within an agent variant's working set.
|
|
4
|
+
*/
|
|
5
|
+
export interface IntelligentFieldEdit {
|
|
6
|
+
/** ID of the intelligent field this edit targets */
|
|
7
|
+
entityId: MavenAGI.EntityIdWithoutAgent;
|
|
8
|
+
/** Diagnostic detail about this staged edit. Informational only. */
|
|
9
|
+
debugInfo: MavenAGI.VariantDebugInfo;
|
|
10
|
+
/** The field content staged by this edit. */
|
|
11
|
+
payload: MavenAGI.IntelligentFieldPayload;
|
|
12
|
+
/** When this variant last changed the field. A save that leaves the field's content unchanged doesn't move it. */
|
|
13
|
+
updatedAt?: Date;
|
|
14
|
+
/** Who last staged this edit in the variant, as `updatedAt` dates it. Absent when no one was recorded. Shown in Agent Designer as the staged change's "Editor". */
|
|
15
|
+
updatedBy?: MavenAGI.ChangeAuthor;
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* The intelligent field content staged by a single edit.
|
|
4
|
+
*/
|
|
5
|
+
export interface IntelligentFieldPayload extends MavenAGI.IntelligentFieldCore {
|
|
6
|
+
/** Display name for the intelligent field */
|
|
7
|
+
name: string;
|
|
8
|
+
/** A plain text description of the intelligent field. */
|
|
9
|
+
description?: string;
|
|
10
|
+
/** Lifecycle state for whether this field edit is evaluated by workflows. A field created in the variant starts ACTIVE, or INACTIVE while the agent is at its limit of active fields. Use PATCH to change it. */
|
|
11
|
+
status?: MavenAGI.CapabilityStatus;
|
|
12
|
+
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../index";
|
|
2
2
|
/**
|
|
3
|
+
* An intelligent field, read at one version of it. Agent Designer shows `createdBy` as "Created
|
|
4
|
+
* by" on a field a variant adds, and `updatedBy` as "Modified by" on a field a variant changes.
|
|
5
|
+
*
|
|
3
6
|
* @example
|
|
4
7
|
* {
|
|
5
8
|
* fieldId: {
|
|
@@ -32,8 +35,4 @@ import type * as MavenAGI from "../../../index";
|
|
|
32
35
|
export interface IntelligentFieldResponse extends MavenAGI.IntelligentFieldBase, MavenAGI.CapabilityBase {
|
|
33
36
|
/** ID that uniquely identifies this intelligent field */
|
|
34
37
|
fieldId: MavenAGI.EntityId;
|
|
35
|
-
/** Who wrote this version of the field. Absent when no one was recorded. Shown in Agent Designer as "Created by" on a field a variant adds. */
|
|
36
|
-
createdBy?: MavenAGI.ChangeAuthor;
|
|
37
|
-
/** Who last changed this version of the field. Absent when no one was recorded. Shown in Agent Designer as "Modified by" on a field a variant changes. */
|
|
38
|
-
updatedBy?: MavenAGI.ChangeAuthor;
|
|
39
38
|
}
|
|
@@ -2,6 +2,8 @@ export * from "./EnumOption";
|
|
|
2
2
|
export * from "./IntelligentFieldBase";
|
|
3
3
|
export * from "./IntelligentFieldCore";
|
|
4
4
|
export * from "./IntelligentFieldDetailResponse";
|
|
5
|
+
export * from "./IntelligentFieldEdit";
|
|
6
|
+
export * from "./IntelligentFieldPayload";
|
|
5
7
|
export * from "./IntelligentFieldRequest";
|
|
6
8
|
export * from "./IntelligentFieldResponse";
|
|
7
9
|
export * from "./IntelligentFieldType";
|
|
@@ -18,6 +18,8 @@ __exportStar(require("./EnumOption"), exports);
|
|
|
18
18
|
__exportStar(require("./IntelligentFieldBase"), exports);
|
|
19
19
|
__exportStar(require("./IntelligentFieldCore"), exports);
|
|
20
20
|
__exportStar(require("./IntelligentFieldDetailResponse"), exports);
|
|
21
|
+
__exportStar(require("./IntelligentFieldEdit"), exports);
|
|
22
|
+
__exportStar(require("./IntelligentFieldPayload"), exports);
|
|
21
23
|
__exportStar(require("./IntelligentFieldRequest"), exports);
|
|
22
24
|
__exportStar(require("./IntelligentFieldResponse"), exports);
|
|
23
25
|
__exportStar(require("./IntelligentFieldType"), exports);
|