async getProfileMapping() {
    const { properties } =
      await global.kuzzle.internalIndex.getMapping("profiles");

    return { mapping: properties };
  }
Get the profile mapping

@returns {Promise}