Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DataExports endpoints #137

Merged
merged 2 commits into from
Feb 21, 2025

Conversation

martinfobian
Copy link

Reason for change

Missing DataExport methods/endpoint.

Code changes

  • Added endpoint for DataExport and added to client.
  • Added entity class with properties from API docs (https://docs.almapay.com/reference/data-export)
  • Added data property to response class, since downloading the generated report file is not a JSON response and needs access to the "raw" response data.

How to test

Call methods create, fetch and download on the DataExports endpoint, check responses and generated file output.

Checklist for authors and reviewers

Have not written tests yet, since I don't have access to the internal docs and tools. Feel free to amend or give guidance on how to proceed. Thanks.

@martinfobian martinfobian requested a review from a team as a code owner September 24, 2024 11:12
Copy link

@valentinrougier39
Copy link

Hi, what about this PR ? Is ready soon to be added it in main ?
Thank you

@joyet-simon joyet-simon changed the base branch from main to chore/review-external-pr February 21, 2025 08:49
@joyet-simon joyet-simon merged commit 5df947c into alma:chore/review-external-pr Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants