def sequenced_availability(options = {})
      options[:sequence] = map_availability_sequence(options[:sequence])

      translate_available_periods(options[:available_periods])

      response = post("/v1/sequenced_availability", options)
      parse_collection(Sequence, "sequences", response)
    end
def sequenced_availability(options = {})
      options[:sequence] = map_availability_sequence(options[:sequence])

      translate_available_periods(options[:available_periods])

      response = post("/v1/sequenced_availability", options)
      parse_collection(Sequence, "sequences", response)
    end
Public: Performs an sequenced availability query.

 options - The Hash options used to refine the selection (default: {}):
           :sequence          - An Array of sequence defintions containing
                                a Hash of:
             :sequence_id       - A String to uniquely identify this part
                                of the proposed sequence.
             :ordinal           - An integer to define the ordering of the
                                proposed sequence. (Optional)
             :participants      - An Array of participant groups or a Hash
                                for a single participant group.
             :required_duration - An Integer representing the minimum
                                number of minutes of availability required.
             :start_interval    - An Integer representing the start interval
                                of minutes for the availability query.
             :buffer            - An Hash containing the buffer to apply to
                                the availability query.
           :available_periods - An Array of available time periods Hashes,
                                each must specify a start and end Time.

 Returns an Array of Sequences.

 Raises Cronofy::CredentialsMissingError if no credentials available.
 Raises Cronofy::AuthenticationFailureError if the access token is no
 longer valid.
 Raises Cronofy::AuthorizationFailureError if the access token does not
 include the required scope.
 Raises Cronofy::InvalidRequestError if the request contains invalid
 parameters.
 Raises Cronofy::TooManyRequestsError if the request exceeds the rate
 limits for the application.