@becomes/cms-cloud-client
Version:
SDK for accessing BCMS Cloud API
20 lines (19 loc) • 753 B
TypeScript
import { Instance, InstanceLicense, InstanceOrg, InstanceProtected, InstanceProtectedWithStatus, InstanceServer, InstanceStatus, InstanceUser } from '../models';
export declare class InstanceFactory {
static instance(data: {
status?: InstanceStatus;
name?: string;
nameEncoded?: string;
description?: string;
imageUri?: string;
creatorId?: string;
org?: InstanceOrg;
users?: InstanceUser[];
domain?: string;
server?: InstanceServer;
license?: InstanceLicense;
partner?: boolean;
}): Instance;
static toProtected(instance: Instance): InstanceProtected;
static toProtectedWithStats(instance: Instance): Promise<InstanceProtectedWithStatus>;
}