mavenagi 1.2.0 → 1.2.3
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 +3 -0
- package/Client.js +33 -28
- package/README.md +1 -1
- package/api/resources/actions/client/Client.d.ts +2 -2
- package/api/resources/actions/client/Client.js +5 -5
- package/api/resources/actions/client/requests/ActionPatchRequest.d.ts +24 -0
- package/api/resources/actions/client/requests/index.d.ts +1 -0
- package/api/resources/actions/types/index.d.ts +0 -1
- package/api/resources/actions/types/index.js +0 -1
- package/api/resources/agentCapabilities/client/Client.d.ts +85 -0
- package/api/resources/agentCapabilities/client/Client.js +349 -0
- package/api/resources/agentCapabilities/client/index.d.ts +1 -0
- package/api/resources/agentCapabilities/client/index.js +2 -0
- package/api/resources/agentCapabilities/index.d.ts +2 -0
- package/api/resources/agentCapabilities/index.js +18 -0
- package/api/resources/agentCapabilities/types/ActionCapability.d.ts +16 -0
- package/api/resources/agentCapabilities/types/AgentCapability.d.ts +13 -0
- package/api/resources/agentCapabilities/types/AgentCapabilityBase.d.ts +15 -0
- package/api/resources/agentCapabilities/types/AgentCapabilityField.d.ts +11 -0
- package/api/resources/agentCapabilities/types/AgentCapabilityField.js +13 -0
- package/api/resources/agentCapabilities/types/AgentCapabilityListRequest.d.ts +14 -0
- package/api/resources/agentCapabilities/types/AgentCapabilityType.d.ts +8 -0
- package/api/resources/agentCapabilities/types/AgentCapabilityType.js +10 -0
- package/api/resources/agentCapabilities/types/ListAgentCapabilitiesResponse.d.ts +8 -0
- package/api/resources/agentCapabilities/types/PatchAgentCapabilityRequest.d.ts +11 -0
- package/api/resources/agentCapabilities/types/TriggerCapability.d.ts +7 -0
- package/api/resources/agentCapabilities/types/TriggerType.d.ts +10 -0
- package/api/resources/agentCapabilities/types/TriggerType.js +12 -0
- package/api/resources/agentCapabilities/types/index.d.ts +10 -0
- package/api/resources/agentCapabilities/types/index.js +26 -0
- package/api/resources/agents/types/Agent.d.ts +2 -0
- package/api/resources/agents/types/AgentPatchRequest.d.ts +2 -0
- package/api/resources/agents/types/PiiCategory.d.ts +2 -2
- package/api/resources/agents/types/PiiCategory.js +1 -1
- package/api/resources/analytics/client/Client.d.ts +25 -0
- package/api/resources/analytics/client/Client.js +103 -0
- package/api/resources/analytics/types/AgentUserAnalyticsRequest.d.ts +14 -0
- package/api/resources/analytics/types/AgentUserColumnDefinition.d.ts +8 -0
- package/api/resources/analytics/types/AgentUserCount.d.ts +8 -0
- package/api/resources/analytics/types/AgentUserMetric.d.ts +13 -0
- package/api/resources/analytics/types/AgentUserRow.d.ts +11 -0
- package/api/resources/analytics/types/AgentUserTableRequest.d.ts +30 -0
- package/api/resources/analytics/types/AgentUserTableResponse.d.ts +28 -0
- package/api/resources/analytics/types/ConversationAnalyticsRequest.d.ts +6 -0
- package/api/resources/analytics/types/FeedbackAnalyticsRequest.d.ts +6 -0
- package/api/resources/analytics/types/FieldValue.d.ts +1 -1
- package/api/resources/analytics/types/index.d.ts +7 -0
- package/api/resources/analytics/types/index.js +7 -0
- package/api/resources/commons/types/ActionExecutionParamValue.d.ts +14 -0
- package/api/resources/commons/types/ActionOAuthConfiguration.d.ts +12 -0
- package/api/resources/commons/types/ActionParameter.d.ts +20 -1
- package/api/resources/commons/types/ActionParameterType.d.ts +9 -1
- package/api/resources/commons/types/ActionParameterType.js +2 -0
- package/api/resources/commons/types/BotLogicActionExecutedDetail.d.ts +1 -1
- package/api/resources/commons/types/BotOAuthButtonResponse.d.ts +12 -0
- package/api/resources/commons/types/BotResponse.d.ts +4 -1
- package/api/resources/commons/types/Capability.d.ts +2 -1
- package/api/resources/commons/types/Capability.js +1 -0
- package/api/resources/commons/types/EntityResult.d.ts +8 -0
- package/{dist/api/resources/events → api/resources/commons}/types/EventBaseNoId.d.ts +1 -1
- package/api/resources/{events → commons}/types/EventFilter.d.ts +2 -1
- package/api/resources/commons/types/EventRequest.d.ts +13 -0
- package/api/resources/{events/types/UserInfo.d.ts → commons/types/EventUserInfo.d.ts} +1 -1
- package/api/resources/commons/types/EventUserInfoBase.d.ts +7 -0
- package/api/resources/commons/types/NovelSystemEvent.d.ts +8 -0
- package/api/resources/commons/types/NovelUserEvent.d.ts +16 -0
- package/api/resources/commons/types/QualityReason.d.ts +2 -1
- package/api/resources/commons/types/QualityReason.js +1 -0
- package/api/resources/commons/types/ResponseConfig.d.ts +1 -0
- package/api/resources/commons/types/ScopedEntity.d.ts +8 -0
- package/api/resources/{events → commons}/types/UserEvent.d.ts +1 -1
- package/api/resources/{events → commons}/types/UserEventName.d.ts +5 -1
- package/api/resources/{events → commons}/types/UserEventName.js +1 -0
- package/api/resources/commons/types/index.d.ts +38 -0
- package/api/resources/commons/types/index.js +38 -0
- package/api/resources/conversation/client/Client.js +4 -1
- package/api/resources/conversation/client/requests/ConversationGetRequest.d.ts +4 -0
- package/api/resources/conversation/types/ActionFormAttachment.d.ts +8 -0
- package/api/resources/conversation/types/ActionFormRequestParamValue.d.ts +5 -0
- package/api/resources/conversation/types/ActionFormRequestParamValue.js +5 -0
- package/api/resources/conversation/types/AskStreamOAuthButtonEvent.d.ts +6 -0
- package/api/resources/conversation/types/AskStreamOAuthButtonEvent.js +5 -0
- package/api/resources/conversation/types/ConversationFilter.d.ts +4 -0
- package/api/resources/conversation/types/StreamResponse.d.ts +4 -1
- package/api/resources/conversation/types/SubmitActionFormRequest.d.ts +2 -1
- package/api/resources/conversation/types/index.d.ts +3 -0
- package/api/resources/conversation/types/index.js +3 -0
- package/api/resources/events/client/Client.d.ts +26 -0
- package/api/resources/events/client/Client.js +104 -0
- package/api/resources/events/index.d.ts +0 -1
- package/api/resources/events/index.js +0 -1
- package/api/resources/index.d.ts +5 -3
- package/api/resources/index.js +6 -4
- package/api/resources/knowledge/client/Client.d.ts +43 -38
- package/api/resources/knowledge/client/Client.js +150 -60
- package/api/resources/knowledge/client/requests/KnowledgeBasePatchRequest.d.ts +30 -0
- package/api/resources/knowledge/client/requests/KnowledgeBasePatchRequest.js +5 -0
- package/api/resources/knowledge/client/requests/KnowledgeBaseVersionsListRequest.d.ts +13 -0
- package/api/resources/knowledge/client/requests/KnowledgeBaseVersionsListRequest.js +5 -0
- package/api/resources/knowledge/client/requests/KnowledgeDocumentGetRequest.d.ts +15 -0
- package/api/resources/knowledge/client/requests/KnowledgeDocumentGetRequest.js +5 -0
- package/api/resources/knowledge/client/requests/index.d.ts +3 -0
- package/api/resources/knowledge/types/KnowledgeBaseFilter.d.ts +2 -0
- package/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +2 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersion.d.ts +1 -3
- package/api/resources/knowledge/types/KnowledgeBaseVersionRequest.d.ts +14 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersionRequest.js +5 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersionsListResponse.d.ts +8 -0
- package/api/resources/knowledge/types/KnowledgeBaseVersionsListResponse.js +5 -0
- package/api/resources/knowledge/types/KnowledgeDeleteRequest.d.ts +18 -0
- package/api/resources/knowledge/types/KnowledgeDeleteRequest.js +5 -0
- package/api/resources/knowledge/types/KnowledgeDocumentFilter.d.ts +8 -0
- package/api/resources/knowledge/types/KnowledgeDocumentResponse.d.ts +8 -3
- package/api/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +5 -2
- package/api/resources/knowledge/types/index.d.ts +3 -1
- package/api/resources/knowledge/types/index.js +3 -1
- package/api/resources/organizations/client/Client.d.ts +78 -0
- package/api/resources/organizations/client/Client.js +376 -0
- package/api/resources/organizations/index.d.ts +1 -0
- package/api/resources/organizations/index.js +1 -0
- package/api/resources/organizations/types/BaseOrganization.d.ts +9 -0
- package/api/resources/organizations/types/BaseOrganization.js +5 -0
- package/api/resources/organizations/types/CreateOrganizationRequest.d.ts +6 -0
- package/api/resources/organizations/types/CreateOrganizationRequest.js +5 -0
- package/api/resources/organizations/types/Organization.d.ts +8 -0
- package/api/resources/organizations/types/Organization.js +5 -0
- package/api/resources/organizations/types/OrganizationPatchRequest.d.ts +9 -0
- package/api/resources/organizations/types/OrganizationPatchRequest.js +5 -0
- package/api/resources/organizations/types/index.d.ts +4 -0
- package/api/resources/organizations/types/index.js +20 -0
- package/api/resources/triggers/types/EventTriggerType.d.ts +2 -1
- package/api/resources/triggers/types/EventTriggerType.js +1 -0
- package/api/resources/users/types/AgentUserFilter.d.ts +5 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +33 -28
- package/dist/api/resources/actions/client/Client.d.ts +2 -2
- package/dist/api/resources/actions/client/Client.js +5 -5
- package/dist/api/resources/actions/client/requests/ActionPatchRequest.d.ts +24 -0
- package/dist/api/resources/actions/client/requests/ActionPatchRequest.js +5 -0
- package/dist/api/resources/actions/client/requests/index.d.ts +1 -0
- package/dist/api/resources/actions/types/index.d.ts +0 -1
- package/dist/api/resources/actions/types/index.js +0 -1
- package/dist/api/resources/agentCapabilities/client/Client.d.ts +85 -0
- package/dist/api/resources/agentCapabilities/client/Client.js +349 -0
- package/dist/api/resources/agentCapabilities/client/index.d.ts +1 -0
- package/dist/api/resources/agentCapabilities/client/index.js +2 -0
- package/dist/api/resources/agentCapabilities/index.d.ts +2 -0
- package/dist/api/resources/agentCapabilities/index.js +18 -0
- package/dist/api/resources/agentCapabilities/types/ActionCapability.d.ts +16 -0
- package/dist/api/resources/agentCapabilities/types/ActionCapability.js +5 -0
- package/dist/api/resources/agentCapabilities/types/AgentCapability.d.ts +13 -0
- package/dist/api/resources/agentCapabilities/types/AgentCapability.js +5 -0
- package/dist/api/resources/agentCapabilities/types/AgentCapabilityBase.d.ts +15 -0
- package/dist/api/resources/agentCapabilities/types/AgentCapabilityBase.js +5 -0
- package/dist/api/resources/agentCapabilities/types/AgentCapabilityField.d.ts +11 -0
- package/dist/api/resources/agentCapabilities/types/AgentCapabilityField.js +13 -0
- package/dist/api/resources/agentCapabilities/types/AgentCapabilityListRequest.d.ts +14 -0
- package/dist/api/resources/agentCapabilities/types/AgentCapabilityListRequest.js +5 -0
- package/dist/api/resources/agentCapabilities/types/AgentCapabilityType.d.ts +8 -0
- package/dist/api/resources/agentCapabilities/types/AgentCapabilityType.js +10 -0
- package/dist/api/resources/agentCapabilities/types/ListAgentCapabilitiesResponse.d.ts +8 -0
- package/dist/api/resources/agentCapabilities/types/ListAgentCapabilitiesResponse.js +5 -0
- package/dist/api/resources/agentCapabilities/types/PatchAgentCapabilityRequest.d.ts +11 -0
- package/dist/api/resources/agentCapabilities/types/PatchAgentCapabilityRequest.js +5 -0
- package/dist/api/resources/agentCapabilities/types/TriggerCapability.d.ts +7 -0
- package/dist/api/resources/agentCapabilities/types/TriggerCapability.js +5 -0
- package/dist/api/resources/agentCapabilities/types/TriggerType.d.ts +10 -0
- package/dist/api/resources/agentCapabilities/types/TriggerType.js +12 -0
- package/dist/api/resources/agentCapabilities/types/index.d.ts +10 -0
- package/dist/api/resources/agentCapabilities/types/index.js +26 -0
- package/dist/api/resources/agents/types/Agent.d.ts +2 -0
- package/dist/api/resources/agents/types/AgentPatchRequest.d.ts +2 -0
- package/dist/api/resources/agents/types/PiiCategory.d.ts +2 -2
- package/dist/api/resources/agents/types/PiiCategory.js +1 -1
- package/dist/api/resources/analytics/client/Client.d.ts +25 -0
- package/dist/api/resources/analytics/client/Client.js +103 -0
- package/dist/api/resources/analytics/types/AgentUserAnalyticsRequest.d.ts +14 -0
- package/dist/api/resources/analytics/types/AgentUserAnalyticsRequest.js +5 -0
- package/dist/api/resources/analytics/types/AgentUserColumnDefinition.d.ts +8 -0
- package/dist/api/resources/analytics/types/AgentUserColumnDefinition.js +5 -0
- package/dist/api/resources/analytics/types/AgentUserCount.d.ts +8 -0
- package/dist/api/resources/analytics/types/AgentUserCount.js +5 -0
- package/dist/api/resources/analytics/types/AgentUserMetric.d.ts +13 -0
- package/dist/api/resources/analytics/types/AgentUserMetric.js +5 -0
- package/dist/api/resources/analytics/types/AgentUserRow.d.ts +11 -0
- package/dist/api/resources/analytics/types/AgentUserRow.js +5 -0
- package/dist/api/resources/analytics/types/AgentUserTableRequest.d.ts +30 -0
- package/dist/api/resources/analytics/types/AgentUserTableRequest.js +5 -0
- package/dist/api/resources/analytics/types/AgentUserTableResponse.d.ts +28 -0
- package/dist/api/resources/analytics/types/AgentUserTableResponse.js +5 -0
- package/dist/api/resources/analytics/types/ConversationAnalyticsRequest.d.ts +6 -0
- package/dist/api/resources/analytics/types/FeedbackAnalyticsRequest.d.ts +6 -0
- package/dist/api/resources/analytics/types/FieldValue.d.ts +1 -1
- package/dist/api/resources/analytics/types/index.d.ts +7 -0
- package/dist/api/resources/analytics/types/index.js +7 -0
- package/dist/api/resources/commons/types/ActionExecutionParamValue.d.ts +14 -0
- package/dist/api/resources/commons/types/ActionExecutionParamValue.js +5 -0
- package/dist/api/resources/commons/types/ActionOAuthConfiguration.d.ts +12 -0
- package/dist/api/resources/commons/types/ActionOAuthConfiguration.js +5 -0
- package/dist/api/resources/commons/types/ActionParameter.d.ts +20 -1
- package/dist/api/resources/commons/types/ActionParameterType.d.ts +9 -1
- package/dist/api/resources/commons/types/ActionParameterType.js +2 -0
- package/dist/api/resources/commons/types/BotLogicActionExecutedDetail.d.ts +1 -1
- package/dist/api/resources/commons/types/BotOAuthButtonResponse.d.ts +12 -0
- package/dist/api/resources/commons/types/BotOAuthButtonResponse.js +5 -0
- package/dist/api/resources/commons/types/BotResponse.d.ts +4 -1
- package/dist/api/resources/commons/types/BrowserInfo.js +5 -0
- package/dist/api/resources/commons/types/Capability.d.ts +2 -1
- package/dist/api/resources/commons/types/Capability.js +1 -0
- package/dist/api/resources/commons/types/ContextInfo.js +5 -0
- package/dist/api/resources/commons/types/DeviceInfo.js +5 -0
- package/dist/api/resources/commons/types/EntityResult.d.ts +8 -0
- package/dist/api/resources/commons/types/EntityResult.js +5 -0
- package/{api/resources/events → dist/api/resources/commons}/types/EventBaseNoId.d.ts +1 -1
- package/dist/api/resources/commons/types/EventBaseNoId.js +5 -0
- package/dist/api/resources/{events → commons}/types/EventFilter.d.ts +2 -1
- package/dist/api/resources/commons/types/EventFilter.js +5 -0
- package/dist/api/resources/commons/types/EventRequest.d.ts +13 -0
- package/dist/api/resources/commons/types/EventRequest.js +5 -0
- package/dist/api/resources/commons/types/EventResponse.js +5 -0
- package/dist/api/resources/{events/types/UserInfo.d.ts → commons/types/EventUserInfo.d.ts} +1 -1
- package/dist/api/resources/commons/types/EventUserInfo.js +5 -0
- package/dist/api/resources/commons/types/EventUserInfoBase.d.ts +7 -0
- package/dist/api/resources/commons/types/EventUserInfoBase.js +5 -0
- package/dist/api/resources/commons/types/EventsSearchRequest.js +5 -0
- package/dist/api/resources/commons/types/EventsSearchResponse.js +5 -0
- package/dist/api/resources/commons/types/FeedbackInfo.js +5 -0
- package/dist/api/resources/commons/types/GeoInfo.js +5 -0
- package/dist/api/resources/commons/types/IpInfo.js +5 -0
- package/dist/api/resources/commons/types/LanguageInfo.js +5 -0
- package/dist/api/resources/commons/types/NovelSystemEvent.d.ts +8 -0
- package/dist/api/resources/commons/types/NovelSystemEvent.js +5 -0
- package/dist/api/resources/commons/types/NovelSystemEventNoId.js +5 -0
- package/dist/api/resources/commons/types/NovelUserEvent.d.ts +16 -0
- package/dist/api/resources/commons/types/NovelUserEvent.js +5 -0
- package/dist/api/resources/commons/types/OsInfo.js +5 -0
- package/dist/api/resources/commons/types/PageInfo.js +5 -0
- package/dist/api/resources/commons/types/QualityReason.d.ts +2 -1
- package/dist/api/resources/commons/types/QualityReason.js +1 -0
- package/dist/api/resources/commons/types/ResponseConfig.d.ts +1 -0
- package/dist/api/resources/commons/types/ScopedEntity.d.ts +8 -0
- package/dist/api/resources/commons/types/ScopedEntity.js +5 -0
- package/dist/api/resources/commons/types/SessionInfo.js +5 -0
- package/dist/api/resources/commons/types/SourceInfo.js +5 -0
- package/dist/api/resources/commons/types/SurveyInfo.js +5 -0
- package/dist/api/resources/commons/types/SystemEvent.js +5 -0
- package/dist/api/resources/{events → commons}/types/UserEvent.d.ts +1 -1
- package/dist/api/resources/commons/types/UserEvent.js +5 -0
- package/dist/api/resources/{events → commons}/types/UserEventName.d.ts +5 -1
- package/dist/api/resources/{events → commons}/types/UserEventName.js +1 -0
- package/dist/api/resources/commons/types/index.d.ts +38 -0
- package/dist/api/resources/commons/types/index.js +38 -0
- package/dist/api/resources/conversation/client/Client.js +4 -1
- package/dist/api/resources/conversation/client/requests/ConversationGetRequest.d.ts +4 -0
- package/dist/api/resources/conversation/types/ActionFormAttachment.d.ts +8 -0
- package/dist/api/resources/conversation/types/ActionFormAttachment.js +5 -0
- package/dist/api/resources/conversation/types/ActionFormRequestParamValue.d.ts +5 -0
- package/dist/api/resources/conversation/types/ActionFormRequestParamValue.js +5 -0
- package/dist/api/resources/conversation/types/AskStreamOAuthButtonEvent.d.ts +6 -0
- package/dist/api/resources/conversation/types/AskStreamOAuthButtonEvent.js +5 -0
- package/dist/api/resources/conversation/types/ConversationFilter.d.ts +4 -0
- package/dist/api/resources/conversation/types/StreamResponse.d.ts +4 -1
- package/dist/api/resources/conversation/types/SubmitActionFormRequest.d.ts +2 -1
- package/dist/api/resources/conversation/types/index.d.ts +3 -0
- package/dist/api/resources/conversation/types/index.js +3 -0
- package/dist/api/resources/events/client/Client.d.ts +26 -0
- package/dist/api/resources/events/client/Client.js +104 -0
- package/dist/api/resources/events/index.d.ts +0 -1
- package/dist/api/resources/events/index.js +0 -1
- package/dist/api/resources/index.d.ts +5 -3
- package/dist/api/resources/index.js +6 -4
- package/dist/api/resources/knowledge/client/Client.d.ts +43 -38
- package/dist/api/resources/knowledge/client/Client.js +150 -60
- package/dist/api/resources/knowledge/client/requests/KnowledgeBasePatchRequest.d.ts +30 -0
- package/dist/api/resources/knowledge/client/requests/KnowledgeBasePatchRequest.js +5 -0
- package/dist/api/resources/knowledge/client/requests/KnowledgeBaseVersionsListRequest.d.ts +13 -0
- package/dist/api/resources/knowledge/client/requests/KnowledgeBaseVersionsListRequest.js +5 -0
- package/dist/api/resources/knowledge/client/requests/KnowledgeDocumentGetRequest.d.ts +15 -0
- package/dist/api/resources/knowledge/client/requests/KnowledgeDocumentGetRequest.js +5 -0
- package/dist/api/resources/knowledge/client/requests/index.d.ts +3 -0
- package/dist/api/resources/knowledge/types/KnowledgeBaseFilter.d.ts +2 -0
- package/dist/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +2 -0
- package/dist/api/resources/knowledge/types/KnowledgeBaseVersion.d.ts +1 -3
- package/dist/api/resources/knowledge/types/KnowledgeBaseVersionRequest.d.ts +14 -0
- package/dist/api/resources/knowledge/types/KnowledgeBaseVersionRequest.js +5 -0
- package/dist/api/resources/knowledge/types/KnowledgeBaseVersionsListResponse.d.ts +8 -0
- package/dist/api/resources/knowledge/types/KnowledgeBaseVersionsListResponse.js +5 -0
- package/dist/api/resources/knowledge/types/KnowledgeDeleteRequest.d.ts +18 -0
- package/dist/api/resources/knowledge/types/KnowledgeDeleteRequest.js +5 -0
- package/dist/api/resources/knowledge/types/KnowledgeDocumentFilter.d.ts +8 -0
- package/dist/api/resources/knowledge/types/KnowledgeDocumentResponse.d.ts +8 -3
- package/dist/api/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +5 -2
- package/dist/api/resources/knowledge/types/index.d.ts +3 -1
- package/dist/api/resources/knowledge/types/index.js +3 -1
- package/dist/api/resources/organizations/client/Client.d.ts +78 -0
- package/dist/api/resources/organizations/client/Client.js +376 -0
- package/dist/api/resources/organizations/index.d.ts +1 -0
- package/dist/api/resources/organizations/index.js +1 -0
- package/dist/api/resources/organizations/types/BaseOrganization.d.ts +9 -0
- package/dist/api/resources/organizations/types/BaseOrganization.js +5 -0
- package/dist/api/resources/organizations/types/CreateOrganizationRequest.d.ts +6 -0
- package/dist/api/resources/organizations/types/CreateOrganizationRequest.js +5 -0
- package/dist/api/resources/organizations/types/Organization.d.ts +8 -0
- package/dist/api/resources/organizations/types/Organization.js +5 -0
- package/dist/api/resources/organizations/types/OrganizationPatchRequest.d.ts +9 -0
- package/dist/api/resources/organizations/types/OrganizationPatchRequest.js +5 -0
- package/dist/api/resources/organizations/types/index.d.ts +4 -0
- package/dist/api/resources/organizations/types/index.js +20 -0
- package/dist/api/resources/triggers/types/EventTriggerType.d.ts +2 -1
- package/dist/api/resources/triggers/types/EventTriggerType.js +1 -0
- package/dist/api/resources/users/types/AgentUserFilter.d.ts +5 -0
- package/dist/serialization/resources/actions/client/index.d.ts +1 -0
- package/dist/serialization/resources/actions/client/index.js +17 -0
- package/dist/serialization/resources/actions/client/requests/ActionPatchRequest.d.ts +17 -0
- package/dist/serialization/resources/actions/{types → client/requests}/ActionPatchRequest.js +4 -2
- package/dist/serialization/resources/actions/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/actions/client/requests/index.js +5 -0
- package/dist/serialization/resources/actions/index.d.ts +1 -0
- package/dist/serialization/resources/actions/index.js +1 -0
- package/dist/serialization/resources/actions/types/index.d.ts +0 -1
- package/dist/serialization/resources/actions/types/index.js +0 -1
- package/dist/serialization/resources/agentCapabilities/types/ActionCapability.d.ts +20 -0
- package/dist/serialization/resources/agentCapabilities/types/ActionCapability.js +54 -0
- package/dist/serialization/resources/agentCapabilities/types/AgentCapability.d.ts +18 -0
- package/dist/serialization/resources/agentCapabilities/types/AgentCapability.js +51 -0
- package/dist/serialization/resources/agentCapabilities/types/AgentCapabilityBase.d.ts +18 -0
- package/dist/serialization/resources/agentCapabilities/types/AgentCapabilityBase.js +49 -0
- package/dist/serialization/resources/agentCapabilities/types/AgentCapabilityField.d.ts +10 -0
- package/dist/serialization/resources/agentCapabilities/types/AgentCapabilityField.js +41 -0
- package/dist/serialization/resources/agentCapabilities/types/AgentCapabilityListRequest.d.ts +21 -0
- package/dist/serialization/resources/agentCapabilities/types/AgentCapabilityListRequest.js +54 -0
- package/dist/serialization/resources/agentCapabilities/types/AgentCapabilityType.d.ts +10 -0
- package/dist/serialization/resources/agentCapabilities/types/AgentCapabilityType.js +41 -0
- package/dist/serialization/resources/agentCapabilities/types/ListAgentCapabilitiesResponse.d.ts +15 -0
- package/dist/serialization/resources/agentCapabilities/types/ListAgentCapabilitiesResponse.js +48 -0
- package/dist/serialization/resources/agentCapabilities/types/PatchAgentCapabilityRequest.d.ts +14 -0
- package/dist/serialization/resources/agentCapabilities/types/PatchAgentCapabilityRequest.js +45 -0
- package/dist/serialization/resources/agentCapabilities/types/TriggerCapability.d.ts +14 -0
- package/dist/serialization/resources/agentCapabilities/types/TriggerCapability.js +47 -0
- package/dist/serialization/resources/agentCapabilities/types/TriggerType.d.ts +10 -0
- package/dist/serialization/resources/agentCapabilities/types/TriggerType.js +41 -0
- package/dist/serialization/resources/agentCapabilities/types/index.d.ts +10 -0
- package/dist/serialization/resources/agentCapabilities/types/index.js +26 -0
- package/dist/serialization/resources/agents/types/Agent.d.ts +1 -0
- package/dist/serialization/resources/agents/types/Agent.js +1 -0
- package/dist/serialization/resources/agents/types/AgentPatchRequest.d.ts +1 -0
- package/dist/serialization/resources/agents/types/AgentPatchRequest.js +1 -0
- package/dist/serialization/resources/agents/types/PiiCategory.d.ts +1 -1
- package/dist/serialization/resources/agents/types/PiiCategory.js +1 -1
- package/dist/serialization/resources/analytics/types/AgentUserAnalyticsRequest.d.ts +14 -0
- package/dist/serialization/resources/analytics/types/AgentUserAnalyticsRequest.js +45 -0
- package/dist/serialization/resources/analytics/types/AgentUserColumnDefinition.d.ts +14 -0
- package/dist/serialization/resources/analytics/types/AgentUserColumnDefinition.js +47 -0
- package/dist/serialization/resources/analytics/types/AgentUserCount.d.ts +11 -0
- package/dist/serialization/resources/analytics/types/AgentUserCount.js +41 -0
- package/dist/serialization/resources/analytics/types/AgentUserMetric.d.ts +14 -0
- package/dist/serialization/resources/analytics/types/AgentUserMetric.js +49 -0
- package/dist/serialization/resources/analytics/types/AgentUserRow.d.ts +15 -0
- package/dist/serialization/resources/analytics/types/AgentUserRow.js +48 -0
- package/dist/serialization/resources/analytics/types/AgentUserTableRequest.d.ts +16 -0
- package/dist/serialization/resources/analytics/types/AgentUserTableRequest.js +49 -0
- package/dist/serialization/resources/analytics/types/AgentUserTableResponse.d.ts +14 -0
- package/dist/serialization/resources/analytics/types/AgentUserTableResponse.js +47 -0
- package/dist/serialization/resources/analytics/types/ConversationAnalyticsRequest.d.ts +1 -0
- package/dist/serialization/resources/analytics/types/ConversationAnalyticsRequest.js +1 -0
- package/dist/serialization/resources/analytics/types/FeedbackAnalyticsRequest.d.ts +1 -0
- package/dist/serialization/resources/analytics/types/FeedbackAnalyticsRequest.js +1 -0
- package/dist/serialization/resources/analytics/types/FieldValue.d.ts +2 -2
- package/dist/serialization/resources/analytics/types/FieldValue.js +2 -2
- package/dist/serialization/resources/analytics/types/index.d.ts +7 -0
- package/dist/serialization/resources/analytics/types/index.js +7 -0
- package/dist/serialization/resources/commons/types/ActionExecutionParamValue.d.ts +18 -0
- package/dist/serialization/resources/commons/types/ActionExecutionParamValue.js +52 -0
- package/dist/serialization/resources/commons/types/ActionOAuthConfiguration.d.ts +18 -0
- package/dist/serialization/resources/commons/types/ActionOAuthConfiguration.js +49 -0
- package/dist/serialization/resources/commons/types/ActionParameter.d.ts +3 -0
- package/dist/serialization/resources/commons/types/ActionParameter.js +3 -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/BotLogicActionExecutedDetail.d.ts +2 -1
- package/dist/serialization/resources/commons/types/BotLogicActionExecutedDetail.js +2 -1
- package/dist/serialization/resources/commons/types/BotOAuthButtonResponse.d.ts +13 -0
- package/dist/serialization/resources/commons/types/BotOAuthButtonResponse.js +44 -0
- package/dist/serialization/resources/commons/types/BotResponse.d.ts +5 -1
- package/dist/serialization/resources/commons/types/BotResponse.js +2 -0
- package/dist/serialization/resources/commons/types/Capability.d.ts +1 -1
- package/dist/serialization/resources/commons/types/Capability.js +1 -1
- package/dist/serialization/resources/commons/types/EntityResult.d.ts +13 -0
- package/dist/serialization/resources/commons/types/EntityResult.js +46 -0
- package/dist/serialization/resources/{events → commons}/types/EventBaseNoId.d.ts +2 -2
- package/dist/serialization/resources/{events → commons}/types/EventBaseNoId.js +2 -2
- package/dist/serialization/resources/{events → commons}/types/EventFilter.d.ts +3 -2
- package/dist/serialization/resources/{events → commons}/types/EventFilter.js +3 -2
- package/dist/serialization/resources/commons/types/EventRequest.d.ts +18 -0
- package/dist/serialization/resources/commons/types/EventRequest.js +51 -0
- package/dist/serialization/resources/{events/types/UserInfo.d.ts → commons/types/EventUserInfo.d.ts} +3 -3
- package/{serialization/resources/events/types/UserInfo.js → dist/serialization/resources/commons/types/EventUserInfo.js} +3 -3
- package/dist/serialization/resources/commons/types/EventUserInfoBase.d.ts +13 -0
- package/dist/serialization/resources/commons/types/EventUserInfoBase.js +44 -0
- package/dist/serialization/resources/{events → commons}/types/EventsSearchRequest.d.ts +1 -1
- package/{serialization/resources/events → dist/serialization/resources/commons}/types/EventsSearchRequest.js +1 -1
- package/dist/serialization/resources/{events → commons}/types/EventsSearchResponse.d.ts +1 -1
- package/dist/serialization/resources/{events → commons}/types/EventsSearchResponse.js +1 -1
- package/dist/serialization/resources/commons/types/NovelSystemEvent.d.ts +14 -0
- package/dist/serialization/resources/commons/types/NovelSystemEvent.js +47 -0
- package/dist/serialization/resources/commons/types/NovelUserEvent.d.ts +22 -0
- package/dist/serialization/resources/commons/types/NovelUserEvent.js +55 -0
- package/dist/serialization/resources/commons/types/QualityReason.d.ts +1 -1
- package/dist/serialization/resources/commons/types/QualityReason.js +1 -0
- package/dist/serialization/resources/commons/types/ScopedEntity.d.ts +14 -0
- package/dist/serialization/resources/commons/types/ScopedEntity.js +45 -0
- package/dist/serialization/resources/{events → commons}/types/SystemEvent.d.ts +1 -1
- package/dist/serialization/resources/{events → commons}/types/SystemEvent.js +1 -1
- package/{serialization/resources/events → dist/serialization/resources/commons}/types/UserEvent.d.ts +3 -3
- package/{serialization/resources/events → dist/serialization/resources/commons}/types/UserEvent.js +3 -3
- package/dist/serialization/resources/{events → commons}/types/UserEventName.d.ts +1 -1
- package/dist/serialization/resources/{events → commons}/types/UserEventName.js +1 -1
- package/dist/serialization/resources/commons/types/index.d.ts +38 -0
- package/dist/serialization/resources/commons/types/index.js +38 -0
- package/dist/serialization/resources/conversation/types/ActionFormAttachment.d.ts +13 -0
- package/dist/serialization/resources/conversation/types/ActionFormAttachment.js +44 -0
- package/dist/serialization/resources/conversation/types/ActionFormRequestParamValue.d.ts +11 -0
- package/dist/serialization/resources/conversation/types/ActionFormRequestParamValue.js +42 -0
- package/dist/serialization/resources/conversation/types/AskStreamOAuthButtonEvent.d.ts +12 -0
- package/dist/serialization/resources/conversation/types/AskStreamOAuthButtonEvent.js +42 -0
- package/dist/serialization/resources/conversation/types/ConversationFilter.d.ts +2 -0
- package/dist/serialization/resources/conversation/types/ConversationFilter.js +2 -0
- package/dist/serialization/resources/conversation/types/StreamResponse.d.ts +5 -1
- package/dist/serialization/resources/conversation/types/StreamResponse.js +2 -0
- package/dist/serialization/resources/conversation/types/SubmitActionFormRequest.d.ts +2 -1
- package/dist/serialization/resources/conversation/types/SubmitActionFormRequest.js +2 -1
- package/dist/serialization/resources/conversation/types/index.d.ts +3 -0
- package/dist/serialization/resources/conversation/types/index.js +3 -0
- package/dist/serialization/resources/index.d.ts +6 -2
- package/dist/serialization/resources/index.js +7 -3
- package/dist/serialization/resources/knowledge/client/index.d.ts +1 -0
- package/dist/serialization/resources/knowledge/client/index.js +17 -0
- package/dist/serialization/resources/knowledge/client/requests/KnowledgeBasePatchRequest.d.ts +21 -0
- package/dist/serialization/resources/knowledge/{types → client/requests}/KnowledgeBasePatchRequest.js +7 -3
- package/dist/serialization/resources/knowledge/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/knowledge/client/requests/index.js +5 -0
- package/dist/serialization/resources/knowledge/index.d.ts +1 -0
- package/dist/serialization/resources/knowledge/index.js +1 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseFilter.d.ts +1 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseFilter.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 +2 -3
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseVersion.js +5 -4
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseVersionRequest.d.ts +13 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseVersionRequest.js +44 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseVersionsListResponse.d.ts +13 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseVersionsListResponse.js +44 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeDeleteRequest.d.ts +13 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeDeleteRequest.js +44 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentFilter.d.ts +3 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentFilter.js +3 -0
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentResponse.d.ts +2 -4
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentResponse.js +2 -4
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +1 -1
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.js +1 -1
- package/dist/serialization/resources/knowledge/types/index.d.ts +3 -1
- package/dist/serialization/resources/knowledge/types/index.js +3 -1
- package/dist/serialization/resources/organizations/types/BaseOrganization.d.ts +13 -0
- package/dist/serialization/resources/organizations/types/BaseOrganization.js +44 -0
- package/dist/serialization/resources/organizations/types/CreateOrganizationRequest.d.ts +12 -0
- package/dist/serialization/resources/organizations/types/CreateOrganizationRequest.js +42 -0
- package/dist/serialization/resources/organizations/types/Organization.d.ts +14 -0
- package/dist/serialization/resources/organizations/types/Organization.js +47 -0
- package/dist/serialization/resources/organizations/types/OrganizationPatchRequest.d.ts +13 -0
- package/dist/serialization/resources/organizations/types/OrganizationPatchRequest.js +44 -0
- package/dist/serialization/resources/organizations/types/index.d.ts +4 -0
- package/dist/serialization/resources/organizations/types/index.js +20 -0
- package/dist/serialization/resources/triggers/types/EventTriggerType.d.ts +1 -1
- package/dist/serialization/resources/triggers/types/EventTriggerType.js +1 -1
- package/dist/serialization/resources/users/types/AgentUserFilter.d.ts +1 -0
- package/dist/serialization/resources/users/types/AgentUserFilter.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +732 -43
- package/serialization/resources/actions/client/index.d.ts +1 -0
- package/serialization/resources/actions/client/index.js +17 -0
- package/serialization/resources/actions/client/requests/ActionPatchRequest.d.ts +17 -0
- package/serialization/resources/actions/{types → client/requests}/ActionPatchRequest.js +4 -2
- package/serialization/resources/actions/client/requests/index.d.ts +1 -0
- package/serialization/resources/actions/client/requests/index.js +5 -0
- package/serialization/resources/actions/index.d.ts +1 -0
- package/serialization/resources/actions/index.js +1 -0
- package/serialization/resources/actions/types/index.d.ts +0 -1
- package/serialization/resources/actions/types/index.js +0 -1
- package/serialization/resources/agentCapabilities/index.d.ts +1 -0
- package/serialization/resources/agentCapabilities/index.js +17 -0
- package/serialization/resources/agentCapabilities/types/ActionCapability.d.ts +20 -0
- package/serialization/resources/agentCapabilities/types/ActionCapability.js +54 -0
- package/serialization/resources/agentCapabilities/types/AgentCapability.d.ts +18 -0
- package/serialization/resources/agentCapabilities/types/AgentCapability.js +51 -0
- package/serialization/resources/agentCapabilities/types/AgentCapabilityBase.d.ts +18 -0
- package/serialization/resources/agentCapabilities/types/AgentCapabilityBase.js +49 -0
- package/serialization/resources/agentCapabilities/types/AgentCapabilityField.d.ts +10 -0
- package/serialization/resources/agentCapabilities/types/AgentCapabilityField.js +41 -0
- package/serialization/resources/agentCapabilities/types/AgentCapabilityListRequest.d.ts +21 -0
- package/serialization/resources/agentCapabilities/types/AgentCapabilityListRequest.js +54 -0
- package/serialization/resources/agentCapabilities/types/AgentCapabilityType.d.ts +10 -0
- package/serialization/resources/agentCapabilities/types/AgentCapabilityType.js +41 -0
- package/serialization/resources/agentCapabilities/types/ListAgentCapabilitiesResponse.d.ts +15 -0
- package/serialization/resources/agentCapabilities/types/ListAgentCapabilitiesResponse.js +48 -0
- package/serialization/resources/agentCapabilities/types/PatchAgentCapabilityRequest.d.ts +14 -0
- package/serialization/resources/agentCapabilities/types/PatchAgentCapabilityRequest.js +45 -0
- package/serialization/resources/agentCapabilities/types/TriggerCapability.d.ts +14 -0
- package/serialization/resources/agentCapabilities/types/TriggerCapability.js +47 -0
- package/serialization/resources/agentCapabilities/types/TriggerType.d.ts +10 -0
- package/serialization/resources/agentCapabilities/types/TriggerType.js +41 -0
- package/serialization/resources/agentCapabilities/types/index.d.ts +10 -0
- package/serialization/resources/agentCapabilities/types/index.js +26 -0
- package/serialization/resources/agents/types/Agent.d.ts +1 -0
- package/serialization/resources/agents/types/Agent.js +1 -0
- package/serialization/resources/agents/types/AgentPatchRequest.d.ts +1 -0
- package/serialization/resources/agents/types/AgentPatchRequest.js +1 -0
- package/serialization/resources/agents/types/PiiCategory.d.ts +1 -1
- package/serialization/resources/agents/types/PiiCategory.js +1 -1
- package/serialization/resources/analytics/types/AgentUserAnalyticsRequest.d.ts +14 -0
- package/serialization/resources/analytics/types/AgentUserAnalyticsRequest.js +45 -0
- package/serialization/resources/analytics/types/AgentUserColumnDefinition.d.ts +14 -0
- package/serialization/resources/analytics/types/AgentUserColumnDefinition.js +47 -0
- package/serialization/resources/analytics/types/AgentUserCount.d.ts +11 -0
- package/serialization/resources/analytics/types/AgentUserCount.js +41 -0
- package/serialization/resources/analytics/types/AgentUserMetric.d.ts +14 -0
- package/serialization/resources/analytics/types/AgentUserMetric.js +49 -0
- package/serialization/resources/analytics/types/AgentUserRow.d.ts +15 -0
- package/serialization/resources/analytics/types/AgentUserRow.js +48 -0
- package/serialization/resources/analytics/types/AgentUserTableRequest.d.ts +16 -0
- package/serialization/resources/analytics/types/AgentUserTableRequest.js +49 -0
- package/serialization/resources/analytics/types/AgentUserTableResponse.d.ts +14 -0
- package/serialization/resources/analytics/types/AgentUserTableResponse.js +47 -0
- package/serialization/resources/analytics/types/ConversationAnalyticsRequest.d.ts +1 -0
- package/serialization/resources/analytics/types/ConversationAnalyticsRequest.js +1 -0
- package/serialization/resources/analytics/types/FeedbackAnalyticsRequest.d.ts +1 -0
- package/serialization/resources/analytics/types/FeedbackAnalyticsRequest.js +1 -0
- package/serialization/resources/analytics/types/FieldValue.d.ts +2 -2
- package/serialization/resources/analytics/types/FieldValue.js +2 -2
- package/serialization/resources/analytics/types/index.d.ts +7 -0
- package/serialization/resources/analytics/types/index.js +7 -0
- package/serialization/resources/commons/types/ActionExecutionParamValue.d.ts +18 -0
- package/serialization/resources/commons/types/ActionExecutionParamValue.js +52 -0
- package/serialization/resources/commons/types/ActionOAuthConfiguration.d.ts +18 -0
- package/serialization/resources/commons/types/ActionOAuthConfiguration.js +49 -0
- package/serialization/resources/commons/types/ActionParameter.d.ts +3 -0
- package/serialization/resources/commons/types/ActionParameter.js +3 -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/BotLogicActionExecutedDetail.d.ts +2 -1
- package/serialization/resources/commons/types/BotLogicActionExecutedDetail.js +2 -1
- package/serialization/resources/commons/types/BotOAuthButtonResponse.d.ts +13 -0
- package/serialization/resources/commons/types/BotOAuthButtonResponse.js +44 -0
- package/serialization/resources/commons/types/BotResponse.d.ts +5 -1
- package/serialization/resources/commons/types/BotResponse.js +2 -0
- package/serialization/resources/commons/types/Capability.d.ts +1 -1
- package/serialization/resources/commons/types/Capability.js +1 -1
- package/serialization/resources/commons/types/EntityResult.d.ts +13 -0
- package/serialization/resources/commons/types/EntityResult.js +46 -0
- package/serialization/resources/{events → commons}/types/EventBaseNoId.d.ts +2 -2
- package/serialization/resources/{events → commons}/types/EventBaseNoId.js +2 -2
- package/serialization/resources/{events → commons}/types/EventFilter.d.ts +3 -2
- package/serialization/resources/{events → commons}/types/EventFilter.js +3 -2
- package/serialization/resources/commons/types/EventRequest.d.ts +18 -0
- package/serialization/resources/commons/types/EventRequest.js +51 -0
- package/serialization/resources/{events/types/UserInfo.d.ts → commons/types/EventUserInfo.d.ts} +3 -3
- package/{dist/serialization/resources/events/types/UserInfo.js → serialization/resources/commons/types/EventUserInfo.js} +3 -3
- package/serialization/resources/commons/types/EventUserInfoBase.d.ts +13 -0
- package/serialization/resources/commons/types/EventUserInfoBase.js +44 -0
- package/serialization/resources/{events → commons}/types/EventsSearchRequest.d.ts +1 -1
- package/{dist/serialization/resources/events → serialization/resources/commons}/types/EventsSearchRequest.js +1 -1
- package/serialization/resources/{events → commons}/types/EventsSearchResponse.d.ts +1 -1
- package/serialization/resources/{events → commons}/types/EventsSearchResponse.js +1 -1
- package/serialization/resources/commons/types/NovelSystemEvent.d.ts +14 -0
- package/serialization/resources/commons/types/NovelSystemEvent.js +47 -0
- package/serialization/resources/commons/types/NovelUserEvent.d.ts +22 -0
- package/serialization/resources/commons/types/NovelUserEvent.js +55 -0
- package/serialization/resources/commons/types/QualityReason.d.ts +1 -1
- package/serialization/resources/commons/types/QualityReason.js +1 -0
- package/serialization/resources/commons/types/ScopedEntity.d.ts +14 -0
- package/serialization/resources/commons/types/ScopedEntity.js +45 -0
- package/serialization/resources/{events → commons}/types/SystemEvent.d.ts +1 -1
- package/serialization/resources/{events → commons}/types/SystemEvent.js +1 -1
- package/{dist/serialization/resources/events → serialization/resources/commons}/types/UserEvent.d.ts +3 -3
- package/{dist/serialization/resources/events → serialization/resources/commons}/types/UserEvent.js +3 -3
- package/serialization/resources/{events → commons}/types/UserEventName.d.ts +1 -1
- package/serialization/resources/{events → commons}/types/UserEventName.js +1 -1
- package/serialization/resources/commons/types/index.d.ts +38 -0
- package/serialization/resources/commons/types/index.js +38 -0
- package/serialization/resources/conversation/types/ActionFormAttachment.d.ts +13 -0
- package/serialization/resources/conversation/types/ActionFormAttachment.js +44 -0
- package/serialization/resources/conversation/types/ActionFormRequestParamValue.d.ts +11 -0
- package/serialization/resources/conversation/types/ActionFormRequestParamValue.js +42 -0
- package/serialization/resources/conversation/types/AskStreamOAuthButtonEvent.d.ts +12 -0
- package/serialization/resources/conversation/types/AskStreamOAuthButtonEvent.js +42 -0
- package/serialization/resources/conversation/types/ConversationFilter.d.ts +2 -0
- package/serialization/resources/conversation/types/ConversationFilter.js +2 -0
- package/serialization/resources/conversation/types/StreamResponse.d.ts +5 -1
- package/serialization/resources/conversation/types/StreamResponse.js +2 -0
- package/serialization/resources/conversation/types/SubmitActionFormRequest.d.ts +2 -1
- package/serialization/resources/conversation/types/SubmitActionFormRequest.js +2 -1
- package/serialization/resources/conversation/types/index.d.ts +3 -0
- package/serialization/resources/conversation/types/index.js +3 -0
- package/serialization/resources/index.d.ts +6 -2
- package/serialization/resources/index.js +7 -3
- package/serialization/resources/knowledge/client/index.d.ts +1 -0
- package/serialization/resources/knowledge/client/index.js +17 -0
- package/serialization/resources/knowledge/client/requests/KnowledgeBasePatchRequest.d.ts +21 -0
- package/serialization/resources/knowledge/{types → client/requests}/KnowledgeBasePatchRequest.js +7 -3
- package/serialization/resources/knowledge/client/requests/index.d.ts +1 -0
- package/serialization/resources/knowledge/client/requests/index.js +5 -0
- package/serialization/resources/knowledge/index.d.ts +1 -0
- package/serialization/resources/knowledge/index.js +1 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseFilter.d.ts +1 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseFilter.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 +2 -3
- package/serialization/resources/knowledge/types/KnowledgeBaseVersion.js +5 -4
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionRequest.d.ts +13 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionRequest.js +44 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionsListResponse.d.ts +13 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionsListResponse.js +44 -0
- package/serialization/resources/knowledge/types/KnowledgeDeleteRequest.d.ts +13 -0
- package/serialization/resources/knowledge/types/KnowledgeDeleteRequest.js +44 -0
- package/serialization/resources/knowledge/types/KnowledgeDocumentFilter.d.ts +3 -0
- package/serialization/resources/knowledge/types/KnowledgeDocumentFilter.js +3 -0
- package/serialization/resources/knowledge/types/KnowledgeDocumentResponse.d.ts +2 -4
- package/serialization/resources/knowledge/types/KnowledgeDocumentResponse.js +2 -4
- package/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +1 -1
- package/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.js +1 -1
- package/serialization/resources/knowledge/types/index.d.ts +3 -1
- package/serialization/resources/knowledge/types/index.js +3 -1
- package/serialization/resources/organizations/index.d.ts +1 -0
- package/serialization/resources/organizations/index.js +17 -0
- package/serialization/resources/organizations/types/BaseOrganization.d.ts +13 -0
- package/serialization/resources/organizations/types/BaseOrganization.js +44 -0
- package/serialization/resources/organizations/types/CreateOrganizationRequest.d.ts +12 -0
- package/serialization/resources/organizations/types/CreateOrganizationRequest.js +42 -0
- package/serialization/resources/organizations/types/Organization.d.ts +14 -0
- package/serialization/resources/organizations/types/Organization.js +47 -0
- package/serialization/resources/organizations/types/OrganizationPatchRequest.d.ts +13 -0
- package/serialization/resources/organizations/types/OrganizationPatchRequest.js +44 -0
- package/serialization/resources/organizations/types/index.d.ts +4 -0
- package/serialization/resources/organizations/types/index.js +20 -0
- package/serialization/resources/triggers/types/EventTriggerType.d.ts +1 -1
- package/serialization/resources/triggers/types/EventTriggerType.js +1 -1
- package/serialization/resources/users/types/AgentUserFilter.d.ts +1 -0
- package/serialization/resources/users/types/AgentUserFilter.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/actions/types/ActionPatchRequest.d.ts +0 -12
- package/api/resources/events/types/index.d.ts +0 -29
- package/api/resources/events/types/index.js +0 -45
- package/api/resources/knowledge/types/KnowledgeBasePatchRequest.d.ts +0 -16
- package/dist/api/resources/actions/types/ActionPatchRequest.d.ts +0 -12
- package/dist/api/resources/events/types/index.d.ts +0 -29
- package/dist/api/resources/events/types/index.js +0 -45
- package/dist/api/resources/knowledge/types/KnowledgeBasePatchRequest.d.ts +0 -16
- package/dist/serialization/resources/actions/types/ActionPatchRequest.d.ts +0 -15
- package/dist/serialization/resources/events/types/index.d.ts +0 -29
- package/dist/serialization/resources/events/types/index.js +0 -45
- package/dist/serialization/resources/knowledge/types/KnowledgeBasePatchRequest.d.ts +0 -18
- package/serialization/resources/actions/types/ActionPatchRequest.d.ts +0 -15
- package/serialization/resources/events/types/index.d.ts +0 -29
- package/serialization/resources/events/types/index.js +0 -45
- package/serialization/resources/knowledge/types/KnowledgeBasePatchRequest.d.ts +0 -18
- /package/api/resources/actions/{types → client/requests}/ActionPatchRequest.js +0 -0
- /package/api/resources/{events/types/BrowserInfo.js → agentCapabilities/types/ActionCapability.js} +0 -0
- /package/api/resources/{events/types/ContextInfo.js → agentCapabilities/types/AgentCapability.js} +0 -0
- /package/api/resources/{events/types/DeviceInfo.js → agentCapabilities/types/AgentCapabilityBase.js} +0 -0
- /package/api/resources/{events/types/EventBaseNoId.js → agentCapabilities/types/AgentCapabilityListRequest.js} +0 -0
- /package/api/resources/{events/types/EventFilter.js → agentCapabilities/types/ListAgentCapabilitiesResponse.js} +0 -0
- /package/api/resources/{events/types/EventResponse.js → agentCapabilities/types/PatchAgentCapabilityRequest.js} +0 -0
- /package/api/resources/{events/types/EventsSearchRequest.js → agentCapabilities/types/TriggerCapability.js} +0 -0
- /package/api/resources/{events/types/EventsSearchResponse.js → analytics/types/AgentUserAnalyticsRequest.js} +0 -0
- /package/api/resources/{events/types/FeedbackInfo.js → analytics/types/AgentUserColumnDefinition.js} +0 -0
- /package/api/resources/{events/types/GeoInfo.js → analytics/types/AgentUserCount.js} +0 -0
- /package/api/resources/{events/types/IpInfo.js → analytics/types/AgentUserMetric.js} +0 -0
- /package/api/resources/{events/types/LanguageInfo.js → analytics/types/AgentUserRow.js} +0 -0
- /package/api/resources/{events/types/NovelSystemEventNoId.js → analytics/types/AgentUserTableRequest.js} +0 -0
- /package/api/resources/{events/types/OsInfo.js → analytics/types/AgentUserTableResponse.js} +0 -0
- /package/api/resources/{events/types/PageInfo.js → commons/types/ActionExecutionParamValue.js} +0 -0
- /package/api/resources/{events/types/SessionInfo.js → commons/types/ActionOAuthConfiguration.js} +0 -0
- /package/api/resources/{events/types/SourceInfo.js → commons/types/BotOAuthButtonResponse.js} +0 -0
- /package/api/resources/{events → commons}/types/BrowserInfo.d.ts +0 -0
- /package/{dist/api/resources/events → api/resources/commons}/types/BrowserInfo.js +0 -0
- /package/api/resources/{events → commons}/types/BrowserType.d.ts +0 -0
- /package/api/resources/{events → commons}/types/BrowserType.js +0 -0
- /package/api/resources/{events → commons}/types/ContextInfo.d.ts +0 -0
- /package/{dist/api/resources/events → api/resources/commons}/types/ContextInfo.js +0 -0
- /package/api/resources/{events → commons}/types/DeviceInfo.d.ts +0 -0
- /package/{dist/api/resources/events → api/resources/commons}/types/DeviceInfo.js +0 -0
- /package/api/resources/{events → commons}/types/DeviceType.d.ts +0 -0
- /package/api/resources/{events → commons}/types/DeviceType.js +0 -0
- /package/api/resources/{events/types/SurveyInfo.js → commons/types/EntityResult.js} +0 -0
- /package/{dist/api/resources/events → api/resources/commons}/types/EventBaseNoId.js +0 -0
- /package/api/resources/{events → commons}/types/EventField.d.ts +0 -0
- /package/api/resources/{events → commons}/types/EventField.js +0 -0
- /package/{dist/api/resources/events → api/resources/commons}/types/EventFilter.js +0 -0
- /package/api/resources/{events/types/SystemEvent.js → commons/types/EventRequest.js} +0 -0
- /package/api/resources/{events → commons}/types/EventResponse.d.ts +0 -0
- /package/{dist/api/resources/events → api/resources/commons}/types/EventResponse.js +0 -0
- /package/api/resources/{events → commons}/types/EventType.d.ts +0 -0
- /package/api/resources/{events → commons}/types/EventType.js +0 -0
- /package/api/resources/{events/types/UserEvent.js → commons/types/EventUserInfo.js} +0 -0
- /package/api/resources/{events/types/UserInfo.js → commons/types/EventUserInfoBase.js} +0 -0
- /package/api/resources/{events → commons}/types/EventsSearchRequest.d.ts +0 -0
- /package/{dist/api/resources/events → api/resources/commons}/types/EventsSearchRequest.js +0 -0
- /package/api/resources/{events → commons}/types/EventsSearchResponse.d.ts +0 -0
- /package/{dist/api/resources/events → api/resources/commons}/types/EventsSearchResponse.js +0 -0
- /package/api/resources/{events → commons}/types/FeedbackInfo.d.ts +0 -0
- /package/{dist/api/resources/events → api/resources/commons}/types/FeedbackInfo.js +0 -0
- /package/api/resources/{events → commons}/types/GeoInfo.d.ts +0 -0
- /package/{dist/api/resources/events → api/resources/commons}/types/GeoInfo.js +0 -0
- /package/api/resources/{events → commons}/types/IpInfo.d.ts +0 -0
- /package/{dist/api/resources/events → api/resources/commons}/types/IpInfo.js +0 -0
- /package/api/resources/{events → commons}/types/LanguageInfo.d.ts +0 -0
- /package/{dist/api/resources/events → api/resources/commons}/types/LanguageInfo.js +0 -0
- /package/api/resources/{knowledge/types/KnowledgeBasePatchRequest.js → commons/types/NovelSystemEvent.js} +0 -0
- /package/api/resources/{events → commons}/types/NovelSystemEventNoId.d.ts +0 -0
- /package/{dist/api/resources/events → api/resources/commons}/types/NovelSystemEventNoId.js +0 -0
- /package/{dist/api/resources/actions/types/ActionPatchRequest.js → api/resources/commons/types/NovelUserEvent.js} +0 -0
- /package/api/resources/{events → commons}/types/OsInfo.d.ts +0 -0
- /package/{dist/api/resources/events → api/resources/commons}/types/OsInfo.js +0 -0
- /package/api/resources/{events → commons}/types/OsType.d.ts +0 -0
- /package/api/resources/{events → commons}/types/OsType.js +0 -0
- /package/api/resources/{events → commons}/types/PageInfo.d.ts +0 -0
- /package/{dist/api/resources/events → api/resources/commons}/types/PageInfo.js +0 -0
- /package/{dist/api/resources/events/types/SessionInfo.js → api/resources/commons/types/ScopedEntity.js} +0 -0
- /package/api/resources/{events → commons}/types/SessionInfo.d.ts +0 -0
- /package/{dist/api/resources/events/types/SourceInfo.js → api/resources/commons/types/SessionInfo.js} +0 -0
- /package/api/resources/{events → commons}/types/SourceInfo.d.ts +0 -0
- /package/{dist/api/resources/events/types/SurveyInfo.js → api/resources/commons/types/SourceInfo.js} +0 -0
- /package/api/resources/{events → commons}/types/SourceType.d.ts +0 -0
- /package/api/resources/{events → commons}/types/SourceType.js +0 -0
- /package/api/resources/{events → commons}/types/SurveyInfo.d.ts +0 -0
- /package/{dist/api/resources/events/types/SystemEvent.js → api/resources/commons/types/SurveyInfo.js} +0 -0
- /package/api/resources/{events → commons}/types/SystemEvent.d.ts +0 -0
- /package/{dist/api/resources/events/types/UserEvent.js → api/resources/commons/types/SystemEvent.js} +0 -0
- /package/api/resources/{events → commons}/types/SystemEventName.d.ts +0 -0
- /package/api/resources/{events → commons}/types/SystemEventName.js +0 -0
- /package/{dist/api/resources/events/types/UserInfo.js → api/resources/commons/types/UserEvent.js} +0 -0
- /package/{dist/api/resources/knowledge/types/KnowledgeBasePatchRequest.js → api/resources/conversation/types/ActionFormAttachment.js} +0 -0
- /package/dist/api/resources/{events → commons}/types/BrowserInfo.d.ts +0 -0
- /package/dist/api/resources/{events → commons}/types/BrowserType.d.ts +0 -0
- /package/dist/api/resources/{events → commons}/types/BrowserType.js +0 -0
- /package/dist/api/resources/{events → commons}/types/ContextInfo.d.ts +0 -0
- /package/dist/api/resources/{events → commons}/types/DeviceInfo.d.ts +0 -0
- /package/dist/api/resources/{events → commons}/types/DeviceType.d.ts +0 -0
- /package/dist/api/resources/{events → commons}/types/DeviceType.js +0 -0
- /package/dist/api/resources/{events → commons}/types/EventField.d.ts +0 -0
- /package/dist/api/resources/{events → commons}/types/EventField.js +0 -0
- /package/dist/api/resources/{events → commons}/types/EventResponse.d.ts +0 -0
- /package/dist/api/resources/{events → commons}/types/EventType.d.ts +0 -0
- /package/dist/api/resources/{events → commons}/types/EventType.js +0 -0
- /package/dist/api/resources/{events → commons}/types/EventsSearchRequest.d.ts +0 -0
- /package/dist/api/resources/{events → commons}/types/EventsSearchResponse.d.ts +0 -0
- /package/dist/api/resources/{events → commons}/types/FeedbackInfo.d.ts +0 -0
- /package/dist/api/resources/{events → commons}/types/GeoInfo.d.ts +0 -0
- /package/dist/api/resources/{events → commons}/types/IpInfo.d.ts +0 -0
- /package/dist/api/resources/{events → commons}/types/LanguageInfo.d.ts +0 -0
- /package/dist/api/resources/{events → commons}/types/NovelSystemEventNoId.d.ts +0 -0
- /package/dist/api/resources/{events → commons}/types/OsInfo.d.ts +0 -0
- /package/dist/api/resources/{events → commons}/types/OsType.d.ts +0 -0
- /package/dist/api/resources/{events → commons}/types/OsType.js +0 -0
- /package/dist/api/resources/{events → commons}/types/PageInfo.d.ts +0 -0
- /package/dist/api/resources/{events → commons}/types/SessionInfo.d.ts +0 -0
- /package/dist/api/resources/{events → commons}/types/SourceInfo.d.ts +0 -0
- /package/dist/api/resources/{events → commons}/types/SourceType.d.ts +0 -0
- /package/dist/api/resources/{events → commons}/types/SourceType.js +0 -0
- /package/dist/api/resources/{events → commons}/types/SurveyInfo.d.ts +0 -0
- /package/dist/api/resources/{events → commons}/types/SystemEvent.d.ts +0 -0
- /package/dist/api/resources/{events → commons}/types/SystemEventName.d.ts +0 -0
- /package/dist/api/resources/{events → commons}/types/SystemEventName.js +0 -0
- /package/dist/serialization/resources/{events → agentCapabilities}/index.d.ts +0 -0
- /package/dist/serialization/resources/{events → agentCapabilities}/index.js +0 -0
- /package/dist/serialization/resources/{events → commons}/types/BrowserInfo.d.ts +0 -0
- /package/dist/serialization/resources/{events → commons}/types/BrowserInfo.js +0 -0
- /package/dist/serialization/resources/{events → commons}/types/BrowserType.d.ts +0 -0
- /package/dist/serialization/resources/{events → commons}/types/BrowserType.js +0 -0
- /package/dist/serialization/resources/{events → commons}/types/ContextInfo.d.ts +0 -0
- /package/dist/serialization/resources/{events → commons}/types/ContextInfo.js +0 -0
- /package/dist/serialization/resources/{events → commons}/types/DeviceInfo.d.ts +0 -0
- /package/dist/serialization/resources/{events → commons}/types/DeviceInfo.js +0 -0
- /package/dist/serialization/resources/{events → commons}/types/DeviceType.d.ts +0 -0
- /package/dist/serialization/resources/{events → commons}/types/DeviceType.js +0 -0
- /package/dist/serialization/resources/{events → commons}/types/EventField.d.ts +0 -0
- /package/dist/serialization/resources/{events → commons}/types/EventField.js +0 -0
- /package/dist/serialization/resources/{events → commons}/types/EventResponse.d.ts +0 -0
- /package/dist/serialization/resources/{events → commons}/types/EventResponse.js +0 -0
- /package/dist/serialization/resources/{events → commons}/types/EventType.d.ts +0 -0
- /package/dist/serialization/resources/{events → commons}/types/EventType.js +0 -0
- /package/dist/serialization/resources/{events → commons}/types/FeedbackInfo.d.ts +0 -0
- /package/dist/serialization/resources/{events → commons}/types/FeedbackInfo.js +0 -0
- /package/dist/serialization/resources/{events → commons}/types/GeoInfo.d.ts +0 -0
- /package/dist/serialization/resources/{events → commons}/types/GeoInfo.js +0 -0
- /package/dist/serialization/resources/{events → commons}/types/IpInfo.d.ts +0 -0
- /package/dist/serialization/resources/{events → commons}/types/IpInfo.js +0 -0
- /package/dist/serialization/resources/{events → commons}/types/LanguageInfo.d.ts +0 -0
- /package/dist/serialization/resources/{events → commons}/types/LanguageInfo.js +0 -0
- /package/dist/serialization/resources/{events → commons}/types/NovelSystemEventNoId.d.ts +0 -0
- /package/dist/serialization/resources/{events → commons}/types/NovelSystemEventNoId.js +0 -0
- /package/dist/serialization/resources/{events → commons}/types/OsInfo.d.ts +0 -0
- /package/dist/serialization/resources/{events → commons}/types/OsInfo.js +0 -0
- /package/dist/serialization/resources/{events → commons}/types/OsType.d.ts +0 -0
- /package/dist/serialization/resources/{events → commons}/types/OsType.js +0 -0
- /package/dist/serialization/resources/{events → commons}/types/PageInfo.d.ts +0 -0
- /package/dist/serialization/resources/{events → commons}/types/PageInfo.js +0 -0
- /package/dist/serialization/resources/{events → commons}/types/SessionInfo.d.ts +0 -0
- /package/dist/serialization/resources/{events → commons}/types/SessionInfo.js +0 -0
- /package/dist/serialization/resources/{events → commons}/types/SourceInfo.d.ts +0 -0
- /package/dist/serialization/resources/{events → commons}/types/SourceInfo.js +0 -0
- /package/dist/serialization/resources/{events → commons}/types/SourceType.d.ts +0 -0
- /package/dist/serialization/resources/{events → commons}/types/SourceType.js +0 -0
- /package/dist/serialization/resources/{events → commons}/types/SurveyInfo.d.ts +0 -0
- /package/dist/serialization/resources/{events → commons}/types/SurveyInfo.js +0 -0
- /package/dist/serialization/resources/{events → commons}/types/SystemEventName.d.ts +0 -0
- /package/dist/serialization/resources/{events → commons}/types/SystemEventName.js +0 -0
- /package/{serialization/resources/events → dist/serialization/resources/organizations}/index.d.ts +0 -0
- /package/{serialization/resources/events → dist/serialization/resources/organizations}/index.js +0 -0
- /package/serialization/resources/{events → commons}/types/BrowserInfo.d.ts +0 -0
- /package/serialization/resources/{events → commons}/types/BrowserInfo.js +0 -0
- /package/serialization/resources/{events → commons}/types/BrowserType.d.ts +0 -0
- /package/serialization/resources/{events → commons}/types/BrowserType.js +0 -0
- /package/serialization/resources/{events → commons}/types/ContextInfo.d.ts +0 -0
- /package/serialization/resources/{events → commons}/types/ContextInfo.js +0 -0
- /package/serialization/resources/{events → commons}/types/DeviceInfo.d.ts +0 -0
- /package/serialization/resources/{events → commons}/types/DeviceInfo.js +0 -0
- /package/serialization/resources/{events → commons}/types/DeviceType.d.ts +0 -0
- /package/serialization/resources/{events → commons}/types/DeviceType.js +0 -0
- /package/serialization/resources/{events → commons}/types/EventField.d.ts +0 -0
- /package/serialization/resources/{events → commons}/types/EventField.js +0 -0
- /package/serialization/resources/{events → commons}/types/EventResponse.d.ts +0 -0
- /package/serialization/resources/{events → commons}/types/EventResponse.js +0 -0
- /package/serialization/resources/{events → commons}/types/EventType.d.ts +0 -0
- /package/serialization/resources/{events → commons}/types/EventType.js +0 -0
- /package/serialization/resources/{events → commons}/types/FeedbackInfo.d.ts +0 -0
- /package/serialization/resources/{events → commons}/types/FeedbackInfo.js +0 -0
- /package/serialization/resources/{events → commons}/types/GeoInfo.d.ts +0 -0
- /package/serialization/resources/{events → commons}/types/GeoInfo.js +0 -0
- /package/serialization/resources/{events → commons}/types/IpInfo.d.ts +0 -0
- /package/serialization/resources/{events → commons}/types/IpInfo.js +0 -0
- /package/serialization/resources/{events → commons}/types/LanguageInfo.d.ts +0 -0
- /package/serialization/resources/{events → commons}/types/LanguageInfo.js +0 -0
- /package/serialization/resources/{events → commons}/types/NovelSystemEventNoId.d.ts +0 -0
- /package/serialization/resources/{events → commons}/types/NovelSystemEventNoId.js +0 -0
- /package/serialization/resources/{events → commons}/types/OsInfo.d.ts +0 -0
- /package/serialization/resources/{events → commons}/types/OsInfo.js +0 -0
- /package/serialization/resources/{events → commons}/types/OsType.d.ts +0 -0
- /package/serialization/resources/{events → commons}/types/OsType.js +0 -0
- /package/serialization/resources/{events → commons}/types/PageInfo.d.ts +0 -0
- /package/serialization/resources/{events → commons}/types/PageInfo.js +0 -0
- /package/serialization/resources/{events → commons}/types/SessionInfo.d.ts +0 -0
- /package/serialization/resources/{events → commons}/types/SessionInfo.js +0 -0
- /package/serialization/resources/{events → commons}/types/SourceInfo.d.ts +0 -0
- /package/serialization/resources/{events → commons}/types/SourceInfo.js +0 -0
- /package/serialization/resources/{events → commons}/types/SourceType.d.ts +0 -0
- /package/serialization/resources/{events → commons}/types/SourceType.js +0 -0
- /package/serialization/resources/{events → commons}/types/SurveyInfo.d.ts +0 -0
- /package/serialization/resources/{events → commons}/types/SurveyInfo.js +0 -0
- /package/serialization/resources/{events → commons}/types/SystemEventName.d.ts +0 -0
- /package/serialization/resources/{events → commons}/types/SystemEventName.js +0 -0
|
@@ -0,0 +1,349 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
39
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
40
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
41
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
42
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
43
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
44
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
45
|
+
});
|
|
46
|
+
};
|
|
47
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
+
exports.AgentCapabilities = void 0;
|
|
49
|
+
const environments = __importStar(require("../../../../environments"));
|
|
50
|
+
const core = __importStar(require("../../../../core"));
|
|
51
|
+
const MavenAGI = __importStar(require("../../../index"));
|
|
52
|
+
const headers_1 = require("../../../../core/headers");
|
|
53
|
+
const serializers = __importStar(require("../../../../serialization/index"));
|
|
54
|
+
const errors = __importStar(require("../../../../errors/index"));
|
|
55
|
+
class AgentCapabilities {
|
|
56
|
+
constructor(_options) {
|
|
57
|
+
this._options = _options;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* List all capabilities for an agent.
|
|
61
|
+
*
|
|
62
|
+
* @param {MavenAGI.AgentCapabilityListRequest} request
|
|
63
|
+
* @param {AgentCapabilities.RequestOptions} requestOptions - Request-specific configuration.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link MavenAGI.NotFoundError}
|
|
66
|
+
* @throws {@link MavenAGI.BadRequestError}
|
|
67
|
+
* @throws {@link MavenAGI.ServerError}
|
|
68
|
+
*
|
|
69
|
+
* @example
|
|
70
|
+
* await client.agentCapabilities.list({})
|
|
71
|
+
*/
|
|
72
|
+
list(request, requestOptions) {
|
|
73
|
+
return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
|
|
74
|
+
}
|
|
75
|
+
__list(request, requestOptions) {
|
|
76
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
77
|
+
var _a, _b, _c, _d;
|
|
78
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
79
|
+
url: core.url.join((_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/capabilities"),
|
|
80
|
+
method: "POST",
|
|
81
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
82
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
83
|
+
"X-Organization-Id": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId,
|
|
84
|
+
"X-Agent-Id": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId,
|
|
85
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
86
|
+
contentType: "application/json",
|
|
87
|
+
requestType: "json",
|
|
88
|
+
body: serializers.AgentCapabilityListRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
89
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
90
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
91
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
92
|
+
});
|
|
93
|
+
if (_response.ok) {
|
|
94
|
+
return {
|
|
95
|
+
data: serializers.ListAgentCapabilitiesResponse.parseOrThrow(_response.body, {
|
|
96
|
+
unrecognizedObjectKeys: "passthrough",
|
|
97
|
+
allowUnrecognizedUnionMembers: true,
|
|
98
|
+
allowUnrecognizedEnumValues: true,
|
|
99
|
+
breadcrumbsPrefix: ["response"],
|
|
100
|
+
}),
|
|
101
|
+
rawResponse: _response.rawResponse,
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
if (_response.error.reason === "status-code") {
|
|
105
|
+
switch (_response.error.statusCode) {
|
|
106
|
+
case 404:
|
|
107
|
+
throw new MavenAGI.NotFoundError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
108
|
+
unrecognizedObjectKeys: "passthrough",
|
|
109
|
+
allowUnrecognizedUnionMembers: true,
|
|
110
|
+
allowUnrecognizedEnumValues: true,
|
|
111
|
+
breadcrumbsPrefix: ["response"],
|
|
112
|
+
}), _response.rawResponse);
|
|
113
|
+
case 400:
|
|
114
|
+
throw new MavenAGI.BadRequestError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
115
|
+
unrecognizedObjectKeys: "passthrough",
|
|
116
|
+
allowUnrecognizedUnionMembers: true,
|
|
117
|
+
allowUnrecognizedEnumValues: true,
|
|
118
|
+
breadcrumbsPrefix: ["response"],
|
|
119
|
+
}), _response.rawResponse);
|
|
120
|
+
case 500:
|
|
121
|
+
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
122
|
+
unrecognizedObjectKeys: "passthrough",
|
|
123
|
+
allowUnrecognizedUnionMembers: true,
|
|
124
|
+
allowUnrecognizedEnumValues: true,
|
|
125
|
+
breadcrumbsPrefix: ["response"],
|
|
126
|
+
}), _response.rawResponse);
|
|
127
|
+
default:
|
|
128
|
+
throw new errors.MavenAGIError({
|
|
129
|
+
statusCode: _response.error.statusCode,
|
|
130
|
+
body: _response.error.body,
|
|
131
|
+
rawResponse: _response.rawResponse,
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
switch (_response.error.reason) {
|
|
136
|
+
case "non-json":
|
|
137
|
+
throw new errors.MavenAGIError({
|
|
138
|
+
statusCode: _response.error.statusCode,
|
|
139
|
+
body: _response.error.rawBody,
|
|
140
|
+
rawResponse: _response.rawResponse,
|
|
141
|
+
});
|
|
142
|
+
case "timeout":
|
|
143
|
+
throw new errors.MavenAGITimeoutError("Timeout exceeded when calling POST /v1/capabilities.");
|
|
144
|
+
case "unknown":
|
|
145
|
+
throw new errors.MavenAGIError({
|
|
146
|
+
message: _response.error.errorMessage,
|
|
147
|
+
rawResponse: _response.rawResponse,
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* @param {string} integrationId
|
|
154
|
+
* @param {string} capabilityId
|
|
155
|
+
* @param {AgentCapabilities.RequestOptions} requestOptions - Request-specific configuration.
|
|
156
|
+
*
|
|
157
|
+
* @throws {@link MavenAGI.NotFoundError}
|
|
158
|
+
* @throws {@link MavenAGI.BadRequestError}
|
|
159
|
+
* @throws {@link MavenAGI.ServerError}
|
|
160
|
+
*
|
|
161
|
+
* @example
|
|
162
|
+
* await client.agentCapabilities.get("integrationId", "capabilityId")
|
|
163
|
+
*/
|
|
164
|
+
get(integrationId, capabilityId, requestOptions) {
|
|
165
|
+
return core.HttpResponsePromise.fromPromise(this.__get(integrationId, capabilityId, requestOptions));
|
|
166
|
+
}
|
|
167
|
+
__get(integrationId, capabilityId, requestOptions) {
|
|
168
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
169
|
+
var _a, _b, _c, _d;
|
|
170
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
171
|
+
url: core.url.join((_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/integrations/${encodeURIComponent(integrationId)}/capabilities/${encodeURIComponent(capabilityId)}`),
|
|
172
|
+
method: "GET",
|
|
173
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
174
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
175
|
+
"X-Organization-Id": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId,
|
|
176
|
+
"X-Agent-Id": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId,
|
|
177
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
178
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
179
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
180
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
181
|
+
});
|
|
182
|
+
if (_response.ok) {
|
|
183
|
+
return {
|
|
184
|
+
data: serializers.AgentCapability.parseOrThrow(_response.body, {
|
|
185
|
+
unrecognizedObjectKeys: "passthrough",
|
|
186
|
+
allowUnrecognizedUnionMembers: true,
|
|
187
|
+
allowUnrecognizedEnumValues: true,
|
|
188
|
+
breadcrumbsPrefix: ["response"],
|
|
189
|
+
}),
|
|
190
|
+
rawResponse: _response.rawResponse,
|
|
191
|
+
};
|
|
192
|
+
}
|
|
193
|
+
if (_response.error.reason === "status-code") {
|
|
194
|
+
switch (_response.error.statusCode) {
|
|
195
|
+
case 404:
|
|
196
|
+
throw new MavenAGI.NotFoundError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
197
|
+
unrecognizedObjectKeys: "passthrough",
|
|
198
|
+
allowUnrecognizedUnionMembers: true,
|
|
199
|
+
allowUnrecognizedEnumValues: true,
|
|
200
|
+
breadcrumbsPrefix: ["response"],
|
|
201
|
+
}), _response.rawResponse);
|
|
202
|
+
case 400:
|
|
203
|
+
throw new MavenAGI.BadRequestError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
204
|
+
unrecognizedObjectKeys: "passthrough",
|
|
205
|
+
allowUnrecognizedUnionMembers: true,
|
|
206
|
+
allowUnrecognizedEnumValues: true,
|
|
207
|
+
breadcrumbsPrefix: ["response"],
|
|
208
|
+
}), _response.rawResponse);
|
|
209
|
+
case 500:
|
|
210
|
+
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
211
|
+
unrecognizedObjectKeys: "passthrough",
|
|
212
|
+
allowUnrecognizedUnionMembers: true,
|
|
213
|
+
allowUnrecognizedEnumValues: true,
|
|
214
|
+
breadcrumbsPrefix: ["response"],
|
|
215
|
+
}), _response.rawResponse);
|
|
216
|
+
default:
|
|
217
|
+
throw new errors.MavenAGIError({
|
|
218
|
+
statusCode: _response.error.statusCode,
|
|
219
|
+
body: _response.error.body,
|
|
220
|
+
rawResponse: _response.rawResponse,
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
switch (_response.error.reason) {
|
|
225
|
+
case "non-json":
|
|
226
|
+
throw new errors.MavenAGIError({
|
|
227
|
+
statusCode: _response.error.statusCode,
|
|
228
|
+
body: _response.error.rawBody,
|
|
229
|
+
rawResponse: _response.rawResponse,
|
|
230
|
+
});
|
|
231
|
+
case "timeout":
|
|
232
|
+
throw new errors.MavenAGITimeoutError("Timeout exceeded when calling GET /v1/integrations/{integrationId}/capabilities/{capabilityId}.");
|
|
233
|
+
case "unknown":
|
|
234
|
+
throw new errors.MavenAGIError({
|
|
235
|
+
message: _response.error.errorMessage,
|
|
236
|
+
rawResponse: _response.rawResponse,
|
|
237
|
+
});
|
|
238
|
+
}
|
|
239
|
+
});
|
|
240
|
+
}
|
|
241
|
+
/**
|
|
242
|
+
* @param {string} integrationId
|
|
243
|
+
* @param {string} capabilityId
|
|
244
|
+
* @param {MavenAGI.PatchAgentCapabilityRequest} request
|
|
245
|
+
* @param {AgentCapabilities.RequestOptions} requestOptions - Request-specific configuration.
|
|
246
|
+
*
|
|
247
|
+
* @throws {@link MavenAGI.NotFoundError}
|
|
248
|
+
* @throws {@link MavenAGI.BadRequestError}
|
|
249
|
+
* @throws {@link MavenAGI.ServerError}
|
|
250
|
+
*
|
|
251
|
+
* @example
|
|
252
|
+
* await client.agentCapabilities.patch("integrationId", "capabilityId", {})
|
|
253
|
+
*/
|
|
254
|
+
patch(integrationId, capabilityId, request, requestOptions) {
|
|
255
|
+
return core.HttpResponsePromise.fromPromise(this.__patch(integrationId, capabilityId, request, requestOptions));
|
|
256
|
+
}
|
|
257
|
+
__patch(integrationId, capabilityId, request, requestOptions) {
|
|
258
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
259
|
+
var _a, _b, _c, _d;
|
|
260
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
261
|
+
url: core.url.join((_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/integrations/${encodeURIComponent(integrationId)}/capabilities/${encodeURIComponent(capabilityId)}`),
|
|
262
|
+
method: "PATCH",
|
|
263
|
+
headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
264
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
265
|
+
"X-Organization-Id": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId,
|
|
266
|
+
"X-Agent-Id": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId,
|
|
267
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
268
|
+
contentType: "application/json",
|
|
269
|
+
requestType: "json",
|
|
270
|
+
body: serializers.PatchAgentCapabilityRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
271
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
272
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
273
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
274
|
+
});
|
|
275
|
+
if (_response.ok) {
|
|
276
|
+
return {
|
|
277
|
+
data: serializers.AgentCapability.parseOrThrow(_response.body, {
|
|
278
|
+
unrecognizedObjectKeys: "passthrough",
|
|
279
|
+
allowUnrecognizedUnionMembers: true,
|
|
280
|
+
allowUnrecognizedEnumValues: true,
|
|
281
|
+
breadcrumbsPrefix: ["response"],
|
|
282
|
+
}),
|
|
283
|
+
rawResponse: _response.rawResponse,
|
|
284
|
+
};
|
|
285
|
+
}
|
|
286
|
+
if (_response.error.reason === "status-code") {
|
|
287
|
+
switch (_response.error.statusCode) {
|
|
288
|
+
case 404:
|
|
289
|
+
throw new MavenAGI.NotFoundError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
290
|
+
unrecognizedObjectKeys: "passthrough",
|
|
291
|
+
allowUnrecognizedUnionMembers: true,
|
|
292
|
+
allowUnrecognizedEnumValues: true,
|
|
293
|
+
breadcrumbsPrefix: ["response"],
|
|
294
|
+
}), _response.rawResponse);
|
|
295
|
+
case 400:
|
|
296
|
+
throw new MavenAGI.BadRequestError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
297
|
+
unrecognizedObjectKeys: "passthrough",
|
|
298
|
+
allowUnrecognizedUnionMembers: true,
|
|
299
|
+
allowUnrecognizedEnumValues: true,
|
|
300
|
+
breadcrumbsPrefix: ["response"],
|
|
301
|
+
}), _response.rawResponse);
|
|
302
|
+
case 500:
|
|
303
|
+
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
304
|
+
unrecognizedObjectKeys: "passthrough",
|
|
305
|
+
allowUnrecognizedUnionMembers: true,
|
|
306
|
+
allowUnrecognizedEnumValues: true,
|
|
307
|
+
breadcrumbsPrefix: ["response"],
|
|
308
|
+
}), _response.rawResponse);
|
|
309
|
+
default:
|
|
310
|
+
throw new errors.MavenAGIError({
|
|
311
|
+
statusCode: _response.error.statusCode,
|
|
312
|
+
body: _response.error.body,
|
|
313
|
+
rawResponse: _response.rawResponse,
|
|
314
|
+
});
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
switch (_response.error.reason) {
|
|
318
|
+
case "non-json":
|
|
319
|
+
throw new errors.MavenAGIError({
|
|
320
|
+
statusCode: _response.error.statusCode,
|
|
321
|
+
body: _response.error.rawBody,
|
|
322
|
+
rawResponse: _response.rawResponse,
|
|
323
|
+
});
|
|
324
|
+
case "timeout":
|
|
325
|
+
throw new errors.MavenAGITimeoutError("Timeout exceeded when calling PATCH /v1/integrations/{integrationId}/capabilities/{capabilityId}.");
|
|
326
|
+
case "unknown":
|
|
327
|
+
throw new errors.MavenAGIError({
|
|
328
|
+
message: _response.error.errorMessage,
|
|
329
|
+
rawResponse: _response.rawResponse,
|
|
330
|
+
});
|
|
331
|
+
}
|
|
332
|
+
});
|
|
333
|
+
}
|
|
334
|
+
_getAuthorizationHeader() {
|
|
335
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
336
|
+
var _a, _b;
|
|
337
|
+
const appId = (_a = (yield core.Supplier.get(this._options.appId))) !== null && _a !== void 0 ? _a : process === null || process === void 0 ? void 0 : process.env["MAVENAGI_APP_ID"];
|
|
338
|
+
const appSecret = (_b = (yield core.Supplier.get(this._options.appSecret))) !== null && _b !== void 0 ? _b : process === null || process === void 0 ? void 0 : process.env["MAVENAGI_APP_SECRET"];
|
|
339
|
+
if (appId != null && appSecret != null) {
|
|
340
|
+
return core.BasicAuth.toAuthorizationHeader({
|
|
341
|
+
username: appId,
|
|
342
|
+
password: appSecret,
|
|
343
|
+
});
|
|
344
|
+
}
|
|
345
|
+
return undefined;
|
|
346
|
+
});
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
exports.AgentCapabilities = AgentCapabilities;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as MavenAGI from "../../../index";
|
|
5
|
+
export interface ActionCapability extends MavenAGI.AgentCapabilityBase {
|
|
6
|
+
userInteractionRequired: boolean;
|
|
7
|
+
/** When user interaction is required, the name of the button that is shown to the end user to confirm execution of the action. Defaults to "Submit" if not supplied. */
|
|
8
|
+
buttonName: string | null;
|
|
9
|
+
/** The parameters that the action uses as input. An action will only be executed when all of the required parameters are provided. Parameter values may be inferred from the user's conversation by the LLM. */
|
|
10
|
+
userFormParameters: MavenAGI.ActionParameter[];
|
|
11
|
+
precondition?: MavenAGI.Precondition;
|
|
12
|
+
descriptionOverride?: string;
|
|
13
|
+
/** A human-readable explanation of the precondition associated with this action, if present. */
|
|
14
|
+
preconditionExplanation?: string;
|
|
15
|
+
pinned: boolean;
|
|
16
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as MavenAGI from "../../../index";
|
|
5
|
+
export type AgentCapability = MavenAGI.AgentCapability.Action | MavenAGI.AgentCapability.Trigger;
|
|
6
|
+
export declare namespace AgentCapability {
|
|
7
|
+
interface Action extends MavenAGI.ActionCapability {
|
|
8
|
+
type: "ACTION";
|
|
9
|
+
}
|
|
10
|
+
interface Trigger extends MavenAGI.TriggerCapability {
|
|
11
|
+
type: "TRIGGER";
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as MavenAGI from "../../../index";
|
|
5
|
+
export interface AgentCapabilityBase {
|
|
6
|
+
name: string;
|
|
7
|
+
description: string | null;
|
|
8
|
+
/** Timestamp when the capability was created */
|
|
9
|
+
createdAt: Date;
|
|
10
|
+
/** Whether this capability will be called by Maven. */
|
|
11
|
+
enabled: boolean;
|
|
12
|
+
version: number;
|
|
13
|
+
/** ID that uniquely identifies this capability */
|
|
14
|
+
capabilityId: MavenAGI.EntityId;
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type AgentCapabilityField = "CreatedAt" | "Enabled" | "Name" | "Type" | "UserInteractionRequired";
|
|
5
|
+
export declare const AgentCapabilityField: {
|
|
6
|
+
readonly CreatedAt: "CreatedAt";
|
|
7
|
+
readonly Enabled: "Enabled";
|
|
8
|
+
readonly Name: "Name";
|
|
9
|
+
readonly Type: "Type";
|
|
10
|
+
readonly UserInteractionRequired: "UserInteractionRequired";
|
|
11
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.AgentCapabilityField = void 0;
|
|
7
|
+
exports.AgentCapabilityField = {
|
|
8
|
+
CreatedAt: "CreatedAt",
|
|
9
|
+
Enabled: "Enabled",
|
|
10
|
+
Name: "Name",
|
|
11
|
+
Type: "Type",
|
|
12
|
+
UserInteractionRequired: "UserInteractionRequired",
|
|
13
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as MavenAGI from "../../../index";
|
|
5
|
+
export interface AgentCapabilityListRequest extends MavenAGI.BasePaginatedRequest {
|
|
6
|
+
capabilityType?: MavenAGI.AgentCapabilityType;
|
|
7
|
+
pinned?: boolean;
|
|
8
|
+
enabled?: boolean;
|
|
9
|
+
integrationIds?: string[];
|
|
10
|
+
description?: string | null;
|
|
11
|
+
userInteractionRequired?: boolean;
|
|
12
|
+
/** The field to sort by, defaults to created timestamp */
|
|
13
|
+
sortId?: MavenAGI.AgentCapabilityField;
|
|
14
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.AgentCapabilityType = void 0;
|
|
7
|
+
exports.AgentCapabilityType = {
|
|
8
|
+
Action: "ACTION",
|
|
9
|
+
Trigger: "TRIGGER",
|
|
10
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface PatchAgentCapabilityRequest {
|
|
5
|
+
/** Whether this capability is enabled or disabled */
|
|
6
|
+
enabled?: boolean;
|
|
7
|
+
/** Override description for action capabilities. Only applies to actions, ignored for triggers. */
|
|
8
|
+
descriptionOverride?: string | null;
|
|
9
|
+
/** Whether this action capability is pinned. Only applies to actions, ignored for triggers. */
|
|
10
|
+
pinned?: boolean;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type TriggerType = "CONVERSATION_CREATED" | "FEEDBACK_CREATED" | "INBOX_ITEM_CREATED" | "EVENT_CREATED";
|
|
5
|
+
export declare const TriggerType: {
|
|
6
|
+
readonly ConversationCreated: "CONVERSATION_CREATED";
|
|
7
|
+
readonly FeedbackCreated: "FEEDBACK_CREATED";
|
|
8
|
+
readonly InboxItemCreated: "INBOX_ITEM_CREATED";
|
|
9
|
+
readonly EventCreated: "EVENT_CREATED";
|
|
10
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.TriggerType = void 0;
|
|
7
|
+
exports.TriggerType = {
|
|
8
|
+
ConversationCreated: "CONVERSATION_CREATED",
|
|
9
|
+
FeedbackCreated: "FEEDBACK_CREATED",
|
|
10
|
+
InboxItemCreated: "INBOX_ITEM_CREATED",
|
|
11
|
+
EventCreated: "EVENT_CREATED",
|
|
12
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from "./AgentCapability";
|
|
2
|
+
export * from "./AgentCapabilityBase";
|
|
3
|
+
export * from "./ActionCapability";
|
|
4
|
+
export * from "./TriggerCapability";
|
|
5
|
+
export * from "./ListAgentCapabilitiesResponse";
|
|
6
|
+
export * from "./AgentCapabilityListRequest";
|
|
7
|
+
export * from "./PatchAgentCapabilityRequest";
|
|
8
|
+
export * from "./TriggerType";
|
|
9
|
+
export * from "./AgentCapabilityType";
|
|
10
|
+
export * from "./AgentCapabilityField";
|
|
@@ -0,0 +1,26 @@
|
|
|
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("./AgentCapability"), exports);
|
|
18
|
+
__exportStar(require("./AgentCapabilityBase"), exports);
|
|
19
|
+
__exportStar(require("./ActionCapability"), exports);
|
|
20
|
+
__exportStar(require("./TriggerCapability"), exports);
|
|
21
|
+
__exportStar(require("./ListAgentCapabilitiesResponse"), exports);
|
|
22
|
+
__exportStar(require("./AgentCapabilityListRequest"), exports);
|
|
23
|
+
__exportStar(require("./PatchAgentCapabilityRequest"), exports);
|
|
24
|
+
__exportStar(require("./TriggerType"), exports);
|
|
25
|
+
__exportStar(require("./AgentCapabilityType"), exports);
|
|
26
|
+
__exportStar(require("./AgentCapabilityField"), exports);
|
|
@@ -11,6 +11,8 @@ export interface Agent {
|
|
|
11
11
|
createdAt: Date;
|
|
12
12
|
/** The environment of the agent. Default is `DEMO`. */
|
|
13
13
|
environment: MavenAGI.AgentEnvironment;
|
|
14
|
+
/** The agent's default timezone. This is used when a timezone is not set on a conversation. */
|
|
15
|
+
defaultTimezone: string;
|
|
14
16
|
/**
|
|
15
17
|
* The PII categories that are enabled for the agent.
|
|
16
18
|
* PII will be automatically redacted from all conversation message text.
|
|
@@ -7,6 +7,8 @@ export interface AgentPatchRequest {
|
|
|
7
7
|
name?: string;
|
|
8
8
|
/** The environment of the agent. */
|
|
9
9
|
environment?: MavenAGI.AgentEnvironment;
|
|
10
|
+
/** The agent's default timezone. This is used when a timezone is not set on a conversation. */
|
|
11
|
+
defaultTimezone?: string;
|
|
10
12
|
/** The PII categories that are enabled for the agent. */
|
|
11
13
|
enabledPiiCategories?: Set<MavenAGI.PiiCategory>;
|
|
12
14
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type PiiCategory = "Name" | "Email" | "PhoneNumber" | "StreetAddress" | "CreditCardNumber" | "UsBankAccountNumber" | "UsSocialSecurityNumber" | "UsUkPassportNumber" | "UsDriversLicenseNumber" | "Date" | "IpAddress" | "Url" | "AbaRoutingNumber" | "Age" | "SwiftCode" | "AuBankAccountNumber" | "AuBusinessNumber" | "AuCompanyNumber" | "AuDriversLicenseNumber" | "AuMedicalAccountNumber" | "AuPassportNumber" | "AuTaxFileNumber" | "CaBankAccountNumber" | "CaDriversLicenseNumber" | "CaHealthServiceNumber" | "CaPassportNumber" | "CaPersonalHealthIdentification" | "CaSocialInsuranceNumber" | "EsDni" | "EsSocialSecurityNumber" | "EsTaxIdentificationNumber" | "EuDebitCardNumber" | "EuDriversLicenseNumber" | "EuGpsCoordinates" | "EuNationalIdentificationNumber" | "EuPassportNumber" | "EuSocialSecurityNumber" | "EuTaxIdentificationNumber" | "FrDriversLicenseNumber" | "FrHealthInsuranceNumber" | "FrNationalId" | "FrPassportNumber" | "FrSocialSecurityNumber" | "FrTaxIdentificationNumber" | "FrValueAddedTaxNumber" | "InternationalBankingAccountNumber" | "NzBankAccountNumber" | "NzDriversLicenseNumber" | "NzInlandRevenueNumber" | "NzMinistryOfHealthNumber" | "NzSocialWelfareNumber" | "UkDriversLicenseNumber" | "UkElectoralRollNumber" | "UkNationalHealthNumber" | "UkNationalInsuranceNumber" | "UkUniqueTaxpayerNumber"
|
|
4
|
+
export type PiiCategory = "Name" | "Email" | "PhoneNumber" | "StreetAddress" | "CreditCardNumber" | "UsBankAccountNumber" | "UsSocialSecurityNumber" | "UsUkPassportNumber" | "UsDriversLicenseNumber" | "UsIndividualTaxpayerIdentification" | "Date" | "IpAddress" | "Url" | "AbaRoutingNumber" | "Age" | "SwiftCode" | "AuBankAccountNumber" | "AuBusinessNumber" | "AuCompanyNumber" | "AuDriversLicenseNumber" | "AuMedicalAccountNumber" | "AuPassportNumber" | "AuTaxFileNumber" | "CaBankAccountNumber" | "CaDriversLicenseNumber" | "CaHealthServiceNumber" | "CaPassportNumber" | "CaPersonalHealthIdentification" | "CaSocialInsuranceNumber" | "EsDni" | "EsSocialSecurityNumber" | "EsTaxIdentificationNumber" | "EuDebitCardNumber" | "EuDriversLicenseNumber" | "EuGpsCoordinates" | "EuNationalIdentificationNumber" | "EuPassportNumber" | "EuSocialSecurityNumber" | "EuTaxIdentificationNumber" | "FrDriversLicenseNumber" | "FrHealthInsuranceNumber" | "FrNationalId" | "FrPassportNumber" | "FrSocialSecurityNumber" | "FrTaxIdentificationNumber" | "FrValueAddedTaxNumber" | "InternationalBankingAccountNumber" | "NzBankAccountNumber" | "NzDriversLicenseNumber" | "NzInlandRevenueNumber" | "NzMinistryOfHealthNumber" | "NzSocialWelfareNumber" | "UkDriversLicenseNumber" | "UkElectoralRollNumber" | "UkNationalHealthNumber" | "UkNationalInsuranceNumber" | "UkUniqueTaxpayerNumber";
|
|
5
5
|
export declare const PiiCategory: {
|
|
6
6
|
readonly Name: "Name";
|
|
7
7
|
readonly Email: "Email";
|
|
@@ -12,6 +12,7 @@ export declare const PiiCategory: {
|
|
|
12
12
|
readonly UsSocialSecurityNumber: "UsSocialSecurityNumber";
|
|
13
13
|
readonly UsUkPassportNumber: "UsUkPassportNumber";
|
|
14
14
|
readonly UsDriversLicenseNumber: "UsDriversLicenseNumber";
|
|
15
|
+
readonly UsIndividualTaxpayerIdentification: "UsIndividualTaxpayerIdentification";
|
|
15
16
|
readonly Date: "Date";
|
|
16
17
|
readonly IpAddress: "IpAddress";
|
|
17
18
|
readonly Url: "Url";
|
|
@@ -59,5 +60,4 @@ export declare const PiiCategory: {
|
|
|
59
60
|
readonly UkNationalHealthNumber: "UkNationalHealthNumber";
|
|
60
61
|
readonly UkNationalInsuranceNumber: "UkNationalInsuranceNumber";
|
|
61
62
|
readonly UkUniqueTaxpayerNumber: "UkUniqueTaxpayerNumber";
|
|
62
|
-
readonly UsIndividualTaxpayerIdentification: "UsIndividualTaxpayerIdentification";
|
|
63
63
|
};
|