@vrplatform/api 1.3.1-stage.4380 → 1.3.1-stage.4382

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.4380",
6
+ "version": "1.3.1-stage.4382",
7
7
  "description": "",
8
8
  "main": "build/main/index.js",
9
9
  "module": "build/module/index.js",
@@ -2222,6 +2222,40 @@ export interface paths {
2222
2222
  patch?: never;
2223
2223
  trace?: never;
2224
2224
  };
2225
+ "/partner/members/{userId}": {
2226
+ parameters: {
2227
+ query?: never;
2228
+ header?: never;
2229
+ path?: never;
2230
+ cookie?: never;
2231
+ };
2232
+ get?: never;
2233
+ put?: never;
2234
+ post?: never;
2235
+ /** @description Remove a member from the authenticated partner tenant without deleting the underlying user */
2236
+ delete: operations["deletePartnerMember"];
2237
+ options?: never;
2238
+ head?: never;
2239
+ patch?: never;
2240
+ trace?: never;
2241
+ };
2242
+ "/partner/members/{userId}/memberships": {
2243
+ parameters: {
2244
+ query?: never;
2245
+ header?: never;
2246
+ path?: never;
2247
+ cookie?: never;
2248
+ };
2249
+ get?: never;
2250
+ /** @description Replace a partner member's child-team permissions: listed teams are upserted with the given role (admin | user), unlisted child-team memberships are removed, and partner/owner memberships are never touched */
2251
+ put: operations["updatePartnerMemberMemberships"];
2252
+ post?: never;
2253
+ delete?: never;
2254
+ options?: never;
2255
+ head?: never;
2256
+ patch?: never;
2257
+ trace?: never;
2258
+ };
2225
2259
  "/partner/users": {
2226
2260
  parameters: {
2227
2261
  query?: never;
@@ -34934,11 +34968,302 @@ export interface operations {
34934
34968
  };
34935
34969
  };
34936
34970
  };
