<?xml version="1.0" encoding="UTF-8"?>
<definitions name="ComunideskSoap_GastoComun"
  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="GastoComun"><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="periodo" type="xsd:string" minOccurs="1"/><xsd:element name="fechaEmision" type="xsd:string" minOccurs="1"/><xsd:element name="fechaVencimiento" type="xsd:string" minOccurs="1"/><xsd:element name="montoBase" type="xsd:double" minOccurs="1"/><xsd:element name="items" type="xsd:string" minOccurs="1"/><xsd:element name="totalGeneral" type="xsd:double" minOccurs="1"/><xsd:element name="estado" type="xsd:string" minOccurs="0"/></xsd:sequence></xsd:complexType>
    </xsd:schema>
  </types>

  
  <message name="ListGastoComunRequest"><part name="edificioId" type="xsd:string"/></message>
  <message name="ListGastoComunResponse"><part name="items" type="xsd:string"/></message>
  <message name="GetGastoComunRequest"><part name="id" type="xsd:string"/><part name="edificioId" type="xsd:string"/></message>
  <message name="GetGastoComunResponse"><part name="item" type="tns:GastoComun"/></message>
  <message name="CreateGastoComunRequest"><part name="body" type="tns:GastoComun"/></message>
  <message name="CreateGastoComunResponse"><part name="item" type="tns:GastoComun"/></message>
  <message name="UpdateGastoComunRequest"><part name="id" type="xsd:string"/><part name="body" type="tns:GastoComun"/></message>
  <message name="UpdateGastoComunResponse"><part name="item" type="tns:GastoComun"/></message>
  <message name="DeleteGastoComunRequest"><part name="id" type="xsd:string"/><part name="edificioId" type="xsd:string"/></message>
  <message name="DeleteGastoComunResponse"><part name="ok" type="xsd:boolean"/></message>

  <portType name="ComunideskSoap_GastoComunPortType">
    
    <operation name="ListGastoComun">
      <documentation>Gastos comunes — List</documentation>
      <input message="tns:ListGastoComunRequest"/>
      <output message="tns:ListGastoComunResponse"/>
    </operation>
    <operation name="GetGastoComun">
      <documentation>Gastos comunes — Get</documentation>
      <input message="tns:GetGastoComunRequest"/>
      <output message="tns:GetGastoComunResponse"/>
    </operation>
    <operation name="CreateGastoComun">
      <documentation>Gastos comunes — Create</documentation>
      <input message="tns:CreateGastoComunRequest"/>
      <output message="tns:CreateGastoComunResponse"/>
    </operation>
    <operation name="UpdateGastoComun">
      <documentation>Gastos comunes — Update</documentation>
      <input message="tns:UpdateGastoComunRequest"/>
      <output message="tns:UpdateGastoComunResponse"/>
    </operation>
    <operation name="DeleteGastoComun">
      <documentation>Gastos comunes — Delete</documentation>
      <input message="tns:DeleteGastoComunRequest"/>
      <output message="tns:DeleteGastoComunResponse"/>
    </operation>
  </portType>

  <binding name="ComunideskSoap_GastoComunBinding" type="tns:ComunideskSoap_GastoComunPortType">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
    
    <operation name="ListGastoComun">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/ListGastoComun"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="GetGastoComun">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/GetGastoComun"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="CreateGastoComun">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/CreateGastoComun"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="UpdateGastoComun">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/UpdateGastoComun"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="DeleteGastoComun">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/DeleteGastoComun"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
  </binding>

  <service name="ComunideskSoap_GastoComunService">
    <documentation>Periodos de gasto común y prorrateo por unidad.</documentation>
    <port name="ComunideskSoap_GastoComunPort" binding="tns:ComunideskSoap_GastoComunBinding">
      <soap:address location="https://gateway.comunidesk.com/v1/soap"/>
    </port>
  </service>
</definitions>
