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