@vrplatform/api 1.3.1-stage.4252 → 1.3.1-stage.4255

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;
@@ -27790,7 +27808,12 @@ export interface operations {
27790
27808
  };
27791
27809
  getMembers: {
27792
27810
  parameters: {
27793
- query?: never;
27811
+ query?: {
27812
+ search?: string;
27813
+ limit?: number;
27814
+ page?: number;
27815
+ offset?: number;
27816
+ };
27794
27817
  header?: never;
27795
27818
  path?: never;
27796
27819
  cookie?: never;
@@ -27813,12 +27836,25 @@ export interface operations {
27813
27836
  tenantId: string;
27814
27837
  /** Format: email */
27815
27838
  email: string;
27816
- role: string;
27817
- status?: string | null;
27818
- name?: string | null;
27819
- firstName?: string | null;
27820
- lastName?: string | null;
27839
+ secondaryEmails: string[];
27840
+ /** @enum {string} */
27841
+ role: "admin" | "user";
27842
+ status: ("active" | "inactive" | "unconfirmed") | null;
27843
+ lastInvitedAt: string | null;
27844
+ partnerId: string | null;
27845
+ name: string | null;
27846
+ firstName: string | null;
27847
+ lastName: string | null;
27821
27848
  }[];
27849
+ pagination: {
27850
+ /** @default 100 */
27851
+ limit: number;
27852
+ /** @default 1 */
27853
+ page: number;
27854
+ total: number;
27855
+ totalPage: number;
27856
+ nextPage?: number;
27857
+ };
27822
27858
  };
27823
27859
  };
27824
27860
  };
@@ -28079,6 +28115,297 @@ export interface operations {
28079
28115
  };
28080
28116
  };
28081
28117
  };
