@meshery/schemas 1.3.22 → 1.3.24

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.
Files changed (96) hide show
  1. package/dist/cloudApi.d.mts +5467 -3043
  2. package/dist/cloudApi.d.ts +5467 -3043
  3. package/dist/cloudApi.js +1 -1
  4. package/dist/cloudApi.mjs +1 -1
  5. package/dist/constructs/v1beta1/academy/AcademySchema.js +1 -1
  6. package/dist/constructs/v1beta1/academy/AcademySchema.mjs +1 -1
  7. package/dist/constructs/v1beta1/component/ComponentSchema.js +1 -1
  8. package/dist/constructs/v1beta1/component/ComponentSchema.mjs +1 -1
  9. package/dist/constructs/v1beta1/connection/ConnectionSchema.js +1 -1
  10. package/dist/constructs/v1beta1/connection/ConnectionSchema.mjs +1 -1
  11. package/dist/constructs/v1beta1/credential/CredentialSchema.js +8 -8
  12. package/dist/constructs/v1beta1/credential/CredentialSchema.mjs +8 -8
  13. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +4 -4
  14. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +4 -4
  15. package/dist/constructs/v1beta1/model/Model.d.ts +586 -2
  16. package/dist/constructs/v1beta1/model/ModelSchema.js +10 -2
  17. package/dist/constructs/v1beta1/model/ModelSchema.mjs +10 -2
  18. package/dist/constructs/v1beta1/pattern/PatternSchema.js +11 -11
  19. package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +11 -11
  20. package/dist/constructs/v1beta1/schedule/ScheduleSchema.js +6 -6
  21. package/dist/constructs/v1beta1/schedule/ScheduleSchema.mjs +6 -6
  22. package/dist/constructs/v1beta1/system/System.d.ts +112 -0
  23. package/dist/constructs/v1beta1/system/SystemSchema.js +1 -1
  24. package/dist/constructs/v1beta1/system/SystemSchema.mjs +1 -1
  25. package/dist/constructs/v1beta1/team/TeamSchema.js +1 -1
  26. package/dist/constructs/v1beta1/team/TeamSchema.mjs +1 -1
  27. package/dist/constructs/v1beta1/token/TokenSchema.js +1 -1
  28. package/dist/constructs/v1beta1/token/TokenSchema.mjs +1 -1
  29. package/dist/constructs/v1beta1/view/ViewSchema.js +4 -4
  30. package/dist/constructs/v1beta1/view/ViewSchema.mjs +4 -4
  31. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +4 -4
  32. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +4 -4
  33. package/dist/constructs/v1beta2/academy/AcademySchema.js +1 -1
  34. package/dist/constructs/v1beta2/academy/AcademySchema.mjs +1 -1
  35. package/dist/constructs/v1beta2/component/ComponentSchema.js +1 -1
  36. package/dist/constructs/v1beta2/component/ComponentSchema.mjs +1 -1
  37. package/dist/constructs/v1beta2/connection/ConnectionSchema.js +1 -1
  38. package/dist/constructs/v1beta2/connection/ConnectionSchema.mjs +1 -1
  39. package/dist/constructs/v1beta2/credential/CredentialSchema.js +6 -6
  40. package/dist/constructs/v1beta2/credential/CredentialSchema.mjs +6 -6
  41. package/dist/constructs/v1beta2/design/DesignSchema.js +11 -11
  42. package/dist/constructs/v1beta2/design/DesignSchema.mjs +11 -11
  43. package/dist/constructs/v1beta2/model/Model.d.ts +587 -3
  44. package/dist/constructs/v1beta2/model/ModelSchema.js +10 -2
  45. package/dist/constructs/v1beta2/model/ModelSchema.mjs +10 -2
  46. package/dist/constructs/v1beta2/organization/Organization.d.ts +434 -0
  47. package/dist/constructs/v1beta2/organization/OrganizationSchema.js +1 -1
  48. package/dist/constructs/v1beta2/organization/OrganizationSchema.mjs +1 -1
  49. package/dist/constructs/v1beta2/schedule/ScheduleSchema.js +5 -5
  50. package/dist/constructs/v1beta2/schedule/ScheduleSchema.mjs +5 -5
  51. package/dist/constructs/v1beta2/team/TeamSchema.js +1 -1
  52. package/dist/constructs/v1beta2/team/TeamSchema.mjs +1 -1
  53. package/dist/constructs/v1beta2/token/TokenSchema.js +1 -1
  54. package/dist/constructs/v1beta2/token/TokenSchema.mjs +1 -1
  55. package/dist/constructs/v1beta2/user/User.d.ts +919 -51
  56. package/dist/constructs/v1beta2/user/UserSchema.js +1 -1
  57. package/dist/constructs/v1beta2/user/UserSchema.mjs +1 -1
  58. package/dist/constructs/v1beta2/view/ViewSchema.js +4 -4
  59. package/dist/constructs/v1beta2/view/ViewSchema.mjs +4 -4
  60. package/dist/constructs/v1beta3/component/ComponentSchema.js +1 -1
  61. package/dist/constructs/v1beta3/component/ComponentSchema.mjs +1 -1
  62. package/dist/constructs/v1beta3/connection/Connection.d.ts +173 -1
  63. package/dist/constructs/v1beta3/connection/ConnectionSchema.js +1 -1
  64. package/dist/constructs/v1beta3/connection/ConnectionSchema.mjs +1 -1
  65. package/dist/constructs/v1beta3/design/Design.d.ts +3279 -1916
  66. package/dist/constructs/v1beta3/design/DesignSchema.js +56 -12
  67. package/dist/constructs/v1beta3/design/DesignSchema.mjs +56 -12
  68. package/dist/constructs/v1beta3/environment/Environment.d.ts +42 -0
  69. package/dist/constructs/v1beta3/environment/EnvironmentSchema.js +1 -1
  70. package/dist/constructs/v1beta3/environment/EnvironmentSchema.mjs +1 -1
  71. package/dist/constructs/v1beta3/invitation/Invitation.d.ts +188 -1
  72. package/dist/constructs/v1beta3/invitation/InvitationSchema.js +1 -1
  73. package/dist/constructs/v1beta3/invitation/InvitationSchema.mjs +1 -1
  74. package/dist/constructs/v1beta3/pattern_resource/PatternResource.d.ts +701 -0
  75. package/dist/constructs/v1beta3/pattern_resource/PatternResource.js +1 -0
  76. package/dist/constructs/v1beta3/pattern_resource/PatternResource.mjs +0 -0
  77. package/dist/constructs/v1beta3/pattern_resource/PatternResourceSchema.d.ts +2 -0
  78. package/dist/constructs/v1beta3/pattern_resource/PatternResourceSchema.js +78 -0
  79. package/dist/constructs/v1beta3/pattern_resource/PatternResourceSchema.mjs +78 -0
  80. package/dist/constructs/v1beta3/user/User.d.ts +527 -0
  81. package/dist/constructs/v1beta3/user/User.js +1 -0
  82. package/dist/constructs/v1beta3/user/User.mjs +0 -0
  83. package/dist/constructs/v1beta3/user/UserSchema.d.ts +2 -0
  84. package/dist/constructs/v1beta3/user/UserSchema.js +2 -0
  85. package/dist/constructs/v1beta3/user/UserSchema.mjs +2 -0
  86. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.js +4 -4
  87. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.mjs +4 -4
  88. package/dist/index.d.mts +573 -1
  89. package/dist/index.d.ts +573 -1
  90. package/dist/index.js +41 -33
  91. package/dist/index.mjs +41 -33
  92. package/dist/mesheryApi.d.mts +423 -44
  93. package/dist/mesheryApi.d.ts +423 -44
  94. package/dist/mesheryApi.js +1 -1
  95. package/dist/mesheryApi.mjs +1 -1
  96. package/package.json +1 -1
