interface IInput {
    filter?: {
        approval_hash?: null | string;
        coopname?: null | string;
        created_from?: any;
        created_to?: any;
        statuses?: null | ApprovalStatus[];
        username?: null | string;
    };
    options?: {
        limit: number;
        page: number;
        sortBy?: null | string;
        sortOrder: string;
    };
}

Properties

Properties

filter?: {
    approval_hash?: null | string;
    coopname?: null | string;
    created_from?: any;
    created_to?: any;
    statuses?: null | ApprovalStatus[];
    username?: null | string;
}

Type declaration

  • Optional approval_hash?: null | string

    Поиск по хешу одобрения

  • Optional coopname?: null | string

    Фильтр по названию кооператива

  • Optional created_from?: any

    Фильтр по дате создания (от)

  • Optional created_to?: any

    Фильтр по дате создания (до)

  • Optional statuses?: null | ApprovalStatus[]

    Фильтр по статусам одобрений

  • Optional username?: null | string

    Фильтр по имени пользователя

options?: {
    limit: number;
    page: number;
    sortBy?: null | string;
    sortOrder: string;
}

Type declaration

  • limit: number

    Количество элементов на странице

  • page: number

    Номер страницы

  • Optional sortBy?: null | string

    Ключ сортировки (например, "name")

  • sortOrder: string

    Направление сортировки ("ASC" или "DESC")