@bunnyapp/api-client
Version:
Node.js client for Bunny CRM
10 lines • 670 B
TypeScript
import { AccountAttributes, Mutation } from '../generated/graphql';
import Bunny from '../';
/**
* Update an account by tenant code
* @param {string} tenantCode The unique code that represents the tenant
* @param {AccountAttributes} attributes The attributes to update the account with
* @returns {Promise<NonNullable<NonNullable<Mutation['accountUpdate']>['account']> | undefined>} The updated account
*/
export default function accountUpdateByTenantCode(this: Bunny, tenantCode: string, attributes: AccountAttributes): Promise<NonNullable<NonNullable<Mutation['accountUpdate']>['account']> | undefined>;
//# sourceMappingURL=account-update-by-tenant-code.d.ts.map