isa0060/serio1/input1
  $   H403239_•I|¥‰ÓMjqØ‚¦ ë<óo¬ÆÅ  ï    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access this resource.</p>
</body></html>
     ˆÄÃÈ480ÂÆÅ à    ‹      ½”[�Ó0…ß÷W~à­™^%Øu‚–¦•ºmÕBñàÄNbpâÈv	Ë¯ÇiZmA[q‘à)ÎøËÌ9Çrè³x3OÞoð&¹[ÁöíëÕrd€øn2GŒ“¸ß˜ÃâbM€”Î5×ˆmÛí$Ð¦Àd‡¥«Ô­32swœDW´«EW@KÁ¸uÒ)-k.¾‚ÎõÞYÉ…ïÜìS%³S¹®,ZQó\*pQé ´A¦uãq�Ù�µêDOqoÚ’�µæâ“E.ŽJ¦û‘^UÐTó‡NÜèÿ
ñó°ô §[šˆº¾0%‹:$N7$¢²*Àš,$(3][L«?…Ì	0åBòa9ß|ôº²û:¢J#ò�¼š‡ë›M“hÍ*A‘=ÍÜyæ–D+fTšË\
~¾ïá{ùírÃ¸gba3#'uýˆ¢·xn5ÓÊ6Ì{�y¥9§z„ÿ*–ýÆöv·X'ñr×GÂ»�êþñ±’hëKµƒX‘9mŽÎ{ÏëÔ67§W8ú2²(‰ ð$ùaäZqaÎã¸Djtk…ñŠO«s¥?IÇ“Áðå`üF³ëáà¯<üæ±ãñBP<ÜKŠýOã;�C_È—       ˆÄÃÈ533ÂÆÅ     ‹      Í•[oÚ0€ßû+<?ì-9\B×‹“©#HC¥€(U5MSå\H,‚�ìÃ¥ûõ3„ª0AË$´í)>ç|Ç‰Í>„½æð[¿E¾ï:¤ÿð¥Ónê <Ö› á0,<·Rhu)¡9âô
`±X¸‹º«tÃä8)<0¨EŒn‚	ÎØê]pFXžòÄ^	C�E´e’.‰P34"I=˜…ˆ`yqþtî9…�³¥“ÉÄ>N!RÊàæÚrªî'[ƒ2˜›ø,RÉó*mõT)l¤uÙ<ZgZÝê€aNæ¼™ô)ª)˜˜dÄèØ§ b%D—c7#Jx�>ýÞnö~X0_Í'6ÏÈ§Ÿ›~÷ºçßÐ Ë')¾Ÿ¹+™7H&*#‘&áû¾?K&LM¬Å…’¯(XÅmÕXfÊ­kÃäz›*‘ä½nðx§ý›A«;Ûƒ²%É*ÄkuG/ú\§I(t£ÒÏ‡2àG™éõË#ÙT¨E–#qÈ^ò´fr,ÕBn›Ù®íu²;Ÿ×œkÁ%:9ŠØ]ûÐàj[ñ7§Z¥Vw*§zI*—W5��C [¿ýäs»|É»ò[ÔiäS~ÇÉN‰ìÅøàÐ)4ëîÅ?Ötæ©6vcyCw9‰vÅ{ã¿>rSƒÍvÏ`}ž0(�±_,ÆÚ)    3   ˆl–Ým_J•5*
‚Æ›¸ )‹FÿŽþ^ifÉ#¯Æã²J@ùÊ‚"ÉÇÆ  „    name           es
charset        iso8859-1
soundslike     generic
affix          es
affix-compress true
repl-table     es_affix.dat
  E   ˆl–Ãa¾”ªi?u8 ¸Û71hß�þB 8³Ž˜ÆB´Óm=üÿËƒh Ê_�uÐb&=LyZËcõÉÈ     # Copyright (C) 2012-2026 Zammad Foundation, https://zammad-foundation.org/

module Import
  module OTRS

    # @!attribute [rw] retry_sleep
    #   @return [Number] the sleep time between the request retries
    module Requester
      extend Import::Helper
      extend self

      attr_accessor :retry_sleep

      # Loads entries of the given object.
      #
      # @param object [String] the name of OTRS object
      # @param [Hash] opts the options to load entries.
      # @option opts [String] :limit the maximum amount of entries that should get loaded
      # @option opts [String] :offset the offset where the entry listing should start
      # @option opts [Boolean] :diff request only changed/added entries since the last import
      #
      # @example
      #   Import::OTRS::Requester.load('Ticket', offset: '208', limit: '1')
      #   #=> [{'TicketNumber':'1234', ...}, ...]
      #
      #   Import::OTRS::Requester.load('State', offset: '0', limit: '50')
      #   #=> [{'Name':'pending reminder', ...}, ...]
      #
      # @return [Array<Hash{String => String, Number, nil, Hash, Array}>]
      def load(object, opts = {})

        @cache ||= {}
        if opts.blank? && @cache[object]
          return @cache[object]
        end

        result = request_result(
          Subaction: 'Export',
          Object:    object,
          Limit:     opts[:limit] || '',
          Offset:    opts[:offset] || '',
          Diff:      opts[:diff] ? 1 : 0
        )

        return result if opts.present?

        @cache[object] = result
        @cache[object]
      end

      # Lists the OTRS objects and their amount of importable entries.
      #
      # @example
      #   Import::OTRS::Requester.list #=> {'DynamicFields' => 5, ...}
      #
      # @return [Hash{String => Number}] key = OTRS object, value = amount
      def list
        request_result(Subaction: 'List')
      end

      # Checks if the connection to the OTRS export endpoint works.
      #
      # @todo Refactor to something like .connected?
      #
      # @example
      #   Import::OTRS::Requester.connection_test #=> true
      #
      # @raise [RuntimeError] if the API key is not valid
      #
      # @return [true] always returns true
      def connection_test
        result = request_json({})
        raise 'API key not valid!' if !result['Success']

        true
      end

      private

      def request_result