<%
const { utils, route, config, modelTypes } = it;
const { _, pascalCase, require } = utils;
const apiClassName = pascalCase(route.moduleName);
const routes = route.routes;
const dataContracts = _.map(modelTypes, "name");
%>

import type { RequestParams } from '@/types/request';
import { ContentType } from '@/types/request';
import { request } from '@/utils/requests';
import type { IResponseJwtDestroyType, IResponseString, LoginBody } from './data-contracts';
<% if (dataContracts.length) { %>
import type { <%~ dataContracts.join(", ") %> } from "./<%~ config.fileNames.dataContracts %>"
<% } %>

<% routes.forEach((route) => { %>
<%~ includeFile('./procedure-call.ejs', { ...it, route }) %>
<% }) %>
