{
  "author": "Danilo Toro",
  "description": "Con este módulo podrás trabajar con webhook en Rocketbot, como esperar una petición antes de continuar con el flujo de tu robot | With this module you can work with webhook in Rocketbot, how to wait for a request before continuing with the flow of your robot",
  "disclaimer": "THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.",
  "version": "1.0.0",
  "license": "MIT",
  "homepage": "http://rocketbot.co/",
  "name": "Webhook",
  "linux": true,
  "windows": true,
  "mac": true,
  "docker": true,
  "dependencies": {
    "flask": "2.0.1"
  },
  "title": {
    "en": "Webhook",
    "es": "Webhook",
    "pr": "Webhook"
  },
  "icon": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pg0KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPg0KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJDYXBhXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgN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I0Mi0zNC4xNDYtMC4zNTUtNDguNTk2bDcwLjA2MS0xMjEuNDg0bC0yMC4zMTQtMTEuNzE1DQoJYy0zMy4zNDQtMTkuMjI5LTQ0LjgyNi02Mi4wMDEtMjUuNTk2LTk1LjM0NHM2Mi4wMDEtNDQuODI1LDk1LjM0NC0yNS41OTZjMjkuMzI1LDE2LjkxMiw0MS43Myw1Mi4wMzEsMzEuMjE1LDgyLjkzNGw0NS43NjEsMTAuODczDQoJYzE1LjA4NC01MC42MDgtNS44NDktMTA2LjkyOC01My41NDYtMTM0LjQzNEMyNTguMjQsMTQuMDIsMTg2LjczMywzMy4yMTcsMTU0LjU4Myw4OC45NjMNCgljLTI4LjEzOCw0OC43OTEtMTYuOTQ2LDEwOS42NTUsMjMuNjYyLDE0NS42MzdsLTQ3LjgxMiw4Mi45MDVjLTE2LjgxMy0wLjIwNS0zMy4yNDIsOC40MjktNDIuMjQxLDI0LjAzMg0KCWMtMTMuMjUzLDIyLjk4MS01LjM2OCw1Mi4zNTYsMTcuNjE0LDY1LjYxQzEyOC43ODcsNDIwLjQsMTU4LjE2MSw0MTIuNTE0LDE3MS40MTYsMzg5LjUzM3oiLz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjwvc3ZnPg0K",
  "children": [
    {
      "title": {
        "en": "Create webhook",
        "es": "Crear webhook",
        "pr": "Criar webhook"
      },
      "description": {
        "en": "With this command you can create an endpoint for the robot to listen to a request before continuing, the url will be '0.0.0.0:port/endpoint'",
        "es": "Con este comando puedes crear un webhook para que el robot escuche una petición antes de continuar, la url será '0.0.0.0:port/endpoint'",
        "pr": "Com este comando, você pode criar um webhook para que o robô ouça uma solicitação antes de continuar, a url vai ser '0.0.0.0:port/endpoint'"
      },
      "form": {
        "css": "modal-lg",
        "style": "",
        "inputs": [
          {
            "type": "input",
            "placeholder": "/webhook",
            "title": {
              "en": "Endpoint"
            },
            "help": {
              "es": "Por defecto será '/'",
              "en": "By default will be '/'",
              "pr": "Por padrão vai ser '/'"
            },
            "description": {
              "en": "Endpoint where you need create a request, by default will be '/'",
              "es": "Endpoint donde necesitas crear una petición, por defecto será '/'",
              "pr": "Endpoint onde você precisa criar uma solicitação, por padrão vai ser '/'"
            },
            "id": "endpoint",
            "css": "col-md-6"
          },
          {
            "type": "input",
            "placeholder": "5005",
            "title": {
              "en": "Port",
              "es": "Puerto",
              "pr": "Porta"
            },
            "help": {
              "es": "Por defecto será el porto 5005",
              "en": "By default will be the port 5005",
              "pr": "Por padrão vai ser a porta 5005"
            },
            "description": {
              "en": "Port where you need create a webwook, by default will be '5005'",
              "pr": "Porta onde você precisa criar um webhook, por padrão vai ser '5005'",
              "es": "Puerto donde necesitas crear un webhook, por defecto será '5005'"
            },
            "id": "puerto",
            "css": "col-md-6"
          },
          {
            "type": "input",
            "placeholder": "{'255de1a0-a6ea-465e-aa6a-0d6b25dd81c6': ['data', 'data2']}",
            "title": {
              "en": "Data to return",
              "es": "Datos a devolver",
              "pr": "Dados para retornar"
            },
            "description": {
              "en": "Data that you want to return when querying the url:port/endpoint/uuid route. This must be an object that contains as key the uuid obtained when querying the endpoint and the value must be what you want to send. See example",
              "es": "Datos que quieres que devuelva al consultar la ruta url:puerto/endpoint/uuid. Este debe ser un objeto que contenga como clave el uuid obtenido al consultar el endpoint y el valor debe ser lo que deseas enviar. Ver ejemplo",
              "pr": "Dados que você deseja retornar ao consultar a url:porto/endpoint/uuid route. Este deve ser um objeto que contenha como chave o uuid obtido ao consultar o ponto final e o valor deve ser o que você deseja enviar. Veja o exemplo"
            },
            "help": {
              "es": "El dato a devolver debe ser un objeto que contenga como clave el uuid",
              "en": "By default will be the port 5005",
              "pr": "Por padrão vai ser a porta 5005"
            },
            "id": "response",
            "css": "col-md-6"
          },
          {
            "type": "select",
            "placeholder": "GET",
            "title": {
              "es": "Método",
              "en": "Method",
              "pr": "Método"
            },
            "options": [
              {
                "title": "GET",
                "value": "GET"
              },
              {
                "title": "POST",
                "value": "POST"
              }
            ],
            "description": {
              "es": "Tipo de método para consultar el webhoook. Puede ser GET o POST",
              "en": "Type of method to query the webhook. Can be GET or POST",
              "pr": "Tipo de método para consultar o webhook. Pode ser GET ou POST"
            },
            "id": "method",
            "css": "col-md-6"
          },
          {
            "type": "input",
            "title": {
              "es": "Variable donde almacenar resultado",
              "en": "Variable where to store the result",
              "pr": "Variável onde armazenar o resultado"
            },
            "help": {
              "es": "Nombre de variable sin {}",
              "en": "Variable name without {}",
              "pr": "Nome da variável sem {}"
            },
            "description": {
              "es": "Nombre de la variable donde almacenar el resultado de la consulta. Ejemplo: 'resultado'",
              "en": "Variable name where to store the result of the query. Example: 'resultado'",
              "pr": "Nome da variável onde armazenar o resultado da consulta. Exemplo: 'resultado'"
            },
            "id": "result",
            "css": "col-md-6"
          }
        ]
      },
      "video_youtube": "",
      "icon": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pg0KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPg0KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJDYXBhXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgNTEyIDUxMiIgc3R5bGU9ImVuYWJs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Tk2bDcwLjA2MS0xMjEuNDg0bC0yMC4zMTQtMTEuNzE1DQoJYy0zMy4zNDQtMTkuMjI5LTQ0LjgyNi02Mi4wMDEtMjUuNTk2LTk1LjM0NHM2Mi4wMDEtNDQuODI1LDk1LjM0NC0yNS41OTZjMjkuMzI1LDE2LjkxMiw0MS43Myw1Mi4wMzEsMzEuMjE1LDgyLjkzNGw0NS43NjEsMTAuODczDQoJYzE1LjA4NC01MC42MDgtNS44NDktMTA2LjkyOC01My41NDYtMTM0LjQzNEMyNTguMjQsMTQuMDIsMTg2LjczMywzMy4yMTcsMTU0LjU4Myw4OC45NjMNCgljLTI4LjEzOCw0OC43OTEtMTYuOTQ2LDEwOS42NTUsMjMuNjYyLDE0NS42MzdsLTQ3LjgxMiw4Mi45MDVjLTE2LjgxMy0wLjIwNS0zMy4yNDIsOC40MjktNDIuMjQxLDI0LjAzMg0KCWMtMTMuMjUzLDIyLjk4MS01LjM2OCw1Mi4zNTYsMTcuNjE0LDY1LjYxQzEyOC43ODcsNDIwLjQsMTU4LjE2MSw0MTIuNTE0LDE3MS40MTYsMzg5LjUzM3oiLz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjwvc3ZnPg0K",
      "module": "create_endpoint",
      "module_name": "Webhook",
      "father": "module",
      "group": "scripts",
      "linux": true,
      "windows": true,
      "mac": true,
      "docker": false,
      "visible": true,
      "options": false
    }
  ]
}