mavenagi 1.2.9 → 1.2.10
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 +6 -30
- package/Client.js +25 -20
- 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/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 +1 -1
- 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/ActionResponse.d.ts +5 -5
- 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/EventBaseNoId.d.ts +1 -1
- package/api/resources/commons/types/EventField.d.ts +15 -0
- package/api/resources/commons/types/EventField.js +15 -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 +1 -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 +118 -112
- package/api/resources/commons/types/index.js +118 -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 +15 -12
- package/api/resources/index.js +16 -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 +3 -1
- 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 +3 -3
- package/api/resources/triggers/types/index.js +3 -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/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 +4 -4
- package/core/index.js +5 -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/dist/BaseClient.d.ts +36 -0
- package/dist/BaseClient.js +3 -0
- package/dist/Client.d.ts +6 -30
- package/dist/Client.js +25 -20
- 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/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 +1 -1
- 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/ActionResponse.d.ts +5 -5
- 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/EventBaseNoId.d.ts +1 -1
- package/dist/api/resources/commons/types/EventField.d.ts +15 -0
- package/dist/api/resources/commons/types/EventField.js +15 -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 +1 -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 +118 -112
- package/dist/api/resources/commons/types/index.js +118 -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 +15 -12
- package/dist/api/resources/index.js +16 -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 +3 -1
- 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 +3 -3
- package/dist/api/resources/triggers/types/index.js +3 -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/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 +4 -4
- package/dist/core/index.js +5 -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/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/commons/types/ActionBase.d.ts +2 -2
- package/dist/serialization/resources/commons/types/ActionBase.js +1 -1
- 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 +2 -2
- 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/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 +2 -2
- 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 +18 -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/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 +4 -4
- package/dist/serialization/resources/commons/types/UserEvent.js +2 -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 +118 -112
- package/dist/serialization/resources/commons/types/index.js +118 -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 +5 -3
- package/dist/serialization/resources/index.js +6 -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 +5 -3
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentRequest.js +3 -1
- 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 +2 -2
- 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/EventTriggerType.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 +3 -3
- package/dist/serialization/resources/triggers/types/index.js +3 -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/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 +9 -4
- package/pnpm-workspace.yaml +1 -1
- package/reference.md +1206 -839
- 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/commons/types/ActionBase.d.ts +2 -2
- package/serialization/resources/commons/types/ActionBase.js +1 -1
- 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 +2 -2
- package/serialization/resources/commons/types/ActionResponse.d.ts +3 -3
- package/serialization/resources/commons/types/ActionResponse.js +1 -1
- 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 +2 -2
- 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 +18 -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/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 +4 -4
- package/serialization/resources/commons/types/UserEvent.js +2 -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 +118 -112
- package/serialization/resources/commons/types/index.js +118 -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 +5 -3
- package/serialization/resources/index.js +6 -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 +5 -3
- package/serialization/resources/knowledge/types/KnowledgeDocumentRequest.js +3 -1
- 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 +2 -2
- 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/EventTriggerType.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 +3 -3
- package/serialization/resources/triggers/types/index.js +3 -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/version.d.ts +1 -1
- package/version.js +1 -1
- package/.prettierignore +0 -9
- /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/{agents → commons}/types/PiiCategory.d.ts +0 -0
- /package/dist/api/resources/{agents → commons}/types/PiiCategory.js +0 -0
- /package/dist/serialization/resources/{agents → commons}/types/PiiCategory.js +0 -0
- /package/serialization/resources/{agents → commons}/types/PiiCategory.js +0 -0
|
@@ -44,12 +44,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
44
44
|
};
|
|
45
45
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
46
|
exports.Actions = void 0;
|
|
47
|
-
const environments = __importStar(require("../../../../environments"));
|
|
48
47
|
const core = __importStar(require("../../../../core"));
|
|
49
|
-
const MavenAGI = __importStar(require("../../../index"));
|
|
50
48
|
const headers_1 = require("../../../../core/headers");
|
|
51
|
-
const
|
|
49
|
+
const environments = __importStar(require("../../../../environments"));
|
|
52
50
|
const errors = __importStar(require("../../../../errors/index"));
|
|
51
|
+
const serializers = __importStar(require("../../../../serialization/index"));
|
|
52
|
+
const MavenAGI = __importStar(require("../../../index"));
|
|
53
53
|
class Actions {
|
|
54
54
|
constructor(_options) {
|
|
55
55
|
this._options = _options;
|
|
@@ -70,8 +70,8 @@ class Actions {
|
|
|
70
70
|
}
|
|
71
71
|
__search(request, requestOptions) {
|
|
72
72
|
return __awaiter(this, void 0, void 0, function* () {
|
|
73
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
74
|
-
|
|
73
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
74
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
75
75
|
Authorization: yield this._getAuthorizationHeader(),
|
|
76
76
|
"X-Organization-Id": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.organizationId,
|
|
77
77
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
@@ -84,8 +84,8 @@ class Actions {
|
|
|
84
84
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
85
85
|
requestType: "json",
|
|
86
86
|
body: serializers.ActionsSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
87
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
88
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
87
|
+
timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
|
|
88
|
+
maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
|
|
89
89
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
90
90
|
});
|
|
91
91
|
if (_response.ok) {
|
|
@@ -170,11 +170,11 @@ class Actions {
|
|
|
170
170
|
* preconditionType: "group",
|
|
171
171
|
* operator: "AND",
|
|
172
172
|
* preconditions: [{
|
|
173
|
-
* preconditionType: "user",
|
|
174
|
-
* key: "userKey"
|
|
173
|
+
* "preconditionType": "user",
|
|
174
|
+
* "key": "userKey"
|
|
175
175
|
* }, {
|
|
176
|
-
* preconditionType: "user",
|
|
177
|
-
* key: "userKey2"
|
|
176
|
+
* "preconditionType": "user",
|
|
177
|
+
* "key": "userKey2"
|
|
178
178
|
* }]
|
|
179
179
|
* },
|
|
180
180
|
* language: "en"
|
|
@@ -185,8 +185,8 @@ class Actions {
|
|
|
185
185
|
}
|
|
186
186
|
__createOrUpdate(request, requestOptions) {
|
|
187
187
|
return __awaiter(this, void 0, void 0, function* () {
|
|
188
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
189
|
-
|
|
188
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
189
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
190
190
|
Authorization: yield this._getAuthorizationHeader(),
|
|
191
191
|
"X-Organization-Id": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.organizationId,
|
|
192
192
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
@@ -199,8 +199,8 @@ class Actions {
|
|
|
199
199
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
200
200
|
requestType: "json",
|
|
201
201
|
body: serializers.ActionRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
202
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
203
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
202
|
+
timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
|
|
203
|
+
maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
|
|
204
204
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
205
205
|
});
|
|
206
206
|
if (_response.ok) {
|
|
@@ -281,24 +281,24 @@ class Actions {
|
|
|
281
281
|
}
|
|
282
282
|
__get(actionReferenceId_1) {
|
|
283
283
|
return __awaiter(this, arguments, void 0, function* (actionReferenceId, request = {}, requestOptions) {
|
|
284
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
284
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
285
285
|
const { appId } = request;
|
|
286
286
|
const _queryParams = {};
|
|
287
287
|
if (appId != null) {
|
|
288
|
-
_queryParams
|
|
288
|
+
_queryParams.appId = appId;
|
|
289
289
|
}
|
|
290
|
-
|
|
290
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
291
291
|
Authorization: yield this._getAuthorizationHeader(),
|
|
292
292
|
"X-Organization-Id": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.organizationId,
|
|
293
293
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
294
294
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
295
295
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
296
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/actions/${
|
|
296
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/actions/${core.url.encodePathParam(actionReferenceId)}`),
|
|
297
297
|
method: "GET",
|
|
298
298
|
headers: _headers,
|
|
299
299
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
300
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
301
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
300
|
+
timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
|
|
301
|
+
maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
|
|
302
302
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
303
303
|
});
|
|
304
304
|
if (_response.ok) {
|
|
@@ -392,22 +392,22 @@ class Actions {
|
|
|
392
392
|
}
|
|
393
393
|
__patch(actionReferenceId_1) {
|
|
394
394
|
return __awaiter(this, arguments, void 0, function* (actionReferenceId, request = {}, requestOptions) {
|
|
395
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
396
|
-
|
|
395
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
396
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
397
397
|
Authorization: yield this._getAuthorizationHeader(),
|
|
398
398
|
"X-Organization-Id": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.organizationId,
|
|
399
399
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
400
400
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
401
401
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
402
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/actions/${
|
|
402
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/actions/${core.url.encodePathParam(actionReferenceId)}`),
|
|
403
403
|
method: "PATCH",
|
|
404
404
|
headers: _headers,
|
|
405
405
|
contentType: "application/merge-patch+json",
|
|
406
406
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
407
407
|
requestType: "json",
|
|
408
408
|
body: serializers.ActionPatchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
409
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
410
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
409
|
+
timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
|
|
410
|
+
maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
|
|
411
411
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
412
412
|
});
|
|
413
413
|
if (_response.ok) {
|
|
@@ -487,19 +487,19 @@ class Actions {
|
|
|
487
487
|
}
|
|
488
488
|
__delete(actionReferenceId, requestOptions) {
|
|
489
489
|
return __awaiter(this, void 0, void 0, function* () {
|
|
490
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
491
|
-
|
|
490
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
491
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
492
492
|
Authorization: yield this._getAuthorizationHeader(),
|
|
493
493
|
"X-Organization-Id": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.organizationId,
|
|
494
494
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
495
495
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
496
496
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
497
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/actions/${
|
|
497
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/actions/${core.url.encodePathParam(actionReferenceId)}`),
|
|
498
498
|
method: "DELETE",
|
|
499
499
|
headers: _headers,
|
|
500
500
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
501
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
502
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
501
|
+
timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
|
|
502
|
+
maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
|
|
503
503
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
504
504
|
});
|
|
505
505
|
if (_response.ok) {
|
|
@@ -556,8 +556,8 @@ class Actions {
|
|
|
556
556
|
_getAuthorizationHeader() {
|
|
557
557
|
return __awaiter(this, void 0, void 0, function* () {
|
|
558
558
|
var _a, _b;
|
|
559
|
-
const appId = (_a = (yield core.Supplier.get(this._options.appId))) !== null && _a !== void 0 ? _a : process === null || process === void 0 ? void 0 : process.env
|
|
560
|
-
const appSecret = (_b = (yield core.Supplier.get(this._options.appSecret))) !== null && _b !== void 0 ? _b : process === null || process === void 0 ? void 0 : process.env
|
|
559
|
+
const appId = (_a = (yield core.Supplier.get(this._options.appId))) !== null && _a !== void 0 ? _a : process === null || process === void 0 ? void 0 : process.env.MAVENAGI_APP_ID;
|
|
560
|
+
const appSecret = (_b = (yield core.Supplier.get(this._options.appSecret))) !== null && _b !== void 0 ? _b : process === null || process === void 0 ? void 0 : process.env.MAVENAGI_APP_SECRET;
|
|
561
561
|
if (appId != null && appSecret != null) {
|
|
562
562
|
return core.BasicAuth.toAuthorizationHeader({
|
|
563
563
|
username: appId,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
1
|
+
export type { ActionGetRequest } from "./ActionGetRequest";
|
|
2
|
+
export type { ActionPatchRequest } from "./ActionPatchRequest";
|
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./types"), exports);
|
|
18
17
|
__exportStar(require("./client"), exports);
|
|
18
|
+
__exportStar(require("./types"), exports);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as MavenAGI from "../../../index";
|
|
1
|
+
import type * as MavenAGI from "../../../index";
|
|
2
2
|
/**
|
|
3
3
|
* @example
|
|
4
4
|
* {
|
|
@@ -13,11 +13,11 @@ import * as MavenAGI from "../../../index";
|
|
|
13
13
|
* preconditionType: "group",
|
|
14
14
|
* operator: MavenAGI.PreconditionGroupOperator.And,
|
|
15
15
|
* preconditions: [{
|
|
16
|
-
* preconditionType: "user",
|
|
17
|
-
* key: "userKey"
|
|
16
|
+
* "preconditionType": "user",
|
|
17
|
+
* "key": "userKey"
|
|
18
18
|
* }, {
|
|
19
|
-
* preconditionType: "user",
|
|
20
|
-
* key: "userKey2"
|
|
19
|
+
* "preconditionType": "user",
|
|
20
|
+
* "key": "userKey2"
|
|
21
21
|
* }]
|
|
22
22
|
* },
|
|
23
23
|
* language: "en"
|
|
@@ -14,8 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./ActionRequest"), exports);
|
|
18
17
|
__exportStar(require("./ActionField"), exports);
|
|
19
18
|
__exportStar(require("./ActionFilter"), exports);
|
|
20
|
-
__exportStar(require("./
|
|
19
|
+
__exportStar(require("./ActionRequest"), exports);
|
|
21
20
|
__exportStar(require("./ActionsResponse"), exports);
|
|
21
|
+
__exportStar(require("./ActionsSearchRequest"), exports);
|
|
@@ -1,36 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient";
|
|
2
2
|
import * as core from "../../../../core";
|
|
3
3
|
import * as MavenAGI from "../../../index";
|
|
4
4
|
export declare namespace Agents {
|
|
5
|
-
interface Options {
|
|
6
|
-
environment?: core.Supplier<environments.MavenAGIEnvironment | string>;
|
|
7
|
-
/** Specify a custom URL to connect the client to. */
|
|
8
|
-
baseUrl?: core.Supplier<string>;
|
|
9
|
-
appId?: core.Supplier<string | undefined>;
|
|
10
|
-
appSecret?: core.Supplier<string | undefined>;
|
|
11
|
-
/** Override the X-Organization-Id header */
|
|
12
|
-
organizationId: core.Supplier<string>;
|
|
13
|
-
/** Override the X-Agent-Id header */
|
|
14
|
-
agentId: core.Supplier<string>;
|
|
15
|
-
/** Additional headers to include in requests. */
|
|
16
|
-
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
17
|
-
fetcher?: core.FetchFunction;
|
|
5
|
+
interface Options extends BaseClientOptions {
|
|
18
6
|
}
|
|
19
|
-
interface RequestOptions {
|
|
20
|
-
/** The maximum time to wait for a response in seconds. */
|
|
21
|
-
timeoutInSeconds?: number;
|
|
22
|
-
/** The number of times to retry the request. Defaults to 2. */
|
|
23
|
-
maxRetries?: number;
|
|
24
|
-
/** A hook to abort the request. */
|
|
25
|
-
abortSignal?: AbortSignal;
|
|
26
|
-
/** Override the X-Organization-Id header */
|
|
27
|
-
organizationId?: string;
|
|
28
|
-
/** Override the X-Agent-Id header */
|
|
29
|
-
agentId?: string;
|
|
30
|
-
/** Additional query string parameters to include in the request. */
|
|
31
|
-
queryParams?: Record<string, unknown>;
|
|
32
|
-
/** Additional headers to include in the request. */
|
|
33
|
-
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
34
8
|
}
|
|
35
9
|
}
|
|
36
10
|
export declare class Agents {
|
|
@@ -44,12 +44,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
44
44
|
};
|
|
45
45
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
46
|
exports.Agents = void 0;
|
|
47
|
-
const environments = __importStar(require("../../../../environments"));
|
|
48
47
|
const core = __importStar(require("../../../../core"));
|
|
49
|
-
const MavenAGI = __importStar(require("../../../index"));
|
|
50
48
|
const headers_1 = require("../../../../core/headers");
|
|
51
|
-
const
|
|
49
|
+
const environments = __importStar(require("../../../../environments"));
|
|
52
50
|
const errors = __importStar(require("../../../../errors/index"));
|
|
51
|
+
const serializers = __importStar(require("../../../../serialization/index"));
|
|
52
|
+
const MavenAGI = __importStar(require("../../../index"));
|
|
53
53
|
class Agents {
|
|
54
54
|
constructor(_options) {
|
|
55
55
|
this._options = _options;
|
|
@@ -76,8 +76,8 @@ class Agents {
|
|
|
76
76
|
}
|
|
77
77
|
__search(request, requestOptions) {
|
|
78
78
|
return __awaiter(this, void 0, void 0, function* () {
|
|
79
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
80
|
-
|
|
79
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
80
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
81
81
|
Authorization: yield this._getAuthorizationHeader(),
|
|
82
82
|
"X-Organization-Id": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.organizationId,
|
|
83
83
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
@@ -90,8 +90,8 @@ class Agents {
|
|
|
90
90
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
91
91
|
requestType: "json",
|
|
92
92
|
body: serializers.AgentsSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
93
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
94
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
93
|
+
timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
|
|
94
|
+
maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
|
|
95
95
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
96
96
|
});
|
|
97
97
|
if (_response.ok) {
|
|
@@ -171,19 +171,19 @@ class Agents {
|
|
|
171
171
|
}
|
|
172
172
|
__list(organizationReferenceId, requestOptions) {
|
|
173
173
|
return __awaiter(this, void 0, void 0, function* () {
|
|
174
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
175
|
-
|
|
174
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
175
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
176
176
|
Authorization: yield this._getAuthorizationHeader(),
|
|
177
177
|
"X-Organization-Id": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.organizationId,
|
|
178
178
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
179
179
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
180
180
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
181
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/organizations/${
|
|
181
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/organizations/${core.url.encodePathParam(organizationReferenceId)}/agents`),
|
|
182
182
|
method: "GET",
|
|
183
183
|
headers: _headers,
|
|
184
184
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
185
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
186
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
185
|
+
timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
|
|
186
|
+
maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
|
|
187
187
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
188
188
|
});
|
|
189
189
|
if (_response.ok) {
|
|
@@ -272,22 +272,22 @@ class Agents {
|
|
|
272
272
|
}
|
|
273
273
|
__create(organizationReferenceId, agentReferenceId, request, requestOptions) {
|
|
274
274
|
return __awaiter(this, void 0, void 0, function* () {
|
|
275
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
276
|
-
|
|
275
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
276
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
277
277
|
Authorization: yield this._getAuthorizationHeader(),
|
|
278
278
|
"X-Organization-Id": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.organizationId,
|
|
279
279
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
280
280
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
281
281
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
282
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/organizations/${
|
|
282
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/organizations/${core.url.encodePathParam(organizationReferenceId)}/agents/${core.url.encodePathParam(agentReferenceId)}`),
|
|
283
283
|
method: "POST",
|
|
284
284
|
headers: _headers,
|
|
285
285
|
contentType: "application/json",
|
|
286
286
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
287
287
|
requestType: "json",
|
|
288
288
|
body: serializers.CreateAgentRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
289
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
290
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
289
|
+
timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
|
|
290
|
+
maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
|
|
291
291
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
292
292
|
});
|
|
293
293
|
if (_response.ok) {
|
|
@@ -368,19 +368,19 @@ class Agents {
|
|
|
368
368
|
}
|
|
369
369
|
__get(organizationReferenceId, agentReferenceId, requestOptions) {
|
|
370
370
|
return __awaiter(this, void 0, void 0, function* () {
|
|
371
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
372
|
-
|
|
371
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
372
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
373
373
|
Authorization: yield this._getAuthorizationHeader(),
|
|
374
374
|
"X-Organization-Id": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.organizationId,
|
|
375
375
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
376
376
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
377
377
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
378
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/organizations/${
|
|
378
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/organizations/${core.url.encodePathParam(organizationReferenceId)}/agents/${core.url.encodePathParam(agentReferenceId)}`),
|
|
379
379
|
method: "GET",
|
|
380
380
|
headers: _headers,
|
|
381
381
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
382
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
383
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
382
|
+
timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
|
|
383
|
+
maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
|
|
384
384
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
385
385
|
});
|
|
386
386
|
if (_response.ok) {
|
|
@@ -467,22 +467,22 @@ class Agents {
|
|
|
467
467
|
}
|
|
468
468
|
__patch(organizationReferenceId_1, agentReferenceId_1) {
|
|
469
469
|
return __awaiter(this, arguments, void 0, function* (organizationReferenceId, agentReferenceId, request = {}, requestOptions) {
|
|
470
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
471
|
-
|
|
470
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
471
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
472
472
|
Authorization: yield this._getAuthorizationHeader(),
|
|
473
473
|
"X-Organization-Id": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.organizationId,
|
|
474
474
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
475
475
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
476
476
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
477
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/organizations/${
|
|
477
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/organizations/${core.url.encodePathParam(organizationReferenceId)}/agents/${core.url.encodePathParam(agentReferenceId)}`),
|
|
478
478
|
method: "PATCH",
|
|
479
479
|
headers: _headers,
|
|
480
480
|
contentType: "application/merge-patch+json",
|
|
481
481
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
482
482
|
requestType: "json",
|
|
483
483
|
body: serializers.AgentPatchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
484
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
485
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
484
|
+
timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
|
|
485
|
+
maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
|
|
486
486
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
487
487
|
});
|
|
488
488
|
if (_response.ok) {
|
|
@@ -567,19 +567,19 @@ class Agents {
|
|
|
567
567
|
}
|
|
568
568
|
__delete(organizationReferenceId, agentReferenceId, requestOptions) {
|
|
569
569
|
return __awaiter(this, void 0, void 0, function* () {
|
|
570
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
571
|
-
|
|
570
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
571
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
572
572
|
Authorization: yield this._getAuthorizationHeader(),
|
|
573
573
|
"X-Organization-Id": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.organizationId) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.organizationId,
|
|
574
574
|
"X-Agent-Id": (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.agentId) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.agentId,
|
|
575
575
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
576
576
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
577
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/organizations/${
|
|
577
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.MavenAGIEnvironment.Production, `/v1/organizations/${core.url.encodePathParam(organizationReferenceId)}/agents/${core.url.encodePathParam(agentReferenceId)}`),
|
|
578
578
|
method: "DELETE",
|
|
579
579
|
headers: _headers,
|
|
580
580
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
581
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
582
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
581
|
+
timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
|
|
582
|
+
maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
|
|
583
583
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
584
584
|
});
|
|
585
585
|
if (_response.ok) {
|
|
@@ -636,8 +636,8 @@ class Agents {
|
|
|
636
636
|
_getAuthorizationHeader() {
|
|
637
637
|
return __awaiter(this, void 0, void 0, function* () {
|
|
638
638
|
var _a, _b;
|
|
639
|
-
const appId = (_a = (yield core.Supplier.get(this._options.appId))) !== null && _a !== void 0 ? _a : process === null || process === void 0 ? void 0 : process.env
|
|
640
|
-
const appSecret = (_b = (yield core.Supplier.get(this._options.appSecret))) !== null && _b !== void 0 ? _b : process === null || process === void 0 ? void 0 : process.env
|
|
639
|
+
const appId = (_a = (yield core.Supplier.get(this._options.appId))) !== null && _a !== void 0 ? _a : process === null || process === void 0 ? void 0 : process.env.MAVENAGI_APP_ID;
|
|
640
|
+
const appSecret = (_b = (yield core.Supplier.get(this._options.appSecret))) !== null && _b !== void 0 ? _b : process === null || process === void 0 ? void 0 : process.env.MAVENAGI_APP_SECRET;
|
|
641
641
|
if (appId != null && appSecret != null) {
|
|
642
642
|
return core.BasicAuth.toAuthorizationHeader({
|
|
643
643
|
username: appId,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export type { AgentPatchRequest } from "./AgentPatchRequest";
|
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./types"), exports);
|
|
18
17
|
__exportStar(require("./client"), exports);
|
|
18
|
+
__exportStar(require("./types"), exports);
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
export * from "./PiiCategory";
|
|
2
|
-
export * from "./AgentEnvironment";
|
|
3
1
|
export * from "./Agent";
|
|
4
|
-
export * from "./
|
|
5
|
-
export * from "./AgentsSearchRequest";
|
|
2
|
+
export * from "./AgentEnvironment";
|
|
6
3
|
export * from "./AgentField";
|
|
7
4
|
export * from "./AgentFilter";
|
|
8
|
-
export * from "./AgentsSearchResponse";
|
|
9
5
|
export * from "./AgentPrompting";
|
|
6
|
+
export * from "./AgentsSearchRequest";
|
|
7
|
+
export * from "./AgentsSearchResponse";
|
|
8
|
+
export * from "./CreateAgentRequest";
|