@authhero/kysely-adapter 10.54.0 → 10.55.1
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/kysely-adapter.cjs +8 -8
- package/dist/kysely-adapter.d.ts +204 -207
- package/dist/kysely-adapter.mjs +2623 -2491
- package/package.json +5 -6
package/dist/kysely-adapter.d.ts
CHANGED
|
@@ -4119,9 +4119,12 @@ export type Form = z.infer<typeof formSchema>;
|
|
|
4119
4119
|
declare const hookInsertSchema: z.ZodUnion<[
|
|
4120
4120
|
z.ZodObject<{
|
|
4121
4121
|
trigger_id: z.ZodEnum<[
|
|
4122
|
-
"pre-user-
|
|
4122
|
+
"pre-user-registration",
|
|
4123
4123
|
"post-user-registration",
|
|
4124
|
-
"post-user-login"
|
|
4124
|
+
"post-user-login",
|
|
4125
|
+
"validate-registration-username",
|
|
4126
|
+
"pre-user-deletion",
|
|
4127
|
+
"post-user-deletion"
|
|
4125
4128
|
]>;
|
|
4126
4129
|
url: z.ZodString;
|
|
4127
4130
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -4131,13 +4134,13 @@ declare const hookInsertSchema: z.ZodUnion<[
|
|
|
4131
4134
|
}, "strip", z.ZodTypeAny, {
|
|
4132
4135
|
url: string;
|
|
4133
4136
|
enabled: boolean;
|
|
4134
|
-
trigger_id: "pre-user-
|
|
4137
|
+
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
4135
4138
|
synchronous: boolean;
|
|
4136
4139
|
priority?: number | undefined;
|
|
4137
4140
|
hook_id?: string | undefined;
|
|
4138
4141
|
}, {
|
|
4139
4142
|
url: string;
|
|
4140
|
-
trigger_id: "pre-user-
|
|
4143
|
+
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
4141
4144
|
enabled?: boolean | undefined;
|
|
4142
4145
|
synchronous?: boolean | undefined;
|
|
4143
4146
|
priority?: number | undefined;
|
|
@@ -4145,9 +4148,12 @@ declare const hookInsertSchema: z.ZodUnion<[
|
|
|
4145
4148
|
}>,
|
|
4146
4149
|
z.ZodObject<{
|
|
4147
4150
|
trigger_id: z.ZodEnum<[
|
|
4148
|
-
"pre-user-
|
|
4151
|
+
"pre-user-registration",
|
|
4149
4152
|
"post-user-registration",
|
|
4150
|
-
"post-user-login"
|
|
4153
|
+
"post-user-login",
|
|
4154
|
+
"validate-registration-username",
|
|
4155
|
+
"pre-user-deletion",
|
|
4156
|
+
"post-user-deletion"
|
|
4151
4157
|
]>;
|
|
4152
4158
|
form_id: z.ZodString;
|
|
4153
4159
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -4156,13 +4162,13 @@ declare const hookInsertSchema: z.ZodUnion<[
|
|
|
4156
4162
|
hook_id: z.ZodOptional<z.ZodString>;
|
|
4157
4163
|
}, "strip", z.ZodTypeAny, {
|
|
4158
4164
|
enabled: boolean;
|
|
4159
|
-
trigger_id: "pre-user-
|
|
4165
|
+
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
4160
4166
|
synchronous: boolean;
|
|
4161
4167
|
form_id: string;
|
|
4162
4168
|
priority?: number | undefined;
|
|
4163
4169
|
hook_id?: string | undefined;
|
|
4164
4170
|
}, {
|
|
4165
|
-
trigger_id: "pre-user-
|
|
4171
|
+
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
4166
4172
|
form_id: string;
|
|
4167
4173
|
enabled?: boolean | undefined;
|
|
4168
4174
|
synchronous?: boolean | undefined;
|
|
@@ -4178,9 +4184,12 @@ declare const hookSchema: z.ZodUnion<[
|
|
|
4178
4184
|
created_at: z.ZodString;
|
|
4179
4185
|
updated_at: z.ZodString;
|
|
4180
4186
|
trigger_id: z.ZodEnum<[
|
|
4181
|
-
"pre-user-
|
|
4187
|
+
"pre-user-registration",
|
|
4182
4188
|
"post-user-registration",
|
|
4183
|
-
"post-user-login"
|
|
4189
|
+
"post-user-login",
|
|
4190
|
+
"validate-registration-username",
|
|
4191
|
+
"pre-user-deletion",
|
|
4192
|
+
"post-user-deletion"
|
|
4184
4193
|
]>;
|
|
4185
4194
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4186
4195
|
synchronous: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -4190,7 +4199,7 @@ declare const hookSchema: z.ZodUnion<[
|
|
|
4190
4199
|
updated_at: string;
|
|
4191
4200
|
url: string;
|
|
4192
4201
|
enabled: boolean;
|
|
4193
|
-
trigger_id: "pre-user-
|
|
4202
|
+
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
4194
4203
|
synchronous: boolean;
|
|
4195
4204
|
hook_id: string;
|
|
4196
4205
|
priority?: number | undefined;
|
|
@@ -4198,7 +4207,7 @@ declare const hookSchema: z.ZodUnion<[
|
|
|
4198
4207
|
created_at: string;
|
|
4199
4208
|
updated_at: string;
|
|
4200
4209
|
url: string;
|
|
4201
|
-
trigger_id: "pre-user-
|
|
4210
|
+
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
4202
4211
|
hook_id: string;
|
|
4203
4212
|
enabled?: boolean | undefined;
|
|
4204
4213
|
synchronous?: boolean | undefined;
|
|
@@ -4210,9 +4219,12 @@ declare const hookSchema: z.ZodUnion<[
|
|
|
4210
4219
|
created_at: z.ZodString;
|
|
4211
4220
|
updated_at: z.ZodString;
|
|
4212
4221
|
trigger_id: z.ZodEnum<[
|
|
4213
|
-
"pre-user-
|
|
4222
|
+
"pre-user-registration",
|
|
4214
4223
|
"post-user-registration",
|
|
4215
|
-
"post-user-login"
|
|
4224
|
+
"post-user-login",
|
|
4225
|
+
"validate-registration-username",
|
|
4226
|
+
"pre-user-deletion",
|
|
4227
|
+
"post-user-deletion"
|
|
4216
4228
|
]>;
|
|
4217
4229
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4218
4230
|
synchronous: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -4221,7 +4233,7 @@ declare const hookSchema: z.ZodUnion<[
|
|
|
4221
4233
|
created_at: string;
|
|
4222
4234
|
updated_at: string;
|
|
4223
4235
|
enabled: boolean;
|
|
4224
|
-
trigger_id: "pre-user-
|
|
4236
|
+
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
4225
4237
|
synchronous: boolean;
|
|
4226
4238
|
hook_id: string;
|
|
4227
4239
|
form_id: string;
|
|
@@ -4229,7 +4241,7 @@ declare const hookSchema: z.ZodUnion<[
|
|
|
4229
4241
|
}, {
|
|
4230
4242
|
created_at: string;
|
|
4231
4243
|
updated_at: string;
|
|
4232
|
-
trigger_id: "pre-user-
|
|
4244
|
+
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
4233
4245
|
hook_id: string;
|
|
4234
4246
|
form_id: string;
|
|
4235
4247
|
enabled?: boolean | undefined;
|
|
@@ -4626,165 +4638,10 @@ declare const loginSessionSchema: z.ZodObject<{
|
|
|
4626
4638
|
login_completed?: boolean | undefined;
|
|
4627
4639
|
}>;
|
|
4628
4640
|
export type LoginSession = z.infer<typeof loginSessionSchema>;
|
|
4629
|
-
declare const
|
|
4630
|
-
readonly ACLS_SUMMARY: "acls_summary";
|
|
4631
|
-
readonly ACTIONS_EXECUTION_FAILED: "actions_execution_failed";
|
|
4632
|
-
readonly API_LIMIT: "api_limit";
|
|
4633
|
-
readonly API_LIMIT_WARNING: "api_limit_warning";
|
|
4634
|
-
readonly APPI: "appi";
|
|
4635
|
-
readonly CIBA_EXCHANGE_FAILED: "ciba_exchange_failed";
|
|
4636
|
-
readonly CIBA_EXCHANGE_SUCCEEDED: "ciba_exchange_succeeded";
|
|
4637
|
-
readonly CIBA_START_FAILED: "ciba_start_failed";
|
|
4638
|
-
readonly CIBA_START_SUCCEEDED: "ciba_start_succeeded";
|
|
4639
|
-
readonly CODE_LINK_SENT: "cls";
|
|
4640
|
-
readonly CODE_SENT: "cs";
|
|
4641
|
-
readonly DEPRECATION_NOTICE: "depnote";
|
|
4642
|
-
readonly FAILED_LOGIN: "f";
|
|
4643
|
-
readonly FAILED_BY_CONNECTOR: "fc";
|
|
4644
|
-
readonly FAILED_CHANGE_EMAIL: "fce";
|
|
4645
|
-
readonly FAILED_BY_CORS: "fco";
|
|
4646
|
-
readonly FAILED_CROSS_ORIGIN_AUTHENTICATION: "fcoa";
|
|
4647
|
-
readonly FAILED_CHANGE_PASSWORD: "fcp";
|
|
4648
|
-
readonly FAILED_POST_CHANGE_PASSWORD_HOOK: "fcph";
|
|
4649
|
-
readonly FAILED_CHANGE_PHONE_NUMBER: "fcpn";
|
|
4650
|
-
readonly FAILED_CHANGE_PASSWORD_REQUEST: "fcpr";
|
|
4651
|
-
readonly FAILED_CONNECTOR_PROVISIONING: "fcpro";
|
|
4652
|
-
readonly FAILED_CHANGE_USERNAME: "fcu";
|
|
4653
|
-
readonly FAILED_DELEGATION: "fd";
|
|
4654
|
-
readonly FAILED_DEVICE_ACTIVATION: "fdeac";
|
|
4655
|
-
readonly FAILED_DEVICE_AUTHORIZATION_REQUEST: "fdeaz";
|
|
4656
|
-
readonly USER_CANCELED_DEVICE_CONFIRMATION: "fdecc";
|
|
4657
|
-
readonly FAILED_USER_DELETION: "fdu";
|
|
4658
|
-
readonly FAILED_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN: "feacft";
|
|
4659
|
-
readonly FAILED_EXCHANGE_ACCESS_TOKEN_FOR_CLIENT_CREDENTIALS: "feccft";
|
|
4660
|
-
readonly FAILED_EXCHANGE_CUSTOM_TOKEN: "fecte";
|
|
4661
|
-
readonly FAILED_EXCHANGE_DEVICE_CODE_FOR_ACCESS_TOKEN: "fede";
|
|
4662
|
-
readonly FAILED_FEDERATED_LOGOUT: "federated_logout_failed";
|
|
4663
|
-
readonly FAILED_EXCHANGE_NATIVE_SOCIAL_LOGIN: "fens";
|
|
4664
|
-
readonly FAILED_EXCHANGE_PASSWORD_OOB_FOR_ACCESS_TOKEN: "feoobft";
|
|
4665
|
-
readonly FAILED_EXCHANGE_PASSWORD_OTP_FOR_ACCESS_TOKEN: "feotpft";
|
|
4666
|
-
readonly FAILED_EXCHANGE_PASSWORD_FOR_ACCESS_TOKEN: "fepft";
|
|
4667
|
-
readonly FAILED_EXCHANGE_PASSWORDLESS_OTP_FOR_ACCESS_TOKEN: "fepotpft";
|
|
4668
|
-
readonly FAILED_EXCHANGE_PASSWORD_MFA_RECOVERY_FOR_ACCESS_TOKEN: "fercft";
|
|
4669
|
-
readonly FAILED_EXCHANGE_ROTATING_REFRESH_TOKEN: "ferrt";
|
|
4670
|
-
readonly FAILED_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN: "fertft";
|
|
4671
|
-
readonly FAILED_HOOK: "fh";
|
|
4672
|
-
readonly FAILED_INVITE_ACCEPT: "fi";
|
|
4673
|
-
readonly FAILED_LOGOUT: "flo";
|
|
4674
|
-
readonly FLOWS_EXECUTION_COMPLETED: "flows_execution_completed";
|
|
4675
|
-
readonly FLOWS_EXECUTION_FAILED: "flows_execution_failed";
|
|
4676
|
-
readonly FAILED_SENDING_NOTIFICATION: "fn";
|
|
4677
|
-
readonly FORMS_SUBMISSION_FAILED: "forms_submission_failed";
|
|
4678
|
-
readonly FORMS_SUBMISSION_SUCCEEDED: "forms_submission_succeeded";
|
|
4679
|
-
readonly FAILED_LOGIN_INCORRECT_PASSWORD: "fp";
|
|
4680
|
-
readonly FAILED_PUSHED_AUTHORIZATION_REQUEST: "fpar";
|
|
4681
|
-
readonly FAILED_POST_USER_REGISTRATION_HOOK: "fpurh";
|
|
4682
|
-
readonly FAILED_SIGNUP: "fs";
|
|
4683
|
-
readonly FAILED_SILENT_AUTH: "fsa";
|
|
4684
|
-
readonly FAILED_LOGIN_INVALID_EMAIL_USERNAME: "fu";
|
|
4685
|
-
readonly FAILED_USERS_IMPORT: "fui";
|
|
4686
|
-
readonly FAILED_VERIFICATION_EMAIL: "fv";
|
|
4687
|
-
readonly FAILED_VERIFICATION_EMAIL_REQUEST: "fvr";
|
|
4688
|
-
readonly EMAIL_VERIFICATION_CONFIRMED: "gd_auth_email_verification";
|
|
4689
|
-
readonly EMAIL_VERIFICATION_FAILED: "gd_auth_fail_email_verification";
|
|
4690
|
-
readonly MFA_AUTH_FAILED: "gd_auth_failed";
|
|
4691
|
-
readonly MFA_AUTH_REJECTED: "gd_auth_rejected";
|
|
4692
|
-
readonly MFA_AUTH_SUCCESS: "gd_auth_succeed";
|
|
4693
|
-
readonly MFA_ENROLLMENT_COMPLETE: "gd_enrollment_complete";
|
|
4694
|
-
readonly TOO_MANY_MFA_FAILURES: "gd_otp_rate_limit_exceed";
|
|
4695
|
-
readonly MFA_RECOVERY_FAILED: "gd_recovery_failed";
|
|
4696
|
-
readonly MFA_RECOVERY_RATE_LIMIT_EXCEED: "gd_recovery_rate_limit_exceed";
|
|
4697
|
-
readonly MFA_RECOVERY_SUCCESS: "gd_recovery_succeed";
|
|
4698
|
-
readonly MFA_EMAIL_SENT: "gd_send_email";
|
|
4699
|
-
readonly EMAIL_VERIFICATION_SENT: "gd_send_email_verification";
|
|
4700
|
-
readonly EMAIL_VERIFICATION_SEND_FAILURE: "gd_send_email_verification_failure";
|
|
4701
|
-
readonly PUSH_NOTIFICATION_SENT: "gd_send_pn";
|
|
4702
|
-
readonly ERROR_SENDING_MFA_PUSH_NOTIFICATION: "gd_send_pn_failure";
|
|
4703
|
-
readonly MFA_SMS_SENT: "gd_send_sms";
|
|
4704
|
-
readonly ERROR_SENDING_MFA_SMS: "gd_send_sms_failure";
|
|
4705
|
-
readonly MFA_VOICE_CALL_SUCCESS: "gd_send_voice";
|
|
4706
|
-
readonly MFA_VOICE_CALL_FAILED: "gd_send_voice_failure";
|
|
4707
|
-
readonly SECOND_FACTOR_STARTED: "gd_start_auth";
|
|
4708
|
-
readonly MFA_ENROLL_STARTED: "gd_start_enroll";
|
|
4709
|
-
readonly MFA_ENROLLMENT_FAILED: "gd_start_enroll_failed";
|
|
4710
|
-
readonly GUARDIAN_TENANT_UPDATE: "gd_tenant_update";
|
|
4711
|
-
readonly UNENROLL_DEVICE_ACCOUNT: "gd_unenroll";
|
|
4712
|
-
readonly UPDATE_DEVICE_ACCOUNT: "gd_update_device_account";
|
|
4713
|
-
readonly WEBAUTHN_CHALLENGE_FAILED: "gd_webauthn_challenge_failed";
|
|
4714
|
-
readonly WEBAUTHN_ENROLLMENT_FAILED: "gd_webauthn_enrollment_failed";
|
|
4715
|
-
readonly FAILED_KMS_API_OPERATION: "kms_key_management_failure";
|
|
4716
|
-
readonly SUCCESS_KMS_API_OPERATION: "kms_key_management_success";
|
|
4717
|
-
readonly KMS_KEY_STATE_CHANGED: "kms_key_state_changed";
|
|
4718
|
-
readonly TOO_MANY_CALLS_TO_DELEGATION: "limit_delegation";
|
|
4719
|
-
readonly BLOCKED_IP_ADDRESS: "limit_mu";
|
|
4720
|
-
readonly BLOCKED_ACCOUNT_IP: "limit_sul";
|
|
4721
|
-
readonly BLOCKED_ACCOUNT_EMAIL: "limit_wc";
|
|
4722
|
-
readonly MFA_REQUIRED: "mfar";
|
|
4723
|
-
readonly MANAGEMENT_API_READ_OPERATION: "mgmt_api_read";
|
|
4724
|
-
readonly FAILED_AUTHENTICATION_METHOD_OPERATION_MY_ACCOUNT: "my_account_authentication_method_failed";
|
|
4725
|
-
readonly SUCCESSFUL_AUTHENTICATION_METHOD_OPERATION_MY_ACCOUNT: "my_account_authentication_method_succeeded";
|
|
4726
|
-
readonly FAILED_OIDC_BACKCHANNEL_LOGOUT: "oidc_backchannel_logout_failed";
|
|
4727
|
-
readonly SUCCESSFUL_OIDC_BACKCHANNEL_LOGOUT: "oidc_backchannel_logout_succeeded";
|
|
4728
|
-
readonly ORGANIZATION_MEMBER_ADDED: "organization_member_added";
|
|
4729
|
-
readonly PASSKEY_CHALLENGE_FAILED: "passkey_challenge_failed";
|
|
4730
|
-
readonly PASSKEY_CHALLENGE_STARTED: "passkey_challenge_started";
|
|
4731
|
-
readonly PRE_LOGIN_ASSESSMENT: "pla";
|
|
4732
|
-
readonly BREACHED_PASSWORD: "pwd_leak";
|
|
4733
|
-
readonly BREACHED_PASSWORD_ON_RESET: "reset_pwd_leak";
|
|
4734
|
-
readonly SUCCESS_RESOURCE_CLEANUP: "resource_cleanup";
|
|
4735
|
-
readonly RICH_CONSENTS_ACCESS_ERROR: "rich_consents_access_error";
|
|
4736
|
-
readonly SUCCESS_LOGIN: "s";
|
|
4737
|
-
readonly SUCCESS_API_OPERATION: "sapi";
|
|
4738
|
-
readonly SUCCESS_CHANGE_EMAIL: "sce";
|
|
4739
|
-
readonly SUCCESS_CROSS_ORIGIN_AUTHENTICATION: "scoa";
|
|
4740
|
-
readonly SUCCESS_CHANGE_PASSWORD: "scp";
|
|
4741
|
-
readonly SUCCESS_CHANGE_PHONE_NUMBER: "scpn";
|
|
4742
|
-
readonly SUCCESS_CHANGE_PASSWORD_REQUEST: "scpr";
|
|
4743
|
-
readonly SUCCESS_CHANGE_USERNAME: "scu";
|
|
4744
|
-
readonly SUCCESS_CREDENTIAL_VALIDATION: "scv";
|
|
4745
|
-
readonly SUCCESS_DELEGATION: "sd";
|
|
4746
|
-
readonly SUCCESS_USER_DELETION: "sdu";
|
|
4747
|
-
readonly SUCCESS_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN: "seacft";
|
|
4748
|
-
readonly SUCCESS_EXCHANGE_ACCESS_TOKEN_FOR_CLIENT_CREDENTIALS: "seccft";
|
|
4749
|
-
readonly SUCCESS_EXCHANGE_CUSTOM_TOKEN: "secte";
|
|
4750
|
-
readonly SUCCESS_EXCHANGE_DEVICE_CODE_FOR_ACCESS_TOKEN: "sede";
|
|
4751
|
-
readonly SUCCESS_EXCHANGE_NATIVE_SOCIAL_LOGIN: "sens";
|
|
4752
|
-
readonly SUCCESS_EXCHANGE_PASSWORD_OOB_FOR_ACCESS_TOKEN: "seoobft";
|
|
4753
|
-
readonly SUCCESS_EXCHANGE_PASSWORD_OTP_FOR_ACCESS_TOKEN: "seotpft";
|
|
4754
|
-
readonly SUCCESS_EXCHANGE_PASSWORD_FOR_ACCESS_TOKEN: "sepft";
|
|
4755
|
-
readonly SUCCESS_EXCHANGE_PASSKEY_OOB_FOR_ACCESS_TOKEN: "sepkoobft";
|
|
4756
|
-
readonly SUCCESS_EXCHANGE_PASSKEY_OTP_FOR_ACCESS_TOKEN: "sepkotpft";
|
|
4757
|
-
readonly SUCCESS_EXCHANGE_PASSKEY_MFA_RECOVERY_FOR_ACCESS_TOKEN: "sepkrcft";
|
|
4758
|
-
readonly SUCCESS_EXCHANGE_PASSWORD_MFA_RECOVERY_FOR_ACCESS_TOKEN: "sercft";
|
|
4759
|
-
readonly SUCCESS_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN: "sertft";
|
|
4760
|
-
readonly SUCCESSFULLY_ACCEPTED_USER_INVITE: "si";
|
|
4761
|
-
readonly BREACHED_PASSWORD_ON_SIGNUP: "signup_pwd_leak";
|
|
4762
|
-
readonly SUCCESS_LOGOUT: "slo";
|
|
4763
|
-
readonly SUCCESS_REVOCATION: "srrt";
|
|
4764
|
-
readonly SUCCESS_SIGNUP: "ss";
|
|
4765
|
-
readonly FAILED_SS_SSO_OPERATION: "ss_sso_failure";
|
|
4766
|
-
readonly INFORMATION_FROM_SS_SSO_OPERATION: "ss_sso_info";
|
|
4767
|
-
readonly SUCCESS_SS_SSO_OPERATION: "ss_sso_success";
|
|
4768
|
-
readonly SUCCESS_SILENT_AUTH: "ssa";
|
|
4769
|
-
readonly SUCCESSFUL_SCIM_OPERATION: "sscim";
|
|
4770
|
-
readonly SUCCESSFULLY_IMPORTED_USERS: "sui";
|
|
4771
|
-
readonly SUCCESS_VERIFICATION_EMAIL: "sv";
|
|
4772
|
-
readonly SUCCESS_VERIFICATION_EMAIL_REQUEST: "svr";
|
|
4773
|
-
readonly MAX_AMOUNT_OF_AUTHENTICATORS: "too_many_records";
|
|
4774
|
-
readonly USER_LOGIN_BLOCK_RELEASED: "ublkdu";
|
|
4775
|
-
readonly FAILED_UNIVERSAL_LOGOUT: "universal_logout_failed";
|
|
4776
|
-
readonly SUCCESSFUL_UNIVERSAL_LOGOUT: "universal_logout_succeeded";
|
|
4777
|
-
readonly WARNING_DURING_LOGIN: "w";
|
|
4778
|
-
readonly WARNING_SENDING_NOTIFICATION: "wn";
|
|
4779
|
-
readonly WARNING_USER_MANAGEMENT: "wum";
|
|
4780
|
-
};
|
|
4781
|
-
export type LogType = (typeof LogTypes)[keyof typeof LogTypes];
|
|
4782
|
-
declare const logSchema: z.ZodObject<{
|
|
4641
|
+
declare const logInsertSchema: z.ZodObject<{
|
|
4783
4642
|
type: z.ZodEffects<z.ZodString, "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string>;
|
|
4784
4643
|
date: z.ZodString;
|
|
4785
4644
|
description: z.ZodOptional<z.ZodString>;
|
|
4786
|
-
log_id: z.ZodOptional<z.ZodString>;
|
|
4787
|
-
_id: z.ZodOptional<z.ZodString>;
|
|
4788
4645
|
ip: z.ZodString;
|
|
4789
4646
|
user_agent: z.ZodString;
|
|
4790
4647
|
details: z.ZodOptional<z.ZodAny>;
|
|
@@ -4823,6 +4680,7 @@ declare const logSchema: z.ZodObject<{
|
|
|
4823
4680
|
node?: string | undefined;
|
|
4824
4681
|
} | undefined;
|
|
4825
4682
|
}>>;
|
|
4683
|
+
log_id: z.ZodOptional<z.ZodString>;
|
|
4826
4684
|
}, "strip", z.ZodTypeAny, {
|
|
4827
4685
|
type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
|
|
4828
4686
|
date: string;
|
|
@@ -4837,8 +4695,6 @@ declare const logSchema: z.ZodObject<{
|
|
|
4837
4695
|
scope?: string[] | undefined;
|
|
4838
4696
|
strategy?: string | undefined;
|
|
4839
4697
|
connection_id?: string | undefined;
|
|
4840
|
-
log_id?: string | undefined;
|
|
4841
|
-
_id?: string | undefined;
|
|
4842
4698
|
details?: any;
|
|
4843
4699
|
user_name?: string | undefined;
|
|
4844
4700
|
client_name?: string | undefined;
|
|
@@ -4851,6 +4707,7 @@ declare const logSchema: z.ZodObject<{
|
|
|
4851
4707
|
node?: string | undefined;
|
|
4852
4708
|
} | undefined;
|
|
4853
4709
|
} | undefined;
|
|
4710
|
+
log_id?: string | undefined;
|
|
4854
4711
|
}, {
|
|
4855
4712
|
type: string;
|
|
4856
4713
|
date: string;
|
|
@@ -4865,8 +4722,106 @@ declare const logSchema: z.ZodObject<{
|
|
|
4865
4722
|
scope?: string[] | undefined;
|
|
4866
4723
|
strategy?: string | undefined;
|
|
4867
4724
|
connection_id?: string | undefined;
|
|
4725
|
+
details?: any;
|
|
4726
|
+
user_name?: string | undefined;
|
|
4727
|
+
client_name?: string | undefined;
|
|
4728
|
+
strategy_type?: string | undefined;
|
|
4729
|
+
hostname?: string | undefined;
|
|
4730
|
+
auth0_client?: {
|
|
4731
|
+
name: string;
|
|
4732
|
+
version: string;
|
|
4733
|
+
env?: {
|
|
4734
|
+
node?: string | undefined;
|
|
4735
|
+
} | undefined;
|
|
4736
|
+
} | undefined;
|
|
4868
4737
|
log_id?: string | undefined;
|
|
4869
|
-
|
|
4738
|
+
}>;
|
|
4739
|
+
export type LogInsert = z.infer<typeof logInsertSchema>;
|
|
4740
|
+
declare const logSchema: z.ZodObject<{
|
|
4741
|
+
log_id: z.ZodString;
|
|
4742
|
+
type: z.ZodEffects<z.ZodString, "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string>;
|
|
4743
|
+
date: z.ZodString;
|
|
4744
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4745
|
+
ip: z.ZodString;
|
|
4746
|
+
user_agent: z.ZodString;
|
|
4747
|
+
details: z.ZodOptional<z.ZodAny>;
|
|
4748
|
+
isMobile: z.ZodBoolean;
|
|
4749
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
4750
|
+
user_name: z.ZodOptional<z.ZodString>;
|
|
4751
|
+
connection: z.ZodOptional<z.ZodString>;
|
|
4752
|
+
connection_id: z.ZodOptional<z.ZodString>;
|
|
4753
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
4754
|
+
client_name: z.ZodOptional<z.ZodString>;
|
|
4755
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
4756
|
+
scope: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4757
|
+
strategy: z.ZodOptional<z.ZodString>;
|
|
4758
|
+
strategy_type: z.ZodOptional<z.ZodString>;
|
|
4759
|
+
hostname: z.ZodOptional<z.ZodString>;
|
|
4760
|
+
auth0_client: z.ZodOptional<z.ZodObject<{
|
|
4761
|
+
name: z.ZodString;
|
|
4762
|
+
version: z.ZodString;
|
|
4763
|
+
env: z.ZodOptional<z.ZodObject<{
|
|
4764
|
+
node: z.ZodOptional<z.ZodString>;
|
|
4765
|
+
}, "strip", z.ZodTypeAny, {
|
|
4766
|
+
node?: string | undefined;
|
|
4767
|
+
}, {
|
|
4768
|
+
node?: string | undefined;
|
|
4769
|
+
}>>;
|
|
4770
|
+
}, "strip", z.ZodTypeAny, {
|
|
4771
|
+
name: string;
|
|
4772
|
+
version: string;
|
|
4773
|
+
env?: {
|
|
4774
|
+
node?: string | undefined;
|
|
4775
|
+
} | undefined;
|
|
4776
|
+
}, {
|
|
4777
|
+
name: string;
|
|
4778
|
+
version: string;
|
|
4779
|
+
env?: {
|
|
4780
|
+
node?: string | undefined;
|
|
4781
|
+
} | undefined;
|
|
4782
|
+
}>>;
|
|
4783
|
+
}, "strip", z.ZodTypeAny, {
|
|
4784
|
+
type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
|
|
4785
|
+
date: string;
|
|
4786
|
+
ip: string;
|
|
4787
|
+
user_agent: string;
|
|
4788
|
+
isMobile: boolean;
|
|
4789
|
+
log_id: string;
|
|
4790
|
+
description?: string | undefined;
|
|
4791
|
+
connection?: string | undefined;
|
|
4792
|
+
user_id?: string | undefined;
|
|
4793
|
+
client_id?: string | undefined;
|
|
4794
|
+
audience?: string | undefined;
|
|
4795
|
+
scope?: string[] | undefined;
|
|
4796
|
+
strategy?: string | undefined;
|
|
4797
|
+
connection_id?: string | undefined;
|
|
4798
|
+
details?: any;
|
|
4799
|
+
user_name?: string | undefined;
|
|
4800
|
+
client_name?: string | undefined;
|
|
4801
|
+
strategy_type?: string | undefined;
|
|
4802
|
+
hostname?: string | undefined;
|
|
4803
|
+
auth0_client?: {
|
|
4804
|
+
name: string;
|
|
4805
|
+
version: string;
|
|
4806
|
+
env?: {
|
|
4807
|
+
node?: string | undefined;
|
|
4808
|
+
} | undefined;
|
|
4809
|
+
} | undefined;
|
|
4810
|
+
}, {
|
|
4811
|
+
type: string;
|
|
4812
|
+
date: string;
|
|
4813
|
+
ip: string;
|
|
4814
|
+
user_agent: string;
|
|
4815
|
+
isMobile: boolean;
|
|
4816
|
+
log_id: string;
|
|
4817
|
+
description?: string | undefined;
|
|
4818
|
+
connection?: string | undefined;
|
|
4819
|
+
user_id?: string | undefined;
|
|
4820
|
+
client_id?: string | undefined;
|
|
4821
|
+
audience?: string | undefined;
|
|
4822
|
+
scope?: string[] | undefined;
|
|
4823
|
+
strategy?: string | undefined;
|
|
4824
|
+
connection_id?: string | undefined;
|
|
4870
4825
|
details?: any;
|
|
4871
4826
|
user_name?: string | undefined;
|
|
4872
4827
|
client_name?: string | undefined;
|
|
@@ -4881,10 +4836,6 @@ declare const logSchema: z.ZodObject<{
|
|
|
4881
4836
|
} | undefined;
|
|
4882
4837
|
}>;
|
|
4883
4838
|
export type Log = z.infer<typeof logSchema>;
|
|
4884
|
-
export type LogsResponse = Log & {
|
|
4885
|
-
log_id: string;
|
|
4886
|
-
_id: string;
|
|
4887
|
-
};
|
|
4888
4839
|
declare const passwordInsertSchema: z.ZodObject<{
|
|
4889
4840
|
user_id: z.ZodString;
|
|
4890
4841
|
password: z.ZodString;
|
|
@@ -7458,12 +7409,12 @@ export interface UserDataAdapter {
|
|
|
7458
7409
|
unlink(tenantId: string, id: string, provider: string, linked_user_id: string): Promise<boolean>;
|
|
7459
7410
|
}
|
|
7460
7411
|
export interface ListLogsResponse extends Totals {
|
|
7461
|
-
logs:
|
|
7412
|
+
logs: Log[];
|
|
7462
7413
|
}
|
|
7463
7414
|
export interface LogsDataAdapter {
|
|
7464
|
-
create(tenantId: string, params:
|
|
7415
|
+
create(tenantId: string, params: LogInsert): Promise<Log>;
|
|
7465
7416
|
list(tenantId: string, params?: ListParams): Promise<ListLogsResponse>;
|
|
7466
|
-
get(tenantId: string, logId: string): Promise<
|
|
7417
|
+
get(tenantId: string, logId: string): Promise<Log | null>;
|
|
7467
7418
|
}
|
|
7468
7419
|
export interface ListConnectionsResponse extends Totals {
|
|
7469
7420
|
connections: Connection[];
|
|
@@ -7658,30 +7609,6 @@ export interface DataAdapters {
|
|
|
7658
7609
|
organizations: OrganizationsAdapter;
|
|
7659
7610
|
userOrganizations: UserOrganizationsAdapter;
|
|
7660
7611
|
}
|
|
7661
|
-
export interface SqlLog {
|
|
7662
|
-
id: string;
|
|
7663
|
-
tenant_id: string;
|
|
7664
|
-
type: LogType;
|
|
7665
|
-
date: string;
|
|
7666
|
-
description?: string;
|
|
7667
|
-
ip: string;
|
|
7668
|
-
user_agent: string;
|
|
7669
|
-
details?: string;
|
|
7670
|
-
auth0_client?: string;
|
|
7671
|
-
isMobile?: number;
|
|
7672
|
-
user_id?: string;
|
|
7673
|
-
user_name?: string;
|
|
7674
|
-
connection?: string;
|
|
7675
|
-
connection_id?: string;
|
|
7676
|
-
client_id?: string;
|
|
7677
|
-
client_name?: string;
|
|
7678
|
-
audience?: string;
|
|
7679
|
-
scope?: string;
|
|
7680
|
-
strategy?: string;
|
|
7681
|
-
strategy_type?: string;
|
|
7682
|
-
hostname?: string;
|
|
7683
|
-
session_connection?: string;
|
|
7684
|
-
}
|
|
7685
7612
|
declare const sqlThemeSchema: z.ZodObject<{
|
|
7686
7613
|
[x: string]: any;
|
|
7687
7614
|
} & {
|
|
@@ -8269,6 +8196,76 @@ declare const sqlFormSchema: z.ZodObject<{
|
|
|
8269
8196
|
css?: string | undefined;
|
|
8270
8197
|
} | undefined;
|
|
8271
8198
|
}>;
|
|
8199
|
+
declare const sqlLogSchema: z.ZodObject<{
|
|
8200
|
+
id: z.ZodString;
|
|
8201
|
+
tenant_id: z.ZodString;
|
|
8202
|
+
type: z.ZodEffects<z.ZodString, "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string>;
|
|
8203
|
+
date: z.ZodString;
|
|
8204
|
+
description: z.ZodOptional<z.ZodString>;
|
|
8205
|
+
ip: z.ZodString;
|
|
8206
|
+
user_agent: z.ZodString;
|
|
8207
|
+
details: z.ZodOptional<z.ZodString>;
|
|
8208
|
+
auth0_client: z.ZodOptional<z.ZodString>;
|
|
8209
|
+
isMobile: z.ZodOptional<z.ZodNumber>;
|
|
8210
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
8211
|
+
user_name: z.ZodOptional<z.ZodString>;
|
|
8212
|
+
connection: z.ZodOptional<z.ZodString>;
|
|
8213
|
+
connection_id: z.ZodOptional<z.ZodString>;
|
|
8214
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
8215
|
+
client_name: z.ZodOptional<z.ZodString>;
|
|
8216
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
8217
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
8218
|
+
strategy: z.ZodOptional<z.ZodString>;
|
|
8219
|
+
strategy_type: z.ZodOptional<z.ZodString>;
|
|
8220
|
+
hostname: z.ZodOptional<z.ZodString>;
|
|
8221
|
+
session_connection: z.ZodOptional<z.ZodString>;
|
|
8222
|
+
}, "strip", z.ZodTypeAny, {
|
|
8223
|
+
type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
|
|
8224
|
+
date: string;
|
|
8225
|
+
tenant_id: string;
|
|
8226
|
+
id: string;
|
|
8227
|
+
ip: string;
|
|
8228
|
+
user_agent: string;
|
|
8229
|
+
description?: string | undefined;
|
|
8230
|
+
user_id?: string | undefined;
|
|
8231
|
+
connection?: string | undefined;
|
|
8232
|
+
client_id?: string | undefined;
|
|
8233
|
+
details?: string | undefined;
|
|
8234
|
+
auth0_client?: string | undefined;
|
|
8235
|
+
isMobile?: number | undefined;
|
|
8236
|
+
user_name?: string | undefined;
|
|
8237
|
+
connection_id?: string | undefined;
|
|
8238
|
+
client_name?: string | undefined;
|
|
8239
|
+
audience?: string | undefined;
|
|
8240
|
+
scope?: string | undefined;
|
|
8241
|
+
strategy?: string | undefined;
|
|
8242
|
+
strategy_type?: string | undefined;
|
|
8243
|
+
hostname?: string | undefined;
|
|
8244
|
+
session_connection?: string | undefined;
|
|
8245
|
+
}, {
|
|
8246
|
+
type: string;
|
|
8247
|
+
date: string;
|
|
8248
|
+
tenant_id: string;
|
|
8249
|
+
id: string;
|
|
8250
|
+
ip: string;
|
|
8251
|
+
user_agent: string;
|
|
8252
|
+
description?: string | undefined;
|
|
8253
|
+
user_id?: string | undefined;
|
|
8254
|
+
connection?: string | undefined;
|
|
8255
|
+
client_id?: string | undefined;
|
|
8256
|
+
details?: string | undefined;
|
|
8257
|
+
auth0_client?: string | undefined;
|
|
8258
|
+
isMobile?: number | undefined;
|
|
8259
|
+
user_name?: string | undefined;
|
|
8260
|
+
connection_id?: string | undefined;
|
|
8261
|
+
client_name?: string | undefined;
|
|
8262
|
+
audience?: string | undefined;
|
|
8263
|
+
scope?: string | undefined;
|
|
8264
|
+
strategy?: string | undefined;
|
|
8265
|
+
strategy_type?: string | undefined;
|
|
8266
|
+
hostname?: string | undefined;
|
|
8267
|
+
session_connection?: string | undefined;
|
|
8268
|
+
}>;
|
|
8272
8269
|
declare const sqlResourceServerSchema: z.ZodObject<Omit<{
|
|
8273
8270
|
tenant_id: z.ZodString;
|
|
8274
8271
|
scopes: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -8878,7 +8875,7 @@ export interface Database {
|
|
|
8878
8875
|
created_at: string;
|
|
8879
8876
|
};
|
|
8880
8877
|
login_sessions: z.infer<typeof sqlLoginSchema>;
|
|
8881
|
-
logs:
|
|
8878
|
+
logs: z.infer<typeof sqlLogSchema>;
|
|
8882
8879
|
passwords: Password & {
|
|
8883
8880
|
tenant_id: string;
|
|
8884
8881
|
};
|