Skip to content

Commit

Permalink
feat: add report execution endpoints (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
phillipgr4vy authored Aug 5, 2024
1 parent 95ec15a commit eac4c4a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/Gr4vyConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -439,4 +439,12 @@ public function deleteCheckoutSession($checkout_session_id) {
$response = $this->delete("/checkout/sessions/" . $checkout_session_id);
return $response;
}
public function getReportExecution($report_execution_id) {
$response = $this->get("/report-executions/" . $report_execution_id);
return $response;
}
public function generateReportDownloadUrl($report_id, $report_execution_id, $request = array()) {
$response = $this->post("/reports/". $report_id . "executions" . $report_execution_id, $request);
return $response;
}
}

0 comments on commit eac4c4a

Please sign in to comment.