<?xml version="1.0" encoding="UTF-8"?>
<definitions name="ComunideskSoap_Cotizacion"
  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="Cotizacion"><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="proveedorId" type="xsd:string" minOccurs="1"/><xsd:element name="concepto" type="xsd:string" minOccurs="1"/><xsd:element name="monto" type="xsd:double" minOccurs="1"/><xsd:element name="fechaCotizacion" type="xsd:string" minOccurs="1"/><xsd:element name="validaHasta" type="xsd:string" minOccurs="0"/><xsd:element name="estado" type="xsd:string" minOccurs="0"/></xsd:sequence></xsd:complexType>
    </xsd:schema>
  </types>

  
  <message name="ListCotizacionRequest"><part name="edificioId" type="xsd:string"/></message>
  <message name="ListCotizacionResponse"><part name="items" type="xsd:string"/></message>
  <message name="GetCotizacionRequest"><part name="id" type="xsd:string"/><part name="edificioId" type="xsd:string"/></message>
  <message name="GetCotizacionResponse"><part name="item" type="tns:Cotizacion"/></message>
  <message name="CreateCotizacionRequest"><part name="body" type="tns:Cotizacion"/></message>
  <message name="CreateCotizacionResponse"><part name="item" type="tns:Cotizacion"/></message>
  <message name="UpdateCotizacionRequest"><part name="id" type="xsd:string"/><part name="body" type="tns:Cotizacion"/></message>
  <message name="UpdateCotizacionResponse"><part name="item" type="tns:Cotizacion"/></message>
  <message name="DeleteCotizacionRequest"><part name="id" type="xsd:string"/><part name="edificioId" type="xsd:string"/></message>
  <message name="DeleteCotizacionResponse"><part name="ok" type="xsd:boolean"/></message>

  <portType name="ComunideskSoap_CotizacionPortType">
    
    <operation name="ListCotizacion">
      <documentation>Cotizaciones — List</documentation>
      <input message="tns:ListCotizacionRequest"/>
      <output message="tns:ListCotizacionResponse"/>
    </operation>
    <operation name="GetCotizacion">
      <documentation>Cotizaciones — Get</documentation>
      <input message="tns:GetCotizacionRequest"/>
      <output message="tns:GetCotizacionResponse"/>
    </operation>
    <operation name="CreateCotizacion">
      <documentation>Cotizaciones — Create</documentation>
      <input message="tns:CreateCotizacionRequest"/>
      <output message="tns:CreateCotizacionResponse"/>
    </operation>
    <operation name="UpdateCotizacion">
      <documentation>Cotizaciones — Update</documentation>
      <input message="tns:UpdateCotizacionRequest"/>
      <output message="tns:UpdateCotizacionResponse"/>
    </operation>
    <operation name="DeleteCotizacion">
      <documentation>Cotizaciones — Delete</documentation>
      <input message="tns:DeleteCotizacionRequest"/>
      <output message="tns:DeleteCotizacionResponse"/>
    </operation>
  </portType>

  <binding name="ComunideskSoap_CotizacionBinding" type="tns:ComunideskSoap_CotizacionPortType">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
    
    <operation name="ListCotizacion">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/ListCotizacion"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="GetCotizacion">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/GetCotizacion"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="CreateCotizacion">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/CreateCotizacion"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="UpdateCotizacion">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/UpdateCotizacion"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="DeleteCotizacion">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/DeleteCotizacion"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
  </binding>

  <service name="ComunideskSoap_CotizacionService">
    <documentation>Cotizaciones de proveedores.</documentation>
    <port name="ComunideskSoap_CotizacionPort" binding="tns:ComunideskSoap_CotizacionBinding">
      <soap:address location="https://gateway.comunidesk.com/v1/soap"/>
    </port>
  </service>
</definitions>
