@vrplatform/api 1.3.1-stage.4182 → 1.3.1-stage.4187

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.4182",
6
+ "version": "1.3.1-stage.4187",
7
7
  "description": "",
8
8
  "main": "build/main/index.js",
9
9
  "module": "build/module/index.js",
@@ -3964,7 +3964,25 @@ export interface paths {
3964
3964
  /** @description Update a platform user by id. Admin access only; used by the identity provider profile-update hooks. */
3965
3965
  put: operations["putUsersById"];
3966
3966
  post?: never;
3967
- delete?: never;
3967
+ /** @description Delete a platform user and its team memberships/access rows. Admin access only; used by identity provider and lifecycle cleanup flows. */
3968
+ delete: operations["deleteUsersById"];
3969
+ options?: never;
3970
+ head?: never;
3971
+ patch?: never;
3972
+ trace?: never;
3973
+ };
3974
+ "/users/{id}/memberships/{tenantId}": {
3975
+ parameters: {
3976
+ query?: never;
3977
+ header?: never;
3978
+ path?: never;
3979
+ cookie?: never;
3980
+ };
3981
+ get?: never;
3982
+ put?: never;
3983
+ post?: never;
3984
+ /** @description Remove a platform user from one team without deleting the user. Admin access only; owner/contact access removal remains contact-scoped. */
3985
+ delete: operations["deleteUsersByIdMembershipsByTenantId"];
3968
3986
  options?: never;
3969
3987
  head?: never;
3970
3988
  patch?: never;
@@ -73054,4 +73072,276 @@ export interface operations {
73054
73072
  };
73055
73073
  };
73056
73074
  };
