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