import type * as Rulebricks from "../index.js"; export interface ContextDetail extends Rulebricks.ContextBase { schema?: Rulebricks.ContextSchema | undefined; /** The field key used as the unique identifier for instances. */ identity_fact?: (string | null) | undefined; /** User groups that can interact with this context. */ user_groups?: (string[] | null) | undefined; /** Folder/tag this context belongs to. */ folder?: (ContextDetail.Folder | null) | undefined; /** Rules bound to this context. */ bound_rules?: ContextDetail.BoundRules.Item[] | undefined; /** Flows bound to this context (via their origin rule). */ bound_flows?: ContextDetail.BoundFlows.Item[] | undefined; relationships?: ContextDetail.Relationships | undefined; /** When the context was created. */ created_at?: string | undefined; /** When the context was last updated. */ updated_at?: string | undefined; } export declare namespace ContextDetail { /** * Folder/tag this context belongs to. */ interface Folder { id?: string | undefined; name?: string | undefined; } type BoundRules = BoundRules.Item[]; namespace BoundRules { interface Item { id?: string | undefined; name?: string | undefined; slug?: string | undefined; published?: boolean | undefined; } } type BoundFlows = BoundFlows.Item[]; namespace BoundFlows { interface Item { id?: string | undefined; name?: string | undefined; slug?: string | undefined; published?: boolean | undefined; origin_rule?: (Item.OriginRule | null) | undefined; } namespace Item { interface OriginRule { id?: string | undefined; name?: string | undefined; slug?: string | undefined; } } } interface Relationships { outgoing?: Rulebricks.ContextRelationshipOutgoing[] | undefined; incoming?: Rulebricks.ContextRelationshipIncoming[] | undefined; } }