@faable/auth-sdk 2.5.69 → 2.5.70

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.
@@ -47,6 +47,18 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
47
47
  };
48
48
  email_change_verification_mode?: "new_only" | "old_and_new" | undefined;
49
49
  email_oauth_sync_policy?: "preserve_manual" | "always_sync" | undefined;
50
+ login_methods?: {
51
+ order?: string[] | undefined;
52
+ passkey_login_enabled?: boolean | undefined;
53
+ identifier_first?: boolean | undefined;
54
+ remember_last_method?: boolean | undefined;
55
+ } | undefined;
56
+ mfa_policy?: {
57
+ mode?: "required" | "optional" | "off" | undefined;
58
+ allowed_factors?: ("webauthn" | "totp")[] | undefined;
59
+ remember_device_days?: number | undefined;
60
+ } | undefined;
61
+ webauthn_rp_id?: string | null | undefined;
50
62
  createdAt: string;
51
63
  updatedAt?: string | undefined;
52
64
  }>;
@@ -713,6 +725,17 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
713
725
  software_version?: string | null | undefined;
714
726
  frontchannel_logout_uri?: string | null | undefined;
715
727
  frontchannel_logout_session_required?: boolean | undefined;
728
+ login_methods?: {
729
+ order?: string[] | undefined;
730
+ passkey_login_enabled?: boolean | undefined;
731
+ identifier_first?: boolean | undefined;
732
+ remember_last_method?: boolean | undefined;
733
+ } | undefined;
734
+ mfa_policy?: {
735
+ mode?: "required" | "optional" | "off" | undefined;
736
+ allowed_factors?: ("webauthn" | "totp")[] | undefined;
737
+ remember_device_days?: number | undefined;
738
+ } | undefined;
716
739
  account: string;
