IOutput: {
    capitalContributor?: undefined | {
        _created_at: unknown;
        _id: string;
        _updated_at: unknown;
        about?: null | string;
        appendixes?: null | string[];
        blagorost_agreement_hash?: null | string;
        blagorost_offer_hash?: null | string;
        blagorost_wallet?: {
            agreement_id: unknown;
            available: string;
            blockNum?: null | number;
            blocked: string;
            coopname: string;
            id: unknown;
            membership_contribution: string;
            program_id: unknown;
            program_type?: null | ProgramType;
            username: string;
        };
        block_num?: null | number;
        blockchain_status?: null | string;
        contract?: {
            document: {
                doc_hash: string;
                hash: string;
                meta: unknown;
                meta_hash: string;
                signatures: {
                    id: number;
                    is_valid?: null | boolean;
                    meta: unknown;
                    public_key: string;
                    signature: string;
                    signed_at: string;
                    signed_hash: string;
                    signer: string;
                    signer_certificate?: ({ username: string; type: AccountType; first_name: string; last_name: string; middle_name?: string | null | undefined; inn: string; } | { username: string; type: AccountType; first_name: string; last_name: string; middle_name?: string | ... 1 more ... | undefined; } | { ...; }) & {};
                }[];
                version: string;
            };
            hash: string;
            rawDocument?: {
                binary: string;
                full_title: string;
                hash: string;
                html: string;
                meta: unknown;
            };
        };
        contributed_as_author?: null | string;
        contributed_as_contributor?: null | string;
        contributed_as_coordinator?: null | string;
        contributed_as_creator?: null | string;
        contributed_as_investor?: null | string;
        contributed_as_propertor?: null | string;
        contributor_hash: string;
        coopname: string;
        created_at?: null | string;
        debt_amount?: null | string;
        display_name?: null | string;
        document_parameters?: {
            blagorost_agreement_created_at?: null | string;
            blagorost_agreement_number?: null | string;
            blagorost_contributor_contract_created_at?: null | string;
            blagorost_contributor_contract_number?: null | string;
            blagorost_storage_agreement_created_at?: null | string;
            blagorost_storage_agreement_number?: null | string;
            generator_agreement_created_at?: null | string;
            generator_agreement_number?: null | string;
        };
        energy?: null | number;
        generation_contract_hash?: null | string;
        generation_wallet?: {
            agreement_id: unknown;
            available: string;
            blockNum?: null | number;
            blocked: string;
            coopname: string;
            id: unknown;
            membership_contribution: string;
            program_id: unknown;
            program_type?: null | ProgramType;
            username: string;
        };
        generator_offer_hash?: null | string;
        hours_per_day?: null | number;
        id?: null | number;
        is_external_blagorost_agreement?: null | boolean;
        is_external_contract?: null | boolean;
        last_energy_update?: null | string;
        level?: null | number;
        main_wallet?: {
            agreement_id: unknown;
            available: string;
            blockNum?: null | number;
            blocked: string;
            coopname: string;
            id: unknown;
            membership_contribution: string;
            program_id: unknown;
            program_type?: null | ProgramType;
            username: string;
        };
        memo?: null | string;
        present: boolean;
        program_key?: null | string;
        rate_per_hour?: null | string;
        status: ContributorStatus;
        storage_agreement_hash?: null | string;
        username: string;
    };
}

Type declaration

  • Optional capitalContributor?: undefined | {
        _created_at: unknown;
        _id: string;
        _updated_at: unknown;
        about?: null | string;
        appendixes?: null | string[];
        blagorost_agreement_hash?: null | string;
        blagorost_offer_hash?: null | string;
        blagorost_wallet?: {
            agreement_id: unknown;
            available: string;
            blockNum?: null | number;
            blocked: string;
            coopname: string;
            id: unknown;
            membership_contribution: string;
            program_id: unknown;
            program_type?: null | ProgramType;
            username: string;
        };
        block_num?: null | number;
        blockchain_status?: null | string;
        contract?: {
            document: {
                doc_hash: string;
                hash: string;
                meta: unknown;
                meta_hash: string;
                signatures: {
                    id: number;
                    is_valid?: null | boolean;
                    meta: unknown;
                    public_key: string;
                    signature: string;
                    signed_at: string;
                    signed_hash: string;
                    signer: string;
                    signer_certificate?: ({ username: string; type: AccountType; first_name: string; last_name: string; middle_name?: string | null | undefined; inn: string; } | { username: string; type: AccountType; first_name: string; last_name: string; middle_name?: string | ... 1 more ... | undefined; } | { ...; }) & {};
                }[];
                version: string;
            };
            hash: string;
            rawDocument?: {
                binary: string;
                full_title: string;
                hash: string;
                html: string;
                meta: unknown;
            };
        };
        contributed_as_author?: null | string;
        contributed_as_contributor?: null | string;
        contributed_as_coordinator?: null | string;
        contributed_as_creator?: null | string;
        contributed_as_investor?: null | string;
        contributed_as_propertor?: null | string;
        contributor_hash: string;
        coopname: string;
        created_at?: null | string;
        debt_amount?: null | string;
        display_name?: null | string;
        document_parameters?: {
            blagorost_agreement_created_at?: null | string;
            blagorost_agreement_number?: null | string;
            blagorost_contributor_contract_created_at?: null | string;
            blagorost_contributor_contract_number?: null | string;
            blagorost_storage_agreement_created_at?: null | string;
            blagorost_storage_agreement_number?: null | string;
            generator_agreement_created_at?: null | string;
            generator_agreement_number?: null | string;
        };
        energy?: null | number;
        generation_contract_hash?: null | string;
        generation_wallet?: {
            agreement_id: unknown;
            available: string;
            blockNum?: null | number;
            blocked: string;
            coopname: string;
            id: unknown;
            membership_contribution: string;
            program_id: unknown;
            program_type?: null | ProgramType;
            username: string;
        };
        generator_offer_hash?: null | string;
        hours_per_day?: null | number;
        id?: null | number;
        is_external_blagorost_agreement?: null | boolean;
        is_external_contract?: null | boolean;
        last_energy_update?: null | string;
        level?: null | number;
        main_wallet?: {
            agreement_id: unknown;
            available: string;
            blockNum?: null | number;
            blocked: string;
            coopname: string;
            id: unknown;
            membership_contribution: string;
            program_id: unknown;
            program_type?: null | ProgramType;
            username: string;
        };
        memo?: null | string;
        present: boolean;
        program_key?: null | string;
        rate_per_hour?: null | string;
        status: ContributorStatus;
        storage_agreement_hash?: null | string;
        username: string;
    }

    Получение участника по ID, имени пользователя или хешу участника