@iblai/iblai-api 0.0.1-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/README.md +222 -0
- package/dist/index.cjs.js +17527 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.esm.js +17494 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.umd.js +17533 -0
- package/dist/index.umd.js.map +1 -0
- package/dist/types/core/ApiError.d.ts +10 -0
- package/dist/types/core/ApiRequestOptions.d.ts +13 -0
- package/dist/types/core/ApiResult.d.ts +7 -0
- package/dist/types/core/CancelablePromise.d.ts +20 -0
- package/dist/types/core/OpenAPI.d.ts +16 -0
- package/dist/types/core/request.d.ts +30 -0
- package/dist/types/index.d.ts +396 -0
- package/dist/types/models/AWSTenantLaunchRequest.d.ts +20 -0
- package/dist/types/models/AcceptanceEnum.d.ts +10 -0
- package/dist/types/models/ActivateUserFreeTrial.d.ts +11 -0
- package/dist/types/models/ActiveUsersData.d.ts +18 -0
- package/dist/types/models/ActiveUsersList.d.ts +6 -0
- package/dist/types/models/ActiveUsersPerCourse.d.ts +10 -0
- package/dist/types/models/ActiveUsersPerCourseData.d.ts +14 -0
- package/dist/types/models/ActivityAPI.d.ts +8 -0
- package/dist/types/models/ActivityData.d.ts +38 -0
- package/dist/types/models/App.d.ts +10 -0
- package/dist/types/models/AppleSubscriptionStatusRequest.d.ts +3 -0
- package/dist/types/models/AppleSubscriptionStatusView.d.ts +3 -0
- package/dist/types/models/AppleVerifyTransactionId.d.ts +3 -0
- package/dist/types/models/Assertion.d.ts +15 -0
- package/dist/types/models/AssociateAccountResponse.d.ts +5 -0
- package/dist/types/models/AssociateAppleAccount.d.ts +3 -0
- package/dist/types/models/AuthToken.d.ts +10 -0
- package/dist/types/models/Average.d.ts +4 -0
- package/dist/types/models/AverageData.d.ts +6 -0
- package/dist/types/models/AverageOvertime.d.ts +22 -0
- package/dist/types/models/AvgCourseGradeWithCutoff.d.ts +4 -0
- package/dist/types/models/AvgCourseGradeWithCutoffData.d.ts +10 -0
- package/dist/types/models/BaseErrorResponse.d.ts +5 -0
- package/dist/types/models/BaseResponse.d.ts +5 -0
- package/dist/types/models/BlankCourseInvitationCreate.d.ts +21 -0
- package/dist/types/models/BlankEnum.d.ts +2 -0
- package/dist/types/models/BlankPlatformInvitationCreate.d.ts +21 -0
- package/dist/types/models/BlankProgramInvitationCreate.d.ts +21 -0
- package/dist/types/models/BlockSkillPointInfoRequest.d.ts +18 -0
- package/dist/types/models/BlockSkillPointInfoResponse.d.ts +10 -0
- package/dist/types/models/BulkCourseInvitationCreate.d.ts +14 -0
- package/dist/types/models/BulkCourseInvitationResponse.d.ts +13 -0
- package/dist/types/models/BulkCreateAssertion.d.ts +4 -0
- package/dist/types/models/BulkPlatformInvitationCreate.d.ts +14 -0
- package/dist/types/models/BulkPlatformInvitationResponse.d.ts +13 -0
- package/dist/types/models/BulkProgramInvitationCreate.d.ts +14 -0
- package/dist/types/models/BulkProgramInvitationResponse.d.ts +13 -0
- package/dist/types/models/BulkSuggestionResponse.d.ts +13 -0
- package/dist/types/models/CampaignEnablement.d.ts +8 -0
- package/dist/types/models/CampaignExclusion.d.ts +8 -0
- package/dist/types/models/CatalogAutoIncrementResponse.d.ts +25 -0
- package/dist/types/models/CatalogAutoIncrementUpdateRequest.d.ts +17 -0
- package/dist/types/models/CeleryHeartbeat.d.ts +5 -0
- package/dist/types/models/CeleryHeartbeatFail.d.ts +5 -0
- package/dist/types/models/CeleryHeartbeatFailStatusEnum.d.ts +8 -0
- package/dist/types/models/CeleryHeartbeatStatusEnum.d.ts +8 -0
- package/dist/types/models/Company.d.ts +23 -0
- package/dist/types/models/ContextResponse.d.ts +7 -0
- package/dist/types/models/Count.d.ts +4 -0
- package/dist/types/models/CountData.d.ts +6 -0
- package/dist/types/models/Course.d.ts +15 -0
- package/dist/types/models/CourseAccessRequestCreate.d.ts +17 -0
- package/dist/types/models/CourseAccessRequestDetail.d.ts +49 -0
- package/dist/types/models/CourseAccessRequestStatusResponse.d.ts +17 -0
- package/dist/types/models/CourseAccessRequestUpdate.d.ts +25 -0
- package/dist/types/models/CourseCompletion.d.ts +66 -0
- package/dist/types/models/CourseCompletionCatalogResponse.d.ts +11 -0
- package/dist/types/models/CourseCompletionPerCourse.d.ts +6 -0
- package/dist/types/models/CourseCompletionPerCourseData.d.ts +22 -0
- package/dist/types/models/CourseCompletionSummaryDataOvertime.d.ts +18 -0
- package/dist/types/models/CourseCompletionSummaryOvertime.d.ts +6 -0
- package/dist/types/models/CourseCreateUpdate.d.ts +25 -0
- package/dist/types/models/CourseDeleteResponse.d.ts +13 -0
- package/dist/types/models/CourseEligibilityCheckResponse.d.ts +25 -0
- package/dist/types/models/CourseEnrollmentSearchResponse.d.ts +53 -0
- package/dist/types/models/CourseGradeDetailBlock.d.ts +18 -0
- package/dist/types/models/CourseGradeDetailSubSection.d.ts +23 -0
- package/dist/types/models/CourseGradeSummary.d.ts +4 -0
- package/dist/types/models/CourseGradeSummaryData.d.ts +18 -0
- package/dist/types/models/CourseGradingDetail.d.ts +4 -0
- package/dist/types/models/CourseGradingDetailData.d.ts +12 -0
- package/dist/types/models/CourseGroupSuggestionCreate.d.ts +41 -0
- package/dist/types/models/CourseGroupSuggestionDetail.d.ts +53 -0
- package/dist/types/models/CourseInvitationCreate.d.ts +41 -0
- package/dist/types/models/CourseInvitationDetail.d.ts +53 -0
- package/dist/types/models/CourseInvitationRedemption.d.ts +25 -0
- package/dist/types/models/CourseLicenseAssignmentCreate.d.ts +37 -0
- package/dist/types/models/CourseLicenseAssignmentDetail.d.ts +49 -0
- package/dist/types/models/CourseLicenseCreate.d.ts +61 -0
- package/dist/types/models/CourseLicenseDetail.d.ts +53 -0
- package/dist/types/models/CourseLicenseGroupAssignmentCreate.d.ts +33 -0
- package/dist/types/models/CourseLicenseGroupAssignmentDetail.d.ts +45 -0
- package/dist/types/models/CourseLicenseUpdate.d.ts +61 -0
- package/dist/types/models/CourseMetadataSearchRequest.d.ts +17 -0
- package/dist/types/models/CourseMetadataUpdateRequest.d.ts +17 -0
- package/dist/types/models/CoursePoint.d.ts +7 -0
- package/dist/types/models/CourseReviewInfoResponse.d.ts +17 -0
- package/dist/types/models/CourseSkill.d.ts +8 -0
- package/dist/types/models/CourseSkillPointInfoRequest.d.ts +18 -0
- package/dist/types/models/CourseSkillPointInfoResponse.d.ts +10 -0
- package/dist/types/models/CourseSuggestionBulkCreate.d.ts +17 -0
- package/dist/types/models/CourseSuggestionCreate.d.ts +49 -0
- package/dist/types/models/CourseSuggestionDetail.d.ts +53 -0
- package/dist/types/models/Credential.d.ts +28 -0
- package/dist/types/models/DesiredRole.d.ts +7 -0
- package/dist/types/models/DesiredRoleCreateUpdateRequest.d.ts +21 -0
- package/dist/types/models/DesiredSkill.d.ts +7 -0
- package/dist/types/models/DesiredSkillCreateUpdateRequest.d.ts +21 -0
- package/dist/types/models/DetailedGradeSubsection.d.ts +22 -0
- package/dist/types/models/DetailedGradeView.d.ts +4 -0
- package/dist/types/models/DetailedGradeViewData.d.ts +12 -0
- package/dist/types/models/Education.d.ts +30 -0
- package/dist/types/models/EdxSignalReceiverRequest.d.ts +4 -0
- package/dist/types/models/EngagementPerCourse.d.ts +6 -0
- package/dist/types/models/EngagementPerCourseData.d.ts +26 -0
- package/dist/types/models/Enrollments.d.ts +8 -0
- package/dist/types/models/EnrollmentsData.d.ts +18 -0
- package/dist/types/models/EnrollmentsPerUser.d.ts +6 -0
- package/dist/types/models/EnrollmentsPerUserData.d.ts +18 -0
- package/dist/types/models/ErrorResponse.d.ts +8 -0
- package/dist/types/models/Experience.d.ts +29 -0
- package/dist/types/models/FloatOverTime.d.ts +10 -0
- package/dist/types/models/GCPTenantLaunchRequest.d.ts +24 -0
- package/dist/types/models/GlobalCatalogSearchResponse.d.ts +33 -0
- package/dist/types/models/GooglePayAccountResponse.d.ts +15 -0
- package/dist/types/models/GooglePayAccountResponseStatusEnum.d.ts +8 -0
- package/dist/types/models/GooglePayVerifyToken.d.ts +6 -0
- package/dist/types/models/GradingPerUser.d.ts +8 -0
- package/dist/types/models/GradingPerUserData.d.ts +26 -0
- package/dist/types/models/GroupList.d.ts +6 -0
- package/dist/types/models/GroupListData.d.ts +16 -0
- package/dist/types/models/ImageUpload.d.ts +3 -0
- package/dist/types/models/Institution.d.ts +20 -0
- package/dist/types/models/InstitutionTypeEnum.d.ts +14 -0
- package/dist/types/models/Issuer.d.ts +9 -0
- package/dist/types/models/IssuerAuthority.d.ts +5 -0
- package/dist/types/models/ItemTypeEnum.d.ts +18 -0
- package/dist/types/models/LauncherViewPostRequest.d.ts +9 -0
- package/dist/types/models/LearnerInformationAPI.d.ts +4 -0
- package/dist/types/models/LearnerInformationAPIData.d.ts +83 -0
- package/dist/types/models/LtiKey.d.ts +19 -0
- package/dist/types/models/LtiLaunchGate.d.ts +8 -0
- package/dist/types/models/LtiTool.d.ts +46 -0
- package/dist/types/models/ManagerAuthToken.d.ts +13 -0
- package/dist/types/models/MarkAllReadRequest.d.ts +9 -0
- package/dist/types/models/MarkAllReadResponse.d.ts +7 -0
- package/dist/types/models/MediaResource.d.ts +71 -0
- package/dist/types/models/MediaTypeEnum.d.ts +14 -0
- package/dist/types/models/ModeEnum.d.ts +10 -0
- package/dist/types/models/NetRevenueOverTime.d.ts +8 -0
- package/dist/types/models/NewPerLearnerList.d.ts +6 -0
- package/dist/types/models/NewPerLearnerListData.d.ts +17 -0
- package/dist/types/models/Notification.d.ts +14 -0
- package/dist/types/models/NotificationCount.d.ts +4 -0
- package/dist/types/models/NotificationPreview.d.ts +31 -0
- package/dist/types/models/NotificationSource.d.ts +8 -0
- package/dist/types/models/NotificationStatusEnum.d.ts +10 -0
- package/dist/types/models/NotificationTemplateData.d.ts +26 -0
- package/dist/types/models/OnboardingStatusUpdate.d.ts +7 -0
- package/dist/types/models/Order.d.ts +22 -0
- package/dist/types/models/OverTime.d.ts +3 -0
- package/dist/types/models/OverTimeWithTotal.d.ts +22 -0
- package/dist/types/models/OvertimeMeta.d.ts +30 -0
- package/dist/types/models/OvertimeWithChangeInfo.d.ts +24 -0
- package/dist/types/models/PaginatedCourseAccessRequest.d.ts +22 -0
- package/dist/types/models/PaginatedCourseGroupSuggestion.d.ts +22 -0
- package/dist/types/models/PaginatedCourseInvitation.d.ts +22 -0
- package/dist/types/models/PaginatedCourseLicense.d.ts +22 -0
- package/dist/types/models/PaginatedCourseLicenseAssignment.d.ts +22 -0
- package/dist/types/models/PaginatedCourseLicenseGroupAssignment.d.ts +22 -0
- package/dist/types/models/PaginatedCourseSuggestion.d.ts +22 -0
- package/dist/types/models/PaginatedPathwayGroupSuggestion.d.ts +22 -0
- package/dist/types/models/PaginatedPathwaySuggestion.d.ts +22 -0
- package/dist/types/models/PaginatedPlatformInvitation.d.ts +22 -0
- package/dist/types/models/PaginatedPlatformLicense.d.ts +22 -0
- package/dist/types/models/PaginatedProgramGroupSuggestion.d.ts +22 -0
- package/dist/types/models/PaginatedProgramInvitation.d.ts +22 -0
- package/dist/types/models/PaginatedProgramLicense.d.ts +31 -0
- package/dist/types/models/PaginatedProgramLicenseAssignment.d.ts +31 -0
- package/dist/types/models/PaginatedProgramLicenseGroupAssignment.d.ts +31 -0
- package/dist/types/models/PaginatedProgramSuggestion.d.ts +22 -0
- package/dist/types/models/PaginatedUserAppList.d.ts +7 -0
- package/dist/types/models/PaginatedUserLicense.d.ts +22 -0
- package/dist/types/models/PaginatedUserLicenseAssignment.d.ts +22 -0
- package/dist/types/models/PaginatedUserLicenseGroupAssignment.d.ts +22 -0
- package/dist/types/models/Pagination.d.ts +18 -0
- package/dist/types/models/PatchedMediaResource.d.ts +71 -0
- package/dist/types/models/PatchedNotification.d.ts +14 -0
- package/dist/types/models/PatchedPlatformPublicMetadata.d.ts +8 -0
- package/dist/types/models/PatchedSkillThreshold.d.ts +14 -0
- package/dist/types/models/Pathway.d.ts +28 -0
- package/dist/types/models/PathwayCompletionResponse.d.ts +13 -0
- package/dist/types/models/PathwayCreateUpdateRequest.d.ts +45 -0
- package/dist/types/models/PathwayDeleteResponse.d.ts +13 -0
- package/dist/types/models/PathwayEnrollment.d.ts +22 -0
- package/dist/types/models/PathwayEnrollmentPlus.d.ts +26 -0
- package/dist/types/models/PathwayEnrollmentRequest.d.ts +49 -0
- package/dist/types/models/PathwayGroupSuggestionCreate.d.ts +41 -0
- package/dist/types/models/PathwayGroupSuggestionDetail.d.ts +61 -0
- package/dist/types/models/PathwaySelfEnrollmentRequest.d.ts +37 -0
- package/dist/types/models/PathwaySuggestionBulkCreate.d.ts +21 -0
- package/dist/types/models/PathwaySuggestionCreate.d.ts +53 -0
- package/dist/types/models/PathwaySuggestionDetail.d.ts +61 -0
- package/dist/types/models/PerLearnerCourseLastAccessData.d.ts +30 -0
- package/dist/types/models/PerLearnerCourseVideosWatched.d.ts +8 -0
- package/dist/types/models/PerLearnerCourseVideosWatchedData.d.ts +14 -0
- package/dist/types/models/PerLearnerLastAccess.d.ts +4 -0
- package/dist/types/models/PerLearnerLastAccessData.d.ts +11 -0
- package/dist/types/models/PerLearnerTimeSpentInCourseTree.d.ts +8 -0
- package/dist/types/models/PerformanceGradesPerCourse.d.ts +6 -0
- package/dist/types/models/PerformanceGradesPerCourseData.d.ts +22 -0
- package/dist/types/models/PerlearnerCourseProgress.d.ts +4 -0
- package/dist/types/models/PerlearnerCourseProgressData.d.ts +6 -0
- package/dist/types/models/PerlearnerEngagementVideosData.d.ts +30 -0
- package/dist/types/models/PerlearnerEngagementVideosWatchedPerCourse.d.ts +4 -0
- package/dist/types/models/PerlearnerGradeSummary.d.ts +4 -0
- package/dist/types/models/PerlearnerGradeSummaryData.d.ts +18 -0
- package/dist/types/models/PerlearnerGradeWithCutOff.d.ts +4 -0
- package/dist/types/models/PerlearnerGradeWithCutOffData.d.ts +10 -0
- package/dist/types/models/PerlearnerGradingPerCourseAPI.d.ts +4 -0
- package/dist/types/models/PerlearnerGradingPerCourseAPIData.d.ts +34 -0
- package/dist/types/models/PerlearnerUserList.d.ts +6 -0
- package/dist/types/models/PerlearnerUserListData.d.ts +34 -0
- package/dist/types/models/Platform.d.ts +29 -0
- package/dist/types/models/PlatformApiKey.d.ts +30 -0
- package/dist/types/models/PlatformInvitationCreate.d.ts +41 -0
- package/dist/types/models/PlatformInvitationDetail.d.ts +53 -0
- package/dist/types/models/PlatformInvitationRedemption.d.ts +25 -0
- package/dist/types/models/PlatformLicenseCreate.d.ts +53 -0
- package/dist/types/models/PlatformLicenseDetail.d.ts +49 -0
- package/dist/types/models/PlatformLicenseUpdate.d.ts +57 -0
- package/dist/types/models/PlatformList.d.ts +29 -0
- package/dist/types/models/PlatformListStatusEnum.d.ts +22 -0
- package/dist/types/models/PlatformPublicMetadata.d.ts +8 -0
- package/dist/types/models/PlatformSkillPointBulkRequest.d.ts +13 -0
- package/dist/types/models/PlatformSkillPointBulkResponse.d.ts +13 -0
- package/dist/types/models/PlatformSkillPointGroupRequest.d.ts +21 -0
- package/dist/types/models/PlatformSkillPointRequest.d.ts +21 -0
- package/dist/types/models/PlatformSkillPointResponse.d.ts +21 -0
- package/dist/types/models/PlatformUpdatePostRequest.d.ts +9 -0
- package/dist/types/models/PointsPercentile.d.ts +8 -0
- package/dist/types/models/PreviewResponse.d.ts +11 -0
- package/dist/types/models/Product.d.ts +22 -0
- package/dist/types/models/ProductTable.d.ts +26 -0
- package/dist/types/models/Program.d.ts +24 -0
- package/dist/types/models/ProgramCompletionResponse.d.ts +13 -0
- package/dist/types/models/ProgramCoursePosition.d.ts +6 -0
- package/dist/types/models/ProgramCreateUpdateRequest.d.ts +45 -0
- package/dist/types/models/ProgramDeleteResponse.d.ts +13 -0
- package/dist/types/models/ProgramEnrollment.d.ts +30 -0
- package/dist/types/models/ProgramEnrollmentPlus.d.ts +34 -0
- package/dist/types/models/ProgramGroupSuggestionCreate.d.ts +37 -0
- package/dist/types/models/ProgramGroupSuggestionDetail.d.ts +53 -0
- package/dist/types/models/ProgramInvitationCreate.d.ts +41 -0
- package/dist/types/models/ProgramInvitationDetail.d.ts +53 -0
- package/dist/types/models/ProgramInvitationRedemption.d.ts +25 -0
- package/dist/types/models/ProgramLicenseAssignmentCreate.d.ts +70 -0
- package/dist/types/models/ProgramLicenseAssignmentDetail.d.ts +90 -0
- package/dist/types/models/ProgramLicenseCreateDetail.d.ts +61 -0
- package/dist/types/models/ProgramLicenseDetail.d.ts +90 -0
- package/dist/types/models/ProgramLicenseGroupAssignmentCreate.d.ts +56 -0
- package/dist/types/models/ProgramLicenseGroupAssignmentDetail.d.ts +85 -0
- package/dist/types/models/ProgramLicenseUpdateDetail.d.ts +76 -0
- package/dist/types/models/ProgramReviewInfoResponse.d.ts +17 -0
- package/dist/types/models/ProgramSearch.d.ts +28 -0
- package/dist/types/models/ProgramSuggestionBulkCreate.d.ts +21 -0
- package/dist/types/models/ProgramSuggestionCreate.d.ts +53 -0
- package/dist/types/models/ProgramSuggestionDetail.d.ts +53 -0
- package/dist/types/models/ProgramTypeEnum.d.ts +18 -0
- package/dist/types/models/Recipient.d.ts +8 -0
- package/dist/types/models/RecommendationSearchAPI.d.ts +3 -0
- package/dist/types/models/RedirectTokenRequest.d.ts +3 -0
- package/dist/types/models/RedirectTokenResponse.d.ts +5 -0
- package/dist/types/models/ReportCreate.d.ts +7 -0
- package/dist/types/models/ReportData.d.ts +28 -0
- package/dist/types/models/ReportDetail.d.ts +4 -0
- package/dist/types/models/ReportList.d.ts +4 -0
- package/dist/types/models/ReportRequest.d.ts +21 -0
- package/dist/types/models/ReportStatus.d.ts +41 -0
- package/dist/types/models/ReportedRole.d.ts +7 -0
- package/dist/types/models/ReportedRoleCreateUpdateRequest.d.ts +21 -0
- package/dist/types/models/ReportedSkill.d.ts +7 -0
- package/dist/types/models/Resource.d.ts +22 -0
- package/dist/types/models/ResourceCompletion.d.ts +46 -0
- package/dist/types/models/ResourceCompletionRequest.d.ts +29 -0
- package/dist/types/models/ResourceCreateUpdate.d.ts +42 -0
- package/dist/types/models/ResourceDeleteResponse.d.ts +13 -0
- package/dist/types/models/ResourcePoint.d.ts +7 -0
- package/dist/types/models/RevenueByProduct.d.ts +6 -0
- package/dist/types/models/Role.d.ts +18 -0
- package/dist/types/models/RoleCreateUpdateRequest.d.ts +25 -0
- package/dist/types/models/SendNotification.d.ts +6 -0
- package/dist/types/models/SendResponse.d.ts +9 -0
- package/dist/types/models/Skill.d.ts +16 -0
- package/dist/types/models/SkillCreateUpdateRequest.d.ts +25 -0
- package/dist/types/models/SkillDetail.d.ts +9 -0
- package/dist/types/models/SkillInfo.d.ts +23 -0
- package/dist/types/models/SkillThreshold.d.ts +14 -0
- package/dist/types/models/StateEnum.d.ts +22 -0
- package/dist/types/models/StripeCheckoutSessionRequest.d.ts +54 -0
- package/dist/types/models/StripeCheckoutSessionResponse.d.ts +6 -0
- package/dist/types/models/StripeCustomerPortalRequest.d.ts +3 -0
- package/dist/types/models/StripeCustomerPortalResponse.d.ts +3 -0
- package/dist/types/models/StripeLocalProduct.d.ts +8 -0
- package/dist/types/models/StripeSubscriptionRenewalRequest.d.ts +4 -0
- package/dist/types/models/StripeSubscriptionRenewalResponse.d.ts +3 -0
- package/dist/types/models/SubTimeChild.d.ts +18 -0
- package/dist/types/models/Summary.d.ts +18 -0
- package/dist/types/models/TenantLaunchError.d.ts +10 -0
- package/dist/types/models/TenantLaunchFailed.d.ts +15 -0
- package/dist/types/models/TenantLaunchRequest.d.ts +16 -0
- package/dist/types/models/TenantLaunchResponse.d.ts +15 -0
- package/dist/types/models/TimeChildData.d.ts +20 -0
- package/dist/types/models/TimeDetail.d.ts +8 -0
- package/dist/types/models/TimeDetailChild.d.ts +26 -0
- package/dist/types/models/TimeDetailData.d.ts +24 -0
- package/dist/types/models/TimeSpentByUsersInCourse.d.ts +6 -0
- package/dist/types/models/TimeSpentByUsersInCourseData.d.ts +22 -0
- package/dist/types/models/TimeSpentPerCourse.d.ts +6 -0
- package/dist/types/models/TimeSpentPerCourseData.d.ts +26 -0
- package/dist/types/models/TimeSpentPerUserResponse.d.ts +3 -0
- package/dist/types/models/TimeSpentUpdateRequest.d.ts +34 -0
- package/dist/types/models/TimeSpentUpdateResponse.d.ts +4 -0
- package/dist/types/models/TokenProxyInput.d.ts +21 -0
- package/dist/types/models/TokenProxyOutput.d.ts +7 -0
- package/dist/types/models/TokenProxyOutputSerializerData.d.ts +20 -0
- package/dist/types/models/TokenProxyUser.d.ts +25 -0
- package/dist/types/models/TypeEnum.d.ts +18 -0
- package/dist/types/models/UploadedImage.d.ts +5 -0
- package/dist/types/models/UserApp.d.ts +27 -0
- package/dist/types/models/UserDeleteAPIError.d.ts +3 -0
- package/dist/types/models/UserDeleteAPIRequest.d.ts +3 -0
- package/dist/types/models/UserDeleteAPIResponse.d.ts +3 -0
- package/dist/types/models/UserInfo.d.ts +13 -0
- package/dist/types/models/UserLicenseAssignmentCreate.d.ts +37 -0
- package/dist/types/models/UserLicenseAssignmentDetail.d.ts +49 -0
- package/dist/types/models/UserLicenseCreate.d.ts +57 -0
- package/dist/types/models/UserLicenseDetail.d.ts +53 -0
- package/dist/types/models/UserLicenseGroupAssignmentCreate.d.ts +33 -0
- package/dist/types/models/UserLicenseGroupAssignmentDetail.d.ts +45 -0
- package/dist/types/models/UserLicenseUpdate.d.ts +61 -0
- package/dist/types/models/UserPlatformLink.d.ts +17 -0
- package/dist/types/models/UserPlatformManagementListViewGetResponse.d.ts +6 -0
- package/dist/types/models/UserPlatformViewPostRequest.d.ts +8 -0
- package/dist/types/models/UserProxyBulkRequest.d.ts +3 -0
- package/dist/types/models/UserProxyGetResponse.d.ts +8 -0
- package/dist/types/models/UserProxyPostRequest.d.ts +7 -0
- package/dist/types/models/UserProxyPostResponse.d.ts +8 -0
- package/dist/types/models/UserSearchResponse.d.ts +29 -0
- package/dist/types/models/UserSearchViewGetResponse.d.ts +6 -0
- package/dist/types/models/UserSkill.d.ts +22 -0
- package/dist/types/models/UserSkillPointInfoResponse.d.ts +10 -0
- package/dist/types/models/UserSkillPointsPercentile.d.ts +8 -0
- package/dist/types/models/ValidateSourceResponse.d.ts +10 -0
- package/dist/types/models/Value.d.ts +4 -0
- package/dist/types/models/ValueData.d.ts +6 -0
- package/dist/types/models/VerifyGCPMarketPlaceFailedResponse.d.ts +11 -0
- package/dist/types/models/VerifyGCPMarketPlaceRequest.d.ts +3 -0
- package/dist/types/models/VerifyGCPMarketPlaceResponse.d.ts +11 -0
- package/dist/types/models/VideoBlock.d.ts +14 -0
- package/dist/types/models/VideoEngagementPerCourse.d.ts +6 -0
- package/dist/types/models/VideoEngagementPerCourseData.d.ts +30 -0
- package/dist/types/models/VideosCount.d.ts +4 -0
- package/dist/types/models/VideosCountData.d.ts +6 -0
- package/dist/types/models/VideosInCourseSummary.d.ts +4 -0
- package/dist/types/models/VideosInCourseSummaryData.d.ts +12 -0
- package/dist/types/models/VideosSpecificCourse.d.ts +4 -0
- package/dist/types/models/VideosSpecificCourseData.d.ts +26 -0
- package/dist/types/models/VideosWatchedSubSection.d.ts +19 -0
- package/dist/types/models/WatchedVideosPerCourse.d.ts +8 -0
- package/dist/types/models/WatchedVideosPerCourseData.d.ts +18 -0
- package/dist/types/models/WatchedVideosPerUser.d.ts +8 -0
- package/dist/types/models/WatchedVideosPerUserData.d.ts +18 -0
- package/dist/types/models/WhitelistedDomain.d.ts +4 -0
- package/dist/types/services/AnalyticsService.d.ts +54 -0
- package/dist/types/services/AudienceService.d.ts +348 -0
- package/dist/types/services/CareerService.d.ts +210 -0
- package/dist/types/services/CatalogService.d.ts +4682 -0
- package/dist/types/services/CoreService.d.ts +638 -0
- package/dist/types/services/CredentialsService.d.ts +1189 -0
- package/dist/types/services/DepartmentsService.d.ts +43 -0
- package/dist/types/services/EngagementService.d.ts +467 -0
- package/dist/types/services/FeaturesService.d.ts +75 -0
- package/dist/types/services/FinanceService.d.ts +52 -0
- package/dist/types/services/MediaResourcesService.d.ts +112 -0
- package/dist/types/services/NotificationBuilderService.d.ts +58 -0
- package/dist/types/services/NotificationService.d.ts +128 -0
- package/dist/types/services/OrgsService.d.ts +262 -0
- package/dist/types/services/OverviewService.d.ts +184 -0
- package/dist/types/services/PerformanceService.d.ts +183 -0
- package/dist/types/services/PerlearnerService.d.ts +501 -0
- package/dist/types/services/PlatformService.d.ts +391 -0
- package/dist/types/services/ProviderAssociationService.d.ts +16 -0
- package/dist/types/services/ProvidersService.d.ts +142 -0
- package/dist/types/services/ProvisionService.d.ts +14 -0
- package/dist/types/services/RecommendationsService.d.ts +13 -0
- package/dist/types/services/ReportsService.d.ts +142 -0
- package/dist/types/services/RolesService.d.ts +57 -0
- package/dist/types/services/SearchService.d.ts +352 -0
- package/dist/types/services/ServiceService.d.ts +170 -0
- package/dist/types/services/SkillsService.d.ts +377 -0
- package/dist/types/services/UserGroupsService.d.ts +49 -0
- package/package.json +39 -0
- package/rollup.config.js +113 -0
- package/src/core/ApiError.ts +25 -0
- package/src/core/ApiRequestOptions.ts +17 -0
- package/src/core/ApiResult.ts +11 -0
- package/src/core/CancelablePromise.ts +131 -0
- package/src/core/OpenAPI.ts +32 -0
- package/src/core/request.ts +322 -0
- package/src/index.ts +402 -0
- package/src/models/AWSTenantLaunchRequest.ts +25 -0
- package/src/models/AcceptanceEnum.ts +14 -0
- package/src/models/ActivateUserFreeTrial.ts +16 -0
- package/src/models/ActiveUsersData.ts +23 -0
- package/src/models/ActiveUsersList.ts +11 -0
- package/src/models/ActiveUsersPerCourse.ts +15 -0
- package/src/models/ActiveUsersPerCourseData.ts +19 -0
- package/src/models/ActivityAPI.ts +13 -0
- package/src/models/ActivityData.ts +43 -0
- package/src/models/App.ts +15 -0
- package/src/models/AppleSubscriptionStatusRequest.ts +8 -0
- package/src/models/AppleSubscriptionStatusView.ts +8 -0
- package/src/models/AppleVerifyTransactionId.ts +8 -0
- package/src/models/Assertion.ts +20 -0
- package/src/models/AssociateAccountResponse.ts +10 -0
- package/src/models/AssociateAppleAccount.ts +8 -0
- package/src/models/AuthToken.ts +15 -0
- package/src/models/Average.ts +9 -0
- package/src/models/AverageData.ts +11 -0
- package/src/models/AverageOvertime.ts +27 -0
- package/src/models/AvgCourseGradeWithCutoff.ts +9 -0
- package/src/models/AvgCourseGradeWithCutoffData.ts +15 -0
- package/src/models/BaseErrorResponse.ts +10 -0
- package/src/models/BaseResponse.ts +10 -0
- package/src/models/BlankCourseInvitationCreate.ts +26 -0
- package/src/models/BlankEnum.ts +7 -0
- package/src/models/BlankPlatformInvitationCreate.ts +26 -0
- package/src/models/BlankProgramInvitationCreate.ts +26 -0
- package/src/models/BlockSkillPointInfoRequest.ts +23 -0
- package/src/models/BlockSkillPointInfoResponse.ts +15 -0
- package/src/models/BulkCourseInvitationCreate.ts +19 -0
- package/src/models/BulkCourseInvitationResponse.ts +18 -0
- package/src/models/BulkCreateAssertion.ts +9 -0
- package/src/models/BulkPlatformInvitationCreate.ts +19 -0
- package/src/models/BulkPlatformInvitationResponse.ts +18 -0
- package/src/models/BulkProgramInvitationCreate.ts +19 -0
- package/src/models/BulkProgramInvitationResponse.ts +18 -0
- package/src/models/BulkSuggestionResponse.ts +18 -0
- package/src/models/CampaignEnablement.ts +13 -0
- package/src/models/CampaignExclusion.ts +13 -0
- package/src/models/CatalogAutoIncrementResponse.ts +30 -0
- package/src/models/CatalogAutoIncrementUpdateRequest.ts +22 -0
- package/src/models/CeleryHeartbeat.ts +10 -0
- package/src/models/CeleryHeartbeatFail.ts +10 -0
- package/src/models/CeleryHeartbeatFailStatusEnum.ts +12 -0
- package/src/models/CeleryHeartbeatStatusEnum.ts +12 -0
- package/src/models/Company.ts +28 -0
- package/src/models/ContextResponse.ts +12 -0
- package/src/models/Count.ts +9 -0
- package/src/models/CountData.ts +11 -0
- package/src/models/Course.ts +20 -0
- package/src/models/CourseAccessRequestCreate.ts +22 -0
- package/src/models/CourseAccessRequestDetail.ts +54 -0
- package/src/models/CourseAccessRequestStatusResponse.ts +22 -0
- package/src/models/CourseAccessRequestUpdate.ts +30 -0
- package/src/models/CourseCompletion.ts +71 -0
- package/src/models/CourseCompletionCatalogResponse.ts +16 -0
- package/src/models/CourseCompletionPerCourse.ts +11 -0
- package/src/models/CourseCompletionPerCourseData.ts +27 -0
- package/src/models/CourseCompletionSummaryDataOvertime.ts +23 -0
- package/src/models/CourseCompletionSummaryOvertime.ts +11 -0
- package/src/models/CourseCreateUpdate.ts +30 -0
- package/src/models/CourseDeleteResponse.ts +18 -0
- package/src/models/CourseEligibilityCheckResponse.ts +30 -0
- package/src/models/CourseEnrollmentSearchResponse.ts +58 -0
- package/src/models/CourseGradeDetailBlock.ts +23 -0
- package/src/models/CourseGradeDetailSubSection.ts +28 -0
- package/src/models/CourseGradeSummary.ts +9 -0
- package/src/models/CourseGradeSummaryData.ts +23 -0
- package/src/models/CourseGradingDetail.ts +9 -0
- package/src/models/CourseGradingDetailData.ts +17 -0
- package/src/models/CourseGroupSuggestionCreate.ts +46 -0
- package/src/models/CourseGroupSuggestionDetail.ts +58 -0
- package/src/models/CourseInvitationCreate.ts +46 -0
- package/src/models/CourseInvitationDetail.ts +58 -0
- package/src/models/CourseInvitationRedemption.ts +30 -0
- package/src/models/CourseLicenseAssignmentCreate.ts +42 -0
- package/src/models/CourseLicenseAssignmentDetail.ts +54 -0
- package/src/models/CourseLicenseCreate.ts +66 -0
- package/src/models/CourseLicenseDetail.ts +58 -0
- package/src/models/CourseLicenseGroupAssignmentCreate.ts +38 -0
- package/src/models/CourseLicenseGroupAssignmentDetail.ts +50 -0
- package/src/models/CourseLicenseUpdate.ts +66 -0
- package/src/models/CourseMetadataSearchRequest.ts +22 -0
- package/src/models/CourseMetadataUpdateRequest.ts +22 -0
- package/src/models/CoursePoint.ts +12 -0
- package/src/models/CourseReviewInfoResponse.ts +22 -0
- package/src/models/CourseSkill.ts +13 -0
- package/src/models/CourseSkillPointInfoRequest.ts +23 -0
- package/src/models/CourseSkillPointInfoResponse.ts +15 -0
- package/src/models/CourseSuggestionBulkCreate.ts +22 -0
- package/src/models/CourseSuggestionCreate.ts +54 -0
- package/src/models/CourseSuggestionDetail.ts +58 -0
- package/src/models/Credential.ts +33 -0
- package/src/models/DesiredRole.ts +12 -0
- package/src/models/DesiredRoleCreateUpdateRequest.ts +26 -0
- package/src/models/DesiredSkill.ts +12 -0
- package/src/models/DesiredSkillCreateUpdateRequest.ts +26 -0
- package/src/models/DetailedGradeSubsection.ts +27 -0
- package/src/models/DetailedGradeView.ts +9 -0
- package/src/models/DetailedGradeViewData.ts +17 -0
- package/src/models/Education.ts +35 -0
- package/src/models/EdxSignalReceiverRequest.ts +9 -0
- package/src/models/EngagementPerCourse.ts +11 -0
- package/src/models/EngagementPerCourseData.ts +31 -0
- package/src/models/Enrollments.ts +13 -0
- package/src/models/EnrollmentsData.ts +23 -0
- package/src/models/EnrollmentsPerUser.ts +11 -0
- package/src/models/EnrollmentsPerUserData.ts +23 -0
- package/src/models/ErrorResponse.ts +13 -0
- package/src/models/Experience.ts +34 -0
- package/src/models/FloatOverTime.ts +15 -0
- package/src/models/GCPTenantLaunchRequest.ts +29 -0
- package/src/models/GlobalCatalogSearchResponse.ts +38 -0
- package/src/models/GooglePayAccountResponse.ts +20 -0
- package/src/models/GooglePayAccountResponseStatusEnum.ts +12 -0
- package/src/models/GooglePayVerifyToken.ts +11 -0
- package/src/models/GradingPerUser.ts +13 -0
- package/src/models/GradingPerUserData.ts +31 -0
- package/src/models/GroupList.ts +11 -0
- package/src/models/GroupListData.ts +21 -0
- package/src/models/ImageUpload.ts +8 -0
- package/src/models/Institution.ts +25 -0
- package/src/models/InstitutionTypeEnum.ts +18 -0
- package/src/models/Issuer.ts +14 -0
- package/src/models/IssuerAuthority.ts +10 -0
- package/src/models/ItemTypeEnum.ts +22 -0
- package/src/models/LauncherViewPostRequest.ts +14 -0
- package/src/models/LearnerInformationAPI.ts +9 -0
- package/src/models/LearnerInformationAPIData.ts +88 -0
- package/src/models/LtiKey.ts +24 -0
- package/src/models/LtiLaunchGate.ts +13 -0
- package/src/models/LtiTool.ts +51 -0
- package/src/models/ManagerAuthToken.ts +18 -0
- package/src/models/MarkAllReadRequest.ts +14 -0
- package/src/models/MarkAllReadResponse.ts +12 -0
- package/src/models/MediaResource.ts +76 -0
- package/src/models/MediaTypeEnum.ts +18 -0
- package/src/models/ModeEnum.ts +14 -0
- package/src/models/NetRevenueOverTime.ts +13 -0
- package/src/models/NewPerLearnerList.ts +11 -0
- package/src/models/NewPerLearnerListData.ts +22 -0
- package/src/models/Notification.ts +19 -0
- package/src/models/NotificationCount.ts +9 -0
- package/src/models/NotificationPreview.ts +36 -0
- package/src/models/NotificationSource.ts +13 -0
- package/src/models/NotificationStatusEnum.ts +14 -0
- package/src/models/NotificationTemplateData.ts +31 -0
- package/src/models/OnboardingStatusUpdate.ts +12 -0
- package/src/models/Order.ts +27 -0
- package/src/models/OverTime.ts +8 -0
- package/src/models/OverTimeWithTotal.ts +27 -0
- package/src/models/OvertimeMeta.ts +35 -0
- package/src/models/OvertimeWithChangeInfo.ts +29 -0
- package/src/models/PaginatedCourseAccessRequest.ts +27 -0
- package/src/models/PaginatedCourseGroupSuggestion.ts +27 -0
- package/src/models/PaginatedCourseInvitation.ts +27 -0
- package/src/models/PaginatedCourseLicense.ts +27 -0
- package/src/models/PaginatedCourseLicenseAssignment.ts +27 -0
- package/src/models/PaginatedCourseLicenseGroupAssignment.ts +27 -0
- package/src/models/PaginatedCourseSuggestion.ts +27 -0
- package/src/models/PaginatedPathwayGroupSuggestion.ts +27 -0
- package/src/models/PaginatedPathwaySuggestion.ts +27 -0
- package/src/models/PaginatedPlatformInvitation.ts +27 -0
- package/src/models/PaginatedPlatformLicense.ts +27 -0
- package/src/models/PaginatedProgramGroupSuggestion.ts +27 -0
- package/src/models/PaginatedProgramInvitation.ts +27 -0
- package/src/models/PaginatedProgramLicense.ts +36 -0
- package/src/models/PaginatedProgramLicenseAssignment.ts +36 -0
- package/src/models/PaginatedProgramLicenseGroupAssignment.ts +36 -0
- package/src/models/PaginatedProgramSuggestion.ts +27 -0
- package/src/models/PaginatedUserAppList.ts +12 -0
- package/src/models/PaginatedUserLicense.ts +27 -0
- package/src/models/PaginatedUserLicenseAssignment.ts +27 -0
- package/src/models/PaginatedUserLicenseGroupAssignment.ts +27 -0
- package/src/models/Pagination.ts +23 -0
- package/src/models/PatchedMediaResource.ts +76 -0
- package/src/models/PatchedNotification.ts +19 -0
- package/src/models/PatchedPlatformPublicMetadata.ts +13 -0
- package/src/models/PatchedSkillThreshold.ts +19 -0
- package/src/models/Pathway.ts +33 -0
- package/src/models/PathwayCompletionResponse.ts +18 -0
- package/src/models/PathwayCreateUpdateRequest.ts +50 -0
- package/src/models/PathwayDeleteResponse.ts +18 -0
- package/src/models/PathwayEnrollment.ts +27 -0
- package/src/models/PathwayEnrollmentPlus.ts +31 -0
- package/src/models/PathwayEnrollmentRequest.ts +54 -0
- package/src/models/PathwayGroupSuggestionCreate.ts +46 -0
- package/src/models/PathwayGroupSuggestionDetail.ts +66 -0
- package/src/models/PathwaySelfEnrollmentRequest.ts +42 -0
- package/src/models/PathwaySuggestionBulkCreate.ts +26 -0
- package/src/models/PathwaySuggestionCreate.ts +58 -0
- package/src/models/PathwaySuggestionDetail.ts +66 -0
- package/src/models/PerLearnerCourseLastAccessData.ts +35 -0
- package/src/models/PerLearnerCourseVideosWatched.ts +13 -0
- package/src/models/PerLearnerCourseVideosWatchedData.ts +19 -0
- package/src/models/PerLearnerLastAccess.ts +9 -0
- package/src/models/PerLearnerLastAccessData.ts +16 -0
- package/src/models/PerLearnerTimeSpentInCourseTree.ts +13 -0
- package/src/models/PerformanceGradesPerCourse.ts +11 -0
- package/src/models/PerformanceGradesPerCourseData.ts +27 -0
- package/src/models/PerlearnerCourseProgress.ts +9 -0
- package/src/models/PerlearnerCourseProgressData.ts +11 -0
- package/src/models/PerlearnerEngagementVideosData.ts +35 -0
- package/src/models/PerlearnerEngagementVideosWatchedPerCourse.ts +9 -0
- package/src/models/PerlearnerGradeSummary.ts +9 -0
- package/src/models/PerlearnerGradeSummaryData.ts +23 -0
- package/src/models/PerlearnerGradeWithCutOff.ts +9 -0
- package/src/models/PerlearnerGradeWithCutOffData.ts +15 -0
- package/src/models/PerlearnerGradingPerCourseAPI.ts +9 -0
- package/src/models/PerlearnerGradingPerCourseAPIData.ts +39 -0
- package/src/models/PerlearnerUserList.ts +11 -0
- package/src/models/PerlearnerUserListData.ts +39 -0
- package/src/models/Platform.ts +34 -0
- package/src/models/PlatformApiKey.ts +35 -0
- package/src/models/PlatformInvitationCreate.ts +46 -0
- package/src/models/PlatformInvitationDetail.ts +58 -0
- package/src/models/PlatformInvitationRedemption.ts +30 -0
- package/src/models/PlatformLicenseCreate.ts +58 -0
- package/src/models/PlatformLicenseDetail.ts +54 -0
- package/src/models/PlatformLicenseUpdate.ts +62 -0
- package/src/models/PlatformList.ts +34 -0
- package/src/models/PlatformListStatusEnum.ts +26 -0
- package/src/models/PlatformPublicMetadata.ts +13 -0
- package/src/models/PlatformSkillPointBulkRequest.ts +18 -0
- package/src/models/PlatformSkillPointBulkResponse.ts +18 -0
- package/src/models/PlatformSkillPointGroupRequest.ts +26 -0
- package/src/models/PlatformSkillPointRequest.ts +26 -0
- package/src/models/PlatformSkillPointResponse.ts +26 -0
- package/src/models/PlatformUpdatePostRequest.ts +14 -0
- package/src/models/PointsPercentile.ts +13 -0
- package/src/models/PreviewResponse.ts +16 -0
- package/src/models/Product.ts +27 -0
- package/src/models/ProductTable.ts +31 -0
- package/src/models/Program.ts +29 -0
- package/src/models/ProgramCompletionResponse.ts +18 -0
- package/src/models/ProgramCoursePosition.ts +11 -0
- package/src/models/ProgramCreateUpdateRequest.ts +50 -0
- package/src/models/ProgramDeleteResponse.ts +18 -0
- package/src/models/ProgramEnrollment.ts +35 -0
- package/src/models/ProgramEnrollmentPlus.ts +39 -0
- package/src/models/ProgramGroupSuggestionCreate.ts +42 -0
- package/src/models/ProgramGroupSuggestionDetail.ts +58 -0
- package/src/models/ProgramInvitationCreate.ts +46 -0
- package/src/models/ProgramInvitationDetail.ts +58 -0
- package/src/models/ProgramInvitationRedemption.ts +30 -0
- package/src/models/ProgramLicenseAssignmentCreate.ts +75 -0
- package/src/models/ProgramLicenseAssignmentDetail.ts +95 -0
- package/src/models/ProgramLicenseCreateDetail.ts +66 -0
- package/src/models/ProgramLicenseDetail.ts +95 -0
- package/src/models/ProgramLicenseGroupAssignmentCreate.ts +61 -0
- package/src/models/ProgramLicenseGroupAssignmentDetail.ts +90 -0
- package/src/models/ProgramLicenseUpdateDetail.ts +81 -0
- package/src/models/ProgramReviewInfoResponse.ts +22 -0
- package/src/models/ProgramSearch.ts +33 -0
- package/src/models/ProgramSuggestionBulkCreate.ts +26 -0
- package/src/models/ProgramSuggestionCreate.ts +58 -0
- package/src/models/ProgramSuggestionDetail.ts +58 -0
- package/src/models/ProgramTypeEnum.ts +22 -0
- package/src/models/Recipient.ts +13 -0
- package/src/models/RecommendationSearchAPI.ts +8 -0
- package/src/models/RedirectTokenRequest.ts +8 -0
- package/src/models/RedirectTokenResponse.ts +10 -0
- package/src/models/ReportCreate.ts +12 -0
- package/src/models/ReportData.ts +33 -0
- package/src/models/ReportDetail.ts +9 -0
- package/src/models/ReportList.ts +9 -0
- package/src/models/ReportRequest.ts +26 -0
- package/src/models/ReportStatus.ts +46 -0
- package/src/models/ReportedRole.ts +12 -0
- package/src/models/ReportedRoleCreateUpdateRequest.ts +26 -0
- package/src/models/ReportedSkill.ts +12 -0
- package/src/models/Resource.ts +27 -0
- package/src/models/ResourceCompletion.ts +51 -0
- package/src/models/ResourceCompletionRequest.ts +34 -0
- package/src/models/ResourceCreateUpdate.ts +47 -0
- package/src/models/ResourceDeleteResponse.ts +18 -0
- package/src/models/ResourcePoint.ts +12 -0
- package/src/models/RevenueByProduct.ts +11 -0
- package/src/models/Role.ts +23 -0
- package/src/models/RoleCreateUpdateRequest.ts +30 -0
- package/src/models/SendNotification.ts +11 -0
- package/src/models/SendResponse.ts +14 -0
- package/src/models/Skill.ts +21 -0
- package/src/models/SkillCreateUpdateRequest.ts +30 -0
- package/src/models/SkillDetail.ts +14 -0
- package/src/models/SkillInfo.ts +28 -0
- package/src/models/SkillThreshold.ts +19 -0
- package/src/models/StateEnum.ts +26 -0
- package/src/models/StripeCheckoutSessionRequest.ts +59 -0
- package/src/models/StripeCheckoutSessionResponse.ts +11 -0
- package/src/models/StripeCustomerPortalRequest.ts +8 -0
- package/src/models/StripeCustomerPortalResponse.ts +8 -0
- package/src/models/StripeLocalProduct.ts +13 -0
- package/src/models/StripeSubscriptionRenewalRequest.ts +9 -0
- package/src/models/StripeSubscriptionRenewalResponse.ts +8 -0
- package/src/models/SubTimeChild.ts +23 -0
- package/src/models/Summary.ts +23 -0
- package/src/models/TenantLaunchError.ts +15 -0
- package/src/models/TenantLaunchFailed.ts +20 -0
- package/src/models/TenantLaunchRequest.ts +21 -0
- package/src/models/TenantLaunchResponse.ts +20 -0
- package/src/models/TimeChildData.ts +25 -0
- package/src/models/TimeDetail.ts +13 -0
- package/src/models/TimeDetailChild.ts +31 -0
- package/src/models/TimeDetailData.ts +29 -0
- package/src/models/TimeSpentByUsersInCourse.ts +11 -0
- package/src/models/TimeSpentByUsersInCourseData.ts +27 -0
- package/src/models/TimeSpentPerCourse.ts +11 -0
- package/src/models/TimeSpentPerCourseData.ts +31 -0
- package/src/models/TimeSpentPerUserResponse.ts +8 -0
- package/src/models/TimeSpentUpdateRequest.ts +39 -0
- package/src/models/TimeSpentUpdateResponse.ts +9 -0
- package/src/models/TokenProxyInput.ts +26 -0
- package/src/models/TokenProxyOutput.ts +12 -0
- package/src/models/TokenProxyOutputSerializerData.ts +25 -0
- package/src/models/TokenProxyUser.ts +30 -0
- package/src/models/TypeEnum.ts +22 -0
- package/src/models/UploadedImage.ts +10 -0
- package/src/models/UserApp.ts +32 -0
- package/src/models/UserDeleteAPIError.ts +8 -0
- package/src/models/UserDeleteAPIRequest.ts +8 -0
- package/src/models/UserDeleteAPIResponse.ts +8 -0
- package/src/models/UserInfo.ts +18 -0
- package/src/models/UserLicenseAssignmentCreate.ts +42 -0
- package/src/models/UserLicenseAssignmentDetail.ts +54 -0
- package/src/models/UserLicenseCreate.ts +62 -0
- package/src/models/UserLicenseDetail.ts +58 -0
- package/src/models/UserLicenseGroupAssignmentCreate.ts +38 -0
- package/src/models/UserLicenseGroupAssignmentDetail.ts +50 -0
- package/src/models/UserLicenseUpdate.ts +66 -0
- package/src/models/UserPlatformLink.ts +22 -0
- package/src/models/UserPlatformManagementListViewGetResponse.ts +11 -0
- package/src/models/UserPlatformViewPostRequest.ts +13 -0
- package/src/models/UserProxyBulkRequest.ts +8 -0
- package/src/models/UserProxyGetResponse.ts +13 -0
- package/src/models/UserProxyPostRequest.ts +12 -0
- package/src/models/UserProxyPostResponse.ts +13 -0
- package/src/models/UserSearchResponse.ts +34 -0
- package/src/models/UserSearchViewGetResponse.ts +11 -0
- package/src/models/UserSkill.ts +27 -0
- package/src/models/UserSkillPointInfoResponse.ts +15 -0
- package/src/models/UserSkillPointsPercentile.ts +13 -0
- package/src/models/ValidateSourceResponse.ts +15 -0
- package/src/models/Value.ts +9 -0
- package/src/models/ValueData.ts +11 -0
- package/src/models/VerifyGCPMarketPlaceFailedResponse.ts +16 -0
- package/src/models/VerifyGCPMarketPlaceRequest.ts +8 -0
- package/src/models/VerifyGCPMarketPlaceResponse.ts +16 -0
- package/src/models/VideoBlock.ts +19 -0
- package/src/models/VideoEngagementPerCourse.ts +11 -0
- package/src/models/VideoEngagementPerCourseData.ts +35 -0
- package/src/models/VideosCount.ts +9 -0
- package/src/models/VideosCountData.ts +11 -0
- package/src/models/VideosInCourseSummary.ts +9 -0
- package/src/models/VideosInCourseSummaryData.ts +17 -0
- package/src/models/VideosSpecificCourse.ts +9 -0
- package/src/models/VideosSpecificCourseData.ts +31 -0
- package/src/models/VideosWatchedSubSection.ts +24 -0
- package/src/models/WatchedVideosPerCourse.ts +13 -0
- package/src/models/WatchedVideosPerCourseData.ts +23 -0
- package/src/models/WatchedVideosPerUser.ts +13 -0
- package/src/models/WatchedVideosPerUserData.ts +23 -0
- package/src/models/WhitelistedDomain.ts +9 -0
- package/src/services/AnalyticsService.ts +103 -0
- package/src/services/AudienceService.ts +602 -0
- package/src/services/CareerService.ts +568 -0
- package/src/services/CatalogService.ts +8300 -0
- package/src/services/CoreService.ts +1278 -0
- package/src/services/CredentialsService.ts +1656 -0
- package/src/services/DepartmentsService.ts +85 -0
- package/src/services/EngagementService.ts +907 -0
- package/src/services/FeaturesService.ts +126 -0
- package/src/services/FinanceService.ts +136 -0
- package/src/services/MediaResourcesService.ts +319 -0
- package/src/services/NotificationBuilderService.ts +133 -0
- package/src/services/NotificationService.ts +317 -0
- package/src/services/OrgsService.ts +596 -0
- package/src/services/OverviewService.ts +324 -0
- package/src/services/PerformanceService.ts +329 -0
- package/src/services/PerlearnerService.ts +1009 -0
- package/src/services/PlatformService.ts +763 -0
- package/src/services/ProviderAssociationService.ts +32 -0
- package/src/services/ProvidersService.ts +271 -0
- package/src/services/ProvisionService.ts +30 -0
- package/src/services/RecommendationsService.ts +31 -0
- package/src/services/ReportsService.ts +218 -0
- package/src/services/RolesService.ts +87 -0
- package/src/services/SearchService.ts +550 -0
- package/src/services/ServiceService.ts +320 -0
- package/src/services/SkillsService.ts +521 -0
- package/src/services/UserGroupsService.ts +91 -0
- package/tsconfig.json +15 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Response serializer for program invitation details
|
|
3
|
+
*/
|
|
4
|
+
export type ProgramInvitationDetail = {
|
|
5
|
+
/**
|
|
6
|
+
* The unique identifier for the invitation
|
|
7
|
+
*/
|
|
8
|
+
id: number;
|
|
9
|
+
/**
|
|
10
|
+
* The ID of the user associated with the invitation
|
|
11
|
+
*/
|
|
12
|
+
user_id: number | null;
|
|
13
|
+
/**
|
|
14
|
+
* The username of the user associated with the invitation
|
|
15
|
+
*/
|
|
16
|
+
username: string | null;
|
|
17
|
+
/**
|
|
18
|
+
* The email address associated with the invitation
|
|
19
|
+
*/
|
|
20
|
+
email: string | null;
|
|
21
|
+
/**
|
|
22
|
+
* When the invitation was created
|
|
23
|
+
*/
|
|
24
|
+
created: string;
|
|
25
|
+
/**
|
|
26
|
+
* When the invitation was started
|
|
27
|
+
*/
|
|
28
|
+
started: string | null;
|
|
29
|
+
/**
|
|
30
|
+
* When the invitation expires
|
|
31
|
+
*/
|
|
32
|
+
expired: string | null;
|
|
33
|
+
/**
|
|
34
|
+
* The source of the invitation
|
|
35
|
+
*/
|
|
36
|
+
source: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* URL to redirect to after accepting the invitation
|
|
39
|
+
*/
|
|
40
|
+
redirect_to: string | null;
|
|
41
|
+
/**
|
|
42
|
+
* Whether the invitation is active
|
|
43
|
+
*/
|
|
44
|
+
active: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Additional metadata for the invitation
|
|
47
|
+
*/
|
|
48
|
+
metadata: Record<string, any>;
|
|
49
|
+
/**
|
|
50
|
+
* The program key associated with the invitation
|
|
51
|
+
*/
|
|
52
|
+
program_key: string;
|
|
53
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Request serializer for ProgramInvitationRedemptionView POST endpoint
|
|
3
|
+
*/
|
|
4
|
+
export type ProgramInvitationRedemption = {
|
|
5
|
+
/**
|
|
6
|
+
* The program key for the invitation
|
|
7
|
+
*/
|
|
8
|
+
program_key: string;
|
|
9
|
+
/**
|
|
10
|
+
* The source identifier for the invitation
|
|
11
|
+
*/
|
|
12
|
+
source: string;
|
|
13
|
+
/**
|
|
14
|
+
* The email to associate with the invitation
|
|
15
|
+
*/
|
|
16
|
+
email?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The username to associate with the invitation
|
|
19
|
+
*/
|
|
20
|
+
username?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Additional metadata for the invitation
|
|
23
|
+
*/
|
|
24
|
+
metadata?: Record<string, any>;
|
|
25
|
+
};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Request serializer for ProgramLicenseAssignmentView POST endpoint.
|
|
3
|
+
*
|
|
4
|
+
* This serializer validates the request data for creating or updating a program license assignment.
|
|
5
|
+
* Either user_id or email must be provided to identify the user to assign the license to.
|
|
6
|
+
*
|
|
7
|
+
* Fields:
|
|
8
|
+
* license_id: The ID of the program license to assign
|
|
9
|
+
* user_id: The user ID to assign the license to (required if email not provided)
|
|
10
|
+
* username: The username to assign the license to (alternative to user_id)
|
|
11
|
+
* email: The email to assign the license to (required if user_id not provided)
|
|
12
|
+
* platform_key: The unique identifier for the platform (for permission validation)
|
|
13
|
+
* platform_org: The organization identifier for the platform (for permission validation)
|
|
14
|
+
* active: Whether the assignment should be active
|
|
15
|
+
* fulfilled: Whether the assignment should be marked as fulfilled
|
|
16
|
+
* direct: Whether the assignment is being directly assigned to the user
|
|
17
|
+
* redirect_to: URL to redirect to after fulfillment
|
|
18
|
+
* metadata: Additional metadata for the assignment
|
|
19
|
+
*
|
|
20
|
+
* Notes:
|
|
21
|
+
* - If both user_id and email are provided, user_id takes precedence
|
|
22
|
+
* - If the user doesn't exist but email is provided, an email-only assignment will be created
|
|
23
|
+
* - The license must have available seats for the assignment to succeed
|
|
24
|
+
*/
|
|
25
|
+
export type ProgramLicenseAssignmentCreate = {
|
|
26
|
+
/**
|
|
27
|
+
* The ID of the program license to assign
|
|
28
|
+
*/
|
|
29
|
+
license_id: number;
|
|
30
|
+
/**
|
|
31
|
+
* The user ID to assign the license to (required if email not provided)
|
|
32
|
+
*/
|
|
33
|
+
user_id?: number;
|
|
34
|
+
/**
|
|
35
|
+
* The username to assign the license to (alternative to user_id)
|
|
36
|
+
*/
|
|
37
|
+
username?: string;
|
|
38
|
+
/**
|
|
39
|
+
* The email to assign the license to (required if user_id not provided)
|
|
40
|
+
*/
|
|
41
|
+
email?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The unique identifier for the platform (for permission validation)
|
|
44
|
+
*/
|
|
45
|
+
platform_key?: string;
|
|
46
|
+
/**
|
|
47
|
+
* The organization identifier for the platform (for permission validation)
|
|
48
|
+
*/
|
|
49
|
+
platform_org?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Whether the assignment should be active
|
|
52
|
+
*/
|
|
53
|
+
active?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Whether the assignment should be marked as fulfilled
|
|
56
|
+
*/
|
|
57
|
+
fulfilled?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Whether the assignment is being directly assigned to the user
|
|
60
|
+
*/
|
|
61
|
+
direct?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* URL to redirect to after fulfillment
|
|
64
|
+
*/
|
|
65
|
+
redirect_to?: string | null;
|
|
66
|
+
/**
|
|
67
|
+
* Additional metadata for the assignment
|
|
68
|
+
*/
|
|
69
|
+
metadata?: Record<string, any>;
|
|
70
|
+
};
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Response serializer for program license assignment details.
|
|
3
|
+
*
|
|
4
|
+
* This serializer represents a program license assignment with all its attributes,
|
|
5
|
+
* including user information, license details, and assignment status.
|
|
6
|
+
*
|
|
7
|
+
* Fields:
|
|
8
|
+
* id: The unique identifier for the assignment
|
|
9
|
+
* user_id: The ID of the user assigned the license (may be null for email-only assignments)
|
|
10
|
+
* username: The username of the user assigned the license (may be null for email-only assignments)
|
|
11
|
+
* name: The full name of the user assigned the license (may be null for email-only assignments)
|
|
12
|
+
* email: The email address of the user assigned the license (may be null for user-only assignments)
|
|
13
|
+
* active: Whether the assignment is active and valid
|
|
14
|
+
* fulfilled: Whether the assignment has been processed/fulfilled
|
|
15
|
+
* direct: Whether the assignment was directly assigned to the user (vs. via a group)
|
|
16
|
+
* redirect_to: URL to redirect to after fulfillment
|
|
17
|
+
* metadata: Additional metadata for the assignment
|
|
18
|
+
* created: When the assignment was created
|
|
19
|
+
* modified: When the assignment was last modified
|
|
20
|
+
* license_id: The ID of the program license
|
|
21
|
+
* license_name: The name of the program license
|
|
22
|
+
* program_key: The program key associated with the license
|
|
23
|
+
* program_name: The name of the program associated with the license
|
|
24
|
+
*/
|
|
25
|
+
export type ProgramLicenseAssignmentDetail = {
|
|
26
|
+
/**
|
|
27
|
+
* The unique identifier for the assignment
|
|
28
|
+
*/
|
|
29
|
+
id: number;
|
|
30
|
+
/**
|
|
31
|
+
* The ID of the user assigned the license
|
|
32
|
+
*/
|
|
33
|
+
user_id: number | null;
|
|
34
|
+
/**
|
|
35
|
+
* The username of the user assigned the license
|
|
36
|
+
*/
|
|
37
|
+
username: string | null;
|
|
38
|
+
/**
|
|
39
|
+
* The full name of the user assigned the license
|
|
40
|
+
*/
|
|
41
|
+
name: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* The email address of the user assigned the license
|
|
44
|
+
*/
|
|
45
|
+
email: string | null;
|
|
46
|
+
/**
|
|
47
|
+
* Whether the assignment is active and valid
|
|
48
|
+
*/
|
|
49
|
+
active: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Whether the assignment has been processed/fulfilled
|
|
52
|
+
*/
|
|
53
|
+
fulfilled: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Whether the assignment was directly assigned to the user (vs. via a group)
|
|
56
|
+
*/
|
|
57
|
+
direct: boolean | null;
|
|
58
|
+
/**
|
|
59
|
+
* URL to redirect to after fulfillment
|
|
60
|
+
*/
|
|
61
|
+
redirect_to: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* Additional metadata for the assignment
|
|
64
|
+
*/
|
|
65
|
+
metadata: Record<string, any> | null;
|
|
66
|
+
/**
|
|
67
|
+
* When the assignment was created
|
|
68
|
+
*/
|
|
69
|
+
created: string;
|
|
70
|
+
/**
|
|
71
|
+
* When the assignment was last modified
|
|
72
|
+
*/
|
|
73
|
+
modified: string;
|
|
74
|
+
/**
|
|
75
|
+
* The ID of the program license
|
|
76
|
+
*/
|
|
77
|
+
license_id: number;
|
|
78
|
+
/**
|
|
79
|
+
* The name of the program license
|
|
80
|
+
*/
|
|
81
|
+
license_name: string;
|
|
82
|
+
/**
|
|
83
|
+
* The program key associated with the license
|
|
84
|
+
*/
|
|
85
|
+
program_key: string;
|
|
86
|
+
/**
|
|
87
|
+
* The name of the program associated with the license
|
|
88
|
+
*/
|
|
89
|
+
program_name: string;
|
|
90
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Request serializer for ProgramLicenseCreateView POST endpoint
|
|
3
|
+
*/
|
|
4
|
+
export type ProgramLicenseCreateDetail = {
|
|
5
|
+
/**
|
|
6
|
+
* The unique identifier for the platform (required if platform_id not provided)
|
|
7
|
+
*/
|
|
8
|
+
platform_key?: string;
|
|
9
|
+
/**
|
|
10
|
+
* The organization identifier for the platform (required if platform_id not provided)
|
|
11
|
+
*/
|
|
12
|
+
platform_org?: string;
|
|
13
|
+
/**
|
|
14
|
+
* The ID of the platform (required if platform_key/org not provided)
|
|
15
|
+
*/
|
|
16
|
+
platform_id?: number;
|
|
17
|
+
/**
|
|
18
|
+
* The unique identifier for the program to license
|
|
19
|
+
*/
|
|
20
|
+
program_key: string;
|
|
21
|
+
/**
|
|
22
|
+
* Display name for the license
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
/**
|
|
26
|
+
* Number of seats purchased
|
|
27
|
+
*/
|
|
28
|
+
count: number;
|
|
29
|
+
/**
|
|
30
|
+
* Date when license should begin
|
|
31
|
+
*/
|
|
32
|
+
started: string;
|
|
33
|
+
/**
|
|
34
|
+
* Date when license should expire
|
|
35
|
+
*/
|
|
36
|
+
expired?: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* External identifier for the license
|
|
39
|
+
*/
|
|
40
|
+
external_id?: string | null;
|
|
41
|
+
/**
|
|
42
|
+
* Whether the license should be active
|
|
43
|
+
*/
|
|
44
|
+
active?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Additional license metadata
|
|
47
|
+
*/
|
|
48
|
+
metadata?: Record<string, any>;
|
|
49
|
+
/**
|
|
50
|
+
* Enrollment configuration
|
|
51
|
+
*/
|
|
52
|
+
enrollment_config?: Record<string, any>;
|
|
53
|
+
/**
|
|
54
|
+
* Source identifier
|
|
55
|
+
*/
|
|
56
|
+
source?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Transaction identifier for tracking
|
|
59
|
+
*/
|
|
60
|
+
transaction_id?: string;
|
|
61
|
+
};
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Response serializer for program license details.
|
|
3
|
+
*
|
|
4
|
+
* This serializer represents a program license with all its attributes,
|
|
5
|
+
* including basic license information, program details, and usage statistics.
|
|
6
|
+
*
|
|
7
|
+
* Fields:
|
|
8
|
+
* id: The unique identifier for the license
|
|
9
|
+
* created: When the license was created
|
|
10
|
+
* started: When the license becomes active
|
|
11
|
+
* expired: When the license expires (null if no expiration)
|
|
12
|
+
* name: The display name of the license
|
|
13
|
+
* count: The number of seats purchased
|
|
14
|
+
* active: Whether the license is active
|
|
15
|
+
* metadata: Additional license metadata
|
|
16
|
+
* source: The source identifier for the license
|
|
17
|
+
* external_id: External identifier for the license (null if none)
|
|
18
|
+
* platform_key: The platform key associated with the license
|
|
19
|
+
* program_id: The program ID associated with the license
|
|
20
|
+
* program_name: The name of the program associated with the license
|
|
21
|
+
* usage_count: Number of assignments using this license
|
|
22
|
+
* assignments: Assignment counts (if verbose mode is enabled)
|
|
23
|
+
*
|
|
24
|
+
* Notes:
|
|
25
|
+
* - The assignments field is only included when verbose=true in the request
|
|
26
|
+
* - The expired field may be null if the license doesn't expire
|
|
27
|
+
* - The external_id field may be null if not provided
|
|
28
|
+
*/
|
|
29
|
+
export type ProgramLicenseDetail = {
|
|
30
|
+
/**
|
|
31
|
+
* The unique identifier for the license
|
|
32
|
+
*/
|
|
33
|
+
id: number;
|
|
34
|
+
/**
|
|
35
|
+
* When the license was created
|
|
36
|
+
*/
|
|
37
|
+
created: string;
|
|
38
|
+
/**
|
|
39
|
+
* When the license becomes active
|
|
40
|
+
*/
|
|
41
|
+
started: string;
|
|
42
|
+
/**
|
|
43
|
+
* When the license expires (null if no expiration)
|
|
44
|
+
*/
|
|
45
|
+
expired: string | null;
|
|
46
|
+
/**
|
|
47
|
+
* The display name of the license
|
|
48
|
+
*/
|
|
49
|
+
name: string;
|
|
50
|
+
/**
|
|
51
|
+
* The number of seats purchased
|
|
52
|
+
*/
|
|
53
|
+
count: number;
|
|
54
|
+
/**
|
|
55
|
+
* Whether the license is active
|
|
56
|
+
*/
|
|
57
|
+
active: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Additional license metadata
|
|
60
|
+
*/
|
|
61
|
+
metadata: Record<string, any>;
|
|
62
|
+
/**
|
|
63
|
+
* The source identifier for the license
|
|
64
|
+
*/
|
|
65
|
+
source: string;
|
|
66
|
+
/**
|
|
67
|
+
* External identifier for the license (null if none)
|
|
68
|
+
*/
|
|
69
|
+
external_id: string | null;
|
|
70
|
+
/**
|
|
71
|
+
* The platform key associated with the license
|
|
72
|
+
*/
|
|
73
|
+
platform_key: string;
|
|
74
|
+
/**
|
|
75
|
+
* The program ID associated with the license
|
|
76
|
+
*/
|
|
77
|
+
program_id: string;
|
|
78
|
+
/**
|
|
79
|
+
* The name of the program associated with the license
|
|
80
|
+
*/
|
|
81
|
+
program_name: string;
|
|
82
|
+
/**
|
|
83
|
+
* Number of assignments using this license
|
|
84
|
+
*/
|
|
85
|
+
usage_count: number;
|
|
86
|
+
/**
|
|
87
|
+
* Assignment counts by status (only included in verbose mode)
|
|
88
|
+
*/
|
|
89
|
+
assignments?: Record<string, number>;
|
|
90
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Request serializer for ProgramLicenseGroupAssignmentView POST endpoint.
|
|
3
|
+
*
|
|
4
|
+
* This serializer validates the request data for creating or updating a program license group assignment.
|
|
5
|
+
* Group assignments will automatically create individual assignments for all users in the group.
|
|
6
|
+
*
|
|
7
|
+
* Fields:
|
|
8
|
+
* license_id: The ID of the program license to assign
|
|
9
|
+
* group_id: The ID of the user group to assign the license to
|
|
10
|
+
* platform_key: The unique identifier for the platform (for permission validation)
|
|
11
|
+
* platform_org: The organization identifier for the platform (for permission validation)
|
|
12
|
+
* active: Whether the group assignment should be active
|
|
13
|
+
* fulfilled: Whether the group assignment should be marked as fulfilled
|
|
14
|
+
* redirect_to: URL to redirect to after fulfillment
|
|
15
|
+
* metadata: Additional metadata for the group assignment
|
|
16
|
+
*
|
|
17
|
+
* Notes:
|
|
18
|
+
* - All users in the group will receive individual license assignments
|
|
19
|
+
* - The license must have enough available seats for all users in the group
|
|
20
|
+
* - If the license doesn't have enough seats, the operation will fail
|
|
21
|
+
* - Users who already have a direct assignment to this license will not be affected
|
|
22
|
+
*/
|
|
23
|
+
export type ProgramLicenseGroupAssignmentCreate = {
|
|
24
|
+
/**
|
|
25
|
+
* The ID of the program license to assign
|
|
26
|
+
*/
|
|
27
|
+
license_id: number;
|
|
28
|
+
/**
|
|
29
|
+
* The ID of the user group to assign the license to
|
|
30
|
+
*/
|
|
31
|
+
group_id: number;
|
|
32
|
+
/**
|
|
33
|
+
* The unique identifier for the platform (for permission validation)
|
|
34
|
+
*/
|
|
35
|
+
platform_key?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The organization identifier for the platform (for permission validation)
|
|
38
|
+
*/
|
|
39
|
+
platform_org?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Whether the group assignment should be active
|
|
42
|
+
*/
|
|
43
|
+
active?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Whether the group assignment should be marked as fulfilled
|
|
46
|
+
*/
|
|
47
|
+
fulfilled?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* URL to redirect to after fulfillment
|
|
50
|
+
*/
|
|
51
|
+
redirect_to?: string | null;
|
|
52
|
+
/**
|
|
53
|
+
* Additional metadata for the group assignment
|
|
54
|
+
*/
|
|
55
|
+
metadata?: Record<string, any>;
|
|
56
|
+
};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Response serializer for program license group assignment details.
|
|
3
|
+
*
|
|
4
|
+
* This serializer represents a program license group assignment with all its attributes,
|
|
5
|
+
* including group information, license details, and assignment status.
|
|
6
|
+
*
|
|
7
|
+
* Fields:
|
|
8
|
+
* id: The unique identifier for the group assignment
|
|
9
|
+
* group_id: The ID of the group assigned the license
|
|
10
|
+
* group_name: The name of the group assigned the license
|
|
11
|
+
* active: Whether the group assignment is active and valid
|
|
12
|
+
* fulfilled: Whether the group assignment has been processed/fulfilled
|
|
13
|
+
* redirect_to: URL to redirect to after fulfillment
|
|
14
|
+
* metadata: Additional metadata for the group assignment
|
|
15
|
+
* created: When the group assignment was created
|
|
16
|
+
* modified: When the group assignment was last modified
|
|
17
|
+
* license_id: The ID of the program license
|
|
18
|
+
* license_name: The name of the program license
|
|
19
|
+
* program_key: The program key associated with the license
|
|
20
|
+
* program_name: The name of the program associated with the license
|
|
21
|
+
* user_count: Number of users in the group
|
|
22
|
+
* assigned_count: Number of users in the group who have been assigned the license
|
|
23
|
+
*/
|
|
24
|
+
export type ProgramLicenseGroupAssignmentDetail = {
|
|
25
|
+
/**
|
|
26
|
+
* The unique identifier for the assignment
|
|
27
|
+
*/
|
|
28
|
+
id: number;
|
|
29
|
+
/**
|
|
30
|
+
* The ID of the group assigned the license
|
|
31
|
+
*/
|
|
32
|
+
group_id: number;
|
|
33
|
+
/**
|
|
34
|
+
* The name of the group assigned the license
|
|
35
|
+
*/
|
|
36
|
+
group_name: string;
|
|
37
|
+
/**
|
|
38
|
+
* Whether the assignment is active and valid
|
|
39
|
+
*/
|
|
40
|
+
active: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Whether the assignment has been processed/fulfilled
|
|
43
|
+
*/
|
|
44
|
+
fulfilled: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* URL to redirect to after fulfillment
|
|
47
|
+
*/
|
|
48
|
+
redirect_to: string | null;
|
|
49
|
+
/**
|
|
50
|
+
* Additional metadata for the assignment
|
|
51
|
+
*/
|
|
52
|
+
metadata: Record<string, any> | null;
|
|
53
|
+
/**
|
|
54
|
+
* When the assignment was created
|
|
55
|
+
*/
|
|
56
|
+
created: string;
|
|
57
|
+
/**
|
|
58
|
+
* When the assignment was last modified
|
|
59
|
+
*/
|
|
60
|
+
modified: string;
|
|
61
|
+
/**
|
|
62
|
+
* The ID of the program license
|
|
63
|
+
*/
|
|
64
|
+
license_id: number;
|
|
65
|
+
/**
|
|
66
|
+
* The name of the program license
|
|
67
|
+
*/
|
|
68
|
+
license_name: string;
|
|
69
|
+
/**
|
|
70
|
+
* The program key associated with the license
|
|
71
|
+
*/
|
|
72
|
+
program_key: string;
|
|
73
|
+
/**
|
|
74
|
+
* The name of the program associated with the license
|
|
75
|
+
*/
|
|
76
|
+
program_name: string;
|
|
77
|
+
/**
|
|
78
|
+
* Number of users in the group
|
|
79
|
+
*/
|
|
80
|
+
user_count: number;
|
|
81
|
+
/**
|
|
82
|
+
* Number of users in the group who have been assigned the license
|
|
83
|
+
*/
|
|
84
|
+
assigned_count: number;
|
|
85
|
+
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Request serializer for ProgramLicenseUpdateView POST endpoint.
|
|
3
|
+
*
|
|
4
|
+
* This serializer validates the request data for updating an existing program license.
|
|
5
|
+
* Either license_id or external_id must be provided to identify the license to update.
|
|
6
|
+
*
|
|
7
|
+
* Fields:
|
|
8
|
+
* license_id: The ID of the license to update (required if external_id not provided)
|
|
9
|
+
* external_id: External identifier of the license to update (required if license_id not provided)
|
|
10
|
+
* name: Updated display name for the license
|
|
11
|
+
* count: Updated number of seats purchased
|
|
12
|
+
* started: Updated date when license should begin
|
|
13
|
+
* expired: Updated date when license should expire
|
|
14
|
+
* active: Updated active status
|
|
15
|
+
* metadata: Updated additional license metadata
|
|
16
|
+
* enrollment_config: Updated enrollment configuration
|
|
17
|
+
* source: Updated source identifier
|
|
18
|
+
* transaction_id: Transaction identifier for tracking
|
|
19
|
+
* change_type: Type of change being made (default: "update")
|
|
20
|
+
*
|
|
21
|
+
* Notes:
|
|
22
|
+
* - Cannot update the platform or program associated with a license
|
|
23
|
+
* - A license history record is automatically created for each update
|
|
24
|
+
* - If count is reduced, it must not be less than the number of active assignments
|
|
25
|
+
* - Setting active=false will not deactivate existing assignments
|
|
26
|
+
*/
|
|
27
|
+
export type ProgramLicenseUpdateDetail = {
|
|
28
|
+
/**
|
|
29
|
+
* The ID of the license to update (required if external_id not provided)
|
|
30
|
+
*/
|
|
31
|
+
license_id?: number;
|
|
32
|
+
/**
|
|
33
|
+
* External identifier of the license to update (required if license_id not provided)
|
|
34
|
+
*/
|
|
35
|
+
external_id?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Updated display name for the license
|
|
38
|
+
*/
|
|
39
|
+
name?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Updated number of seats purchased
|
|
42
|
+
*/
|
|
43
|
+
count?: number;
|
|
44
|
+
/**
|
|
45
|
+
* Updated date when license should begin
|
|
46
|
+
*/
|
|
47
|
+
started?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Updated date when license should expire
|
|
50
|
+
*/
|
|
51
|
+
expired?: string | null;
|
|
52
|
+
/**
|
|
53
|
+
* Updated active status
|
|
54
|
+
*/
|
|
55
|
+
active?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Updated additional license metadata
|
|
58
|
+
*/
|
|
59
|
+
metadata?: Record<string, any>;
|
|
60
|
+
/**
|
|
61
|
+
* Updated enrollment configuration
|
|
62
|
+
*/
|
|
63
|
+
enrollment_config?: Record<string, any>;
|
|
64
|
+
/**
|
|
65
|
+
* Updated source identifier
|
|
66
|
+
*/
|
|
67
|
+
source?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Transaction identifier for tracking
|
|
70
|
+
*/
|
|
71
|
+
transaction_id?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Type of change being made
|
|
74
|
+
*/
|
|
75
|
+
change_type?: string;
|
|
76
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Serializer for program review info response.
|
|
3
|
+
*/
|
|
4
|
+
export type ProgramReviewInfoResponse = {
|
|
5
|
+
/**
|
|
6
|
+
* The program key associated with the reviews
|
|
7
|
+
*/
|
|
8
|
+
program_key: string;
|
|
9
|
+
/**
|
|
10
|
+
* Average rating of the program
|
|
11
|
+
*/
|
|
12
|
+
avg_rating: number | null;
|
|
13
|
+
/**
|
|
14
|
+
* Total number of reviews for the program
|
|
15
|
+
*/
|
|
16
|
+
count: number;
|
|
17
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { ProgramCoursePosition } from './ProgramCoursePosition';
|
|
2
|
+
export type ProgramSearch = {
|
|
3
|
+
course_list: Array<ProgramCoursePosition>;
|
|
4
|
+
/**
|
|
5
|
+
* A unique program ID identifiable by edX.
|
|
6
|
+
*/
|
|
7
|
+
program_id: string;
|
|
8
|
+
readonly program_key: string;
|
|
9
|
+
/**
|
|
10
|
+
* The verbose name of the program.
|
|
11
|
+
*/
|
|
12
|
+
name?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Select if this program should be enabled.
|
|
15
|
+
*/
|
|
16
|
+
enabled?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* An additional unique slug field. (Optional)
|
|
19
|
+
*/
|
|
20
|
+
slug?: string | null;
|
|
21
|
+
org?: string;
|
|
22
|
+
readonly platform_key: string;
|
|
23
|
+
readonly program_type: string;
|
|
24
|
+
/**
|
|
25
|
+
* Metadata
|
|
26
|
+
*/
|
|
27
|
+
data?: any;
|
|
28
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Request serializer for ProgramSuggestionBulkManagementView POST endpoint
|
|
3
|
+
*/
|
|
4
|
+
export type ProgramSuggestionBulkCreate = {
|
|
5
|
+
/**
|
|
6
|
+
* The platform for the suggestions
|
|
7
|
+
*/
|
|
8
|
+
platform_key: string;
|
|
9
|
+
/**
|
|
10
|
+
* The organization identifier for the platform
|
|
11
|
+
*/
|
|
12
|
+
platform_org?: string;
|
|
13
|
+
/**
|
|
14
|
+
* List of suggestion data objects, each containing program_key, user_id, etc.
|
|
15
|
+
*/
|
|
16
|
+
suggestion_data: Array<Record<string, any>>;
|
|
17
|
+
/**
|
|
18
|
+
* Flag to ensure department admins can call the API
|
|
19
|
+
*/
|
|
20
|
+
department_mode?: boolean;
|
|
21
|
+
};
|