index.js
1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import { Constants } from 'expo'
export const STATUS_BAR_HEIGHT = Constants.statusBarHeight
// PROD
export const AUTH_TOKEN = '730e9175-c76c-418a-a051-7e2834ed7fd7'
export const CLIENT_SECRET = 'deb7aa26038d0f44a35cd3e1d2f60b5c0e11192ddd0f9430c0d64a1101daa11f'
export const SENATICS_URL = 'https://informacionpublica.paraguay.gov.py:443/portal-core/rest/api'
// DEV
// export const AUTH_TOKEN = '0496164f-8de1-449c-9ce9-af0e0a6ce9fe'
// export const CLIENT_SECRET = 'a66a1a98eb7059a5c3b446183e214cc2661326c2994b811cb06dd9d3d873a9e9'
// export const SENATICS_URL = 'http://192.168.0.26:2128/api'
export const BACKEND_URL = 'http://192.168.0.26:3000/api'
export const RENEW_INTERVAL = 1 * 1000 * 60
export const TOKEN_EXPIRATION = 15 * 1000 * 60
export const NOTIFICATION_ICON = 'http://ayuda.tesis-jmgo.cnc.una.py/img/jaikuaamina.icon.png'
export const INFO_PY_URL = 'https://informacionpublica.paraguay.gov.py/portal/'
export const ESTADOS_SOLICITUDES = {
finalizados: [
'RECHAZADO',
'NO_RESPONDIDO',
'RESPONDIDO',
'RESPONDIDO_FUERA_PLAZO',
],
pendientes: [
'PROCESO_JUDICIAL',
'RECONSIDERACION_ATENDIDA',
'INICIADO',
'DERIVADO',
'RECONSIDERADO',
'EXTERNO',
'INEXISTENTE',
'REVOCADO',
'EN_RECONSIDERACION',
'RECONSIDERACION_NO_ATENDIDA',
'DESACTUALIZADA',
'RECONSIDERACION_ATENDIDA_FUERA_DE_PLAZO',
]
}