<?xml version="1.0" encoding="UTF-8"?>
<definitions name="ComunideskSoap_GastoDepartamento"
  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="GastoDepartamento"><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="gastoId" type="xsd:string" minOccurs="1"/><xsd:element name="departamentoId" type="xsd:string" minOccurs="1"/><xsd:element name="periodo" type="xsd:string" minOccurs="1"/><xsd:element name="montoTotal" type="xsd:double" minOccurs="1"/><xsd:element name="items" type="xsd:string" minOccurs="0"/><xsd:element name="estado" type="xsd:string" minOccurs="0"/></xsd:sequence></xsd:complexType>
    </xsd:schema>
  </types>

  
  <message name="ListGastoDepartamentoRequest"><part name="edificioId" type="xsd:string"/></message>
  <message name="ListGastoDepartamentoResponse"><part name="items" type="xsd:string"/></message>
  <message name="GetGastoDepartamentoRequest"><part name="id" type="xsd:string"/><part name="edificioId" type="xsd:string"/></message>
  <message name="GetGastoDepartamentoResponse"><part name="item" type="tns:GastoDepartamento"/></message>
  <message name="CreateGastoDepartamentoRequest"><part name="body" type="tns:GastoDepartamento"/></message>
  <message name="CreateGastoDepartamentoResponse"><part name="item" type="tns:GastoDepartamento"/></message>
  <message name="UpdateGastoDepartamentoRequest"><part name="id" type="xsd:string"/><part name="body" type="tns:GastoDepartamento"/></message>
  <message name="UpdateGastoDepartamentoResponse"><part name="item" type="tns:GastoDepartamento"/></message>
  <message name="DeleteGastoDepartamentoRequest"><part name="id" type="xsd:string"/><part name="edificioId" type="xsd:string"/></message>
  <message name="DeleteGastoDepartamentoResponse"><part name="ok" type="xsd:boolean"/></message>

  <portType name="ComunideskSoap_GastoDepartamentoPortType">
    
    <operation name="ListGastoDepartamento">
      <documentation>Gastos por unidad — List</documentation>
      <input message="tns:ListGastoDepartamentoRequest"/>
      <output message="tns:ListGastoDepartamentoResponse"/>
    </operation>
    <operation name="GetGastoDepartamento">
      <documentation>Gastos por unidad — Get</documentation>
      <input message="tns:GetGastoDepartamentoRequest"/>
      <output message="tns:GetGastoDepartamentoResponse"/>
    </operation>
    <operation name="CreateGastoDepartamento">
      <documentation>Gastos por unidad — Create</documentation>
      <input message="tns:CreateGastoDepartamentoRequest"/>
      <output message="tns:CreateGastoDepartamentoResponse"/>
    </operation>
    <operation name="UpdateGastoDepartamento">
      <documentation>Gastos por unidad — Update</documentation>
      <input message="tns:UpdateGastoDepartamentoRequest"/>
      <output message="tns:UpdateGastoDepartamentoResponse"/>
    </operation>
    <operation name="DeleteGastoDepartamento">
      <documentation>Gastos por unidad — Delete</documentation>
      <input message="tns:DeleteGastoDepartamentoRequest"/>
      <output message="tns:DeleteGastoDepartamentoResponse"/>
    </operation>
  </portType>

  <binding name="ComunideskSoap_GastoDepartamentoBinding" type="tns:ComunideskSoap_GastoDepartamentoPortType">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
    
    <operation name="ListGastoDepartamento">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/ListGastoDepartamento"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="GetGastoDepartamento">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/GetGastoDepartamento"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="CreateGastoDepartamento">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/CreateGastoDepartamento"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="UpdateGastoDepartamento">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/UpdateGastoDepartamento"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="DeleteGastoDepartamento">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/DeleteGastoDepartamento"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
  </binding>

  <service name="ComunideskSoap_GastoDepartamentoService">
    <documentation>Prorrateo de gasto común por departamento/unidad.</documentation>
    <port name="ComunideskSoap_GastoDepartamentoPort" binding="tns:ComunideskSoap_GastoDepartamentoBinding">
      <soap:address location="https://gateway.comunidesk.com/v1/soap"/>
    </port>
  </service>
</definitions>
