@posiwise/user-module 0.0.155 → 0.0.157

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@posiwise/user-module",
3
- "version": "0.0.155",
3
+ "version": "0.0.157",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^21.2.0",
6
6
  "@angular/common": "^21.2.6",
@@ -85,6 +85,7 @@ declare class AccountDetailsComponent extends AppBaseComponent implements OnInit
85
85
  showApiToken: boolean;
86
86
  showApiClientId: boolean;
87
87
  refreshingTokens: boolean;
88
+ updatingScope: boolean;
88
89
  connections: {
89
90
  id: number;
90
91
  client_name: string;
@@ -125,6 +126,17 @@ declare class AccountDetailsComponent extends AppBaseComponent implements OnInit
125
126
  toggleApiClientIdVisibility(): void;
126
127
  refreshApiTokens(): void;
127
128
  private performTokenRefresh;
129
+ get currentApiTokenScope(): string;
130
+ /**
131
+ * Tenant-dynamic MCP endpoint URL. Swaps the frontend subdomain for the
132
+ * brain-api-mcp host while keeping the company domain, so it follows the URL
133
+ * the user is on (www.dev.posiwise.com -> brain-api-mcp.dev.posiwise.com).
134
+ */
135
+ get mcpEndpointUrl(): string;
136
+ /** Tenant company name (domain-metadata driven), falling back to PosiWise. */
137
+ get mcpCompanyName(): string;
138
+ changeApiTokenScope(scope: string): void;
139
+ private performScopeUpdate;
128
140
  static ɵfac: i0.ɵɵFactoryDeclaration<AccountDetailsComponent, never>;
129
141
  static ɵcmp: i0.ɵɵComponentDeclaration<AccountDetailsComponent, "pw-account-details", never, {}, {}, never, never, false, never>;
130
142
  }