//#region src/api/documents.ts
function e(e) {
	return {
		getById: (t) => e.get(`/api/v1/documents/${t.id}`).then((e) => e.data),
		getAll: (t) => e.get("/api/v1/documents", { params: t }).then((e) => e.data)
	};
}
//#endregion
export { e as createDocumentsApi };
