import Restful from '../../'; /** * The Charity API allows third-party developers to search for and access details on supported charitable organizations. */ export default class Charity extends Restful { static id: string; get basePath(): string; /** * This call is used to retrieve detailed information about supported charitable organizations. * * @param charityOrgId The unique ID of the charitable organization. */ getCharityOrg(charityOrgId: string): Promise; /** * This call is used to retrieve detailed information about supported charitable organizations. * * @param limit The number of items, from the result set, returned in a single page. Valid Values: 1-100 Default: 20 * @param offset The number of items that will be skipped in the result set. * @param q A query string that matches the keywords in name, mission statement, or description. * @param registrationIds A comma-separated list of charitable organization registration IDs. */ getCharityOrgs({ limit, offset, q, registrationIds }: { limit?: string; offset?: string; q?: string; registrationIds?: string; }): Promise; /** * This call allows users to retrieve the details for a specific charitable organization using its legacy charity ID, which has also been referred to as the charity number, external ID, and PayPal Giving Fund ID. * * @param legacyCharityOrgId The legacy ID of the charitable organization. */ getCharityOrgByLegacyId(legacyCharityOrgId: string): Promise; }