@faable/auth-sdk 2.6.14 → 2.6.16

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.
@@ -74,6 +74,12 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
74
74
  allowed_factors?: ("webauthn" | "totp")[] | undefined;
75
75
  remember_device_days?: number | undefined;
76
76
  } | undefined;
77
+ recovery_channels?: {
78
+ enabled?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
79
+ default?: "email" | "sms" | "whatsapp" | "factor" | undefined;
80
+ visible?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
81
+ } | undefined;
82
+ default_country_iso?: string | null | undefined;
77
83
  webauthn_rp_id?: string | null | undefined;
78
84
  createdAt: string;
79
85
  updatedAt?: string | undefined;
@@ -90,7 +96,7 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
90
96
  nickname?: string | null | undefined;
91
97
  email?: string | null | undefined;
92
98
  email_verified: boolean;
93
- email_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
99
+ email_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | "sms_otp" | null | undefined;
94
100
  email_verified_at?: string | null | undefined;
95
101
  email_change_locked_at?: string | null | undefined;
96
102
  email_bounced_at?: string | null | undefined;
@@ -100,7 +106,7 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
100
106
  passkey_prompt_dismissed_at?: string | null | undefined;
101
107
  phone?: string | null | undefined;
102
108
  phone_verified: boolean;
103
- phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
109
+ phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | "sms_otp" | null | undefined;
104
110
  phone_verified_at?: string | null | undefined;
105
111
  country_iso?: string | null | undefined;
106
112
  birth_date?: string | null | undefined;
@@ -148,7 +154,7 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
148
154
  nickname?: string | null | undefined;
149
155
  email?: string | null | undefined;
150
156
  email_verified: boolean;
151
- email_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
157
+ email_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | "sms_otp" | null | undefined;
152
158
  email_verified_at?: string | null | undefined;
153
159
  email_change_locked_at?: string | null | undefined;
154
160
  email_bounced_at?: string | null | undefined;
@@ -158,7 +164,7 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
158
164
  passkey_prompt_dismissed_at?: string | null | undefined;
159
165
  phone?: string | null | undefined;
160
166
  phone_verified: boolean;
161
- phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
167
+ phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | "sms_otp" | null | undefined;
162
168
  phone_verified_at?: string | null | undefined;
163
169
  country_iso?: string | null | undefined;
164
170
  birth_date?: string | null | undefined;
@@ -209,7 +215,7 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
209
215
  nickname?: string | null | undefined;
210
216
  email?: string | null | undefined;
211
217
  email_verified: boolean;
212
- email_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
218
+ email_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | "sms_otp" | null | undefined;
213
219
  email_verified_at?: string | null | undefined;
214
220
  email_change_locked_at?: string | null | undefined;
215
221
  email_bounced_at?: string | null | undefined;
@@ -219,7 +225,7 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
219
225
  passkey_prompt_dismissed_at?: string | null | undefined;
220
226
  phone?: string | null | undefined;
221
227
  phone_verified: boolean;
222
- phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
228
+ phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | "sms_otp" | null | undefined;
223
229
  phone_verified_at?: string | null | undefined;
224
230
  country_iso?: string | null | undefined;
225
231
  birth_date?: string | null | undefined;
@@ -269,7 +275,7 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
269
275
  nickname?: string | null | undefined;
270
276
  email?: string | null | undefined;
271
277
  email_verified: boolean;
272
- email_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
278
+ email_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | "sms_otp" | null | undefined;
273
279
  email_verified_at?: string | null | undefined;
274
280
  email_change_locked_at?: string | null | undefined;
275
281
  email_bounced_at?: string | null | undefined;
@@ -279,7 +285,7 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
279
285
  passkey_prompt_dismissed_at?: string | null | undefined;
280
286
  phone?: string | null | undefined;
281
287
  phone_verified: boolean;
282
- phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
288
+ phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | "sms_otp" | null | undefined;
283
289
  phone_verified_at?: string | null | undefined;
284
290
  country_iso?: string | null | undefined;
285
291
  birth_date?: string | null | undefined;
@@ -328,7 +334,7 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
328
334
  nickname?: string | null | undefined;
