@vrplatform/api 1.3.1-stage.4253 → 1.3.1-stage.4256

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.
@@ -1668,6 +1668,24 @@ export interface paths {
1668
1668
  patch?: never;
1669
1669
  trace?: never;
1670
1670
  };
1671
+ "/members/{userId}": {
1672
+ parameters: {
1673
+ query?: never;
1674
+ header?: never;
1675
+ path?: never;
1676
+ cookie?: never;
1677
+ };
1678
+ get?: never;
1679
+ put?: never;
1680
+ post?: never;
1681
+ /** @description Remove a member from the current team */
1682
+ delete: operations["deleteMembersByUserId"];
1683
+ options?: never;
1684
+ head?: never;
1685
+ /** @description Update a property-manager member role for the current team */
1686
+ patch: operations["patchMembersByUserId"];
1687
+ trace?: never;
1688
+ };
1671
1689
  "/metrics/active-listings": {
1672
1690
  parameters: {
1673
1691
  query?: never;
@@ -22685,6 +22703,8 @@ export interface operations {
22685
22703
  * @enum {string}
22686
22704
  */
22687
22705
  role?: "admin" | "user" | "owner";
22706
+ /** @enum {string} */
22707
+ status?: "active" | "inactive" | "unconfirmed";
22688
22708
  };
22689
22709
  };
22690
22710
  };
@@ -22706,6 +22726,7 @@ export interface operations {
22706
22726
  /** Format: uuid */
22707
22727
  tenantId: string;
22708
22728
  role: string | null;
22729
+ status: string | null;
22709
22730
  }[];
22710
22731
  };
22711
22732
  };
@@ -22853,6 +22874,8 @@ export interface operations {
22853
22874
  * @enum {string}
22854
22875
  */
22855
22876
  role?: "admin" | "user" | "owner";
22877
+ /** @enum {string} */
22878
+ status?: "active" | "inactive" | "unconfirmed";
22856
22879
  };
22857
22880
  };
22858
22881
  };
@@ -22874,6 +22897,7 @@ export interface operations {
22874
22897
  /** Format: uuid */
22875
22898
  tenantId: string;
22876
22899
  role: string | null;
22900
+ status: string | null;
22877
22901
  }[];
22878
22902
  };
22879
22903
  };
@@ -27790,7 +27814,12 @@ export interface operations {
27790
27814
  };
27791
27815
  getMembers: {
27792
27816
  parameters: {
27793
- query?: never;
27817
+ query?: {
27818
+ search?: string;
27819
+ limit?: number;
27820
+ page?: number;
27821
+ offset?: number;
27822
+ };
27794
27823
  header?: never;
27795
27824
  path?: never;
27796
27825
  cookie?: never;
@@ -27813,12 +27842,25 @@ export interface operations {
27813
27842
  tenantId: string;
27814
27843
  /** Format: email */
27815
27844
  email: string;
27816
- role: string;
27817
- status?: string | null;
27818
- name?: string | null;
27819
- firstName?: string | null;
27820
- lastName?: string | null;
27845
+ secondaryEmails: string[];
27846
+ /** @enum {string} */
27847
+ role: "admin" | "user";
27848
+ status: ("active" | "inactive" | "unconfirmed") | null;
27849
+ lastInvitedAt: string | null;
27850
+ partnerId: string | null;
27851
+ name: string | null;
27852
+ firstName: string | null;
27853
+ lastName: string | null;
27821
27854
  }[];
27855
+ pagination: {
27856
+ /** @default 100 */
27857
+ limit: number;
27858
+ /** @default 1 */
27859
+ page: number;
27860
+ total: number;
27861
+ totalPage: number;
27862
+ nextPage?: number;
27863
+ };
27822
27864
  };
27823
27865
  };
27824
27866
  };
@@ -28079,6 +28121,297 @@ export interface operations {
28079
28121
  };
28080
28122
  };
28081
28123
  };
