Merged
Conversation
* 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.
lapatric
approved these changes
Feb 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automatic Release PR
This PR was automatically created after changes were pushed to develop.
Commits: 1 new commit(s)
Checklist