IOutput: {
getLedgerHistory: {
currentPage: number;
items: {
account_id: number;
action: string;
comment?: null | string;
coopname: string;
created_at: unknown;
global_sequence: number;
quantity: string;
}[];
totalCount: number;
totalPages: number;
};
}
Type declaration
getLedgerHistory: {
currentPage: number;
items: {
account_id: number;
action: string;
comment?: null | string;
coopname: string;
created_at: unknown;
global_sequence: number;
quantity: string;
}[];
totalCount: number;
totalPages: number;
}
currentPage: number
items: {
account_id: number;
action: string;
comment?: null | string;
coopname: string;
created_at: unknown;
global_sequence: number;
quantity: string;
}[]
totalCount: number
totalPages: number
Получить историю операций по счетам кооператива. Возвращает список операций с возможностью фильтрации по account_id и пагинацией. Операции сортируются по дате создания (новые первыми).