@iblai/iblai-api 3.48.2-core → 3.48.3-ai-plus
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/dist/index.cjs.js +16420 -112
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +16412 -113
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +16420 -112
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +320 -1
- package/dist/types/models/AIGeneratedImage.d.ts +13 -0
- package/dist/types/models/AIUserProfileMemoryRelation.d.ts +4 -0
- package/dist/types/models/AIUserProfileRequest.d.ts +4 -0
- package/dist/types/models/APITokenCost.d.ts +14 -0
- package/dist/types/models/AccessEnum.d.ts +8 -0
- package/dist/types/models/AlignMentorBubbleEnum.d.ts +8 -0
- package/dist/types/models/AnalyticsOverview.d.ts +7 -0
- package/dist/types/models/Answer.d.ts +11 -0
- package/dist/types/models/AssumedKnowledge.d.ts +4 -0
- package/dist/types/models/AssumedKnowledgeLevel.d.ts +4 -0
- package/dist/types/models/AudioToTextRequest.d.ts +3 -0
- package/dist/types/models/AudioToTextResponse.d.ts +3 -0
- package/dist/types/models/Bot.d.ts +15 -0
- package/dist/types/models/BotCommand.d.ts +6 -0
- package/dist/types/models/BotCreate.d.ts +12 -0
- package/dist/types/models/CallAuthenticationRequest.d.ts +13 -0
- package/dist/types/models/CallAuthenticationResponse.d.ts +21 -0
- package/dist/types/models/ChatHistory.d.ts +8 -0
- package/dist/types/models/ChatHistoryFilterData.d.ts +9 -0
- package/dist/types/models/ChatHistoryFilterUser.d.ts +5 -0
- package/dist/types/models/ChatHistoryItem.d.ts +5 -0
- package/dist/types/models/ChatHistorySessionId.d.ts +3 -0
- package/dist/types/models/ChatSessionRequest.d.ts +10 -0
- package/dist/types/models/ChatSessionResponse.d.ts +5 -0
- package/dist/types/models/CheckDocumentTrainingStatus.d.ts +10 -0
- package/dist/types/models/ComponentBlock.d.ts +9 -0
- package/dist/types/models/ComponentBlockTypeEnum.d.ts +8 -0
- package/dist/types/models/ConversationMessage.d.ts +11 -0
- package/dist/types/models/ConversationRating.d.ts +6 -0
- package/dist/types/models/ConversationSummary.d.ts +5 -0
- package/dist/types/models/ConversationVolume.d.ts +4 -0
- package/dist/types/models/Conversations.d.ts +28 -0
- package/dist/types/models/Cost.d.ts +3 -0
- package/dist/types/models/CostPerTenant.d.ts +6 -0
- package/dist/types/models/CourseCreationTask.d.ts +31 -0
- package/dist/types/models/CourseCreationTaskFile.d.ts +7 -0
- package/dist/types/models/CourseCreationTaskStatusEnum.d.ts +16 -0
- package/dist/types/models/CredentialRequest.d.ts +14 -0
- package/dist/types/models/CrontabSchedule.d.ts +22 -0
- package/dist/types/models/CustomInstructionResponse.d.ts +13 -0
- package/dist/types/models/DataSet.d.ts +21 -0
- package/dist/types/models/DataSetCreate.d.ts +12 -0
- package/dist/types/models/DataSetStatusEnum.d.ts +12 -0
- package/dist/types/models/DateRange.d.ts +4 -0
- package/dist/types/models/DiscordConfig.d.ts +7 -0
- package/dist/types/models/DiscordUserConfig.d.ts +10 -0
- package/dist/types/models/DiscordWebhook.d.ts +6 -0
- package/dist/types/models/Document.d.ts +41 -0
- package/dist/types/models/DocumentFacet.d.ts +17 -0
- package/dist/types/models/DocumentSearchResponse.d.ts +35 -0
- package/dist/types/models/DocumentSettingsResponse.d.ts +3 -0
- package/dist/types/models/EdxCourse.d.ts +11 -0
- package/dist/types/models/ElevenlabsCustomVoice.d.ts +4 -0
- package/dist/types/models/ElevenlabsCustomVoiceResponse.d.ts +8 -0
- package/dist/types/models/EmailPromptDetail.d.ts +13 -0
- package/dist/types/models/EmailPromptList.d.ts +11 -0
- package/dist/types/models/EmailPromptSummary.d.ts +5 -0
- package/dist/types/models/FreeUsageCount.d.ts +3 -0
- package/dist/types/models/FullCourse.d.ts +13 -0
- package/dist/types/models/GreetingMethodEnum.d.ts +8 -0
- package/dist/types/models/GuidedPromptsResponse.d.ts +3 -0
- package/dist/types/models/HeygenMarketingVideoDetail.d.ts +8 -0
- package/dist/types/models/HeygenMarketingVideoList.d.ts +6 -0
- package/dist/types/models/HeygenTemplateRequest.d.ts +5 -0
- package/dist/types/models/HeygenTemplateResponseSingle.d.ts +6 -0
- package/dist/types/models/HeygenVideoDetail.d.ts +8 -0
- package/dist/types/models/HeygenVideoRequest.d.ts +5 -0
- package/dist/types/models/IBLAIPlatformMeta.d.ts +3 -0
- package/dist/types/models/IBLAIPlatformMetaRequest.d.ts +6 -0
- package/dist/types/models/IBLAIPlatformMetaUpdateRequest.d.ts +10 -0
- package/dist/types/models/InputQuestion.d.ts +6 -0
- package/dist/types/models/IntegrationCredential.d.ts +8 -0
- package/dist/types/models/IntialQuestionAnswer.d.ts +3 -0
- package/dist/types/models/JobRun.d.ts +11 -0
- package/dist/types/models/KindEnum.d.ts +10 -0
- package/dist/types/models/LLMCredentialRequest.d.ts +14 -0
- package/dist/types/models/LLMCredentialResponse.d.ts +8 -0
- package/dist/types/models/LLMModelForTenant.d.ts +6 -0
- package/dist/types/models/LLMQuestion.d.ts +15 -0
- package/dist/types/models/LLMResponse.d.ts +14 -0
- package/dist/types/models/LLMTracesListResponse.d.ts +5 -0
- package/dist/types/models/LanguagesView.d.ts +5 -0
- package/dist/types/models/LinkCourseRequest.d.ts +3 -0
- package/dist/types/models/LinkCourseResponse.d.ts +5 -0
- package/dist/types/models/MCPServer.d.ts +21 -0
- package/dist/types/models/MemoryComponentData.d.ts +5 -0
- package/dist/types/models/MemoryComponentMemory.d.ts +4 -0
- package/dist/types/models/MemoryComponentMemoryDetail.d.ts +8 -0
- package/dist/types/models/MemoryComponentResponse.d.ts +5 -0
- package/dist/types/models/MemoryProgress.d.ts +8 -0
- package/dist/types/models/MemoryStatusRequestView.d.ts +6 -0
- package/dist/types/models/MemoryStatusView.d.ts +6 -0
- package/dist/types/models/Mentor.d.ts +85 -0
- package/dist/types/models/MentorAudience.d.ts +5 -0
- package/dist/types/models/MentorCategory.d.ts +9 -0
- package/dist/types/models/MentorCategoryCreate.d.ts +11 -0
- package/dist/types/models/MentorCategoryGroup.d.ts +11 -0
- package/dist/types/models/MentorCategoryGroupCreate.d.ts +11 -0
- package/dist/types/models/MentorCreate.d.ts +84 -0
- package/dist/types/models/MentorCustomVoice.d.ts +4 -0
- package/dist/types/models/MentorCustomVoiceResponse.d.ts +4 -0
- package/dist/types/models/MentorData.d.ts +7 -0
- package/dist/types/models/MentorDetailAnalytics.d.ts +6 -0
- package/dist/types/models/MentorEval.d.ts +11 -0
- package/dist/types/models/MentorEvalQuestion.d.ts +5 -0
- package/dist/types/models/MentorEvalQuestionRequest.d.ts +4 -0
- package/dist/types/models/MentorEvalReport.d.ts +10 -0
- package/dist/types/models/MentorEvalRequest.d.ts +8 -0
- package/dist/types/models/MentorFacet.d.ts +17 -0
- package/dist/types/models/MentorFork.d.ts +5 -0
- package/dist/types/models/MentorFromTemplateRequest.d.ts +4 -0
- package/dist/types/models/MentorFromTemplateWithSettingRequest.d.ts +47 -0
- package/dist/types/models/MentorMemorySettingsRequest.d.ts +6 -0
- package/dist/types/models/MentorMemorySettingsResponse.d.ts +6 -0
- package/dist/types/models/MentorMetadata.d.ts +5 -0
- package/dist/types/models/MentorScenario.d.ts +6 -0
- package/dist/types/models/MentorScenarioPrompt.d.ts +5 -0
- package/dist/types/models/MentorSearchResponse.d.ts +35 -0
- package/dist/types/models/MentorSession.d.ts +4 -0
- package/dist/types/models/MentorSettings.d.ts +58 -0
- package/dist/types/models/MentorSettingsPublic.d.ts +46 -0
- package/dist/types/models/MentorSettingsRequest.d.ts +62 -0
- package/dist/types/models/MentorVisibilityEnum.d.ts +10 -0
- package/dist/types/models/MentorWizard.d.ts +4 -0
- package/dist/types/models/MessageStatistics.d.ts +5 -0
- package/dist/types/models/MessageView.d.ts +10 -0
- package/dist/types/models/MessageViewRequest.d.ts +7 -0
- package/dist/types/models/MessageViewUpdatResponse.d.ts +3 -0
- package/dist/types/models/Metadata.d.ts +5 -0
- package/dist/types/models/MetricChange.d.ts +4 -0
- package/dist/types/models/ModelCost.d.ts +4 -0
- package/dist/types/models/ModerationLog.d.ts +11 -0
- package/dist/types/models/NoChatMessagesFound.d.ts +3 -0
- package/dist/types/models/NotificationSource.d.ts +2 -2
- package/dist/types/models/{TypeEnum.d.ts → NotificationSourceTypeEnum.d.ts} +1 -1
- package/dist/types/models/NullEnum.d.ts +1 -0
- package/dist/types/models/PageContent.d.ts +6 -0
- package/dist/types/models/PaginatedAIGeneratedImageList.d.ts +7 -0
- package/dist/types/models/PaginatedConversationsList.d.ts +7 -0
- package/dist/types/models/PaginatedCourseCreationTaskFileList.d.ts +7 -0
- package/dist/types/models/PaginatedCourseCreationTaskList.d.ts +7 -0
- package/dist/types/models/PaginatedDataSetList.d.ts +7 -0
- package/dist/types/models/PaginatedEdxCourseList.d.ts +7 -0
- package/dist/types/models/PaginatedEmailPromptListList.d.ts +7 -0
- package/dist/types/models/PaginatedHeygenMarketingVideoListList.d.ts +7 -0
- package/dist/types/models/PaginatedHeygenTemplateResponseSingleList.d.ts +7 -0
- package/dist/types/models/PaginatedJobRunList.d.ts +7 -0
- package/dist/types/models/PaginatedMCPServerList.d.ts +7 -0
- package/dist/types/models/PaginatedMentorList.d.ts +7 -0
- package/dist/types/models/PaginatedModerationLogList.d.ts +7 -0
- package/dist/types/models/PaginatedPeriodicAgentList.d.ts +7 -0
- package/dist/types/models/PaginatedPeriodicAgentLogList.d.ts +7 -0
- package/dist/types/models/PaginatedPlayWrightScriptList.d.ts +7 -0
- package/dist/types/models/PaginatedSectionList.d.ts +7 -0
- package/dist/types/models/PaginatedSubSectionList.d.ts +7 -0
- package/dist/types/models/PaginatedTopicStatisticsResponse.d.ts +7 -0
- package/dist/types/models/PaginatedTrainingList.d.ts +7 -0
- package/dist/types/models/PaginatedUnitList.d.ts +7 -0
- package/dist/types/models/PaginatedUserEdxMemoryList.d.ts +7 -0
- package/dist/types/models/PaginatedVoiceList.d.ts +7 -0
- package/dist/types/models/PatchedBotCommand.d.ts +6 -0
- package/dist/types/models/PatchedBotCreate.d.ts +12 -0
- package/dist/types/models/PatchedConversations.d.ts +28 -0
- package/dist/types/models/PatchedCourseCreationTaskFile.d.ts +7 -0
- package/dist/types/models/PatchedCredentialRequest.d.ts +14 -0
- package/dist/types/models/PatchedDataSet.d.ts +21 -0
- package/dist/types/models/PatchedDiscordConfig.d.ts +7 -0
- package/dist/types/models/PatchedDiscordUserConfig.d.ts +10 -0
- package/dist/types/models/PatchedLLMCredentialRequest.d.ts +14 -0
- package/dist/types/models/PatchedMCPServer.d.ts +21 -0
- package/dist/types/models/PatchedMentorCategoryGroupCreate.d.ts +11 -0
- package/dist/types/models/PatchedMentorCreate.d.ts +84 -0
- package/dist/types/models/PatchedPeriodicAgentCreate.d.ts +41 -0
- package/dist/types/models/PatchedPlayWrightScript.d.ts +12 -0
- package/dist/types/models/PatchedPrompt.d.ts +22 -0
- package/dist/types/models/PatchedRbacGroupRole.d.ts +2 -2
- package/dist/types/models/PatchedRbacPolicy.d.ts +2 -2
- package/dist/types/models/PatchedRbacUserRole.d.ts +2 -2
- package/dist/types/models/PatchedSection.d.ts +9 -0
- package/dist/types/models/PatchedSlackConfig.d.ts +8 -0
- package/dist/types/models/PatchedSlackUserConfig.d.ts +17 -0
- package/dist/types/models/PatchedSubSection.d.ts +9 -0
- package/dist/types/models/PatchedTeamsConfig.d.ts +7 -0
- package/dist/types/models/PatchedTrainingCreate.d.ts +31 -0
- package/dist/types/models/PatchedUnit.d.ts +11 -0
- package/dist/types/models/PatchedWebexConfig.d.ts +10 -0
- package/dist/types/models/PatchedWhatsappConfig.d.ts +11 -0
- package/dist/types/models/PatchedWhatsappUserConfig.d.ts +10 -0
- package/dist/types/models/PeriodicAgent.d.ts +42 -0
- package/dist/types/models/PeriodicAgentCreate.d.ts +41 -0
- package/dist/types/models/PeriodicAgentLog.d.ts +11 -0
- package/dist/types/models/PeriodicAgentLogStatusEnum.d.ts +10 -0
- package/dist/types/models/PeriodicTask.d.ts +21 -0
- package/dist/types/models/PieChartData.d.ts +5 -0
- package/dist/types/models/PieChartSegment.d.ts +4 -0
- package/dist/types/models/PinnedMessageCreate.d.ts +9 -0
- package/dist/types/models/PinnedMessageGet.d.ts +7 -0
- package/dist/types/models/PinnedMessageRequest.d.ts +6 -0
- package/dist/types/models/PlayWrightScript.d.ts +12 -0
- package/dist/types/models/PredictiveAnalyticsRequest.d.ts +4 -0
- package/dist/types/models/PredictiveAnalyticsResponse.d.ts +4 -0
- package/dist/types/models/PreviousAgentStatusEnum.d.ts +12 -0
- package/dist/types/models/Prompt.d.ts +22 -0
- package/dist/types/models/PromptCategory.d.ts +7 -0
- package/dist/types/models/PromptFacet.d.ts +17 -0
- package/dist/types/models/PromptSearchResponse.d.ts +35 -0
- package/dist/types/models/PromptVisibilityEnum.d.ts +10 -0
- package/dist/types/models/Provider05cEnum.d.ts +14 -0
- package/dist/types/models/Provider63aEnum.d.ts +6 -0
- package/dist/types/models/QuestionCardTag.d.ts +8 -0
- package/dist/types/models/QuestionRequest.d.ts +15 -0
- package/dist/types/models/QuestionResponse.d.ts +10 -0
- package/dist/types/models/RatingEnum.d.ts +8 -0
- package/dist/types/models/RatingRecord.d.ts +4 -0
- package/dist/types/models/RbacBaseRole.d.ts +15 -0
- package/dist/types/models/RbacGroupRole.d.ts +2 -2
- package/dist/types/models/RbacPolicy.d.ts +2 -2
- package/dist/types/models/RbacUserRole.d.ts +2 -2
- package/dist/types/models/RecentlyAccessedMentor.d.ts +8 -0
- package/dist/types/models/RecommendCourseBlock.d.ts +3 -0
- package/dist/types/models/RecommendCourseResponse.d.ts +3 -0
- package/dist/types/models/RecommendedCoursesResponse.d.ts +33 -0
- package/dist/types/models/RelatedText.d.ts +3 -0
- package/dist/types/models/RequestDataVariable.d.ts +14 -0
- package/dist/types/models/ResourceScrappedData.d.ts +13 -0
- package/dist/types/models/ResourceScrappedDataStatusEnum.d.ts +12 -0
- package/dist/types/models/ResponseDataVariable.d.ts +14 -0
- package/dist/types/models/RetreiverTrainViewRequest.d.ts +10 -0
- package/dist/types/models/RetreiverTrainViewResponse.d.ts +6 -0
- package/dist/types/models/RetrieveTask.d.ts +3 -0
- package/dist/types/models/RetrieverDocumentEmbedding.d.ts +17 -0
- package/dist/types/models/RetrieverDocumentEmbeddingRequest.d.ts +30 -0
- package/dist/types/models/RetrieverRequestSearch.d.ts +10 -0
- package/dist/types/models/RetrieverRequestSearchDocument.d.ts +10 -0
- package/dist/types/models/RetrieverResponseSearch.d.ts +7 -0
- package/dist/types/models/ReuestDataVariableList.d.ts +4 -0
- package/dist/types/models/RunMentorEval.d.ts +3 -0
- package/dist/types/models/ScanWebhookRequest.d.ts +6 -0
- package/dist/types/models/ScanWebhookResponse.d.ts +3 -0
- package/dist/types/models/Section.d.ts +9 -0
- package/dist/types/models/SectionWithChildren.d.ts +11 -0
- package/dist/types/models/SeedMentorsView.d.ts +3 -0
- package/dist/types/models/SentimentSummary.d.ts +4 -0
- package/dist/types/models/SessionBrowserScreenshot.d.ts +8 -0
- package/dist/types/models/SessionDetail.d.ts +6 -0
- package/dist/types/models/SessionMemoryStorage.d.ts +6 -0
- package/dist/types/models/ShellLogs.d.ts +3 -0
- package/dist/types/models/SlackConfig.d.ts +8 -0
- package/dist/types/models/SlackUserConfig.d.ts +17 -0
- package/dist/types/models/SlackWebhook.d.ts +6 -0
- package/dist/types/models/SpacedRepetitionLearningPath.d.ts +3 -0
- package/dist/types/models/SpacedRepetitionQuestionStats.d.ts +5 -0
- package/dist/types/models/StarMentor.d.ts +7 -0
- package/dist/types/models/Status6eeEnum.d.ts +12 -0
- package/dist/types/models/Step.d.ts +9 -0
- package/dist/types/models/StepStatusEnum.d.ts +10 -0
- package/dist/types/models/StudentChatMessage.d.ts +4 -0
- package/dist/types/models/StylesView.d.ts +4 -0
- package/dist/types/models/SubSection.d.ts +9 -0
- package/dist/types/models/SubSectionWithChildren.d.ts +11 -0
- package/dist/types/models/TagsView.d.ts +5 -0
- package/dist/types/models/TargetSystemEnum.d.ts +8 -0
- package/dist/types/models/TaskView.d.ts +3 -0
- package/dist/types/models/TeamsConfig.d.ts +7 -0
- package/dist/types/models/TeamsWebhook.d.ts +17 -0
- package/dist/types/models/TemplateMentor.d.ts +9 -0
- package/dist/types/models/TenantMentorTraces.d.ts +6 -0
- package/dist/types/models/ThemeEnum.d.ts +8 -0
- package/dist/types/models/TonesView.d.ts +4 -0
- package/dist/types/models/ToolResponse.d.ts +11 -0
- package/dist/types/models/TopicModel.d.ts +3 -0
- package/dist/types/models/TopicRecord.d.ts +4 -0
- package/dist/types/models/TopicStatistics.d.ts +7 -0
- package/dist/types/models/TopicStatisticsResponse.d.ts +6 -0
- package/dist/types/models/TopicSummaryView.d.ts +4 -0
- package/dist/types/models/TrainChatSessionDocumentView.d.ts +6 -0
- package/dist/types/models/TrainChatSessionDocumentViewRequest.d.ts +6 -0
- package/dist/types/models/TrainDocumentViewRequest.d.ts +42 -0
- package/dist/types/models/TrainDocumentViewResponse.d.ts +15 -0
- package/dist/types/models/Training.d.ts +41 -0
- package/dist/types/models/TrainingCreate.d.ts +31 -0
- package/dist/types/models/TrainingStatusEnum.d.ts +12 -0
- package/dist/types/models/TransportEnum.d.ts +8 -0
- package/dist/types/models/TrendEntry.d.ts +4 -0
- package/dist/types/models/TriggerRequest.d.ts +5 -0
- package/dist/types/models/TriggerResponse.d.ts +6 -0
- package/dist/types/models/TypeC42Enum.d.ts +8 -0
- package/dist/types/models/Unit.d.ts +11 -0
- package/dist/types/models/UnitWithChildren.d.ts +13 -0
- package/dist/types/models/UseMainCreds.d.ts +3 -0
- package/dist/types/models/UserAllChatMemoryView.d.ts +7 -0
- package/dist/types/models/UserCatalogItemMemoryView.d.ts +14 -0
- package/dist/types/models/UserChatByPeriod.d.ts +4 -0
- package/dist/types/models/UserChatFeedback.d.ts +14 -0
- package/dist/types/models/UserChatFeedbackCount.d.ts +4 -0
- package/dist/types/models/UserChatMemoryStatusRequestView.d.ts +6 -0
- package/dist/types/models/UserChatMemoryStatusView.d.ts +6 -0
- package/dist/types/models/UserChatMemoryUpdateView.d.ts +10 -0
- package/dist/types/models/UserCountRecord.d.ts +4 -0
- package/dist/types/models/UserEdxMemory.d.ts +15 -0
- package/dist/types/models/UserMemoryContextRequest.d.ts +13 -0
- package/dist/types/models/UserMemoryContextResponse.d.ts +12 -0
- package/dist/types/models/UserMetric.d.ts +4 -0
- package/dist/types/models/UserMetricsResponse.d.ts +7 -0
- package/dist/types/models/UserSentimentCountView.d.ts +4 -0
- package/dist/types/models/UserTrendByPeriod.d.ts +5 -0
- package/dist/types/models/VectorResult.d.ts +8 -0
- package/dist/types/models/VideoCaption.d.ts +3 -0
- package/dist/types/models/Voice.d.ts +9 -0
- package/dist/types/models/VoiceProviderEnum.d.ts +10 -0
- package/dist/types/models/WebResource.d.ts +9 -0
- package/dist/types/models/WebResourceCard.d.ts +7 -0
- package/dist/types/models/WebResourcesQuery.d.ts +3 -0
- package/dist/types/models/WebexConfig.d.ts +10 -0
- package/dist/types/models/WebexWebhook.d.ts +4 -0
- package/dist/types/models/WhatAppWebHook.d.ts +3 -0
- package/dist/types/models/WhatsappConfig.d.ts +11 -0
- package/dist/types/models/WhatsappUserConfig.d.ts +10 -0
- package/dist/types/services/AiAccountService.d.ts +294 -0
- package/dist/types/services/AiAnalyticsService.d.ts +2801 -0
- package/dist/types/services/AiBotService.d.ts +486 -0
- package/dist/types/services/AiFinetuningService.d.ts +162 -0
- package/dist/types/services/AiIndexService.d.ts +400 -0
- package/dist/types/services/AiMarketingService.d.ts +34 -0
- package/dist/types/services/AiMediaService.d.ts +118 -0
- package/dist/types/services/AiMentorService.d.ts +4235 -0
- package/dist/types/services/AiPromptService.d.ts +920 -0
- package/dist/types/services/CoreService.d.ts +10 -5
- package/dist/types/services/SearchService.d.ts +408 -0
- package/package.json +1 -1
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +320 -1
- package/src/models/AIGeneratedImage.ts +18 -0
- package/src/models/AIUserProfileMemoryRelation.ts +9 -0
- package/src/models/AIUserProfileRequest.ts +9 -0
- package/src/models/APITokenCost.ts +19 -0
- package/src/models/AccessEnum.ts +12 -0
- package/src/models/AlignMentorBubbleEnum.ts +12 -0
- package/src/models/AnalyticsOverview.ts +12 -0
- package/src/models/Answer.ts +16 -0
- package/src/models/AssumedKnowledge.ts +9 -0
- package/src/models/AssumedKnowledgeLevel.ts +9 -0
- package/src/models/AudioToTextRequest.ts +8 -0
- package/src/models/AudioToTextResponse.ts +8 -0
- package/src/models/Bot.ts +20 -0
- package/src/models/BotCommand.ts +11 -0
- package/src/models/BotCreate.ts +17 -0
- package/src/models/CallAuthenticationRequest.ts +18 -0
- package/src/models/CallAuthenticationResponse.ts +26 -0
- package/src/models/ChatHistory.ts +13 -0
- package/src/models/ChatHistoryFilterData.ts +14 -0
- package/src/models/ChatHistoryFilterUser.ts +10 -0
- package/src/models/ChatHistoryItem.ts +10 -0
- package/src/models/ChatHistorySessionId.ts +8 -0
- package/src/models/ChatSessionRequest.ts +15 -0
- package/src/models/ChatSessionResponse.ts +10 -0
- package/src/models/CheckDocumentTrainingStatus.ts +15 -0
- package/src/models/ComponentBlock.ts +14 -0
- package/src/models/ComponentBlockTypeEnum.ts +12 -0
- package/src/models/ConversationMessage.ts +16 -0
- package/src/models/ConversationRating.ts +11 -0
- package/src/models/ConversationSummary.ts +10 -0
- package/src/models/ConversationVolume.ts +9 -0
- package/src/models/Conversations.ts +33 -0
- package/src/models/Cost.ts +8 -0
- package/src/models/CostPerTenant.ts +11 -0
- package/src/models/CourseCreationTask.ts +36 -0
- package/src/models/CourseCreationTaskFile.ts +12 -0
- package/src/models/CourseCreationTaskStatusEnum.ts +20 -0
- package/src/models/CredentialRequest.ts +19 -0
- package/src/models/CrontabSchedule.ts +27 -0
- package/src/models/CustomInstructionResponse.ts +18 -0
- package/src/models/DataSet.ts +26 -0
- package/src/models/DataSetCreate.ts +17 -0
- package/src/models/DataSetStatusEnum.ts +16 -0
- package/src/models/DateRange.ts +9 -0
- package/src/models/DiscordConfig.ts +12 -0
- package/src/models/DiscordUserConfig.ts +15 -0
- package/src/models/DiscordWebhook.ts +11 -0
- package/src/models/Document.ts +46 -0
- package/src/models/DocumentFacet.ts +22 -0
- package/src/models/DocumentSearchResponse.ts +40 -0
- package/src/models/DocumentSettingsResponse.ts +8 -0
- package/src/models/EdxCourse.ts +16 -0
- package/src/models/ElevenlabsCustomVoice.ts +9 -0
- package/src/models/ElevenlabsCustomVoiceResponse.ts +13 -0
- package/src/models/EmailPromptDetail.ts +18 -0
- package/src/models/EmailPromptList.ts +16 -0
- package/src/models/EmailPromptSummary.ts +10 -0
- package/src/models/FreeUsageCount.ts +8 -0
- package/src/models/FullCourse.ts +18 -0
- package/src/models/GreetingMethodEnum.ts +12 -0
- package/src/models/GuidedPromptsResponse.ts +8 -0
- package/src/models/HeygenMarketingVideoDetail.ts +13 -0
- package/src/models/HeygenMarketingVideoList.ts +11 -0
- package/src/models/HeygenTemplateRequest.ts +10 -0
- package/src/models/HeygenTemplateResponseSingle.ts +11 -0
- package/src/models/HeygenVideoDetail.ts +13 -0
- package/src/models/HeygenVideoRequest.ts +10 -0
- package/src/models/IBLAIPlatformMeta.ts +8 -0
- package/src/models/IBLAIPlatformMetaRequest.ts +11 -0
- package/src/models/IBLAIPlatformMetaUpdateRequest.ts +15 -0
- package/src/models/InputQuestion.ts +11 -0
- package/src/models/IntegrationCredential.ts +13 -0
- package/src/models/IntialQuestionAnswer.ts +8 -0
- package/src/models/JobRun.ts +16 -0
- package/src/models/KindEnum.ts +14 -0
- package/src/models/LLMCredentialRequest.ts +19 -0
- package/src/models/LLMCredentialResponse.ts +13 -0
- package/src/models/LLMModelForTenant.ts +11 -0
- package/src/models/LLMQuestion.ts +20 -0
- package/src/models/LLMResponse.ts +19 -0
- package/src/models/LLMTracesListResponse.ts +10 -0
- package/src/models/LanguagesView.ts +10 -0
- package/src/models/LinkCourseRequest.ts +8 -0
- package/src/models/LinkCourseResponse.ts +10 -0
- package/src/models/MCPServer.ts +26 -0
- package/src/models/MemoryComponentData.ts +10 -0
- package/src/models/MemoryComponentMemory.ts +9 -0
- package/src/models/MemoryComponentMemoryDetail.ts +13 -0
- package/src/models/MemoryComponentResponse.ts +10 -0
- package/src/models/MemoryProgress.ts +13 -0
- package/src/models/MemoryStatusRequestView.ts +11 -0
- package/src/models/MemoryStatusView.ts +11 -0
- package/src/models/Mentor.ts +90 -0
- package/src/models/MentorAudience.ts +10 -0
- package/src/models/MentorCategory.ts +14 -0
- package/src/models/MentorCategoryCreate.ts +16 -0
- package/src/models/MentorCategoryGroup.ts +16 -0
- package/src/models/MentorCategoryGroupCreate.ts +16 -0
- package/src/models/MentorCreate.ts +89 -0
- package/src/models/MentorCustomVoice.ts +9 -0
- package/src/models/MentorCustomVoiceResponse.ts +9 -0
- package/src/models/MentorData.ts +12 -0
- package/src/models/MentorDetailAnalytics.ts +11 -0
- package/src/models/MentorEval.ts +16 -0
- package/src/models/MentorEvalQuestion.ts +10 -0
- package/src/models/MentorEvalQuestionRequest.ts +9 -0
- package/src/models/MentorEvalReport.ts +15 -0
- package/src/models/MentorEvalRequest.ts +13 -0
- package/src/models/MentorFacet.ts +22 -0
- package/src/models/MentorFork.ts +10 -0
- package/src/models/MentorFromTemplateRequest.ts +9 -0
- package/src/models/MentorFromTemplateWithSettingRequest.ts +52 -0
- package/src/models/MentorMemorySettingsRequest.ts +11 -0
- package/src/models/MentorMemorySettingsResponse.ts +11 -0
- package/src/models/MentorMetadata.ts +10 -0
- package/src/models/MentorScenario.ts +11 -0
- package/src/models/MentorScenarioPrompt.ts +10 -0
- package/src/models/MentorSearchResponse.ts +40 -0
- package/src/models/MentorSession.ts +9 -0
- package/src/models/MentorSettings.ts +63 -0
- package/src/models/MentorSettingsPublic.ts +51 -0
- package/src/models/MentorSettingsRequest.ts +67 -0
- package/src/models/MentorVisibilityEnum.ts +14 -0
- package/src/models/MentorWizard.ts +9 -0
- package/src/models/MessageStatistics.ts +10 -0
- package/src/models/MessageView.ts +15 -0
- package/src/models/MessageViewRequest.ts +12 -0
- package/src/models/MessageViewUpdatResponse.ts +8 -0
- package/src/models/Metadata.ts +10 -0
- package/src/models/MetricChange.ts +9 -0
- package/src/models/ModelCost.ts +9 -0
- package/src/models/ModerationLog.ts +16 -0
- package/src/models/NoChatMessagesFound.ts +8 -0
- package/src/models/NotificationSource.ts +2 -2
- package/src/models/{TypeEnum.ts → NotificationSourceTypeEnum.ts} +1 -1
- package/src/models/NullEnum.ts +7 -0
- package/src/models/PageContent.ts +11 -0
- package/src/models/PaginatedAIGeneratedImageList.ts +12 -0
- package/src/models/PaginatedConversationsList.ts +12 -0
- package/src/models/PaginatedCourseCreationTaskFileList.ts +12 -0
- package/src/models/PaginatedCourseCreationTaskList.ts +12 -0
- package/src/models/PaginatedDataSetList.ts +12 -0
- package/src/models/PaginatedEdxCourseList.ts +12 -0
- package/src/models/PaginatedEmailPromptListList.ts +12 -0
- package/src/models/PaginatedHeygenMarketingVideoListList.ts +12 -0
- package/src/models/PaginatedHeygenTemplateResponseSingleList.ts +12 -0
- package/src/models/PaginatedJobRunList.ts +12 -0
- package/src/models/PaginatedMCPServerList.ts +12 -0
- package/src/models/PaginatedMentorList.ts +12 -0
- package/src/models/PaginatedModerationLogList.ts +12 -0
- package/src/models/PaginatedPeriodicAgentList.ts +12 -0
- package/src/models/PaginatedPeriodicAgentLogList.ts +12 -0
- package/src/models/PaginatedPlayWrightScriptList.ts +12 -0
- package/src/models/PaginatedSectionList.ts +12 -0
- package/src/models/PaginatedSubSectionList.ts +12 -0
- package/src/models/PaginatedTopicStatisticsResponse.ts +12 -0
- package/src/models/PaginatedTrainingList.ts +12 -0
- package/src/models/PaginatedUnitList.ts +12 -0
- package/src/models/PaginatedUserEdxMemoryList.ts +12 -0
- package/src/models/PaginatedVoiceList.ts +12 -0
- package/src/models/PatchedBotCommand.ts +11 -0
- package/src/models/PatchedBotCreate.ts +17 -0
- package/src/models/PatchedConversations.ts +33 -0
- package/src/models/PatchedCourseCreationTaskFile.ts +12 -0
- package/src/models/PatchedCredentialRequest.ts +19 -0
- package/src/models/PatchedDataSet.ts +26 -0
- package/src/models/PatchedDiscordConfig.ts +12 -0
- package/src/models/PatchedDiscordUserConfig.ts +15 -0
- package/src/models/PatchedLLMCredentialRequest.ts +19 -0
- package/src/models/PatchedMCPServer.ts +26 -0
- package/src/models/PatchedMentorCategoryGroupCreate.ts +16 -0
- package/src/models/PatchedMentorCreate.ts +89 -0
- package/src/models/PatchedPeriodicAgentCreate.ts +46 -0
- package/src/models/PatchedPlayWrightScript.ts +17 -0
- package/src/models/PatchedPrompt.ts +27 -0
- package/src/models/PatchedRbacGroupRole.ts +2 -2
- package/src/models/PatchedRbacPolicy.ts +2 -2
- package/src/models/PatchedRbacUserRole.ts +2 -2
- package/src/models/PatchedSection.ts +14 -0
- package/src/models/PatchedSlackConfig.ts +13 -0
- package/src/models/PatchedSlackUserConfig.ts +22 -0
- package/src/models/PatchedSubSection.ts +14 -0
- package/src/models/PatchedTeamsConfig.ts +12 -0
- package/src/models/PatchedTrainingCreate.ts +36 -0
- package/src/models/PatchedUnit.ts +16 -0
- package/src/models/PatchedWebexConfig.ts +15 -0
- package/src/models/PatchedWhatsappConfig.ts +16 -0
- package/src/models/PatchedWhatsappUserConfig.ts +15 -0
- package/src/models/PeriodicAgent.ts +47 -0
- package/src/models/PeriodicAgentCreate.ts +46 -0
- package/src/models/PeriodicAgentLog.ts +16 -0
- package/src/models/PeriodicAgentLogStatusEnum.ts +14 -0
- package/src/models/PeriodicTask.ts +26 -0
- package/src/models/PieChartData.ts +10 -0
- package/src/models/PieChartSegment.ts +9 -0
- package/src/models/PinnedMessageCreate.ts +14 -0
- package/src/models/PinnedMessageGet.ts +12 -0
- package/src/models/PinnedMessageRequest.ts +11 -0
- package/src/models/PlayWrightScript.ts +17 -0
- package/src/models/PredictiveAnalyticsRequest.ts +9 -0
- package/src/models/PredictiveAnalyticsResponse.ts +9 -0
- package/src/models/PreviousAgentStatusEnum.ts +16 -0
- package/src/models/Prompt.ts +27 -0
- package/src/models/PromptCategory.ts +12 -0
- package/src/models/PromptFacet.ts +22 -0
- package/src/models/PromptSearchResponse.ts +40 -0
- package/src/models/PromptVisibilityEnum.ts +14 -0
- package/src/models/Provider05cEnum.ts +18 -0
- package/src/models/Provider63aEnum.ts +10 -0
- package/src/models/QuestionCardTag.ts +13 -0
- package/src/models/QuestionRequest.ts +20 -0
- package/src/models/QuestionResponse.ts +15 -0
- package/src/models/RatingEnum.ts +12 -0
- package/src/models/RatingRecord.ts +9 -0
- package/src/models/RbacBaseRole.ts +20 -0
- package/src/models/RbacGroupRole.ts +2 -2
- package/src/models/RbacPolicy.ts +2 -2
- package/src/models/RbacUserRole.ts +2 -2
- package/src/models/RecentlyAccessedMentor.ts +13 -0
- package/src/models/RecommendCourseBlock.ts +8 -0
- package/src/models/RecommendCourseResponse.ts +8 -0
- package/src/models/RecommendedCoursesResponse.ts +38 -0
- package/src/models/RelatedText.ts +8 -0
- package/src/models/RequestDataVariable.ts +19 -0
- package/src/models/ResourceScrappedData.ts +18 -0
- package/src/models/ResourceScrappedDataStatusEnum.ts +16 -0
- package/src/models/ResponseDataVariable.ts +19 -0
- package/src/models/RetreiverTrainViewRequest.ts +15 -0
- package/src/models/RetreiverTrainViewResponse.ts +11 -0
- package/src/models/RetrieveTask.ts +8 -0
- package/src/models/RetrieverDocumentEmbedding.ts +22 -0
- package/src/models/RetrieverDocumentEmbeddingRequest.ts +35 -0
- package/src/models/RetrieverRequestSearch.ts +15 -0
- package/src/models/RetrieverRequestSearchDocument.ts +15 -0
- package/src/models/RetrieverResponseSearch.ts +12 -0
- package/src/models/ReuestDataVariableList.ts +9 -0
- package/src/models/RunMentorEval.ts +8 -0
- package/src/models/ScanWebhookRequest.ts +11 -0
- package/src/models/ScanWebhookResponse.ts +8 -0
- package/src/models/Section.ts +14 -0
- package/src/models/SectionWithChildren.ts +16 -0
- package/src/models/SeedMentorsView.ts +8 -0
- package/src/models/SentimentSummary.ts +9 -0
- package/src/models/SessionBrowserScreenshot.ts +13 -0
- package/src/models/SessionDetail.ts +11 -0
- package/src/models/SessionMemoryStorage.ts +11 -0
- package/src/models/ShellLogs.ts +8 -0
- package/src/models/SlackConfig.ts +13 -0
- package/src/models/SlackUserConfig.ts +22 -0
- package/src/models/SlackWebhook.ts +11 -0
- package/src/models/SpacedRepetitionLearningPath.ts +8 -0
- package/src/models/SpacedRepetitionQuestionStats.ts +10 -0
- package/src/models/StarMentor.ts +12 -0
- package/src/models/Status6eeEnum.ts +16 -0
- package/src/models/Step.ts +14 -0
- package/src/models/StepStatusEnum.ts +14 -0
- package/src/models/StudentChatMessage.ts +9 -0
- package/src/models/StylesView.ts +9 -0
- package/src/models/SubSection.ts +14 -0
- package/src/models/SubSectionWithChildren.ts +16 -0
- package/src/models/TagsView.ts +10 -0
- package/src/models/TargetSystemEnum.ts +12 -0
- package/src/models/TaskView.ts +8 -0
- package/src/models/TeamsConfig.ts +12 -0
- package/src/models/TeamsWebhook.ts +22 -0
- package/src/models/TemplateMentor.ts +14 -0
- package/src/models/TenantMentorTraces.ts +11 -0
- package/src/models/ThemeEnum.ts +12 -0
- package/src/models/TonesView.ts +9 -0
- package/src/models/ToolResponse.ts +16 -0
- package/src/models/TopicModel.ts +8 -0
- package/src/models/TopicRecord.ts +9 -0
- package/src/models/TopicStatistics.ts +12 -0
- package/src/models/TopicStatisticsResponse.ts +11 -0
- package/src/models/TopicSummaryView.ts +9 -0
- package/src/models/TrainChatSessionDocumentView.ts +11 -0
- package/src/models/TrainChatSessionDocumentViewRequest.ts +11 -0
- package/src/models/TrainDocumentViewRequest.ts +47 -0
- package/src/models/TrainDocumentViewResponse.ts +20 -0
- package/src/models/Training.ts +46 -0
- package/src/models/TrainingCreate.ts +36 -0
- package/src/models/TrainingStatusEnum.ts +16 -0
- package/src/models/TransportEnum.ts +12 -0
- package/src/models/TrendEntry.ts +9 -0
- package/src/models/TriggerRequest.ts +10 -0
- package/src/models/TriggerResponse.ts +11 -0
- package/src/models/TypeC42Enum.ts +12 -0
- package/src/models/Unit.ts +16 -0
- package/src/models/UnitWithChildren.ts +18 -0
- package/src/models/UseMainCreds.ts +8 -0
- package/src/models/UserAllChatMemoryView.ts +12 -0
- package/src/models/UserCatalogItemMemoryView.ts +19 -0
- package/src/models/UserChatByPeriod.ts +9 -0
- package/src/models/UserChatFeedback.ts +19 -0
- package/src/models/UserChatFeedbackCount.ts +9 -0
- package/src/models/UserChatMemoryStatusRequestView.ts +11 -0
- package/src/models/UserChatMemoryStatusView.ts +11 -0
- package/src/models/UserChatMemoryUpdateView.ts +15 -0
- package/src/models/UserCountRecord.ts +9 -0
- package/src/models/UserEdxMemory.ts +20 -0
- package/src/models/UserMemoryContextRequest.ts +18 -0
- package/src/models/UserMemoryContextResponse.ts +17 -0
- package/src/models/UserMetric.ts +9 -0
- package/src/models/UserMetricsResponse.ts +12 -0
- package/src/models/UserSentimentCountView.ts +9 -0
- package/src/models/UserTrendByPeriod.ts +10 -0
- package/src/models/VectorResult.ts +13 -0
- package/src/models/VideoCaption.ts +8 -0
- package/src/models/Voice.ts +14 -0
- package/src/models/VoiceProviderEnum.ts +14 -0
- package/src/models/WebResource.ts +14 -0
- package/src/models/WebResourceCard.ts +12 -0
- package/src/models/WebResourcesQuery.ts +8 -0
- package/src/models/WebexConfig.ts +15 -0
- package/src/models/WebexWebhook.ts +9 -0
- package/src/models/WhatAppWebHook.ts +8 -0
- package/src/models/WhatsappConfig.ts +16 -0
- package/src/models/WhatsappUserConfig.ts +15 -0
- package/src/services/AiAccountService.ts +479 -0
- package/src/services/AiAnalyticsService.ts +5198 -0
- package/src/services/AiBotService.ts +1174 -0
- package/src/services/AiFinetuningService.ts +402 -0
- package/src/services/AiIndexService.ts +693 -0
- package/src/services/AiMarketingService.ts +87 -0
- package/src/services/AiMediaService.ts +273 -0
- package/src/services/AiMentorService.ts +7977 -0
- package/src/services/AiPromptService.ts +1771 -0
- package/src/services/CoreService.ts +25 -0
- package/src/services/SearchService.ts +981 -261
|
@@ -0,0 +1,1174 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { Bot } from '../models/Bot';
|
|
6
|
+
import type { BotCommand } from '../models/BotCommand';
|
|
7
|
+
import type { BotCreate } from '../models/BotCreate';
|
|
8
|
+
import type { DiscordConfig } from '../models/DiscordConfig';
|
|
9
|
+
import type { DiscordUserConfig } from '../models/DiscordUserConfig';
|
|
10
|
+
import type { DiscordWebhook } from '../models/DiscordWebhook';
|
|
11
|
+
import type { PatchedBotCommand } from '../models/PatchedBotCommand';
|
|
12
|
+
import type { PatchedBotCreate } from '../models/PatchedBotCreate';
|
|
13
|
+
import type { PatchedDiscordConfig } from '../models/PatchedDiscordConfig';
|
|
14
|
+
import type { PatchedDiscordUserConfig } from '../models/PatchedDiscordUserConfig';
|
|
15
|
+
import type { PatchedSlackConfig } from '../models/PatchedSlackConfig';
|
|
16
|
+
import type { PatchedSlackUserConfig } from '../models/PatchedSlackUserConfig';
|
|
17
|
+
import type { PatchedTeamsConfig } from '../models/PatchedTeamsConfig';
|
|
18
|
+
import type { PatchedWebexConfig } from '../models/PatchedWebexConfig';
|
|
19
|
+
import type { PatchedWhatsappConfig } from '../models/PatchedWhatsappConfig';
|
|
20
|
+
import type { PatchedWhatsappUserConfig } from '../models/PatchedWhatsappUserConfig';
|
|
21
|
+
import type { SlackConfig } from '../models/SlackConfig';
|
|
22
|
+
import type { SlackUserConfig } from '../models/SlackUserConfig';
|
|
23
|
+
import type { SlackWebhook } from '../models/SlackWebhook';
|
|
24
|
+
import type { TeamsConfig } from '../models/TeamsConfig';
|
|
25
|
+
import type { TeamsWebhook } from '../models/TeamsWebhook';
|
|
26
|
+
import type { WebexConfig } from '../models/WebexConfig';
|
|
27
|
+
import type { WebexWebhook } from '../models/WebexWebhook';
|
|
28
|
+
import type { WhatAppWebHook } from '../models/WhatAppWebHook';
|
|
29
|
+
import type { WhatsappConfig } from '../models/WhatsappConfig';
|
|
30
|
+
import type { WhatsappUserConfig } from '../models/WhatsappUserConfig';
|
|
31
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
32
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
33
|
+
import { request as __request } from '../core/request';
|
|
34
|
+
export class AiBotService {
|
|
35
|
+
/**
|
|
36
|
+
* Create modify and update bot information for a specific tenant.
|
|
37
|
+
* @param org
|
|
38
|
+
* @returns Bot
|
|
39
|
+
* @throws ApiError
|
|
40
|
+
*/
|
|
41
|
+
public static aiBotV1BotsBotList(
|
|
42
|
+
org: string,
|
|
43
|
+
): CancelablePromise<Array<Bot>> {
|
|
44
|
+
return __request(OpenAPI, {
|
|
45
|
+
method: 'GET',
|
|
46
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/',
|
|
47
|
+
path: {
|
|
48
|
+
'org': org,
|
|
49
|
+
},
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Create modify and update bot information for a specific tenant.
|
|
54
|
+
* @param org
|
|
55
|
+
* @param requestBody
|
|
56
|
+
* @returns BotCreate
|
|
57
|
+
* @throws ApiError
|
|
58
|
+
*/
|
|
59
|
+
public static aiBotV1BotsBotCreate(
|
|
60
|
+
org: string,
|
|
61
|
+
requestBody: BotCreate,
|
|
62
|
+
): CancelablePromise<BotCreate> {
|
|
63
|
+
return __request(OpenAPI, {
|
|
64
|
+
method: 'POST',
|
|
65
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/',
|
|
66
|
+
path: {
|
|
67
|
+
'org': org,
|
|
68
|
+
},
|
|
69
|
+
body: requestBody,
|
|
70
|
+
mediaType: 'application/json',
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Create slash commands for a specific bot
|
|
75
|
+
* eg. /iblai-baseline
|
|
76
|
+
* @param org
|
|
77
|
+
* @returns BotCommand
|
|
78
|
+
* @throws ApiError
|
|
79
|
+
*/
|
|
80
|
+
public static aiBotV1BotsBotCommandsList(
|
|
81
|
+
org: string,
|
|
82
|
+
): CancelablePromise<Array<BotCommand>> {
|
|
83
|
+
return __request(OpenAPI, {
|
|
84
|
+
method: 'GET',
|
|
85
|
+
url: '/api/ai-bot/v1/bots/{org}/bot-commands/',
|
|
86
|
+
path: {
|
|
87
|
+
'org': org,
|
|
88
|
+
},
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Create slash commands for a specific bot
|
|
93
|
+
* eg. /iblai-baseline
|
|
94
|
+
* @param org
|
|
95
|
+
* @param requestBody
|
|
96
|
+
* @returns BotCommand
|
|
97
|
+
* @throws ApiError
|
|
98
|
+
*/
|
|
99
|
+
public static aiBotV1BotsBotCommandsCreate(
|
|
100
|
+
org: string,
|
|
101
|
+
requestBody: BotCommand,
|
|
102
|
+
): CancelablePromise<BotCommand> {
|
|
103
|
+
return __request(OpenAPI, {
|
|
104
|
+
method: 'POST',
|
|
105
|
+
url: '/api/ai-bot/v1/bots/{org}/bot-commands/',
|
|
106
|
+
path: {
|
|
107
|
+
'org': org,
|
|
108
|
+
},
|
|
109
|
+
body: requestBody,
|
|
110
|
+
mediaType: 'application/json',
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Create slash commands for a specific bot
|
|
115
|
+
* eg. /iblai-baseline
|
|
116
|
+
* @param id A unique integer value identifying this bot command.
|
|
117
|
+
* @param org
|
|
118
|
+
* @returns BotCommand
|
|
119
|
+
* @throws ApiError
|
|
120
|
+
*/
|
|
121
|
+
public static aiBotV1BotsBotCommandsRetrieve(
|
|
122
|
+
id: number,
|
|
123
|
+
org: string,
|
|
124
|
+
): CancelablePromise<BotCommand> {
|
|
125
|
+
return __request(OpenAPI, {
|
|
126
|
+
method: 'GET',
|
|
127
|
+
url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
|
|
128
|
+
path: {
|
|
129
|
+
'id': id,
|
|
130
|
+
'org': org,
|
|
131
|
+
},
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Create slash commands for a specific bot
|
|
136
|
+
* eg. /iblai-baseline
|
|
137
|
+
* @param id A unique integer value identifying this bot command.
|
|
138
|
+
* @param org
|
|
139
|
+
* @param requestBody
|
|
140
|
+
* @returns BotCommand
|
|
141
|
+
* @throws ApiError
|
|
142
|
+
*/
|
|
143
|
+
public static aiBotV1BotsBotCommandsUpdate(
|
|
144
|
+
id: number,
|
|
145
|
+
org: string,
|
|
146
|
+
requestBody: BotCommand,
|
|
147
|
+
): CancelablePromise<BotCommand> {
|
|
148
|
+
return __request(OpenAPI, {
|
|
149
|
+
method: 'PUT',
|
|
150
|
+
url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
|
|
151
|
+
path: {
|
|
152
|
+
'id': id,
|
|
153
|
+
'org': org,
|
|
154
|
+
},
|
|
155
|
+
body: requestBody,
|
|
156
|
+
mediaType: 'application/json',
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* Create slash commands for a specific bot
|
|
161
|
+
* eg. /iblai-baseline
|
|
162
|
+
* @param id A unique integer value identifying this bot command.
|
|
163
|
+
* @param org
|
|
164
|
+
* @param requestBody
|
|
165
|
+
* @returns BotCommand
|
|
166
|
+
* @throws ApiError
|
|
167
|
+
*/
|
|
168
|
+
public static aiBotV1BotsBotCommandsPartialUpdate(
|
|
169
|
+
id: number,
|
|
170
|
+
org: string,
|
|
171
|
+
requestBody?: PatchedBotCommand,
|
|
172
|
+
): CancelablePromise<BotCommand> {
|
|
173
|
+
return __request(OpenAPI, {
|
|
174
|
+
method: 'PATCH',
|
|
175
|
+
url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
|
|
176
|
+
path: {
|
|
177
|
+
'id': id,
|
|
178
|
+
'org': org,
|
|
179
|
+
},
|
|
180
|
+
body: requestBody,
|
|
181
|
+
mediaType: 'application/json',
|
|
182
|
+
});
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* Create slash commands for a specific bot
|
|
186
|
+
* eg. /iblai-baseline
|
|
187
|
+
* @param id A unique integer value identifying this bot command.
|
|
188
|
+
* @param org
|
|
189
|
+
* @returns void
|
|
190
|
+
* @throws ApiError
|
|
191
|
+
*/
|
|
192
|
+
public static aiBotV1BotsBotCommandsDestroy(
|
|
193
|
+
id: number,
|
|
194
|
+
org: string,
|
|
195
|
+
): CancelablePromise<void> {
|
|
196
|
+
return __request(OpenAPI, {
|
|
197
|
+
method: 'DELETE',
|
|
198
|
+
url: '/api/ai-bot/v1/bots/{org}/bot-commands/{id}/',
|
|
199
|
+
path: {
|
|
200
|
+
'id': id,
|
|
201
|
+
'org': org,
|
|
202
|
+
},
|
|
203
|
+
});
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* Create modify and update bot information for a specific tenant.
|
|
207
|
+
* @param id A unique integer value identifying this bot.
|
|
208
|
+
* @param org
|
|
209
|
+
* @returns Bot
|
|
210
|
+
* @throws ApiError
|
|
211
|
+
*/
|
|
212
|
+
public static aiBotV1BotsBotRetrieve(
|
|
213
|
+
id: number,
|
|
214
|
+
org: string,
|
|
215
|
+
): CancelablePromise<Bot> {
|
|
216
|
+
return __request(OpenAPI, {
|
|
217
|
+
method: 'GET',
|
|
218
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
|
|
219
|
+
path: {
|
|
220
|
+
'id': id,
|
|
221
|
+
'org': org,
|
|
222
|
+
},
|
|
223
|
+
});
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* Create modify and update bot information for a specific tenant.
|
|
227
|
+
* @param id A unique integer value identifying this bot.
|
|
228
|
+
* @param org
|
|
229
|
+
* @param requestBody
|
|
230
|
+
* @returns BotCreate
|
|
231
|
+
* @throws ApiError
|
|
232
|
+
*/
|
|
233
|
+
public static aiBotV1BotsBotUpdate(
|
|
234
|
+
id: number,
|
|
235
|
+
org: string,
|
|
236
|
+
requestBody: BotCreate,
|
|
237
|
+
): CancelablePromise<BotCreate> {
|
|
238
|
+
return __request(OpenAPI, {
|
|
239
|
+
method: 'PUT',
|
|
240
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
|
|
241
|
+
path: {
|
|
242
|
+
'id': id,
|
|
243
|
+
'org': org,
|
|
244
|
+
},
|
|
245
|
+
body: requestBody,
|
|
246
|
+
mediaType: 'application/json',
|
|
247
|
+
});
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* Create modify and update bot information for a specific tenant.
|
|
251
|
+
* @param id A unique integer value identifying this bot.
|
|
252
|
+
* @param org
|
|
253
|
+
* @param requestBody
|
|
254
|
+
* @returns BotCreate
|
|
255
|
+
* @throws ApiError
|
|
256
|
+
*/
|
|
257
|
+
public static aiBotV1BotsBotPartialUpdate(
|
|
258
|
+
id: number,
|
|
259
|
+
org: string,
|
|
260
|
+
requestBody?: PatchedBotCreate,
|
|
261
|
+
): CancelablePromise<BotCreate> {
|
|
262
|
+
return __request(OpenAPI, {
|
|
263
|
+
method: 'PATCH',
|
|
264
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
|
|
265
|
+
path: {
|
|
266
|
+
'id': id,
|
|
267
|
+
'org': org,
|
|
268
|
+
},
|
|
269
|
+
body: requestBody,
|
|
270
|
+
mediaType: 'application/json',
|
|
271
|
+
});
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
* Create modify and update bot information for a specific tenant.
|
|
275
|
+
* @param id A unique integer value identifying this bot.
|
|
276
|
+
* @param org
|
|
277
|
+
* @returns void
|
|
278
|
+
* @throws ApiError
|
|
279
|
+
*/
|
|
280
|
+
public static aiBotV1BotsBotDestroy(
|
|
281
|
+
id: number,
|
|
282
|
+
org: string,
|
|
283
|
+
): CancelablePromise<void> {
|
|
284
|
+
return __request(OpenAPI, {
|
|
285
|
+
method: 'DELETE',
|
|
286
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/',
|
|
287
|
+
path: {
|
|
288
|
+
'id': id,
|
|
289
|
+
'org': org,
|
|
290
|
+
},
|
|
291
|
+
});
|
|
292
|
+
}
|
|
293
|
+
/**
|
|
294
|
+
* Create modify and update bot information for a specific tenant.
|
|
295
|
+
* @param id A unique integer value identifying this bot.
|
|
296
|
+
* @param org
|
|
297
|
+
* @returns DiscordConfig
|
|
298
|
+
* @throws ApiError
|
|
299
|
+
*/
|
|
300
|
+
public static aiBotV1BotsBotConfigDiscordRetrieve(
|
|
301
|
+
id: number,
|
|
302
|
+
org: string,
|
|
303
|
+
): CancelablePromise<DiscordConfig> {
|
|
304
|
+
return __request(OpenAPI, {
|
|
305
|
+
method: 'GET',
|
|
306
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/discord/',
|
|
307
|
+
path: {
|
|
308
|
+
'id': id,
|
|
309
|
+
'org': org,
|
|
310
|
+
},
|
|
311
|
+
});
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* Create modify and update bot information for a specific tenant.
|
|
315
|
+
* @param id A unique integer value identifying this bot.
|
|
316
|
+
* @param org
|
|
317
|
+
* @param requestBody
|
|
318
|
+
* @returns DiscordConfig
|
|
319
|
+
* @throws ApiError
|
|
320
|
+
*/
|
|
321
|
+
public static aiBotV1BotsBotConfigDiscordPartialUpdate(
|
|
322
|
+
id: number,
|
|
323
|
+
org: string,
|
|
324
|
+
requestBody?: PatchedDiscordConfig,
|
|
325
|
+
): CancelablePromise<DiscordConfig> {
|
|
326
|
+
return __request(OpenAPI, {
|
|
327
|
+
method: 'PATCH',
|
|
328
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/discord/',
|
|
329
|
+
path: {
|
|
330
|
+
'id': id,
|
|
331
|
+
'org': org,
|
|
332
|
+
},
|
|
333
|
+
body: requestBody,
|
|
334
|
+
mediaType: 'application/json',
|
|
335
|
+
});
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* Create modify and update bot information for a specific tenant.
|
|
339
|
+
* @param id A unique integer value identifying this bot.
|
|
340
|
+
* @param org
|
|
341
|
+
* @returns SlackConfig
|
|
342
|
+
* @throws ApiError
|
|
343
|
+
*/
|
|
344
|
+
public static aiBotV1BotsBotConfigSlackRetrieve(
|
|
345
|
+
id: number,
|
|
346
|
+
org: string,
|
|
347
|
+
): CancelablePromise<SlackConfig> {
|
|
348
|
+
return __request(OpenAPI, {
|
|
349
|
+
method: 'GET',
|
|
350
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/',
|
|
351
|
+
path: {
|
|
352
|
+
'id': id,
|
|
353
|
+
'org': org,
|
|
354
|
+
},
|
|
355
|
+
});
|
|
356
|
+
}
|
|
357
|
+
/**
|
|
358
|
+
* Create modify and update bot information for a specific tenant.
|
|
359
|
+
* @param id A unique integer value identifying this bot.
|
|
360
|
+
* @param org
|
|
361
|
+
* @param requestBody
|
|
362
|
+
* @returns SlackConfig
|
|
363
|
+
* @throws ApiError
|
|
364
|
+
*/
|
|
365
|
+
public static aiBotV1BotsBotConfigSlackUpdateCreate(
|
|
366
|
+
id: number,
|
|
367
|
+
org: string,
|
|
368
|
+
requestBody: SlackConfig,
|
|
369
|
+
): CancelablePromise<SlackConfig> {
|
|
370
|
+
return __request(OpenAPI, {
|
|
371
|
+
method: 'POST',
|
|
372
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/update/',
|
|
373
|
+
path: {
|
|
374
|
+
'id': id,
|
|
375
|
+
'org': org,
|
|
376
|
+
},
|
|
377
|
+
body: requestBody,
|
|
378
|
+
mediaType: 'application/json',
|
|
379
|
+
});
|
|
380
|
+
}
|
|
381
|
+
/**
|
|
382
|
+
* Create modify and update bot information for a specific tenant.
|
|
383
|
+
* @param id A unique integer value identifying this bot.
|
|
384
|
+
* @param org
|
|
385
|
+
* @param requestBody
|
|
386
|
+
* @returns SlackConfig
|
|
387
|
+
* @throws ApiError
|
|
388
|
+
*/
|
|
389
|
+
public static aiBotV1BotsBotConfigSlackUpdateUpdate(
|
|
390
|
+
id: number,
|
|
391
|
+
org: string,
|
|
392
|
+
requestBody: SlackConfig,
|
|
393
|
+
): CancelablePromise<SlackConfig> {
|
|
394
|
+
return __request(OpenAPI, {
|
|
395
|
+
method: 'PUT',
|
|
396
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/update/',
|
|
397
|
+
path: {
|
|
398
|
+
'id': id,
|
|
399
|
+
'org': org,
|
|
400
|
+
},
|
|
401
|
+
body: requestBody,
|
|
402
|
+
mediaType: 'application/json',
|
|
403
|
+
});
|
|
404
|
+
}
|
|
405
|
+
/**
|
|
406
|
+
* Create modify and update bot information for a specific tenant.
|
|
407
|
+
* @param id A unique integer value identifying this bot.
|
|
408
|
+
* @param org
|
|
409
|
+
* @param requestBody
|
|
410
|
+
* @returns SlackConfig
|
|
411
|
+
* @throws ApiError
|
|
412
|
+
*/
|
|
413
|
+
public static aiBotV1BotsBotConfigSlackUpdatePartialUpdate(
|
|
414
|
+
id: number,
|
|
415
|
+
org: string,
|
|
416
|
+
requestBody?: PatchedSlackConfig,
|
|
417
|
+
): CancelablePromise<SlackConfig> {
|
|
418
|
+
return __request(OpenAPI, {
|
|
419
|
+
method: 'PATCH',
|
|
420
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/slack/update/',
|
|
421
|
+
path: {
|
|
422
|
+
'id': id,
|
|
423
|
+
'org': org,
|
|
424
|
+
},
|
|
425
|
+
body: requestBody,
|
|
426
|
+
mediaType: 'application/json',
|
|
427
|
+
});
|
|
428
|
+
}
|
|
429
|
+
/**
|
|
430
|
+
* Create modify and update bot information for a specific tenant.
|
|
431
|
+
* @param id A unique integer value identifying this bot.
|
|
432
|
+
* @param org
|
|
433
|
+
* @returns TeamsConfig
|
|
434
|
+
* @throws ApiError
|
|
435
|
+
*/
|
|
436
|
+
public static aiBotV1BotsBotConfigTeamsRetrieve(
|
|
437
|
+
id: number,
|
|
438
|
+
org: string,
|
|
439
|
+
): CancelablePromise<TeamsConfig> {
|
|
440
|
+
return __request(OpenAPI, {
|
|
441
|
+
method: 'GET',
|
|
442
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/',
|
|
443
|
+
path: {
|
|
444
|
+
'id': id,
|
|
445
|
+
'org': org,
|
|
446
|
+
},
|
|
447
|
+
});
|
|
448
|
+
}
|
|
449
|
+
/**
|
|
450
|
+
* Create modify and update bot information for a specific tenant.
|
|
451
|
+
* @param id A unique integer value identifying this bot.
|
|
452
|
+
* @param org
|
|
453
|
+
* @param requestBody
|
|
454
|
+
* @returns TeamsConfig
|
|
455
|
+
* @throws ApiError
|
|
456
|
+
*/
|
|
457
|
+
public static aiBotV1BotsBotConfigTeamsUpdateCreate(
|
|
458
|
+
id: number,
|
|
459
|
+
org: string,
|
|
460
|
+
requestBody: TeamsConfig,
|
|
461
|
+
): CancelablePromise<TeamsConfig> {
|
|
462
|
+
return __request(OpenAPI, {
|
|
463
|
+
method: 'POST',
|
|
464
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/update/',
|
|
465
|
+
path: {
|
|
466
|
+
'id': id,
|
|
467
|
+
'org': org,
|
|
468
|
+
},
|
|
469
|
+
body: requestBody,
|
|
470
|
+
mediaType: 'application/json',
|
|
471
|
+
});
|
|
472
|
+
}
|
|
473
|
+
/**
|
|
474
|
+
* Create modify and update bot information for a specific tenant.
|
|
475
|
+
* @param id A unique integer value identifying this bot.
|
|
476
|
+
* @param org
|
|
477
|
+
* @param requestBody
|
|
478
|
+
* @returns TeamsConfig
|
|
479
|
+
* @throws ApiError
|
|
480
|
+
*/
|
|
481
|
+
public static aiBotV1BotsBotConfigTeamsUpdateUpdate(
|
|
482
|
+
id: number,
|
|
483
|
+
org: string,
|
|
484
|
+
requestBody: TeamsConfig,
|
|
485
|
+
): CancelablePromise<TeamsConfig> {
|
|
486
|
+
return __request(OpenAPI, {
|
|
487
|
+
method: 'PUT',
|
|
488
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/update/',
|
|
489
|
+
path: {
|
|
490
|
+
'id': id,
|
|
491
|
+
'org': org,
|
|
492
|
+
},
|
|
493
|
+
body: requestBody,
|
|
494
|
+
mediaType: 'application/json',
|
|
495
|
+
});
|
|
496
|
+
}
|
|
497
|
+
/**
|
|
498
|
+
* Create modify and update bot information for a specific tenant.
|
|
499
|
+
* @param id A unique integer value identifying this bot.
|
|
500
|
+
* @param org
|
|
501
|
+
* @param requestBody
|
|
502
|
+
* @returns TeamsConfig
|
|
503
|
+
* @throws ApiError
|
|
504
|
+
*/
|
|
505
|
+
public static aiBotV1BotsBotConfigTeamsUpdatePartialUpdate(
|
|
506
|
+
id: number,
|
|
507
|
+
org: string,
|
|
508
|
+
requestBody?: PatchedTeamsConfig,
|
|
509
|
+
): CancelablePromise<TeamsConfig> {
|
|
510
|
+
return __request(OpenAPI, {
|
|
511
|
+
method: 'PATCH',
|
|
512
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/teams/update/',
|
|
513
|
+
path: {
|
|
514
|
+
'id': id,
|
|
515
|
+
'org': org,
|
|
516
|
+
},
|
|
517
|
+
body: requestBody,
|
|
518
|
+
mediaType: 'application/json',
|
|
519
|
+
});
|
|
520
|
+
}
|
|
521
|
+
/**
|
|
522
|
+
* Create modify and update bot information for a specific tenant.
|
|
523
|
+
* @param id A unique integer value identifying this bot.
|
|
524
|
+
* @param org
|
|
525
|
+
* @returns WebexConfig
|
|
526
|
+
* @throws ApiError
|
|
527
|
+
*/
|
|
528
|
+
public static aiBotV1BotsBotConfigWebexRetrieve(
|
|
529
|
+
id: number,
|
|
530
|
+
org: string,
|
|
531
|
+
): CancelablePromise<WebexConfig> {
|
|
532
|
+
return __request(OpenAPI, {
|
|
533
|
+
method: 'GET',
|
|
534
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/webex/',
|
|
535
|
+
path: {
|
|
536
|
+
'id': id,
|
|
537
|
+
'org': org,
|
|
538
|
+
},
|
|
539
|
+
});
|
|
540
|
+
}
|
|
541
|
+
/**
|
|
542
|
+
* Create modify and update bot information for a specific tenant.
|
|
543
|
+
* @param id A unique integer value identifying this bot.
|
|
544
|
+
* @param org
|
|
545
|
+
* @param requestBody
|
|
546
|
+
* @returns WebexConfig
|
|
547
|
+
* @throws ApiError
|
|
548
|
+
*/
|
|
549
|
+
public static aiBotV1BotsBotConfigWebexPartialUpdate(
|
|
550
|
+
id: number,
|
|
551
|
+
org: string,
|
|
552
|
+
requestBody?: PatchedWebexConfig,
|
|
553
|
+
): CancelablePromise<WebexConfig> {
|
|
554
|
+
return __request(OpenAPI, {
|
|
555
|
+
method: 'PATCH',
|
|
556
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/webex/',
|
|
557
|
+
path: {
|
|
558
|
+
'id': id,
|
|
559
|
+
'org': org,
|
|
560
|
+
},
|
|
561
|
+
body: requestBody,
|
|
562
|
+
mediaType: 'application/json',
|
|
563
|
+
});
|
|
564
|
+
}
|
|
565
|
+
/**
|
|
566
|
+
* Create modify and update bot information for a specific tenant.
|
|
567
|
+
* @param id A unique integer value identifying this bot.
|
|
568
|
+
* @param org
|
|
569
|
+
* @returns WhatsappConfig
|
|
570
|
+
* @throws ApiError
|
|
571
|
+
*/
|
|
572
|
+
public static aiBotV1BotsBotConfigWhatsappRetrieve(
|
|
573
|
+
id: number,
|
|
574
|
+
org: string,
|
|
575
|
+
): CancelablePromise<WhatsappConfig> {
|
|
576
|
+
return __request(OpenAPI, {
|
|
577
|
+
method: 'GET',
|
|
578
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/config/whatsapp/',
|
|
579
|
+
path: {
|
|
580
|
+
'id': id,
|
|
581
|
+
'org': org,
|
|
582
|
+
},
|
|
583
|
+
});
|
|
584
|
+
}
|
|
585
|
+
/**
|
|
586
|
+
* Create modify and update bot information for a specific tenant.
|
|
587
|
+
* @param id A unique integer value identifying this bot.
|
|
588
|
+
* @param org
|
|
589
|
+
* @param requestBody
|
|
590
|
+
* @returns WhatsappConfig
|
|
591
|
+
* @throws ApiError
|
|
592
|
+
*/
|
|
593
|
+
public static aiBotV1BotsBotWhatsappConfigUpdate(
|
|
594
|
+
id: number,
|
|
595
|
+
org: string,
|
|
596
|
+
requestBody: WhatsappConfig,
|
|
597
|
+
): CancelablePromise<WhatsappConfig> {
|
|
598
|
+
return __request(OpenAPI, {
|
|
599
|
+
method: 'PUT',
|
|
600
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/whatsapp-config/',
|
|
601
|
+
path: {
|
|
602
|
+
'id': id,
|
|
603
|
+
'org': org,
|
|
604
|
+
},
|
|
605
|
+
body: requestBody,
|
|
606
|
+
mediaType: 'application/json',
|
|
607
|
+
});
|
|
608
|
+
}
|
|
609
|
+
/**
|
|
610
|
+
* Create modify and update bot information for a specific tenant.
|
|
611
|
+
* @param id A unique integer value identifying this bot.
|
|
612
|
+
* @param org
|
|
613
|
+
* @param requestBody
|
|
614
|
+
* @returns WhatsappConfig
|
|
615
|
+
* @throws ApiError
|
|
616
|
+
*/
|
|
617
|
+
public static aiBotV1BotsBotWhatsappConfigPartialUpdate(
|
|
618
|
+
id: number,
|
|
619
|
+
org: string,
|
|
620
|
+
requestBody?: PatchedWhatsappConfig,
|
|
621
|
+
): CancelablePromise<WhatsappConfig> {
|
|
622
|
+
return __request(OpenAPI, {
|
|
623
|
+
method: 'PATCH',
|
|
624
|
+
url: '/api/ai-bot/v1/bots/{org}/bot/{id}/whatsapp-config/',
|
|
625
|
+
path: {
|
|
626
|
+
'id': id,
|
|
627
|
+
'org': org,
|
|
628
|
+
},
|
|
629
|
+
body: requestBody,
|
|
630
|
+
mediaType: 'application/json',
|
|
631
|
+
});
|
|
632
|
+
}
|
|
633
|
+
/**
|
|
634
|
+
* Setup discord user id linkage with discord bots
|
|
635
|
+
* this will be used to authenticate the user when interracting with discord bots.
|
|
636
|
+
* the user id can be copied from the discord app after tapping on the user profile.
|
|
637
|
+
* @param org
|
|
638
|
+
* @returns DiscordUserConfig
|
|
639
|
+
* @throws ApiError
|
|
640
|
+
*/
|
|
641
|
+
public static aiBotV1BotsDiscordUserConfigList(
|
|
642
|
+
org: string,
|
|
643
|
+
): CancelablePromise<Array<DiscordUserConfig>> {
|
|
644
|
+
return __request(OpenAPI, {
|
|
645
|
+
method: 'GET',
|
|
646
|
+
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/',
|
|
647
|
+
path: {
|
|
648
|
+
'org': org,
|
|
649
|
+
},
|
|
650
|
+
});
|
|
651
|
+
}
|
|
652
|
+
/**
|
|
653
|
+
* Setup discord user id linkage with discord bots
|
|
654
|
+
* this will be used to authenticate the user when interracting with discord bots.
|
|
655
|
+
* the user id can be copied from the discord app after tapping on the user profile.
|
|
656
|
+
* @param org
|
|
657
|
+
* @param requestBody
|
|
658
|
+
* @returns DiscordUserConfig
|
|
659
|
+
* @throws ApiError
|
|
660
|
+
*/
|
|
661
|
+
public static aiBotV1BotsDiscordUserConfigCreate(
|
|
662
|
+
org: string,
|
|
663
|
+
requestBody: DiscordUserConfig,
|
|
664
|
+
): CancelablePromise<DiscordUserConfig> {
|
|
665
|
+
return __request(OpenAPI, {
|
|
666
|
+
method: 'POST',
|
|
667
|
+
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/',
|
|
668
|
+
path: {
|
|
669
|
+
'org': org,
|
|
670
|
+
},
|
|
671
|
+
body: requestBody,
|
|
672
|
+
mediaType: 'application/json',
|
|
673
|
+
});
|
|
674
|
+
}
|
|
675
|
+
/**
|
|
676
|
+
* Setup discord user id linkage with discord bots
|
|
677
|
+
* this will be used to authenticate the user when interracting with discord bots.
|
|
678
|
+
* the user id can be copied from the discord app after tapping on the user profile.
|
|
679
|
+
* @param id A unique integer value identifying this discord user config.
|
|
680
|
+
* @param org
|
|
681
|
+
* @returns DiscordUserConfig
|
|
682
|
+
* @throws ApiError
|
|
683
|
+
*/
|
|
684
|
+
public static aiBotV1BotsDiscordUserConfigRetrieve(
|
|
685
|
+
id: number,
|
|
686
|
+
org: string,
|
|
687
|
+
): CancelablePromise<DiscordUserConfig> {
|
|
688
|
+
return __request(OpenAPI, {
|
|
689
|
+
method: 'GET',
|
|
690
|
+
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
|
|
691
|
+
path: {
|
|
692
|
+
'id': id,
|
|
693
|
+
'org': org,
|
|
694
|
+
},
|
|
695
|
+
});
|
|
696
|
+
}
|
|
697
|
+
/**
|
|
698
|
+
* Setup discord user id linkage with discord bots
|
|
699
|
+
* this will be used to authenticate the user when interracting with discord bots.
|
|
700
|
+
* the user id can be copied from the discord app after tapping on the user profile.
|
|
701
|
+
* @param id A unique integer value identifying this discord user config.
|
|
702
|
+
* @param org
|
|
703
|
+
* @param requestBody
|
|
704
|
+
* @returns DiscordUserConfig
|
|
705
|
+
* @throws ApiError
|
|
706
|
+
*/
|
|
707
|
+
public static aiBotV1BotsDiscordUserConfigUpdate(
|
|
708
|
+
id: number,
|
|
709
|
+
org: string,
|
|
710
|
+
requestBody: DiscordUserConfig,
|
|
711
|
+
): CancelablePromise<DiscordUserConfig> {
|
|
712
|
+
return __request(OpenAPI, {
|
|
713
|
+
method: 'PUT',
|
|
714
|
+
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
|
|
715
|
+
path: {
|
|
716
|
+
'id': id,
|
|
717
|
+
'org': org,
|
|
718
|
+
},
|
|
719
|
+
body: requestBody,
|
|
720
|
+
mediaType: 'application/json',
|
|
721
|
+
});
|
|
722
|
+
}
|
|
723
|
+
/**
|
|
724
|
+
* Setup discord user id linkage with discord bots
|
|
725
|
+
* this will be used to authenticate the user when interracting with discord bots.
|
|
726
|
+
* the user id can be copied from the discord app after tapping on the user profile.
|
|
727
|
+
* @param id A unique integer value identifying this discord user config.
|
|
728
|
+
* @param org
|
|
729
|
+
* @param requestBody
|
|
730
|
+
* @returns DiscordUserConfig
|
|
731
|
+
* @throws ApiError
|
|
732
|
+
*/
|
|
733
|
+
public static aiBotV1BotsDiscordUserConfigPartialUpdate(
|
|
734
|
+
id: number,
|
|
735
|
+
org: string,
|
|
736
|
+
requestBody?: PatchedDiscordUserConfig,
|
|
737
|
+
): CancelablePromise<DiscordUserConfig> {
|
|
738
|
+
return __request(OpenAPI, {
|
|
739
|
+
method: 'PATCH',
|
|
740
|
+
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
|
|
741
|
+
path: {
|
|
742
|
+
'id': id,
|
|
743
|
+
'org': org,
|
|
744
|
+
},
|
|
745
|
+
body: requestBody,
|
|
746
|
+
mediaType: 'application/json',
|
|
747
|
+
});
|
|
748
|
+
}
|
|
749
|
+
/**
|
|
750
|
+
* Setup discord user id linkage with discord bots
|
|
751
|
+
* this will be used to authenticate the user when interracting with discord bots.
|
|
752
|
+
* the user id can be copied from the discord app after tapping on the user profile.
|
|
753
|
+
* @param id A unique integer value identifying this discord user config.
|
|
754
|
+
* @param org
|
|
755
|
+
* @returns void
|
|
756
|
+
* @throws ApiError
|
|
757
|
+
*/
|
|
758
|
+
public static aiBotV1BotsDiscordUserConfigDestroy(
|
|
759
|
+
id: number,
|
|
760
|
+
org: string,
|
|
761
|
+
): CancelablePromise<void> {
|
|
762
|
+
return __request(OpenAPI, {
|
|
763
|
+
method: 'DELETE',
|
|
764
|
+
url: '/api/ai-bot/v1/bots/{org}/discord-user-config/{id}/',
|
|
765
|
+
path: {
|
|
766
|
+
'id': id,
|
|
767
|
+
'org': org,
|
|
768
|
+
},
|
|
769
|
+
});
|
|
770
|
+
}
|
|
771
|
+
/**
|
|
772
|
+
* Setup slack username and domain linkage with slack bots
|
|
773
|
+
* this will be used to authenticate the user when interracting with slack bots.
|
|
774
|
+
* @param org
|
|
775
|
+
* @returns SlackUserConfig
|
|
776
|
+
* @throws ApiError
|
|
777
|
+
*/
|
|
778
|
+
public static aiBotV1BotsSlackUserConfigList(
|
|
779
|
+
org: string,
|
|
780
|
+
): CancelablePromise<Array<SlackUserConfig>> {
|
|
781
|
+
return __request(OpenAPI, {
|
|
782
|
+
method: 'GET',
|
|
783
|
+
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/',
|
|
784
|
+
path: {
|
|
785
|
+
'org': org,
|
|
786
|
+
},
|
|
787
|
+
});
|
|
788
|
+
}
|
|
789
|
+
/**
|
|
790
|
+
* Setup slack username and domain linkage with slack bots
|
|
791
|
+
* this will be used to authenticate the user when interracting with slack bots.
|
|
792
|
+
* @param org
|
|
793
|
+
* @param requestBody
|
|
794
|
+
* @returns SlackUserConfig
|
|
795
|
+
* @throws ApiError
|
|
796
|
+
*/
|
|
797
|
+
public static aiBotV1BotsSlackUserConfigCreate(
|
|
798
|
+
org: string,
|
|
799
|
+
requestBody: SlackUserConfig,
|
|
800
|
+
): CancelablePromise<SlackUserConfig> {
|
|
801
|
+
return __request(OpenAPI, {
|
|
802
|
+
method: 'POST',
|
|
803
|
+
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/',
|
|
804
|
+
path: {
|
|
805
|
+
'org': org,
|
|
806
|
+
},
|
|
807
|
+
body: requestBody,
|
|
808
|
+
mediaType: 'application/json',
|
|
809
|
+
});
|
|
810
|
+
}
|
|
811
|
+
/**
|
|
812
|
+
* Setup slack username and domain linkage with slack bots
|
|
813
|
+
* this will be used to authenticate the user when interracting with slack bots.
|
|
814
|
+
* @param id A unique integer value identifying this slack user config.
|
|
815
|
+
* @param org
|
|
816
|
+
* @returns SlackUserConfig
|
|
817
|
+
* @throws ApiError
|
|
818
|
+
*/
|
|
819
|
+
public static aiBotV1BotsSlackUserConfigRetrieve(
|
|
820
|
+
id: number,
|
|
821
|
+
org: string,
|
|
822
|
+
): CancelablePromise<SlackUserConfig> {
|
|
823
|
+
return __request(OpenAPI, {
|
|
824
|
+
method: 'GET',
|
|
825
|
+
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
|
|
826
|
+
path: {
|
|
827
|
+
'id': id,
|
|
828
|
+
'org': org,
|
|
829
|
+
},
|
|
830
|
+
});
|
|
831
|
+
}
|
|
832
|
+
/**
|
|
833
|
+
* Setup slack username and domain linkage with slack bots
|
|
834
|
+
* this will be used to authenticate the user when interracting with slack bots.
|
|
835
|
+
* @param id A unique integer value identifying this slack user config.
|
|
836
|
+
* @param org
|
|
837
|
+
* @param requestBody
|
|
838
|
+
* @returns SlackUserConfig
|
|
839
|
+
* @throws ApiError
|
|
840
|
+
*/
|
|
841
|
+
public static aiBotV1BotsSlackUserConfigUpdate(
|
|
842
|
+
id: number,
|
|
843
|
+
org: string,
|
|
844
|
+
requestBody: SlackUserConfig,
|
|
845
|
+
): CancelablePromise<SlackUserConfig> {
|
|
846
|
+
return __request(OpenAPI, {
|
|
847
|
+
method: 'PUT',
|
|
848
|
+
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
|
|
849
|
+
path: {
|
|
850
|
+
'id': id,
|
|
851
|
+
'org': org,
|
|
852
|
+
},
|
|
853
|
+
body: requestBody,
|
|
854
|
+
mediaType: 'application/json',
|
|
855
|
+
});
|
|
856
|
+
}
|
|
857
|
+
/**
|
|
858
|
+
* Setup slack username and domain linkage with slack bots
|
|
859
|
+
* this will be used to authenticate the user when interracting with slack bots.
|
|
860
|
+
* @param id A unique integer value identifying this slack user config.
|
|
861
|
+
* @param org
|
|
862
|
+
* @param requestBody
|
|
863
|
+
* @returns SlackUserConfig
|
|
864
|
+
* @throws ApiError
|
|
865
|
+
*/
|
|
866
|
+
public static aiBotV1BotsSlackUserConfigPartialUpdate(
|
|
867
|
+
id: number,
|
|
868
|
+
org: string,
|
|
869
|
+
requestBody?: PatchedSlackUserConfig,
|
|
870
|
+
): CancelablePromise<SlackUserConfig> {
|
|
871
|
+
return __request(OpenAPI, {
|
|
872
|
+
method: 'PATCH',
|
|
873
|
+
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
|
|
874
|
+
path: {
|
|
875
|
+
'id': id,
|
|
876
|
+
'org': org,
|
|
877
|
+
},
|
|
878
|
+
body: requestBody,
|
|
879
|
+
mediaType: 'application/json',
|
|
880
|
+
});
|
|
881
|
+
}
|
|
882
|
+
/**
|
|
883
|
+
* Setup slack username and domain linkage with slack bots
|
|
884
|
+
* this will be used to authenticate the user when interracting with slack bots.
|
|
885
|
+
* @param id A unique integer value identifying this slack user config.
|
|
886
|
+
* @param org
|
|
887
|
+
* @returns void
|
|
888
|
+
* @throws ApiError
|
|
889
|
+
*/
|
|
890
|
+
public static aiBotV1BotsSlackUserConfigDestroy(
|
|
891
|
+
id: number,
|
|
892
|
+
org: string,
|
|
893
|
+
): CancelablePromise<void> {
|
|
894
|
+
return __request(OpenAPI, {
|
|
895
|
+
method: 'DELETE',
|
|
896
|
+
url: '/api/ai-bot/v1/bots/{org}/slack-user-config/{id}/',
|
|
897
|
+
path: {
|
|
898
|
+
'id': id,
|
|
899
|
+
'org': org,
|
|
900
|
+
},
|
|
901
|
+
});
|
|
902
|
+
}
|
|
903
|
+
/**
|
|
904
|
+
* Setup phone number linkage with whatsapp bots
|
|
905
|
+
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
906
|
+
* @param org
|
|
907
|
+
* @returns WhatsappUserConfig
|
|
908
|
+
* @throws ApiError
|
|
909
|
+
*/
|
|
910
|
+
public static aiBotV1BotsWhatsappUserConfigList(
|
|
911
|
+
org: string,
|
|
912
|
+
): CancelablePromise<Array<WhatsappUserConfig>> {
|
|
913
|
+
return __request(OpenAPI, {
|
|
914
|
+
method: 'GET',
|
|
915
|
+
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/',
|
|
916
|
+
path: {
|
|
917
|
+
'org': org,
|
|
918
|
+
},
|
|
919
|
+
});
|
|
920
|
+
}
|
|
921
|
+
/**
|
|
922
|
+
* Setup phone number linkage with whatsapp bots
|
|
923
|
+
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
924
|
+
* @param org
|
|
925
|
+
* @param requestBody
|
|
926
|
+
* @returns WhatsappUserConfig
|
|
927
|
+
* @throws ApiError
|
|
928
|
+
*/
|
|
929
|
+
public static aiBotV1BotsWhatsappUserConfigCreate(
|
|
930
|
+
org: string,
|
|
931
|
+
requestBody: WhatsappUserConfig,
|
|
932
|
+
): CancelablePromise<WhatsappUserConfig> {
|
|
933
|
+
return __request(OpenAPI, {
|
|
934
|
+
method: 'POST',
|
|
935
|
+
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/',
|
|
936
|
+
path: {
|
|
937
|
+
'org': org,
|
|
938
|
+
},
|
|
939
|
+
body: requestBody,
|
|
940
|
+
mediaType: 'application/json',
|
|
941
|
+
});
|
|
942
|
+
}
|
|
943
|
+
/**
|
|
944
|
+
* Setup phone number linkage with whatsapp bots
|
|
945
|
+
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
946
|
+
* @param id A unique integer value identifying this whatsapp user config.
|
|
947
|
+
* @param org
|
|
948
|
+
* @returns WhatsappUserConfig
|
|
949
|
+
* @throws ApiError
|
|
950
|
+
*/
|
|
951
|
+
public static aiBotV1BotsWhatsappUserConfigRetrieve(
|
|
952
|
+
id: number,
|
|
953
|
+
org: string,
|
|
954
|
+
): CancelablePromise<WhatsappUserConfig> {
|
|
955
|
+
return __request(OpenAPI, {
|
|
956
|
+
method: 'GET',
|
|
957
|
+
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
|
|
958
|
+
path: {
|
|
959
|
+
'id': id,
|
|
960
|
+
'org': org,
|
|
961
|
+
},
|
|
962
|
+
});
|
|
963
|
+
}
|
|
964
|
+
/**
|
|
965
|
+
* Setup phone number linkage with whatsapp bots
|
|
966
|
+
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
967
|
+
* @param id A unique integer value identifying this whatsapp user config.
|
|
968
|
+
* @param org
|
|
969
|
+
* @param requestBody
|
|
970
|
+
* @returns WhatsappUserConfig
|
|
971
|
+
* @throws ApiError
|
|
972
|
+
*/
|
|
973
|
+
public static aiBotV1BotsWhatsappUserConfigUpdate(
|
|
974
|
+
id: number,
|
|
975
|
+
org: string,
|
|
976
|
+
requestBody: WhatsappUserConfig,
|
|
977
|
+
): CancelablePromise<WhatsappUserConfig> {
|
|
978
|
+
return __request(OpenAPI, {
|
|
979
|
+
method: 'PUT',
|
|
980
|
+
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
|
|
981
|
+
path: {
|
|
982
|
+
'id': id,
|
|
983
|
+
'org': org,
|
|
984
|
+
},
|
|
985
|
+
body: requestBody,
|
|
986
|
+
mediaType: 'application/json',
|
|
987
|
+
});
|
|
988
|
+
}
|
|
989
|
+
/**
|
|
990
|
+
* Setup phone number linkage with whatsapp bots
|
|
991
|
+
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
992
|
+
* @param id A unique integer value identifying this whatsapp user config.
|
|
993
|
+
* @param org
|
|
994
|
+
* @param requestBody
|
|
995
|
+
* @returns WhatsappUserConfig
|
|
996
|
+
* @throws ApiError
|
|
997
|
+
*/
|
|
998
|
+
public static aiBotV1BotsWhatsappUserConfigPartialUpdate(
|
|
999
|
+
id: number,
|
|
1000
|
+
org: string,
|
|
1001
|
+
requestBody?: PatchedWhatsappUserConfig,
|
|
1002
|
+
): CancelablePromise<WhatsappUserConfig> {
|
|
1003
|
+
return __request(OpenAPI, {
|
|
1004
|
+
method: 'PATCH',
|
|
1005
|
+
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
|
|
1006
|
+
path: {
|
|
1007
|
+
'id': id,
|
|
1008
|
+
'org': org,
|
|
1009
|
+
},
|
|
1010
|
+
body: requestBody,
|
|
1011
|
+
mediaType: 'application/json',
|
|
1012
|
+
});
|
|
1013
|
+
}
|
|
1014
|
+
/**
|
|
1015
|
+
* Setup phone number linkage with whatsapp bots
|
|
1016
|
+
* This phone number will be used to authenticate and allow access to whatsapp bots.
|
|
1017
|
+
* @param id A unique integer value identifying this whatsapp user config.
|
|
1018
|
+
* @param org
|
|
1019
|
+
* @returns void
|
|
1020
|
+
* @throws ApiError
|
|
1021
|
+
*/
|
|
1022
|
+
public static aiBotV1BotsWhatsappUserConfigDestroy(
|
|
1023
|
+
id: number,
|
|
1024
|
+
org: string,
|
|
1025
|
+
): CancelablePromise<void> {
|
|
1026
|
+
return __request(OpenAPI, {
|
|
1027
|
+
method: 'DELETE',
|
|
1028
|
+
url: '/api/ai-bot/v1/bots/{org}/whatsapp-user-config/{id}/',
|
|
1029
|
+
path: {
|
|
1030
|
+
'id': id,
|
|
1031
|
+
'org': org,
|
|
1032
|
+
},
|
|
1033
|
+
});
|
|
1034
|
+
}
|
|
1035
|
+
/**
|
|
1036
|
+
* Webhook endpoint to receive and process discord messages.
|
|
1037
|
+
* @param name
|
|
1038
|
+
* @param org
|
|
1039
|
+
* @param requestBody
|
|
1040
|
+
* @returns DiscordWebhook
|
|
1041
|
+
* @throws ApiError
|
|
1042
|
+
*/
|
|
1043
|
+
public static aiBotV1BotsWebhooksDiscordCreate(
|
|
1044
|
+
name: string,
|
|
1045
|
+
org: string,
|
|
1046
|
+
requestBody: DiscordWebhook,
|
|
1047
|
+
): CancelablePromise<DiscordWebhook> {
|
|
1048
|
+
return __request(OpenAPI, {
|
|
1049
|
+
method: 'POST',
|
|
1050
|
+
url: '/api/ai-bot/v1/bots/webhooks/{org}/discord/{name}/',
|
|
1051
|
+
path: {
|
|
1052
|
+
'name': name,
|
|
1053
|
+
'org': org,
|
|
1054
|
+
},
|
|
1055
|
+
body: requestBody,
|
|
1056
|
+
mediaType: 'application/json',
|
|
1057
|
+
});
|
|
1058
|
+
}
|
|
1059
|
+
/**
|
|
1060
|
+
* @param name
|
|
1061
|
+
* @param org
|
|
1062
|
+
* @param requestBody
|
|
1063
|
+
* @returns SlackWebhook
|
|
1064
|
+
* @throws ApiError
|
|
1065
|
+
*/
|
|
1066
|
+
public static aiBotV1BotsWebhooksSlackCreate(
|
|
1067
|
+
name: string,
|
|
1068
|
+
org: string,
|
|
1069
|
+
requestBody: SlackWebhook,
|
|
1070
|
+
): CancelablePromise<SlackWebhook> {
|
|
1071
|
+
return __request(OpenAPI, {
|
|
1072
|
+
method: 'POST',
|
|
1073
|
+
url: '/api/ai-bot/v1/bots/webhooks/{org}/slack/{name}/',
|
|
1074
|
+
path: {
|
|
1075
|
+
'name': name,
|
|
1076
|
+
'org': org,
|
|
1077
|
+
},
|
|
1078
|
+
body: requestBody,
|
|
1079
|
+
mediaType: 'application/json',
|
|
1080
|
+
});
|
|
1081
|
+
}
|
|
1082
|
+
/**
|
|
1083
|
+
* @param name
|
|
1084
|
+
* @param org
|
|
1085
|
+
* @param requestBody
|
|
1086
|
+
* @returns TeamsWebhook
|
|
1087
|
+
* @throws ApiError
|
|
1088
|
+
*/
|
|
1089
|
+
public static aiBotV1BotsWebhooksTeamsCreate(
|
|
1090
|
+
name: string,
|
|
1091
|
+
org: string,
|
|
1092
|
+
requestBody?: TeamsWebhook,
|
|
1093
|
+
): CancelablePromise<TeamsWebhook> {
|
|
1094
|
+
return __request(OpenAPI, {
|
|
1095
|
+
method: 'POST',
|
|
1096
|
+
url: '/api/ai-bot/v1/bots/webhooks/{org}/teams/{name}/',
|
|
1097
|
+
path: {
|
|
1098
|
+
'name': name,
|
|
1099
|
+
'org': org,
|
|
1100
|
+
},
|
|
1101
|
+
body: requestBody,
|
|
1102
|
+
mediaType: 'application/json',
|
|
1103
|
+
});
|
|
1104
|
+
}
|
|
1105
|
+
/**
|
|
1106
|
+
* Webhook endpoint to receive and process discord messages.
|
|
1107
|
+
* @param name
|
|
1108
|
+
* @param org
|
|
1109
|
+
* @param requestBody
|
|
1110
|
+
* @returns WebexWebhook
|
|
1111
|
+
* @throws ApiError
|
|
1112
|
+
*/
|
|
1113
|
+
public static aiBotV1BotsWebhooksWebexCreate(
|
|
1114
|
+
name: string,
|
|
1115
|
+
org: string,
|
|
1116
|
+
requestBody: WebexWebhook,
|
|
1117
|
+
): CancelablePromise<WebexWebhook> {
|
|
1118
|
+
return __request(OpenAPI, {
|
|
1119
|
+
method: 'POST',
|
|
1120
|
+
url: '/api/ai-bot/v1/bots/webhooks/{org}/webex/{name}/',
|
|
1121
|
+
path: {
|
|
1122
|
+
'name': name,
|
|
1123
|
+
'org': org,
|
|
1124
|
+
},
|
|
1125
|
+
body: requestBody,
|
|
1126
|
+
mediaType: 'application/json',
|
|
1127
|
+
});
|
|
1128
|
+
}
|
|
1129
|
+
/**
|
|
1130
|
+
* Respond to whatsapp's webhook challenge.
|
|
1131
|
+
* Parameters Required include the tenant key (org) and the name of the bot: (name)
|
|
1132
|
+
* @param name
|
|
1133
|
+
* @param org
|
|
1134
|
+
* @returns WhatAppWebHook
|
|
1135
|
+
* @throws ApiError
|
|
1136
|
+
*/
|
|
1137
|
+
public static aiBotV1BotsWebhooksWhatsappRetrieve(
|
|
1138
|
+
name: string,
|
|
1139
|
+
org: string,
|
|
1140
|
+
): CancelablePromise<WhatAppWebHook> {
|
|
1141
|
+
return __request(OpenAPI, {
|
|
1142
|
+
method: 'GET',
|
|
1143
|
+
url: '/api/ai-bot/v1/bots/webhooks/{org}/whatsapp/{name}/',
|
|
1144
|
+
path: {
|
|
1145
|
+
'name': name,
|
|
1146
|
+
'org': org,
|
|
1147
|
+
},
|
|
1148
|
+
});
|
|
1149
|
+
}
|
|
1150
|
+
/**
|
|
1151
|
+
* Accept and process webhook events from whatsapp.
|
|
1152
|
+
* @param name
|
|
1153
|
+
* @param org
|
|
1154
|
+
* @param requestBody
|
|
1155
|
+
* @returns WhatAppWebHook
|
|
1156
|
+
* @throws ApiError
|
|
1157
|
+
*/
|
|
1158
|
+
public static aiBotV1BotsWebhooksWhatsappCreate(
|
|
1159
|
+
name: string,
|
|
1160
|
+
org: string,
|
|
1161
|
+
requestBody: WhatAppWebHook,
|
|
1162
|
+
): CancelablePromise<WhatAppWebHook> {
|
|
1163
|
+
return __request(OpenAPI, {
|
|
1164
|
+
method: 'POST',
|
|
1165
|
+
url: '/api/ai-bot/v1/bots/webhooks/{org}/whatsapp/{name}/',
|
|
1166
|
+
path: {
|
|
1167
|
+
'name': name,
|
|
1168
|
+
'org': org,
|
|
1169
|
+
},
|
|
1170
|
+
body: requestBody,
|
|
1171
|
+
mediaType: 'application/json',
|
|
1172
|
+
});
|
|
1173
|
+
}
|
|
1174
|
+
}
|