diff --git a/src/management/JobsManager.js b/src/management/JobsManager.js index 5a9fc57d2..00cbbf8da 100644 --- a/src/management/JobsManager.js +++ b/src/management/JobsManager.js @@ -148,8 +148,8 @@ JobsManager.prototype.get = function(params, cb) { * @param {String} data.connection_id connection_id of the connection to which users will be imported. * @param {String} [data.users] Path to the users data file. Either users or users_json is mandatory. * @param {String} [data.users_json] JSON data for the users. - * @param {String} [data.upsert] Whether to update users if they already exist (true) or to ignore them (false). - * @param {String} [data.send_completion_email] Whether to send a completion email to all tenant owners when the job is finished (true) or not (false). + * @param {Boolean} [data.upsert] Whether to update users if they already exist (true) or to ignore them (false). + * @param {Boolean} [data.send_completion_email] Whether to send a completion email to all tenant owners when the job is finished (true) or not (false). * @param {Function} [cb] Callback function. * * @return {Promise|undefined} diff --git a/src/management/index.js b/src/management/index.js index fa0430f83..72bcc6a91 100644 --- a/src/management/index.js +++ b/src/management/index.js @@ -2037,8 +2037,8 @@ utils.wrapPropertyMethod(ManagementClient, 'getJob', 'jobs.get'); * @param {String} data.connection_id connection_id of the connection to which users will be imported. * @param {String} [data.users] Path to the users data file. Either users or users_json is mandatory. * @param {String} [data.users_json] JSON data for the users. - * @param {String} [data.upsert] Whether to update users if they already exist (true) or to ignore them (false). - * @param {String} [data.send_completion_email] Whether to send a completion email to all tenant owners when the job is finished (true) or not (false). + * @param {Boolean} [data.upsert] Whether to update users if they already exist (true) or to ignore them (false). + * @param {Boolean} [data.send_completion_email] Whether to send a completion email to all tenant owners when the job is finished (true) or not (false). * @param {Function} [cb] Callback function. * * @return {Promise|undefined}