73075
+ deleteUsersById: {
73076
+ parameters: {
73077
+ query?: never;
73078
+ header?: never;
73079
+ path: {
73080
+ id: string;
73081
+ };
73082
+ cookie?: never;
73083
+ };
73084
+ requestBody?: never;
73085
+ responses: {
73086
+ /** @description Successful response */
73087
+ 200: {
73088
+ headers: {
73089
+ [name: string]: unknown;
73090
+ };
73091
+ content: {
73092
+ "application/json": {
73093
+ deleted: boolean;
73094
+ memberships: number;
73095
+ ownerAccess: number;
73096
+ tokens: number;
73097
+ };
73098
+ };
73099
+ };
73100
+ /** @description Bad request */
73101
+ 400: {
73102
+ headers: {
73103
+ [name: string]: unknown;
73104
+ };
73105
+ content: {
73106
+ "application/json": {
73107
+ code: string;
73108
+ message: string;
73109
+ links?: {
73110
+ docs: string;
73111
+ schema: string;
73112
+ };
73113
+ issues?: {
73114
+ message: string;
73115
+ path?: (string | number)[];
73116
+ schema?: string;
73117
+ }[];
73118
+ context?: unknown;
73119
+ };
73120
+ };
73121
+ };
73122
+ /** @description Unauthorized */
73123
+ 401: {
73124
+ headers: {
73125
+ [name: string]: unknown;
73126
+ };
73127
+ content: {
73128
+ "application/json": {
73129
+ code: string;
73130
+ message: string;
73131
+ links?: {
73132
+ docs: string;
73133
+ schema: string;
73134
+ };
73135
+ issues?: {
73136
+ message: string;
73137
+ path?: (string | number)[];
73138
+ schema?: string;
73139
+ }[];
73140
+ context?: unknown;
73141
+ };
73142
+ };
73143
+ };
73144
+ /** @description Forbidden */
73145
+ 403: {
73146
+ headers: {
73147
+ [name: string]: unknown;
73148
+ };
73149
+ content: {
73150
+ "application/json": {
73151
+ code: string;
73152
+ message: string;
73153
+ links?: {
73154
+ docs: string;
73155
+ schema: string;
73156
+ };
73157
+ issues?: {
73158
+ message: string;
73159
+ path?: (string | number)[];
73160
+ schema?: string;
73161
+ }[];
73162
+ context?: unknown;
73163
+ };
73164
+ };
73165
+ };
73166
+ /** @description Not found */
73167
+ 404: {
73168
+ headers: {
73169
+ [name: string]: unknown;
73170
+ };
73171
+ content: {
73172
+ "application/json": {
73173
+ code: string;
73174
+ message: string;
73175
+ links?: {
73176
+ docs: string;
73177
+ schema: string;
73178
+ };
73179
+ issues?: {
73180
+ message: string;
73181
+ path?: (string | number)[];
73182
+ schema?: string;
73183
+ }[];
73184
+ context?: unknown;
73185
+ };
73186
+ };
73187
+ };
73188
+ /** @description Internal server error */
73189
+ 500: {
73190
+ headers: {
73191
+ [name: string]: unknown;
73192
+ };
73193
+ content: {
73194
+ "application/json": {
73195
+ code: string;
73196
+ message: string;
73197
+ links?: {
73198
+ docs: string;
73199
+ schema: string;
73200
+ };
73201
+ issues?: {
73202
+ message: string;
73203
+ path?: (string | number)[];
73204
+ schema?: string;
73205
+ }[];
73206
+ context?: unknown;
73207
+ };
73208
+ };
73209
+ };
73210
+ };
73211
+ };
73212
+ deleteUsersByIdMembershipsByTenantId: {
73213
+ parameters: {
73214
+ query?: never;
73215
+ header?: never;
73216
+ path: {
73217
+ id: string;
73218
+ tenantId: string;
73219
+ };
73220
+ cookie?: never;
73221
+ };
73222
+ requestBody?: never;
73223
+ responses: {
73224
+ /** @description Successful response */
73225
+ 200: {
73226
+ headers: {
73227
+ [name: string]: unknown;
73228
+ };
73229
+ content: {
73230
+ "application/json": {
73231
+ deleted: boolean;
73232
+ };
73233
+ };
73234
+ };
73235
+ /** @description Bad request */
73236
+ 400: {
73237
+ headers: {
73238
+ [name: string]: unknown;
73239
+ };
73240
+ content: {
73241
+ "application/json": {
73242
+ code: string;
73243
+ message: string;
73244
+ links?: {
73245
+ docs: string;
73246
+ schema: string;
73247
+ };
73248
+ issues?: {
73249
+ message: string;
73250
+ path?: (string | number)[];
73251
+ schema?: string;
73252
+ }[];
73253
+ context?: unknown;
73254
+ };
73255
+ };
73256
+ };
73257
+ /** @description Unauthorized */
73258
+ 401: {
73259
+ headers: {
73260
+ [name: string]: unknown;
73261
+ };
73262
+ content: {
73263
+ "application/json": {
73264
+ code: string;
73265
+ message: string;
73266
+ links?: {
73267
+ docs: string;
73268
+ schema: string;
73269
+ };
73270
+ issues?: {
73271
+ message: string;
73272
+ path?: (string | number)[];
73273
+ schema?: string;
73274
+ }[];
73275
+ context?: unknown;
73276
+ };
73277
+ };
73278
+ };
73279
+ /** @description Forbidden */
73280
+ 403: {
73281
+ headers: {
73282
+ [name: string]: unknown;
73283
+ };
73284
+ content: {
73285
+ "application/json": {
73286
+ code: string;
73287
+ message: string;
73288
+ links?: {
73289
+ docs: string;
73290
+ schema: string;
73291
+ };
73292
+ issues?: {
73293
+ message: string;
73294
+ path?: (string | number)[];
73295
+ schema?: string;
73296
+ }[];
73297
+ context?: unknown;
73298
+ };
73299
+ };
73300
+ };
73301
+ /** @description Not found */
73302
+ 404: {
73303
+ headers: {
73304
+ [name: string]: unknown;
73305
+ };
73306
+ content: {
73307
+ "application/json": {
73308
+ code: string;
73309
+ message: string;
73310
+ links?: {
73311
+ docs: string;
73312
+ schema: string;
73313
+ };
73314
+ issues?: {
73315
+ message: string;
73316
+ path?: (string | number)[];
73317
+ schema?: string;
73318
+ }[];
73319
+ context?: unknown;
73320
+ };
73321
+ };
73322
+ };
73323
+ /** @description Internal server error */
73324
+ 500: {
73325
+ headers: {
73326
+ [name: string]: unknown;
73327
+ };
73328
+ content: {
73329
+ "application/json": {
73330
+ code: string;
73331
+ message: string;
73332
+ links?: {
73333
+ docs: string;
73334
+ schema: string;
73335
+ };
73336
+ issues?: {
73337
+ message: string;
73338
+ path?: (string | number)[];
73339
+ schema?: string;
73340
+ }[];
73341
+ context?: unknown;
73342
+ };
73343
+ };
73344
+ };
73345
+ };
73346
+ };
73057
73347
  }