diff --git a/dist-back/produtos/_betha-meio-ambiente.js b/dist-back/produtos/_betha-meio-ambiente.js index 2d6c382..11ea486 100644 --- a/dist-back/produtos/_betha-meio-ambiente.js +++ b/dist-back/produtos/_betha-meio-ambiente.js @@ -26,7 +26,7 @@ const produto_betha_meio_ambiente = new import_tipagem.ProdutoQuipo({ chave_produto: "betha-meio-ambiente", titulo: "Betha Meio Ambiente", descricao: "Betha Meio Ambiente: Software de gest\xE3o de processos ambientais para \xF3rg\xE3os p\xFAblicos da Betha Sistemas.", - url_produto: ({ inquilino, base_url, vinculo }) => `${base_url}/${inquilino}${vinculo == "anonimo" ? "" : `/${vinculo}#/admin`}` + url_produto: ({ inquilino, base_url, vinculo }) => `${base_url}/${inquilino}${vinculo == import_tipagem.opcoesVinculosGovEnum.anonimo ? "" : `/${vinculo}#/admin`}` }); // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { diff --git a/dist-back/produtos/_e-licencie-gov.js b/dist-back/produtos/_e-licencie-gov.js index 6c28172..abbdbe5 100644 --- a/dist-back/produtos/_e-licencie-gov.js +++ b/dist-back/produtos/_e-licencie-gov.js @@ -26,7 +26,7 @@ const produto_e_licencie_gov = new import_tipagem.ProdutoQuipo({ chave_produto: "e-licencie-gov", titulo: "e-licencie.gov", descricao: "e-licencie.gov: Software de gest\xE3o de processos e dados ambientais.", - url_produto: ({ inquilino, base_url, vinculo }) => `${base_url}/${inquilino}${vinculo == "anonimo" ? "" : `/${vinculo}#/admin`}` + url_produto: ({ inquilino, base_url, vinculo }) => `${base_url}/${inquilino}${vinculo == import_tipagem.opcoesVinculosGovEnum.anonimo ? "" : `/${vinculo}#/admin`}` }); // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { diff --git a/dist-back/produtos/index.js b/dist-back/produtos/index.js index c05dd22..cbebf78 100644 --- a/dist-back/produtos/index.js +++ b/dist-back/produtos/index.js @@ -23,6 +23,8 @@ __export(produtos_exports, { listaProdutos: () => listaProdutos, opcoesVinculos: () => import_tipagem.opcoesVinculos, opcoesVinculosGov: () => import_tipagem.opcoesVinculosGov, + opcoesVinculosGovDescricao: () => import_tipagem.opcoesVinculosGovDescricao, + opcoesVinculosGovEnum: () => import_tipagem.opcoesVinculosGovEnum, produto_betha_meio_ambiente: () => import_betha_meio_ambiente.produto_betha_meio_ambiente, produto_e_licencie: () => import_e_licencie.produto_e_licencie, produto_e_licencie_gov: () => import_e_licencie_gov.produto_e_licencie_gov, @@ -49,6 +51,8 @@ const listaProdutos = { listaProdutos, opcoesVinculos, opcoesVinculosGov, + opcoesVinculosGovDescricao, + opcoesVinculosGovEnum, produto_betha_meio_ambiente, produto_e_licencie, produto_e_licencie_gov, diff --git a/dist-back/produtos/tipagem.js b/dist-back/produtos/tipagem.js index a63f656..d99f44b 100644 --- a/dist-back/produtos/tipagem.js +++ b/dist-back/produtos/tipagem.js @@ -23,6 +23,8 @@ __export(tipagem_exports, { chaves_produto: () => chaves_produto, opcoesVinculos: () => opcoesVinculos, opcoesVinculosGov: () => opcoesVinculosGov, + opcoesVinculosGovDescricao: () => opcoesVinculosGovDescricao, + opcoesVinculosGovEnum: () => opcoesVinculosGovEnum, opcoesVinculosSuporte: () => opcoesVinculosSuporte, provedoresGov: () => provedoresGov, tiposAcesso: () => tiposAcesso, @@ -36,21 +38,28 @@ var chaves_produto = /* @__PURE__ */ ((chaves_produto2) => { chaves_produto2["e-licencie"] = "e-licencie"; return chaves_produto2; })(chaves_produto || {}); -const opcoesVinculosGov = { +var opcoesVinculosGovEnum = /* @__PURE__ */ ((opcoesVinculosGovEnum2) => { + opcoesVinculosGovEnum2["governo"] = "governo"; + opcoesVinculosGovEnum2["sociedade"] = "sociedade"; + opcoesVinculosGovEnum2["anonimo"] = "anonimo"; + return opcoesVinculosGovEnum2; +})(opcoesVinculosGovEnum || {}); +const opcoesVinculosGovDescricao = { governo: "Governo", sociedade: "Sociedade", anonimo: "An\xF4nimo" }; +const opcoesVinculosGov = opcoesVinculosGovDescricao; const opcoesVinculosSuporte = { "suporte-1": "Suporte Prim\xE1rio" }; const opcoesVinculos = { ["suporte" /* suporte */]: opcoesVinculosSuporte, - ["betha-meio-ambiente" /* betha-meio-ambiente */]: opcoesVinculosGov, - ["e-licencie-gov" /* e-licencie-gov */]: opcoesVinculosGov, + ["betha-meio-ambiente" /* betha-meio-ambiente */]: opcoesVinculosGovDescricao, + ["e-licencie-gov" /* e-licencie-gov */]: opcoesVinculosGovDescricao, ["e-licencie" /* e-licencie */]: {} }; -const tiposAcesso = opcoesVinculosGov; +const tiposAcesso = opcoesVinculosGovDescricao; const provedoresGov = { /** Sistema de login da Beta */ "betha-sistemas": "Betha Sistemas", @@ -85,6 +94,8 @@ var versao_usuarios = /* @__PURE__ */ ((versao_usuarios2) => { chaves_produto, opcoesVinculos, opcoesVinculosGov, + opcoesVinculosGovDescricao, + opcoesVinculosGovEnum, opcoesVinculosSuporte, provedoresGov, tiposAcesso, diff --git a/dist-front/index.mjs b/dist-front/index.mjs index da03082..2a860e3 100644 --- a/dist-front/index.mjs +++ b/dist-front/index.mjs @@ -1 +1 @@ -import{respostaComuns as d}from"p-respostas";import O from"cross-fetch";var l=async({url_api_autenticacao:o,post:t})=>{let e=`${o}/api/codigo_prefeitura_site`;try{return await O(e,{method:"POST",body:JSON.stringify(t),headers:{"Content-Type":"application/json"}}).then(r=>r.json()).catch(r=>d.erro("Erro ao enviar registros",[r.message])).then(r=>r)}catch(s){return d.erro(`erro ao buscar c\xF3digo do site: ${s}`)}};import q from"cross-fetch";import{respostaComuns as g}from"p-respostas";var h=async({token_produto:o,url_api_autenticacao:t,inquilino:e})=>{let s=`${t}/api/usuarios__listar`;if(!o)return g.erro("token_produto n\xE3o informado");let r={token:o,"Content-Type":"application/json"};return q(s,{method:"POST",body:JSON.stringify({inquilino:e}),headers:r}).then(i=>i.json()).catch(i=>g.erro(`Erro ao buscar usu\xE1rios quipo governo ${i.message}`)).then(i=>i)};import E from"cross-fetch";import{respostaComuns as f}from"p-respostas";var y=async({token_produto:o,url_api_autenticacao:t,inquilino_codigo:e,vinculo:s,usuario_codigo:r,email:i})=>{let a=`${t}/api/vinculos__criar`;return o?await E(a,{headers:{token:o,"Content-Type":"application/json"},body:JSON.stringify({vinculos:{inquilino_codigo:e,usuario_codigo:r,vinculo:s},email:i}),method:"POST"}).then(async _=>await _.json()).catch(_=>f.erro(`Erro ao criar vinculo de usuario ${_.message}`)):f.erro("token_produto n\xE3o informado")};import G from"cross-fetch";var v=async({url_api_autenticacao:o,post:t})=>{let e=`${o}/api/validar_token`;try{return await G(e,{method:"POST",body:JSON.stringify(t),headers:{"Content-Type":"application/json"}}).then(r=>r.json()).then(r=>r).then(r=>r.eCerto?"valido":"erro").catch(()=>"erro")}catch{return"erro"}};var no={validarToken:v,codigoContaSite:l,usuarios_quipo:h,usuarios_quipo_vincular:y};import j from"cross-fetch";import{respostaComuns as x}from"p-respostas";var N="listar_prefeituras",_o=async({url_api_autenticacao:o})=>{let t=`${o}/api/${N}`;return j(t).then(async e=>{let s=await e.text();try{return JSON.parse(s)}catch(r){return x.erro(`Erro ao listar cidades: ${r.message}`,[s,r])}}).catch(e=>x.erro(`Erro ao listar cidades: ${e.message}`,[e]))};import J from"cross-fetch";import{respostaComuns as b}from"p-respostas";var B="usuarios__listar",ho=async({token:o,url_api_autenticacao:t},e)=>{let s=`${t}/api/${B}`;return J(s,{headers:{token:o,"Content-Type":"application/json"},body:JSON.stringify(e),method:"post"}).then(async r=>{let i=await r.text();try{return JSON.parse(i)}catch(a){return b.erro(`Erro ao listar usu\xE1rios: ${a.message}`,[i,a])}}).catch(r=>b.erro(`Erro ao listar usu\xE1rios: ${r.message}`,[r]))};import Q from"cross-fetch";import{cacheM as S}from"p-comuns";import{respostaComuns as $}from"p-respostas";import{NIL as A,v3 as L,v4 as vo}from"uuid";var k=o=>L(typeof o=="string"?o:typeof o=="number"?String(o):JSON.stringify(o),A);var U="vinculos__listar",Po=async({token:o,url_api_autenticacao:t,desativarCache:e})=>{let s=k({token:o,url_api_autenticacao:t});if(!e){let i=S(s);if(i)return i}let r=(async()=>{let i=`${t}/api/${U}`;return Q(i,{headers:{token:o,"Content-Type":"application/json"},body:"{}",method:"post"}).then(async a=>{let u=await a.text();try{return JSON.parse(u)}catch(c){return $.erro(`Erro ao listar cidades: ${c.message}`,[u,c])}}).catch(a=>$.erro(`Erro ao listar cidades: ${a.message}`,[a]))})();return S(s,r.then(i=>i),10),r};var P=(t=>(t.suporte="suporte",t["betha-meio-ambiente"]="betha-meio-ambiente",t["e-licencie-gov"]="e-licencie-gov",t["e-licencie"]="e-licencie",t))(P||{}),m={governo:"Governo",sociedade:"Sociedade",anonimo:"An\xF4nimo"},F={"suporte-1":"Suporte Prim\xE1rio"},M={suporte:F,"betha-meio-ambiente":m,"e-licencie-gov":m,"e-licencie":{}};var z={"betha-sistemas":"Betha Sistemas","e-licencie":"e-licencie"},n=class{constructor(t){this.chave_produto=t.chave_produto,this.titulo=t.titulo,this.descricao=t.descricao,this.url_produto=t.url_produto}extruturaToken(t){return{...t,chave_produto:this.chave_produto}}},p=class extends n{extruturaToken(t){return{...t,chave_produto:this.chave_produto}}},C=(e=>(e.versao_usuarios_autenticacao="versao_usuarios_autenticacao",e.versao_usuarios_quipo="versao_usuarios_quipo",e))(C||{});var R=new p({chave_produto:"betha-meio-ambiente",titulo:"Betha Meio Ambiente",descricao:"Betha Meio Ambiente: Software de gest\xE3o de processos ambientais para \xF3rg\xE3os p\xFAblicos da Betha Sistemas.",url_produto:({inquilino:o,base_url:t,vinculo:e})=>`${t}/${o}${e=="anonimo"?"":`/${e}#/admin`}`});var T=new n({chave_produto:"e-licencie",titulo:"e-licencie",descricao:"e-licencie: Software de gest\xE3o de processos e dados ambientais.",url_produto:({base_url:o})=>o});var V=new p({chave_produto:"e-licencie-gov",titulo:"e-licencie.gov",descricao:"e-licencie.gov: Software de gest\xE3o de processos e dados ambientais.",url_produto:({inquilino:o,base_url:t,vinculo:e})=>`${t}/${o}${e=="anonimo"?"":`/${e}#/admin`}`});var w=new n({chave_produto:"suporte",titulo:"Suporte",descricao:"Gest\xE3o de contas e usu\xE1rios dos produtos da e-licencie",url_produto:({base_url:o})=>o});var Qo={"betha-meio-ambiente":R,"e-licencie":T,"e-licencie-gov":V,suporte:w};export{n as Produto,P as chaves_produto,Qo as listaProdutos,_o as listarPrefeituras,ho as listarUsuarios,Po as listarVinculos,M as opcoesVinculos,m as opcoesVinculosGov,no as pAutenticacao,R as produto_betha_meio_ambiente,T as produto_e_licencie,V as produto_e_licencie_gov,w as produto_suporte,z as provedoresGov,N as tx_listar_prefeituras,B as tx_usuarios__listar,U as tx_vinculos__listar,C as versao_usuarios}; +import{respostaComuns as l}from"p-respostas";import O from"cross-fetch";var g=async({url_api_autenticacao:o,post:t})=>{let e=`${o}/api/codigo_prefeitura_site`;try{return await O(e,{method:"POST",body:JSON.stringify(t),headers:{"Content-Type":"application/json"}}).then(r=>r.json()).catch(r=>l.erro("Erro ao enviar registros",[r.message])).then(r=>r)}catch(i){return l.erro(`erro ao buscar c\xF3digo do site: ${i}`)}};import q from"cross-fetch";import{respostaComuns as h}from"p-respostas";var f=async({token_produto:o,url_api_autenticacao:t,inquilino:e})=>{let i=`${t}/api/usuarios__listar`;if(!o)return h.erro("token_produto n\xE3o informado");let r={token:o,"Content-Type":"application/json"};return q(i,{method:"POST",body:JSON.stringify({inquilino:e}),headers:r}).then(s=>s.json()).catch(s=>h.erro(`Erro ao buscar usu\xE1rios quipo governo ${s.message}`)).then(s=>s)};import G from"cross-fetch";import{respostaComuns as v}from"p-respostas";var y=async({token_produto:o,url_api_autenticacao:t,inquilino_codigo:e,vinculo:i,usuario_codigo:r,email:s})=>{let n=`${t}/api/vinculos__criar`;return o?await G(n,{headers:{token:o,"Content-Type":"application/json"},body:JSON.stringify({vinculos:{inquilino_codigo:e,usuario_codigo:r,vinculo:i},email:s}),method:"POST"}).then(async d=>await d.json()).catch(d=>v.erro(`Erro ao criar vinculo de usuario ${d.message}`)):v.erro("token_produto n\xE3o informado")};import j from"cross-fetch";var x=async({url_api_autenticacao:o,post:t})=>{let e=`${o}/api/validar_token`;try{return await j(e,{method:"POST",body:JSON.stringify(t),headers:{"Content-Type":"application/json"}}).then(r=>r.json()).then(r=>r).then(r=>r.eCerto?"valido":"erro").catch(()=>"erro")}catch{return"erro"}};var co={validarToken:x,codigoContaSite:g,usuarios_quipo:f,usuarios_quipo_vincular:y};import N from"cross-fetch";import{respostaComuns as b}from"p-respostas";var J="listar_prefeituras",lo=async({url_api_autenticacao:o})=>{let t=`${o}/api/${J}`;return N(t).then(async e=>{let i=await e.text();try{return JSON.parse(i)}catch(r){return b.erro(`Erro ao listar cidades: ${r.message}`,[i,r])}}).catch(e=>b.erro(`Erro ao listar cidades: ${e.message}`,[e]))};import B from"cross-fetch";import{respostaComuns as k}from"p-respostas";var A="usuarios__listar",vo=async({token:o,url_api_autenticacao:t},e)=>{let i=`${t}/api/${A}`;return B(i,{headers:{token:o,"Content-Type":"application/json"},body:JSON.stringify(e),method:"post"}).then(async r=>{let s=await r.text();try{return JSON.parse(s)}catch(n){return k.erro(`Erro ao listar usu\xE1rios: ${n.message}`,[s,n])}}).catch(r=>k.erro(`Erro ao listar usu\xE1rios: ${r.message}`,[r]))};import U from"cross-fetch";import{cacheM as $}from"p-comuns";import{respostaComuns as P}from"p-respostas";import{NIL as L,v3 as Q,v4 as bo}from"uuid";var S=o=>Q(typeof o=="string"?o:typeof o=="number"?String(o):JSON.stringify(o),L);var F="vinculos__listar",Ro=async({token:o,url_api_autenticacao:t,desativarCache:e})=>{let i=S({token:o,url_api_autenticacao:t});if(!e){let s=$(i);if(s)return s}let r=(async()=>{let s=`${t}/api/${F}`;return U(s,{headers:{token:o,"Content-Type":"application/json"},body:"{}",method:"post"}).then(async n=>{let m=await n.text();try{return JSON.parse(m)}catch(c){return P.erro(`Erro ao listar cidades: ${c.message}`,[m,c])}}).catch(n=>P.erro(`Erro ao listar cidades: ${n.message}`,[n]))})();return $(i,r.then(s=>s),10),r};var C=(t=>(t.suporte="suporte",t["betha-meio-ambiente"]="betha-meio-ambiente",t["e-licencie-gov"]="e-licencie-gov",t["e-licencie"]="e-licencie",t))(C||{}),_=(i=>(i.governo="governo",i.sociedade="sociedade",i.anonimo="anonimo",i))(_||{}),u={governo:"Governo",sociedade:"Sociedade",anonimo:"An\xF4nimo"},M=u,D={"suporte-1":"Suporte Prim\xE1rio"},z={suporte:D,"betha-meio-ambiente":u,"e-licencie-gov":u,"e-licencie":{}};var I={"betha-sistemas":"Betha Sistemas","e-licencie":"e-licencie"},a=class{constructor(t){this.chave_produto=t.chave_produto,this.titulo=t.titulo,this.descricao=t.descricao,this.url_produto=t.url_produto}extruturaToken(t){return{...t,chave_produto:this.chave_produto}}},p=class extends a{extruturaToken(t){return{...t,chave_produto:this.chave_produto}}},R=(e=>(e.versao_usuarios_autenticacao="versao_usuarios_autenticacao",e.versao_usuarios_quipo="versao_usuarios_quipo",e))(R||{});var T=new p({chave_produto:"betha-meio-ambiente",titulo:"Betha Meio Ambiente",descricao:"Betha Meio Ambiente: Software de gest\xE3o de processos ambientais para \xF3rg\xE3os p\xFAblicos da Betha Sistemas.",url_produto:({inquilino:o,base_url:t,vinculo:e})=>`${t}/${o}${e=="anonimo"?"":`/${e}#/admin`}`});var V=new a({chave_produto:"e-licencie",titulo:"e-licencie",descricao:"e-licencie: Software de gest\xE3o de processos e dados ambientais.",url_produto:({base_url:o})=>o});var w=new p({chave_produto:"e-licencie-gov",titulo:"e-licencie.gov",descricao:"e-licencie.gov: Software de gest\xE3o de processos e dados ambientais.",url_produto:({inquilino:o,base_url:t,vinculo:e})=>`${t}/${o}${e=="anonimo"?"":`/${e}#/admin`}`});var E=new a({chave_produto:"suporte",titulo:"Suporte",descricao:"Gest\xE3o de contas e usu\xE1rios dos produtos da e-licencie",url_produto:({base_url:o})=>o});var Fo={"betha-meio-ambiente":T,"e-licencie":V,"e-licencie-gov":w,suporte:E};export{a as Produto,C as chaves_produto,Fo as listaProdutos,lo as listarPrefeituras,vo as listarUsuarios,Ro as listarVinculos,z as opcoesVinculos,M as opcoesVinculosGov,u as opcoesVinculosGovDescricao,_ as opcoesVinculosGovEnum,co as pAutenticacao,T as produto_betha_meio_ambiente,V as produto_e_licencie,w as produto_e_licencie_gov,E as produto_suporte,I as provedoresGov,J as tx_listar_prefeituras,A as tx_usuarios__listar,F as tx_vinculos__listar,R as versao_usuarios}; diff --git a/package.json b/package.json index 1b1108a..6423745 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "p-autenticacao-drive", - "version": "1.37.0", + "version": "1.38.0", "description": "", "main": "./src/index.ts", "exports": { diff --git a/src/produtos/_betha-meio-ambiente.ts b/src/produtos/_betha-meio-ambiente.ts index 16508b5..8790a5f 100644 --- a/src/produtos/_betha-meio-ambiente.ts +++ b/src/produtos/_betha-meio-ambiente.ts @@ -1,4 +1,4 @@ -import { type opcoesVinculosGov, ProdutoQuipo } from "./tipagem" +import { opcoesVinculosGovEnum, ProdutoQuipo } from "./tipagem" export const produto_betha_meio_ambiente = new ProdutoQuipo({ chave_produto: "betha-meio-ambiente", @@ -8,8 +8,6 @@ export const produto_betha_meio_ambiente = new ProdutoQuipo({ url_produto: ({ inquilino, base_url, vinculo }) => `${base_url}/${inquilino}${ - vinculo == ("anonimo" satisfies keyof typeof opcoesVinculosGov) - ? "" - : `/${vinculo}#/admin` + vinculo == (opcoesVinculosGovEnum.anonimo) ? "" : `/${vinculo}#/admin` }`, }) diff --git a/src/produtos/_e-licencie-gov.ts b/src/produtos/_e-licencie-gov.ts index 12cfe1f..91354c9 100644 --- a/src/produtos/_e-licencie-gov.ts +++ b/src/produtos/_e-licencie-gov.ts @@ -1,4 +1,4 @@ -import { type opcoesVinculosGov, ProdutoQuipo } from "./tipagem" +import { opcoesVinculosGovEnum, ProdutoQuipo } from "./tipagem" export const produto_e_licencie_gov = new ProdutoQuipo({ chave_produto: "e-licencie-gov", titulo: "e-licencie.gov", @@ -6,8 +6,6 @@ export const produto_e_licencie_gov = new ProdutoQuipo({ "e-licencie.gov: Software de gestão de processos e dados ambientais.", url_produto: ({ inquilino, base_url, vinculo }) => `${base_url}/${inquilino}${ - vinculo == ("anonimo" satisfies keyof typeof opcoesVinculosGov) - ? "" - : `/${vinculo}#/admin` + vinculo == (opcoesVinculosGovEnum.anonimo) ? "" : `/${vinculo}#/admin` }`, }) diff --git a/src/produtos/index.ts b/src/produtos/index.ts index 66e581c..916f0fd 100644 --- a/src/produtos/index.ts +++ b/src/produtos/index.ts @@ -7,6 +7,8 @@ import { chaves_produto, opcoesVinculos, opcoesVinculosGov, + opcoesVinculosGovDescricao, + opcoesVinculosGovEnum, Produto, provedoresGov, versao_usuarios, @@ -25,6 +27,8 @@ export { Produto, chaves_produto, opcoesVinculosGov, + opcoesVinculosGovDescricao, + opcoesVinculosGovEnum, opcoesVinculos, provedoresGov, produto_betha_meio_ambiente, diff --git a/src/produtos/tipagem.ts b/src/produtos/tipagem.ts index 23e447f..a927e98 100644 --- a/src/produtos/tipagem.ts +++ b/src/produtos/tipagem.ts @@ -6,11 +6,25 @@ export enum chaves_produto { "e-licencie" = "e-licencie", } -export const opcoesVinculosGov = { +export enum opcoesVinculosGovEnum { + governo = "governo", + sociedade = "sociedade", + anonimo = "anonimo", +} + +export const opcoesVinculosGovDescricao: { + [k in opcoesVinculosGovEnum]: string +} = { governo: "Governo", sociedade: "Sociedade", anonimo: "Anônimo", -} as const +} + +/** + * @deprecated Esta função será removida em futuras versões. + * opcoesVinculosGovEnum ou opcoesVinculosGovDescricao + */ +export const opcoesVinculosGov = opcoesVinculosGovDescricao export const opcoesVinculosSuporte = { "suporte-1": "Suporte Primário", @@ -18,12 +32,16 @@ export const opcoesVinculosSuporte = { export const opcoesVinculos = { [chaves_produto.suporte]: opcoesVinculosSuporte, - [chaves_produto["betha-meio-ambiente"]]: opcoesVinculosGov, - [chaves_produto["e-licencie-gov"]]: opcoesVinculosGov, + [chaves_produto["betha-meio-ambiente"]]: opcoesVinculosGovDescricao, + [chaves_produto["e-licencie-gov"]]: opcoesVinculosGovDescricao, [chaves_produto["e-licencie"]]: {}, } as const -export const tiposAcesso = opcoesVinculosGov +/** + * @deprecated Esta função será removida em futuras versões. + * opcoesVinculosGovEnum ou opcoesVinculosGovDescricao + */ +export const tiposAcesso = opcoesVinculosGovDescricao export const provedoresGov = { /** Sistema de login da Beta */