43 lines
1.2 KiB
Ruby
43 lines
1.2 KiB
Ruby
module Captain
|
|
module Tools
|
|
class Definitions
|
|
ALL = {
|
|
'status_suites' => {
|
|
type: :http,
|
|
method: :get,
|
|
url: 'https://oxpi.com.br/api/PlugPlay/api/SuitesStatus',
|
|
description: 'Check suite availability'
|
|
},
|
|
'maria_fotos' => {
|
|
type: :webhook,
|
|
description: 'Send photos via webhook'
|
|
},
|
|
'escalar_humano' => {
|
|
type: :webhook,
|
|
description: 'Escalate to human agent'
|
|
},
|
|
'react_to_message' => {
|
|
type: :internal,
|
|
name: 'Reagir a Mensagens',
|
|
description: 'React to customer messages with emoji (👍, ❤️, 😊)'
|
|
},
|
|
'update_contact' => {
|
|
type: :internal,
|
|
name: 'Atualizar Contato',
|
|
description: 'Atualiza nome e CPF do contato atual'
|
|
},
|
|
'check_availability' => {
|
|
type: :internal,
|
|
name: 'Consultar Disponibilidade',
|
|
description: 'Verifica preço e disponibilidade de suíte'
|
|
},
|
|
'create_reservation_intent' => {
|
|
type: :internal,
|
|
name: 'Criar Intenção de Reserva',
|
|
description: 'Salva rascunho da reserva com valor acordado'
|
|
}
|
|
}.freeze
|
|
end
|
|
end
|
|
end
|