717
740
  metadata: {
718
741
  [key: string]: unknown;
@@ -750,6 +773,17 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
750
773
  software_version?: string | null | undefined;
751
774
  frontchannel_logout_uri?: string | null | undefined;
752
775
  frontchannel_logout_session_required?: boolean | undefined;
776
+ login_methods?: {
777
+ order?: string[] | undefined;
778
+ passkey_login_enabled?: boolean | undefined;
779
+ identifier_first?: boolean | undefined;
780
+ remember_last_method?: boolean | undefined;
781
+ } | undefined;
782
+ mfa_policy?: {
783
+ mode?: "required" | "optional" | "off" | undefined;
784
+ allowed_factors?: ("webauthn" | "totp")[] | undefined;
785
+ remember_device_days?: number | undefined;
786
+ } | undefined;
753
787
  account: string;
754
788
  metadata: {
755
789
  [key: string]: unknown;
@@ -790,6 +824,17 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
790
824
  software_version?: string | null | undefined;
791
825
  frontchannel_logout_uri?: string | null | undefined;
792
826
  frontchannel_logout_session_required?: boolean | undefined;
827
+ login_methods?: {
828
+ order?: string[] | undefined;
829
+ passkey_login_enabled?: boolean | undefined;
830
+ identifier_first?: boolean | undefined;
831
+ remember_last_method?: boolean | undefined;
832
+ } | undefined;
833
+ mfa_policy?: {
834
+ mode?: "required" | "optional" | "off" | undefined;
835
+ allowed_factors?: ("webauthn" | "totp")[] | undefined;
836
+ remember_device_days?: number | undefined;
837
+ } | undefined;
793
838
  account: string;
794
839
  metadata: {
795
840
  [key: string]: unknown;
@@ -829,6 +874,17 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
829
874
  software_version?: string | null | undefined;
830
875
  frontchannel_logout_uri?: string | null | undefined;
831
876
  frontchannel_logout_session_required?: boolean | undefined;
877
+ login_methods?: {
878
+ order?: string[] | undefined;
879
+ passkey_login_enabled?: boolean | undefined;
880
+ identifier_first?: boolean | undefined;
881
+ remember_last_method?: boolean | undefined;
882
+ } | undefined;
883
+ mfa_policy?: {
884
+ mode?: "required" | "optional" | "off" | undefined;
885
+ allowed_factors?: ("webauthn" | "totp")[] | undefined;
886
+ remember_device_days?: number | undefined;
887
+ } | undefined;
832
888
  account: string;
833
889
  metadata: {
834
890
  [key: string]: unknown;
@@ -4,6 +4,7 @@ export type Action = components["schemas"]["Action"];
4
4
  export type ActionCreate = components["schemas"]["ActionCreate"];
5
5
  export type ActionMetadata = components["schemas"]["ActionMetadata"];
6
6
  export type ActionUpdate = components["schemas"]["ActionUpdate"];
7
+ export type AdminFactor = components["schemas"]["AdminFactor"];
7
8
  export type Api = components["schemas"]["Api"];
8
9
  export type ApiCreate = components["schemas"]["ApiCreate"];
9
10
  export type ApiMetadata = components["schemas"]["ApiMetadata"];
@@ -37,12 +38,14 @@ export type CustomdomainCreate = components["schemas"]["CustomdomainCreate"];
37
38
  export type CustomdomainMetadata = components["schemas"]["CustomdomainMetadata"];
38
39
  export type CustomdomainMetadataCreate = components["schemas"]["CustomdomainMetadataCreate"];
39
40
  export type EmailChangeVerificationMode = components["schemas"]["EmailChangeVerificationMode"];
41
+ export type FactorSummary = components["schemas"]["FactorSummary"];
40
42
  export type Identity = components["schemas"]["Identity"];
41
43
  export type IdentityCreate = components["schemas"]["IdentityCreate"];
42
44
  export type IdentityMetadata = components["schemas"]["IdentityMetadata"];
43
45
  export type Log = components["schemas"]["Log"];
44
46
  export type LogMetadata = components["schemas"]["LogMetadata"];
45
47
  export type LoginCallbackBody = components["schemas"]["LoginCallbackBody"];
48
+ export type LoginOptionMethod = components["schemas"]["LoginOptionMethod"];
46
49
  export type NotificationSubscription = components["schemas"]["NotificationSubscription"];
47
50
  export type NotificationSubscriptionCreate = components["schemas"]["NotificationSubscriptionCreate"];
48
51
  export type NotificationSubscriptionEmail = components["schemas"]["NotificationSubscriptionEmail"];
@@ -43,6 +43,18 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
43
43
  };
44
44
  email_change_verification_mode?: "new_only" | "old_and_new" | undefined;
45
45
  email_oauth_sync_policy?: "preserve_manual" | "always_sync" | undefined;
46
+ login_methods?: {
47
+ order?: string[] | undefined;
48
+ passkey_login_enabled?: boolean | undefined;
49
+ identifier_first?: boolean | undefined;
50
+ remember_last_method?: boolean | undefined;
51
+ } | undefined;
52
+ mfa_policy?: {
53
+ mode?: "required" | "optional" | "off" | undefined;
54
+ allowed_factors?: ("webauthn" | "totp")[] | undefined;
55
+ remember_device_days?: number | undefined;
56
+ } | undefined;
57
+ webauthn_rp_id?: string | null | undefined;
46
58
  createdAt: string;
47
59
  updatedAt?: string | undefined;
48
60
  }>;
@@ -71,6 +83,18 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
71
83
  };
72
84
  email_change_verification_mode?: "new_only" | "old_and_new" | undefined;
73
85
  email_oauth_sync_policy?: "preserve_manual" | "always_sync" | undefined;
86
+ login_methods?: {
87
+ order?: string[] | undefined;
88
+ passkey_login_enabled?: boolean | undefined;
89
+ identifier_first?: boolean | undefined;
90
+ remember_last_method?: boolean | undefined;
91
+ } | undefined;
92
+ mfa_policy?: {
93
+ mode?: "required" | "optional" | "off" | undefined;
94
+ allowed_factors?: ("webauthn" | "totp")[] | undefined;
95
+ remember_device_days?: number | undefined;
96
+ } | undefined;
97
+ webauthn_rp_id?: string | null | undefined;
74
98
  createdAt: string;
75
99
  updatedAt?: string | undefined;
76
100
  }>;
