@stackfactor/client-api 1.0.96 → 1.0.97
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/lib/role.js +4 -3
- package/package.json +1 -1
package/lib/role.js
CHANGED
|
@@ -304,8 +304,8 @@ export const setRoleInformation = (id, data, token) => {
|
|
|
304
304
|
|
|
305
305
|
/**
|
|
306
306
|
* Set the role information from template
|
|
307
|
-
* @param {String} id The id of the
|
|
308
|
-
* @param {Object} data Data used to update the
|
|
307
|
+
* @param {String} id The id of the role to be updated
|
|
308
|
+
* @param {Object} data Data used to update the role
|
|
309
309
|
* @param {String} token Authorization token
|
|
310
310
|
* @returns {Promise}
|
|
311
311
|
*/
|
|
@@ -362,7 +362,7 @@ export const setUserRoles = (id, roles, jobDescription, token) => {
|
|
|
362
362
|
|
|
363
363
|
/**
|
|
364
364
|
* Watch role
|
|
365
|
-
* @param {String} id The id of the
|
|
365
|
+
* @param {String} id The id of the role to be updated
|
|
366
366
|
* @param {Boolean} watch Set to true or false
|
|
367
367
|
* @param {String} token Authorization token
|
|
368
368
|
* @returns {Promise}
|
|
@@ -394,6 +394,7 @@ const role = {
|
|
|
394
394
|
getImportedRoleTemplates,
|
|
395
395
|
getRoleInformationById,
|
|
396
396
|
getRolesList,
|
|
397
|
+
getRoleTemplateUpdates,
|
|
397
398
|
importRoleTemplates,
|
|
398
399
|
publishRole,
|
|
399
400
|
setRoleInformation,
|