<?xml version="1.0" encoding="UTF-8"?>
<definitions name="ComunideskSoap_CotizacionSeguro"
  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="CotizacionSeguro"><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="titulo" type="xsd:string" minOccurs="1"/><xsd:element name="tipoSeguro" type="xsd:string" minOccurs="1"/><xsd:element name="estado" type="xsd:string" minOccurs="0"/><xsd:element name="propuestas" type="xsd:string" minOccurs="0"/><xsd:element name="asesoria" type="xsd:string" minOccurs="0"/><xsd:element name="montoAseguradoEstimado" type="xsd:double" minOccurs="0"/></xsd:sequence></xsd:complexType>
    </xsd:schema>
  </types>

  
  <message name="ListCotizacionSeguroRequest"><part name="edificioId" type="xsd:string"/></message>
  <message name="ListCotizacionSeguroResponse"><part name="items" type="xsd:string"/></message>
  <message name="GetCotizacionSeguroRequest"><part name="id" type="xsd:string"/><part name="edificioId" type="xsd:string"/></message>
  <message name="GetCotizacionSeguroResponse"><part name="item" type="tns:CotizacionSeguro"/></message>
  <message name="CreateCotizacionSeguroRequest"><part name="body" type="tns:CotizacionSeguro"/></message>
  <message name="CreateCotizacionSeguroResponse"><part name="item" type="tns:CotizacionSeguro"/></message>
  <message name="UpdateCotizacionSeguroRequest"><part name="id" type="xsd:string"/><part name="body" type="tns:CotizacionSeguro"/></message>
  <message name="UpdateCotizacionSeguroResponse"><part name="item" type="tns:CotizacionSeguro"/></message>
  <message name="DeleteCotizacionSeguroRequest"><part name="id" type="xsd:string"/><part name="edificioId" type="xsd:string"/></message>
  <message name="DeleteCotizacionSeguroResponse"><part name="ok" type="xsd:boolean"/></message>

  <portType name="ComunideskSoap_CotizacionSeguroPortType">
    
    <operation name="ListCotizacionSeguro">
      <documentation>Cotización de seguros — List</documentation>
      <input message="tns:ListCotizacionSeguroRequest"/>
      <output message="tns:ListCotizacionSeguroResponse"/>
    </operation>
    <operation name="GetCotizacionSeguro">
      <documentation>Cotización de seguros — Get</documentation>
      <input message="tns:GetCotizacionSeguroRequest"/>
      <output message="tns:GetCotizacionSeguroResponse"/>
    </operation>
    <operation name="CreateCotizacionSeguro">
      <documentation>Cotización de seguros — Create</documentation>
      <input message="tns:CreateCotizacionSeguroRequest"/>
      <output message="tns:CreateCotizacionSeguroResponse"/>
    </operation>
    <operation name="UpdateCotizacionSeguro">
      <documentation>Cotización de seguros — Update</documentation>
      <input message="tns:UpdateCotizacionSeguroRequest"/>
      <output message="tns:UpdateCotizacionSeguroResponse"/>
    </operation>
    <operation name="DeleteCotizacionSeguro">
      <documentation>Cotización de seguros — Delete</documentation>
      <input message="tns:DeleteCotizacionSeguroRequest"/>
      <output message="tns:DeleteCotizacionSeguroResponse"/>
    </operation>
  </portType>

  <binding name="ComunideskSoap_CotizacionSeguroBinding" type="tns:ComunideskSoap_CotizacionSeguroPortType">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
    
    <operation name="ListCotizacionSeguro">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/ListCotizacionSeguro"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="GetCotizacionSeguro">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/GetCotizacionSeguro"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="CreateCotizacionSeguro">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/CreateCotizacionSeguro"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="UpdateCotizacionSeguro">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/UpdateCotizacionSeguro"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="DeleteCotizacionSeguro">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/DeleteCotizacionSeguro"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
  </binding>

  <service name="ComunideskSoap_CotizacionSeguroService">
    <documentation>Cotizaciones rápidas de seguros del edificio (distinto de cotizaciones a proveedores).</documentation>
    <port name="ComunideskSoap_CotizacionSeguroPort" binding="tns:ComunideskSoap_CotizacionSeguroBinding">
      <soap:address location="https://gateway.comunidesk.com/v1/soap"/>
    </port>
  </service>
</definitions>
