mavenagi 1.2.8 → 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 +4 -2
- package/api/resources/knowledge/types/KnowledgeDocumentResponse.d.ts +28 -2
- package/api/resources/knowledge/types/KnowledgeDocumentSearchRequest.d.ts +1 -1
- package/api/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +13 -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 +4 -2
- package/dist/api/resources/knowledge/types/KnowledgeDocumentResponse.d.ts +28 -2
- package/dist/api/resources/knowledge/types/KnowledgeDocumentSearchRequest.d.ts +1 -1
- package/dist/api/resources/knowledge/types/KnowledgeDocumentSearchResponse.d.ts +13 -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 +4 -2
- package/dist/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.js +2 -0
- 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 +1207 -840
- 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 +4 -2
- package/serialization/resources/knowledge/types/KnowledgeDocumentSearchResponse.js +2 -0
- 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.Triggers = 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 Triggers {
|
|
54
54
|
constructor(_options) {
|
|
55
55
|
this._options = _options;
|
|
@@ -70,8 +70,8 @@ class Triggers {
|
|
|
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 Triggers {
|
|
|
84
84
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
85
85
|
requestType: "json",
|
|
86
86
|
body: serializers.EventTriggersSearchRequest.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) {
|
|
@@ -171,8 +171,8 @@ class Triggers {
|
|
|
171
171
|
}
|
|
172
172
|
__createOrUpdate(request, 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,
|
|
@@ -185,8 +185,8 @@ class Triggers {
|
|
|
185
185
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
186
186
|
requestType: "json",
|
|
187
187
|
body: serializers.EventTriggerRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
188
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
189
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
188
|
+
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,
|
|
189
|
+
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,
|
|
190
190
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
191
191
|
});
|
|
192
192
|
if (_response.ok) {
|
|
@@ -266,19 +266,19 @@ class Triggers {
|
|
|
266
266
|
}
|
|
267
267
|
__get(triggerReferenceId, requestOptions) {
|
|
268
268
|
return __awaiter(this, void 0, void 0, function* () {
|
|
269
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
270
|
-
|
|
269
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
270
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
271
271
|
Authorization: yield this._getAuthorizationHeader(),
|
|
272
272
|
"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,
|
|
273
273
|
"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,
|
|
274
274
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
275
275
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
276
|
-
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/triggers/${
|
|
276
|
+
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/triggers/${core.url.encodePathParam(triggerReferenceId)}`),
|
|
277
277
|
method: "GET",
|
|
278
278
|
headers: _headers,
|
|
279
279
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
280
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
281
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
280
|
+
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,
|
|
281
|
+
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,
|
|
282
282
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
283
283
|
});
|
|
284
284
|
if (_response.ok) {
|
|
@@ -358,19 +358,19 @@ class Triggers {
|
|
|
358
358
|
}
|
|
359
359
|
__delete(triggerReferenceId, requestOptions) {
|
|
360
360
|
return __awaiter(this, void 0, void 0, function* () {
|
|
361
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
362
|
-
|
|
361
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
362
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
363
363
|
Authorization: yield this._getAuthorizationHeader(),
|
|
364
364
|
"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,
|
|
365
365
|
"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,
|
|
366
366
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
367
367
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
368
|
-
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/triggers/${
|
|
368
|
+
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/triggers/${core.url.encodePathParam(triggerReferenceId)}`),
|
|
369
369
|
method: "DELETE",
|
|
370
370
|
headers: _headers,
|
|
371
371
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
372
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
373
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
372
|
+
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,
|
|
373
|
+
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,
|
|
374
374
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
375
375
|
});
|
|
376
376
|
if (_response.ok) {
|
|
@@ -445,27 +445,27 @@ class Triggers {
|
|
|
445
445
|
}
|
|
446
446
|
__partialUpdate(triggerReferenceId, request, requestOptions) {
|
|
447
447
|
return __awaiter(this, void 0, void 0, function* () {
|
|
448
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
448
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
449
449
|
const { appId, body: _body } = request;
|
|
450
450
|
const _queryParams = {};
|
|
451
451
|
if (appId != null) {
|
|
452
|
-
_queryParams
|
|
452
|
+
_queryParams.appId = appId;
|
|
453
453
|
}
|
|
454
|
-
|
|
454
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
455
455
|
Authorization: yield this._getAuthorizationHeader(),
|
|
456
456
|
"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,
|
|
457
457
|
"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,
|
|
458
458
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
459
459
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
460
|
-
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/triggers/${
|
|
460
|
+
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/triggers/${core.url.encodePathParam(triggerReferenceId)}`),
|
|
461
461
|
method: "PATCH",
|
|
462
462
|
headers: _headers,
|
|
463
463
|
contentType: "application/json",
|
|
464
464
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
465
465
|
requestType: "json",
|
|
466
466
|
body: serializers.TriggerPartialUpdate.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
|
|
467
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
468
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
467
|
+
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,
|
|
468
|
+
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,
|
|
469
469
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
470
470
|
});
|
|
471
471
|
if (_response.ok) {
|
|
@@ -530,8 +530,8 @@ class Triggers {
|
|
|
530
530
|
_getAuthorizationHeader() {
|
|
531
531
|
return __awaiter(this, void 0, void 0, function* () {
|
|
532
532
|
var _a, _b;
|
|
533
|
-
const appId = (_a = (yield core.Supplier.get(this._options.appId))) !== null && _a !== void 0 ? _a : process === null || process === void 0 ? void 0 : process.env
|
|
534
|
-
const appSecret = (_b = (yield core.Supplier.get(this._options.appSecret))) !== null && _b !== void 0 ? _b : process === null || process === void 0 ? void 0 : process.env
|
|
533
|
+
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;
|
|
534
|
+
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;
|
|
535
535
|
if (appId != null && appSecret != null) {
|
|
536
536
|
return core.BasicAuth.toAuthorizationHeader({
|
|
537
537
|
username: appId,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export type { PartialUpdateRequest } from "./PartialUpdateRequest";
|
|
@@ -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
|
export interface EventTriggersSearchRequest extends MavenAGI.BasePaginatedRequest {
|
|
3
3
|
/** The field to sort by, defaults to created timestamp */
|
|
4
4
|
sort?: MavenAGI.TriggerField;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export * from "./EventTriggerBase";
|
|
2
|
-
export * from "./EventTriggerResponse";
|
|
3
|
-
export * from "./EventTriggerType";
|
|
4
2
|
export * from "./EventTriggerRequest";
|
|
3
|
+
export * from "./EventTriggerResponse";
|
|
5
4
|
export * from "./EventTriggersSearchRequest";
|
|
6
5
|
export * from "./EventTriggersSearchResponse";
|
|
7
|
-
export * from "./
|
|
6
|
+
export * from "./EventTriggerType";
|
|
8
7
|
export * from "./TriggerField";
|
|
8
|
+
export * from "./TriggerPartialUpdate";
|
|
@@ -15,10 +15,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./EventTriggerBase"), exports);
|
|
18
|
-
__exportStar(require("./EventTriggerResponse"), exports);
|
|
19
|
-
__exportStar(require("./EventTriggerType"), exports);
|
|
20
18
|
__exportStar(require("./EventTriggerRequest"), exports);
|
|
19
|
+
__exportStar(require("./EventTriggerResponse"), exports);
|
|
21
20
|
__exportStar(require("./EventTriggersSearchRequest"), exports);
|
|
22
21
|
__exportStar(require("./EventTriggersSearchResponse"), exports);
|
|
23
|
-
__exportStar(require("./
|
|
22
|
+
__exportStar(require("./EventTriggerType"), exports);
|
|
24
23
|
__exportStar(require("./TriggerField"), exports);
|
|
24
|
+
__exportStar(require("./TriggerPartialUpdate"), 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 Users {
|
|
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 Users {
|
|
@@ -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.Users = 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 Users {
|
|
54
54
|
constructor(_options) {
|
|
55
55
|
this._options = _options;
|
|
@@ -74,8 +74,8 @@ class Users {
|
|
|
74
74
|
}
|
|
75
75
|
__search(request, requestOptions) {
|
|
76
76
|
return __awaiter(this, void 0, void 0, function* () {
|
|
77
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
78
|
-
|
|
77
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
78
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
79
79
|
Authorization: yield this._getAuthorizationHeader(),
|
|
80
80
|
"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,
|
|
81
81
|
"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,
|
|
@@ -88,8 +88,8 @@ class Users {
|
|
|
88
88
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
89
89
|
requestType: "json",
|
|
90
90
|
body: serializers.AgentUserSearchRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
91
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
92
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
91
|
+
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,
|
|
92
|
+
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,
|
|
93
93
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
94
94
|
});
|
|
95
95
|
if (_response.ok) {
|
|
@@ -171,19 +171,19 @@ class Users {
|
|
|
171
171
|
}
|
|
172
172
|
__getAgentUser(agentUserId, 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/agentusers/${
|
|
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/agentusers/${core.url.encodePathParam(agentUserId)}`),
|
|
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) {
|
|
@@ -277,8 +277,8 @@ class Users {
|
|
|
277
277
|
}
|
|
278
278
|
__createOrUpdate(request, requestOptions) {
|
|
279
279
|
return __awaiter(this, void 0, void 0, function* () {
|
|
280
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
281
|
-
|
|
280
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
281
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
282
282
|
Authorization: yield this._getAuthorizationHeader(),
|
|
283
283
|
"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,
|
|
284
284
|
"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,
|
|
@@ -291,8 +291,8 @@ class Users {
|
|
|
291
291
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
292
292
|
requestType: "json",
|
|
293
293
|
body: serializers.AppUserRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
294
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
295
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
294
|
+
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,
|
|
295
|
+
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,
|
|
296
296
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
297
297
|
});
|
|
298
298
|
if (_response.ok) {
|
|
@@ -373,24 +373,24 @@ class Users {
|
|
|
373
373
|
}
|
|
374
374
|
__get(userId_1) {
|
|
375
375
|
return __awaiter(this, arguments, void 0, function* (userId, request = {}, requestOptions) {
|
|
376
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
376
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
377
377
|
const { appId } = request;
|
|
378
378
|
const _queryParams = {};
|
|
379
379
|
if (appId != null) {
|
|
380
|
-
_queryParams
|
|
380
|
+
_queryParams.appId = appId;
|
|
381
381
|
}
|
|
382
|
-
|
|
382
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
383
383
|
Authorization: yield this._getAuthorizationHeader(),
|
|
384
384
|
"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,
|
|
385
385
|
"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,
|
|
386
386
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
387
387
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
388
|
-
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/users/${
|
|
388
|
+
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/users/${core.url.encodePathParam(userId)}`),
|
|
389
389
|
method: "GET",
|
|
390
390
|
headers: _headers,
|
|
391
391
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
392
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
393
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
392
|
+
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,
|
|
393
|
+
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,
|
|
394
394
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
395
395
|
});
|
|
396
396
|
if (_response.ok) {
|
|
@@ -476,24 +476,24 @@ class Users {
|
|
|
476
476
|
}
|
|
477
477
|
__delete(userId_1) {
|
|
478
478
|
return __awaiter(this, arguments, void 0, function* (userId, request = {}, requestOptions) {
|
|
479
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
479
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
480
480
|
const { appId } = request;
|
|
481
481
|
const _queryParams = {};
|
|
482
482
|
if (appId != null) {
|
|
483
|
-
_queryParams
|
|
483
|
+
_queryParams.appId = appId;
|
|
484
484
|
}
|
|
485
|
-
|
|
485
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
486
486
|
Authorization: yield this._getAuthorizationHeader(),
|
|
487
487
|
"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,
|
|
488
488
|
"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,
|
|
489
489
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
490
490
|
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
491
|
-
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/users/${
|
|
491
|
+
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/users/${core.url.encodePathParam(userId)}`),
|
|
492
492
|
method: "DELETE",
|
|
493
493
|
headers: _headers,
|
|
494
494
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
495
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
496
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
495
|
+
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,
|
|
496
|
+
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,
|
|
497
497
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
498
498
|
});
|
|
499
499
|
if (_response.ok) {
|
|
@@ -550,8 +550,8 @@ class Users {
|
|
|
550
550
|
_getAuthorizationHeader() {
|
|
551
551
|
return __awaiter(this, void 0, void 0, function* () {
|
|
552
552
|
var _a, _b;
|
|
553
|
-
const appId = (_a = (yield core.Supplier.get(this._options.appId))) !== null && _a !== void 0 ? _a : process === null || process === void 0 ? void 0 : process.env
|
|
554
|
-
const appSecret = (_b = (yield core.Supplier.get(this._options.appSecret))) !== null && _b !== void 0 ? _b : process === null || process === void 0 ? void 0 : process.env
|
|
553
|
+
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;
|
|
554
|
+
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;
|
|
555
555
|
if (appId != null && appSecret != null) {
|
|
556
556
|
return core.BasicAuth.toAuthorizationHeader({
|
|
557
557
|
username: appId,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
1
|
+
export type { UserDeleteRequest } from "./UserDeleteRequest";
|
|
2
|
+
export type { UserGetRequest } from "./UserGetRequest";
|
|
@@ -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);
|
|
@@ -14,9 +14,9 @@ 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("./AppUserSummary"), exports);
|
|
18
17
|
__exportStar(require("./AgentUser"), exports);
|
|
19
18
|
__exportStar(require("./AgentUserField"), exports);
|
|
20
19
|
__exportStar(require("./AgentUserFilter"), exports);
|
|
21
20
|
__exportStar(require("./AgentUserSearchRequest"), exports);
|
|
22
21
|
__exportStar(require("./AgentUserSearchResponse"), exports);
|
|
22
|
+
__exportStar(require("./AppUserSummary"), exports);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EndpointMetadata } from "./EndpointMetadata";
|
|
2
|
-
import { Supplier } from "./Supplier";
|
|
1
|
+
import type { EndpointMetadata } from "./EndpointMetadata";
|
|
2
|
+
import type { Supplier } from "./Supplier";
|
|
3
3
|
type EndpointSupplierFn<T> = (arg: {
|
|
4
4
|
endpointMetadata: EndpointMetadata;
|
|
5
5
|
}) => T | Promise<T>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { APIResponse } from "./APIResponse";
|
|
2
|
-
import { EndpointMetadata } from "./EndpointMetadata";
|
|
1
|
+
import type { APIResponse } from "./APIResponse";
|
|
2
|
+
import type { EndpointMetadata } from "./EndpointMetadata";
|
|
3
3
|
import { EndpointSupplier } from "./EndpointSupplier";
|
|
4
4
|
export type FetchFunction = <R = unknown>(args: Fetcher.Args) => Promise<APIResponse<R, Fetcher.Error>>;
|
|
5
5
|
export declare namespace Fetcher {
|
package/core/fetcher/Fetcher.js
CHANGED
|
@@ -47,6 +47,7 @@ function getHeaders(args) {
|
|
|
47
47
|
}
|
|
48
48
|
function fetcherImpl(args) {
|
|
49
49
|
return __awaiter(this, void 0, void 0, function* () {
|
|
50
|
+
var _a;
|
|
50
51
|
const url = (0, createRequestUrl_1.createRequestUrl)(args.url, args.queryParameters);
|
|
51
52
|
const requestBody = yield (0, getRequestBody_1.getRequestBody)({
|
|
52
53
|
body: args.body,
|
|
@@ -78,7 +79,7 @@ function fetcherImpl(args) {
|
|
|
78
79
|
}
|
|
79
80
|
}
|
|
80
81
|
catch (error) {
|
|
81
|
-
if (args.abortSignal
|
|
82
|
+
if ((_a = args.abortSignal) === null || _a === void 0 ? void 0 : _a.aborted) {
|
|
82
83
|
return {
|
|
83
84
|
ok: false,
|
|
84
85
|
error: {
|