mavenagi 1.2.72 → 1.2.74
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 +6 -0
- package/Client.js +52 -42
- package/api/resources/actions/client/requests/ActionPatchRequest.d.ts +11 -0
- package/api/resources/actions/types/ActionRequest.d.ts +5 -0
- 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 +45 -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 +72 -0
- package/api/resources/agents/client/Client.js +244 -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 +45 -2
- package/api/resources/appDirectory/client/Client.js +53 -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/apps/client/Client.d.ts +139 -0
- package/api/resources/apps/client/Client.js +504 -0
- package/api/resources/apps/client/index.d.ts +1 -0
- package/api/resources/apps/client/index.js +2 -0
- package/api/resources/apps/exports.d.ts +2 -0
- package/api/resources/apps/exports.js +21 -0
- package/api/resources/apps/index.d.ts +2 -0
- package/api/resources/apps/index.js +18 -0
- package/api/resources/apps/types/AppPatchRequest.d.ts +26 -0
- package/api/resources/apps/types/AppPatchRequest.js +3 -0
- package/api/resources/apps/types/AppRequest.d.ts +38 -0
- package/api/resources/apps/types/AppRequest.js +3 -0
- package/api/resources/apps/types/AppResponse.d.ts +29 -0
- package/api/resources/apps/types/AppResponse.js +3 -0
- package/api/resources/apps/types/AppsSearchRequest.d.ts +3 -0
- package/api/resources/apps/types/AppsSearchRequest.js +3 -0
- package/api/resources/apps/types/AppsSearchResponse.d.ts +5 -0
- package/api/resources/apps/types/AppsSearchResponse.js +3 -0
- package/api/resources/apps/types/index.d.ts +5 -0
- package/api/resources/apps/types/index.js +21 -0
- package/api/resources/capabilities/types/CapabilityExecutionBase.d.ts +7 -0
- 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/ActionResponse.d.ts +2 -0
- package/api/resources/commons/types/AttachmentNotSentToModelReason.d.ts +11 -0
- package/api/resources/commons/types/AttachmentNotSentToModelReason.js +14 -0
- package/api/resources/commons/types/AttachmentNotSentToModelWarning.d.ts +10 -0
- package/api/resources/commons/types/AttachmentNotSentToModelWarning.js +3 -0
- package/api/resources/commons/types/BaseConversationResponse.d.ts +4 -0
- package/api/resources/commons/types/BotLogicKnowledgeItem.d.ts +2 -0
- package/api/resources/commons/types/BotMessage.d.ts +9 -0
- package/api/resources/commons/types/BotMessageWarning.d.ts +13 -0
- package/api/resources/commons/types/BotMessageWarning.js +3 -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/ChangeAuthor.d.ts +1 -1
- package/api/resources/commons/types/EntityType.d.ts +3 -0
- package/api/resources/commons/types/EntityType.js +3 -0
- package/api/resources/commons/types/ErrorMessage.d.ts +2 -0
- package/api/resources/commons/types/ErrorReason.d.ts +9 -3
- package/api/resources/commons/types/ErrorReason.js +9 -3
- package/api/resources/commons/types/Feedback.d.ts +8 -0
- package/api/resources/commons/types/FieldError.d.ts +6 -0
- package/api/resources/commons/types/FieldError.js +3 -0
- package/api/resources/commons/types/InboxItemBase.d.ts +13 -0
- package/api/resources/commons/types/IntelligentFieldPrecondition.d.ts +9 -1
- package/api/resources/commons/types/IntelligentFieldValueResponse.d.ts +13 -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/commons/types/UserEvent.d.ts +8 -0
- package/api/resources/commons/types/UserMessage.d.ts +4 -0
- package/api/resources/commons/types/index.d.ts +4 -0
- package/api/resources/commons/types/index.js +4 -0
- package/api/resources/conversation/client/Client.d.ts +20 -1
- package/api/resources/conversation/client/Client.js +20 -1
- package/api/resources/conversation/client/requests/ConversationGetRequest.d.ts +1 -1
- package/api/resources/conversation/types/AskRequestFields.d.ts +3 -2
- package/api/resources/conversation/types/BillableFilterField.d.ts +1 -1
- package/api/resources/conversation/types/BillableFilterField.js +1 -1
- package/api/resources/conversation/types/ConversationFilter.d.ts +2 -2
- 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/conversation/types/SubmitActionFormRequest.d.ts +1 -1
- package/api/resources/conversationKickoffs/client/requests/CreateConversationKickoffRequest.d.ts +5 -0
- package/api/resources/conversationKickoffs/types/ConversationKickoff.d.ts +2 -0
- package/api/resources/developersCommons/types/AppDirectoryDetails.d.ts +23 -0
- package/api/resources/developersCommons/types/AppDirectoryDetails.js +3 -0
- package/api/resources/developersCommons/types/AppDirectoryListing.d.ts +14 -0
- package/api/resources/developersCommons/types/AppDirectoryListing.js +3 -0
- package/api/resources/developersCommons/types/BaseApp.d.ts +1 -9
- package/api/resources/developersCommons/types/BaseDetailApp.d.ts +1 -18
- package/api/resources/developersCommons/types/MarketplaceAppDetail.d.ts +8 -4
- package/api/resources/developersCommons/types/index.d.ts +2 -0
- package/api/resources/developersCommons/types/index.js +2 -0
- package/api/resources/events/client/Client.d.ts +1 -1
- package/api/resources/events/client/Client.js +1 -1
- package/api/resources/index.d.ts +7 -0
- package/api/resources/index.js +8 -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/IntelligentFieldValueSearchResponse.d.ts +4 -1
- 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/client/requests/KnowledgeBasePatchRequest.d.ts +5 -0
- package/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +6 -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 +11 -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/EventTriggerRequest.d.ts +5 -0
- package/api/resources/triggers/types/EventTriggerResponse.d.ts +14 -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/users/types/AgentUser.d.ts +13 -0
- 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 +2138 -301
- package/serialization/resources/actions/client/requests/ActionPatchRequest.d.ts +4 -0
- package/serialization/resources/actions/client/requests/ActionPatchRequest.js +4 -0
- package/serialization/resources/actions/types/ActionRequest.d.ts +2 -0
- package/serialization/resources/actions/types/ActionRequest.js +2 -0
- 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 +22 -0
- package/serialization/resources/agentVariants/types/AgentVariantResponse.js +54 -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/apps/index.d.ts +1 -0
- package/serialization/resources/apps/index.js +17 -0
- package/serialization/resources/apps/types/AppPatchRequest.d.ts +21 -0
- package/serialization/resources/apps/types/AppPatchRequest.js +54 -0
- package/serialization/resources/apps/types/AppRequest.d.ts +13 -0
- package/serialization/resources/apps/types/AppRequest.js +48 -0
- package/serialization/resources/apps/types/AppResponse.d.ts +11 -0
- package/serialization/resources/apps/types/AppResponse.js +45 -0
- package/serialization/resources/apps/types/AppsSearchRequest.d.ts +9 -0
- package/serialization/resources/apps/types/AppsSearchRequest.js +40 -0
- package/serialization/resources/apps/types/AppsSearchResponse.d.ts +11 -0
- package/serialization/resources/apps/types/AppsSearchResponse.js +45 -0
- package/serialization/resources/apps/types/index.d.ts +5 -0
- package/serialization/resources/apps/types/index.js +21 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionBase.d.ts +2 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionBase.js +2 -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/ActionResponse.d.ts +2 -0
- package/serialization/resources/commons/types/ActionResponse.js +2 -0
- package/serialization/resources/commons/types/AttachmentNotSentToModelReason.d.ts +7 -0
- package/serialization/resources/commons/types/AttachmentNotSentToModelReason.js +39 -0
- package/serialization/resources/commons/types/AttachmentNotSentToModelWarning.d.ts +13 -0
- package/serialization/resources/commons/types/AttachmentNotSentToModelWarning.js +45 -0
- package/serialization/resources/commons/types/BaseConversationResponse.d.ts +3 -0
- package/serialization/resources/commons/types/BaseConversationResponse.js +3 -0
- package/serialization/resources/commons/types/BotMessage.d.ts +5 -0
- package/serialization/resources/commons/types/BotMessage.js +5 -0
- package/serialization/resources/commons/types/BotMessageWarning.d.ts +11 -0
- package/serialization/resources/commons/types/BotMessageWarning.js +47 -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/EntityType.d.ts +1 -1
- package/serialization/resources/commons/types/EntityType.js +1 -0
- package/serialization/resources/commons/types/ErrorMessage.d.ts +2 -0
- package/serialization/resources/commons/types/ErrorMessage.js +2 -0
- package/serialization/resources/commons/types/ErrorReason.d.ts +1 -1
- package/serialization/resources/commons/types/ErrorReason.js +2 -0
- package/serialization/resources/commons/types/Feedback.d.ts +2 -0
- package/serialization/resources/commons/types/Feedback.js +2 -0
- package/serialization/resources/commons/types/FieldError.d.ts +10 -0
- package/serialization/resources/commons/types/FieldError.js +42 -0
- package/serialization/resources/commons/types/InboxItemBase.d.ts +3 -0
- package/serialization/resources/commons/types/InboxItemBase.js +3 -0
- package/serialization/resources/commons/types/IntelligentFieldValueResponse.d.ts +2 -0
- package/serialization/resources/commons/types/IntelligentFieldValueResponse.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/commons/types/UserEvent.d.ts +2 -0
- package/serialization/resources/commons/types/UserEvent.js +2 -0
- package/serialization/resources/commons/types/UserMessage.d.ts +3 -0
- package/serialization/resources/commons/types/UserMessage.js +3 -0
- package/serialization/resources/commons/types/index.d.ts +4 -0
- package/serialization/resources/commons/types/index.js +4 -0
- package/serialization/resources/conversation/types/NumericConversationField.d.ts +1 -1
- package/serialization/resources/conversation/types/NumericConversationField.js +1 -0
- package/serialization/resources/conversationKickoffs/client/requests/CreateConversationKickoffRequest.d.ts +2 -0
- package/serialization/resources/conversationKickoffs/client/requests/CreateConversationKickoffRequest.js +2 -0
- package/serialization/resources/conversationKickoffs/types/ConversationKickoff.d.ts +2 -0
- package/serialization/resources/conversationKickoffs/types/ConversationKickoff.js +2 -0
- package/serialization/resources/developersCommons/types/AppDirectoryDetails.d.ts +13 -0
- package/serialization/resources/developersCommons/types/AppDirectoryDetails.js +46 -0
- package/serialization/resources/developersCommons/types/AppDirectoryListing.d.ts +14 -0
- package/serialization/resources/developersCommons/types/AppDirectoryListing.js +46 -0
- package/serialization/resources/developersCommons/types/BaseApp.d.ts +2 -7
- package/serialization/resources/developersCommons/types/BaseApp.js +5 -8
- package/serialization/resources/developersCommons/types/BaseDetailApp.d.ts +3 -7
- package/serialization/resources/developersCommons/types/BaseDetailApp.js +3 -7
- package/serialization/resources/developersCommons/types/index.d.ts +2 -0
- package/serialization/resources/developersCommons/types/index.js +2 -0
- package/serialization/resources/index.d.ts +7 -0
- package/serialization/resources/index.js +8 -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/client/requests/KnowledgeBasePatchRequest.d.ts +2 -0
- package/serialization/resources/knowledge/client/requests/KnowledgeBasePatchRequest.js +2 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseResponse.d.ts +5 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +5 -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 +8 -0
- package/serialization/resources/triggers/client/requests/PartialUpdateRequest.js +8 -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/EventTriggerRequest.d.ts +2 -0
- package/serialization/resources/triggers/types/EventTriggerRequest.js +2 -0
- package/serialization/resources/triggers/types/EventTriggerResponse.d.ts +4 -0
- package/serialization/resources/triggers/types/EventTriggerResponse.js +4 -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/users/types/AgentUser.d.ts +3 -0
- package/serialization/resources/users/types/AgentUser.js +3 -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
|
@@ -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. */
|
|
@@ -10,7 +11,8 @@ export interface MarketplaceAppDetail extends MavenAGI.BaseDetailApp {
|
|
|
10
11
|
/**
|
|
11
12
|
* The installation's stored configuration, as an object keyed by setting key. Present only
|
|
12
13
|
* when the app is installed on this agent. The keys mirror the app's `settingsSchema`, and a
|
|
13
|
-
* key is absent when it has never been set
|
|
14
|
+
* key is absent when it has never been set, except `image` and `section` keys, which are
|
|
15
|
+
* always present.
|
|
14
16
|
*
|
|
15
17
|
* Values nest the way the schema does: a `section` entry holds an object of its fields, a
|
|
16
18
|
* `oneOf` entry an object of the selected option's fields alongside its `type` discriminator,
|
|
@@ -18,7 +20,9 @@ export interface MarketplaceAppDetail extends MavenAGI.BaseDetailApp {
|
|
|
18
20
|
*
|
|
19
21
|
* Two entry types do not return what is stored:
|
|
20
22
|
*
|
|
21
|
-
* - `image` entries return a short-lived presigned download URL, never the file's bytes.
|
|
23
|
+
* - `image` entries return a short-lived presigned download URL, never the file's bytes. The
|
|
24
|
+
* URL is returned whether or not a file was ever uploaded, so it does not show that an
|
|
25
|
+
* image is set. Only an image that was removed returns an empty string.
|
|
22
26
|
* - `oauth` entries return `accessToken` redacted, with `scopes` and `status` intact, so the
|
|
23
27
|
* connection still reads as connected without exposing the token.
|
|
24
28
|
*
|
|
@@ -16,6 +16,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./AppCapability"), exports);
|
|
18
18
|
__exportStar(require("./AppCategory"), exports);
|
|
19
|
+
__exportStar(require("./AppDirectoryDetails"), exports);
|
|
20
|
+
__exportStar(require("./AppDirectoryListing"), exports);
|
|
19
21
|
__exportStar(require("./AppInstalled"), exports);
|
|
20
22
|
__exportStar(require("./AppsFilter"), exports);
|
|
21
23
|
__exportStar(require("./AppsResponse"), exports);
|
|
@@ -95,7 +95,7 @@ export declare class EventsClient {
|
|
|
95
95
|
/**
|
|
96
96
|
* Export events to a CSV file.
|
|
97
97
|
*
|
|
98
|
-
* This will output a summary of each event that matches the supplied filter. Only the first 10,000 matching events can be exported: `(page + 1) * size` must not exceed 10,000, and a request beyond that is rejected with a 400. For most use cases it is recommended to use the search API instead and convert the JSON response to your desired format. The CSV format may change over time and should not be relied upon by code consumers.
|
|
98
|
+
* This will output a summary of each event that matches the supplied filter. Only the first 10,000 matching events can be exported: `(page + 1) * size` must not exceed 10,000, and a request beyond that is rejected with a 400. For most use cases it is recommended to use the search API instead and convert the JSON response to your desired format. The CSV format may change over time and should not be relied upon by code consumers. The CSV's `createdBy` column is the display name of the user the event is about, not the event's `createdBy`, which names who recorded it.
|
|
99
99
|
*
|
|
100
100
|
* <Note>**Required permission:** `read:events`</Note>
|
|
101
101
|
*
|
|
@@ -393,7 +393,7 @@ class EventsClient {
|
|
|
393
393
|
/**
|
|
394
394
|
* Export events to a CSV file.
|
|
395
395
|
*
|
|
396
|
-
* This will output a summary of each event that matches the supplied filter. Only the first 10,000 matching events can be exported: `(page + 1) * size` must not exceed 10,000, and a request beyond that is rejected with a 400. For most use cases it is recommended to use the search API instead and convert the JSON response to your desired format. The CSV format may change over time and should not be relied upon by code consumers.
|
|
396
|
+
* This will output a summary of each event that matches the supplied filter. Only the first 10,000 matching events can be exported: `(page + 1) * size` must not exceed 10,000, and a request beyond that is rejected with a 400. For most use cases it is recommended to use the search API instead and convert the JSON response to your desired format. The CSV format may change over time and should not be relied upon by code consumers. The CSV's `createdBy` column is the display name of the user the event is about, not the event's `createdBy`, which names who recorded it.
|
|
397
397
|
*
|
|
398
398
|
* <Note>**Required permission:** `read:events`</Note>
|
|
399
399
|
*
|
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";
|
|
@@ -12,6 +15,8 @@ export * from "./appDirectory/types";
|
|
|
12
15
|
export * as appSettings from "./appSettings";
|
|
13
16
|
export * from "./appSettings/client/requests";
|
|
14
17
|
export * from "./appSettings/types";
|
|
18
|
+
export * as apps from "./apps";
|
|
19
|
+
export * from "./apps/types";
|
|
15
20
|
export * as assets from "./assets";
|
|
16
21
|
export * from "./assets/types";
|
|
17
22
|
export * as capabilities from "./capabilities";
|
|
@@ -64,3 +69,5 @@ export * as voice from "./voice";
|
|
|
64
69
|
export * from "./voice/types";
|
|
65
70
|
export * as voiceConversations from "./voiceConversations";
|
|
66
71
|
export * from "./voiceConversations/types";
|
|
72
|
+
export * as workingSet from "./workingSet";
|
|
73
|
+
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.apps = 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"));
|
|
@@ -51,6 +54,8 @@ __exportStar(require("./appDirectory/types"), exports);
|
|
|
51
54
|
exports.appSettings = __importStar(require("./appSettings"));
|
|
52
55
|
__exportStar(require("./appSettings/client/requests"), exports);
|
|
53
56
|
__exportStar(require("./appSettings/types"), exports);
|
|
57
|
+
exports.apps = __importStar(require("./apps"));
|
|
58
|
+
__exportStar(require("./apps/types"), exports);
|
|
54
59
|
exports.assets = __importStar(require("./assets"));
|
|
55
60
|
__exportStar(require("./assets/types"), exports);
|
|
56
61
|
exports.capabilities = __importStar(require("./capabilities"));
|
|
@@ -103,3 +108,5 @@ exports.voice = __importStar(require("./voice"));
|
|
|
103
108
|
__exportStar(require("./voice/types"), exports);
|
|
104
109
|
exports.voiceConversations = __importStar(require("./voiceConversations"));
|
|
105
110
|
__exportStar(require("./voiceConversations/types"), exports);
|
|
111
|
+
exports.workingSet = __importStar(require("./workingSet"));
|
|
112
|
+
__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
|
}
|
|
@@ -21,7 +21,10 @@ import type * as MavenAGI from "../../../index";
|
|
|
21
21
|
* value: "HIGH",
|
|
22
22
|
* confidence: 0.95,
|
|
23
23
|
* rationale: "The conversation mentions a production outage affecting multiple customers, indicating high urgency and impact.",
|
|
24
|
-
* createdAt: new Date("2024-01-15T10:30:00.000Z")
|
|
24
|
+
* createdAt: new Date("2024-01-15T10:30:00.000Z"),
|
|
25
|
+
* createdBy: {
|
|
26
|
+
* name: "Maven AGI"
|
|
27
|
+
* }
|
|
25
28
|
* }],
|
|
26
29
|
* totalElements: 1,
|
|
27
30
|
* totalPages: 1,
|
|
@@ -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);
|
|
@@ -38,6 +38,13 @@ export declare class KnowledgeClient {
|
|
|
38
38
|
/**
|
|
39
39
|
* Update a knowledge base or create it if it doesn't exist.
|
|
40
40
|
*
|
|
41
|
+
* Every knowledge base this endpoint creates has type `API`. The request has no type field.
|
|
42
|
+
*
|
|
43
|
+
* Creating a knowledge base also opens its first version. To load it, add documents with
|
|
44
|
+
* `createKnowledgeDocument` and then call `finalizeKnowledgeBaseVersion`. Do not call
|
|
45
|
+
* `createKnowledgeBaseVersion` right after creating the knowledge base: it fails that first
|
|
46
|
+
* version and opens a second one. Updating an existing knowledge base does not open a version.
|
|
47
|
+
*
|
|
41
48
|
* <Note>**Required permission:** `edit:agents`</Note>
|
|
42
49
|
*
|
|
43
50
|
* @param {MavenAGI.KnowledgeBaseRequest} request
|
|
@@ -141,6 +148,10 @@ export declare class KnowledgeClient {
|
|
|
141
148
|
/**
|
|
142
149
|
* Rolls the knowledge base back to its previous published version.
|
|
143
150
|
*
|
|
151
|
+
* <Warning>This endpoint is in development and is not supported on every agent yet. Where it
|
|
152
|
+
* isn't, it returns 404. It also returns 404 when the knowledge base has no earlier published
|
|
153
|
+
* version to roll back to.</Warning>
|
|
154
|
+
*
|
|
144
155
|
* <Note>**Required permission:** `edit:agents`</Note>
|
|
145
156
|
*
|
|
146
157
|
* @param {string} knowledgeBaseReferenceId - The reference ID of the knowledge base to roll back. All other entity ID fields are inferred from the request.
|
|
@@ -196,9 +207,14 @@ export declare class KnowledgeClient {
|
|
|
196
207
|
private __patchKnowledgeBase;
|
|
197
208
|
/**
|
|
198
209
|
* Create a new knowledge base version.
|
|
210
|
+
* The knowledge base is looked up under the calling app, so these calls can't reach a knowledge base another app created.
|
|
199
211
|
*
|
|
200
212
|
* If an existing version is in progress, then that version will be finalized in an error state.
|
|
201
213
|
*
|
|
214
|
+
* A new knowledge base already has an open first version from `createOrUpdateKnowledgeBase`.
|
|
215
|
+
* Add the first documents to that version and finalize it. Call this endpoint for later
|
|
216
|
+
* refreshes. Calling it right after creating the knowledge base leaves the first version `FAILED`.
|
|
217
|
+
*
|
|
202
218
|
* If another version create for the same knowledge base is still in progress, this request may
|
|
203
219
|
* return 503 with a `Retry-After` header. Nothing is changed in that case, so it is safe to retry.
|
|
204
220
|
*
|
|
@@ -225,6 +241,7 @@ export declare class KnowledgeClient {
|
|
|
225
241
|
private __createKnowledgeBaseVersion;
|
|
226
242
|
/**
|
|
227
243
|
* Finalize the latest knowledge base version. Required to indicate the version is complete. Will throw an exception if the latest version is not in progress.
|
|
244
|
+
* The knowledge base is looked up under the calling app, so these calls can't reach a knowledge base another app created.
|
|
228
245
|
*
|
|
229
246
|
* A `FULL` version starts empty and replaces the live documents. Finalizing a `FULL` version
|
|
230
247
|
* with status `SUCCEEDED` (the default when `status` is omitted) succeeds even if no
|
|
@@ -345,6 +362,7 @@ export declare class KnowledgeClient {
|
|
|
345
362
|
/**
|
|
346
363
|
* Create or update a knowledge document. Requires an existing knowledge base with an in progress version.
|
|
347
364
|
* Will throw an exception if the latest version is not in progress.
|
|
365
|
+
* The knowledge base is looked up under the calling app, so these calls can't reach a knowledge base another app created.
|
|
348
366
|
*
|
|
349
367
|
* <Tip>
|
|
350
368
|
* This API maintains document version history. If for the same reference ID none of the `title`, `text`, `sourceUrl`, `metadata` fields
|
|
@@ -386,10 +404,9 @@ export declare class KnowledgeClient {
|
|
|
386
404
|
createKnowledgeDocument(knowledgeBaseReferenceId: string, request: MavenAGI.KnowledgeDocumentRequest, requestOptions?: KnowledgeClient.RequestOptions): core.HttpResponsePromise<MavenAGI.KnowledgeDocumentResponse>;
|
|
387
405
|
private __createKnowledgeDocument;
|
|
388
406
|
/**
|
|
389
|
-
* @beta This endpoint is in development and may change.
|
|
390
|
-
*
|
|
391
407
|
* Delete knowledge document from a specific version.
|
|
392
408
|
* Requires an existing knowledge base with an in progress version of type PARTIAL. Will throw an exception if the version is not in progress.
|
|
409
|
+
* The knowledge base is looked up under the calling app, so these calls can't reach a knowledge base another app created.
|
|
393
410
|
*
|
|
394
411
|
* <Note>**Required permission:** `delete:documents`</Note>
|
|
395
412
|
*
|
|
@@ -167,6 +167,13 @@ class KnowledgeClient {
|
|
|
167
167
|
/**
|
|
168
168
|
* Update a knowledge base or create it if it doesn't exist.
|
|
169
169
|
*
|
|
170
|
+
* Every knowledge base this endpoint creates has type `API`. The request has no type field.
|
|
171
|
+
*
|
|
172
|
+
* Creating a knowledge base also opens its first version. To load it, add documents with
|
|
173
|
+
* `createKnowledgeDocument` and then call `finalizeKnowledgeBaseVersion`. Do not call
|
|
174
|
+
* `createKnowledgeBaseVersion` right after creating the knowledge base: it fails that first
|
|
175
|
+
* version and opens a second one. Updating an existing knowledge base does not open a version.
|
|
176
|
+
*
|
|
170
177
|
* <Note>**Required permission:** `edit:agents`</Note>
|
|
171
178
|
*
|
|
172
179
|
* @param {MavenAGI.KnowledgeBaseRequest} request
|
|
@@ -587,6 +594,10 @@ class KnowledgeClient {
|
|
|
587
594
|
/**
|
|
588
595
|
* Rolls the knowledge base back to its previous published version.
|
|
589
596
|
*
|
|
597
|
+
* <Warning>This endpoint is in development and is not supported on every agent yet. Where it
|
|
598
|
+
* isn't, it returns 404. It also returns 404 when the knowledge base has no earlier published
|
|
599
|
+
* version to roll back to.</Warning>
|
|
600
|
+
*
|
|
590
601
|
* <Note>**Required permission:** `edit:agents`</Note>
|
|
591
602
|
*
|
|
592
603
|
* @param {string} knowledgeBaseReferenceId - The reference ID of the knowledge base to roll back. All other entity ID fields are inferred from the request.
|
|
@@ -795,9 +806,14 @@ class KnowledgeClient {
|
|
|
795
806
|
}
|
|
796
807
|
/**
|
|
797
808
|
* Create a new knowledge base version.
|
|
809
|
+
* The knowledge base is looked up under the calling app, so these calls can't reach a knowledge base another app created.
|
|
798
810
|
*
|
|
799
811
|
* If an existing version is in progress, then that version will be finalized in an error state.
|
|
800
812
|
*
|
|
813
|
+
* A new knowledge base already has an open first version from `createOrUpdateKnowledgeBase`.
|
|
814
|
+
* Add the first documents to that version and finalize it. Call this endpoint for later
|
|
815
|
+
* refreshes. Calling it right after creating the knowledge base leaves the first version `FAILED`.
|
|
816
|
+
*
|
|
801
817
|
* If another version create for the same knowledge base is still in progress, this request may
|
|
802
818
|
* return 503 with a `Retry-After` header. Nothing is changed in that case, so it is safe to retry.
|
|
803
819
|
*
|
|
@@ -906,6 +922,7 @@ class KnowledgeClient {
|
|
|
906
922
|
}
|
|
907
923
|
/**
|
|
908
924
|
* Finalize the latest knowledge base version. Required to indicate the version is complete. Will throw an exception if the latest version is not in progress.
|
|
925
|
+
* The knowledge base is looked up under the calling app, so these calls can't reach a knowledge base another app created.
|
|
909
926
|
*
|
|
910
927
|
* A `FULL` version starts empty and replaces the live documents. Finalizing a `FULL` version
|
|
911
928
|
* with status `SUCCEEDED` (the default when `status` is omitted) succeeds even if no
|
|
@@ -1363,6 +1380,7 @@ class KnowledgeClient {
|
|
|
1363
1380
|
/**
|
|
1364
1381
|
* Create or update a knowledge document. Requires an existing knowledge base with an in progress version.
|
|
1365
1382
|
* Will throw an exception if the latest version is not in progress.
|
|
1383
|
+
* The knowledge base is looked up under the calling app, so these calls can't reach a knowledge base another app created.
|
|
1366
1384
|
*
|
|
1367
1385
|
* <Tip>
|
|
1368
1386
|
* This API maintains document version history. If for the same reference ID none of the `title`, `text`, `sourceUrl`, `metadata` fields
|
|
@@ -1486,10 +1504,9 @@ class KnowledgeClient {
|
|
|
1486
1504
|
});
|
|
1487
1505
|
}
|
|
1488
1506
|
/**
|
|
1489
|
-
* @beta This endpoint is in development and may change.
|
|
1490
|
-
*
|
|
1491
1507
|
* Delete knowledge document from a specific version.
|
|
1492
1508
|
* Requires an existing knowledge base with an in progress version of type PARTIAL. Will throw an exception if the version is not in progress.
|
|
1509
|
+
* The knowledge base is looked up under the calling app, so these calls can't reach a knowledge base another app created.
|
|
1493
1510
|
*
|
|
1494
1511
|
* <Note>**Required permission:** `delete:documents`</Note>
|
|
1495
1512
|
*
|
|
@@ -50,4 +50,9 @@ export interface KnowledgeBasePatchRequest {
|
|
|
50
50
|
segmentIds?: MavenAGI.EntityId[];
|
|
51
51
|
/** How often the knowledge base should be refreshed. */
|
|
52
52
|
refreshFrequency?: MavenAGI.KnowledgeBaseRefreshFrequency;
|
|
53
|
+
/**
|
|
54
|
+
* The Function versions that sync this knowledge base. A null value unbinds it, so the
|
|
55
|
+
* app's own handler syncs it again.
|
|
56
|
+
*/
|
|
57
|
+
functionBindings?: MavenAGI.KnowledgeBaseFunctionBindings | null;
|
|
53
58
|
}
|
|
@@ -47,6 +47,10 @@ export interface KnowledgeBaseResponse extends MavenAGI.KnowledgeBaseProperties
|
|
|
47
47
|
createdAt: Date;
|
|
48
48
|
/** The date and time when the knowledge base was last updated. */
|
|
49
49
|
updatedAt: Date;
|
|
50
|
+
/** Who created the knowledge base. Absent when no one was recorded. */
|
|
51
|
+
createdBy?: MavenAGI.ChangeAuthor;
|
|
52
|
+
/** Who last changed the knowledge base, as `updatedAt` dates it, including Maven's own changes such as publishing a new version. Absent when no one was recorded. */
|
|
53
|
+
updatedBy?: MavenAGI.ChangeAuthor;
|
|
50
54
|
/** ID that uniquely identifies this knowledge base */
|
|
51
55
|
knowledgeBaseId: MavenAGI.EntityId;
|
|
52
56
|
/** ID of the knowledge base version that is currently active. Documents can be fetched using this version ID. */
|
|
@@ -92,4 +96,6 @@ export interface KnowledgeBaseResponse extends MavenAGI.KnowledgeBaseProperties
|
|
|
92
96
|
* Only populated while the latest version is in progress - absent once it has completed.
|
|
93
97
|
*/
|
|
94
98
|
progress?: MavenAGI.KnowledgeBaseVersionProgress;
|
|
99
|
+
/** The Function versions that sync this knowledge base. Absent when the app's own handler syncs it. */
|
|
100
|
+
functionBindings?: MavenAGI.KnowledgeBaseFunctionBindings;
|
|
95
101
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* API knowledge bases are managed by a Maven App.
|
|
3
3
|
* All other knowledge base types are deprecated and can not be created.
|
|
4
|
+
* `createOrUpdateKnowledgeBase` always creates an `API` knowledge base, and its request
|
|
5
|
+
* takes no type.
|
|
4
6
|
*/
|
|
5
7
|
export declare const KnowledgeBaseType: {
|
|
6
8
|
/**
|
|
@@ -5,6 +5,8 @@ exports.KnowledgeBaseType = void 0;
|
|
|
5
5
|
/**
|
|
6
6
|
* API knowledge bases are managed by a Maven App.
|
|
7
7
|
* All other knowledge base types are deprecated and can not be created.
|
|
8
|
+
* `createOrUpdateKnowledgeBase` always creates an `API` knowledge base, and its request
|
|
9
|
+
* takes no type.
|
|
8
10
|
*/
|
|
9
11
|
exports.KnowledgeBaseType = {
|
|
10
12
|
/**
|
|
@@ -48,6 +48,10 @@ export interface KnowledgeBaseVersion extends MavenAGI.KnowledgeBaseVersionReque
|
|
|
48
48
|
createdAt: Date;
|
|
49
49
|
/** The date and time the knowledge base version was last updated. */
|
|
50
50
|
updatedAt: Date;
|
|
51
|
+
/** Who started the knowledge base version. Absent when no one was recorded. */
|
|
52
|
+
createdBy?: MavenAGI.ChangeAuthor;
|
|
53
|
+
/** Who last changed the knowledge base version, as `updatedAt` dates it, including Maven's own changes such as marking it superseded by a newer version. Absent when no one was recorded. */
|
|
54
|
+
updatedBy?: MavenAGI.ChangeAuthor;
|
|
51
55
|
/** The indexing status of the knowledge base version. */
|
|
52
56
|
indexingState?: MavenAGI.KnowledgeBaseIndexingProgressState;
|
|
53
57
|
/**
|
|
@@ -52,6 +52,10 @@ export interface KnowledgeDocumentSearchResponse extends MavenAGI.BaseKnowledgeD
|
|
|
52
52
|
createdAt: Date;
|
|
53
53
|
/** The time at which this document was last modified. */
|
|
54
54
|
updatedAt: Date;
|
|
55
|
+
/** Who wrote this version of the document to Maven. Absent when no one was recorded. This is Maven's own record, not the source's `author`, so a document an app syncs on its own names the app. */
|
|
56
|
+
createdBy?: MavenAGI.ChangeAuthor;
|
|
57
|
+
/** Who last changed this version of the document in Maven, including Maven's own processing of it, such as indexing it for search. Absent when no one was recorded. */
|
|
58
|
+
updatedBy?: MavenAGI.ChangeAuthor;
|
|
55
59
|
/**
|
|
56
60
|
* The entities this document is narrowed to. Empty for a document that is part of the
|
|
57
61
|
* agent's general knowledge.
|
|
@@ -2,4 +2,12 @@ import type * as MavenAGI from "../../../index";
|
|
|
2
2
|
export interface Organization extends MavenAGI.BaseOrganization {
|
|
3
3
|
/** ID that uniquely identifies this organization */
|
|
4
4
|
organizationId: MavenAGI.EntityIdBase;
|
|
5
|
+
/** When the organization was created. */
|
|
6
|
+
createdAt?: Date;
|
|
7
|
+
/** When the organization was last changed, through `create` or `patch`. Maven's own upkeep of the organization, such as linking it to its sign-in provider, also moves it. */
|
|
8
|
+
updatedAt?: Date;
|
|
9
|
+
/** Who created the organization. Absent when no one was recorded. */
|
|
10
|
+
createdBy?: MavenAGI.ChangeAuthor;
|
|
11
|
+
/** Who last changed the organization, as `updatedAt` dates it. Absent when no one was recorded. */
|
|
12
|
+
updatedBy?: MavenAGI.ChangeAuthor;
|
|
5
13
|
}
|
|
@@ -115,7 +115,12 @@ export declare class TriggersClient {
|
|
|
115
115
|
delete(triggerReferenceId: string, requestOptions?: TriggersClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
116
116
|
private __delete;
|
|
117
117
|
/**
|
|
118
|
-
* Updates an event trigger. `enabled` and `
|
|
118
|
+
* Updates an event trigger. `enabled`, `condition`, `schedule`, `wait` and `rateLimit` are
|
|
119
|
+
* the editable fields.
|
|
120
|
+
*
|
|
121
|
+
* While timing is not available for the agent, setting `schedule`, `wait` or `rateLimit`
|
|
122
|
+
* answers 400. Clearing one with an explicit null still succeeds; a trigger whose
|
|
123
|
+
* `timingActive` is false is delivered again once none of the three is left.
|
|
119
124
|
*
|
|
120
125
|
* `PATCH /v1/capabilities/TRIGGER/{referenceId}` with a `status` also turns a trigger on and
|
|
121
126
|
* off, the same way it publishes and unpublishes any kind of capability.
|
|
@@ -487,7 +487,12 @@ class TriggersClient {
|
|
|
487
487
|
});
|
|
488
488
|
}
|
|
489
489
|
/**
|
|
490
|
-
* Updates an event trigger. `enabled` and `
|
|
490
|
+
* Updates an event trigger. `enabled`, `condition`, `schedule`, `wait` and `rateLimit` are
|
|
491
|
+
* the editable fields.
|
|
492
|
+
*
|
|
493
|
+
* While timing is not available for the agent, setting `schedule`, `wait` or `rateLimit`
|
|
494
|
+
* answers 400. Clearing one with an explicit null still succeeds; a trigger whose
|
|
495
|
+
* `timingActive` is false is delivered again once none of the three is left.
|
|
491
496
|
*
|
|
492
497
|
* `PATCH /v1/capabilities/TRIGGER/{referenceId}` with a `status` also turns a trigger on and
|
|
493
498
|
* off, the same way it publishes and unpublishes any kind of capability.
|
|
@@ -10,4 +10,15 @@ export interface PartialUpdateRequest {
|
|
|
10
10
|
enabled?: boolean;
|
|
11
11
|
/** Narrows which events fire this trigger. Omitted leaves the current condition alone; an explicit null removes it, so the trigger fires for every event again. */
|
|
12
12
|
condition?: MavenAGI.EventCondition | null;
|
|
13
|
+
/** Fires the trigger on a timer instead of on events. Omitted leaves the schedule alone; an explicit null removes it. Setting a different schedule resets its fire count; sending the same one keeps it. Changing `spec`, `endAt` or `maxFires` counts as a new schedule and restarts the count. */
|
|
14
|
+
schedule?: MavenAGI.TriggerSchedule | null;
|
|
15
|
+
/** Fires the trigger some time after its event instead of immediately. Omitted leaves the wait alone; an explicit null removes it. */
|
|
16
|
+
wait?: MavenAGI.TriggerWait | null;
|
|
17
|
+
/** Caps how often the trigger is delivered. Omitted leaves the rate limit alone; an explicit null removes it. */
|
|
18
|
+
rateLimit?: MavenAGI.TriggerRateLimit | null;
|
|
19
|
+
/**
|
|
20
|
+
* The Function version to bind this trigger to. A null value unbinds it, so the app's
|
|
21
|
+
* own handler runs it again.
|
|
22
|
+
*/
|
|
23
|
+
functionBinding?: MavenAGI.FunctionVersionBinding | null;
|
|
13
24
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* Fires `after` the last matching event for the same entity. Each new matching event restarts
|
|
4
|
+
* that entity's wait, and the trigger receives the last event. An entity that keeps receiving
|
|
5
|
+
* events never fires: this is "inactive for `after`".
|
|
6
|
+
*/
|
|
7
|
+
export interface DebounceWait extends MavenAGI.TriggerWaitBase {
|
|
8
|
+
/**
|
|
9
|
+
* The entity type each wait is for, among the entities the event references. For example,
|
|
10
|
+
* `CONVERSATION` keeps one wait per conversation. An event that references no entity of
|
|
11
|
+
* this type, or more than one, waits on its own.
|
|
12
|
+
*/
|
|
13
|
+
per: MavenAGI.EntityType;
|
|
14
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* Fires `after` the matching event.
|
|
4
|
+
*/
|
|
5
|
+
export interface DelayWait extends MavenAGI.TriggerWaitBase {
|
|
6
|
+
/**
|
|
7
|
+
* Keeps one wait per entity of this type that the event references. While a wait is open
|
|
8
|
+
* for an entity, further matching events for it are ignored. An event that references no
|
|
9
|
+
* entity of this type, or more than one, waits on its own. Without `per`, every matching
|
|
10
|
+
* event waits on its own.
|
|
11
|
+
*/
|
|
12
|
+
per?: MavenAGI.EntityType;
|
|
13
|
+
}
|