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

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.
@@ -2684,7 +2684,7 @@ export interface paths {
2684
2684
  cookie?: never;
2685
2685
  };
2686
2686
  /**
2687
- * @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.
2687
+ * @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.
2688
2688
  *
2689
2689
  * Required scope: self:read
2690
2690
  */
@@ -2736,7 +2736,7 @@ export interface paths {
2736
2736
  cookie?: never;
2737
2737
  };
2738
2738
  /**
2739
- * @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.
2739
+ * @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.
2740
2740
  *
2741
2741
  * Required scope: self:read
2742
2742
  */
@@ -3350,7 +3350,7 @@ export interface paths {
3350
3350
  cookie?: never;
3351
3351
  };
3352
3352
  /**
3353
- * @description List members of the partner itself with their partner-team role, status, invitation timestamp, and child-team memberships
3353
+ * @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
3354
3354
  *
3355
3355
  * Required scope: team-members:read
3356
3356
  */
@@ -3393,7 +3393,7 @@ export interface paths {
3393
3393
  };
3394
3394
  get?: never;
3395
3395
  /**
3396
- * @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
3396
+ * @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.
3397
3397
  *
3398
3398
  * Required scope: partner-memberships:manage
3399
3399
  */
@@ -5569,7 +5569,7 @@ export interface paths {
5569
5569
  get?: never;
5570
5570
  put?: never;
5571
5571
  /**
5572
- * @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.
5572
+ * @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.
5573
5573
  *
5574
5574
  * Required scope: team-members:manage
5575
5575
  */
@@ -5589,7 +5589,7 @@ export interface paths {
5589
5589
  };
5590
5590
  get?: never;
5591
5591
  /**
5592
- * @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.
5592
+ * @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.
5593
5593
  *
5594
5594
  * Required scope: team-member-roles:manage
5595
5595
  */
@@ -16590,7 +16590,9 @@ export interface operations {
16590
16590
  dateRange?: string;
16591
16591
  /** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
16592
16592
  isDateRangeEndInclusive?: boolean;
16593
+ /** @description Comma-separated account connection IDs. */
16593
16594
  accountConnectionId?: string;
16595
+ /** @description Comma-separated account IDs. */
16594
16596
  accountId?: string;
16595
16597
  uniqueRefs?: string;
16596
16598
  reconcileStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
@@ -17350,7 +17352,9 @@ export interface operations {
17350
17352
  dateRange?: string;
17351
17353
  /** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
17352
17354
  isDateRangeEndInclusive?: boolean;
17355
+ /** @description Comma-separated account connection IDs. */
17353
17356
  accountConnectionId?: string;
17357
+ /** @description Comma-separated account IDs. */
17354
17358
  accountId?: string;
17355
17359
  uniqueRefs?: string;
17356
17360
  reconcileStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
@@ -50189,6 +50193,8 @@ export interface operations {
50189
50193
  membership?: {
50190
50194
  /** Format: uuid */
50191
50195
  tenantId: string;
50196
+ /** @enum {string} */
50197
+ managedTeamAccess?: "all" | "assigned";
50192
50198
  /**
50193
50199
  * @default user
50194
50200
  * @enum {string}
@@ -50472,6 +50478,8 @@ export interface operations {
50472
50478
  membership?: {
50473
50479
  /** Format: uuid */
50474
50480
  tenantId: string;
50481
+ /** @enum {string} */
50482
+ managedTeamAccess?: "all" | "assigned";
50475
50483
  /**
50476
50484
  * @default user
50477
50485
  * @enum {string}
@@ -51003,6 +51011,8 @@ export interface operations {
51003
51011
  "application/json": {
51004
51012
  lastInvitedAt?: string | null;
51005
51013
  /** @enum {string} */
51014
+ managedTeamAccess?: "all" | "assigned";
51015
+ /** @enum {string} */
51006
51016
  role?: "admin" | "user" | "owner";
51007
51017
  /** @enum {string} */
51008
51018
  status?: "active" | "inactive" | "unconfirmed";
@@ -58373,6 +58383,8 @@ export interface operations {
58373
58383
  cancelledAt: string | null;
58374
58384
  } | null;
58375
58385
  membership: {
58386
+ /** @enum {string} */
58387
+ accessSource: "direct" | "partnerDerived";
58376
58388
  /** @enum {string} */
58377
58389
  role: "admin" | "user" | "owner" | "partner";
58378
58390
  permissionBundles: string[];
@@ -67567,6 +67579,9 @@ export interface operations {
67567
67579
  /** Format: email */
67568
67580
  email: string;
67569
67581
  secondaryEmails: string[];
67582
+ permissionBundles: string[];
67583
+ /** @enum {string} */
67584
+ managedTeamAccess: "all" | "assigned";
67570
67585
  /** @enum {string} */
67571
67586
  role: "admin" | "user";
67572
67587
  status: ("active" | "inactive" | "unconfirmed") | null;
@@ -67582,6 +67597,7 @@ export interface operations {
67582
67597
  id: string;
67583
67598
  name: string;
67584
67599
  };
67600
+ permissionBundles: string[];
67585
67601
  role?: string | null;
67586
67602
  status?: string | null;
67587
67603
  lastInvitedAt: string | null;
@@ -68081,6 +68097,11 @@ export interface operations {
68081
68097
  requestBody?: {
68082
68098
  content: {
68083
68099
  "application/json": {
68100
+ /**
68101
+ * @description Partner-level child-team access mode. Omit to preserve the member's current mode.
68102
+ * @enum {string}
68103
+ */
68104
+ managedTeamAccess?: "all" | "assigned";
68084
68105
  /** @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. */
68085
68106
  memberships: {
68086
68107
  /** Format: uuid */
@@ -69474,6 +69495,11 @@ export interface operations {
69474
69495
  requestBody?: {
69475
69496
  content: {
69476
69497
  "application/json": {
69498
+ /**
69499
+ * @description Partner-level child-team access mode. Omit to preserve the member's current mode.
69500
+ * @enum {string}
69501
+ */
69502
+ managedTeamAccess?: "all" | "assigned";
69477
69503
  /** @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. */
69478
69504
  memberships: {
69479
69505
  /** Format: uuid */