mavenagi 1.2.9 → 1.2.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BaseClient.d.ts +36 -0
- package/BaseClient.js +3 -0
- package/Client.d.ts +12 -30
- package/Client.js +37 -22
- package/README.md +45 -15
- package/api/resources/actions/client/Client.d.ts +7 -33
- package/api/resources/actions/client/Client.js +33 -33
- package/api/resources/actions/client/index.d.ts +0 -1
- package/api/resources/actions/client/requests/ActionPatchRequest.d.ts +1 -1
- package/api/resources/actions/client/requests/index.d.ts +2 -2
- package/api/resources/actions/index.d.ts +1 -1
- package/api/resources/actions/index.js +1 -1
- package/api/resources/actions/types/ActionFilter.d.ts +1 -1
- package/api/resources/actions/types/ActionRequest.d.ts +5 -5
- package/api/resources/actions/types/ActionsResponse.d.ts +1 -1
- package/api/resources/actions/types/ActionsSearchRequest.d.ts +1 -1
- package/api/resources/actions/types/index.d.ts +2 -2
- package/api/resources/actions/types/index.js +2 -2
- package/api/resources/agents/client/Client.d.ts +3 -29
- package/api/resources/agents/client/Client.js +34 -34
- package/api/resources/agents/client/index.d.ts +0 -1
- package/api/resources/agents/client/requests/AgentPatchRequest.d.ts +1 -1
- package/api/resources/agents/client/requests/index.d.ts +1 -1
- package/api/resources/agents/index.d.ts +1 -1
- package/api/resources/agents/index.js +1 -1
- package/api/resources/agents/types/Agent.d.ts +1 -1
- package/api/resources/agents/types/AgentFilter.d.ts +1 -1
- package/api/resources/agents/types/AgentPrompting.d.ts +1 -1
- package/api/resources/agents/types/AgentsSearchRequest.d.ts +1 -1
- package/api/resources/agents/types/AgentsSearchResponse.d.ts +1 -1
- package/api/resources/agents/types/CreateAgentRequest.d.ts +1 -1
- package/api/resources/agents/types/index.d.ts +4 -5
- package/api/resources/agents/types/index.js +4 -5
- package/api/resources/analytics/client/Client.d.ts +89 -29
- package/api/resources/analytics/client/Client.js +271 -25
- package/api/resources/analytics/index.d.ts +1 -1
- package/api/resources/analytics/index.js +1 -1
- package/api/resources/analytics/types/AgentUserAnalyticsRequest.d.ts +1 -1
- package/api/resources/analytics/types/AgentUserColumnDefinition.d.ts +1 -1
- package/api/resources/analytics/types/AgentUserCount.d.ts +1 -2
- package/api/resources/analytics/types/AgentUserMetric.d.ts +1 -1
- package/api/resources/analytics/types/AgentUserRow.d.ts +1 -1
- package/api/resources/analytics/types/AgentUserTableRequest.d.ts +1 -1
- package/api/resources/analytics/types/AgentUserTableResponse.d.ts +1 -1
- package/api/resources/analytics/types/BarChartResponse.d.ts +1 -1
- package/api/resources/analytics/types/CellData.d.ts +1 -1
- package/api/resources/analytics/types/ChartResponse.d.ts +1 -1
- package/api/resources/analytics/types/ConversationAnalyticsRequest.d.ts +1 -1
- package/api/resources/analytics/types/ConversationAverage.d.ts +1 -1
- package/api/resources/analytics/types/ConversationBarChartRequest.d.ts +1 -1
- package/api/resources/analytics/types/ConversationBasicMetric.d.ts +1 -1
- package/api/resources/analytics/types/ConversationChartRequest.d.ts +1 -1
- package/api/resources/analytics/types/ConversationColumnDefinition.d.ts +1 -1
- package/api/resources/analytics/types/ConversationCount.d.ts +1 -2
- package/api/resources/analytics/types/ConversationDateHistogramRequest.d.ts +1 -1
- package/api/resources/analytics/types/ConversationDistinctCount.d.ts +1 -1
- package/api/resources/analytics/types/ConversationGroupBy.d.ts +1 -1
- package/api/resources/analytics/types/ConversationMax.d.ts +1 -1
- package/api/resources/analytics/types/ConversationMedian.d.ts +1 -1
- package/api/resources/analytics/types/ConversationMetric.d.ts +1 -1
- package/api/resources/analytics/types/ConversationMin.d.ts +1 -1
- package/api/resources/analytics/types/ConversationNumericMetric.d.ts +1 -1
- package/api/resources/analytics/types/ConversationPercentile.d.ts +1 -1
- package/api/resources/analytics/types/ConversationPieChartRequest.d.ts +1 -1
- package/api/resources/analytics/types/ConversationRow.d.ts +1 -1
- package/api/resources/analytics/types/ConversationSum.d.ts +1 -1
- package/api/resources/analytics/types/ConversationTableRequest.d.ts +1 -1
- package/api/resources/analytics/types/ConversationTableResponse.d.ts +1 -1
- package/api/resources/analytics/types/DateHistogramResponse.d.ts +1 -1
- package/api/resources/analytics/types/EventAnalyticsRequest.d.ts +11 -0
- package/api/resources/analytics/types/EventAnalyticsRequest.js +3 -0
- package/api/resources/analytics/types/EventBarChartRequest.d.ts +12 -0
- package/api/resources/analytics/types/EventBarChartRequest.js +3 -0
- package/api/resources/analytics/types/EventChartRequest.d.ts +60 -0
- package/api/resources/analytics/types/EventChartRequest.js +3 -0
- package/api/resources/analytics/types/EventColumnDefinition.d.ts +5 -0
- package/api/resources/analytics/types/EventColumnDefinition.js +3 -0
- package/api/resources/analytics/types/EventCount.d.ts +4 -0
- package/api/resources/analytics/types/EventCount.js +3 -0
- package/api/resources/analytics/types/EventDateHistogramRequest.d.ts +9 -0
- package/api/resources/analytics/types/EventDateHistogramRequest.js +3 -0
- package/api/resources/analytics/types/EventDistinctCount.d.ts +8 -0
- package/api/resources/analytics/types/EventDistinctCount.js +3 -0
- package/api/resources/analytics/types/EventGroupBy.d.ts +5 -0
- package/api/resources/analytics/types/EventGroupBy.js +3 -0
- package/api/resources/analytics/types/EventMetric.d.ts +14 -0
- package/api/resources/analytics/types/EventMetric.js +3 -0
- package/api/resources/analytics/types/EventPieChartRequest.d.ts +7 -0
- package/api/resources/analytics/types/EventPieChartRequest.js +3 -0
- package/api/resources/analytics/types/EventRow.d.ts +8 -0
- package/api/resources/analytics/types/EventRow.js +3 -0
- package/api/resources/analytics/types/EventTableRequest.d.ts +38 -0
- package/api/resources/analytics/types/EventTableRequest.js +3 -0
- package/api/resources/analytics/types/EventTableResponse.d.ts +42 -0
- package/api/resources/analytics/types/EventTableResponse.js +3 -0
- package/api/resources/analytics/types/FeedbackAnalyticsRequest.d.ts +1 -1
- package/api/resources/analytics/types/FeedbackColumnDefinition.d.ts +1 -1
- package/api/resources/analytics/types/FeedbackCount.d.ts +1 -2
- package/api/resources/analytics/types/FeedbackDistinctCount.d.ts +1 -1
- package/api/resources/analytics/types/FeedbackGroupBy.d.ts +1 -1
- package/api/resources/analytics/types/FeedbackMetric.d.ts +1 -1
- package/api/resources/analytics/types/FeedbackRow.d.ts +1 -1
- package/api/resources/analytics/types/FeedbackTableRequest.d.ts +1 -1
- package/api/resources/analytics/types/FeedbackTableResponse.d.ts +1 -1
- package/api/resources/analytics/types/FieldValue.d.ts +1 -1
- package/api/resources/analytics/types/PieChartResponse.d.ts +1 -1
- package/api/resources/analytics/types/RowBase.d.ts +1 -1
- package/api/resources/analytics/types/Series.d.ts +1 -1
- package/api/resources/analytics/types/TimeSeries.d.ts +1 -1
- package/api/resources/analytics/types/index.d.ts +49 -36
- package/api/resources/analytics/types/index.js +49 -36
- package/api/resources/appSettings/client/Client.d.ts +3 -29
- package/api/resources/appSettings/client/Client.js +18 -18
- package/api/resources/appSettings/client/index.d.ts +0 -1
- package/api/resources/appSettings/client/requests/index.d.ts +1 -1
- package/api/resources/appSettings/index.d.ts +1 -1
- package/api/resources/appSettings/index.js +1 -1
- package/api/resources/appSettings/types/SearchAppSettingsResponse.d.ts +1 -1
- package/api/resources/appSettings/types/index.d.ts +1 -1
- package/api/resources/appSettings/types/index.js +1 -1
- package/api/resources/assets/client/Client.d.ts +3 -29
- package/api/resources/assets/client/Client.js +14 -14
- package/api/resources/assets/index.d.ts +1 -1
- package/api/resources/assets/index.js +1 -1
- package/api/resources/assets/types/InitiateAssetUploadRequest.d.ts +1 -1
- package/api/resources/assets/types/InitiateAssetUploadResponse.d.ts +1 -1
- package/api/resources/assets/types/index.d.ts +1 -1
- package/api/resources/assets/types/index.js +1 -1
- package/api/resources/auth/client/Client.d.ts +33 -0
- package/api/resources/auth/client/Client.js +171 -0
- package/api/resources/auth/client/index.d.ts +1 -0
- package/api/resources/auth/client/index.js +2 -0
- package/api/resources/auth/index.d.ts +2 -0
- package/api/resources/auth/index.js +18 -0
- package/api/resources/auth/types/SessionTokenRequest.d.ts +3 -0
- package/api/resources/auth/types/SessionTokenRequest.js +3 -0
- package/api/resources/auth/types/SessionTokenResponse.d.ts +6 -0
- package/api/resources/auth/types/SessionTokenResponse.js +3 -0
- package/api/resources/auth/types/index.d.ts +2 -0
- package/api/resources/auth/types/index.js +18 -0
- package/api/resources/commons/errors/BadRequestError.d.ts +2 -2
- package/api/resources/commons/errors/NotFoundError.d.ts +2 -2
- package/api/resources/commons/errors/ServerError.d.ts +2 -2
- package/api/resources/commons/errors/index.d.ts +1 -1
- package/api/resources/commons/errors/index.js +1 -1
- package/api/resources/commons/index.d.ts +1 -1
- package/api/resources/commons/index.js +1 -1
- package/api/resources/commons/types/ActionBase.d.ts +2 -12
- package/api/resources/commons/types/ActionExecutionParamValue.d.ts +1 -1
- package/api/resources/commons/types/ActionFormField.d.ts +1 -1
- package/api/resources/commons/types/ActionParameter.d.ts +1 -1
- package/api/resources/commons/types/ActionParameterType.d.ts +3 -0
- package/api/resources/commons/types/ActionParameterType.js +3 -0
- package/api/resources/commons/types/ActionProperties.d.ts +13 -0
- package/api/resources/commons/types/ActionProperties.js +3 -0
- package/api/resources/commons/types/ActionResponse.d.ts +5 -5
- package/api/resources/commons/types/ActionUser.d.ts +46 -0
- package/api/resources/commons/types/ActionUser.js +3 -0
- package/api/resources/commons/types/AppPrecondition.d.ts +1 -1
- package/api/resources/commons/types/AppUser.d.ts +1 -1
- package/api/resources/commons/types/AppUserIdentifier.d.ts +1 -1
- package/api/resources/commons/types/AppUserRequest.d.ts +1 -1
- package/api/resources/commons/types/AppUserResponse.d.ts +1 -1
- package/api/resources/commons/types/AttachmentRequest.d.ts +1 -1
- package/api/resources/commons/types/AttachmentResponse.d.ts +1 -1
- package/api/resources/commons/types/BaseConversationResponse.d.ts +1 -1
- package/api/resources/commons/types/BaseSearchRequest.d.ts +1 -1
- package/api/resources/commons/types/BotActionFormResponse.d.ts +1 -1
- package/api/resources/commons/types/BotChartResponse.d.ts +1 -1
- package/api/resources/commons/types/BotLogic.d.ts +1 -1
- package/api/resources/commons/types/BotLogicActionExecutedDetail.d.ts +1 -1
- package/api/resources/commons/types/BotLogicActionItem.d.ts +1 -1
- package/api/resources/commons/types/BotLogicActionReviewedDetail.d.ts +1 -1
- package/api/resources/commons/types/BotLogicFormSubmissionItem.d.ts +1 -1
- package/api/resources/commons/types/BotLogicItem.d.ts +1 -1
- package/api/resources/commons/types/BotLogicKnowledgeDetail.d.ts +1 -1
- package/api/resources/commons/types/BotLogicKnowledgeItem.d.ts +1 -1
- package/api/resources/commons/types/BotLogicSafetyItem.d.ts +3 -0
- package/api/resources/commons/types/BotLogicSegmentsItem.d.ts +1 -1
- package/api/resources/commons/types/BotMessage.d.ts +1 -1
- package/api/resources/commons/types/BotResponse.d.ts +1 -1
- package/api/resources/commons/types/BotResponseMetadata.d.ts +1 -1
- package/api/resources/commons/types/BrowserInfo.d.ts +1 -1
- package/api/resources/commons/types/ConversationAnalysis.d.ts +1 -1
- package/api/resources/commons/types/ConversationExecutedActionPrecondition.d.ts +1 -1
- package/api/resources/commons/types/ConversationInformation.d.ts +1 -1
- package/api/resources/commons/types/ConversationMessageResponse.d.ts +1 -1
- package/api/resources/commons/types/ConversationPrecondition.d.ts +1 -1
- package/api/resources/commons/types/ConversationPreview.d.ts +1 -1
- package/api/resources/commons/types/ConversationResponse.d.ts +4 -2
- package/api/resources/commons/types/ConversationSummary.d.ts +11 -1
- package/api/resources/commons/types/DeviceInfo.d.ts +1 -1
- package/api/resources/commons/types/DocumentInformation.d.ts +1 -1
- package/api/resources/commons/types/EntityId.d.ts +1 -1
- package/api/resources/commons/types/EntityIdWithoutAgent.d.ts +1 -1
- package/api/resources/commons/types/EntityResult.d.ts +1 -1
- package/api/resources/commons/types/EntityType.d.ts +1 -0
- package/api/resources/commons/types/EntityType.js +1 -0
- package/api/resources/commons/types/EventBaseNoId.d.ts +1 -1
- package/api/resources/commons/types/EventField.d.ts +16 -0
- package/api/resources/commons/types/EventField.js +16 -0
- package/api/resources/commons/types/EventFilter.d.ts +1 -1
- package/api/resources/commons/types/EventRequest.d.ts +1 -1
- package/api/resources/commons/types/EventResponse.d.ts +1 -1
- package/api/resources/commons/types/EventUserInfo.d.ts +1 -1
- package/api/resources/commons/types/EventUserInfoBase.d.ts +1 -1
- package/api/resources/commons/types/EventsSearchRequest.d.ts +1 -1
- package/api/resources/commons/types/EventsSearchResponse.d.ts +1 -1
- package/api/resources/commons/types/Feedback.d.ts +1 -1
- package/api/resources/commons/types/FeedbackBase.d.ts +1 -1
- package/api/resources/commons/types/FeedbackInfo.d.ts +1 -1
- package/api/resources/commons/types/HarmfulContentAnalysis.d.ts +10 -0
- package/api/resources/commons/types/HarmfulContentAnalysis.js +3 -0
- package/api/resources/commons/types/InboxItem.d.ts +1 -1
- package/api/resources/commons/types/InboxItemBase.d.ts +1 -1
- package/api/resources/commons/types/InboxItemCustom.d.ts +1 -1
- package/api/resources/commons/types/InboxItemDuplicateDocuments.d.ts +1 -1
- package/api/resources/commons/types/InboxItemFix.d.ts +1 -1
- package/api/resources/commons/types/InboxItemFixAddDocument.d.ts +1 -1
- package/api/resources/commons/types/InboxItemFixBase.d.ts +1 -1
- package/api/resources/commons/types/InboxItemFixDeactivateDocument.d.ts +1 -1
- package/api/resources/commons/types/InboxItemMissingKnowledge.d.ts +1 -1
- package/api/resources/commons/types/InboxItemType.d.ts +3 -0
- package/api/resources/commons/types/InboxItemType.js +3 -0
- package/api/resources/commons/types/KnowledgeContextByEntities.d.ts +4 -0
- package/api/resources/commons/types/KnowledgeContextByEntities.js +3 -0
- package/api/resources/commons/types/KnowledgeContextByEntityTypes.d.ts +4 -0
- package/api/resources/commons/types/KnowledgeContextByEntityTypes.js +3 -0
- package/api/resources/commons/types/KnowledgeContextFilter.d.ts +10 -0
- package/api/resources/commons/types/KnowledgeContextFilter.js +3 -0
- package/api/resources/commons/types/MetadataPrecondition.d.ts +1 -1
- package/api/resources/commons/types/NovelSystemEvent.d.ts +1 -1
- package/api/resources/commons/types/NovelSystemEventNoId.d.ts +1 -1
- package/api/resources/commons/types/NovelUserEvent.d.ts +1 -1
- package/api/resources/commons/types/OsInfo.d.ts +1 -1
- package/api/resources/commons/types/Precondition.d.ts +1 -1
- package/api/resources/commons/types/PreconditionBase.d.ts +1 -1
- package/api/resources/commons/types/PreconditionGroup.d.ts +1 -1
- package/api/resources/commons/types/ResponseConfig.d.ts +7 -1
- package/api/resources/commons/types/ResponseConfigPrecondition.d.ts +1 -1
- package/api/resources/commons/types/SafetyCheckReport.d.ts +9 -0
- package/api/resources/commons/types/SafetyCheckReport.js +3 -0
- package/api/resources/commons/types/ScopedEntity.d.ts +1 -1
- package/api/resources/commons/types/SimulationContext.d.ts +1 -1
- package/api/resources/commons/types/SourceInfo.d.ts +1 -1
- package/api/resources/commons/types/SystemEvent.d.ts +1 -1
- package/api/resources/commons/types/TagsPrecondition.d.ts +1 -1
- package/api/resources/commons/types/UserData.d.ts +1 -1
- package/api/resources/commons/types/UserDataWithReference.d.ts +1 -1
- package/api/resources/commons/types/UserEvent.d.ts +3 -1
- package/api/resources/commons/types/UserMessage.d.ts +1 -1
- package/api/resources/commons/types/UserMessageBase.d.ts +1 -1
- package/api/resources/commons/types/index.d.ts +121 -112
- package/api/resources/commons/types/index.js +121 -112
- package/api/resources/conversation/client/Client.d.ts +5 -31
- package/api/resources/conversation/client/Client.js +90 -90
- package/api/resources/conversation/client/index.d.ts +0 -1
- package/api/resources/conversation/client/requests/SimulationImportRequest.d.ts +1 -1
- package/api/resources/conversation/client/requests/index.d.ts +3 -3
- package/api/resources/conversation/index.d.ts +1 -1
- package/api/resources/conversation/index.js +1 -1
- package/api/resources/conversation/types/ActionFormAttachment.d.ts +1 -1
- package/api/resources/conversation/types/ActionFormRequestParamValue.d.ts +1 -1
- package/api/resources/conversation/types/AskObjectRequest.d.ts +1 -1
- package/api/resources/conversation/types/AskRequest.d.ts +1 -1
- package/api/resources/conversation/types/AskStreamActionEvent.d.ts +1 -1
- package/api/resources/conversation/types/AskStreamChartEvent.d.ts +1 -1
- package/api/resources/conversation/types/AskStreamEndEvent.d.ts +1 -1
- package/api/resources/conversation/types/AskStreamMetadataEvent.d.ts +1 -1
- package/api/resources/conversation/types/AskStreamOAuthButtonEvent.d.ts +1 -1
- package/api/resources/conversation/types/AskStreamStartEvent.d.ts +1 -1
- package/api/resources/conversation/types/ConversationField.d.ts +2 -0
- package/api/resources/conversation/types/ConversationField.js +2 -0
- package/api/resources/conversation/types/ConversationFilter.d.ts +1 -1
- package/api/resources/conversation/types/ConversationMessageRequest.d.ts +1 -1
- package/api/resources/conversation/types/ConversationPatchRequest.d.ts +1 -1
- package/api/resources/conversation/types/ConversationRequest.d.ts +1 -1
- package/api/resources/conversation/types/ConversationsResponse.d.ts +1 -1
- package/api/resources/conversation/types/ConversationsSearchRequest.d.ts +1 -1
- package/api/resources/conversation/types/DeliverConversationMessageRequest.d.ts +1 -1
- package/api/resources/conversation/types/DeliverMessageRequest.d.ts +1 -1
- package/api/resources/conversation/types/DeliverMessageResponse.d.ts +1 -1
- package/api/resources/conversation/types/DeliverUserMessageRequest.d.ts +1 -1
- package/api/resources/conversation/types/FeedbackFilter.d.ts +1 -1
- package/api/resources/conversation/types/FeedbackRequest.d.ts +1 -1
- package/api/resources/conversation/types/NumericConversationField.d.ts +1 -0
- package/api/resources/conversation/types/NumericConversationField.js +1 -0
- package/api/resources/conversation/types/ObjectStreamResponse.d.ts +1 -1
- package/api/resources/conversation/types/StreamResponse.d.ts +1 -1
- package/api/resources/conversation/types/SubmitActionFormRequest.d.ts +1 -1
- package/api/resources/conversation/types/index.d.ts +21 -21
- package/api/resources/conversation/types/index.js +21 -21
- package/api/resources/customers/client/Client.d.ts +82 -0
- package/api/resources/customers/client/Client.js +462 -0
- package/api/resources/customers/client/index.d.ts +1 -0
- package/api/resources/customers/client/index.js +17 -0
- package/api/resources/customers/client/requests/CustomerGetRequest.d.ts +8 -0
- package/api/resources/customers/client/requests/CustomerGetRequest.js +3 -0
- package/api/resources/customers/client/requests/index.d.ts +1 -0
- package/api/resources/customers/client/requests/index.js +2 -0
- package/api/resources/customers/index.d.ts +2 -0
- package/api/resources/customers/index.js +18 -0
- package/api/resources/customers/types/CustomerBase.d.ts +12 -0
- package/api/resources/customers/types/CustomerBase.js +3 -0
- package/api/resources/customers/types/CustomerField.d.ts +5 -0
- package/api/resources/customers/types/CustomerField.js +8 -0
- package/api/resources/customers/types/CustomerFilter.d.ts +11 -0
- package/api/resources/customers/types/CustomerFilter.js +3 -0
- package/api/resources/customers/types/CustomerPatchRequest.d.ts +21 -0
- package/api/resources/customers/types/CustomerPatchRequest.js +3 -0
- package/api/resources/customers/types/CustomerRequest.d.ts +15 -0
- package/api/resources/customers/types/CustomerRequest.js +3 -0
- package/api/resources/customers/types/CustomerResponse.d.ts +30 -0
- package/api/resources/customers/types/CustomerResponse.js +3 -0
- package/api/resources/customers/types/CustomerStatus.d.ts +5 -0
- package/api/resources/customers/types/CustomerStatus.js +8 -0
- package/api/resources/customers/types/CustomersSearchRequest.d.ts +7 -0
- package/api/resources/customers/types/CustomersSearchRequest.js +3 -0
- package/api/resources/customers/types/CustomersSearchResponse.d.ts +4 -0
- package/api/resources/customers/types/CustomersSearchResponse.js +3 -0
- package/api/resources/customers/types/index.d.ts +9 -0
- package/api/resources/customers/types/index.js +25 -0
- package/api/resources/events/client/Client.d.ts +3 -29
- package/api/resources/events/client/Client.js +23 -23
- package/api/resources/events/client/index.d.ts +0 -1
- package/api/resources/events/client/requests/index.d.ts +1 -1
- package/api/resources/inbox/client/Client.d.ts +3 -29
- package/api/resources/inbox/client/Client.js +32 -32
- package/api/resources/inbox/client/index.d.ts +0 -1
- package/api/resources/inbox/client/requests/index.d.ts +3 -3
- package/api/resources/inbox/index.d.ts +1 -1
- package/api/resources/inbox/index.js +1 -1
- package/api/resources/inbox/types/AddDocumentFixRequest.d.ts +1 -1
- package/api/resources/inbox/types/ApplyFixesRequest.d.ts +1 -1
- package/api/resources/inbox/types/InboxFilter.d.ts +1 -1
- package/api/resources/inbox/types/InboxSearchRequest.d.ts +1 -1
- package/api/resources/inbox/types/InboxSearchResponse.d.ts +1 -1
- package/api/resources/inbox/types/index.d.ts +2 -2
- package/api/resources/inbox/types/index.js +2 -2
- package/api/resources/index.d.ts +19 -12
- package/api/resources/index.js +20 -13
- package/api/resources/knowledge/client/Client.d.ts +3 -29
- package/api/resources/knowledge/client/Client.js +70 -70
- package/api/resources/knowledge/client/index.d.ts +0 -1
- package/api/resources/knowledge/client/requests/KnowledgeBasePatchRequest.d.ts +1 -1
- package/api/resources/knowledge/client/requests/KnowledgeDocumentPatchRequest.d.ts +1 -1
- package/api/resources/knowledge/client/requests/index.d.ts +5 -5
- package/api/resources/knowledge/index.d.ts +1 -1
- package/api/resources/knowledge/index.js +1 -1
- package/api/resources/knowledge/types/FinalizeKnowledgeBaseVersionRequest.d.ts +1 -1
- package/api/resources/knowledge/types/KnowledgeBaseFilter.d.ts +1 -1
- package/api/resources/knowledge/types/KnowledgeBaseProperties.d.ts +1 -1
- package/api/resources/knowledge/types/KnowledgeBaseRequest.d.ts +1 -1
- package/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +1 -1
- package/api/resources/knowledge/types/KnowledgeBaseSearchRequest.d.ts +1 -1
- package/api/resources/knowledge/types/KnowledgeBaseVersion.d.ts +1 -1
- package/api/resources/knowledge/types/KnowledgeBaseVersionRequest.d.ts +1 -1
- package/api/resources/knowledge/types/KnowledgeBaseVersionsListResponse.d.ts +1 -1
- package/api/resources/knowledge/types/KnowledgeBasesResponse.d.ts +1 -1
- package/api/resources/knowledge/types/KnowledgeDeleteRequest.d.ts +1 -1
- package/api/resources/knowledge/types/KnowledgeDocumentFilter.d.ts +1 -1
- package/api/resources/knowledge/types/KnowledgeDocumentRequest.d.ts +4 -2
- package/api/resources/knowledge/types/KnowledgeDocumentResponse.d.ts +19 -1
- package/api/resources/knowledge/types/KnowledgeDocumentSearchRequest.d.ts +1 -1
- package/api/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +1 -1
- package/api/resources/knowledge/types/KnowledgeDocumentsResponse.d.ts +1 -1
- package/api/resources/knowledge/types/index.d.ts +16 -16
- package/api/resources/knowledge/types/index.js +16 -16
- package/api/resources/organizations/client/Client.d.ts +3 -29
- package/api/resources/organizations/client/Client.js +33 -33
- package/api/resources/organizations/index.d.ts +1 -1
- package/api/resources/organizations/index.js +1 -1
- package/api/resources/organizations/types/CreateOrganizationRequest.d.ts +1 -1
- package/api/resources/organizations/types/Organization.d.ts +1 -1
- package/api/resources/organizations/types/index.d.ts +1 -1
- package/api/resources/organizations/types/index.js +1 -1
- package/api/resources/segments/client/Client.d.ts +7 -33
- package/api/resources/segments/client/Client.js +28 -28
- package/api/resources/segments/client/index.d.ts +0 -1
- package/api/resources/segments/client/requests/index.d.ts +1 -1
- package/api/resources/segments/index.d.ts +1 -1
- package/api/resources/segments/index.js +1 -1
- package/api/resources/segments/types/SegmentBase.d.ts +1 -1
- package/api/resources/segments/types/SegmentPatchRequest.d.ts +1 -1
- package/api/resources/segments/types/SegmentRequest.d.ts +5 -5
- package/api/resources/segments/types/SegmentResponse.d.ts +5 -5
- package/api/resources/segments/types/SegmentsSearchRequest.d.ts +1 -1
- package/api/resources/segments/types/SegmentsSearchResponse.d.ts +1 -1
- package/api/resources/segments/types/index.d.ts +4 -4
- package/api/resources/segments/types/index.js +4 -4
- package/api/resources/translations/client/Client.d.ts +3 -29
- package/api/resources/translations/client/Client.js +9 -9
- package/api/resources/translations/index.d.ts +1 -1
- package/api/resources/translations/index.js +1 -1
- package/api/resources/triggers/client/Client.d.ts +3 -29
- package/api/resources/triggers/client/Client.js +29 -29
- package/api/resources/triggers/client/index.d.ts +0 -1
- package/api/resources/triggers/client/requests/PartialUpdateRequest.d.ts +1 -1
- package/api/resources/triggers/client/requests/index.d.ts +1 -1
- package/api/resources/triggers/index.d.ts +1 -1
- package/api/resources/triggers/index.js +1 -1
- package/api/resources/triggers/types/EventTriggerBase.d.ts +1 -1
- package/api/resources/triggers/types/EventTriggerRequest.d.ts +1 -1
- package/api/resources/triggers/types/EventTriggerResponse.d.ts +1 -1
- package/api/resources/triggers/types/EventTriggersSearchRequest.d.ts +1 -1
- package/api/resources/triggers/types/EventTriggersSearchResponse.d.ts +1 -1
- package/api/resources/triggers/types/index.d.ts +2 -3
- package/api/resources/triggers/types/index.js +2 -3
- package/api/resources/users/client/Client.d.ts +3 -29
- package/api/resources/users/client/Client.js +30 -30
- package/api/resources/users/client/index.d.ts +0 -1
- package/api/resources/users/client/requests/index.d.ts +2 -2
- package/api/resources/users/index.d.ts +1 -1
- package/api/resources/users/index.js +1 -1
- package/api/resources/users/types/AgentUser.d.ts +1 -1
- package/api/resources/users/types/AgentUserSearchRequest.d.ts +1 -1
- package/api/resources/users/types/AgentUserSearchResponse.d.ts +1 -1
- package/api/resources/users/types/AppUserSummary.d.ts +1 -1
- package/api/resources/users/types/index.d.ts +1 -1
- package/api/resources/users/types/index.js +1 -1
- package/api/resources/websockets/client/Client.d.ts +22 -0
- package/api/resources/websockets/client/Client.js +89 -0
- package/api/resources/websockets/client/Socket.d.ts +48 -0
- package/api/resources/websockets/client/Socket.js +172 -0
- package/api/resources/websockets/client/index.d.ts +1 -0
- package/api/resources/websockets/client/index.js +2 -0
- package/api/resources/websockets/index.d.ts +2 -0
- package/api/resources/websockets/index.js +18 -0
- package/api/resources/websockets/types/AgentAudioChunk.d.ts +9 -0
- package/api/resources/websockets/types/AgentAudioChunk.js +3 -0
- package/api/resources/websockets/types/AgentTranscript.d.ts +9 -0
- package/api/resources/websockets/types/AgentTranscript.js +3 -0
- package/api/resources/websockets/types/AudioFormat.d.ts +7 -0
- package/api/resources/websockets/types/AudioFormat.js +10 -0
- package/api/resources/websockets/types/Config.d.ts +15 -0
- package/api/resources/websockets/types/Config.js +3 -0
- package/api/resources/websockets/types/ConversationEnded.d.ts +7 -0
- package/api/resources/websockets/types/ConversationEnded.js +3 -0
- package/api/resources/websockets/types/ConversationReady.d.ts +6 -0
- package/api/resources/websockets/types/ConversationReady.js +3 -0
- package/api/resources/websockets/types/Error_.d.ts +9 -0
- package/api/resources/websockets/types/Error_.js +3 -0
- package/api/resources/websockets/types/ServerEventBase.d.ts +6 -0
- package/api/resources/websockets/types/ServerEventBase.js +3 -0
- package/api/resources/websockets/types/UserAudioChunk.d.ts +8 -0
- package/api/resources/websockets/types/UserAudioChunk.js +3 -0
- package/api/resources/websockets/types/UserFinishedSpeaking.d.ts +7 -0
- package/api/resources/websockets/types/UserFinishedSpeaking.js +3 -0
- package/api/resources/websockets/types/UserStartedSpeaking.d.ts +7 -0
- package/api/resources/websockets/types/UserStartedSpeaking.js +3 -0
- package/api/resources/websockets/types/UserTranscript.d.ts +9 -0
- package/api/resources/websockets/types/UserTranscript.js +3 -0
- package/api/resources/websockets/types/index.d.ts +12 -0
- package/api/resources/websockets/types/index.js +28 -0
- package/core/auth/AuthProvider.d.ts +1 -1
- package/core/fetcher/APIResponse.d.ts +1 -1
- package/core/fetcher/BinaryResponse.d.ts +1 -1
- package/core/fetcher/EndpointSupplier.d.ts +2 -2
- package/core/fetcher/Fetcher.d.ts +2 -2
- package/core/fetcher/Fetcher.js +2 -1
- package/core/fetcher/HttpResponsePromise.d.ts +1 -1
- package/core/fetcher/getErrorResponseBody.js +2 -1
- package/core/fetcher/getResponseBody.js +3 -3
- package/core/fetcher/makeRequest.js +2 -2
- package/core/fetcher/requestWithRetries.js +3 -3
- package/core/file/file.d.ts +6 -1
- package/core/file/file.js +25 -7
- package/core/form-data-utils/FormDataWrapper.d.ts +2 -3
- package/core/form-data-utils/FormDataWrapper.js +62 -85
- package/core/index.d.ts +5 -4
- package/core/index.js +6 -5
- package/core/schemas/Schema.d.ts +1 -1
- package/core/schemas/builders/bigint/bigint.d.ts +1 -1
- package/core/schemas/builders/bigint/bigint.js +2 -2
- package/core/schemas/builders/date/date.d.ts +1 -1
- package/core/schemas/builders/date/date.js +2 -2
- package/core/schemas/builders/enum/enum.d.ts +1 -1
- package/core/schemas/builders/index.d.ts +14 -14
- package/core/schemas/builders/index.js +14 -14
- package/core/schemas/builders/lazy/lazy.d.ts +1 -1
- package/core/schemas/builders/lazy/lazy.js +2 -2
- package/core/schemas/builders/lazy/lazyObject.d.ts +2 -2
- package/core/schemas/builders/lazy/lazyObject.js +4 -4
- package/core/schemas/builders/list/list.d.ts +1 -1
- package/core/schemas/builders/list/list.js +2 -2
- package/core/schemas/builders/literals/booleanLiteral.d.ts +1 -1
- package/core/schemas/builders/literals/stringLiteral.d.ts +1 -1
- package/core/schemas/builders/object/object.d.ts +1 -1
- package/core/schemas/builders/object/object.js +5 -5
- package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +1 -1
- package/core/schemas/builders/object/property.d.ts +1 -1
- package/core/schemas/builders/object/types.d.ts +5 -5
- package/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +2 -2
- package/core/schemas/builders/object-like/getObjectLikeUtils.js +2 -2
- package/core/schemas/builders/object-like/types.d.ts +1 -1
- package/core/schemas/builders/primitives/any.d.ts +1 -1
- package/core/schemas/builders/primitives/boolean.d.ts +1 -1
- package/core/schemas/builders/primitives/number.d.ts +1 -1
- package/core/schemas/builders/primitives/string.d.ts +1 -1
- package/core/schemas/builders/primitives/unknown.d.ts +1 -1
- package/core/schemas/builders/record/record.d.ts +2 -2
- package/core/schemas/builders/record/record.js +3 -3
- package/core/schemas/builders/record/types.d.ts +2 -2
- package/core/schemas/builders/schema-utils/JsonError.d.ts +1 -1
- package/core/schemas/builders/schema-utils/ParseError.d.ts +1 -1
- package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +1 -1
- package/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +1 -1
- package/core/schemas/builders/set/set.d.ts +1 -1
- package/core/schemas/builders/set/set.js +4 -4
- package/core/schemas/builders/undiscriminated-union/types.d.ts +1 -1
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +2 -2
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +2 -2
- package/core/schemas/builders/union/types.d.ts +2 -2
- package/core/schemas/builders/union/union.d.ts +3 -3
- package/core/schemas/builders/union/union.js +4 -4
- package/core/schemas/index.d.ts +1 -1
- package/core/schemas/index.js +1 -1
- package/core/schemas/utils/createIdentitySchemaCreator.d.ts +1 -1
- package/core/schemas/utils/createIdentitySchemaCreator.js +2 -2
- package/core/schemas/utils/maybeSkipValidation.d.ts +1 -1
- package/core/stream/Stream.d.ts +1 -0
- package/core/stream/Stream.js +8 -5
- package/core/url/encodePathParam.d.ts +1 -0
- package/core/url/encodePathParam.js +21 -0
- package/core/url/index.d.ts +1 -0
- package/core/url/index.js +3 -1
- package/core/url/join.js +3 -3
- package/core/websocket/events.d.ts +36 -0
- package/core/websocket/events.js +27 -0
- package/core/websocket/index.d.ts +1 -0
- package/core/websocket/index.js +17 -0
- package/core/websocket/ws.d.ts +147 -0
- package/core/websocket/ws.js +444 -0
- package/dist/BaseClient.d.ts +36 -0
- package/dist/BaseClient.js +3 -0
- package/dist/Client.d.ts +12 -30
- package/dist/Client.js +37 -22
- package/dist/api/resources/actions/client/Client.d.ts +7 -33
- package/dist/api/resources/actions/client/Client.js +33 -33
- package/dist/api/resources/actions/client/index.d.ts +0 -1
- package/dist/api/resources/actions/client/requests/ActionPatchRequest.d.ts +1 -1
- package/dist/api/resources/actions/client/requests/index.d.ts +2 -2
- package/dist/api/resources/actions/index.d.ts +1 -1
- package/dist/api/resources/actions/index.js +1 -1
- package/dist/api/resources/actions/types/ActionFilter.d.ts +1 -1
- package/dist/api/resources/actions/types/ActionRequest.d.ts +5 -5
- package/dist/api/resources/actions/types/ActionsResponse.d.ts +1 -1
- package/dist/api/resources/actions/types/ActionsSearchRequest.d.ts +1 -1
- package/dist/api/resources/actions/types/index.d.ts +2 -2
- package/dist/api/resources/actions/types/index.js +2 -2
- package/dist/api/resources/agents/client/Client.d.ts +3 -29
- package/dist/api/resources/agents/client/Client.js +34 -34
- package/dist/api/resources/agents/client/index.d.ts +0 -1
- package/dist/api/resources/agents/client/requests/AgentPatchRequest.d.ts +1 -1
- package/dist/api/resources/agents/client/requests/index.d.ts +1 -1
- package/dist/api/resources/agents/index.d.ts +1 -1
- package/dist/api/resources/agents/index.js +1 -1
- package/dist/api/resources/agents/types/Agent.d.ts +1 -1
- package/dist/api/resources/agents/types/AgentFilter.d.ts +1 -1
- package/dist/api/resources/agents/types/AgentPrompting.d.ts +1 -1
- package/dist/api/resources/agents/types/AgentsSearchRequest.d.ts +1 -1
- package/dist/api/resources/agents/types/AgentsSearchResponse.d.ts +1 -1
- package/dist/api/resources/agents/types/CreateAgentRequest.d.ts +1 -1
- package/dist/api/resources/agents/types/index.d.ts +4 -5
- package/dist/api/resources/agents/types/index.js +4 -5
- package/dist/api/resources/analytics/client/Client.d.ts +89 -29
- package/dist/api/resources/analytics/client/Client.js +271 -25
- package/dist/api/resources/analytics/index.d.ts +1 -1
- package/dist/api/resources/analytics/index.js +1 -1
- package/dist/api/resources/analytics/types/AgentUserAnalyticsRequest.d.ts +1 -1
- package/dist/api/resources/analytics/types/AgentUserColumnDefinition.d.ts +1 -1
- package/dist/api/resources/analytics/types/AgentUserCount.d.ts +1 -2
- package/dist/api/resources/analytics/types/AgentUserMetric.d.ts +1 -1
- package/dist/api/resources/analytics/types/AgentUserRow.d.ts +1 -1
- package/dist/api/resources/analytics/types/AgentUserTableRequest.d.ts +1 -1
- package/dist/api/resources/analytics/types/AgentUserTableResponse.d.ts +1 -1
- package/dist/api/resources/analytics/types/BarChartResponse.d.ts +1 -1
- package/dist/api/resources/analytics/types/CellData.d.ts +1 -1
- package/dist/api/resources/analytics/types/ChartResponse.d.ts +1 -1
- package/dist/api/resources/analytics/types/ConversationAnalyticsRequest.d.ts +1 -1
- package/dist/api/resources/analytics/types/ConversationAverage.d.ts +1 -1
- package/dist/api/resources/analytics/types/ConversationBarChartRequest.d.ts +1 -1
- package/dist/api/resources/analytics/types/ConversationBasicMetric.d.ts +1 -1
- package/dist/api/resources/analytics/types/ConversationChartRequest.d.ts +1 -1
- package/dist/api/resources/analytics/types/ConversationColumnDefinition.d.ts +1 -1
- package/dist/api/resources/analytics/types/ConversationCount.d.ts +1 -2
- package/dist/api/resources/analytics/types/ConversationDateHistogramRequest.d.ts +1 -1
- package/dist/api/resources/analytics/types/ConversationDistinctCount.d.ts +1 -1
- package/dist/api/resources/analytics/types/ConversationGroupBy.d.ts +1 -1
- package/dist/api/resources/analytics/types/ConversationMax.d.ts +1 -1
- package/dist/api/resources/analytics/types/ConversationMedian.d.ts +1 -1
- package/dist/api/resources/analytics/types/ConversationMetric.d.ts +1 -1
- package/dist/api/resources/analytics/types/ConversationMin.d.ts +1 -1
- package/dist/api/resources/analytics/types/ConversationNumericMetric.d.ts +1 -1
- package/dist/api/resources/analytics/types/ConversationPercentile.d.ts +1 -1
- package/dist/api/resources/analytics/types/ConversationPieChartRequest.d.ts +1 -1
- package/dist/api/resources/analytics/types/ConversationRow.d.ts +1 -1
- package/dist/api/resources/analytics/types/ConversationSum.d.ts +1 -1
- package/dist/api/resources/analytics/types/ConversationTableRequest.d.ts +1 -1
- package/dist/api/resources/analytics/types/ConversationTableResponse.d.ts +1 -1
- package/dist/api/resources/analytics/types/DateHistogramResponse.d.ts +1 -1
- package/dist/api/resources/analytics/types/EventAnalyticsRequest.d.ts +11 -0
- package/dist/api/resources/analytics/types/EventAnalyticsRequest.js +3 -0
- package/dist/api/resources/analytics/types/EventBarChartRequest.d.ts +12 -0
- package/dist/api/resources/analytics/types/EventBarChartRequest.js +3 -0
- package/dist/api/resources/analytics/types/EventChartRequest.d.ts +60 -0
- package/dist/api/resources/analytics/types/EventChartRequest.js +3 -0
- package/dist/api/resources/analytics/types/EventColumnDefinition.d.ts +5 -0
- package/dist/api/resources/analytics/types/EventColumnDefinition.js +3 -0
- package/dist/api/resources/analytics/types/EventCount.d.ts +4 -0
- package/dist/api/resources/analytics/types/EventCount.js +3 -0
- package/dist/api/resources/analytics/types/EventDateHistogramRequest.d.ts +9 -0
- package/dist/api/resources/analytics/types/EventDateHistogramRequest.js +3 -0
- package/dist/api/resources/analytics/types/EventDistinctCount.d.ts +8 -0
- package/dist/api/resources/analytics/types/EventDistinctCount.js +3 -0
- package/dist/api/resources/analytics/types/EventGroupBy.d.ts +5 -0
- package/dist/api/resources/analytics/types/EventGroupBy.js +3 -0
- package/dist/api/resources/analytics/types/EventMetric.d.ts +14 -0
- package/dist/api/resources/analytics/types/EventMetric.js +3 -0
- package/dist/api/resources/analytics/types/EventPieChartRequest.d.ts +7 -0
- package/dist/api/resources/analytics/types/EventPieChartRequest.js +3 -0
- package/dist/api/resources/analytics/types/EventRow.d.ts +8 -0
- package/dist/api/resources/analytics/types/EventRow.js +3 -0
- package/dist/api/resources/analytics/types/EventTableRequest.d.ts +38 -0
- package/dist/api/resources/analytics/types/EventTableRequest.js +3 -0
- package/dist/api/resources/analytics/types/EventTableResponse.d.ts +42 -0
- package/dist/api/resources/analytics/types/EventTableResponse.js +3 -0
- package/dist/api/resources/analytics/types/FeedbackAnalyticsRequest.d.ts +1 -1
- package/dist/api/resources/analytics/types/FeedbackColumnDefinition.d.ts +1 -1
- package/dist/api/resources/analytics/types/FeedbackCount.d.ts +1 -2
- package/dist/api/resources/analytics/types/FeedbackDistinctCount.d.ts +1 -1
- package/dist/api/resources/analytics/types/FeedbackGroupBy.d.ts +1 -1
- package/dist/api/resources/analytics/types/FeedbackMetric.d.ts +1 -1
- package/dist/api/resources/analytics/types/FeedbackRow.d.ts +1 -1
- package/dist/api/resources/analytics/types/FeedbackTableRequest.d.ts +1 -1
- package/dist/api/resources/analytics/types/FeedbackTableResponse.d.ts +1 -1
- package/dist/api/resources/analytics/types/FieldValue.d.ts +1 -1
- package/dist/api/resources/analytics/types/PieChartResponse.d.ts +1 -1
- package/dist/api/resources/analytics/types/RowBase.d.ts +1 -1
- package/dist/api/resources/analytics/types/Series.d.ts +1 -1
- package/dist/api/resources/analytics/types/TimeSeries.d.ts +1 -1
- package/dist/api/resources/analytics/types/index.d.ts +49 -36
- package/dist/api/resources/analytics/types/index.js +49 -36
- package/dist/api/resources/appSettings/client/Client.d.ts +3 -29
- package/dist/api/resources/appSettings/client/Client.js +18 -18
- package/dist/api/resources/appSettings/client/index.d.ts +0 -1
- package/dist/api/resources/appSettings/client/requests/index.d.ts +1 -1
- package/dist/api/resources/appSettings/index.d.ts +1 -1
- package/dist/api/resources/appSettings/index.js +1 -1
- package/dist/api/resources/appSettings/types/SearchAppSettingsResponse.d.ts +1 -1
- package/dist/api/resources/appSettings/types/index.d.ts +1 -1
- package/dist/api/resources/appSettings/types/index.js +1 -1
- package/dist/api/resources/assets/client/Client.d.ts +3 -29
- package/dist/api/resources/assets/client/Client.js +14 -14
- package/dist/api/resources/assets/index.d.ts +1 -1
- package/dist/api/resources/assets/index.js +1 -1
- package/dist/api/resources/assets/types/InitiateAssetUploadRequest.d.ts +1 -1
- package/dist/api/resources/assets/types/InitiateAssetUploadResponse.d.ts +1 -1
- package/dist/api/resources/assets/types/index.d.ts +1 -1
- package/dist/api/resources/assets/types/index.js +1 -1
- package/dist/api/resources/auth/client/Client.d.ts +33 -0
- package/dist/api/resources/auth/client/Client.js +171 -0
- package/dist/api/resources/auth/client/index.d.ts +1 -0
- package/dist/api/resources/auth/client/index.js +2 -0
- package/dist/api/resources/auth/index.d.ts +2 -0
- package/dist/api/resources/auth/index.js +18 -0
- package/dist/api/resources/auth/types/SessionTokenRequest.d.ts +3 -0
- package/dist/api/resources/auth/types/SessionTokenRequest.js +3 -0
- package/dist/api/resources/auth/types/SessionTokenResponse.d.ts +6 -0
- package/dist/api/resources/auth/types/SessionTokenResponse.js +3 -0
- package/dist/api/resources/auth/types/index.d.ts +2 -0
- package/dist/api/resources/auth/types/index.js +18 -0
- package/dist/api/resources/commons/errors/BadRequestError.d.ts +2 -2
- package/dist/api/resources/commons/errors/NotFoundError.d.ts +2 -2
- package/dist/api/resources/commons/errors/ServerError.d.ts +2 -2
- package/dist/api/resources/commons/errors/index.d.ts +1 -1
- package/dist/api/resources/commons/errors/index.js +1 -1
- package/dist/api/resources/commons/index.d.ts +1 -1
- package/dist/api/resources/commons/index.js +1 -1
- package/dist/api/resources/commons/types/ActionBase.d.ts +2 -12
- package/dist/api/resources/commons/types/ActionExecutionParamValue.d.ts +1 -1
- package/dist/api/resources/commons/types/ActionFormField.d.ts +1 -1
- package/dist/api/resources/commons/types/ActionParameter.d.ts +1 -1
- package/dist/api/resources/commons/types/ActionParameterType.d.ts +3 -0
- package/dist/api/resources/commons/types/ActionParameterType.js +3 -0
- package/dist/api/resources/commons/types/ActionProperties.d.ts +13 -0
- package/dist/api/resources/commons/types/ActionProperties.js +3 -0
- package/dist/api/resources/commons/types/ActionResponse.d.ts +5 -5
- package/dist/api/resources/commons/types/ActionUser.d.ts +46 -0
- package/dist/api/resources/commons/types/ActionUser.js +3 -0
- package/dist/api/resources/commons/types/AppPrecondition.d.ts +1 -1
- package/dist/api/resources/commons/types/AppUser.d.ts +1 -1
- package/dist/api/resources/commons/types/AppUserIdentifier.d.ts +1 -1
- package/dist/api/resources/commons/types/AppUserRequest.d.ts +1 -1
- package/dist/api/resources/commons/types/AppUserResponse.d.ts +1 -1
- package/dist/api/resources/commons/types/AttachmentRequest.d.ts +1 -1
- package/dist/api/resources/commons/types/AttachmentResponse.d.ts +1 -1
- package/dist/api/resources/commons/types/BaseConversationResponse.d.ts +1 -1
- package/dist/api/resources/commons/types/BaseSearchRequest.d.ts +1 -1
- package/dist/api/resources/commons/types/BotActionFormResponse.d.ts +1 -1
- package/dist/api/resources/commons/types/BotChartResponse.d.ts +1 -1
- package/dist/api/resources/commons/types/BotLogic.d.ts +1 -1
- package/dist/api/resources/commons/types/BotLogicActionExecutedDetail.d.ts +1 -1
- package/dist/api/resources/commons/types/BotLogicActionItem.d.ts +1 -1
- package/dist/api/resources/commons/types/BotLogicActionReviewedDetail.d.ts +1 -1
- package/dist/api/resources/commons/types/BotLogicFormSubmissionItem.d.ts +1 -1
- package/dist/api/resources/commons/types/BotLogicItem.d.ts +1 -1
- package/dist/api/resources/commons/types/BotLogicKnowledgeDetail.d.ts +1 -1
- package/dist/api/resources/commons/types/BotLogicKnowledgeItem.d.ts +1 -1
- package/dist/api/resources/commons/types/BotLogicSafetyItem.d.ts +3 -0
- package/dist/api/resources/commons/types/BotLogicSegmentsItem.d.ts +1 -1
- package/dist/api/resources/commons/types/BotMessage.d.ts +1 -1
- package/dist/api/resources/commons/types/BotResponse.d.ts +1 -1
- package/dist/api/resources/commons/types/BotResponseMetadata.d.ts +1 -1
- package/dist/api/resources/commons/types/BrowserInfo.d.ts +1 -1
- package/dist/api/resources/commons/types/ConversationAnalysis.d.ts +1 -1
- package/dist/api/resources/commons/types/ConversationExecutedActionPrecondition.d.ts +1 -1
- package/dist/api/resources/commons/types/ConversationInformation.d.ts +1 -1
- package/dist/api/resources/commons/types/ConversationMessageResponse.d.ts +1 -1
- package/dist/api/resources/commons/types/ConversationPrecondition.d.ts +1 -1
- package/dist/api/resources/commons/types/ConversationPreview.d.ts +1 -1
- package/dist/api/resources/commons/types/ConversationResponse.d.ts +4 -2
- package/dist/api/resources/commons/types/ConversationSummary.d.ts +11 -1
- package/dist/api/resources/commons/types/DeviceInfo.d.ts +1 -1
- package/dist/api/resources/commons/types/DocumentInformation.d.ts +1 -1
- package/dist/api/resources/commons/types/EntityId.d.ts +1 -1
- package/dist/api/resources/commons/types/EntityIdWithoutAgent.d.ts +1 -1
- package/dist/api/resources/commons/types/EntityResult.d.ts +1 -1
- package/dist/api/resources/commons/types/EntityType.d.ts +1 -0
- package/dist/api/resources/commons/types/EntityType.js +1 -0
- package/dist/api/resources/commons/types/EventBaseNoId.d.ts +1 -1
- package/dist/api/resources/commons/types/EventField.d.ts +16 -0
- package/dist/api/resources/commons/types/EventField.js +16 -0
- package/dist/api/resources/commons/types/EventFilter.d.ts +1 -1
- package/dist/api/resources/commons/types/EventRequest.d.ts +1 -1
- package/dist/api/resources/commons/types/EventResponse.d.ts +1 -1
- package/dist/api/resources/commons/types/EventUserInfo.d.ts +1 -1
- package/dist/api/resources/commons/types/EventUserInfoBase.d.ts +1 -1
- package/dist/api/resources/commons/types/EventsSearchRequest.d.ts +1 -1
- package/dist/api/resources/commons/types/EventsSearchResponse.d.ts +1 -1
- package/dist/api/resources/commons/types/Feedback.d.ts +1 -1
- package/dist/api/resources/commons/types/FeedbackBase.d.ts +1 -1
- package/dist/api/resources/commons/types/FeedbackInfo.d.ts +1 -1
- package/dist/api/resources/commons/types/HarmfulContentAnalysis.d.ts +10 -0
- package/dist/api/resources/commons/types/HarmfulContentAnalysis.js +3 -0
- package/dist/api/resources/commons/types/InboxItem.d.ts +1 -1
- package/dist/api/resources/commons/types/InboxItemBase.d.ts +1 -1
- package/dist/api/resources/commons/types/InboxItemCustom.d.ts +1 -1
- package/dist/api/resources/commons/types/InboxItemDuplicateDocuments.d.ts +1 -1
- package/dist/api/resources/commons/types/InboxItemFix.d.ts +1 -1
- package/dist/api/resources/commons/types/InboxItemFixAddDocument.d.ts +1 -1
- package/dist/api/resources/commons/types/InboxItemFixBase.d.ts +1 -1
- package/dist/api/resources/commons/types/InboxItemFixDeactivateDocument.d.ts +1 -1
- package/dist/api/resources/commons/types/InboxItemMissingKnowledge.d.ts +1 -1
- package/dist/api/resources/commons/types/InboxItemType.d.ts +3 -0
- package/dist/api/resources/commons/types/InboxItemType.js +3 -0
- package/dist/api/resources/commons/types/KnowledgeContextByEntities.d.ts +4 -0
- package/dist/api/resources/commons/types/KnowledgeContextByEntities.js +3 -0
- package/dist/api/resources/commons/types/KnowledgeContextByEntityTypes.d.ts +4 -0
- package/dist/api/resources/commons/types/KnowledgeContextByEntityTypes.js +3 -0
- package/dist/api/resources/commons/types/KnowledgeContextFilter.d.ts +10 -0
- package/dist/api/resources/commons/types/KnowledgeContextFilter.js +3 -0
- package/dist/api/resources/commons/types/MetadataPrecondition.d.ts +1 -1
- package/dist/api/resources/commons/types/NovelSystemEvent.d.ts +1 -1
- package/dist/api/resources/commons/types/NovelSystemEventNoId.d.ts +1 -1
- package/dist/api/resources/commons/types/NovelUserEvent.d.ts +1 -1
- package/dist/api/resources/commons/types/OsInfo.d.ts +1 -1
- package/dist/api/resources/commons/types/Precondition.d.ts +1 -1
- package/dist/api/resources/commons/types/PreconditionBase.d.ts +1 -1
- package/dist/api/resources/commons/types/PreconditionGroup.d.ts +1 -1
- package/dist/api/resources/commons/types/ResponseConfig.d.ts +7 -1
- package/dist/api/resources/commons/types/ResponseConfigPrecondition.d.ts +1 -1
- package/dist/api/resources/commons/types/SafetyCheckReport.d.ts +9 -0
- package/dist/api/resources/commons/types/SafetyCheckReport.js +3 -0
- package/dist/api/resources/commons/types/ScopedEntity.d.ts +1 -1
- package/dist/api/resources/commons/types/SimulationContext.d.ts +1 -1
- package/dist/api/resources/commons/types/SourceInfo.d.ts +1 -1
- package/dist/api/resources/commons/types/SystemEvent.d.ts +1 -1
- package/dist/api/resources/commons/types/TagsPrecondition.d.ts +1 -1
- package/dist/api/resources/commons/types/UserData.d.ts +1 -1
- package/dist/api/resources/commons/types/UserDataWithReference.d.ts +1 -1
- package/dist/api/resources/commons/types/UserEvent.d.ts +3 -1
- package/dist/api/resources/commons/types/UserMessage.d.ts +1 -1
- package/dist/api/resources/commons/types/UserMessageBase.d.ts +1 -1
- package/dist/api/resources/commons/types/index.d.ts +121 -112
- package/dist/api/resources/commons/types/index.js +121 -112
- package/dist/api/resources/conversation/client/Client.d.ts +5 -31
- package/dist/api/resources/conversation/client/Client.js +90 -90
- package/dist/api/resources/conversation/client/index.d.ts +0 -1
- package/dist/api/resources/conversation/client/requests/SimulationImportRequest.d.ts +1 -1
- package/dist/api/resources/conversation/client/requests/index.d.ts +3 -3
- package/dist/api/resources/conversation/index.d.ts +1 -1
- package/dist/api/resources/conversation/index.js +1 -1
- package/dist/api/resources/conversation/types/ActionFormAttachment.d.ts +1 -1
- package/dist/api/resources/conversation/types/ActionFormRequestParamValue.d.ts +1 -1
- package/dist/api/resources/conversation/types/AskObjectRequest.d.ts +1 -1
- package/dist/api/resources/conversation/types/AskRequest.d.ts +1 -1
- package/dist/api/resources/conversation/types/AskStreamActionEvent.d.ts +1 -1
- package/dist/api/resources/conversation/types/AskStreamChartEvent.d.ts +1 -1
- package/dist/api/resources/conversation/types/AskStreamEndEvent.d.ts +1 -1
- package/dist/api/resources/conversation/types/AskStreamMetadataEvent.d.ts +1 -1
- package/dist/api/resources/conversation/types/AskStreamOAuthButtonEvent.d.ts +1 -1
- package/dist/api/resources/conversation/types/AskStreamStartEvent.d.ts +1 -1
- package/dist/api/resources/conversation/types/ConversationField.d.ts +2 -0
- package/dist/api/resources/conversation/types/ConversationField.js +2 -0
- package/dist/api/resources/conversation/types/ConversationFilter.d.ts +1 -1
- package/dist/api/resources/conversation/types/ConversationMessageRequest.d.ts +1 -1
- package/dist/api/resources/conversation/types/ConversationPatchRequest.d.ts +1 -1
- package/dist/api/resources/conversation/types/ConversationRequest.d.ts +1 -1
- package/dist/api/resources/conversation/types/ConversationsResponse.d.ts +1 -1
- package/dist/api/resources/conversation/types/ConversationsSearchRequest.d.ts +1 -1
- package/dist/api/resources/conversation/types/DeliverConversationMessageRequest.d.ts +1 -1
- package/dist/api/resources/conversation/types/DeliverMessageRequest.d.ts +1 -1
- package/dist/api/resources/conversation/types/DeliverMessageResponse.d.ts +1 -1
- package/dist/api/resources/conversation/types/DeliverUserMessageRequest.d.ts +1 -1
- package/dist/api/resources/conversation/types/FeedbackFilter.d.ts +1 -1
- package/dist/api/resources/conversation/types/FeedbackRequest.d.ts +1 -1
- package/dist/api/resources/conversation/types/NumericConversationField.d.ts +1 -0
- package/dist/api/resources/conversation/types/NumericConversationField.js +1 -0
- package/dist/api/resources/conversation/types/ObjectStreamResponse.d.ts +1 -1
- package/dist/api/resources/conversation/types/StreamResponse.d.ts +1 -1
- package/dist/api/resources/conversation/types/SubmitActionFormRequest.d.ts +1 -1
- package/dist/api/resources/conversation/types/index.d.ts +21 -21
- package/dist/api/resources/conversation/types/index.js +21 -21
- package/dist/api/resources/customers/client/Client.d.ts +82 -0
- package/dist/api/resources/customers/client/Client.js +462 -0
- package/dist/api/resources/customers/client/index.d.ts +1 -0
- package/dist/api/resources/customers/client/index.js +17 -0
- package/dist/api/resources/customers/client/requests/CustomerGetRequest.d.ts +8 -0
- package/dist/api/resources/customers/client/requests/CustomerGetRequest.js +3 -0
- package/dist/api/resources/customers/client/requests/index.d.ts +1 -0
- package/dist/api/resources/customers/client/requests/index.js +2 -0
- package/dist/api/resources/customers/index.d.ts +2 -0
- package/dist/api/resources/customers/index.js +18 -0
- package/dist/api/resources/customers/types/CustomerBase.d.ts +12 -0
- package/dist/api/resources/customers/types/CustomerBase.js +3 -0
- package/dist/api/resources/customers/types/CustomerField.d.ts +5 -0
- package/dist/api/resources/customers/types/CustomerField.js +8 -0
- package/dist/api/resources/customers/types/CustomerFilter.d.ts +11 -0
- package/dist/api/resources/customers/types/CustomerFilter.js +3 -0
- package/dist/api/resources/customers/types/CustomerPatchRequest.d.ts +21 -0
- package/dist/api/resources/customers/types/CustomerPatchRequest.js +3 -0
- package/dist/api/resources/customers/types/CustomerRequest.d.ts +15 -0
- package/dist/api/resources/customers/types/CustomerRequest.js +3 -0
- package/dist/api/resources/customers/types/CustomerResponse.d.ts +30 -0
- package/dist/api/resources/customers/types/CustomerResponse.js +3 -0
- package/dist/api/resources/customers/types/CustomerStatus.d.ts +5 -0
- package/dist/api/resources/customers/types/CustomerStatus.js +8 -0
- package/dist/api/resources/customers/types/CustomersSearchRequest.d.ts +7 -0
- package/dist/api/resources/customers/types/CustomersSearchRequest.js +3 -0
- package/dist/api/resources/customers/types/CustomersSearchResponse.d.ts +4 -0
- package/dist/api/resources/customers/types/CustomersSearchResponse.js +3 -0
- package/dist/api/resources/customers/types/index.d.ts +9 -0
- package/dist/api/resources/customers/types/index.js +25 -0
- package/dist/api/resources/events/client/Client.d.ts +3 -29
- package/dist/api/resources/events/client/Client.js +23 -23
- package/dist/api/resources/events/client/index.d.ts +0 -1
- package/dist/api/resources/events/client/requests/index.d.ts +1 -1
- package/dist/api/resources/inbox/client/Client.d.ts +3 -29
- package/dist/api/resources/inbox/client/Client.js +32 -32
- package/dist/api/resources/inbox/client/index.d.ts +0 -1
- package/dist/api/resources/inbox/client/requests/index.d.ts +3 -3
- package/dist/api/resources/inbox/index.d.ts +1 -1
- package/dist/api/resources/inbox/index.js +1 -1
- package/dist/api/resources/inbox/types/AddDocumentFixRequest.d.ts +1 -1
- package/dist/api/resources/inbox/types/ApplyFixesRequest.d.ts +1 -1
- package/dist/api/resources/inbox/types/InboxFilter.d.ts +1 -1
- package/dist/api/resources/inbox/types/InboxSearchRequest.d.ts +1 -1
- package/dist/api/resources/inbox/types/InboxSearchResponse.d.ts +1 -1
- package/dist/api/resources/inbox/types/index.d.ts +2 -2
- package/dist/api/resources/inbox/types/index.js +2 -2
- package/dist/api/resources/index.d.ts +19 -12
- package/dist/api/resources/index.js +20 -13
- package/dist/api/resources/knowledge/client/Client.d.ts +3 -29
- package/dist/api/resources/knowledge/client/Client.js +70 -70
- package/dist/api/resources/knowledge/client/index.d.ts +0 -1
- package/dist/api/resources/knowledge/client/requests/KnowledgeBasePatchRequest.d.ts +1 -1
- package/dist/api/resources/knowledge/client/requests/KnowledgeDocumentPatchRequest.d.ts +1 -1
- package/dist/api/resources/knowledge/client/requests/index.d.ts +5 -5
- package/dist/api/resources/knowledge/index.d.ts +1 -1
- package/dist/api/resources/knowledge/index.js +1 -1
- package/dist/api/resources/knowledge/types/FinalizeKnowledgeBaseVersionRequest.d.ts +1 -1
- package/dist/api/resources/knowledge/types/KnowledgeBaseFilter.d.ts +1 -1
- package/dist/api/resources/knowledge/types/KnowledgeBaseProperties.d.ts +1 -1
- package/dist/api/resources/knowledge/types/KnowledgeBaseRequest.d.ts +1 -1
- package/dist/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +1 -1
- package/dist/api/resources/knowledge/types/KnowledgeBaseSearchRequest.d.ts +1 -1
- package/dist/api/resources/knowledge/types/KnowledgeBaseVersion.d.ts +1 -1
- package/dist/api/resources/knowledge/types/KnowledgeBaseVersionRequest.d.ts +1 -1
- package/dist/api/resources/knowledge/types/KnowledgeBaseVersionsListResponse.d.ts +1 -1
- package/dist/api/resources/knowledge/types/KnowledgeBasesResponse.d.ts +1 -1
- package/dist/api/resources/knowledge/types/KnowledgeDeleteRequest.d.ts +1 -1
- package/dist/api/resources/knowledge/types/KnowledgeDocumentFilter.d.ts +1 -1
- package/dist/api/resources/knowledge/types/KnowledgeDocumentRequest.d.ts +4 -2
- package/dist/api/resources/knowledge/types/KnowledgeDocumentResponse.d.ts +19 -1
- package/dist/api/resources/knowledge/types/KnowledgeDocumentSearchRequest.d.ts +1 -1
- package/dist/api/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +1 -1
- package/dist/api/resources/knowledge/types/KnowledgeDocumentsResponse.d.ts +1 -1
- package/dist/api/resources/knowledge/types/index.d.ts +16 -16
- package/dist/api/resources/knowledge/types/index.js +16 -16
- package/dist/api/resources/organizations/client/Client.d.ts +3 -29
- package/dist/api/resources/organizations/client/Client.js +33 -33
- package/dist/api/resources/organizations/index.d.ts +1 -1
- package/dist/api/resources/organizations/index.js +1 -1
- package/dist/api/resources/organizations/types/CreateOrganizationRequest.d.ts +1 -1
- package/dist/api/resources/organizations/types/Organization.d.ts +1 -1
- package/dist/api/resources/organizations/types/index.d.ts +1 -1
- package/dist/api/resources/organizations/types/index.js +1 -1
- package/dist/api/resources/segments/client/Client.d.ts +7 -33
- package/dist/api/resources/segments/client/Client.js +28 -28
- package/dist/api/resources/segments/client/index.d.ts +0 -1
- package/dist/api/resources/segments/client/requests/index.d.ts +1 -1
- package/dist/api/resources/segments/index.d.ts +1 -1
- package/dist/api/resources/segments/index.js +1 -1
- package/dist/api/resources/segments/types/SegmentBase.d.ts +1 -1
- package/dist/api/resources/segments/types/SegmentPatchRequest.d.ts +1 -1
- package/dist/api/resources/segments/types/SegmentRequest.d.ts +5 -5
- package/dist/api/resources/segments/types/SegmentResponse.d.ts +5 -5
- package/dist/api/resources/segments/types/SegmentsSearchRequest.d.ts +1 -1
- package/dist/api/resources/segments/types/SegmentsSearchResponse.d.ts +1 -1
- package/dist/api/resources/segments/types/index.d.ts +4 -4
- package/dist/api/resources/segments/types/index.js +4 -4
- package/dist/api/resources/translations/client/Client.d.ts +3 -29
- package/dist/api/resources/translations/client/Client.js +9 -9
- package/dist/api/resources/translations/index.d.ts +1 -1
- package/dist/api/resources/translations/index.js +1 -1
- package/dist/api/resources/triggers/client/Client.d.ts +3 -29
- package/dist/api/resources/triggers/client/Client.js +29 -29
- package/dist/api/resources/triggers/client/index.d.ts +0 -1
- package/dist/api/resources/triggers/client/requests/PartialUpdateRequest.d.ts +1 -1
- package/dist/api/resources/triggers/client/requests/index.d.ts +1 -1
- package/dist/api/resources/triggers/index.d.ts +1 -1
- package/dist/api/resources/triggers/index.js +1 -1
- package/dist/api/resources/triggers/types/EventTriggerBase.d.ts +1 -1
- package/dist/api/resources/triggers/types/EventTriggerRequest.d.ts +1 -1
- package/dist/api/resources/triggers/types/EventTriggerResponse.d.ts +1 -1
- package/dist/api/resources/triggers/types/EventTriggersSearchRequest.d.ts +1 -1
- package/dist/api/resources/triggers/types/EventTriggersSearchResponse.d.ts +1 -1
- package/dist/api/resources/triggers/types/index.d.ts +2 -3
- package/dist/api/resources/triggers/types/index.js +2 -3
- package/dist/api/resources/users/client/Client.d.ts +3 -29
- package/dist/api/resources/users/client/Client.js +30 -30
- package/dist/api/resources/users/client/index.d.ts +0 -1
- package/dist/api/resources/users/client/requests/index.d.ts +2 -2
- package/dist/api/resources/users/index.d.ts +1 -1
- package/dist/api/resources/users/index.js +1 -1
- package/dist/api/resources/users/types/AgentUser.d.ts +1 -1
- package/dist/api/resources/users/types/AgentUserSearchRequest.d.ts +1 -1
- package/dist/api/resources/users/types/AgentUserSearchResponse.d.ts +1 -1
- package/dist/api/resources/users/types/AppUserSummary.d.ts +1 -1
- package/dist/api/resources/users/types/index.d.ts +1 -1
- package/dist/api/resources/users/types/index.js +1 -1
- package/dist/api/resources/websockets/client/Client.d.ts +22 -0
- package/dist/api/resources/websockets/client/Client.js +89 -0
- package/dist/api/resources/websockets/client/Socket.d.ts +48 -0
- package/dist/api/resources/websockets/client/Socket.js +172 -0
- package/dist/api/resources/websockets/client/index.d.ts +1 -0
- package/dist/api/resources/websockets/client/index.js +2 -0
- package/dist/api/resources/websockets/index.d.ts +2 -0
- package/dist/api/resources/websockets/index.js +18 -0
- package/dist/api/resources/websockets/types/AgentAudioChunk.d.ts +9 -0
- package/dist/api/resources/websockets/types/AgentAudioChunk.js +3 -0
- package/dist/api/resources/websockets/types/AgentTranscript.d.ts +9 -0
- package/dist/api/resources/websockets/types/AgentTranscript.js +3 -0
- package/dist/api/resources/websockets/types/AudioFormat.d.ts +7 -0
- package/dist/api/resources/websockets/types/AudioFormat.js +10 -0
- package/dist/api/resources/websockets/types/Config.d.ts +15 -0
- package/dist/api/resources/websockets/types/Config.js +3 -0
- package/dist/api/resources/websockets/types/ConversationEnded.d.ts +7 -0
- package/dist/api/resources/websockets/types/ConversationEnded.js +3 -0
- package/dist/api/resources/websockets/types/ConversationReady.d.ts +6 -0
- package/dist/api/resources/websockets/types/ConversationReady.js +3 -0
- package/dist/api/resources/websockets/types/Error_.d.ts +9 -0
- package/dist/api/resources/websockets/types/Error_.js +3 -0
- package/dist/api/resources/websockets/types/ServerEventBase.d.ts +6 -0
- package/dist/api/resources/websockets/types/ServerEventBase.js +3 -0
- package/dist/api/resources/websockets/types/UserAudioChunk.d.ts +8 -0
- package/dist/api/resources/websockets/types/UserAudioChunk.js +3 -0
- package/dist/api/resources/websockets/types/UserFinishedSpeaking.d.ts +7 -0
- package/dist/api/resources/websockets/types/UserFinishedSpeaking.js +3 -0
- package/dist/api/resources/websockets/types/UserStartedSpeaking.d.ts +7 -0
- package/dist/api/resources/websockets/types/UserStartedSpeaking.js +3 -0
- package/dist/api/resources/websockets/types/UserTranscript.d.ts +9 -0
- package/dist/api/resources/websockets/types/UserTranscript.js +3 -0
- package/dist/api/resources/websockets/types/index.d.ts +12 -0
- package/dist/api/resources/websockets/types/index.js +28 -0
- package/dist/core/auth/AuthProvider.d.ts +1 -1
- package/dist/core/fetcher/APIResponse.d.ts +1 -1
- package/dist/core/fetcher/BinaryResponse.d.ts +1 -1
- package/dist/core/fetcher/EndpointSupplier.d.ts +2 -2
- package/dist/core/fetcher/Fetcher.d.ts +2 -2
- package/dist/core/fetcher/Fetcher.js +2 -1
- package/dist/core/fetcher/HttpResponsePromise.d.ts +1 -1
- package/dist/core/fetcher/getErrorResponseBody.js +2 -1
- package/dist/core/fetcher/getResponseBody.js +3 -3
- package/dist/core/fetcher/makeRequest.js +2 -2
- package/dist/core/fetcher/requestWithRetries.js +3 -3
- package/dist/core/file/file.d.ts +6 -1
- package/dist/core/file/file.js +25 -7
- package/dist/core/form-data-utils/FormDataWrapper.d.ts +2 -3
- package/dist/core/form-data-utils/FormDataWrapper.js +62 -85
- package/dist/core/index.d.ts +5 -4
- package/dist/core/index.js +6 -5
- package/dist/core/schemas/Schema.d.ts +1 -1
- package/dist/core/schemas/builders/bigint/bigint.d.ts +1 -1
- package/dist/core/schemas/builders/bigint/bigint.js +2 -2
- package/dist/core/schemas/builders/date/date.d.ts +1 -1
- package/dist/core/schemas/builders/date/date.js +2 -2
- package/dist/core/schemas/builders/enum/enum.d.ts +1 -1
- package/dist/core/schemas/builders/index.d.ts +14 -14
- package/dist/core/schemas/builders/index.js +14 -14
- package/dist/core/schemas/builders/lazy/lazy.d.ts +1 -1
- package/dist/core/schemas/builders/lazy/lazy.js +2 -2
- package/dist/core/schemas/builders/lazy/lazyObject.d.ts +2 -2
- package/dist/core/schemas/builders/lazy/lazyObject.js +4 -4
- package/dist/core/schemas/builders/list/list.d.ts +1 -1
- package/dist/core/schemas/builders/list/list.js +2 -2
- package/dist/core/schemas/builders/literals/booleanLiteral.d.ts +1 -1
- package/dist/core/schemas/builders/literals/stringLiteral.d.ts +1 -1
- package/dist/core/schemas/builders/object/object.d.ts +1 -1
- package/dist/core/schemas/builders/object/object.js +5 -5
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +1 -1
- package/dist/core/schemas/builders/object/property.d.ts +1 -1
- package/dist/core/schemas/builders/object/types.d.ts +5 -5
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +2 -2
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +2 -2
- package/dist/core/schemas/builders/object-like/types.d.ts +1 -1
- package/dist/core/schemas/builders/primitives/any.d.ts +1 -1
- package/dist/core/schemas/builders/primitives/boolean.d.ts +1 -1
- package/dist/core/schemas/builders/primitives/number.d.ts +1 -1
- package/dist/core/schemas/builders/primitives/string.d.ts +1 -1
- package/dist/core/schemas/builders/primitives/unknown.d.ts +1 -1
- package/dist/core/schemas/builders/record/record.d.ts +2 -2
- package/dist/core/schemas/builders/record/record.js +3 -3
- package/dist/core/schemas/builders/record/types.d.ts +2 -2
- package/dist/core/schemas/builders/schema-utils/JsonError.d.ts +1 -1
- package/dist/core/schemas/builders/schema-utils/ParseError.d.ts +1 -1
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +1 -1
- package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +1 -1
- package/dist/core/schemas/builders/set/set.d.ts +1 -1
- package/dist/core/schemas/builders/set/set.js +4 -4
- package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +1 -1
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +2 -2
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +2 -2
- package/dist/core/schemas/builders/union/types.d.ts +2 -2
- package/dist/core/schemas/builders/union/union.d.ts +3 -3
- package/dist/core/schemas/builders/union/union.js +4 -4
- package/dist/core/schemas/index.d.ts +1 -1
- package/dist/core/schemas/index.js +1 -1
- package/dist/core/schemas/utils/createIdentitySchemaCreator.d.ts +1 -1
- package/dist/core/schemas/utils/createIdentitySchemaCreator.js +2 -2
- package/dist/core/schemas/utils/maybeSkipValidation.d.ts +1 -1
- package/dist/core/stream/Stream.d.ts +1 -0
- package/dist/core/stream/Stream.js +8 -5
- package/dist/core/url/encodePathParam.d.ts +1 -0
- package/dist/core/url/encodePathParam.js +21 -0
- package/dist/core/url/index.d.ts +1 -0
- package/dist/core/url/index.js +3 -1
- package/dist/core/url/join.js +3 -3
- package/dist/core/websocket/events.d.ts +36 -0
- package/dist/core/websocket/events.js +27 -0
- package/dist/core/websocket/index.d.ts +1 -0
- package/dist/core/websocket/index.js +17 -0
- package/dist/core/websocket/ws.d.ts +147 -0
- package/dist/core/websocket/ws.js +444 -0
- package/dist/errors/MavenAGIError.d.ts +1 -1
- package/dist/errors/MavenAGIError.js +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.js +5 -5
- package/dist/serialization/resources/actions/client/requests/ActionPatchRequest.d.ts +3 -3
- package/dist/serialization/resources/actions/client/requests/ActionPatchRequest.js +1 -1
- package/dist/serialization/resources/actions/index.d.ts +1 -1
- package/dist/serialization/resources/actions/index.js +1 -1
- package/dist/serialization/resources/actions/types/ActionField.d.ts +2 -2
- package/dist/serialization/resources/actions/types/ActionFilter.d.ts +2 -2
- package/dist/serialization/resources/actions/types/ActionRequest.d.ts +3 -3
- package/dist/serialization/resources/actions/types/ActionRequest.js +1 -1
- package/dist/serialization/resources/actions/types/ActionsResponse.d.ts +2 -2
- package/dist/serialization/resources/actions/types/ActionsSearchRequest.d.ts +3 -3
- package/dist/serialization/resources/actions/types/ActionsSearchRequest.js +1 -1
- package/dist/serialization/resources/actions/types/index.d.ts +2 -2
- package/dist/serialization/resources/actions/types/index.js +2 -2
- package/dist/serialization/resources/agents/client/list.d.ts +2 -2
- package/dist/serialization/resources/agents/client/requests/AgentPatchRequest.d.ts +4 -4
- package/dist/serialization/resources/agents/client/requests/AgentPatchRequest.js +2 -2
- package/dist/serialization/resources/agents/index.d.ts +1 -1
- package/dist/serialization/resources/agents/index.js +1 -1
- package/dist/serialization/resources/agents/types/Agent.d.ts +3 -3
- package/dist/serialization/resources/agents/types/Agent.js +1 -1
- package/dist/serialization/resources/agents/types/AgentEnvironment.d.ts +2 -2
- package/dist/serialization/resources/agents/types/AgentField.d.ts +2 -2
- package/dist/serialization/resources/agents/types/AgentFilter.d.ts +2 -2
- package/dist/serialization/resources/agents/types/AgentPrompting.d.ts +2 -2
- package/dist/serialization/resources/agents/types/AgentsSearchRequest.d.ts +3 -3
- package/dist/serialization/resources/agents/types/AgentsSearchRequest.js +1 -1
- package/dist/serialization/resources/agents/types/AgentsSearchResponse.d.ts +3 -3
- package/dist/serialization/resources/agents/types/AgentsSearchResponse.js +1 -1
- package/dist/serialization/resources/agents/types/CreateAgentRequest.d.ts +2 -2
- package/dist/serialization/resources/agents/types/index.d.ts +4 -5
- package/dist/serialization/resources/agents/types/index.js +4 -5
- package/dist/serialization/resources/analytics/types/AgentUserAnalyticsRequest.d.ts +2 -2
- package/dist/serialization/resources/analytics/types/AgentUserColumnDefinition.d.ts +2 -2
- package/dist/serialization/resources/analytics/types/AgentUserCount.d.ts +3 -4
- package/dist/serialization/resources/analytics/types/AgentUserMetric.d.ts +2 -2
- package/dist/serialization/resources/analytics/types/AgentUserRow.d.ts +3 -3
- package/dist/serialization/resources/analytics/types/AgentUserRow.js +1 -1
- package/dist/serialization/resources/analytics/types/AgentUserTableRequest.d.ts +4 -4
- package/dist/serialization/resources/analytics/types/AgentUserTableRequest.js +2 -2
- package/dist/serialization/resources/analytics/types/AgentUserTableResponse.d.ts +2 -2
- package/dist/serialization/resources/analytics/types/BarChartResponse.d.ts +2 -2
- package/dist/serialization/resources/analytics/types/CellData.d.ts +2 -2
- package/dist/serialization/resources/analytics/types/ChartResponse.d.ts +4 -4
- package/dist/serialization/resources/analytics/types/ChartResponse.js +2 -2
- package/dist/serialization/resources/analytics/types/ColumnDefinitionBase.d.ts +2 -2
- package/dist/serialization/resources/analytics/types/ConversationAnalyticsRequest.d.ts +2 -2
- package/dist/serialization/resources/analytics/types/ConversationAverage.d.ts +2 -2
- package/dist/serialization/resources/analytics/types/ConversationBarChartRequest.d.ts +3 -3
- package/dist/serialization/resources/analytics/types/ConversationBarChartRequest.js +1 -1
- package/dist/serialization/resources/analytics/types/ConversationBasicMetric.d.ts +2 -2
- package/dist/serialization/resources/analytics/types/ConversationChartRequest.d.ts +4 -4
- package/dist/serialization/resources/analytics/types/ConversationChartRequest.js +2 -2
- package/dist/serialization/resources/analytics/types/ConversationColumnDefinition.d.ts +3 -3
- package/dist/serialization/resources/analytics/types/ConversationColumnDefinition.js +1 -1
- package/dist/serialization/resources/analytics/types/ConversationCount.d.ts +3 -4
- package/dist/serialization/resources/analytics/types/ConversationDateHistogramRequest.d.ts +4 -4
- package/dist/serialization/resources/analytics/types/ConversationDateHistogramRequest.js +2 -2
- package/dist/serialization/resources/analytics/types/ConversationDistinctCount.d.ts +2 -2
- package/dist/serialization/resources/analytics/types/ConversationGroupBy.d.ts +3 -3
- package/dist/serialization/resources/analytics/types/ConversationGroupBy.js +1 -1
- package/dist/serialization/resources/analytics/types/ConversationMax.d.ts +2 -2
- package/dist/serialization/resources/analytics/types/ConversationMedian.d.ts +2 -2
- package/dist/serialization/resources/analytics/types/ConversationMetric.d.ts +7 -7
- package/dist/serialization/resources/analytics/types/ConversationMetric.js +5 -5
- package/dist/serialization/resources/analytics/types/ConversationMin.d.ts +2 -2
- package/dist/serialization/resources/analytics/types/ConversationNumericMetric.d.ts +2 -2
- package/dist/serialization/resources/analytics/types/ConversationPercentile.d.ts +2 -2
- package/dist/serialization/resources/analytics/types/ConversationPieChartRequest.d.ts +3 -3
- package/dist/serialization/resources/analytics/types/ConversationPieChartRequest.js +1 -1
- package/dist/serialization/resources/analytics/types/ConversationRow.d.ts +3 -3
- package/dist/serialization/resources/analytics/types/ConversationRow.js +1 -1
- package/dist/serialization/resources/analytics/types/ConversationSum.d.ts +2 -2
- package/dist/serialization/resources/analytics/types/ConversationTableRequest.d.ts +5 -5
- package/dist/serialization/resources/analytics/types/ConversationTableRequest.js +3 -3
- package/dist/serialization/resources/analytics/types/ConversationTableResponse.d.ts +2 -2
- package/dist/serialization/resources/analytics/types/DateHistogramResponse.d.ts +2 -2
- package/dist/serialization/resources/analytics/types/EventAnalyticsRequest.d.ts +11 -0
- package/dist/serialization/resources/analytics/types/EventAnalyticsRequest.js +43 -0
- package/dist/serialization/resources/analytics/types/EventBarChartRequest.d.ts +14 -0
- package/dist/serialization/resources/analytics/types/EventBarChartRequest.js +48 -0
- package/dist/serialization/resources/analytics/types/EventChartRequest.d.ts +19 -0
- package/dist/serialization/resources/analytics/types/EventChartRequest.js +51 -0
- package/dist/serialization/resources/analytics/types/EventColumnDefinition.d.ts +11 -0
- package/dist/serialization/resources/analytics/types/EventColumnDefinition.js +45 -0
- package/dist/serialization/resources/analytics/types/EventCount.d.ts +7 -0
- package/dist/serialization/resources/analytics/types/EventCount.js +39 -0
- package/dist/serialization/resources/analytics/types/EventDateHistogramRequest.d.ts +15 -0
- package/dist/serialization/resources/analytics/types/EventDateHistogramRequest.js +49 -0
- package/dist/serialization/resources/analytics/types/EventDistinctCount.d.ts +10 -0
- package/dist/serialization/resources/analytics/types/EventDistinctCount.js +42 -0
- package/dist/serialization/resources/analytics/types/EventGroupBy.d.ts +11 -0
- package/dist/serialization/resources/analytics/types/EventGroupBy.js +45 -0
- package/dist/serialization/resources/analytics/types/EventMetric.d.ts +15 -0
- package/dist/serialization/resources/analytics/types/EventMetric.js +49 -0
- package/dist/serialization/resources/analytics/types/EventPieChartRequest.d.ts +13 -0
- package/dist/serialization/resources/analytics/types/EventPieChartRequest.js +47 -0
- package/dist/serialization/resources/analytics/types/EventRow.d.ts +12 -0
- package/dist/serialization/resources/analytics/types/EventRow.js +46 -0
- package/dist/serialization/resources/analytics/types/EventTableRequest.d.ts +15 -0
- package/dist/serialization/resources/analytics/types/EventTableRequest.js +49 -0
- package/dist/serialization/resources/analytics/types/EventTableResponse.d.ts +11 -0
- package/dist/serialization/resources/analytics/types/EventTableResponse.js +45 -0
- package/dist/serialization/resources/analytics/types/FeedbackAnalyticsRequest.d.ts +2 -2
- package/dist/serialization/resources/analytics/types/FeedbackColumnDefinition.d.ts +3 -3
- package/dist/serialization/resources/analytics/types/FeedbackColumnDefinition.js +1 -1
- package/dist/serialization/resources/analytics/types/FeedbackCount.d.ts +3 -4
- package/dist/serialization/resources/analytics/types/FeedbackDistinctCount.d.ts +2 -2
- package/dist/serialization/resources/analytics/types/FeedbackGroupBy.d.ts +2 -2
- package/dist/serialization/resources/analytics/types/FeedbackMetric.d.ts +2 -2
- package/dist/serialization/resources/analytics/types/FeedbackRow.d.ts +3 -3
- package/dist/serialization/resources/analytics/types/FeedbackRow.js +1 -1
- package/dist/serialization/resources/analytics/types/FeedbackTableRequest.d.ts +5 -5
- package/dist/serialization/resources/analytics/types/FeedbackTableRequest.js +3 -3
- package/dist/serialization/resources/analytics/types/FeedbackTableResponse.d.ts +2 -2
- package/dist/serialization/resources/analytics/types/FieldValue.d.ts +3 -3
- package/dist/serialization/resources/analytics/types/FieldValue.js +1 -1
- package/dist/serialization/resources/analytics/types/GroupByBase.d.ts +2 -2
- package/dist/serialization/resources/analytics/types/LabeledPoint.d.ts +2 -2
- package/dist/serialization/resources/analytics/types/PieChartResponse.d.ts +2 -2
- package/dist/serialization/resources/analytics/types/Range.d.ts +2 -2
- package/dist/serialization/resources/analytics/types/RowBase.d.ts +2 -2
- package/dist/serialization/resources/analytics/types/Series.d.ts +2 -2
- package/dist/serialization/resources/analytics/types/TableResponseBase.d.ts +2 -2
- package/dist/serialization/resources/analytics/types/TimeDataPoint.d.ts +2 -2
- package/dist/serialization/resources/analytics/types/TimeInterval.d.ts +2 -2
- package/dist/serialization/resources/analytics/types/TimeSeries.d.ts +2 -2
- package/dist/serialization/resources/analytics/types/index.d.ts +49 -36
- package/dist/serialization/resources/analytics/types/index.js +49 -36
- package/dist/serialization/resources/appSettings/client/get.d.ts +1 -1
- package/dist/serialization/resources/appSettings/client/update.d.ts +1 -1
- package/dist/serialization/resources/appSettings/index.d.ts +1 -1
- package/dist/serialization/resources/appSettings/index.js +1 -1
- package/dist/serialization/resources/appSettings/types/AppSettings.d.ts +2 -2
- package/dist/serialization/resources/appSettings/types/SearchAppSettingsResponse.d.ts +2 -2
- package/dist/serialization/resources/appSettings/types/index.d.ts +1 -1
- package/dist/serialization/resources/appSettings/types/index.js +1 -1
- package/dist/serialization/resources/assets/types/CommitAssetUploadRequest.d.ts +2 -2
- package/dist/serialization/resources/assets/types/InitiateAssetUploadRequest.d.ts +2 -2
- package/dist/serialization/resources/assets/types/InitiateAssetUploadResponse.d.ts +2 -2
- package/dist/serialization/resources/assets/types/index.d.ts +1 -1
- package/dist/serialization/resources/assets/types/index.js +1 -1
- package/dist/serialization/resources/auth/index.d.ts +1 -0
- package/dist/serialization/resources/auth/index.js +17 -0
- package/dist/serialization/resources/auth/types/SessionTokenRequest.d.ts +9 -0
- package/dist/serialization/resources/auth/types/SessionTokenRequest.js +41 -0
- package/dist/serialization/resources/auth/types/SessionTokenResponse.d.ts +10 -0
- package/dist/serialization/resources/auth/types/SessionTokenResponse.js +42 -0
- package/dist/serialization/resources/auth/types/index.d.ts +2 -0
- package/dist/serialization/resources/auth/types/index.js +18 -0
- package/dist/serialization/resources/commons/types/ActionBase.d.ts +4 -9
- package/dist/serialization/resources/commons/types/ActionBase.js +5 -9
- package/dist/serialization/resources/commons/types/ActionEnumOption.d.ts +2 -2
- package/dist/serialization/resources/commons/types/ActionExecutionParamValue.d.ts +2 -2
- package/dist/serialization/resources/commons/types/ActionFormField.d.ts +3 -3
- package/dist/serialization/resources/commons/types/ActionFormField.js +1 -1
- package/dist/serialization/resources/commons/types/ActionOAuthConfiguration.d.ts +2 -2
- package/dist/serialization/resources/commons/types/ActionParameter.d.ts +3 -3
- package/dist/serialization/resources/commons/types/ActionParameter.js +1 -1
- package/dist/serialization/resources/commons/types/ActionParameterType.d.ts +3 -3
- package/dist/serialization/resources/commons/types/ActionParameterType.js +1 -0
- package/dist/serialization/resources/commons/types/ActionProperties.d.ts +14 -0
- package/dist/serialization/resources/commons/types/ActionProperties.js +47 -0
- package/dist/serialization/resources/commons/types/ActionResponse.d.ts +3 -3
- package/dist/serialization/resources/commons/types/ActionResponse.js +1 -1
- package/dist/serialization/resources/commons/types/ActionUser.d.ts +17 -0
- package/dist/serialization/resources/commons/types/ActionUser.js +49 -0
- package/dist/serialization/resources/commons/types/AppPrecondition.d.ts +2 -2
- package/dist/serialization/resources/commons/types/AppUser.d.ts +2 -2
- package/dist/serialization/resources/commons/types/AppUserIdentifier.d.ts +2 -2
- package/dist/serialization/resources/commons/types/AppUserIdentifyingPropertyType.d.ts +2 -2
- package/dist/serialization/resources/commons/types/AppUserRequest.d.ts +3 -3
- package/dist/serialization/resources/commons/types/AppUserRequest.js +1 -1
- package/dist/serialization/resources/commons/types/AppUserResponse.d.ts +3 -3
- package/dist/serialization/resources/commons/types/AppUserResponse.js +1 -1
- package/dist/serialization/resources/commons/types/AttachmentRequest.d.ts +3 -3
- package/dist/serialization/resources/commons/types/AttachmentRequest.js +1 -1
- package/dist/serialization/resources/commons/types/AttachmentResponse.d.ts +2 -2
- package/dist/serialization/resources/commons/types/AttachmentStatus.d.ts +2 -2
- package/dist/serialization/resources/commons/types/BaseAttachment.d.ts +2 -2
- package/dist/serialization/resources/commons/types/BaseConversationResponse.d.ts +4 -4
- package/dist/serialization/resources/commons/types/BaseConversationResponse.js +2 -2
- package/dist/serialization/resources/commons/types/BasePaginatedRequest.d.ts +2 -2
- package/dist/serialization/resources/commons/types/BaseSearchRequest.d.ts +2 -2
- package/dist/serialization/resources/commons/types/BotActionFormResponse.d.ts +3 -3
- package/dist/serialization/resources/commons/types/BotActionFormResponse.js +1 -1
- package/dist/serialization/resources/commons/types/BotChartResponse.d.ts +2 -2
- package/dist/serialization/resources/commons/types/BotConversationMessageType.d.ts +2 -2
- package/dist/serialization/resources/commons/types/BotLogic.d.ts +2 -2
- package/dist/serialization/resources/commons/types/BotLogicActionExecutedDetail.d.ts +2 -2
- package/dist/serialization/resources/commons/types/BotLogicActionItem.d.ts +3 -3
- package/dist/serialization/resources/commons/types/BotLogicActionItem.js +1 -1
- package/dist/serialization/resources/commons/types/BotLogicActionReviewedDetail.d.ts +2 -2
- package/dist/serialization/resources/commons/types/BotLogicFormSubmissionItem.d.ts +2 -2
- package/dist/serialization/resources/commons/types/BotLogicItem.d.ts +4 -4
- package/dist/serialization/resources/commons/types/BotLogicItem.js +2 -2
- package/dist/serialization/resources/commons/types/BotLogicKnowledgeDetail.d.ts +2 -2
- package/dist/serialization/resources/commons/types/BotLogicKnowledgeItem.d.ts +2 -2
- package/dist/serialization/resources/commons/types/BotLogicSafetyItem.d.ts +4 -2
- package/dist/serialization/resources/commons/types/BotLogicSafetyItem.js +2 -0
- package/dist/serialization/resources/commons/types/BotLogicSegmentsItem.d.ts +2 -2
- package/dist/serialization/resources/commons/types/BotLogicUserItem.d.ts +2 -2
- package/dist/serialization/resources/commons/types/BotMessage.d.ts +5 -5
- package/dist/serialization/resources/commons/types/BotMessage.js +3 -3
- package/dist/serialization/resources/commons/types/BotOAuthButtonResponse.d.ts +2 -2
- package/dist/serialization/resources/commons/types/BotObjectResponse.d.ts +2 -2
- package/dist/serialization/resources/commons/types/BotResponse.d.ts +4 -4
- package/dist/serialization/resources/commons/types/BotResponse.js +2 -2
- package/dist/serialization/resources/commons/types/BotResponseMetadata.d.ts +2 -2
- package/dist/serialization/resources/commons/types/BotTextResponse.d.ts +2 -2
- package/dist/serialization/resources/commons/types/BrowserInfo.d.ts +2 -2
- package/dist/serialization/resources/commons/types/BrowserType.d.ts +2 -2
- package/dist/serialization/resources/commons/types/Capability.d.ts +2 -2
- package/dist/serialization/resources/commons/types/ChartSpecSchema.d.ts +2 -2
- package/dist/serialization/resources/commons/types/ContextInfo.d.ts +2 -2
- package/dist/serialization/resources/commons/types/ConversationAnalysis.d.ts +3 -3
- package/dist/serialization/resources/commons/types/ConversationAnalysis.js +1 -1
- package/dist/serialization/resources/commons/types/ConversationExecutedActionPrecondition.d.ts +2 -2
- package/dist/serialization/resources/commons/types/ConversationInformation.d.ts +2 -2
- package/dist/serialization/resources/commons/types/ConversationMessageBase.d.ts +2 -2
- package/dist/serialization/resources/commons/types/ConversationMessageResponse.d.ts +3 -3
- package/dist/serialization/resources/commons/types/ConversationMessageResponse.js +1 -1
- package/dist/serialization/resources/commons/types/ConversationPrecondition.d.ts +5 -5
- package/dist/serialization/resources/commons/types/ConversationPrecondition.js +3 -3
- package/dist/serialization/resources/commons/types/ConversationPreview.d.ts +2 -2
- package/dist/serialization/resources/commons/types/ConversationResponse.d.ts +3 -3
- package/dist/serialization/resources/commons/types/ConversationResponse.js +1 -1
- package/dist/serialization/resources/commons/types/ConversationSummary.d.ts +4 -2
- package/dist/serialization/resources/commons/types/ConversationSummary.js +2 -0
- package/dist/serialization/resources/commons/types/DeviceInfo.d.ts +2 -2
- package/dist/serialization/resources/commons/types/DeviceType.d.ts +2 -2
- package/dist/serialization/resources/commons/types/DocumentInformation.d.ts +2 -2
- package/dist/serialization/resources/commons/types/EntityId.d.ts +2 -2
- package/dist/serialization/resources/commons/types/EntityIdBase.d.ts +2 -2
- package/dist/serialization/resources/commons/types/EntityIdFilter.d.ts +2 -2
- package/dist/serialization/resources/commons/types/EntityIdWithoutAgent.d.ts +3 -3
- package/dist/serialization/resources/commons/types/EntityIdWithoutAgent.js +1 -1
- package/dist/serialization/resources/commons/types/EntityResult.d.ts +2 -2
- package/dist/serialization/resources/commons/types/EntityType.d.ts +3 -3
- package/dist/serialization/resources/commons/types/EntityType.js +1 -0
- package/dist/serialization/resources/commons/types/ErrorMessage.d.ts +2 -2
- package/dist/serialization/resources/commons/types/EventBaseNoId.d.ts +4 -4
- package/dist/serialization/resources/commons/types/EventBaseNoId.js +2 -2
- package/dist/serialization/resources/commons/types/EventField.d.ts +3 -3
- package/dist/serialization/resources/commons/types/EventField.js +19 -1
- package/dist/serialization/resources/commons/types/EventFilter.d.ts +5 -5
- package/dist/serialization/resources/commons/types/EventFilter.js +3 -3
- package/dist/serialization/resources/commons/types/EventRequest.d.ts +3 -3
- package/dist/serialization/resources/commons/types/EventRequest.js +1 -1
- package/dist/serialization/resources/commons/types/EventResponse.d.ts +3 -3
- package/dist/serialization/resources/commons/types/EventResponse.js +1 -1
- package/dist/serialization/resources/{triggers → commons}/types/EventTriggerType.d.ts +2 -2
- package/dist/serialization/resources/commons/types/EventType.d.ts +2 -2
- package/dist/serialization/resources/commons/types/EventUserInfo.d.ts +2 -2
- package/dist/serialization/resources/commons/types/EventUserInfoBase.d.ts +2 -2
- package/dist/serialization/resources/commons/types/EventsSearchRequest.d.ts +3 -3
- package/dist/serialization/resources/commons/types/EventsSearchRequest.js +1 -1
- package/dist/serialization/resources/commons/types/EventsSearchResponse.d.ts +2 -2
- package/dist/serialization/resources/commons/types/Feedback.d.ts +2 -2
- package/dist/serialization/resources/commons/types/FeedbackBase.d.ts +2 -2
- package/dist/serialization/resources/commons/types/FeedbackInfo.d.ts +2 -2
- package/dist/serialization/resources/commons/types/FeedbackType.d.ts +2 -2
- package/dist/serialization/resources/commons/types/GeoInfo.d.ts +2 -2
- package/dist/serialization/resources/commons/types/HarmfulContentAnalysis.d.ts +12 -0
- package/dist/serialization/resources/commons/types/HarmfulContentAnalysis.js +44 -0
- package/dist/serialization/resources/commons/types/InboxItem.d.ts +3 -3
- package/dist/serialization/resources/commons/types/InboxItem.js +1 -1
- package/dist/serialization/resources/commons/types/InboxItemBase.d.ts +3 -3
- package/dist/serialization/resources/commons/types/InboxItemBase.js +1 -1
- package/dist/serialization/resources/commons/types/InboxItemCustom.d.ts +2 -2
- package/dist/serialization/resources/commons/types/InboxItemDuplicateDocuments.d.ts +3 -3
- package/dist/serialization/resources/commons/types/InboxItemDuplicateDocuments.js +1 -1
- package/dist/serialization/resources/commons/types/InboxItemFix.d.ts +2 -2
- package/dist/serialization/resources/commons/types/InboxItemFixAddDocument.d.ts +2 -2
- package/dist/serialization/resources/commons/types/InboxItemFixBase.d.ts +2 -2
- package/dist/serialization/resources/commons/types/InboxItemFixDeactivateDocument.d.ts +2 -2
- package/dist/serialization/resources/commons/types/InboxItemMissingKnowledge.d.ts +3 -3
- package/dist/serialization/resources/commons/types/InboxItemMissingKnowledge.js +1 -1
- package/dist/serialization/resources/commons/types/InboxItemSeverity.d.ts +2 -2
- package/dist/serialization/resources/commons/types/InboxItemStatus.d.ts +2 -2
- package/dist/serialization/resources/commons/types/InboxItemType.d.ts +3 -3
- package/dist/serialization/resources/commons/types/InboxItemType.js +1 -1
- package/dist/serialization/resources/commons/types/IpInfo.d.ts +2 -2
- package/dist/serialization/resources/commons/types/KnowledgeContextByEntities.d.ts +10 -0
- package/dist/serialization/resources/commons/types/KnowledgeContextByEntities.js +42 -0
- package/dist/serialization/resources/commons/types/KnowledgeContextByEntityTypes.d.ts +10 -0
- package/dist/serialization/resources/commons/types/KnowledgeContextByEntityTypes.js +42 -0
- package/dist/serialization/resources/commons/types/KnowledgeContextFilter.d.ts +15 -0
- package/dist/serialization/resources/commons/types/KnowledgeContextFilter.js +49 -0
- package/dist/serialization/resources/commons/types/LanguageInfo.d.ts +2 -2
- package/dist/serialization/resources/commons/types/LlmInclusionStatus.d.ts +2 -2
- package/dist/serialization/resources/commons/types/LlmPersona.d.ts +2 -2
- package/dist/serialization/resources/commons/types/MessageStatus.d.ts +2 -2
- package/dist/serialization/resources/commons/types/MetadataPrecondition.d.ts +2 -2
- package/dist/serialization/resources/commons/types/NovelSystemEvent.d.ts +2 -2
- package/dist/serialization/resources/commons/types/NovelSystemEventNoId.d.ts +3 -3
- package/dist/serialization/resources/commons/types/NovelSystemEventNoId.js +1 -1
- package/dist/serialization/resources/commons/types/NovelUserEvent.d.ts +4 -4
- package/dist/serialization/resources/commons/types/NovelUserEvent.js +2 -2
- package/dist/serialization/resources/commons/types/NumberRange.d.ts +2 -2
- package/dist/serialization/resources/commons/types/OsInfo.d.ts +2 -2
- package/dist/serialization/resources/commons/types/OsType.d.ts +2 -2
- package/dist/serialization/resources/commons/types/Page.d.ts +2 -2
- package/dist/serialization/resources/commons/types/PageInfo.d.ts +2 -2
- package/dist/serialization/resources/{agents → commons}/types/PiiCategory.d.ts +2 -2
- package/dist/serialization/resources/commons/types/Precondition.d.ts +3 -3
- package/dist/serialization/resources/commons/types/Precondition.js +2 -2
- package/dist/serialization/resources/commons/types/PreconditionBase.d.ts +2 -2
- package/dist/serialization/resources/commons/types/PreconditionGroup.d.ts +2 -2
- package/dist/serialization/resources/commons/types/PreconditionGroup.js +1 -1
- package/dist/serialization/resources/commons/types/PreconditionGroupOperator.d.ts +2 -2
- package/dist/serialization/resources/commons/types/PreconditionOperator.d.ts +2 -2
- package/dist/serialization/resources/commons/types/Quality.d.ts +2 -2
- package/dist/serialization/resources/commons/types/QualityReason.d.ts +2 -2
- package/dist/serialization/resources/commons/types/ResponseConfig.d.ts +4 -2
- package/dist/serialization/resources/commons/types/ResponseConfig.js +2 -0
- package/dist/serialization/resources/commons/types/ResponseConfigPrecondition.d.ts +3 -3
- package/dist/serialization/resources/commons/types/ResponseConfigPrecondition.js +1 -1
- package/dist/serialization/resources/commons/types/ResponseLength.d.ts +2 -2
- package/dist/serialization/resources/commons/types/SafetyCheckReport.d.ts +12 -0
- package/dist/serialization/resources/commons/types/SafetyCheckReport.js +44 -0
- package/dist/serialization/resources/commons/types/ScopedEntity.d.ts +2 -2
- package/dist/serialization/resources/commons/types/Sentiment.d.ts +2 -2
- package/dist/serialization/resources/commons/types/SessionInfo.d.ts +2 -2
- package/dist/serialization/resources/commons/types/SimulationContext.d.ts +3 -3
- package/dist/serialization/resources/commons/types/SimulationContext.js +1 -1
- package/dist/serialization/resources/commons/types/Source.d.ts +2 -2
- package/dist/serialization/resources/commons/types/SourceInfo.d.ts +4 -4
- package/dist/serialization/resources/commons/types/SourceInfo.js +2 -2
- package/dist/serialization/resources/commons/types/SourceType.d.ts +2 -2
- package/dist/serialization/resources/commons/types/SurveyInfo.d.ts +2 -2
- package/dist/serialization/resources/commons/types/SystemEvent.d.ts +2 -2
- package/dist/serialization/resources/commons/types/SystemEventName.d.ts +2 -2
- package/dist/serialization/resources/commons/types/TagsPrecondition.d.ts +2 -2
- package/dist/serialization/resources/commons/types/UserConversationMessageType.d.ts +2 -2
- package/dist/serialization/resources/commons/types/UserData.d.ts +2 -2
- package/dist/serialization/resources/commons/types/UserDataWithReference.d.ts +2 -2
- package/dist/serialization/resources/commons/types/UserEvent.d.ts +5 -4
- package/dist/serialization/resources/commons/types/UserEvent.js +3 -2
- package/dist/serialization/resources/commons/types/UserEventName.d.ts +2 -2
- package/dist/serialization/resources/commons/types/UserMessage.d.ts +4 -4
- package/dist/serialization/resources/commons/types/UserMessage.js +2 -2
- package/dist/serialization/resources/commons/types/UserMessageBase.d.ts +3 -3
- package/dist/serialization/resources/commons/types/UserMessageBase.js +1 -1
- package/dist/serialization/resources/commons/types/UserMessageResponseState.d.ts +2 -2
- package/dist/serialization/resources/commons/types/VisibilityType.d.ts +2 -2
- package/dist/serialization/resources/commons/types/index.d.ts +121 -112
- package/dist/serialization/resources/commons/types/index.js +121 -112
- package/dist/serialization/resources/conversation/client/addConversationMetadata.d.ts +1 -1
- package/dist/serialization/resources/conversation/client/appendNewMessages.d.ts +2 -2
- package/dist/serialization/resources/conversation/client/index.d.ts +1 -1
- package/dist/serialization/resources/conversation/client/index.js +2 -2
- package/dist/serialization/resources/conversation/index.d.ts +1 -1
- package/dist/serialization/resources/conversation/index.js +1 -1
- package/dist/serialization/resources/conversation/types/ActionFormAttachment.d.ts +2 -2
- package/dist/serialization/resources/conversation/types/ActionFormRequestParamValue.d.ts +2 -2
- package/dist/serialization/resources/conversation/types/AskObjectRequest.d.ts +2 -2
- package/dist/serialization/resources/conversation/types/AskRequest.d.ts +3 -3
- package/dist/serialization/resources/conversation/types/AskRequest.js +1 -1
- package/dist/serialization/resources/conversation/types/AskStreamActionEvent.d.ts +2 -2
- package/dist/serialization/resources/conversation/types/AskStreamChartEvent.d.ts +2 -2
- package/dist/serialization/resources/conversation/types/AskStreamEndEvent.d.ts +2 -2
- package/dist/serialization/resources/conversation/types/AskStreamMetadataEvent.d.ts +2 -2
- package/dist/serialization/resources/conversation/types/AskStreamOAuthButtonEvent.d.ts +2 -2
- package/dist/serialization/resources/conversation/types/AskStreamStartEvent.d.ts +2 -2
- package/dist/serialization/resources/conversation/types/AskStreamTextEvent.d.ts +2 -2
- package/dist/serialization/resources/conversation/types/CategorizationResponse.d.ts +2 -2
- package/dist/serialization/resources/conversation/types/ConversationField.d.ts +3 -3
- package/dist/serialization/resources/conversation/types/ConversationField.js +2 -0
- package/dist/serialization/resources/conversation/types/ConversationFilter.d.ts +3 -3
- package/dist/serialization/resources/conversation/types/ConversationFilter.js +1 -1
- package/dist/serialization/resources/conversation/types/ConversationMessageRequest.d.ts +3 -3
- package/dist/serialization/resources/conversation/types/ConversationMessageRequest.js +1 -1
- package/dist/serialization/resources/conversation/types/ConversationMetadata.d.ts +2 -2
- package/dist/serialization/resources/conversation/types/ConversationPatchRequest.d.ts +2 -2
- package/dist/serialization/resources/conversation/types/ConversationRequest.d.ts +3 -3
- package/dist/serialization/resources/conversation/types/ConversationRequest.js +1 -1
- package/dist/serialization/resources/conversation/types/ConversationsResponse.d.ts +2 -2
- package/dist/serialization/resources/conversation/types/ConversationsSearchRequest.d.ts +3 -3
- package/dist/serialization/resources/conversation/types/ConversationsSearchRequest.js +1 -1
- package/dist/serialization/resources/conversation/types/DeliverConversationMessageRequest.d.ts +2 -2
- package/dist/serialization/resources/conversation/types/DeliverMessageRequest.d.ts +3 -3
- package/dist/serialization/resources/conversation/types/DeliverMessageRequest.js +1 -1
- package/dist/serialization/resources/conversation/types/DeliverMessageResponse.d.ts +2 -2
- package/dist/serialization/resources/conversation/types/DeliverUserMessageRequest.d.ts +2 -2
- package/dist/serialization/resources/conversation/types/DeliveryStatus.d.ts +2 -2
- package/dist/serialization/resources/conversation/types/FeedbackField.d.ts +2 -2
- package/dist/serialization/resources/conversation/types/FeedbackFilter.d.ts +2 -2
- package/dist/serialization/resources/conversation/types/FeedbackRequest.d.ts +2 -2
- package/dist/serialization/resources/conversation/types/NumericConversationField.d.ts +3 -3
- package/dist/serialization/resources/conversation/types/NumericConversationField.js +1 -0
- package/dist/serialization/resources/conversation/types/ObjectStreamResponse.d.ts +4 -4
- package/dist/serialization/resources/conversation/types/ObjectStreamResponse.js +2 -2
- package/dist/serialization/resources/conversation/types/ResolutionStatus.d.ts +2 -2
- package/dist/serialization/resources/conversation/types/SimulationFilter.d.ts +2 -2
- package/dist/serialization/resources/conversation/types/StreamResponse.d.ts +5 -5
- package/dist/serialization/resources/conversation/types/StreamResponse.js +3 -3
- package/dist/serialization/resources/conversation/types/SubmitActionFormRequest.d.ts +2 -2
- package/dist/serialization/resources/conversation/types/UpdateMetadataRequest.d.ts +2 -2
- package/dist/serialization/resources/conversation/types/index.d.ts +21 -21
- package/dist/serialization/resources/conversation/types/index.js +21 -21
- package/dist/serialization/resources/customers/index.d.ts +1 -0
- package/dist/serialization/resources/customers/index.js +17 -0
- package/dist/serialization/resources/customers/types/CustomerBase.d.ts +13 -0
- package/dist/serialization/resources/customers/types/CustomerBase.js +45 -0
- package/dist/serialization/resources/customers/types/CustomerField.d.ts +7 -0
- package/dist/serialization/resources/customers/types/CustomerField.js +39 -0
- package/dist/serialization/resources/customers/types/CustomerFilter.d.ts +13 -0
- package/dist/serialization/resources/customers/types/CustomerFilter.js +45 -0
- package/dist/serialization/resources/customers/types/CustomerPatchRequest.d.ts +16 -0
- package/dist/serialization/resources/customers/types/CustomerPatchRequest.js +48 -0
- package/dist/serialization/resources/customers/types/CustomerRequest.d.ts +11 -0
- package/dist/serialization/resources/customers/types/CustomerRequest.js +43 -0
- package/dist/serialization/resources/customers/types/CustomerResponse.d.ts +13 -0
- package/dist/serialization/resources/customers/types/CustomerResponse.js +47 -0
- package/dist/serialization/resources/customers/types/CustomerStatus.d.ts +7 -0
- package/dist/serialization/resources/customers/types/CustomerStatus.js +39 -0
- package/dist/serialization/resources/customers/types/CustomersSearchRequest.d.ts +13 -0
- package/dist/serialization/resources/customers/types/CustomersSearchRequest.js +47 -0
- package/dist/serialization/resources/customers/types/CustomersSearchResponse.d.ts +11 -0
- package/dist/serialization/resources/customers/types/CustomersSearchResponse.js +45 -0
- package/dist/serialization/resources/customers/types/index.d.ts +9 -0
- package/dist/serialization/resources/customers/types/index.js +25 -0
- package/dist/serialization/resources/inbox/types/AddDocumentFixRequest.d.ts +2 -2
- package/dist/serialization/resources/inbox/types/ApplyFixesRequest.d.ts +2 -2
- package/dist/serialization/resources/inbox/types/InboxFilter.d.ts +2 -2
- package/dist/serialization/resources/inbox/types/InboxSearchRequest.d.ts +3 -3
- package/dist/serialization/resources/inbox/types/InboxSearchRequest.js +1 -1
- package/dist/serialization/resources/inbox/types/InboxSearchResponse.d.ts +2 -2
- package/dist/serialization/resources/inbox/types/index.d.ts +2 -2
- package/dist/serialization/resources/inbox/types/index.js +2 -2
- package/dist/serialization/resources/index.d.ts +10 -3
- package/dist/serialization/resources/index.js +11 -4
- package/dist/serialization/resources/knowledge/client/requests/KnowledgeBasePatchRequest.d.ts +3 -3
- package/dist/serialization/resources/knowledge/client/requests/KnowledgeBasePatchRequest.js +2 -2
- package/dist/serialization/resources/knowledge/client/requests/KnowledgeDocumentPatchRequest.d.ts +2 -2
- package/dist/serialization/resources/knowledge/index.d.ts +1 -1
- package/dist/serialization/resources/knowledge/index.js +1 -1
- package/dist/serialization/resources/knowledge/types/BaseKnowledgeDocument.d.ts +2 -2
- package/dist/serialization/resources/knowledge/types/FinalizeKnowledgeBaseVersionRequest.d.ts +2 -2
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseField.d.ts +2 -2
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseFilter.d.ts +3 -3
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseFilter.js +1 -1
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseProperties.d.ts +2 -2
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseProperties.js +1 -1
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseRefreshFrequency.d.ts +2 -2
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseRefreshRequest.d.ts +2 -2
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseRequest.d.ts +2 -2
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseResponse.d.ts +5 -5
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +3 -3
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseSearchRequest.d.ts +3 -3
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseSearchRequest.js +1 -1
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseType.d.ts +2 -2
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseVersion.d.ts +3 -3
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseVersion.js +1 -1
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseVersionFinalizeStatus.d.ts +2 -2
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseVersionRequest.d.ts +2 -2
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseVersionStatus.d.ts +2 -2
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseVersionType.d.ts +2 -2
- package/dist/serialization/resources/knowledge/types/KnowledgeBaseVersionsListResponse.d.ts +2 -2
- package/dist/serialization/resources/knowledge/types/KnowledgeBasesResponse.d.ts +3 -3
- package/dist/serialization/resources/knowledge/types/KnowledgeBasesResponse.js +1 -1
- package/dist/serialization/resources/knowledge/types/KnowledgeDeleteRequest.d.ts +2 -2
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentContentType.d.ts +2 -2
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentField.d.ts +2 -2
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentFilter.d.ts +2 -2
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentRequest.d.ts +6 -4
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentRequest.js +4 -2
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentResponse.d.ts +5 -3
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentResponse.js +3 -1
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentSearchRequest.d.ts +3 -3
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentSearchRequest.js +1 -1
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +2 -2
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentStatus.d.ts +2 -2
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentsResponse.d.ts +3 -3
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentsResponse.js +1 -1
- package/dist/serialization/resources/knowledge/types/index.d.ts +16 -16
- package/dist/serialization/resources/knowledge/types/index.js +16 -16
- package/dist/serialization/resources/organizations/types/BaseOrganization.d.ts +2 -2
- package/dist/serialization/resources/organizations/types/CreateOrganizationRequest.d.ts +2 -2
- package/dist/serialization/resources/organizations/types/Organization.d.ts +2 -2
- package/dist/serialization/resources/organizations/types/OrganizationPatchRequest.d.ts +2 -2
- package/dist/serialization/resources/organizations/types/index.d.ts +1 -1
- package/dist/serialization/resources/organizations/types/index.js +1 -1
- package/dist/serialization/resources/segments/types/SegmentBase.d.ts +2 -2
- package/dist/serialization/resources/segments/types/SegmentBase.js +1 -1
- package/dist/serialization/resources/segments/types/SegmentField.d.ts +2 -2
- package/dist/serialization/resources/segments/types/SegmentPatchRequest.d.ts +2 -2
- package/dist/serialization/resources/segments/types/SegmentPatchRequest.js +1 -1
- package/dist/serialization/resources/segments/types/SegmentRequest.d.ts +2 -2
- package/dist/serialization/resources/segments/types/SegmentResponse.d.ts +3 -3
- package/dist/serialization/resources/segments/types/SegmentResponse.js +1 -1
- package/dist/serialization/resources/segments/types/SegmentStatus.d.ts +2 -2
- package/dist/serialization/resources/segments/types/SegmentsSearchRequest.d.ts +3 -3
- package/dist/serialization/resources/segments/types/SegmentsSearchRequest.js +1 -1
- package/dist/serialization/resources/segments/types/SegmentsSearchResponse.d.ts +3 -3
- package/dist/serialization/resources/segments/types/SegmentsSearchResponse.js +1 -1
- package/dist/serialization/resources/segments/types/index.d.ts +4 -4
- package/dist/serialization/resources/segments/types/index.js +4 -4
- package/dist/serialization/resources/translations/types/TranslationRequest.d.ts +2 -2
- package/dist/serialization/resources/translations/types/TranslationResponse.d.ts +2 -2
- package/dist/serialization/resources/triggers/types/EventTriggerBase.d.ts +3 -3
- package/dist/serialization/resources/triggers/types/EventTriggerBase.js +1 -1
- package/dist/serialization/resources/triggers/types/EventTriggerRequest.d.ts +2 -2
- package/dist/serialization/resources/triggers/types/EventTriggerResponse.d.ts +2 -2
- package/dist/serialization/resources/triggers/types/EventTriggersSearchRequest.d.ts +3 -3
- package/dist/serialization/resources/triggers/types/EventTriggersSearchRequest.js +1 -1
- package/dist/serialization/resources/triggers/types/EventTriggersSearchResponse.d.ts +3 -3
- package/dist/serialization/resources/triggers/types/EventTriggersSearchResponse.js +1 -1
- package/dist/serialization/resources/triggers/types/TriggerField.d.ts +2 -2
- package/dist/serialization/resources/triggers/types/TriggerPartialUpdate.d.ts +2 -2
- package/dist/serialization/resources/triggers/types/index.d.ts +2 -3
- package/dist/serialization/resources/triggers/types/index.js +2 -3
- package/dist/serialization/resources/users/types/AgentUser.d.ts +2 -2
- package/dist/serialization/resources/users/types/AgentUserField.d.ts +2 -2
- package/dist/serialization/resources/users/types/AgentUserFilter.d.ts +2 -2
- package/dist/serialization/resources/users/types/AgentUserSearchRequest.d.ts +3 -3
- package/dist/serialization/resources/users/types/AgentUserSearchRequest.js +1 -1
- package/dist/serialization/resources/users/types/AgentUserSearchResponse.d.ts +3 -3
- package/dist/serialization/resources/users/types/AgentUserSearchResponse.js +1 -1
- package/dist/serialization/resources/users/types/AppUserSummary.d.ts +3 -3
- package/dist/serialization/resources/users/types/AppUserSummary.js +1 -1
- package/dist/serialization/resources/users/types/index.d.ts +1 -1
- package/dist/serialization/resources/users/types/index.js +1 -1
- package/dist/serialization/resources/websockets/client/index.d.ts +1 -0
- package/dist/serialization/resources/websockets/client/index.js +17 -0
- package/dist/serialization/resources/websockets/client/socket/WebsocketsSocketResponse.d.ts +15 -0
- package/dist/serialization/resources/websockets/client/socket/WebsocketsSocketResponse.js +56 -0
- package/dist/serialization/resources/websockets/client/socket/index.d.ts +1 -0
- package/dist/serialization/resources/websockets/client/socket/index.js +5 -0
- package/dist/serialization/resources/websockets/index.d.ts +2 -0
- package/dist/serialization/resources/websockets/index.js +18 -0
- package/dist/serialization/resources/websockets/types/AgentAudioChunk.d.ts +11 -0
- package/dist/serialization/resources/websockets/types/AgentAudioChunk.js +45 -0
- package/dist/serialization/resources/websockets/types/AgentTranscript.d.ts +11 -0
- package/dist/serialization/resources/websockets/types/AgentTranscript.js +45 -0
- package/dist/serialization/resources/websockets/types/AudioFormat.d.ts +7 -0
- package/dist/serialization/resources/websockets/types/AudioFormat.js +39 -0
- package/dist/serialization/resources/websockets/types/Config.d.ts +14 -0
- package/dist/serialization/resources/websockets/types/Config.js +46 -0
- package/dist/serialization/resources/websockets/types/ConversationEnded.d.ts +10 -0
- package/dist/serialization/resources/websockets/types/ConversationEnded.js +44 -0
- package/dist/serialization/resources/websockets/types/ConversationReady.d.ts +9 -0
- package/dist/serialization/resources/websockets/types/ConversationReady.js +41 -0
- package/dist/serialization/resources/websockets/types/Error_.d.ts +12 -0
- package/dist/serialization/resources/websockets/types/Error_.js +46 -0
- package/dist/serialization/resources/websockets/types/ServerEventBase.d.ts +9 -0
- package/dist/serialization/resources/websockets/types/ServerEventBase.js +41 -0
- package/dist/serialization/resources/websockets/types/UserAudioChunk.d.ts +10 -0
- package/dist/serialization/resources/websockets/types/UserAudioChunk.js +42 -0
- package/dist/serialization/resources/websockets/types/UserFinishedSpeaking.d.ts +10 -0
- package/dist/serialization/resources/websockets/types/UserFinishedSpeaking.js +44 -0
- package/dist/serialization/resources/websockets/types/UserStartedSpeaking.d.ts +10 -0
- package/dist/serialization/resources/websockets/types/UserStartedSpeaking.js +44 -0
- package/dist/serialization/resources/websockets/types/UserTranscript.d.ts +11 -0
- package/dist/serialization/resources/websockets/types/UserTranscript.js +45 -0
- package/dist/serialization/resources/websockets/types/index.d.ts +12 -0
- package/dist/serialization/resources/websockets/types/index.js +28 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/errors/MavenAGIError.d.ts +1 -1
- package/errors/MavenAGIError.js +1 -1
- package/index.d.ts +3 -2
- package/index.js +5 -5
- package/package.json +13 -4
- package/pnpm-workspace.yaml +1 -1
- package/reference.md +1453 -1018
- package/serialization/resources/actions/client/requests/ActionPatchRequest.d.ts +3 -3
- package/serialization/resources/actions/client/requests/ActionPatchRequest.js +1 -1
- package/serialization/resources/actions/index.d.ts +1 -1
- package/serialization/resources/actions/index.js +1 -1
- package/serialization/resources/actions/types/ActionField.d.ts +2 -2
- package/serialization/resources/actions/types/ActionFilter.d.ts +2 -2
- package/serialization/resources/actions/types/ActionRequest.d.ts +3 -3
- package/serialization/resources/actions/types/ActionRequest.js +1 -1
- package/serialization/resources/actions/types/ActionsResponse.d.ts +2 -2
- package/serialization/resources/actions/types/ActionsSearchRequest.d.ts +3 -3
- package/serialization/resources/actions/types/ActionsSearchRequest.js +1 -1
- package/serialization/resources/actions/types/index.d.ts +2 -2
- package/serialization/resources/actions/types/index.js +2 -2
- package/serialization/resources/agents/client/list.d.ts +2 -2
- package/serialization/resources/agents/client/requests/AgentPatchRequest.d.ts +4 -4
- package/serialization/resources/agents/client/requests/AgentPatchRequest.js +2 -2
- package/serialization/resources/agents/index.d.ts +1 -1
- package/serialization/resources/agents/index.js +1 -1
- package/serialization/resources/agents/types/Agent.d.ts +3 -3
- package/serialization/resources/agents/types/Agent.js +1 -1
- package/serialization/resources/agents/types/AgentEnvironment.d.ts +2 -2
- package/serialization/resources/agents/types/AgentField.d.ts +2 -2
- package/serialization/resources/agents/types/AgentFilter.d.ts +2 -2
- package/serialization/resources/agents/types/AgentPrompting.d.ts +2 -2
- package/serialization/resources/agents/types/AgentsSearchRequest.d.ts +3 -3
- package/serialization/resources/agents/types/AgentsSearchRequest.js +1 -1
- package/serialization/resources/agents/types/AgentsSearchResponse.d.ts +3 -3
- package/serialization/resources/agents/types/AgentsSearchResponse.js +1 -1
- package/serialization/resources/agents/types/CreateAgentRequest.d.ts +2 -2
- package/serialization/resources/agents/types/index.d.ts +4 -5
- package/serialization/resources/agents/types/index.js +4 -5
- package/serialization/resources/analytics/types/AgentUserAnalyticsRequest.d.ts +2 -2
- package/serialization/resources/analytics/types/AgentUserColumnDefinition.d.ts +2 -2
- package/serialization/resources/analytics/types/AgentUserCount.d.ts +3 -4
- package/serialization/resources/analytics/types/AgentUserMetric.d.ts +2 -2
- package/serialization/resources/analytics/types/AgentUserRow.d.ts +3 -3
- package/serialization/resources/analytics/types/AgentUserRow.js +1 -1
- package/serialization/resources/analytics/types/AgentUserTableRequest.d.ts +4 -4
- package/serialization/resources/analytics/types/AgentUserTableRequest.js +2 -2
- package/serialization/resources/analytics/types/AgentUserTableResponse.d.ts +2 -2
- package/serialization/resources/analytics/types/BarChartResponse.d.ts +2 -2
- package/serialization/resources/analytics/types/CellData.d.ts +2 -2
- package/serialization/resources/analytics/types/ChartResponse.d.ts +4 -4
- package/serialization/resources/analytics/types/ChartResponse.js +2 -2
- package/serialization/resources/analytics/types/ColumnDefinitionBase.d.ts +2 -2
- package/serialization/resources/analytics/types/ConversationAnalyticsRequest.d.ts +2 -2
- package/serialization/resources/analytics/types/ConversationAverage.d.ts +2 -2
- package/serialization/resources/analytics/types/ConversationBarChartRequest.d.ts +3 -3
- package/serialization/resources/analytics/types/ConversationBarChartRequest.js +1 -1
- package/serialization/resources/analytics/types/ConversationBasicMetric.d.ts +2 -2
- package/serialization/resources/analytics/types/ConversationChartRequest.d.ts +4 -4
- package/serialization/resources/analytics/types/ConversationChartRequest.js +2 -2
- package/serialization/resources/analytics/types/ConversationColumnDefinition.d.ts +3 -3
- package/serialization/resources/analytics/types/ConversationColumnDefinition.js +1 -1
- package/serialization/resources/analytics/types/ConversationCount.d.ts +3 -4
- package/serialization/resources/analytics/types/ConversationDateHistogramRequest.d.ts +4 -4
- package/serialization/resources/analytics/types/ConversationDateHistogramRequest.js +2 -2
- package/serialization/resources/analytics/types/ConversationDistinctCount.d.ts +2 -2
- package/serialization/resources/analytics/types/ConversationGroupBy.d.ts +3 -3
- package/serialization/resources/analytics/types/ConversationGroupBy.js +1 -1
- package/serialization/resources/analytics/types/ConversationMax.d.ts +2 -2
- package/serialization/resources/analytics/types/ConversationMedian.d.ts +2 -2
- package/serialization/resources/analytics/types/ConversationMetric.d.ts +7 -7
- package/serialization/resources/analytics/types/ConversationMetric.js +5 -5
- package/serialization/resources/analytics/types/ConversationMin.d.ts +2 -2
- package/serialization/resources/analytics/types/ConversationNumericMetric.d.ts +2 -2
- package/serialization/resources/analytics/types/ConversationPercentile.d.ts +2 -2
- package/serialization/resources/analytics/types/ConversationPieChartRequest.d.ts +3 -3
- package/serialization/resources/analytics/types/ConversationPieChartRequest.js +1 -1
- package/serialization/resources/analytics/types/ConversationRow.d.ts +3 -3
- package/serialization/resources/analytics/types/ConversationRow.js +1 -1
- package/serialization/resources/analytics/types/ConversationSum.d.ts +2 -2
- package/serialization/resources/analytics/types/ConversationTableRequest.d.ts +5 -5
- package/serialization/resources/analytics/types/ConversationTableRequest.js +3 -3
- package/serialization/resources/analytics/types/ConversationTableResponse.d.ts +2 -2
- package/serialization/resources/analytics/types/DateHistogramResponse.d.ts +2 -2
- package/serialization/resources/analytics/types/EventAnalyticsRequest.d.ts +11 -0
- package/serialization/resources/analytics/types/EventAnalyticsRequest.js +43 -0
- package/serialization/resources/analytics/types/EventBarChartRequest.d.ts +14 -0
- package/serialization/resources/analytics/types/EventBarChartRequest.js +48 -0
- package/serialization/resources/analytics/types/EventChartRequest.d.ts +19 -0
- package/serialization/resources/analytics/types/EventChartRequest.js +51 -0
- package/serialization/resources/analytics/types/EventColumnDefinition.d.ts +11 -0
- package/serialization/resources/analytics/types/EventColumnDefinition.js +45 -0
- package/serialization/resources/analytics/types/EventCount.d.ts +7 -0
- package/serialization/resources/analytics/types/EventCount.js +39 -0
- package/serialization/resources/analytics/types/EventDateHistogramRequest.d.ts +15 -0
- package/serialization/resources/analytics/types/EventDateHistogramRequest.js +49 -0
- package/serialization/resources/analytics/types/EventDistinctCount.d.ts +10 -0
- package/serialization/resources/analytics/types/EventDistinctCount.js +42 -0
- package/serialization/resources/analytics/types/EventGroupBy.d.ts +11 -0
- package/serialization/resources/analytics/types/EventGroupBy.js +45 -0
- package/serialization/resources/analytics/types/EventMetric.d.ts +15 -0
- package/serialization/resources/analytics/types/EventMetric.js +49 -0
- package/serialization/resources/analytics/types/EventPieChartRequest.d.ts +13 -0
- package/serialization/resources/analytics/types/EventPieChartRequest.js +47 -0
- package/serialization/resources/analytics/types/EventRow.d.ts +12 -0
- package/serialization/resources/analytics/types/EventRow.js +46 -0
- package/serialization/resources/analytics/types/EventTableRequest.d.ts +15 -0
- package/serialization/resources/analytics/types/EventTableRequest.js +49 -0
- package/serialization/resources/analytics/types/EventTableResponse.d.ts +11 -0
- package/serialization/resources/analytics/types/EventTableResponse.js +45 -0
- package/serialization/resources/analytics/types/FeedbackAnalyticsRequest.d.ts +2 -2
- package/serialization/resources/analytics/types/FeedbackColumnDefinition.d.ts +3 -3
- package/serialization/resources/analytics/types/FeedbackColumnDefinition.js +1 -1
- package/serialization/resources/analytics/types/FeedbackCount.d.ts +3 -4
- package/serialization/resources/analytics/types/FeedbackDistinctCount.d.ts +2 -2
- package/serialization/resources/analytics/types/FeedbackGroupBy.d.ts +2 -2
- package/serialization/resources/analytics/types/FeedbackMetric.d.ts +2 -2
- package/serialization/resources/analytics/types/FeedbackRow.d.ts +3 -3
- package/serialization/resources/analytics/types/FeedbackRow.js +1 -1
- package/serialization/resources/analytics/types/FeedbackTableRequest.d.ts +5 -5
- package/serialization/resources/analytics/types/FeedbackTableRequest.js +3 -3
- package/serialization/resources/analytics/types/FeedbackTableResponse.d.ts +2 -2
- package/serialization/resources/analytics/types/FieldValue.d.ts +3 -3
- package/serialization/resources/analytics/types/FieldValue.js +1 -1
- package/serialization/resources/analytics/types/GroupByBase.d.ts +2 -2
- package/serialization/resources/analytics/types/LabeledPoint.d.ts +2 -2
- package/serialization/resources/analytics/types/PieChartResponse.d.ts +2 -2
- package/serialization/resources/analytics/types/Range.d.ts +2 -2
- package/serialization/resources/analytics/types/RowBase.d.ts +2 -2
- package/serialization/resources/analytics/types/Series.d.ts +2 -2
- package/serialization/resources/analytics/types/TableResponseBase.d.ts +2 -2
- package/serialization/resources/analytics/types/TimeDataPoint.d.ts +2 -2
- package/serialization/resources/analytics/types/TimeInterval.d.ts +2 -2
- package/serialization/resources/analytics/types/TimeSeries.d.ts +2 -2
- package/serialization/resources/analytics/types/index.d.ts +49 -36
- package/serialization/resources/analytics/types/index.js +49 -36
- package/serialization/resources/appSettings/client/get.d.ts +1 -1
- package/serialization/resources/appSettings/client/update.d.ts +1 -1
- package/serialization/resources/appSettings/index.d.ts +1 -1
- package/serialization/resources/appSettings/index.js +1 -1
- package/serialization/resources/appSettings/types/AppSettings.d.ts +2 -2
- package/serialization/resources/appSettings/types/SearchAppSettingsResponse.d.ts +2 -2
- package/serialization/resources/appSettings/types/index.d.ts +1 -1
- package/serialization/resources/appSettings/types/index.js +1 -1
- package/serialization/resources/assets/types/CommitAssetUploadRequest.d.ts +2 -2
- package/serialization/resources/assets/types/InitiateAssetUploadRequest.d.ts +2 -2
- package/serialization/resources/assets/types/InitiateAssetUploadResponse.d.ts +2 -2
- package/serialization/resources/assets/types/index.d.ts +1 -1
- package/serialization/resources/assets/types/index.js +1 -1
- package/serialization/resources/auth/index.d.ts +1 -0
- package/serialization/resources/auth/index.js +17 -0
- package/serialization/resources/auth/types/SessionTokenRequest.d.ts +9 -0
- package/serialization/resources/auth/types/SessionTokenRequest.js +41 -0
- package/serialization/resources/auth/types/SessionTokenResponse.d.ts +10 -0
- package/serialization/resources/auth/types/SessionTokenResponse.js +42 -0
- package/serialization/resources/auth/types/index.d.ts +2 -0
- package/serialization/resources/auth/types/index.js +18 -0
- package/serialization/resources/commons/types/ActionBase.d.ts +4 -9
- package/serialization/resources/commons/types/ActionBase.js +5 -9
- package/serialization/resources/commons/types/ActionEnumOption.d.ts +2 -2
- package/serialization/resources/commons/types/ActionExecutionParamValue.d.ts +2 -2
- package/serialization/resources/commons/types/ActionFormField.d.ts +3 -3
- package/serialization/resources/commons/types/ActionFormField.js +1 -1
- package/serialization/resources/commons/types/ActionOAuthConfiguration.d.ts +2 -2
- package/serialization/resources/commons/types/ActionParameter.d.ts +3 -3
- package/serialization/resources/commons/types/ActionParameter.js +1 -1
- package/serialization/resources/commons/types/ActionParameterType.d.ts +3 -3
- package/serialization/resources/commons/types/ActionParameterType.js +1 -0
- package/serialization/resources/commons/types/ActionProperties.d.ts +14 -0
- package/serialization/resources/commons/types/ActionProperties.js +47 -0
- package/serialization/resources/commons/types/ActionResponse.d.ts +3 -3
- package/serialization/resources/commons/types/ActionResponse.js +1 -1
- package/serialization/resources/commons/types/ActionUser.d.ts +17 -0
- package/serialization/resources/commons/types/ActionUser.js +49 -0
- package/serialization/resources/commons/types/AppPrecondition.d.ts +2 -2
- package/serialization/resources/commons/types/AppUser.d.ts +2 -2
- package/serialization/resources/commons/types/AppUserIdentifier.d.ts +2 -2
- package/serialization/resources/commons/types/AppUserIdentifyingPropertyType.d.ts +2 -2
- package/serialization/resources/commons/types/AppUserRequest.d.ts +3 -3
- package/serialization/resources/commons/types/AppUserRequest.js +1 -1
- package/serialization/resources/commons/types/AppUserResponse.d.ts +3 -3
- package/serialization/resources/commons/types/AppUserResponse.js +1 -1
- package/serialization/resources/commons/types/AttachmentRequest.d.ts +3 -3
- package/serialization/resources/commons/types/AttachmentRequest.js +1 -1
- package/serialization/resources/commons/types/AttachmentResponse.d.ts +2 -2
- package/serialization/resources/commons/types/AttachmentStatus.d.ts +2 -2
- package/serialization/resources/commons/types/BaseAttachment.d.ts +2 -2
- package/serialization/resources/commons/types/BaseConversationResponse.d.ts +4 -4
- package/serialization/resources/commons/types/BaseConversationResponse.js +2 -2
- package/serialization/resources/commons/types/BasePaginatedRequest.d.ts +2 -2
- package/serialization/resources/commons/types/BaseSearchRequest.d.ts +2 -2
- package/serialization/resources/commons/types/BotActionFormResponse.d.ts +3 -3
- package/serialization/resources/commons/types/BotActionFormResponse.js +1 -1
- package/serialization/resources/commons/types/BotChartResponse.d.ts +2 -2
- package/serialization/resources/commons/types/BotConversationMessageType.d.ts +2 -2
- package/serialization/resources/commons/types/BotLogic.d.ts +2 -2
- package/serialization/resources/commons/types/BotLogicActionExecutedDetail.d.ts +2 -2
- package/serialization/resources/commons/types/BotLogicActionItem.d.ts +3 -3
- package/serialization/resources/commons/types/BotLogicActionItem.js +1 -1
- package/serialization/resources/commons/types/BotLogicActionReviewedDetail.d.ts +2 -2
- package/serialization/resources/commons/types/BotLogicFormSubmissionItem.d.ts +2 -2
- package/serialization/resources/commons/types/BotLogicItem.d.ts +4 -4
- package/serialization/resources/commons/types/BotLogicItem.js +2 -2
- package/serialization/resources/commons/types/BotLogicKnowledgeDetail.d.ts +2 -2
- package/serialization/resources/commons/types/BotLogicKnowledgeItem.d.ts +2 -2
- package/serialization/resources/commons/types/BotLogicSafetyItem.d.ts +4 -2
- package/serialization/resources/commons/types/BotLogicSafetyItem.js +2 -0
- package/serialization/resources/commons/types/BotLogicSegmentsItem.d.ts +2 -2
- package/serialization/resources/commons/types/BotLogicUserItem.d.ts +2 -2
- package/serialization/resources/commons/types/BotMessage.d.ts +5 -5
- package/serialization/resources/commons/types/BotMessage.js +3 -3
- package/serialization/resources/commons/types/BotOAuthButtonResponse.d.ts +2 -2
- package/serialization/resources/commons/types/BotObjectResponse.d.ts +2 -2
- package/serialization/resources/commons/types/BotResponse.d.ts +4 -4
- package/serialization/resources/commons/types/BotResponse.js +2 -2
- package/serialization/resources/commons/types/BotResponseMetadata.d.ts +2 -2
- package/serialization/resources/commons/types/BotTextResponse.d.ts +2 -2
- package/serialization/resources/commons/types/BrowserInfo.d.ts +2 -2
- package/serialization/resources/commons/types/BrowserType.d.ts +2 -2
- package/serialization/resources/commons/types/Capability.d.ts +2 -2
- package/serialization/resources/commons/types/ChartSpecSchema.d.ts +2 -2
- package/serialization/resources/commons/types/ContextInfo.d.ts +2 -2
- package/serialization/resources/commons/types/ConversationAnalysis.d.ts +3 -3
- package/serialization/resources/commons/types/ConversationAnalysis.js +1 -1
- package/serialization/resources/commons/types/ConversationExecutedActionPrecondition.d.ts +2 -2
- package/serialization/resources/commons/types/ConversationInformation.d.ts +2 -2
- package/serialization/resources/commons/types/ConversationMessageBase.d.ts +2 -2
- package/serialization/resources/commons/types/ConversationMessageResponse.d.ts +3 -3
- package/serialization/resources/commons/types/ConversationMessageResponse.js +1 -1
- package/serialization/resources/commons/types/ConversationPrecondition.d.ts +5 -5
- package/serialization/resources/commons/types/ConversationPrecondition.js +3 -3
- package/serialization/resources/commons/types/ConversationPreview.d.ts +2 -2
- package/serialization/resources/commons/types/ConversationResponse.d.ts +3 -3
- package/serialization/resources/commons/types/ConversationResponse.js +1 -1
- package/serialization/resources/commons/types/ConversationSummary.d.ts +4 -2
- package/serialization/resources/commons/types/ConversationSummary.js +2 -0
- package/serialization/resources/commons/types/DeviceInfo.d.ts +2 -2
- package/serialization/resources/commons/types/DeviceType.d.ts +2 -2
- package/serialization/resources/commons/types/DocumentInformation.d.ts +2 -2
- package/serialization/resources/commons/types/EntityId.d.ts +2 -2
- package/serialization/resources/commons/types/EntityIdBase.d.ts +2 -2
- package/serialization/resources/commons/types/EntityIdFilter.d.ts +2 -2
- package/serialization/resources/commons/types/EntityIdWithoutAgent.d.ts +3 -3
- package/serialization/resources/commons/types/EntityIdWithoutAgent.js +1 -1
- package/serialization/resources/commons/types/EntityResult.d.ts +2 -2
- package/serialization/resources/commons/types/EntityType.d.ts +3 -3
- package/serialization/resources/commons/types/EntityType.js +1 -0
- package/serialization/resources/commons/types/ErrorMessage.d.ts +2 -2
- package/serialization/resources/commons/types/EventBaseNoId.d.ts +4 -4
- package/serialization/resources/commons/types/EventBaseNoId.js +2 -2
- package/serialization/resources/commons/types/EventField.d.ts +3 -3
- package/serialization/resources/commons/types/EventField.js +19 -1
- package/serialization/resources/commons/types/EventFilter.d.ts +5 -5
- package/serialization/resources/commons/types/EventFilter.js +3 -3
- package/serialization/resources/commons/types/EventRequest.d.ts +3 -3
- package/serialization/resources/commons/types/EventRequest.js +1 -1
- package/serialization/resources/commons/types/EventResponse.d.ts +3 -3
- package/serialization/resources/commons/types/EventResponse.js +1 -1
- package/serialization/resources/{triggers → commons}/types/EventTriggerType.d.ts +2 -2
- package/serialization/resources/commons/types/EventType.d.ts +2 -2
- package/serialization/resources/commons/types/EventUserInfo.d.ts +2 -2
- package/serialization/resources/commons/types/EventUserInfoBase.d.ts +2 -2
- package/serialization/resources/commons/types/EventsSearchRequest.d.ts +3 -3
- package/serialization/resources/commons/types/EventsSearchRequest.js +1 -1
- package/serialization/resources/commons/types/EventsSearchResponse.d.ts +2 -2
- package/serialization/resources/commons/types/Feedback.d.ts +2 -2
- package/serialization/resources/commons/types/FeedbackBase.d.ts +2 -2
- package/serialization/resources/commons/types/FeedbackInfo.d.ts +2 -2
- package/serialization/resources/commons/types/FeedbackType.d.ts +2 -2
- package/serialization/resources/commons/types/GeoInfo.d.ts +2 -2
- package/serialization/resources/commons/types/HarmfulContentAnalysis.d.ts +12 -0
- package/serialization/resources/commons/types/HarmfulContentAnalysis.js +44 -0
- package/serialization/resources/commons/types/InboxItem.d.ts +3 -3
- package/serialization/resources/commons/types/InboxItem.js +1 -1
- package/serialization/resources/commons/types/InboxItemBase.d.ts +3 -3
- package/serialization/resources/commons/types/InboxItemBase.js +1 -1
- package/serialization/resources/commons/types/InboxItemCustom.d.ts +2 -2
- package/serialization/resources/commons/types/InboxItemDuplicateDocuments.d.ts +3 -3
- package/serialization/resources/commons/types/InboxItemDuplicateDocuments.js +1 -1
- package/serialization/resources/commons/types/InboxItemFix.d.ts +2 -2
- package/serialization/resources/commons/types/InboxItemFixAddDocument.d.ts +2 -2
- package/serialization/resources/commons/types/InboxItemFixBase.d.ts +2 -2
- package/serialization/resources/commons/types/InboxItemFixDeactivateDocument.d.ts +2 -2
- package/serialization/resources/commons/types/InboxItemMissingKnowledge.d.ts +3 -3
- package/serialization/resources/commons/types/InboxItemMissingKnowledge.js +1 -1
- package/serialization/resources/commons/types/InboxItemSeverity.d.ts +2 -2
- package/serialization/resources/commons/types/InboxItemStatus.d.ts +2 -2
- package/serialization/resources/commons/types/InboxItemType.d.ts +3 -3
- package/serialization/resources/commons/types/InboxItemType.js +1 -1
- package/serialization/resources/commons/types/IpInfo.d.ts +2 -2
- package/serialization/resources/commons/types/KnowledgeContextByEntities.d.ts +10 -0
- package/serialization/resources/commons/types/KnowledgeContextByEntities.js +42 -0
- package/serialization/resources/commons/types/KnowledgeContextByEntityTypes.d.ts +10 -0
- package/serialization/resources/commons/types/KnowledgeContextByEntityTypes.js +42 -0
- package/serialization/resources/commons/types/KnowledgeContextFilter.d.ts +15 -0
- package/serialization/resources/commons/types/KnowledgeContextFilter.js +49 -0
- package/serialization/resources/commons/types/LanguageInfo.d.ts +2 -2
- package/serialization/resources/commons/types/LlmInclusionStatus.d.ts +2 -2
- package/serialization/resources/commons/types/LlmPersona.d.ts +2 -2
- package/serialization/resources/commons/types/MessageStatus.d.ts +2 -2
- package/serialization/resources/commons/types/MetadataPrecondition.d.ts +2 -2
- package/serialization/resources/commons/types/NovelSystemEvent.d.ts +2 -2
- package/serialization/resources/commons/types/NovelSystemEventNoId.d.ts +3 -3
- package/serialization/resources/commons/types/NovelSystemEventNoId.js +1 -1
- package/serialization/resources/commons/types/NovelUserEvent.d.ts +4 -4
- package/serialization/resources/commons/types/NovelUserEvent.js +2 -2
- package/serialization/resources/commons/types/NumberRange.d.ts +2 -2
- package/serialization/resources/commons/types/OsInfo.d.ts +2 -2
- package/serialization/resources/commons/types/OsType.d.ts +2 -2
- package/serialization/resources/commons/types/Page.d.ts +2 -2
- package/serialization/resources/commons/types/PageInfo.d.ts +2 -2
- package/serialization/resources/{agents → commons}/types/PiiCategory.d.ts +2 -2
- package/serialization/resources/commons/types/Precondition.d.ts +3 -3
- package/serialization/resources/commons/types/Precondition.js +2 -2
- package/serialization/resources/commons/types/PreconditionBase.d.ts +2 -2
- package/serialization/resources/commons/types/PreconditionGroup.d.ts +2 -2
- package/serialization/resources/commons/types/PreconditionGroup.js +1 -1
- package/serialization/resources/commons/types/PreconditionGroupOperator.d.ts +2 -2
- package/serialization/resources/commons/types/PreconditionOperator.d.ts +2 -2
- package/serialization/resources/commons/types/Quality.d.ts +2 -2
- package/serialization/resources/commons/types/QualityReason.d.ts +2 -2
- package/serialization/resources/commons/types/ResponseConfig.d.ts +4 -2
- package/serialization/resources/commons/types/ResponseConfig.js +2 -0
- package/serialization/resources/commons/types/ResponseConfigPrecondition.d.ts +3 -3
- package/serialization/resources/commons/types/ResponseConfigPrecondition.js +1 -1
- package/serialization/resources/commons/types/ResponseLength.d.ts +2 -2
- package/serialization/resources/commons/types/SafetyCheckReport.d.ts +12 -0
- package/serialization/resources/commons/types/SafetyCheckReport.js +44 -0
- package/serialization/resources/commons/types/ScopedEntity.d.ts +2 -2
- package/serialization/resources/commons/types/Sentiment.d.ts +2 -2
- package/serialization/resources/commons/types/SessionInfo.d.ts +2 -2
- package/serialization/resources/commons/types/SimulationContext.d.ts +3 -3
- package/serialization/resources/commons/types/SimulationContext.js +1 -1
- package/serialization/resources/commons/types/Source.d.ts +2 -2
- package/serialization/resources/commons/types/SourceInfo.d.ts +4 -4
- package/serialization/resources/commons/types/SourceInfo.js +2 -2
- package/serialization/resources/commons/types/SourceType.d.ts +2 -2
- package/serialization/resources/commons/types/SurveyInfo.d.ts +2 -2
- package/serialization/resources/commons/types/SystemEvent.d.ts +2 -2
- package/serialization/resources/commons/types/SystemEventName.d.ts +2 -2
- package/serialization/resources/commons/types/TagsPrecondition.d.ts +2 -2
- package/serialization/resources/commons/types/UserConversationMessageType.d.ts +2 -2
- package/serialization/resources/commons/types/UserData.d.ts +2 -2
- package/serialization/resources/commons/types/UserDataWithReference.d.ts +2 -2
- package/serialization/resources/commons/types/UserEvent.d.ts +5 -4
- package/serialization/resources/commons/types/UserEvent.js +3 -2
- package/serialization/resources/commons/types/UserEventName.d.ts +2 -2
- package/serialization/resources/commons/types/UserMessage.d.ts +4 -4
- package/serialization/resources/commons/types/UserMessage.js +2 -2
- package/serialization/resources/commons/types/UserMessageBase.d.ts +3 -3
- package/serialization/resources/commons/types/UserMessageBase.js +1 -1
- package/serialization/resources/commons/types/UserMessageResponseState.d.ts +2 -2
- package/serialization/resources/commons/types/VisibilityType.d.ts +2 -2
- package/serialization/resources/commons/types/index.d.ts +121 -112
- package/serialization/resources/commons/types/index.js +121 -112
- package/serialization/resources/conversation/client/addConversationMetadata.d.ts +1 -1
- package/serialization/resources/conversation/client/appendNewMessages.d.ts +2 -2
- package/serialization/resources/conversation/client/index.d.ts +1 -1
- package/serialization/resources/conversation/client/index.js +2 -2
- package/serialization/resources/conversation/index.d.ts +1 -1
- package/serialization/resources/conversation/index.js +1 -1
- package/serialization/resources/conversation/types/ActionFormAttachment.d.ts +2 -2
- package/serialization/resources/conversation/types/ActionFormRequestParamValue.d.ts +2 -2
- package/serialization/resources/conversation/types/AskObjectRequest.d.ts +2 -2
- package/serialization/resources/conversation/types/AskRequest.d.ts +3 -3
- package/serialization/resources/conversation/types/AskRequest.js +1 -1
- package/serialization/resources/conversation/types/AskStreamActionEvent.d.ts +2 -2
- package/serialization/resources/conversation/types/AskStreamChartEvent.d.ts +2 -2
- package/serialization/resources/conversation/types/AskStreamEndEvent.d.ts +2 -2
- package/serialization/resources/conversation/types/AskStreamMetadataEvent.d.ts +2 -2
- package/serialization/resources/conversation/types/AskStreamOAuthButtonEvent.d.ts +2 -2
- package/serialization/resources/conversation/types/AskStreamStartEvent.d.ts +2 -2
- package/serialization/resources/conversation/types/AskStreamTextEvent.d.ts +2 -2
- package/serialization/resources/conversation/types/CategorizationResponse.d.ts +2 -2
- package/serialization/resources/conversation/types/ConversationField.d.ts +3 -3
- package/serialization/resources/conversation/types/ConversationField.js +2 -0
- package/serialization/resources/conversation/types/ConversationFilter.d.ts +3 -3
- package/serialization/resources/conversation/types/ConversationFilter.js +1 -1
- package/serialization/resources/conversation/types/ConversationMessageRequest.d.ts +3 -3
- package/serialization/resources/conversation/types/ConversationMessageRequest.js +1 -1
- package/serialization/resources/conversation/types/ConversationMetadata.d.ts +2 -2
- package/serialization/resources/conversation/types/ConversationPatchRequest.d.ts +2 -2
- package/serialization/resources/conversation/types/ConversationRequest.d.ts +3 -3
- package/serialization/resources/conversation/types/ConversationRequest.js +1 -1
- package/serialization/resources/conversation/types/ConversationsResponse.d.ts +2 -2
- package/serialization/resources/conversation/types/ConversationsSearchRequest.d.ts +3 -3
- package/serialization/resources/conversation/types/ConversationsSearchRequest.js +1 -1
- package/serialization/resources/conversation/types/DeliverConversationMessageRequest.d.ts +2 -2
- package/serialization/resources/conversation/types/DeliverMessageRequest.d.ts +3 -3
- package/serialization/resources/conversation/types/DeliverMessageRequest.js +1 -1
- package/serialization/resources/conversation/types/DeliverMessageResponse.d.ts +2 -2
- package/serialization/resources/conversation/types/DeliverUserMessageRequest.d.ts +2 -2
- package/serialization/resources/conversation/types/DeliveryStatus.d.ts +2 -2
- package/serialization/resources/conversation/types/FeedbackField.d.ts +2 -2
- package/serialization/resources/conversation/types/FeedbackFilter.d.ts +2 -2
- package/serialization/resources/conversation/types/FeedbackRequest.d.ts +2 -2
- package/serialization/resources/conversation/types/NumericConversationField.d.ts +3 -3
- package/serialization/resources/conversation/types/NumericConversationField.js +1 -0
- package/serialization/resources/conversation/types/ObjectStreamResponse.d.ts +4 -4
- package/serialization/resources/conversation/types/ObjectStreamResponse.js +2 -2
- package/serialization/resources/conversation/types/ResolutionStatus.d.ts +2 -2
- package/serialization/resources/conversation/types/SimulationFilter.d.ts +2 -2
- package/serialization/resources/conversation/types/StreamResponse.d.ts +5 -5
- package/serialization/resources/conversation/types/StreamResponse.js +3 -3
- package/serialization/resources/conversation/types/SubmitActionFormRequest.d.ts +2 -2
- package/serialization/resources/conversation/types/UpdateMetadataRequest.d.ts +2 -2
- package/serialization/resources/conversation/types/index.d.ts +21 -21
- package/serialization/resources/conversation/types/index.js +21 -21
- package/serialization/resources/customers/index.d.ts +1 -0
- package/serialization/resources/customers/index.js +17 -0
- package/serialization/resources/customers/types/CustomerBase.d.ts +13 -0
- package/serialization/resources/customers/types/CustomerBase.js +45 -0
- package/serialization/resources/customers/types/CustomerField.d.ts +7 -0
- package/serialization/resources/customers/types/CustomerField.js +39 -0
- package/serialization/resources/customers/types/CustomerFilter.d.ts +13 -0
- package/serialization/resources/customers/types/CustomerFilter.js +45 -0
- package/serialization/resources/customers/types/CustomerPatchRequest.d.ts +16 -0
- package/serialization/resources/customers/types/CustomerPatchRequest.js +48 -0
- package/serialization/resources/customers/types/CustomerRequest.d.ts +11 -0
- package/serialization/resources/customers/types/CustomerRequest.js +43 -0
- package/serialization/resources/customers/types/CustomerResponse.d.ts +13 -0
- package/serialization/resources/customers/types/CustomerResponse.js +47 -0
- package/serialization/resources/customers/types/CustomerStatus.d.ts +7 -0
- package/serialization/resources/customers/types/CustomerStatus.js +39 -0
- package/serialization/resources/customers/types/CustomersSearchRequest.d.ts +13 -0
- package/serialization/resources/customers/types/CustomersSearchRequest.js +47 -0
- package/serialization/resources/customers/types/CustomersSearchResponse.d.ts +11 -0
- package/serialization/resources/customers/types/CustomersSearchResponse.js +45 -0
- package/serialization/resources/customers/types/index.d.ts +9 -0
- package/serialization/resources/customers/types/index.js +25 -0
- package/serialization/resources/inbox/types/AddDocumentFixRequest.d.ts +2 -2
- package/serialization/resources/inbox/types/ApplyFixesRequest.d.ts +2 -2
- package/serialization/resources/inbox/types/InboxFilter.d.ts +2 -2
- package/serialization/resources/inbox/types/InboxSearchRequest.d.ts +3 -3
- package/serialization/resources/inbox/types/InboxSearchRequest.js +1 -1
- package/serialization/resources/inbox/types/InboxSearchResponse.d.ts +2 -2
- package/serialization/resources/inbox/types/index.d.ts +2 -2
- package/serialization/resources/inbox/types/index.js +2 -2
- package/serialization/resources/index.d.ts +10 -3
- package/serialization/resources/index.js +11 -4
- package/serialization/resources/knowledge/client/requests/KnowledgeBasePatchRequest.d.ts +3 -3
- package/serialization/resources/knowledge/client/requests/KnowledgeBasePatchRequest.js +2 -2
- package/serialization/resources/knowledge/client/requests/KnowledgeDocumentPatchRequest.d.ts +2 -2
- package/serialization/resources/knowledge/index.d.ts +1 -1
- package/serialization/resources/knowledge/index.js +1 -1
- package/serialization/resources/knowledge/types/BaseKnowledgeDocument.d.ts +2 -2
- package/serialization/resources/knowledge/types/FinalizeKnowledgeBaseVersionRequest.d.ts +2 -2
- package/serialization/resources/knowledge/types/KnowledgeBaseField.d.ts +2 -2
- package/serialization/resources/knowledge/types/KnowledgeBaseFilter.d.ts +3 -3
- package/serialization/resources/knowledge/types/KnowledgeBaseFilter.js +1 -1
- package/serialization/resources/knowledge/types/KnowledgeBaseProperties.d.ts +2 -2
- package/serialization/resources/knowledge/types/KnowledgeBaseProperties.js +1 -1
- package/serialization/resources/knowledge/types/KnowledgeBaseRefreshFrequency.d.ts +2 -2
- package/serialization/resources/knowledge/types/KnowledgeBaseRefreshRequest.d.ts +2 -2
- package/serialization/resources/knowledge/types/KnowledgeBaseRequest.d.ts +2 -2
- package/serialization/resources/knowledge/types/KnowledgeBaseResponse.d.ts +5 -5
- package/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +3 -3
- package/serialization/resources/knowledge/types/KnowledgeBaseSearchRequest.d.ts +3 -3
- package/serialization/resources/knowledge/types/KnowledgeBaseSearchRequest.js +1 -1
- package/serialization/resources/knowledge/types/KnowledgeBaseType.d.ts +2 -2
- package/serialization/resources/knowledge/types/KnowledgeBaseVersion.d.ts +3 -3
- package/serialization/resources/knowledge/types/KnowledgeBaseVersion.js +1 -1
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionFinalizeStatus.d.ts +2 -2
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionRequest.d.ts +2 -2
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionStatus.d.ts +2 -2
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionType.d.ts +2 -2
- package/serialization/resources/knowledge/types/KnowledgeBaseVersionsListResponse.d.ts +2 -2
- package/serialization/resources/knowledge/types/KnowledgeBasesResponse.d.ts +3 -3
- package/serialization/resources/knowledge/types/KnowledgeBasesResponse.js +1 -1
- package/serialization/resources/knowledge/types/KnowledgeDeleteRequest.d.ts +2 -2
- package/serialization/resources/knowledge/types/KnowledgeDocumentContentType.d.ts +2 -2
- package/serialization/resources/knowledge/types/KnowledgeDocumentField.d.ts +2 -2
- package/serialization/resources/knowledge/types/KnowledgeDocumentFilter.d.ts +2 -2
- package/serialization/resources/knowledge/types/KnowledgeDocumentRequest.d.ts +6 -4
- package/serialization/resources/knowledge/types/KnowledgeDocumentRequest.js +4 -2
- package/serialization/resources/knowledge/types/KnowledgeDocumentResponse.d.ts +5 -3
- package/serialization/resources/knowledge/types/KnowledgeDocumentResponse.js +3 -1
- package/serialization/resources/knowledge/types/KnowledgeDocumentSearchRequest.d.ts +3 -3
- package/serialization/resources/knowledge/types/KnowledgeDocumentSearchRequest.js +1 -1
- package/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +2 -2
- package/serialization/resources/knowledge/types/KnowledgeDocumentStatus.d.ts +2 -2
- package/serialization/resources/knowledge/types/KnowledgeDocumentsResponse.d.ts +3 -3
- package/serialization/resources/knowledge/types/KnowledgeDocumentsResponse.js +1 -1
- package/serialization/resources/knowledge/types/index.d.ts +16 -16
- package/serialization/resources/knowledge/types/index.js +16 -16
- package/serialization/resources/organizations/types/BaseOrganization.d.ts +2 -2
- package/serialization/resources/organizations/types/CreateOrganizationRequest.d.ts +2 -2
- package/serialization/resources/organizations/types/Organization.d.ts +2 -2
- package/serialization/resources/organizations/types/OrganizationPatchRequest.d.ts +2 -2
- package/serialization/resources/organizations/types/index.d.ts +1 -1
- package/serialization/resources/organizations/types/index.js +1 -1
- package/serialization/resources/segments/types/SegmentBase.d.ts +2 -2
- package/serialization/resources/segments/types/SegmentBase.js +1 -1
- package/serialization/resources/segments/types/SegmentField.d.ts +2 -2
- package/serialization/resources/segments/types/SegmentPatchRequest.d.ts +2 -2
- package/serialization/resources/segments/types/SegmentPatchRequest.js +1 -1
- package/serialization/resources/segments/types/SegmentRequest.d.ts +2 -2
- package/serialization/resources/segments/types/SegmentResponse.d.ts +3 -3
- package/serialization/resources/segments/types/SegmentResponse.js +1 -1
- package/serialization/resources/segments/types/SegmentStatus.d.ts +2 -2
- package/serialization/resources/segments/types/SegmentsSearchRequest.d.ts +3 -3
- package/serialization/resources/segments/types/SegmentsSearchRequest.js +1 -1
- package/serialization/resources/segments/types/SegmentsSearchResponse.d.ts +3 -3
- package/serialization/resources/segments/types/SegmentsSearchResponse.js +1 -1
- package/serialization/resources/segments/types/index.d.ts +4 -4
- package/serialization/resources/segments/types/index.js +4 -4
- package/serialization/resources/translations/types/TranslationRequest.d.ts +2 -2
- package/serialization/resources/translations/types/TranslationResponse.d.ts +2 -2
- package/serialization/resources/triggers/types/EventTriggerBase.d.ts +3 -3
- package/serialization/resources/triggers/types/EventTriggerBase.js +1 -1
- package/serialization/resources/triggers/types/EventTriggerRequest.d.ts +2 -2
- package/serialization/resources/triggers/types/EventTriggerResponse.d.ts +2 -2
- package/serialization/resources/triggers/types/EventTriggersSearchRequest.d.ts +3 -3
- package/serialization/resources/triggers/types/EventTriggersSearchRequest.js +1 -1
- package/serialization/resources/triggers/types/EventTriggersSearchResponse.d.ts +3 -3
- package/serialization/resources/triggers/types/EventTriggersSearchResponse.js +1 -1
- package/serialization/resources/triggers/types/TriggerField.d.ts +2 -2
- package/serialization/resources/triggers/types/TriggerPartialUpdate.d.ts +2 -2
- package/serialization/resources/triggers/types/index.d.ts +2 -3
- package/serialization/resources/triggers/types/index.js +2 -3
- package/serialization/resources/users/types/AgentUser.d.ts +2 -2
- package/serialization/resources/users/types/AgentUserField.d.ts +2 -2
- package/serialization/resources/users/types/AgentUserFilter.d.ts +2 -2
- package/serialization/resources/users/types/AgentUserSearchRequest.d.ts +3 -3
- package/serialization/resources/users/types/AgentUserSearchRequest.js +1 -1
- package/serialization/resources/users/types/AgentUserSearchResponse.d.ts +3 -3
- package/serialization/resources/users/types/AgentUserSearchResponse.js +1 -1
- package/serialization/resources/users/types/AppUserSummary.d.ts +3 -3
- package/serialization/resources/users/types/AppUserSummary.js +1 -1
- package/serialization/resources/users/types/index.d.ts +1 -1
- package/serialization/resources/users/types/index.js +1 -1
- package/serialization/resources/websockets/client/index.d.ts +1 -0
- package/serialization/resources/websockets/client/index.js +17 -0
- package/serialization/resources/websockets/client/socket/WebsocketsSocketResponse.d.ts +15 -0
- package/serialization/resources/websockets/client/socket/WebsocketsSocketResponse.js +56 -0
- package/serialization/resources/websockets/client/socket/index.d.ts +1 -0
- package/serialization/resources/websockets/client/socket/index.js +5 -0
- package/serialization/resources/websockets/index.d.ts +2 -0
- package/serialization/resources/websockets/index.js +18 -0
- package/serialization/resources/websockets/types/AgentAudioChunk.d.ts +11 -0
- package/serialization/resources/websockets/types/AgentAudioChunk.js +45 -0
- package/serialization/resources/websockets/types/AgentTranscript.d.ts +11 -0
- package/serialization/resources/websockets/types/AgentTranscript.js +45 -0
- package/serialization/resources/websockets/types/AudioFormat.d.ts +7 -0
- package/serialization/resources/websockets/types/AudioFormat.js +39 -0
- package/serialization/resources/websockets/types/Config.d.ts +14 -0
- package/serialization/resources/websockets/types/Config.js +46 -0
- package/serialization/resources/websockets/types/ConversationEnded.d.ts +10 -0
- package/serialization/resources/websockets/types/ConversationEnded.js +44 -0
- package/serialization/resources/websockets/types/ConversationReady.d.ts +9 -0
- package/serialization/resources/websockets/types/ConversationReady.js +41 -0
- package/serialization/resources/websockets/types/Error_.d.ts +12 -0
- package/serialization/resources/websockets/types/Error_.js +46 -0
- package/serialization/resources/websockets/types/ServerEventBase.d.ts +9 -0
- package/serialization/resources/websockets/types/ServerEventBase.js +41 -0
- package/serialization/resources/websockets/types/UserAudioChunk.d.ts +10 -0
- package/serialization/resources/websockets/types/UserAudioChunk.js +42 -0
- package/serialization/resources/websockets/types/UserFinishedSpeaking.d.ts +10 -0
- package/serialization/resources/websockets/types/UserFinishedSpeaking.js +44 -0
- package/serialization/resources/websockets/types/UserStartedSpeaking.d.ts +10 -0
- package/serialization/resources/websockets/types/UserStartedSpeaking.js +44 -0
- package/serialization/resources/websockets/types/UserTranscript.d.ts +11 -0
- package/serialization/resources/websockets/types/UserTranscript.js +45 -0
- package/serialization/resources/websockets/types/index.d.ts +12 -0
- package/serialization/resources/websockets/types/index.js +28 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/.prettierignore +0 -9
- /package/api/resources/{triggers → commons}/types/EventTriggerType.d.ts +0 -0
- /package/api/resources/{triggers → commons}/types/EventTriggerType.js +0 -0
- /package/api/resources/{agents → commons}/types/PiiCategory.d.ts +0 -0
- /package/api/resources/{agents → commons}/types/PiiCategory.js +0 -0
- /package/dist/api/resources/{triggers → commons}/types/EventTriggerType.d.ts +0 -0
- /package/dist/api/resources/{triggers → commons}/types/EventTriggerType.js +0 -0
- /package/dist/api/resources/{agents → commons}/types/PiiCategory.d.ts +0 -0
- /package/dist/api/resources/{agents → commons}/types/PiiCategory.js +0 -0
- /package/dist/serialization/resources/{triggers → commons}/types/EventTriggerType.js +0 -0
- /package/dist/serialization/resources/{agents → commons}/types/PiiCategory.js +0 -0
- /package/serialization/resources/{triggers → commons}/types/EventTriggerType.js +0 -0
- /package/serialization/resources/{agents → commons}/types/PiiCategory.js +0 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* customerId: {
|
|
6
|
+
* referenceId: "acme",
|
|
7
|
+
* appId: "customer-app",
|
|
8
|
+
* organizationId: "acme",
|
|
9
|
+
* agentId: "support",
|
|
10
|
+
* type: MavenAGI.EntityType.Customer
|
|
11
|
+
* },
|
|
12
|
+
* name: "Acme Corporation",
|
|
13
|
+
* status: MavenAGI.CustomerStatus.Active,
|
|
14
|
+
* description: "Acme is a company that makes widgets",
|
|
15
|
+
* metadata: {
|
|
16
|
+
* "industry": "widget manufacturing",
|
|
17
|
+
* "initial-note": "Acme is a great company"
|
|
18
|
+
* },
|
|
19
|
+
* assignees: new Set([]),
|
|
20
|
+
* members: new Set([])
|
|
21
|
+
* }
|
|
22
|
+
*/
|
|
23
|
+
export interface CustomerResponse extends MavenAGI.CustomerBase {
|
|
24
|
+
/** ID that uniquely identifies this customer */
|
|
25
|
+
customerId: MavenAGI.EntityId;
|
|
26
|
+
/** Set of agent user IDs assigned to this customer */
|
|
27
|
+
assignees: Set<string>;
|
|
28
|
+
/** Set of agent user IDs who are members of this customer */
|
|
29
|
+
members: Set<string>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../index";
|
|
2
|
+
export interface CustomersSearchRequest extends MavenAGI.BasePaginatedRequest {
|
|
3
|
+
/** The field to sort by, defaults to created timestamp */
|
|
4
|
+
sort?: MavenAGI.CustomerField;
|
|
5
|
+
/** The filter to apply to the customers. */
|
|
6
|
+
filter?: MavenAGI.CustomerFilter;
|
|
7
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from "./CustomerBase";
|
|
2
|
+
export * from "./CustomerField";
|
|
3
|
+
export * from "./CustomerFilter";
|
|
4
|
+
export * from "./CustomerPatchRequest";
|
|
5
|
+
export * from "./CustomerRequest";
|
|
6
|
+
export * from "./CustomerResponse";
|
|
7
|
+
export * from "./CustomerStatus";
|
|
8
|
+
export * from "./CustomersSearchRequest";
|
|
9
|
+
export * from "./CustomersSearchResponse";
|
|
@@ -0,0 +1,25 @@
|
|
|
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("./CustomerBase"), exports);
|
|
18
|
+
__exportStar(require("./CustomerField"), exports);
|
|
19
|
+
__exportStar(require("./CustomerFilter"), exports);
|
|
20
|
+
__exportStar(require("./CustomerPatchRequest"), exports);
|
|
21
|
+
__exportStar(require("./CustomerRequest"), exports);
|
|
22
|
+
__exportStar(require("./CustomerResponse"), exports);
|
|
23
|
+
__exportStar(require("./CustomerStatus"), exports);
|
|
24
|
+
__exportStar(require("./CustomersSearchRequest"), exports);
|
|
25
|
+
__exportStar(require("./CustomersSearchResponse"), exports);
|
|
@@ -1,36 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient";
|
|
2
2
|
import * as core from "../../../../core";
|
|
3
3
|
import * as MavenAGI from "../../../index";
|
|
4
4
|
export declare namespace Events {
|
|
5
|
-
interface Options {
|
|
6
|
-
environment?: core.Supplier<environments.MavenAGIEnvironment | string>;
|
|
7
|
-
/** Specify a custom URL to connect the client to. */
|
|
8
|
-
baseUrl?: core.Supplier<string>;
|
|
9
|
-
appId?: core.Supplier<string | undefined>;
|
|
10
|
-
appSecret?: core.Supplier<string | undefined>;
|
|
11
|
-
/** Override the X-Organization-Id header */
|
|
12
|
-
organizationId: core.Supplier<string>;
|
|
13
|
-
/** Override the X-Agent-Id header */
|
|
14
|
-
agentId: core.Supplier<string>;
|
|
15
|
-
/** Additional headers to include in requests. */
|
|
16
|
-
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
17
|
-
fetcher?: core.FetchFunction;
|
|
5
|
+
interface Options extends BaseClientOptions {
|
|
18
6
|
}
|
|
19
|
-
interface RequestOptions {
|
|
20
|
-
/** The maximum time to wait for a response in seconds. */
|
|
21
|
-
timeoutInSeconds?: number;
|
|
22
|
-
/** The number of times to retry the request. Defaults to 2. */
|
|
23
|
-
maxRetries?: number;
|
|
24
|
-
/** A hook to abort the request. */
|
|
25
|
-
abortSignal?: AbortSignal;
|
|
26
|
-
/** Override the X-Organization-Id header */
|
|
27
|
-
organizationId?: string;
|
|
28
|
-
/** Override the X-Agent-Id header */
|
|
29
|
-
agentId?: string;
|
|
30
|
-
/** Additional query string parameters to include in the request. */
|
|
31
|
-
queryParams?: Record<string, unknown>;
|
|
32
|
-
/** Additional headers to include in the request. */
|
|
33
|
-
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
34
8
|
}
|
|
35
9
|
}
|
|
36
10
|
export declare class Events {
|
|
@@ -44,12 +44,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
44
44
|
};
|
|
45
45
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
46
|
exports.Events = void 0;
|
|
47
|
-
const environments = __importStar(require("../../../../environments"));
|
|
48
47
|
const core = __importStar(require("../../../../core"));
|
|
49
|
-
const MavenAGI = __importStar(require("../../../index"));
|
|
50
48
|
const headers_1 = require("../../../../core/headers");
|
|
51
|
-
const
|
|
49
|
+
const environments = __importStar(require("../../../../environments"));
|
|
52
50
|
const errors = __importStar(require("../../../../errors/index"));
|
|
51
|
+
const serializers = __importStar(require("../../../../serialization/index"));
|
|
52
|
+
const MavenAGI = __importStar(require("../../../index"));
|
|
53
53
|
class Events {
|
|
54
54
|
constructor(_options) {
|
|
55
55
|
this._options = _options;
|
|
@@ -83,8 +83,8 @@ class Events {
|
|
|
83
83
|
}
|
|
84
84
|
__create(request, requestOptions) {
|
|
85
85
|
return __awaiter(this, void 0, void 0, function* () {
|
|
86
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
87
|
-
|
|
86
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
87
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
88
88
|
Authorization: yield this._getAuthorizationHeader(),
|
|
89
89
|
"X-Organization-Id": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.organizationId,
|
|
90
90
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
@@ -97,8 +97,8 @@ class Events {
|
|
|
97
97
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
98
98
|
requestType: "json",
|
|
99
99
|
body: serializers.EventRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
100
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
101
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
100
|
+
timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
|
|
101
|
+
maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
|
|
102
102
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
103
103
|
});
|
|
104
104
|
if (_response.ok) {
|
|
@@ -178,8 +178,8 @@ class Events {
|
|
|
178
178
|
}
|
|
179
179
|
__search(request, requestOptions) {
|
|
180
180
|
return __awaiter(this, void 0, void 0, function* () {
|
|
181
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
182
|
-
|
|
181
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
182
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
183
183
|
Authorization: yield this._getAuthorizationHeader(),
|
|
184
184
|
"X-Organization-Id": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.organizationId,
|
|
185
185
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
@@ -192,8 +192,8 @@ class Events {
|
|
|
192
192
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
193
193
|
requestType: "json",
|
|
194
194
|
body: serializers.EventsSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
195
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
196
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
195
|
+
timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
|
|
196
|
+
maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
|
|
197
197
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
198
198
|
});
|
|
199
199
|
if (_response.ok) {
|
|
@@ -276,22 +276,22 @@ class Events {
|
|
|
276
276
|
}
|
|
277
277
|
__get(eventId, request, requestOptions) {
|
|
278
278
|
return __awaiter(this, void 0, void 0, function* () {
|
|
279
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
279
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
280
280
|
const { appId } = request;
|
|
281
281
|
const _queryParams = {};
|
|
282
|
-
_queryParams
|
|
283
|
-
|
|
282
|
+
_queryParams.appId = appId;
|
|
283
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
284
284
|
Authorization: yield this._getAuthorizationHeader(),
|
|
285
285
|
"X-Organization-Id": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.organizationId,
|
|
286
286
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
287
287
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
288
288
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
289
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/events/${
|
|
289
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/events/${core.url.encodePathParam(eventId)}`),
|
|
290
290
|
method: "GET",
|
|
291
291
|
headers: _headers,
|
|
292
292
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
293
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
294
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
293
|
+
timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
|
|
294
|
+
maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
|
|
295
295
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
296
296
|
});
|
|
297
297
|
if (_response.ok) {
|
|
@@ -366,8 +366,8 @@ class Events {
|
|
|
366
366
|
}
|
|
367
367
|
__export(request, requestOptions) {
|
|
368
368
|
return __awaiter(this, void 0, void 0, function* () {
|
|
369
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
370
|
-
|
|
369
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
370
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
371
371
|
Authorization: yield this._getAuthorizationHeader(),
|
|
372
372
|
"X-Organization-Id": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.organizationId,
|
|
373
373
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
@@ -381,8 +381,8 @@ class Events {
|
|
|
381
381
|
requestType: "json",
|
|
382
382
|
body: serializers.EventsSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
383
383
|
responseType: "binary-response",
|
|
384
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
385
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
384
|
+
timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
|
|
385
|
+
maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
|
|
386
386
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
387
387
|
});
|
|
388
388
|
if (_response.ok) {
|
|
@@ -439,8 +439,8 @@ class Events {
|
|
|
439
439
|
_getAuthorizationHeader() {
|
|
440
440
|
return __awaiter(this, void 0, void 0, function* () {
|
|
441
441
|
var _a, _b;
|
|
442
|
-
const appId = (_a = (yield core.Supplier.get(this._options.appId))) !== null && _a !== void 0 ? _a : process === null || process === void 0 ? void 0 : process.env
|
|
443
|
-
const appSecret = (_b = (yield core.Supplier.get(this._options.appSecret))) !== null && _b !== void 0 ? _b : process === null || process === void 0 ? void 0 : process.env
|
|
442
|
+
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;
|
|
443
|
+
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;
|
|
444
444
|
if (appId != null && appSecret != null) {
|
|
445
445
|
return core.BasicAuth.toAuthorizationHeader({
|
|
446
446
|
username: appId,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export type { EventGetRequest } from "./EventGetRequest";
|
|
@@ -1,36 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient";
|
|
2
2
|
import * as core from "../../../../core";
|
|
3
3
|
import * as MavenAGI from "../../../index";
|
|
4
4
|
export declare namespace Inbox {
|
|
5
|
-
interface Options {
|
|
6
|
-
environment?: core.Supplier<environments.MavenAGIEnvironment | string>;
|
|
7
|
-
/** Specify a custom URL to connect the client to. */
|
|
8
|
-
baseUrl?: core.Supplier<string>;
|
|
9
|
-
appId?: core.Supplier<string | undefined>;
|
|
10
|
-
appSecret?: core.Supplier<string | undefined>;
|
|
11
|
-
/** Override the X-Organization-Id header */
|
|
12
|
-
organizationId: core.Supplier<string>;
|
|
13
|
-
/** Override the X-Agent-Id header */
|
|
14
|
-
agentId: core.Supplier<string>;
|
|
15
|
-
/** Additional headers to include in requests. */
|
|
16
|
-
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
17
|
-
fetcher?: core.FetchFunction;
|
|
5
|
+
interface Options extends BaseClientOptions {
|
|
18
6
|
}
|
|
19
|
-
interface RequestOptions {
|
|
20
|
-
/** The maximum time to wait for a response in seconds. */
|
|
21
|
-
timeoutInSeconds?: number;
|
|
22
|
-
/** The number of times to retry the request. Defaults to 2. */
|
|
23
|
-
maxRetries?: number;
|
|
24
|
-
/** A hook to abort the request. */
|
|
25
|
-
abortSignal?: AbortSignal;
|
|
26
|
-
/** Override the X-Organization-Id header */
|
|
27
|
-
organizationId?: string;
|
|
28
|
-
/** Override the X-Agent-Id header */
|
|
29
|
-
agentId?: string;
|
|
30
|
-
/** Additional query string parameters to include in the request. */
|
|
31
|
-
queryParams?: Record<string, unknown>;
|
|
32
|
-
/** Additional headers to include in the request. */
|
|
33
|
-
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
34
8
|
}
|
|
35
9
|
}
|
|
36
10
|
export declare class Inbox {
|
|
@@ -44,12 +44,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
44
44
|
};
|
|
45
45
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
46
|
exports.Inbox = void 0;
|
|
47
|
-
const environments = __importStar(require("../../../../environments"));
|
|
48
47
|
const core = __importStar(require("../../../../core"));
|
|
49
|
-
const MavenAGI = __importStar(require("../../../index"));
|
|
50
48
|
const headers_1 = require("../../../../core/headers");
|
|
51
|
-
const
|
|
49
|
+
const environments = __importStar(require("../../../../environments"));
|
|
52
50
|
const errors = __importStar(require("../../../../errors/index"));
|
|
51
|
+
const serializers = __importStar(require("../../../../serialization/index"));
|
|
52
|
+
const MavenAGI = __importStar(require("../../../index"));
|
|
53
53
|
class Inbox {
|
|
54
54
|
constructor(_options) {
|
|
55
55
|
this._options = _options;
|
|
@@ -72,8 +72,8 @@ class Inbox {
|
|
|
72
72
|
}
|
|
73
73
|
__search(request, requestOptions) {
|
|
74
74
|
return __awaiter(this, void 0, void 0, function* () {
|
|
75
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
76
|
-
|
|
75
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
76
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
77
77
|
Authorization: yield this._getAuthorizationHeader(),
|
|
78
78
|
"X-Organization-Id": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.organizationId,
|
|
79
79
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
@@ -86,8 +86,8 @@ class Inbox {
|
|
|
86
86
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
87
87
|
requestType: "json",
|
|
88
88
|
body: serializers.InboxSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
89
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
90
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
89
|
+
timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
|
|
90
|
+
maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
|
|
91
91
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
92
92
|
});
|
|
93
93
|
if (_response.ok) {
|
|
@@ -170,22 +170,22 @@ class Inbox {
|
|
|
170
170
|
}
|
|
171
171
|
__get(inboxItemId, request, requestOptions) {
|
|
172
172
|
return __awaiter(this, void 0, void 0, function* () {
|
|
173
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
173
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
174
174
|
const { appId } = request;
|
|
175
175
|
const _queryParams = {};
|
|
176
|
-
_queryParams
|
|
177
|
-
|
|
176
|
+
_queryParams.appId = appId;
|
|
177
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
178
178
|
Authorization: yield this._getAuthorizationHeader(),
|
|
179
179
|
"X-Organization-Id": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.organizationId,
|
|
180
180
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
181
181
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
182
182
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
183
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/inbox/${
|
|
183
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/inbox/${core.url.encodePathParam(inboxItemId)}`),
|
|
184
184
|
method: "GET",
|
|
185
185
|
headers: _headers,
|
|
186
186
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
187
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
188
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
187
|
+
timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
|
|
188
|
+
maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
|
|
189
189
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
190
190
|
});
|
|
191
191
|
if (_response.ok) {
|
|
@@ -268,22 +268,22 @@ class Inbox {
|
|
|
268
268
|
}
|
|
269
269
|
__getFix(inboxItemFixId, request, requestOptions) {
|
|
270
270
|
return __awaiter(this, void 0, void 0, function* () {
|
|
271
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
271
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
272
272
|
const { appId } = request;
|
|
273
273
|
const _queryParams = {};
|
|
274
|
-
_queryParams
|
|
275
|
-
|
|
274
|
+
_queryParams.appId = appId;
|
|
275
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
276
276
|
Authorization: yield this._getAuthorizationHeader(),
|
|
277
277
|
"X-Organization-Id": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.organizationId,
|
|
278
278
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
279
279
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
280
280
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
281
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/inbox/fix/${
|
|
281
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/inbox/fix/${core.url.encodePathParam(inboxItemFixId)}`),
|
|
282
282
|
method: "GET",
|
|
283
283
|
headers: _headers,
|
|
284
284
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
285
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
286
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
285
|
+
timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
|
|
286
|
+
maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
|
|
287
287
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
288
288
|
});
|
|
289
289
|
if (_response.ok) {
|
|
@@ -367,22 +367,22 @@ class Inbox {
|
|
|
367
367
|
}
|
|
368
368
|
__applyFixes(inboxItemId, request, requestOptions) {
|
|
369
369
|
return __awaiter(this, void 0, void 0, function* () {
|
|
370
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
371
|
-
|
|
370
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
371
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
372
372
|
Authorization: yield this._getAuthorizationHeader(),
|
|
373
373
|
"X-Organization-Id": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.organizationId,
|
|
374
374
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
375
375
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
376
376
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
377
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/inbox/${
|
|
377
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/inbox/${core.url.encodePathParam(inboxItemId)}/applyfixes`),
|
|
378
378
|
method: "POST",
|
|
379
379
|
headers: _headers,
|
|
380
380
|
contentType: "application/json",
|
|
381
381
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
382
382
|
requestType: "json",
|
|
383
383
|
body: serializers.ApplyFixesRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
384
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
385
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
384
|
+
timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
|
|
385
|
+
maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
|
|
386
386
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
387
387
|
});
|
|
388
388
|
if (_response.ok) {
|
|
@@ -457,22 +457,22 @@ class Inbox {
|
|
|
457
457
|
}
|
|
458
458
|
__ignore(inboxItemId, request, requestOptions) {
|
|
459
459
|
return __awaiter(this, void 0, void 0, function* () {
|
|
460
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
460
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
461
461
|
const { appId } = request;
|
|
462
462
|
const _queryParams = {};
|
|
463
|
-
_queryParams
|
|
464
|
-
|
|
463
|
+
_queryParams.appId = appId;
|
|
464
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
465
465
|
Authorization: yield this._getAuthorizationHeader(),
|
|
466
466
|
"X-Organization-Id": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.organizationId,
|
|
467
467
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
468
468
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
469
469
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
470
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/inbox/${
|
|
470
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/inbox/${core.url.encodePathParam(inboxItemId)}/ignore`),
|
|
471
471
|
method: "POST",
|
|
472
472
|
headers: _headers,
|
|
473
473
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
474
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
475
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
474
|
+
timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
|
|
475
|
+
maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
|
|
476
476
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
477
477
|
});
|
|
478
478
|
if (_response.ok) {
|
|
@@ -529,8 +529,8 @@ class Inbox {
|
|
|
529
529
|
_getAuthorizationHeader() {
|
|
530
530
|
return __awaiter(this, void 0, void 0, function* () {
|
|
531
531
|
var _a, _b;
|
|
532
|
-
const appId = (_a = (yield core.Supplier.get(this._options.appId))) !== null && _a !== void 0 ? _a : process === null || process === void 0 ? void 0 : process.env
|
|
533
|
-
const appSecret = (_b = (yield core.Supplier.get(this._options.appSecret))) !== null && _b !== void 0 ? _b : process === null || process === void 0 ? void 0 : process.env
|
|
532
|
+
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;
|
|
533
|
+
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;
|
|
534
534
|
if (appId != null && appSecret != null) {
|
|
535
535
|
return core.BasicAuth.toAuthorizationHeader({
|
|
536
536
|
username: appId,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
1
|
+
export type { InboxItemFixRequest } from "./InboxItemFixRequest";
|
|
2
|
+
export type { InboxItemIgnoreRequest } from "./InboxItemIgnoreRequest";
|
|
3
|
+
export type { InboxItemRequest } from "./InboxItemRequest";
|
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./types"), exports);
|
|
18
17
|
__exportStar(require("./client"), exports);
|
|
18
|
+
__exportStar(require("./types"), exports);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
export * from "./AddDocumentFixRequest";
|
|
2
|
+
export * from "./ApplyFixesRequest";
|
|
1
3
|
export * from "./InboxFilter";
|
|
2
4
|
export * from "./InboxSearchRequest";
|
|
3
5
|
export * from "./InboxSearchResponse";
|
|
4
|
-
export * from "./AddDocumentFixRequest";
|
|
5
|
-
export * from "./ApplyFixesRequest";
|
|
@@ -14,8 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./AddDocumentFixRequest"), exports);
|
|
18
|
+
__exportStar(require("./ApplyFixesRequest"), exports);
|
|
17
19
|
__exportStar(require("./InboxFilter"), exports);
|
|
18
20
|
__exportStar(require("./InboxSearchRequest"), exports);
|
|
19
21
|
__exportStar(require("./InboxSearchResponse"), exports);
|
|
20
|
-
__exportStar(require("./AddDocumentFixRequest"), exports);
|
|
21
|
-
__exportStar(require("./ApplyFixesRequest"), exports);
|