IOutput: {
    capitalSegments: {
        currentPage: number;
        items: {
            _created_at: unknown;
            _id: string;
            _updated_at: unknown;
            author_base: string;
            author_bonus: string;
            available_for_program: string;
            available_for_wallet: string;
            block_num?: null | number;
            capital_contributor_shares: string;
            contributor_bonus: string;
            coopname: string;
            coordinator_base: string;
            coordinator_investments: string;
            creator_base: string;
            creator_bonus: string;
            debt_amount: string;
            debt_settled: string;
            direct_creator_bonus: string;
            display_name: string;
            equal_author_bonus: string;
            has_vote: boolean;
            id?: null | number;
            intellectual_cost: string;
            investor_amount: string;
            investor_base: string;
            is_author: boolean;
            is_completed: boolean;
            is_contributor: boolean;
            is_coordinator: boolean;
            is_creator: boolean;
            is_investor: boolean;
            is_propertor: boolean;
            is_votes_calculated: boolean;
            last_author_base_reward_per_share: number;
            last_author_bonus_reward_per_share: number;
            last_contributor_reward_per_share: number;
            last_known_coordinators_investment_pool: string;
            last_known_creators_base_pool: string;
            last_known_invest_pool: string;
            present: boolean;
            project_hash: string;
            property_base: string;
            provisional_amount: string;
            share_percent: number;
            status: SegmentStatus;
            total_segment_base_cost: string;
            total_segment_bonus_cost: string;
            total_segment_cost: string;
            username: string;
            value?: null | string;
            voting_bonus: string;
        }[];
        totalCount: number;
        totalPages: number;
    };
}

Type declaration

  • capitalSegments: {
        currentPage: number;
        items: {
            _created_at: unknown;
            _id: string;
            _updated_at: unknown;
            author_base: string;
            author_bonus: string;
            available_for_program: string;
            available_for_wallet: string;
            block_num?: null | number;
            capital_contributor_shares: string;
            contributor_bonus: string;
            coopname: string;
            coordinator_base: string;
            coordinator_investments: string;
            creator_base: string;
            creator_bonus: string;
            debt_amount: string;
            debt_settled: string;
            direct_creator_bonus: string;
            display_name: string;
            equal_author_bonus: string;
            has_vote: boolean;
            id?: null | number;
            intellectual_cost: string;
            investor_amount: string;
            investor_base: string;
            is_author: boolean;
            is_completed: boolean;
            is_contributor: boolean;
            is_coordinator: boolean;
            is_creator: boolean;
            is_investor: boolean;
            is_propertor: boolean;
            is_votes_calculated: boolean;
            last_author_base_reward_per_share: number;
            last_author_bonus_reward_per_share: number;
            last_contributor_reward_per_share: number;
            last_known_coordinators_investment_pool: string;
            last_known_creators_base_pool: string;
            last_known_invest_pool: string;
            present: boolean;
            project_hash: string;
            property_base: string;
            provisional_amount: string;
            share_percent: number;
            status: SegmentStatus;
            total_segment_base_cost: string;
            total_segment_bonus_cost: string;
            total_segment_cost: string;
            username: string;
            value?: null | string;
            voting_bonus: string;
        }[];
        totalCount: number;
        totalPages: number;
    }

    Получение списка сегментов кооператива с фильтрацией и пагинацией

    • currentPage: number

      Текущая страница

    • items: {
          _created_at: unknown;
          _id: string;
          _updated_at: unknown;
          author_base: string;
          author_bonus: string;
          available_for_program: string;
          available_for_wallet: string;
          block_num?: null | number;
          capital_contributor_shares: string;
          contributor_bonus: string;
          coopname: string;
          coordinator_base: string;
          coordinator_investments: string;
          creator_base: string;
          creator_bonus: string;
          debt_amount: string;
          debt_settled: string;
          direct_creator_bonus: string;
          display_name: string;
          equal_author_bonus: string;
          has_vote: boolean;
          id?: null | number;
          intellectual_cost: string;
          investor_amount: string;
          investor_base: string;
          is_author: boolean;
          is_completed: boolean;
          is_contributor: boolean;
          is_coordinator: boolean;
          is_creator: boolean;
          is_investor: boolean;
          is_propertor: boolean;
          is_votes_calculated: boolean;
          last_author_base_reward_per_share: number;
          last_author_bonus_reward_per_share: number;
          last_contributor_reward_per_share: number;
          last_known_coordinators_investment_pool: string;
          last_known_creators_base_pool: string;
          last_known_invest_pool: string;
          present: boolean;
          project_hash: string;
          property_base: string;
          provisional_amount: string;
          share_percent: number;
          status: SegmentStatus;
          total_segment_base_cost: string;
          total_segment_bonus_cost: string;
          total_segment_cost: string;
          username: string;
          value?: null | string;
          voting_bonus: string;
      }[]

      Элементы текущей страницы

    • totalCount: number

      Общее количество элементов

    • totalPages: number

      Общее количество страниц