simpay-typescript-api
Version:
SimPay.pl API wrapper
19 lines (18 loc) • 372 B
TypeScript
export interface PaginatedResponse<T> {
success: boolean;
data: T[];
pagination: Pagination;
}
interface Pagination {
total: number;
count: number;
per_page: number;
current_page: number;
total_pages: number;
links: PaginationLinks;
}
interface PaginationLinks {
next_page: string | null;
prev_page: string | null;
}
export {};