/** * Execute a sequence of operations. * Wraps `@openfn/language-common/execute`, and prepends initial state for http. * @example * execute( * create('foo'), * delete('bar') * )(state) * @private * @param {Operations} operations - Operations to be performed. * @returns {Operation} */ export function execute(...operations: Operations): Operation; /** * Make a GET request and POST it somewhere else * @example * fetch({ * endpoint: 'maxrest/rest/os/mxinventory', * query: { * ITEMNUM: '01226', * _format: 'json', * }, * postUrl: 'https://www.openfn.org/inbox/not-real', * }); * @function * @param {object} params - data to make the fetch * @returns {Operation} */ export function fetch(params: object): Operation; export function create(params: any): (state: any) => Promise; /** * Make an update in Maximo 7.6 and beyond * @example * execute( * update(params) * )(state) * @function * @param {object} params - data to make the update * @returns {Operation} */ export function update(params: object): Operation; /** * Make an upadte in Maximo 7.5 * @example * execute( * update75(params) * )(state) * @function * @param {object} params - data to make the update * @returns {Operation} */ export function update75(params: object): Operation; export { field, fields, sourceValue, fn, alterState, each, merge, dataPath, dataValue, lastReferenceValue } from "@openfn/language-common";