@posiwise/user-module 0.0.192 → 0.0.193
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -75,6 +75,8 @@ declare abstract class AccountMcpConnections extends AccountApiCredentials {
|
|
|
75
75
|
last_used_at: string | null;
|
|
76
76
|
}[];
|
|
77
77
|
loadingConnections: boolean;
|
|
78
|
+
/** Gates both the credentials card and the registered apps card. */
|
|
79
|
+
get apiMcpEnabled(): boolean;
|
|
78
80
|
/**
|
|
79
81
|
* Tenant-dynamic MCP endpoint URL, resolved from the host the user is on.
|
|
80
82
|
* The MCP host is always `brain-api-mcp.{env}.{company-domain}`, so the
|
|
@@ -642,6 +644,8 @@ export declare class UserSubscriptionDetailsComponent extends SubscriptionSeats
|
|
|
642
644
|
protected fetchData(): void;
|
|
643
645
|
/** White-label company name for "Your {brand} AI assistant" (same source as the login page and chat widget). */
|
|
644
646
|
get brandName(): string;
|
|
647
|
+
get apiMcpEnabled(): boolean;
|
|
648
|
+
get aiAssistantEnabled(): boolean;
|
|
645
649
|
onSaveDetails(): void;
|
|
646
650
|
handleAddressChange(event: any): void;
|
|
647
651
|
trackByProduct(_index: number, item: Product): number;
|
|
@@ -797,8 +801,8 @@ export declare class AiKnowledgeTabComponent {
|
|
|
797
801
|
activeTab: 'files' | 'notes';
|
|
798
802
|
/** Permissions arrive after a hard refresh; decide nothing until they have. */
|
|
799
803
|
get ready(): boolean;
|
|
800
|
-
/**
|
|
801
|
-
get
|
|
804
|
+
/** Behind a flag for now. Checked here, not by a route guard — see the route. */
|
|
805
|
+
get isEnabled(): boolean;
|
|
802
806
|
get subscription(): (Subscription & {
|
|
803
807
|
rag_use_own_data?: boolean;
|
|
804
808
|
}) | null;
|