Skip to content

Conversation

@github-actions
Copy link

@github-actions github-actions bot commented Feb 6, 2026

Automatic Release PR

This PR was automatically created after changes were pushed to develop.

Commits: 1 new commit(s)

Checklist

  • Review all changes
  • Verify CI passes
  • Approve and merge when ready for production

* Add compliance transaction list endpoint

Add GET /support/transactionList endpoint for compliance users
to retrieve all typed transactions with user data, including
account info, domicile, assets and CHF amounts.

* Use QueryBuilder for getTransactionList to avoid eager JOIN cascade

Replace find() with createQueryBuilder to only join userData and country
instead of loading all eager relations from UserData entity.

* Add created and outputDate fields to transaction list endpoint

Expose created, eventDate and completionDate as separate fields
instead of merging eventDate with created fallback.

* Use tx.outputDate instead of tx.completionDate

completionDate getter relies on buyCrypto/buyFiat/refReward
relations which are not joined in the query.

* Add server-side date filtering for transaction list endpoint

Accept createdFrom, createdTo, outputFrom, outputTo query params
to filter transactions at DB level instead of loading all ~76k rows.
Defaults to last 3 days when no params provided.

* Fix date filter logic to use AND instead of OR

When both created and output date filters are set, transactions
must match both conditions. Changed orWhere to andWhere.

* Validate date query params with @IsDateString

Replaces @IsString with @IsDateString to reject invalid date
strings at the validation layer instead of passing them to the DB.
@TaprootFreak TaprootFreak merged commit 271d7d8 into main Feb 6, 2026
7 checks passed
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.

2 participants