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
package/dist/core/file/file.js
CHANGED
|
@@ -43,6 +43,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
43
43
|
};
|
|
44
44
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
45
45
|
exports.toBinaryUploadRequest = toBinaryUploadRequest;
|
|
46
|
+
exports.toMultipartDataPart = toMultipartDataPart;
|
|
46
47
|
function toBinaryUploadRequest(file) {
|
|
47
48
|
return __awaiter(this, void 0, void 0, function* () {
|
|
48
49
|
const { data, filename, contentLength, contentType } = yield getFileWithMetadata(file);
|
|
@@ -62,13 +63,25 @@ function toBinaryUploadRequest(file) {
|
|
|
62
63
|
return request;
|
|
63
64
|
});
|
|
64
65
|
}
|
|
65
|
-
function
|
|
66
|
+
function toMultipartDataPart(file) {
|
|
66
67
|
return __awaiter(this, void 0, void 0, function* () {
|
|
68
|
+
const { data, filename, contentType } = yield getFileWithMetadata(file, {
|
|
69
|
+
noSniffFileSize: true,
|
|
70
|
+
});
|
|
71
|
+
return {
|
|
72
|
+
data,
|
|
73
|
+
filename,
|
|
74
|
+
contentType,
|
|
75
|
+
};
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
function getFileWithMetadata(file_1) {
|
|
79
|
+
return __awaiter(this, arguments, void 0, function* (file, { noSniffFileSize } = {}) {
|
|
67
80
|
var _a, _b, _c, _d, _e;
|
|
68
81
|
if (isFileLike(file)) {
|
|
69
82
|
return getFileWithMetadata({
|
|
70
83
|
data: file,
|
|
71
|
-
});
|
|
84
|
+
}, { noSniffFileSize });
|
|
72
85
|
}
|
|
73
86
|
if ("path" in file) {
|
|
74
87
|
const fs = yield Promise.resolve().then(() => __importStar(require("fs")));
|
|
@@ -76,7 +89,7 @@ function getFileWithMetadata(file) {
|
|
|
76
89
|
throw new Error("File path uploads are not supported in this environment.");
|
|
77
90
|
}
|
|
78
91
|
const data = fs.createReadStream(file.path);
|
|
79
|
-
const contentLength = (_a = file.contentLength) !== null && _a !== void 0 ? _a : (yield tryGetFileSizeFromPath(file.path));
|
|
92
|
+
const contentLength = (_a = file.contentLength) !== null && _a !== void 0 ? _a : (noSniffFileSize === true ? undefined : yield tryGetFileSizeFromPath(file.path));
|
|
80
93
|
const filename = (_b = file.filename) !== null && _b !== void 0 ? _b : getNameFromPath(file.path);
|
|
81
94
|
return {
|
|
82
95
|
data,
|
|
@@ -87,7 +100,9 @@ function getFileWithMetadata(file) {
|
|
|
87
100
|
}
|
|
88
101
|
if ("data" in file) {
|
|
89
102
|
const data = file.data;
|
|
90
|
-
const contentLength = (_c = file.contentLength) !== null && _c !== void 0 ? _c : (yield tryGetContentLengthFromFileLike(data
|
|
103
|
+
const contentLength = (_c = file.contentLength) !== null && _c !== void 0 ? _c : (yield tryGetContentLengthFromFileLike(data, {
|
|
104
|
+
noSniffFileSize,
|
|
105
|
+
}));
|
|
91
106
|
const filename = (_d = file.filename) !== null && _d !== void 0 ? _d : tryGetNameFromFileLike(data);
|
|
92
107
|
return {
|
|
93
108
|
data,
|
|
@@ -119,7 +134,7 @@ function tryGetFileSizeFromPath(path) {
|
|
|
119
134
|
const fileStat = yield fs.promises.stat(path);
|
|
120
135
|
return fileStat.size;
|
|
121
136
|
}
|
|
122
|
-
catch (
|
|
137
|
+
catch (_fallbackError) {
|
|
123
138
|
return undefined;
|
|
124
139
|
}
|
|
125
140
|
});
|
|
@@ -133,8 +148,8 @@ function tryGetNameFromFileLike(data) {
|
|
|
133
148
|
}
|
|
134
149
|
return undefined;
|
|
135
150
|
}
|
|
136
|
-
function tryGetContentLengthFromFileLike(
|
|
137
|
-
return __awaiter(this,
|
|
151
|
+
function tryGetContentLengthFromFileLike(data_1) {
|
|
152
|
+
return __awaiter(this, arguments, void 0, function* (data, { noSniffFileSize } = {}) {
|
|
138
153
|
if (isBuffer(data)) {
|
|
139
154
|
return data.length;
|
|
140
155
|
}
|
|
@@ -150,6 +165,9 @@ function tryGetContentLengthFromFileLike(data) {
|
|
|
150
165
|
if (isFile(data)) {
|
|
151
166
|
return data.size;
|
|
152
167
|
}
|
|
168
|
+
if (noSniffFileSize === true) {
|
|
169
|
+
return undefined;
|
|
170
|
+
}
|
|
153
171
|
if (isPathedValue(data)) {
|
|
154
172
|
return yield tryGetFileSizeFromPath(data.path.toString());
|
|
155
173
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type Uploadable } from "../../core/file/index";
|
|
1
2
|
interface FormDataRequest<Body> {
|
|
2
3
|
body: Body;
|
|
3
4
|
headers: Record<string, string>;
|
|
@@ -8,9 +9,7 @@ export declare class FormDataWrapper {
|
|
|
8
9
|
private fd;
|
|
9
10
|
setup(): Promise<void>;
|
|
10
11
|
append(key: string, value: unknown): void;
|
|
11
|
-
|
|
12
|
-
private convertToBlob;
|
|
13
|
-
appendFile(key: string, value: unknown, fileName?: string): Promise<void>;
|
|
12
|
+
appendFile(key: string, value: Uploadable): Promise<void>;
|
|
14
13
|
getRequest(): FormDataRequest<FormData>;
|
|
15
14
|
}
|
|
16
15
|
export {};
|
|
@@ -51,14 +51,47 @@ var __asyncValues = (this && this.__asyncValues) || function (o) {
|
|
|
51
51
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
52
52
|
exports.FormDataWrapper = void 0;
|
|
53
53
|
exports.newFormData = newFormData;
|
|
54
|
+
const index_1 = require("../../core/file/index");
|
|
54
55
|
const json_1 = require("../../core/json");
|
|
55
|
-
const
|
|
56
|
-
function
|
|
57
|
-
return
|
|
56
|
+
const index_2 = require("../runtime/index");
|
|
57
|
+
function newFormData() {
|
|
58
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
59
|
+
return new FormDataWrapper();
|
|
60
|
+
});
|
|
58
61
|
}
|
|
59
|
-
|
|
60
|
-
|
|
62
|
+
class FormDataWrapper {
|
|
63
|
+
constructor() {
|
|
64
|
+
this.fd = new FormData();
|
|
65
|
+
}
|
|
66
|
+
setup() {
|
|
67
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
68
|
+
// noop
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
append(key, value) {
|
|
72
|
+
this.fd.append(key, String(value));
|
|
73
|
+
}
|
|
74
|
+
appendFile(key, value) {
|
|
75
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
76
|
+
const { data, filename, contentType } = yield (0, index_1.toMultipartDataPart)(value);
|
|
77
|
+
const blob = yield convertToBlob(data, contentType);
|
|
78
|
+
if (filename) {
|
|
79
|
+
this.fd.append(key, blob, filename);
|
|
80
|
+
}
|
|
81
|
+
else {
|
|
82
|
+
this.fd.append(key, blob);
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
getRequest() {
|
|
87
|
+
return {
|
|
88
|
+
body: this.fd,
|
|
89
|
+
headers: {},
|
|
90
|
+
duplex: "half",
|
|
91
|
+
};
|
|
92
|
+
}
|
|
61
93
|
}
|
|
94
|
+
exports.FormDataWrapper = FormDataWrapper;
|
|
62
95
|
function isStreamLike(value) {
|
|
63
96
|
return typeof value === "object" && value != null && ("read" in value || "pipe" in value);
|
|
64
97
|
}
|
|
@@ -71,17 +104,11 @@ function isBuffer(value) {
|
|
|
71
104
|
function isArrayBufferView(value) {
|
|
72
105
|
return ArrayBuffer.isView(value);
|
|
73
106
|
}
|
|
74
|
-
function getLastPathSegment(pathStr) {
|
|
75
|
-
const lastForwardSlash = pathStr.lastIndexOf("/");
|
|
76
|
-
const lastBackSlash = pathStr.lastIndexOf("\\");
|
|
77
|
-
const lastSlashIndex = Math.max(lastForwardSlash, lastBackSlash);
|
|
78
|
-
return lastSlashIndex >= 0 ? pathStr.substring(lastSlashIndex + 1) : pathStr;
|
|
79
|
-
}
|
|
80
107
|
function streamToBuffer(stream) {
|
|
81
108
|
return __awaiter(this, void 0, void 0, function* () {
|
|
82
109
|
var _a, stream_1, stream_1_1;
|
|
83
110
|
var _b, e_1, _c, _d;
|
|
84
|
-
if (
|
|
111
|
+
if (index_2.RUNTIME.type === "node") {
|
|
85
112
|
const { Readable } = yield Promise.resolve().then(() => __importStar(require("stream")));
|
|
86
113
|
if (stream instanceof Readable) {
|
|
87
114
|
const chunks = [];
|
|
@@ -126,83 +153,33 @@ function streamToBuffer(stream) {
|
|
|
126
153
|
}
|
|
127
154
|
return Buffer.from(result);
|
|
128
155
|
}
|
|
129
|
-
throw new Error(
|
|
156
|
+
throw new Error(`Unsupported stream type: ${typeof stream}. Expected Node.js Readable stream or Web ReadableStream.`);
|
|
130
157
|
});
|
|
131
158
|
}
|
|
132
|
-
function
|
|
159
|
+
function convertToBlob(value, contentType) {
|
|
133
160
|
return __awaiter(this, void 0, void 0, function* () {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
}
|
|
137
|
-
class FormDataWrapper {
|
|
138
|
-
constructor() {
|
|
139
|
-
this.fd = new FormData();
|
|
140
|
-
}
|
|
141
|
-
setup() {
|
|
142
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
143
|
-
// noop
|
|
144
|
-
});
|
|
145
|
-
}
|
|
146
|
-
append(key, value) {
|
|
147
|
-
this.fd.append(key, String(value));
|
|
148
|
-
}
|
|
149
|
-
getFileName(value, filename) {
|
|
150
|
-
if (filename != null) {
|
|
151
|
-
return filename;
|
|
161
|
+
if (isStreamLike(value) || isReadableStream(value)) {
|
|
162
|
+
const buffer = yield streamToBuffer(value);
|
|
163
|
+
return new Blob([buffer], { type: contentType });
|
|
152
164
|
}
|
|
153
|
-
if (
|
|
154
|
-
return value
|
|
165
|
+
if (value instanceof Blob) {
|
|
166
|
+
return value;
|
|
155
167
|
}
|
|
156
|
-
if (
|
|
157
|
-
return
|
|
168
|
+
if (isBuffer(value)) {
|
|
169
|
+
return new Blob([value], { type: contentType });
|
|
158
170
|
}
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
if (value instanceof ArrayBuffer) {
|
|
174
|
-
return new Blob([value]);
|
|
175
|
-
}
|
|
176
|
-
if (isArrayBufferView(value)) {
|
|
177
|
-
return new Blob([value]);
|
|
178
|
-
}
|
|
179
|
-
if (typeof value === "string") {
|
|
180
|
-
return new Blob([value]);
|
|
181
|
-
}
|
|
182
|
-
if (typeof value === "object" && value !== null) {
|
|
183
|
-
return new Blob([(0, json_1.toJson)(value)], { type: "application/json" });
|
|
184
|
-
}
|
|
185
|
-
return new Blob([String(value)]);
|
|
186
|
-
});
|
|
187
|
-
}
|
|
188
|
-
appendFile(key, value, fileName) {
|
|
189
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
190
|
-
fileName = this.getFileName(value, fileName);
|
|
191
|
-
const blob = yield this.convertToBlob(value);
|
|
192
|
-
if (fileName) {
|
|
193
|
-
this.fd.append(key, blob, fileName);
|
|
194
|
-
}
|
|
195
|
-
else {
|
|
196
|
-
this.fd.append(key, blob);
|
|
197
|
-
}
|
|
198
|
-
});
|
|
199
|
-
}
|
|
200
|
-
getRequest() {
|
|
201
|
-
return {
|
|
202
|
-
body: this.fd,
|
|
203
|
-
headers: {},
|
|
204
|
-
duplex: "half",
|
|
205
|
-
};
|
|
206
|
-
}
|
|
171
|
+
if (value instanceof ArrayBuffer) {
|
|
172
|
+
return new Blob([value], { type: contentType });
|
|
173
|
+
}
|
|
174
|
+
if (isArrayBufferView(value)) {
|
|
175
|
+
return new Blob([value], { type: contentType });
|
|
176
|
+
}
|
|
177
|
+
if (typeof value === "string") {
|
|
178
|
+
return new Blob([value], { type: contentType });
|
|
179
|
+
}
|
|
180
|
+
if (typeof value === "object" && value !== null) {
|
|
181
|
+
return new Blob([(0, json_1.toJson)(value)], { type: contentType !== null && contentType !== void 0 ? contentType : "application/json" });
|
|
182
|
+
}
|
|
183
|
+
return new Blob([String(value)], { type: contentType });
|
|
184
|
+
});
|
|
207
185
|
}
|
|
208
|
-
exports.FormDataWrapper = FormDataWrapper;
|
package/dist/core/index.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export * from "./fetcher";
|
|
2
|
-
export * from "./runtime";
|
|
3
|
-
export * as url from "./url";
|
|
4
1
|
export * from "./auth";
|
|
5
2
|
export * from "./base64";
|
|
6
|
-
export * from "./
|
|
3
|
+
export * from "./fetcher";
|
|
7
4
|
export * as file from "./file";
|
|
8
5
|
export * from "./form-data-utils";
|
|
6
|
+
export * from "./runtime";
|
|
9
7
|
export * as serialization from "./schemas";
|
|
8
|
+
export * from "./stream";
|
|
9
|
+
export * as url from "./url";
|
|
10
|
+
export * from "./websocket";
|
package/dist/core/index.js
CHANGED
|
@@ -36,13 +36,14 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
__exportStar(require("./fetcher"), exports);
|
|
41
|
-
__exportStar(require("./runtime"), exports);
|
|
42
|
-
exports.url = __importStar(require("./url"));
|
|
39
|
+
exports.url = exports.serialization = exports.file = void 0;
|
|
43
40
|
__exportStar(require("./auth"), exports);
|
|
44
41
|
__exportStar(require("./base64"), exports);
|
|
45
|
-
__exportStar(require("./
|
|
42
|
+
__exportStar(require("./fetcher"), exports);
|
|
46
43
|
exports.file = __importStar(require("./file"));
|
|
47
44
|
__exportStar(require("./form-data-utils"), exports);
|
|
45
|
+
__exportStar(require("./runtime"), exports);
|
|
48
46
|
exports.serialization = __importStar(require("./schemas"));
|
|
47
|
+
__exportStar(require("./stream"), exports);
|
|
48
|
+
exports.url = __importStar(require("./url"));
|
|
49
|
+
__exportStar(require("./websocket"), exports);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SchemaUtils } from "./builders";
|
|
1
|
+
import type { SchemaUtils } from "./builders/index";
|
|
2
2
|
export type Schema<Raw = unknown, Parsed = unknown> = BaseSchema<Raw, Parsed> & SchemaUtils<Raw, Parsed>;
|
|
3
3
|
export type inferRaw<S extends Schema> = S extends Schema<infer Raw, any> ? Raw : never;
|
|
4
4
|
export type inferParsed<S extends Schema> = S extends Schema<any, infer Parsed> ? Parsed : never;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Schema } from "../../Schema";
|
|
1
|
+
import { type Schema } from "../../Schema";
|
|
2
2
|
export declare function bigint(): Schema<bigint | number, bigint>;
|
|
@@ -4,7 +4,7 @@ exports.bigint = bigint;
|
|
|
4
4
|
const Schema_1 = require("../../Schema");
|
|
5
5
|
const getErrorMessageForIncorrectType_1 = require("../../utils/getErrorMessageForIncorrectType");
|
|
6
6
|
const maybeSkipValidation_1 = require("../../utils/maybeSkipValidation");
|
|
7
|
-
const
|
|
7
|
+
const index_1 = require("../schema-utils/index");
|
|
8
8
|
function bigint() {
|
|
9
9
|
const baseSchema = {
|
|
10
10
|
parse: (raw, { breadcrumbsPrefix = [] } = {}) => {
|
|
@@ -49,5 +49,5 @@ function bigint() {
|
|
|
49
49
|
},
|
|
50
50
|
getType: () => Schema_1.SchemaType.BIGINT,
|
|
51
51
|
};
|
|
52
|
-
return Object.assign(Object.assign({}, (0, maybeSkipValidation_1.maybeSkipValidation)(baseSchema)), (0,
|
|
52
|
+
return Object.assign(Object.assign({}, (0, maybeSkipValidation_1.maybeSkipValidation)(baseSchema)), (0, index_1.getSchemaUtils)(baseSchema));
|
|
53
53
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Schema } from "../../Schema";
|
|
1
|
+
import { type Schema } from "../../Schema";
|
|
2
2
|
export declare function date(): Schema<string, Date>;
|
|
@@ -4,7 +4,7 @@ exports.date = date;
|
|
|
4
4
|
const Schema_1 = require("../../Schema");
|
|
5
5
|
const getErrorMessageForIncorrectType_1 = require("../../utils/getErrorMessageForIncorrectType");
|
|
6
6
|
const maybeSkipValidation_1 = require("../../utils/maybeSkipValidation");
|
|
7
|
-
const
|
|
7
|
+
const index_1 = require("../schema-utils/index");
|
|
8
8
|
// https://stackoverflow.com/questions/12756159/regex-and-iso8601-formatted-datetime
|
|
9
9
|
const ISO_8601_REGEX = /^([+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([.,]\d+(?!:))?)?(\17[0-5]\d([.,]\d+)?)?([zZ]|([+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/;
|
|
10
10
|
function date() {
|
|
@@ -58,5 +58,5 @@ function date() {
|
|
|
58
58
|
},
|
|
59
59
|
getType: () => Schema_1.SchemaType.DATE,
|
|
60
60
|
};
|
|
61
|
-
return Object.assign(Object.assign({}, (0, maybeSkipValidation_1.maybeSkipValidation)(baseSchema)), (0,
|
|
61
|
+
return Object.assign(Object.assign({}, (0, maybeSkipValidation_1.maybeSkipValidation)(baseSchema)), (0, index_1.getSchemaUtils)(baseSchema));
|
|
62
62
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Schema } from "../../Schema";
|
|
1
|
+
import { type Schema } from "../../Schema";
|
|
2
2
|
export declare function enum_<U extends string, E extends U[]>(values: E): Schema<E[number], E[number]>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export * from "./bigint";
|
|
2
|
-
export * from "./date";
|
|
3
|
-
export * from "./enum";
|
|
4
|
-
export * from "./lazy";
|
|
5
|
-
export * from "./list";
|
|
6
|
-
export * from "./literals";
|
|
7
|
-
export * from "./object";
|
|
8
|
-
export * from "./object-like";
|
|
9
|
-
export * from "./primitives";
|
|
10
|
-
export * from "./record";
|
|
11
|
-
export * from "./schema-utils";
|
|
12
|
-
export * from "./set";
|
|
13
|
-
export * from "./undiscriminated-union";
|
|
14
|
-
export * from "./union";
|
|
1
|
+
export * from "./bigint/index";
|
|
2
|
+
export * from "./date/index";
|
|
3
|
+
export * from "./enum/index";
|
|
4
|
+
export * from "./lazy/index";
|
|
5
|
+
export * from "./list/index";
|
|
6
|
+
export * from "./literals/index";
|
|
7
|
+
export * from "./object/index";
|
|
8
|
+
export * from "./object-like/index";
|
|
9
|
+
export * from "./primitives/index";
|
|
10
|
+
export * from "./record/index";
|
|
11
|
+
export * from "./schema-utils/index";
|
|
12
|
+
export * from "./set/index";
|
|
13
|
+
export * from "./undiscriminated-union/index";
|
|
14
|
+
export * from "./union/index";
|
|
@@ -14,17 +14,17 @@ 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("./bigint"), exports);
|
|
18
|
-
__exportStar(require("./date"), exports);
|
|
19
|
-
__exportStar(require("./enum"), exports);
|
|
20
|
-
__exportStar(require("./lazy"), exports);
|
|
21
|
-
__exportStar(require("./list"), exports);
|
|
22
|
-
__exportStar(require("./literals"), exports);
|
|
23
|
-
__exportStar(require("./object"), exports);
|
|
24
|
-
__exportStar(require("./object-like"), exports);
|
|
25
|
-
__exportStar(require("./primitives"), exports);
|
|
26
|
-
__exportStar(require("./record"), exports);
|
|
27
|
-
__exportStar(require("./schema-utils"), exports);
|
|
28
|
-
__exportStar(require("./set"), exports);
|
|
29
|
-
__exportStar(require("./undiscriminated-union"), exports);
|
|
30
|
-
__exportStar(require("./union"), exports);
|
|
17
|
+
__exportStar(require("./bigint/index"), exports);
|
|
18
|
+
__exportStar(require("./date/index"), exports);
|
|
19
|
+
__exportStar(require("./enum/index"), exports);
|
|
20
|
+
__exportStar(require("./lazy/index"), exports);
|
|
21
|
+
__exportStar(require("./list/index"), exports);
|
|
22
|
+
__exportStar(require("./literals/index"), exports);
|
|
23
|
+
__exportStar(require("./object/index"), exports);
|
|
24
|
+
__exportStar(require("./object-like/index"), exports);
|
|
25
|
+
__exportStar(require("./primitives/index"), exports);
|
|
26
|
+
__exportStar(require("./record/index"), exports);
|
|
27
|
+
__exportStar(require("./schema-utils/index"), exports);
|
|
28
|
+
__exportStar(require("./set/index"), exports);
|
|
29
|
+
__exportStar(require("./undiscriminated-union/index"), exports);
|
|
30
|
+
__exportStar(require("./union/index"), exports);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseSchema, Schema } from "../../Schema";
|
|
1
|
+
import type { BaseSchema, Schema } from "../../Schema";
|
|
2
2
|
export type SchemaGetter<SchemaType extends Schema<any, any>> = () => SchemaType;
|
|
3
3
|
export declare function lazy<Raw, Parsed>(getter: SchemaGetter<Schema<Raw, Parsed>>): Schema<Raw, Parsed>;
|
|
4
4
|
export declare function constructLazyBaseSchema<Raw, Parsed>(getter: SchemaGetter<Schema<Raw, Parsed>>): BaseSchema<Raw, Parsed>;
|
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.lazy = lazy;
|
|
4
4
|
exports.constructLazyBaseSchema = constructLazyBaseSchema;
|
|
5
5
|
exports.getMemoizedSchema = getMemoizedSchema;
|
|
6
|
-
const
|
|
6
|
+
const index_1 = require("../schema-utils/index");
|
|
7
7
|
function lazy(getter) {
|
|
8
8
|
const baseSchema = constructLazyBaseSchema(getter);
|
|
9
|
-
return Object.assign(Object.assign({}, baseSchema), (0,
|
|
9
|
+
return Object.assign(Object.assign({}, baseSchema), (0, index_1.getSchemaUtils)(baseSchema));
|
|
10
10
|
}
|
|
11
11
|
function constructLazyBaseSchema(getter) {
|
|
12
12
|
return {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ObjectSchema } from "../object/types";
|
|
2
|
-
import { SchemaGetter } from "./lazy";
|
|
1
|
+
import type { ObjectSchema } from "../object/types";
|
|
2
|
+
import { type SchemaGetter } from "./lazy";
|
|
3
3
|
export declare function lazyObject<Raw, Parsed>(getter: SchemaGetter<ObjectSchema<Raw, Parsed>>): ObjectSchema<Raw, Parsed>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.lazyObject = lazyObject;
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
4
|
+
const index_1 = require("../object/index");
|
|
5
|
+
const index_2 = require("../object-like/index");
|
|
6
|
+
const index_3 = require("../schema-utils/index");
|
|
7
7
|
const lazy_1 = require("./lazy");
|
|
8
8
|
function lazyObject(getter) {
|
|
9
9
|
const baseSchema = Object.assign(Object.assign({}, (0, lazy_1.constructLazyBaseSchema)(getter)), { _getRawProperties: () => (0, lazy_1.getMemoizedSchema)(getter)._getRawProperties(), _getParsedProperties: () => (0, lazy_1.getMemoizedSchema)(getter)._getParsedProperties() });
|
|
10
|
-
return Object.assign(Object.assign(Object.assign(Object.assign({}, baseSchema), (0,
|
|
10
|
+
return Object.assign(Object.assign(Object.assign(Object.assign({}, baseSchema), (0, index_3.getSchemaUtils)(baseSchema)), (0, index_2.getObjectLikeUtils)(baseSchema)), (0, index_1.getObjectUtils)(baseSchema));
|
|
11
11
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Schema } from "../../Schema";
|
|
1
|
+
import { type Schema } from "../../Schema";
|
|
2
2
|
export declare function list<Raw, Parsed>(schema: Schema<Raw, Parsed>): Schema<Raw[], Parsed[]>;
|
|
@@ -4,7 +4,7 @@ exports.list = list;
|
|
|
4
4
|
const Schema_1 = require("../../Schema");
|
|
5
5
|
const getErrorMessageForIncorrectType_1 = require("../../utils/getErrorMessageForIncorrectType");
|
|
6
6
|
const maybeSkipValidation_1 = require("../../utils/maybeSkipValidation");
|
|
7
|
-
const
|
|
7
|
+
const index_1 = require("../schema-utils/index");
|
|
8
8
|
function list(schema) {
|
|
9
9
|
const baseSchema = {
|
|
10
10
|
parse: (raw, opts) => validateAndTransformArray(raw, (item, index) => {
|
|
@@ -17,7 +17,7 @@ function list(schema) {
|
|
|
17
17
|
}),
|
|
18
18
|
getType: () => Schema_1.SchemaType.LIST,
|
|
19
19
|
};
|
|
20
|
-
return Object.assign(Object.assign({}, (0, maybeSkipValidation_1.maybeSkipValidation)(baseSchema)), (0,
|
|
20
|
+
return Object.assign(Object.assign({}, (0, maybeSkipValidation_1.maybeSkipValidation)(baseSchema)), (0, index_1.getSchemaUtils)(baseSchema));
|
|
21
21
|
}
|
|
22
22
|
function validateAndTransformArray(value, transformItem) {
|
|
23
23
|
if (!Array.isArray(value)) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Schema } from "../../Schema";
|
|
1
|
+
import { type Schema } from "../../Schema";
|
|
2
2
|
export declare function booleanLiteral<V extends boolean>(literal: V): Schema<V, V>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Schema } from "../../Schema";
|
|
1
|
+
import { type Schema } from "../../Schema";
|
|
2
2
|
export declare function stringLiteral<V extends string>(literal: V): Schema<V, V>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { BaseObjectSchema, inferObjectSchemaFromPropertySchemas, ObjectUtils, PropertySchemas } from "./types";
|
|
1
|
+
import type { BaseObjectSchema, inferObjectSchemaFromPropertySchemas, ObjectUtils, PropertySchemas } from "./types";
|
|
2
2
|
export declare function object<ParsedKeys extends string, T extends PropertySchemas<ParsedKeys>>(schemas: T): inferObjectSchemaFromPropertySchemas<T>;
|
|
3
3
|
export declare function getObjectUtils<Raw, Parsed>(schema: BaseObjectSchema<Raw, Parsed>): ObjectUtils<Raw, Parsed>;
|
|
@@ -10,8 +10,8 @@ const isPlainObject_1 = require("../../utils/isPlainObject");
|
|
|
10
10
|
const keys_1 = require("../../utils/keys");
|
|
11
11
|
const maybeSkipValidation_1 = require("../../utils/maybeSkipValidation");
|
|
12
12
|
const partition_1 = require("../../utils/partition");
|
|
13
|
-
const
|
|
14
|
-
const
|
|
13
|
+
const index_1 = require("../object-like/index");
|
|
14
|
+
const index_2 = require("../schema-utils/index");
|
|
15
15
|
const property_1 = require("./property");
|
|
16
16
|
function object(schemas) {
|
|
17
17
|
const baseSchema = {
|
|
@@ -103,7 +103,7 @@ function object(schemas) {
|
|
|
103
103
|
},
|
|
104
104
|
getType: () => Schema_1.SchemaType.OBJECT,
|
|
105
105
|
};
|
|
106
|
-
return Object.assign(Object.assign(Object.assign(Object.assign({}, (0, maybeSkipValidation_1.maybeSkipValidation)(baseSchema)), (0,
|
|
106
|
+
return Object.assign(Object.assign(Object.assign(Object.assign({}, (0, maybeSkipValidation_1.maybeSkipValidation)(baseSchema)), (0, index_2.getSchemaUtils)(baseSchema)), (0, index_1.getObjectLikeUtils)(baseSchema)), getObjectUtils(baseSchema));
|
|
107
107
|
}
|
|
108
108
|
function validateAndTransformObject({ value, requiredKeys, getProperty, unrecognizedObjectKeys = "fail", skipValidation = false, breadcrumbsPrefix = [], }) {
|
|
109
109
|
if (!(0, isPlainObject_1.isPlainObject)(value)) {
|
|
@@ -192,7 +192,7 @@ function getObjectUtils(schema) {
|
|
|
192
192
|
},
|
|
193
193
|
getType: () => Schema_1.SchemaType.OBJECT,
|
|
194
194
|
};
|
|
195
|
-
return Object.assign(Object.assign(Object.assign(Object.assign({}, baseSchema), (0,
|
|
195
|
+
return Object.assign(Object.assign(Object.assign(Object.assign({}, baseSchema), (0, index_2.getSchemaUtils)(baseSchema)), (0, index_1.getObjectLikeUtils)(baseSchema)), getObjectUtils(baseSchema));
|
|
196
196
|
},
|
|
197
197
|
passthrough: () => {
|
|
198
198
|
const baseSchema = {
|
|
@@ -220,7 +220,7 @@ function getObjectUtils(schema) {
|
|
|
220
220
|
},
|
|
221
221
|
getType: () => Schema_1.SchemaType.OBJECT,
|
|
222
222
|
};
|
|
223
|
-
return Object.assign(Object.assign(Object.assign(Object.assign({}, baseSchema), (0,
|
|
223
|
+
return Object.assign(Object.assign(Object.assign(Object.assign({}, baseSchema), (0, index_2.getSchemaUtils)(baseSchema)), (0, index_1.getObjectLikeUtils)(baseSchema)), getObjectUtils(baseSchema));
|
|
224
224
|
},
|
|
225
225
|
};
|
|
226
226
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { inferParsedPropertySchema, inferRawObjectFromPropertySchemas, ObjectSchema, PropertySchemas } from "./types";
|
|
1
|
+
import type { inferParsedPropertySchema, inferRawObjectFromPropertySchemas, ObjectSchema, PropertySchemas } from "./types";
|
|
2
2
|
export declare function objectWithoutOptionalProperties<ParsedKeys extends string, T extends PropertySchemas<ParsedKeys>>(schemas: T): inferObjectWithoutOptionalPropertiesSchemaFromPropertySchemas<T>;
|
|
3
3
|
export type inferObjectWithoutOptionalPropertiesSchemaFromPropertySchemas<T extends PropertySchemas<keyof T>> = ObjectSchema<inferRawObjectFromPropertySchemas<T>, inferParsedObjectWithoutOptionalPropertiesFromPropertySchemas<T>>;
|
|
4
4
|
export type inferParsedObjectWithoutOptionalPropertiesFromPropertySchemas<T extends PropertySchemas<keyof T>> = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Schema } from "../../Schema";
|
|
1
|
+
import type { Schema } from "../../Schema";
|
|
2
2
|
export declare function property<RawKey extends string, RawValue, ParsedValue>(rawKey: RawKey, valueSchema: Schema<RawValue, ParsedValue>): Property<RawKey, RawValue, ParsedValue>;
|
|
3
3
|
export interface Property<RawKey extends string, RawValue, ParsedValue> {
|
|
4
4
|
rawKey: RawKey;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { BaseSchema, inferParsed, inferRaw, Schema } from "../../Schema";
|
|
2
|
-
import { addQuestionMarksToNullableProperties } from "../../utils/addQuestionMarksToNullableProperties";
|
|
3
|
-
import { ObjectLikeUtils } from "../object-like";
|
|
4
|
-
import { SchemaUtils } from "../schema-utils";
|
|
5
|
-
import { Property } from "./property";
|
|
1
|
+
import type { BaseSchema, inferParsed, inferRaw, Schema } from "../../Schema";
|
|
2
|
+
import type { addQuestionMarksToNullableProperties } from "../../utils/addQuestionMarksToNullableProperties";
|
|
3
|
+
import type { ObjectLikeUtils } from "../object-like/index";
|
|
4
|
+
import type { SchemaUtils } from "../schema-utils/index";
|
|
5
|
+
import type { Property } from "./property";
|
|
6
6
|
export type ObjectSchema<Raw, Parsed> = BaseObjectSchema<Raw, Parsed> & ObjectLikeUtils<Raw, Parsed> & ObjectUtils<Raw, Parsed> & SchemaUtils<Raw, Parsed>;
|
|
7
7
|
export interface BaseObjectSchema<Raw, Parsed> extends BaseSchema<Raw, Parsed> {
|
|
8
8
|
_getRawProperties: () => (keyof Raw)[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BaseSchema } from "../../Schema";
|
|
2
|
-
import { ObjectLikeSchema, ObjectLikeUtils } from "./types";
|
|
1
|
+
import type { BaseSchema } from "../../Schema";
|
|
2
|
+
import type { ObjectLikeSchema, ObjectLikeUtils } from "./types";
|
|
3
3
|
export declare function getObjectLikeUtils<Raw, Parsed>(schema: BaseSchema<Raw, Parsed>): ObjectLikeUtils<Raw, Parsed>;
|
|
4
4
|
/**
|
|
5
5
|
* object-like utils are defined in one file to resolve issues with circular imports
|
|
@@ -5,7 +5,7 @@ exports.withParsedProperties = withParsedProperties;
|
|
|
5
5
|
const filterObject_1 = require("../../utils/filterObject");
|
|
6
6
|
const getErrorMessageForIncorrectType_1 = require("../../utils/getErrorMessageForIncorrectType");
|
|
7
7
|
const isPlainObject_1 = require("../../utils/isPlainObject");
|
|
8
|
-
const
|
|
8
|
+
const index_1 = require("../schema-utils/index");
|
|
9
9
|
function getObjectLikeUtils(schema) {
|
|
10
10
|
return {
|
|
11
11
|
withParsedProperties: (properties) => withParsedProperties(schema, properties),
|
|
@@ -49,5 +49,5 @@ function withParsedProperties(objectLike, properties) {
|
|
|
49
49
|
},
|
|
50
50
|
getType: () => objectLike.getType(),
|
|
51
51
|
};
|
|
52
|
-
return Object.assign(Object.assign(Object.assign({}, objectSchema), (0,
|
|
52
|
+
return Object.assign(Object.assign(Object.assign({}, objectSchema), (0, index_1.getSchemaUtils)(objectSchema)), getObjectLikeUtils(objectSchema));
|
|
53
53
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseSchema, Schema } from "../../Schema";
|
|
1
|
+
import type { BaseSchema, Schema } from "../../Schema";
|
|
2
2
|
export type ObjectLikeSchema<Raw, Parsed> = Schema<Raw, Parsed> & BaseSchema<Raw, Parsed> & ObjectLikeUtils<Raw, Parsed>;
|
|
3
3
|
export interface ObjectLikeUtils<Raw, Parsed> {
|
|
4
4
|
withParsedProperties: <T extends Record<string, any>>(properties: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Schema } from "../../Schema";
|
|
1
|
+
import { type Schema } from "../../Schema";
|
|
2
2
|
export declare const any: () => Schema<any, any>;
|