export default [
  {
    path: "/parceiros-convenios",
    name: "ParceirosConveniosPage",
    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: "ParceirosConveniosPage", title: "ui.navigation.partners", translate: true },
      ],
    },
  },
  {
    path: "/parceiros-convenios/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: "ParceirosConveniosPage", title: "ui.navigation.partners", translate: true },
        { name: "ParceiroCadastroPage", title: "parceiro.cadastro_title", translate: true },
      ],
    },
  },
  {
    path: "/parceiros-convenios/cadastro/:id/servico/:serviceId?",
    name: "ParceiroServicoCadastroPage",
    component: () => import("pages/parceiros-convenios/ParceiroServicoCadastroPage.vue"),
    meta: {
      title: { value: "parceiro.tab_servicos", translate: true },
      requireAuth: true,
      requiredPermission: "parceiro",
      breadcrumbs: [
        { name: "ParceirosConveniosPage", title: "ui.navigation.partners", translate: true },
        { name: "ParceiroCadastroPage", title: "parceiro.cadastro_title", translate: true },
        { name: "ParceiroServicoCadastroPage", title: "parceiro.tab_servicos", 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 },
      ],
    },
  },
];
