import { t as e } from "./request-B-Pg79ns.mjs";
//#region src/api/modules/bpmTask/guanlihoutailiuchengshili.ts
function t(t, n) {
	return e.Post("/bpm/process-instance/cancel-by-admin", t, {
		headers: { "Content-Type": "application/json" },
		...n || {}
	});
}
function n(t, n) {
	return e.Post("/bpm/process-instance/cancel-by-start-user", t, {
		headers: { "Content-Type": "application/json" },
		...n || {}
	});
}
function r(t, n) {
	return e.Post("/bpm/process-instance/create", t, {
		headers: { "Content-Type": "application/json" },
		...n || {}
	});
}
function i(t, n) {
	return e.Post("/bpm/process-instance/get-approval-detail", t, {
		headers: { "Content-Type": "application/json" },
		...n || {}
	});
}
function a(t, n) {
	return e.Get("/bpm/process-instance/get-bpmn-model-view", {
		params: { ...t },
		...n || {}
	});
}
function o(t, n) {
	return e.Post("/bpm/process-instance/manager-page", t, {
		headers: { "Content-Type": "application/json" },
		...n || {}
	});
}
function s(t, n) {
	return e.Post("/bpm/process-instance/my-page", t, {
		headers: { "Content-Type": "application/json" },
		...n || {}
	});
}
//#endregion
export { i as a, r as i, t as n, o, n as r, s, a as t };
