@vrplatform/api 1.3.1-stage.6180 → 1.3.1-stage.6184

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
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.3.1-stage.6180",
6
+ "version": "1.3.1-stage.6184",
7
7
  "description": "",
8
8
  "main": "build/main/index.js",
9
9
  "module": "build/module/index.js",
@@ -2685,7 +2685,7 @@ export interface paths {
2685
2685
  cookie?: never;
2686
2686
  };
2687
2687
  /**
2688
- * @description UI bootstrap call: the authenticated user plus the resolved team (embedded-session team, x-team-id header, or the oldest active membership), including placement, partner managed-team region discovery, membership, owner access, effective feature IDs, issue counts, and frontend setup context. Embedded identities use sub instead of email, so user.email is null for them.
2688
+ * @description UI bootstrap call: the authenticated user plus the resolved team (embedded-session team, x-team-id header, or the oldest active membership), including placement, partner managed-team region discovery, membership accessSource (direct or partnerDerived), effective permissions, owner access, effective feature IDs, issue counts, and frontend setup context. Embedded identities use sub instead of email, so user.email is null for them.
2689
2689
  *
2690
2690
  * Required scope: self:read
2691
2691
  */
@@ -2737,7 +2737,7 @@ export interface paths {
2737
2737
  cookie?: never;
2738
2738
  };
2739
2739
  /**
2740
- * @description List teams available to the authenticated user from the control plane. VRPlatform admins receive all teams regardless of membership. Other users receive directly assigned teams and child teams of assigned partners. Supports comma-separated team IDs, team-name search, lifecycle and type filters, deterministic sorting, and pagination across regions. ID filtering never expands the authenticated access scope.
2740
+ * @description List teams available to the authenticated user from the control plane. VRPlatform admins receive all teams regardless of membership. Direct memberships are always included. When UI Permission Roles is enabled for a managed team, partner membership adds that team only when managedTeamAccess is all; assigned access requires a direct child-team membership. Legacy authorization mode retains broad partner-derived team access. Supports comma-separated team IDs, team-name search, lifecycle and type filters, deterministic sorting, and pagination across regions. ID filtering never expands the authenticated access scope.
2741
2741
  *
2742
2742
  * Required scope: self:read
2743
2743
  */
@@ -3351,7 +3351,7 @@ export interface paths {
3351
3351
  cookie?: never;
3352
3352
  };
3353
3353
  /**
3354
- * @description List members of the partner itself with their partner-team role, status, invitation timestamp, and child-team memberships
3354
+ * @description List members of the partner itself with partner permission bundles, managed-team access mode, role, status, invitation timestamp, and child-team memberships including their permission bundles
3355
3355
  *
3356
3356
  * Required scope: team-members:read
3357
3357
  */
@@ -3394,7 +3394,7 @@ export interface paths {
3394
3394
  };
3395
3395
  get?: never;
3396
3396
  /**
3397
- * @description Replace a partner member's child-team permissions: listed teams are upserted with the given role (admin | user), unlisted child-team memberships are removed, and partner/owner memberships are never touched
3397
+ * @description Update a partner member's managed-team access mode and replace their explicit child-team assignments. Omitted managedTeamAccess preserves the current mode. Listed teams are upserted with the given compatibility role (admin | user), unlisted child-team memberships are removed, and partner/owner memberships are never touched. Assigned access may contain zero teams; all access makes every managed team available while preserving explicit assignments for a later switch back to assigned.
3398
3398
  *
3399
3399
  * Required scope: partner-memberships:manage
3400
3400
  */
