Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
node_crisp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
web
node_crisp
Commits
b64f61ab
Commit
b64f61ab
authored
Sep 16, 2021
by
Sebastián Long
Browse files
Options
Browse Files
Download
Plain Diff
Merge tag '1.0.11' into develop
Finish CHATBOTS-12
parents
c9a7e39f
c67e8390
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
ips_turnos_bajo_demanda.js
handlers/ips_turnos_bajo_demanda.js
+3
-1
No files found.
handlers/ips_turnos_bajo_demanda.js
View file @
b64f61ab
...
@@ -5,6 +5,7 @@ const is = require('../endpoints/is.js')
...
@@ -5,6 +5,7 @@ const is = require('../endpoints/is.js')
const
config
=
require
(
'config'
);
const
config
=
require
(
'config'
);
const
LINK_CONDICIONES_DE_USO
=
'https://www.integrandosalud.com/es-ar/ip-condiciones-de-uso/'
;
const
LINK_CONDICIONES_DE_USO
=
'https://www.integrandosalud.com/es-ar/ip-condiciones-de-uso/'
;
const
LINK_VIDEOSONSULTA_BASE
=
'https://www.integrandosalud.com/src-v2/public/videoconsulta?token='
;
const
ID_AGENDA_IPS
=
config
.
get
(
'idAgendaIPS'
);
const
ID_AGENDA_IPS
=
config
.
get
(
'idAgendaIPS'
);
const
ID_DOMINIO_IPS
=
config
.
get
(
'idDominioIPS'
);
const
ID_DOMINIO_IPS
=
config
.
get
(
'idDominioIPS'
);
...
@@ -152,7 +153,8 @@ module.exports =
...
@@ -152,7 +153,8 @@ module.exports =
else
{
else
{
//Turno reservado exitosamente
//Turno reservado exitosamente
await
crisp
.
sendTextMessage
(
website_id
,
session_id
,
`Hacé click sobre "Iniciar consulta" para iniciar tu consulta`
);
await
crisp
.
sendTextMessage
(
website_id
,
session_id
,
`Hacé click sobre "Iniciar consulta" para iniciar tu consulta`
);
await
crisp
.
sendTextMessage
(
website_id
,
session_id
,
`[Iniciar consulta](
${
turnoDemandaResp
.
link_vc
}
)`
);
const
turnoLink
=
`
${
LINK_VIDEOSONSULTA_BASE
}${
turnoDemandaResp
.
token_vc
}
`
await
crisp
.
sendTextMessage
(
website_id
,
session_id
,
`[Iniciar consulta](
${
turnoLink
}
)`
);
await
limpiarDatos
(
message
,
userData
,
website_id
,
session_id
);
await
limpiarDatos
(
message
,
userData
,
website_id
,
session_id
);
}
}
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment