comprodls-sdk 2.35.0 → 2.36.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.
- package/dist/comprodls-sdk.js +12 -22
- package/dist/comprodls-sdk.min.js +17 -20
- package/lib/services/auth/index.js +8 -1
- package/package.json +1 -1
|
@@ -924,6 +924,7 @@ function getAllClasses(options) {
|
|
|
924
924
|
provision_method: classEntity.class.provision_method,
|
|
925
925
|
title: classEntity.title,
|
|
926
926
|
analyticsharingmodel: classEntity.analyticsharingmodel,
|
|
927
|
+
analytics_score_aggregation_type: classEntity.analytics_score_aggregation_type,
|
|
927
928
|
studentCount: classEntity.studentCount,
|
|
928
929
|
teacherCount: classEntity.teacherCount
|
|
929
930
|
};
|
|
@@ -1617,6 +1618,7 @@ function encodeURLParameter(options) {
|
|
|
1617
1618
|
* class_ownership: 'STRICT' / 'NO_OWNER', // Default - STRICT, Optional field
|
|
1618
1619
|
* ext_data: {} // Optional
|
|
1619
1620
|
* analyticsharingmodel: '' // Optional - Valid values: ['NOINHERIT_SYNCBACK']
|
|
1621
|
+
* analytics_score_aggregation_type: '' // Optional - Valid values: ['best'/'first'/'last']
|
|
1620
1622
|
* }
|
|
1621
1623
|
*/
|
|
1622
1624
|
function createClass(options) {
|
|
@@ -1680,6 +1682,7 @@ function createClass(options) {
|
|
|
1680
1682
|
// enddate: 'Epoch(Unix) timestamp in milliseconds', //Optional field
|
|
1681
1683
|
// description: '', //Optional field
|
|
1682
1684
|
// ext_data: '' //Optional field
|
|
1685
|
+
// analytics_score_aggregation_type: '' // Optional - Valid values: ['best'/'first'/'last']
|
|
1683
1686
|
//}
|
|
1684
1687
|
function updateClass(options) {
|
|
1685
1688
|
var self = this;
|
|
@@ -1738,6 +1741,7 @@ function updateClass(options) {
|
|
|
1738
1741
|
"ext_data": {}, // optional
|
|
1739
1742
|
"model": "STRICT",
|
|
1740
1743
|
"analyticsharingmodel":"NOINHERIT_SYNCBACK" // optional
|
|
1744
|
+
"analytics_score_aggregation_type":"first/best/last" // optional
|
|
1741
1745
|
"owner": {
|
|
1742
1746
|
"userid": "string" //Mandatory if model is 'STRICT'
|
|
1743
1747
|
},
|
|
@@ -1780,6 +1784,7 @@ function updateClass(options) {
|
|
|
1780
1784
|
"assigned_paths": true,
|
|
1781
1785
|
"tags": true,
|
|
1782
1786
|
"analyticsharingmodel": true,
|
|
1787
|
+
"analytics_score_aggregation_type": true,
|
|
1783
1788
|
"ext_data": true,
|
|
1784
1789
|
"advanced": {
|
|
1785
1790
|
"students": [ { "ext_user_id": "string" } ],
|
|
@@ -1792,7 +1797,9 @@ function updateClass(options) {
|
|
|
1792
1797
|
"duedate": 0
|
|
1793
1798
|
}
|
|
1794
1799
|
],
|
|
1795
|
-
"products": [ { "productcode": "string" } ]
|
|
1800
|
+
"products": [ { "productcode": "string" } ],
|
|
1801
|
+
"analyticsharingmodel": "string" // Valid values: ['NOINHERIT_SYNCBACK']
|
|
1802
|
+
"analytics_score_aggregation_type": "string" // Valid values: ['best', 'first', 'last']
|
|
1796
1803
|
}
|
|
1797
1804
|
}
|
|
1798
1805
|
}
|