export default [
  {
    path: "/parceiros",
    name: "ParceirosPage",
    component: () => import("pages/parceiros-convenios/ParceirosConveniosPage.vue"),
    meta: {
      title: { value: "ui.navigation.partners", translate: true },
      description: { value: "page.parceiros_convenios.description", translate: true },
      requireAuth: true,
      requiredPermission: "parceiro",
      breadcrumbs: [
        { name: "ParceirosPage", title: "ui.navigation.partners", translate: true },
      ],
    },
  },
  {
    path: "/convenios-medicos",
    name: "ConveniosMedicosPage",
    component: () => import("pages/parceiros-convenios/ConveniosMedicosPage.vue"),
    meta: {
      title: { value: "ui.navigation.convenios_medicos", translate: true },
      description: { value: "page.convenios_medicos.description", translate: true },
      requireAuth: true,
      requiredPermission: "parceiro",
      breadcrumbs: [
        { name: "ConveniosMedicosPage", title: "ui.navigation.convenios_medicos", translate: true },
      ],
    },
  },
  {
    path: "/parceiros/cadastro/:id?",
    name: "ParceiroCadastroPage",
    component: () => import("pages/parceiros-convenios/ParceiroCadastroPage.vue"),
    meta: {
      title: { value: "parceiro.cadastro_title", translate: true },
      requireAuth: true,
      requiredPermission: "parceiro",
      breadcrumbs: [
        { name: "ParceirosPage", title: "ui.navigation.partners", translate: true },
        { name: "ParceiroCadastroPage", title: "parceiro.cadastro_title", translate: true },
      ],
    },
  },
  {
    path: "/convenios-medicos/cadastro/:id?",
    name: "ConvenioCadastroPage",
    component: () => import("pages/parceiros-convenios/ConvenioCadastroPage.vue"),
    meta: {
      title: { value: "parceiro.cadastro_title", translate: true },
      requireAuth: true,
      requiredPermission: "parceiro",
      breadcrumbs: [
        { name: "ConveniosMedicosPage", title: "ui.navigation.convenios_medicos", translate: true },
        { name: "ConvenioCadastroPage", title: "parceiro.cadastro_title", translate: true },
      ],
    },
  },
  {
    path: "/parceiros-convenios/home",
    name: "ParceiroHomePage",
    component: () => import("pages/parceiros-convenios/ParceiroHomePage.vue"),
    meta: {
      title: { value: "parceiro.home", translate: true },
      requireAuth: true,
      requiredPermission: "parceiro",
      breadcrumbs: [
        { name: "ParceiroHomePage", title: "parceiro.home", translate: true },
      ],
    },
  },
  {
    path: "/parceiros-convenios/validar-carteirinha",
    name: "ValidarCarteirinhaPage",
    component: () => import("pages/parceiros-convenios/ValidarCarteirinhaPage.vue"),
    meta: {
      title: { value: "parceiro.home", translate: true },
      requireAuth: true,
      requiredPermission: "parceiro",
      breadcrumbs: [
        { name: "ValidarCarteirinhaPage", title: "parceiro.home", translate: true },
      ],
    },
  },
];