28124
+ deleteMembersByUserId: {
28125
+ parameters: {
28126
+ query?: never;
28127
+ header?: never;
28128
+ path: {
28129
+ userId: string;
28130
+ };
28131
+ cookie?: never;
28132
+ };
28133
+ requestBody?: never;
28134
+ responses: {
28135
+ /** @description Successful response */
28136
+ 200: {
28137
+ headers: {
28138
+ [name: string]: unknown;
28139
+ };
28140
+ content: {
28141
+ "application/json": {
28142
+ deleted: boolean;
28143
+ };
28144
+ };
28145
+ };
28146
+ /** @description Bad request */
28147
+ 400: {
28148
+ headers: {
28149
+ [name: string]: unknown;
28150
+ };
28151
+ content: {
28152
+ "application/json": {
28153
+ code: string;
28154
+ message: string;
28155
+ links?: {
28156
+ docs: string;
28157
+ schema: string;
28158
+ };
28159
+ issues?: {
28160
+ message: string;
28161
+ path?: (string | number)[];
28162
+ schema?: string;
28163
+ }[];
28164
+ context?: unknown;
28165
+ };
28166
+ };
28167
+ };
28168
+ /** @description Unauthorized */
28169
+ 401: {
28170
+ headers: {
28171
+ [name: string]: unknown;
28172
+ };
28173
+ content: {
28174
+ "application/json": {
28175
+ code: string;
28176
+ message: string;
28177
+ links?: {
28178
+ docs: string;
28179
+ schema: string;
28180
+ };
28181
+ issues?: {
28182
+ message: string;
28183
+ path?: (string | number)[];
28184
+ schema?: string;
28185
+ }[];
28186
+ context?: unknown;
28187
+ };
28188
+ };
28189
+ };
28190
+ /** @description Forbidden */
28191
+ 403: {
28192
+ headers: {
28193
+ [name: string]: unknown;
28194
+ };
28195
+ content: {
28196
+ "application/json": {
28197
+ code: string;
28198
+ message: string;
28199
+ links?: {
28200
+ docs: string;
28201
+ schema: string;
28202
+ };
28203
+ issues?: {
28204
+ message: string;
28205
+ path?: (string | number)[];
28206
+ schema?: string;
28207
+ }[];
28208
+ context?: unknown;
28209
+ };
28210
+ };
28211
+ };
28212
+ /** @description Not found */
28213
+ 404: {
28214
+ headers: {
28215
+ [name: string]: unknown;
28216
+ };
28217
+ content: {
28218
+ "application/json": {
28219
+ code: string;
28220
+ message: string;
28221
+ links?: {
28222
+ docs: string;
28223
+ schema: string;
28224
+ };
28225
+ issues?: {
28226
+ message: string;
28227
+ path?: (string | number)[];
28228
+ schema?: string;
28229
+ }[];
28230
+ context?: unknown;
28231
+ };
28232
+ };
28233
+ };
28234
+ /** @description Internal server error */
28235
+ 500: {
28236
+ headers: {
28237
+ [name: string]: unknown;
28238
+ };
28239
+ content: {
28240
+ "application/json": {
28241
+ code: string;
28242
+ message: string;
28243
+ links?: {
28244
+ docs: string;
28245
+ schema: string;
28246
+ };
28247
+ issues?: {
28248
+ message: string;
28249
+ path?: (string | number)[];
28250
+ schema?: string;
28251
+ }[];
28252
+ context?: unknown;
28253
+ };
28254
+ };
28255
+ };
28256
+ };
28257
+ };
28258
+ patchMembersByUserId: {
28259
+ parameters: {
28260
+ query?: never;
28261
+ header?: never;
28262
+ path: {
28263
+ userId: string;
28264
+ };
28265
+ cookie?: never;
28266
+ };
28267
+ requestBody?: {
28268
+ content: {
28269
+ "application/json": {
28270
+ /** @enum {string} */
28271
+ role: "admin" | "user";
28272
+ };
28273
+ };
28274
+ };
28275
+ responses: {
28276
+ /** @description Successful response */
28277
+ 200: {
28278
+ headers: {
28279
+ [name: string]: unknown;
28280
+ };
28281
+ content: {
28282
+ "application/json": {
28283
+ /** Format: uuid */
28284
+ id: string;
28285
+ /** Format: uuid */
28286
+ userId: string;
28287
+ /** Format: uuid */
28288
+ tenantId: string;
28289
+ /** Format: email */
28290
+ email: string;
28291
+ secondaryEmails: string[];
28292
+ /** @enum {string} */
28293
+ role: "admin" | "user";
28294
+ status: ("active" | "inactive" | "unconfirmed") | null;
28295
+ lastInvitedAt: string | null;
28296
+ partnerId: string | null;
28297
+ name: string | null;
28298
+ firstName: string | null;
28299
+ lastName: string | null;
28300
+ };
28301
+ };
28302
+ };
28303
+ /** @description Bad request */
28304
+ 400: {
28305
+ headers: {
28306
+ [name: string]: unknown;
28307
+ };
28308
+ content: {
28309
+ "application/json": {
28310
+ code: string;
28311
+ message: string;
28312
+ links?: {
28313
+ docs: string;
28314
+ schema: string;
28315
+ };
28316
+ issues?: {
28317
+ message: string;
28318
+ path?: (string | number)[];
28319
+ schema?: string;
28320
+ }[];
28321
+ context?: unknown;
28322
+ };
28323
+ };
28324
+ };
28325
+ /** @description Unauthorized */
28326
+ 401: {
28327
+ headers: {
28328
+ [name: string]: unknown;
28329
+ };
28330
+ content: {
28331
+ "application/json": {
28332
+ code: string;
28333
+ message: string;
28334
+ links?: {
28335
+ docs: string;
28336
+ schema: string;
28337
+ };
28338
+ issues?: {
28339
+ message: string;
28340
+ path?: (string | number)[];
28341
+ schema?: string;
28342
+ }[];
28343
+ context?: unknown;
28344
+ };
28345
+ };
28346
+ };
28347
+ /** @description Forbidden */
28348
+ 403: {
28349
+ headers: {
28350
+ [name: string]: unknown;
28351
+ };
28352
+ content: {
28353
+ "application/json": {
28354
+ code: string;
28355
+ message: string;
28356
+ links?: {
28357
+ docs: string;
28358
+ schema: string;
28359
+ };
28360
+ issues?: {
28361
+ message: string;
28362
+ path?: (string | number)[];
28363
+ schema?: string;
28364
+ }[];
28365
+ context?: unknown;
28366
+ };
28367
+ };
28368
+ };
28369
+ /** @description Not found */
28370
+ 404: {
28371
+ headers: {
28372
+ [name: string]: unknown;
28373
+ };
28374
+ content: {
28375
+ "application/json": {
28376
+ code: string;
28377
+ message: string;
28378
+ links?: {
28379
+ docs: string;
28380
+ schema: string;
28381
+ };
28382
+ issues?: {
28383
+ message: string;
28384
+ path?: (string | number)[];
28385
+ schema?: string;
28386
+ }[];
28387
+ context?: unknown;
28388
+ };
28389
+ };
28390
+ };
28391
+ /** @description Internal server error */
28392
+ 500: {
28393
+ headers: {
28394
+ [name: string]: unknown;
28395
+ };
28396
+ content: {
28397
+ "application/json": {
28398
+ code: string;
28399
+ message: string;
28400
+ links?: {
28401
+ docs: string;
28402
+ schema: string;
28403
+ };
28404
+ issues?: {
28405
+ message: string;
28406
+ path?: (string | number)[];
28407
+ schema?: string;
28408
+ }[];
28409
+ context?: unknown;
28410
+ };
28411
+ };
28412
+ };
28413
+ };
28414
+ };
28082
28415
  getMetricActiveListings: {
28083
28416
  parameters: {
28084
28417
  query: {