@@ -105,6 +129,18 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
105
129
  };
106
130
  email_change_verification_mode?: "new_only" | "old_and_new" | undefined;
107
131
  email_oauth_sync_policy?: "preserve_manual" | "always_sync" | undefined;
132
+ login_methods?: {
133
+ order?: string[] | undefined;
134
+ passkey_login_enabled?: boolean | undefined;
135
+ identifier_first?: boolean | undefined;
136
+ remember_last_method?: boolean | undefined;
137
+ } | undefined;
138
+ mfa_policy?: {
139
+ mode?: "required" | "optional" | "off" | undefined;
140
+ allowed_factors?: ("webauthn" | "totp")[] | undefined;
141
+ remember_device_days?: number | undefined;
142
+ } | undefined;
143
+ webauthn_rp_id?: string | null | undefined;
108
144
  createdAt: string;
109
145
  updatedAt?: string | undefined;
110
146
  }>;
@@ -144,6 +180,18 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
144
180
  };
145
181
  email_change_verification_mode?: "new_only" | "old_and_new" | undefined;
146
182
  email_oauth_sync_policy?: "preserve_manual" | "always_sync" | undefined;
183
+ login_methods?: {
184
+ order?: string[] | undefined;
185
+ passkey_login_enabled?: boolean | undefined;
186
+ identifier_first?: boolean | undefined;
187
+ remember_last_method?: boolean | undefined;
188
+ } | undefined;
189
+ mfa_policy?: {
190
+ mode?: "required" | "optional" | "off" | undefined;
191
+ allowed_factors?: ("webauthn" | "totp")[] | undefined;
192
+ remember_device_days?: number | undefined;
193
+ } | undefined;
194
+ webauthn_rp_id?: string | null | undefined;
147
195
  createdAt: string;
148
196
  updatedAt?: string | undefined;
149
197
  }[]>;
@@ -167,6 +215,18 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
167
215
  };
168
216
  email_change_verification_mode?: "new_only" | "old_and_new" | undefined;
169
217
  email_oauth_sync_policy?: "preserve_manual" | "always_sync" | undefined;
218
+ login_methods?: {
219
+ order?: string[] | undefined;
220
+ passkey_login_enabled?: boolean | undefined;
221
+ identifier_first?: boolean | undefined;
222
+ remember_last_method?: boolean | undefined;
223
+ } | undefined;
224
+ mfa_policy?: {
225
+ mode?: "required" | "optional" | "off" | undefined;
226
+ allowed_factors?: ("webauthn" | "totp")[] | undefined;
227
+ remember_device_days?: number | undefined;
228
+ } | undefined;
229
+ webauthn_rp_id?: string | null | undefined;
170
230
  createdAt: string;
171
231
  updatedAt?: string | undefined;
172
232
  }>>;
@@ -193,6 +253,18 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
193
253
  };
194
254
  email_change_verification_mode?: "new_only" | "old_and_new" | undefined;
195
255
  email_oauth_sync_policy?: "preserve_manual" | "always_sync" | undefined;
256
+ login_methods?: {
257
+ order?: string[] | undefined;
258
+ passkey_login_enabled?: boolean | undefined;
259
+ identifier_first?: boolean | undefined;
260
+ remember_last_method?: boolean | undefined;
261
+ } | undefined;
262
+ mfa_policy?: {
263
+ mode?: "required" | "optional" | "off" | undefined;
264
+ allowed_factors?: ("webauthn" | "totp")[] | undefined;
265
+ remember_device_days?: number | undefined;
266
+ } | undefined;
267
+ webauthn_rp_id?: string | null | undefined;
196
268
  createdAt: string;
