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
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.UserEventName = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.UserEventName = core.serialization.enum_(["BUTTON_CLICKED", "LINK_CLICKED", "CHAT_OPENED", "CHAT_CLOSED"]);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as MavenAGI from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { EntityId } from "../../commons/types/EntityId";
|
|
8
|
+
export declare const UserInfo: core.serialization.ObjectSchema<serializers.UserInfo.Raw, MavenAGI.UserInfo>;
|
|
9
|
+
export declare namespace UserInfo {
|
|
10
|
+
interface Raw {
|
|
11
|
+
id?: EntityId.Raw | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.UserInfo = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const EntityId_1 = require("../../commons/types/EntityId");
|
|
42
|
+
exports.UserInfo = core.serialization.object({
|
|
43
|
+
id: EntityId_1.EntityId.optional(),
|
|
44
|
+
});
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export * from "./EventBaseNoId";
|
|
2
|
+
export * from "./NovelSystemEventNoId";
|
|
3
|
+
export * from "./UserEvent";
|
|
4
|
+
export * from "./SystemEvent";
|
|
5
|
+
export * from "./EventResponse";
|
|
6
|
+
export * from "./EventsSearchRequest";
|
|
7
|
+
export * from "./EventsSearchResponse";
|
|
8
|
+
export * from "./EventType";
|
|
9
|
+
export * from "./EventField";
|
|
10
|
+
export * from "./EventFilter";
|
|
11
|
+
export * from "./UserEventName";
|
|
12
|
+
export * from "./SystemEventName";
|
|
13
|
+
export * from "./SourceType";
|
|
14
|
+
export * from "./DeviceType";
|
|
15
|
+
export * from "./OsType";
|
|
16
|
+
export * from "./BrowserType";
|
|
17
|
+
export * from "./UserInfo";
|
|
18
|
+
export * from "./FeedbackInfo";
|
|
19
|
+
export * from "./SurveyInfo";
|
|
20
|
+
export * from "./PageInfo";
|
|
21
|
+
export * from "./ContextInfo";
|
|
22
|
+
export * from "./SourceInfo";
|
|
23
|
+
export * from "./DeviceInfo";
|
|
24
|
+
export * from "./OsInfo";
|
|
25
|
+
export * from "./BrowserInfo";
|
|
26
|
+
export * from "./GeoInfo";
|
|
27
|
+
export * from "./IpInfo";
|
|
28
|
+
export * from "./LanguageInfo";
|
|
29
|
+
export * from "./SessionInfo";
|
|
@@ -0,0 +1,45 @@
|
|
|
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("./EventBaseNoId"), exports);
|
|
18
|
+
__exportStar(require("./NovelSystemEventNoId"), exports);
|
|
19
|
+
__exportStar(require("./UserEvent"), exports);
|
|
20
|
+
__exportStar(require("./SystemEvent"), exports);
|
|
21
|
+
__exportStar(require("./EventResponse"), exports);
|
|
22
|
+
__exportStar(require("./EventsSearchRequest"), exports);
|
|
23
|
+
__exportStar(require("./EventsSearchResponse"), exports);
|
|
24
|
+
__exportStar(require("./EventType"), exports);
|
|
25
|
+
__exportStar(require("./EventField"), exports);
|
|
26
|
+
__exportStar(require("./EventFilter"), exports);
|
|
27
|
+
__exportStar(require("./UserEventName"), exports);
|
|
28
|
+
__exportStar(require("./SystemEventName"), exports);
|
|
29
|
+
__exportStar(require("./SourceType"), exports);
|
|
30
|
+
__exportStar(require("./DeviceType"), exports);
|
|
31
|
+
__exportStar(require("./OsType"), exports);
|
|
32
|
+
__exportStar(require("./BrowserType"), exports);
|
|
33
|
+
__exportStar(require("./UserInfo"), exports);
|
|
34
|
+
__exportStar(require("./FeedbackInfo"), exports);
|
|
35
|
+
__exportStar(require("./SurveyInfo"), exports);
|
|
36
|
+
__exportStar(require("./PageInfo"), exports);
|
|
37
|
+
__exportStar(require("./ContextInfo"), exports);
|
|
38
|
+
__exportStar(require("./SourceInfo"), exports);
|
|
39
|
+
__exportStar(require("./DeviceInfo"), exports);
|
|
40
|
+
__exportStar(require("./OsInfo"), exports);
|
|
41
|
+
__exportStar(require("./BrowserInfo"), exports);
|
|
42
|
+
__exportStar(require("./GeoInfo"), exports);
|
|
43
|
+
__exportStar(require("./IpInfo"), exports);
|
|
44
|
+
__exportStar(require("./LanguageInfo"), exports);
|
|
45
|
+
__exportStar(require("./SessionInfo"), exports);
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
export * as actions from "./actions";
|
|
2
2
|
export * from "./actions/types";
|
|
3
|
+
export * as agents from "./agents";
|
|
4
|
+
export * from "./agents/types";
|
|
3
5
|
export * as analytics from "./analytics";
|
|
4
6
|
export * from "./analytics/types";
|
|
7
|
+
export * as appSettings from "./appSettings";
|
|
8
|
+
export * from "./appSettings/types";
|
|
5
9
|
export * as commons from "./commons";
|
|
6
10
|
export * from "./commons/types";
|
|
7
11
|
export * as conversation from "./conversation";
|
|
8
12
|
export * from "./conversation/types";
|
|
13
|
+
export * as events from "./events";
|
|
14
|
+
export * from "./events/types";
|
|
9
15
|
export * as inbox from "./inbox";
|
|
10
16
|
export * from "./inbox/types";
|
|
11
17
|
export * as knowledge from "./knowledge";
|
|
@@ -16,4 +22,3 @@ export * as translations from "./translations";
|
|
|
16
22
|
export * from "./translations/types";
|
|
17
23
|
export * as triggers from "./triggers";
|
|
18
24
|
export * from "./triggers/types";
|
|
19
|
-
export * as appSettings from "./appSettings";
|
|
@@ -36,15 +36,21 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.triggers = exports.translations = exports.realtime = exports.knowledge = exports.inbox = exports.events = exports.conversation = exports.commons = exports.appSettings = exports.analytics = exports.agents = exports.actions = void 0;
|
|
40
40
|
exports.actions = __importStar(require("./actions"));
|
|
41
41
|
__exportStar(require("./actions/types"), exports);
|
|
42
|
+
exports.agents = __importStar(require("./agents"));
|
|
43
|
+
__exportStar(require("./agents/types"), exports);
|
|
42
44
|
exports.analytics = __importStar(require("./analytics"));
|
|
43
45
|
__exportStar(require("./analytics/types"), exports);
|
|
46
|
+
exports.appSettings = __importStar(require("./appSettings"));
|
|
47
|
+
__exportStar(require("./appSettings/types"), exports);
|
|
44
48
|
exports.commons = __importStar(require("./commons"));
|
|
45
49
|
__exportStar(require("./commons/types"), exports);
|
|
46
50
|
exports.conversation = __importStar(require("./conversation"));
|
|
47
51
|
__exportStar(require("./conversation/types"), exports);
|
|
52
|
+
exports.events = __importStar(require("./events"));
|
|
53
|
+
__exportStar(require("./events/types"), exports);
|
|
48
54
|
exports.inbox = __importStar(require("./inbox"));
|
|
49
55
|
__exportStar(require("./inbox/types"), exports);
|
|
50
56
|
exports.knowledge = __importStar(require("./knowledge"));
|
|
@@ -55,4 +61,3 @@ exports.translations = __importStar(require("./translations"));
|
|
|
55
61
|
__exportStar(require("./translations/types"), exports);
|
|
56
62
|
exports.triggers = __importStar(require("./triggers"));
|
|
57
63
|
__exportStar(require("./triggers/types"), exports);
|
|
58
|
-
exports.appSettings = __importStar(require("./appSettings"));
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as MavenAGI from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { EntityIdWithoutAgent } from "../../commons/types/EntityIdWithoutAgent";
|
|
8
|
+
import { KnowledgeBaseVersionFinalizeStatus } from "./KnowledgeBaseVersionFinalizeStatus";
|
|
9
|
+
export declare const FinalizeKnowledgeBaseVersionRequest: core.serialization.ObjectSchema<serializers.FinalizeKnowledgeBaseVersionRequest.Raw, MavenAGI.FinalizeKnowledgeBaseVersionRequest>;
|
|
10
|
+
export declare namespace FinalizeKnowledgeBaseVersionRequest {
|
|
11
|
+
interface Raw {
|
|
12
|
+
versionId?: EntityIdWithoutAgent.Raw | null;
|
|
13
|
+
status?: KnowledgeBaseVersionFinalizeStatus.Raw | null;
|
|
14
|
+
errorMessage?: string | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.FinalizeKnowledgeBaseVersionRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const EntityIdWithoutAgent_1 = require("../../commons/types/EntityIdWithoutAgent");
|
|
42
|
+
const KnowledgeBaseVersionFinalizeStatus_1 = require("./KnowledgeBaseVersionFinalizeStatus");
|
|
43
|
+
exports.FinalizeKnowledgeBaseVersionRequest = core.serialization.object({
|
|
44
|
+
versionId: EntityIdWithoutAgent_1.EntityIdWithoutAgent.optional(),
|
|
45
|
+
status: KnowledgeBaseVersionFinalizeStatus_1.KnowledgeBaseVersionFinalizeStatus.optional(),
|
|
46
|
+
errorMessage: core.serialization.string().optional(),
|
|
47
|
+
});
|
|
@@ -10,5 +10,6 @@ export declare const KnowledgeBaseRequest: core.serialization.ObjectSchema<seria
|
|
|
10
10
|
export declare namespace KnowledgeBaseRequest {
|
|
11
11
|
interface Raw extends KnowledgeBaseProperties.Raw {
|
|
12
12
|
knowledgeBaseId: EntityIdBase.Raw;
|
|
13
|
+
metadata?: Record<string, string> | null;
|
|
13
14
|
}
|
|
14
15
|
}
|
|
@@ -43,5 +43,6 @@ const KnowledgeBaseProperties_1 = require("./KnowledgeBaseProperties");
|
|
|
43
43
|
exports.KnowledgeBaseRequest = core.serialization
|
|
44
44
|
.object({
|
|
45
45
|
knowledgeBaseId: EntityIdBase_1.EntityIdBase,
|
|
46
|
+
metadata: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
|
|
46
47
|
})
|
|
47
48
|
.extend(KnowledgeBaseProperties_1.KnowledgeBaseProperties);
|
|
@@ -45,5 +45,6 @@ exports.KnowledgeBaseResponse = core.serialization
|
|
|
45
45
|
.object({
|
|
46
46
|
knowledgeBaseId: EntityId_1.EntityId,
|
|
47
47
|
type: KnowledgeBaseType_1.KnowledgeBaseType,
|
|
48
|
+
metadata: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
48
49
|
})
|
|
49
50
|
.extend(KnowledgeBaseProperties_1.KnowledgeBaseProperties);
|
|
@@ -4,10 +4,15 @@
|
|
|
4
4
|
import * as serializers from "../../../index";
|
|
5
5
|
import * as MavenAGI from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
|
+
import { EntityId } from "../../commons/types/EntityId";
|
|
7
8
|
import { KnowledgeBaseVersionType } from "./KnowledgeBaseVersionType";
|
|
9
|
+
import { KnowledgeBaseVersionStatus } from "./KnowledgeBaseVersionStatus";
|
|
8
10
|
export declare const KnowledgeBaseVersion: core.serialization.ObjectSchema<serializers.KnowledgeBaseVersion.Raw, MavenAGI.KnowledgeBaseVersion>;
|
|
9
11
|
export declare namespace KnowledgeBaseVersion {
|
|
10
12
|
interface Raw {
|
|
13
|
+
versionId: EntityId.Raw;
|
|
11
14
|
type: KnowledgeBaseVersionType.Raw;
|
|
15
|
+
status: KnowledgeBaseVersionStatus.Raw;
|
|
16
|
+
errorMessage?: string | null;
|
|
12
17
|
}
|
|
13
18
|
}
|
|
@@ -38,7 +38,12 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.KnowledgeBaseVersion = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const EntityId_1 = require("../../commons/types/EntityId");
|
|
41
42
|
const KnowledgeBaseVersionType_1 = require("./KnowledgeBaseVersionType");
|
|
43
|
+
const KnowledgeBaseVersionStatus_1 = require("./KnowledgeBaseVersionStatus");
|
|
42
44
|
exports.KnowledgeBaseVersion = core.serialization.object({
|
|
45
|
+
versionId: EntityId_1.EntityId,
|
|
43
46
|
type: KnowledgeBaseVersionType_1.KnowledgeBaseVersionType,
|
|
47
|
+
status: KnowledgeBaseVersionStatus_1.KnowledgeBaseVersionStatus,
|
|
48
|
+
errorMessage: core.serialization.string().optional(),
|
|
44
49
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as MavenAGI from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const KnowledgeBaseVersionFinalizeStatus: core.serialization.Schema<serializers.KnowledgeBaseVersionFinalizeStatus.Raw, MavenAGI.KnowledgeBaseVersionFinalizeStatus>;
|
|
8
|
+
export declare namespace KnowledgeBaseVersionFinalizeStatus {
|
|
9
|
+
type Raw = "SUCCEEDED" | "FAILED";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.KnowledgeBaseVersionFinalizeStatus = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.KnowledgeBaseVersionFinalizeStatus = core.serialization.enum_(["SUCCEEDED", "FAILED"]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as MavenAGI from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const KnowledgeBaseVersionStatus: core.serialization.Schema<serializers.KnowledgeBaseVersionStatus.Raw, MavenAGI.KnowledgeBaseVersionStatus>;
|
|
8
|
+
export declare namespace KnowledgeBaseVersionStatus {
|
|
9
|
+
type Raw = "SUCCEEDED" | "FAILED" | "IN_PROGRESS";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.KnowledgeBaseVersionStatus = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.KnowledgeBaseVersionStatus = core.serialization.enum_(["SUCCEEDED", "FAILED", "IN_PROGRESS"]);
|
|
@@ -5,13 +5,16 @@ import * as serializers from "../../../index";
|
|
|
5
5
|
import * as MavenAGI from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
import { EntityIdBase } from "../../commons/types/EntityIdBase";
|
|
8
|
+
import { EntityIdWithoutAgent } from "../../commons/types/EntityIdWithoutAgent";
|
|
8
9
|
import { KnowledgeDocumentContentType } from "./KnowledgeDocumentContentType";
|
|
9
10
|
import { BaseKnowledgeDocument } from "./BaseKnowledgeDocument";
|
|
10
11
|
export declare const KnowledgeDocumentRequest: core.serialization.ObjectSchema<serializers.KnowledgeDocumentRequest.Raw, MavenAGI.KnowledgeDocumentRequest>;
|
|
11
12
|
export declare namespace KnowledgeDocumentRequest {
|
|
12
13
|
interface Raw extends BaseKnowledgeDocument.Raw {
|
|
13
14
|
knowledgeDocumentId: EntityIdBase.Raw;
|
|
15
|
+
versionId?: EntityIdWithoutAgent.Raw | null;
|
|
14
16
|
contentType: KnowledgeDocumentContentType.Raw;
|
|
15
17
|
content: string;
|
|
18
|
+
metadata?: Record<string, string> | null;
|
|
16
19
|
}
|
|
17
20
|
}
|
|
@@ -39,12 +39,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.KnowledgeDocumentRequest = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
41
|
const EntityIdBase_1 = require("../../commons/types/EntityIdBase");
|
|
42
|
+
const EntityIdWithoutAgent_1 = require("../../commons/types/EntityIdWithoutAgent");
|
|
42
43
|
const KnowledgeDocumentContentType_1 = require("./KnowledgeDocumentContentType");
|
|
43
44
|
const BaseKnowledgeDocument_1 = require("./BaseKnowledgeDocument");
|
|
44
45
|
exports.KnowledgeDocumentRequest = core.serialization
|
|
45
46
|
.object({
|
|
46
47
|
knowledgeDocumentId: EntityIdBase_1.EntityIdBase,
|
|
48
|
+
versionId: EntityIdWithoutAgent_1.EntityIdWithoutAgent.optional(),
|
|
47
49
|
contentType: KnowledgeDocumentContentType_1.KnowledgeDocumentContentType,
|
|
48
50
|
content: core.serialization.string(),
|
|
51
|
+
metadata: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
|
|
49
52
|
})
|
|
50
53
|
.extend(BaseKnowledgeDocument_1.BaseKnowledgeDocument);
|
|
@@ -44,5 +44,6 @@ exports.KnowledgeDocumentResponse = core.serialization
|
|
|
44
44
|
.object({
|
|
45
45
|
knowledgeDocumentId: EntityId_1.EntityId,
|
|
46
46
|
content: core.serialization.string(),
|
|
47
|
+
metadata: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
47
48
|
})
|
|
48
49
|
.extend(BaseKnowledgeDocument_1.BaseKnowledgeDocument);
|
|
@@ -4,6 +4,9 @@ export * from "./KnowledgeBaseResponse";
|
|
|
4
4
|
export * from "./KnowledgeBaseType";
|
|
5
5
|
export * from "./KnowledgeBaseVersion";
|
|
6
6
|
export * from "./KnowledgeBaseVersionType";
|
|
7
|
+
export * from "./KnowledgeBaseVersionStatus";
|
|
8
|
+
export * from "./KnowledgeBaseVersionFinalizeStatus";
|
|
9
|
+
export * from "./FinalizeKnowledgeBaseVersionRequest";
|
|
7
10
|
export * from "./BaseKnowledgeDocument";
|
|
8
11
|
export * from "./KnowledgeDocumentContentType";
|
|
9
12
|
export * from "./KnowledgeDocumentRequest";
|
|
@@ -20,6 +20,9 @@ __exportStar(require("./KnowledgeBaseResponse"), exports);
|
|
|
20
20
|
__exportStar(require("./KnowledgeBaseType"), exports);
|
|
21
21
|
__exportStar(require("./KnowledgeBaseVersion"), exports);
|
|
22
22
|
__exportStar(require("./KnowledgeBaseVersionType"), exports);
|
|
23
|
+
__exportStar(require("./KnowledgeBaseVersionStatus"), exports);
|
|
24
|
+
__exportStar(require("./KnowledgeBaseVersionFinalizeStatus"), exports);
|
|
25
|
+
__exportStar(require("./FinalizeKnowledgeBaseVersionRequest"), exports);
|
|
23
26
|
__exportStar(require("./BaseKnowledgeDocument"), exports);
|
|
24
27
|
__exportStar(require("./KnowledgeDocumentContentType"), exports);
|
|
25
28
|
__exportStar(require("./KnowledgeDocumentRequest"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as MavenAGI from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const AudioFormat: core.serialization.Schema<serializers.AudioFormat.Raw, MavenAGI.AudioFormat>;
|
|
8
|
+
export declare namespace AudioFormat {
|
|
9
|
+
type Raw = "PCM16" | "G711_ULAW";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.AudioFormat = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.AudioFormat = core.serialization.enum_(["PCM16", "G711_ULAW"]);
|
|
@@ -4,9 +4,12 @@
|
|
|
4
4
|
import * as serializers from "../../../index";
|
|
5
5
|
import * as MavenAGI from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
|
+
import { AudioFormat } from "./AudioFormat";
|
|
8
|
+
import { MessageBase } from "./MessageBase";
|
|
7
9
|
export declare const ControlEvent: core.serialization.ObjectSchema<serializers.ControlEvent.Raw, MavenAGI.ControlEvent>;
|
|
8
10
|
export declare namespace ControlEvent {
|
|
9
|
-
interface Raw {
|
|
11
|
+
interface Raw extends MessageBase.Raw {
|
|
10
12
|
reason?: string | null;
|
|
13
|
+
unused?: AudioFormat.Raw | null;
|
|
11
14
|
}
|
|
12
15
|
}
|
|
@@ -38,6 +38,11 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.ControlEvent = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
|
-
|
|
41
|
+
const AudioFormat_1 = require("./AudioFormat");
|
|
42
|
+
const MessageBase_1 = require("./MessageBase");
|
|
43
|
+
exports.ControlEvent = core.serialization
|
|
44
|
+
.object({
|
|
42
45
|
reason: core.serialization.string().optional(),
|
|
43
|
-
|
|
46
|
+
unused: AudioFormat_1.AudioFormat.optional(),
|
|
47
|
+
})
|
|
48
|
+
.extend(MessageBase_1.MessageBase);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as MavenAGI from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const MessageBase: core.serialization.ObjectSchema<serializers.MessageBase.Raw, MavenAGI.MessageBase>;
|
|
8
|
+
export declare namespace MessageBase {
|
|
9
|
+
interface Raw {
|
|
10
|
+
seqId?: number | null;
|
|
11
|
+
}
|
|
12
|
+
}
|