Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions src/Client/Api/EventDeliveriesApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -1003,7 +1003,7 @@ public function forceResendEventDeliveriesRequest($project_id, $models_ids, stri
*
* @throws \Convoy\Client\ApiException on non-2xx response or if the response body is not in the expected format
* @throws \InvalidArgumentException
* @return \Convoy\Client\Model\GetEventDeliveriesPaged200Response|\Convoy\Client\Model\GetProjects400Response|\Convoy\Client\Model\GetProjects400Response|\Convoy\Client\Model\GetProjects400Response
* @return \Convoy\Client\Model\GetEventDeliveriesPaged200Response|\Convoy\Client\Model\GetProjects400Response|\Convoy\Client\Model\GetProjects400Response|\Convoy\Client\Model\GetProjects400Response|\Convoy\Client\Model\GetProjects400Response
*/
public function getEventDeliveriesPaged($project_id, $direction = null, $end_date = null, $endpoint_id = null, $event_id = null, $event_type = null, $idempotency_key = null, $next_page_cursor = null, $per_page = null, $prev_page_cursor = null, $sort = null, $start_date = null, $status = null, $subscription_id = null, string $contentType = self::contentTypes['getEventDeliveriesPaged'][0])
{
Expand Down Expand Up @@ -1034,7 +1034,7 @@ public function getEventDeliveriesPaged($project_id, $direction = null, $end_dat
*
* @throws \Convoy\Client\ApiException on non-2xx response or if the response body is not in the expected format
* @throws \InvalidArgumentException
* @return array of \Convoy\Client\Model\GetEventDeliveriesPaged200Response|\Convoy\Client\Model\GetProjects400Response|\Convoy\Client\Model\GetProjects400Response|\Convoy\Client\Model\GetProjects400Response, HTTP status code, HTTP response headers (array of strings)
* @return array of \Convoy\Client\Model\GetEventDeliveriesPaged200Response|\Convoy\Client\Model\GetProjects400Response|\Convoy\Client\Model\GetProjects400Response|\Convoy\Client\Model\GetProjects400Response|\Convoy\Client\Model\GetProjects400Response, HTTP status code, HTTP response headers (array of strings)
*/
public function getEventDeliveriesPagedWithHttpInfo($project_id, $direction = null, $end_date = null, $endpoint_id = null, $event_id = null, $event_type = null, $idempotency_key = null, $next_page_cursor = null, $per_page = null, $prev_page_cursor = null, $sort = null, $start_date = null, $status = null, $subscription_id = null, string $contentType = self::contentTypes['getEventDeliveriesPaged'][0])
{
Expand Down Expand Up @@ -1088,6 +1088,12 @@ public function getEventDeliveriesPagedWithHttpInfo($project_id, $direction = nu
$request,
$response,
);
case 504:
return $this->handleResponseWithDataType(
'\Convoy\Client\Model\GetProjects400Response',
$request,
$response,
);
}


Expand Down Expand Up @@ -1144,6 +1150,14 @@ public function getEventDeliveriesPagedWithHttpInfo($project_id, $direction = nu
);
$e->setResponseObject($data);
throw $e;
case 504:
$data = ObjectSerializer::deserialize(
$e->getResponseBody(),
'\Convoy\Client\Model\GetProjects400Response',
$e->getResponseHeaders()
);
$e->setResponseObject($data);
throw $e;
}


Expand Down
Loading