mavenagi 1.2.72 → 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/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/IntelligentFieldPrecondition.d.ts +9 -1
- package/api/resources/commons/types/ResolutionStatus.d.ts +4 -4
- package/api/resources/commons/types/ResolutionStatus.js +4 -4
- 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/conversation/client/Client.d.ts +19 -0
- package/api/resources/conversation/client/Client.js +19 -0
- package/api/resources/conversation/client/requests/ConversationGetRequest.d.ts +1 -1
- package/api/resources/conversation/types/BillableFilterField.d.ts +1 -1
- package/api/resources/conversation/types/BillableFilterField.js +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 +19 -2
- package/api/resources/knowledge/client/Client.js +19 -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 +1525 -12
- 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/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
|
@@ -32,6 +32,31 @@ export declare class AppDirectoryClient {
|
|
|
32
32
|
/**
|
|
33
33
|
* Gets an app and its installation status for the agent.
|
|
34
34
|
*
|
|
35
|
+
* Before installing, read `installationInstructions` for what to gather and set up first, and
|
|
36
|
+
* `settingsSchema` for the settings `install` takes.
|
|
37
|
+
*
|
|
38
|
+
* Installing is often not the last step. Once the app is installed:
|
|
39
|
+
*
|
|
40
|
+
* 1. Follow `instructions`, the app's post-install steps, filled in for this agent. They can
|
|
41
|
+
* name changes to make in the other system, such as a webhook to add.
|
|
42
|
+
* 2. Each `settingsSchema` entry of type `oauth`, including one nested in a `section`, needs a
|
|
43
|
+
* person to sign in to the other system, which the API cannot do. Ask someone with access to
|
|
44
|
+
* it to open the agent in Agent Designer, go to **Apps**, open this app and click
|
|
45
|
+
* **Connect**. Its value sits at the same path in `settings` as the entry in the schema:
|
|
46
|
+
* `settings.<key>`, or `settings.<section key>.<key>` inside a section. It is connected once
|
|
47
|
+
* that value has an `accessToken` (returned redacted). `status.ok: false` means the
|
|
48
|
+
* connection failed and needs **Reconnect**; a missing value means it was never connected.
|
|
49
|
+
* Connecting re-runs the app's postInstall hook.
|
|
50
|
+
* 3. An app that imports knowledge creates knowledge bases under its own `appId`, often only
|
|
51
|
+
* once its connection works. Find them with `knowledge.searchKnowledgeBases`, request body
|
|
52
|
+
* `{"filter": {"appIds": [appId]}}`. Check each import with
|
|
53
|
+
* `knowledge.listKnowledgeBaseVersions`: pass the returned `knowledgeBaseId.referenceId` as
|
|
54
|
+
* `knowledgeBaseReferenceId` and the same `appId`. `IN_PROGRESS` is still running,
|
|
55
|
+
* `SUCCEEDED` is done, `FAILED` needs a look, and `CANCELED` was stopped by a cancel request.
|
|
56
|
+
* Both calls need `read:agents`, which a caller holding only app permissions lacks.
|
|
57
|
+
*
|
|
58
|
+
* <Note>**Required permission:** `read:apps`</Note>
|
|
59
|
+
*
|
|
35
60
|
* @param {string} appId
|
|
36
61
|
* @param {AppDirectoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
37
62
|
*
|
|
@@ -49,7 +74,15 @@ export declare class AppDirectoryClient {
|
|
|
49
74
|
get(appId: string, requestOptions?: AppDirectoryClient.RequestOptions): core.HttpResponsePromise<MavenAGI.MarketplaceAppDetail>;
|
|
50
75
|
private __get;
|
|
51
76
|
/**
|
|
52
|
-
* Installs the app on the agent, or updates settings for an existing installation. Re-runs the
|
|
77
|
+
* Installs the app on the agent, or updates settings for an existing installation. Re-runs the
|
|
78
|
+
* postInstall lifecycle hook on each call. Returns the app as `get` does once the install is
|
|
79
|
+
* done, with its settings and post-install `instructions` filled in for the agent.
|
|
80
|
+
*
|
|
81
|
+
* The app may not work yet. Finish its setup as `get` describes: follow `instructions`, hand
|
|
82
|
+
* each `oauth` setting to a person to connect in Agent Designer, and check any knowledge
|
|
83
|
+
* import.
|
|
84
|
+
*
|
|
85
|
+
* <Note>**Required permission:** `install:apps`</Note>
|
|
53
86
|
*
|
|
54
87
|
* @param {string} appId
|
|
55
88
|
* @param {MavenAGI.InstallDirectoryAppRequest} request
|
|
@@ -70,7 +103,7 @@ export declare class AppDirectoryClient {
|
|
|
70
103
|
* }
|
|
71
104
|
* })
|
|
72
105
|
*/
|
|
73
|
-
install(appId: string, request: MavenAGI.InstallDirectoryAppRequest, requestOptions?: AppDirectoryClient.RequestOptions): core.HttpResponsePromise<
|
|
106
|
+
install(appId: string, request: MavenAGI.InstallDirectoryAppRequest, requestOptions?: AppDirectoryClient.RequestOptions): core.HttpResponsePromise<MavenAGI.MarketplaceAppDetail>;
|
|
74
107
|
private __install;
|
|
75
108
|
/**
|
|
76
109
|
* Uninstalls the app from the agent, and deletes the actions and triggers it created.
|
|
@@ -115,6 +148,12 @@ export declare class AppDirectoryClient {
|
|
|
115
148
|
private __getSettingDownloadUrl;
|
|
116
149
|
/**
|
|
117
150
|
* Gets a presigned url for uploading a file app setting before installation.
|
|
151
|
+
* Upload the file by sending its bytes in an HTTP PUT to the returned url.
|
|
152
|
+
* The file must be a PNG, JPEG or web font of at most 2 MB. Once uploaded, it is read back
|
|
153
|
+
* as the key's value, including for a key that was cleared.
|
|
154
|
+
*
|
|
155
|
+
* `settingsKey` is the setting's full path in the app's settings schema. For an image inside a
|
|
156
|
+
* `section`, join the section's key and the image's key with a dot, such as `branding.logo`.
|
|
118
157
|
*
|
|
119
158
|
* @param {string} appId
|
|
120
159
|
* @param {string} settingsKey
|
|
@@ -161,6 +161,31 @@ class AppDirectoryClient {
|
|
|
161
161
|
/**
|
|
162
162
|
* Gets an app and its installation status for the agent.
|
|
163
163
|
*
|
|
164
|
+
* Before installing, read `installationInstructions` for what to gather and set up first, and
|
|
165
|
+
* `settingsSchema` for the settings `install` takes.
|
|
166
|
+
*
|
|
167
|
+
* Installing is often not the last step. Once the app is installed:
|
|
168
|
+
*
|
|
169
|
+
* 1. Follow `instructions`, the app's post-install steps, filled in for this agent. They can
|
|
170
|
+
* name changes to make in the other system, such as a webhook to add.
|
|
171
|
+
* 2. Each `settingsSchema` entry of type `oauth`, including one nested in a `section`, needs a
|
|
172
|
+
* person to sign in to the other system, which the API cannot do. Ask someone with access to
|
|
173
|
+
* it to open the agent in Agent Designer, go to **Apps**, open this app and click
|
|
174
|
+
* **Connect**. Its value sits at the same path in `settings` as the entry in the schema:
|
|
175
|
+
* `settings.<key>`, or `settings.<section key>.<key>` inside a section. It is connected once
|
|
176
|
+
* that value has an `accessToken` (returned redacted). `status.ok: false` means the
|
|
177
|
+
* connection failed and needs **Reconnect**; a missing value means it was never connected.
|
|
178
|
+
* Connecting re-runs the app's postInstall hook.
|
|
179
|
+
* 3. An app that imports knowledge creates knowledge bases under its own `appId`, often only
|
|
180
|
+
* once its connection works. Find them with `knowledge.searchKnowledgeBases`, request body
|
|
181
|
+
* `{"filter": {"appIds": [appId]}}`. Check each import with
|
|
182
|
+
* `knowledge.listKnowledgeBaseVersions`: pass the returned `knowledgeBaseId.referenceId` as
|
|
183
|
+
* `knowledgeBaseReferenceId` and the same `appId`. `IN_PROGRESS` is still running,
|
|
184
|
+
* `SUCCEEDED` is done, `FAILED` needs a look, and `CANCELED` was stopped by a cancel request.
|
|
185
|
+
* Both calls need `read:agents`, which a caller holding only app permissions lacks.
|
|
186
|
+
*
|
|
187
|
+
* <Note>**Required permission:** `read:apps`</Note>
|
|
188
|
+
*
|
|
164
189
|
* @param {string} appId
|
|
165
190
|
* @param {AppDirectoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
166
191
|
*
|
|
@@ -257,7 +282,15 @@ class AppDirectoryClient {
|
|
|
257
282
|
});
|
|
258
283
|
}
|
|
259
284
|
/**
|
|
260
|
-
* Installs the app on the agent, or updates settings for an existing installation. Re-runs the
|
|
285
|
+
* Installs the app on the agent, or updates settings for an existing installation. Re-runs the
|
|
286
|
+
* postInstall lifecycle hook on each call. Returns the app as `get` does once the install is
|
|
287
|
+
* done, with its settings and post-install `instructions` filled in for the agent.
|
|
288
|
+
*
|
|
289
|
+
* The app may not work yet. Finish its setup as `get` describes: follow `instructions`, hand
|
|
290
|
+
* each `oauth` setting to a person to connect in Agent Designer, and check any knowledge
|
|
291
|
+
* import.
|
|
292
|
+
*
|
|
293
|
+
* <Note>**Required permission:** `install:apps`</Note>
|
|
261
294
|
*
|
|
262
295
|
* @param {string} appId
|
|
263
296
|
* @param {MavenAGI.InstallDirectoryAppRequest} request
|
|
@@ -304,7 +337,15 @@ class AppDirectoryClient {
|
|
|
304
337
|
logging: this._options.logging,
|
|
305
338
|
});
|
|
306
339
|
if (_response.ok) {
|
|
307
|
-
return {
|
|
340
|
+
return {
|
|
341
|
+
data: serializers.MarketplaceAppDetail.parseOrThrow(_response.body, {
|
|
342
|
+
unrecognizedObjectKeys: "passthrough",
|
|
343
|
+
allowUnrecognizedUnionMembers: true,
|
|
344
|
+
allowUnrecognizedEnumValues: true,
|
|
345
|
+
breadcrumbsPrefix: ["response"],
|
|
346
|
+
}),
|
|
347
|
+
rawResponse: _response.rawResponse,
|
|
348
|
+
};
|
|
308
349
|
}
|
|
309
350
|
if (_response.error.reason === "status-code") {
|
|
310
351
|
switch (_response.error.statusCode) {
|
|
@@ -547,6 +588,12 @@ class AppDirectoryClient {
|
|
|
547
588
|
}
|
|
548
589
|
/**
|
|
549
590
|
* Gets a presigned url for uploading a file app setting before installation.
|
|
591
|
+
* Upload the file by sending its bytes in an HTTP PUT to the returned url.
|
|
592
|
+
* The file must be a PNG, JPEG or web font of at most 2 MB. Once uploaded, it is read back
|
|
593
|
+
* as the key's value, including for a key that was cleared.
|
|
594
|
+
*
|
|
595
|
+
* `settingsKey` is the setting's full path in the app's settings schema. For an image inside a
|
|
596
|
+
* `section`, join the section's key and the image's key with a dot, such as `branding.logo`.
|
|
550
597
|
*
|
|
551
598
|
* @param {string} appId
|
|
552
599
|
* @param {string} settingsKey
|
|
@@ -5,9 +5,28 @@ export interface InstallDirectoryAppRequest {
|
|
|
5
5
|
* The keys and accepted values are defined by the app itself: fetch the app with
|
|
6
6
|
* `get` and read its `settingsSchema`, where every entry carries a `key`, a `type`, and
|
|
7
7
|
* whether it is `required`. Values are merged into the installation's existing settings:
|
|
8
|
-
* keys you omit keep their stored value
|
|
9
|
-
*
|
|
10
|
-
*
|
|
8
|
+
* keys you omit keep their stored value. The server does not currently reject an unknown key.
|
|
9
|
+
*
|
|
10
|
+
* After the merge, the settings must satisfy the schema, or the request fails with a 400 and
|
|
11
|
+
* nothing is saved. The error lists every problem as `<path>: <message>` (for example
|
|
12
|
+
* `Invalid settings: apiKey: required; auth.region: Must be us or eu`), with each entry
|
|
13
|
+
* named by its path (`apiKey`, `auth.region`, `rules[0].team`), so one corrected request
|
|
14
|
+
* can fix them all. The checks are:
|
|
15
|
+
*
|
|
16
|
+
* - Every entry marked `required` has a value. `null`, `""` and `[]` count as missing. An
|
|
17
|
+
* entry you leave out that has a `defaultValue` counts as set, but sending it empty does
|
|
18
|
+
* not. `oauth` and `image` entries are never required here, because they are set up
|
|
19
|
+
* apart from this request.
|
|
20
|
+
* - Every value matches each of its entry's `validations` patterns. The message is the
|
|
21
|
+
* pattern's `errorMessage`. For an `array`, each item is checked. Patterns run with RE2
|
|
22
|
+
* syntax, so one that uses a lookaround or a backreference is not checked here.
|
|
23
|
+
* - A `jsonSchema` entry's value is valid against the entry's `jsonSchema`. A schema that
|
|
24
|
+
* uses `pattern` or `patternProperties` anywhere is not checked here.
|
|
25
|
+
* - A `oneOf` value's `type` names one of the entry's options. The message lists them.
|
|
26
|
+
*
|
|
27
|
+
* Inside a `oneOf`, only the fields of the option its `type` selects are checked, and inside
|
|
28
|
+
* a `complexarray` each item's fields are. Sending an empty object installs an app with no
|
|
29
|
+
* required settings.
|
|
11
30
|
*
|
|
12
31
|
* Sensitive entries are returned redacted by `get`, and sending one back unchanged here is a
|
|
13
32
|
* no-op that keeps the stored value, so a settings object can be read, edited and written
|
|
@@ -23,11 +42,14 @@ export interface InstallDirectoryAppRequest {
|
|
|
23
42
|
* | `array` | list of strings |
|
|
24
43
|
* | `complexarray` | list of objects |
|
|
25
44
|
* | `oneOf`, `jsonSchema` | object matching the entry's schema |
|
|
26
|
-
* | `
|
|
45
|
+
* | `section` | object keyed by the section's field keys |
|
|
46
|
+
* | `oauth`, `image` | omitted (see below) |
|
|
27
47
|
*
|
|
28
48
|
* `image` entries are file settings. Do not send their bytes here: upload them first with
|
|
29
49
|
* `getSettingUploadUrl` using the same setting key, and the stored file is picked up
|
|
30
|
-
* automatically.
|
|
50
|
+
* automatically. To remove an image, send an empty string for its key. A URL string sent for
|
|
51
|
+
* an `image` key is stored, but the next read replaces it with a link to a file that was never
|
|
52
|
+
* uploaded, so the image appears broken. A person connects `oauth` entries after install.
|
|
31
53
|
*
|
|
32
54
|
* ```json
|
|
33
55
|
* {
|
|
@@ -11,10 +11,10 @@ export declare class AppSettingsClient {
|
|
|
11
11
|
protected readonly _options: NormalizedClientOptionsWithAuth<AppSettingsClient.Options>;
|
|
12
12
|
constructor(options: AppSettingsClient.Options);
|
|
13
13
|
/**
|
|
14
|
-
* @beta This endpoint is in development and may change.
|
|
15
|
-
*
|
|
16
14
|
* Search for app settings which have the `$index` key set to the provided value.
|
|
17
15
|
*
|
|
16
|
+
* Searches only the installations of the calling app, the app whose credentials make the request.
|
|
17
|
+
*
|
|
18
18
|
* You can set the `$index` key using the Update app settings API.
|
|
19
19
|
*
|
|
20
20
|
* <Warning>This API currently requires an organization ID and agent ID for any agent which is installed on the app. This requirement will be removed in a future update.</Warning>
|
|
@@ -38,7 +38,10 @@ export declare class AppSettingsClient {
|
|
|
38
38
|
search(request: MavenAGI.SearchAppSettingsRequest, requestOptions?: AppSettingsClient.RequestOptions): core.HttpResponsePromise<MavenAGI.SearchAppSettingsResponse>;
|
|
39
39
|
private __search;
|
|
40
40
|
/**
|
|
41
|
-
* Get
|
|
41
|
+
* Get the settings of the calling app's installation on the agent. The calling app is the app
|
|
42
|
+
* whose credentials make the request, so this cannot read another app's settings. Returns 404
|
|
43
|
+
* when the calling app is not installed on the agent. To read another app's settings, use the
|
|
44
|
+
* app directory `get` endpoint with that app's ID.
|
|
42
45
|
*
|
|
43
46
|
* @param {AppSettingsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
44
47
|
*
|
|
@@ -56,7 +59,11 @@ export declare class AppSettingsClient {
|
|
|
56
59
|
get(requestOptions?: AppSettingsClient.RequestOptions): core.HttpResponsePromise<Record<string, unknown>>;
|
|
57
60
|
private __get;
|
|
58
61
|
/**
|
|
59
|
-
* Update
|
|
62
|
+
* Update the settings of the calling app's installation on the agent. The calling app is the
|
|
63
|
+
* app whose credentials make the request, so this cannot change another app's settings. To
|
|
64
|
+
* change another app's settings, use the app directory `install` endpoint with that app's ID.
|
|
65
|
+
*
|
|
66
|
+
* Performs a merge of the provided settings with the existing app settings.
|
|
60
67
|
*
|
|
61
68
|
* - If a new key is provided, it will be added to the app settings.
|
|
62
69
|
* - If an existing key is provided, it will be updated.
|
|
@@ -58,10 +58,10 @@ class AppSettingsClient {
|
|
|
58
58
|
this._options = (0, BaseClient_1.normalizeClientOptionsWithAuth)(options);
|
|
59
59
|
}
|
|
60
60
|
/**
|
|
61
|
-
* @beta This endpoint is in development and may change.
|
|
62
|
-
*
|
|
63
61
|
* Search for app settings which have the `$index` key set to the provided value.
|
|
64
62
|
*
|
|
63
|
+
* Searches only the installations of the calling app, the app whose credentials make the request.
|
|
64
|
+
*
|
|
65
65
|
* You can set the `$index` key using the Update app settings API.
|
|
66
66
|
*
|
|
67
67
|
* <Warning>This API currently requires an organization ID and agent ID for any agent which is installed on the app. This requirement will be removed in a future update.</Warning>
|
|
@@ -172,7 +172,10 @@ class AppSettingsClient {
|
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
174
|
/**
|
|
175
|
-
* Get
|
|
175
|
+
* Get the settings of the calling app's installation on the agent. The calling app is the app
|
|
176
|
+
* whose credentials make the request, so this cannot read another app's settings. Returns 404
|
|
177
|
+
* when the calling app is not installed on the agent. To read another app's settings, use the
|
|
178
|
+
* app directory `get` endpoint with that app's ID.
|
|
176
179
|
*
|
|
177
180
|
* @param {AppSettingsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
178
181
|
*
|
|
@@ -269,7 +272,11 @@ class AppSettingsClient {
|
|
|
269
272
|
});
|
|
270
273
|
}
|
|
271
274
|
/**
|
|
272
|
-
* Update
|
|
275
|
+
* Update the settings of the calling app's installation on the agent. The calling app is the
|
|
276
|
+
* app whose credentials make the request, so this cannot change another app's settings. To
|
|
277
|
+
* change another app's settings, use the app directory `install` endpoint with that app's ID.
|
|
278
|
+
*
|
|
279
|
+
* Performs a merge of the provided settings with the existing app settings.
|
|
273
280
|
*
|
|
274
281
|
* - If a new key is provided, it will be added to the app settings.
|
|
275
282
|
* - If an existing key is provided, it will be updated.
|
|
@@ -32,5 +32,9 @@ export declare const CapabilityExecutionCompletionReason: {
|
|
|
32
32
|
/**
|
|
33
33
|
* The app reported a failure and did not ask for it to be run again. */
|
|
34
34
|
readonly AppRejected: "APP_REJECTED";
|
|
35
|
+
/**
|
|
36
|
+
* Not sent, on purpose: the trigger's `rateLimit` was reached, or a scheduled fire came due
|
|
37
|
+
* while the previous fire was still being delivered. Never retried. In development. */
|
|
38
|
+
readonly Suppressed: "SUPPRESSED";
|
|
35
39
|
};
|
|
36
40
|
export type CapabilityExecutionCompletionReason = (typeof CapabilityExecutionCompletionReason)[keyof typeof CapabilityExecutionCompletionReason] | string;
|
|
@@ -36,4 +36,8 @@ exports.CapabilityExecutionCompletionReason = {
|
|
|
36
36
|
/**
|
|
37
37
|
* The app reported a failure and did not ask for it to be run again. */
|
|
38
38
|
AppRejected: "APP_REJECTED",
|
|
39
|
+
/**
|
|
40
|
+
* Not sent, on purpose: the trigger's `rateLimit` was reached, or a scheduled fire came due
|
|
41
|
+
* while the previous fire was still being delivered. Never retried. In development. */
|
|
42
|
+
Suppressed: "SUPPRESSED",
|
|
39
43
|
};
|
|
@@ -26,6 +26,12 @@ export declare class ChartersClient {
|
|
|
26
26
|
* pick only the highest ranked (lowest numerical value) leaf to include in
|
|
27
27
|
* the round. userRank may have gaps.
|
|
28
28
|
*
|
|
29
|
+
* A charter saved as `ACTIVE` applies to the agent's conversations from its next reply. Create a new
|
|
30
|
+
* charter `INACTIVE` and activate it with `patch` once its manual, precondition and references are
|
|
31
|
+
* complete. An agent has a limit on how many charters can be `ACTIVE` at once. A change into `ACTIVE`
|
|
32
|
+
* past that limit is rejected with a 400 whose message gives the limit; charters that are already
|
|
33
|
+
* `ACTIVE` stay editable. `childrenExclusionPolicy` is not part of this request; set it with `patch`.
|
|
34
|
+
*
|
|
29
35
|
* <Note>**Required permission:** `edit:agents`</Note>
|
|
30
36
|
*
|
|
31
37
|
* @param {MavenAGI.CharterRequest} request
|
|
@@ -166,7 +172,8 @@ export declare class ChartersClient {
|
|
|
166
172
|
* referenced action IDs and knowledge base IDs to find charters that make
|
|
167
173
|
* specific context items available.
|
|
168
174
|
*
|
|
169
|
-
* Returns both ACTIVE and INACTIVE charters (DELETED charters are excluded).
|
|
175
|
+
* Returns both ACTIVE and INACTIVE charters (DELETED charters are excluded). Each result is a
|
|
176
|
+
* summary without `description`, `manual`, `references` or `userRank`; read those with `get`.
|
|
170
177
|
*
|
|
171
178
|
* Results are ordered by the `sort` field (defaults to CreatedAt). Use `sortDesc`
|
|
172
179
|
* to control direction (defaults to descending). An empty filter list is
|
|
@@ -73,6 +73,12 @@ class ChartersClient {
|
|
|
73
73
|
* pick only the highest ranked (lowest numerical value) leaf to include in
|
|
74
74
|
* the round. userRank may have gaps.
|
|
75
75
|
*
|
|
76
|
+
* A charter saved as `ACTIVE` applies to the agent's conversations from its next reply. Create a new
|
|
77
|
+
* charter `INACTIVE` and activate it with `patch` once its manual, precondition and references are
|
|
78
|
+
* complete. An agent has a limit on how many charters can be `ACTIVE` at once. A change into `ACTIVE`
|
|
79
|
+
* past that limit is rejected with a 400 whose message gives the limit; charters that are already
|
|
80
|
+
* `ACTIVE` stay editable. `childrenExclusionPolicy` is not part of this request; set it with `patch`.
|
|
81
|
+
*
|
|
76
82
|
* <Note>**Required permission:** `edit:agents`</Note>
|
|
77
83
|
*
|
|
78
84
|
* @param {MavenAGI.CharterRequest} request
|
|
@@ -555,7 +561,8 @@ class ChartersClient {
|
|
|
555
561
|
* referenced action IDs and knowledge base IDs to find charters that make
|
|
556
562
|
* specific context items available.
|
|
557
563
|
*
|
|
558
|
-
* Returns both ACTIVE and INACTIVE charters (DELETED charters are excluded).
|
|
564
|
+
* Returns both ACTIVE and INACTIVE charters (DELETED charters are excluded). Each result is a
|
|
565
|
+
* summary without `description`, `manual`, `references` or `userRank`; read those with `get`.
|
|
559
566
|
*
|
|
560
567
|
* Results are ordered by the `sort` field (defaults to CreatedAt). Use `sortDesc`
|
|
561
568
|
* to control direction (defaults to descending). An empty filter list is
|
|
@@ -15,11 +15,11 @@ import type * as MavenAGI from "../../../../index";
|
|
|
15
15
|
export interface CharterPatchRequest {
|
|
16
16
|
/** The App ID of the charter to update. If not provided, the ID of the calling app will be used. */
|
|
17
17
|
appId?: string;
|
|
18
|
-
/** The display name of the charter. */
|
|
18
|
+
/** The display name of the charter. At most 64 characters. */
|
|
19
19
|
name?: string;
|
|
20
|
-
/** A plain text description. Omit to leave unchanged. */
|
|
20
|
+
/** A plain text description, at most 1,024 characters. Omit to leave unchanged. */
|
|
21
21
|
description?: string;
|
|
22
|
-
/** The instruction text. Omit to leave unchanged. */
|
|
22
|
+
/** The instruction text. Its length is limited; a longer manual is rejected with a 400 whose message gives the limit. Omit to leave unchanged. */
|
|
23
23
|
manual?: string;
|
|
24
24
|
/**
|
|
25
25
|
* Move this charter to a new parent. Omit to leave the current parent unchanged.
|
|
@@ -35,7 +35,10 @@ export interface CharterPatchRequest {
|
|
|
35
35
|
* wildcard, removing the rule. Omit to leave unchanged.
|
|
36
36
|
*/
|
|
37
37
|
precondition?: MavenAGI.Precondition | null;
|
|
38
|
-
/**
|
|
38
|
+
/**
|
|
39
|
+
* The lifecycle status of this charter. A change to `ACTIVE` is rejected with a 400 once the
|
|
40
|
+
* agent has reached its limit of `ACTIVE` charters.
|
|
41
|
+
*/
|
|
39
42
|
status?: MavenAGI.CharterStatus;
|
|
40
43
|
/**
|
|
41
44
|
* Whether this charter's children mutually exclude each other.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../index";
|
|
2
2
|
export interface CharterBase {
|
|
3
|
-
/** Display name for this charter or group. */
|
|
3
|
+
/** Display name for this charter or group. At most 64 characters; a longer name is rejected with a 400. */
|
|
4
4
|
name: string;
|
|
5
5
|
/**
|
|
6
6
|
* On a write request, the agent variant to stage the write in. On a response, it is set
|
|
@@ -13,12 +13,14 @@ export interface CharterBase {
|
|
|
13
13
|
* names a variant is rejected. An unknown variant is a 404.
|
|
14
14
|
*/
|
|
15
15
|
variantId?: MavenAGI.EntityIdWithoutAgent;
|
|
16
|
-
/** A plain text description of this charter. If not set, existing description is preserved if present. */
|
|
16
|
+
/** A plain text description of this charter, at most 1,024 characters. If not set, existing description is preserved if present. */
|
|
17
17
|
description?: string;
|
|
18
18
|
/**
|
|
19
19
|
* Optional additional natural language instruction text when this
|
|
20
20
|
* charter matches. Manuals concatenate with ancestor charter manuals
|
|
21
|
-
* before delivery.
|
|
21
|
+
* before delivery. Its length is limited, and a longer manual is
|
|
22
|
+
* rejected with a 400 whose message gives the limit; split longer
|
|
23
|
+
* instructions across charters.
|
|
22
24
|
*
|
|
23
25
|
* If not set, existing manual is preserved if present.
|
|
24
26
|
*
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* A single staged version of a charter within an agent variant's working set. The staged
|
|
4
|
+
* content lives entirely in `payload`. Don't also extend CharterBase here -- that would put
|
|
5
|
+
* its `name`, `description` and `manual` on this envelope as well as inside `payload`.
|
|
6
|
+
*/
|
|
7
|
+
export interface CharterEdit {
|
|
8
|
+
/** ID of the charter this edit targets */
|
|
9
|
+
entityId: MavenAGI.EntityIdWithoutAgent;
|
|
10
|
+
/** Diagnostic detail about this staged edit. Informational only. */
|
|
11
|
+
debugInfo: MavenAGI.VariantDebugInfo;
|
|
12
|
+
/** The staged charter content for this version. */
|
|
13
|
+
payload: MavenAGI.CharterPayload;
|
|
14
|
+
/** When this edit was last staged in the variant, including a re-stage caused by an edit to its parent or a sibling's rank. Re-staging the version already staged doesn't move it. */
|
|
15
|
+
updatedAt?: Date;
|
|
16
|
+
/** Who last staged this edit in the variant, as `updatedAt` dates it, including a re-stage caused by an edit to its parent or a sibling's rank. Absent when no one was recorded. Shown in Agent Designer as the staged change's "Editor". */
|
|
17
|
+
updatedBy?: MavenAGI.ChangeAuthor;
|
|
18
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* The content staged by a single charter edit -- a complete snapshot of the charter as this
|
|
4
|
+
* edit would leave it, not a delta. Everything but `childrenExclusionPolicy` comes from
|
|
5
|
+
* CharterContent, shared with CharterRequest.
|
|
6
|
+
*/
|
|
7
|
+
export interface CharterPayload extends MavenAGI.CharterContent {
|
|
8
|
+
/** Whether this charter's children mutually exclude each other. Defaults to DEFAULT. */
|
|
9
|
+
childrenExclusionPolicy?: MavenAGI.CharterChildrenExclusionPolicy;
|
|
10
|
+
}
|
|
@@ -63,8 +63,23 @@ export interface CharterResponse extends MavenAGI.CharterBase {
|
|
|
63
63
|
userRank: number;
|
|
64
64
|
/** Context items (knowledge bases and actions) this charter makes available. */
|
|
65
65
|
references: MavenAGI.CharterReferences;
|
|
66
|
-
/** The date and time this charter was created. */
|
|
66
|
+
/** The date and time this version of the charter was created. */
|
|
67
67
|
createdAt: Date;
|
|
68
|
-
/** The date and time this charter was last updated. */
|
|
68
|
+
/** The date and time this version of the charter was last updated. */
|
|
69
69
|
updatedAt: Date;
|
|
70
|
+
/**
|
|
71
|
+
* Who created this version of the charter, as `createdAt` dates it. For the published
|
|
72
|
+
* charter, that is who first created it. For a version staged in an agent variant, it is
|
|
73
|
+
* who made the edit that staged it, including a re-stage caused by an edit to its parent
|
|
74
|
+
* or a sibling's rank. Absent when no one was recorded.
|
|
75
|
+
*/
|
|
76
|
+
createdBy?: MavenAGI.ChangeAuthor;
|
|
77
|
+
/**
|
|
78
|
+
* Who last changed this version of the charter, as `updatedAt` dates it. Each change made
|
|
79
|
+
* outside an agent variant updates the published charter in place, except that neither
|
|
80
|
+
* `updatedAt` nor this moves for a deletion or for a rank shift caused by a sibling's move.
|
|
81
|
+
* A version staged in a variant keeps the author it was staged with, so this is the same
|
|
82
|
+
* as `createdBy`. Absent when no one was recorded.
|
|
83
|
+
*/
|
|
84
|
+
updatedBy?: MavenAGI.ChangeAuthor;
|
|
70
85
|
}
|
|
@@ -22,8 +22,23 @@ export interface CharterSummary {
|
|
|
22
22
|
type?: MavenAGI.CharterType;
|
|
23
23
|
/** Whether this charter's children mutually exclude each other. Defaults to DEFAULT. */
|
|
24
24
|
childrenExclusionPolicy?: MavenAGI.CharterChildrenExclusionPolicy;
|
|
25
|
-
/** The date and time this charter was created. */
|
|
25
|
+
/** The date and time this version of the charter was created. */
|
|
26
26
|
createdAt: Date;
|
|
27
|
-
/** The date and time this charter was last updated. */
|
|
27
|
+
/** The date and time this version of the charter was last updated. */
|
|
28
28
|
updatedAt: Date;
|
|
29
|
+
/**
|
|
30
|
+
* Who created this version of the charter, as `createdAt` dates it. For the published
|
|
31
|
+
* charter, that is who first created it. For a version staged in an agent variant, it is
|
|
32
|
+
* who made the edit that staged it, including a re-stage caused by an edit to its parent
|
|
33
|
+
* or a sibling's rank. Absent when no one was recorded.
|
|
34
|
+
*/
|
|
35
|
+
createdBy?: MavenAGI.ChangeAuthor;
|
|
36
|
+
/**
|
|
37
|
+
* Who last changed this version of the charter, as `updatedAt` dates it. Each change made
|
|
38
|
+
* outside an agent variant updates the published charter in place, except that neither
|
|
39
|
+
* `updatedAt` nor this moves for a deletion or for a rank shift caused by a sibling's move.
|
|
40
|
+
* A version staged in a variant keeps the author it was staged with, so this is the same
|
|
41
|
+
* as `createdBy`. Absent when no one was recorded.
|
|
42
|
+
*/
|
|
43
|
+
updatedBy?: MavenAGI.ChangeAuthor;
|
|
29
44
|
}
|
|
@@ -3,10 +3,12 @@ export * from "./CharterBase";
|
|
|
3
3
|
export * from "./CharterChildrenExclusionPolicy";
|
|
4
4
|
export * from "./CharterChildrenGroup";
|
|
5
5
|
export * from "./CharterContent";
|
|
6
|
+
export * from "./CharterEdit";
|
|
6
7
|
export * from "./CharterKnowledgeBaseReference";
|
|
7
8
|
export * from "./CharterListChildrenRequest";
|
|
8
9
|
export * from "./CharterListChildrenResponse";
|
|
9
10
|
export * from "./CharterPatchReferences";
|
|
11
|
+
export * from "./CharterPayload";
|
|
10
12
|
export * from "./CharterReferences";
|
|
11
13
|
export * from "./CharterRequest";
|
|
12
14
|
export * from "./CharterResponse";
|
|
@@ -19,10 +19,12 @@ __exportStar(require("./CharterBase"), exports);
|
|
|
19
19
|
__exportStar(require("./CharterChildrenExclusionPolicy"), exports);
|
|
20
20
|
__exportStar(require("./CharterChildrenGroup"), exports);
|
|
21
21
|
__exportStar(require("./CharterContent"), exports);
|
|
22
|
+
__exportStar(require("./CharterEdit"), exports);
|
|
22
23
|
__exportStar(require("./CharterKnowledgeBaseReference"), exports);
|
|
23
24
|
__exportStar(require("./CharterListChildrenRequest"), exports);
|
|
24
25
|
__exportStar(require("./CharterListChildrenResponse"), exports);
|
|
25
26
|
__exportStar(require("./CharterPatchReferences"), exports);
|
|
27
|
+
__exportStar(require("./CharterPayload"), exports);
|
|
26
28
|
__exportStar(require("./CharterReferences"), exports);
|
|
27
29
|
__exportStar(require("./CharterRequest"), exports);
|
|
28
30
|
__exportStar(require("./CharterResponse"), exports);
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../index";
|
|
2
2
|
export interface BotLogicKnowledgeItem {
|
|
3
|
+
/** The knowledge documents the agent retrieved and reviewed for this response. */
|
|
3
4
|
knowledgeReviewed: MavenAGI.BotLogicKnowledgeDetail[];
|
|
5
|
+
/** The knowledge documents the response text cites, whether or not they have a URL. */
|
|
4
6
|
knowledgeUtilized: MavenAGI.BotLogicKnowledgeDetail[];
|
|
5
7
|
}
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../index";
|
|
2
2
|
export interface BotResponseMetadata {
|
|
3
3
|
followupQuestions: string[];
|
|
4
|
+
/**
|
|
5
|
+
* The knowledge documents the answer's text cites, one per URL. A document without a URL is
|
|
6
|
+
* left out, so this is often empty. For every document the agent reviewed and used, read the
|
|
7
|
+
* `knowledge` item in the message's `logic`, which conversation `get` returns by default.
|
|
8
|
+
*/
|
|
4
9
|
sources: MavenAGI.Source[];
|
|
5
10
|
/** The language of the message in ISO 639-1 code format */
|
|
6
11
|
language?: string;
|
|
@@ -20,4 +20,8 @@ export interface CapabilityBase {
|
|
|
20
20
|
updatedAt: Date;
|
|
21
21
|
/** Whether the agent uses this capability, and whether it still exists. */
|
|
22
22
|
status: MavenAGI.CapabilityStatus;
|
|
23
|
+
/** Who created the capability. For an intelligent field, who wrote the version this response reads. Absent when no one was recorded. */
|
|
24
|
+
createdBy?: MavenAGI.ChangeAuthor;
|
|
25
|
+
/** Who last changed the capability, as `updatedAt` dates it. For an intelligent field, who last changed this version. Absent when no one was recorded. */
|
|
26
|
+
updatedBy?: MavenAGI.ChangeAuthor;
|
|
23
27
|
}
|
|
@@ -31,10 +31,10 @@ export declare const ErrorReason: {
|
|
|
31
31
|
* The entity type is versioned on this agent, so the request must name the agent variant to read or write. Pass the variant's reference ID, and its owning app where the endpoint takes one; a request that names none is rejected. */
|
|
32
32
|
readonly VariantRequired: "VARIANT_REQUIRED";
|
|
33
33
|
/**
|
|
34
|
-
* The write would change an intelligent field's `validationType
|
|
34
|
+
* The write would change an intelligent field's `validationType`. A field keeps its type, in every agent variant; to use a different type, create a new field. */
|
|
35
35
|
readonly IntelligentFieldTypeChanged: "INTELLIGENT_FIELD_TYPE_CHANGED";
|
|
36
36
|
/**
|
|
37
|
-
* The working set holds staged edits of an entity type or agent setting that isn't versioned for the agent now (see `
|
|
37
|
+
* The working set holds staged edits of an entity type or agent setting that isn't versioned for the agent now (see the agent's `migrations.versionedEntityTypes`), left from before Maven turned its versioning off. Committing would publish them. Contact Maven support, or discard the working set with `discardEdits`. */
|
|
38
38
|
readonly WorkingSetHasUnversionedEdits: "WORKING_SET_HAS_UNVERSIONED_EDITS";
|
|
39
39
|
};
|
|
40
40
|
export type ErrorReason = (typeof ErrorReason)[keyof typeof ErrorReason] | string;
|
|
@@ -35,9 +35,9 @@ exports.ErrorReason = {
|
|
|
35
35
|
* The entity type is versioned on this agent, so the request must name the agent variant to read or write. Pass the variant's reference ID, and its owning app where the endpoint takes one; a request that names none is rejected. */
|
|
36
36
|
VariantRequired: "VARIANT_REQUIRED",
|
|
37
37
|
/**
|
|
38
|
-
* The write would change an intelligent field's `validationType
|
|
38
|
+
* The write would change an intelligent field's `validationType`. A field keeps its type, in every agent variant; to use a different type, create a new field. */
|
|
39
39
|
IntelligentFieldTypeChanged: "INTELLIGENT_FIELD_TYPE_CHANGED",
|
|
40
40
|
/**
|
|
41
|
-
* The working set holds staged edits of an entity type or agent setting that isn't versioned for the agent now (see `
|
|
41
|
+
* The working set holds staged edits of an entity type or agent setting that isn't versioned for the agent now (see the agent's `migrations.versionedEntityTypes`), left from before Maven turned its versioning off. Committing would publish them. Contact Maven support, or discard the working set with `discardEdits`. */
|
|
42
42
|
WorkingSetHasUnversionedEdits: "WORKING_SET_HAS_UNVERSIONED_EDITS",
|
|
43
43
|
};
|
|
@@ -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;
|
|
@@ -39,8 +39,8 @@ export declare const ResolutionStatus: {
|
|
|
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
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
|
-
* or `copilot-
|
|
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
44
|
* conversations are `INELIGIBLE`. Billing status: not billable. Shown in Agent
|
|
45
45
|
* Designer as "Escalated". */
|
|
46
46
|
readonly Escalated: "ESCALATED";
|
|
@@ -66,8 +66,8 @@ export declare const ResolutionStatus: {
|
|
|
66
66
|
* status: not eligible. Shown in Agent Designer as "Hangup". */
|
|
67
67
|
readonly Hangup: "HANGUP";
|
|
68
68
|
/**
|
|
69
|
-
* A copilot chat
|
|
70
|
-
*
|
|
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
71
|
* keep the normal statuses but are never `ESCALATED`. Billing status: not eligible. Shown in
|
|
72
72
|
* Agent Designer as "Ineligible". Not the same as the `INELIGIBLE` billing status, which
|
|
73
73
|
* covers every not eligible status. */
|