/* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ import type { Deposit } from '../models/Deposit'; import type { EntitiesCount } from '../models/EntitiesCount'; import type { CancelablePromise } from '../core/CancelablePromise'; import { request as __request } from '../core/request'; export class DepositService { /** * List all deposits for product *
Lists all deposits for API key.
* @param pageSize Max number of items per page is 50. * @param page Page number * @param sort Direction of sorting. Can be asc or desc * @param status Status of the deposit * @param currency Filter by currency * @param txId Filter by txId * @param to Filter by to address * @param accountId Filter by account id * @returns Deposit OK * @throws ApiError */ public static getDeposits( pageSize?: number, page?: number, sort?: 'asc' | 'desc', status?: 'Done' | 'InProgress', currency?: string, txId?: string, to?: string, accountId?: string, ): CancelablePromiseCounts total entities found by get deposits request.
* @param pageSize Max number of items per page is 50. * @param page Page number * @param sort Direction of sorting. Can be asc or desc * @param status Type of the deposit * @param currency Filter by currency * @param txId Filter by txId * @param to Filter by to address * @param accountId Filter by account id * @returns EntitiesCount OK * @throws ApiError */ public static getDepositsCount( pageSize?: number, page?: number, sort?: 'asc' | 'desc', status?: 'Done' | 'InProgress', currency?: string, txId?: string, to?: string, accountId?: string, ): CancelablePromise