hezarfen_frontend
Clone
https://git.tahinli.com/archive/hezarfen_frontend.git
0 watching0 forksTypeScript5.5 MiB5fcd955Burak Boduroğlu2 months ago730 commits
| 1 | import { client, pageQuery, type PageParams } from "../client"; |
| 2 | import type { PaymentStatement } from "./types"; |
| 3 | |
| 4 | export function getPaymentStatementByUserId( |
| 5 | userId: string, |
| 6 | params?: PageParams, |
| 7 | signal?: AbortSignal, |
| 8 | ): Promise<PaymentStatement> { |
| 9 | return client<PaymentStatement>( |
| 10 | `/payments/statement/${encodeURIComponent(userId)}${pageQuery(params)}`, |
| 11 | { signal }, |
| 12 | ); |
| 13 | } |