code: def deleted_records(endpoint):
      
      @utils.for_each_value
      def _deleted_records(self, key, value):
          deleted_recid = maybe_int(value.get('a'))
          if deleted_recid:
              return get_record_ref(deleted_recid, endpoint)
  
      return _deleted_records
docs: Populate the ``deleted_records`` key.