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