@meshery/schemas 1.3.23 → 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.
- package/dist/cloudApi.d.mts +1896 -1688
- package/dist/cloudApi.d.ts +1896 -1688
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- package/dist/constructs/v1beta2/user/User.d.ts +182 -9
- package/dist/constructs/v1beta2/user/UserSchema.js +1 -1
- package/dist/constructs/v1beta2/user/UserSchema.mjs +1 -1
- package/dist/constructs/v1beta3/design/Design.d.ts +52 -13
- package/dist/constructs/v1beta3/design/DesignSchema.js +13 -13
- package/dist/constructs/v1beta3/design/DesignSchema.mjs +13 -13
- package/dist/constructs/v1beta3/user/User.d.ts +527 -0
- package/dist/constructs/v1beta3/user/User.js +1 -0
- package/dist/constructs/v1beta3/user/User.mjs +0 -0
- package/dist/constructs/v1beta3/user/UserSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/user/UserSchema.js +2 -0
- package/dist/constructs/v1beta3/user/UserSchema.mjs +2 -0
- package/dist/mesheryApi.d.mts +924 -716
- package/dist/mesheryApi.d.ts +924 -716
- package/dist/mesheryApi.js +1 -1
- package/dist/mesheryApi.mjs +1 -1
- package/package.json +1 -1
|
@@ -178,6 +178,26 @@ export interface paths {
|
|
|
178
178
|
patch?: never;
|
|
179
179
|
trace?: never;
|
|
180
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
|
+
};
|
|
181
201
|
"/api/identity/users/self": {
|
|
182
202
|
parameters: {
|
|
183
203
|
query?: never;
|
|
@@ -209,7 +229,10 @@ export interface components {
|
|
|
209
229
|
* @description Unique identifier for the user
|
|
210
230
|
*/
|
|
211
231
|
id: string;
|
|
212
|
-
/**
|
|
232
|
+
/**
|
|
233
|
+
* @deprecated
|
|
234
|
+
* @description Legacy IdP-derived identifier. Removed in v1beta3; resolve users by id or email.
|
|
235
|
+
*/
|
|
213
236
|
userId: string;
|
|
214
237
|
/**
|
|
215
238
|
* @description Authentication provider (e.g., Google, Github)
|
|
@@ -461,6 +484,48 @@ export interface components {
|
|
|
461
484
|
totalCount?: number;
|
|
462
485
|
};
|
|
463
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
|
+
};
|
|
464
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). */
|
|
465
530
|
OrganizationWithRoles: {
|
|
466
531
|
/**
|
|
@@ -552,7 +617,10 @@ export interface components {
|
|
|
552
617
|
* @description Unique identifier for the user
|
|
553
618
|
*/
|
|
554
619
|
id: string;
|
|
555
|
-
/**
|
|
620
|
+
/**
|
|
621
|
+
* @deprecated
|
|
622
|
+
* @description Legacy IdP-derived identifier. Removed in v1beta3; resolve users by id or email.
|
|
623
|
+
*/
|
|
556
624
|
userId: string;
|
|
557
625
|
/**
|
|
558
626
|
* @description Authentication provider (e.g., Google, Github)
|
|
@@ -820,7 +888,10 @@ export interface components {
|
|
|
820
888
|
* @description Unique identifier for the user
|
|
821
889
|
*/
|
|
822
890
|
id: string;
|
|
823
|
-
/**
|
|
891
|
+
/**
|
|
892
|
+
* @deprecated
|
|
893
|
+
* @description Legacy IdP-derived identifier. Removed in v1beta3; resolve users by id or email.
|
|
894
|
+
*/
|
|
824
895
|
userId: string;
|
|
825
896
|
/**
|
|
826
897
|
* @description Authentication provider (e.g., Google, Github)
|
|
@@ -1479,7 +1550,7 @@ export interface components {
|
|
|
1479
1550
|
id: string;
|
|
1480
1551
|
/** @description Organization ID */
|
|
1481
1552
|
orgId: string;
|
|
1482
|
-
/** @description ID of the user
|
|
1553
|
+
/** @description ID of the user */
|
|
1483
1554
|
userId: string;
|
|
1484
1555
|
/** @description Get responses by page */
|
|
1485
1556
|
page: string;
|
|
@@ -1545,7 +1616,10 @@ export interface operations {
|
|
|
1545
1616
|
* @description Unique identifier for the user
|
|
1546
1617
|
*/
|
|
1547
1618
|
id: string;
|
|
1548
|
-
/**
|
|
1619
|
+
/**
|
|
1620
|
+
* @deprecated
|
|
1621
|
+
* @description Legacy IdP-derived identifier. Removed in v1beta3; resolve users by id or email.
|
|
1622
|
+
*/
|
|
1549
1623
|
userId: string;
|
|
1550
1624
|
/**
|
|
1551
1625
|
* @description Authentication provider (e.g., Google, Github)
|
|
@@ -1878,7 +1952,10 @@ export interface operations {
|
|
|
1878
1952
|
* @description Unique identifier for the user
|
|
1879
1953
|
*/
|
|
1880
1954
|
id: string;
|
|
1881
|
-
/**
|
|
1955
|
+
/**
|
|
1956
|
+
* @deprecated
|
|
1957
|
+
* @description Legacy IdP-derived identifier. Removed in v1beta3; resolve users by id or email.
|
|
1958
|
+
*/
|
|
1882
1959
|
userId: string;
|
|
1883
1960
|
/**
|
|
1884
1961
|
* @description Authentication provider (e.g., Google, Github)
|
|
@@ -2186,7 +2263,10 @@ export interface operations {
|
|
|
2186
2263
|
* @description Unique identifier for the user
|
|
2187
2264
|
*/
|
|
2188
2265
|
id: string;
|
|
2189
|
-
/**
|
|
2266
|
+
/**
|
|
2267
|
+
* @deprecated
|
|
2268
|
+
* @description Legacy IdP-derived identifier. Removed in v1beta3; resolve users by id or email.
|
|
2269
|
+
*/
|
|
2190
2270
|
userId: string;
|
|
2191
2271
|
/**
|
|
2192
2272
|
* @description Authentication provider (e.g., Google, Github)
|
|
@@ -2499,7 +2579,10 @@ export interface operations {
|
|
|
2499
2579
|
* @description Unique identifier for the user
|
|
2500
2580
|
*/
|
|
2501
2581
|
id: string;
|
|
2502
|
-
/**
|
|
2582
|
+
/**
|
|
2583
|
+
* @deprecated
|
|
2584
|
+
* @description Legacy IdP-derived identifier. Removed in v1beta3; resolve users by id or email.
|
|
2585
|
+
*/
|
|
2503
2586
|
userId: string;
|
|
2504
2587
|
/**
|
|
2505
2588
|
* @description Authentication provider (e.g., Google, Github)
|
|
@@ -2835,7 +2918,7 @@ export interface operations {
|
|
|
2835
2918
|
};
|
|
2836
2919
|
header?: never;
|
|
2837
2920
|
path: {
|
|
2838
|
-
/** @description ID of the user
|
|
2921
|
+
/** @description ID of the user */
|
|
2839
2922
|
userId: string;
|
|
2840
2923
|
};
|
|
2841
2924
|
cookie?: never;
|
|
@@ -3332,6 +3415,96 @@ export interface operations {
|
|
|
3332
3415
|
};
|
|
3333
3416
|
};
|
|
3334
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
|
+
};
|
|
3479
|
+
/** @description Expired JWT token used or insufficient privilege */
|
|
3480
|
+
401: {
|
|
3481
|
+
headers: {
|
|
3482
|
+
[name: string]: unknown;
|
|
3483
|
+
};
|
|
3484
|
+
content: {
|
|
3485
|
+
"text/plain": string;
|
|
3486
|
+
};
|
|
3487
|
+
};
|
|
3488
|
+
/** @description Result not found */
|
|
3489
|
+
404: {
|
|
3490
|
+
headers: {
|
|
3491
|
+
[name: string]: unknown;
|
|
3492
|
+
};
|
|
3493
|
+
content: {
|
|
3494
|
+
"text/plain": string;
|
|
3495
|
+
};
|
|
3496
|
+
};
|
|
3497
|
+
/** @description Internal server error */
|
|
3498
|
+
500: {
|
|
3499
|
+
headers: {
|
|
3500
|
+
[name: string]: unknown;
|
|
3501
|
+
};
|
|
3502
|
+
content: {
|
|
3503
|
+
"text/plain": string;
|
|
3504
|
+
};
|
|
3505
|
+
};
|
|
3506
|
+
};
|
|
3507
|
+
};
|
|
3335
3508
|
deleteUserAccount: {
|
|
3336
3509
|
parameters: {
|
|
3337
3510
|
query?: {
|