@@ -5570,7 +5570,7 @@ export interface paths {
5570
5570
  get?: never;
5571
5571
  put?: never;
5572
5572
  /**
5573
- * @description Invite a property-manager member to the current team. Emails already used by owner accounts are rejected as bad requests. Provider-suppressed email addresses are rejected as bad requests with a copy-link alternative.
5573
+ * @description Invite a property-manager member to the current team. Re-inviting an existing membership with the same role preserves its complete permissionBundles array. Requesting a different role replaces the complete permissionBundles array with the compatibility defaults. The authoritative membership and authorization cache update before retryable email delivery begins. A delivery failure returns an error without rolling back the committed membership change. Emails already used by owner accounts are rejected as bad requests. Provider-suppressed email addresses are rejected as bad requests with a copy-link alternative.
5574
5574
  *
5575
5575
  * Required scope: team-members:manage
5576
5576
  */
@@ -5590,7 +5590,7 @@ export interface paths {
5590
5590
  };
5591
5591
  get?: never;
5592
5592
  /**
5593
- * @description Update a property-manager member legacy role and synchronized permission bundles for the current team. UI Permission Roles prevents demoting the last direct access manager.
5593
+ * @description Update a property-manager member legacy role and synchronized permission bundles for the current team. Submitting the member's existing role preserves the complete permissionBundles array. Changing the role replaces the complete permissionBundles array with the compatibility defaults. UI Permission Roles prevents demoting the last direct access manager.
5594
5594
  *
5595
5595
  * Required scope: team-member-roles:manage
5596
5596
  */
@@ -50190,6 +50190,8 @@ export interface operations {
50190
50190
  membership?: {
50191
50191
  /** Format: uuid */
50192
50192
  tenantId: string;
50193
+ /** @enum {string} */
50194
+ managedTeamAccess?: "all" | "assigned";
50193
50195
  /**
50194
50196
  * @default user
50195
50197
  * @enum {string}
@@ -50473,6 +50475,8 @@ export interface operations {
50473
50475
  membership?: {
50474
50476
  /** Format: uuid */
50475
50477
  tenantId: string;
50478
+ /** @enum {string} */
50479
+ managedTeamAccess?: "all" | "assigned";
50476
50480
  /**
50477
50481
  * @default user
50478
50482
  * @enum {string}
@@ -51004,6 +51008,8 @@ export interface operations {
51004
51008
  "application/json": {
51005
51009
  lastInvitedAt?: string | null;
51006
51010
  /** @enum {string} */
51011
+ managedTeamAccess?: "all" | "assigned";
51012
+ /** @enum {string} */
51007
51013
  role?: "admin" | "user" | "owner";
51008
51014
  /** @enum {string} */
51009
51015
  status?: "active" | "inactive" | "unconfirmed";
@@ -58374,6 +58380,8 @@ export interface operations {
58374
58380
  cancelledAt: string | null;
58375
58381
  } | null;
58376
58382
  membership: {
58383
+ /** @enum {string} */
58384
+ accessSource: "direct" | "partnerDerived";
58377
58385
  /** @enum {string} */
58378
58386
  role: "admin" | "user" | "owner" | "partner";
58379
58387
  permissionBundles: string[];
@@ -67568,6 +67576,9 @@ export interface operations {
67568
67576
  /** Format: email */
67569
67577
  email: string;
67570
67578
  secondaryEmails: string[];
67579
+ permissionBundles: string[];
67580
+ /** @enum {string} */
67581
+ managedTeamAccess: "all" | "assigned";
67571
67582
  /** @enum {string} */
67572
67583
  role: "admin" | "user";
67573
67584
  status: ("active" | "inactive" | "unconfirmed") | null;
@@ -67583,6 +67594,7 @@ export interface operations {
67583
67594
  id: string;
67584
67595
  name: string;
67585
67596
  };
67597
+ permissionBundles: string[];
67586
67598
  role?: string | null;
67587
67599
  status?: string | null;
67588
67600
  lastInvitedAt: string | null;
@@ -68082,6 +68094,11 @@ export interface operations {
68082
68094
  requestBody?: {
68083
68095
  content: {
68084
68096
  "application/json": {
68097
+ /**
68098
+ * @description Partner-level child-team access mode. Omit to preserve the member's current mode.
68099
+ * @enum {string}
68100
+ */
68101
+ managedTeamAccess?: "all" | "assigned";
68085
68102
  /** @description Replace semantics across the partner CHILD teams: listed teams are upserted with the given role, unlisted child-team memberships are removed. The partner-tenant membership itself and owner-role memberships are never touched. */
68086
68103
  memberships: {
68087
68104
  /** Format: uuid */
@@ -69475,6 +69492,11 @@ export interface operations {
69475
69492
  requestBody?: {
69476
69493
  content: {
69477
69494
  "application/json": {
69495
+ /**
69496
+ * @description Partner-level child-team access mode. Omit to preserve the member's current mode.
69497
+ * @enum {string}
69498
+ */
69499
+ managedTeamAccess?: "all" | "assigned";
69478
69500
  /** @description Replace semantics across the partner CHILD teams: listed teams are upserted with the given role, unlisted child-team memberships are removed. The partner-tenant membership itself and owner-role memberships are never touched. */
69479
69501
  memberships: {
69480
69502
  /** Format: uuid */