329
335
  email?: string | null | undefined;
330
336
  email_verified: boolean;
331
- email_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
337
+ email_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | "sms_otp" | null | undefined;
332
338
  email_verified_at?: string | null | undefined;
333
339
  email_change_locked_at?: string | null | undefined;
334
340
  email_bounced_at?: string | null | undefined;
@@ -338,7 +344,7 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
338
344
  passkey_prompt_dismissed_at?: string | null | undefined;
339
345
  phone?: string | null | undefined;
340
346
  phone_verified: boolean;
341
- phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
347
+ phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | "sms_otp" | null | undefined;
342
348
  phone_verified_at?: string | null | undefined;
343
349
  country_iso?: string | null | undefined;
344
350
  birth_date?: string | null | undefined;
@@ -387,7 +393,7 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
387
393
  nickname?: string | null | undefined;
388
394
  email?: string | null | undefined;
389
395
  email_verified: boolean;
390
- email_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
396
+ email_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | "sms_otp" | null | undefined;
391
397
  email_verified_at?: string | null | undefined;
392
398
  email_change_locked_at?: string | null | undefined;
393
399
  email_bounced_at?: string | null | undefined;
@@ -397,7 +403,7 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
397
403
  passkey_prompt_dismissed_at?: string | null | undefined;
398
404
  phone?: string | null | undefined;
399
405
  phone_verified: boolean;
400
- phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
406
+ phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | "sms_otp" | null | undefined;
401
407
  phone_verified_at?: string | null | undefined;
402
408
  country_iso?: string | null | undefined;
403
409
  birth_date?: string | null | undefined;
@@ -776,6 +782,11 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
776
782
  allowed_factors?: ("webauthn" | "totp")[] | undefined;
777
783
  remember_device_days?: number | undefined;
778
784
  } | undefined;
785
+ recovery_channels?: {
786
+ enabled?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
787
+ default?: "email" | "sms" | "whatsapp" | "factor" | undefined;
788
+ visible?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
789
+ } | undefined;
779
790
  login_flow?: string | null | undefined;
780
791
  account: string;
781
792
  metadata: {
@@ -831,6 +842,11 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
831
842
  allowed_factors?: ("webauthn" | "totp")[] | undefined;
832
843
  remember_device_days?: number | undefined;
833
844
  } | undefined;
845
+ recovery_channels?: {
846
+ enabled?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
847
+ default?: "email" | "sms" | "whatsapp" | "factor" | undefined;
848
+ visible?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
849
+ } | undefined;
834
850
  login_flow?: string | null | undefined;
835
851
  account: string;
836
852
  metadata: {
@@ -889,6 +905,11 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
889
905
  allowed_factors?: ("webauthn" | "totp")[] | undefined;
890
906
  remember_device_days?: number | undefined;
891
907
  } | undefined;
908
+ recovery_channels?: {
909
+ enabled?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
910
+ default?: "email" | "sms" | "whatsapp" | "factor" | undefined;
911
+ visible?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
912
+ } | undefined;
892
913
  login_flow?: string | null | undefined;
893
914
  account: string;
894
915
  metadata: {
@@ -946,6 +967,11 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
946
967
  allowed_factors?: ("webauthn" | "totp")[] | undefined;
947
968
  remember_device_days?: number | undefined;
948
969
  } | undefined;
970
+ recovery_channels?: {
971
+ enabled?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
972
+ default?: "email" | "sms" | "whatsapp" | "factor" | undefined;
973
+ visible?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
974
+ } | undefined;
949
975
  login_flow?: string | null | undefined;
950
976
  account: string;
951
977
  metadata: {
@@ -70,6 +70,12 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
70
70
  allowed_factors?: ("webauthn" | "totp")[] | undefined;
71
71
  remember_device_days?: number | undefined;
72
72
  } | undefined;
73
+ recovery_channels?: {
74
+ enabled?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
75
+ default?: "email" | "sms" | "whatsapp" | "factor" | undefined;
76
+ visible?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
77
+ } | undefined;
78
+ default_country_iso?: string | null | undefined;
73
79
  webauthn_rp_id?: string | null | undefined;
74
80
  createdAt: string;