197
269
  updatedAt?: string | undefined;
198
270
  }>>;
@@ -234,6 +306,18 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
234
306
  };
235
307
  email_change_verification_mode?: "new_only" | "old_and_new" | undefined;
236
308
  email_oauth_sync_policy?: "preserve_manual" | "always_sync" | undefined;
309
+ login_methods?: {
310
+ order?: string[] | undefined;
311
+ passkey_login_enabled?: boolean | undefined;
312
+ identifier_first?: boolean | undefined;
313
+ remember_last_method?: boolean | undefined;
314
+ } | undefined;
315
+ mfa_policy?: {
316
+ mode?: "required" | "optional" | "off" | undefined;
317
+ allowed_factors?: ("webauthn" | "totp")[] | undefined;
318
+ remember_device_days?: number | undefined;
319
+ } | undefined;
320
+ webauthn_rp_id?: string | null | undefined;
237
321
  createdAt: string;
238
322
  updatedAt?: string | undefined;
239
323
  }>;
@@ -626,6 +710,17 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
626
710
  software_version?: string | null | undefined;
627
711
  frontchannel_logout_uri?: string | null | undefined;
628
712
  frontchannel_logout_session_required?: boolean | undefined;
713
+ login_methods?: {
714
+ order?: string[] | undefined;
715
+ passkey_login_enabled?: boolean | undefined;
716
+ identifier_first?: boolean | undefined;
717
+ remember_last_method?: boolean | undefined;
718
+ } | undefined;
719
+ mfa_policy?: {
720
+ mode?: "required" | "optional" | "off" | undefined;
721
+ allowed_factors?: ("webauthn" | "totp")[] | undefined;
722
+ remember_device_days?: number | undefined;
723
+ } | undefined;
629
724
  account: string;
