src/searching/builder/ExecutionsHistorySearchBuilder.js
'use strict';
import SearchWithSummaryBuilder from './SearchWithSummaryBuilder';
import FieldFinder from '../../util/searchingFields/FieldFinder';
const BASE_URL = '/operations/history';
/**
* Defined a search over Executions
* @example ogapi.executionsHistorySearchBuilder()
*/
export default class ExecutionsHistorySearchBuilder extends SearchWithSummaryBuilder {
/**
* @param {!InternalOpenGateAPI} parent - Instance of our InternalOpenGateAPI
*/
constructor(parent, fieldFinder = new FieldFinder(parent, '/operations/history')) {
super(parent, {}, fieldFinder);
this._url = '/entities' + BASE_URL;
}
/**
* The response will only have a summary information
* @example
* ogapi.executionsHistorySearchBuilder().summary()
* @return {ExecutionsHistorySearchBuilder}
*/
}