75
81
  updatedAt?: string | undefined;
@@ -126,6 +132,12 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
126
132
  allowed_factors?: ("webauthn" | "totp")[] | undefined;
127
133
  remember_device_days?: number | undefined;
128
134
  } | undefined;
135
+ recovery_channels?: {
136
+ enabled?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
137
+ default?: "email" | "sms" | "whatsapp" | "factor" | undefined;
138
+ visible?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
139
+ } | undefined;
140
+ default_country_iso?: string | null | undefined;
129
141
  webauthn_rp_id?: string | null | undefined;
130
142
  createdAt: string;
131
143
  updatedAt?: string | undefined;
@@ -188,6 +200,12 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
188
200
  allowed_factors?: ("webauthn" | "totp")[] | undefined;
189
201
  remember_device_days?: number | undefined;
190
202
  } | undefined;
203
+ recovery_channels?: {
204
+ enabled?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
205
+ default?: "email" | "sms" | "whatsapp" | "factor" | undefined;
206
+ visible?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
207
+ } | undefined;
208
+ default_country_iso?: string | null | undefined;
191
209
  webauthn_rp_id?: string | null | undefined;
192
210
  createdAt: string;
193
211
  updatedAt?: string | undefined;
@@ -255,6 +273,12 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
255
273
  allowed_factors?: ("webauthn" | "totp")[] | undefined;
256
274
  remember_device_days?: number | undefined;
257
275
  } | undefined;
276
+ recovery_channels?: {
277
+ enabled?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
278
+ default?: "email" | "sms" | "whatsapp" | "factor" | undefined;
279
+ visible?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
280
+ } | undefined;
281
+ default_country_iso?: string | null | undefined;
258
282
  webauthn_rp_id?: string | null | undefined;
259
283
  createdAt: string;
260
284
  updatedAt?: string | undefined;
@@ -306,6 +330,12 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
306
330
  allowed_factors?: ("webauthn" | "totp")[] | undefined;
307
331
  remember_device_days?: number | undefined;
308
332
  } | undefined;
333
+ recovery_channels?: {
334
+ enabled?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
335
+ default?: "email" | "sms" | "whatsapp" | "factor" | undefined;
336
+ visible?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
337
+ } | undefined;
338
+ default_country_iso?: string | null | undefined;
309
339
  webauthn_rp_id?: string | null | undefined;
310
340
  createdAt: string;
311
341
  updatedAt?: string | undefined;
@@ -360,11 +390,50 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
360
390
  allowed_factors?: ("webauthn" | "totp")[] | undefined;
361
391
  remember_device_days?: number | undefined;
362
392
  } | undefined;
393
+ recovery_channels?: {
394
+ enabled?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
395
+ default?: "email" | "sms" | "whatsapp" | "factor" | undefined;
396
+ visible?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
397
+ } | undefined;
398
+ default_country_iso?: string | null | undefined;
363
399
  webauthn_rp_id?: string | null | undefined;
364
400
  createdAt: string;
365
401
  updatedAt?: string | undefined;
366
402
  }>>;
367
403
  };