34971
+ deletePartnerMember: {
34972
+ parameters: {
34973
+ query?: never;
34974
+ header?: never;
34975
+ path: {
34976
+ userId: string;
34977
+ };
34978
+ cookie?: never;
34979
+ };
34980
+ requestBody?: never;
34981
+ responses: {
34982
+ /** @description Successful response */
34983
+ 200: {
34984
+ headers: {
34985
+ [name: string]: unknown;
34986
+ };
34987
+ content: {
34988
+ "application/json": {
34989
+ /** @enum {string} */
34990
+ status: "deleted";
34991
+ /** @description Deprecated: use status */
34992
+ deleted: boolean;
34993
+ };
34994
+ };
34995
+ };
34996
+ /** @description Bad request */
34997
+ 400: {
34998
+ headers: {
34999
+ [name: string]: unknown;
35000
+ };
35001
+ content: {
35002
+ "application/json": {
35003
+ code: string;
35004
+ message: string;
35005
+ links?: {
35006
+ docs: string;
35007
+ schema: string;
35008
+ };
35009
+ issues?: {
35010
+ message: string;
35011
+ path?: (string | number)[];
35012
+ schema?: string;
35013
+ }[];
35014
+ context?: unknown;
35015
+ };
35016
+ };
35017
+ };
35018
+ /** @description Unauthorized */
35019
+ 401: {
35020
+ headers: {
35021
+ [name: string]: unknown;
35022
+ };
35023
+ content: {
35024
+ "application/json": {
35025
+ code: string;
35026
+ message: string;
35027
+ links?: {
35028
+ docs: string;
35029
+ schema: string;
35030
+ };
35031
+ issues?: {
35032
+ message: string;
35033
+ path?: (string | number)[];
35034
+ schema?: string;
35035
+ }[];
35036
+ context?: unknown;
35037
+ };
35038
+ };
35039
+ };
35040
+ /** @description Forbidden */
35041
+ 403: {
35042
+ headers: {
35043
+ [name: string]: unknown;
35044
+ };
35045
+ content: {
35046
+ "application/json": {
35047
+ code: string;
35048
+ message: string;
35049
+ links?: {
35050
+ docs: string;
35051
+ schema: string;
35052
+ };
35053
+ issues?: {
35054
+ message: string;
35055
+ path?: (string | number)[];
35056
+ schema?: string;
35057
+ }[];
35058
+ context?: unknown;
35059
+ };
35060
+ };
35061
+ };
35062
+ /** @description Not found */
35063
+ 404: {
35064
+ headers: {
35065
+ [name: string]: unknown;
35066
+ };
35067
+ content: {
35068
+ "application/json": {
35069
+ code: string;
35070
+ message: string;
35071
+ links?: {
35072
+ docs: string;
35073
+ schema: string;
35074
+ };
35075
+ issues?: {
35076
+ message: string;
35077
+ path?: (string | number)[];
35078
+ schema?: string;
35079
+ }[];
35080
+ context?: unknown;
35081
+ };
35082
+ };
35083
+ };
35084
+ /** @description Internal server error */
35085
+ 500: {
35086
+ headers: {
35087
+ [name: string]: unknown;
35088
+ };
35089
+ content: {
35090
+ "application/json": {
35091
+ code: string;
35092
+ message: string;
35093
+ links?: {
35094
+ docs: string;
35095
+ schema: string;
35096
+ };
35097
+ issues?: {
35098
+ message: string;
35099
+ path?: (string | number)[];
35100
+ schema?: string;
35101
+ }[];
35102
+ context?: unknown;
35103
+ };
35104
+ };
35105
+ };
35106
+ };
35107
+ };
35108
+ updatePartnerMemberMemberships: {
35109
+ parameters: {
35110
+ query?: never;
35111
+ header?: never;
35112
+ path: {
35113
+ userId: string;
35114
+ };
35115
+ cookie?: never;
35116
+ };
35117
+ requestBody?: {
35118
+ content: {
35119
+ "application/json": {
35120
+ /** @description Replace semantics across the partner CHILD teams: listed teams are upserted with the given role, unlisted child-team memberships are removed. The partner-tenant membership itself and owner-role memberships are never touched. */
35121
+ memberships: {
35122
+ /** Format: uuid */
35123
+ teamId: string;
35124
+ /** @enum {string} */
35125
+ role: "admin" | "user";
35126
+ }[];
35127
+ };
35128
+ };
35129
+ };
35130
+ responses: {
35131
+ /** @description Successful response */
35132
+ 200: {
35133
+ headers: {
35134
+ [name: string]: unknown;
35135
+ };
35136
+ content: {
35137
+ "application/json": {
35138
+ data: {
35139
+ /** Format: uuid */
35140
+ teamId: string;
35141
+ teamName: string;
35142
+ role?: string | null;
35143
+ status?: string | null;
35144
+ }[];
35145
+ };
35146
+ };
35147
+ };
35148
+ /** @description Bad request */
35149
+ 400: {
35150
+ headers: {
35151
+ [name: string]: unknown;
35152
+ };
35153
+ content: {
35154
+ "application/json": {
35155
+ code: string;
35156
+ message: string;
35157
+ links?: {
35158
+ docs: string;
35159
+ schema: string;
35160
+ };
35161
+ issues?: {
35162
+ message: string;
35163
+ path?: (string | number)[];
35164
+ schema?: string;
35165
+ }[];
35166
+ context?: unknown;
35167
+ };
35168
+ };
35169
+ };
35170
+ /** @description Unauthorized */
35171
+ 401: {
35172
+ headers: {
35173
+ [name: string]: unknown;
35174
+ };
35175
+ content: {
35176
+ "application/json": {
35177
+ code: string;
35178
+ message: string;
35179
+ links?: {
35180
+ docs: string;
35181
+ schema: string;
35182
+ };
35183
+ issues?: {
35184
+ message: string;
35185
+ path?: (string | number)[];
35186
+ schema?: string;
35187
+ }[];
35188
+ context?: unknown;
35189
+ };
35190
+ };
35191
+ };
35192
+ /** @description Forbidden */
35193
+ 403: {
35194
+ headers: {
35195
+ [name: string]: unknown;
35196
+ };
35197
+ content: {
35198
+ "application/json": {
35199
+ code: string;
35200
+ message: string;
35201
+ links?: {
35202
+ docs: string;
35203
+ schema: string;
35204
+ };
35205
+ issues?: {
35206
+ message: string;
35207
+ path?: (string | number)[];
35208
+ schema?: string;
35209
+ }[];
35210
+ context?: unknown;
35211
+ };
35212
+ };
35213
+ };
35214
+ /** @description Not found */
35215
+ 404: {
35216
+ headers: {
35217
+ [name: string]: unknown;
35218
+ };
35219
+ content: {
35220
+ "application/json": {
35221
+ code: string;
35222
+ message: string;
35223
+ links?: {
35224
+ docs: string;
35225
+ schema: string;
35226
+ };
35227
+ issues?: {
35228
+ message: string;
35229
+ path?: (string | number)[];
35230
+ schema?: string;
35231
+ }[];
35232
+ context?: unknown;
35233
+ };
35234
+ };
35235
+ };
35236
+ /** @description Internal server error */
35237
+ 500: {
35238
+ headers: {
35239
+ [name: string]: unknown;
35240
+ };
35241
+ content: {
35242
+ "application/json": {
35243
+ code: string;
35244
+ message: string;
35245
+ links?: {
35246
+ docs: string;
35247
+ schema: string;
35248
+ };
35249
+ issues?: {
35250
+ message: string;
35251
+ path?: (string | number)[];
35252
+ schema?: string;
35253
+ }[];
35254
+ context?: unknown;
35255
+ };
35256
+ };
35257
+ };
35258
+ };
35259
+ };
34937
35260
  getPartnerUsers: {
34938
35261
  parameters: {
34939
35262
  query?: {
34940
35263
  /** @description Filter by user name or email */
34941
35264
  search?: string;
35265
+ /** @description Filter by the exact user type */
35266
+ type?: "owner" | "user";
34942
35267
  /** @description Comma separated team ids; only return users with a membership on one of these teams */
34943
35268
  teamIds?: string;
34944
35269
  /** @description users: non-owner users with a portfolio membership; owners: owner users linked via membership or owner access; missing: users without any portfolio membership (delete candidates). Omitted returns every linked user. */