comprodls-sdk 2.54.0 → 2.54.1
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 +879 -683
- package/dist/comprodls-sdk.min.js +16 -16
- package/lib/services/analytics/index.js +5 -5
- package/package.json +1 -1
|
@@ -903,7 +903,8 @@ function getClassProductRecentPendingSubmissions(options) {
|
|
|
903
903
|
|
|
904
904
|
/*options = {
|
|
905
905
|
* classid: 'string', // class uuid
|
|
906
|
-
* productcode: 'string',
|
|
906
|
+
* productcode: 'string', // product code
|
|
907
|
+
* userids: 'string', // comma separated userids as a single string e.g. '<userid1>,<userid2>..'(optional)
|
|
907
908
|
* includeContext: 'boolean' // includse context or heirarchy (optional)
|
|
908
909
|
*}
|
|
909
910
|
*/
|
|
@@ -926,8 +927,9 @@ function getClassRecord(options) {
|
|
|
926
927
|
var queryParams = {
|
|
927
928
|
classid: options.classid,
|
|
928
929
|
productcode: options.productcode,
|
|
930
|
+
userids: options.userids,
|
|
929
931
|
includeContext: options.includeContext
|
|
930
|
-
}
|
|
932
|
+
};
|
|
931
933
|
|
|
932
934
|
// Setup Request with url and params
|
|
933
935
|
var requestAPI = request.get(url).query(queryParams);
|
|
@@ -942,9 +944,7 @@ function getClassRecord(options) {
|
|
|
942
944
|
if(error) {
|
|
943
945
|
err = new DLSError(helpers.errors.ERROR_TYPES.API_ERROR, error);
|
|
944
946
|
dfd.reject(err);
|
|
945
|
-
} else {
|
|
946
|
-
dfd.resolve(response.body)
|
|
947
|
-
}
|
|
947
|
+
} else { dfd.resolve(response.body); }
|
|
948
948
|
});
|
|
949
949
|
}
|
|
950
950
|
} else {
|