404
+ /**
405
+ * `GET /recovery-channels/capabilities` — operationId: `account/recoveryChannelsCapabilities`
406
+ *
407
+ * Recovery channel capabilities for this tenant
408
+ */
409
+ accountRecoveryChannelsCapabilities(): Promise<{
410
+ provider: {
411
+ sms: boolean;
412
+ whatsapp: boolean;
413
+ };
414
+ plan: {
415
+ known: boolean;
416
+ tier?: string | undefined;
417
+ allows_messaging: boolean;
418
+ };
419
+ usage: {
420
+ month: string;
421
+ sent: number;
422
+ included: number;
423
+ metered: boolean;
424
+ hard_ceiling: number;
425
+ };
426
+ resolved: {
427
+ enabled: ("email" | "sms" | "whatsapp" | "factor")[];
428
+ default: "email" | "sms" | "whatsapp" | "factor";
429
+ visible: ("email" | "sms" | "whatsapp" | "factor")[];
430
+ };
431
+ channels: {
432
+ channel: "email" | "sms" | "whatsapp" | "factor";
433
+ available: boolean;
434
+ reason?: string | undefined;
435
+ }[];
436
+ }>;
368
437
  /**
369
438
  * `POST /account/keys/rotate` — operationId: `account/rotateKeys`
370
439
  *
@@ -463,6 +532,12 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
463
532
  allowed_factors?: ("webauthn" | "totp")[] | undefined;
464
533
  remember_device_days?: number | undefined;
465
534
  } | undefined;
535
+ recovery_channels?: {
536
+ enabled?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
537
+ default?: "email" | "sms" | "whatsapp" | "factor" | undefined;
538
+ visible?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
539
+ } | undefined;
540
+ default_country_iso?: string | null | undefined;
466
541
  webauthn_rp_id?: string | null | undefined;
467
542
  createdAt: string;
468
543
  updatedAt?: string | undefined;
@@ -873,6 +948,11 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
873
948
  allowed_factors?: ("webauthn" | "totp")[] | undefined;
874
949
  remember_device_days?: number | undefined;
875
950
  } | undefined;
951
+ recovery_channels?: {
952
+ enabled?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
953
+ default?: "email" | "sms" | "whatsapp" | "factor" | undefined;
954
+ visible?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
955
+ } | undefined;
876
956
  login_flow?: string | null | undefined;
877
957
  account: string;
878
958
  metadata: {
@@ -933,6 +1013,11 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
933
1013
  allowed_factors?: ("webauthn" | "totp")[] | undefined;
934
1014
  remember_device_days?: number | undefined;
935
1015
  } | undefined;
1016
+ recovery_channels?: {
1017
+ enabled?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
1018
+ default?: "email" | "sms" | "whatsapp" | "factor" | undefined;
1019
+ visible?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
1020
+ } | undefined;
936
1021
  login_flow?: string | null | undefined;
937
1022
  account: string;
938
1023
  metadata: {
@@ -993,6 +1078,11 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
993
1078
  allowed_factors?: ("webauthn" | "totp")[] | undefined;
994
1079
  remember_device_days?: number | undefined;
995
1080
  } | undefined;
1081
+ recovery_channels?: {
1082
+ enabled?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
1083
+ default?: "email" | "sms" | "whatsapp" | "factor" | undefined;
1084
+ visible?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
1085
+ } | undefined;
996
1086
  login_flow?: string | null | undefined;
997
1087
  account: string;
998
1088
  metadata: {
@@ -1054,6 +1144,11 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
1054
1144
  allowed_factors?: ("webauthn" | "totp")[] | undefined;
1055
1145
  remember_device_days?: number | undefined;
1056
1146
  } | undefined;
1147
+ recovery_channels?: {
1148
+ enabled?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
1149
+ default?: "email" | "sms" | "whatsapp" | "factor" | undefined;
1150
+ visible?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
1151
+ } | undefined;
1057
1152
  login_flow?: string | null | undefined;
1058
1153
  account: string;
1059
1154
  metadata: {
@@ -1109,6 +1204,11 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
1109
1204
  allowed_factors?: ("webauthn" | "totp")[] | undefined;
1110
1205
  remember_device_days?: number | undefined;
1111
1206
  } | undefined;
1207
+ recovery_channels?: {
1208
+ enabled?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
1209
+ default?: "email" | "sms" | "whatsapp" | "factor" | undefined;
1210
+ visible?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
1211
+ } | undefined;
1112
1212
  login_flow?: string | null | undefined;
1113
1213
  account: string;
1114
1214
  metadata: {
@@ -1167,6 +1267,11 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
1167
1267
  allowed_factors?: ("webauthn" | "totp")[] | undefined;
1168
1268
  remember_device_days?: number | undefined;
1169
1269
  } | undefined;
1270
+ recovery_channels?: {
1271
+ enabled?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
1272
+ default?: "email" | "sms" | "whatsapp" | "factor" | undefined;
1273
+ visible?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
1274
+ } | undefined;
1170
1275
  login_flow?: string | null | undefined;
1171
1276
  account: string;
1172
1277
  metadata: {
@@ -1228,6 +1333,11 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
1228
1333
  allowed_factors?: ("webauthn" | "totp")[] | undefined;
1229
1334
  remember_device_days?: number | undefined;
1230
1335
  } | undefined;
1336
+ recovery_channels?: {
1337
+ enabled?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
1338
+ default?: "email" | "sms" | "whatsapp" | "factor" | undefined;
1339
+ visible?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
1340
+ } | undefined;
1231
1341
  login_flow?: string | null | undefined;
1232
1342
  account: string;
1233
1343
  metadata: {
@@ -1288,6 +1398,11 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
1288
1398
  allowed_factors?: ("webauthn" | "totp")[] | undefined;
1289
1399
  remember_device_days?: number | undefined;
1290
1400
  } | undefined;
1401
+ recovery_channels?: {
1402
+ enabled?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
1403
+ default?: "email" | "sms" | "whatsapp" | "factor" | undefined;
1404
+ visible?: ("email" | "sms" | "whatsapp" | "factor")[] | undefined;
1405
+ } | undefined;
1291
1406
  login_flow?: string | null | undefined;
1292
1407
  account: string;
1293
1408
  metadata: {
@@ -3798,7 +3913,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
3798
3913
  nickname?: string | null | undefined;
3799
3914
  email?: string | null | undefined;
3800
3915
  email_verified: boolean;
3801
- email_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
3916
+ email_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | "sms_otp" | null | undefined;
3802
3917
  email_verified_at?: string | null | undefined;
3803
3918
  email_change_locked_at?: string | null | undefined;
3804
3919
  email_bounced_at?: string | null | undefined;
@@ -3808,7 +3923,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
3808
3923
  passkey_prompt_dismissed_at?: string | null | undefined;
3809
3924
  phone?: string | null | undefined;
3810
3925
  phone_verified: boolean;
3811
- phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
3926
+ phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | "sms_otp" | null | undefined;
3812
3927
  phone_verified_at?: string | null | undefined;
3813
3928
  country_iso?: string | null | undefined;
3814
3929
  birth_date?: string | null | undefined;
@@ -3861,7 +3976,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
3861
3976
  nickname?: string | null | undefined;
3862
3977
  email?: string | null | undefined;
3863
3978
  email_verified: boolean;
3864
- email_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
3979
+ email_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | "sms_otp" | null | undefined;
3865
3980
  email_verified_at?: string | null | undefined;
3866
3981
  email_change_locked_at?: string | null | undefined;
3867
3982
  email_bounced_at?: string | null | undefined;
@@ -3871,7 +3986,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
3871
3986
  passkey_prompt_dismissed_at?: string | null | undefined;
3872
3987
  phone?: string | null | undefined;
3873
3988
  phone_verified: boolean;
3874
- phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
3989
+ phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | "sms_otp" | null | undefined;
3875
3990
  phone_verified_at?: string | null | undefined;
3876
3991
  country_iso?: string | null | undefined;
3877
3992
  birth_date?: string | null | undefined;
@@ -3924,7 +4039,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
3924
4039
  nickname?: string | null | undefined;
3925
4040
  email?: string | null | undefined;
3926
4041
  email_verified: boolean;
3927
- email_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
4042
+ email_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | "sms_otp" | null | undefined;
3928
4043
  email_verified_at?: string | null | undefined;
3929
4044
  email_change_locked_at?: string | null | undefined;
3930
4045
  email_bounced_at?: string | null | undefined;
@@ -3934,7 +4049,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
3934
4049
  passkey_prompt_dismissed_at?: string | null | undefined;
3935
4050
  phone?: string | null | undefined;
3936
4051
  phone_verified: boolean;
3937
- phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
4052
+ phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | "sms_otp" | null | undefined;
3938
4053
  phone_verified_at?: string | null | undefined;
3939
4054
  country_iso?: string | null | undefined;
3940
4055
  birth_date?: string | null | undefined;
@@ -3988,7 +4103,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
3988
4103
  nickname?: string | null | undefined;
3989
4104
  email?: string | null | undefined;
3990
4105
  email_verified: boolean;
3991
- email_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
4106
+ email_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | "sms_otp" | null | undefined;
3992
4107
  email_verified_at?: string | null | undefined;
3993
4108
  email_change_locked_at?: string | null | undefined;
3994
4109
  email_bounced_at?: string | null | undefined;
@@ -3998,7 +4113,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
3998
4113
  passkey_prompt_dismissed_at?: string | null | undefined;
3999
4114
  phone?: string | null | undefined;
4000
4115
  phone_verified: boolean;
4001
- phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
4116
+ phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | "sms_otp" | null | undefined;
4002
4117
  phone_verified_at?: string | null | undefined;
4003
4118
  country_iso?: string | null | undefined;
4004
4119
  birth_date?: string | null | undefined;
@@ -4046,7 +4161,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
4046
4161
  nickname?: string | null | undefined;
4047
4162
  email?: string | null | undefined;
4048
4163
  email_verified: boolean;
4049
- email_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
4164
+ email_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | "sms_otp" | null | undefined;
4050
4165
  email_verified_at?: string | null | undefined;
4051
4166
  email_change_locked_at?: string | null | undefined;
4052
4167
  email_bounced_at?: string | null | undefined;
@@ -4056,7 +4171,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
4056
4171
  passkey_prompt_dismissed_at?: string | null | undefined;
4057
4172
  phone?: string | null | undefined;
4058
4173
  phone_verified: boolean;
4059
- phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
4174
+ phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | "sms_otp" | null | undefined;
4060
4175
  phone_verified_at?: string | null | undefined;
4061
4176
  country_iso?: string | null | undefined;
4062
4177
  birth_date?: string | null | undefined;
@@ -4107,7 +4222,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
4107
4222
  nickname?: string | null | undefined;
4108
4223
  email?: string | null | undefined;
4109
4224
  email_verified: boolean;
4110
- email_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
4225
+ email_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | "sms_otp" | null | undefined;
4111
4226
  email_verified_at?: string | null | undefined;
4112
4227
  email_change_locked_at?: string | null | undefined;
4113
4228
  email_bounced_at?: string | null | undefined;
@@ -4117,7 +4232,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
4117
4232
  passkey_prompt_dismissed_at?: string | null | undefined;
4118
4233
  phone?: string | null | undefined;
4119
4234
  phone_verified: boolean;
4120
- phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
4235
+ phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | "sms_otp" | null | undefined;
4121
4236
  phone_verified_at?: string | null | undefined;
4122
4237
  country_iso?: string | null | undefined;
4123
4238
  birth_date?: string | null | undefined;
@@ -4207,7 +4322,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
4207
4322
  nickname?: string | null | undefined;
4208
4323
  email?: string | null | undefined;
4209
4324
  email_verified: boolean;
4210
- email_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
4325
+ email_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | "sms_otp" | null | undefined;
4211
4326
  email_verified_at?: string | null | undefined;
4212
4327
  email_change_locked_at?: string | null | undefined;
4213
4328
  email_bounced_at?: string | null | undefined;
@@ -4217,7 +4332,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
4217
4332
  passkey_prompt_dismissed_at?: string | null | undefined;
4218
4333
  phone?: string | null | undefined;
4219
4334
  phone_verified: boolean;
4220
- phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | null | undefined;
4335
+ phone_verified_method?: "manual" | "verification_flow" | "passwordless_otp" | "team_invite" | "email_change" | "federated" | "sms_otp" | null | undefined;
4221
4336
  phone_verified_at?: string | null | undefined;
4222
4337
  country_iso?: string | null | undefined;
4223
4338
  birth_date?: string | null | undefined;
@@ -59,6 +59,14 @@ export class GeneratedFaableAuthApi extends FaableApi {
59
59
  accountList(params) {
60
60
  return this.paginator({ url: `/account`, params });
61
61
  }
62
+ /**
63
+ * `GET /recovery-channels/capabilities` — operationId: `account/recoveryChannelsCapabilities`
64
+ *
65
+ * Recovery channel capabilities for this tenant
66
+ */
67
+ accountRecoveryChannelsCapabilities() {
68
+ return this.fetcher.get(`/recovery-channels/capabilities`);
69
+ }
62
70
  /**
63
71
  * `POST /account/keys/rotate` — operationId: `account/rotateKeys`
64
72
  *