@itilite/iui-user-management 1.4.87 → 1.4.89

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/index.js CHANGED
@@ -890,7 +890,7 @@ var formatCreateUserPayload = function formatCreateUserPayload(payload) {
890
890
  requested_user_is_admin: payload.isCardsAdmin
891
891
  };
892
892
  if (payload.send_welcome_email !== undefined) {
893
- res.send_welcome_email = payload.send_welcome_email;
893
+ res.should_send_welcome_email = payload.send_welcome_email;
894
894
  }
895
895
  var userTags = [];
896
896
  for (var key in payload.userTagType) {
@@ -8708,7 +8708,7 @@ var importUploadedRecords = function importUploadedRecords(jobId, canUpdateExist
8708
8708
  return function (dispatch) {
8709
8709
  return new Promise(function (resolve, reject) {
8710
8710
  api$8.post(userBulkImport.importRecords() + "?job_id=" + jobId + "&update=" + canUpdateExistingUsers, {
8711
- send_welcome_email: sendInvite
8711
+ should_send_welcome_email: sendInvite
8712
8712
  }).then(function (res) {
8713
8713
  resolve(res);
8714
8714
  })["catch"](function (err) {
@@ -8970,7 +8970,7 @@ var UserBulkUpload = function UserBulkUpload(_ref) {
8970
8970
  var _useState5 = React.useState(false),
8971
8971
  canUpdateExistingUsers = _useState5[0],
8972
8972
  setCanUpdateExistingUsers = _useState5[1];
8973
- var _useState6 = React.useState(false),
8973
+ var _useState6 = React.useState(true),
8974
8974
  sendInvite = _useState6[0],
8975
8975
  setSendInvite = _useState6[1];
8976
8976
  var _useState7 = React.useState(false),