export async function getProjectFunc()

in operations/projex/project.ts [19:30]


export async function getProjectFunc(
  organizationId: string,
  id: string
): Promise<z.infer<typeof ProjectInfoSchema>> {
  const url = `/oapi/v1/projex/organizations/${organizationId}/projects/${id}`;

  const response = await yunxiaoRequest(url, {
    method: "GET",
  });

  return ProjectInfoSchema.parse(response);
}