interface IInput {
    filter?: {
        contributor_hash?: null | string;
        coopname?: null | string;
        display_name?: null | string;
        is_external_contract?: null | boolean;
        project_hash?: null | string;
        status?: null | ContributorStatus;
        username?: null | string;
    };
    options?: {
        limit: number;
        page: number;
        sortBy?: null | string;
        sortOrder: string;
    };
}

Properties

Properties

filter?: {
    contributor_hash?: null | string;
    coopname?: null | string;
    display_name?: null | string;
    is_external_contract?: null | boolean;
    project_hash?: null | string;
    status?: null | ContributorStatus;
    username?: null | string;
}

Type declaration

  • Optional contributor_hash?: null | string

    Фильтр по хешу участника

  • Optional coopname?: null | string

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

  • Optional display_name?: null | string

    Поиск по ФИО или названию организации (частичное совпадение)

  • Optional is_external_contract?: null | boolean

    Фильтр по наличию внешнего контракта

  • Optional project_hash?: null | string

    Фильтр по project_hash - показывает только участников, у которых в appendixes есть указанный project_hash

  • Optional status?: null | ContributorStatus

    Фильтр по статусу участника

  • 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")