UNPKG

@bunnyapp/api-client

Version:
13 lines 836 B
import Bunny from '../'; import { Mutation } from '../types/graphql'; /** * Creates a new tenant with the specified attributes * @param {string} name Account name of the tenant * @param {string} code Unique code for the tenant * @param {string} platformCode Code for the platform that the tenant is on * @param {string} accountId Id of the account that the tenant is being created for * @param {string} subscriptionId Id of the subscription that the tenant is being created for * @returns {Promise<NonNullable<Mutation['tenantCreate']>['tenant']>} The created tenant */ export default function tenantCreate(this: Bunny, name: string, code: string, platformCode: string, accountId: string, subscriptionId: string): Promise<NonNullable<NonNullable<Mutation['tenantCreate']>['tenant']>>; //# sourceMappingURL=tenant-create.d.ts.map