630
725
  metadata: {
631
726
  [key: string]: unknown;
@@ -668,6 +763,17 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
668
763
  software_version?: string | null | undefined;
669
764
  frontchannel_logout_uri?: string | null | undefined;
670
765
  frontchannel_logout_session_required?: boolean | undefined;
766
+ login_methods?: {
767
+ order?: string[] | undefined;
768
+ passkey_login_enabled?: boolean | undefined;
769
+ identifier_first?: boolean | undefined;
770
+ remember_last_method?: boolean | undefined;
771
+ } | undefined;
772
+ mfa_policy?: {
773
+ mode?: "required" | "optional" | "off" | undefined;
774
+ allowed_factors?: ("webauthn" | "totp")[] | undefined;
775
+ remember_device_days?: number | undefined;
776
+ } | undefined;
671
777
  account: string;
672
778
  metadata: {
673
779
  [key: string]: unknown;
@@ -710,6 +816,17 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
710
816
  software_version?: string | null | undefined;
711
817
  frontchannel_logout_uri?: string | null | undefined;
712
818
  frontchannel_logout_session_required?: boolean | undefined;
819
+ login_methods?: {
820
+ order?: string[] | undefined;
821
+ passkey_login_enabled?: boolean | undefined;
822
+ identifier_first?: boolean | undefined;
823
+ remember_last_method?: boolean | undefined;
824
+ } | undefined;
825
+ mfa_policy?: {
826
+ mode?: "required" | "optional" | "off" | undefined;
827
+ allowed_factors?: ("webauthn" | "totp")[] | undefined;
828
+ remember_device_days?: number | undefined;
829
+ } | undefined;
713
830
  account: string;
714
831
  metadata: {
715
832
  [key: string]: unknown;
@@ -753,6 +870,17 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
753
870
  software_version?: string | null | undefined;
754
871
  frontchannel_logout_uri?: string | null | undefined;
755
872
  frontchannel_logout_session_required?: boolean | undefined;
873
+ login_methods?: {
874
+ order?: string[] | undefined;
875
+ passkey_login_enabled?: boolean | undefined;
876
+ identifier_first?: boolean | undefined;
877
+ remember_last_method?: boolean | undefined;
878
+ } | undefined;
879
+ mfa_policy?: {
880
+ mode?: "required" | "optional" | "off" | undefined;
881
+ allowed_factors?: ("webauthn" | "totp")[] | undefined;
882
+ remember_device_days?: number | undefined;
883
+ } | undefined;
756
884
  account: string;
757
885
  metadata: {
758
886
  [key: string]: unknown;
@@ -790,6 +918,17 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
790
918
  software_version?: string | null | undefined;
791
919
  frontchannel_logout_uri?: string | null | undefined;
792
920
  frontchannel_logout_session_required?: boolean | undefined;
921
+ login_methods?: {
922
+ order?: string[] | undefined;
923
+ passkey_login_enabled?: boolean | undefined;
924
+ identifier_first?: boolean | undefined;
925
+ remember_last_method?: boolean | undefined;
926
+ } | undefined;
927
+ mfa_policy?: {
928
+ mode?: "required" | "optional" | "off" | undefined;
929
+ allowed_factors?: ("webauthn" | "totp")[] | undefined;
930
+ remember_device_days?: number | undefined;
931
+ } | undefined;
793
932
  account: string;
794
933
  metadata: {
795
934
  [key: string]: unknown;
@@ -830,6 +969,17 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
830
969
  software_version?: string | null | undefined;
831
970
  frontchannel_logout_uri?: string | null | undefined;
832
971
  frontchannel_logout_session_required?: boolean | undefined;
972
+ login_methods?: {
973
+ order?: string[] | undefined;
974
+ passkey_login_enabled?: boolean | undefined;
975
+ identifier_first?: boolean | undefined;
976
+ remember_last_method?: boolean | undefined;
977
+ } | undefined;
978
+ mfa_policy?: {
979
+ mode?: "required" | "optional" | "off" | undefined;
980
+ allowed_factors?: ("webauthn" | "totp")[] | undefined;
981
+ remember_device_days?: number | undefined;
982
+ } | undefined;
833
983
  account: string;
834
984
  metadata: {
835
985
  [key: string]: unknown;
@@ -873,6 +1023,17 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
873
1023
  software_version?: string | null | undefined;
874
1024
  frontchannel_logout_uri?: string | null | undefined;
875
1025
  frontchannel_logout_session_required?: boolean | undefined;
1026
+ login_methods?: {
1027
+ order?: string[] | undefined;
1028
+ passkey_login_enabled?: boolean | undefined;
1029
+ identifier_first?: boolean | undefined;
1030
+ remember_last_method?: boolean | undefined;
1031
+ } | undefined;
1032
+ mfa_policy?: {
1033
+ mode?: "required" | "optional" | "off" | undefined;
1034
+ allowed_factors?: ("webauthn" | "totp")[] | undefined;
1035
+ remember_device_days?: number | undefined;
1036
+ } | undefined;
876
1037
  account: string;
877
1038
  metadata: {
878
1039
  [key: string]: unknown;
@@ -915,6 +1076,17 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
915
1076
  software_version?: string | null | undefined;
916
1077
  frontchannel_logout_uri?: string | null | undefined;
917
1078
  frontchannel_logout_session_required?: boolean | undefined;
1079
+ login_methods?: {
1080
+ order?: string[] | undefined;
1081
+ passkey_login_enabled?: boolean | undefined;
1082
+ identifier_first?: boolean | undefined;
1083
+ remember_last_method?: boolean | undefined;
1084
+ } | undefined;
1085
+ mfa_policy?: {
1086
+ mode?: "required" | "optional" | "off" | undefined;
1087
+ allowed_factors?: ("webauthn" | "totp")[] | undefined;
1088
+ remember_device_days?: number | undefined;
1089
+ } | undefined;
918
1090
  account: string;
919
1091
  metadata: {
920
1092
  [key: string]: unknown;