code: public function addEventConnector($process_id, $event_id, $event_connector_create_item)
      {
          list($response) = $this->addEventConnectorWithHttpInfo($process_id, $event_id, $event_connector_create_item);
          return $response;
      }
docs: Operation addEventConnector
  
  
  
  @param string $process_id ID of the process to fetch (required)
  @param string $event_id ID of the event to fetch (required)
  @param \ProcessMaker\PMIO\Model\EventConnectorCreateItem $event_connector_create_item JSON API with the EventConnector object to add (required)
  @return \ProcessMaker\PMIO\Model\EventConnector1
  @throws \ProcessMaker\PMIO\ApiException on non-2xx response