/** * Linkbreakers API * This is a documentation of all the APIs of Linkbreakers * * The version of the OpenAPI document: 1.118.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * Serves as the tenant boundary in Linkbreakers, grouping links, members, settings, billing state, * and analytics under a single organization's environment. * @export * @interface Workspace */ export interface Workspace { /** * * @type {string} * @memberof Workspace */ country?: string; /** * * @type {Date} * @memberof Workspace */ createdAt?: Date; /** * * @type {string} * @memberof Workspace */ description?: string; /** * - DIGEST_FREQUENCY_UNSPECIFIED: Not specified; defaults to monthly * - DIGEST_FREQUENCY_NONE: No digest emails * - DIGEST_FREQUENCY_WEEKLY: Weekly digest every Monday * - DIGEST_FREQUENCY_MONTHLY: Monthly digest on the 1st of each month * @type {WorkspaceDigestFrequencyEnum} * @memberof Workspace */ digestFrequency?: WorkspaceDigestFrequencyEnum; /** * * @type {boolean} * @memberof Workspace */ enforceMfa?: boolean; /** * * @type {Date} * @memberof Workspace */ enrollRequestedAt?: Date; /** * Frequently Asked Questions about this workspace stored as JSON * @type {string} * @memberof Workspace */ faq?: string; /** * * @type {string} * @memberof Workspace */ id?: string; /** * * @type {Date} * @memberof Workspace */ inactiveSince?: Date; /** * * @type {string} * @memberof Workspace */ linkSettingId?: string; /** * * @type {string} * @memberof Workspace */ name?: string; /** * * @type {Date} * @memberof Workspace */ publishedAt?: Date; /** * * @type {string} * @memberof Workspace */ shortDescription?: string; /** * * @type {string} * @memberof Workspace */ slug?: string; /** * - SUBSCRIPTION_TYPE_UNSPECIFIED: Subscription plan not yet assigned * - SUBSCRIPTION_TYPE_FREE_TRIAL: Workspace is currently in the free trial period * - SUBSCRIPTION_TYPE_SPONSORED_PRO: Workspace is on the sponsored pro plan with full pro features * - SUBSCRIPTION_TYPE_PRO_PLAN: Workspace has an active Pro plan subscription * - SUBSCRIPTION_TYPE_ENTERPRISE_PLAN: Workspace is managed under an Enterprise contract * - SUBSCRIPTION_TYPE_LIGHT_PLAN: Workspace has an active Light plan subscription * @type {WorkspaceSubscriptionTypeEnum} * @memberof Workspace */ subscriptionType?: WorkspaceSubscriptionTypeEnum; /** * * @type {string} * @memberof Workspace */ tags?: string; /** * * @type {string} * @memberof Workspace */ timezone?: string; /** * * @type {Date} * @memberof Workspace */ trialEndsAt?: Date; /** * * @type {Date} * @memberof Workspace */ updatedAt?: Date; /** * * @type {Date} * @memberof Workspace */ verifiedAt?: Date; /** * * @type {string} * @memberof Workspace */ website?: string; } /** * @export */ export declare const WorkspaceDigestFrequencyEnum: { readonly DigestFrequencyUnspecified: "DIGEST_FREQUENCY_UNSPECIFIED"; readonly DigestFrequencyNone: "DIGEST_FREQUENCY_NONE"; readonly DigestFrequencyWeekly: "DIGEST_FREQUENCY_WEEKLY"; readonly DigestFrequencyMonthly: "DIGEST_FREQUENCY_MONTHLY"; }; export type WorkspaceDigestFrequencyEnum = typeof WorkspaceDigestFrequencyEnum[keyof typeof WorkspaceDigestFrequencyEnum]; /** * @export */ export declare const WorkspaceSubscriptionTypeEnum: { readonly SubscriptionTypeUnspecified: "SUBSCRIPTION_TYPE_UNSPECIFIED"; readonly SubscriptionTypeFreeTrial: "SUBSCRIPTION_TYPE_FREE_TRIAL"; readonly SubscriptionTypeSponsoredPro: "SUBSCRIPTION_TYPE_SPONSORED_PRO"; readonly SubscriptionTypeProPlan: "SUBSCRIPTION_TYPE_PRO_PLAN"; readonly SubscriptionTypeEnterprisePlan: "SUBSCRIPTION_TYPE_ENTERPRISE_PLAN"; readonly SubscriptionTypeLightPlan: "SUBSCRIPTION_TYPE_LIGHT_PLAN"; }; export type WorkspaceSubscriptionTypeEnum = typeof WorkspaceSubscriptionTypeEnum[keyof typeof WorkspaceSubscriptionTypeEnum]; /** * Check if a given object implements the Workspace interface. */ export declare function instanceOfWorkspace(value: object): value is Workspace; export declare function WorkspaceFromJSON(json: any): Workspace; export declare function WorkspaceFromJSONTyped(json: any, ignoreDiscriminator: boolean): Workspace; export declare function WorkspaceToJSON(json: any): Workspace; export declare function WorkspaceToJSONTyped(value?: Workspace | null, ignoreDiscriminator?: boolean): any;