comprodls-sdk 2.39.0 → 2.40.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.
@@ -213,11 +213,11 @@ exports.AUTH_API_URLS = {
213
213
  updateOrDeleteGradebookMeta: '/org/{orgId}/classes/{classId}/gradebooks/{gradebook_id}',
214
214
  gradebookColumns: '/org/{orgId}/classes/{classId}/gradebooks/{gradebook_id}/columns',
215
215
  getAllClassesOfAComponent: '/org/{orgId}/components/{component_code}/classes',
216
- removeAllGradebookColumnsOfAComponent: '/org/{orgId}/gradebook/columns/custom-components/{component_code}',
216
+ removeAllGradebookColumnsOfCustomComponent: '/org/{orgId}/gradebook/columns/custom-components/{component_code}',
217
217
 
218
218
  // Custom Components related APIs
219
219
  customComponents: '/org/{orgid}/custom-components',
220
- particularCustomComponent: '/org/{orgid}/custom-components/{custom_component_code}',
220
+ particularCustomComponent: '/org/{orgid}/custom-components/{custom_component_code}'
221
221
  };
222
222
 
223
223
  exports.ACTIVITY_API_URLS = {
@@ -117,7 +117,7 @@ function auth() {
117
117
  getParticularColumnOfAGradebook: getParticularColumnOfAGradebook.bind(this),
118
118
  getAllColumnsOfAGradebook: getAllColumnsOfAGradebook.bind(this),
119
119
  getAllClassesOfAComponent: getAllClassesOfAComponent.bind(this),
120
- removeAllGradebookColumnsOfAComponent: removeAllGradebookColumnsOfAComponent.bind(this),
120
+ removeAllGradebookColumnsOfCustomComponent: removeAllGradebookColumnsOfCustomComponent.bind(this),
121
121
 
122
122
  // Custom Components related APIs
123
123
  createCustomComponent: createCustomComponent.bind(this),
@@ -3714,7 +3714,7 @@ function getAllClassesOfAComponent (options) {
3714
3714
  component_code: "string" //mandatory
3715
3715
  }
3716
3716
  */
3717
- function removeAllGradebookColumnsOfAComponent (options) {
3717
+ function removeAllGradebookColumnsOfCustomComponent (options) {
3718
3718
  // Initializing promise
3719
3719
  var deferred = q.defer();
3720
3720
  var self = this;
@@ -3728,7 +3728,7 @@ function removeAllGradebookColumnsOfAComponent (options) {
3728
3728
  if (options && options.component_code) {
3729
3729
  // Passed all validations, Contruct API url
3730
3730
  var url = self.config.DEFAULT_HOSTS.AUTH +
3731
- self.config.AUTH_API_URLS.removeAllGradebookColumnsOfAComponent;
3731
+ self.config.AUTH_API_URLS.removeAllGradebookColumnsOfCustomComponent;
3732
3732
 
3733
3733
  url = helpers.api.constructAPIUrl(url, {
3734
3734
  orgId: self.orgId,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "comprodls-sdk",
3
3
  "description": "comproDLS SDK for JavaScript",
4
- "version": "2.39.0",
4
+ "version": "2.40.0",
5
5
  "author": {
6
6
  "name": "Compro Technologies Private Limited",
7
7
  "url": "http://www.comprotechnologies.com/"