@@ -78,6 +78,86 @@ export interface paths {
78
78
  patch?: never;
79
79
  trace?: never;
80
80
  };
81
+ "/api/identity/users/profile/details": {
82
+ parameters: {
83
+ query?: never;
84
+ header?: never;
85
+ path?: never;
86
+ cookie?: never;
87
+ };
88
+ /**
89
+ * Get profile overview counts for the current user
90
+ * @description Returns the aggregate counts shown on the caller's profile overview: the number of Kubernetes contexts and the number of designs owned by the caller.
91
+ */
92
+ get: operations["getUserProfileOverview"];
93
+ put?: never;
94
+ post?: never;
95
+ delete?: never;
96
+ options?: never;
97
+ head?: never;
98
+ patch?: never;
99
+ trace?: never;
100
+ };
101
+ "/api/identity/users/{userId}/profile/activity": {
102
+ parameters: {
103
+ query?: never;
104
+ header?: never;
105
+ path?: never;
106
+ cookie?: never;
107
+ };
108
+ /**
109
+ * Get recent activity for a user's public profile
110
+ * @description Returns the recent-activity feed shown on a user's public profile. Accessible without authentication; sensitive event categories are filtered out and email addresses are redacted unless the caller is a provider admin or is viewing their own profile. Pagination beyond the first page requires provider-admin privileges.
111
+ */
112
+ get: operations["getUserRecentActivities"];
113
+ put?: never;
114
+ post?: never;
115
+ delete?: never;
116
+ options?: never;
117
+ head?: never;
118
+ patch?: never;
119
+ trace?: never;
120
+ };
121
+ "/api/identity/users/notify/comment": {
122
+ parameters: {
123
+ query?: never;
124
+ header?: never;
125
+ path?: never;
126
+ cookie?: never;
127
+ };
128
+ get?: never;
129
+ put?: never;
130
+ /**
131
+ * Notify users mentioned in a design comment
132
+ * @description Sends email notifications to the users mentioned in a design comment, to the comment thread participants, and to the design owner, and records a user event for the comment.
133
+ */
134
+ post: operations["notifyMentionUsers"];
135
+ delete?: never;
136
+ options?: never;
137
+ head?: never;
138
+ patch?: never;
139
+ trace?: never;
140
+ };
141
+ "/api/identity/users/anonymous": {
142
+ parameters: {
143
+ query?: never;
144
+ header?: never;
145
+ path?: never;
146
+ cookie?: never;
147
+ };
148
+ get?: never;
149
+ put?: never;
150
+ /**
151
+ * Create an anonymous user and issue a session token
152
+ * @description Mints a synthetic anonymous user account, registers the calling Meshery instance as a connection, and returns an access token together with the capability document for the anonymous session. Authenticated with the shared anonymous-results publishing token rather than a user JWT.
153
+ */
154
+ post: operations["createAnonymousUserSession"];
155
+ delete?: never;
156
+ options?: never;
157
+ head?: never;
158
+ patch?: never;
159
+ trace?: never;
160
+ };
81
161
  "/api/identity/users/self/account-deletion-eligibility": {
82
162
  parameters: {
83
163
  query?: never;
@@ -98,6 +178,26 @@ export interface paths {
98
178
  patch?: never;
99
179
  trace?: never;
100
180
  };
181
+ "/api/identity/users/{userId}/emails": {
182
+ parameters: {
183
+ query?: never;
184
+ header?: never;
185
+ path?: never;
186
+ cookie?: never;
187
+ };
188
+ /**
189
+ * Get email addresses for a user
190
+ * @description Returns all email addresses associated with a user account: the single live primary address (mirrored in users.email) and any secondary addresses accumulated from account consolidation or explicit addition.
191
+ */
192
+ get: operations["getUserEmailAddresses"];
193
+ put?: never;
194
+ post?: never;
195
+ delete?: never;
196
+ options?: never;
197
+ head?: never;
198
+ patch?: never;
199
+ trace?: never;
200
+ };
101
201
  "/api/identity/users/self": {
102
202
  parameters: {
103
203
  query?: never;
@@ -129,7 +229,10 @@ export interface components {
129
229
  * @description Unique identifier for the user
130
230
  */
131
231
  id: string;
132
- /** @description User identifier (username or external ID) */
232
+ /**
233
+ * @deprecated
234
+ * @description Legacy IdP-derived identifier. Removed in v1beta3; resolve users by id or email.
235
+ */
133
236
  userId: string;
134
237
  /**
135
238
  * @description Authentication provider (e.g., Google, Github)
@@ -381,6 +484,48 @@ export interface components {
381
484
  totalCount?: number;
382
485
  };
383
486
  };
487
+ /** @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. */
488
+ UserEmailAddress: {
489
+ /**
490
+ * Format: uuid
491
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
492
+ */
493
+ id: string;
494
+ /**
495
+ * Format: uuid
496
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
497
+ */
498
+ userId: string;
499
+ /**
500
+ * Format: email
501
+ * @description The email address
502
+ */
503
+ email: string;
504
+ /**
505
+ * @description Whether the address was verified (per Kratos verifiable addresses) at record time
506
+ * @default false
507
+ */
508
+ verified: boolean;
509
+ /**
510
+ * @description Exactly one live primary address per user; mirrors users.email
511
+ * @default false
512
+ */
513
+ isPrimary: boolean;
514
+ /**
515
+ * @description How this address became associated with the account
516
+ * @enum {string}
517
+ */
518
+ source: "signup" | "consolidation" | "backfill" | "manual";
519
+ /** Format: date-time */
520
+ createdAt: string;
521
+ /** Format: date-time */
522
+ updatedAt: string;
523
+ /**
524
+ * Format: date-time
525
+ * @description SQL null Timestamp to handle null values of time.
526
+ */
527
+ deletedAt?: string;
528
+ };
384
529
  /** @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). */
385
530
  OrganizationWithRoles: {
386
531
  /**
@@ -472,7 +617,10 @@ export interface components {
472
617
  * @description Unique identifier for the user
473
618
  */
474
619
  id: string;
475
- /** @description User identifier (username or external ID) */
620
+ /**
621
+ * @deprecated
622
+ * @description Legacy IdP-derived identifier. Removed in v1beta3; resolve users by id or email.
623
+ */
476
624
  userId: string;
477
625
  /**
478
626
  * @description Authentication provider (e.g., Google, Github)
@@ -740,7 +888,10 @@ export interface components {
740
888
  * @description Unique identifier for the user
741
889
  */
742
890
  id: string;
743
- /** @description User identifier (username or external ID) */
891
+ /**
892
+ * @deprecated
893
+ * @description Legacy IdP-derived identifier. Removed in v1beta3; resolve users by id or email.
894
+ */
744
895
  userId: string;
745
896
  /**
746
897
  * @description Authentication provider (e.g., Google, Github)
@@ -1127,6 +1278,156 @@ export interface components {
1127
1278
  */
1128
1279
  link: string;
1129
1280
  };
1281
+ /** @description Aggregate counts shown on the current user's profile overview. */
1282
+ ProfileOverview: {
1283
+ /** @description Number of Kubernetes contexts owned by the user. */
1284
+ k8sCount: number;
1285
+ /** @description Number of designs owned by the user. */
1286
+ patternCount: number;
1287
+ };
1288
+ /** @description A single entry in a user's recent-activity feed. A narrow projection of the stored event record (id, category, action, description, owner and timestamps). The pre-migration meshery-cloud serialization emitted additional zero-valued event fields; those disappear once the server consumes this generated type. */
1289
+ UserActivity: {
1290
+ /**
1291
+ * Format: uuid
1292
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1293
+ */
1294
+ id?: string;
1295
+ /** @description Resource category on which the activity occurred. */
1296
+ category?: string;
1297
+ /** @description Action recorded by the activity. */
1298
+ action?: string;
1299
+ /** @description Human-readable description of the activity. Email addresses are redacted for non-privileged viewers. */
1300
+ description?: string;
1301
+ /**
1302
+ * Format: uuid
1303
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1304
+ */
1305
+ owner?: string;
1306
+ /**
1307
+ * Format: date-time
1308
+ * @description Timestamp when the activity was recorded.
1309
+ */
1310
+ createdAt?: string;
1311
+ /**
1312
+ * Format: date-time
1313
+ * @description Timestamp when the activity was last updated.
1314
+ */
1315
+ updatedAt?: string;
1316
+ };
1317
+ /** @description Paginated recent-activity feed for a user's public profile. */
1318
+ RecentActivityPage: {
1319
+ /** @description Current page number of the result set. */
1320
+ page?: number;
1321
+ /** @description Number of items per page. */
1322
+ pageSize?: number;
1323
+ /** @description Total number of items available. */
1324
+ totalCount?: number;
1325
+ /** @description The activity entries on the current page. */
1326
+ activities?: {
1327
+ /**
1328
+ * Format: uuid
1329
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1330
+ */
1331
+ id?: string;
1332
+ /** @description Resource category on which the activity occurred. */
1333
+ category?: string;
1334
+ /** @description Action recorded by the activity. */
1335
+ action?: string;
1336
+ /** @description Human-readable description of the activity. Email addresses are redacted for non-privileged viewers. */
1337
+ description?: string;
1338
+ /**
1339
+ * Format: uuid
1340
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1341
+ */
1342
+ owner?: string;
1343
+ /**
1344
+ * Format: date-time
1345
+ * @description Timestamp when the activity was recorded.
1346
+ */
1347
+ createdAt?: string;
1348
+ /**
1349
+ * Format: date-time
1350
+ * @description Timestamp when the activity was last updated.
1351
+ */
1352
+ updatedAt?: string;
1353
+ }[];
1354
+ };
1355
+ /** @description A single comment message included in a mention notification. */
1356
+ MentionMessage: {
1357
+ /** @description First name of the comment author. */
1358
+ firstName?: string;
1359
+ /** @description Last name of the comment author. */
1360
+ lastName?: string;
1361
+ /**
1362
+ * Format: uri
1363
+ * @description URL to the comment author's avatar image.
1364
+ */
1365
+ avatarUrl?: string;
1366
+ /** @description Text of the comment message. */
1367
+ message?: string;
1368
+ /**
1369
+ * Format: date-time
1370
+ * @description Timestamp when the comment message was written.
1371
+ */
1372
+ timestamp?: string;
1373
+ /**
1374
+ * Format: uuid
1375
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1376
+ */
1377
+ userId?: string;
1378
+ };
1379
+ /** @description Request body for notifying users about a design comment: the users mentioned in the comment, the thread participants, and the comment messages to include in the notification email. */
1380
+ MentionNotificationPayload: {
1381
+ /** @description IDs of the users explicitly mentioned in the comment. */
1382
+ mentionUsers?: string[];
1383
+ /** @description IDs of the users participating in the comment thread. */
1384
+ participants?: string[];
1385
+ /**
1386
+ * Format: uuid
1387
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1388
+ */
1389
+ designId: string;
1390
+ /** @description IDs of the users who opted out of mention notifications. */
1391
+ usersOptedOutOfNotifications?: string[];
1392
+ /** @description The comment messages to include in the notification email. */
1393
+ messages?: {
1394
+ /** @description First name of the comment author. */
1395
+ firstName?: string;
1396
+ /** @description Last name of the comment author. */
1397
+ lastName?: string;
1398
+ /**
1399
+ * Format: uri
1400
+ * @description URL to the comment author's avatar image.
1401
+ */
1402
+ avatarUrl?: string;
1403
+ /** @description Text of the comment message. */
1404
+ message?: string;
1405
+ /**
1406
+ * Format: date-time
1407
+ * @description Timestamp when the comment message was written.
1408
+ */
1409
+ timestamp?: string;
1410
+ /**
1411
+ * Format: uuid
1412
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1413
+ */
1414
+ userId?: string;
1415
+ }[];
1416
+ };
1417
+ /** @description Response returned after minting an anonymous user session: the session access token, the ID of the synthetic anonymous user, and the capability document for the session. */
1418
+ AnonymousFlowResponse: {
1419
+ /** @description JWT access token for the anonymous session. */
1420
+ accessToken: string;
1421
+ /** @description Capability document for the anonymous session. Untyped pending the provider-capabilities schema tracked separately in the identifier-uniformity program. */
1422
+ capability?: {
1423
+ [key: string]: unknown;
1424
+ };
1425
+ /**
1426
+ * Format: uuid
1427
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1428
+ */
1429
+ userId: string;
1430
+ };
1130
1431
  /** @description Pre-check result returned before an account self-deletion is confirmed. Describes whether deleting the caller's account would also require or permit hard-deleting their organization and quantifies the blast radius. All fields are always present so the client can render the confirmation state deterministically. */
1131
1432
  AccountDeletionEligibility: {
1132
1433
  /** @description True when the caller is the only active member of the organization, so deleting their account would leave the organization without any active members. */
@@ -1249,6 +1550,8 @@ export interface components {
1249
1550
  id: string;
1250
1551
  /** @description Organization ID */
1251
1552
  orgId: string;
1553
+ /** @description ID of the user */
1554
+ userId: string;
1252
1555
  /** @description Get responses by page */
1253
1556
  page: string;
1254
1557
  /** @description Get responses by page size */
@@ -1313,7 +1616,10 @@ export interface operations {
1313
1616
  * @description Unique identifier for the user
1314
1617
  */
1315
1618
  id: string;
1316
- /** @description User identifier (username or external ID) */
1619
+ /**
1620
+ * @deprecated
1621
+ * @description Legacy IdP-derived identifier. Removed in v1beta3; resolve users by id or email.
1622
+ */
1317
1623
  userId: string;
1318
1624
  /**
1319
1625
  * @description Authentication provider (e.g., Google, Github)
@@ -1646,7 +1952,10 @@ export interface operations {
1646
1952
  * @description Unique identifier for the user
1647
1953
  */
1648
1954
  id: string;
1649
- /** @description User identifier (username or external ID) */
1955
+ /**
1956
+ * @deprecated
1957
+ * @description Legacy IdP-derived identifier. Removed in v1beta3; resolve users by id or email.
1958
+ */
1650
1959
  userId: string;
1651
1960
  /**
1652
1961
  * @description Authentication provider (e.g., Google, Github)
@@ -1954,7 +2263,10 @@ export interface operations {
1954
2263
  * @description Unique identifier for the user
1955
2264
  */
1956
2265
  id: string;
1957
- /** @description User identifier (username or external ID) */
2266
+ /**
2267
+ * @deprecated
2268
+ * @description Legacy IdP-derived identifier. Removed in v1beta3; resolve users by id or email.
2269
+ */
1958
2270
  userId: string;
1959
2271
  /**
1960
2272
  * @description Authentication provider (e.g., Google, Github)
@@ -2267,7 +2579,10 @@ export interface operations {
2267
2579
  * @description Unique identifier for the user
2268
2580
  */
2269
2581
  id: string;
2270
- /** @description User identifier (username or external ID) */
2582
+ /**
2583
+ * @deprecated
2584
+ * @description Legacy IdP-derived identifier. Removed in v1beta3; resolve users by id or email.
2585
+ */
2271
2586
  userId: string;
2272
2587
  /**
2273
2588
  * @description Authentication provider (e.g., Google, Github)
@@ -2541,66 +2856,40 @@ export interface operations {
2541
2856
  };
2542
2857
  };
2543
2858
  };
2544
- getAccountDeletionEligibility: {
2859
+ getUserProfileOverview: {
2545
2860
  parameters: {
2546
- query?: {
2547
- /** @description Organization to evaluate for deletion alongside the account. When omitted, the caller's currently selected organization is evaluated. */
2548
- organizationId?: string;
2549
- };
2861
+ query?: never;
2550
2862
  header?: never;
2551
2863
  path?: never;
2552
2864
  cookie?: never;
2553
2865
  };
2554
2866
  requestBody?: never;
2555
2867
  responses: {
2556
- /** @description Account deletion eligibility for the caller */
2868
+ /** @description Profile overview counts for the caller */
2557
2869
  200: {
2558
2870
  headers: {
2559
2871
  [name: string]: unknown;
2560
2872
  };
2561
2873
  content: {
2562
2874
  "application/json": {
2563
- /** @description True when the caller is the only active member of the organization, so deleting their account would leave the organization without any active members. */
2564
- isSoleActiveMember: boolean;
2565
- /**
2566
- * Format: uuid
2567
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
2568
- */
2569
- organizationId: string;
2570
- /** @description Human-readable name of the organization evaluated for deletion. The client echoes this value back as organizationNameConfirmation when requesting deletion. */
2571
- organizationName: string;
2572
- /** @description True when this is the shared Layer5 provider organization, which is never deletable regardless of membership. */
2573
- isProviderOrg: boolean;
2574
- /** @description True when the organization has an active paid (non-"Personal"/free) plan subscription that must be cancelled before the organization can be hard-deleted. */
2575
- hasActivePaidSubscription: boolean;
2576
- /** @description Count of resources reachable from this organization that are also shared into a different, surviving organization; destroying them affects other tenants. When greater than zero the client must set confirmSharedResourceDestruction to proceed. */
2577
- crossTenantSharedResourceCount: number;
2578
- /** @description Per-resource counts of the objects that would be destroyed when an organization is hard-deleted alongside the account. */
2579
- impact: {
2580
- /** @description Number of workspaces that would be destroyed. */
2581
- workspaces: number;
2582
- /** @description Number of environments that would be destroyed. */
2583
- environments: number;
2584
- /** @description Number of designs that would be destroyed. */
2585
- designs: number;
2586
- /** @description Number of views that would be destroyed. */
2587
- views: number;
2588
- /** @description Number of connections that would be destroyed. */
2589
- connections: number;
2590
- /** @description Number of credentials that would be destroyed. */
2591
- credentials: number;
2592
- /** @description Number of organization members that would lose access. */
2593
- members: number;
2594
- /** @description Number of pending invitations that would be revoked. */
2595
- invitations: number;
2596
- /** @description Number of academy records (challenges, certifications) that would be destroyed. */
2597
- academyRecords: number;
2598
- };
2875
+ /** @description Number of Kubernetes contexts owned by the user. */
2876
+ k8sCount: number;
2877
+ /** @description Number of designs owned by the user. */
2878
+ patternCount: number;
2599
2879
  };
2600
2880
  };
2601
2881
  };
2602
- /** @description Invalid request body or request param */
2603
- 400: {
2882
+ /** @description Expired JWT token used or insufficient privilege */
2883
+ 401: {
2884
+ headers: {
2885
+ [name: string]: unknown;
2886
+ };
2887
+ content: {
2888
+ "text/plain": string;
2889
+ };
2890
+ };
2891
+ /** @description Internal server error */
2892
+ 500: {
2604
2893
  headers: {
2605
2894
  [name: string]: unknown;
2606
2895
  };
@@ -2608,6 +2897,585 @@ export interface operations {
2608
2897
  "text/plain": string;
2609
2898
  };
2610
2899
  };
2900
+ };
2901
+ };
2902
+ getUserRecentActivities: {
2903
+ parameters: {
2904
+ query?: {
2905
+ /** @description Zero-based page index of the activity feed. */
2906
+ page?: number;
2907
+ /** @description Number of activity entries per page. */
2908
+ pageSize?: number;
2909
+ /**
2910
+ * @deprecated
2911
+ * @description Deprecated lowercase alias of pageSize, kept while existing clients migrate to the canonical camelCase parameter.
2912
+ */
2913
+ pagesize?: number;
2914
+ /** @description Get ordered responses */
2915
+ order?: string;
2916
+ /** @description Get filtered reponses */
2917
+ filter?: string;
2918
+ };
2919
+ header?: never;
2920
+ path: {
2921
+ /** @description ID of the user */
2922
+ userId: string;
2923
+ };
2924
+ cookie?: never;
2925
+ };
2926
+ requestBody?: never;
2927
+ responses: {
2928
+ /** @description Recent-activity page for the requested user */
2929
+ 200: {
2930
+ headers: {
2931
+ [name: string]: unknown;
2932
+ };
2933
+ content: {
2934
+ "application/json": {
2935
+ /** @description Current page number of the result set. */
2936
+ page?: number;
2937
+ /** @description Number of items per page. */
2938
+ pageSize?: number;
2939
+ /** @description Total number of items available. */
2940
+ totalCount?: number;
2941
+ /** @description The activity entries on the current page. */
2942
+ activities?: {
2943
+ /**
2944
+ * Format: uuid
2945
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
2946
+ */
2947
+ id?: string;
2948
+ /** @description Resource category on which the activity occurred. */
2949
+ category?: string;
2950
+ /** @description Action recorded by the activity. */
2951
+ action?: string;
2952
+ /** @description Human-readable description of the activity. Email addresses are redacted for non-privileged viewers. */
2953
+ description?: string;
2954
+ /**
2955
+ * Format: uuid
2956
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
2957
+ */
2958
+ owner?: string;
2959
+ /**
2960
+ * Format: date-time
2961
+ * @description Timestamp when the activity was recorded.
2962
+ */
2963
+ createdAt?: string;
2964
+ /**
2965
+ * Format: date-time
2966
+ * @description Timestamp when the activity was last updated.
2967
+ */
2968
+ updatedAt?: string;
2969
+ }[];
2970
+ };
2971
+ };
2972
+ };
2973
+ /** @description Invalid request body or request param */
2974
+ 400: {
2975
+ headers: {
2976
+ [name: string]: unknown;
2977
+ };
2978
+ content: {
2979
+ "text/plain": string;
2980
+ };
2981
+ };
2982
+ /** @description Internal server error */
2983
+ 500: {
2984
+ headers: {
2985
+ [name: string]: unknown;
2986
+ };
2987
+ content: {
2988
+ "text/plain": string;
2989
+ };
2990
+ };
2991
+ };
2992
+ };
2993
+ notifyMentionUsers: {
2994
+ parameters: {
2995
+ query?: never;
2996
+ header?: never;
2997
+ path?: never;
2998
+ cookie?: never;
2999
+ };
3000
+ requestBody: {
3001
+ content: {
3002
+ "application/json": {
3003
+ /** @description IDs of the users explicitly mentioned in the comment. */
3004
+ mentionUsers?: string[];
3005
+ /** @description IDs of the users participating in the comment thread. */
3006
+ participants?: string[];
3007
+ /**
3008
+ * Format: uuid
3009
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
3010
+ */
3011
+ designId: string;
3012
+ /** @description IDs of the users who opted out of mention notifications. */
3013
+ usersOptedOutOfNotifications?: string[];
3014
+ /** @description The comment messages to include in the notification email. */
3015
+ messages?: {
3016
+ /** @description First name of the comment author. */
3017
+ firstName?: string;
3018
+ /** @description Last name of the comment author. */
3019
+ lastName?: string;
3020
+ /**
3021
+ * Format: uri
3022
+ * @description URL to the comment author's avatar image.
3023
+ */
3024
+ avatarUrl?: string;
3025
+ /** @description Text of the comment message. */
3026
+ message?: string;
3027
+ /**
3028
+ * Format: date-time
3029
+ * @description Timestamp when the comment message was written.
3030
+ */
3031
+ timestamp?: string;
3032
+ /**
3033
+ * Format: uuid
3034
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
3035
+ */
3036
+ userId?: string;
3037
+ }[];
3038
+ };
3039
+ };
3040
+ };
3041
+ responses: {
3042
+ /** @description Mention notifications dispatched */
3043
+ 200: {
3044
+ headers: {
3045
+ [name: string]: unknown;
3046
+ };
3047
+ content?: never;
3048
+ };
3049
+ /** @description Expired JWT token used or insufficient privilege */
3050
+ 401: {
3051
+ headers: {
3052
+ [name: string]: unknown;
3053
+ };
3054
+ content: {
3055
+ "text/plain": string;
3056
+ };
3057
+ };
3058
+ /** @description Internal server error */
3059
+ 500: {
3060
+ headers: {
3061
+ [name: string]: unknown;
3062
+ };
3063
+ content: {
3064
+ "text/plain": string;
3065
+ };
3066
+ };
3067
+ };
3068
+ };
3069
+ createAnonymousUserSession: {
3070
+ parameters: {
3071
+ query?: never;
3072
+ header?: never;
3073
+ path?: never;
3074
+ cookie?: never;
3075
+ };
3076
+ requestBody: {
3077
+ content: {
3078
+ "application/json": {
3079
+ /**
3080
+ * Format: uuid
3081
+ * @description Connection ID
3082
+ */
3083
+ id?: string;
3084
+ /** @description Connection name */
3085
+ name: string;
3086
+ /** @description Connection kind */
3087
+ kind: string;
3088
+ /** @description Connection type */
3089
+ type: string;
3090
+ /** @description Connection sub-type */
3091
+ subType: string;
3092
+ /** @description Credential secret data */
3093
+ credentialSecret?: Record<string, never>;
3094
+ /** @description Connection metadata */
3095
+ metadata?: Record<string, never>;
3096
+ /** @description Visualization styles for the connection, including svgColor and svgWhite used for UI representation. */
3097
+ styles?: ({
3098
+ /** @description Primary color of the component used for UI representation. */
3099
+ primaryColor: string;
3100
+ /** @description Secondary color of the entity used for UI representation. */
3101
+ secondaryColor?: string;
3102
+ /** @description White SVG of the entity used for UI representation on dark background. */
3103
+ svgWhite: string;
3104
+ /** @description Colored SVG of the entity used for UI representation on light background. */
3105
+ svgColor: string;
3106
+ /** @description Complete SVG of the entity used for UI representation, often inclusive of background. */
3107
+ svgComplete: string;
3108
+ /** @description The color of the element's label. Colours may be specified by name (e.g. red), hex (e.g. */
3109
+ color?: string;
3110
+ /** @description The opacity of the label text, including its outline. */
3111
+ textOpacity?: number;
3112
+ /** @description A comma-separated list of font names to use on the label text. */
3113
+ fontFamily?: string;
3114
+ /** @description The size of the label text. */
3115
+ fontSize?: string;
3116
+ /** @description A CSS font style to be applied to the label text. */
3117
+ fontStyle?: string;
3118
+ /** @description A CSS font weight to be applied to the label text. */
3119
+ fontWeight?: string;
3120
+ /**
3121
+ * @description A transformation to apply to the label text
3122
+ * @enum {string}
3123
+ */
3124
+ textTransform?: "none" | "uppercase" | "lowercase";
3125
+ /** @description The opacity of the element, ranging from 0 to 1. Note that the opacity of a compound node parent affects the effective opacity of its children. */
3126
+ opacity?: number;
3127
+ /** @description An integer value that affects the relative draw order of elements. In general, an element with a higher z-index will be drawn on top of an element with a lower z-index. Note that edges are under nodes despite z-index. */
3128
+ zIndex?: number;
3129
+ /** @description The text to display for an element's label. Can give a path, e.g. data(id) will label with the elements id */
3130
+ label?: string;
3131
+ /** @description The animation to apply to the element. example ripple,bounce,etc */
3132
+ animation?: Record<string, never>;
3133
+ } & {
3134
+ [key: string]: unknown;
3135
+ }) & {
3136
+ /**
3137
+ * @description The shape of the node's body. Note that each shape fits within the specified width and height, and so you may have to adjust width and height if you desire an equilateral shape (i.e. width !== height for several equilateral shapes)
3138
+ * @enum {string}
3139
+ */
3140
+ shape: "ellipse" | "triangle" | "round-triangle" | "rectangle" | "round-rectangle" | "bottom-round-rectangle" | "cut-rectangle" | "barrel" | "rhomboid" | "diamond" | "round-diamond" | "pentagon" | "round-pentagon" | "hexagon" | "round-hexagon" | "concave-hexagon" | "heptagon" | "round-heptagon" | "octagon" | "round-octagon" | "star" | "tag" | "round-tag" | "vee" | "polygon";
3141
+ /** @description The position of the node. If the position is set, the node is drawn at that position in the given dimensions. If the position is not set, the node is drawn at a random position. */
3142
+ position?: {
3143
+ /** @description The x-coordinate of the node. */
3144
+ x: number;
3145
+ /** @description The y-coordinate of the node. */
3146
+ y: number;
3147
+ };
3148
+ /** @description The text to display for an element's body. Can give a path, e.g. data(id) will label with the elements id */
3149
+ bodyText?: string;
3150
+ /**
3151
+ * @description How to wrap the text in the node. Can be 'none', 'wrap', or 'ellipsis'.
3152
+ * @enum {string}
3153
+ */
3154
+ bodyTextWrap?: "none" | "wrap" | "ellipsis";
3155
+ /** @description The maximum width for wrapping text in the node. */
3156
+ bodyTextMaxWidth?: string;
3157
+ /** @description The opacity of the node's body text, including its outline. */
3158
+ bodyTextOpacity?: number;
3159
+ /** @description The colour of the node's body text background. Colours may be specified by name (e.g. red), hex (e.g. */
3160
+ bodyTextBackgroundColor?: string;
3161
+ /** @description The size of the node's body text. */
3162
+ bodyTextFontSize?: number;
3163
+ /** @description The colour of the node's body text. Colours may be specified by name (e.g. red), hex (e.g. */
3164
+ bodyTextColor?: string;
3165
+ /** @description A CSS font weight to be applied to the node's body text. */
3166
+ bodyTextFontWeight?: string;
3167
+ /** @description A CSS horizontal alignment to be applied to the node's body text. */
3168
+ bodyTextHorizontalAlign?: string;
3169
+ /** @description A CSS text decoration to be applied to the node's body text. */
3170
+ bodyTextDecoration?: string;
3171
+ /** @description A CSS vertical alignment to be applied to the node's body text. */
3172
+ bodyTextVerticalAlign?: string;
3173
+ /** @description The width of the node's body or the width of an edge's line. */
3174
+ width?: number;
3175
+ /** @description The height of the node's body */
3176
+ height?: number;
3177
+ /**
3178
+ * Format: uri
3179
+ * @description The URL that points to the image to show in the node.
3180
+ */
3181
+ backgroundImage?: string;
3182
+ /** @description The colour of the node's body. Colours may be specified by name (e.g. red), hex (e.g. */
3183
+ backgroundColor?: string;
3184
+ /** @description Blackens the node's body for values from 0 to 1; whitens the node's body for values from 0 to -1. */
3185
+ backgroundBlacken?: number;
3186
+ /** @description The opacity level of the node's background colour */
3187
+ backgroundOpacity?: number;
3188
+ /** @description The x position of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px) */
3189
+ backgroundPositionX?: string;
3190
+ /** @description The y position of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px) */
3191
+ backgroundPositionY?: string;
3192
+ /** @description The x offset of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px) */
3193
+ backgroundOffsetX?: string;
3194
+ /** @description The y offset of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px) */
3195
+ backgroundOffsetY?: string;
3196
+ /**
3197
+ * @description How the background image is fit to the node. Can be 'none', 'contain', or 'cover'.
3198
+ * @enum {string}
3199
+ */
3200
+ backgroundFit?: "none" | "contain" | "cover";
3201
+ /**
3202
+ * @description How the background image is clipped to the node. Can be 'none', 'node', or 'node-border'.
3203
+ * @enum {string}
3204
+ */
3205
+ backgroundClip?: "none" | "node" | "node-border";
3206
+ /**
3207
+ * @description How the background image's width is determined. Can be 'none', 'inner', or 'outer'.
3208
+ * @enum {string}
3209
+ */
3210
+ backgroundWidthRelativeTo?: "none" | "inner" | "outer";
3211
+ /**
3212
+ * @description How the background image's height is determined. Can be 'none', 'inner', or 'outer'.
3213
+ * @enum {string}
3214
+ */
3215
+ backgroundHeightRelativeTo?: "none" | "inner" | "outer";
3216
+ /** @description The size of the node's border. */
3217
+ borderWidth?: number;
3218
+ /**
3219
+ * @description The style of the node's border
3220
+ * @enum {string}
3221
+ */
3222
+ borderStyle?: "solid" | "dotted" | "dashed" | "double";
3223
+ /** @description The colour of the node's border. Colours may be specified by name (e.g. red), hex (e.g. */
3224
+ borderColor?: string;
3225
+ /** @description The opacity of the node's border */
3226
+ borderOpacity?: number;
3227
+ /** @description The amount of padding around all sides of the node. */
3228
+ padding?: number;
3229
+ /**
3230
+ * @description The horizontal alignment of a node's label
3231
+ * @enum {string}
3232
+ */
3233
+ textHalign?: "left" | "center" | "right";
3234
+ /**
3235
+ * @description The vertical alignment of a node's label
3236
+ * @enum {string}
3237
+ */
3238
+ textValign?: "top" | "center" | "bottom";
3239
+ /**
3240
+ * @description Whether to use the ghost effect, a semitransparent duplicate of the element drawn at an offset.
3241
+ * @default no
3242
+ * @enum {string}
3243
+ */
3244
+ ghost?: "yes" | "no";
3245
+ /** @description The colour of the indicator shown when the background is grabbed by the user. Selector needs to be *core*. Colours may be specified by name (e.g. red), hex (e.g. */
3246
+ activeBgColor?: string;
3247
+ /** @description The opacity of the active background indicator. Selector needs to be *core*. */
3248
+ activeBgOpacity?: string;
3249
+ /** @description The opacity of the active background indicator. Selector needs to be *core*. */
3250
+ activeBgSize?: string;
3251
+ /** @description The background colour of the selection box used for drag selection. Selector needs to be *core*. Colours may be specified by name (e.g. red), hex (e.g. */
3252
+ selectionBoxColor?: string;
3253
+ /** @description The size of the border on the selection box. Selector needs to be *core* */
3254
+ selectionBoxBorderWidth?: number;
3255
+ /** @description The opacity of the selection box. Selector needs to be *core* */
3256
+ selectionBoxOpacity?: number;
3257
+ /** @description The colour of the area outside the viewport texture when initOptions.textureOnViewport === true. Selector needs to be *core*. Colours may be specified by name (e.g. red), hex (e.g. */
3258
+ outsideTextureBgColor?: string;
3259
+ /** @description The opacity of the area outside the viewport texture. Selector needs to be *core* */
3260
+ outsideTextureBgOpacity?: number;
3261
+ /** @description An array (or a space-separated string) of numbers ranging on [-1, 1], representing alternating x and y values (i.e. x1 y1 x2 y2, x3 y3 ...). This represents the points in the polygon for the node's shape. The bounding box of the node is given by (-1, -1), (1, -1), (1, 1), (-1, 1). The node's position is the origin (0, 0 ) */
3262
+ shapePolygonPoints?: string;
3263
+ /** @description The colour of the background of the component menu. Colours may be specified by name (e.g. red), hex (e.g. */
3264
+ menuBackgroundColor?: string;
3265
+ /** @description The opacity of the background of the component menu. */
3266
+ menuBackgroundOpacity?: number;
3267
+ /** @description The colour of the text or icons in the component menu. Colours may be specified by name (e.g. red), hex (e.g. */
3268
+ menuForgroundColor?: string;
3269
+ };
3270
+ /** @description Connection status */
3271
+ status: string;
3272
+ /**
3273
+ * Format: uuid
3274
+ * @description Associated credential ID
3275
+ */
3276
+ credentialId?: string;
3277
+ };
3278
+ };
3279
+ };
3280
+ responses: {
3281
+ /** @description Anonymous session issued */
3282
+ 200: {
3283
+ headers: {
3284
+ [name: string]: unknown;
3285
+ };
3286
+ content: {
3287
+ "application/json": {
3288
+ /** @description JWT access token for the anonymous session. */
3289
+ accessToken: string;
3290
+ /** @description Capability document for the anonymous session. Untyped pending the provider-capabilities schema tracked separately in the identifier-uniformity program. */
3291
+ capability?: {
3292
+ [key: string]: unknown;
3293
+ };
3294
+ /**
3295
+ * Format: uuid
3296
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
3297
+ */
3298
+ userId: string;
3299
+ };
3300
+ };
3301
+ };
3302
+ /** @description Expired JWT token used or insufficient privilege */
3303
+ 401: {
3304
+ headers: {
3305
+ [name: string]: unknown;
3306
+ };
3307
+ content: {
3308
+ "text/plain": string;
3309
+ };
3310
+ };
3311
+ /** @description Internal server error */
3312
+ 500: {
3313
+ headers: {
3314
+ [name: string]: unknown;
3315
+ };
3316
+ content: {
3317
+ "text/plain": string;
3318
+ };
3319
+ };
3320
+ };
3321
+ };
3322
+ getAccountDeletionEligibility: {
3323
+ parameters: {
3324
+ query?: {
3325
+ /** @description Organization to evaluate for deletion alongside the account. When omitted, the caller's currently selected organization is evaluated. */
3326
+ organizationId?: string;
3327
+ };
3328
+ header?: never;
3329
+ path?: never;
3330
+ cookie?: never;
3331
+ };
3332
+ requestBody?: never;
3333
+ responses: {
3334
+ /** @description Account deletion eligibility for the caller */
3335
+ 200: {
3336
+ headers: {
3337
+ [name: string]: unknown;
3338
+ };
3339
+ content: {
3340
+ "application/json": {
3341
+ /** @description True when the caller is the only active member of the organization, so deleting their account would leave the organization without any active members. */
3342
+ isSoleActiveMember: boolean;
3343
+ /**
3344
+ * Format: uuid
3345
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
3346
+ */
3347
+ organizationId: string;
3348
+ /** @description Human-readable name of the organization evaluated for deletion. The client echoes this value back as organizationNameConfirmation when requesting deletion. */
3349
+ organizationName: string;
3350
+ /** @description True when this is the shared Layer5 provider organization, which is never deletable regardless of membership. */
3351
+ isProviderOrg: boolean;
3352
+ /** @description True when the organization has an active paid (non-"Personal"/free) plan subscription that must be cancelled before the organization can be hard-deleted. */
3353
+ hasActivePaidSubscription: boolean;
3354
+ /** @description Count of resources reachable from this organization that are also shared into a different, surviving organization; destroying them affects other tenants. When greater than zero the client must set confirmSharedResourceDestruction to proceed. */
3355
+ crossTenantSharedResourceCount: number;
3356
+ /** @description Per-resource counts of the objects that would be destroyed when an organization is hard-deleted alongside the account. */
3357
+ impact: {
3358
+ /** @description Number of workspaces that would be destroyed. */
3359
+ workspaces: number;
3360
+ /** @description Number of environments that would be destroyed. */
3361
+ environments: number;
3362
+ /** @description Number of designs that would be destroyed. */
3363
+ designs: number;
3364
+ /** @description Number of views that would be destroyed. */
3365
+ views: number;
3366
+ /** @description Number of connections that would be destroyed. */
3367
+ connections: number;
3368
+ /** @description Number of credentials that would be destroyed. */
3369
+ credentials: number;
3370
+ /** @description Number of organization members that would lose access. */
3371
+ members: number;
3372
+ /** @description Number of pending invitations that would be revoked. */
3373
+ invitations: number;
3374
+ /** @description Number of academy records (challenges, certifications) that would be destroyed. */
3375
+ academyRecords: number;
3376
+ };
3377
+ };
3378
+ };
3379
+ };
3380
+ /** @description Invalid request body or request param */
3381
+ 400: {
3382
+ headers: {
3383
+ [name: string]: unknown;
3384
+ };
3385
+ content: {
3386
+ "text/plain": string;
3387
+ };
3388
+ };
3389
+ /** @description Expired JWT token used or insufficient privilege */
3390
+ 401: {
3391
+ headers: {
3392
+ [name: string]: unknown;
3393
+ };
3394
+ content: {
3395
+ "text/plain": string;
3396
+ };
3397
+ };
3398
+ /** @description Result not found */
3399
+ 404: {
3400
+ headers: {
3401
+ [name: string]: unknown;
3402
+ };
3403
+ content: {
3404
+ "text/plain": string;
3405
+ };
3406
+ };
3407
+ /** @description Internal server error */
3408
+ 500: {
3409
+ headers: {
3410
+ [name: string]: unknown;
3411
+ };
3412
+ content: {
3413
+ "text/plain": string;
3414
+ };
3415
+ };
3416
+ };
3417
+ };
3418
+ getUserEmailAddresses: {
3419
+ parameters: {
3420
+ query?: never;
3421
+ header?: never;
3422
+ path: {
3423
+ /** @description ID of the user */
3424
+ userId: string;
3425
+ };
3426
+ cookie?: never;
3427
+ };
3428
+ requestBody?: never;
3429
+ responses: {
3430
+ /** @description Email addresses associated with the requested user */
3431
+ 200: {
3432
+ headers: {
3433
+ [name: string]: unknown;
3434
+ };
3435
+ content: {
3436
+ "application/json": {
3437
+ /**
3438
+ * Format: uuid
3439
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
3440
+ */
3441
+ id: string;
3442
+ /**
3443
+ * Format: uuid
3444
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
3445
+ */
3446
+ userId: string;
3447
+ /**
3448
+ * Format: email
3449
+ * @description The email address
3450
+ */
3451
+ email: string;
3452
+ /**
3453
+ * @description Whether the address was verified (per Kratos verifiable addresses) at record time
3454
+ * @default false
3455
+ */
3456
+ verified: boolean;
3457
+ /**
3458
+ * @description Exactly one live primary address per user; mirrors users.email
3459
+ * @default false
3460
+ */
3461
+ isPrimary: boolean;
3462
+ /**
3463
+ * @description How this address became associated with the account
3464
+ * @enum {string}
3465
+ */
3466
+ source: "signup" | "consolidation" | "backfill" | "manual";
3467
+ /** Format: date-time */
3468
+ createdAt: string;
3469
+ /** Format: date-time */
3470
+ updatedAt: string;
3471
+ /**
3472
+ * Format: date-time
3473
+ * @description SQL null Timestamp to handle null values of time.
3474
+ */
3475
+ deletedAt?: string;
3476
+ }[];
3477
+ };
3478
+ };
2611
3479
  /** @description Expired JWT token used or insufficient privilege */
2612
3480
  401: {
2613
3481
  headers: {