UNPKG

@becomes/cms-cloud-client

Version:

SDK for accessing BCMS Cloud API

23 lines (22 loc) 658 B
import type { ObjectSchema } from '@becomes/purple-cheetah/types'; export declare enum InstanceLicenseType { FREE = "FREE", PAID = "PAID", FREE_SELF = "FREE_SELF", PAID_SELF = "PAID_SELF", HOSTED = "HOSTED" } export interface InstanceLicense { type: InstanceLicenseType; managed: boolean; key: string; checkoutId?: string; withFreeTrail?: boolean; cancelUrl?: string; updateUrl?: string; lastPayment?: number; nextPayment?: number; terminateAt?: number; } export type InstanceLicenseProtected = Omit<InstanceLicense, 'key' | 'checkoutId'>; export declare const InstanceLicenseSchema: ObjectSchema;