<?xml version="1.0" encoding="UTF-8"?>
<definitions name="ComunideskSoap_AreaComun"
  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="AreaComun"><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="nombre" type="xsd:string" minOccurs="1"/><xsd:element name="tipo" type="xsd:string" minOccurs="1"/><xsd:element name="configuracion" type="xsd:string" minOccurs="1"/><xsd:element name="requiereReserva" type="xsd:boolean" minOccurs="1"/><xsd:element name="activo" type="xsd:boolean" minOccurs="1"/><xsd:element name="descripcion" type="xsd:string" minOccurs="0"/></xsd:sequence></xsd:complexType>
    </xsd:schema>
  </types>

  
  <message name="ListAreaComunRequest"><part name="edificioId" type="xsd:string"/></message>
  <message name="ListAreaComunResponse"><part name="items" type="xsd:string"/></message>
  <message name="GetAreaComunRequest"><part name="id" type="xsd:string"/><part name="edificioId" type="xsd:string"/></message>
  <message name="GetAreaComunResponse"><part name="item" type="tns:AreaComun"/></message>
  <message name="CreateAreaComunRequest"><part name="body" type="tns:AreaComun"/></message>
  <message name="CreateAreaComunResponse"><part name="item" type="tns:AreaComun"/></message>
  <message name="UpdateAreaComunRequest"><part name="id" type="xsd:string"/><part name="body" type="tns:AreaComun"/></message>
  <message name="UpdateAreaComunResponse"><part name="item" type="tns:AreaComun"/></message>
  <message name="DeleteAreaComunRequest"><part name="id" type="xsd:string"/><part name="edificioId" type="xsd:string"/></message>
  <message name="DeleteAreaComunResponse"><part name="ok" type="xsd:boolean"/></message>

  <portType name="ComunideskSoap_AreaComunPortType">
    
    <operation name="ListAreaComun">
      <documentation>Áreas comunes — List</documentation>
      <input message="tns:ListAreaComunRequest"/>
      <output message="tns:ListAreaComunResponse"/>
    </operation>
    <operation name="GetAreaComun">
      <documentation>Áreas comunes — Get</documentation>
      <input message="tns:GetAreaComunRequest"/>
      <output message="tns:GetAreaComunResponse"/>
    </operation>
    <operation name="CreateAreaComun">
      <documentation>Áreas comunes — Create</documentation>
      <input message="tns:CreateAreaComunRequest"/>
      <output message="tns:CreateAreaComunResponse"/>
    </operation>
    <operation name="UpdateAreaComun">
      <documentation>Áreas comunes — Update</documentation>
      <input message="tns:UpdateAreaComunRequest"/>
      <output message="tns:UpdateAreaComunResponse"/>
    </operation>
    <operation name="DeleteAreaComun">
      <documentation>Áreas comunes — Delete</documentation>
      <input message="tns:DeleteAreaComunRequest"/>
      <output message="tns:DeleteAreaComunResponse"/>
    </operation>
  </portType>

  <binding name="ComunideskSoap_AreaComunBinding" type="tns:ComunideskSoap_AreaComunPortType">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
    
    <operation name="ListAreaComun">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/ListAreaComun"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="GetAreaComun">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/GetAreaComun"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="CreateAreaComun">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/CreateAreaComun"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="UpdateAreaComun">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/UpdateAreaComun"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="DeleteAreaComun">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/DeleteAreaComun"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
  </binding>

  <service name="ComunideskSoap_AreaComunService">
    <documentation>Áreas comunes reservables del edificio.</documentation>
    <port name="ComunideskSoap_AreaComunPort" binding="tns:ComunideskSoap_AreaComunBinding">
      <soap:address location="https://gateway.comunidesk.com/v1/soap"/>
    </port>
  </service>
</definitions>