28118
+ deleteMembersByUserId: {
28119
+ parameters: {
28120
+ query?: never;
28121
+ header?: never;
28122
+ path: {
28123
+ userId: string;
28124
+ };
28125
+ cookie?: never;
28126
+ };
28127
+ requestBody?: never;
28128
+ responses: {
28129
+ /** @description Successful response */
28130
+ 200: {
28131
+ headers: {
28132
+ [name: string]: unknown;
28133
+ };
28134
+ content: {
28135
+ "application/json": {
28136
+ deleted: boolean;
28137
+ };
28138
+ };
28139
+ };
28140
+ /** @description Bad request */
28141
+ 400: {
28142
+ headers: {
28143
+ [name: string]: unknown;
28144
+ };
28145
+ content: {
28146
+ "application/json": {
28147
+ code: string;
28148
+ message: string;
28149
+ links?: {
28150
+ docs: string;
28151
+ schema: string;
28152
+ };
28153
+ issues?: {
28154
+ message: string;
28155
+ path?: (string | number)[];
28156
+ schema?: string;
28157
+ }[];
28158
+ context?: unknown;
28159
+ };
28160
+ };
28161
+ };
28162
+ /** @description Unauthorized */
28163
+ 401: {
28164
+ headers: {
28165
+ [name: string]: unknown;
28166
+ };
28167
+ content: {
28168
+ "application/json": {
28169
+ code: string;
28170
+ message: string;
28171
+ links?: {
28172
+ docs: string;
28173
+ schema: string;
28174
+ };
28175
+ issues?: {
28176
+ message: string;
28177
+ path?: (string | number)[];
28178
+ schema?: string;
28179
+ }[];
28180
+ context?: unknown;
28181
+ };
28182
+ };
28183
+ };
28184
+ /** @description Forbidden */
28185
+ 403: {
28186
+ headers: {
28187
+ [name: string]: unknown;
28188
+ };
28189
+ content: {
28190
+ "application/json": {
28191
+ code: string;
28192
+ message: string;
28193
+ links?: {
28194
+ docs: string;
28195
+ schema: string;
28196
+ };
28197
+ issues?: {
28198
+ message: string;
28199
+ path?: (string | number)[];
28200
+ schema?: string;
28201
+ }[];
28202
+ context?: unknown;
28203
+ };
28204
+ };
28205
+ };
28206
+ /** @description Not found */
28207
+ 404: {
28208
+ headers: {
28209
+ [name: string]: unknown;
28210
+ };
28211
+ content: {
28212
+ "application/json": {
28213
+ code: string;
28214
+ message: string;
28215
+ links?: {
28216
+ docs: string;
28217
+ schema: string;
28218
+ };
28219
+ issues?: {
28220
+ message: string;
28221
+ path?: (string | number)[];
28222
+ schema?: string;
28223
+ }[];
28224
+ context?: unknown;
28225
+ };
28226
+ };
28227
+ };
28228
+ /** @description Internal server error */
28229
+ 500: {
28230
+ headers: {
28231
+ [name: string]: unknown;
28232
+ };
28233
+ content: {
28234
+ "application/json": {
28235
+ code: string;
28236
+ message: string;
28237
+ links?: {
28238
+ docs: string;
28239
+ schema: string;
28240
+ };
28241
+ issues?: {
28242
+ message: string;
28243
+ path?: (string | number)[];
28244
+ schema?: string;
28245
+ }[];
28246
+ context?: unknown;
28247
+ };
28248
+ };
28249
+ };
28250
+ };
28251
+ };
28252
+ patchMembersByUserId: {
28253
+ parameters: {
28254
+ query?: never;
28255
+ header?: never;
28256
+ path: {
28257
+ userId: string;
28258
+ };
28259
+ cookie?: never;
28260
+ };
28261
+ requestBody?: {
28262
+ content: {
28263
+ "application/json": {
28264
+ /** @enum {string} */
28265
+ role: "admin" | "user";
28266
+ };
28267
+ };
28268
+ };
28269
+ responses: {
28270
+ /** @description Successful response */
28271
+ 200: {
28272
+ headers: {
28273
+ [name: string]: unknown;
28274
+ };
28275
+ content: {
28276
+ "application/json": {
28277
+ /** Format: uuid */
28278
+ id: string;
28279
+ /** Format: uuid */
28280
+ userId: string;
28281
+ /** Format: uuid */
28282
+ tenantId: string;
28283
+ /** Format: email */
28284
+ email: string;
28285
+ secondaryEmails: string[];
28286
+ /** @enum {string} */
28287
+ role: "admin" | "user";
28288
+ status: ("active" | "inactive" | "unconfirmed") | null;
28289
+ lastInvitedAt: string | null;
28290
+ partnerId: string | null;
28291
+ name: string | null;
28292
+ firstName: string | null;
28293
+ lastName: string | null;
28294
+ };
28295
+ };
28296
+ };
28297
+ /** @description Bad request */
28298
+ 400: {
28299
+ headers: {
28300
+ [name: string]: unknown;
28301
+ };
28302
+ content: {
28303
+ "application/json": {
28304
+ code: string;
28305
+ message: string;
28306
+ links?: {
28307
+ docs: string;
28308
+ schema: string;
28309
+ };
28310
+ issues?: {
28311
+ message: string;
28312
+ path?: (string | number)[];
28313
+ schema?: string;
28314
+ }[];
28315
+ context?: unknown;
28316
+ };
28317
+ };
28318
+ };
28319
+ /** @description Unauthorized */
28320
+ 401: {
28321
+ headers: {
28322
+ [name: string]: unknown;
28323
+ };
28324
+ content: {
28325
+ "application/json": {
28326
+ code: string;
28327
+ message: string;
28328
+ links?: {
28329
+ docs: string;
28330
+ schema: string;
28331
+ };
28332
+ issues?: {
28333
+ message: string;
28334
+ path?: (string | number)[];
28335
+ schema?: string;
28336
+ }[];
28337
+ context?: unknown;
28338
+ };
28339
+ };
28340
+ };
28341
+ /** @description Forbidden */
28342
+ 403: {
28343
+ headers: {
28344
+ [name: string]: unknown;
28345
+ };
28346
+ content: {
28347
+ "application/json": {
28348
+ code: string;
28349
+ message: string;
28350
+ links?: {
28351
+ docs: string;
28352
+ schema: string;
28353
+ };
28354
+ issues?: {
28355
+ message: string;
28356
+ path?: (string | number)[];
28357
+ schema?: string;
28358
+ }[];
28359
+ context?: unknown;
28360
+ };
28361
+ };
28362
+ };
28363
+ /** @description Not found */
28364
+ 404: {
28365
+ headers: {
28366
+ [name: string]: unknown;
28367
+ };
28368
+ content: {
28369
+ "application/json": {
28370
+ code: string;
28371
+ message: string;
28372
+ links?: {
28373
+ docs: string;
28374
+ schema: string;
28375
+ };
28376
+ issues?: {
28377
+ message: string;
28378
+ path?: (string | number)[];
28379
+ schema?: string;
28380
+ }[];
28381
+ context?: unknown;
28382
+ };
28383
+ };
28384
+ };
28385
+ /** @description Internal server error */
28386
+ 500: {
28387
+ headers: {
28388
+ [name: string]: unknown;
28389
+ };
28390
+ content: {
28391
+ "application/json": {
28392
+ code: string;
28393
+ message: string;
28394
+ links?: {
28395
+ docs: string;
28396
+ schema: string;
28397
+ };
28398
+ issues?: {
28399
+ message: string;
28400
+ path?: (string | number)[];
28401
+ schema?: string;
28402
+ }[];
28403
+ context?: unknown;
28404
+ };
28405
+ };
28406
+ };
28407
+ };
28408
+ };
28082
28409
  getMetricActiveListings: {
28083
28410
  parameters: {
28084
28411
  query: {