@clowdops/tsclient 0.6.8 → 0.6.9

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/dist/index.cjs CHANGED
@@ -4989,9 +4989,8 @@ var CapacityClient = class {
4989
4989
 
4990
4990
  // src/modules/bi/BIClient.ts
4991
4991
  var BIClient = class {
4992
- constructor(http, baseUrl) {
4992
+ constructor(http) {
4993
4993
  this.http = http;
4994
- this.baseUrl = baseUrl;
4995
4994
  }
4996
4995
  /**
4997
4996
  * Compact grounding catalog for a workspace's model: entities + measures +
@@ -5034,15 +5033,6 @@ var BIClient = class {
5034
5033
  triggerDiscovery(workspaceId) {
5035
5034
  return this.http.post(`/workspaces/${workspaceId}/bi/discover`, {});
5036
5035
  }
5037
- /**
5038
- * The browser URL that starts the delegated Power BI OAuth flow for a data
5039
- * project. Navigate the window here; the backend redirects to Microsoft and,
5040
- * on the callback, creates the POWERBI credential and returns to the frontend.
5041
- * `workspaceId` tells the backend which project to attach the credential to.
5042
- */
5043
- powerBIConnectUrl(workspaceId) {
5044
- return `${this.baseUrl}/connect/powerbi?workspaceId=${encodeURIComponent(workspaceId)}`;
5045
- }
5046
5036
  // ── Cross-dataset links (governance panel) ─────────────────────────────────
5047
5037
  /** Lists the workspace's cross-dataset links (with model names + probe stats). */
5048
5038
  listLinks(workspaceId) {
@@ -5592,7 +5582,8 @@ var ConnectClient = class {
5592
5582
  projectId: input.projectId,
5593
5583
  sandboxId: input.sandboxId,
5594
5584
  provider: input.provider,
5595
- requestedCapabilities: input.requestedCapabilities
5585
+ requestedCapabilities: input.requestedCapabilities,
5586
+ ...input.ownership ? { ownership: input.ownership } : {}
5596
5587
  }
5597
5588
  });
5598
5589
  if (!res.authorizationUrl || !res.expiresAt) {
@@ -7341,7 +7332,7 @@ var CloudAgentClient = class {
7341
7332
  this.platformAdmin = new PlatformAdminClient(this.http);
7342
7333
  this.deployments = new DeploymentsClient(this.http);
7343
7334
  this.capacity = new CapacityClient(this.http);
7344
- this.bi = new BIClient(this.http, this.http.baseUrl);
7335
+ this.bi = new BIClient(this.http);
7345
7336
  this.dashboards = new DashboardsClient(this.http, this.http.baseUrl);
7346
7337
  this.capabilities = new CapabilitiesClient(this.http);
7347
7338
  this.contacts = new ContactsClient(this.http);