/** * SmartyMeet Dev03 API REST * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.1 * Contact: developer@smartymeet.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { TenantAttributesAddressSchema } from './TenantAttributesAddressSchema'; import type { TenantAttributesSettingsSchema } from './TenantAttributesSettingsSchema'; import type { ResourceTimestampsSchema } from './ResourceTimestampsSchema'; /** * * @export * @interface TenantAttributesSchema */ export interface TenantAttributesSchema { /** * * @type {string} * @memberof TenantAttributesSchema */ name: string; /** * * @type {string} * @memberof TenantAttributesSchema */ username?: string; /** * * @type {string} * @memberof TenantAttributesSchema */ email: string; /** * * @type {string} * @memberof TenantAttributesSchema */ status?: string; /** * Tenant short code - the tenant's global handle. NEW codes must be 3-32 lowercase letters/digits (no hyphens; server-validated) and are globally unique (claim registry; duplicates are rejected with 400). Derives the virtual employee's default address boe.{shortCode}@ai.{domain}. Immutable after create. Legacy tenants may carry a '-{n}'-suffixed value. * @type {string} * @memberof TenantAttributesSchema */ shortCode?: string; /** * ISO timestamp the tenant was archived (soft-deleted). Present only on archived/purging tenants; null otherwise. The deletion deadline is archivedAt + the retention window (90 days on prod/test). * @type {Date} * @memberof TenantAttributesSchema */ archivedAt?: Date | null; /** * Computed deadline after which an archived tenant is automatically and permanently purged (= archivedAt + the environment's retention window). Null while the tenant is active. Backend-computed and environment-correct, so clients render it directly without hardcoding the retention window. The hourly sweeper collects tenants past this deadline, so the actual purge lands within ~1h after it. * @type {Date} * @memberof TenantAttributesSchema */ deleteAt?: Date | null; /** * * @type {ResourceTimestampsSchema} * @memberof TenantAttributesSchema */ timestamps?: ResourceTimestampsSchema; /** * * @type {string} * @memberof TenantAttributesSchema */ phone?: string; /** * * @type {TenantAttributesAddressSchema} * @memberof TenantAttributesSchema */ address?: TenantAttributesAddressSchema; /** * * @type {TenantAttributesSettingsSchema} * @memberof TenantAttributesSchema */ settings?: TenantAttributesSettingsSchema; /** * Billing plan. The API Gateway authorizer maps custom:userPlan onto a usage plan key and falls back to `system` - the PLATFORM's own plan - for anything it does not recognise, so an invented name does not fail, it silently meters that customer against our internal quota. `enterprise` was such a name (a second word for `corporate`) and was folded into it 2026-07-27. NOTE: the server checks this list explicitly, because validate_item honours type/pattern/length but IGNORES enum. * @type {TenantAttributesSchemaPlanEnum} * @memberof TenantAttributesSchema */ plan: TenantAttributesSchemaPlanEnum; /** * * @type {Array} * @memberof TenantAttributesSchema */ activeLanguages?: Array; /** * * @type {Date} * @memberof TenantAttributesSchema */ trialExpiryDate?: Date; /** * * @type {string} * @memberof TenantAttributesSchema */ timezone?: string; /** * * @type {string} * @memberof TenantAttributesSchema */ logoUrl?: string; /** * DEPRECATED (Arc B B3d): the virtual employee's phone lives on its USER row - read it via the tenant's boeUser relationship. Tenant responses no longer carry this attribute. * @type {string} * @memberof TenantAttributesSchema * @deprecated */ boePhone?: string; /** * DEPRECATED (Arc B B3d): the virtual employee's email lives on its USER row - read it via the tenant's boeUser relationship. Tenant responses no longer carry this attribute; client-supplied values are ignored. * @type {string} * @memberof TenantAttributesSchema * @deprecated */ boeEmail?: string; /** * Tenant-wide default form used for guest submissions when no job-specific form is configured. Set to null to clear. * @type {string} * @memberof TenantAttributesSchema */ defaultFormId?: string | null; } /** * @export */ export declare const TenantAttributesSchemaPlanEnum: { readonly Startup: "startup"; readonly Growth: "growth"; readonly Expansion: "expansion"; readonly Corporate: "corporate"; readonly System: "system"; }; export type TenantAttributesSchemaPlanEnum = typeof TenantAttributesSchemaPlanEnum[keyof typeof TenantAttributesSchemaPlanEnum]; /** * Check if a given object implements the TenantAttributesSchema interface. */ export declare function instanceOfTenantAttributesSchema(value: object): value is TenantAttributesSchema; export declare function TenantAttributesSchemaFromJSON(json: any): TenantAttributesSchema; export declare function TenantAttributesSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): TenantAttributesSchema; export declare function TenantAttributesSchemaToJSON(json: any): TenantAttributesSchema; export declare function TenantAttributesSchemaToJSONTyped(value?: TenantAttributesSchema | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=TenantAttributesSchema.d.ts.map