/** * Embed Types * * Types for embed configuration and company embeds */ /** * String selector option * * Represents a selectable option with value, label, and description */ export interface StringSelectorOptionProps { /** The underlying value */ value: string; /** Display label for the option */ label: string; /** Description explaining what this option does */ description: string; } /** * Embed template * * Defines a reusable embed widget template */ export interface EmbedProps { /** Unique embed template ID */ embed_id: string; /** Name of the embed template */ name: string; /** Description of what this embed does */ description: string; /** Current status of the embed template */ status: 'active' | 'inactive' | 'archived'; /** Preview/thumbnail image for the embed */ image: { url: string; [key: string]: any; }; /** Timestamp when embed was created */ create_datetime: any; /** Timestamp of last update */ last_update_datetime: any; } /** * Embed property * * Defines a configurable property for an embed template */ export interface EmbedPropertyProps { /** Unique embed property ID */ embed_property_id: string; /** ID of the parent embed template */ embed_id: string; /** Property key/name */ property: string; /** Description of what this property controls */ description: string; /** Whether this property is required */ required?: boolean; /** Current status of the property */ status: 'active' | 'archived'; /** UI component type for editing this property (text, select, color, etc.) */ component: string; /** Display label for the property */ label: string; /** Display order/priority */ priority: number; /** Timestamp when property was created */ create_datetime: any; /** Optional selector options if component is a select/dropdown */ options?: StringSelectorOptionProps[]; /** Timestamp of last update */ last_update_datetime: any; } /** * Company embed instance * * Represents a specific embed widget configured for a company */ export interface CompanyEmbedProps { /** Unique company embed instance ID */ company_embed_id: string; /** ID of the company this embed belongs to */ company_id: string; /** Unique identifier/slug for this embed instance */ identifier: string; /** Custom name for this embed instance */ name: string; /** Current status of the embed instance */ status: 'pending' | 'active' | 'inactive' | 'archived'; /** ID of the embed template this is based on */ embed_id: string; /** Property values configured for this instance */ properties: { [key: string]: any; }; /** ID of user who generated/created this embed */ generated_by: string; /** Timestamp when embed instance was created */ create_datetime: any; /** Timestamp of last update */ last_update_datetime: any; } //# sourceMappingURL=embed.types.d.ts.map