<?xml version="1.0" encoding="UTF-8"?>
<definitions name="ComunideskSoap_RegistroHoras"
  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="RegistroHoras"><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="empleadoId" type="xsd:string" minOccurs="1"/><xsd:element name="periodo" type="xsd:string" minOccurs="1"/><xsd:element name="fecha" type="xsd:string" minOccurs="1"/><xsd:element name="horasTrabajadas" type="xsd:double" minOccurs="1"/><xsd:element name="aprobado" type="xsd:boolean" minOccurs="0"/><xsd:element name="observaciones" type="xsd:string" minOccurs="0"/></xsd:sequence></xsd:complexType>
    </xsd:schema>
  </types>

  
  <message name="ListRegistroHorasRequest"><part name="edificioId" type="xsd:string"/></message>
  <message name="ListRegistroHorasResponse"><part name="items" type="xsd:string"/></message>
  <message name="GetRegistroHorasRequest"><part name="id" type="xsd:string"/><part name="edificioId" type="xsd:string"/></message>
  <message name="GetRegistroHorasResponse"><part name="item" type="tns:RegistroHoras"/></message>
  <message name="CreateRegistroHorasRequest"><part name="body" type="tns:RegistroHoras"/></message>
  <message name="CreateRegistroHorasResponse"><part name="item" type="tns:RegistroHoras"/></message>
  <message name="UpdateRegistroHorasRequest"><part name="id" type="xsd:string"/><part name="body" type="tns:RegistroHoras"/></message>
  <message name="UpdateRegistroHorasResponse"><part name="item" type="tns:RegistroHoras"/></message>
  <message name="DeleteRegistroHorasRequest"><part name="id" type="xsd:string"/><part name="edificioId" type="xsd:string"/></message>
  <message name="DeleteRegistroHorasResponse"><part name="ok" type="xsd:boolean"/></message>

  <portType name="ComunideskSoap_RegistroHorasPortType">
    
    <operation name="ListRegistroHoras">
      <documentation>Registro de horas — List</documentation>
      <input message="tns:ListRegistroHorasRequest"/>
      <output message="tns:ListRegistroHorasResponse"/>
    </operation>
    <operation name="GetRegistroHoras">
      <documentation>Registro de horas — Get</documentation>
      <input message="tns:GetRegistroHorasRequest"/>
      <output message="tns:GetRegistroHorasResponse"/>
    </operation>
    <operation name="CreateRegistroHoras">
      <documentation>Registro de horas — Create</documentation>
      <input message="tns:CreateRegistroHorasRequest"/>
      <output message="tns:CreateRegistroHorasResponse"/>
    </operation>
    <operation name="UpdateRegistroHoras">
      <documentation>Registro de horas — Update</documentation>
      <input message="tns:UpdateRegistroHorasRequest"/>
      <output message="tns:UpdateRegistroHorasResponse"/>
    </operation>
    <operation name="DeleteRegistroHoras">
      <documentation>Registro de horas — Delete</documentation>
      <input message="tns:DeleteRegistroHorasRequest"/>
      <output message="tns:DeleteRegistroHorasResponse"/>
    </operation>
  </portType>

  <binding name="ComunideskSoap_RegistroHorasBinding" type="tns:ComunideskSoap_RegistroHorasPortType">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
    
    <operation name="ListRegistroHoras">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/ListRegistroHoras"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="GetRegistroHoras">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/GetRegistroHoras"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="CreateRegistroHoras">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/CreateRegistroHoras"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="UpdateRegistroHoras">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/UpdateRegistroHoras"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
    <operation name="DeleteRegistroHoras">
      <soap:operation soapAction="https://gateway.comunidesk.com/soap/DeleteRegistroHoras"/>
      <input><soap:body use="literal"/></input>
      <output><soap:body use="literal"/></output>
    </operation>
  </binding>

  <service name="ComunideskSoap_RegistroHorasService">
    <documentation>Horas trabajadas por empleado y periodo.</documentation>
    <port name="ComunideskSoap_RegistroHorasPort" binding="tns:ComunideskSoap_RegistroHorasBinding">
      <soap:address location="https://gateway.comunidesk.com/v1/soap"/>
    </port>
  </service>
</definitions>
