"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

var _default = configContext => {
  const {
    OP_EQ,
    OP_CONTAIN,
    OP_RANGE
  } = configContext.searchOperators;
  const {
    defaultAdvancedSearchBooleanOp,
    extensions
  } = configContext.config;
  return {
    op: defaultAdvancedSearchBooleanOp,
    value: [{
      op: OP_CONTAIN,
      path: 'ns2:loansin_common/loanInNumber'
    }, {
      op: OP_EQ,
      path: 'ns2:loansin_common/loanPurpose'
    }, {
      op: OP_EQ,
      path: 'ns2:loansin_common/loanStatusGroupList/loanStatusGroup/loanStatus'
    }, {
      op: OP_EQ,
      path: 'ns2:loansin_common/lenderGroupList/lenderGroup/lender'
    }, {
      op: OP_EQ,
      path: 'ns2:loansin_common/lenderGroupList/lenderGroup/lendersContact'
    }, {
      op: OP_EQ,
      path: 'ns2:loansin_common/lenderGroupList/lenderGroup/lendersAuthorizer'
    }, {
      op: OP_EQ,
      path: 'ns2:loansin_common/borrowersContact'
    }, {
      op: OP_EQ,
      path: 'ns2:loansin_common/borrowersAuthorizer'
    }, {
      op: OP_RANGE,
      path: 'ns2:loansin_common/loanInDate'
    }, {
      op: OP_RANGE,
      path: 'ns2:loansin_common/loanReturnDate'
    }, {
      op: OP_RANGE,
      path: 'ns2:loansin_common/loanRenewalApplicationDate'
    }, ...extensions.core.advancedSearch]
  };
};

exports.default = _default;