code: function(params, callback) {
          /**
           * Callback for QB.pushnotifications.events.list(params, callback)
           * @callback listPushEventsCallback
           * @param {object} error - The error object
           * @param {object} response - An array of events' objects
           */
          if (typeof params === 'function' && typeof callback ==='undefined') {
              callback = params;
              params = null;
          }
  
          this.service.ajax({url: Utils.getUrl(config.urls.events), data: params}, callback);
      }
docs: Get list of events which were created by current user ({@link https://docsdev.quickblox.com/rest_api/Push_Notifications_API.html#Retrieve_events read more})
  @memberof QB.pushnotifications.events
  @param {object} params - Object of parameters
  @param {number} [params.page=1] - Used to paginate the results when more than one page of events retrieved
  @param {number} [params.per_page=10] - The maximum number of events to return per page, if not specified then the default is 10
  @param {listPushEventsCallback} callback - The listOfFilesCallback function