@bunnyapp/api-client
Version:
Node.js client for Bunny CRM
11 lines • 566 B
TypeScript
import Bunny from '../';
import { Mutation } from '../types/graphql';
/**
* Updates an existing tenant
* @param {string} id The ID of the tenant to update
* @param {string} code New code for the tenant
* @param {string} name New name for the tenant
* @returns {Promise<NonNullable<Mutation['tenantUpdate']>['tenant']>} The updated tenant
*/
export default function tenantUpdate(this: Bunny, id: string, code?: string, name?: string): Promise<NonNullable<NonNullable<Mutation['tenantUpdate']>['tenant']> | undefined>;
//# sourceMappingURL=tenant-update.d.ts.map