comprodls-sdk 2.46.0 → 2.47.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 +1102 -1304
- package/dist/comprodls-sdk.min.js +20 -20
- package/lib/services/analytics/index.js +5 -3
- package/lib/services/auth/index.js +1 -0
- package/package.json +1 -1
- package/getLogs.log +0 -115944
- package/test.js +0 -84
- package/test1.js +0 -52
- package/test3.js +0 -42
|
@@ -1530,7 +1530,8 @@ function getAllAssignedPathsOfClass(options) {
|
|
|
1530
1530
|
|
|
1531
1531
|
/* options = {
|
|
1532
1532
|
"classid": "string", // required
|
|
1533
|
-
"assignedPathId" : "string",
|
|
1533
|
+
"assignedPathId" : "string",
|
|
1534
|
+
"ext_assignedpathid" : "string",
|
|
1534
1535
|
"productcode" : "string" //required
|
|
1535
1536
|
};
|
|
1536
1537
|
*/
|
|
@@ -1541,7 +1542,7 @@ function getAssignedPathAnalytics(options) {
|
|
|
1541
1542
|
var err = helpers.validations.isAuthenticated(self.orgId, self.token);
|
|
1542
1543
|
if(err) { dfd.reject(err); }
|
|
1543
1544
|
else {
|
|
1544
|
-
if(options && options.classid && options.
|
|
1545
|
+
if(options && options.classid && options.productcode) {
|
|
1545
1546
|
// Passed all validations, Contruct API url
|
|
1546
1547
|
var url = self.config.DEFAULT_HOSTS.ANALYTICS + self.config.ANALYTICS_API_URLS.getAssignedPathAnalytics;
|
|
1547
1548
|
url = helpers.api.constructAPIUrl(url, { orgId: self.orgId });
|
|
@@ -1549,6 +1550,7 @@ function getAssignedPathAnalytics(options) {
|
|
|
1549
1550
|
var queryParams = {
|
|
1550
1551
|
classid: options.classid,
|
|
1551
1552
|
assignedpathid: options.assignedPathId,
|
|
1553
|
+
ext_assignedpathid: options.ext_assignedpathid,
|
|
1552
1554
|
productcode: options.productcode
|
|
1553
1555
|
};
|
|
1554
1556
|
// Setup request with URL and Params
|
|
@@ -1570,7 +1572,7 @@ function getAssignedPathAnalytics(options) {
|
|
|
1570
1572
|
}
|
|
1571
1573
|
else {
|
|
1572
1574
|
err = {};
|
|
1573
|
-
err.message = err.description = 'Mandatory params - classid or
|
|
1575
|
+
err.message = err.description = 'Mandatory params - classid or productcode not found in request options.';
|
|
1574
1576
|
err = new DLSError(helpers.errors.ERROR_TYPES.SDK_ERROR, err);
|
|
1575
1577
|
dfd.reject(err);
|
|
1576
1578
|
}
|
|
@@ -2141,6 +2141,7 @@ options = {
|
|
|
2141
2141
|
"classid": "classid", //mandatory
|
|
2142
2142
|
"data": {
|
|
2143
2143
|
"title": "assigned path title", //mandatory
|
|
2144
|
+
"ext_assignedpathid": 'string', //optional
|
|
2144
2145
|
"duedate": "epoch due date", //mandatory
|
|
2145
2146
|
"startdate": "epoch start date", //optional
|
|
2146
2147
|
"shared_progress": true, //optional, default=true
|