code: function doQuery(options) {
              // only User Agent (type = `ua`) clients are available at the moment.
              options.data = extend(options.data, {type: 'ua'});
  
              return models.Client.findOne(options.data, omit(options, ['data']))
                  .then((model) => {
                      if (!model) {
                          return Promise.reject(new common.errors.NotFoundError({
                              message: common.i18n.t('common.api.clients.clientNotFound')
                          }));
                      }
  
                      return {
                          clients: [model.toJSON(options)]
                      };
                  });
          }
docs: ### Model Query
  Make the call to the Model layer
  @param {Object} options
  @returns {Object} options