musora-content-services 2.92.3 → 2.92.7

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.
Files changed (121) hide show
  1. package/.github/workflows/docs.js.yml +64 -47
  2. package/CHANGELOG.md +23 -0
  3. package/package.json +1 -1
  4. package/src/index.d.ts +2 -0
  5. package/src/index.js +2 -0
  6. package/src/lib/brands.ts +7 -7
  7. package/src/services/content/artist.ts +10 -7
  8. package/src/services/content/genre.ts +10 -7
  9. package/src/services/content/instructor.ts +7 -7
  10. package/src/services/content-org/learning-paths.ts +3 -3
  11. package/src/services/progress-row/method-card.js +1 -1
  12. package/src/services/reporting/reporting.ts +19 -15
  13. package/src/services/sync/fetch.ts +3 -0
  14. package/src/services/user/onboarding.ts +3 -3
  15. package/docs/Content.html +0 -269
  16. package/docs/ContentOrganization.html +0 -245
  17. package/docs/Forums.html +0 -269
  18. package/docs/Gamification.html +0 -245
  19. package/docs/TestUser.html +0 -260
  20. package/docs/UserManagementSystem.html +0 -317
  21. package/docs/api_types.js.html +0 -97
  22. package/docs/config.js.html +0 -140
  23. package/docs/content-org_content-org.js.html +0 -76
  24. package/docs/content-org_guided-courses.ts.html +0 -110
  25. package/docs/content-org_learning-paths.ts.html +0 -391
  26. package/docs/content-org_playlists-types.js.html +0 -128
  27. package/docs/content-org_playlists.js.html +0 -440
  28. package/docs/content.js.html +0 -603
  29. package/docs/content_artist.ts.html +0 -206
  30. package/docs/content_content.ts.html +0 -77
  31. package/docs/content_genre.ts.html +0 -209
  32. package/docs/content_instructor.ts.html +0 -206
  33. package/docs/fonts/Montserrat/Montserrat-Bold.eot +0 -0
  34. package/docs/fonts/Montserrat/Montserrat-Bold.ttf +0 -0
  35. package/docs/fonts/Montserrat/Montserrat-Bold.woff +0 -0
  36. package/docs/fonts/Montserrat/Montserrat-Bold.woff2 +0 -0
  37. package/docs/fonts/Montserrat/Montserrat-Regular.eot +0 -0
  38. package/docs/fonts/Montserrat/Montserrat-Regular.ttf +0 -0
  39. package/docs/fonts/Montserrat/Montserrat-Regular.woff +0 -0
  40. package/docs/fonts/Montserrat/Montserrat-Regular.woff2 +0 -0
  41. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.eot +0 -0
  42. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.svg +0 -978
  43. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.ttf +0 -0
  44. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff +0 -0
  45. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff2 +0 -0
  46. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.eot +0 -0
  47. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.svg +0 -1049
  48. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.ttf +0 -0
  49. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff +0 -0
  50. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff2 +0 -0
  51. package/docs/forums_categories.ts.html +0 -156
  52. package/docs/forums_discussions.js.html +0 -95
  53. package/docs/forums_forum.js.html +0 -95
  54. package/docs/forums_forums.ts.html +0 -160
  55. package/docs/forums_posts.ts.html +0 -284
  56. package/docs/forums_threads.ts.html +0 -284
  57. package/docs/gamification_awards.js.html +0 -165
  58. package/docs/gamification_awards.ts.html +0 -195
  59. package/docs/gamification_gamification.js.html +0 -76
  60. package/docs/gamification_types.js.html +0 -80
  61. package/docs/global.html +0 -6019
  62. package/docs/index.html +0 -167
  63. package/docs/liveTesting.ts.html +0 -103
  64. package/docs/module-Accounts.html +0 -2283
  65. package/docs/module-Artist.html +0 -993
  66. package/docs/module-Awards.html +0 -836
  67. package/docs/module-Categories.html +0 -711
  68. package/docs/module-Config.html +0 -431
  69. package/docs/module-Content-Services-V2.html +0 -2998
  70. package/docs/module-ForumCategories.html +0 -687
  71. package/docs/module-ForumDiscussions.html +0 -370
  72. package/docs/module-Forums.html +0 -16599
  73. package/docs/module-Genre.html +0 -981
  74. package/docs/module-GuidedCourses.html +0 -108
  75. package/docs/module-Instructor.html +0 -929
  76. package/docs/module-Interests.html +0 -1066
  77. package/docs/module-LearningPaths.html +0 -2424
  78. package/docs/module-Onboarding.html +0 -882
  79. package/docs/module-Payments.html +0 -392
  80. package/docs/module-Permissions.html +0 -406
  81. package/docs/module-Playlists.html +0 -3030
  82. package/docs/module-ProgressRow.html +0 -108
  83. package/docs/module-Railcontent-Services.html +0 -5876
  84. package/docs/module-Sanity-Services.html +0 -8244
  85. package/docs/module-Sessions.html +0 -575
  86. package/docs/module-Threads.html +0 -1119
  87. package/docs/module-UserActivity.html +0 -4534
  88. package/docs/module-UserChat.html +0 -410
  89. package/docs/module-UserManagement.html +0 -1932
  90. package/docs/module-UserMemberships.html +0 -829
  91. package/docs/module-UserNotifications.html +0 -2595
  92. package/docs/module-UserProfile.html +0 -370
  93. package/docs/progress-row_method-card.js.html +0 -184
  94. package/docs/railcontent.js.html +0 -724
  95. package/docs/sanity.js.html +0 -2322
  96. package/docs/scripts/collapse.js +0 -39
  97. package/docs/scripts/commonNav.js +0 -28
  98. package/docs/scripts/linenumber.js +0 -25
  99. package/docs/scripts/nav.js +0 -12
  100. package/docs/scripts/polyfill.js +0 -4
  101. package/docs/scripts/prettify/Apache-License-2.0.txt +0 -202
  102. package/docs/scripts/prettify/lang-css.js +0 -2
  103. package/docs/scripts/prettify/prettify.js +0 -28
  104. package/docs/scripts/search.js +0 -99
  105. package/docs/styles/jsdoc.css +0 -776
  106. package/docs/styles/prettify.css +0 -80
  107. package/docs/userActivity.js.html +0 -1512
  108. package/docs/user_account.ts.html +0 -265
  109. package/docs/user_chat.js.html +0 -98
  110. package/docs/user_interests.js.html +0 -150
  111. package/docs/user_management.js.html +0 -258
  112. package/docs/user_memberships.js.html +0 -144
  113. package/docs/user_memberships.ts.html +0 -292
  114. package/docs/user_notifications.js.html +0 -374
  115. package/docs/user_onboarding.ts.html +0 -329
  116. package/docs/user_payments.ts.html +0 -146
  117. package/docs/user_permissions.js.html +0 -110
  118. package/docs/user_profile.js.html +0 -115
  119. package/docs/user_sessions.js.html +0 -170
  120. package/docs/user_types.js.html +0 -224
  121. package/docs/user_user-management-system.js.html +0 -79
