@authhero/adapter-interfaces 0.133.0 → 0.134.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.
- package/dist/adapter-interfaces.cjs +1 -1
- package/dist/adapter-interfaces.d.ts +479 -2
- package/dist/adapter-interfaces.mjs +171 -113
- package/package.json +1 -1
|
@@ -34111,6 +34111,117 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
34111
34111
|
}>>;
|
|
34112
34112
|
pushed_authorization_requests_supported: z.ZodOptional<z.ZodBoolean>;
|
|
34113
34113
|
authorization_response_iss_parameter_supported: z.ZodOptional<z.ZodBoolean>;
|
|
34114
|
+
mfa: z.ZodOptional<z.ZodObject<{
|
|
34115
|
+
factors: z.ZodOptional<z.ZodObject<{
|
|
34116
|
+
sms: z.ZodDefault<z.ZodBoolean>;
|
|
34117
|
+
otp: z.ZodDefault<z.ZodBoolean>;
|
|
34118
|
+
email: z.ZodDefault<z.ZodBoolean>;
|
|
34119
|
+
push_notification: z.ZodDefault<z.ZodBoolean>;
|
|
34120
|
+
webauthn_roaming: z.ZodDefault<z.ZodBoolean>;
|
|
34121
|
+
webauthn_platform: z.ZodDefault<z.ZodBoolean>;
|
|
34122
|
+
recovery_code: z.ZodDefault<z.ZodBoolean>;
|
|
34123
|
+
duo: z.ZodDefault<z.ZodBoolean>;
|
|
34124
|
+
}, "strip", z.ZodTypeAny, {
|
|
34125
|
+
email: boolean;
|
|
34126
|
+
otp: boolean;
|
|
34127
|
+
sms: boolean;
|
|
34128
|
+
push_notification: boolean;
|
|
34129
|
+
webauthn_roaming: boolean;
|
|
34130
|
+
webauthn_platform: boolean;
|
|
34131
|
+
recovery_code: boolean;
|
|
34132
|
+
duo: boolean;
|
|
34133
|
+
}, {
|
|
34134
|
+
email?: boolean | undefined;
|
|
34135
|
+
otp?: boolean | undefined;
|
|
34136
|
+
sms?: boolean | undefined;
|
|
34137
|
+
push_notification?: boolean | undefined;
|
|
34138
|
+
webauthn_roaming?: boolean | undefined;
|
|
34139
|
+
webauthn_platform?: boolean | undefined;
|
|
34140
|
+
recovery_code?: boolean | undefined;
|
|
34141
|
+
duo?: boolean | undefined;
|
|
34142
|
+
}>>;
|
|
34143
|
+
sms_provider: z.ZodOptional<z.ZodObject<{
|
|
34144
|
+
provider: z.ZodOptional<z.ZodEnum<[
|
|
34145
|
+
"twilio",
|
|
34146
|
+
"vonage",
|
|
34147
|
+
"aws_sns",
|
|
34148
|
+
"phone_message_hook"
|
|
34149
|
+
]>>;
|
|
34150
|
+
}, "strip", z.ZodTypeAny, {
|
|
34151
|
+
provider?: "twilio" | "vonage" | "aws_sns" | "phone_message_hook" | undefined;
|
|
34152
|
+
}, {
|
|
34153
|
+
provider?: "twilio" | "vonage" | "aws_sns" | "phone_message_hook" | undefined;
|
|
34154
|
+
}>>;
|
|
34155
|
+
twilio: z.ZodOptional<z.ZodObject<{
|
|
34156
|
+
sid: z.ZodOptional<z.ZodString>;
|
|
34157
|
+
auth_token: z.ZodOptional<z.ZodString>;
|
|
34158
|
+
from: z.ZodOptional<z.ZodString>;
|
|
34159
|
+
messaging_service_sid: z.ZodOptional<z.ZodString>;
|
|
34160
|
+
}, "strip", z.ZodTypeAny, {
|
|
34161
|
+
from?: string | undefined;
|
|
34162
|
+
sid?: string | undefined;
|
|
34163
|
+
auth_token?: string | undefined;
|
|
34164
|
+
messaging_service_sid?: string | undefined;
|
|
34165
|
+
}, {
|
|
34166
|
+
from?: string | undefined;
|
|
34167
|
+
sid?: string | undefined;
|
|
34168
|
+
auth_token?: string | undefined;
|
|
34169
|
+
messaging_service_sid?: string | undefined;
|
|
34170
|
+
}>>;
|
|
34171
|
+
phone_message: z.ZodOptional<z.ZodObject<{
|
|
34172
|
+
message: z.ZodOptional<z.ZodString>;
|
|
34173
|
+
}, "strip", z.ZodTypeAny, {
|
|
34174
|
+
message?: string | undefined;
|
|
34175
|
+
}, {
|
|
34176
|
+
message?: string | undefined;
|
|
34177
|
+
}>>;
|
|
34178
|
+
}, "strip", z.ZodTypeAny, {
|
|
34179
|
+
factors?: {
|
|
34180
|
+
email: boolean;
|
|
34181
|
+
otp: boolean;
|
|
34182
|
+
sms: boolean;
|
|
34183
|
+
push_notification: boolean;
|
|
34184
|
+
webauthn_roaming: boolean;
|
|
34185
|
+
webauthn_platform: boolean;
|
|
34186
|
+
recovery_code: boolean;
|
|
34187
|
+
duo: boolean;
|
|
34188
|
+
} | undefined;
|
|
34189
|
+
twilio?: {
|
|
34190
|
+
from?: string | undefined;
|
|
34191
|
+
sid?: string | undefined;
|
|
34192
|
+
auth_token?: string | undefined;
|
|
34193
|
+
messaging_service_sid?: string | undefined;
|
|
34194
|
+
} | undefined;
|
|
34195
|
+
sms_provider?: {
|
|
34196
|
+
provider?: "twilio" | "vonage" | "aws_sns" | "phone_message_hook" | undefined;
|
|
34197
|
+
} | undefined;
|
|
34198
|
+
phone_message?: {
|
|
34199
|
+
message?: string | undefined;
|
|
34200
|
+
} | undefined;
|
|
34201
|
+
}, {
|
|
34202
|
+
factors?: {
|
|
34203
|
+
email?: boolean | undefined;
|
|
34204
|
+
otp?: boolean | undefined;
|
|
34205
|
+
sms?: boolean | undefined;
|
|
34206
|
+
push_notification?: boolean | undefined;
|
|
34207
|
+
webauthn_roaming?: boolean | undefined;
|
|
34208
|
+
webauthn_platform?: boolean | undefined;
|
|
34209
|
+
recovery_code?: boolean | undefined;
|
|
34210
|
+
duo?: boolean | undefined;
|
|
34211
|
+
} | undefined;
|
|
34212
|
+
twilio?: {
|
|
34213
|
+
from?: string | undefined;
|
|
34214
|
+
sid?: string | undefined;
|
|
34215
|
+
auth_token?: string | undefined;
|
|
34216
|
+
messaging_service_sid?: string | undefined;
|
|
34217
|
+
} | undefined;
|
|
34218
|
+
sms_provider?: {
|
|
34219
|
+
provider?: "twilio" | "vonage" | "aws_sns" | "phone_message_hook" | undefined;
|
|
34220
|
+
} | undefined;
|
|
34221
|
+
phone_message?: {
|
|
34222
|
+
message?: string | undefined;
|
|
34223
|
+
} | undefined;
|
|
34224
|
+
}>>;
|
|
34114
34225
|
}, "strip", z.ZodTypeAny, {
|
|
34115
34226
|
audience: string;
|
|
34116
34227
|
friendly_name: string;
|
|
@@ -34210,6 +34321,30 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
34210
34321
|
} | undefined;
|
|
34211
34322
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
34212
34323
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
34324
|
+
mfa?: {
|
|
34325
|
+
factors?: {
|
|
34326
|
+
email: boolean;
|
|
34327
|
+
otp: boolean;
|
|
34328
|
+
sms: boolean;
|
|
34329
|
+
push_notification: boolean;
|
|
34330
|
+
webauthn_roaming: boolean;
|
|
34331
|
+
webauthn_platform: boolean;
|
|
34332
|
+
recovery_code: boolean;
|
|
34333
|
+
duo: boolean;
|
|
34334
|
+
} | undefined;
|
|
34335
|
+
twilio?: {
|
|
34336
|
+
from?: string | undefined;
|
|
34337
|
+
sid?: string | undefined;
|
|
34338
|
+
auth_token?: string | undefined;
|
|
34339
|
+
messaging_service_sid?: string | undefined;
|
|
34340
|
+
} | undefined;
|
|
34341
|
+
sms_provider?: {
|
|
34342
|
+
provider?: "twilio" | "vonage" | "aws_sns" | "phone_message_hook" | undefined;
|
|
34343
|
+
} | undefined;
|
|
34344
|
+
phone_message?: {
|
|
34345
|
+
message?: string | undefined;
|
|
34346
|
+
} | undefined;
|
|
34347
|
+
} | undefined;
|
|
34213
34348
|
}, {
|
|
34214
34349
|
audience: string;
|
|
34215
34350
|
friendly_name: string;
|
|
@@ -34309,6 +34444,30 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
34309
34444
|
} | undefined;
|
|
34310
34445
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
34311
34446
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
34447
|
+
mfa?: {
|
|
34448
|
+
factors?: {
|
|
34449
|
+
email?: boolean | undefined;
|
|
34450
|
+
otp?: boolean | undefined;
|
|
34451
|
+
sms?: boolean | undefined;
|
|
34452
|
+
push_notification?: boolean | undefined;
|
|
34453
|
+
webauthn_roaming?: boolean | undefined;
|
|
34454
|
+
webauthn_platform?: boolean | undefined;
|
|
34455
|
+
recovery_code?: boolean | undefined;
|
|
34456
|
+
duo?: boolean | undefined;
|
|
34457
|
+
} | undefined;
|
|
34458
|
+
twilio?: {
|
|
34459
|
+
from?: string | undefined;
|
|
34460
|
+
sid?: string | undefined;
|
|
34461
|
+
auth_token?: string | undefined;
|
|
34462
|
+
messaging_service_sid?: string | undefined;
|
|
34463
|
+
} | undefined;
|
|
34464
|
+
sms_provider?: {
|
|
34465
|
+
provider?: "twilio" | "vonage" | "aws_sns" | "phone_message_hook" | undefined;
|
|
34466
|
+
} | undefined;
|
|
34467
|
+
phone_message?: {
|
|
34468
|
+
message?: string | undefined;
|
|
34469
|
+
} | undefined;
|
|
34470
|
+
} | undefined;
|
|
34312
34471
|
}>;
|
|
34313
34472
|
export declare const tenantSchema: z.ZodObject<{
|
|
34314
34473
|
id: z.ZodString;
|
|
@@ -34547,6 +34706,117 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
34547
34706
|
}>>;
|
|
34548
34707
|
pushed_authorization_requests_supported: z.ZodOptional<z.ZodBoolean>;
|
|
34549
34708
|
authorization_response_iss_parameter_supported: z.ZodOptional<z.ZodBoolean>;
|
|
34709
|
+
mfa: z.ZodOptional<z.ZodObject<{
|
|
34710
|
+
factors: z.ZodOptional<z.ZodObject<{
|
|
34711
|
+
sms: z.ZodDefault<z.ZodBoolean>;
|
|
34712
|
+
otp: z.ZodDefault<z.ZodBoolean>;
|
|
34713
|
+
email: z.ZodDefault<z.ZodBoolean>;
|
|
34714
|
+
push_notification: z.ZodDefault<z.ZodBoolean>;
|
|
34715
|
+
webauthn_roaming: z.ZodDefault<z.ZodBoolean>;
|
|
34716
|
+
webauthn_platform: z.ZodDefault<z.ZodBoolean>;
|
|
34717
|
+
recovery_code: z.ZodDefault<z.ZodBoolean>;
|
|
34718
|
+
duo: z.ZodDefault<z.ZodBoolean>;
|
|
34719
|
+
}, "strip", z.ZodTypeAny, {
|
|
34720
|
+
email: boolean;
|
|
34721
|
+
otp: boolean;
|
|
34722
|
+
sms: boolean;
|
|
34723
|
+
push_notification: boolean;
|
|
34724
|
+
webauthn_roaming: boolean;
|
|
34725
|
+
webauthn_platform: boolean;
|
|
34726
|
+
recovery_code: boolean;
|
|
34727
|
+
duo: boolean;
|
|
34728
|
+
}, {
|
|
34729
|
+
email?: boolean | undefined;
|
|
34730
|
+
otp?: boolean | undefined;
|
|
34731
|
+
sms?: boolean | undefined;
|
|
34732
|
+
push_notification?: boolean | undefined;
|
|
34733
|
+
webauthn_roaming?: boolean | undefined;
|
|
34734
|
+
webauthn_platform?: boolean | undefined;
|
|
34735
|
+
recovery_code?: boolean | undefined;
|
|
34736
|
+
duo?: boolean | undefined;
|
|
34737
|
+
}>>;
|
|
34738
|
+
sms_provider: z.ZodOptional<z.ZodObject<{
|
|
34739
|
+
provider: z.ZodOptional<z.ZodEnum<[
|
|
34740
|
+
"twilio",
|
|
34741
|
+
"vonage",
|
|
34742
|
+
"aws_sns",
|
|
34743
|
+
"phone_message_hook"
|
|
34744
|
+
]>>;
|
|
34745
|
+
}, "strip", z.ZodTypeAny, {
|
|
34746
|
+
provider?: "twilio" | "vonage" | "aws_sns" | "phone_message_hook" | undefined;
|
|
34747
|
+
}, {
|
|
34748
|
+
provider?: "twilio" | "vonage" | "aws_sns" | "phone_message_hook" | undefined;
|
|
34749
|
+
}>>;
|
|
34750
|
+
twilio: z.ZodOptional<z.ZodObject<{
|
|
34751
|
+
sid: z.ZodOptional<z.ZodString>;
|
|
34752
|
+
auth_token: z.ZodOptional<z.ZodString>;
|
|
34753
|
+
from: z.ZodOptional<z.ZodString>;
|
|
34754
|
+
messaging_service_sid: z.ZodOptional<z.ZodString>;
|
|
34755
|
+
}, "strip", z.ZodTypeAny, {
|
|
34756
|
+
from?: string | undefined;
|
|
34757
|
+
sid?: string | undefined;
|
|
34758
|
+
auth_token?: string | undefined;
|
|
34759
|
+
messaging_service_sid?: string | undefined;
|
|
34760
|
+
}, {
|
|
34761
|
+
from?: string | undefined;
|
|
34762
|
+
sid?: string | undefined;
|
|
34763
|
+
auth_token?: string | undefined;
|
|
34764
|
+
messaging_service_sid?: string | undefined;
|
|
34765
|
+
}>>;
|
|
34766
|
+
phone_message: z.ZodOptional<z.ZodObject<{
|
|
34767
|
+
message: z.ZodOptional<z.ZodString>;
|
|
34768
|
+
}, "strip", z.ZodTypeAny, {
|
|
34769
|
+
message?: string | undefined;
|
|
34770
|
+
}, {
|
|
34771
|
+
message?: string | undefined;
|
|
34772
|
+
}>>;
|
|
34773
|
+
}, "strip", z.ZodTypeAny, {
|
|
34774
|
+
factors?: {
|
|
34775
|
+
email: boolean;
|
|
34776
|
+
otp: boolean;
|
|
34777
|
+
sms: boolean;
|
|
34778
|
+
push_notification: boolean;
|
|
34779
|
+
webauthn_roaming: boolean;
|
|
34780
|
+
webauthn_platform: boolean;
|
|
34781
|
+
recovery_code: boolean;
|
|
34782
|
+
duo: boolean;
|
|
34783
|
+
} | undefined;
|
|
34784
|
+
twilio?: {
|
|
34785
|
+
from?: string | undefined;
|
|
34786
|
+
sid?: string | undefined;
|
|
34787
|
+
auth_token?: string | undefined;
|
|
34788
|
+
messaging_service_sid?: string | undefined;
|
|
34789
|
+
} | undefined;
|
|
34790
|
+
sms_provider?: {
|
|
34791
|
+
provider?: "twilio" | "vonage" | "aws_sns" | "phone_message_hook" | undefined;
|
|
34792
|
+
} | undefined;
|
|
34793
|
+
phone_message?: {
|
|
34794
|
+
message?: string | undefined;
|
|
34795
|
+
} | undefined;
|
|
34796
|
+
}, {
|
|
34797
|
+
factors?: {
|
|
34798
|
+
email?: boolean | undefined;
|
|
34799
|
+
otp?: boolean | undefined;
|
|
34800
|
+
sms?: boolean | undefined;
|
|
34801
|
+
push_notification?: boolean | undefined;
|
|
34802
|
+
webauthn_roaming?: boolean | undefined;
|
|
34803
|
+
webauthn_platform?: boolean | undefined;
|
|
34804
|
+
recovery_code?: boolean | undefined;
|
|
34805
|
+
duo?: boolean | undefined;
|
|
34806
|
+
} | undefined;
|
|
34807
|
+
twilio?: {
|
|
34808
|
+
from?: string | undefined;
|
|
34809
|
+
sid?: string | undefined;
|
|
34810
|
+
auth_token?: string | undefined;
|
|
34811
|
+
messaging_service_sid?: string | undefined;
|
|
34812
|
+
} | undefined;
|
|
34813
|
+
sms_provider?: {
|
|
34814
|
+
provider?: "twilio" | "vonage" | "aws_sns" | "phone_message_hook" | undefined;
|
|
34815
|
+
} | undefined;
|
|
34816
|
+
phone_message?: {
|
|
34817
|
+
message?: string | undefined;
|
|
34818
|
+
} | undefined;
|
|
34819
|
+
}>>;
|
|
34550
34820
|
created_at: z.ZodEffects<z.ZodNullable<z.ZodString>, string, string | null>;
|
|
34551
34821
|
updated_at: z.ZodEffects<z.ZodNullable<z.ZodString>, string, string | null>;
|
|
34552
34822
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -34650,6 +34920,30 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
34650
34920
|
} | undefined;
|
|
34651
34921
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
34652
34922
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
34923
|
+
mfa?: {
|
|
34924
|
+
factors?: {
|
|
34925
|
+
email: boolean;
|
|
34926
|
+
otp: boolean;
|
|
34927
|
+
sms: boolean;
|
|
34928
|
+
push_notification: boolean;
|
|
34929
|
+
webauthn_roaming: boolean;
|
|
34930
|
+
webauthn_platform: boolean;
|
|
34931
|
+
recovery_code: boolean;
|
|
34932
|
+
duo: boolean;
|
|
34933
|
+
} | undefined;
|
|
34934
|
+
twilio?: {
|
|
34935
|
+
from?: string | undefined;
|
|
34936
|
+
sid?: string | undefined;
|
|
34937
|
+
auth_token?: string | undefined;
|
|
34938
|
+
messaging_service_sid?: string | undefined;
|
|
34939
|
+
} | undefined;
|
|
34940
|
+
sms_provider?: {
|
|
34941
|
+
provider?: "twilio" | "vonage" | "aws_sns" | "phone_message_hook" | undefined;
|
|
34942
|
+
} | undefined;
|
|
34943
|
+
phone_message?: {
|
|
34944
|
+
message?: string | undefined;
|
|
34945
|
+
} | undefined;
|
|
34946
|
+
} | undefined;
|
|
34653
34947
|
}, {
|
|
34654
34948
|
created_at: string | null;
|
|
34655
34949
|
updated_at: string | null;
|
|
@@ -34751,6 +35045,30 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
34751
35045
|
} | undefined;
|
|
34752
35046
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
34753
35047
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
35048
|
+
mfa?: {
|
|
35049
|
+
factors?: {
|
|
35050
|
+
email?: boolean | undefined;
|
|
35051
|
+
otp?: boolean | undefined;
|
|
35052
|
+
sms?: boolean | undefined;
|
|
35053
|
+
push_notification?: boolean | undefined;
|
|
35054
|
+
webauthn_roaming?: boolean | undefined;
|
|
35055
|
+
webauthn_platform?: boolean | undefined;
|
|
35056
|
+
recovery_code?: boolean | undefined;
|
|
35057
|
+
duo?: boolean | undefined;
|
|
35058
|
+
} | undefined;
|
|
35059
|
+
twilio?: {
|
|
35060
|
+
from?: string | undefined;
|
|
35061
|
+
sid?: string | undefined;
|
|
35062
|
+
auth_token?: string | undefined;
|
|
35063
|
+
messaging_service_sid?: string | undefined;
|
|
35064
|
+
} | undefined;
|
|
35065
|
+
sms_provider?: {
|
|
35066
|
+
provider?: "twilio" | "vonage" | "aws_sns" | "phone_message_hook" | undefined;
|
|
35067
|
+
} | undefined;
|
|
35068
|
+
phone_message?: {
|
|
35069
|
+
message?: string | undefined;
|
|
35070
|
+
} | undefined;
|
|
35071
|
+
} | undefined;
|
|
34754
35072
|
}>;
|
|
34755
35073
|
export type Tenant = z.infer<typeof tenantSchema>;
|
|
34756
35074
|
export declare enum GrantType {
|
|
@@ -37476,6 +37794,117 @@ export declare const tenantSettingsSchema: z.ZodObject<{
|
|
|
37476
37794
|
}, {
|
|
37477
37795
|
oidc_logout_prompt_enabled?: boolean | undefined;
|
|
37478
37796
|
}>>;
|
|
37797
|
+
mfa: z.ZodOptional<z.ZodObject<{
|
|
37798
|
+
factors: z.ZodOptional<z.ZodObject<{
|
|
37799
|
+
sms: z.ZodDefault<z.ZodBoolean>;
|
|
37800
|
+
otp: z.ZodDefault<z.ZodBoolean>;
|
|
37801
|
+
email: z.ZodDefault<z.ZodBoolean>;
|
|
37802
|
+
push_notification: z.ZodDefault<z.ZodBoolean>;
|
|
37803
|
+
webauthn_roaming: z.ZodDefault<z.ZodBoolean>;
|
|
37804
|
+
webauthn_platform: z.ZodDefault<z.ZodBoolean>;
|
|
37805
|
+
recovery_code: z.ZodDefault<z.ZodBoolean>;
|
|
37806
|
+
duo: z.ZodDefault<z.ZodBoolean>;
|
|
37807
|
+
}, "strip", z.ZodTypeAny, {
|
|
37808
|
+
email: boolean;
|
|
37809
|
+
otp: boolean;
|
|
37810
|
+
sms: boolean;
|
|
37811
|
+
push_notification: boolean;
|
|
37812
|
+
webauthn_roaming: boolean;
|
|
37813
|
+
webauthn_platform: boolean;
|
|
37814
|
+
recovery_code: boolean;
|
|
37815
|
+
duo: boolean;
|
|
37816
|
+
}, {
|
|
37817
|
+
email?: boolean | undefined;
|
|
37818
|
+
otp?: boolean | undefined;
|
|
37819
|
+
sms?: boolean | undefined;
|
|
37820
|
+
push_notification?: boolean | undefined;
|
|
37821
|
+
webauthn_roaming?: boolean | undefined;
|
|
37822
|
+
webauthn_platform?: boolean | undefined;
|
|
37823
|
+
recovery_code?: boolean | undefined;
|
|
37824
|
+
duo?: boolean | undefined;
|
|
37825
|
+
}>>;
|
|
37826
|
+
sms_provider: z.ZodOptional<z.ZodObject<{
|
|
37827
|
+
provider: z.ZodOptional<z.ZodEnum<[
|
|
37828
|
+
"twilio",
|
|
37829
|
+
"vonage",
|
|
37830
|
+
"aws_sns",
|
|
37831
|
+
"phone_message_hook"
|
|
37832
|
+
]>>;
|
|
37833
|
+
}, "strip", z.ZodTypeAny, {
|
|
37834
|
+
provider?: "twilio" | "vonage" | "aws_sns" | "phone_message_hook" | undefined;
|
|
37835
|
+
}, {
|
|
37836
|
+
provider?: "twilio" | "vonage" | "aws_sns" | "phone_message_hook" | undefined;
|
|
37837
|
+
}>>;
|
|
37838
|
+
twilio: z.ZodOptional<z.ZodObject<{
|
|
37839
|
+
sid: z.ZodOptional<z.ZodString>;
|
|
37840
|
+
auth_token: z.ZodOptional<z.ZodString>;
|
|
37841
|
+
from: z.ZodOptional<z.ZodString>;
|
|
37842
|
+
messaging_service_sid: z.ZodOptional<z.ZodString>;
|
|
37843
|
+
}, "strip", z.ZodTypeAny, {
|
|
37844
|
+
from?: string | undefined;
|
|
37845
|
+
sid?: string | undefined;
|
|
37846
|
+
auth_token?: string | undefined;
|
|
37847
|
+
messaging_service_sid?: string | undefined;
|
|
37848
|
+
}, {
|
|
37849
|
+
from?: string | undefined;
|
|
37850
|
+
sid?: string | undefined;
|
|
37851
|
+
auth_token?: string | undefined;
|
|
37852
|
+
messaging_service_sid?: string | undefined;
|
|
37853
|
+
}>>;
|
|
37854
|
+
phone_message: z.ZodOptional<z.ZodObject<{
|
|
37855
|
+
message: z.ZodOptional<z.ZodString>;
|
|
37856
|
+
}, "strip", z.ZodTypeAny, {
|
|
37857
|
+
message?: string | undefined;
|
|
37858
|
+
}, {
|
|
37859
|
+
message?: string | undefined;
|
|
37860
|
+
}>>;
|
|
37861
|
+
}, "strip", z.ZodTypeAny, {
|
|
37862
|
+
factors?: {
|
|
37863
|
+
email: boolean;
|
|
37864
|
+
otp: boolean;
|
|
37865
|
+
sms: boolean;
|
|
37866
|
+
push_notification: boolean;
|
|
37867
|
+
webauthn_roaming: boolean;
|
|
37868
|
+
webauthn_platform: boolean;
|
|
37869
|
+
recovery_code: boolean;
|
|
37870
|
+
duo: boolean;
|
|
37871
|
+
} | undefined;
|
|
37872
|
+
twilio?: {
|
|
37873
|
+
from?: string | undefined;
|
|
37874
|
+
sid?: string | undefined;
|
|
37875
|
+
auth_token?: string | undefined;
|
|
37876
|
+
messaging_service_sid?: string | undefined;
|
|
37877
|
+
} | undefined;
|
|
37878
|
+
sms_provider?: {
|
|
37879
|
+
provider?: "twilio" | "vonage" | "aws_sns" | "phone_message_hook" | undefined;
|
|
37880
|
+
} | undefined;
|
|
37881
|
+
phone_message?: {
|
|
37882
|
+
message?: string | undefined;
|
|
37883
|
+
} | undefined;
|
|
37884
|
+
}, {
|
|
37885
|
+
factors?: {
|
|
37886
|
+
email?: boolean | undefined;
|
|
37887
|
+
otp?: boolean | undefined;
|
|
37888
|
+
sms?: boolean | undefined;
|
|
37889
|
+
push_notification?: boolean | undefined;
|
|
37890
|
+
webauthn_roaming?: boolean | undefined;
|
|
37891
|
+
webauthn_platform?: boolean | undefined;
|
|
37892
|
+
recovery_code?: boolean | undefined;
|
|
37893
|
+
duo?: boolean | undefined;
|
|
37894
|
+
} | undefined;
|
|
37895
|
+
twilio?: {
|
|
37896
|
+
from?: string | undefined;
|
|
37897
|
+
sid?: string | undefined;
|
|
37898
|
+
auth_token?: string | undefined;
|
|
37899
|
+
messaging_service_sid?: string | undefined;
|
|
37900
|
+
} | undefined;
|
|
37901
|
+
sms_provider?: {
|
|
37902
|
+
provider?: "twilio" | "vonage" | "aws_sns" | "phone_message_hook" | undefined;
|
|
37903
|
+
} | undefined;
|
|
37904
|
+
phone_message?: {
|
|
37905
|
+
message?: string | undefined;
|
|
37906
|
+
} | undefined;
|
|
37907
|
+
}>>;
|
|
37479
37908
|
}, "strip", z.ZodTypeAny, {
|
|
37480
37909
|
default_organization?: string | undefined;
|
|
37481
37910
|
friendly_name?: string | undefined;
|
|
@@ -37533,6 +37962,30 @@ export declare const tenantSettingsSchema: z.ZodObject<{
|
|
|
37533
37962
|
sessions?: {
|
|
37534
37963
|
oidc_logout_prompt_enabled?: boolean | undefined;
|
|
37535
37964
|
} | undefined;
|
|
37965
|
+
mfa?: {
|
|
37966
|
+
factors?: {
|
|
37967
|
+
email: boolean;
|
|
37968
|
+
otp: boolean;
|
|
37969
|
+
sms: boolean;
|
|
37970
|
+
push_notification: boolean;
|
|
37971
|
+
webauthn_roaming: boolean;
|
|
37972
|
+
webauthn_platform: boolean;
|
|
37973
|
+
recovery_code: boolean;
|
|
37974
|
+
duo: boolean;
|
|
37975
|
+
} | undefined;
|
|
37976
|
+
twilio?: {
|
|
37977
|
+
from?: string | undefined;
|
|
37978
|
+
sid?: string | undefined;
|
|
37979
|
+
auth_token?: string | undefined;
|
|
37980
|
+
messaging_service_sid?: string | undefined;
|
|
37981
|
+
} | undefined;
|
|
37982
|
+
sms_provider?: {
|
|
37983
|
+
provider?: "twilio" | "vonage" | "aws_sns" | "phone_message_hook" | undefined;
|
|
37984
|
+
} | undefined;
|
|
37985
|
+
phone_message?: {
|
|
37986
|
+
message?: string | undefined;
|
|
37987
|
+
} | undefined;
|
|
37988
|
+
} | undefined;
|
|
37536
37989
|
}, {
|
|
37537
37990
|
default_organization?: string | undefined;
|
|
37538
37991
|
friendly_name?: string | undefined;
|
|
@@ -37590,6 +38043,30 @@ export declare const tenantSettingsSchema: z.ZodObject<{
|
|
|
37590
38043
|
sessions?: {
|
|
37591
38044
|
oidc_logout_prompt_enabled?: boolean | undefined;
|
|
37592
38045
|
} | undefined;
|
|
38046
|
+
mfa?: {
|
|
38047
|
+
factors?: {
|
|
38048
|
+
email?: boolean | undefined;
|
|
38049
|
+
otp?: boolean | undefined;
|
|
38050
|
+
sms?: boolean | undefined;
|
|
38051
|
+
push_notification?: boolean | undefined;
|
|
38052
|
+
webauthn_roaming?: boolean | undefined;
|
|
38053
|
+
webauthn_platform?: boolean | undefined;
|
|
38054
|
+
recovery_code?: boolean | undefined;
|
|
38055
|
+
duo?: boolean | undefined;
|
|
38056
|
+
} | undefined;
|
|
38057
|
+
twilio?: {
|
|
38058
|
+
from?: string | undefined;
|
|
38059
|
+
sid?: string | undefined;
|
|
38060
|
+
auth_token?: string | undefined;
|
|
38061
|
+
messaging_service_sid?: string | undefined;
|
|
38062
|
+
} | undefined;
|
|
38063
|
+
sms_provider?: {
|
|
38064
|
+
provider?: "twilio" | "vonage" | "aws_sns" | "phone_message_hook" | undefined;
|
|
38065
|
+
} | undefined;
|
|
38066
|
+
phone_message?: {
|
|
38067
|
+
message?: string | undefined;
|
|
38068
|
+
} | undefined;
|
|
38069
|
+
} | undefined;
|
|
37593
38070
|
}>;
|
|
37594
38071
|
export type TenantSettings = z.infer<typeof tenantSettingsSchema>;
|
|
37595
38072
|
export declare const dailyStatsSchema: z.ZodObject<{
|
|
@@ -37694,11 +38171,11 @@ export declare const customTextEntrySchema: z.ZodObject<{
|
|
|
37694
38171
|
language: z.ZodString;
|
|
37695
38172
|
custom_text: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
37696
38173
|
}, "strip", z.ZodTypeAny, {
|
|
37697
|
-
prompt: "status" | "organizations" | "login" | "login-id" | "login-password" | "signup" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa
|
|
38174
|
+
prompt: "status" | "organizations" | "mfa" | "login" | "login-id" | "login-password" | "signup" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-sms" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form";
|
|
37698
38175
|
language: string;
|
|
37699
38176
|
custom_text: Record<string, string>;
|
|
37700
38177
|
}, {
|
|
37701
|
-
prompt: "status" | "organizations" | "login" | "login-id" | "login-password" | "signup" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa
|
|
38178
|
+
prompt: "status" | "organizations" | "mfa" | "login" | "login-id" | "login-password" | "signup" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-sms" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form";
|
|
37702
38179
|
language: string;
|
|
37703
38180
|
custom_text: Record<string, string>;
|
|
37704
38181
|
}>;
|