session.deleteType = function (typeId, options) {
      options = _fill(options);
      options.cmisaction = 'deleteType';
      options.typeId = typeId;
      return new CmisRequest(_post(session.defaultRepository.repositoryUrl)