async import(request) {
    const userId = request.getKuid();
    const { index, collection } = request.getIndexAndCollection();
    const strict = request.getBoolean("strict");
    const refresh = request.getRefresh();
    const bulkData = request.getBodyArray("bulkData");
    const options = {
      refresh,
      userId,
    };

    const { items, errors } = await this.ask(
      "core:storage:public:document:bulk",
      index,
      collection,
      bulkData,
      options,
    );

    if (strict && errors.length) {
      throw kerror.get(
        "api",
        "process",
        "incomplete_multiple_request",
        "import",
        errors,
      );
    }

    // @todo next major release: if (successes.length === 0) then throw (no matter strict value)

    return {
      errors,
      successes: items,
    };
  }
Perform a bulk import

@param {Request} request
@returns {Promise}