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
package/Client.d.ts
CHANGED
|
@@ -4,11 +4,14 @@
|
|
|
4
4
|
import * as environments from "./environments";
|
|
5
5
|
import * as core from "./core";
|
|
6
6
|
import { Actions } from "./api/resources/actions/client/Client";
|
|
7
|
+
import { Agents } from "./api/resources/agents/client/Client";
|
|
7
8
|
import { Analytics } from "./api/resources/analytics/client/Client";
|
|
8
9
|
import { AppSettings } from "./api/resources/appSettings/client/Client";
|
|
9
10
|
import { Conversation } from "./api/resources/conversation/client/Client";
|
|
11
|
+
import { Events } from "./api/resources/events/client/Client";
|
|
10
12
|
import { Inbox } from "./api/resources/inbox/client/Client";
|
|
11
13
|
import { Knowledge } from "./api/resources/knowledge/client/Client";
|
|
14
|
+
import { Organizations } from "./api/resources/organizations/client/Client";
|
|
12
15
|
import { Realtime } from "./api/resources/realtime/client/Client";
|
|
13
16
|
import { Translations } from "./api/resources/translations/client/Client";
|
|
14
17
|
import { Triggers } from "./api/resources/triggers/client/Client";
|
|
@@ -44,22 +47,28 @@ export declare namespace MavenAGIClient {
|
|
|
44
47
|
export declare class MavenAGIClient {
|
|
45
48
|
protected readonly _options: MavenAGIClient.Options;
|
|
46
49
|
protected _actions: Actions | undefined;
|
|
50
|
+
protected _agents: Agents | undefined;
|
|
47
51
|
protected _analytics: Analytics | undefined;
|
|
48
52
|
protected _appSettings: AppSettings | undefined;
|
|
49
53
|
protected _conversation: Conversation | undefined;
|
|
54
|
+
protected _events: Events | undefined;
|
|
50
55
|
protected _inbox: Inbox | undefined;
|
|
51
56
|
protected _knowledge: Knowledge | undefined;
|
|
57
|
+
protected _organizations: Organizations | undefined;
|
|
52
58
|
protected _realtime: Realtime | undefined;
|
|
53
59
|
protected _translations: Translations | undefined;
|
|
54
60
|
protected _triggers: Triggers | undefined;
|
|
55
61
|
protected _users: Users | undefined;
|
|
56
62
|
constructor(_options: MavenAGIClient.Options);
|
|
57
63
|
get actions(): Actions;
|
|
64
|
+
get agents(): Agents;
|
|
58
65
|
get analytics(): Analytics;
|
|
59
66
|
get appSettings(): AppSettings;
|
|
60
67
|
get conversation(): Conversation;
|
|
68
|
+
get events(): Events;
|
|
61
69
|
get inbox(): Inbox;
|
|
62
70
|
get knowledge(): Knowledge;
|
|
71
|
+
get organizations(): Organizations;
|
|
63
72
|
get realtime(): Realtime;
|
|
64
73
|
get translations(): Translations;
|
|
65
74
|
get triggers(): Triggers;
|
package/Client.js
CHANGED
|
@@ -5,15 +5,18 @@
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.MavenAGIClient = void 0;
|
|
7
7
|
const Client_1 = require("./api/resources/actions/client/Client");
|
|
8
|
-
const Client_2 = require("./api/resources/
|
|
9
|
-
const Client_3 = require("./api/resources/
|
|
10
|
-
const Client_4 = require("./api/resources/
|
|
11
|
-
const Client_5 = require("./api/resources/
|
|
12
|
-
const Client_6 = require("./api/resources/
|
|
13
|
-
const Client_7 = require("./api/resources/
|
|
14
|
-
const Client_8 = require("./api/resources/
|
|
15
|
-
const Client_9 = require("./api/resources/
|
|
16
|
-
const Client_10 = require("./api/resources/
|
|
8
|
+
const Client_2 = require("./api/resources/agents/client/Client");
|
|
9
|
+
const Client_3 = require("./api/resources/analytics/client/Client");
|
|
10
|
+
const Client_4 = require("./api/resources/appSettings/client/Client");
|
|
11
|
+
const Client_5 = require("./api/resources/conversation/client/Client");
|
|
12
|
+
const Client_6 = require("./api/resources/events/client/Client");
|
|
13
|
+
const Client_7 = require("./api/resources/inbox/client/Client");
|
|
14
|
+
const Client_8 = require("./api/resources/knowledge/client/Client");
|
|
15
|
+
const Client_9 = require("./api/resources/organizations/client/Client");
|
|
16
|
+
const Client_10 = require("./api/resources/realtime/client/Client");
|
|
17
|
+
const Client_11 = require("./api/resources/translations/client/Client");
|
|
18
|
+
const Client_12 = require("./api/resources/triggers/client/Client");
|
|
19
|
+
const Client_13 = require("./api/resources/users/client/Client");
|
|
17
20
|
class MavenAGIClient {
|
|
18
21
|
constructor(_options) {
|
|
19
22
|
this._options = _options;
|
|
@@ -22,41 +25,53 @@ class MavenAGIClient {
|
|
|
22
25
|
var _a;
|
|
23
26
|
return ((_a = this._actions) !== null && _a !== void 0 ? _a : (this._actions = new Client_1.Actions(this._options)));
|
|
24
27
|
}
|
|
28
|
+
get agents() {
|
|
29
|
+
var _a;
|
|
30
|
+
return ((_a = this._agents) !== null && _a !== void 0 ? _a : (this._agents = new Client_2.Agents(this._options)));
|
|
31
|
+
}
|
|
25
32
|
get analytics() {
|
|
26
33
|
var _a;
|
|
27
|
-
return ((_a = this._analytics) !== null && _a !== void 0 ? _a : (this._analytics = new
|
|
34
|
+
return ((_a = this._analytics) !== null && _a !== void 0 ? _a : (this._analytics = new Client_3.Analytics(this._options)));
|
|
28
35
|
}
|
|
29
36
|
get appSettings() {
|
|
30
37
|
var _a;
|
|
31
|
-
return ((_a = this._appSettings) !== null && _a !== void 0 ? _a : (this._appSettings = new
|
|
38
|
+
return ((_a = this._appSettings) !== null && _a !== void 0 ? _a : (this._appSettings = new Client_4.AppSettings(this._options)));
|
|
32
39
|
}
|
|
33
40
|
get conversation() {
|
|
34
41
|
var _a;
|
|
35
|
-
return ((_a = this._conversation) !== null && _a !== void 0 ? _a : (this._conversation = new
|
|
42
|
+
return ((_a = this._conversation) !== null && _a !== void 0 ? _a : (this._conversation = new Client_5.Conversation(this._options)));
|
|
43
|
+
}
|
|
44
|
+
get events() {
|
|
45
|
+
var _a;
|
|
46
|
+
return ((_a = this._events) !== null && _a !== void 0 ? _a : (this._events = new Client_6.Events(this._options)));
|
|
36
47
|
}
|
|
37
48
|
get inbox() {
|
|
38
49
|
var _a;
|
|
39
|
-
return ((_a = this._inbox) !== null && _a !== void 0 ? _a : (this._inbox = new
|
|
50
|
+
return ((_a = this._inbox) !== null && _a !== void 0 ? _a : (this._inbox = new Client_7.Inbox(this._options)));
|
|
40
51
|
}
|
|
41
52
|
get knowledge() {
|
|
42
53
|
var _a;
|
|
43
|
-
return ((_a = this._knowledge) !== null && _a !== void 0 ? _a : (this._knowledge = new
|
|
54
|
+
return ((_a = this._knowledge) !== null && _a !== void 0 ? _a : (this._knowledge = new Client_8.Knowledge(this._options)));
|
|
55
|
+
}
|
|
56
|
+
get organizations() {
|
|
57
|
+
var _a;
|
|
58
|
+
return ((_a = this._organizations) !== null && _a !== void 0 ? _a : (this._organizations = new Client_9.Organizations(this._options)));
|
|
44
59
|
}
|
|
45
60
|
get realtime() {
|
|
46
61
|
var _a;
|
|
47
|
-
return ((_a = this._realtime) !== null && _a !== void 0 ? _a : (this._realtime = new
|
|
62
|
+
return ((_a = this._realtime) !== null && _a !== void 0 ? _a : (this._realtime = new Client_10.Realtime(this._options)));
|
|
48
63
|
}
|
|
49
64
|
get translations() {
|
|
50
65
|
var _a;
|
|
51
|
-
return ((_a = this._translations) !== null && _a !== void 0 ? _a : (this._translations = new
|
|
66
|
+
return ((_a = this._translations) !== null && _a !== void 0 ? _a : (this._translations = new Client_11.Translations(this._options)));
|
|
52
67
|
}
|
|
53
68
|
get triggers() {
|
|
54
69
|
var _a;
|
|
55
|
-
return ((_a = this._triggers) !== null && _a !== void 0 ? _a : (this._triggers = new
|
|
70
|
+
return ((_a = this._triggers) !== null && _a !== void 0 ? _a : (this._triggers = new Client_12.Triggers(this._options)));
|
|
56
71
|
}
|
|
57
72
|
get users() {
|
|
58
73
|
var _a;
|
|
59
|
-
return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new
|
|
74
|
+
return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_13.Users(this._options)));
|
|
60
75
|
}
|
|
61
76
|
}
|
|
62
77
|
exports.MavenAGIClient = MavenAGIClient;
|
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ A full reference for this library is available [here](./reference.md).
|
|
|
20
20
|
Instantiate and use the client with the following:
|
|
21
21
|
|
|
22
22
|
```typescript
|
|
23
|
-
import { MavenAGIClient } from "mavenagi";
|
|
23
|
+
import { MavenAGIClient, MavenAGI } from "mavenagi";
|
|
24
24
|
|
|
25
25
|
const client = new MavenAGIClient({
|
|
26
26
|
appId: "YOUR_APP_ID",
|
|
@@ -28,40 +28,7 @@ const client = new MavenAGIClient({
|
|
|
28
28
|
organizationId: "YOUR_ORGANIZATION_ID",
|
|
29
29
|
agentId: "YOUR_AGENT_ID",
|
|
30
30
|
});
|
|
31
|
-
await client.
|
|
32
|
-
conversationFilter: {
|
|
33
|
-
languages: ["en", "es"],
|
|
34
|
-
},
|
|
35
|
-
timeGrouping: "DAY",
|
|
36
|
-
fieldGroupings: [
|
|
37
|
-
{
|
|
38
|
-
field: "Category",
|
|
39
|
-
},
|
|
40
|
-
],
|
|
41
|
-
columnDefinitions: [
|
|
42
|
-
{
|
|
43
|
-
header: "count",
|
|
44
|
-
metric: {
|
|
45
|
-
type: "count",
|
|
46
|
-
},
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
header: "avg_first_response_time",
|
|
50
|
-
metric: {
|
|
51
|
-
type: "average",
|
|
52
|
-
targetField: "FirstResponseTime",
|
|
53
|
-
},
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
header: "percentile_handle_time",
|
|
57
|
-
metric: {
|
|
58
|
-
type: "percentile",
|
|
59
|
-
targetField: "HandleTime",
|
|
60
|
-
percentile: 25,
|
|
61
|
-
},
|
|
62
|
-
},
|
|
63
|
-
],
|
|
64
|
-
});
|
|
31
|
+
await client.agents.search({});
|
|
65
32
|
```
|
|
66
33
|
|
|
67
34
|
## Aborting Requests
|
|
@@ -110,7 +77,7 @@ following namespace:
|
|
|
110
77
|
```typescript
|
|
111
78
|
import { MavenAGI } from "mavenagi";
|
|
112
79
|
|
|
113
|
-
const request: MavenAGI.
|
|
80
|
+
const request: MavenAGI.SearchAppSettingsRequest = {
|
|
114
81
|
...
|
|
115
82
|
};
|
|
116
83
|
```
|
|
@@ -124,7 +91,7 @@ will be thrown.
|
|
|
124
91
|
import { MavenAGIError } from "mavenagi";
|
|
125
92
|
|
|
126
93
|
try {
|
|
127
|
-
await client.
|
|
94
|
+
await client.agents.search(...);
|
|
128
95
|
} catch (err) {
|
|
129
96
|
if (err instanceof MavenAGIError) {
|
|
130
97
|
console.log(err.statusCode);
|
|
@@ -141,7 +108,7 @@ try {
|
|
|
141
108
|
If you would like to send additional headers as part of the request, use the `headers` request option.
|
|
142
109
|
|
|
143
110
|
```typescript
|
|
144
|
-
const response = await client.
|
|
111
|
+
const response = await client.agents.search(..., {
|
|
145
112
|
headers: {
|
|
146
113
|
'X-Custom-Header': 'custom value'
|
|
147
114
|
}
|
|
@@ -163,7 +130,7 @@ A request is deemed retryable when any of the following HTTP status codes is ret
|
|
|
163
130
|
Use the `maxRetries` request option to configure this behavior.
|
|
164
131
|
|
|
165
132
|
```typescript
|
|
166
|
-
const response = await client.
|
|
133
|
+
const response = await client.agents.search(..., {
|
|
167
134
|
maxRetries: 0 // override maxRetries at the request level
|
|
168
135
|
});
|
|
169
136
|
```
|
|
@@ -173,7 +140,7 @@ const response = await client.analytics.getConversationTable(..., {
|
|
|
173
140
|
The SDK defaults to a 60 second timeout. Use the `timeoutInSeconds` option to configure this behavior.
|
|
174
141
|
|
|
175
142
|
```typescript
|
|
176
|
-
const response = await client.
|
|
143
|
+
const response = await client.agents.search(..., {
|
|
177
144
|
timeoutInSeconds: 30 // override timeout to 30s
|
|
178
145
|
});
|
|
179
146
|
```
|
|
@@ -184,7 +151,7 @@ The SDK allows users to abort requests at any point by passing in an abort signa
|
|
|
184
151
|
|
|
185
152
|
```typescript
|
|
186
153
|
const controller = new AbortController();
|
|
187
|
-
const response = await client.
|
|
154
|
+
const response = await client.agents.search(..., {
|
|
188
155
|
abortSignal: controller.signal
|
|
189
156
|
});
|
|
190
157
|
controller.abort(); // aborts the request
|
|
@@ -98,7 +98,7 @@ class Actions {
|
|
|
98
98
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
99
99
|
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/actions"),
|
|
100
100
|
method: "PUT",
|
|
101
|
-
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.
|
|
101
|
+
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),
|
|
102
102
|
contentType: "application/json",
|
|
103
103
|
requestType: "json",
|
|
104
104
|
body: serializers.ActionRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -178,7 +178,7 @@ class Actions {
|
|
|
178
178
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
179
179
|
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/actions/${encodeURIComponent(actionReferenceId)}`),
|
|
180
180
|
method: "GET",
|
|
181
|
-
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.
|
|
181
|
+
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),
|
|
182
182
|
contentType: "application/json",
|
|
183
183
|
requestType: "json",
|
|
184
184
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -257,7 +257,7 @@ class Actions {
|
|
|
257
257
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
258
258
|
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/actions/${encodeURIComponent(actionReferenceId)}`),
|
|
259
259
|
method: "DELETE",
|
|
260
|
-
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.
|
|
260
|
+
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),
|
|
261
261
|
contentType: "application/json",
|
|
262
262
|
requestType: "json",
|
|
263
263
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../environments";
|
|
5
|
+
import * as core from "../../../../core";
|
|
6
|
+
import * as MavenAGI from "../../../index";
|
|
7
|
+
export declare namespace Agents {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.MavenAGIEnvironment | string>;
|
|
10
|
+
/** Specify a custom URL to connect the client to. */
|
|
11
|
+
baseUrl?: core.Supplier<string>;
|
|
12
|
+
appId?: core.Supplier<string | undefined>;
|
|
13
|
+
appSecret?: core.Supplier<string | undefined>;
|
|
14
|
+
/** Override the X-Organization-Id header */
|
|
15
|
+
organizationId: core.Supplier<string>;
|
|
16
|
+
/** Override the X-Agent-Id header */
|
|
17
|
+
agentId: core.Supplier<string>;
|
|
18
|
+
fetcher?: core.FetchFunction;
|
|
19
|
+
}
|
|
20
|
+
interface RequestOptions {
|
|
21
|
+
/** The maximum time to wait for a response in seconds. */
|
|
22
|
+
timeoutInSeconds?: number;
|
|
23
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
24
|
+
maxRetries?: number;
|
|
25
|
+
/** A hook to abort the request. */
|
|
26
|
+
abortSignal?: AbortSignal;
|
|
27
|
+
/** Override the X-Organization-Id header */
|
|
28
|
+
organizationId?: string;
|
|
29
|
+
/** Override the X-Agent-Id header */
|
|
30
|
+
agentId?: string;
|
|
31
|
+
/** Additional headers to include in the request. */
|
|
32
|
+
headers?: Record<string, string>;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
export declare class Agents {
|
|
36
|
+
protected readonly _options: Agents.Options;
|
|
37
|
+
constructor(_options: Agents.Options);
|
|
38
|
+
/**
|
|
39
|
+
* Search for agents across all organizations.
|
|
40
|
+
*
|
|
41
|
+
* <Tip>
|
|
42
|
+
* This endpoint requires additional permissions. Contact support to request access.
|
|
43
|
+
* </Tip>
|
|
44
|
+
*
|
|
45
|
+
* @param {MavenAGI.AgentsSearchRequest} request
|
|
46
|
+
* @param {Agents.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.agents.search({})
|
|
54
|
+
*/
|
|
55
|
+
search(request: MavenAGI.AgentsSearchRequest, requestOptions?: Agents.RequestOptions): Promise<MavenAGI.AgentsSearchResponse>;
|
|
56
|
+
/**
|
|
57
|
+
* Lists all agents for an organization
|
|
58
|
+
*
|
|
59
|
+
* @param {string} organizationReferenceId - The ID of the organization.
|
|
60
|
+
* @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link MavenAGI.NotFoundError}
|
|
63
|
+
* @throws {@link MavenAGI.BadRequestError}
|
|
64
|
+
* @throws {@link MavenAGI.ServerError}
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* await client.agents.list("organizationReferenceId")
|
|
68
|
+
*/
|
|
69
|
+
list(organizationReferenceId: string, requestOptions?: Agents.RequestOptions): Promise<MavenAGI.Agent[]>;
|
|
70
|
+
/**
|
|
71
|
+
* Get an agent
|
|
72
|
+
*
|
|
73
|
+
* @param {string} organizationReferenceId - The ID of the organization.
|
|
74
|
+
* @param {string} agentReferenceId - The ID of the agent.
|
|
75
|
+
* @param {Agents.RequestOptions} requestOptions - Request-specific configuration.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link MavenAGI.NotFoundError}
|
|
78
|
+
* @throws {@link MavenAGI.BadRequestError}
|
|
79
|
+
* @throws {@link MavenAGI.ServerError}
|
|
80
|
+
*
|
|
81
|
+
* @example
|
|
82
|
+
* await client.agents.get("organizationReferenceId", "agentReferenceId")
|
|
83
|
+
*/
|
|
84
|
+
get(organizationReferenceId: string, agentReferenceId: string, requestOptions?: Agents.RequestOptions): Promise<MavenAGI.Agent>;
|
|
85
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
86
|
+
}
|