/** * Execute a sequence of operations. * Wraps `@openfn/language-common/execute`, and prepends initial state for http. * @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 * @public * @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 Update a workorder * update({ * endpoint: "maxrest/rest/mbo/workorder/1234", * body: state => state.data, * }); * @function * @public * @param {object} params - data to make the update * @returns {Operation} */ export function update(params: object): Operation; /** * Make an upadte in Maximo 7.5 * @example Update an inventory balance * update75({ * endpoint: "maxrest/rest/mbo/invbalances", * body: state => state.inventoryBalances, * }); * @function * @public * @param {object} params - data to make the update * @returns {Operation} */ export function update75(params: object): Operation; export { field, fields, sourceValue, fn, fnIf, alterState, each, merge, dataPath, dataValue, lastReferenceValue } from "@openfn/language-common";