@vrplatform/api 1.3.1-stage.6254 → 1.3.1-stage.6265

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.6254",
6
+ "version": "1.3.1-stage.6265",
7
7
  "description": "",
8
8
  "main": "build/main/index.js",
9
9
  "module": "build/module/index.js",
@@ -1243,7 +1243,7 @@ export interface paths {
1243
1243
  get?: never;
1244
1244
  put?: never;
1245
1245
  /**
1246
- * @description Send an Owner Portal invite. Team-member account conflicts and provider-suppressed email addresses return bad requests.
1246
+ * @description Send an Owner Portal invite. Existing identity conflicts and provider-suppressed email addresses return bad requests.
1247
1247
  *
1248
1248
  * Required scope: contacts:write
1249
1249
  */
@@ -1311,7 +1311,7 @@ export interface paths {
1311
1311
  get: operations["getContactsByIdViewers"];
1312
1312
  put?: never;
1313
1313
  /**
1314
- * @description Invite an owner viewer. Team-member account conflicts and provider-suppressed email addresses return bad requests.
1314
+ * @description Invite an owner viewer. Existing identity conflicts and provider-suppressed email addresses return bad requests.
1315
1315
  *
1316
1316
  * Required scope: contacts:write
1317
1317
  */
@@ -1353,7 +1353,7 @@ export interface paths {
1353
1353
  get?: never;
1354
1354
  put?: never;
1355
1355
  /**
1356
- * @description Reinvite an owner viewer. Team-member account conflicts and provider-suppressed email addresses return bad requests.
1356
+ * @description Reinvite an owner viewer. Existing identity conflicts and provider-suppressed email addresses return bad requests.
1357
1357
  *
1358
1358
  * Required scope: contacts:write
1359
1359
  */
@@ -2341,7 +2341,7 @@ export interface paths {
2341
2341
  /** @description List users in one regional data partition with their team memberships and owner accesses. Select the partition with x-data-region. */
2342
2342
  get: operations["getInternalUsers"];
2343
2343
  put?: never;
2344
- /** @description Create or update a global platform user by primary or secondary email, optionally granting an initial team membership. Existing identities and current-team membership ids are reused and projected into the selected team region, and returned memberships cover every region. Used by identity and invite workflows. An explicit conflicting user id is rejected as a user error. */
2344
+ /** @description Create or update a global platform user by primary or secondary email, optionally granting an initial team membership. Existing identities and current-team membership ids are reused and projected into the selected team region, and returned memberships cover every region. Used by identity and invite workflows. An explicit conflicting user id is rejected as a bad request with reason USER_EMAIL_CONFLICT. */
2345
2345
  post: operations["postInternalUsers"];
2346
2346
  delete?: never;
2347
2347
  options?: never;
@@ -2357,7 +2357,7 @@ export interface paths {
2357
2357
  cookie?: never;
2358
2358
  };
2359
2359
  get?: never;
2360
- /** @description Update a platform user by id. Used by the identity provider profile-update hooks. A duplicate email belonging to another user is rejected as a user error. */
2360
+ /** @description Update a platform user by id. Used by the identity provider profile-update hooks. A duplicate email belonging to another user is rejected as a bad request with reason USER_EMAIL_CONFLICT. */
2361
2361
  put: operations["putInternalUsersById"];
2362
2362
  post?: never;
2363
2363
  /** @description Delete a platform user and its team memberships/access rows. Used by identity provider and lifecycle cleanup flows. */
@@ -2758,7 +2758,7 @@ export interface paths {
2758
2758
  cookie?: never;
2759
2759
  };
2760
2760
  /**
2761
- * @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.
2761
+ * @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. With UI Permission Roles enabled, partner membership adds all managed teams in all mode or the explicit partner-managed assignments in assigned mode. 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.
2762
2762
  *
2763
2763
  * Required scope: self:read
2764
2764
  */
@@ -3396,7 +3396,7 @@ export interface paths {
3396
3396
  put?: never;
3397
3397
  post?: never;
3398
3398
  /**
3399
- * @description Remove a member from the authenticated partner tenant without deleting the underlying user
3399
+ * @description Remove a member from the authenticated partner tenant. With UI permissions enabled, this also revokes partner-managed child-team assignments without deleting the user or genuine direct memberships; legacy mode preserves child-team compatibility memberships.
3400
3400
  *
3401
3401
  * Required scope: team-members:manage
3402
3402
  */
@@ -3415,7 +3415,7 @@ export interface paths {
3415
3415
  };
3416
3416
  get?: never;
3417
3417
  /**
3418
- * @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.
3418
+ * @description Update a partner member's managed-team access. With UI permissions enabled, managedTeamAccess and role-free teamIds atomically replace partner-managed assignments while genuine direct and owner memberships remain untouched. In legacy-role mode, the role-bearing memberships contract remains available.
3419
3419
  *
3420
3420
  * Required scope: partner-memberships:manage
3421
3421
  */
@@ -10042,7 +10042,6 @@ export interface operations {
10042
10042
  } | null;
10043
10043
  matchStatus?: string | null;
10044
10044
  appliedAmount?: {
10045
- taxBehavior?: ("excluded" | "included") | null;
10046
10045
  taxRate?: {
10047
10046
  id: string;
10048
10047
  name: string;
@@ -16787,7 +16786,6 @@ export interface operations {
16787
16786
  amount: number;
16788
16787
  appliedAmount?: {
16789
16788
  taxRateId?: string | null;
16790
- taxBehavior?: ("excluded" | "included") | null;
16791
16789
  } | null;
16792
16790
  markup?: {
16793
16791
  amount?: number | null;
@@ -17798,7 +17796,6 @@ export interface operations {
17798
17796
  amount: number;
17799
17797
  appliedAmount?: {
17800
17798
  taxRateId?: string | null;
17801
- taxBehavior?: ("excluded" | "included") | null;
17802
17799
  } | null;
17803
17800
  markup?: {
17804
17801
  amount?: number | null;
@@ -18667,7 +18664,6 @@ export interface operations {
18667
18664
  amount?: number | null;
18668
18665
  assignment?: "deposit_merchantFee" | null;
18669
18666
  party?: ("owners" | "manager") | null;
18670
- taxBehavior?: ("excluded" | "included") | null;
18671
18667
  descriptionOverride?: string | null;
18672
18668
  markup?: {
18673
18669
  amount?: number | null;
@@ -19003,7 +18999,6 @@ export interface operations {
19003
18999
  contactId?: string | null;
19004
19000
  party?: ("owners" | "manager") | null;
19005
19001
  taxRateId?: string | null;
19006
- taxBehavior?: ("excluded" | "included") | null;
19007
19002
  markup?: {
19008
19003
  amount?: number | null;
19009
19004
  taxRateId?: string | null;
@@ -19078,7 +19073,6 @@ export interface operations {
19078
19073
  amount?: number | null;
19079
19074
  assignment?: "deposit_merchantFee" | null;
19080
19075
  party?: ("owners" | "manager") | null;
19081
- taxBehavior?: ("excluded" | "included") | null;
19082
19076
  descriptionOverride?: string | null;
19083
19077
  markup?: {
19084
19078
  amount?: number | null;
@@ -19404,7 +19398,6 @@ export interface operations {
19404
19398
  contactId?: string | null;
19405
19399
  party?: ("owners" | "manager") | null;
19406
19400
  taxRateId?: string | null;
19407
- taxBehavior?: ("excluded" | "included") | null;
19408
19401
  markup?: {
19409
19402
  amount?: number | null;
19410
19403
  taxRateId?: string | null;
@@ -19460,7 +19453,6 @@ export interface operations {
19460
19453
  amount: number;
19461
19454
  appliedAmount?: {
19462
19455
  taxRateId?: string | null;
19463
- taxBehavior?: ("excluded" | "included") | null;
19464
19456
  } | null;
19465
19457
  markup?: {
19466
19458
  amount?: number | null;
@@ -19800,7 +19792,6 @@ export interface operations {
19800
19792
  amount?: number | null;
19801
19793
  assignment?: "deposit_merchantFee" | null;
19802
19794
  party?: ("owners" | "manager") | null;
19803
- taxBehavior?: ("excluded" | "included") | null;
19804
19795
  descriptionOverride?: string | null;
19805
19796
  markup?: {
19806
19797
  amount?: number | null;
@@ -20130,7 +20121,6 @@ export interface operations {
20130
20121
  contactId?: string | null;
20131
20122
  party?: ("owners" | "manager") | null;
20132
20123
  taxRateId?: string | null;
20133
- taxBehavior?: ("excluded" | "included") | null;
20134
20124
  markup?: {
20135
20125
  amount?: number | null;
20136
20126
  taxRateId?: string | null;
@@ -20205,7 +20195,6 @@ export interface operations {
20205
20195
  amount?: number | null;
20206
20196
  assignment?: "deposit_merchantFee" | null;
20207
20197
  party?: ("owners" | "manager") | null;
20208
- taxBehavior?: ("excluded" | "included") | null;
20209
20198
  descriptionOverride?: string | null;
20210
20199
  markup?: {
20211
20200
  amount?: number | null;
@@ -20815,7 +20804,6 @@ export interface operations {
20815
20804
  amount: number;
20816
20805
  appliedAmount?: {
20817
20806
  taxRateId?: string | null;
20818
- taxBehavior?: ("excluded" | "included") | null;
20819
20807
  } | null;
20820
20808
  markup?: {
20821
20809
  amount?: number | null;
@@ -50190,6 +50178,8 @@ export interface operations {
50190
50178
  lastSeen: string | null;
50191
50179
  createdAt: string | null;
50192
50180
  memberships: {
50181
+ /** @enum {string} */
50182
+ accessSource?: "direct" | "partnerManaged";
50193
50183
  /** Format: uuid */
50194
50184
  teamId: string;
50195
50185
  teamName: string;
@@ -67872,6 +67862,8 @@ export interface operations {
67872
67862
  lastName: string | null;
67873
67863
  lastSeen: string | null;
67874
67864
  memberships: {
67865
+ /** @enum {string} */
67866
+ accessSource: "direct" | "partnerManaged";
67875
67867
  tenant: {
67876
67868
  /** Format: uuid */
67877
67869
  id: string;
@@ -68377,18 +68369,15 @@ export interface operations {
68377
68369
  requestBody?: {
68378
68370
  content: {
68379
68371
  "application/json": {
68380
- /**
68381
- * @description Partner-level child-team access mode. Omit to preserve the member's current mode.
68382
- * @enum {string}
68383
- */
68372
+ /** @enum {string} */
68384
68373
  managedTeamAccess?: "all" | "assigned";
68385
- /** @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. */
68386
- memberships: {
68387
- /** Format: uuid */
68388
- teamId: string;
68374
+ memberships?: {
68389
68375
  /** @enum {string} */
68390
68376
  role: "admin" | "user";
68377
+ /** Format: uuid */
68378
+ teamId: string;
68391
68379
  }[];
68380
+ teamIds?: string[];
68392
68381
  };
68393
68382
  };
68394
68383
  };
@@ -68401,6 +68390,8 @@ export interface operations {
68401
68390
  content: {
68402
68391
  "application/json": {
68403
68392
  data: {
68393
+ /** @enum {string} */
68394
+ accessSource?: "direct" | "partnerManaged";
68404
68395
  /** Format: uuid */
68405
68396
  teamId: string;
68406
68397
  teamName: string;
@@ -68968,6 +68959,8 @@ export interface operations {
68968
68959
  lastSeen: string | null;
68969
68960
  createdAt: string | null;
68970
68961
  memberships: {
68962
+ /** @enum {string} */
68963
+ accessSource?: "direct" | "partnerManaged";
68971
68964
  /** Format: uuid */
68972
68965
  teamId: string;
68973
68966
  teamName: string;
@@ -69257,6 +69250,8 @@ export interface operations {
69257
69250
  lastSeen: string | null;
69258
69251
  createdAt: string | null;
69259
69252
  memberships: {
69253
+ /** @enum {string} */
69254
+ accessSource?: "direct" | "partnerManaged";
69260
69255
  /** Format: uuid */
69261
69256
  teamId: string;
69262
69257
  teamName: string;
@@ -69799,6 +69794,8 @@ export interface operations {
69799
69794
  content: {
69800
69795
  "application/json": {
69801
69796
  data: {
69797
+ /** @enum {string} */
69798
+ accessSource?: "direct" | "partnerManaged";
69802
69799
  /** Format: uuid */
69803
69800
  teamId: string;
69804
69801
  teamName: string;
@@ -106715,7 +106712,6 @@ export interface operations {
106715
106712
  } | null;
106716
106713
  matchStatus?: string | null;
106717
106714
  appliedAmount?: {
106718
- taxBehavior?: ("excluded" | "included") | null;
106719
106715
  taxRate?: {
106720
106716
  id: string;
106721
106717
  name: string;
@@ -119373,10 +119369,8 @@ export interface operations {
119373
119369
  content: {
119374
119370
  "application/json": {
119375
119371
  email: string;
119376
- /**
119377
- * @default user
119378
- * @enum {string}
119379
- */
119372
+ permissionBundles?: ("ui:team-admin:v1" | "ui:partner-admin:v1" | "ui:standard-member:v1" | "ui:operations:v1" | "ui:accounting:v1" | "ui:owner-statements:v1" | "ui:reports-viewer:v1" | "ui:read-only:v1" | "ui:ach-payer:v1")[];
119373
+ /** @enum {string} */
119380
119374
  role?: "admin" | "user";
119381
119375
  /** @default true */
119382
119376
  sendEmail?: boolean;
@@ -119391,7 +119385,14 @@ export interface operations {
119391
119385
  };
119392
119386
  content: {
119393
119387
  "application/json": {
119388
+ permissionBundles: ("ui:team-admin:v1" | "ui:partner-admin:v1" | "ui:standard-member:v1" | "ui:operations:v1" | "ui:accounting:v1" | "ui:owner-statements:v1" | "ui:reports-viewer:v1" | "ui:read-only:v1" | "ui:ach-payer:v1")[];
119389
+ /** @enum {string} */
119390
+ role: "admin" | "user";
119391
+ /** Format: uuid */
119392
+ tenantUserId: string;
119394
119393
  url: string;
119394
+ /** Format: uuid */
119395
+ userId: string;
119395
119396
  };
119396
119397
  };
119397
119398
  };
@@ -124867,7 +124868,6 @@ export interface operations {
124867
124868
  } | null;
124868
124869
  matchStatus?: string | null;
124869
124870
  appliedAmount?: {
124870
- taxBehavior?: ("excluded" | "included") | null;
124871
124871
  taxRate?: {
124872
124872
  id: string;
124873
124873
  name: string;
@@ -125392,7 +125392,6 @@ export interface operations {
125392
125392
  amount: number;
125393
125393
  appliedAmount?: {
125394
125394
  taxRateId?: string | null;
125395
- taxBehavior?: ("excluded" | "included") | null;
125396
125395
  } | null;
125397
125396
  markup?: {
125398
125397
  amount?: number | null;
@@ -125552,7 +125551,6 @@ export interface operations {
125552
125551
  } | null;
125553
125552
  matchStatus?: string | null;
125554
125553
  appliedAmount?: {
125555
- taxBehavior?: ("excluded" | "included") | null;
125556
125554
  taxRate?: {
125557
125555
  id: string;
125558
125556
  name: string;
@@ -127328,7 +127326,6 @@ export interface operations {
127328
127326
  amount: number;
127329
127327
  appliedAmount?: {
127330
127328
  taxRateId?: string | null;
127331
- taxBehavior?: ("excluded" | "included") | null;
127332
127329
  } | null;
127333
127330
  markup?: {
127334
127331
  amount?: number | null;
@@ -129118,7 +129115,6 @@ export interface operations {
129118
129115
  } | null;
129119
129116
  matchStatus?: string | null;
129120
129117
  appliedAmount?: {
129121
- taxBehavior?: ("excluded" | "included") | null;
129122
129118
  taxRate?: {
129123
129119
  id: string;
129124
129120
  name: string;
@@ -129471,6 +129467,9 @@ export interface operations {
129471
129467
  listingId?: string | null;
129472
129468
  party?: ("owners" | "manager") | null;
129473
129469
  contactId?: string | null;
129470
+ appliedAmount?: {
129471
+ taxRateId?: string | null;
129472
+ } | null;
129474
129473
  markup?: {
129475
129474
  amount?: number | null;
129476
129475
  taxRateId?: string | null;
@@ -129600,7 +129599,6 @@ export interface operations {
129600
129599
  } | null;
129601
129600
  matchStatus?: string | null;
129602
129601
  appliedAmount?: {
129603
- taxBehavior?: ("excluded" | "included") | null;
129604
129602
  taxRate?: {
129605
129603
  id: string;
129606
129604
  name: string;
@@ -130299,7 +130297,6 @@ export interface operations {
130299
130297
  } | null;
130300
130298
  matchStatus?: string | null;
130301
130299
  appliedAmount?: {
130302
- taxBehavior?: ("excluded" | "included") | null;
130303
130300
  taxRate?: {
130304
130301
  id: string;
130305
130302
  name: string;
@@ -130644,6 +130641,9 @@ export interface operations {
130644
130641
  listingId?: string | null;
130645
130642
  party?: ("owners" | "manager") | null;
130646
130643
  contactId?: string | null;
130644
+ appliedAmount?: {
130645
+ taxRateId?: string | null;
130646
+ } | null;
130647
130647
  markup?: {
130648
130648
  amount?: number | null;
130649
130649
  taxRateId?: string | null;
@@ -130774,7 +130774,6 @@ export interface operations {
130774
130774
  } | null;
130775
130775
  matchStatus?: string | null;
130776
130776
  appliedAmount?: {
130777
- taxBehavior?: ("excluded" | "included") | null;
130778
130777
  taxRate?: {
130779
130778
  id: string;
130780
130779
  name: string;
@@ -131442,7 +131441,6 @@ export interface operations {
131442
131441
  } | null;
131443
131442
  matchStatus?: string | null;
131444
131443
  appliedAmount?: {
131445
- taxBehavior?: ("excluded" | "included") | null;
131446
131444
  taxRate?: {
131447
131445
  id: string;
131448
131446
  name: string;
@@ -131984,7 +131982,6 @@ export interface operations {
131984
131982
  } | null;
131985
131983
  matchStatus?: string | null;
131986
131984
  appliedAmount?: {
131987
- taxBehavior?: ("excluded" | "included") | null;
131988
131985
  taxRate?: {
131989
131986
  id: string;
131990
131987
  name: string;
@@ -132552,7 +132549,6 @@ export interface operations {
132552
132549
  amount?: number;
132553
132550
  appliedAmount?: {
132554
132551
  taxRateId?: string | null;
132555
- taxBehavior?: ("excluded" | "included") | null;
132556
132552
  } | null;
132557
132553
  markup?: {
132558
132554
  amount?: number | null;
@@ -132587,7 +132583,6 @@ export interface operations {
132587
132583
  amount: number;
132588
132584
  appliedAmount?: {
132589
132585
  taxRateId?: string | null;
132590
- taxBehavior?: ("excluded" | "included") | null;
132591
132586
  } | null;
132592
132587
  markup?: {
132593
132588
  amount?: number | null;
@@ -132622,7 +132617,6 @@ export interface operations {
132622
132617
  amount?: number;
132623
132618
  appliedAmount?: {
132624
132619
  taxRateId?: string | null;
132625
- taxBehavior?: ("excluded" | "included") | null;
132626
132620
  } | null;
132627
132621
  markup?: {
132628
132622
  amount?: number | null;
@@ -132735,7 +132729,6 @@ export interface operations {
132735
132729
  } | null;
132736
132730
  matchStatus?: string | null;
132737
132731
  appliedAmount?: {
132738
- taxBehavior?: ("excluded" | "included") | null;
132739
132732
  taxRate?: {
132740
132733
  id: string;
132741
132734
  name: string;
@@ -134289,7 +134282,6 @@ export interface operations {
134289
134282
  amount?: number;
134290
134283
  appliedAmount?: {
134291
134284
  taxRateId?: string | null;
134292
- taxBehavior?: ("excluded" | "included") | null;
134293
134285
  } | null;
134294
134286
  markup?: {
134295
134287
  amount?: number | null;
@@ -134397,7 +134389,6 @@ export interface operations {
134397
134389
  } | null;
134398
134390
  matchStatus?: string | null;
134399
134391
  appliedAmount?: {
134400
- taxBehavior?: ("excluded" | "included") | null;
134401
134392
  taxRate?: {
134402
134393
  id: string;
134403
134394
  name: string;