@iblai/iblai-api 2025.11.14-teams-bot-renovation-3-ai → 2025.11.18-teams-bot-renovation-core
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 +3454 -25345
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3455 -25337
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +3454 -25345
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +3 -425
- package/dist/types/models/CredentialProviderConfig.d.ts +29 -0
- package/dist/types/models/ExternalCredentialMapping.d.ts +39 -0
- package/dist/types/models/{StripeCheckoutSessionRequestModeEnum.d.ts → ModeEnum.d.ts} +1 -1
- package/dist/types/models/Pagination.d.ts +11 -16
- package/dist/types/models/StripeCheckoutSessionRequest.d.ts +2 -2
- package/dist/types/services/AiAnalyticsService.d.ts +26 -4698
- package/dist/types/services/AnalyticsService.d.ts +4 -709
- package/dist/types/services/CredentialsService.d.ts +236 -69
- package/dist/types/services/SearchService.d.ts +0 -738
- package/package.json +1 -1
- package/sdk_schema.yml +24045 -71675
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +3 -425
- package/src/models/CredentialProviderConfig.ts +34 -0
- package/src/models/ExternalCredentialMapping.ts +44 -0
- package/src/models/{StripeCheckoutSessionRequestModeEnum.ts → ModeEnum.ts} +1 -1
- package/src/models/Pagination.ts +11 -16
- package/src/models/StripeCheckoutSessionRequest.ts +2 -2
- package/src/services/AiAnalyticsService.ts +5255 -12921
- package/src/services/AnalyticsService.ts +177 -1234
- package/src/services/CredentialsService.ts +961 -756
- package/src/services/SearchService.ts +398 -1459
- package/dist/types/models/AIGeneratedImage.d.ts +0 -13
- package/dist/types/models/AIUserProfileMemoryRelation.d.ts +0 -4
- package/dist/types/models/AIUserProfileRequest.d.ts +0 -4
- package/dist/types/models/AccessEnum.d.ts +0 -8
- package/dist/types/models/AccessTimesHeatmap.d.ts +0 -5
- package/dist/types/models/AccessibleMentorsByEmailRequest.d.ts +0 -13
- package/dist/types/models/AccessibleMentorsByEmailResponse.d.ts +0 -13
- package/dist/types/models/ActionBreakdown.d.ts +0 -10
- package/dist/types/models/AddMentorToDisclaimer.d.ts +0 -12
- package/dist/types/models/AlignMentorBubbleEnum.d.ts +0 -8
- package/dist/types/models/AnalyticsOverview.d.ts +0 -7
- package/dist/types/models/Answer.d.ts +0 -11
- package/dist/types/models/Artifact.d.ts +0 -56
- package/dist/types/models/ArtifactList.d.ts +0 -45
- package/dist/types/models/AssumedKnowledge.d.ts +0 -4
- package/dist/types/models/AssumedKnowledgeLevel.d.ts +0 -4
- package/dist/types/models/AudioToTextRequest.d.ts +0 -3
- package/dist/types/models/AudioToTextResponse.d.ts +0 -3
- package/dist/types/models/AuthTypeEnum.d.ts +0 -10
- package/dist/types/models/AutoMemoryPrompt.d.ts +0 -4
- package/dist/types/models/BaseFinanceResponse.d.ts +0 -37
- package/dist/types/models/BillingPeriod.d.ts +0 -8
- package/dist/types/models/Bot.d.ts +0 -15
- package/dist/types/models/BotCommand.d.ts +0 -6
- package/dist/types/models/BotCreate.d.ts +0 -12
- package/dist/types/models/Breakdown.d.ts +0 -11
- package/dist/types/models/CallAuthenticationRequest.d.ts +0 -17
- package/dist/types/models/CallAuthenticationResponse.d.ts +0 -21
- package/dist/types/models/CallConfiguration.d.ts +0 -26
- package/dist/types/models/CallConfigurationModeEnum.d.ts +0 -8
- package/dist/types/models/ChatHistory.d.ts +0 -9
- package/dist/types/models/ChatHistoryFilterData.d.ts +0 -9
- package/dist/types/models/ChatHistoryFilterUser.d.ts +0 -5
- package/dist/types/models/ChatHistoryItem.d.ts +0 -5
- package/dist/types/models/ChatHistorySessionId.d.ts +0 -3
- package/dist/types/models/ChatSessionRequest.d.ts +0 -15
- package/dist/types/models/ChatSessionResponse.d.ts +0 -6
- package/dist/types/models/CheckDocumentTrainingStatus.d.ts +0 -10
- package/dist/types/models/ComparisonInfo.d.ts +0 -29
- package/dist/types/models/ComponentBlock.d.ts +0 -9
- package/dist/types/models/ComponentBlockTypeEnum.d.ts +0 -8
- package/dist/types/models/ConnectedService.d.ts +0 -24
- package/dist/types/models/ConversationChartPoint.d.ts +0 -4
- package/dist/types/models/ConversationDetailResponse.d.ts +0 -4
- package/dist/types/models/ConversationListItem.d.ts +0 -24
- package/dist/types/models/ConversationListResponse.d.ts +0 -6
- package/dist/types/models/ConversationMessage.d.ts +0 -11
- package/dist/types/models/ConversationRating.d.ts +0 -6
- package/dist/types/models/ConversationSummary.d.ts +0 -5
- package/dist/types/models/ConversationVolume.d.ts +0 -4
- package/dist/types/models/Conversations.d.ts +0 -33
- package/dist/types/models/ConversationsChart.d.ts +0 -5
- package/dist/types/models/Cost.d.ts +0 -3
- package/dist/types/models/CostPerTenant.d.ts +0 -6
- package/dist/types/models/CourseCreationTask.d.ts +0 -31
- package/dist/types/models/CourseCreationTaskFile.d.ts +0 -7
- package/dist/types/models/CourseCreationTaskStatusEnum.d.ts +0 -16
- package/dist/types/models/CourseRecommendation.d.ts +0 -49
- package/dist/types/models/CrawlerPatternTypeEnum.d.ts +0 -8
- package/dist/types/models/CredentialRequest.d.ts +0 -14
- package/dist/types/models/CrontabSchedule.d.ts +0 -22
- package/dist/types/models/CurrentUsersResponse.d.ts +0 -8
- package/dist/types/models/CustomInstructionResponse.d.ts +0 -13
- package/dist/types/models/DataSet.d.ts +0 -21
- package/dist/types/models/DataSetCreate.d.ts +0 -12
- package/dist/types/models/DataSetStatusEnum.d.ts +0 -12
- package/dist/types/models/DateRange.d.ts +0 -4
- package/dist/types/models/Disclaimer.d.ts +0 -17
- package/dist/types/models/DisclaimerAgreement.d.ts +0 -11
- package/dist/types/models/DisclaimerScopeEnum.d.ts +0 -8
- package/dist/types/models/DiscordConfig.d.ts +0 -7
- package/dist/types/models/DiscordUserConfig.d.ts +0 -10
- package/dist/types/models/DiscordWebhook.d.ts +0 -6
- package/dist/types/models/Document.d.ts +0 -41
- package/dist/types/models/DocumentFacet.d.ts +0 -17
- package/dist/types/models/DocumentFromPoolRequest.d.ts +0 -10
- package/dist/types/models/DocumentSearchResponse.d.ts +0 -35
- package/dist/types/models/DocumentSettingsResponse.d.ts +0 -3
- package/dist/types/models/EdxCourse.d.ts +0 -11
- package/dist/types/models/ElevenlabsCustomVoice.d.ts +0 -4
- package/dist/types/models/ElevenlabsCustomVoiceResponse.d.ts +0 -8
- package/dist/types/models/EmailPromptDetail.d.ts +0 -13
- package/dist/types/models/EmailPromptList.d.ts +0 -11
- package/dist/types/models/EmailPromptSummary.d.ts +0 -5
- package/dist/types/models/Entity.d.ts +0 -11
- package/dist/types/models/EntityTypeEnum.d.ts +0 -10
- package/dist/types/models/ExternalServiceInfo.d.ts +0 -6
- package/dist/types/models/FileUploadURLRequest.d.ts +0 -21
- package/dist/types/models/FileUploadURLResponse.d.ts +0 -25
- package/dist/types/models/FinanceDetailsResponse.d.ts +0 -13
- package/dist/types/models/FinanceFilters.d.ts +0 -15
- package/dist/types/models/FreeUsageCount.d.ts +0 -3
- package/dist/types/models/FullCourse.d.ts +0 -13
- package/dist/types/models/GreetingMethodEnum.d.ts +0 -8
- package/dist/types/models/GuidedPrompt.d.ts +0 -4
- package/dist/types/models/GuidedPromptsResponse.d.ts +0 -5
- package/dist/types/models/HeygenMarketingVideoDetail.d.ts +0 -8
- package/dist/types/models/HeygenMarketingVideoList.d.ts +0 -6
- package/dist/types/models/HeygenTemplateRequest.d.ts +0 -5
- package/dist/types/models/HeygenTemplateResponseSingle.d.ts +0 -6
- package/dist/types/models/HeygenVideoDetail.d.ts +0 -8
- package/dist/types/models/HeygenVideoRequest.d.ts +0 -5
- package/dist/types/models/HumanSupportTicket.d.ts +0 -23
- package/dist/types/models/HumanSupportTicketStatusEnum.d.ts +0 -10
- package/dist/types/models/InputQuestion.d.ts +0 -6
- package/dist/types/models/IntegrationCredential.d.ts +0 -10
- package/dist/types/models/IntegrationCredentialSchema.d.ts +0 -6
- package/dist/types/models/IntialQuestionAnswer.d.ts +0 -3
- package/dist/types/models/InvoiceReportResponse.d.ts +0 -13
- package/dist/types/models/JobRun.d.ts +0 -11
- package/dist/types/models/KindEnum.d.ts +0 -10
- package/dist/types/models/LLMCredentialRequest.d.ts +0 -14
- package/dist/types/models/LLMCredentialResponse.d.ts +0 -10
- package/dist/types/models/LLMCredentialSchema.d.ts +0 -6
- package/dist/types/models/LLMModelForTenant.d.ts +0 -6
- package/dist/types/models/LLMQuestion.d.ts +0 -15
- package/dist/types/models/LLMResponse.d.ts +0 -18
- package/dist/types/models/LLMTracesListResponse.d.ts +0 -5
- package/dist/types/models/LanguagesView.d.ts +0 -5
- package/dist/types/models/LinkCourseRequest.d.ts +0 -3
- package/dist/types/models/LinkCourseResponse.d.ts +0 -5
- package/dist/types/models/LlmProviderEnum.d.ts +0 -8
- package/dist/types/models/MCPServer.d.ts +0 -47
- package/dist/types/models/MCPServerConnection.d.ts +0 -47
- package/dist/types/models/MCPServerConnectionScopeEnum.d.ts +0 -10
- package/dist/types/models/MaskedIntegrationCredential.d.ts +0 -10
- package/dist/types/models/MaskedLLMCredential.d.ts +0 -10
- package/dist/types/models/MemoryComponentData.d.ts +0 -5
- package/dist/types/models/MemoryComponentMemory.d.ts +0 -4
- package/dist/types/models/MemoryComponentMemoryDetail.d.ts +0 -8
- package/dist/types/models/MemoryComponentResponse.d.ts +0 -5
- package/dist/types/models/MemoryProgress.d.ts +0 -8
- package/dist/types/models/MemoryStatusRequestView.d.ts +0 -6
- package/dist/types/models/MemoryStatusView.d.ts +0 -6
- package/dist/types/models/Mentor.d.ts +0 -138
- package/dist/types/models/MentorAudience.d.ts +0 -5
- package/dist/types/models/MentorBreakdown.d.ts +0 -9
- package/dist/types/models/MentorCategory.d.ts +0 -9
- package/dist/types/models/MentorCategoryCreate.d.ts +0 -11
- package/dist/types/models/MentorCategoryGroup.d.ts +0 -11
- package/dist/types/models/MentorCategoryGroupCreate.d.ts +0 -11
- package/dist/types/models/MentorCreate.d.ts +0 -128
- package/dist/types/models/MentorCustomVoice.d.ts +0 -4
- package/dist/types/models/MentorCustomVoiceResponse.d.ts +0 -4
- package/dist/types/models/MentorData.d.ts +0 -7
- package/dist/types/models/MentorDetailAnalytics.d.ts +0 -6
- package/dist/types/models/MentorEval.d.ts +0 -11
- package/dist/types/models/MentorEvalQuestion.d.ts +0 -5
- package/dist/types/models/MentorEvalQuestionRequest.d.ts +0 -4
- package/dist/types/models/MentorEvalReport.d.ts +0 -10
- package/dist/types/models/MentorEvalRequest.d.ts +0 -8
- package/dist/types/models/MentorFacet.d.ts +0 -17
- package/dist/types/models/MentorFork.d.ts +0 -5
- package/dist/types/models/MentorFromTemplateWithSettingRequest.d.ts +0 -62
- package/dist/types/models/MentorMemorySettingsRequest.d.ts +0 -6
- package/dist/types/models/MentorMemorySettingsResponse.d.ts +0 -6
- package/dist/types/models/MentorMetadata.d.ts +0 -5
- package/dist/types/models/MentorScenario.d.ts +0 -6
- package/dist/types/models/MentorScenarioPrompt.d.ts +0 -5
- package/dist/types/models/MentorSearchResponse.d.ts +0 -35
- package/dist/types/models/MentorSession.d.ts +0 -4
- package/dist/types/models/MentorSettings.d.ts +0 -97
- package/dist/types/models/MentorSettingsPublic.d.ts +0 -74
- package/dist/types/models/MentorSettingsRequest.d.ts +0 -75
- package/dist/types/models/MentorSummary.d.ts +0 -5
- package/dist/types/models/MentorType.d.ts +0 -5
- package/dist/types/models/MentorUserSetting.d.ts +0 -4
- package/dist/types/models/MentorVisibilityEnum.d.ts +0 -10
- package/dist/types/models/MentorWizard.d.ts +0 -4
- package/dist/types/models/MessageStatistics.d.ts +0 -5
- package/dist/types/models/MessageView.d.ts +0 -10
- package/dist/types/models/MessageViewRequest.d.ts +0 -8
- package/dist/types/models/MessageViewUpdatResponse.d.ts +0 -3
- package/dist/types/models/Metadata.d.ts +0 -5
- package/dist/types/models/MetricChange.d.ts +0 -4
- package/dist/types/models/MetricInfo.d.ts +0 -5
- package/dist/types/models/ModelCost.d.ts +0 -4
- package/dist/types/models/ModerationLog.d.ts +0 -12
- package/dist/types/models/NoChatMessagesFound.d.ts +0 -3
- package/dist/types/models/OAuthProvider.d.ts +0 -18
- package/dist/types/models/OAuthService.d.ts +0 -17
- package/dist/types/models/OAuthStartResponse.d.ts +0 -3
- package/dist/types/models/Observation.d.ts +0 -31
- package/dist/types/models/OvertimeData.d.ts +0 -13
- package/dist/types/models/PageContent.d.ts +0 -6
- package/dist/types/models/PaginatedAIGeneratedImageList.d.ts +0 -7
- package/dist/types/models/PaginatedArtifactListList.d.ts +0 -7
- package/dist/types/models/PaginatedConversationsList.d.ts +0 -7
- package/dist/types/models/PaginatedCourseCreationTaskFileList.d.ts +0 -7
- package/dist/types/models/PaginatedCourseCreationTaskList.d.ts +0 -7
- package/dist/types/models/PaginatedDataSetList.d.ts +0 -7
- package/dist/types/models/PaginatedDisclaimerAgreementList.d.ts +0 -7
- package/dist/types/models/PaginatedDisclaimerList.d.ts +0 -7
- package/dist/types/models/PaginatedEdxCourseList.d.ts +0 -7
- package/dist/types/models/PaginatedEmailPromptListList.d.ts +0 -7
- package/dist/types/models/PaginatedHeygenMarketingVideoListList.d.ts +0 -7
- package/dist/types/models/PaginatedHeygenTemplateResponseSingleList.d.ts +0 -7
- package/dist/types/models/PaginatedHumanSupportTicketList.d.ts +0 -7
- package/dist/types/models/PaginatedJobRunList.d.ts +0 -7
- package/dist/types/models/PaginatedMCPServerConnectionList.d.ts +0 -7
- package/dist/types/models/PaginatedMCPServerList.d.ts +0 -7
- package/dist/types/models/PaginatedMentorList.d.ts +0 -7
- package/dist/types/models/PaginatedModerationLogList.d.ts +0 -7
- package/dist/types/models/PaginatedObservationList.d.ts +0 -7
- package/dist/types/models/PaginatedPeriodicAgentList.d.ts +0 -7
- package/dist/types/models/PaginatedPeriodicAgentLogList.d.ts +0 -7
- package/dist/types/models/PaginatedPlayWrightScriptList.d.ts +0 -7
- package/dist/types/models/PaginatedProjectList.d.ts +0 -7
- package/dist/types/models/PaginatedRetrieverDocumentEmbeddingList.d.ts +0 -7
- package/dist/types/models/PaginatedSectionList.d.ts +0 -7
- package/dist/types/models/PaginatedSubSectionList.d.ts +0 -7
- package/dist/types/models/PaginatedTicketMessageList.d.ts +0 -7
- package/dist/types/models/PaginatedTopicStatisticsResponse.d.ts +0 -7
- package/dist/types/models/PaginatedTraceList.d.ts +0 -7
- package/dist/types/models/PaginatedTrainingList.d.ts +0 -7
- package/dist/types/models/PaginatedUnitList.d.ts +0 -7
- package/dist/types/models/PaginatedUserEdxMemoryList.d.ts +0 -7
- package/dist/types/models/PaginatedUserMemoryList.d.ts +0 -7
- package/dist/types/models/PaginatedVeoVideoListList.d.ts +0 -7
- package/dist/types/models/PaginatedVoiceList.d.ts +0 -7
- package/dist/types/models/PatchedArtifact.d.ts +0 -56
- package/dist/types/models/PatchedBotCommand.d.ts +0 -6
- package/dist/types/models/PatchedBotCreate.d.ts +0 -12
- package/dist/types/models/PatchedCallConfiguration.d.ts +0 -26
- package/dist/types/models/PatchedConversations.d.ts +0 -33
- package/dist/types/models/PatchedCourseCreationTaskFile.d.ts +0 -7
- package/dist/types/models/PatchedCredentialRequest.d.ts +0 -14
- package/dist/types/models/PatchedDataSet.d.ts +0 -21
- package/dist/types/models/PatchedDisclaimer.d.ts +0 -17
- package/dist/types/models/PatchedDiscordConfig.d.ts +0 -7
- package/dist/types/models/PatchedDiscordUserConfig.d.ts +0 -10
- package/dist/types/models/PatchedHumanSupportTicket.d.ts +0 -23
- package/dist/types/models/PatchedLLMCredentialRequest.d.ts +0 -14
- package/dist/types/models/PatchedMCPServer.d.ts +0 -47
- package/dist/types/models/PatchedMCPServerConnection.d.ts +0 -47
- package/dist/types/models/PatchedMentorCategoryGroupCreate.d.ts +0 -11
- package/dist/types/models/PatchedMentorCreate.d.ts +0 -128
- package/dist/types/models/PatchedPeriodicAgentCreate.d.ts +0 -41
- package/dist/types/models/PatchedPlayWrightScript.d.ts +0 -12
- package/dist/types/models/PatchedProject.d.ts +0 -51
- package/dist/types/models/PatchedPrompt.d.ts +0 -22
- package/dist/types/models/PatchedSection.d.ts +0 -9
- package/dist/types/models/PatchedSlackConfig.d.ts +0 -8
- package/dist/types/models/PatchedSlackUserConfig.d.ts +0 -17
- package/dist/types/models/PatchedSubSection.d.ts +0 -9
- package/dist/types/models/PatchedTeamsConfig.d.ts +0 -7
- package/dist/types/models/PatchedTicketMessage.d.ts +0 -10
- package/dist/types/models/PatchedTrainingCreate.d.ts +0 -31
- package/dist/types/models/PatchedUnit.d.ts +0 -11
- package/dist/types/models/PatchedWebexConfig.d.ts +0 -10
- package/dist/types/models/PatchedWhatsappConfig.d.ts +0 -11
- package/dist/types/models/PatchedWhatsappUserConfig.d.ts +0 -10
- package/dist/types/models/PeriodInfo.d.ts +0 -21
- package/dist/types/models/PeriodicAgent.d.ts +0 -42
- package/dist/types/models/PeriodicAgentCreate.d.ts +0 -41
- package/dist/types/models/PeriodicAgentLog.d.ts +0 -11
- package/dist/types/models/PeriodicAgentLogStatusEnum.d.ts +0 -10
- package/dist/types/models/PeriodicAgentStatistics.d.ts +0 -7
- package/dist/types/models/PeriodicTask.d.ts +0 -21
- package/dist/types/models/PieChartData.d.ts +0 -5
- package/dist/types/models/PieChartSegment.d.ts +0 -4
- package/dist/types/models/PinnedMessageCreate.d.ts +0 -9
- package/dist/types/models/PinnedMessageGet.d.ts +0 -7
- package/dist/types/models/PinnedMessageRequest.d.ts +0 -6
- package/dist/types/models/PlatformPrompt.d.ts +0 -34
- package/dist/types/models/PlatformPromptResponse.d.ts +0 -16
- package/dist/types/models/PlayWrightScript.d.ts +0 -12
- package/dist/types/models/PredictiveAnalyticsRequest.d.ts +0 -4
- package/dist/types/models/PredictiveAnalyticsResponse.d.ts +0 -4
- package/dist/types/models/PreviousAgentStatusEnum.d.ts +0 -12
- package/dist/types/models/Project.d.ts +0 -51
- package/dist/types/models/ProjectMentor.d.ts +0 -11
- package/dist/types/models/Prompt.d.ts +0 -22
- package/dist/types/models/PromptCategory.d.ts +0 -7
- package/dist/types/models/PromptFacet.d.ts +0 -17
- package/dist/types/models/PromptSearchResponse.d.ts +0 -35
- package/dist/types/models/PromptVisibilityEnum.d.ts +0 -10
- package/dist/types/models/Provider05cEnum.d.ts +0 -14
- package/dist/types/models/Provider637Enum.d.ts +0 -10
- package/dist/types/models/Provider63aEnum.d.ts +0 -6
- package/dist/types/models/ProviderBreakdown.d.ts +0 -8
- package/dist/types/models/QuestionCardTag.d.ts +0 -8
- package/dist/types/models/QuestionRequest.d.ts +0 -15
- package/dist/types/models/QuestionResponse.d.ts +0 -10
- package/dist/types/models/RatingAverageRecord.d.ts +0 -10
- package/dist/types/models/RatingEnum.d.ts +0 -8
- package/dist/types/models/RatingRecord.d.ts +0 -4
- package/dist/types/models/RatingsOvertime.d.ts +0 -5
- package/dist/types/models/RecentlyAccessedMentor.d.ts +0 -10
- package/dist/types/models/RecommendCourseBlock.d.ts +0 -3
- package/dist/types/models/RecommendCourseResponse.d.ts +0 -3
- package/dist/types/models/RecommendationTypeEnum.d.ts +0 -8
- package/dist/types/models/RecommendedCoursesResponse.d.ts +0 -33
- package/dist/types/models/RelatedText.d.ts +0 -3
- package/dist/types/models/RemoveMentorFromDisclaimer.d.ts +0 -12
- package/dist/types/models/RequestDataVariable.d.ts +0 -14
- package/dist/types/models/ResourceScrappedData.d.ts +0 -13
- package/dist/types/models/ResourceScrappedDataStatusEnum.d.ts +0 -12
- package/dist/types/models/ResponseDataVariable.d.ts +0 -14
- package/dist/types/models/RetreiverTrainViewRequest.d.ts +0 -10
- package/dist/types/models/RetreiverTrainViewResponse.d.ts +0 -6
- package/dist/types/models/RetrieveTask.d.ts +0 -3
- package/dist/types/models/RetrieverDocumentEmbedding.d.ts +0 -30
- package/dist/types/models/RetrieverDocumentEmbeddingRequest.d.ts +0 -66
- package/dist/types/models/RetrieverRequestSearch.d.ts +0 -10
- package/dist/types/models/RetrieverRequestSearchDocument.d.ts +0 -10
- package/dist/types/models/RetrieverResponseSearch.d.ts +0 -7
- package/dist/types/models/ReuestDataVariableList.d.ts +0 -4
- package/dist/types/models/RunMentorEval.d.ts +0 -3
- package/dist/types/models/ScanWebhookRequest.d.ts +0 -6
- package/dist/types/models/ScanWebhookResponse.d.ts +0 -3
- package/dist/types/models/Section.d.ts +0 -9
- package/dist/types/models/SectionWithChildren.d.ts +0 -11
- package/dist/types/models/SeedMentorsView.d.ts +0 -3
- package/dist/types/models/SentimentSummary.d.ts +0 -4
- package/dist/types/models/SessionBrowserScreenshot.d.ts +0 -8
- package/dist/types/models/SessionChartPoint.d.ts +0 -4
- package/dist/types/models/SessionDetail.d.ts +0 -6
- package/dist/types/models/SessionMemoryAttachment.d.ts +0 -3
- package/dist/types/models/SessionMemoryStorage.d.ts +0 -6
- package/dist/types/models/SessionsChart.d.ts +0 -5
- package/dist/types/models/ShareableMentorLink.d.ts +0 -8
- package/dist/types/models/ShellLogs.d.ts +0 -3
- package/dist/types/models/SlackConfig.d.ts +0 -8
- package/dist/types/models/SlackUserConfig.d.ts +0 -17
- package/dist/types/models/SlackWebhook.d.ts +0 -6
- package/dist/types/models/SpacedRepetitionLearningPath.d.ts +0 -3
- package/dist/types/models/SpacedRepetitionQuestionStats.d.ts +0 -5
- package/dist/types/models/StarMentor.d.ts +0 -7
- package/dist/types/models/Status6eeEnum.d.ts +0 -12
- package/dist/types/models/Step.d.ts +0 -9
- package/dist/types/models/StepStatusEnum.d.ts +0 -10
- package/dist/types/models/SttProviderEnum.d.ts +0 -12
- package/dist/types/models/StudentChatMessage.d.ts +0 -4
- package/dist/types/models/StylesView.d.ts +0 -4
- package/dist/types/models/SubSection.d.ts +0 -9
- package/dist/types/models/SubSectionWithChildren.d.ts +0 -11
- package/dist/types/models/Subject.d.ts +0 -5
- package/dist/types/models/Summary.d.ts +0 -9
- package/dist/types/models/TagsView.d.ts +0 -5
- package/dist/types/models/TargetSystemEnum.d.ts +0 -8
- package/dist/types/models/TaskView.d.ts +0 -3
- package/dist/types/models/TeamsConfig.d.ts +0 -7
- package/dist/types/models/TeamsWebhook.d.ts +0 -17
- package/dist/types/models/TemplateMentor.d.ts +0 -9
- package/dist/types/models/TenantMentorTraces.d.ts +0 -6
- package/dist/types/models/ThemeEnum.d.ts +0 -8
- package/dist/types/models/TicketMessage.d.ts +0 -10
- package/dist/types/models/TonesView.d.ts +0 -4
- package/dist/types/models/ToolCategory.d.ts +0 -5
- package/dist/types/models/ToolResponse.d.ts +0 -15
- package/dist/types/models/TopicDetail.d.ts +0 -8
- package/dist/types/models/TopicDetails.d.ts +0 -5
- package/dist/types/models/TopicModel.d.ts +0 -3
- package/dist/types/models/TopicRecord.d.ts +0 -4
- package/dist/types/models/TopicStatistics.d.ts +0 -7
- package/dist/types/models/TopicStatisticsResponse.d.ts +0 -6
- package/dist/types/models/TopicSummaryView.d.ts +0 -4
- package/dist/types/models/TopicsOverview.d.ts +0 -22
- package/dist/types/models/TopicsOverviewMetric.d.ts +0 -21
- package/dist/types/models/Trace.d.ts +0 -17
- package/dist/types/models/TrainChatSessionDocumentView.d.ts +0 -6
- package/dist/types/models/TrainChatSessionDocumentViewRequest.d.ts +0 -6
- package/dist/types/models/TrainDocumentViewRequest.d.ts +0 -82
- package/dist/types/models/TrainDocumentViewResponse.d.ts +0 -15
- package/dist/types/models/Training.d.ts +0 -41
- package/dist/types/models/TrainingCreate.d.ts +0 -31
- package/dist/types/models/TrainingStatusEnum.d.ts +0 -12
- package/dist/types/models/TransportEnum.d.ts +0 -10
- package/dist/types/models/TrendEntry.d.ts +0 -4
- package/dist/types/models/TriggerRequest.d.ts +0 -5
- package/dist/types/models/TriggerResponse.d.ts +0 -6
- package/dist/types/models/TtsProviderEnum.d.ts +0 -10
- package/dist/types/models/TypeC42Enum.d.ts +0 -8
- package/dist/types/models/Unit.d.ts +0 -11
- package/dist/types/models/UnitWithChildren.d.ts +0 -13
- package/dist/types/models/UseMainCreds.d.ts +0 -3
- package/dist/types/models/UserAllChatMemoryView.d.ts +0 -7
- package/dist/types/models/UserCatalogItemMemoryView.d.ts +0 -14
- package/dist/types/models/UserChatByPeriod.d.ts +0 -4
- package/dist/types/models/UserChatFeedback.d.ts +0 -15
- package/dist/types/models/UserChatFeedbackCount.d.ts +0 -4
- package/dist/types/models/UserChatMemoryStatusRequestView.d.ts +0 -6
- package/dist/types/models/UserChatMemoryStatusView.d.ts +0 -6
- package/dist/types/models/UserChatMemoryUpdateView.d.ts +0 -10
- package/dist/types/models/UserCountRecord.d.ts +0 -4
- package/dist/types/models/UserDetail.d.ts +0 -7
- package/dist/types/models/UserEdxMemory.d.ts +0 -15
- package/dist/types/models/UserMemory.d.ts +0 -18
- package/dist/types/models/UserMemoryContextRequest.d.ts +0 -13
- package/dist/types/models/UserMemoryContextResponse.d.ts +0 -12
- package/dist/types/models/UserMemoryEntry.d.ts +0 -9
- package/dist/types/models/UserMemoryEntryRequest.d.ts +0 -5
- package/dist/types/models/UserMemoryRequest.d.ts +0 -12
- package/dist/types/models/UserMetric.d.ts +0 -4
- package/dist/types/models/UserMetricsResponse.d.ts +0 -7
- package/dist/types/models/UserSentimentCountView.d.ts +0 -4
- package/dist/types/models/UserTrendByPeriod.d.ts +0 -5
- package/dist/types/models/V2GlobalMentorSearchResponse.d.ts +0 -29
- package/dist/types/models/V2PersonalizedMentorsResponse.d.ts +0 -29
- package/dist/types/models/V2RecommendationResponse.d.ts +0 -65
- package/dist/types/models/VectorResult.d.ts +0 -10
- package/dist/types/models/VeoVideoDetail.d.ts +0 -10
- package/dist/types/models/VeoVideoList.d.ts +0 -6
- package/dist/types/models/VeoVideoRequest.d.ts +0 -5
- package/dist/types/models/VideoCaption.d.ts +0 -3
- package/dist/types/models/Voice.d.ts +0 -9
- package/dist/types/models/WebResource.d.ts +0 -9
- package/dist/types/models/WebResourceCard.d.ts +0 -7
- package/dist/types/models/WebResourcesQuery.d.ts +0 -3
- package/dist/types/models/WebexConfig.d.ts +0 -10
- package/dist/types/models/WebexWebhook.d.ts +0 -4
- package/dist/types/models/WhatAppWebHook.d.ts +0 -3
- package/dist/types/models/WhatsappConfig.d.ts +0 -11
- package/dist/types/models/WhatsappUserConfig.d.ts +0 -10
- package/dist/types/services/AiAccountService.d.ts +0 -538
- package/dist/types/services/AiBotService.d.ts +0 -650
- package/dist/types/services/AiFinetuningService.d.ts +0 -232
- package/dist/types/services/AiIndexService.d.ts +0 -399
- package/dist/types/services/AiMarketingService.d.ts +0 -38
- package/dist/types/services/AiMediaService.d.ts +0 -247
- package/dist/types/services/AiMentorService.d.ts +0 -6729
- package/dist/types/services/AiPromptService.d.ts +0 -1035
- package/dist/types/services/AiSearchService.d.ts +0 -451
- package/src/models/AIGeneratedImage.ts +0 -18
- package/src/models/AIUserProfileMemoryRelation.ts +0 -9
- package/src/models/AIUserProfileRequest.ts +0 -9
- package/src/models/AccessEnum.ts +0 -12
- package/src/models/AccessTimesHeatmap.ts +0 -10
- package/src/models/AccessibleMentorsByEmailRequest.ts +0 -18
- package/src/models/AccessibleMentorsByEmailResponse.ts +0 -18
- package/src/models/ActionBreakdown.ts +0 -15
- package/src/models/AddMentorToDisclaimer.ts +0 -17
- package/src/models/AlignMentorBubbleEnum.ts +0 -12
- package/src/models/AnalyticsOverview.ts +0 -12
- package/src/models/Answer.ts +0 -16
- package/src/models/Artifact.ts +0 -61
- package/src/models/ArtifactList.ts +0 -50
- package/src/models/AssumedKnowledge.ts +0 -9
- package/src/models/AssumedKnowledgeLevel.ts +0 -9
- package/src/models/AudioToTextRequest.ts +0 -8
- package/src/models/AudioToTextResponse.ts +0 -8
- package/src/models/AuthTypeEnum.ts +0 -14
- package/src/models/AutoMemoryPrompt.ts +0 -9
- package/src/models/BaseFinanceResponse.ts +0 -42
- package/src/models/BillingPeriod.ts +0 -13
- package/src/models/Bot.ts +0 -20
- package/src/models/BotCommand.ts +0 -11
- package/src/models/BotCreate.ts +0 -17
- package/src/models/Breakdown.ts +0 -16
- package/src/models/CallAuthenticationRequest.ts +0 -22
- package/src/models/CallAuthenticationResponse.ts +0 -26
- package/src/models/CallConfiguration.ts +0 -31
- package/src/models/CallConfigurationModeEnum.ts +0 -12
- package/src/models/ChatHistory.ts +0 -14
- package/src/models/ChatHistoryFilterData.ts +0 -14
- package/src/models/ChatHistoryFilterUser.ts +0 -10
- package/src/models/ChatHistoryItem.ts +0 -10
- package/src/models/ChatHistorySessionId.ts +0 -8
- package/src/models/ChatSessionRequest.ts +0 -20
- package/src/models/ChatSessionResponse.ts +0 -11
- package/src/models/CheckDocumentTrainingStatus.ts +0 -15
- package/src/models/ComparisonInfo.ts +0 -34
- package/src/models/ComponentBlock.ts +0 -14
- package/src/models/ComponentBlockTypeEnum.ts +0 -12
- package/src/models/ConnectedService.ts +0 -29
- package/src/models/ConversationChartPoint.ts +0 -9
- package/src/models/ConversationDetailResponse.ts +0 -9
- package/src/models/ConversationListItem.ts +0 -29
- package/src/models/ConversationListResponse.ts +0 -11
- package/src/models/ConversationMessage.ts +0 -16
- package/src/models/ConversationRating.ts +0 -11
- package/src/models/ConversationSummary.ts +0 -10
- package/src/models/ConversationVolume.ts +0 -9
- package/src/models/Conversations.ts +0 -38
- package/src/models/ConversationsChart.ts +0 -10
- package/src/models/Cost.ts +0 -8
- package/src/models/CostPerTenant.ts +0 -11
- package/src/models/CourseCreationTask.ts +0 -36
- package/src/models/CourseCreationTaskFile.ts +0 -12
- package/src/models/CourseCreationTaskStatusEnum.ts +0 -20
- package/src/models/CourseRecommendation.ts +0 -54
- package/src/models/CrawlerPatternTypeEnum.ts +0 -12
- package/src/models/CredentialRequest.ts +0 -19
- package/src/models/CrontabSchedule.ts +0 -27
- package/src/models/CurrentUsersResponse.ts +0 -13
- package/src/models/CustomInstructionResponse.ts +0 -18
- package/src/models/DataSet.ts +0 -26
- package/src/models/DataSetCreate.ts +0 -17
- package/src/models/DataSetStatusEnum.ts +0 -16
- package/src/models/DateRange.ts +0 -9
- package/src/models/Disclaimer.ts +0 -22
- package/src/models/DisclaimerAgreement.ts +0 -16
- package/src/models/DisclaimerScopeEnum.ts +0 -12
- package/src/models/DiscordConfig.ts +0 -12
- package/src/models/DiscordUserConfig.ts +0 -15
- package/src/models/DiscordWebhook.ts +0 -11
- package/src/models/Document.ts +0 -46
- package/src/models/DocumentFacet.ts +0 -22
- package/src/models/DocumentFromPoolRequest.ts +0 -15
- package/src/models/DocumentSearchResponse.ts +0 -40
- package/src/models/DocumentSettingsResponse.ts +0 -8
- package/src/models/EdxCourse.ts +0 -16
- package/src/models/ElevenlabsCustomVoice.ts +0 -9
- package/src/models/ElevenlabsCustomVoiceResponse.ts +0 -13
- package/src/models/EmailPromptDetail.ts +0 -18
- package/src/models/EmailPromptList.ts +0 -16
- package/src/models/EmailPromptSummary.ts +0 -10
- package/src/models/Entity.ts +0 -16
- package/src/models/EntityTypeEnum.ts +0 -14
- package/src/models/ExternalServiceInfo.ts +0 -11
- package/src/models/FileUploadURLRequest.ts +0 -26
- package/src/models/FileUploadURLResponse.ts +0 -30
- package/src/models/FinanceDetailsResponse.ts +0 -18
- package/src/models/FinanceFilters.ts +0 -20
- package/src/models/FreeUsageCount.ts +0 -8
- package/src/models/FullCourse.ts +0 -18
- package/src/models/GreetingMethodEnum.ts +0 -12
- package/src/models/GuidedPrompt.ts +0 -9
- package/src/models/GuidedPromptsResponse.ts +0 -10
- package/src/models/HeygenMarketingVideoDetail.ts +0 -13
- package/src/models/HeygenMarketingVideoList.ts +0 -11
- package/src/models/HeygenTemplateRequest.ts +0 -10
- package/src/models/HeygenTemplateResponseSingle.ts +0 -11
- package/src/models/HeygenVideoDetail.ts +0 -13
- package/src/models/HeygenVideoRequest.ts +0 -10
- package/src/models/HumanSupportTicket.ts +0 -28
- package/src/models/HumanSupportTicketStatusEnum.ts +0 -14
- package/src/models/InputQuestion.ts +0 -11
- package/src/models/IntegrationCredential.ts +0 -15
- package/src/models/IntegrationCredentialSchema.ts +0 -11
- package/src/models/IntialQuestionAnswer.ts +0 -8
- package/src/models/InvoiceReportResponse.ts +0 -18
- package/src/models/JobRun.ts +0 -16
- package/src/models/KindEnum.ts +0 -14
- package/src/models/LLMCredentialRequest.ts +0 -19
- package/src/models/LLMCredentialResponse.ts +0 -15
- package/src/models/LLMCredentialSchema.ts +0 -11
- package/src/models/LLMModelForTenant.ts +0 -11
- package/src/models/LLMQuestion.ts +0 -20
- package/src/models/LLMResponse.ts +0 -23
- package/src/models/LLMTracesListResponse.ts +0 -10
- package/src/models/LanguagesView.ts +0 -10
- package/src/models/LinkCourseRequest.ts +0 -8
- package/src/models/LinkCourseResponse.ts +0 -10
- package/src/models/LlmProviderEnum.ts +0 -12
- package/src/models/MCPServer.ts +0 -52
- package/src/models/MCPServerConnection.ts +0 -52
- package/src/models/MCPServerConnectionScopeEnum.ts +0 -14
- package/src/models/MaskedIntegrationCredential.ts +0 -15
- package/src/models/MaskedLLMCredential.ts +0 -15
- package/src/models/MemoryComponentData.ts +0 -10
- package/src/models/MemoryComponentMemory.ts +0 -9
- package/src/models/MemoryComponentMemoryDetail.ts +0 -13
- package/src/models/MemoryComponentResponse.ts +0 -10
- package/src/models/MemoryProgress.ts +0 -13
- package/src/models/MemoryStatusRequestView.ts +0 -11
- package/src/models/MemoryStatusView.ts +0 -11
- package/src/models/Mentor.ts +0 -143
- package/src/models/MentorAudience.ts +0 -10
- package/src/models/MentorBreakdown.ts +0 -14
- package/src/models/MentorCategory.ts +0 -14
- package/src/models/MentorCategoryCreate.ts +0 -16
- package/src/models/MentorCategoryGroup.ts +0 -16
- package/src/models/MentorCategoryGroupCreate.ts +0 -16
- package/src/models/MentorCreate.ts +0 -133
- package/src/models/MentorCustomVoice.ts +0 -9
- package/src/models/MentorCustomVoiceResponse.ts +0 -9
- package/src/models/MentorData.ts +0 -12
- package/src/models/MentorDetailAnalytics.ts +0 -11
- package/src/models/MentorEval.ts +0 -16
- package/src/models/MentorEvalQuestion.ts +0 -10
- package/src/models/MentorEvalQuestionRequest.ts +0 -9
- package/src/models/MentorEvalReport.ts +0 -15
- package/src/models/MentorEvalRequest.ts +0 -13
- package/src/models/MentorFacet.ts +0 -22
- package/src/models/MentorFork.ts +0 -10
- package/src/models/MentorFromTemplateWithSettingRequest.ts +0 -67
- package/src/models/MentorMemorySettingsRequest.ts +0 -11
- package/src/models/MentorMemorySettingsResponse.ts +0 -11
- package/src/models/MentorMetadata.ts +0 -10
- package/src/models/MentorScenario.ts +0 -11
- package/src/models/MentorScenarioPrompt.ts +0 -10
- package/src/models/MentorSearchResponse.ts +0 -40
- package/src/models/MentorSession.ts +0 -9
- package/src/models/MentorSettings.ts +0 -102
- package/src/models/MentorSettingsPublic.ts +0 -79
- package/src/models/MentorSettingsRequest.ts +0 -80
- package/src/models/MentorSummary.ts +0 -10
- package/src/models/MentorType.ts +0 -10
- package/src/models/MentorUserSetting.ts +0 -9
- package/src/models/MentorVisibilityEnum.ts +0 -14
- package/src/models/MentorWizard.ts +0 -9
- package/src/models/MessageStatistics.ts +0 -10
- package/src/models/MessageView.ts +0 -15
- package/src/models/MessageViewRequest.ts +0 -13
- package/src/models/MessageViewUpdatResponse.ts +0 -8
- package/src/models/Metadata.ts +0 -10
- package/src/models/MetricChange.ts +0 -9
- package/src/models/MetricInfo.ts +0 -10
- package/src/models/ModelCost.ts +0 -9
- package/src/models/ModerationLog.ts +0 -17
- package/src/models/NoChatMessagesFound.ts +0 -8
- package/src/models/OAuthProvider.ts +0 -23
- package/src/models/OAuthService.ts +0 -22
- package/src/models/OAuthStartResponse.ts +0 -8
- package/src/models/Observation.ts +0 -36
- package/src/models/OvertimeData.ts +0 -18
- package/src/models/PageContent.ts +0 -11
- package/src/models/PaginatedAIGeneratedImageList.ts +0 -12
- package/src/models/PaginatedArtifactListList.ts +0 -12
- package/src/models/PaginatedConversationsList.ts +0 -12
- package/src/models/PaginatedCourseCreationTaskFileList.ts +0 -12
- package/src/models/PaginatedCourseCreationTaskList.ts +0 -12
- package/src/models/PaginatedDataSetList.ts +0 -12
- package/src/models/PaginatedDisclaimerAgreementList.ts +0 -12
- package/src/models/PaginatedDisclaimerList.ts +0 -12
- package/src/models/PaginatedEdxCourseList.ts +0 -12
- package/src/models/PaginatedEmailPromptListList.ts +0 -12
- package/src/models/PaginatedHeygenMarketingVideoListList.ts +0 -12
- package/src/models/PaginatedHeygenTemplateResponseSingleList.ts +0 -12
- package/src/models/PaginatedHumanSupportTicketList.ts +0 -12
- package/src/models/PaginatedJobRunList.ts +0 -12
- package/src/models/PaginatedMCPServerConnectionList.ts +0 -12
- package/src/models/PaginatedMCPServerList.ts +0 -12
- package/src/models/PaginatedMentorList.ts +0 -12
- package/src/models/PaginatedModerationLogList.ts +0 -12
- package/src/models/PaginatedObservationList.ts +0 -12
- package/src/models/PaginatedPeriodicAgentList.ts +0 -12
- package/src/models/PaginatedPeriodicAgentLogList.ts +0 -12
- package/src/models/PaginatedPlayWrightScriptList.ts +0 -12
- package/src/models/PaginatedProjectList.ts +0 -12
- package/src/models/PaginatedRetrieverDocumentEmbeddingList.ts +0 -12
- package/src/models/PaginatedSectionList.ts +0 -12
- package/src/models/PaginatedSubSectionList.ts +0 -12
- package/src/models/PaginatedTicketMessageList.ts +0 -12
- package/src/models/PaginatedTopicStatisticsResponse.ts +0 -12
- package/src/models/PaginatedTraceList.ts +0 -12
- package/src/models/PaginatedTrainingList.ts +0 -12
- package/src/models/PaginatedUnitList.ts +0 -12
- package/src/models/PaginatedUserEdxMemoryList.ts +0 -12
- package/src/models/PaginatedUserMemoryList.ts +0 -12
- package/src/models/PaginatedVeoVideoListList.ts +0 -12
- package/src/models/PaginatedVoiceList.ts +0 -12
- package/src/models/PatchedArtifact.ts +0 -61
- package/src/models/PatchedBotCommand.ts +0 -11
- package/src/models/PatchedBotCreate.ts +0 -17
- package/src/models/PatchedCallConfiguration.ts +0 -31
- package/src/models/PatchedConversations.ts +0 -38
- package/src/models/PatchedCourseCreationTaskFile.ts +0 -12
- package/src/models/PatchedCredentialRequest.ts +0 -19
- package/src/models/PatchedDataSet.ts +0 -26
- package/src/models/PatchedDisclaimer.ts +0 -22
- package/src/models/PatchedDiscordConfig.ts +0 -12
- package/src/models/PatchedDiscordUserConfig.ts +0 -15
- package/src/models/PatchedHumanSupportTicket.ts +0 -28
- package/src/models/PatchedLLMCredentialRequest.ts +0 -19
- package/src/models/PatchedMCPServer.ts +0 -52
- package/src/models/PatchedMCPServerConnection.ts +0 -52
- package/src/models/PatchedMentorCategoryGroupCreate.ts +0 -16
- package/src/models/PatchedMentorCreate.ts +0 -133
- package/src/models/PatchedPeriodicAgentCreate.ts +0 -46
- package/src/models/PatchedPlayWrightScript.ts +0 -17
- package/src/models/PatchedProject.ts +0 -56
- package/src/models/PatchedPrompt.ts +0 -27
- package/src/models/PatchedSection.ts +0 -14
- package/src/models/PatchedSlackConfig.ts +0 -13
- package/src/models/PatchedSlackUserConfig.ts +0 -22
- package/src/models/PatchedSubSection.ts +0 -14
- package/src/models/PatchedTeamsConfig.ts +0 -12
- package/src/models/PatchedTicketMessage.ts +0 -15
- package/src/models/PatchedTrainingCreate.ts +0 -36
- package/src/models/PatchedUnit.ts +0 -16
- package/src/models/PatchedWebexConfig.ts +0 -15
- package/src/models/PatchedWhatsappConfig.ts +0 -16
- package/src/models/PatchedWhatsappUserConfig.ts +0 -15
- package/src/models/PeriodInfo.ts +0 -26
- package/src/models/PeriodicAgent.ts +0 -47
- package/src/models/PeriodicAgentCreate.ts +0 -46
- package/src/models/PeriodicAgentLog.ts +0 -16
- package/src/models/PeriodicAgentLogStatusEnum.ts +0 -14
- package/src/models/PeriodicAgentStatistics.ts +0 -12
- package/src/models/PeriodicTask.ts +0 -26
- package/src/models/PieChartData.ts +0 -10
- package/src/models/PieChartSegment.ts +0 -9
- package/src/models/PinnedMessageCreate.ts +0 -14
- package/src/models/PinnedMessageGet.ts +0 -12
- package/src/models/PinnedMessageRequest.ts +0 -11
- package/src/models/PlatformPrompt.ts +0 -39
- package/src/models/PlatformPromptResponse.ts +0 -21
- package/src/models/PlayWrightScript.ts +0 -17
- package/src/models/PredictiveAnalyticsRequest.ts +0 -9
- package/src/models/PredictiveAnalyticsResponse.ts +0 -9
- package/src/models/PreviousAgentStatusEnum.ts +0 -16
- package/src/models/Project.ts +0 -56
- package/src/models/ProjectMentor.ts +0 -16
- package/src/models/Prompt.ts +0 -27
- package/src/models/PromptCategory.ts +0 -12
- package/src/models/PromptFacet.ts +0 -22
- package/src/models/PromptSearchResponse.ts +0 -40
- package/src/models/PromptVisibilityEnum.ts +0 -14
- package/src/models/Provider05cEnum.ts +0 -18
- package/src/models/Provider637Enum.ts +0 -14
- package/src/models/Provider63aEnum.ts +0 -10
- package/src/models/ProviderBreakdown.ts +0 -13
- package/src/models/QuestionCardTag.ts +0 -13
- package/src/models/QuestionRequest.ts +0 -20
- package/src/models/QuestionResponse.ts +0 -15
- package/src/models/RatingAverageRecord.ts +0 -15
- package/src/models/RatingEnum.ts +0 -12
- package/src/models/RatingRecord.ts +0 -9
- package/src/models/RatingsOvertime.ts +0 -10
- package/src/models/RecentlyAccessedMentor.ts +0 -15
- package/src/models/RecommendCourseBlock.ts +0 -8
- package/src/models/RecommendCourseResponse.ts +0 -8
- package/src/models/RecommendationTypeEnum.ts +0 -12
- package/src/models/RecommendedCoursesResponse.ts +0 -38
- package/src/models/RelatedText.ts +0 -8
- package/src/models/RemoveMentorFromDisclaimer.ts +0 -17
- package/src/models/RequestDataVariable.ts +0 -19
- package/src/models/ResourceScrappedData.ts +0 -18
- package/src/models/ResourceScrappedDataStatusEnum.ts +0 -16
- package/src/models/ResponseDataVariable.ts +0 -19
- package/src/models/RetreiverTrainViewRequest.ts +0 -15
- package/src/models/RetreiverTrainViewResponse.ts +0 -11
- package/src/models/RetrieveTask.ts +0 -8
- package/src/models/RetrieverDocumentEmbedding.ts +0 -35
- package/src/models/RetrieverDocumentEmbeddingRequest.ts +0 -71
- package/src/models/RetrieverRequestSearch.ts +0 -15
- package/src/models/RetrieverRequestSearchDocument.ts +0 -15
- package/src/models/RetrieverResponseSearch.ts +0 -12
- package/src/models/ReuestDataVariableList.ts +0 -9
- package/src/models/RunMentorEval.ts +0 -8
- package/src/models/ScanWebhookRequest.ts +0 -11
- package/src/models/ScanWebhookResponse.ts +0 -8
- package/src/models/Section.ts +0 -14
- package/src/models/SectionWithChildren.ts +0 -16
- package/src/models/SeedMentorsView.ts +0 -8
- package/src/models/SentimentSummary.ts +0 -9
- package/src/models/SessionBrowserScreenshot.ts +0 -13
- package/src/models/SessionChartPoint.ts +0 -9
- package/src/models/SessionDetail.ts +0 -11
- package/src/models/SessionMemoryAttachment.ts +0 -8
- package/src/models/SessionMemoryStorage.ts +0 -11
- package/src/models/SessionsChart.ts +0 -10
- package/src/models/ShareableMentorLink.ts +0 -13
- package/src/models/ShellLogs.ts +0 -8
- package/src/models/SlackConfig.ts +0 -13
- package/src/models/SlackUserConfig.ts +0 -22
- package/src/models/SlackWebhook.ts +0 -11
- package/src/models/SpacedRepetitionLearningPath.ts +0 -8
- package/src/models/SpacedRepetitionQuestionStats.ts +0 -10
- package/src/models/StarMentor.ts +0 -12
- package/src/models/Status6eeEnum.ts +0 -16
- package/src/models/Step.ts +0 -14
- package/src/models/StepStatusEnum.ts +0 -14
- package/src/models/SttProviderEnum.ts +0 -16
- package/src/models/StudentChatMessage.ts +0 -9
- package/src/models/StylesView.ts +0 -9
- package/src/models/SubSection.ts +0 -14
- package/src/models/SubSectionWithChildren.ts +0 -16
- package/src/models/Subject.ts +0 -10
- package/src/models/Summary.ts +0 -14
- package/src/models/TagsView.ts +0 -10
- package/src/models/TargetSystemEnum.ts +0 -12
- package/src/models/TaskView.ts +0 -8
- package/src/models/TeamsConfig.ts +0 -12
- package/src/models/TeamsWebhook.ts +0 -22
- package/src/models/TemplateMentor.ts +0 -14
- package/src/models/TenantMentorTraces.ts +0 -11
- package/src/models/ThemeEnum.ts +0 -12
- package/src/models/TicketMessage.ts +0 -15
- package/src/models/TonesView.ts +0 -9
- package/src/models/ToolCategory.ts +0 -10
- package/src/models/ToolResponse.ts +0 -20
- package/src/models/TopicDetail.ts +0 -13
- package/src/models/TopicDetails.ts +0 -10
- package/src/models/TopicModel.ts +0 -8
- package/src/models/TopicRecord.ts +0 -9
- package/src/models/TopicStatistics.ts +0 -12
- package/src/models/TopicStatisticsResponse.ts +0 -11
- package/src/models/TopicSummaryView.ts +0 -9
- package/src/models/TopicsOverview.ts +0 -27
- package/src/models/TopicsOverviewMetric.ts +0 -26
- package/src/models/Trace.ts +0 -22
- package/src/models/TrainChatSessionDocumentView.ts +0 -11
- package/src/models/TrainChatSessionDocumentViewRequest.ts +0 -11
- package/src/models/TrainDocumentViewRequest.ts +0 -87
- package/src/models/TrainDocumentViewResponse.ts +0 -20
- package/src/models/Training.ts +0 -46
- package/src/models/TrainingCreate.ts +0 -36
- package/src/models/TrainingStatusEnum.ts +0 -16
- package/src/models/TransportEnum.ts +0 -14
- package/src/models/TrendEntry.ts +0 -9
- package/src/models/TriggerRequest.ts +0 -10
- package/src/models/TriggerResponse.ts +0 -11
- package/src/models/TtsProviderEnum.ts +0 -14
- package/src/models/TypeC42Enum.ts +0 -12
- package/src/models/Unit.ts +0 -16
- package/src/models/UnitWithChildren.ts +0 -18
- package/src/models/UseMainCreds.ts +0 -8
- package/src/models/UserAllChatMemoryView.ts +0 -12
- package/src/models/UserCatalogItemMemoryView.ts +0 -19
- package/src/models/UserChatByPeriod.ts +0 -9
- package/src/models/UserChatFeedback.ts +0 -20
- package/src/models/UserChatFeedbackCount.ts +0 -9
- package/src/models/UserChatMemoryStatusRequestView.ts +0 -11
- package/src/models/UserChatMemoryStatusView.ts +0 -11
- package/src/models/UserChatMemoryUpdateView.ts +0 -15
- package/src/models/UserCountRecord.ts +0 -9
- package/src/models/UserDetail.ts +0 -12
- package/src/models/UserEdxMemory.ts +0 -20
- package/src/models/UserMemory.ts +0 -23
- package/src/models/UserMemoryContextRequest.ts +0 -18
- package/src/models/UserMemoryContextResponse.ts +0 -17
- package/src/models/UserMemoryEntry.ts +0 -14
- package/src/models/UserMemoryEntryRequest.ts +0 -10
- package/src/models/UserMemoryRequest.ts +0 -17
- package/src/models/UserMetric.ts +0 -9
- package/src/models/UserMetricsResponse.ts +0 -12
- package/src/models/UserSentimentCountView.ts +0 -9
- package/src/models/UserTrendByPeriod.ts +0 -10
- package/src/models/V2GlobalMentorSearchResponse.ts +0 -34
- package/src/models/V2PersonalizedMentorsResponse.ts +0 -34
- package/src/models/V2RecommendationResponse.ts +0 -70
- package/src/models/VectorResult.ts +0 -15
- package/src/models/VeoVideoDetail.ts +0 -15
- package/src/models/VeoVideoList.ts +0 -11
- package/src/models/VeoVideoRequest.ts +0 -10
- package/src/models/VideoCaption.ts +0 -8
- package/src/models/Voice.ts +0 -14
- package/src/models/WebResource.ts +0 -14
- package/src/models/WebResourceCard.ts +0 -12
- package/src/models/WebResourcesQuery.ts +0 -8
- package/src/models/WebexConfig.ts +0 -15
- package/src/models/WebexWebhook.ts +0 -9
- package/src/models/WhatAppWebHook.ts +0 -8
- package/src/models/WhatsappConfig.ts +0 -16
- package/src/models/WhatsappUserConfig.ts +0 -15
- package/src/services/AiAccountService.ts +0 -897
- package/src/services/AiBotService.ts +0 -1350
- package/src/services/AiFinetuningService.ts +0 -472
- package/src/services/AiIndexService.ts +0 -710
- package/src/services/AiMarketingService.ts +0 -96
- package/src/services/AiMediaService.ts +0 -532
- package/src/services/AiMentorService.ts +0 -12373
- package/src/services/AiPromptService.ts +0 -1985
- package/src/services/AiSearchService.ts +0 -742
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
import type { Assertion } from '../models/Assertion';
|
|
6
6
|
import type { BulkCreateAssertion } from '../models/BulkCreateAssertion';
|
|
7
7
|
import type { Credential } from '../models/Credential';
|
|
8
|
+
import type { CredentialProviderConfig } from '../models/CredentialProviderConfig';
|
|
9
|
+
import type { ExternalCredentialMapping } from '../models/ExternalCredentialMapping';
|
|
8
10
|
import type { Issuer } from '../models/Issuer';
|
|
9
11
|
import type { IssuerAuthority } from '../models/IssuerAuthority';
|
|
10
12
|
import type { OverTime } from '../models/OverTime';
|
|
@@ -79,18 +81,18 @@ export class CredentialsService {
|
|
|
79
81
|
* @throws ApiError
|
|
80
82
|
*/
|
|
81
83
|
public static credentialsOrgsUsersRetrieve({
|
|
82
|
-
|
|
83
|
-
|
|
84
|
+
platformKey,
|
|
85
|
+
username,
|
|
84
86
|
}: {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
+
platformKey: string,
|
|
88
|
+
username: string,
|
|
87
89
|
}): CancelablePromise<Credential> {
|
|
88
90
|
return __request(OpenAPI, {
|
|
89
91
|
method: 'GET',
|
|
90
|
-
url: '/api/credentials/orgs/{
|
|
92
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/',
|
|
91
93
|
path: {
|
|
92
|
-
'
|
|
93
|
-
'
|
|
94
|
+
'platform_key': platformKey,
|
|
95
|
+
'username': username,
|
|
94
96
|
},
|
|
95
97
|
});
|
|
96
98
|
}
|
|
@@ -175,20 +177,20 @@ export class CredentialsService {
|
|
|
175
177
|
* @throws ApiError
|
|
176
178
|
*/
|
|
177
179
|
public static credentialsOrgsUsersCreate({
|
|
178
|
-
|
|
179
|
-
|
|
180
|
+
platformKey,
|
|
181
|
+
username,
|
|
180
182
|
requestBody,
|
|
181
183
|
}: {
|
|
182
|
-
|
|
183
|
-
|
|
184
|
+
platformKey: string,
|
|
185
|
+
username: string,
|
|
184
186
|
requestBody: Credential,
|
|
185
187
|
}): CancelablePromise<Credential> {
|
|
186
188
|
return __request(OpenAPI, {
|
|
187
189
|
method: 'POST',
|
|
188
|
-
url: '/api/credentials/orgs/{
|
|
190
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/',
|
|
189
191
|
path: {
|
|
190
|
-
'
|
|
191
|
-
'
|
|
192
|
+
'platform_key': platformKey,
|
|
193
|
+
'username': username,
|
|
192
194
|
},
|
|
193
195
|
body: requestBody,
|
|
194
196
|
mediaType: 'application/json',
|
|
@@ -254,20 +256,20 @@ export class CredentialsService {
|
|
|
254
256
|
*/
|
|
255
257
|
public static credentialsOrgsUsersRetrieve2({
|
|
256
258
|
entityId,
|
|
257
|
-
|
|
258
|
-
|
|
259
|
+
platformKey,
|
|
260
|
+
username,
|
|
259
261
|
}: {
|
|
260
262
|
entityId: string,
|
|
261
|
-
|
|
262
|
-
|
|
263
|
+
platformKey: string,
|
|
264
|
+
username: string,
|
|
263
265
|
}): CancelablePromise<Credential> {
|
|
264
266
|
return __request(OpenAPI, {
|
|
265
267
|
method: 'GET',
|
|
266
|
-
url: '/api/credentials/orgs/{
|
|
268
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/{entity_id}',
|
|
267
269
|
path: {
|
|
268
270
|
'entity_id': entityId,
|
|
269
|
-
'
|
|
270
|
-
'
|
|
271
|
+
'platform_key': platformKey,
|
|
272
|
+
'username': username,
|
|
271
273
|
},
|
|
272
274
|
});
|
|
273
275
|
}
|
|
@@ -331,22 +333,22 @@ export class CredentialsService {
|
|
|
331
333
|
*/
|
|
332
334
|
public static credentialsOrgsUsersUpdate({
|
|
333
335
|
entityId,
|
|
334
|
-
|
|
335
|
-
|
|
336
|
+
platformKey,
|
|
337
|
+
username,
|
|
336
338
|
requestBody,
|
|
337
339
|
}: {
|
|
338
340
|
entityId: string,
|
|
339
|
-
|
|
340
|
-
|
|
341
|
+
platformKey: string,
|
|
342
|
+
username: string,
|
|
341
343
|
requestBody: Credential,
|
|
342
344
|
}): CancelablePromise<Credential> {
|
|
343
345
|
return __request(OpenAPI, {
|
|
344
346
|
method: 'PUT',
|
|
345
|
-
url: '/api/credentials/orgs/{
|
|
347
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/{entity_id}',
|
|
346
348
|
path: {
|
|
347
349
|
'entity_id': entityId,
|
|
348
|
-
'
|
|
349
|
-
'
|
|
350
|
+
'platform_key': platformKey,
|
|
351
|
+
'username': username,
|
|
350
352
|
},
|
|
351
353
|
body: requestBody,
|
|
352
354
|
mediaType: 'application/json',
|
|
@@ -412,20 +414,20 @@ export class CredentialsService {
|
|
|
412
414
|
*/
|
|
413
415
|
public static credentialsOrgsUsersDestroy({
|
|
414
416
|
entityId,
|
|
415
|
-
|
|
416
|
-
|
|
417
|
+
platformKey,
|
|
418
|
+
username,
|
|
417
419
|
}: {
|
|
418
420
|
entityId: string,
|
|
419
|
-
|
|
420
|
-
|
|
421
|
+
platformKey: string,
|
|
422
|
+
username: string,
|
|
421
423
|
}): CancelablePromise<void> {
|
|
422
424
|
return __request(OpenAPI, {
|
|
423
425
|
method: 'DELETE',
|
|
424
|
-
url: '/api/credentials/orgs/{
|
|
426
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/{entity_id}',
|
|
425
427
|
path: {
|
|
426
428
|
'entity_id': entityId,
|
|
427
|
-
'
|
|
428
|
-
'
|
|
429
|
+
'platform_key': platformKey,
|
|
430
|
+
'username': username,
|
|
429
431
|
},
|
|
430
432
|
});
|
|
431
433
|
}
|
|
@@ -463,20 +465,20 @@ export class CredentialsService {
|
|
|
463
465
|
*/
|
|
464
466
|
public static credentialsOrgsUsersAssertionsRetrieve3({
|
|
465
467
|
entityId,
|
|
466
|
-
|
|
467
|
-
|
|
468
|
+
platformKey,
|
|
469
|
+
username,
|
|
468
470
|
}: {
|
|
469
471
|
entityId: string,
|
|
470
|
-
|
|
471
|
-
|
|
472
|
+
platformKey: string,
|
|
473
|
+
username: string,
|
|
472
474
|
}): CancelablePromise<PaginatedAssertionsResponse> {
|
|
473
475
|
return __request(OpenAPI, {
|
|
474
476
|
method: 'GET',
|
|
475
|
-
url: '/api/credentials/orgs/{
|
|
477
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/{entity_id}/assertions/',
|
|
476
478
|
path: {
|
|
477
479
|
'entity_id': entityId,
|
|
478
|
-
'
|
|
479
|
-
'
|
|
480
|
+
'platform_key': platformKey,
|
|
481
|
+
'username': username,
|
|
480
482
|
},
|
|
481
483
|
});
|
|
482
484
|
}
|
|
@@ -514,22 +516,22 @@ export class CredentialsService {
|
|
|
514
516
|
*/
|
|
515
517
|
public static credentialsOrgsUsersAssertionsCreate({
|
|
516
518
|
entityId,
|
|
517
|
-
|
|
518
|
-
|
|
519
|
+
platformKey,
|
|
520
|
+
username,
|
|
519
521
|
requestBody,
|
|
520
522
|
}: {
|
|
521
523
|
entityId: string,
|
|
522
|
-
|
|
523
|
-
|
|
524
|
+
platformKey: string,
|
|
525
|
+
username: string,
|
|
524
526
|
requestBody: Assertion,
|
|
525
527
|
}): CancelablePromise<Assertion> {
|
|
526
528
|
return __request(OpenAPI, {
|
|
527
529
|
method: 'POST',
|
|
528
|
-
url: '/api/credentials/orgs/{
|
|
530
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/{entity_id}/assertions/',
|
|
529
531
|
path: {
|
|
530
532
|
'entity_id': entityId,
|
|
531
|
-
'
|
|
532
|
-
'
|
|
533
|
+
'platform_key': platformKey,
|
|
534
|
+
'username': username,
|
|
533
535
|
},
|
|
534
536
|
body: requestBody,
|
|
535
537
|
mediaType: 'application/json',
|
|
@@ -568,22 +570,22 @@ export class CredentialsService {
|
|
|
568
570
|
*/
|
|
569
571
|
public static credentialsOrgsUsersAssertionsBulkCreate({
|
|
570
572
|
entityId,
|
|
571
|
-
|
|
572
|
-
|
|
573
|
+
platformKey,
|
|
574
|
+
username,
|
|
573
575
|
requestBody,
|
|
574
576
|
}: {
|
|
575
577
|
entityId: string,
|
|
576
|
-
|
|
577
|
-
|
|
578
|
+
platformKey: string,
|
|
579
|
+
username: string,
|
|
578
580
|
requestBody: BulkCreateAssertion,
|
|
579
581
|
}): CancelablePromise<BulkCreateAssertion> {
|
|
580
582
|
return __request(OpenAPI, {
|
|
581
583
|
method: 'POST',
|
|
582
|
-
url: '/api/credentials/orgs/{
|
|
584
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/{entity_id}/assertions/bulk/',
|
|
583
585
|
path: {
|
|
584
586
|
'entity_id': entityId,
|
|
585
|
-
'
|
|
586
|
-
'
|
|
587
|
+
'platform_key': platformKey,
|
|
588
|
+
'username': username,
|
|
587
589
|
},
|
|
588
590
|
body: requestBody,
|
|
589
591
|
mediaType: 'application/json',
|
|
@@ -617,8 +619,8 @@ export class CredentialsService {
|
|
|
617
619
|
* @throws ApiError
|
|
618
620
|
*/
|
|
619
621
|
public static credentialsOrgsUsersAssertionsRetrieve({
|
|
620
|
-
|
|
621
|
-
|
|
622
|
+
platformKey,
|
|
623
|
+
username,
|
|
622
624
|
course,
|
|
623
625
|
excludeMainTenantAssertions,
|
|
624
626
|
includeExpired,
|
|
@@ -626,8 +628,8 @@ export class CredentialsService {
|
|
|
626
628
|
page,
|
|
627
629
|
pageSize,
|
|
628
630
|
}: {
|
|
629
|
-
|
|
630
|
-
|
|
631
|
+
platformKey: string,
|
|
632
|
+
username: string,
|
|
631
633
|
course?: string,
|
|
632
634
|
excludeMainTenantAssertions?: boolean,
|
|
633
635
|
includeExpired?: boolean,
|
|
@@ -637,10 +639,10 @@ export class CredentialsService {
|
|
|
637
639
|
}): CancelablePromise<PaginatedAssertionsResponse> {
|
|
638
640
|
return __request(OpenAPI, {
|
|
639
641
|
method: 'GET',
|
|
640
|
-
url: '/api/credentials/orgs/{
|
|
642
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/assertions/',
|
|
641
643
|
path: {
|
|
642
|
-
'
|
|
643
|
-
'
|
|
644
|
+
'platform_key': platformKey,
|
|
645
|
+
'username': username,
|
|
644
646
|
},
|
|
645
647
|
query: {
|
|
646
648
|
'course': course,
|
|
@@ -658,16 +660,16 @@ export class CredentialsService {
|
|
|
658
660
|
* @throws ApiError
|
|
659
661
|
*/
|
|
660
662
|
public static credentialsOrgsUsersAssertionsOverTimeRetrieve({
|
|
661
|
-
|
|
662
|
-
|
|
663
|
+
platformKey,
|
|
664
|
+
username,
|
|
663
665
|
departmentId,
|
|
664
666
|
endDate,
|
|
665
667
|
format = 'json',
|
|
666
668
|
includeMainPlatform = true,
|
|
667
669
|
startDate,
|
|
668
670
|
}: {
|
|
669
|
-
|
|
670
|
-
|
|
671
|
+
platformKey: string,
|
|
672
|
+
username: string,
|
|
671
673
|
/**
|
|
672
674
|
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
673
675
|
*/
|
|
@@ -693,10 +695,10 @@ export class CredentialsService {
|
|
|
693
695
|
}): CancelablePromise<OvertimeWithChangeInfo> {
|
|
694
696
|
return __request(OpenAPI, {
|
|
695
697
|
method: 'GET',
|
|
696
|
-
url: '/api/credentials/orgs/{
|
|
698
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/assertions-over-time/',
|
|
697
699
|
path: {
|
|
698
|
-
'
|
|
699
|
-
'
|
|
700
|
+
'platform_key': platformKey,
|
|
701
|
+
'username': username,
|
|
700
702
|
},
|
|
701
703
|
query: {
|
|
702
704
|
'department_id': departmentId,
|
|
@@ -742,20 +744,20 @@ export class CredentialsService {
|
|
|
742
744
|
*/
|
|
743
745
|
public static credentialsOrgsUsersAssertionsRetrieve2({
|
|
744
746
|
entityId,
|
|
745
|
-
|
|
746
|
-
|
|
747
|
+
platformKey,
|
|
748
|
+
username,
|
|
747
749
|
}: {
|
|
748
750
|
entityId: string,
|
|
749
|
-
|
|
750
|
-
|
|
751
|
+
platformKey: string,
|
|
752
|
+
username: string,
|
|
751
753
|
}): CancelablePromise<Assertion> {
|
|
752
754
|
return __request(OpenAPI, {
|
|
753
755
|
method: 'GET',
|
|
754
|
-
url: '/api/credentials/orgs/{
|
|
756
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/assertions/{entity_id}',
|
|
755
757
|
path: {
|
|
756
758
|
'entity_id': entityId,
|
|
757
|
-
'
|
|
758
|
-
'
|
|
759
|
+
'platform_key': platformKey,
|
|
760
|
+
'username': username,
|
|
759
761
|
},
|
|
760
762
|
});
|
|
761
763
|
}
|
|
@@ -794,22 +796,22 @@ export class CredentialsService {
|
|
|
794
796
|
*/
|
|
795
797
|
public static credentialsOrgsUsersAssertionsUpdate({
|
|
796
798
|
entityId,
|
|
797
|
-
|
|
798
|
-
|
|
799
|
+
platformKey,
|
|
800
|
+
username,
|
|
799
801
|
requestBody,
|
|
800
802
|
}: {
|
|
801
803
|
entityId: string,
|
|
802
|
-
|
|
803
|
-
|
|
804
|
+
platformKey: string,
|
|
805
|
+
username: string,
|
|
804
806
|
requestBody: Assertion,
|
|
805
807
|
}): CancelablePromise<Assertion> {
|
|
806
808
|
return __request(OpenAPI, {
|
|
807
809
|
method: 'PUT',
|
|
808
|
-
url: '/api/credentials/orgs/{
|
|
810
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/assertions/{entity_id}',
|
|
809
811
|
path: {
|
|
810
812
|
'entity_id': entityId,
|
|
811
|
-
'
|
|
812
|
-
'
|
|
813
|
+
'platform_key': platformKey,
|
|
814
|
+
'username': username,
|
|
813
815
|
},
|
|
814
816
|
body: requestBody,
|
|
815
817
|
mediaType: 'application/json',
|
|
@@ -823,20 +825,20 @@ export class CredentialsService {
|
|
|
823
825
|
*/
|
|
824
826
|
public static credentialsOrgsUsersAssignmentsDestroy({
|
|
825
827
|
assignmentId,
|
|
826
|
-
|
|
827
|
-
|
|
828
|
+
platformKey,
|
|
829
|
+
username,
|
|
828
830
|
}: {
|
|
829
831
|
assignmentId: string,
|
|
830
|
-
|
|
831
|
-
|
|
832
|
+
platformKey: string,
|
|
833
|
+
username: string,
|
|
832
834
|
}): CancelablePromise<void> {
|
|
833
835
|
return __request(OpenAPI, {
|
|
834
836
|
method: 'DELETE',
|
|
835
|
-
url: '/api/credentials/orgs/{
|
|
837
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/assignments/{assignment_id}',
|
|
836
838
|
path: {
|
|
837
839
|
'assignment_id': assignmentId,
|
|
838
|
-
'
|
|
839
|
-
'
|
|
840
|
+
'platform_key': platformKey,
|
|
841
|
+
'username': username,
|
|
840
842
|
},
|
|
841
843
|
});
|
|
842
844
|
}
|
|
@@ -846,18 +848,18 @@ export class CredentialsService {
|
|
|
846
848
|
* @throws ApiError
|
|
847
849
|
*/
|
|
848
850
|
public static credentialsOrgsUsersAssignmentsGroupsRetrieve({
|
|
849
|
-
|
|
850
|
-
|
|
851
|
+
platformKey,
|
|
852
|
+
username,
|
|
851
853
|
}: {
|
|
852
|
-
|
|
853
|
-
|
|
854
|
+
platformKey: string,
|
|
855
|
+
username: string,
|
|
854
856
|
}): CancelablePromise<any> {
|
|
855
857
|
return __request(OpenAPI, {
|
|
856
858
|
method: 'GET',
|
|
857
|
-
url: '/api/credentials/orgs/{
|
|
859
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/assignments/groups/',
|
|
858
860
|
path: {
|
|
859
|
-
'
|
|
860
|
-
'
|
|
861
|
+
'platform_key': platformKey,
|
|
862
|
+
'username': username,
|
|
861
863
|
},
|
|
862
864
|
});
|
|
863
865
|
}
|
|
@@ -867,18 +869,18 @@ export class CredentialsService {
|
|
|
867
869
|
* @throws ApiError
|
|
868
870
|
*/
|
|
869
871
|
public static credentialsOrgsUsersAssignmentsGroupsCreate({
|
|
870
|
-
|
|
871
|
-
|
|
872
|
+
platformKey,
|
|
873
|
+
username,
|
|
872
874
|
}: {
|
|
873
|
-
|
|
874
|
-
|
|
875
|
+
platformKey: string,
|
|
876
|
+
username: string,
|
|
875
877
|
}): CancelablePromise<any> {
|
|
876
878
|
return __request(OpenAPI, {
|
|
877
879
|
method: 'POST',
|
|
878
|
-
url: '/api/credentials/orgs/{
|
|
880
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/assignments/groups/',
|
|
879
881
|
path: {
|
|
880
|
-
'
|
|
881
|
-
'
|
|
882
|
+
'platform_key': platformKey,
|
|
883
|
+
'username': username,
|
|
882
884
|
},
|
|
883
885
|
});
|
|
884
886
|
}
|
|
@@ -891,18 +893,18 @@ export class CredentialsService {
|
|
|
891
893
|
* @throws ApiError
|
|
892
894
|
*/
|
|
893
895
|
public static credentialsOrgsUsersAssignmentsUsersRetrieve({
|
|
894
|
-
|
|
895
|
-
|
|
896
|
+
platformKey,
|
|
897
|
+
username,
|
|
896
898
|
}: {
|
|
897
|
-
|
|
898
|
-
|
|
899
|
+
platformKey: string,
|
|
900
|
+
username: string,
|
|
899
901
|
}): CancelablePromise<any> {
|
|
900
902
|
return __request(OpenAPI, {
|
|
901
903
|
method: 'GET',
|
|
902
|
-
url: '/api/credentials/orgs/{
|
|
904
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/assignments/users/',
|
|
903
905
|
path: {
|
|
904
|
-
'
|
|
905
|
-
'
|
|
906
|
+
'platform_key': platformKey,
|
|
907
|
+
'username': username,
|
|
906
908
|
},
|
|
907
909
|
});
|
|
908
910
|
}
|
|
@@ -912,18 +914,18 @@ export class CredentialsService {
|
|
|
912
914
|
* @throws ApiError
|
|
913
915
|
*/
|
|
914
916
|
public static credentialsOrgsUsersAssignmentsUsersCreate({
|
|
915
|
-
|
|
916
|
-
|
|
917
|
+
platformKey,
|
|
918
|
+
username,
|
|
917
919
|
}: {
|
|
918
|
-
|
|
919
|
-
|
|
920
|
+
platformKey: string,
|
|
921
|
+
username: string,
|
|
920
922
|
}): CancelablePromise<any> {
|
|
921
923
|
return __request(OpenAPI, {
|
|
922
924
|
method: 'POST',
|
|
923
|
-
url: '/api/credentials/orgs/{
|
|
925
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/assignments/users/',
|
|
924
926
|
path: {
|
|
925
|
-
'
|
|
926
|
-
'
|
|
927
|
+
'platform_key': platformKey,
|
|
928
|
+
'username': username,
|
|
927
929
|
},
|
|
928
930
|
});
|
|
929
931
|
}
|
|
@@ -933,16 +935,16 @@ export class CredentialsService {
|
|
|
933
935
|
* @throws ApiError
|
|
934
936
|
*/
|
|
935
937
|
public static credentialsOrgsUsersCourseAssertionsOverTimeRetrieve({
|
|
936
|
-
|
|
937
|
-
|
|
938
|
+
platformKey,
|
|
939
|
+
username,
|
|
938
940
|
departmentId,
|
|
939
941
|
endDate,
|
|
940
942
|
format = 'json',
|
|
941
943
|
includeMainPlatform = true,
|
|
942
944
|
startDate,
|
|
943
945
|
}: {
|
|
944
|
-
|
|
945
|
-
|
|
946
|
+
platformKey: string,
|
|
947
|
+
username: string,
|
|
946
948
|
/**
|
|
947
949
|
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
948
950
|
*/
|
|
@@ -968,10 +970,10 @@ export class CredentialsService {
|
|
|
968
970
|
}): CancelablePromise<OverTime> {
|
|
969
971
|
return __request(OpenAPI, {
|
|
970
972
|
method: 'GET',
|
|
971
|
-
url: '/api/credentials/orgs/{
|
|
973
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/course-assertions-over-time/',
|
|
972
974
|
path: {
|
|
973
|
-
'
|
|
974
|
-
'
|
|
975
|
+
'platform_key': platformKey,
|
|
976
|
+
'username': username,
|
|
975
977
|
},
|
|
976
978
|
query: {
|
|
977
979
|
'department_id': departmentId,
|
|
@@ -1008,13 +1010,13 @@ export class CredentialsService {
|
|
|
1008
1010
|
* @throws ApiError
|
|
1009
1011
|
*/
|
|
1010
1012
|
public static credentialsOrgsUsersCourseCredentialsList({
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
+
platformKey,
|
|
1014
|
+
username,
|
|
1013
1015
|
page,
|
|
1014
1016
|
pageSize,
|
|
1015
1017
|
}: {
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
+
platformKey: string,
|
|
1019
|
+
username: string,
|
|
1018
1020
|
/**
|
|
1019
1021
|
* A page number within the paginated result set.
|
|
1020
1022
|
*/
|
|
@@ -1026,10 +1028,10 @@ export class CredentialsService {
|
|
|
1026
1028
|
}): CancelablePromise<any> {
|
|
1027
1029
|
return __request(OpenAPI, {
|
|
1028
1030
|
method: 'GET',
|
|
1029
|
-
url: '/api/credentials/orgs/{
|
|
1031
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/course-credentials/',
|
|
1030
1032
|
path: {
|
|
1031
|
-
'
|
|
1032
|
-
'
|
|
1033
|
+
'platform_key': platformKey,
|
|
1034
|
+
'username': username,
|
|
1033
1035
|
},
|
|
1034
1036
|
query: {
|
|
1035
1037
|
'page': page,
|
|
@@ -1043,16 +1045,16 @@ export class CredentialsService {
|
|
|
1043
1045
|
* @throws ApiError
|
|
1044
1046
|
*/
|
|
1045
1047
|
public static credentialsOrgsUsersCredentialsOverTimeRetrieve({
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
+
platformKey,
|
|
1049
|
+
username,
|
|
1048
1050
|
departmentId,
|
|
1049
1051
|
endDate,
|
|
1050
1052
|
format = 'json',
|
|
1051
1053
|
includeMainPlatform = true,
|
|
1052
1054
|
startDate,
|
|
1053
1055
|
}: {
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
+
platformKey: string,
|
|
1057
|
+
username: string,
|
|
1056
1058
|
/**
|
|
1057
1059
|
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
1058
1060
|
*/
|
|
@@ -1078,10 +1080,10 @@ export class CredentialsService {
|
|
|
1078
1080
|
}): CancelablePromise<OverTime> {
|
|
1079
1081
|
return __request(OpenAPI, {
|
|
1080
1082
|
method: 'GET',
|
|
1081
|
-
url: '/api/credentials/orgs/{
|
|
1083
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/credentials-over-time/',
|
|
1082
1084
|
path: {
|
|
1083
|
-
'
|
|
1084
|
-
'
|
|
1085
|
+
'platform_key': platformKey,
|
|
1086
|
+
'username': username,
|
|
1085
1087
|
},
|
|
1086
1088
|
query: {
|
|
1087
1089
|
'department_id': departmentId,
|
|
@@ -1093,370 +1095,456 @@ export class CredentialsService {
|
|
|
1093
1095
|
});
|
|
1094
1096
|
}
|
|
1095
1097
|
/**
|
|
1096
|
-
*
|
|
1097
|
-
*
|
|
1098
|
-
* This endpoint allows uploading new images and retrieving existing images
|
|
1099
|
-
* for use with credentials (icons, backgrounds, thumbnails, etc.).
|
|
1100
|
-
*
|
|
1101
|
-
* Path Parameters:
|
|
1102
|
-
* org (str): The organization/tenant identifier
|
|
1103
|
-
* user_id (str): The user ID making the request
|
|
1098
|
+
* Retrieve external credential mappings for the platform.
|
|
1104
1099
|
*
|
|
1105
1100
|
* Query Parameters:
|
|
1106
|
-
*
|
|
1101
|
+
* credential_id (str, optional): Filter by credential entity_id
|
|
1102
|
+
* provider_name (str, optional): Filter by provider name
|
|
1103
|
+
* page (int, optional): Page number
|
|
1104
|
+
* page_size (int, optional): Items per page
|
|
1107
1105
|
*
|
|
1108
|
-
*
|
|
1109
|
-
*
|
|
1110
|
-
*
|
|
1106
|
+
* Returns all mappings for the platform if the user is an admin.
|
|
1107
|
+
* @returns ExternalCredentialMapping
|
|
1108
|
+
* @throws ApiError
|
|
1109
|
+
*/
|
|
1110
|
+
public static credentialsOrgsUsersExternalMappingRetrieve({
|
|
1111
|
+
platformKey,
|
|
1112
|
+
username,
|
|
1113
|
+
}: {
|
|
1114
|
+
platformKey: string,
|
|
1115
|
+
username: string,
|
|
1116
|
+
}): CancelablePromise<ExternalCredentialMapping> {
|
|
1117
|
+
return __request(OpenAPI, {
|
|
1118
|
+
method: 'GET',
|
|
1119
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/external-mapping/',
|
|
1120
|
+
path: {
|
|
1121
|
+
'platform_key': platformKey,
|
|
1122
|
+
'username': username,
|
|
1123
|
+
},
|
|
1124
|
+
});
|
|
1125
|
+
}
|
|
1126
|
+
/**
|
|
1127
|
+
* Create or update an external credential mapping.
|
|
1111
1128
|
*
|
|
1112
|
-
*
|
|
1113
|
-
*
|
|
1114
|
-
* - image (file, required): The image file to upload
|
|
1115
|
-
* - name (str, optional): A descriptive name for the image
|
|
1129
|
+
* If a mapping doesn't exist for the credential + platform + provider combination,
|
|
1130
|
+
* it will be created. If it exists, it will be updated.
|
|
1116
1131
|
*
|
|
1117
|
-
*
|
|
1118
|
-
*
|
|
1119
|
-
|
|
1132
|
+
* Request Body:
|
|
1133
|
+
* {
|
|
1134
|
+
* "credential_id": "credential-entity-id", // Required
|
|
1135
|
+
* "provider_name": "accredible", // Required
|
|
1136
|
+
* "external_template_id": "123456", // Optional
|
|
1137
|
+
* "metadata": {} // Optional
|
|
1138
|
+
* }
|
|
1139
|
+
*
|
|
1140
|
+
* Returns:
|
|
1141
|
+
* - 201 Created: When creating a new mapping
|
|
1142
|
+
* - 200 OK: When updating an existing mapping
|
|
1143
|
+
* @returns ExternalCredentialMapping
|
|
1144
|
+
* @throws ApiError
|
|
1145
|
+
*/
|
|
1146
|
+
public static credentialsOrgsUsersExternalMappingCreate({
|
|
1147
|
+
platformKey,
|
|
1148
|
+
username,
|
|
1149
|
+
requestBody,
|
|
1150
|
+
}: {
|
|
1151
|
+
platformKey: string,
|
|
1152
|
+
username: string,
|
|
1153
|
+
requestBody: ExternalCredentialMapping,
|
|
1154
|
+
}): CancelablePromise<ExternalCredentialMapping> {
|
|
1155
|
+
return __request(OpenAPI, {
|
|
1156
|
+
method: 'POST',
|
|
1157
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/external-mapping/',
|
|
1158
|
+
path: {
|
|
1159
|
+
'platform_key': platformKey,
|
|
1160
|
+
'username': username,
|
|
1161
|
+
},
|
|
1162
|
+
body: requestBody,
|
|
1163
|
+
mediaType: 'application/json',
|
|
1164
|
+
});
|
|
1165
|
+
}
|
|
1166
|
+
/**
|
|
1167
|
+
* Delete an external credential mapping.
|
|
1168
|
+
*
|
|
1169
|
+
* Request Body:
|
|
1120
1170
|
* {
|
|
1121
|
-
* "
|
|
1122
|
-
* "
|
|
1123
|
-
*
|
|
1124
|
-
*
|
|
1125
|
-
*
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1171
|
+
* "credential_id": "credential-entity-id", // Required
|
|
1172
|
+
* "provider_name": "accredible" // Required
|
|
1173
|
+
* }
|
|
1174
|
+
*
|
|
1175
|
+
* Returns:
|
|
1176
|
+
* A JSON response confirming deletion
|
|
1177
|
+
* @returns void
|
|
1178
|
+
* @throws ApiError
|
|
1179
|
+
*/
|
|
1180
|
+
public static credentialsOrgsUsersExternalMappingDestroy({
|
|
1181
|
+
platformKey,
|
|
1182
|
+
username,
|
|
1183
|
+
}: {
|
|
1184
|
+
platformKey: string,
|
|
1185
|
+
username: string,
|
|
1186
|
+
}): CancelablePromise<void> {
|
|
1187
|
+
return __request(OpenAPI, {
|
|
1188
|
+
method: 'DELETE',
|
|
1189
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/external-mapping/',
|
|
1190
|
+
path: {
|
|
1191
|
+
'platform_key': platformKey,
|
|
1192
|
+
'username': username,
|
|
1193
|
+
},
|
|
1194
|
+
});
|
|
1195
|
+
}
|
|
1196
|
+
/**
|
|
1197
|
+
* API View for managing uploaded images for credentials.
|
|
1198
|
+
*
|
|
1199
|
+
* This endpoint allows uploading new images and retrieving existing images
|
|
1200
|
+
* for use with credentials (icons, backgrounds, thumbnails, etc.).
|
|
1201
|
+
*
|
|
1202
|
+
* Path Parameters:
|
|
1203
|
+
* org (str): The organization/tenant identifier
|
|
1204
|
+
* user_id (str): The user ID making the request
|
|
1205
|
+
*
|
|
1206
|
+
* Query Parameters:
|
|
1207
|
+
* query (str, required for GET): Search term to filter images by name
|
|
1208
|
+
*
|
|
1209
|
+
* Methods:
|
|
1210
|
+
* GET: Retrieve images matching a search query
|
|
1211
|
+
* POST: Upload a new image
|
|
1212
|
+
*
|
|
1213
|
+
* POST Request Body:
|
|
1214
|
+
* Multipart form data containing:
|
|
1215
|
+
* - image (file, required): The image file to upload
|
|
1216
|
+
* - name (str, optional): A descriptive name for the image
|
|
1217
|
+
*
|
|
1218
|
+
* Returns:
|
|
1219
|
+
* GET: A JSON array of image objects:
|
|
1220
|
+
* [
|
|
1134
1221
|
* {
|
|
1135
|
-
* "id":
|
|
1136
|
-
* "name": "
|
|
1137
|
-
* "image": "https://example.com/media/uploaded_images/
|
|
1138
|
-
* }
|
|
1139
|
-
*
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
* - Only authenticated users with appropriate permissions can upload and retrieve images
|
|
1149
|
-
* @returns UploadedImage
|
|
1150
|
-
* @throws ApiError
|
|
1151
|
-
*/
|
|
1152
|
-
public static credentialsOrgsUsersImagesRetrieve({
|
|
1153
|
-
org,
|
|
1154
|
-
userId,
|
|
1155
|
-
}: {
|
|
1156
|
-
org: string,
|
|
1157
|
-
userId: string,
|
|
1158
|
-
}): CancelablePromise<UploadedImage> {
|
|
1159
|
-
return __request(OpenAPI, {
|
|
1160
|
-
method: 'GET',
|
|
1161
|
-
url: '/api/credentials/orgs/{org}/users/{user_id}/images/',
|
|
1162
|
-
path: {
|
|
1163
|
-
'org': org,
|
|
1164
|
-
'user_id': userId,
|
|
1165
|
-
},
|
|
1166
|
-
});
|
|
1167
|
-
}
|
|
1168
|
-
/**
|
|
1169
|
-
* API View for managing uploaded images for credentials.
|
|
1170
|
-
*
|
|
1171
|
-
* This endpoint allows uploading new images and retrieving existing images
|
|
1172
|
-
* for use with credentials (icons, backgrounds, thumbnails, etc.).
|
|
1173
|
-
*
|
|
1174
|
-
* Path Parameters:
|
|
1175
|
-
* org (str): The organization/tenant identifier
|
|
1176
|
-
* user_id (str): The user ID making the request
|
|
1177
|
-
*
|
|
1178
|
-
* Query Parameters:
|
|
1179
|
-
* query (str, required for GET): Search term to filter images by name
|
|
1180
|
-
*
|
|
1181
|
-
* Methods:
|
|
1182
|
-
* GET: Retrieve images matching a search query
|
|
1183
|
-
* POST: Upload a new image
|
|
1184
|
-
*
|
|
1185
|
-
* POST Request Body:
|
|
1186
|
-
* Multipart form data containing:
|
|
1187
|
-
* - image (file, required): The image file to upload
|
|
1188
|
-
* - name (str, optional): A descriptive name for the image
|
|
1189
|
-
*
|
|
1190
|
-
* Returns:
|
|
1191
|
-
* GET: A JSON array of image objects:
|
|
1192
|
-
* [
|
|
1222
|
+
* "id": 123,
|
|
1223
|
+
* "name": "Logo",
|
|
1224
|
+
* "image": "https://example.com/media/uploaded_images/logo.png"
|
|
1225
|
+
* },
|
|
1226
|
+
* {
|
|
1227
|
+
* "id": 124,
|
|
1228
|
+
* "name": "Background",
|
|
1229
|
+
* "image": "https://example.com/media/uploaded_images/background.jpg"
|
|
1230
|
+
* },
|
|
1231
|
+
* ...
|
|
1232
|
+
* ]
|
|
1233
|
+
*
|
|
1234
|
+
* POST: A JSON object containing the uploaded image details:
|
|
1193
1235
|
* {
|
|
1194
|
-
* "id":
|
|
1195
|
-
* "name": "
|
|
1196
|
-
* "image": "https://example.com/media/uploaded_images/
|
|
1197
|
-
* }
|
|
1198
|
-
*
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1236
|
+
* "id": 125,
|
|
1237
|
+
* "name": "Certificate Icon",
|
|
1238
|
+
* "image": "https://example.com/media/uploaded_images/certificate-icon.png"
|
|
1239
|
+
* }
|
|
1240
|
+
*
|
|
1241
|
+
* Error Responses:
|
|
1242
|
+
* 400 Bad Request: If the request data is invalid or missing required parameters
|
|
1243
|
+
* 401 Unauthorized: If the user is not authenticated
|
|
1244
|
+
* 403 Forbidden: If the user does not have permission to access this resource
|
|
1245
|
+
* 500 Internal Server Error: If an unexpected error occurs
|
|
1246
|
+
*
|
|
1247
|
+
* Access Control:
|
|
1248
|
+
* - Requires IsAdminUserOrStudentDRFMixin
|
|
1249
|
+
* - Only authenticated users with appropriate permissions can upload and retrieve images
|
|
1250
|
+
* @returns UploadedImage
|
|
1251
|
+
* @throws ApiError
|
|
1252
|
+
*/
|
|
1253
|
+
public static credentialsOrgsUsersImagesRetrieve({
|
|
1254
|
+
platformKey,
|
|
1255
|
+
username,
|
|
1256
|
+
}: {
|
|
1257
|
+
platformKey: string,
|
|
1258
|
+
username: string,
|
|
1259
|
+
}): CancelablePromise<UploadedImage> {
|
|
1260
|
+
return __request(OpenAPI, {
|
|
1261
|
+
method: 'GET',
|
|
1262
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/images/',
|
|
1263
|
+
path: {
|
|
1264
|
+
'platform_key': platformKey,
|
|
1265
|
+
'username': username,
|
|
1266
|
+
},
|
|
1267
|
+
});
|
|
1268
|
+
}
|
|
1269
|
+
/**
|
|
1270
|
+
* API View for managing uploaded images for credentials.
|
|
1271
|
+
*
|
|
1272
|
+
* This endpoint allows uploading new images and retrieving existing images
|
|
1273
|
+
* for use with credentials (icons, backgrounds, thumbnails, etc.).
|
|
1274
|
+
*
|
|
1275
|
+
* Path Parameters:
|
|
1276
|
+
* org (str): The organization/tenant identifier
|
|
1277
|
+
* user_id (str): The user ID making the request
|
|
1278
|
+
*
|
|
1279
|
+
* Query Parameters:
|
|
1280
|
+
* query (str, required for GET): Search term to filter images by name
|
|
1281
|
+
*
|
|
1282
|
+
* Methods:
|
|
1283
|
+
* GET: Retrieve images matching a search query
|
|
1284
|
+
* POST: Upload a new image
|
|
1285
|
+
*
|
|
1286
|
+
* POST Request Body:
|
|
1287
|
+
* Multipart form data containing:
|
|
1288
|
+
* - image (file, required): The image file to upload
|
|
1289
|
+
* - name (str, optional): A descriptive name for the image
|
|
1290
|
+
*
|
|
1291
|
+
* Returns:
|
|
1292
|
+
* GET: A JSON array of image objects:
|
|
1293
|
+
* [
|
|
1207
1294
|
* {
|
|
1208
|
-
* "id":
|
|
1209
|
-
* "name": "
|
|
1210
|
-
* "image": "https://example.com/media/uploaded_images/
|
|
1211
|
-
* }
|
|
1212
|
-
*
|
|
1213
|
-
* Error Responses:
|
|
1214
|
-
* 400 Bad Request: If the request data is invalid or missing required parameters
|
|
1215
|
-
* 401 Unauthorized: If the user is not authenticated
|
|
1216
|
-
* 403 Forbidden: If the user does not have permission to access this resource
|
|
1217
|
-
* 500 Internal Server Error: If an unexpected error occurs
|
|
1218
|
-
*
|
|
1219
|
-
* Access Control:
|
|
1220
|
-
* - Requires IsAdminUserOrStudentDRFMixin
|
|
1221
|
-
* - Only authenticated users with appropriate permissions can upload and retrieve images
|
|
1222
|
-
* @returns UploadedImage
|
|
1223
|
-
* @throws ApiError
|
|
1224
|
-
*/
|
|
1225
|
-
public static credentialsOrgsUsersImagesCreate({
|
|
1226
|
-
org,
|
|
1227
|
-
userId,
|
|
1228
|
-
requestBody,
|
|
1229
|
-
}: {
|
|
1230
|
-
org: string,
|
|
1231
|
-
userId: string,
|
|
1232
|
-
requestBody?: UploadedImage,
|
|
1233
|
-
}): CancelablePromise<UploadedImage> {
|
|
1234
|
-
return __request(OpenAPI, {
|
|
1235
|
-
method: 'POST',
|
|
1236
|
-
url: '/api/credentials/orgs/{org}/users/{user_id}/images/',
|
|
1237
|
-
path: {
|
|
1238
|
-
'org': org,
|
|
1239
|
-
'user_id': userId,
|
|
1240
|
-
},
|
|
1241
|
-
body: requestBody,
|
|
1242
|
-
mediaType: 'application/json',
|
|
1243
|
-
});
|
|
1244
|
-
}
|
|
1245
|
-
/**
|
|
1246
|
-
* API View for managing credential issuers.
|
|
1247
|
-
*
|
|
1248
|
-
* This endpoint allows creating and retrieving issuers for a specific organization/tenant,
|
|
1249
|
-
* with support for filtering and pagination.
|
|
1250
|
-
*
|
|
1251
|
-
* Path Parameters:
|
|
1252
|
-
* org (str): The organization/tenant identifier
|
|
1253
|
-
* user_id (str): The user ID making the request
|
|
1254
|
-
*
|
|
1255
|
-
* Query Parameters:
|
|
1256
|
-
* q (str, optional): Search term to filter issuers by name
|
|
1257
|
-
* limit (int, optional): Number of results per page (default: 50)
|
|
1258
|
-
* offset (int, optional): Starting position for pagination
|
|
1259
|
-
*
|
|
1260
|
-
* Methods:
|
|
1261
|
-
* GET: Retrieve issuers with filtering and pagination
|
|
1262
|
-
* POST: Create a new issuer
|
|
1263
|
-
*
|
|
1264
|
-
* POST Request Body:
|
|
1265
|
-
* A JSON object containing issuer details:
|
|
1266
|
-
* - name (str): Issuer name
|
|
1267
|
-
* - iconImage (str, optional): URL to issuer icon
|
|
1268
|
-
* - email (str, optional): Contact email for the issuer
|
|
1269
|
-
* - url (str, optional): Website URL for the issuer
|
|
1270
|
-
* - allowed_template_tags (array, optional): List of allowed template tags
|
|
1271
|
-
*
|
|
1272
|
-
* Returns:
|
|
1273
|
-
* GET: A JSON response containing:
|
|
1295
|
+
* "id": 123,
|
|
1296
|
+
* "name": "Logo",
|
|
1297
|
+
* "image": "https://example.com/media/uploaded_images/logo.png"
|
|
1298
|
+
* },
|
|
1274
1299
|
* {
|
|
1275
|
-
* "
|
|
1276
|
-
* "
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
*
|
|
1354
|
-
*
|
|
1355
|
-
*
|
|
1356
|
-
*
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
* "
|
|
1362
|
-
* "
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
}
|
|
1402
|
-
|
|
1403
|
-
q:
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
*
|
|
1440
|
-
*
|
|
1441
|
-
*
|
|
1442
|
-
*
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1300
|
+
* "id": 124,
|
|
1301
|
+
* "name": "Background",
|
|
1302
|
+
* "image": "https://example.com/media/uploaded_images/background.jpg"
|
|
1303
|
+
* },
|
|
1304
|
+
* ...
|
|
1305
|
+
* ]
|
|
1306
|
+
*
|
|
1307
|
+
* POST: A JSON object containing the uploaded image details:
|
|
1308
|
+
* {
|
|
1309
|
+
* "id": 125,
|
|
1310
|
+
* "name": "Certificate Icon",
|
|
1311
|
+
* "image": "https://example.com/media/uploaded_images/certificate-icon.png"
|
|
1312
|
+
* }
|
|
1313
|
+
*
|
|
1314
|
+
* Error Responses:
|
|
1315
|
+
* 400 Bad Request: If the request data is invalid or missing required parameters
|
|
1316
|
+
* 401 Unauthorized: If the user is not authenticated
|
|
1317
|
+
* 403 Forbidden: If the user does not have permission to access this resource
|
|
1318
|
+
* 500 Internal Server Error: If an unexpected error occurs
|
|
1319
|
+
*
|
|
1320
|
+
* Access Control:
|
|
1321
|
+
* - Requires IsAdminUserOrStudentDRFMixin
|
|
1322
|
+
* - Only authenticated users with appropriate permissions can upload and retrieve images
|
|
1323
|
+
* @returns UploadedImage
|
|
1324
|
+
* @throws ApiError
|
|
1325
|
+
*/
|
|
1326
|
+
public static credentialsOrgsUsersImagesCreate({
|
|
1327
|
+
platformKey,
|
|
1328
|
+
username,
|
|
1329
|
+
requestBody,
|
|
1330
|
+
}: {
|
|
1331
|
+
platformKey: string,
|
|
1332
|
+
username: string,
|
|
1333
|
+
requestBody?: UploadedImage,
|
|
1334
|
+
}): CancelablePromise<UploadedImage> {
|
|
1335
|
+
return __request(OpenAPI, {
|
|
1336
|
+
method: 'POST',
|
|
1337
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/images/',
|
|
1338
|
+
path: {
|
|
1339
|
+
'platform_key': platformKey,
|
|
1340
|
+
'username': username,
|
|
1341
|
+
},
|
|
1342
|
+
body: requestBody,
|
|
1343
|
+
mediaType: 'application/json',
|
|
1344
|
+
});
|
|
1345
|
+
}
|
|
1346
|
+
/**
|
|
1347
|
+
* API View for managing credential issuers.
|
|
1348
|
+
*
|
|
1349
|
+
* This endpoint allows creating and retrieving issuers for a specific organization/tenant,
|
|
1350
|
+
* with support for filtering and pagination.
|
|
1351
|
+
*
|
|
1352
|
+
* Path Parameters:
|
|
1353
|
+
* org (str): The organization/tenant identifier
|
|
1354
|
+
* user_id (str): The user ID making the request
|
|
1355
|
+
*
|
|
1356
|
+
* Query Parameters:
|
|
1357
|
+
* q (str, optional): Search term to filter issuers by name
|
|
1358
|
+
* limit (int, optional): Number of results per page (default: 50)
|
|
1359
|
+
* offset (int, optional): Starting position for pagination
|
|
1360
|
+
*
|
|
1361
|
+
* Methods:
|
|
1362
|
+
* GET: Retrieve issuers with filtering and pagination
|
|
1363
|
+
* POST: Create a new issuer
|
|
1364
|
+
*
|
|
1365
|
+
* POST Request Body:
|
|
1366
|
+
* A JSON object containing issuer details:
|
|
1367
|
+
* - name (str): Issuer name
|
|
1368
|
+
* - iconImage (str, optional): URL to issuer icon
|
|
1369
|
+
* - email (str, optional): Contact email for the issuer
|
|
1370
|
+
* - url (str, optional): Website URL for the issuer
|
|
1371
|
+
* - allowed_template_tags (array, optional): List of allowed template tags
|
|
1372
|
+
*
|
|
1373
|
+
* Returns:
|
|
1374
|
+
* GET: A JSON response containing:
|
|
1375
|
+
* {
|
|
1376
|
+
* "status": {"success": true, "description": "Ok"},
|
|
1377
|
+
* "result": {
|
|
1378
|
+
* "next": "URL to next page",
|
|
1379
|
+
* "previous": "URL to previous page",
|
|
1380
|
+
* "count": 10,
|
|
1381
|
+
* "data": [
|
|
1382
|
+
* {issuer object},
|
|
1383
|
+
* {issuer object},
|
|
1384
|
+
* ...
|
|
1385
|
+
* ],
|
|
1386
|
+
* "num_pages": 1,
|
|
1387
|
+
* "page_number": 1,
|
|
1388
|
+
* "max_page_size": 1000
|
|
1389
|
+
* }
|
|
1390
|
+
* }
|
|
1391
|
+
*
|
|
1392
|
+
* POST: A JSON response containing:
|
|
1393
|
+
* {
|
|
1394
|
+
* "status": {"success": true, "description": "Created"},
|
|
1395
|
+
* "result": {issuer object}
|
|
1396
|
+
* }
|
|
1397
|
+
*
|
|
1398
|
+
* Error Responses:
|
|
1399
|
+
* 400 Bad Request: If the request data is invalid
|
|
1400
|
+
* 401 Unauthorized: If the user is not authenticated
|
|
1401
|
+
* 403 Forbidden: If the user does not have permission to access this resource
|
|
1402
|
+
* 404 Not Found: If the platform doesn't exist
|
|
1403
|
+
* 500 Internal Server Error: If an unexpected error occurs
|
|
1404
|
+
*
|
|
1405
|
+
* Access Control:
|
|
1406
|
+
* - Requires IsAdminUserOrStudentDRFMixin
|
|
1407
|
+
* - Only authenticated users with appropriate permissions can manage issuers
|
|
1408
|
+
* @returns Issuer
|
|
1409
|
+
* @throws ApiError
|
|
1410
|
+
*/
|
|
1411
|
+
public static credentialsOrgsUsersIssuersRetrieve({
|
|
1412
|
+
platformKey,
|
|
1413
|
+
q,
|
|
1414
|
+
username,
|
|
1415
|
+
}: {
|
|
1416
|
+
platformKey: string,
|
|
1417
|
+
q: string,
|
|
1418
|
+
username: string,
|
|
1419
|
+
}): CancelablePromise<Issuer> {
|
|
1420
|
+
return __request(OpenAPI, {
|
|
1421
|
+
method: 'GET',
|
|
1422
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/issuers/',
|
|
1423
|
+
path: {
|
|
1424
|
+
'platform_key': platformKey,
|
|
1425
|
+
'username': username,
|
|
1426
|
+
},
|
|
1427
|
+
query: {
|
|
1428
|
+
'q': q,
|
|
1429
|
+
},
|
|
1430
|
+
});
|
|
1431
|
+
}
|
|
1432
|
+
/**
|
|
1433
|
+
* API View for managing credential issuers.
|
|
1434
|
+
*
|
|
1435
|
+
* This endpoint allows creating and retrieving issuers for a specific organization/tenant,
|
|
1436
|
+
* with support for filtering and pagination.
|
|
1437
|
+
*
|
|
1438
|
+
* Path Parameters:
|
|
1439
|
+
* org (str): The organization/tenant identifier
|
|
1440
|
+
* user_id (str): The user ID making the request
|
|
1441
|
+
*
|
|
1442
|
+
* Query Parameters:
|
|
1443
|
+
* q (str, optional): Search term to filter issuers by name
|
|
1444
|
+
* limit (int, optional): Number of results per page (default: 50)
|
|
1445
|
+
* offset (int, optional): Starting position for pagination
|
|
1446
|
+
*
|
|
1447
|
+
* Methods:
|
|
1448
|
+
* GET: Retrieve issuers with filtering and pagination
|
|
1449
|
+
* POST: Create a new issuer
|
|
1450
|
+
*
|
|
1451
|
+
* POST Request Body:
|
|
1452
|
+
* A JSON object containing issuer details:
|
|
1453
|
+
* - name (str): Issuer name
|
|
1454
|
+
* - iconImage (str, optional): URL to issuer icon
|
|
1455
|
+
* - email (str, optional): Contact email for the issuer
|
|
1456
|
+
* - url (str, optional): Website URL for the issuer
|
|
1457
|
+
* - allowed_template_tags (array, optional): List of allowed template tags
|
|
1458
|
+
*
|
|
1459
|
+
* Returns:
|
|
1460
|
+
* GET: A JSON response containing:
|
|
1461
|
+
* {
|
|
1462
|
+
* "status": {"success": true, "description": "Ok"},
|
|
1463
|
+
* "result": {
|
|
1464
|
+
* "next": "URL to next page",
|
|
1465
|
+
* "previous": "URL to previous page",
|
|
1466
|
+
* "count": 10,
|
|
1467
|
+
* "data": [
|
|
1468
|
+
* {issuer object},
|
|
1469
|
+
* {issuer object},
|
|
1470
|
+
* ...
|
|
1471
|
+
* ],
|
|
1472
|
+
* "num_pages": 1,
|
|
1473
|
+
* "page_number": 1,
|
|
1474
|
+
* "max_page_size": 1000
|
|
1475
|
+
* }
|
|
1476
|
+
* }
|
|
1477
|
+
*
|
|
1478
|
+
* POST: A JSON response containing:
|
|
1448
1479
|
* {
|
|
1449
|
-
* "
|
|
1450
|
-
* "
|
|
1451
|
-
* "entityId": "abc123",
|
|
1452
|
-
* "signatories": [...],
|
|
1453
|
-
* "url": "https://example.com",
|
|
1454
|
-
* "iconImage": "https://example.com/logo.png",
|
|
1455
|
-
* "allowed_template_tags": [...]
|
|
1480
|
+
* "status": {"success": true, "description": "Created"},
|
|
1481
|
+
* "result": {issuer object}
|
|
1456
1482
|
* }
|
|
1457
|
-
* ]
|
|
1458
1483
|
*
|
|
1459
|
-
*
|
|
1484
|
+
* Error Responses:
|
|
1485
|
+
* 400 Bad Request: If the request data is invalid
|
|
1486
|
+
* 401 Unauthorized: If the user is not authenticated
|
|
1487
|
+
* 403 Forbidden: If the user does not have permission to access this resource
|
|
1488
|
+
* 404 Not Found: If the platform doesn't exist
|
|
1489
|
+
* 500 Internal Server Error: If an unexpected error occurs
|
|
1490
|
+
*
|
|
1491
|
+
* Access Control:
|
|
1492
|
+
* - Requires IsAdminUserOrStudentDRFMixin
|
|
1493
|
+
* - Only authenticated users with appropriate permissions can manage issuers
|
|
1494
|
+
* @returns Issuer
|
|
1495
|
+
* @throws ApiError
|
|
1496
|
+
*/
|
|
1497
|
+
public static credentialsOrgsUsersIssuersCreate({
|
|
1498
|
+
platformKey,
|
|
1499
|
+
q,
|
|
1500
|
+
username,
|
|
1501
|
+
requestBody,
|
|
1502
|
+
}: {
|
|
1503
|
+
platformKey: string,
|
|
1504
|
+
q: string,
|
|
1505
|
+
username: string,
|
|
1506
|
+
requestBody: Issuer,
|
|
1507
|
+
}): CancelablePromise<Issuer> {
|
|
1508
|
+
return __request(OpenAPI, {
|
|
1509
|
+
method: 'POST',
|
|
1510
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/issuers/',
|
|
1511
|
+
path: {
|
|
1512
|
+
'platform_key': platformKey,
|
|
1513
|
+
'username': username,
|
|
1514
|
+
},
|
|
1515
|
+
query: {
|
|
1516
|
+
'q': q,
|
|
1517
|
+
},
|
|
1518
|
+
body: requestBody,
|
|
1519
|
+
mediaType: 'application/json',
|
|
1520
|
+
});
|
|
1521
|
+
}
|
|
1522
|
+
/**
|
|
1523
|
+
* API View for managing individual issuers.
|
|
1524
|
+
*
|
|
1525
|
+
* This endpoint allows retrieving, updating, and deleting specific issuers
|
|
1526
|
+
* identified by their entity_id or org identifier.
|
|
1527
|
+
*
|
|
1528
|
+
* Path Parameters:
|
|
1529
|
+
* org (str): The organization/tenant identifier
|
|
1530
|
+
* user_id (str): The user ID making the request
|
|
1531
|
+
* entity_id (str): The issuer entity ID or org identifier
|
|
1532
|
+
*
|
|
1533
|
+
* Methods:
|
|
1534
|
+
* GET: Retrieve a specific issuer
|
|
1535
|
+
* PUT: Update a specific issuer
|
|
1536
|
+
* DELETE: Delete a specific issuer
|
|
1537
|
+
*
|
|
1538
|
+
* PUT Request Body:
|
|
1539
|
+
* A JSON object containing issuer details to update:
|
|
1540
|
+
* - name (str, optional): Issuer name
|
|
1541
|
+
* - iconImage (str, optional): URL to issuer icon
|
|
1542
|
+
* - email (str, optional): Contact email for the issuer
|
|
1543
|
+
* - url (str, optional): Website URL for the issuer
|
|
1544
|
+
* - allowed_template_tags (array, optional): List of allowed template tags
|
|
1545
|
+
*
|
|
1546
|
+
* Returns:
|
|
1547
|
+
* GET: A JSON response containing the issuer details:
|
|
1460
1548
|
* [
|
|
1461
1549
|
* {
|
|
1462
1550
|
* "name": "Example University",
|
|
@@ -1464,87 +1552,87 @@ export class CredentialsService {
|
|
|
1464
1552
|
* "entityId": "abc123",
|
|
1465
1553
|
* "signatories": [...],
|
|
1466
1554
|
* "url": "https://example.com",
|
|
1467
|
-
* "iconImage": "https://example.com/
|
|
1555
|
+
* "iconImage": "https://example.com/logo.png",
|
|
1468
1556
|
* "allowed_template_tags": [...]
|
|
1469
1557
|
* }
|
|
1470
1558
|
* ]
|
|
1471
1559
|
*
|
|
1472
|
-
*
|
|
1473
|
-
*
|
|
1474
|
-
*
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
* - Only authenticated users with appropriate permissions can manage issuers
|
|
1487
|
-
* @returns Issuer
|
|
1488
|
-
* @throws ApiError
|
|
1489
|
-
*/
|
|
1490
|
-
public static credentialsOrgsUsersIssuersRetrieve2({
|
|
1491
|
-
entityId,
|
|
1492
|
-
org,
|
|
1493
|
-
userId,
|
|
1494
|
-
}: {
|
|
1495
|
-
entityId: string,
|
|
1496
|
-
org: string,
|
|
1497
|
-
userId: string,
|
|
1498
|
-
}): CancelablePromise<Issuer> {
|
|
1499
|
-
return __request(OpenAPI, {
|
|
1500
|
-
method: 'GET',
|
|
1501
|
-
url: '/api/credentials/orgs/{org}/users/{user_id}/issuers/{entity_id}',
|
|
1502
|
-
path: {
|
|
1503
|
-
'entity_id': entityId,
|
|
1504
|
-
'org': org,
|
|
1505
|
-
'user_id': userId,
|
|
1506
|
-
},
|
|
1507
|
-
});
|
|
1508
|
-
}
|
|
1509
|
-
/**
|
|
1510
|
-
* API View for managing individual issuers.
|
|
1511
|
-
*
|
|
1512
|
-
* This endpoint allows retrieving, updating, and deleting specific issuers
|
|
1513
|
-
* identified by their entity_id or org identifier.
|
|
1514
|
-
*
|
|
1515
|
-
* Path Parameters:
|
|
1516
|
-
* org (str): The organization/tenant identifier
|
|
1517
|
-
* user_id (str): The user ID making the request
|
|
1518
|
-
* entity_id (str): The issuer entity ID or org identifier
|
|
1519
|
-
*
|
|
1520
|
-
* Methods:
|
|
1521
|
-
* GET: Retrieve a specific issuer
|
|
1522
|
-
* PUT: Update a specific issuer
|
|
1523
|
-
* DELETE: Delete a specific issuer
|
|
1524
|
-
*
|
|
1525
|
-
* PUT Request Body:
|
|
1526
|
-
* A JSON object containing issuer details to update:
|
|
1527
|
-
* - name (str, optional): Issuer name
|
|
1528
|
-
* - iconImage (str, optional): URL to issuer icon
|
|
1529
|
-
* - email (str, optional): Contact email for the issuer
|
|
1530
|
-
* - url (str, optional): Website URL for the issuer
|
|
1531
|
-
* - allowed_template_tags (array, optional): List of allowed template tags
|
|
1532
|
-
*
|
|
1533
|
-
* Returns:
|
|
1534
|
-
* GET: A JSON response containing the issuer details:
|
|
1535
|
-
* [
|
|
1560
|
+
* PUT: A JSON response containing the updated issuer details:
|
|
1561
|
+
* [
|
|
1562
|
+
* {
|
|
1563
|
+
* "name": "Example University",
|
|
1564
|
+
* "org": "example-university",
|
|
1565
|
+
* "entityId": "abc123",
|
|
1566
|
+
* "signatories": [...],
|
|
1567
|
+
* "url": "https://example.com",
|
|
1568
|
+
* "iconImage": "https://example.com/new-logo.png",
|
|
1569
|
+
* "allowed_template_tags": [...]
|
|
1570
|
+
* }
|
|
1571
|
+
* ]
|
|
1572
|
+
*
|
|
1573
|
+
* DELETE: A JSON response indicating success:
|
|
1536
1574
|
* {
|
|
1537
|
-
* "
|
|
1538
|
-
* "org": "example-university",
|
|
1539
|
-
* "entityId": "abc123",
|
|
1540
|
-
* "signatories": [...],
|
|
1541
|
-
* "url": "https://example.com",
|
|
1542
|
-
* "iconImage": "https://example.com/logo.png",
|
|
1543
|
-
* "allowed_template_tags": [...]
|
|
1575
|
+
* "status": {"success": true, "description": "Deleted"}
|
|
1544
1576
|
* }
|
|
1545
|
-
* ]
|
|
1546
1577
|
*
|
|
1547
|
-
*
|
|
1578
|
+
* Error Responses:
|
|
1579
|
+
* 400 Bad Request: If the request data is invalid
|
|
1580
|
+
* 401 Unauthorized: If the user is not authenticated
|
|
1581
|
+
* 403 Forbidden: If the user does not have permission to access this resource
|
|
1582
|
+
* 404 Not Found: If the issuer doesn't exist
|
|
1583
|
+
* 500 Internal Server Error: If an unexpected error occurs
|
|
1584
|
+
*
|
|
1585
|
+
* Access Control:
|
|
1586
|
+
* - Requires IsAdminUserOrStudentDRFMixin
|
|
1587
|
+
* - Only authenticated users with appropriate permissions can manage issuers
|
|
1588
|
+
* @returns Issuer
|
|
1589
|
+
* @throws ApiError
|
|
1590
|
+
*/
|
|
1591
|
+
public static credentialsOrgsUsersIssuersRetrieve2({
|
|
1592
|
+
entityId,
|
|
1593
|
+
platformKey,
|
|
1594
|
+
username,
|
|
1595
|
+
}: {
|
|
1596
|
+
entityId: string,
|
|
1597
|
+
platformKey: string,
|
|
1598
|
+
username: string,
|
|
1599
|
+
}): CancelablePromise<Issuer> {
|
|
1600
|
+
return __request(OpenAPI, {
|
|
1601
|
+
method: 'GET',
|
|
1602
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/issuers/{entity_id}',
|
|
1603
|
+
path: {
|
|
1604
|
+
'entity_id': entityId,
|
|
1605
|
+
'platform_key': platformKey,
|
|
1606
|
+
'username': username,
|
|
1607
|
+
},
|
|
1608
|
+
});
|
|
1609
|
+
}
|
|
1610
|
+
/**
|
|
1611
|
+
* API View for managing individual issuers.
|
|
1612
|
+
*
|
|
1613
|
+
* This endpoint allows retrieving, updating, and deleting specific issuers
|
|
1614
|
+
* identified by their entity_id or org identifier.
|
|
1615
|
+
*
|
|
1616
|
+
* Path Parameters:
|
|
1617
|
+
* org (str): The organization/tenant identifier
|
|
1618
|
+
* user_id (str): The user ID making the request
|
|
1619
|
+
* entity_id (str): The issuer entity ID or org identifier
|
|
1620
|
+
*
|
|
1621
|
+
* Methods:
|
|
1622
|
+
* GET: Retrieve a specific issuer
|
|
1623
|
+
* PUT: Update a specific issuer
|
|
1624
|
+
* DELETE: Delete a specific issuer
|
|
1625
|
+
*
|
|
1626
|
+
* PUT Request Body:
|
|
1627
|
+
* A JSON object containing issuer details to update:
|
|
1628
|
+
* - name (str, optional): Issuer name
|
|
1629
|
+
* - iconImage (str, optional): URL to issuer icon
|
|
1630
|
+
* - email (str, optional): Contact email for the issuer
|
|
1631
|
+
* - url (str, optional): Website URL for the issuer
|
|
1632
|
+
* - allowed_template_tags (array, optional): List of allowed template tags
|
|
1633
|
+
*
|
|
1634
|
+
* Returns:
|
|
1635
|
+
* GET: A JSON response containing the issuer details:
|
|
1548
1636
|
* [
|
|
1549
1637
|
* {
|
|
1550
1638
|
* "name": "Example University",
|
|
@@ -1552,91 +1640,91 @@ export class CredentialsService {
|
|
|
1552
1640
|
* "entityId": "abc123",
|
|
1553
1641
|
* "signatories": [...],
|
|
1554
1642
|
* "url": "https://example.com",
|
|
1555
|
-
* "iconImage": "https://example.com/
|
|
1643
|
+
* "iconImage": "https://example.com/logo.png",
|
|
1556
1644
|
* "allowed_template_tags": [...]
|
|
1557
1645
|
* }
|
|
1558
1646
|
* ]
|
|
1559
1647
|
*
|
|
1560
|
-
*
|
|
1561
|
-
*
|
|
1562
|
-
*
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
* - Only authenticated users with appropriate permissions can manage issuers
|
|
1575
|
-
* @returns Issuer
|
|
1576
|
-
* @throws ApiError
|
|
1577
|
-
*/
|
|
1578
|
-
public static credentialsOrgsUsersIssuersUpdate({
|
|
1579
|
-
entityId,
|
|
1580
|
-
org,
|
|
1581
|
-
userId,
|
|
1582
|
-
requestBody,
|
|
1583
|
-
}: {
|
|
1584
|
-
entityId: string,
|
|
1585
|
-
org: string,
|
|
1586
|
-
userId: string,
|
|
1587
|
-
requestBody: Issuer,
|
|
1588
|
-
}): CancelablePromise<Issuer> {
|
|
1589
|
-
return __request(OpenAPI, {
|
|
1590
|
-
method: 'PUT',
|
|
1591
|
-
url: '/api/credentials/orgs/{org}/users/{user_id}/issuers/{entity_id}',
|
|
1592
|
-
path: {
|
|
1593
|
-
'entity_id': entityId,
|
|
1594
|
-
'org': org,
|
|
1595
|
-
'user_id': userId,
|
|
1596
|
-
},
|
|
1597
|
-
body: requestBody,
|
|
1598
|
-
mediaType: 'application/json',
|
|
1599
|
-
});
|
|
1600
|
-
}
|
|
1601
|
-
/**
|
|
1602
|
-
* API View for managing individual issuers.
|
|
1603
|
-
*
|
|
1604
|
-
* This endpoint allows retrieving, updating, and deleting specific issuers
|
|
1605
|
-
* identified by their entity_id or org identifier.
|
|
1606
|
-
*
|
|
1607
|
-
* Path Parameters:
|
|
1608
|
-
* org (str): The organization/tenant identifier
|
|
1609
|
-
* user_id (str): The user ID making the request
|
|
1610
|
-
* entity_id (str): The issuer entity ID or org identifier
|
|
1611
|
-
*
|
|
1612
|
-
* Methods:
|
|
1613
|
-
* GET: Retrieve a specific issuer
|
|
1614
|
-
* PUT: Update a specific issuer
|
|
1615
|
-
* DELETE: Delete a specific issuer
|
|
1616
|
-
*
|
|
1617
|
-
* PUT Request Body:
|
|
1618
|
-
* A JSON object containing issuer details to update:
|
|
1619
|
-
* - name (str, optional): Issuer name
|
|
1620
|
-
* - iconImage (str, optional): URL to issuer icon
|
|
1621
|
-
* - email (str, optional): Contact email for the issuer
|
|
1622
|
-
* - url (str, optional): Website URL for the issuer
|
|
1623
|
-
* - allowed_template_tags (array, optional): List of allowed template tags
|
|
1624
|
-
*
|
|
1625
|
-
* Returns:
|
|
1626
|
-
* GET: A JSON response containing the issuer details:
|
|
1627
|
-
* [
|
|
1648
|
+
* PUT: A JSON response containing the updated issuer details:
|
|
1649
|
+
* [
|
|
1650
|
+
* {
|
|
1651
|
+
* "name": "Example University",
|
|
1652
|
+
* "org": "example-university",
|
|
1653
|
+
* "entityId": "abc123",
|
|
1654
|
+
* "signatories": [...],
|
|
1655
|
+
* "url": "https://example.com",
|
|
1656
|
+
* "iconImage": "https://example.com/new-logo.png",
|
|
1657
|
+
* "allowed_template_tags": [...]
|
|
1658
|
+
* }
|
|
1659
|
+
* ]
|
|
1660
|
+
*
|
|
1661
|
+
* DELETE: A JSON response indicating success:
|
|
1628
1662
|
* {
|
|
1629
|
-
* "
|
|
1630
|
-
* "org": "example-university",
|
|
1631
|
-
* "entityId": "abc123",
|
|
1632
|
-
* "signatories": [...],
|
|
1633
|
-
* "url": "https://example.com",
|
|
1634
|
-
* "iconImage": "https://example.com/logo.png",
|
|
1635
|
-
* "allowed_template_tags": [...]
|
|
1663
|
+
* "status": {"success": true, "description": "Deleted"}
|
|
1636
1664
|
* }
|
|
1637
|
-
* ]
|
|
1638
1665
|
*
|
|
1639
|
-
*
|
|
1666
|
+
* Error Responses:
|
|
1667
|
+
* 400 Bad Request: If the request data is invalid
|
|
1668
|
+
* 401 Unauthorized: If the user is not authenticated
|
|
1669
|
+
* 403 Forbidden: If the user does not have permission to access this resource
|
|
1670
|
+
* 404 Not Found: If the issuer doesn't exist
|
|
1671
|
+
* 500 Internal Server Error: If an unexpected error occurs
|
|
1672
|
+
*
|
|
1673
|
+
* Access Control:
|
|
1674
|
+
* - Requires IsAdminUserOrStudentDRFMixin
|
|
1675
|
+
* - Only authenticated users with appropriate permissions can manage issuers
|
|
1676
|
+
* @returns Issuer
|
|
1677
|
+
* @throws ApiError
|
|
1678
|
+
*/
|
|
1679
|
+
public static credentialsOrgsUsersIssuersUpdate({
|
|
1680
|
+
entityId,
|
|
1681
|
+
platformKey,
|
|
1682
|
+
username,
|
|
1683
|
+
requestBody,
|
|
1684
|
+
}: {
|
|
1685
|
+
entityId: string,
|
|
1686
|
+
platformKey: string,
|
|
1687
|
+
username: string,
|
|
1688
|
+
requestBody: Issuer,
|
|
1689
|
+
}): CancelablePromise<Issuer> {
|
|
1690
|
+
return __request(OpenAPI, {
|
|
1691
|
+
method: 'PUT',
|
|
1692
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/issuers/{entity_id}',
|
|
1693
|
+
path: {
|
|
1694
|
+
'entity_id': entityId,
|
|
1695
|
+
'platform_key': platformKey,
|
|
1696
|
+
'username': username,
|
|
1697
|
+
},
|
|
1698
|
+
body: requestBody,
|
|
1699
|
+
mediaType: 'application/json',
|
|
1700
|
+
});
|
|
1701
|
+
}
|
|
1702
|
+
/**
|
|
1703
|
+
* API View for managing individual issuers.
|
|
1704
|
+
*
|
|
1705
|
+
* This endpoint allows retrieving, updating, and deleting specific issuers
|
|
1706
|
+
* identified by their entity_id or org identifier.
|
|
1707
|
+
*
|
|
1708
|
+
* Path Parameters:
|
|
1709
|
+
* org (str): The organization/tenant identifier
|
|
1710
|
+
* user_id (str): The user ID making the request
|
|
1711
|
+
* entity_id (str): The issuer entity ID or org identifier
|
|
1712
|
+
*
|
|
1713
|
+
* Methods:
|
|
1714
|
+
* GET: Retrieve a specific issuer
|
|
1715
|
+
* PUT: Update a specific issuer
|
|
1716
|
+
* DELETE: Delete a specific issuer
|
|
1717
|
+
*
|
|
1718
|
+
* PUT Request Body:
|
|
1719
|
+
* A JSON object containing issuer details to update:
|
|
1720
|
+
* - name (str, optional): Issuer name
|
|
1721
|
+
* - iconImage (str, optional): URL to issuer icon
|
|
1722
|
+
* - email (str, optional): Contact email for the issuer
|
|
1723
|
+
* - url (str, optional): Website URL for the issuer
|
|
1724
|
+
* - allowed_template_tags (array, optional): List of allowed template tags
|
|
1725
|
+
*
|
|
1726
|
+
* Returns:
|
|
1727
|
+
* GET: A JSON response containing the issuer details:
|
|
1640
1728
|
* [
|
|
1641
1729
|
* {
|
|
1642
1730
|
* "name": "Example University",
|
|
@@ -1644,144 +1732,261 @@ export class CredentialsService {
|
|
|
1644
1732
|
* "entityId": "abc123",
|
|
1645
1733
|
* "signatories": [...],
|
|
1646
1734
|
* "url": "https://example.com",
|
|
1647
|
-
* "iconImage": "https://example.com/
|
|
1735
|
+
* "iconImage": "https://example.com/logo.png",
|
|
1648
1736
|
* "allowed_template_tags": [...]
|
|
1649
1737
|
* }
|
|
1650
1738
|
* ]
|
|
1651
1739
|
*
|
|
1652
|
-
*
|
|
1653
|
-
*
|
|
1654
|
-
* "status": {"success": true, "description": "Deleted"}
|
|
1655
|
-
* }
|
|
1656
|
-
*
|
|
1657
|
-
* Error Responses:
|
|
1658
|
-
* 400 Bad Request: If the request data is invalid
|
|
1659
|
-
* 401 Unauthorized: If the user is not authenticated
|
|
1660
|
-
* 403 Forbidden: If the user does not have permission to access this resource
|
|
1661
|
-
* 404 Not Found: If the issuer doesn't exist
|
|
1662
|
-
* 500 Internal Server Error: If an unexpected error occurs
|
|
1663
|
-
*
|
|
1664
|
-
* Access Control:
|
|
1665
|
-
* - Requires IsAdminUserOrStudentDRFMixin
|
|
1666
|
-
* - Only authenticated users with appropriate permissions can manage issuers
|
|
1667
|
-
* @returns void
|
|
1668
|
-
* @throws ApiError
|
|
1669
|
-
*/
|
|
1670
|
-
public static credentialsOrgsUsersIssuersDestroy({
|
|
1671
|
-
entityId,
|
|
1672
|
-
org,
|
|
1673
|
-
userId,
|
|
1674
|
-
}: {
|
|
1675
|
-
entityId: string,
|
|
1676
|
-
org: string,
|
|
1677
|
-
userId: string,
|
|
1678
|
-
}): CancelablePromise<void> {
|
|
1679
|
-
return __request(OpenAPI, {
|
|
1680
|
-
method: 'DELETE',
|
|
1681
|
-
url: '/api/credentials/orgs/{org}/users/{user_id}/issuers/{entity_id}',
|
|
1682
|
-
path: {
|
|
1683
|
-
'entity_id': entityId,
|
|
1684
|
-
'org': org,
|
|
1685
|
-
'user_id': userId,
|
|
1686
|
-
},
|
|
1687
|
-
});
|
|
1688
|
-
}
|
|
1689
|
-
/**
|
|
1690
|
-
* API View for managing issuer authorities (signatories).
|
|
1691
|
-
*
|
|
1692
|
-
* This endpoint allows creating authorities/signatories that can be associated
|
|
1693
|
-
* with issuers or specific credentials.
|
|
1694
|
-
*
|
|
1695
|
-
* Path Parameters:
|
|
1696
|
-
* org (str): The organization/tenant identifier
|
|
1697
|
-
* user_id (str): The user ID making the request
|
|
1698
|
-
*
|
|
1699
|
-
* Methods:
|
|
1700
|
-
* POST: Create a new issuer authority
|
|
1701
|
-
*
|
|
1702
|
-
* POST Request Body:
|
|
1703
|
-
* A JSON object containing authority details:
|
|
1704
|
-
* - name (str, required): Name of the signatory
|
|
1705
|
-
* - title (str, required): Title of the signatory
|
|
1706
|
-
* - signature (str, required): URL to the signature image
|
|
1707
|
-
* - org (str, optional): Organization identifier to associate with an issuer
|
|
1708
|
-
* - entityId (str, optional): Issuer entity ID to associate with
|
|
1709
|
-
* - credential (str, optional): Credential entity ID to associate with
|
|
1710
|
-
*
|
|
1711
|
-
* Returns:
|
|
1712
|
-
* POST: A JSON response containing the created authority:
|
|
1740
|
+
* PUT: A JSON response containing the updated issuer details:
|
|
1741
|
+
* [
|
|
1713
1742
|
* {
|
|
1714
|
-
* "
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1743
|
+
* "name": "Example University",
|
|
1744
|
+
* "org": "example-university",
|
|
1745
|
+
* "entityId": "abc123",
|
|
1746
|
+
* "signatories": [...],
|
|
1747
|
+
* "url": "https://example.com",
|
|
1748
|
+
* "iconImage": "https://example.com/new-logo.png",
|
|
1749
|
+
* "allowed_template_tags": [...]
|
|
1750
|
+
* }
|
|
1751
|
+
* ]
|
|
1752
|
+
*
|
|
1753
|
+
* DELETE: A JSON response indicating success:
|
|
1754
|
+
* {
|
|
1755
|
+
* "status": {"success": true, "description": "Deleted"}
|
|
1719
1756
|
* }
|
|
1720
1757
|
*
|
|
1721
1758
|
* Error Responses:
|
|
1722
|
-
* 400 Bad Request: If the request data is invalid
|
|
1759
|
+
* 400 Bad Request: If the request data is invalid
|
|
1723
1760
|
* 401 Unauthorized: If the user is not authenticated
|
|
1724
1761
|
* 403 Forbidden: If the user does not have permission to access this resource
|
|
1725
|
-
* 404 Not Found: If the issuer
|
|
1762
|
+
* 404 Not Found: If the issuer doesn't exist
|
|
1726
1763
|
* 500 Internal Server Error: If an unexpected error occurs
|
|
1727
1764
|
*
|
|
1728
1765
|
* Access Control:
|
|
1729
1766
|
* - Requires IsAdminUserOrStudentDRFMixin
|
|
1730
|
-
* - Only authenticated users with appropriate permissions can manage
|
|
1731
|
-
* @returns
|
|
1767
|
+
* - Only authenticated users with appropriate permissions can manage issuers
|
|
1768
|
+
* @returns void
|
|
1732
1769
|
* @throws ApiError
|
|
1733
1770
|
*/
|
|
1734
|
-
public static
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1771
|
+
public static credentialsOrgsUsersIssuersDestroy({
|
|
1772
|
+
entityId,
|
|
1773
|
+
platformKey,
|
|
1774
|
+
username,
|
|
1738
1775
|
}: {
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
}): CancelablePromise<
|
|
1776
|
+
entityId: string,
|
|
1777
|
+
platformKey: string,
|
|
1778
|
+
username: string,
|
|
1779
|
+
}): CancelablePromise<void> {
|
|
1743
1780
|
return __request(OpenAPI, {
|
|
1744
|
-
method: '
|
|
1745
|
-
url: '/api/credentials/orgs/{
|
|
1781
|
+
method: 'DELETE',
|
|
1782
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/issuers/{entity_id}',
|
|
1746
1783
|
path: {
|
|
1747
|
-
'
|
|
1748
|
-
'
|
|
1784
|
+
'entity_id': entityId,
|
|
1785
|
+
'platform_key': platformKey,
|
|
1786
|
+
'username': username,
|
|
1749
1787
|
},
|
|
1750
|
-
body: requestBody,
|
|
1751
|
-
mediaType: 'application/json',
|
|
1752
1788
|
});
|
|
1753
1789
|
}
|
|
1754
1790
|
/**
|
|
1755
|
-
*
|
|
1791
|
+
* API View for managing issuer authorities (signatories).
|
|
1756
1792
|
*
|
|
1757
|
-
* This endpoint allows
|
|
1758
|
-
*
|
|
1793
|
+
* This endpoint allows creating authorities/signatories that can be associated
|
|
1794
|
+
* with issuers or specific credentials.
|
|
1759
1795
|
*
|
|
1760
1796
|
* Path Parameters:
|
|
1761
|
-
*
|
|
1797
|
+
* org (str): The organization/tenant identifier
|
|
1798
|
+
* user_id (str): The user ID making the request
|
|
1762
1799
|
*
|
|
1763
|
-
*
|
|
1764
|
-
*
|
|
1800
|
+
* Methods:
|
|
1801
|
+
* POST: Create a new issuer authority
|
|
1765
1802
|
*
|
|
1766
|
-
*
|
|
1767
|
-
*
|
|
1768
|
-
* -
|
|
1769
|
-
* -
|
|
1770
|
-
*
|
|
1771
|
-
*
|
|
1772
|
-
*
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1803
|
+
* POST Request Body:
|
|
1804
|
+
* A JSON object containing authority details:
|
|
1805
|
+
* - name (str, required): Name of the signatory
|
|
1806
|
+
* - title (str, required): Title of the signatory
|
|
1807
|
+
* - signature (str, required): URL to the signature image
|
|
1808
|
+
* - org (str, optional): Organization identifier to associate with an issuer
|
|
1809
|
+
* - entityId (str, optional): Issuer entity ID to associate with
|
|
1810
|
+
* - credential (str, optional): Credential entity ID to associate with
|
|
1811
|
+
*
|
|
1812
|
+
* Returns:
|
|
1813
|
+
* POST: A JSON response containing the created authority:
|
|
1814
|
+
* {
|
|
1815
|
+
* "data": {
|
|
1816
|
+
* "name": "John Smith",
|
|
1817
|
+
* "title": "President",
|
|
1818
|
+
* "signature": "https://example.com/signatures/john-smith.png"
|
|
1819
|
+
* }
|
|
1820
|
+
* }
|
|
1821
|
+
*
|
|
1822
|
+
* Error Responses:
|
|
1823
|
+
* 400 Bad Request: If the request data is invalid or missing required fields
|
|
1824
|
+
* 401 Unauthorized: If the user is not authenticated
|
|
1825
|
+
* 403 Forbidden: If the user does not have permission to access this resource
|
|
1826
|
+
* 404 Not Found: If the issuer or credential doesn't exist
|
|
1827
|
+
* 500 Internal Server Error: If an unexpected error occurs
|
|
1828
|
+
*
|
|
1829
|
+
* Access Control:
|
|
1830
|
+
* - Requires IsAdminUserOrStudentDRFMixin
|
|
1831
|
+
* - Only authenticated users with appropriate permissions can manage authorities
|
|
1832
|
+
* @returns IssuerAuthority
|
|
1833
|
+
* @throws ApiError
|
|
1834
|
+
*/
|
|
1835
|
+
public static credentialsOrgsUsersIssuersAuthorityCreate({
|
|
1836
|
+
platformKey,
|
|
1837
|
+
username,
|
|
1838
|
+
requestBody,
|
|
1839
|
+
}: {
|
|
1840
|
+
platformKey: string,
|
|
1841
|
+
username: string,
|
|
1842
|
+
requestBody: IssuerAuthority,
|
|
1843
|
+
}): CancelablePromise<IssuerAuthority> {
|
|
1844
|
+
return __request(OpenAPI, {
|
|
1845
|
+
method: 'POST',
|
|
1846
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/issuers/authority/',
|
|
1847
|
+
path: {
|
|
1848
|
+
'platform_key': platformKey,
|
|
1849
|
+
'username': username,
|
|
1850
|
+
},
|
|
1851
|
+
body: requestBody,
|
|
1852
|
+
mediaType: 'application/json',
|
|
1853
|
+
});
|
|
1854
|
+
}
|
|
1855
|
+
/**
|
|
1856
|
+
* Retrieve provider configurations for the platform.
|
|
1857
|
+
*
|
|
1858
|
+
* Query Parameters:
|
|
1859
|
+
* provider_name (str, optional): Filter to a specific provider
|
|
1860
|
+
* page (int, optional): Page number
|
|
1861
|
+
* page_size (int, optional): Items per page
|
|
1862
|
+
*
|
|
1863
|
+
* Returns all configurations for the platform if the user is an admin.
|
|
1864
|
+
* @returns CredentialProviderConfig
|
|
1865
|
+
* @throws ApiError
|
|
1866
|
+
*/
|
|
1867
|
+
public static credentialsOrgsUsersProviderConfigRetrieve({
|
|
1868
|
+
platformKey,
|
|
1869
|
+
username,
|
|
1870
|
+
}: {
|
|
1871
|
+
platformKey: string,
|
|
1872
|
+
username: string,
|
|
1873
|
+
}): CancelablePromise<CredentialProviderConfig> {
|
|
1874
|
+
return __request(OpenAPI, {
|
|
1875
|
+
method: 'GET',
|
|
1876
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/provider-config/',
|
|
1877
|
+
path: {
|
|
1878
|
+
'platform_key': platformKey,
|
|
1879
|
+
'username': username,
|
|
1880
|
+
},
|
|
1881
|
+
});
|
|
1882
|
+
}
|
|
1883
|
+
/**
|
|
1884
|
+
* Create or update a provider configuration.
|
|
1885
|
+
*
|
|
1886
|
+
* If a configuration doesn't exist for the platform and provider, it will be created.
|
|
1887
|
+
* If it exists, it will be updated.
|
|
1888
|
+
*
|
|
1889
|
+
* Request Body:
|
|
1890
|
+
* {
|
|
1891
|
+
* "provider_name": "accredible", // Required
|
|
1892
|
+
* "config": {...}, // Optional
|
|
1893
|
+
* "enabled": true // Optional
|
|
1894
|
+
* }
|
|
1895
|
+
*
|
|
1896
|
+
* Returns:
|
|
1897
|
+
* - 201 Created: When creating a new configuration
|
|
1898
|
+
* - 200 OK: When updating an existing configuration
|
|
1899
|
+
* @returns CredentialProviderConfig
|
|
1900
|
+
* @throws ApiError
|
|
1901
|
+
*/
|
|
1902
|
+
public static credentialsOrgsUsersProviderConfigCreate({
|
|
1903
|
+
platformKey,
|
|
1904
|
+
username,
|
|
1905
|
+
requestBody,
|
|
1906
|
+
}: {
|
|
1907
|
+
platformKey: string,
|
|
1908
|
+
username: string,
|
|
1909
|
+
requestBody: CredentialProviderConfig,
|
|
1910
|
+
}): CancelablePromise<CredentialProviderConfig> {
|
|
1911
|
+
return __request(OpenAPI, {
|
|
1912
|
+
method: 'POST',
|
|
1913
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/provider-config/',
|
|
1914
|
+
path: {
|
|
1915
|
+
'platform_key': platformKey,
|
|
1916
|
+
'username': username,
|
|
1917
|
+
},
|
|
1918
|
+
body: requestBody,
|
|
1919
|
+
mediaType: 'application/json',
|
|
1920
|
+
});
|
|
1921
|
+
}
|
|
1922
|
+
/**
|
|
1923
|
+
* Deactivate a provider configuration (sets enabled=False).
|
|
1924
|
+
*
|
|
1925
|
+
* Request Body:
|
|
1926
|
+
* {
|
|
1927
|
+
* "provider_name": "accredible" // Required
|
|
1928
|
+
* }
|
|
1929
|
+
* @returns void
|
|
1930
|
+
* @throws ApiError
|
|
1931
|
+
*/
|
|
1932
|
+
public static credentialsOrgsUsersProviderConfigDestroy({
|
|
1933
|
+
platformKey,
|
|
1934
|
+
username,
|
|
1935
|
+
}: {
|
|
1936
|
+
platformKey: string,
|
|
1937
|
+
username: string,
|
|
1938
|
+
}): CancelablePromise<void> {
|
|
1939
|
+
return __request(OpenAPI, {
|
|
1940
|
+
method: 'DELETE',
|
|
1941
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/provider-config/',
|
|
1942
|
+
path: {
|
|
1943
|
+
'platform_key': platformKey,
|
|
1944
|
+
'username': username,
|
|
1945
|
+
},
|
|
1946
|
+
});
|
|
1947
|
+
}
|
|
1948
|
+
/**
|
|
1949
|
+
* Get list of enabled credential providers with pagination.
|
|
1950
|
+
* @returns any No response body
|
|
1951
|
+
* @throws ApiError
|
|
1952
|
+
*/
|
|
1953
|
+
public static credentialsProvidersRetrieve(): CancelablePromise<any> {
|
|
1954
|
+
return __request(OpenAPI, {
|
|
1955
|
+
method: 'GET',
|
|
1956
|
+
url: '/api/credentials/providers/',
|
|
1957
|
+
});
|
|
1958
|
+
}
|
|
1959
|
+
/**
|
|
1960
|
+
* Public endpoint to retrieve a specific credential assertion by its entity ID.
|
|
1961
|
+
*
|
|
1962
|
+
* This endpoint allows public access to view a specific credential assertion
|
|
1963
|
+
* without authentication.
|
|
1964
|
+
*
|
|
1965
|
+
* Path Parameters:
|
|
1966
|
+
* entity_id (str): The assertion entity ID
|
|
1967
|
+
*
|
|
1968
|
+
* Returns:
|
|
1969
|
+
* A JSON response containing the assertion details using the AssertionSerializer format
|
|
1970
|
+
*
|
|
1971
|
+
* Error Responses:
|
|
1972
|
+
* 404 Not Found:
|
|
1973
|
+
* - If the assertion doesn't exist: Empty response with 404 status
|
|
1974
|
+
* - If the assertion has been revoked: JSON with error detail and revocation reason
|
|
1975
|
+
* 500 Internal Server Error: If an unexpected error occurs
|
|
1976
|
+
* @returns Assertion
|
|
1977
|
+
* @throws ApiError
|
|
1978
|
+
*/
|
|
1979
|
+
public static credentialsPublicAssertionsRetrieve({
|
|
1980
|
+
entityId,
|
|
1981
|
+
}: {
|
|
1982
|
+
entityId: string,
|
|
1983
|
+
}): CancelablePromise<Assertion> {
|
|
1984
|
+
return __request(OpenAPI, {
|
|
1985
|
+
method: 'GET',
|
|
1986
|
+
url: '/api/credentials/public/assertions/{entity_id}/',
|
|
1987
|
+
path: {
|
|
1988
|
+
'entity_id': entityId,
|
|
1989
|
+
},
|
|
1990
|
+
});
|
|
1991
|
+
}
|
|
1992
|
+
}
|