<?xml version="1.0" encoding="UTF-8"?>
<definitions name="ComunideskSoap_PlanEmergencia"
  targetNamespace="https://gateway.comunidesk.com/soap"
  xmlns="http://schemas.xmlsoap.org/wsdl/"
  xmlns:tns="https://gateway.comunidesk.com/soap"
  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema">

  <types>
    <xsd:schema targetNamespace="https://gateway.comunidesk.com/soap" elementFormDefault="qualified">
      <xsd:complexType name="PlanEmergencia"><xsd:sequence><xsd:element name="_id" type="xsd:string" minOccurs="0"/><xsd:element name="type" type="xsd:string" minOccurs="0"/><xsd:element name="edificioId" type="xsd:string" minOccurs="1"/><xsd:element name="titulo" type="xsd:string" minOccurs="1"/><xsd:element name="descripcion" type="xsd:string" minOccurs="1"/><xsd:element name="estado" type="xsd:string" minOccurs="0"/><xsd:element name="tiposEmergenciaCubiertos" type="xsd:string" minOccurs="0"/><xsd:element name="planos" type="xsd:string" minOccurs="0"/><xsd:element name="procedimientos" type="xsd:string" minOccurs="0"/><xsd:element name="contactos" type="xsd:string" minOccurs="0"/><xsd:element name="brigadas" type="xsd:string" minOccurs="0"/><xsd:element name="puntosEncuentro" type="xsd:string" minOccurs="0"/><xsd:element name="simulacros" type="xsd:string" minOccurs="0"/><xsd:element name="versionActual" type="xsd:string" minOccurs="0"/><xsd:element name="historialVersiones" type="xsd:string" minOccurs="0"/><xsd:element name="fechaVigenciaDesde" type="xsd:string" minOccurs="0"/><xsd:element name="fechaVigenciaHasta" type="xsd:string" minOccurs="0"/><xsd:element name="proximaRevision" type="xsd:string" minOccurs="0"/></xsd:sequence></xsd:complexType>
    </xsd:schema>
  </types>

  
  <message name="ListPlanEmergenciaRequest"><part name="edificioId" type="xsd:string"/></message>
  <message name="ListPlanEmergenciaResponse"><part name="items" type="xsd:string"/></message>
  <message name="GetPlanEmergenciaRequest"><part name="id" type="xsd:string"/><part name="edificioId" type="xsd:string"/></message>
  <message name="GetPlanEmergenciaResponse"><part name="item" type="tns:PlanEmergencia"/></message>
  <message name="CreatePlanEmergenciaRequest"><part name="body" type="tns:PlanEmergencia"/></message>
  <message name="CreatePlanEmergenciaResponse"><part name="item" type="tns:PlanEmergencia"/></message>
  <message name="UpdatePlanEmergenciaRequest"><part name="id" type="xsd:string"/><part name="body" type="tns:PlanEmergencia"/></message>
  <message name="UpdatePlanEmergenciaResponse"><part name="item" type="tns:PlanEmergencia"/></message>
  <message name="DeletePlanEmergenciaRequest"><part name="id" type="xsd:string"/><part name="edificioId" type="xsd:string"/></message>
  <message name="DeletePlanEmergenciaResponse"><part name="ok" type="xsd:boolean"/></message>

  <portType name="ComunideskSoap_PlanEmergenciaPortType">
    
    <operation name="ListPlanEmergencia">
      <documentation>Plan de emergencia — List</documentation>
      <input message="tns:ListPlanEmergenciaRequest"/>
      <output message="tns:ListPlanEmergenciaResponse"/>
    </operation>
    <operation name="GetPlanEmergencia">
      <documentation>Plan de emergencia — Get</documentation>
      <input message="tns:GetPlanEmergenciaRequest"/>
      <output message="tns:GetPlanEmergenciaResponse"/>
    </operation>
    <operation name="CreatePlanEmergencia">
      <documentation>Plan de emergencia — Create</documentation>
      <input message="tns:CreatePlanEmergenciaRequest"/>
      <output message="tns:CreatePlanEmergenciaResponse"/>
    </operation>
    <operation name="UpdatePlanEmergencia">
      <documentation>Plan de emergencia — Update</documentation>
      <input message="tns:UpdatePlanEmergenciaRequest"/>
      <output message="tns:UpdatePlanEmergenciaResponse"/>
    </operation>
    <operation name="DeletePlanEmergencia">
      <documentation>Plan de emergencia — Delete</documentation>
      <input message="tns:DeletePlanEmergenciaRequest"/>
      <output message="tns:DeletePlanEmergenciaResponse"/>
    </operation>
  </portType>

  <binding name="ComunideskSoap_PlanEmergenciaBinding" type="tns:ComunideskSoap_PlanEmergenciaPortType">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
    
    <operation name="ListPlanEmergencia">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/ListPlanEmergencia"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="GetPlanEmergencia">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/GetPlanEmergencia"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="CreatePlanEmergencia">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/CreatePlanEmergencia"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="UpdatePlanEmergencia">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/UpdatePlanEmergencia"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="DeletePlanEmergencia">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/DeletePlanEmergencia"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
  </binding>

  <service name="ComunideskSoap_PlanEmergenciaService">
    <documentation>Planes de emergencia del edificio.</documentation>
    <port name="ComunideskSoap_PlanEmergenciaPort" binding="tns:ComunideskSoap_PlanEmergenciaBinding">
      <soap:address location="https://gateway.comunidesk.com/v1/soap"/>
    </port>
  </service>
</definitions>