@@ -1,2283 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
-
5
- <meta charset="utf-8">
6
- <title>Accounts - Documentation</title>
7
-
8
-
9
- <script src="scripts/prettify/prettify.js"></script>
10
- <script src="scripts/prettify/lang-css.js"></script>
11
- <!--[if lt IE 9]>
12
- <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
13
- <![endif]-->
14
- <link type="text/css" rel="stylesheet" href="styles/prettify.css">
15
- <link type="text/css" rel="stylesheet" href="styles/jsdoc.css">
16
- <script src="scripts/nav.js" defer></script>
17
-
18
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
19
- </head>
20
- <body>
21
-
22
- <input type="checkbox" id="nav-trigger" class="nav-trigger" />
23
- <label for="nav-trigger" class="navicon-button x">
24
- <div class="navicon"></div>
25
- </label>
26
-
27
- <label for="nav-trigger" class="overlay"></label>
28
-
29
- <nav >
30
-
31
-
32
- <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-Accounts.html">Accounts</a><ul class='methods'><li data-type='method'><a href="module-Accounts.html#~confirmEmailChange">confirmEmailChange</a></li><li data-type='method'><a href="module-Accounts.html#~deleteAccount">deleteAccount</a></li><li data-type='method'><a href="module-Accounts.html#~numberOfActiveUsers">numberOfActiveUsers</a></li><li data-type='method'><a href="module-Accounts.html#~requestEmailChange">requestEmailChange</a></li><li data-type='method'><a href="module-Accounts.html#~resetPassword">resetPassword</a></li><li data-type='method'><a href="module-Accounts.html#~sendAccountSetupEmail">sendAccountSetupEmail</a></li><li data-type='method'><a href="module-Accounts.html#~sendPasswordResetEmail">sendPasswordResetEmail</a></li><li data-type='method'><a href="module-Accounts.html#~setupAccount">setupAccount</a></li><li data-type='method'><a href="module-Accounts.html#~status">status</a></li><li data-type='method'><a href="module-Accounts.html#~toggleStudentView">toggleStudentView</a></li></ul></li><li><a href="module-Artist.html">Artist</a><ul class='methods'><li data-type='method'><a href="module-Artist.html#~fetchArtistBySlug">fetchArtistBySlug</a></li><li data-type='method'><a href="module-Artist.html#~fetchArtistLessons">fetchArtistLessons</a></li><li data-type='method'><a href="module-Artist.html#~fetchArtists">fetchArtists</a></li></ul></li><li><a href="module-Awards.html">Awards</a><ul class='methods'><li data-type='method'><a href="module-Awards.html#~fetchAwardsForUser">fetchAwardsForUser</a></li><li data-type='method'><a href="module-Awards.html#~fetchCertificate">fetchCertificate</a></li><li data-type='method'><a href="module-Awards.html#~getAwardDataForGuidedContent">getAwardDataForGuidedContent</a></li></ul></li><li><a href="module-Config.html">Config</a><ul class='methods'><li data-type='method'><a href="module-Config.html#.initializeService">initializeService</a></li></ul></li><li><a href="module-Content-Services-V2.html">Content-Services-V2</a><ul class='methods'><li data-type='method'><a href="module-Content-Services-V2.html#.getContentRows">getContentRows</a></li><li data-type='method'><a href="module-Content-Services-V2.html#.getLegacyMethods">getLegacyMethods</a></li><li data-type='method'><a href="module-Content-Services-V2.html#.getNewAndUpcoming">getNewAndUpcoming</a></li><li data-type='method'><a href="module-Content-Services-V2.html#.getOwnedContent">getOwnedContent</a></li><li data-type='method'><a href="module-Content-Services-V2.html#.getRecent">getRecent</a></li><li data-type='method'><a href="module-Content-Services-V2.html#.getRecommendedForYou">getRecommendedForYou</a></li><li data-type='method'><a href="module-Content-Services-V2.html#.getScheduleContentRows">getScheduleContentRows</a></li><li data-type='method'><a href="module-Content-Services-V2.html#.getTabResults">getTabResults</a></li></ul></li><li><a href="module-Forums.html">Forums</a><ul class='methods'><li data-type='method'><a href="module-Forums.html#~createForumCategory">createForumCategory</a></li><li data-type='method'><a href="module-Forums.html#~createPost">createPost</a></li><li data-type='method'><a href="module-Forums.html#~createThread">createThread</a></li><li data-type='method'><a href="module-Forums.html#~deleteForumCategory">deleteForumCategory</a></li><li data-type='method'><a href="module-Forums.html#~deletePost">deletePost</a></li><li data-type='method'><a href="module-Forums.html#~deleteThread">deleteThread</a></li><li data-type='method'><a href="module-Forums.html#~fetchCommunityGuidelines">fetchCommunityGuidelines</a></li><li data-type='method'><a href="module-Forums.html#~fetchFollowedThreads">fetchFollowedThreads</a></li><li data-type='method'><a href="module-Forums.html#~fetchForumCategories">fetchForumCategories</a></li><li data-type='method'><a href="module-Forums.html#~fetchLatestThreads">fetchLatestThreads</a></li><li data-type='method'><a href="module-Forums.html#~fetchPosts">fetchPosts</a></li><li data-type='method'><a href="module-Forums.html#~fetchThreads">fetchThreads</a></li><li data-type='method'><a href="module-Forums.html#~followThread">followThread</a></li><li data-type='method'><a href="module-Forums.html#~jumpToPost">jumpToPost</a></li><li data-type='method'><a href="module-Forums.html#~likePost">likePost</a></li><li data-type='method'><a href="module-Forums.html#~lockThread">lockThread</a></li><li data-type='method'><a href="module-Forums.html#~markThreadAsRead">markThreadAsRead</a></li><li data-type='method'><a href="module-Forums.html#~pinThread">pinThread</a></li><li data-type='method'><a href="module-Forums.html#~search">search</a></li><li data-type='method'><a href="module-Forums.html#~unfollowThread">unfollowThread</a></li><li data-type='method'><a href="module-Forums.html#~unlikePost">unlikePost</a></li><li data-type='method'><a href="module-Forums.html#~unlockThread">unlockThread</a></li><li data-type='method'><a href="module-Forums.html#~unpinThread">unpinThread</a></li><li data-type='method'><a href="module-Forums.html#~updateForumCategory">updateForumCategory</a></li><li data-type='method'><a href="module-Forums.html#~updatePost">updatePost</a></li><li data-type='method'><a href="module-Forums.html#~updateThread">updateThread</a></li></ul></li><li></li><li></li><li><a href="module-Genre.html">Genre</a><ul class='methods'><li data-type='method'><a href="module-Genre.html#~fetchGenreBySlug">fetchGenreBySlug</a></li><li data-type='method'><a href="module-Genre.html#~fetchGenreLessons">fetchGenreLessons</a></li><li data-type='method'><a href="module-Genre.html#~fetchGenres">fetchGenres</a></li></ul></li><li><a href="module-GuidedCourses.html">GuidedCourses</a></li><li><a href="module-Instructor.html">Instructor</a><ul class='methods'><li data-type='method'><a href="module-Instructor.html#~fetchInstructorBySlug">fetchInstructorBySlug</a></li><li data-type='method'><a href="module-Instructor.html#~fetchInstructorLessons">fetchInstructorLessons</a></li><li data-type='method'><a href="module-Instructor.html#~fetchInstructors">fetchInstructors</a></li></ul></li><li><a href="module-Interests.html">Interests</a><ul class='methods'><li data-type='method'><a href="module-Interests.html#.fetchInterests">fetchInterests</a></li><li data-type='method'><a href="module-Interests.html#.fetchUninterests">fetchUninterests</a></li><li data-type='method'><a href="module-Interests.html#.markContentAsInterested">markContentAsInterested</a></li><li data-type='method'><a href="module-Interests.html#.markContentAsNotInterested">markContentAsNotInterested</a></li><li data-type='method'><a href="module-Interests.html#.removeContentAsInterested">removeContentAsInterested</a></li><li data-type='method'><a href="module-Interests.html#.removeContentAsNotInterested">removeContentAsNotInterested</a></li></ul></li><li><a href="module-LearningPaths.html">LearningPaths</a><ul class='methods'><li data-type='method'><a href="module-LearningPaths.html#~completeLearningPathIntroVideo">completeLearningPathIntroVideo</a></li><li data-type='method'><a href="module-LearningPaths.html#~completeMethodIntroVideo">completeMethodIntroVideo</a></li><li data-type='method'><a href="module-LearningPaths.html#~fetchLearningPathLessons">fetchLearningPathLessons</a></li><li data-type='method'><a href="module-LearningPaths.html#~fetchLearningPathProgressCheckLessons">fetchLearningPathProgressCheckLessons</a></li><li data-type='method'><a href="module-LearningPaths.html#~getActivePath">getActivePath</a></li><li data-type='method'><a href="module-LearningPaths.html#~getDailySession">getDailySession</a></li><li data-type='method'><a href="module-LearningPaths.html#~getEnrichedLearningPath">getEnrichedLearningPath</a></li><li data-type='method'><a href="module-LearningPaths.html#~getLearningPathLessonsByIds">getLearningPathLessonsByIds</a></li><li data-type='method'><a href="module-LearningPaths.html#~mapContentToParent">mapContentToParent</a></li><li data-type='method'><a href="module-LearningPaths.html#~resetAllLearningPaths">resetAllLearningPaths</a></li><li data-type='method'><a href="module-LearningPaths.html#~startLearningPath">startLearningPath</a></li><li data-type='method'><a href="module-LearningPaths.html#~updateDailySession">updateDailySession</a></li></ul></li><li><a href="module-Onboarding.html">Onboarding</a><ul class='methods'><li data-type='method'><a href="module-Onboarding.html#~getOnboardingRecommendedContent">getOnboardingRecommendedContent</a></li><li data-type='method'><a href="module-Onboarding.html#~startOnboarding">startOnboarding</a></li><li data-type='method'><a href="module-Onboarding.html#~updateOnboarding">updateOnboarding</a></li><li data-type='method'><a href="module-Onboarding.html#~userOnboardingForBrand">userOnboardingForBrand</a></li></ul></li><li><a href="module-Payments.html">Payments</a><ul class='methods'><li data-type='method'><a href="module-Payments.html#~fetchCustomerPayments">fetchCustomerPayments</a></li></ul></li><li><a href="module-Permissions.html">Permissions</a><ul class='methods'><li data-type='method'><a href="module-Permissions.html#.fetchUserPermissions">fetchUserPermissions</a></li><li data-type='method'><a href="module-Permissions.html#.reset">reset</a></li></ul></li><li><a href="module-Playlists.html">Playlists</a><ul class='methods'><li data-type='method'><a href="module-Playlists.html#.addItemToPlaylist">addItemToPlaylist</a></li><li data-type='method'><a href="module-Playlists.html#.createPlaylist">createPlaylist</a></li><li data-type='method'><a href="module-Playlists.html#.deletePlaylist">deletePlaylist</a></li><li data-type='method'><a href="module-Playlists.html#.duplicatePlaylist">duplicatePlaylist</a></li><li data-type='method'><a href="module-Playlists.html#.fetchPlaylist">fetchPlaylist</a></li><li data-type='method'><a href="module-Playlists.html#.fetchPlaylistItems">fetchPlaylistItems</a></li><li data-type='method'><a href="module-Playlists.html#.fetchUserPlaylists">fetchUserPlaylists</a></li><li data-type='method'><a href="module-Playlists.html#.togglePlaylistPrivate">togglePlaylistPrivate</a></li><li data-type='method'><a href="module-Playlists.html#.undeletePlaylist">undeletePlaylist</a></li><li data-type='method'><a href="module-Playlists.html#.updatePlaylist">updatePlaylist</a></li><li data-type='method'><a href="module-Playlists.html#~deleteItemsFromPlaylist">deleteItemsFromPlaylist</a></li><li data-type='method'><a href="module-Playlists.html#~likePlaylist">likePlaylist</a></li><li data-type='method'><a href="module-Playlists.html#~reportPlaylist">reportPlaylist</a></li><li data-type='method'><a href="module-Playlists.html#~restoreItemFromPlaylist">restoreItemFromPlaylist</a></li><li data-type='method'><a href="module-Playlists.html#~unlikePlaylist">unlikePlaylist</a></li></ul></li><li><a href="module-ProgressRow.html">ProgressRow</a></li><li><a href="module-Railcontent-Services.html">Railcontent-Services</a><ul class='methods'><li data-type='method'><a href="module-Railcontent-Services.html#.assignModeratorToComment">assignModeratorToComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.closeComment">closeComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.createComment">createComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.deleteComment">deleteComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.editComment">editComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchAllCompletedStates">fetchAllCompletedStates</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchCarouselCardData">fetchCarouselCardData</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchComment">fetchComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchCommentRelies">fetchCommentRelies</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchComments">fetchComments</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchCompletedContent">fetchCompletedContent</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchCompletedState">fetchCompletedState</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchContentInProgress">fetchContentInProgress</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchContentPageUserData">fetchContentPageUserData</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchNextContentDataForParent">fetchNextContentDataForParent</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchRecentUserActivities">fetchRecentUserActivities</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchSongsInProgress">fetchSongsInProgress</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchTopComment">fetchTopComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchUserAward">fetchUserAward</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchUserBadges">fetchUserBadges</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.fetchUserPracticeNotes">fetchUserPracticeNotes</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.likeComment">likeComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.openComment">openComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.replyToComment">replyToComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.reportComment">reportComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.restoreComment">restoreComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.setStudentViewForUser">setStudentViewForUser</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.unassignModeratorToComment">unassignModeratorToComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#.unlikeComment">unlikeComment</a></li><li data-type='method'><a href="module-Railcontent-Services.html#~fetchLastInteractedChild">fetchLastInteractedChild</a></li></ul></li><li><a href="module-Sanity-Services.html">Sanity-Services</a><ul class='methods'><li data-type='method'><a href="module-Sanity-Services.html#.fetchAll">fetchAll</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchAllFilterOptions">fetchAllFilterOptions</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchAllPacks">fetchAllPacks</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchByRailContentId">fetchByRailContentId</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchByRailContentIds">fetchByRailContentIds</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchByReference">fetchByReference</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchComingSoon">fetchComingSoon</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchCommentModContentData">fetchCommentModContentData</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchFoundation">fetchFoundation</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchLeaving">fetchLeaving</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchLessonContent">fetchLessonContent</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchLessonsFeaturingThisContent">fetchLessonsFeaturingThisContent</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMetadata">fetchMetadata</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMethod">fetchMethod</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMethodChildren">fetchMethodChildren</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMethodChildrenIds">fetchMethodChildrenIds</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMethodPreviousNextLesson">fetchMethodPreviousNextLesson</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMethodV2IntroVideo">fetchMethodV2IntroVideo</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMethodV2Structure">fetchMethodV2Structure</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchMethodV2StructureFromId">fetchMethodV2StructureFromId</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchNewReleases">fetchNewReleases</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchNextPreviousLesson">fetchNextPreviousLesson</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchOtherSongVersions">fetchOtherSongVersions</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchOwnedContent">fetchOwnedContent</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchPackAll">fetchPackAll</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchPackData">fetchPackData</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchRelatedLessons">fetchRelatedLessons</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchRelatedRecommendedContent">fetchRelatedRecommendedContent</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchRelatedSongs">fetchRelatedSongs</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchReturning">fetchReturning</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchSanity">fetchSanity</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchScheduledReleases">fetchScheduledReleases</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchShowsData">fetchShowsData</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchSiblingContent">fetchSiblingContent</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchSongArtistCount">fetchSongArtistCount</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchSongById">fetchSongById</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchTopLevelParentId">fetchTopLevelParentId</a></li><li data-type='method'><a href="module-Sanity-Services.html#.fetchUpcomingEvents">fetchUpcomingEvents</a></li><li data-type='method'><a href="module-Sanity-Services.html#.jumpToContinueContent">jumpToContinueContent</a></li><li data-type='method'><a href="module-Sanity-Services.html#~fetchRelatedByLicense">fetchRelatedByLicense</a></li><li data-type='method'><a href="module-Sanity-Services.html#~getQueryFromPage">getQueryFromPage</a></li></ul></li><li><a href="module-Sessions.html">Sessions</a><ul class='methods'><li data-type='method'><a href="module-Sessions.html#.login">login</a></li><li data-type='method'><a href="module-Sessions.html#.logout">logout</a></li></ul></li><li><a href="module-UserActivity.html">UserActivity</a><ul class='methods'><li data-type='method'><a href="module-UserActivity.html#.calculateLongestStreaks">calculateLongestStreaks</a></li><li data-type='method'><a href="module-UserActivity.html#.createPracticeNotes">createPracticeNotes</a></li><li data-type='method'><a href="module-UserActivity.html#.deletePracticeSession">deletePracticeSession</a></li><li data-type='method'><a href="module-UserActivity.html#.deleteUserActivity">deleteUserActivity</a></li><li data-type='method'><a href="module-UserActivity.html#.getPracticeNotes">getPracticeNotes</a></li><li data-type='method'><a href="module-UserActivity.html#.getPracticeSessions">getPracticeSessions</a></li><li data-type='method'><a href="module-UserActivity.html#.getProgressRows">getProgressRows</a></li><li data-type='method'><a href="module-UserActivity.html#.getRecentActivity">getRecentActivity</a></li><li data-type='method'><a href="module-UserActivity.html#.getUserMonthlyStats">getUserMonthlyStats</a></li><li data-type='method'><a href="module-UserActivity.html#.getUserWeeklyStats">getUserWeeklyStats</a></li><li data-type='method'><a href="module-UserActivity.html#.pinProgressRow">pinProgressRow</a></li><li data-type='method'><a href="module-UserActivity.html#.recordUserActivity">recordUserActivity</a></li><li data-type='method'><a href="module-UserActivity.html#.recordUserPractice">recordUserPractice</a></li><li data-type='method'><a href="module-UserActivity.html#.removeUserPractice">removeUserPractice</a></li><li data-type='method'><a href="module-UserActivity.html#.restorePracticeSession">restorePracticeSession</a></li><li data-type='method'><a href="module-UserActivity.html#.restoreUserActivity">restoreUserActivity</a></li><li data-type='method'><a href="module-UserActivity.html#.restoreUserPractice">restoreUserPractice</a></li><li data-type='method'><a href="module-UserActivity.html#.unpinProgressRow">unpinProgressRow</a></li><li data-type='method'><a href="module-UserActivity.html#.updatePracticeNotes">updatePracticeNotes</a></li><li data-type='method'><a href="module-UserActivity.html#.updateUserPractice">updateUserPractice</a></li></ul></li><li><a href="module-UserChat.html">UserChat</a><ul class='methods'><li data-type='method'><a href="module-UserChat.html#.fetchChatSettings">fetchChatSettings</a></li></ul></li><li><a href="module-UserManagement.html">UserManagement</a><ul class='methods'><li data-type='method'><a href="module-UserManagement.html#.blockUser">blockUser</a></li><li data-type='method'><a href="module-UserManagement.html#.blockedUsers">blockedUsers</a></li><li data-type='method'><a href="module-UserManagement.html#.deletePicture">deletePicture</a></li><li data-type='method'><a href="module-UserManagement.html#.getUserData">getUserData</a></li><li data-type='method'><a href="module-UserManagement.html#.getUserSignature">getUserSignature</a></li><li data-type='method'><a href="module-UserManagement.html#.isUsernameAvailable">isUsernameAvailable</a></li><li data-type='method'><a href="module-UserManagement.html#.setUserSignature">setUserSignature</a></li><li data-type='method'><a href="module-UserManagement.html#.toggleSignaturePrivate">toggleSignaturePrivate</a></li><li data-type='method'><a href="module-UserManagement.html#.unblockUser">unblockUser</a></li><li data-type='method'><a href="module-UserManagement.html#.updateDisplayName">updateDisplayName</a></li><li data-type='method'><a href="module-UserManagement.html#.uploadPicture">uploadPicture</a></li><li data-type='method'><a href="module-UserManagement.html#.uploadPictureFromS3">uploadPictureFromS3</a></li></ul></li><li><a href="module-UserMemberships.html">UserMemberships</a><ul class='methods'><li data-type='method'><a href="module-UserMemberships.html#~fetchMemberships">fetchMemberships</a></li><li data-type='method'><a href="module-UserMemberships.html#~fetchRechargeTokens">fetchRechargeTokens</a></li><li data-type='method'><a href="module-UserMemberships.html#~restorePurchases">restorePurchases</a></li><li data-type='method'><a href="module-UserMemberships.html#~upgradeSubscription">upgradeSubscription</a></li></ul></li><li><a href="module-UserNotifications.html">UserNotifications</a><ul class='methods'><li data-type='method'><a href="module-UserNotifications.html#.deleteNotification">deleteNotification</a></li><li data-type='method'><a href="module-UserNotifications.html#.fetchLiveEventPollingState">fetchLiveEventPollingState</a></li><li data-type='method'><a href="module-UserNotifications.html#.fetchNotificationSettings">fetchNotificationSettings</a></li><li data-type='method'><a href="module-UserNotifications.html#.fetchNotifications">fetchNotifications</a></li><li data-type='method'><a href="module-UserNotifications.html#.fetchUnreadCount">fetchUnreadCount</a></li><li data-type='method'><a href="module-UserNotifications.html#.markAllNotificationsAsRead">markAllNotificationsAsRead</a></li><li data-type='method'><a href="module-UserNotifications.html#.markNotificationAsRead">markNotificationAsRead</a></li><li data-type='method'><a href="module-UserNotifications.html#.markNotificationAsUnread">markNotificationAsUnread</a></li><li data-type='method'><a href="module-UserNotifications.html#.pauseLiveEventPolling">pauseLiveEventPolling</a></li><li data-type='method'><a href="module-UserNotifications.html#.restoreNotification">restoreNotification</a></li><li data-type='method'><a href="module-UserNotifications.html#.startLiveEventPolling">startLiveEventPolling</a></li><li data-type='method'><a href="module-UserNotifications.html#.updateNotificationSetting">updateNotificationSetting</a></li></ul></li><li><a href="module-UserProfile.html">UserProfile</a><ul class='methods'><li data-type='method'><a href="module-UserProfile.html#.deleteProfilePicture">deleteProfilePicture</a></li><li data-type='method'><a href="module-UserProfile.html#.otherStats">otherStats</a></li></ul></li></ul><h3>Namespaces</h3><ul><li><a href="ContentOrganization.html">ContentOrganization</a></li><li><a href="Forums.html">Forums</a></li><li><a href="Gamification.html">Gamification</a></li><li><a href="UserManagementSystem.html">UserManagementSystem</a></li></ul><h3>Interfaces</h3><ul><li><a href="TestUser.html">TestUser</a></li></ul><h3>Global</h3><ul><li><a href="global.html#createTestUser">createTestUser</a></li></ul>
33
-
34
- </nav>
35
-
36
- <div id="main">
37
-
38
- <h1 class="page-title">Accounts</h1>
39
-
40
-
41
-
42
-
43
-
44
-
45
-
46
- <section>
47
-
48
- <header>
49
-
50
-
51
-
52
- </header>
53
-
54
- <article>
55
-
56
- <div class="container-overview">
57
-
58
-
59
-
60
-
61
-
62
- </div>
63
-
64
-
65
-
66
-
67
-
68
-
69
-
70
-
71
-
72
-
73
-
74
-
75
-
76
-
77
-
78
-
79
-
80
- <h3 class="subsection-title">Methods</h3>
81
-
82
-
83
-
84
-
85
-
86
-
87
- <h4 class="name" id="~confirmEmailChange"><span class="type-signature type-signature-async, inner">(async, inner) </span>confirmEmailChange<span class="signature">(token)</span><span class="type-signature"> &rarr; {Promise.&lt;void>}</span></h4>
88
-
89
-
90
-
91
-
92
-
93
-
94
- <dl class="details">
95
-
96
-
97
-
98
- <dt class="tag-source">Source:</dt>
99
- <dd class="tag-source"><ul class="dummy"><li>
100
- <a href="user_account.ts.html">user/account.ts</a>, <a href="user_account.ts.html#line134">line 134</a>
101
- </li></ul></dd>
102
-
103
-
104
-
105
-
106
-
107
-
108
-
109
-
110
-
111
-
112
-
113
-
114
-
115
-
116
-
117
-
118
-
119
-
120
-
121
-
122
-
123
-
124
-
125
-
126
-
127
-
128
-
129
-
130
-
131
-
132
-
133
- </dl>
134
-
135
-
136
-
137
-
138
-
139
-
140
-
141
-
142
-
143
-
144
-
145
-
146
-
147
- <h5 class="h5-parameters">Parameters:</h5>
148
-
149
-
150
- <table class="params">
151
- <thead>
152
- <tr>
153
-
154
- <th>Name</th>
155
-
156
-
157
- <th>Type</th>
158
-
159
-
160
-
161
-
162
-
163
- <th class="last">Description</th>
164
- </tr>
165
- </thead>
166
-
167
- <tbody>
168
-
169
-
170
- <tr>
171
-
172
- <td class="name"><code>token</code></td>
173
-
174
-
175
- <td class="type">
176
-
177
-
178
- <span class="param-type">string</span>
179
-
180
-
181
-
182
-
183
- </td>
184
-
185
-
186
-
187
-
188
-
189
- <td class="description last">The token sent to the user's email for verification.</td>
190
- </tr>
191
-
192
-
193
- </tbody>
194
- </table>
195
-
196
-
197
-
198
-
199
-
200
-
201
-
202
-
203
-
204
-
205
-
206
-
207
-
208
-
209
- <h5 class="h5-throws">Throws:</h5>
210
-
211
-
212
-
213
- <dl>
214
- <dt>
215
- <div class="param-desc usertext">
216
- - Throws HttpError if the request fails.
217
- </div>
218
- </dt>
219
- <dd></dd>
220
- <dt>
221
- <dl class="param-type">
222
- <dt>
223
- Type
224
- </dt>
225
- <dd>
226
-
227
- <span class="param-type">HttpError</span>
228
-
229
-
230
-
231
- </dd>
232
- </dl>
233
- </dt>
234
- <dd></dd>
235
- </dl>
236
-
237
-
238
-
239
-
240
-
241
- <h5 class="h5-returns">Returns:</h5>
242
-
243
-
244
- <div class="param-desc">
245
- - A promise that resolves when the email change is confirmed.
246
- </div>
247
-
248
-
249
-
250
- <dl class="param-type">
251
- <dt>
252
- Type
253
- </dt>
254
- <dd>
255
-
256
- <span class="param-type">Promise.&lt;void></span>
257
-
258
-
259
-
260
- </dd>
261
- </dl>
262
-
263
-
264
-
265
-
266
-
267
-
268
-
269
-
270
-
271
-
272
- <h4 class="name" id="~deleteAccount"><span class="type-signature type-signature-async, inner">(async, inner) </span>deleteAccount<span class="signature">(userId)</span><span class="type-signature"> &rarr; {Promise.&lt;void>}</span></h4>
273
-
274
-
275
-
276
-
277
-
278
-
279
- <dl class="details">
280
-
281
-
282
-
283
- <dt class="tag-source">Source:</dt>
284
- <dd class="tag-source"><ul class="dummy"><li>
285
- <a href="user_account.ts.html">user/account.ts</a>, <a href="user_account.ts.html#line145">line 145</a>
286
- </li></ul></dd>
287
-
288
-
289
-
290
-
291
-
292
-
293
-
294
-
295
-
296
-
297
-
298
-
299
-
300
-
301
-
302
-
303
-
304
-
305
-
306
-
307
-
308
-
309
-
310
-
311
-
312
-
313
-
314
-
315
-
316
-
317
-
318
- </dl>
319
-
320
-
321
-
322
-
323
-
324
-
325
-
326
-
327
-
328
-
329
-
330
-
331
-
332
- <h5 class="h5-parameters">Parameters:</h5>
333
-
334
-
335
- <table class="params">
336
- <thead>
337
- <tr>
338
-
339
- <th>Name</th>
340
-
341
-
342
- <th>Type</th>
343
-
344
-
345
-
346
-
347
-
348
- <th class="last">Description</th>
349
- </tr>
350
- </thead>
351
-
352
- <tbody>
353
-
354
-
355
- <tr>
356
-
357
- <td class="name"><code>userId</code></td>
358
-
359
-
360
- <td class="type">
361
-
362
-
363
- <span class="param-type">number</span>
364
-
365
-
366
-
367
-
368
- </td>
369
-
370
-
371
-
372
-
373
-
374
- <td class="description last">The ID of the user account to delete.</td>
375
- </tr>
376
-
377
-
378
- </tbody>
379
- </table>
380
-
381
-
382
-
383
-
384
-
385
-
386
-
387
-
388
-
389
-
390
-
391
-
392
-
393
-
394
-
395
-
396
- <h5 class="h5-returns">Returns:</h5>
397
-
398
-
399
- <div class="param-desc">
400
- - A promise that resolves with the anonymized user data or an HttpError if the request fails.
401
- </div>
402
-
403
-
404
-
405
- <dl class="param-type">
406
- <dt>
407
- Type
408
- </dt>
409
- <dd>
410
-
411
- <span class="param-type">Promise.&lt;void></span>
412
-
413
-
414
-
415
- </dd>
416
- </dl>
417
-
418
-
419
-
420
-
421
-
422
-
423
-
424
-
425
-
426
-
427
- <h4 class="name" id="~numberOfActiveUsers"><span class="type-signature type-signature-async, inner">(async, inner) </span>numberOfActiveUsers<span class="signature">()</span><span class="type-signature"> &rarr; {Promise.&lt;number>}</span></h4>
428
-
429
-
430
-
431
-
432
-
433
-
434
- <dl class="details">
435
-
436
- <dt class="tag-description">Description:</dt>
437
- <dd class="tag-description"><ul class="dummy"><li>Calls a public API endpoint to get the number of active users.</li></ul></dd>
438
-
439
-
440
-
441
- <dt class="tag-source">Source:</dt>
442
- <dd class="tag-source"><ul class="dummy"><li>
443
- <a href="user_account.ts.html">user/account.ts</a>, <a href="user_account.ts.html#line155">line 155</a>
444
- </li></ul></dd>
445
-
446
-
447
-
448
-
449
-
450
-
451
-
452
-
453
-
454
-
455
-
456
-
457
-
458
-
459
-
460
-
461
-
462
-
463
-
464
-
465
-
466
-
467
-
468
-
469
-
470
-
471
-
472
-
473
-
474
-
475
-
476
- </dl>
477
-
478
-
479
-
480
-
481
-
482
-
483
-
484
-
485
-
486
-
487
-
488
-
489
-
490
-
491
-
492
-
493
-
494
-
495
-
496
-
497
-
498
-
499
-
500
-
501
-
502
- <h5 class="h5-throws">Throws:</h5>
503
-
504
-
505
-
506
- <dl>
507
- <dt>
508
- <div class="param-desc usertext">
509
- - Throws HttpError if the request fails.
510
- </div>
511
- </dt>
512
- <dd></dd>
513
- <dt>
514
- <dl class="param-type">
515
- <dt>
516
- Type
517
- </dt>
518
- <dd>
519
-
520
- <span class="param-type">HttpError</span>
521
-
522
-
523
-
524
- </dd>
525
- </dl>
526
- </dt>
527
- <dd></dd>
528
- </dl>
529
-
530
-
531
-
532
-
533
-
534
- <h5 class="h5-returns">Returns:</h5>
535
-
536
-
537
- <div class="param-desc">
538
- - A promise that resolves to the number of active users.
539
- </div>
540
-
541
-
542
-
543
- <dl class="param-type">
544
- <dt>
545
- Type
546
- </dt>
547
- <dd>
548
-
549
- <span class="param-type">Promise.&lt;number></span>
550
-
551
-
552
-
553
- </dd>
554
- </dl>
555
-
556
-
557
-
558
-
559
-
560
-
561
-
562
-
563
-
564
-
565
- <h4 class="name" id="~requestEmailChange"><span class="type-signature type-signature-async, inner">(async, inner) </span>requestEmailChange<span class="signature">(email, password)</span><span class="type-signature"> &rarr; {Promise.&lt;void>}</span></h4>
566
-
567
-
568
-
569
-
570
-
571
-
572
- <dl class="details">
573
-
574
-
575
-
576
- <dt class="tag-source">Source:</dt>
577
- <dd class="tag-source"><ul class="dummy"><li>
578
- <a href="user_account.ts.html">user/account.ts</a>, <a href="user_account.ts.html#line122">line 122</a>
579
- </li></ul></dd>
580
-
581
-
582
-
583
-
584
-
585
-
586
-
587
-
588
-
589
-
590
-
591
-
592
-
593
-
594
-
595
-
596
-
597
-
598
-
599
-
600
-
601
-
602
-
603
-
604
-
605
-
606
-
607
-
608
-
609
-
610
-
611
- </dl>
612
-
613
-
614
-
615
-
616
-
617
-
618
-
619
-
620
-
621
-
622
-
623
-
624
-
625
- <h5 class="h5-parameters">Parameters:</h5>
626
-
627
-
628
- <table class="params">
629
- <thead>
630
- <tr>
631
-
632
- <th>Name</th>
633
-
634
-
635
- <th>Type</th>
636
-
637
-
638
-
639
-
640
-
641
- <th class="last">Description</th>
642
- </tr>
643
- </thead>
644
-
645
- <tbody>
646
-
647
-
648
- <tr>
649
-
650
- <td class="name"><code>email</code></td>
651
-
652
-
653
- <td class="type">
654
-
655
-
656
- <span class="param-type">string</span>
657
-
658
-
659
-
660
-
661
- </td>
662
-
663
-
664
-
665
-
666
-
667
- <td class="description last">The new email address to set for the user.</td>
668
- </tr>
669
-
670
-
671
-
672
- <tr>
673
-
674
- <td class="name"><code>password</code></td>
675
-
676
-
677
- <td class="type">
678
-
679
-
680
- <span class="param-type">string</span>
681
-
682
-
683
-
684
-
685
- </td>
686
-
687
-
688
-
689
-
690
-
691
- <td class="description last">The current password of the user for verification.</td>
692
- </tr>
693
-
694
-
695
- </tbody>
696
- </table>
697
-
698
-
699
-
700
-
701
-
702
-
703
-
704
-
705
-
706
-
707
-
708
-
709
-
710
-
711
- <h5 class="h5-throws">Throws:</h5>
712
-
713
-
714
-
715
- <dl>
716
- <dt>
717
- <div class="param-desc usertext">
718
- - Throws HttpError if the request fails.
719
- </div>
720
- </dt>
721
- <dd></dd>
722
- <dt>
723
- <dl class="param-type">
724
- <dt>
725
- Type
726
- </dt>
727
- <dd>
728
-
729
- <span class="param-type">HttpError</span>
730
-
731
-
732
-
733
- </dd>
734
- </dl>
735
- </dt>
736
- <dd></dd>
737
- </dl>
738
-
739
-
740
-
741
-
742
-
743
- <h5 class="h5-returns">Returns:</h5>
744
-
745
-
746
- <div class="param-desc">
747
- - A promise that resolves when the email change request is made.
748
- </div>
749
-
750
-
751
-
752
- <dl class="param-type">
753
- <dt>
754
- Type
755
- </dt>
756
- <dd>
757
-
758
- <span class="param-type">Promise.&lt;void></span>
759
-
760
-
761
-
762
- </dd>
763
- </dl>
764
-
765
-
766
-
767
-
768
-
769
-
770
-
771
-
772
-
773
-
774
- <h4 class="name" id="~resetPassword"><span class="type-signature type-signature-async, inner">(async, inner) </span>resetPassword<span class="signature">(params)</span><span class="type-signature"> &rarr; {Promise.&lt;void>}</span></h4>
775
-
776
-
777
-
778
-
779
-
780
-
781
- <dl class="details">
782
-
783
-
784
-
785
- <dt class="tag-source">Source:</dt>
786
- <dd class="tag-source"><ul class="dummy"><li>
787
- <a href="user_account.ts.html">user/account.ts</a>, <a href="user_account.ts.html#line98">line 98</a>
788
- </li></ul></dd>
789
-
790
-
791
-
792
-
793
-
794
-
795
-
796
-
797
-
798
-
799
-
800
-
801
-
802
-
803
-
804
-
805
-
806
-
807
-
808
-
809
-
810
-
811
-
812
-
813
-
814
-
815
-
816
-
817
-
818
-
819
-
820
- </dl>
821
-
822
-
823
-
824
- <h5 class="subsection-title">Properties:</h5>
825
-
826
-
827
-
828
- <table class="props">
829
- <thead>
830
- <tr>
831
-
832
- <th>Name</th>
833
-
834
-
835
- <th>Type</th>
836
-
837
-
838
-
839
-
840
-
841
- <th class="last">Description</th>
842
- </tr>
843
- </thead>
844
-
845
- <tbody>
846
-
847
-
848
- <tr>
849
-
850
- <td class="name"><code>email</code></td>
851
-
852
-
853
- <td class="type">
854
-
855
-
856
- <span class="param-type">string</span>
857
-
858
-
859
-
860
-
861
- </td>
862
-
863
-
864
-
865
-
866
-
867
- <td class="description last">The email address for the account.</td>
868
- </tr>
869
-
870
-
871
-
872
- <tr>
873
-
874
- <td class="name"><code>password</code></td>
875
-
876
-
877
- <td class="type">
878
-
879
-
880
- <span class="param-type">string</span>
881
-
882
-
883
-
884
-
885
- </td>
886
-
887
-
888
-
889
-
890
-
891
- <td class="description last">The new password for the account.</td>
892
- </tr>
893
-
894
-
895
-
896
- <tr>
897
-
898
- <td class="name"><code>passwordConfirmation</code></td>
899
-
900
-
901
- <td class="type">
902
-
903
-
904
- <span class="param-type">string</span>
905
-
906
-
907
-
908
-
909
- </td>
910
-
911
-
912
-
913
-
914
-
915
- <td class="description last">The confirmation of the new password.</td>
916
- </tr>
917
-
918
-
919
-
920
- <tr>
921
-
922
- <td class="name"><code>token</code></td>
923
-
924
-
925
- <td class="type">
926
-
927
-
928
- <span class="param-type">string</span>
929
-
930
-
931
-
932
-
933
- </td>
934
-
935
-
936
-
937
-
938
-
939
- <td class="description last">The token sent to the user's email for verification.</td>
940
- </tr>
941
-
942
-
943
- </tbody>
944
- </table>
945
-
946
-
947
-
948
-
949
-
950
-
951
-
952
-
953
-
954
-
955
-
956
-
957
-
958
-
959
- <h5 class="h5-parameters">Parameters:</h5>
960
-
961
-
962
- <table class="params">
963
- <thead>
964
- <tr>
965
-
966
- <th>Name</th>
967
-
968
-
969
- <th>Type</th>
970
-
971
-
972
-
973
-
974
-
975
- <th class="last">Description</th>
976
- </tr>
977
- </thead>
978
-
979
- <tbody>
980
-
981
-
982
- <tr>
983
-
984
- <td class="name"><code>params</code></td>
985
-
986
-
987
- <td class="type">
988
-
989
-
990
- <span class="param-type">Object</span>
991
-
992
-
993
-
994
-
995
- </td>
996
-
997
-
998
-
999
-
1000
-
1001
- <td class="description last">The parameters for resetting the password.</td>
1002
- </tr>
1003
-
1004
-
1005
- </tbody>
1006
- </table>
1007
-
1008
-
1009
-
1010
-
1011
-
1012
-
1013
-
1014
-
1015
-
1016
-
1017
-
1018
-
1019
-
1020
-
1021
- <h5 class="h5-throws">Throws:</h5>
1022
-
1023
-
1024
-
1025
- <dl>
1026
- <dt>
1027
- <div class="param-desc usertext">
1028
- - Throws an HttpError if the HTTP request fails.
1029
- </div>
1030
- </dt>
1031
- <dd></dd>
1032
- <dt>
1033
- <dl class="param-type">
1034
- <dt>
1035
- Type
1036
- </dt>
1037
- <dd>
1038
-
1039
- <span class="param-type">HttpError</span>
1040
-
1041
-
1042
-
1043
- </dd>
1044
- </dl>
1045
- </dt>
1046
- <dd></dd>
1047
- </dl>
1048
-
1049
-
1050
-
1051
-
1052
-
1053
- <h5 class="h5-returns">Returns:</h5>
1054
-
1055
-
1056
- <div class="param-desc">
1057
- - A promise that resolves when the password reset is complete or an HttpError if the request fails.
1058
- </div>
1059
-
1060
-
1061
-
1062
- <dl class="param-type">
1063
- <dt>
1064
- Type
1065
- </dt>
1066
- <dd>
1067
-
1068
- <span class="param-type">Promise.&lt;void></span>
1069
-
1070
-
1071
-
1072
- </dd>
1073
- </dl>
1074
-
1075
-
1076
-
1077
-
1078
-
1079
-
1080
-
1081
-
1082
-
1083
-
1084
- <h4 class="name" id="~sendAccountSetupEmail"><span class="type-signature type-signature-async, inner">(async, inner) </span>sendAccountSetupEmail<span class="signature">(email)</span><span class="type-signature"> &rarr; {Promise.&lt;void>}</span></h4>
1085
-
1086
-
1087
-
1088
-
1089
-
1090
-
1091
- <dl class="details">
1092
-
1093
-
1094
-
1095
- <dt class="tag-source">Source:</dt>
1096
- <dd class="tag-source"><ul class="dummy"><li>
1097
- <a href="user_account.ts.html">user/account.ts</a>, <a href="user_account.ts.html#line24">line 24</a>
1098
- </li></ul></dd>
1099
-
1100
-
1101
-
1102
-
1103
-
1104
-
1105
-
1106
-
1107
-
1108
-
1109
-
1110
-
1111
-
1112
-
1113
-
1114
-
1115
-
1116
-
1117
-
1118
-
1119
-
1120
-
1121
-
1122
-
1123
-
1124
-
1125
-
1126
-
1127
-
1128
-
1129
-
1130
- </dl>
1131
-
1132
-
1133
-
1134
-
1135
-
1136
-
1137
-
1138
-
1139
-
1140
-
1141
-
1142
-
1143
-
1144
- <h5 class="h5-parameters">Parameters:</h5>
1145
-
1146
-
1147
- <table class="params">
1148
- <thead>
1149
- <tr>
1150
-
1151
- <th>Name</th>
1152
-
1153
-
1154
- <th>Type</th>
1155
-
1156
-
1157
-
1158
-
1159
-
1160
- <th class="last">Description</th>
1161
- </tr>
1162
- </thead>
1163
-
1164
- <tbody>
1165
-
1166
-
1167
- <tr>
1168
-
1169
- <td class="name"><code>email</code></td>
1170
-
1171
-
1172
- <td class="type">
1173
-
1174
-
1175
- <span class="param-type">string</span>
1176
-
1177
-
1178
-
1179
-
1180
- </td>
1181
-
1182
-
1183
-
1184
-
1185
-
1186
- <td class="description last">The email address to send the account setup email to.</td>
1187
- </tr>
1188
-
1189
-
1190
- </tbody>
1191
- </table>
1192
-
1193
-
1194
-
1195
-
1196
-
1197
-
1198
-
1199
-
1200
-
1201
-
1202
-
1203
-
1204
-
1205
-
1206
- <h5 class="h5-throws">Throws:</h5>
1207
-
1208
-
1209
-
1210
- <dl>
1211
- <dt>
1212
- <div class="param-desc usertext">
1213
- - Throws HttpError if the request fails.
1214
- </div>
1215
- </dt>
1216
- <dd></dd>
1217
- <dt>
1218
- <dl class="param-type">
1219
- <dt>
1220
- Type
1221
- </dt>
1222
- <dd>
1223
-
1224
- <span class="param-type">HttpError</span>
1225
-
1226
-
1227
-
1228
- </dd>
1229
- </dl>
1230
- </dt>
1231
- <dd></dd>
1232
- </dl>
1233
-
1234
-
1235
-
1236
-
1237
-
1238
- <h5 class="h5-returns">Returns:</h5>
1239
-
1240
-
1241
- <div class="param-desc">
1242
- - A promise that resolves when the email is sent or an HttpError if the request fails.
1243
- </div>
1244
-
1245
-
1246
-
1247
- <dl class="param-type">
1248
- <dt>
1249
- Type
1250
- </dt>
1251
- <dd>
1252
-
1253
- <span class="param-type">Promise.&lt;void></span>
1254
-
1255
-
1256
-
1257
- </dd>
1258
- </dl>
1259
-
1260
-
1261
-
1262
-
1263
-
1264
-
1265
-
1266
-
1267
-
1268
-
1269
- <h4 class="name" id="~sendPasswordResetEmail"><span class="type-signature type-signature-async, inner">(async, inner) </span>sendPasswordResetEmail<span class="signature">(email)</span><span class="type-signature"> &rarr; {Promise.&lt;void>}</span></h4>
1270
-
1271
-
1272
-
1273
-
1274
-
1275
-
1276
- <dl class="details">
1277
-
1278
-
1279
-
1280
- <dt class="tag-source">Source:</dt>
1281
- <dd class="tag-source"><ul class="dummy"><li>
1282
- <a href="user_account.ts.html">user/account.ts</a>, <a href="user_account.ts.html#line80">line 80</a>
1283
- </li></ul></dd>
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
- </dl>
1316
-
1317
-
1318
-
1319
-
1320
-
1321
-
1322
-
1323
-
1324
-
1325
-
1326
-
1327
-
1328
-
1329
- <h5 class="h5-parameters">Parameters:</h5>
1330
-
1331
-
1332
- <table class="params">
1333
- <thead>
1334
- <tr>
1335
-
1336
- <th>Name</th>
1337
-
1338
-
1339
- <th>Type</th>
1340
-
1341
-
1342
-
1343
-
1344
-
1345
- <th class="last">Description</th>
1346
- </tr>
1347
- </thead>
1348
-
1349
- <tbody>
1350
-
1351
-
1352
- <tr>
1353
-
1354
- <td class="name"><code>email</code></td>
1355
-
1356
-
1357
- <td class="type">
1358
-
1359
-
1360
- <span class="param-type">string</span>
1361
-
1362
-
1363
-
1364
-
1365
- </td>
1366
-
1367
-
1368
-
1369
-
1370
-
1371
- <td class="description last">The email address to send the password reset email to.</td>
1372
- </tr>
1373
-
1374
-
1375
- </tbody>
1376
- </table>
1377
-
1378
-
1379
-
1380
-
1381
-
1382
-
1383
-
1384
-
1385
-
1386
-
1387
-
1388
-
1389
-
1390
-
1391
- <h5 class="h5-throws">Throws:</h5>
1392
-
1393
-
1394
-
1395
- <dl>
1396
- <dt>
1397
- <div class="param-desc usertext">
1398
- - Throws HttpError if the request fails.
1399
- </div>
1400
- </dt>
1401
- <dd></dd>
1402
- <dt>
1403
- <dl class="param-type">
1404
- <dt>
1405
- Type
1406
- </dt>
1407
- <dd>
1408
-
1409
- <span class="param-type">HttpError</span>
1410
-
1411
-
1412
-
1413
- </dd>
1414
- </dl>
1415
- </dt>
1416
- <dd></dd>
1417
- </dl>
1418
-
1419
-
1420
-
1421
-
1422
-
1423
- <h5 class="h5-returns">Returns:</h5>
1424
-
1425
-
1426
- <div class="param-desc">
1427
- - A promise that resolves when the email change request is made.
1428
- </div>
1429
-
1430
-
1431
-
1432
- <dl class="param-type">
1433
- <dt>
1434
- Type
1435
- </dt>
1436
- <dd>
1437
-
1438
- <span class="param-type">Promise.&lt;void></span>
1439
-
1440
-
1441
-
1442
- </dd>
1443
- </dl>
1444
-
1445
-
1446
-
1447
-
1448
-
1449
-
1450
-
1451
-
1452
-
1453
-
1454
- <h4 class="name" id="~setupAccount"><span class="type-signature type-signature-async, inner">(async, inner) </span>setupAccount<span class="signature">(props)</span><span class="type-signature"> &rarr; {Promise.&lt;AccountSetupResponse>}</span></h4>
1455
-
1456
-
1457
-
1458
-
1459
-
1460
-
1461
- <dl class="details">
1462
-
1463
-
1464
-
1465
- <dt class="tag-source">Source:</dt>
1466
- <dd class="tag-source"><ul class="dummy"><li>
1467
- <a href="user_account.ts.html">user/account.ts</a>, <a href="user_account.ts.html#line52">line 52</a>
1468
- </li></ul></dd>
1469
-
1470
-
1471
-
1472
-
1473
-
1474
-
1475
-
1476
-
1477
-
1478
-
1479
-
1480
-
1481
-
1482
-
1483
-
1484
-
1485
-
1486
-
1487
-
1488
-
1489
-
1490
-
1491
-
1492
-
1493
-
1494
-
1495
-
1496
-
1497
-
1498
-
1499
-
1500
- </dl>
1501
-
1502
-
1503
-
1504
- <h5 class="subsection-title">Properties:</h5>
1505
-
1506
-
1507
-
1508
- <table class="props">
1509
- <thead>
1510
- <tr>
1511
-
1512
- <th>Name</th>
1513
-
1514
-
1515
- <th>Type</th>
1516
-
1517
-
1518
- <th>Attributes</th>
1519
-
1520
-
1521
-
1522
-
1523
- <th class="last">Description</th>
1524
- </tr>
1525
- </thead>
1526
-
1527
- <tbody>
1528
-
1529
-
1530
- <tr>
1531
-
1532
- <td class="name"><code>email</code></td>
1533
-
1534
-
1535
- <td class="type">
1536
-
1537
-
1538
- <span class="param-type">string</span>
1539
-
1540
-
1541
-
1542
-
1543
- </td>
1544
-
1545
-
1546
- <td class="attributes">
1547
-
1548
-
1549
-
1550
- </td>
1551
-
1552
-
1553
-
1554
-
1555
- <td class="description last">The email address for the account.</td>
1556
- </tr>
1557
-
1558
-
1559
-
1560
- <tr>
1561
-
1562
- <td class="name"><code>password</code></td>
1563
-
1564
-
1565
- <td class="type">
1566
-
1567
-
1568
- <span class="param-type">string</span>
1569
-
1570
-
1571
-
1572
-
1573
- </td>
1574
-
1575
-
1576
- <td class="attributes">
1577
-
1578
-
1579
-
1580
- </td>
1581
-
1582
-
1583
-
1584
-
1585
- <td class="description last">The new password for the account.</td>
1586
- </tr>
1587
-
1588
-
1589
-
1590
- <tr>
1591
-
1592
- <td class="name"><code>passwordConfirmation</code></td>
1593
-
1594
-
1595
- <td class="type">
1596
-
1597
-
1598
- <span class="param-type">string</span>
1599
-
1600
-
1601
-
1602
-
1603
- </td>
1604
-
1605
-
1606
- <td class="attributes">
1607
-
1608
-
1609
-
1610
- </td>
1611
-
1612
-
1613
-
1614
-
1615
- <td class="description last">The confirmation of the new password.</td>
1616
- </tr>
1617
-
1618
-
1619
-
1620
- <tr>
1621
-
1622
- <td class="name"><code>token</code></td>
1623
-
1624
-
1625
- <td class="type">
1626
-
1627
-
1628
- <span class="param-type">string</span>
1629
-
1630
-
1631
-
1632
-
1633
- </td>
1634
-
1635
-
1636
- <td class="attributes">
1637
-
1638
- &lt;optional><br>
1639
-
1640
-
1641
-
1642
- </td>
1643
-
1644
-
1645
-
1646
-
1647
- <td class="description last">The token sent to the user's email for verification. Required for web requests</td>
1648
- </tr>
1649
-
1650
-
1651
-
1652
- <tr>
1653
-
1654
- <td class="name"><code>revenuecatAppUserId</code></td>
1655
-
1656
-
1657
- <td class="type">
1658
-
1659
-
1660
- <span class="param-type">string</span>
1661
-
1662
-
1663
-
1664
-
1665
- </td>
1666
-
1667
-
1668
- <td class="attributes">
1669
-
1670
- &lt;optional><br>
1671
-
1672
-
1673
-
1674
- </td>
1675
-
1676
-
1677
-
1678
-
1679
- <td class="description last">The RevenueCat App User ID for MA environments. Required for MA requests</td>
1680
- </tr>
1681
-
1682
-
1683
-
1684
- <tr>
1685
-
1686
- <td class="name"><code>deviceName</code></td>
1687
-
1688
-
1689
- <td class="type">
1690
-
1691
-
1692
- <span class="param-type">string</span>
1693
-
1694
-
1695
-
1696
-
1697
- </td>
1698
-
1699
-
1700
- <td class="attributes">
1701
-
1702
- &lt;optional><br>
1703
-
1704
-
1705
-
1706
- </td>
1707
-
1708
-
1709
-
1710
-
1711
- <td class="description last">The device name for MA environments. Required for MA requests</td>
1712
- </tr>
1713
-
1714
-
1715
- </tbody>
1716
- </table>
1717
-
1718
-
1719
-
1720
-
1721
-
1722
-
1723
-
1724
-
1725
-
1726
-
1727
-
1728
-
1729
-
1730
-
1731
- <h5 class="h5-parameters">Parameters:</h5>
1732
-
1733
-
1734
- <table class="params">
1735
- <thead>
1736
- <tr>
1737
-
1738
- <th>Name</th>
1739
-
1740
-
1741
- <th>Type</th>
1742
-
1743
-
1744
-
1745
-
1746
-
1747
- <th class="last">Description</th>
1748
- </tr>
1749
- </thead>
1750
-
1751
- <tbody>
1752
-
1753
-
1754
- <tr>
1755
-
1756
- <td class="name"><code>props</code></td>
1757
-
1758
-
1759
- <td class="type">
1760
-
1761
-
1762
- <span class="param-type">Object</span>
1763
-
1764
-
1765
-
1766
-
1767
- </td>
1768
-
1769
-
1770
-
1771
-
1772
-
1773
- <td class="description last">The parameters for setting up the account.</td>
1774
- </tr>
1775
-
1776
-
1777
- </tbody>
1778
- </table>
1779
-
1780
-
1781
-
1782
-
1783
-
1784
-
1785
-
1786
-
1787
-
1788
-
1789
-
1790
-
1791
-
1792
-
1793
- <h5 class="h5-throws">Throws:</h5>
1794
- <ul>
1795
- <li>
1796
-
1797
- <dl>
1798
- <dt>
1799
- <div class="param-desc usertext">
1800
- - Throws an error if required parameters are missing based on the environment.
1801
- </div>
1802
- </dt>
1803
- <dd></dd>
1804
- <dt>
1805
- <dl class="param-type">
1806
- <dt>
1807
- Type
1808
- </dt>
1809
- <dd>
1810
-
1811
- <span class="param-type">Error</span>
1812
-
1813
-
1814
-
1815
- </dd>
1816
- </dl>
1817
- </dt>
1818
- <dd></dd>
1819
- </dl>
1820
-
1821
- </li>
1822
-
1823
- <li>
1824
-
1825
- <dl>
1826
- <dt>
1827
- <div class="param-desc usertext">
1828
- - Throws an HttpError if the HTTP request fails.
1829
- </div>
1830
- </dt>
1831
- <dd></dd>
1832
- <dt>
1833
- <dl class="param-type">
1834
- <dt>
1835
- Type
1836
- </dt>
1837
- <dd>
1838
-
1839
- <span class="param-type">HttpError</span>
1840
-
1841
-
1842
-
1843
- </dd>
1844
- </dl>
1845
- </dt>
1846
- <dd></dd>
1847
- </dl>
1848
-
1849
- </li>
1850
- </ul>
1851
-
1852
-
1853
- <h5 class="h5-returns">Returns:</h5>
1854
-
1855
-
1856
- <div class="param-desc">
1857
- - A promise that resolves when the account setup is complete or an HttpError if the request fails.
1858
- </div>
1859
-
1860
-
1861
-
1862
- <dl class="param-type">
1863
- <dt>
1864
- Type
1865
- </dt>
1866
- <dd>
1867
-
1868
- <span class="param-type">Promise.&lt;AccountSetupResponse></span>
1869
-
1870
-
1871
-
1872
- </dd>
1873
- </dl>
1874
-
1875
-
1876
-
1877
-
1878
-
1879
-
1880
-
1881
-
1882
-
1883
-
1884
- <h4 class="name" id="~status"><span class="type-signature type-signature-async, inner">(async, inner) </span>status<span class="signature">(email)</span><span class="type-signature"> &rarr; {Promise.&lt;{requires_setup: boolean}>}</span></h4>
1885
-
1886
-
1887
-
1888
-
1889
-
1890
-
1891
- <dl class="details">
1892
-
1893
-
1894
-
1895
- <dt class="tag-source">Source:</dt>
1896
- <dd class="tag-source"><ul class="dummy"><li>
1897
- <a href="user_account.ts.html">user/account.ts</a>, <a href="user_account.ts.html#line10">line 10</a>
1898
- </li></ul></dd>
1899
-
1900
-
1901
-
1902
-
1903
-
1904
-
1905
-
1906
-
1907
-
1908
-
1909
-
1910
-
1911
-
1912
-
1913
-
1914
-
1915
-
1916
-
1917
-
1918
-
1919
-
1920
-
1921
-
1922
-
1923
-
1924
-
1925
-
1926
-
1927
-
1928
-
1929
-
1930
- </dl>
1931
-
1932
-
1933
-
1934
-
1935
-
1936
-
1937
-
1938
-
1939
-
1940
-
1941
-
1942
-
1943
-
1944
- <h5 class="h5-parameters">Parameters:</h5>
1945
-
1946
-
1947
- <table class="params">
1948
- <thead>
1949
- <tr>
1950
-
1951
- <th>Name</th>
1952
-
1953
-
1954
- <th>Type</th>
1955
-
1956
-
1957
-
1958
-
1959
-
1960
- <th class="last">Description</th>
1961
- </tr>
1962
- </thead>
1963
-
1964
- <tbody>
1965
-
1966
-
1967
- <tr>
1968
-
1969
- <td class="name"><code>email</code></td>
1970
-
1971
-
1972
- <td class="type">
1973
-
1974
-
1975
- <span class="param-type">string</span>
1976
-
1977
-
1978
-
1979
-
1980
- </td>
1981
-
1982
-
1983
-
1984
-
1985
-
1986
- <td class="description last">The email address to check the account status for.</td>
1987
- </tr>
1988
-
1989
-
1990
- </tbody>
1991
- </table>
1992
-
1993
-
1994
-
1995
-
1996
-
1997
-
1998
-
1999
-
2000
-
2001
-
2002
-
2003
-
2004
-
2005
-
2006
- <h5 class="h5-throws">Throws:</h5>
2007
-
2008
-
2009
-
2010
- <dl>
2011
- <dt>
2012
- <div class="param-desc usertext">
2013
- - Throws HttpError if the request fails.
2014
- </div>
2015
- </dt>
2016
- <dd></dd>
2017
- <dt>
2018
- <dl class="param-type">
2019
- <dt>
2020
- Type
2021
- </dt>
2022
- <dd>
2023
-
2024
- <span class="param-type">HttpError</span>
2025
-
2026
-
2027
-
2028
- </dd>
2029
- </dl>
2030
- </dt>
2031
- <dd></dd>
2032
- </dl>
2033
-
2034
-
2035
-
2036
-
2037
-
2038
- <h5 class="h5-returns">Returns:</h5>
2039
-
2040
-
2041
- <div class="param-desc">
2042
- - A promise that resolves to an object indicating whether account setup is required, or an HttpError if the request fails.
2043
- </div>
2044
-
2045
-
2046
-
2047
- <dl class="param-type">
2048
- <dt>
2049
- Type
2050
- </dt>
2051
- <dd>
2052
-
2053
- <span class="param-type">Promise.&lt;{requires_setup: boolean}></span>
2054
-
2055
-
2056
-
2057
- </dd>
2058
- </dl>
2059
-
2060
-
2061
-
2062
-
2063
-
2064
-
2065
-
2066
-
2067
-
2068
-
2069
- <h4 class="name" id="~toggleStudentView"><span class="type-signature type-signature-async, inner">(async, inner) </span>toggleStudentView<span class="signature">(useStudentView)</span><span class="type-signature"> &rarr; {Promise.&lt;UserResource>}</span></h4>
2070
-
2071
-
2072
-
2073
-
2074
-
2075
-
2076
- <dl class="details">
2077
-
2078
- <dt class="tag-description">Description:</dt>
2079
- <dd class="tag-description"><ul class="dummy"><li>Toggles the student view mode for admin users.
2080
- When enabled, admins see the platform as a regular student would.</li></ul></dd>
2081
-
2082
-
2083
-
2084
- <dt class="tag-source">Source:</dt>
2085
- <dd class="tag-source"><ul class="dummy"><li>
2086
- <a href="user_account.ts.html">user/account.ts</a>, <a href="user_account.ts.html#line181">line 181</a>
2087
- </li></ul></dd>
2088
-
2089
-
2090
-
2091
-
2092
-
2093
-
2094
-
2095
-
2096
-
2097
-
2098
-
2099
-
2100
-
2101
-
2102
-
2103
-
2104
-
2105
-
2106
-
2107
-
2108
-
2109
-
2110
-
2111
-
2112
-
2113
-
2114
-
2115
-
2116
-
2117
-
2118
-
2119
- </dl>
2120
-
2121
-
2122
-
2123
-
2124
-
2125
-
2126
-
2127
-
2128
-
2129
-
2130
-
2131
-
2132
-
2133
- <h5 class="h5-parameters">Parameters:</h5>
2134
-
2135
-
2136
- <table class="params">
2137
- <thead>
2138
- <tr>
2139
-
2140
- <th>Name</th>
2141
-
2142
-
2143
- <th>Type</th>
2144
-
2145
-
2146
-
2147
-
2148
-
2149
- <th class="last">Description</th>
2150
- </tr>
2151
- </thead>
2152
-
2153
- <tbody>
2154
-
2155
-
2156
- <tr>
2157
-
2158
- <td class="name"><code>useStudentView</code></td>
2159
-
2160
-
2161
- <td class="type">
2162
-
2163
-
2164
- <span class="param-type">boolean</span>
2165
-
2166
-
2167
-
2168
-
2169
- </td>
2170
-
2171
-
2172
-
2173
-
2174
-
2175
- <td class="description last">Whether to enable student view mode (true) or admin view mode (false).</td>
2176
- </tr>
2177
-
2178
-
2179
- </tbody>
2180
- </table>
2181
-
2182
-
2183
-
2184
-
2185
-
2186
-
2187
-
2188
-
2189
-
2190
-
2191
-
2192
-
2193
-
2194
-
2195
- <h5 class="h5-throws">Throws:</h5>
2196
-
2197
-
2198
-
2199
- <dl>
2200
- <dt>
2201
- <div class="param-desc usertext">
2202
- - Throws HttpError if the request fails or user is not an admin.
2203
- </div>
2204
- </dt>
2205
- <dd></dd>
2206
- <dt>
2207
- <dl class="param-type">
2208
- <dt>
2209
- Type
2210
- </dt>
2211
- <dd>
2212
-
2213
- <span class="param-type">HttpError</span>
2214
-
2215
-
2216
-
2217
- </dd>
2218
- </dl>
2219
- </dt>
2220
- <dd></dd>
2221
- </dl>
2222
-
2223
-
2224
-
2225
-
2226
-
2227
- <h5 class="h5-returns">Returns:</h5>
2228
-
2229
-
2230
- <div class="param-desc">
2231
- - A promise that resolves to the updated user resource.
2232
- </div>
2233
-
2234
-
2235
-
2236
- <dl class="param-type">
2237
- <dt>
2238
- Type
2239
- </dt>
2240
- <dd>
2241
-
2242
- <span class="param-type">Promise.&lt;UserResource></span>
2243
-
2244
-
2245
-
2246
- </dd>
2247
- </dl>
2248
-
2249
-
2250
-
2251
-
2252
-
2253
-
2254
-
2255
-
2256
-
2257
-
2258
-
2259
- </article>
2260
-
2261
- </section>
2262
-
2263
-
2264
-
2265
-
2266
-
2267
-
2268
- </div>
2269
-
2270
- <br class="clear">
2271
-
2272
- <footer>
2273
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Fri Nov 28 2025 11:22:56 GMT-0800 (Pacific Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
2274
- </footer>
2275
-
2276
- <script>prettyPrint();</script>
2277
- <script src="scripts/polyfill.js"></script>
2278
- <script src="scripts/linenumber.js"></script>
2279
-
2280
-
2281
-
2282
- </body>
2283
- </html>