/** * Endaoment API * The official Endaoment API & SDK endpoints * * The version of the OpenAPI document: 0.0.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import * as runtime from '../runtime'; import type { DonationSwapDto, FundDto, OrgDto, TransactionDto } from '../models'; export interface GetDeployedOrgsRequest { count?: number; offset?: number; } export interface GetDonationSwapTransactionRequest { ein: string; amountIn: string; tokenContractAddress?: string; } export interface GetOrgDeployTransactionRequest { ein: string; } export interface GetVisibleFundsRequest { count?: number; offset?: number; } export interface SearchDeployedOrgsRequest { name?: string; nteeMajorCodes?: string; count?: number; offset?: number; } export interface SearchVisibleFundsRequest { name: string; count?: number; offset?: number; } /** * */ export declare class EndaomentSdkApi extends runtime.BaseAPI { /** * Only organizations that already have a deployed contract on Endaoment will be returned * Get a list of deployed Org contracts */ getDeployedOrgsRaw(requestParameters: GetDeployedOrgsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>>; /** * Only organizations that already have a deployed contract on Endaoment will be returned * Get a list of deployed Org contracts */ getDeployedOrgs(requestParameters?: GetDeployedOrgsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Get the transaction information required to swap and donate a given token amount to an org */ getDonationSwapTransactionRaw(requestParameters: GetDonationSwapTransactionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Get the transaction information required to swap and donate a given token amount to an org */ getDonationSwapTransaction(requestParameters: GetDonationSwapTransactionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Get the transaction information required to deploy a given org */ getOrgDeployTransactionRaw(requestParameters: GetOrgDeployTransactionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Get the transaction information required to deploy a given org */ getOrgDeployTransaction(requestParameters: GetOrgDeployTransactionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Only community and transparent funds will be returned * Get a list of Endaoment funds */ getVisibleFundsRaw(requestParameters: GetVisibleFundsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>>; /** * Only community and transparent funds will be returned * Get a list of Endaoment funds */ getVisibleFunds(requestParameters?: GetVisibleFundsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Note: If using `name` and `nteeMajorCodes`, the search will perform an AND operation of both inputs * Get a list of deployed Endaoment Orgs, filtered by search parameter */ searchDeployedOrgsRaw(requestParameters: SearchDeployedOrgsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>>; /** * Note: If using `name` and `nteeMajorCodes`, the search will perform an AND operation of both inputs * Get a list of deployed Endaoment Orgs, filtered by search parameter */ searchDeployedOrgs(requestParameters?: SearchDeployedOrgsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Only community and transparent funds will be returned * Get a list of Endaoment Funds, filtered by search paramenter */ searchVisibleFundsRaw(requestParameters: SearchVisibleFundsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>>; /** * Only community and transparent funds will be returned * Get a list of Endaoment Funds, filtered by search paramenter */ searchVisibleFunds(requestParameters: SearchVisibleFundsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; }