@bunnyapp/api-client
Version:
Node.js client for Bunny CRM
9 lines • 395 B
TypeScript
import Bunny from '../';
import { Query } from '../types/graphql';
/**
* Fetches tenant information by code
* @param {string} code - Unique code for the tenant
* @returns {Promise<NonNullable<Query['tenant']>>} Tenant object
*/
export default function getTenantByCode(this: Bunny, code: string): Promise<NonNullable<Query['tenant']> | undefined>;
//# sourceMappingURL=tenant-by-code.d.ts.map