mavenagi 1.0.10 → 1.0.12
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/Client.d.ts +9 -0
- package/Client.js +33 -18
- package/README.md +8 -41
- package/api/resources/actions/client/Client.js +3 -3
- package/api/resources/agents/client/Client.d.ts +86 -0
- package/api/resources/agents/client/Client.js +320 -0
- package/api/resources/agents/client/index.d.ts +1 -0
- package/api/resources/agents/client/index.js +2 -0
- package/api/resources/agents/index.d.ts +2 -0
- package/api/resources/agents/index.js +18 -0
- package/api/resources/agents/types/Agent.d.ts +14 -0
- package/api/resources/agents/types/AgentEnvironment.d.ts +9 -0
- package/api/resources/agents/types/AgentEnvironment.js +11 -0
- package/api/resources/agents/types/AgentField.d.ts +8 -0
- package/api/resources/agents/types/AgentField.js +10 -0
- package/api/resources/agents/types/AgentFilter.d.ts +8 -0
- package/api/resources/agents/types/AgentsSearchRequest.d.ts +8 -0
- package/api/resources/agents/types/AgentsSearchResponse.d.ts +7 -0
- package/api/resources/agents/types/index.d.ts +6 -0
- package/api/resources/agents/types/index.js +22 -0
- package/api/resources/analytics/client/Client.js +3 -3
- package/api/resources/appSettings/client/Client.d.ts +21 -0
- package/api/resources/appSettings/client/Client.js +91 -2
- package/api/resources/appSettings/client/index.d.ts +1 -1
- package/api/resources/appSettings/client/index.js +15 -0
- package/api/resources/appSettings/client/requests/SearchAppSettingsRequest.d.ts +15 -0
- package/api/resources/appSettings/client/requests/SearchAppSettingsRequest.js +5 -0
- package/api/resources/appSettings/client/requests/index.d.ts +1 -0
- package/api/resources/appSettings/client/requests/index.js +2 -0
- package/api/resources/appSettings/index.d.ts +1 -0
- package/api/resources/appSettings/index.js +1 -0
- package/api/resources/appSettings/types/AppSettings.d.ts +11 -0
- package/api/resources/appSettings/types/AppSettings.js +5 -0
- package/api/resources/appSettings/types/SearchAppSettingsResponse.d.ts +7 -0
- package/api/resources/appSettings/types/SearchAppSettingsResponse.js +5 -0
- package/api/resources/appSettings/types/index.d.ts +2 -0
- package/api/resources/appSettings/types/index.js +18 -0
- package/api/resources/commons/types/ActionFormField.d.ts +3 -3
- package/api/resources/commons/types/ActionParameter.d.ts +2 -0
- package/api/resources/commons/types/ActionParameterType.d.ts +2 -1
- package/api/resources/commons/types/ActionParameterType.js +1 -0
- package/api/resources/commons/types/AppPrecondition.d.ts +8 -0
- package/api/resources/commons/types/AppPrecondition.js +5 -0
- package/api/resources/commons/types/BotActionFormResponse.d.ts +7 -1
- package/api/resources/commons/types/ConversationAnalysis.d.ts +2 -0
- package/api/resources/commons/types/ConversationPrecondition.d.ts +4 -1
- package/api/resources/commons/types/ConversationResponse.d.ts +8 -1
- package/api/resources/commons/types/ConversationSummary.d.ts +27 -0
- package/api/resources/commons/types/EntityType.d.ts +3 -1
- package/api/resources/commons/types/EntityType.js +2 -0
- package/api/resources/commons/types/InboxItemDuplicateDocuments.d.ts +2 -0
- package/api/resources/commons/types/UserMessage.d.ts +2 -0
- package/api/resources/commons/types/index.d.ts +1 -3
- package/api/resources/commons/types/index.js +1 -3
- package/api/resources/conversation/client/Client.d.ts +2 -1
- package/api/resources/conversation/client/Client.js +15 -14
- package/api/resources/conversation/types/AskRequest.d.ts +4 -1
- package/api/resources/events/client/Client.d.ts +53 -0
- package/api/resources/events/client/Client.js +157 -0
- package/api/resources/events/client/index.d.ts +1 -0
- package/api/resources/events/client/index.js +2 -0
- package/api/resources/events/index.d.ts +2 -0
- package/api/resources/events/index.js +18 -0
- package/api/resources/events/types/BrowserInfo.d.ts +10 -0
- package/api/resources/events/types/BrowserInfo.js +5 -0
- package/api/resources/events/types/BrowserType.d.ts +12 -0
- package/api/resources/events/types/BrowserType.js +14 -0
- package/api/resources/events/types/ContextInfo.d.ts +6 -0
- package/api/resources/events/types/ContextInfo.js +5 -0
- package/api/resources/events/types/DeviceInfo.d.ts +10 -0
- package/api/resources/events/types/DeviceInfo.js +5 -0
- package/api/resources/events/types/DeviceType.d.ts +10 -0
- package/api/resources/events/types/DeviceType.js +12 -0
- package/api/resources/events/types/EventBaseNoId.d.ts +11 -0
- package/api/resources/events/types/EventBaseNoId.js +5 -0
- package/api/resources/events/types/EventField.d.ts +7 -0
- package/api/resources/events/types/EventField.js +9 -0
- package/api/resources/events/types/EventFilter.d.ts +13 -0
- package/api/resources/events/types/EventFilter.js +5 -0
- package/api/resources/events/types/EventResponse.d.ts +13 -0
- package/api/resources/events/types/EventResponse.js +5 -0
- package/api/resources/events/types/EventType.d.ts +8 -0
- package/api/resources/events/types/EventType.js +10 -0
- package/api/resources/events/types/EventsSearchRequest.d.ts +8 -0
- package/api/resources/events/types/EventsSearchRequest.js +5 -0
- package/api/resources/events/types/EventsSearchResponse.d.ts +8 -0
- package/api/resources/events/types/EventsSearchResponse.js +5 -0
- package/api/resources/events/types/FeedbackInfo.d.ts +12 -0
- package/api/resources/events/types/FeedbackInfo.js +5 -0
- package/api/resources/events/types/GeoInfo.d.ts +11 -0
- package/api/resources/events/types/GeoInfo.js +5 -0
- package/api/resources/events/types/IpInfo.d.ts +6 -0
- package/api/resources/events/types/IpInfo.js +5 -0
- package/api/resources/events/types/LanguageInfo.d.ts +6 -0
- package/api/resources/events/types/LanguageInfo.js +5 -0
- package/api/resources/events/types/NovelSystemEventNoId.d.ts +8 -0
- package/api/resources/events/types/NovelSystemEventNoId.js +5 -0
- package/api/resources/events/types/OsInfo.d.ts +9 -0
- package/api/resources/events/types/OsInfo.js +5 -0
- package/api/resources/events/types/OsType.d.ts +12 -0
- package/api/resources/events/types/OsType.js +14 -0
- package/api/resources/events/types/PageInfo.d.ts +10 -0
- package/api/resources/events/types/PageInfo.js +5 -0
- package/api/resources/events/types/SessionInfo.d.ts +9 -0
- package/api/resources/events/types/SessionInfo.js +5 -0
- package/api/resources/events/types/SourceInfo.d.ts +12 -0
- package/api/resources/events/types/SourceInfo.js +5 -0
- package/api/resources/events/types/SourceType.d.ts +9 -0
- package/api/resources/events/types/SourceType.js +11 -0
- package/api/resources/events/types/SurveyInfo.d.ts +7 -0
- package/api/resources/events/types/SurveyInfo.js +5 -0
- package/api/resources/events/types/SystemEvent.d.ts +8 -0
- package/api/resources/events/types/SystemEvent.js +5 -0
- package/api/resources/events/types/SystemEventName.d.ts +18 -0
- package/api/resources/events/types/SystemEventName.js +11 -0
- package/api/resources/events/types/UserEvent.d.ts +16 -0
- package/api/resources/events/types/UserEvent.js +5 -0
- package/api/resources/events/types/UserEventName.d.ts +22 -0
- package/api/resources/events/types/UserEventName.js +12 -0
- package/api/resources/events/types/UserInfo.d.ts +7 -0
- package/api/resources/events/types/UserInfo.js +5 -0
- package/api/resources/events/types/index.d.ts +29 -0
- package/api/resources/events/types/index.js +45 -0
- package/api/resources/inbox/client/Client.js +5 -5
- package/api/resources/index.d.ts +9 -1
- package/api/resources/index.js +10 -2
- package/api/resources/knowledge/client/Client.d.ts +42 -5
- package/api/resources/knowledge/client/Client.js +58 -13
- package/api/resources/knowledge/types/FinalizeKnowledgeBaseVersionRequest.d.ts +23 -0
- package/api/resources/knowledge/types/FinalizeKnowledgeBaseVersionRequest.js +5 -0
- package/api/resources/knowledge/types/KnowledgeBaseRequest.d.ts +2 -0
- package/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +6 -1
- package/api/resources/knowledge/types/KnowledgeBaseVersion.d.ts +15 -1
- package/api/resources/knowledge/types/KnowledgeBaseVersionFinalizeStatus.d.ts +11 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersionFinalizeStatus.js +10 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersionStatus.d.ts +12 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersionStatus.js +11 -0
- package/api/resources/knowledge/types/KnowledgeDocumentRequest.d.ts +13 -1
- package/api/resources/knowledge/types/KnowledgeDocumentResponse.d.ts +6 -1
- package/api/resources/knowledge/types/index.d.ts +3 -0
- package/api/resources/knowledge/types/index.js +3 -0
- package/api/resources/organizations/client/Client.d.ts +147 -0
- package/api/resources/organizations/client/Client.js +317 -0
- package/api/resources/organizations/client/index.d.ts +1 -0
- package/api/resources/organizations/client/index.js +2 -0
- package/api/resources/organizations/index.d.ts +1 -0
- package/api/resources/organizations/index.js +17 -0
- package/api/resources/realtime/client/Client.d.ts +2 -0
- package/api/resources/realtime/client/Client.js +3 -0
- package/api/resources/realtime/types/AudioFormat.d.ts +8 -0
- package/api/resources/realtime/types/AudioFormat.js +10 -0
- package/api/resources/realtime/types/ControlEvent.d.ts +4 -1
- package/api/resources/realtime/types/MessageBase.d.ts +6 -0
- package/api/resources/realtime/types/MessageBase.js +5 -0
- package/api/resources/realtime/types/SubscribeEvent.d.ts +4 -1
- package/api/resources/realtime/types/index.d.ts +3 -1
- package/api/resources/realtime/types/index.js +3 -1
- package/api/resources/translations/client/Client.js +1 -1
- package/api/resources/triggers/client/Client.d.ts +29 -0
- package/api/resources/triggers/client/Client.js +170 -3
- package/api/resources/triggers/client/index.d.ts +1 -1
- package/api/resources/triggers/client/index.js +15 -0
- package/api/resources/triggers/client/requests/PartialUpdateRequest.d.ts +17 -0
- package/api/resources/triggers/client/requests/PartialUpdateRequest.js +5 -0
- package/api/resources/triggers/client/requests/index.d.ts +1 -0
- package/api/resources/triggers/client/requests/index.js +2 -0
- package/api/resources/triggers/types/EventTriggerBase.js +5 -0
- package/api/resources/{commons → triggers}/types/EventTriggerResponse.d.ts +4 -1
- package/api/resources/triggers/types/EventTriggerResponse.js +5 -0
- package/api/resources/triggers/types/EventTriggersSearchRequest.d.ts +8 -0
- package/api/resources/triggers/types/EventTriggersSearchRequest.js +5 -0
- package/api/resources/triggers/types/EventTriggersSearchResponse.d.ts +7 -0
- package/api/resources/triggers/types/EventTriggersSearchResponse.js +5 -0
- package/api/resources/triggers/types/TriggerField.d.ts +8 -0
- package/api/resources/triggers/types/TriggerField.js +10 -0
- package/api/resources/triggers/types/TriggerPartialUpdate.d.ts +7 -0
- package/api/resources/triggers/types/TriggerPartialUpdate.js +5 -0
- package/api/resources/triggers/types/index.d.ts +7 -0
- package/api/resources/triggers/types/index.js +7 -0
- package/api/resources/users/client/Client.js +3 -3
- package/dist/Client.d.ts +9 -0
- package/dist/Client.js +33 -18
- package/dist/api/resources/actions/client/Client.js +3 -3
- package/dist/api/resources/agents/client/Client.d.ts +86 -0
- package/dist/api/resources/agents/client/Client.js +320 -0
- package/dist/api/resources/agents/client/index.d.ts +1 -0
- package/dist/api/resources/agents/client/index.js +2 -0
- package/dist/api/resources/agents/index.d.ts +2 -0
- package/dist/api/resources/agents/index.js +18 -0
- package/dist/api/resources/agents/types/Agent.d.ts +14 -0
- package/dist/api/resources/agents/types/Agent.js +5 -0
- package/dist/api/resources/agents/types/AgentEnvironment.d.ts +9 -0
- package/dist/api/resources/agents/types/AgentEnvironment.js +11 -0
- package/dist/api/resources/agents/types/AgentField.d.ts +8 -0
- package/dist/api/resources/agents/types/AgentField.js +10 -0
- package/dist/api/resources/agents/types/AgentFilter.d.ts +8 -0
- package/dist/api/resources/agents/types/AgentFilter.js +5 -0
- package/dist/api/resources/agents/types/AgentsSearchRequest.d.ts +8 -0
- package/dist/api/resources/agents/types/AgentsSearchRequest.js +5 -0
- package/dist/api/resources/agents/types/AgentsSearchResponse.d.ts +7 -0
- package/dist/api/resources/agents/types/AgentsSearchResponse.js +5 -0
- package/dist/api/resources/agents/types/index.d.ts +6 -0
- package/dist/api/resources/agents/types/index.js +22 -0
- package/dist/api/resources/analytics/client/Client.js +3 -3
- package/dist/api/resources/appSettings/client/Client.d.ts +21 -0
- package/dist/api/resources/appSettings/client/Client.js +91 -2
- package/dist/api/resources/appSettings/client/index.d.ts +1 -1
- package/dist/api/resources/appSettings/client/index.js +15 -0
- package/dist/api/resources/appSettings/client/requests/SearchAppSettingsRequest.d.ts +15 -0
- package/dist/api/resources/appSettings/client/requests/SearchAppSettingsRequest.js +5 -0
- package/dist/api/resources/appSettings/client/requests/index.d.ts +1 -0
- package/dist/api/resources/appSettings/client/requests/index.js +2 -0
- package/dist/api/resources/appSettings/index.d.ts +1 -0
- package/dist/api/resources/appSettings/index.js +1 -0
- package/dist/api/resources/appSettings/types/AppSettings.d.ts +11 -0
- package/dist/api/resources/appSettings/types/AppSettings.js +5 -0
- package/dist/api/resources/appSettings/types/SearchAppSettingsResponse.d.ts +7 -0
- package/dist/api/resources/appSettings/types/SearchAppSettingsResponse.js +5 -0
- package/dist/api/resources/appSettings/types/index.d.ts +2 -0
- package/dist/api/resources/appSettings/types/index.js +18 -0
- package/dist/api/resources/commons/types/ActionFormField.d.ts +3 -3
- package/dist/api/resources/commons/types/ActionParameter.d.ts +2 -0
- package/dist/api/resources/commons/types/ActionParameterType.d.ts +2 -1
- package/dist/api/resources/commons/types/ActionParameterType.js +1 -0
- package/dist/api/resources/commons/types/AppPrecondition.d.ts +8 -0
- package/dist/api/resources/commons/types/AppPrecondition.js +5 -0
- package/dist/api/resources/commons/types/BotActionFormResponse.d.ts +7 -1
- package/dist/api/resources/commons/types/ConversationAnalysis.d.ts +2 -0
- package/dist/api/resources/commons/types/ConversationPrecondition.d.ts +4 -1
- package/dist/api/resources/commons/types/ConversationResponse.d.ts +8 -1
- package/dist/api/resources/commons/types/ConversationSummary.d.ts +27 -0
- package/dist/api/resources/commons/types/EntityType.d.ts +3 -1
- package/dist/api/resources/commons/types/EntityType.js +2 -0
- package/dist/api/resources/commons/types/InboxItemDuplicateDocuments.d.ts +2 -0
- package/dist/api/resources/commons/types/UserMessage.d.ts +2 -0
- package/dist/api/resources/commons/types/index.d.ts +1 -3
- package/dist/api/resources/commons/types/index.js +1 -3
- package/dist/api/resources/conversation/client/Client.d.ts +2 -1
- package/dist/api/resources/conversation/client/Client.js +15 -14
- package/dist/api/resources/conversation/types/AskRequest.d.ts +4 -1
- package/dist/api/resources/events/client/Client.d.ts +53 -0
- package/dist/api/resources/events/client/Client.js +157 -0
- package/dist/api/resources/events/client/index.d.ts +1 -0
- package/dist/api/resources/events/client/index.js +2 -0
- package/dist/api/resources/events/index.d.ts +2 -0
- package/dist/api/resources/events/index.js +18 -0
- package/dist/api/resources/events/types/BrowserInfo.d.ts +10 -0
- package/dist/api/resources/events/types/BrowserInfo.js +5 -0
- package/dist/api/resources/events/types/BrowserType.d.ts +12 -0
- package/dist/api/resources/events/types/BrowserType.js +14 -0
- package/dist/api/resources/events/types/ContextInfo.d.ts +6 -0
- package/dist/api/resources/events/types/ContextInfo.js +5 -0
- package/dist/api/resources/events/types/DeviceInfo.d.ts +10 -0
- package/dist/api/resources/events/types/DeviceInfo.js +5 -0
- package/dist/api/resources/events/types/DeviceType.d.ts +10 -0
- package/dist/api/resources/events/types/DeviceType.js +12 -0
- package/dist/api/resources/events/types/EventBaseNoId.d.ts +11 -0
- package/dist/api/resources/events/types/EventBaseNoId.js +5 -0
- package/dist/api/resources/events/types/EventField.d.ts +7 -0
- package/dist/api/resources/events/types/EventField.js +9 -0
- package/dist/api/resources/events/types/EventFilter.d.ts +13 -0
- package/dist/api/resources/events/types/EventFilter.js +5 -0
- package/dist/api/resources/events/types/EventResponse.d.ts +13 -0
- package/dist/api/resources/events/types/EventResponse.js +5 -0
- package/dist/api/resources/events/types/EventType.d.ts +8 -0
- package/dist/api/resources/events/types/EventType.js +10 -0
- package/dist/api/resources/events/types/EventsSearchRequest.d.ts +8 -0
- package/dist/api/resources/events/types/EventsSearchRequest.js +5 -0
- package/dist/api/resources/events/types/EventsSearchResponse.d.ts +8 -0
- package/dist/api/resources/events/types/EventsSearchResponse.js +5 -0
- package/dist/api/resources/events/types/FeedbackInfo.d.ts +12 -0
- package/dist/api/resources/events/types/FeedbackInfo.js +5 -0
- package/dist/api/resources/events/types/GeoInfo.d.ts +11 -0
- package/dist/api/resources/events/types/GeoInfo.js +5 -0
- package/dist/api/resources/events/types/IpInfo.d.ts +6 -0
- package/dist/api/resources/events/types/IpInfo.js +5 -0
- package/dist/api/resources/events/types/LanguageInfo.d.ts +6 -0
- package/dist/api/resources/events/types/LanguageInfo.js +5 -0
- package/dist/api/resources/events/types/NovelSystemEventNoId.d.ts +8 -0
- package/dist/api/resources/events/types/NovelSystemEventNoId.js +5 -0
- package/dist/api/resources/events/types/OsInfo.d.ts +9 -0
- package/dist/api/resources/events/types/OsInfo.js +5 -0
- package/dist/api/resources/events/types/OsType.d.ts +12 -0
- package/dist/api/resources/events/types/OsType.js +14 -0
- package/dist/api/resources/events/types/PageInfo.d.ts +10 -0
- package/dist/api/resources/events/types/PageInfo.js +5 -0
- package/dist/api/resources/events/types/SessionInfo.d.ts +9 -0
- package/dist/api/resources/events/types/SessionInfo.js +5 -0
- package/dist/api/resources/events/types/SourceInfo.d.ts +12 -0
- package/dist/api/resources/events/types/SourceInfo.js +5 -0
- package/dist/api/resources/events/types/SourceType.d.ts +9 -0
- package/dist/api/resources/events/types/SourceType.js +11 -0
- package/dist/api/resources/events/types/SurveyInfo.d.ts +7 -0
- package/dist/api/resources/events/types/SurveyInfo.js +5 -0
- package/dist/api/resources/events/types/SystemEvent.d.ts +8 -0
- package/dist/api/resources/events/types/SystemEvent.js +5 -0
- package/dist/api/resources/events/types/SystemEventName.d.ts +18 -0
- package/dist/api/resources/events/types/SystemEventName.js +11 -0
- package/dist/api/resources/events/types/UserEvent.d.ts +16 -0
- package/dist/api/resources/events/types/UserEvent.js +5 -0
- package/dist/api/resources/events/types/UserEventName.d.ts +22 -0
- package/dist/api/resources/events/types/UserEventName.js +12 -0
- package/dist/api/resources/events/types/UserInfo.d.ts +7 -0
- package/dist/api/resources/events/types/UserInfo.js +5 -0
- package/dist/api/resources/events/types/index.d.ts +29 -0
- package/dist/api/resources/events/types/index.js +45 -0
- package/dist/api/resources/inbox/client/Client.js +5 -5
- package/dist/api/resources/index.d.ts +9 -1
- package/dist/api/resources/index.js +10 -2
- package/dist/api/resources/knowledge/client/Client.d.ts +42 -5
- package/dist/api/resources/knowledge/client/Client.js +58 -13
- package/dist/api/resources/knowledge/types/FinalizeKnowledgeBaseVersionRequest.d.ts +23 -0
- package/dist/api/resources/knowledge/types/FinalizeKnowledgeBaseVersionRequest.js +5 -0
- package/dist/api/resources/knowledge/types/KnowledgeBaseRequest.d.ts +2 -0
- package/dist/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +6 -1
- package/dist/api/resources/knowledge/types/KnowledgeBaseVersion.d.ts +15 -1
- package/dist/api/resources/knowledge/types/KnowledgeBaseVersionFinalizeStatus.d.ts +11 -0
- package/dist/api/resources/knowledge/types/KnowledgeBaseVersionFinalizeStatus.js +10 -0
- package/dist/api/resources/knowledge/types/KnowledgeBaseVersionStatus.d.ts +12 -0
- package/dist/api/resources/knowledge/types/KnowledgeBaseVersionStatus.js +11 -0
- package/dist/api/resources/knowledge/types/KnowledgeDocumentRequest.d.ts +13 -1
- package/dist/api/resources/knowledge/types/KnowledgeDocumentResponse.d.ts +6 -1
- package/dist/api/resources/knowledge/types/index.d.ts +3 -0
- package/dist/api/resources/knowledge/types/index.js +3 -0
- package/dist/api/resources/organizations/client/Client.d.ts +147 -0
- package/dist/api/resources/organizations/client/Client.js +317 -0
- package/dist/api/resources/organizations/client/index.d.ts +1 -0
- package/dist/api/resources/organizations/client/index.js +2 -0
- package/dist/api/resources/organizations/index.d.ts +1 -0
- package/dist/api/resources/organizations/index.js +17 -0
- package/dist/api/resources/realtime/client/Client.d.ts +2 -0
- package/dist/api/resources/realtime/client/Client.js +3 -0
- package/dist/api/resources/realtime/types/AudioFormat.d.ts +8 -0
- package/dist/api/resources/realtime/types/AudioFormat.js +10 -0
- package/dist/api/resources/realtime/types/ControlEvent.d.ts +4 -1
- package/dist/api/resources/realtime/types/MessageBase.d.ts +6 -0
- package/dist/api/resources/realtime/types/MessageBase.js +5 -0
- package/dist/api/resources/realtime/types/SubscribeEvent.d.ts +4 -1
- package/dist/api/resources/realtime/types/index.d.ts +3 -1
- package/dist/api/resources/realtime/types/index.js +3 -1
- package/dist/api/resources/translations/client/Client.js +1 -1
- package/dist/api/resources/triggers/client/Client.d.ts +29 -0
- package/dist/api/resources/triggers/client/Client.js +170 -3
- package/dist/api/resources/triggers/client/index.d.ts +1 -1
- package/dist/api/resources/triggers/client/index.js +15 -0
- package/dist/api/resources/triggers/client/requests/PartialUpdateRequest.d.ts +17 -0
- package/dist/api/resources/triggers/client/requests/PartialUpdateRequest.js +5 -0
- package/dist/api/resources/triggers/client/requests/index.d.ts +1 -0
- package/dist/api/resources/triggers/client/requests/index.js +2 -0
- package/dist/api/resources/triggers/types/EventTriggerBase.js +5 -0
- package/dist/api/resources/{commons → triggers}/types/EventTriggerResponse.d.ts +4 -1
- package/dist/api/resources/triggers/types/EventTriggerResponse.js +5 -0
- package/dist/api/resources/triggers/types/EventTriggersSearchRequest.d.ts +8 -0
- package/dist/api/resources/triggers/types/EventTriggersSearchRequest.js +5 -0
- package/dist/api/resources/triggers/types/EventTriggersSearchResponse.d.ts +7 -0
- package/dist/api/resources/triggers/types/EventTriggersSearchResponse.js +5 -0
- package/dist/api/resources/triggers/types/TriggerField.d.ts +8 -0
- package/dist/api/resources/triggers/types/TriggerField.js +10 -0
- package/dist/api/resources/triggers/types/TriggerPartialUpdate.d.ts +7 -0
- package/dist/api/resources/triggers/types/TriggerPartialUpdate.js +5 -0
- package/dist/api/resources/triggers/types/index.d.ts +7 -0
- package/dist/api/resources/triggers/types/index.js +7 -0
- package/dist/api/resources/users/client/Client.js +3 -3
- package/dist/serialization/resources/agents/client/index.d.ts +1 -0
- package/dist/serialization/resources/agents/client/index.js +37 -0
- package/dist/serialization/resources/agents/client/list.d.ts +11 -0
- package/dist/serialization/resources/agents/client/list.js +42 -0
- package/dist/serialization/resources/agents/index.d.ts +2 -0
- package/dist/serialization/resources/agents/index.js +18 -0
- package/dist/serialization/resources/agents/types/Agent.d.ts +17 -0
- package/dist/serialization/resources/agents/types/Agent.js +48 -0
- package/dist/serialization/resources/agents/types/AgentEnvironment.d.ts +10 -0
- package/dist/serialization/resources/agents/types/AgentEnvironment.js +41 -0
- package/dist/serialization/resources/agents/types/AgentField.d.ts +10 -0
- package/dist/serialization/resources/agents/types/AgentField.js +41 -0
- package/dist/serialization/resources/agents/types/AgentFilter.d.ts +13 -0
- package/dist/serialization/resources/agents/types/AgentFilter.js +44 -0
- package/dist/serialization/resources/agents/types/AgentsSearchRequest.d.ts +16 -0
- package/dist/serialization/resources/agents/types/AgentsSearchRequest.js +49 -0
- package/dist/serialization/resources/agents/types/AgentsSearchResponse.d.ts +14 -0
- package/dist/serialization/resources/agents/types/AgentsSearchResponse.js +47 -0
- package/dist/serialization/resources/agents/types/index.d.ts +6 -0
- package/dist/serialization/resources/agents/types/index.js +22 -0
- package/dist/serialization/resources/appSettings/index.d.ts +1 -0
- package/dist/serialization/resources/appSettings/index.js +1 -0
- package/dist/serialization/resources/appSettings/types/AppSettings.d.ts +14 -0
- package/dist/serialization/resources/appSettings/types/AppSettings.js +45 -0
- package/dist/serialization/resources/appSettings/types/SearchAppSettingsResponse.d.ts +13 -0
- package/dist/serialization/resources/appSettings/types/SearchAppSettingsResponse.js +44 -0
- package/dist/serialization/resources/appSettings/types/index.d.ts +2 -0
- package/dist/serialization/resources/appSettings/types/index.js +18 -0
- package/dist/serialization/resources/commons/types/ActionParameter.d.ts +1 -0
- package/dist/serialization/resources/commons/types/ActionParameter.js +1 -0
- package/dist/serialization/resources/commons/types/ActionParameterType.d.ts +1 -1
- package/dist/serialization/resources/commons/types/ActionParameterType.js +1 -1
- package/dist/serialization/resources/commons/types/AppPrecondition.d.ts +13 -0
- package/dist/serialization/resources/commons/types/AppPrecondition.js +46 -0
- package/dist/serialization/resources/commons/types/BotActionFormResponse.d.ts +2 -0
- package/dist/serialization/resources/commons/types/BotActionFormResponse.js +2 -0
- package/dist/serialization/resources/commons/types/ConversationAnalysis.d.ts +1 -0
- package/dist/serialization/resources/commons/types/ConversationAnalysis.js +1 -0
- package/dist/serialization/resources/commons/types/ConversationPrecondition.d.ts +5 -1
- package/dist/serialization/resources/commons/types/ConversationPrecondition.js +2 -0
- package/dist/serialization/resources/commons/types/ConversationSummary.d.ts +9 -0
- package/dist/serialization/resources/commons/types/ConversationSummary.js +9 -0
- package/dist/serialization/resources/commons/types/EntityType.d.ts +1 -1
- package/dist/serialization/resources/commons/types/EntityType.js +2 -0
- package/dist/serialization/resources/commons/types/InboxItemDuplicateDocuments.d.ts +1 -0
- package/dist/serialization/resources/commons/types/InboxItemDuplicateDocuments.js +1 -0
- package/dist/serialization/resources/commons/types/UserMessage.d.ts +1 -0
- package/dist/serialization/resources/commons/types/UserMessage.js +1 -0
- package/dist/serialization/resources/commons/types/index.d.ts +1 -3
- package/dist/serialization/resources/commons/types/index.js +1 -3
- package/dist/serialization/resources/conversation/types/AskRequest.d.ts +1 -0
- package/dist/serialization/resources/conversation/types/AskRequest.js +1 -0
- package/dist/serialization/resources/events/index.d.ts +1 -0
- package/dist/serialization/resources/events/index.js +17 -0
- package/dist/serialization/resources/events/types/BrowserInfo.d.ts +16 -0
- package/dist/serialization/resources/events/types/BrowserInfo.js +47 -0
- package/dist/serialization/resources/events/types/BrowserType.d.ts +10 -0
- package/dist/serialization/resources/events/types/BrowserType.js +41 -0
- package/dist/serialization/resources/events/types/ContextInfo.d.ts +12 -0
- package/dist/serialization/resources/events/types/ContextInfo.js +43 -0
- package/dist/serialization/resources/events/types/DeviceInfo.d.ts +17 -0
- package/dist/serialization/resources/events/types/DeviceInfo.js +48 -0
- package/dist/serialization/resources/events/types/DeviceType.d.ts +10 -0
- package/dist/serialization/resources/events/types/DeviceType.js +41 -0
- package/dist/serialization/resources/events/types/EventBaseNoId.d.ts +20 -0
- package/dist/serialization/resources/events/types/EventBaseNoId.js +51 -0
- package/dist/serialization/resources/events/types/EventField.d.ts +10 -0
- package/dist/serialization/resources/events/types/EventField.js +41 -0
- package/dist/serialization/resources/events/types/EventFilter.d.ts +22 -0
- package/dist/serialization/resources/events/types/EventFilter.js +53 -0
- package/dist/serialization/resources/events/types/EventResponse.d.ts +18 -0
- package/dist/serialization/resources/events/types/EventResponse.js +51 -0
- package/dist/serialization/resources/events/types/EventType.d.ts +10 -0
- package/dist/serialization/resources/events/types/EventType.js +41 -0
- package/dist/serialization/resources/events/types/EventsSearchRequest.d.ts +16 -0
- package/dist/serialization/resources/events/types/EventsSearchRequest.js +49 -0
- package/dist/serialization/resources/events/types/EventsSearchResponse.d.ts +14 -0
- package/dist/serialization/resources/events/types/EventsSearchResponse.js +47 -0
- package/dist/serialization/resources/events/types/FeedbackInfo.d.ts +15 -0
- package/dist/serialization/resources/events/types/FeedbackInfo.js +46 -0
- package/dist/serialization/resources/events/types/GeoInfo.d.ts +17 -0
- package/dist/serialization/resources/events/types/GeoInfo.js +48 -0
- package/dist/serialization/resources/events/types/IpInfo.d.ts +12 -0
- package/dist/serialization/resources/events/types/IpInfo.js +43 -0
- package/dist/serialization/resources/events/types/LanguageInfo.d.ts +12 -0
- package/dist/serialization/resources/events/types/LanguageInfo.js +43 -0
- package/dist/serialization/resources/events/types/NovelSystemEventNoId.d.ts +14 -0
- package/dist/serialization/resources/events/types/NovelSystemEventNoId.js +47 -0
- package/dist/serialization/resources/events/types/OsInfo.d.ts +15 -0
- package/dist/serialization/resources/events/types/OsInfo.js +46 -0
- package/dist/serialization/resources/events/types/OsType.d.ts +10 -0
- package/dist/serialization/resources/events/types/OsType.js +48 -0
- package/dist/serialization/resources/events/types/PageInfo.d.ts +16 -0
- package/dist/serialization/resources/events/types/PageInfo.js +47 -0
- package/dist/serialization/resources/events/types/SessionInfo.d.ts +15 -0
- package/dist/serialization/resources/events/types/SessionInfo.js +46 -0
- package/dist/serialization/resources/events/types/SourceInfo.d.ts +23 -0
- package/dist/serialization/resources/events/types/SourceInfo.js +54 -0
- package/dist/serialization/resources/events/types/SourceType.d.ts +10 -0
- package/dist/serialization/resources/events/types/SourceType.js +41 -0
- package/dist/serialization/resources/events/types/SurveyInfo.d.ts +13 -0
- package/dist/serialization/resources/events/types/SurveyInfo.js +44 -0
- package/dist/serialization/resources/events/types/SystemEvent.d.ts +14 -0
- package/dist/serialization/resources/events/types/SystemEvent.js +47 -0
- package/dist/serialization/resources/events/types/SystemEventName.d.ts +10 -0
- package/dist/serialization/resources/events/types/SystemEventName.js +41 -0
- package/dist/serialization/resources/events/types/UserEvent.d.ts +22 -0
- package/dist/serialization/resources/events/types/UserEvent.js +55 -0
- package/dist/serialization/resources/events/types/UserEventName.d.ts +10 -0
- package/dist/serialization/resources/events/types/UserEventName.js +41 -0
- package/dist/serialization/resources/events/types/UserInfo.d.ts +13 -0
- package/dist/serialization/resources/events/types/UserInfo.js +44 -0
- package/dist/serialization/resources/events/types/index.d.ts +29 -0
- package/dist/serialization/resources/events/types/index.js +45 -0
- package/dist/serialization/resources/index.d.ts +6 -1
- package/dist/serialization/resources/index.js +7 -2
- package/dist/serialization/resources/knowledge/types/FinalizeKnowledgeBaseVersionRequest.d.ts +16 -0
- package/dist/serialization/resources/knowledge/types/FinalizeKnowledgeBaseVersionRequest.js +47 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseRequest.d.ts +1 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseRequest.js +1 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseResponse.d.ts +1 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +1 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseVersion.d.ts +5 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseVersion.js +5 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseVersionFinalizeStatus.d.ts +10 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseVersionFinalizeStatus.js +41 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseVersionStatus.d.ts +10 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseVersionStatus.js +41 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentRequest.d.ts +3 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentRequest.js +3 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentResponse.d.ts +1 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentResponse.js +1 -0
- package/dist/serialization/resources/knowledge/types/index.d.ts +3 -0
- package/dist/serialization/resources/knowledge/types/index.js +3 -0
- package/dist/serialization/resources/realtime/types/AudioFormat.d.ts +10 -0
- package/dist/serialization/resources/realtime/types/AudioFormat.js +41 -0
- package/dist/serialization/resources/realtime/types/ControlEvent.d.ts +4 -1
- package/dist/serialization/resources/realtime/types/ControlEvent.js +7 -2
- package/dist/serialization/resources/realtime/types/MessageBase.d.ts +12 -0
- package/dist/serialization/resources/realtime/types/MessageBase.js +43 -0
- package/dist/serialization/resources/realtime/types/SubscribeEvent.d.ts +4 -1
- package/dist/serialization/resources/realtime/types/SubscribeEvent.js +1 -0
- package/dist/serialization/resources/realtime/types/index.d.ts +3 -1
- package/dist/serialization/resources/realtime/types/index.js +3 -1
- package/dist/serialization/resources/triggers/types/EventTriggerRequest.d.ts +1 -1
- package/dist/serialization/resources/triggers/types/EventTriggerRequest.js +1 -1
- package/dist/serialization/resources/{commons → triggers}/types/EventTriggerResponse.d.ts +2 -1
- package/{serialization/resources/commons → dist/serialization/resources/triggers}/types/EventTriggerResponse.js +2 -1
- package/dist/serialization/resources/triggers/types/EventTriggersSearchRequest.d.ts +14 -0
- package/dist/serialization/resources/triggers/types/EventTriggersSearchRequest.js +47 -0
- package/dist/serialization/resources/triggers/types/EventTriggersSearchResponse.d.ts +14 -0
- package/dist/serialization/resources/triggers/types/EventTriggersSearchResponse.js +47 -0
- package/dist/serialization/resources/triggers/types/TriggerField.d.ts +10 -0
- package/dist/serialization/resources/triggers/types/TriggerField.js +41 -0
- package/dist/serialization/resources/triggers/types/TriggerPartialUpdate.d.ts +12 -0
- package/dist/serialization/resources/triggers/types/TriggerPartialUpdate.js +43 -0
- package/dist/serialization/resources/triggers/types/index.d.ts +7 -0
- package/dist/serialization/resources/triggers/types/index.js +7 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +692 -10
- package/serialization/resources/agents/client/index.d.ts +1 -0
- package/serialization/resources/agents/client/index.js +37 -0
- package/serialization/resources/agents/client/list.d.ts +11 -0
- package/serialization/resources/agents/client/list.js +42 -0
- package/serialization/resources/agents/index.d.ts +2 -0
- package/serialization/resources/agents/index.js +18 -0
- package/serialization/resources/agents/types/Agent.d.ts +17 -0
- package/serialization/resources/agents/types/Agent.js +48 -0
- package/serialization/resources/agents/types/AgentEnvironment.d.ts +10 -0
- package/serialization/resources/agents/types/AgentEnvironment.js +41 -0
- package/serialization/resources/agents/types/AgentField.d.ts +10 -0
- package/serialization/resources/agents/types/AgentField.js +41 -0
- package/serialization/resources/agents/types/AgentFilter.d.ts +13 -0
- package/serialization/resources/agents/types/AgentFilter.js +44 -0
- package/serialization/resources/agents/types/AgentsSearchRequest.d.ts +16 -0
- package/serialization/resources/agents/types/AgentsSearchRequest.js +49 -0
- package/serialization/resources/agents/types/AgentsSearchResponse.d.ts +14 -0
- package/serialization/resources/agents/types/AgentsSearchResponse.js +47 -0
- package/serialization/resources/agents/types/index.d.ts +6 -0
- package/serialization/resources/agents/types/index.js +22 -0
- package/serialization/resources/appSettings/index.d.ts +1 -0
- package/serialization/resources/appSettings/index.js +1 -0
- package/serialization/resources/appSettings/types/AppSettings.d.ts +14 -0
- package/serialization/resources/appSettings/types/AppSettings.js +45 -0
- package/serialization/resources/appSettings/types/SearchAppSettingsResponse.d.ts +13 -0
- package/serialization/resources/appSettings/types/SearchAppSettingsResponse.js +44 -0
- package/serialization/resources/appSettings/types/index.d.ts +2 -0
- package/serialization/resources/appSettings/types/index.js +18 -0
- package/serialization/resources/commons/types/ActionParameter.d.ts +1 -0
- package/serialization/resources/commons/types/ActionParameter.js +1 -0
- package/serialization/resources/commons/types/ActionParameterType.d.ts +1 -1
- package/serialization/resources/commons/types/ActionParameterType.js +1 -1
- package/serialization/resources/commons/types/AppPrecondition.d.ts +13 -0
- package/serialization/resources/commons/types/AppPrecondition.js +46 -0
- package/serialization/resources/commons/types/BotActionFormResponse.d.ts +2 -0
- package/serialization/resources/commons/types/BotActionFormResponse.js +2 -0
- package/serialization/resources/commons/types/ConversationAnalysis.d.ts +1 -0
- package/serialization/resources/commons/types/ConversationAnalysis.js +1 -0
- package/serialization/resources/commons/types/ConversationPrecondition.d.ts +5 -1
- package/serialization/resources/commons/types/ConversationPrecondition.js +2 -0
- package/serialization/resources/commons/types/ConversationSummary.d.ts +9 -0
- package/serialization/resources/commons/types/ConversationSummary.js +9 -0
- package/serialization/resources/commons/types/EntityType.d.ts +1 -1
- package/serialization/resources/commons/types/EntityType.js +2 -0
- package/serialization/resources/commons/types/InboxItemDuplicateDocuments.d.ts +1 -0
- package/serialization/resources/commons/types/InboxItemDuplicateDocuments.js +1 -0
- package/serialization/resources/commons/types/UserMessage.d.ts +1 -0
- package/serialization/resources/commons/types/UserMessage.js +1 -0
- package/serialization/resources/commons/types/index.d.ts +1 -3
- package/serialization/resources/commons/types/index.js +1 -3
- package/serialization/resources/conversation/types/AskRequest.d.ts +1 -0
- package/serialization/resources/conversation/types/AskRequest.js +1 -0
- package/serialization/resources/events/index.d.ts +1 -0
- package/serialization/resources/events/index.js +17 -0
- package/serialization/resources/events/types/BrowserInfo.d.ts +16 -0
- package/serialization/resources/events/types/BrowserInfo.js +47 -0
- package/serialization/resources/events/types/BrowserType.d.ts +10 -0
- package/serialization/resources/events/types/BrowserType.js +41 -0
- package/serialization/resources/events/types/ContextInfo.d.ts +12 -0
- package/serialization/resources/events/types/ContextInfo.js +43 -0
- package/serialization/resources/events/types/DeviceInfo.d.ts +17 -0
- package/serialization/resources/events/types/DeviceInfo.js +48 -0
- package/serialization/resources/events/types/DeviceType.d.ts +10 -0
- package/serialization/resources/events/types/DeviceType.js +41 -0
- package/serialization/resources/events/types/EventBaseNoId.d.ts +20 -0
- package/serialization/resources/events/types/EventBaseNoId.js +51 -0
- package/serialization/resources/events/types/EventField.d.ts +10 -0
- package/serialization/resources/events/types/EventField.js +41 -0
- package/serialization/resources/events/types/EventFilter.d.ts +22 -0
- package/serialization/resources/events/types/EventFilter.js +53 -0
- package/serialization/resources/events/types/EventResponse.d.ts +18 -0
- package/serialization/resources/events/types/EventResponse.js +51 -0
- package/serialization/resources/events/types/EventType.d.ts +10 -0
- package/serialization/resources/events/types/EventType.js +41 -0
- package/serialization/resources/events/types/EventsSearchRequest.d.ts +16 -0
- package/serialization/resources/events/types/EventsSearchRequest.js +49 -0
- package/serialization/resources/events/types/EventsSearchResponse.d.ts +14 -0
- package/serialization/resources/events/types/EventsSearchResponse.js +47 -0
- package/serialization/resources/events/types/FeedbackInfo.d.ts +15 -0
- package/serialization/resources/events/types/FeedbackInfo.js +46 -0
- package/serialization/resources/events/types/GeoInfo.d.ts +17 -0
- package/serialization/resources/events/types/GeoInfo.js +48 -0
- package/serialization/resources/events/types/IpInfo.d.ts +12 -0
- package/serialization/resources/events/types/IpInfo.js +43 -0
- package/serialization/resources/events/types/LanguageInfo.d.ts +12 -0
- package/serialization/resources/events/types/LanguageInfo.js +43 -0
- package/serialization/resources/events/types/NovelSystemEventNoId.d.ts +14 -0
- package/serialization/resources/events/types/NovelSystemEventNoId.js +47 -0
- package/serialization/resources/events/types/OsInfo.d.ts +15 -0
- package/serialization/resources/events/types/OsInfo.js +46 -0
- package/serialization/resources/events/types/OsType.d.ts +10 -0
- package/serialization/resources/events/types/OsType.js +48 -0
- package/serialization/resources/events/types/PageInfo.d.ts +16 -0
- package/serialization/resources/events/types/PageInfo.js +47 -0
- package/serialization/resources/events/types/SessionInfo.d.ts +15 -0
- package/serialization/resources/events/types/SessionInfo.js +46 -0
- package/serialization/resources/events/types/SourceInfo.d.ts +23 -0
- package/serialization/resources/events/types/SourceInfo.js +54 -0
- package/serialization/resources/events/types/SourceType.d.ts +10 -0
- package/serialization/resources/events/types/SourceType.js +41 -0
- package/serialization/resources/events/types/SurveyInfo.d.ts +13 -0
- package/serialization/resources/events/types/SurveyInfo.js +44 -0
- package/serialization/resources/events/types/SystemEvent.d.ts +14 -0
- package/serialization/resources/events/types/SystemEvent.js +47 -0
- package/serialization/resources/events/types/SystemEventName.d.ts +10 -0
- package/serialization/resources/events/types/SystemEventName.js +41 -0
- package/serialization/resources/events/types/UserEvent.d.ts +22 -0
- package/serialization/resources/events/types/UserEvent.js +55 -0
- package/serialization/resources/events/types/UserEventName.d.ts +10 -0
- package/serialization/resources/events/types/UserEventName.js +41 -0
- package/serialization/resources/events/types/UserInfo.d.ts +13 -0
- package/serialization/resources/events/types/UserInfo.js +44 -0
- package/serialization/resources/events/types/index.d.ts +29 -0
- package/serialization/resources/events/types/index.js +45 -0
- package/serialization/resources/index.d.ts +6 -1
- package/serialization/resources/index.js +7 -2
- package/serialization/resources/knowledge/types/FinalizeKnowledgeBaseVersionRequest.d.ts +16 -0
- package/serialization/resources/knowledge/types/FinalizeKnowledgeBaseVersionRequest.js +47 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseRequest.d.ts +1 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseRequest.js +1 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseResponse.d.ts +1 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +1 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersion.d.ts +5 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersion.js +5 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionFinalizeStatus.d.ts +10 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionFinalizeStatus.js +41 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionStatus.d.ts +10 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionStatus.js +41 -0
- package/serialization/resources/knowledge/types/KnowledgeDocumentRequest.d.ts +3 -0
- package/serialization/resources/knowledge/types/KnowledgeDocumentRequest.js +3 -0
- package/serialization/resources/knowledge/types/KnowledgeDocumentResponse.d.ts +1 -0
- package/serialization/resources/knowledge/types/KnowledgeDocumentResponse.js +1 -0
- package/serialization/resources/knowledge/types/index.d.ts +3 -0
- package/serialization/resources/knowledge/types/index.js +3 -0
- package/serialization/resources/realtime/types/AudioFormat.d.ts +10 -0
- package/serialization/resources/realtime/types/AudioFormat.js +41 -0
- package/serialization/resources/realtime/types/ControlEvent.d.ts +4 -1
- package/serialization/resources/realtime/types/ControlEvent.js +7 -2
- package/serialization/resources/realtime/types/MessageBase.d.ts +12 -0
- package/serialization/resources/realtime/types/MessageBase.js +43 -0
- package/serialization/resources/realtime/types/SubscribeEvent.d.ts +4 -1
- package/serialization/resources/realtime/types/SubscribeEvent.js +1 -0
- package/serialization/resources/realtime/types/index.d.ts +3 -1
- package/serialization/resources/realtime/types/index.js +3 -1
- package/serialization/resources/triggers/types/EventTriggerRequest.d.ts +1 -1
- package/serialization/resources/triggers/types/EventTriggerRequest.js +1 -1
- package/serialization/resources/{commons → triggers}/types/EventTriggerResponse.d.ts +2 -1
- package/{dist/serialization/resources/commons → serialization/resources/triggers}/types/EventTriggerResponse.js +2 -1
- package/serialization/resources/triggers/types/EventTriggersSearchRequest.d.ts +14 -0
- package/serialization/resources/triggers/types/EventTriggersSearchRequest.js +47 -0
- package/serialization/resources/triggers/types/EventTriggersSearchResponse.d.ts +14 -0
- package/serialization/resources/triggers/types/EventTriggersSearchResponse.js +47 -0
- package/serialization/resources/triggers/types/TriggerField.d.ts +10 -0
- package/serialization/resources/triggers/types/TriggerField.js +41 -0
- package/serialization/resources/triggers/types/TriggerPartialUpdate.d.ts +12 -0
- package/serialization/resources/triggers/types/TriggerPartialUpdate.js +43 -0
- package/serialization/resources/triggers/types/index.d.ts +7 -0
- package/serialization/resources/triggers/types/index.js +7 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- /package/api/resources/{commons/types/EventTriggerBase.js → agents/types/Agent.js} +0 -0
- /package/api/resources/{commons/types/EventTriggerResponse.js → agents/types/AgentFilter.js} +0 -0
- /package/{dist/api/resources/commons/types/EventTriggerBase.js → api/resources/agents/types/AgentsSearchRequest.js} +0 -0
- /package/{dist/api/resources/commons/types/EventTriggerResponse.js → api/resources/agents/types/AgentsSearchResponse.js} +0 -0
- /package/api/resources/{commons → triggers}/types/EventTriggerBase.d.ts +0 -0
- /package/api/resources/{commons → triggers}/types/EventTriggerType.d.ts +0 -0
- /package/api/resources/{commons → triggers}/types/EventTriggerType.js +0 -0
- /package/dist/api/resources/{commons → triggers}/types/EventTriggerBase.d.ts +0 -0
- /package/dist/api/resources/{commons → triggers}/types/EventTriggerType.d.ts +0 -0
- /package/dist/api/resources/{commons → triggers}/types/EventTriggerType.js +0 -0
- /package/dist/serialization/resources/{commons → triggers}/types/EventTriggerBase.d.ts +0 -0
- /package/dist/serialization/resources/{commons → triggers}/types/EventTriggerBase.js +0 -0
- /package/dist/serialization/resources/{commons → triggers}/types/EventTriggerType.d.ts +0 -0
- /package/dist/serialization/resources/{commons → triggers}/types/EventTriggerType.js +0 -0
- /package/serialization/resources/{commons → triggers}/types/EventTriggerBase.d.ts +0 -0
- /package/serialization/resources/{commons → triggers}/types/EventTriggerBase.js +0 -0
- /package/serialization/resources/{commons → triggers}/types/EventTriggerType.d.ts +0 -0
- /package/serialization/resources/{commons → triggers}/types/EventTriggerType.js +0 -0
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as environments from "../../../../environments";
|
|
5
5
|
import * as core from "../../../../core";
|
|
6
|
+
import * as MavenAGI from "../../../index";
|
|
6
7
|
export declare namespace AppSettings {
|
|
7
8
|
interface Options {
|
|
8
9
|
environment?: core.Supplier<environments.MavenAGIEnvironment | string>;
|
|
@@ -34,6 +35,26 @@ export declare namespace AppSettings {
|
|
|
34
35
|
export declare class AppSettings {
|
|
35
36
|
protected readonly _options: AppSettings.Options;
|
|
36
37
|
constructor(_options: AppSettings.Options);
|
|
38
|
+
/**
|
|
39
|
+
* Search for app settings which have the `$index` key set to the provided value.
|
|
40
|
+
*
|
|
41
|
+
* You can set the `$index` key using the Update app settings API.
|
|
42
|
+
*
|
|
43
|
+
* <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>
|
|
44
|
+
*
|
|
45
|
+
* @param {MavenAGI.SearchAppSettingsRequest} request
|
|
46
|
+
* @param {AppSettings.RequestOptions} requestOptions - Request-specific configuration.
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link MavenAGI.NotFoundError}
|
|
49
|
+
* @throws {@link MavenAGI.BadRequestError}
|
|
50
|
+
* @throws {@link MavenAGI.ServerError}
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* await client.appSettings.search({
|
|
54
|
+
* index: "index"
|
|
55
|
+
* })
|
|
56
|
+
*/
|
|
57
|
+
search(request: MavenAGI.SearchAppSettingsRequest, requestOptions?: AppSettings.RequestOptions): Promise<MavenAGI.SearchAppSettingsResponse>;
|
|
37
58
|
/**
|
|
38
59
|
* Get app settings set during installation
|
|
39
60
|
*
|
|
@@ -59,6 +59,95 @@ class AppSettings {
|
|
|
59
59
|
constructor(_options) {
|
|
60
60
|
this._options = _options;
|
|
61
61
|
}
|
|
62
|
+
/**
|
|
63
|
+
* Search for app settings which have the `$index` key set to the provided value.
|
|
64
|
+
*
|
|
65
|
+
* You can set the `$index` key using the Update app settings API.
|
|
66
|
+
*
|
|
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>
|
|
68
|
+
*
|
|
69
|
+
* @param {MavenAGI.SearchAppSettingsRequest} request
|
|
70
|
+
* @param {AppSettings.RequestOptions} requestOptions - Request-specific configuration.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link MavenAGI.NotFoundError}
|
|
73
|
+
* @throws {@link MavenAGI.BadRequestError}
|
|
74
|
+
* @throws {@link MavenAGI.ServerError}
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* await client.appSettings.search({
|
|
78
|
+
* index: "index"
|
|
79
|
+
* })
|
|
80
|
+
*/
|
|
81
|
+
search(request, requestOptions) {
|
|
82
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
83
|
+
var _a, _b, _c;
|
|
84
|
+
const { index } = request;
|
|
85
|
+
const _queryParams = {};
|
|
86
|
+
_queryParams["index"] = index;
|
|
87
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
88
|
+
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MavenAGIEnvironment.Production, "v1/app-settings/search"),
|
|
89
|
+
method: "GET",
|
|
90
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Organization-Id": yield core.Supplier.get(this._options.organizationId), "X-Agent-Id": yield core.Supplier.get(this._options.agentId), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "mavenagi", "X-Fern-SDK-Version": "1.0.12", "User-Agent": "mavenagi/1.0.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
91
|
+
contentType: "application/json",
|
|
92
|
+
queryParameters: _queryParams,
|
|
93
|
+
requestType: "json",
|
|
94
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
95
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
96
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
97
|
+
});
|
|
98
|
+
if (_response.ok) {
|
|
99
|
+
return serializers.SearchAppSettingsResponse.parseOrThrow(_response.body, {
|
|
100
|
+
unrecognizedObjectKeys: "passthrough",
|
|
101
|
+
allowUnrecognizedUnionMembers: true,
|
|
102
|
+
allowUnrecognizedEnumValues: true,
|
|
103
|
+
breadcrumbsPrefix: ["response"],
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
if (_response.error.reason === "status-code") {
|
|
107
|
+
switch (_response.error.statusCode) {
|
|
108
|
+
case 404:
|
|
109
|
+
throw new MavenAGI.NotFoundError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
110
|
+
unrecognizedObjectKeys: "passthrough",
|
|
111
|
+
allowUnrecognizedUnionMembers: true,
|
|
112
|
+
allowUnrecognizedEnumValues: true,
|
|
113
|
+
breadcrumbsPrefix: ["response"],
|
|
114
|
+
}));
|
|
115
|
+
case 400:
|
|
116
|
+
throw new MavenAGI.BadRequestError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
117
|
+
unrecognizedObjectKeys: "passthrough",
|
|
118
|
+
allowUnrecognizedUnionMembers: true,
|
|
119
|
+
allowUnrecognizedEnumValues: true,
|
|
120
|
+
breadcrumbsPrefix: ["response"],
|
|
121
|
+
}));
|
|
122
|
+
case 500:
|
|
123
|
+
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
124
|
+
unrecognizedObjectKeys: "passthrough",
|
|
125
|
+
allowUnrecognizedUnionMembers: true,
|
|
126
|
+
allowUnrecognizedEnumValues: true,
|
|
127
|
+
breadcrumbsPrefix: ["response"],
|
|
128
|
+
}));
|
|
129
|
+
default:
|
|
130
|
+
throw new errors.MavenAGIError({
|
|
131
|
+
statusCode: _response.error.statusCode,
|
|
132
|
+
body: _response.error.body,
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
switch (_response.error.reason) {
|
|
137
|
+
case "non-json":
|
|
138
|
+
throw new errors.MavenAGIError({
|
|
139
|
+
statusCode: _response.error.statusCode,
|
|
140
|
+
body: _response.error.rawBody,
|
|
141
|
+
});
|
|
142
|
+
case "timeout":
|
|
143
|
+
throw new errors.MavenAGITimeoutError("Timeout exceeded when calling GET /v1/app-settings/search.");
|
|
144
|
+
case "unknown":
|
|
145
|
+
throw new errors.MavenAGIError({
|
|
146
|
+
message: _response.error.errorMessage,
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
}
|
|
62
151
|
/**
|
|
63
152
|
* Get app settings set during installation
|
|
64
153
|
*
|
|
@@ -77,7 +166,7 @@ class AppSettings {
|
|
|
77
166
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
78
167
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MavenAGIEnvironment.Production, "v1/app-settings"),
|
|
79
168
|
method: "GET",
|
|
80
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Organization-Id": yield core.Supplier.get(this._options.organizationId), "X-Agent-Id": yield core.Supplier.get(this._options.agentId), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "mavenagi", "X-Fern-SDK-Version": "1.0.
|
|
169
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Organization-Id": yield core.Supplier.get(this._options.organizationId), "X-Agent-Id": yield core.Supplier.get(this._options.agentId), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "mavenagi", "X-Fern-SDK-Version": "1.0.12", "User-Agent": "mavenagi/1.0.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
81
170
|
contentType: "application/json",
|
|
82
171
|
requestType: "json",
|
|
83
172
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -166,7 +255,7 @@ class AppSettings {
|
|
|
166
255
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
167
256
|
url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MavenAGIEnvironment.Production, "v1/app-settings"),
|
|
168
257
|
method: "PATCH",
|
|
169
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Organization-Id": yield core.Supplier.get(this._options.organizationId), "X-Agent-Id": yield core.Supplier.get(this._options.agentId), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "mavenagi", "X-Fern-SDK-Version": "1.0.
|
|
258
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Organization-Id": yield core.Supplier.get(this._options.organizationId), "X-Agent-Id": yield core.Supplier.get(this._options.agentId), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "mavenagi", "X-Fern-SDK-Version": "1.0.12", "User-Agent": "mavenagi/1.0.12", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
170
259
|
contentType: "application/json",
|
|
171
260
|
requestType: "json",
|
|
172
261
|
body: serializers.appSettings.update.Request.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from "./requests";
|
|
@@ -1,2 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* index: "index"
|
|
8
|
+
* }
|
|
9
|
+
*/
|
|
10
|
+
export interface SearchAppSettingsRequest {
|
|
11
|
+
/**
|
|
12
|
+
* Will return all settings which have the `$index` key set to the provided value.
|
|
13
|
+
*/
|
|
14
|
+
index: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { type SearchAppSettingsRequest } from "./SearchAppSettingsRequest";
|
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
17
18
|
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface AppSettings {
|
|
5
|
+
/** The ID of an organization. */
|
|
6
|
+
organizationId: string;
|
|
7
|
+
/** The ID of an agent. */
|
|
8
|
+
agentId: string;
|
|
9
|
+
/** The settings that were set during installation. */
|
|
10
|
+
settings: Record<string, unknown>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./SearchAppSettingsResponse"), exports);
|
|
18
|
+
__exportStar(require("./AppSettings"), exports);
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as MavenAGI from "../../../index";
|
|
5
5
|
export interface ActionFormField {
|
|
6
|
-
/** The ID field should be used as the key in the submitActionForm API
|
|
6
|
+
/** The ID field should be used as the key in the `submitActionForm` API. */
|
|
7
7
|
id: string;
|
|
8
|
-
/** The title of the field to show on the form. */
|
|
8
|
+
/** The title of the field to show on the form. Provided in the user's language. */
|
|
9
9
|
label: string;
|
|
10
|
-
/** A longer description of the field which should be shown in smaller text near the label. */
|
|
10
|
+
/** A longer description of the field which should be shown in smaller text near the label. Provided in the user's language. */
|
|
11
11
|
description: string;
|
|
12
12
|
/** Whether the field is required for the action. Client side validation is recommended for an improved user experience. */
|
|
13
13
|
required: boolean;
|
|
@@ -15,4 +15,6 @@ export interface ActionParameter {
|
|
|
15
15
|
type?: MavenAGI.ActionParameterType;
|
|
16
16
|
/** Restricts the action parameter to only the options in this list. Valid for type `STRING`, `BOOLEAN`, and `NUMBER`. */
|
|
17
17
|
enumOptions?: MavenAGI.ActionEnumOption[];
|
|
18
|
+
/** JSON schema for validating the parameter value. Only valid when type is `SCHEMA`. */
|
|
19
|
+
schema?: string;
|
|
18
20
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type ActionParameterType = "STRING" | "BOOLEAN" | "NUMBER";
|
|
4
|
+
export type ActionParameterType = "STRING" | "BOOLEAN" | "NUMBER" | "SCHEMA";
|
|
5
5
|
export declare const ActionParameterType: {
|
|
6
6
|
readonly String: "STRING";
|
|
7
7
|
readonly Boolean: "BOOLEAN";
|
|
8
8
|
readonly Number: "NUMBER";
|
|
9
|
+
readonly Schema: "SCHEMA";
|
|
9
10
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as MavenAGI from "../../../index";
|
|
5
|
+
export interface AppPrecondition extends MavenAGI.PreconditionBase {
|
|
6
|
+
/** Match only conversations created by this appId */
|
|
7
|
+
appId: string;
|
|
8
|
+
}
|
|
@@ -3,11 +3,17 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as MavenAGI from "../../../index";
|
|
5
5
|
/**
|
|
6
|
-
* This response should be rendered as a form which users can submit. Upon submission call the
|
|
6
|
+
* This response should be rendered as a form which users can submit. Upon submission call the `submitActionForm` API.
|
|
7
7
|
*/
|
|
8
8
|
export interface BotActionFormResponse {
|
|
9
|
+
/** The ID to use when submitting the form via the `submitActionForm` API. */
|
|
9
10
|
id: string;
|
|
11
|
+
/** The ID of the action that will be executed when the form is submitted. */
|
|
12
|
+
actionId: MavenAGI.EntityIdWithoutAgent;
|
|
13
|
+
/** Text which should be displayed to the user at the top of the form. Provided in the user's language. */
|
|
10
14
|
formLabel: string;
|
|
15
|
+
/** The fields that should be displayed within the form. */
|
|
11
16
|
fields: MavenAGI.ActionFormField[];
|
|
17
|
+
/** Text that should be displayed to the user on the submit button. Provided in the user's language. */
|
|
12
18
|
submitLabel: string;
|
|
13
19
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as MavenAGI from "../../../index";
|
|
5
|
-
export type ConversationPrecondition = MavenAGI.ConversationPrecondition.Tags | MavenAGI.ConversationPrecondition.Metadata | MavenAGI.ConversationPrecondition.ActionExecuted | MavenAGI.ConversationPrecondition.ResponseConfig;
|
|
5
|
+
export type ConversationPrecondition = MavenAGI.ConversationPrecondition.Tags | MavenAGI.ConversationPrecondition.Metadata | MavenAGI.ConversationPrecondition.ActionExecuted | MavenAGI.ConversationPrecondition.ResponseConfig | MavenAGI.ConversationPrecondition.App;
|
|
6
6
|
export declare namespace ConversationPrecondition {
|
|
7
7
|
interface Tags extends MavenAGI.TagsPrecondition {
|
|
8
8
|
conversationPreconditionType: "tags";
|
|
@@ -16,4 +16,7 @@ export declare namespace ConversationPrecondition {
|
|
|
16
16
|
interface ResponseConfig extends MavenAGI.ResponseConfigPrecondition {
|
|
17
17
|
conversationPreconditionType: "responseConfig";
|
|
18
18
|
}
|
|
19
|
+
interface App extends MavenAGI.AppPrecondition {
|
|
20
|
+
conversationPreconditionType: "app";
|
|
21
|
+
}
|
|
19
22
|
}
|
|
@@ -20,7 +20,14 @@ import * as MavenAGI from "../../../index";
|
|
|
20
20
|
* },
|
|
21
21
|
* summary: {
|
|
22
22
|
* actionIds: [],
|
|
23
|
-
* incompleteActionIds: []
|
|
23
|
+
* incompleteActionIds: [],
|
|
24
|
+
* insertCount: 0,
|
|
25
|
+
* thumbsUpCount: 0,
|
|
26
|
+
* thumbsDownCount: 0,
|
|
27
|
+
* userMessageCount: 1,
|
|
28
|
+
* humanAgents: [],
|
|
29
|
+
* humanAgentsWithInserts: [],
|
|
30
|
+
* users: []
|
|
24
31
|
* },
|
|
25
32
|
* metadata: {},
|
|
26
33
|
* allMetadata: {},
|
|
@@ -7,4 +7,31 @@ export interface ConversationSummary {
|
|
|
7
7
|
actionIds: MavenAGI.EntityIdWithoutAgent[];
|
|
8
8
|
/** The IDs of the actions that were taken by Maven but not completed in the conversation. Occurs when the user is shown an action form but does not submit it. */
|
|
9
9
|
incompleteActionIds: MavenAGI.EntityIdWithoutAgent[];
|
|
10
|
+
/** The number of insert events on messages in the conversation. */
|
|
11
|
+
insertCount: number;
|
|
12
|
+
/** The number of thumbs up events on messages in the conversation. */
|
|
13
|
+
thumbsUpCount: number;
|
|
14
|
+
/** The number of thumbs down events on messages in the conversation. */
|
|
15
|
+
thumbsDownCount: number;
|
|
16
|
+
/** The number of messages of type `USER` in the conversation. */
|
|
17
|
+
userMessageCount: number;
|
|
18
|
+
/**
|
|
19
|
+
* The total time in milliseconds that the user spent interacting with the conversation.
|
|
20
|
+
* Calculated by taking the timestamp of the last message in the conversation minus the timestamp of the first message.
|
|
21
|
+
*/
|
|
22
|
+
handleTime?: number;
|
|
23
|
+
/**
|
|
24
|
+
* The time in milliseconds that elapsed before a human agent responded to the conversation.
|
|
25
|
+
* Calculated by taking the timestamp of the first message of type `HUMAN_AGENT`
|
|
26
|
+
* minus the timestamp of the first message in the conversation.
|
|
27
|
+
*
|
|
28
|
+
* Will not be provided if the conversation does not have a message of type `HUMAN_AGENT`.
|
|
29
|
+
*/
|
|
30
|
+
humanAgentResponseDelay?: number;
|
|
31
|
+
/** The names of all users that have a message of type `HUMAN_AGENT` on the conversation. */
|
|
32
|
+
humanAgents: string[];
|
|
33
|
+
/** The names of all users that have an associated insert event on the conversation. */
|
|
34
|
+
humanAgentsWithInserts: string[];
|
|
35
|
+
/** The names of all users that have a message of type `USER` on the conversation. */
|
|
36
|
+
users: string[];
|
|
10
37
|
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type EntityType = "CONVERSATION" | "CONVERSATION_MESSAGE" | "KNOWLEDGE_BASE" | "KNOWLEDGE_DOCUMENT" | "ACTION" | "USER" | "EVENT" | "EVENT_TRIGGER" | "USER_PROFILE" | "FEEDBACK" | "INBOX_ITEM" | "INBOX_ITEM_FIX";
|
|
4
|
+
export type EntityType = "AGENT" | "CONVERSATION" | "CONVERSATION_MESSAGE" | "KNOWLEDGE_BASE" | "KNOWLEDGE_BASE_VERSION" | "KNOWLEDGE_DOCUMENT" | "ACTION" | "USER" | "EVENT" | "EVENT_TRIGGER" | "USER_PROFILE" | "FEEDBACK" | "INBOX_ITEM" | "INBOX_ITEM_FIX";
|
|
5
5
|
export declare const EntityType: {
|
|
6
|
+
readonly Agent: "AGENT";
|
|
6
7
|
readonly Conversation: "CONVERSATION";
|
|
7
8
|
readonly ConversationMessage: "CONVERSATION_MESSAGE";
|
|
8
9
|
readonly KnowledgeBase: "KNOWLEDGE_BASE";
|
|
10
|
+
readonly KnowledgeBaseVersion: "KNOWLEDGE_BASE_VERSION";
|
|
9
11
|
readonly KnowledgeDocument: "KNOWLEDGE_DOCUMENT";
|
|
10
12
|
readonly Action: "ACTION";
|
|
11
13
|
readonly User: "USER";
|
|
@@ -5,9 +5,11 @@
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.EntityType = void 0;
|
|
7
7
|
exports.EntityType = {
|
|
8
|
+
Agent: "AGENT",
|
|
8
9
|
Conversation: "CONVERSATION",
|
|
9
10
|
ConversationMessage: "CONVERSATION_MESSAGE",
|
|
10
11
|
KnowledgeBase: "KNOWLEDGE_BASE",
|
|
12
|
+
KnowledgeBaseVersion: "KNOWLEDGE_BASE_VERSION",
|
|
11
13
|
KnowledgeDocument: "KNOWLEDGE_DOCUMENT",
|
|
12
14
|
Action: "ACTION",
|
|
13
15
|
User: "USER",
|
|
@@ -7,6 +7,8 @@ export interface InboxItemDuplicateDocuments extends MavenAGI.InboxItemBase {
|
|
|
7
7
|
recommendedFixes: MavenAGI.InboxItemFixDeactivateDocument[];
|
|
8
8
|
/** List of fixes associated with the inbox item. */
|
|
9
9
|
otherFixes: MavenAGI.InboxItemFixDeactivateDocument[];
|
|
10
|
+
/** Information about the source document associated with the inbox item. */
|
|
11
|
+
sourceDocument?: MavenAGI.DocumentInformation;
|
|
10
12
|
/** List of Document information objects related to the inbox item. */
|
|
11
13
|
documents: MavenAGI.DocumentInformation[];
|
|
12
14
|
}
|
|
@@ -9,4 +9,6 @@ export interface UserMessage extends MavenAGI.UserMessageBase {
|
|
|
9
9
|
language?: string;
|
|
10
10
|
/** The attachments associated with the message */
|
|
11
11
|
attachments: MavenAGI.UserMessageAttachment[];
|
|
12
|
+
/** The display name of the user who created this message. Only available for users who have saved name information. */
|
|
13
|
+
userDisplayName?: string;
|
|
12
14
|
}
|
|
@@ -14,9 +14,6 @@ export * from "./UserData";
|
|
|
14
14
|
export * from "./VisibilityType";
|
|
15
15
|
export * from "./AppUserRequest";
|
|
16
16
|
export * from "./AppUserResponse";
|
|
17
|
-
export * from "./EventTriggerBase";
|
|
18
|
-
export * from "./EventTriggerResponse";
|
|
19
|
-
export * from "./EventTriggerType";
|
|
20
17
|
export * from "./Page";
|
|
21
18
|
export * from "./BasePaginatedRequest";
|
|
22
19
|
export * from "./ActionParameterType";
|
|
@@ -59,6 +56,7 @@ export * from "./PreconditionBase";
|
|
|
59
56
|
export * from "./MetadataPrecondition";
|
|
60
57
|
export * from "./ConversationPrecondition";
|
|
61
58
|
export * from "./ResponseConfigPrecondition";
|
|
59
|
+
export * from "./AppPrecondition";
|
|
62
60
|
export * from "./PreconditionGroupOperator";
|
|
63
61
|
export * from "./PreconditionGroup";
|
|
64
62
|
export * from "./TagsPrecondition";
|
|
@@ -30,9 +30,6 @@ __exportStar(require("./UserData"), exports);
|
|
|
30
30
|
__exportStar(require("./VisibilityType"), exports);
|
|
31
31
|
__exportStar(require("./AppUserRequest"), exports);
|
|
32
32
|
__exportStar(require("./AppUserResponse"), exports);
|
|
33
|
-
__exportStar(require("./EventTriggerBase"), exports);
|
|
34
|
-
__exportStar(require("./EventTriggerResponse"), exports);
|
|
35
|
-
__exportStar(require("./EventTriggerType"), exports);
|
|
36
33
|
__exportStar(require("./Page"), exports);
|
|
37
34
|
__exportStar(require("./BasePaginatedRequest"), exports);
|
|
38
35
|
__exportStar(require("./ActionParameterType"), exports);
|
|
@@ -75,6 +72,7 @@ __exportStar(require("./PreconditionBase"), exports);
|
|
|
75
72
|
__exportStar(require("./MetadataPrecondition"), exports);
|
|
76
73
|
__exportStar(require("./ConversationPrecondition"), exports);
|
|
77
74
|
__exportStar(require("./ResponseConfigPrecondition"), exports);
|
|
75
|
+
__exportStar(require("./AppPrecondition"), exports);
|
|
78
76
|
__exportStar(require("./PreconditionGroupOperator"), exports);
|
|
79
77
|
__exportStar(require("./PreconditionGroup"), exports);
|
|
80
78
|
__exportStar(require("./TagsPrecondition"), exports);
|
|
@@ -185,7 +185,8 @@ export declare class Conversation {
|
|
|
185
185
|
* transientData: {
|
|
186
186
|
* "userToken": "abcdef123",
|
|
187
187
|
* "queryApiKey": "foobar456"
|
|
188
|
-
* }
|
|
188
|
+
* },
|
|
189
|
+
* timezone: "America/New_York"
|
|
189
190
|
* })
|
|
190
191
|
*/
|
|
191
192
|
ask(conversationId: string, request: MavenAGI.AskRequest, requestOptions?: Conversation.RequestOptions): Promise<MavenAGI.ConversationResponse>;
|