<?xml version="1.0" encoding="UTF-8"?>
<definitions name="ComunideskSoap_Reporte"
  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="Reporte"><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="tipo" type="xsd:string" minOccurs="1"/><xsd:element name="periodo" type="xsd:string" minOccurs="1"/><xsd:element name="parametros" type="xsd:string" minOccurs="0"/><xsd:element name="formato" type="xsd:string" minOccurs="0"/></xsd:sequence></xsd:complexType>
    </xsd:schema>
  </types>

  
  <message name="ListReporteRequest"><part name="edificioId" type="xsd:string"/></message>
  <message name="ListReporteResponse"><part name="items" type="xsd:string"/></message>
  <message name="GetReporteRequest"><part name="id" type="xsd:string"/><part name="edificioId" type="xsd:string"/></message>
  <message name="GetReporteResponse"><part name="item" type="tns:Reporte"/></message>
  <message name="CreateReporteRequest"><part name="body" type="tns:Reporte"/></message>
  <message name="CreateReporteResponse"><part name="item" type="tns:Reporte"/></message>
  <message name="UpdateReporteRequest"><part name="id" type="xsd:string"/><part name="body" type="tns:Reporte"/></message>
  <message name="UpdateReporteResponse"><part name="item" type="tns:Reporte"/></message>
  <message name="DeleteReporteRequest"><part name="id" type="xsd:string"/><part name="edificioId" type="xsd:string"/></message>
  <message name="DeleteReporteResponse"><part name="ok" type="xsd:boolean"/></message>

  <portType name="ComunideskSoap_ReportePortType">
    
    <operation name="ListReporte">
      <documentation>Reportes — List</documentation>
      <input message="tns:ListReporteRequest"/>
      <output message="tns:ListReporteResponse"/>
    </operation>
    <operation name="GetReporte">
      <documentation>Reportes — Get</documentation>
      <input message="tns:GetReporteRequest"/>
      <output message="tns:GetReporteResponse"/>
    </operation>
    <operation name="CreateReporte">
      <documentation>Reportes — Create</documentation>
      <input message="tns:CreateReporteRequest"/>
      <output message="tns:CreateReporteResponse"/>
    </operation>
    <operation name="UpdateReporte">
      <documentation>Reportes — Update</documentation>
      <input message="tns:UpdateReporteRequest"/>
      <output message="tns:UpdateReporteResponse"/>
    </operation>
    <operation name="DeleteReporte">
      <documentation>Reportes — Delete</documentation>
      <input message="tns:DeleteReporteRequest"/>
      <output message="tns:DeleteReporteResponse"/>
    </operation>
  </portType>

  <binding name="ComunideskSoap_ReporteBinding" type="tns:ComunideskSoap_ReportePortType">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
    
    <operation name="ListReporte">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/ListReporte"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="GetReporte">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/GetReporte"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="CreateReporte">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/CreateReporte"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="UpdateReporte">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/UpdateReporte"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="DeleteReporte">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/DeleteReporte"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
  </binding>

  <service name="ComunideskSoap_ReporteService">
    <documentation>Reportes financieros, de morosidad, mantenciones y ocupación.</documentation>
    <port name="ComunideskSoap_ReportePort" binding="tns:ComunideskSoap_ReporteBinding">
      <soap:address location="https://gateway.comunidesk.com/v1/soap"/>
    </port>
  </service>
</definitions>
