feat(cards): filter operations by date range

This commit is contained in:
2026-09-12 21:52:13 +03:00
parent 8e58c016d2
commit 9bb385b9f0
7 changed files with 188 additions and 47 deletions
+19 -5
View File
@@ -764,7 +764,11 @@ export interface components {
net: components["schemas"]["MoneyDto"];
};
BankSummaryDto: {
month: string;
month?: string;
/** Format: date */
from?: string;
/** Format: date */
to?: string;
cardId: string | null;
expenses: components["schemas"]["MoneyDto"];
refunds: components["schemas"]["MoneyDto"];
@@ -2109,8 +2113,13 @@ export interface operations {
};
BankCardsController_summary: {
parameters: {
query: {
month: string;
query?: {
/** @description Use month or both from and to, exclusively. */
month?: string;
/** @description Inclusive start date; requires to. */
from?: string;
/** @description Inclusive end date; requires from. */
to?: string;
cardId?: string;
};
header?: never;
@@ -2536,10 +2545,15 @@ export interface operations {
};
BankCardsController_history: {
parameters: {
query: {
query?: {
page?: number;
limit?: number;
month: string;
/** @description Use month or both from and to, exclusively. */
month?: string;
/** @description Inclusive start date; requires to. */
from?: string;
/** @description Inclusive end date; requires from. */
to?: string;
};
header?: never;
path: {