@hearth-auth/sdk 4.5.17 → 4.6.0
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.
|
@@ -777,7 +777,10 @@ export interface paths {
|
|
|
777
777
|
};
|
|
778
778
|
get?: never;
|
|
779
779
|
put?: never;
|
|
780
|
-
/**
|
|
780
|
+
/**
|
|
781
|
+
* Import users (migration)
|
|
782
|
+
* @description Creates one user for each entry. An entry that fails gets an error in `results`, and the other entries continue.
|
|
783
|
+
*/
|
|
781
784
|
post: operations["adminImportUsers"];
|
|
782
785
|
delete?: never;
|
|
783
786
|
options?: never;
|
|
@@ -1111,6 +1114,22 @@ export interface components {
|
|
|
1111
1114
|
/** Format: int64 */
|
|
1112
1115
|
total: number;
|
|
1113
1116
|
};
|
|
1117
|
+
AdminImportUserEntry: {
|
|
1118
|
+
email: string;
|
|
1119
|
+
display_name: string;
|
|
1120
|
+
first_name?: string;
|
|
1121
|
+
last_name?: string;
|
|
1122
|
+
/** @description `active` (the default), `disabled` or `pending_verification`. Another value fails the entry. */
|
|
1123
|
+
status?: string;
|
|
1124
|
+
attributes?: {
|
|
1125
|
+
[key: string]: string;
|
|
1126
|
+
};
|
|
1127
|
+
/** @description A PHC password hash from another system: bcrypt (`$2a$`, `$2b$`, `$2y$`), `$argon2id$`, `$scrypt$` or `$pbkdf2-sha256$`. Sign-in verifies it, and the first successful sign-in replaces it with an Argon2id hash. A hash that is malformed, in another format, or with a work factor above the server's ceilings fails the entry. Without it, the user gets no password. */
|
|
1128
|
+
password_hash?: string;
|
|
1129
|
+
};
|
|
1130
|
+
AdminImportUsersRequest: {
|
|
1131
|
+
users: components["schemas"]["AdminImportUserEntry"][];
|
|
1132
|
+
};
|
|
1114
1133
|
AdminOrganization: {
|
|
1115
1134
|
/** Format: uuid */
|
|
1116
1135
|
id: string;
|
|
@@ -3192,7 +3211,7 @@ export interface operations {
|
|
|
3192
3211
|
};
|
|
3193
3212
|
requestBody: {
|
|
3194
3213
|
content: {
|
|
3195
|
-
"application/json":
|
|
3214
|
+
"application/json": components["schemas"]["AdminImportUsersRequest"];
|
|
3196
3215
|
};
|
|
3197
3216
|
};
|
|
3198
3217
|
responses: {
|