@meshery/schemas 0.8.122 → 0.8.124
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/dist/cloudApi.d.mts +2734 -809
- package/dist/cloudApi.d.ts +2734 -809
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- package/dist/constructs/v1beta1/organization/Organization.d.mts +209 -0
- package/dist/constructs/v1beta1/organization/Organization.d.ts +209 -0
- package/dist/constructs/v1beta1/organization/OrganizationSchema.d.mts +729 -0
- package/dist/constructs/v1beta1/organization/OrganizationSchema.d.ts +729 -0
- package/dist/constructs/v1beta1/organization/OrganizationSchema.js +1 -1
- package/dist/constructs/v1beta1/organization/OrganizationSchema.mjs +1 -1
- package/dist/constructs/v1beta1/team/Team.d.mts +719 -0
- package/dist/constructs/v1beta1/team/Team.d.ts +719 -0
- package/dist/constructs/v1beta1/team/Team.js +1 -0
- package/dist/constructs/v1beta1/team/Team.mjs +0 -0
- package/dist/constructs/v1beta1/team/TeamSchema.d.mts +2022 -0
- package/dist/constructs/v1beta1/team/TeamSchema.d.ts +2022 -0
- package/dist/constructs/v1beta1/team/TeamSchema.js +2 -0
- package/dist/constructs/v1beta1/team/TeamSchema.mjs +2 -0
- package/dist/mesheryApi.d.mts +2033 -108
- package/dist/mesheryApi.d.ts +2033 -108
- package/dist/mesheryApi.js +1 -1
- package/dist/mesheryApi.mjs +1 -1
- package/package.json +4 -4
|
@@ -6,6 +6,12 @@ interface paths {
|
|
|
6
6
|
"/api/identity/orgs/by-domain": {
|
|
7
7
|
get: operations["getOrgByDomain"];
|
|
8
8
|
};
|
|
9
|
+
"/api/identity/orgs/{orgID}/teams/{teamId}": {
|
|
10
|
+
/** Adds a team to an organization. If request body contains action=delete, tombstones a team by setting its deleted_at timestamp. The team's organization mapping remains intact. */
|
|
11
|
+
post: operations["AddTeamToOrg"];
|
|
12
|
+
/** Removes (unassigns) a team from an organization. */
|
|
13
|
+
delete: operations["RemoveTeamFromOrg"];
|
|
14
|
+
};
|
|
9
15
|
}
|
|
10
16
|
interface components {
|
|
11
17
|
schemas: {
|
|
@@ -18,6 +24,18 @@ interface components {
|
|
|
18
24
|
NullableTime: string;
|
|
19
25
|
/** Format: date-time */
|
|
20
26
|
Time: string;
|
|
27
|
+
Text: string;
|
|
28
|
+
MapObject: {
|
|
29
|
+
[key: string]: string;
|
|
30
|
+
};
|
|
31
|
+
/** @description Optional action payload for POST on /api/identity/orgs/{orgID}/teams/{teamId}. */
|
|
32
|
+
OrgTeamActionPayload: {
|
|
33
|
+
/**
|
|
34
|
+
* @description Internal action to perform on the team resource.
|
|
35
|
+
* @enum {string}
|
|
36
|
+
*/
|
|
37
|
+
action?: "delete";
|
|
38
|
+
};
|
|
21
39
|
Location: {
|
|
22
40
|
svg: string;
|
|
23
41
|
location: string;
|
|
@@ -185,6 +203,80 @@ interface components {
|
|
|
185
203
|
deleted_at?: string;
|
|
186
204
|
domain?: string | null;
|
|
187
205
|
};
|
|
206
|
+
AvailableTeam: {
|
|
207
|
+
/** Format: uuid */
|
|
208
|
+
ID?: string;
|
|
209
|
+
name?: string;
|
|
210
|
+
description?: string;
|
|
211
|
+
owner?: string;
|
|
212
|
+
metadata?: {
|
|
213
|
+
[key: string]: string;
|
|
214
|
+
};
|
|
215
|
+
/** Format: date-time */
|
|
216
|
+
created_at?: string;
|
|
217
|
+
/** Format: date-time */
|
|
218
|
+
updated_at?: string;
|
|
219
|
+
/** Format: date-time */
|
|
220
|
+
deleted_at?: string;
|
|
221
|
+
};
|
|
222
|
+
TeamsPage: {
|
|
223
|
+
page?: number;
|
|
224
|
+
page_size?: number;
|
|
225
|
+
total_count?: number;
|
|
226
|
+
teams?: {
|
|
227
|
+
/** Format: uuid */
|
|
228
|
+
ID?: string;
|
|
229
|
+
name?: string;
|
|
230
|
+
description?: string;
|
|
231
|
+
owner?: string;
|
|
232
|
+
metadata?: {
|
|
233
|
+
[key: string]: string;
|
|
234
|
+
};
|
|
235
|
+
/** Format: date-time */
|
|
236
|
+
created_at?: string;
|
|
237
|
+
/** Format: date-time */
|
|
238
|
+
updated_at?: string;
|
|
239
|
+
/** Format: date-time */
|
|
240
|
+
deleted_at?: string;
|
|
241
|
+
}[];
|
|
242
|
+
};
|
|
243
|
+
TeamsOrganizationsMapping: {
|
|
244
|
+
/** Format: uuid */
|
|
245
|
+
ID?: string;
|
|
246
|
+
/** Format: uuid */
|
|
247
|
+
org_id?: string;
|
|
248
|
+
/** Format: uuid */
|
|
249
|
+
team_id?: string;
|
|
250
|
+
/** Format: date-time */
|
|
251
|
+
created_at?: string;
|
|
252
|
+
/** Format: date-time */
|
|
253
|
+
updated_at?: string;
|
|
254
|
+
/** Format: date-time */
|
|
255
|
+
deleted_at?: string;
|
|
256
|
+
};
|
|
257
|
+
TeamsOrganizationsMappingPage: {
|
|
258
|
+
page?: number;
|
|
259
|
+
page_size?: number;
|
|
260
|
+
total_count?: number;
|
|
261
|
+
teams_organizations_mapping?: {
|
|
262
|
+
/** Format: uuid */
|
|
263
|
+
ID?: string;
|
|
264
|
+
/** Format: uuid */
|
|
265
|
+
org_id?: string;
|
|
266
|
+
/** Format: uuid */
|
|
267
|
+
team_id?: string;
|
|
268
|
+
/** Format: date-time */
|
|
269
|
+
created_at?: string;
|
|
270
|
+
/** Format: date-time */
|
|
271
|
+
updated_at?: string;
|
|
272
|
+
/** Format: date-time */
|
|
273
|
+
deleted_at?: string;
|
|
274
|
+
}[];
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
parameters: {
|
|
278
|
+
orgID: string;
|
|
279
|
+
teamId: string;
|
|
188
280
|
};
|
|
189
281
|
}
|
|
190
282
|
interface operations {
|
|
@@ -261,6 +353,123 @@ interface operations {
|
|
|
261
353
|
500: unknown;
|
|
262
354
|
};
|
|
263
355
|
};
|
|
356
|
+
/** Adds a team to an organization. If request body contains action=delete, tombstones a team by setting its deleted_at timestamp. The team's organization mapping remains intact. */
|
|
357
|
+
AddTeamToOrg: {
|
|
358
|
+
parameters: {
|
|
359
|
+
path: {
|
|
360
|
+
orgID: string;
|
|
361
|
+
teamId: string;
|
|
362
|
+
};
|
|
363
|
+
};
|
|
364
|
+
responses: {
|
|
365
|
+
/** Team added to organization or team tombstoned */
|
|
366
|
+
200: {
|
|
367
|
+
content: {
|
|
368
|
+
"application/json": {
|
|
369
|
+
page?: number;
|
|
370
|
+
page_size?: number;
|
|
371
|
+
total_count?: number;
|
|
372
|
+
teams_organizations_mapping?: {
|
|
373
|
+
/** Format: uuid */
|
|
374
|
+
ID?: string;
|
|
375
|
+
/** Format: uuid */
|
|
376
|
+
org_id?: string;
|
|
377
|
+
/** Format: uuid */
|
|
378
|
+
team_id?: string;
|
|
379
|
+
/** Format: date-time */
|
|
380
|
+
created_at?: string;
|
|
381
|
+
/** Format: date-time */
|
|
382
|
+
updated_at?: string;
|
|
383
|
+
/** Format: date-time */
|
|
384
|
+
deleted_at?: string;
|
|
385
|
+
}[];
|
|
386
|
+
} | {
|
|
387
|
+
page?: number;
|
|
388
|
+
page_size?: number;
|
|
389
|
+
total_count?: number;
|
|
390
|
+
teams?: {
|
|
391
|
+
/** Format: uuid */
|
|
392
|
+
ID?: string;
|
|
393
|
+
name?: string;
|
|
394
|
+
description?: string;
|
|
395
|
+
owner?: string;
|
|
396
|
+
metadata?: {
|
|
397
|
+
[key: string]: string;
|
|
398
|
+
};
|
|
399
|
+
/** Format: date-time */
|
|
400
|
+
created_at?: string;
|
|
401
|
+
/** Format: date-time */
|
|
402
|
+
updated_at?: string;
|
|
403
|
+
/** Format: date-time */
|
|
404
|
+
deleted_at?: string;
|
|
405
|
+
}[];
|
|
406
|
+
};
|
|
407
|
+
};
|
|
408
|
+
};
|
|
409
|
+
/** Bad request */
|
|
410
|
+
400: unknown;
|
|
411
|
+
/** Unauthorized */
|
|
412
|
+
401: unknown;
|
|
413
|
+
/** Not found */
|
|
414
|
+
404: unknown;
|
|
415
|
+
/** Internal server error */
|
|
416
|
+
500: unknown;
|
|
417
|
+
};
|
|
418
|
+
requestBody: {
|
|
419
|
+
content: {
|
|
420
|
+
"application/json": {
|
|
421
|
+
/**
|
|
422
|
+
* @description Internal action to perform on the team resource.
|
|
423
|
+
* @enum {string}
|
|
424
|
+
*/
|
|
425
|
+
action?: "delete";
|
|
426
|
+
};
|
|
427
|
+
};
|
|
428
|
+
};
|
|
429
|
+
};
|
|
430
|
+
/** Removes (unassigns) a team from an organization. */
|
|
431
|
+
RemoveTeamFromOrg: {
|
|
432
|
+
parameters: {
|
|
433
|
+
path: {
|
|
434
|
+
orgID: string;
|
|
435
|
+
teamId: string;
|
|
436
|
+
};
|
|
437
|
+
};
|
|
438
|
+
responses: {
|
|
439
|
+
/** Team removed from organization */
|
|
440
|
+
200: {
|
|
441
|
+
content: {
|
|
442
|
+
"application/json": {
|
|
443
|
+
page?: number;
|
|
444
|
+
page_size?: number;
|
|
445
|
+
total_count?: number;
|
|
446
|
+
teams_organizations_mapping?: {
|
|
447
|
+
/** Format: uuid */
|
|
448
|
+
ID?: string;
|
|
449
|
+
/** Format: uuid */
|
|
450
|
+
org_id?: string;
|
|
451
|
+
/** Format: uuid */
|
|
452
|
+
team_id?: string;
|
|
453
|
+
/** Format: date-time */
|
|
454
|
+
created_at?: string;
|
|
455
|
+
/** Format: date-time */
|
|
456
|
+
updated_at?: string;
|
|
457
|
+
/** Format: date-time */
|
|
458
|
+
deleted_at?: string;
|
|
459
|
+
}[];
|
|
460
|
+
};
|
|
461
|
+
};
|
|
462
|
+
};
|
|
463
|
+
/** Bad request */
|
|
464
|
+
400: unknown;
|
|
465
|
+
/** Unauthorized */
|
|
466
|
+
401: unknown;
|
|
467
|
+
/** Not found */
|
|
468
|
+
404: unknown;
|
|
469
|
+
/** Internal server error */
|
|
470
|
+
500: unknown;
|
|
471
|
+
};
|
|
472
|
+
};
|
|
264
473
|
}
|
|
265
474
|
interface external {
|
|
266
475
|
}
|