@bunnyapp/api-client
Version:
Node.js client for Bunny CRM
22 lines • 932 B
TypeScript
import { TenantMetricsUpdatePayload } from '../generated/graphql';
interface GraphQLResponse<T> {
data?: T;
errors?: Array<{
message: string;
}>;
}
interface TenantMetricsUpdateResponse {
tenantMetricsUpdate?: TenantMetricsUpdatePayload;
}
/**
* Update tenant metrics
* @param {string} code The code of the tenant
* @param {string} lastLogin The last login date of the tenant
* @param {number} userCount The number of users in the tenant
* @param {Record<string, any>} utilizationMetrics The utilization metrics of the tenant
**/
export default function tenantMetricsUpdate(this: {
query: (query: string, variables: any) => Promise<GraphQLResponse<TenantMetricsUpdateResponse>>;
}, code: string | undefined, lastLogin?: string | Date | null, userCount?: number | null, utilizationMetrics?: Record<string, any> | null): Promise<boolean>;
export {};
//# sourceMappingURL=tenant-metrics-update.d.ts.map