comprodls-sdk 2.50.0 → 2.52.0

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.
@@ -4968,6 +4968,7 @@ function getUserClasses(options) {
4968
4968
  * @param {
4969
4969
  * userid: 'uuid or username', // Mandatory
4970
4970
  * shadow: true/false, // Optional, filter shadow enrollments
4971
+ * hidden: true/false, // Optional, filter hidden enrollments
4971
4972
  * status_active: true/false, // Optional, filter for status_active enrollments
4972
4973
  * status_ended: true/false, // Optional, filter for status_ended enrollments
4973
4974
  * status_expired: true/false, // Optional, filter for status_expired enrollments
@@ -4998,10 +4999,11 @@ function getUserClassesV2(options) {
4998
4999
  // Contruct query parameters
4999
5000
  var params = {};
5000
5001
  if (options) {
5001
- if (options.shadow ) { params.shadow = options.shadow ; }
5002
- if (options.status_active ) { params.status_active = options.status_active ; }
5003
- if (options.status_ended ) { params.status_ended = options.status_ended ; }
5004
- if (options.status_expired ) { params.status_expired = options.status_expired ; }
5002
+ if (options.shadow !== undefined) { params.shadow = options.shadow; }
5003
+ if (options.hidden !== undefined) { params.hidden = options.hidden; }
5004
+ if (options.status_active) { params.status_active = options.status_active; }
5005
+ if (options.status_ended) { params.status_ended = options.status_ended; }
5006
+ if (options.status_expired) { params.status_expired = options.status_expired; }
5005
5007
  if (options.details) { params.details = options.details; }
5006
5008
  if (options.bundleDetails) { params.bundleDetails = options.bundleDetails; }
5007
5009
  if (options.limit) { params.limit = options.limit; }
@@ -5491,6 +5493,7 @@ function getAllClasses(options) {
5491
5493
  title: classEntity.title,
5492
5494
  analyticsharingmodel: classEntity.analyticsharingmodel,
5493
5495
  analytics_score_aggregation_type: classEntity.analytics_score_aggregation_type,
5496
+ hidden: classEntity.hidden,
5494
5497
  studentCount: classEntity.studentCount,
5495
5498
  teacherCount: classEntity.teacherCount
5496
5499
  };