@navservice/usuario 1.50.0 → 1.52.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/es/biblioteca/src/componentes/auth/RefreshToken/RefreshToken.d.ts +7 -0
- package/build/es/biblioteca/src/componentes/auth/RefreshToken/index.d.ts +1 -0
- package/build/es/biblioteca/src/contexto/contexto_usuario.d.ts +1 -0
- package/build/es/biblioteca/src/index.d.ts +1 -0
- package/build/es/index.js +1383 -716
- package/package.json +1 -1
- package/build/lib/biblioteca/src/componentes/auth/AuthAtivarDesativarAuthenticator/AuthAtivarDesativarAuthenticator.d.ts +0 -2
- package/build/lib/biblioteca/src/componentes/auth/AuthAtivarDesativarAuthenticator/index.d.ts +0 -1
- package/build/lib/biblioteca/src/componentes/auth/AuthGoogle/AuthGoogle.d.ts +0 -5
- package/build/lib/biblioteca/src/componentes/auth/AuthGoogle/index.d.ts +0 -1
- package/build/lib/biblioteca/src/componentes/auth/AuthLogin/AuthLogin.d.ts +0 -1
- package/build/lib/biblioteca/src/componentes/auth/AuthLogin/index.d.ts +0 -1
- package/build/lib/biblioteca/src/componentes/auth/AuthRegister/AuthRegister.d.ts +0 -1
- package/build/lib/biblioteca/src/componentes/auth/AuthRegister/index.d.ts +0 -2
- package/build/lib/biblioteca/src/componentes/auth/EnviarCodigoOtpParaEmail/EnviarCodigoOtpParaEmail.d.ts +0 -12
- package/build/lib/biblioteca/src/componentes/auth/EnviarCodigoOtpParaEmail/index.d.ts +0 -1
- package/build/lib/biblioteca/src/componentes/auth/EsqueciMinhaSenha/EsqueciMinhaSenha.d.ts +0 -5
- package/build/lib/biblioteca/src/componentes/auth/EsqueciMinhaSenha/index.d.ts +0 -1
- package/build/lib/biblioteca/src/componentes/auth/RecuperarSenhaComCodigoOtp/RecuperarSenhaComCodigoOtp.d.ts +0 -1
- package/build/lib/biblioteca/src/componentes/auth/RecuperarSenhaComCodigoOtp/index.d.ts +0 -1
- package/build/lib/biblioteca/src/componentes/auth/VerificarAuthenticator/VerificarAuthenticator.d.ts +0 -2
- package/build/lib/biblioteca/src/componentes/auth/VerificarAuthenticator/index.d.ts +0 -1
- package/build/lib/biblioteca/src/componentes/drawer/DraweFullScreen/DraweFullScreen.d.ts +0 -12
- package/build/lib/biblioteca/src/componentes/drawer/DraweFullScreen/index.d.ts +0 -1
- package/build/lib/biblioteca/src/componentes/drawer/DrawerPadrao/DrawerPadrao.d.ts +0 -12
- package/build/lib/biblioteca/src/componentes/drawer/DrawerPadrao/index.d.ts +0 -1
- package/build/lib/biblioteca/src/componentes/geral/FormularioZod/index.d.ts +0 -45
- package/build/lib/biblioteca/src/componentes/geral/PaginaEmDesenvolvimento/index.d.ts +0 -5
- package/build/lib/biblioteca/src/componentes/geral/TopTabs/index.d.ts +0 -10
- package/build/lib/biblioteca/src/componentes/layout/Layout.d.ts +0 -1
- package/build/lib/biblioteca/src/componentes/layout/NavBar/DarkMode.d.ts +0 -2
- package/build/lib/biblioteca/src/componentes/layout/NavBar/Logo.d.ts +0 -2
- package/build/lib/biblioteca/src/componentes/layout/NavBar/Profile.d.ts +0 -5
- package/build/lib/biblioteca/src/componentes/layout/NavBar/index.d.ts +0 -3
- package/build/lib/biblioteca/src/componentes/layout/index.d.ts +0 -1
- package/build/lib/biblioteca/src/componentes/layoutPublic/Header.d.ts +0 -7
- package/build/lib/biblioteca/src/componentes/layoutPublic/index.d.ts +0 -1
- package/build/lib/biblioteca/src/componentes/layoutPublic/layoutPublic.d.ts +0 -7
- package/build/lib/biblioteca/src/config_env/index.d.ts +0 -16
- package/build/lib/biblioteca/src/contexto/contexto_codigo_otp.d.ts +0 -19
- package/build/lib/biblioteca/src/contexto/contexto_layout.d.ts +0 -74
- package/build/lib/biblioteca/src/contexto/contexto_usuario.d.ts +0 -32
- package/build/lib/biblioteca/src/index.d.ts +0 -15
- package/build/lib/index.js +0 -51339
- package/build/lib/shared/configuracoes/_sistema.d.ts +0 -49
- package/build/lib/shared/configuracoes/_theme.d.ts +0 -91
- package/build/lib/shared/configuracoes/index.d.ts +0 -142
- package/build/lib/shared/types/controller/type_codigo_verificacao_otp.d.ts +0 -88
- package/build/lib/shared/types/controller/type_controller_authenticator.d.ts +0 -88
- package/build/lib/shared/types/controller/type_controller_usuario.d.ts +0 -263
- package/build/lib/shared/types/geral/type_response.d.ts +0 -54
- package/build/lib/shared/types/index.d.ts +0 -50
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
declare const _sistema: {
|
|
2
|
-
empresa: {
|
|
3
|
-
nome: string;
|
|
4
|
-
email_suporte: string;
|
|
5
|
-
email_no_replay: string;
|
|
6
|
-
razaoSocial: string;
|
|
7
|
-
cnpj: string;
|
|
8
|
-
inscricaoEstadual: string;
|
|
9
|
-
inscricaoMunicipal: string;
|
|
10
|
-
endereco: {
|
|
11
|
-
logradouro: string;
|
|
12
|
-
numero: string;
|
|
13
|
-
complemento: string;
|
|
14
|
-
bairro: string;
|
|
15
|
-
cidade: string;
|
|
16
|
-
estado: string;
|
|
17
|
-
cep: string;
|
|
18
|
-
pais: string;
|
|
19
|
-
};
|
|
20
|
-
contato: {
|
|
21
|
-
telefone: string;
|
|
22
|
-
celular: string;
|
|
23
|
-
email: string;
|
|
24
|
-
site: string;
|
|
25
|
-
};
|
|
26
|
-
dadosBancarios: {
|
|
27
|
-
banco: string;
|
|
28
|
-
agencia: string;
|
|
29
|
-
conta: string;
|
|
30
|
-
tipoConta: string;
|
|
31
|
-
pix: string;
|
|
32
|
-
};
|
|
33
|
-
responsavel: {
|
|
34
|
-
nome: string;
|
|
35
|
-
cpf: string;
|
|
36
|
-
cargo: string;
|
|
37
|
-
email: string;
|
|
38
|
-
};
|
|
39
|
-
configuracoes: {
|
|
40
|
-
ativo: boolean;
|
|
41
|
-
dataFundacao: string;
|
|
42
|
-
regimeTributario: string;
|
|
43
|
-
ramoAtividade: string;
|
|
44
|
-
cnae: string;
|
|
45
|
-
porteEmpresa: string;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
export default _sistema;
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
declare const _theme: {
|
|
2
|
-
extend: {
|
|
3
|
-
colors: {
|
|
4
|
-
primary: {
|
|
5
|
-
50: string;
|
|
6
|
-
100: string;
|
|
7
|
-
200: string;
|
|
8
|
-
300: string;
|
|
9
|
-
400: string;
|
|
10
|
-
500: string;
|
|
11
|
-
600: string;
|
|
12
|
-
700: string;
|
|
13
|
-
800: string;
|
|
14
|
-
900: string;
|
|
15
|
-
950: string;
|
|
16
|
-
};
|
|
17
|
-
standard: {
|
|
18
|
-
50: string;
|
|
19
|
-
100: string;
|
|
20
|
-
200: string;
|
|
21
|
-
300: string;
|
|
22
|
-
400: string;
|
|
23
|
-
500: string;
|
|
24
|
-
600: string;
|
|
25
|
-
700: string;
|
|
26
|
-
800: string;
|
|
27
|
-
900: string;
|
|
28
|
-
950: string;
|
|
29
|
-
};
|
|
30
|
-
basic: {
|
|
31
|
-
50: string;
|
|
32
|
-
100: string;
|
|
33
|
-
200: string;
|
|
34
|
-
300: string;
|
|
35
|
-
400: string;
|
|
36
|
-
500: string;
|
|
37
|
-
600: string;
|
|
38
|
-
700: string;
|
|
39
|
-
800: string;
|
|
40
|
-
900: string;
|
|
41
|
-
950: string;
|
|
42
|
-
};
|
|
43
|
-
default: {
|
|
44
|
-
50: string;
|
|
45
|
-
100: string;
|
|
46
|
-
200: string;
|
|
47
|
-
300: string;
|
|
48
|
-
400: string;
|
|
49
|
-
500: string;
|
|
50
|
-
600: string;
|
|
51
|
-
700: string;
|
|
52
|
-
800: string;
|
|
53
|
-
900: string;
|
|
54
|
-
950: string;
|
|
55
|
-
};
|
|
56
|
-
error: {
|
|
57
|
-
50: string;
|
|
58
|
-
100: string;
|
|
59
|
-
200: string;
|
|
60
|
-
300: string;
|
|
61
|
-
400: string;
|
|
62
|
-
500: string;
|
|
63
|
-
600: string;
|
|
64
|
-
700: string;
|
|
65
|
-
800: string;
|
|
66
|
-
900: string;
|
|
67
|
-
950: string;
|
|
68
|
-
};
|
|
69
|
-
success: {
|
|
70
|
-
50: string;
|
|
71
|
-
100: string;
|
|
72
|
-
200: string;
|
|
73
|
-
300: string;
|
|
74
|
-
400: string;
|
|
75
|
-
500: string;
|
|
76
|
-
600: string;
|
|
77
|
-
700: string;
|
|
78
|
-
800: string;
|
|
79
|
-
900: string;
|
|
80
|
-
950: string;
|
|
81
|
-
};
|
|
82
|
-
theme: {
|
|
83
|
-
bg: string;
|
|
84
|
-
text: string;
|
|
85
|
-
card: string;
|
|
86
|
-
border: string;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
export default _theme;
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
declare const _shared_configuracoes: {
|
|
2
|
-
new (): {};
|
|
3
|
-
sistema: {
|
|
4
|
-
empresa: {
|
|
5
|
-
nome: string;
|
|
6
|
-
email_suporte: string;
|
|
7
|
-
email_no_replay: string;
|
|
8
|
-
razaoSocial: string;
|
|
9
|
-
cnpj: string;
|
|
10
|
-
inscricaoEstadual: string;
|
|
11
|
-
inscricaoMunicipal: string;
|
|
12
|
-
endereco: {
|
|
13
|
-
logradouro: string;
|
|
14
|
-
numero: string;
|
|
15
|
-
complemento: string;
|
|
16
|
-
bairro: string;
|
|
17
|
-
cidade: string;
|
|
18
|
-
estado: string;
|
|
19
|
-
cep: string;
|
|
20
|
-
pais: string;
|
|
21
|
-
};
|
|
22
|
-
contato: {
|
|
23
|
-
telefone: string;
|
|
24
|
-
celular: string;
|
|
25
|
-
email: string;
|
|
26
|
-
site: string;
|
|
27
|
-
};
|
|
28
|
-
dadosBancarios: {
|
|
29
|
-
banco: string;
|
|
30
|
-
agencia: string;
|
|
31
|
-
conta: string;
|
|
32
|
-
tipoConta: string;
|
|
33
|
-
pix: string;
|
|
34
|
-
};
|
|
35
|
-
responsavel: {
|
|
36
|
-
nome: string;
|
|
37
|
-
cpf: string;
|
|
38
|
-
cargo: string;
|
|
39
|
-
email: string;
|
|
40
|
-
};
|
|
41
|
-
configuracoes: {
|
|
42
|
-
ativo: boolean;
|
|
43
|
-
dataFundacao: string;
|
|
44
|
-
regimeTributario: string;
|
|
45
|
-
ramoAtividade: string;
|
|
46
|
-
cnae: string;
|
|
47
|
-
porteEmpresa: string;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
theme: {
|
|
52
|
-
extend: {
|
|
53
|
-
colors: {
|
|
54
|
-
primary: {
|
|
55
|
-
50: string;
|
|
56
|
-
100: string;
|
|
57
|
-
200: string;
|
|
58
|
-
300: string;
|
|
59
|
-
400: string;
|
|
60
|
-
500: string;
|
|
61
|
-
600: string;
|
|
62
|
-
700: string;
|
|
63
|
-
800: string;
|
|
64
|
-
900: string;
|
|
65
|
-
950: string;
|
|
66
|
-
};
|
|
67
|
-
standard: {
|
|
68
|
-
50: string;
|
|
69
|
-
100: string;
|
|
70
|
-
200: string;
|
|
71
|
-
300: string;
|
|
72
|
-
400: string;
|
|
73
|
-
500: string;
|
|
74
|
-
600: string;
|
|
75
|
-
700: string;
|
|
76
|
-
800: string;
|
|
77
|
-
900: string;
|
|
78
|
-
950: string;
|
|
79
|
-
};
|
|
80
|
-
basic: {
|
|
81
|
-
50: string;
|
|
82
|
-
100: string;
|
|
83
|
-
200: string;
|
|
84
|
-
300: string;
|
|
85
|
-
400: string;
|
|
86
|
-
500: string;
|
|
87
|
-
600: string;
|
|
88
|
-
700: string;
|
|
89
|
-
800: string;
|
|
90
|
-
900: string;
|
|
91
|
-
950: string;
|
|
92
|
-
};
|
|
93
|
-
default: {
|
|
94
|
-
50: string;
|
|
95
|
-
100: string;
|
|
96
|
-
200: string;
|
|
97
|
-
300: string;
|
|
98
|
-
400: string;
|
|
99
|
-
500: string;
|
|
100
|
-
600: string;
|
|
101
|
-
700: string;
|
|
102
|
-
800: string;
|
|
103
|
-
900: string;
|
|
104
|
-
950: string;
|
|
105
|
-
};
|
|
106
|
-
error: {
|
|
107
|
-
50: string;
|
|
108
|
-
100: string;
|
|
109
|
-
200: string;
|
|
110
|
-
300: string;
|
|
111
|
-
400: string;
|
|
112
|
-
500: string;
|
|
113
|
-
600: string;
|
|
114
|
-
700: string;
|
|
115
|
-
800: string;
|
|
116
|
-
900: string;
|
|
117
|
-
950: string;
|
|
118
|
-
};
|
|
119
|
-
success: {
|
|
120
|
-
50: string;
|
|
121
|
-
100: string;
|
|
122
|
-
200: string;
|
|
123
|
-
300: string;
|
|
124
|
-
400: string;
|
|
125
|
-
500: string;
|
|
126
|
-
600: string;
|
|
127
|
-
700: string;
|
|
128
|
-
800: string;
|
|
129
|
-
900: string;
|
|
130
|
-
950: string;
|
|
131
|
-
};
|
|
132
|
-
theme: {
|
|
133
|
-
bg: string;
|
|
134
|
-
text: string;
|
|
135
|
-
card: string;
|
|
136
|
-
border: string;
|
|
137
|
-
};
|
|
138
|
-
};
|
|
139
|
-
};
|
|
140
|
-
};
|
|
141
|
-
};
|
|
142
|
-
export default _shared_configuracoes;
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import z4 from "zod/v4";
|
|
2
|
-
import { AxiosResponse } from "axios";
|
|
3
|
-
import t from "..";
|
|
4
|
-
declare namespace TypeControllerCodigoOtp {
|
|
5
|
-
const CodigoOtpBaseSchema: z4.ZodObject<{
|
|
6
|
-
_id: z4.ZodString;
|
|
7
|
-
data_criacao: z4.ZodNumber;
|
|
8
|
-
usuario_id: z4.ZodString;
|
|
9
|
-
codigo: z4.ZodString;
|
|
10
|
-
}, z4.core.$strip>;
|
|
11
|
-
namespace EnviarCodigoOtp {
|
|
12
|
-
const route: "/usuario/auth/enviar_codigo_verificacao_otp";
|
|
13
|
-
const InputSchema: z4.ZodObject<{
|
|
14
|
-
data: z4.ZodObject<{
|
|
15
|
-
codigo_verificacao_otp: z4.ZodObject<{
|
|
16
|
-
tipo_codigo: z4.ZodEnum<{
|
|
17
|
-
email: "email";
|
|
18
|
-
sms: "sms";
|
|
19
|
-
}>;
|
|
20
|
-
email: z4.ZodNullable<z4.ZodOptional<z4.ZodEmail>>;
|
|
21
|
-
celular: z4.ZodNullable<z4.ZodOptional<z4.ZodString>>;
|
|
22
|
-
}, z4.core.$strip>;
|
|
23
|
-
}, z4.core.$strip>;
|
|
24
|
-
}, z4.core.$strip>;
|
|
25
|
-
type Input = z4.infer<typeof InputSchema>;
|
|
26
|
-
type Output = {
|
|
27
|
-
data: {
|
|
28
|
-
codigo_verificacao_otp: {
|
|
29
|
-
_id: string;
|
|
30
|
-
codigo: string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
type Response = AxiosResponse<t.Geral.Response.C.Output<Output>>;
|
|
35
|
-
}
|
|
36
|
-
namespace EntrarComCodigoOtp {
|
|
37
|
-
const route: "/usuario/auth/entrar_com_codigo_otp";
|
|
38
|
-
const InputSchema: z4.ZodObject<{
|
|
39
|
-
data: z4.ZodObject<{
|
|
40
|
-
codigo_verificacao_otp: z4.ZodObject<{
|
|
41
|
-
email: z4.ZodNullable<z4.ZodOptional<z4.ZodEmail>>;
|
|
42
|
-
codigo: z4.ZodNullable<z4.ZodOptional<z4.ZodString>>;
|
|
43
|
-
usuario_tipo: z4.ZodEnum<{
|
|
44
|
-
padrao: "padrao";
|
|
45
|
-
}>;
|
|
46
|
-
app: z4.ZodEnum<{
|
|
47
|
-
"service-usuario": "service-usuario";
|
|
48
|
-
"service-financeiro": "service-financeiro";
|
|
49
|
-
"service-pages-ai": "service-pages-ai";
|
|
50
|
-
"service-assinatura": "service-assinatura";
|
|
51
|
-
}>;
|
|
52
|
-
}, z4.core.$strip>;
|
|
53
|
-
}, z4.core.$strip>;
|
|
54
|
-
}, z4.core.$strip>;
|
|
55
|
-
type Input = z4.infer<typeof InputSchema>;
|
|
56
|
-
type Output = t.Controller.Usuario.Register.Output;
|
|
57
|
-
type Response = AxiosResponse<t.Geral.Response.C.Output<t.Controller.Usuario.Register.Output>>;
|
|
58
|
-
}
|
|
59
|
-
namespace RecuperarSenhaPeloApp {
|
|
60
|
-
const route: "/api/usuario/auth/recuperar_senha_pelo_app";
|
|
61
|
-
const InputSchema: z4.ZodObject<{
|
|
62
|
-
data: z4.ZodObject<{
|
|
63
|
-
codigo_verificacao_otp: z4.ZodObject<{
|
|
64
|
-
senha_antiga: z4.ZodString;
|
|
65
|
-
nova_senha: z4.ZodString;
|
|
66
|
-
}, z4.core.$strip>;
|
|
67
|
-
}, z4.core.$strip>;
|
|
68
|
-
}, z4.core.$strip>;
|
|
69
|
-
type Input = z4.infer<typeof InputSchema>;
|
|
70
|
-
type Output = TypesCore.Controller.Usuario.TokenPayload;
|
|
71
|
-
type Response = AxiosResponse<t.Geral.Response.C.Output<Output>>;
|
|
72
|
-
}
|
|
73
|
-
namespace RecuperarSenhaPeloAppComCodigoOtp {
|
|
74
|
-
const route: "/api/usuario/auth/alterar_senha";
|
|
75
|
-
const InputSchema: z4.ZodObject<{
|
|
76
|
-
data: z4.ZodObject<{
|
|
77
|
-
codigo_verificacao_otp: z4.ZodObject<{
|
|
78
|
-
codigo: z4.ZodString;
|
|
79
|
-
nova_senha: z4.ZodString;
|
|
80
|
-
}, z4.core.$strip>;
|
|
81
|
-
}, z4.core.$strip>;
|
|
82
|
-
}, z4.core.$strip>;
|
|
83
|
-
type Input = z4.infer<typeof InputSchema>;
|
|
84
|
-
type Output = TypesCore.Controller.Usuario.TokenPayload;
|
|
85
|
-
type Response = AxiosResponse<t.Geral.Response.C.Output<Output>>;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
export default TypeControllerCodigoOtp;
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { AxiosResponse } from "axios";
|
|
2
|
-
import z4 from "zod/v4";
|
|
3
|
-
import t from "..";
|
|
4
|
-
declare namespace TypeControlerAutheticator {
|
|
5
|
-
const AutheticatorBaseSchema: z4.ZodObject<{
|
|
6
|
-
_id: z4.ZodString;
|
|
7
|
-
data_criacao: z4.ZodNumber;
|
|
8
|
-
data_atualizacao: z4.ZodNullable<z4.ZodNumber>;
|
|
9
|
-
data_exclusao: z4.ZodNullable<z4.ZodNumber>;
|
|
10
|
-
usuario_id: z4.ZodString;
|
|
11
|
-
secret_key: z4.ZodString;
|
|
12
|
-
excluido: z4.ZodNumber;
|
|
13
|
-
ativo: z4.ZodNumber;
|
|
14
|
-
}, z4.core.$strip>;
|
|
15
|
-
type UsuarioAutheticatorBase = z4.infer<typeof AutheticatorBaseSchema>;
|
|
16
|
-
namespace GerarAutheticatorCode {
|
|
17
|
-
const route: "/api/usuario/auth/gerar_autheticator_code";
|
|
18
|
-
const InputSchema: z4.ZodObject<{
|
|
19
|
-
data: z4.ZodObject<{
|
|
20
|
-
autheticator: z4.ZodObject<{
|
|
21
|
-
codigo_otp: z4.ZodString;
|
|
22
|
-
}, z4.core.$strip>;
|
|
23
|
-
}, z4.core.$strip>;
|
|
24
|
-
}, z4.core.$strip>;
|
|
25
|
-
type Input = z4.infer<typeof InputSchema>;
|
|
26
|
-
type Output = {
|
|
27
|
-
data: {
|
|
28
|
-
authenticator: {
|
|
29
|
-
secret_key: string;
|
|
30
|
-
otp_auth_url?: string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
type Response = AxiosResponse<t.Geral.Response.C.Output<Output>>;
|
|
35
|
-
}
|
|
36
|
-
namespace AtivarAutheticatorCode {
|
|
37
|
-
const route: "/api/usuario/auth/ativar_autheticator_code";
|
|
38
|
-
const InputSchema: z4.ZodObject<{
|
|
39
|
-
data: z4.ZodObject<{
|
|
40
|
-
autheticator: z4.ZodObject<{
|
|
41
|
-
codigo_temporario: z4.ZodString;
|
|
42
|
-
}, z4.core.$strip>;
|
|
43
|
-
}, z4.core.$strip>;
|
|
44
|
-
}, z4.core.$strip>;
|
|
45
|
-
type Input = z4.infer<typeof InputSchema>;
|
|
46
|
-
type Output = {
|
|
47
|
-
data: {
|
|
48
|
-
autheticator: {};
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
type Response = AxiosResponse<t.Geral.Response.C.Output<Output>>;
|
|
52
|
-
}
|
|
53
|
-
namespace DesativarAuthenticatorCode {
|
|
54
|
-
const route = "/api/usuario/auth/desativar_authenticator_code";
|
|
55
|
-
const InputSchema: z4.ZodObject<{
|
|
56
|
-
data: z4.ZodObject<{
|
|
57
|
-
autheticator: z4.ZodObject<{
|
|
58
|
-
codigo_temporario: z4.ZodString;
|
|
59
|
-
}, z4.core.$strip>;
|
|
60
|
-
}, z4.core.$strip>;
|
|
61
|
-
}, z4.core.$strip>;
|
|
62
|
-
type Input = z4.infer<typeof InputSchema>;
|
|
63
|
-
type Output = {
|
|
64
|
-
data: {
|
|
65
|
-
autheticator: {};
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
type Response = AxiosResponse<t.Geral.Response.C.Output<Output>>;
|
|
69
|
-
}
|
|
70
|
-
namespace BuscarAuthenticatorPeloId {
|
|
71
|
-
const route: "/api/usuario/auth/authenticator";
|
|
72
|
-
const InputSchema: z4.ZodObject<{}, z4.core.$strip>;
|
|
73
|
-
type Input = z4.infer<typeof InputSchema>;
|
|
74
|
-
type Output = {
|
|
75
|
-
data: {
|
|
76
|
-
autheticator: {
|
|
77
|
-
_id: string;
|
|
78
|
-
data_criacao: number;
|
|
79
|
-
data_atualizacao: number;
|
|
80
|
-
ativo: number;
|
|
81
|
-
secret_key?: string;
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
};
|
|
85
|
-
type Response = AxiosResponse<t.Geral.Response.C.Output<Output>>;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
export default TypeControlerAutheticator;
|