UNPKG

contextual-agent-sdk

Version:

SDK for building AI agents with seamless voice-text context switching

30 lines 893 B
export type SubscriptionTier = 'BASIC' | 'PRO' | 'ENTERPRISE'; export interface ToolUsageQuota { basic: number; pro: number; enterprise: number; } export interface SubscriptionLimits { maxToolIntegrations: number; toolCategoriesAllowed: string[]; monthlyQuotas: Record<string, number>; customToolsEnabled: boolean; workflowAutomationEnabled: boolean; } export interface ToolAccessValidation { allowed: boolean; reason?: 'INSUFFICIENT_TIER' | 'QUOTA_EXCEEDED' | 'CATEGORY_RESTRICTED' | 'INTEGRATION_LIMIT_REACHED'; requiredTier?: SubscriptionTier; usage?: { current: number; limit: number; resetDate?: Date; }; } export interface SubscriptionContext { tier: SubscriptionTier; organizationId: string; limits: SubscriptionLimits; currentIntegrations: number; } //# sourceMappingURL=subscriptions.d.ts.map