'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});

exports.default = pluginContext => {
  var _pluginContext$search = pluginContext.searchOperators;
  const OP_EQ = _pluginContext$search.OP_EQ,
        OP_CONTAIN = _pluginContext$search.OP_CONTAIN,
        OP_RANGE = _pluginContext$search.OP_RANGE;
  var _pluginContext$config = pluginContext.config;
  const defaultAdvancedSearchBooleanOp = _pluginContext$config.defaultAdvancedSearchBooleanOp,
        extensions = _pluginContext$config.extensions;


  return {
    op: defaultAdvancedSearchBooleanOp,
    value: [{
      op: OP_CONTAIN,
      path: 'ns2:organizations_common/orgTermGroupList/orgTermGroup/termDisplayName'
    }, {
      op: OP_CONTAIN,
      path: 'ns2:organizations_common/orgTermGroupList/orgTermGroup/termName'
    }, {
      op: OP_EQ,
      path: 'ns2:organizations_common/orgTermGroupList/orgTermGroup/termStatus'
    }, {
      op: OP_EQ,
      path: 'ns2:organizations_common/orgTermGroupList/orgTermGroup/termFlag'
    }, {
      op: OP_EQ,
      path: 'ns2:organizations_common/orgTermGroupList/orgTermGroup/termLanguage'
    }, {
      op: OP_EQ,
      path: 'ns2:organizations_common/organizationRecordTypes/organizationRecordType'
    }, {
      op: OP_RANGE,
      path: 'ns2:organizations_common/foundingDateGroup'
    }, {
      op: OP_CONTAIN,
      path: 'ns2:organizations_common/foundingPlace'
    }, {
      op: OP_RANGE,
      path: 'ns2:organizations_common/dissolutionDateGroup'
    }, {
      op: OP_CONTAIN,
      path: 'ns2:organizations_common/groups/group'
    }, {
      op: OP_CONTAIN,
      path: 'ns2:organizations_common/functions/function'
    }, ...extensions.core.advancedSearch]
  };
};