@meshery/schemas 1.3.29 → 1.3.31
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 +4334 -3675
- package/dist/cloudApi.d.ts +4334 -3675
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- package/dist/constructs/v1beta2/academy/AcademySchema.js +1 -1
- package/dist/constructs/v1beta2/academy/AcademySchema.mjs +1 -1
- package/dist/constructs/v1beta2/connection/Connection.d.ts +6 -6
- package/dist/constructs/v1beta2/connection/ConnectionSchema.js +1 -1
- package/dist/constructs/v1beta2/connection/ConnectionSchema.mjs +1 -1
- package/dist/constructs/v1beta2/core/Core.d.ts +1 -1
- package/dist/constructs/v1beta2/core/CoreSchema.js +1 -1
- package/dist/constructs/v1beta2/core/CoreSchema.mjs +1 -1
- package/dist/constructs/v1beta2/credential/Credential.d.ts +2 -2
- package/dist/constructs/v1beta2/credential/CredentialSchema.js +2 -2
- package/dist/constructs/v1beta2/credential/CredentialSchema.mjs +2 -2
- package/dist/constructs/v1beta2/design/DesignSchema.js +5 -5
- package/dist/constructs/v1beta2/design/DesignSchema.mjs +5 -5
- package/dist/constructs/v1beta2/event/EventSchema.js +1 -1
- package/dist/constructs/v1beta2/event/EventSchema.mjs +1 -1
- package/dist/constructs/v1beta2/invitation/InvitationSchema.js +1 -1
- package/dist/constructs/v1beta2/invitation/InvitationSchema.mjs +1 -1
- package/dist/constructs/v1beta2/key/Key.d.ts +3 -3
- package/dist/constructs/v1beta2/key/KeySchema.js +1 -1
- package/dist/constructs/v1beta2/key/KeySchema.mjs +1 -1
- package/dist/constructs/v1beta2/keychain/Keychain.d.ts +3 -3
- package/dist/constructs/v1beta2/keychain/KeychainSchema.js +1 -1
- package/dist/constructs/v1beta2/keychain/KeychainSchema.mjs +1 -1
- package/dist/constructs/v1beta2/plan/PlanSchema.js +1 -1
- package/dist/constructs/v1beta2/plan/PlanSchema.mjs +1 -1
- package/dist/constructs/v1beta2/role/Role.d.ts +3 -3
- package/dist/constructs/v1beta2/role/RoleSchema.js +1 -1
- package/dist/constructs/v1beta2/role/RoleSchema.mjs +1 -1
- package/dist/constructs/v1beta2/schedule/Schedule.d.ts +2 -2
- package/dist/constructs/v1beta2/schedule/ScheduleSchema.js +2 -2
- package/dist/constructs/v1beta2/schedule/ScheduleSchema.mjs +2 -2
- package/dist/constructs/v1beta2/subscription/SubscriptionSchema.js +1 -1
- package/dist/constructs/v1beta2/subscription/SubscriptionSchema.mjs +1 -1
- package/dist/constructs/v1beta2/team/Team.d.ts +4 -4
- package/dist/constructs/v1beta2/team/TeamSchema.js +1 -1
- package/dist/constructs/v1beta2/team/TeamSchema.mjs +1 -1
- package/dist/constructs/v1beta2/token/TokenSchema.js +1 -1
- package/dist/constructs/v1beta2/token/TokenSchema.mjs +1 -1
- package/dist/constructs/v1beta2/user/User.d.ts +6 -350
- package/dist/constructs/v1beta2/user/UserSchema.js +1 -1
- package/dist/constructs/v1beta2/user/UserSchema.mjs +1 -1
- package/dist/constructs/v1beta2/view/View.d.ts +2 -2
- package/dist/constructs/v1beta2/view/ViewSchema.js +2 -2
- package/dist/constructs/v1beta2/view/ViewSchema.mjs +2 -2
- package/dist/constructs/v1beta3/academy/AcademySchema.js +1 -1
- package/dist/constructs/v1beta3/academy/AcademySchema.mjs +1 -1
- package/dist/constructs/v1beta3/connection/Connection.d.ts +7 -7
- package/dist/constructs/v1beta3/connection/ConnectionSchema.js +1 -1
- package/dist/constructs/v1beta3/connection/ConnectionSchema.mjs +1 -1
- package/dist/constructs/v1beta3/design/DesignSchema.js +5 -5
- package/dist/constructs/v1beta3/design/DesignSchema.mjs +5 -5
- package/dist/constructs/v1beta3/environment/Environment.d.ts +3 -3
- package/dist/constructs/v1beta3/environment/EnvironmentSchema.js +1 -1
- package/dist/constructs/v1beta3/environment/EnvironmentSchema.mjs +1 -1
- package/dist/constructs/v1beta3/event/EventSchema.js +1 -1
- package/dist/constructs/v1beta3/event/EventSchema.mjs +1 -1
- package/dist/constructs/v1beta3/filter/FilterSchema.js +2 -2
- package/dist/constructs/v1beta3/filter/FilterSchema.mjs +2 -2
- package/dist/constructs/v1beta3/invitation/InvitationSchema.js +1 -1
- package/dist/constructs/v1beta3/invitation/InvitationSchema.mjs +1 -1
- package/dist/constructs/v1beta3/pattern_resource/PatternResourceSchema.js +2 -2
- package/dist/constructs/v1beta3/pattern_resource/PatternResourceSchema.mjs +2 -2
- package/dist/constructs/v1beta3/performance_profile/PerformanceProfile.d.ts +4 -4
- package/dist/constructs/v1beta3/performance_profile/PerformanceProfileSchema.js +1 -1
- package/dist/constructs/v1beta3/performance_profile/PerformanceProfileSchema.mjs +1 -1
- package/dist/constructs/v1beta3/plan/PlanSchema.js +1 -1
- package/dist/constructs/v1beta3/plan/PlanSchema.mjs +1 -1
- package/dist/constructs/v1beta3/subscription/SubscriptionSchema.js +1 -1
- package/dist/constructs/v1beta3/subscription/SubscriptionSchema.mjs +1 -1
- package/dist/constructs/v1beta3/token/TokenSchema.js +1 -1
- package/dist/constructs/v1beta3/token/TokenSchema.mjs +1 -1
- package/dist/constructs/v1beta3/user/User.d.ts +536 -5
- package/dist/constructs/v1beta3/user/UserSchema.js +1 -1
- package/dist/constructs/v1beta3/user/UserSchema.mjs +1 -1
- package/dist/constructs/v1beta3/workspace/Workspace.d.ts +6 -6
- package/dist/constructs/v1beta3/workspace/WorkspaceSchema.js +2 -2
- package/dist/constructs/v1beta3/workspace/WorkspaceSchema.mjs +2 -2
- package/dist/index.d.mts +781 -75
- package/dist/index.d.ts +781 -75
- package/dist/index.js +7 -7
- package/dist/index.mjs +7 -7
- package/dist/mesheryApi.d.mts +3588 -3341
- package/dist/mesheryApi.d.ts +3588 -3341
- package/dist/mesheryApi.js +1 -1
- package/dist/mesheryApi.mjs +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,68 @@
|
|
|
3
3
|
* Do not make direct changes to the file.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
export
|
|
6
|
+
export interface paths {
|
|
7
|
+
"/api/users": {
|
|
8
|
+
parameters: {
|
|
9
|
+
query?: never;
|
|
10
|
+
header?: never;
|
|
11
|
+
path?: never;
|
|
12
|
+
cookie?: never;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Get public users
|
|
16
|
+
* @description Returns the publicly viewable user directory. Records are reduced to the PublicUser projection (username and avatar); personally identifying fields such as email and real names are never served on this unauthenticated path.
|
|
17
|
+
*/
|
|
18
|
+
get: operations["getUsers"];
|
|
19
|
+
put?: never;
|
|
20
|
+
post?: never;
|
|
21
|
+
delete?: never;
|
|
22
|
+
options?: never;
|
|
23
|
+
head?: never;
|
|
24
|
+
patch?: never;
|
|
25
|
+
trace?: never;
|
|
26
|
+
};
|
|
27
|
+
"/api/identity/users/search": {
|
|
28
|
+
parameters: {
|
|
29
|
+
query?: never;
|
|
30
|
+
header?: never;
|
|
31
|
+
path?: never;
|
|
32
|
+
cookie?: never;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Search users
|
|
36
|
+
* @description Searches user accounts by name, username, or email and returns the SearchableUser collaboration projection. Serves authenticated people-picker flows such as sharing a design with other users. A blank search returns an empty page.
|
|
37
|
+
*/
|
|
38
|
+
get: operations["searchUsers"];
|
|
39
|
+
put?: never;
|
|
40
|
+
post?: never;
|
|
41
|
+
delete?: never;
|
|
42
|
+
options?: never;
|
|
43
|
+
head?: never;
|
|
44
|
+
patch?: never;
|
|
45
|
+
trace?: never;
|
|
46
|
+
};
|
|
47
|
+
"/api/identity/orgs/{orgId}/users/search": {
|
|
48
|
+
parameters: {
|
|
49
|
+
query?: never;
|
|
50
|
+
header?: never;
|
|
51
|
+
path?: never;
|
|
52
|
+
cookie?: never;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Search users within an organization scope
|
|
56
|
+
* @description Searches user accounts on behalf of an organization context and returns the SearchableUser collaboration projection. A blank search returns an empty page.
|
|
57
|
+
*/
|
|
58
|
+
get: operations["searchUsersInOrg"];
|
|
59
|
+
put?: never;
|
|
60
|
+
post?: never;
|
|
61
|
+
delete?: never;
|
|
62
|
+
options?: never;
|
|
63
|
+
head?: never;
|
|
64
|
+
patch?: never;
|
|
65
|
+
trace?: never;
|
|
66
|
+
};
|
|
67
|
+
}
|
|
7
68
|
export type webhooks = Record<string, never>;
|
|
8
69
|
export interface components {
|
|
9
70
|
schemas: {
|
|
@@ -264,6 +325,136 @@ export interface components {
|
|
|
264
325
|
totalCount?: number;
|
|
265
326
|
};
|
|
266
327
|
};
|
|
328
|
+
/** @description Publicly viewable projection of User served by the unauthenticated public users directory. Deliberately excludes email, real names, and every other personally identifying or account-internal field. */
|
|
329
|
+
PublicUser: {
|
|
330
|
+
/**
|
|
331
|
+
* Format: uuid
|
|
332
|
+
* @description Unique identifier for the user
|
|
333
|
+
*/
|
|
334
|
+
id: string;
|
|
335
|
+
/**
|
|
336
|
+
* Format: uuid
|
|
337
|
+
* @deprecated
|
|
338
|
+
* @description Deprecated duplicate of id kept for consumers that predate the retirement of the legacy user_id column; always equals id.
|
|
339
|
+
*/
|
|
340
|
+
userId?: string;
|
|
341
|
+
/** @description Public username of the user */
|
|
342
|
+
username?: string;
|
|
343
|
+
/**
|
|
344
|
+
* Format: uri
|
|
345
|
+
* @description URL to user's avatar image
|
|
346
|
+
*/
|
|
347
|
+
avatarUrl?: string;
|
|
348
|
+
};
|
|
349
|
+
/** @description Paginated list of publicly viewable user records */
|
|
350
|
+
PublicUsersPage: {
|
|
351
|
+
/** @description Current page number of the result set. */
|
|
352
|
+
page: number;
|
|
353
|
+
/** @description Number of items per page. */
|
|
354
|
+
pageSize: number;
|
|
355
|
+
/** @description Total number of items available. */
|
|
356
|
+
totalCount: number;
|
|
357
|
+
/** @description Public user records for the requested page. */
|
|
358
|
+
data: {
|
|
359
|
+
/**
|
|
360
|
+
* Format: uuid
|
|
361
|
+
* @description Unique identifier for the user
|
|
362
|
+
*/
|
|
363
|
+
id: string;
|
|
364
|
+
/**
|
|
365
|
+
* Format: uuid
|
|
366
|
+
* @deprecated
|
|
367
|
+
* @description Deprecated duplicate of id kept for consumers that predate the retirement of the legacy user_id column; always equals id.
|
|
368
|
+
*/
|
|
369
|
+
userId?: string;
|
|
370
|
+
/** @description Public username of the user */
|
|
371
|
+
username?: string;
|
|
372
|
+
/**
|
|
373
|
+
* Format: uri
|
|
374
|
+
* @description URL to user's avatar image
|
|
375
|
+
*/
|
|
376
|
+
avatarUrl?: string;
|
|
377
|
+
}[];
|
|
378
|
+
};
|
|
379
|
+
/** @description Minimal collaboration projection of User served by the authenticated user-search endpoints (people-picker flows such as sharing a design). Carries just enough to identify and display a person - name, username, email, avatar - and deliberately excludes roles, organization and team membership, preferences, and login metadata. */
|
|
380
|
+
SearchableUser: {
|
|
381
|
+
/**
|
|
382
|
+
* Format: uuid
|
|
383
|
+
* @description Unique identifier for the user
|
|
384
|
+
*/
|
|
385
|
+
id: string;
|
|
386
|
+
/**
|
|
387
|
+
* Format: uuid
|
|
388
|
+
* @deprecated
|
|
389
|
+
* @description Deprecated duplicate of id kept for consumers that predate the retirement of the legacy user_id column; always equals id.
|
|
390
|
+
*/
|
|
391
|
+
userId?: string;
|
|
392
|
+
/** @description Public username of the user */
|
|
393
|
+
username?: string;
|
|
394
|
+
/** @description User's first name */
|
|
395
|
+
firstName?: string;
|
|
396
|
+
/** @description User's last name */
|
|
397
|
+
lastName?: string;
|
|
398
|
+
/**
|
|
399
|
+
* Format: email
|
|
400
|
+
* @description User's email address
|
|
401
|
+
*/
|
|
402
|
+
email?: string;
|
|
403
|
+
/**
|
|
404
|
+
* Format: uri
|
|
405
|
+
* @description URL to user's avatar image
|
|
406
|
+
*/
|
|
407
|
+
avatarUrl?: string;
|
|
408
|
+
/**
|
|
409
|
+
* Format: date-time
|
|
410
|
+
* @description Timestamp when the user record was soft-deleted (null if not deleted)
|
|
411
|
+
*/
|
|
412
|
+
deletedAt?: string | null;
|
|
413
|
+
};
|
|
414
|
+
/** @description Paginated list of users in the searchable collaboration projection */
|
|
415
|
+
SearchableUsersPage: {
|
|
416
|
+
/** @description Current page number of the result set. */
|
|
417
|
+
page: number;
|
|
418
|
+
/** @description Number of items per page. */
|
|
419
|
+
pageSize: number;
|
|
420
|
+
/** @description Total number of items available. */
|
|
421
|
+
totalCount: number;
|
|
422
|
+
/** @description Matching user records for the requested page. */
|
|
423
|
+
data: {
|
|
424
|
+
/**
|
|
425
|
+
* Format: uuid
|
|
426
|
+
* @description Unique identifier for the user
|
|
427
|
+
*/
|
|
428
|
+
id: string;
|
|
429
|
+
/**
|
|
430
|
+
* Format: uuid
|
|
431
|
+
* @deprecated
|
|
432
|
+
* @description Deprecated duplicate of id kept for consumers that predate the retirement of the legacy user_id column; always equals id.
|
|
433
|
+
*/
|
|
434
|
+
userId?: string;
|
|
435
|
+
/** @description Public username of the user */
|
|
436
|
+
username?: string;
|
|
437
|
+
/** @description User's first name */
|
|
438
|
+
firstName?: string;
|
|
439
|
+
/** @description User's last name */
|
|
440
|
+
lastName?: string;
|
|
441
|
+
/**
|
|
442
|
+
* Format: email
|
|
443
|
+
* @description User's email address
|
|
444
|
+
*/
|
|
445
|
+
email?: string;
|
|
446
|
+
/**
|
|
447
|
+
* Format: uri
|
|
448
|
+
* @description URL to user's avatar image
|
|
449
|
+
*/
|
|
450
|
+
avatarUrl?: string;
|
|
451
|
+
/**
|
|
452
|
+
* Format: date-time
|
|
453
|
+
* @description Timestamp when the user record was soft-deleted (null if not deleted)
|
|
454
|
+
*/
|
|
455
|
+
deletedAt?: string | null;
|
|
456
|
+
}[];
|
|
457
|
+
};
|
|
267
458
|
/** @description One email address associated with a user account. A user has exactly one primary address (mirrored in users.email) and any number of secondary addresses accumulated from account consolidation or explicit addition. Uniqueness across live addresses is enforced case-insensitively. */
|
|
268
459
|
UserEmailAddress: {
|
|
269
460
|
/**
|
|
@@ -304,7 +495,7 @@ export interface components {
|
|
|
304
495
|
* Format: date-time
|
|
305
496
|
* @description SQL null Timestamp to handle null values of time.
|
|
306
497
|
*/
|
|
307
|
-
deletedAt?: string;
|
|
498
|
+
deletedAt?: string | null;
|
|
308
499
|
};
|
|
309
500
|
/** @description An organization the user is a member of, together with the names of the roles assigned to that user within the organization. Returned as an item of User.organizations.organizationsWithRoles. The role names are dynamic, user-generated values (no fixed enumeration). */
|
|
310
501
|
OrganizationWithRoles: {
|
|
@@ -517,11 +708,351 @@ export interface components {
|
|
|
517
708
|
link: string;
|
|
518
709
|
};
|
|
519
710
|
};
|
|
520
|
-
responses:
|
|
521
|
-
|
|
711
|
+
responses: {
|
|
712
|
+
/** @description Invalid request body or request param */
|
|
713
|
+
400: {
|
|
714
|
+
headers: {
|
|
715
|
+
[name: string]: unknown;
|
|
716
|
+
};
|
|
717
|
+
content: {
|
|
718
|
+
"text/plain": string;
|
|
719
|
+
};
|
|
720
|
+
};
|
|
721
|
+
/** @description Expired JWT token used or insufficient privilege */
|
|
722
|
+
401: {
|
|
723
|
+
headers: {
|
|
724
|
+
[name: string]: unknown;
|
|
725
|
+
};
|
|
726
|
+
content: {
|
|
727
|
+
"text/plain": string;
|
|
728
|
+
};
|
|
729
|
+
};
|
|
730
|
+
/** @description Result not found */
|
|
731
|
+
404: {
|
|
732
|
+
headers: {
|
|
733
|
+
[name: string]: unknown;
|
|
734
|
+
};
|
|
735
|
+
content: {
|
|
736
|
+
"text/plain": string;
|
|
737
|
+
};
|
|
738
|
+
};
|
|
739
|
+
/** @description Internal server error */
|
|
740
|
+
500: {
|
|
741
|
+
headers: {
|
|
742
|
+
[name: string]: unknown;
|
|
743
|
+
};
|
|
744
|
+
content: {
|
|
745
|
+
"text/plain": string;
|
|
746
|
+
};
|
|
747
|
+
};
|
|
748
|
+
};
|
|
749
|
+
parameters: {
|
|
750
|
+
/** @description Organization ID */
|
|
751
|
+
orgId: string;
|
|
752
|
+
/** @description Get responses by page */
|
|
753
|
+
page: number;
|
|
754
|
+
/** @description Number of responses to return per page. Canonical camelCase pagination parameter; prefer this over the deprecated all-lowercase `pagesize`. */
|
|
755
|
+
pageSize: number;
|
|
756
|
+
/** @description Get responses that match search param value */
|
|
757
|
+
search: string;
|
|
758
|
+
/** @description Get ordered responses */
|
|
759
|
+
order: string;
|
|
760
|
+
/** @description Get filtered reponses */
|
|
761
|
+
filter: string;
|
|
762
|
+
};
|
|
522
763
|
requestBodies: never;
|
|
523
764
|
headers: never;
|
|
524
765
|
pathItems: never;
|
|
525
766
|
}
|
|
526
767
|
export type $defs = Record<string, never>;
|
|
527
|
-
export
|
|
768
|
+
export interface operations {
|
|
769
|
+
getUsers: {
|
|
770
|
+
parameters: {
|
|
771
|
+
query?: {
|
|
772
|
+
/** @description Get responses by page */
|
|
773
|
+
page?: number;
|
|
774
|
+
/** @description Number of responses to return per page. Canonical camelCase pagination parameter; prefer this over the deprecated all-lowercase `pagesize`. */
|
|
775
|
+
pageSize?: number;
|
|
776
|
+
/** @description Get responses that match search param value */
|
|
777
|
+
search?: string;
|
|
778
|
+
/** @description Get ordered responses */
|
|
779
|
+
order?: string;
|
|
780
|
+
/** @description Get filtered reponses */
|
|
781
|
+
filter?: string;
|
|
782
|
+
};
|
|
783
|
+
header?: never;
|
|
784
|
+
path?: never;
|
|
785
|
+
cookie?: never;
|
|
786
|
+
};
|
|
787
|
+
requestBody?: never;
|
|
788
|
+
responses: {
|
|
789
|
+
/** @description Paginated list of public users */
|
|
790
|
+
200: {
|
|
791
|
+
headers: {
|
|
792
|
+
[name: string]: unknown;
|
|
793
|
+
};
|
|
794
|
+
content: {
|
|
795
|
+
"application/json": {
|
|
796
|
+
/** @description Current page number of the result set. */
|
|
797
|
+
page: number;
|
|
798
|
+
/** @description Number of items per page. */
|
|
799
|
+
pageSize: number;
|
|
800
|
+
/** @description Total number of items available. */
|
|
801
|
+
totalCount: number;
|
|
802
|
+
/** @description Public user records for the requested page. */
|
|
803
|
+
data: {
|
|
804
|
+
/**
|
|
805
|
+
* Format: uuid
|
|
806
|
+
* @description Unique identifier for the user
|
|
807
|
+
*/
|
|
808
|
+
id: string;
|
|
809
|
+
/**
|
|
810
|
+
* Format: uuid
|
|
811
|
+
* @deprecated
|
|
812
|
+
* @description Deprecated duplicate of id kept for consumers that predate the retirement of the legacy user_id column; always equals id.
|
|
813
|
+
*/
|
|
814
|
+
userId?: string;
|
|
815
|
+
/** @description Public username of the user */
|
|
816
|
+
username?: string;
|
|
817
|
+
/**
|
|
818
|
+
* Format: uri
|
|
819
|
+
* @description URL to user's avatar image
|
|
820
|
+
*/
|
|
821
|
+
avatarUrl?: string;
|
|
822
|
+
}[];
|
|
823
|
+
};
|
|
824
|
+
};
|
|
825
|
+
};
|
|
826
|
+
/** @description Invalid request body or request param */
|
|
827
|
+
400: {
|
|
828
|
+
headers: {
|
|
829
|
+
[name: string]: unknown;
|
|
830
|
+
};
|
|
831
|
+
content: {
|
|
832
|
+
"text/plain": string;
|
|
833
|
+
};
|
|
834
|
+
};
|
|
835
|
+
/** @description Expired JWT token used or insufficient privilege */
|
|
836
|
+
401: {
|
|
837
|
+
headers: {
|
|
838
|
+
[name: string]: unknown;
|
|
839
|
+
};
|
|
840
|
+
content: {
|
|
841
|
+
"text/plain": string;
|
|
842
|
+
};
|
|
843
|
+
};
|
|
844
|
+
/** @description Internal server error */
|
|
845
|
+
500: {
|
|
846
|
+
headers: {
|
|
847
|
+
[name: string]: unknown;
|
|
848
|
+
};
|
|
849
|
+
content: {
|
|
850
|
+
"text/plain": string;
|
|
851
|
+
};
|
|
852
|
+
};
|
|
853
|
+
};
|
|
854
|
+
};
|
|
855
|
+
searchUsers: {
|
|
856
|
+
parameters: {
|
|
857
|
+
query?: {
|
|
858
|
+
/** @description Get responses by page */
|
|
859
|
+
page?: number;
|
|
860
|
+
/** @description Number of responses to return per page. Canonical camelCase pagination parameter; prefer this over the deprecated all-lowercase `pagesize`. */
|
|
861
|
+
pageSize?: number;
|
|
862
|
+
/** @description Get responses that match search param value */
|
|
863
|
+
search?: string;
|
|
864
|
+
/** @description Get ordered responses */
|
|
865
|
+
order?: string;
|
|
866
|
+
/** @description Get filtered reponses */
|
|
867
|
+
filter?: string;
|
|
868
|
+
};
|
|
869
|
+
header?: never;
|
|
870
|
+
path?: never;
|
|
871
|
+
cookie?: never;
|
|
872
|
+
};
|
|
873
|
+
requestBody?: never;
|
|
874
|
+
responses: {
|
|
875
|
+
/** @description Paginated list of matching users in the searchable projection */
|
|
876
|
+
200: {
|
|
877
|
+
headers: {
|
|
878
|
+
[name: string]: unknown;
|
|
879
|
+
};
|
|
880
|
+
content: {
|
|
881
|
+
"application/json": {
|
|
882
|
+
/** @description Current page number of the result set. */
|
|
883
|
+
page: number;
|
|
884
|
+
/** @description Number of items per page. */
|
|
885
|
+
pageSize: number;
|
|
886
|
+
/** @description Total number of items available. */
|
|
887
|
+
totalCount: number;
|
|
888
|
+
/** @description Matching user records for the requested page. */
|
|
889
|
+
data: {
|
|
890
|
+
/**
|
|
891
|
+
* Format: uuid
|
|
892
|
+
* @description Unique identifier for the user
|
|
893
|
+
*/
|
|
894
|
+
id: string;
|
|
895
|
+
/**
|
|
896
|
+
* Format: uuid
|
|
897
|
+
* @deprecated
|
|
898
|
+
* @description Deprecated duplicate of id kept for consumers that predate the retirement of the legacy user_id column; always equals id.
|
|
899
|
+
*/
|
|
900
|
+
userId?: string;
|
|
901
|
+
/** @description Public username of the user */
|
|
902
|
+
username?: string;
|
|
903
|
+
/** @description User's first name */
|
|
904
|
+
firstName?: string;
|
|
905
|
+
/** @description User's last name */
|
|
906
|
+
lastName?: string;
|
|
907
|
+
/**
|
|
908
|
+
* Format: email
|
|
909
|
+
* @description User's email address
|
|
910
|
+
*/
|
|
911
|
+
email?: string;
|
|
912
|
+
/**
|
|
913
|
+
* Format: uri
|
|
914
|
+
* @description URL to user's avatar image
|
|
915
|
+
*/
|
|
916
|
+
avatarUrl?: string;
|
|
917
|
+
/**
|
|
918
|
+
* Format: date-time
|
|
919
|
+
* @description Timestamp when the user record was soft-deleted (null if not deleted)
|
|
920
|
+
*/
|
|
921
|
+
deletedAt?: string | null;
|
|
922
|
+
}[];
|
|
923
|
+
};
|
|
924
|
+
};
|
|
925
|
+
};
|
|
926
|
+
/** @description Invalid request body or request param */
|
|
927
|
+
400: {
|
|
928
|
+
headers: {
|
|
929
|
+
[name: string]: unknown;
|
|
930
|
+
};
|
|
931
|
+
content: {
|
|
932
|
+
"text/plain": string;
|
|
933
|
+
};
|
|
934
|
+
};
|
|
935
|
+
/** @description Expired JWT token used or insufficient privilege */
|
|
936
|
+
401: {
|
|
937
|
+
headers: {
|
|
938
|
+
[name: string]: unknown;
|
|
939
|
+
};
|
|
940
|
+
content: {
|
|
941
|
+
"text/plain": string;
|
|
942
|
+
};
|
|
943
|
+
};
|
|
944
|
+
/** @description Internal server error */
|
|
945
|
+
500: {
|
|
946
|
+
headers: {
|
|
947
|
+
[name: string]: unknown;
|
|
948
|
+
};
|
|
949
|
+
content: {
|
|
950
|
+
"text/plain": string;
|
|
951
|
+
};
|
|
952
|
+
};
|
|
953
|
+
};
|
|
954
|
+
};
|
|
955
|
+
searchUsersInOrg: {
|
|
956
|
+
parameters: {
|
|
957
|
+
query?: {
|
|
958
|
+
/** @description Get responses by page */
|
|
959
|
+
page?: number;
|
|
960
|
+
/** @description Number of responses to return per page. Canonical camelCase pagination parameter; prefer this over the deprecated all-lowercase `pagesize`. */
|
|
961
|
+
pageSize?: number;
|
|
962
|
+
/** @description Get responses that match search param value */
|
|
963
|
+
search?: string;
|
|
964
|
+
/** @description Get ordered responses */
|
|
965
|
+
order?: string;
|
|
966
|
+
/** @description Get filtered reponses */
|
|
967
|
+
filter?: string;
|
|
968
|
+
};
|
|
969
|
+
header?: never;
|
|
970
|
+
path: {
|
|
971
|
+
/** @description Organization ID */
|
|
972
|
+
orgId: string;
|
|
973
|
+
};
|
|
974
|
+
cookie?: never;
|
|
975
|
+
};
|
|
976
|
+
requestBody?: never;
|
|
977
|
+
responses: {
|
|
978
|
+
/** @description Paginated list of matching users in the searchable projection */
|
|
979
|
+
200: {
|
|
980
|
+
headers: {
|
|
981
|
+
[name: string]: unknown;
|
|
982
|
+
};
|
|
983
|
+
content: {
|
|
984
|
+
"application/json": {
|
|
985
|
+
/** @description Current page number of the result set. */
|
|
986
|
+
page: number;
|
|
987
|
+
/** @description Number of items per page. */
|
|
988
|
+
pageSize: number;
|
|
989
|
+
/** @description Total number of items available. */
|
|
990
|
+
totalCount: number;
|
|
991
|
+
/** @description Matching user records for the requested page. */
|
|
992
|
+
data: {
|
|
993
|
+
/**
|
|
994
|
+
* Format: uuid
|
|
995
|
+
* @description Unique identifier for the user
|
|
996
|
+
*/
|
|
997
|
+
id: string;
|
|
998
|
+
/**
|
|
999
|
+
* Format: uuid
|
|
1000
|
+
* @deprecated
|
|
1001
|
+
* @description Deprecated duplicate of id kept for consumers that predate the retirement of the legacy user_id column; always equals id.
|
|
1002
|
+
*/
|
|
1003
|
+
userId?: string;
|
|
1004
|
+
/** @description Public username of the user */
|
|
1005
|
+
username?: string;
|
|
1006
|
+
/** @description User's first name */
|
|
1007
|
+
firstName?: string;
|
|
1008
|
+
/** @description User's last name */
|
|
1009
|
+
lastName?: string;
|
|
1010
|
+
/**
|
|
1011
|
+
* Format: email
|
|
1012
|
+
* @description User's email address
|
|
1013
|
+
*/
|
|
1014
|
+
email?: string;
|
|
1015
|
+
/**
|
|
1016
|
+
* Format: uri
|
|
1017
|
+
* @description URL to user's avatar image
|
|
1018
|
+
*/
|
|
1019
|
+
avatarUrl?: string;
|
|
1020
|
+
/**
|
|
1021
|
+
* Format: date-time
|
|
1022
|
+
* @description Timestamp when the user record was soft-deleted (null if not deleted)
|
|
1023
|
+
*/
|
|
1024
|
+
deletedAt?: string | null;
|
|
1025
|
+
}[];
|
|
1026
|
+
};
|
|
1027
|
+
};
|
|
1028
|
+
};
|
|
1029
|
+
/** @description Invalid request body or request param */
|
|
1030
|
+
400: {
|
|
1031
|
+
headers: {
|
|
1032
|
+
[name: string]: unknown;
|
|
1033
|
+
};
|
|
1034
|
+
content: {
|
|
1035
|
+
"text/plain": string;
|
|
1036
|
+
};
|
|
1037
|
+
};
|
|
1038
|
+
/** @description Expired JWT token used or insufficient privilege */
|
|
1039
|
+
401: {
|
|
1040
|
+
headers: {
|
|
1041
|
+
[name: string]: unknown;
|
|
1042
|
+
};
|
|
1043
|
+
content: {
|
|
1044
|
+
"text/plain": string;
|
|
1045
|
+
};
|
|
1046
|
+
};
|
|
1047
|
+
/** @description Internal server error */
|
|
1048
|
+
500: {
|
|
1049
|
+
headers: {
|
|
1050
|
+
[name: string]: unknown;
|
|
1051
|
+
};
|
|
1052
|
+
content: {
|
|
1053
|
+
"text/plain": string;
|
|
1054
|
+
};
|
|
1055
|
+
};
|
|
1056
|
+
};
|
|
1057
|
+
};
|
|
1058
|
+
}
|