@authhero/adapter-interfaces 2.6.0 → 2.7.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 +10850 -11234
- package/dist/adapter-interfaces.mjs +2599 -3401
- package/dist/tsconfig.types.tsbuildinfo +1 -0
- package/dist/types/adapters/ActionExecutions.d.ts +5 -0
- package/dist/types/adapters/ActionVersions.d.ts +20 -0
- package/dist/types/adapters/Actions.d.ts +12 -0
- package/dist/types/adapters/Analytics.d.ts +9 -0
- package/dist/types/adapters/AuthenticationMethods.d.ts +9 -0
- package/dist/types/adapters/Branding.d.ts +5 -0
- package/dist/types/adapters/Cache.d.ts +35 -0
- package/dist/types/adapters/ClientConnections.d.ts +26 -0
- package/dist/types/adapters/ClientGrants.d.ts +12 -0
- package/dist/types/adapters/ClientRegistrationTokens.d.ts +11 -0
- package/dist/types/adapters/Clients.d.ts +25 -0
- package/dist/types/adapters/CodeExecutor.d.ts +47 -0
- package/dist/types/adapters/Codes.d.ts +17 -0
- package/dist/types/adapters/Connections.d.ts +12 -0
- package/dist/types/adapters/CustomDomains.d.ts +9 -0
- package/dist/types/adapters/CustomText.d.ts +22 -0
- package/dist/types/adapters/EmailProviders.d.ts +7 -0
- package/dist/types/adapters/EmailService.d.ts +23 -0
- package/dist/types/adapters/EmailTemplates.d.ts +8 -0
- package/dist/types/adapters/Flows.d.ts +12 -0
- package/dist/types/adapters/Forms.d.ts +12 -0
- package/dist/types/adapters/Geo.d.ts +16 -0
- package/dist/types/adapters/HookCode.d.ts +7 -0
- package/dist/types/adapters/Hooks.d.ts +12 -0
- package/dist/types/adapters/Invites.d.ts +12 -0
- package/dist/types/adapters/Keys.d.ts +10 -0
- package/dist/types/adapters/LogStreams.d.ts +8 -0
- package/dist/types/adapters/LoginSessions.d.ts +7 -0
- package/dist/types/adapters/Logs.d.ts +11 -0
- package/dist/types/adapters/MigrationSources.d.ts +8 -0
- package/dist/types/adapters/OrganizationConnections.d.ts +8 -0
- package/dist/types/adapters/Organizations.d.ts +12 -0
- package/dist/types/adapters/Outbox.d.ts +59 -0
- package/dist/types/adapters/Passwords.d.ts +7 -0
- package/dist/types/adapters/PromptSettings.d.ts +5 -0
- package/dist/types/adapters/RateLimit.d.ts +27 -0
- package/dist/types/adapters/RefreshTokens.d.ts +36 -0
- package/dist/types/adapters/ResourceServers.d.ts +12 -0
- package/dist/types/adapters/RolePermissions.d.ts +7 -0
- package/dist/types/adapters/Roles.d.ts +13 -0
- package/dist/types/adapters/Sessions.d.ts +12 -0
- package/dist/types/adapters/SmsService.d.ts +13 -0
- package/dist/types/adapters/Stats.d.ts +15 -0
- package/dist/types/adapters/TenantSettings.d.ts +5 -0
- package/dist/types/adapters/Tenants.d.ts +21 -0
- package/dist/types/adapters/Themes.d.ts +7 -0
- package/dist/types/adapters/UniversalLoginTemplates.d.ts +8 -0
- package/dist/types/adapters/UserOrganizations.d.ts +27 -0
- package/dist/types/adapters/UserPermissions.d.ts +7 -0
- package/dist/types/adapters/UserRoles.d.ts +13 -0
- package/dist/types/adapters/Users.d.ts +20 -0
- package/dist/types/adapters/index.d.ts +217 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/types/Action.d.ts +87 -0
- package/dist/types/types/ActionExecution.d.ts +128 -0
- package/dist/types/types/ActionVersion.d.ts +44 -0
- package/dist/types/types/Analytics.d.ts +91 -0
- package/dist/types/types/AttackProtection.d.ts +79 -0
- package/dist/types/types/AuditEvent.d.ts +208 -0
- package/dist/types/types/AuthParams.d.ts +67 -0
- package/dist/types/types/AuthenticationMethod.d.ts +59 -0
- package/dist/types/types/BaseEntity.d.ts +5 -0
- package/dist/types/types/Branding.d.ts +24 -0
- package/dist/types/types/Client.d.ts +249 -0
- package/dist/types/types/ClientGrant.d.ts +61 -0
- package/dist/types/types/ClientRegistrationToken.d.ts +37 -0
- package/dist/types/types/Code.d.ts +68 -0
- package/dist/types/types/Connection.d.ts +470 -0
- package/dist/types/types/CustomDomain.d.ts +116 -0
- package/dist/types/types/CustomText.d.ts +81 -0
- package/dist/types/types/Device.d.ts +9 -0
- package/dist/types/types/EmailProvider.d.ts +9 -0
- package/dist/types/types/EmailTemplate.d.ts +41 -0
- package/dist/types/types/Flow.d.ts +267 -0
- package/dist/types/types/Flows.d.ts +572 -0
- package/dist/types/types/Forms.d.ts +4943 -0
- package/dist/types/types/Hook.d.ts +152 -0
- package/dist/types/types/HookCode.d.ts +15 -0
- package/dist/types/types/Identity.d.ts +36 -0
- package/dist/types/types/Invite.d.ts +50 -0
- package/dist/types/types/JWKS.d.ts +89 -0
- package/dist/types/types/ListParams.d.ts +14 -0
- package/dist/types/types/LogStream.d.ts +67 -0
- package/dist/types/types/LoginSession.d.ts +143 -0
- package/dist/types/types/Logs.d.ts +255 -0
- package/dist/types/types/MigrationSource.d.ts +58 -0
- package/dist/types/types/Organization.d.ts +77 -0
- package/dist/types/types/OrganizationConnection.d.ts +34 -0
- package/dist/types/types/Password.d.ts +25 -0
- package/dist/types/types/PromptSetting.d.ts +11 -0
- package/dist/types/types/RefreshTokens.d.ts +59 -0
- package/dist/types/types/ResourceServer.d.ts +124 -0
- package/dist/types/types/Role.d.ts +29 -0
- package/dist/types/types/RolePermission.d.ts +21 -0
- package/dist/types/types/Session.d.ts +43 -0
- package/dist/types/types/SigningKey.d.ts +22 -0
- package/dist/types/types/SmsProvider.d.ts +11 -0
- package/dist/types/types/Stats.d.ts +12 -0
- package/dist/types/types/Strategy.d.ts +21 -0
- package/dist/types/types/Tenant.d.ts +367 -0
- package/dist/types/types/TenantSettings.d.ts +96 -0
- package/dist/types/types/Theme.d.ts +341 -0
- package/dist/types/types/Token.d.ts +25 -0
- package/dist/types/types/User.d.ts +222 -0
- package/dist/types/types/UserOrganization.d.ts +14 -0
- package/dist/types/types/UserPermission.d.ts +46 -0
- package/dist/types/types/UserRole.d.ts +23 -0
- package/dist/types/types/auth0/Query.d.ts +8 -0
- package/dist/types/types/auth0/Totals.d.ts +13 -0
- package/dist/types/types/auth0/UserResponse.d.ts +46 -0
- package/dist/types/types/auth0/index.d.ts +3 -0
- package/dist/types/types/index.d.ts +53 -0
- package/dist/types/utils/connection-attributes.d.ts +25 -0
- package/dist/types/utils/guards.d.ts +1 -0
- package/dist/types/utils/index.d.ts +4 -0
- package/dist/types/utils/passthrough.d.ts +111 -0
- package/dist/types/utils/user-id.d.ts +4 -0
- package/package.json +6 -8
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { z } from "@hono/zod-openapi";
|
|
2
|
+
export declare const tenantSettingsSchema: z.ZodObject<{
|
|
3
|
+
idle_session_lifetime: z.ZodDefault<z.ZodNumber>;
|
|
4
|
+
session_lifetime: z.ZodDefault<z.ZodNumber>;
|
|
5
|
+
session_cookie: z.ZodOptional<z.ZodObject<{
|
|
6
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
7
|
+
persistent: "persistent";
|
|
8
|
+
"non-persistent": "non-persistent";
|
|
9
|
+
}>>;
|
|
10
|
+
}, z.core.$strip>>;
|
|
11
|
+
enable_client_connections: z.ZodOptional<z.ZodBoolean>;
|
|
12
|
+
default_redirection_uri: z.ZodOptional<z.ZodString>;
|
|
13
|
+
enabled_locales: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14
|
+
default_directory: z.ZodOptional<z.ZodString>;
|
|
15
|
+
error_page: z.ZodOptional<z.ZodObject<{
|
|
16
|
+
html: z.ZodOptional<z.ZodString>;
|
|
17
|
+
show_log_link: z.ZodOptional<z.ZodBoolean>;
|
|
18
|
+
url: z.ZodOptional<z.ZodString>;
|
|
19
|
+
}, z.core.$strip>>;
|
|
20
|
+
flags: z.ZodOptional<z.ZodObject<{
|
|
21
|
+
allow_legacy_delegation_grant_types: z.ZodOptional<z.ZodBoolean>;
|
|
22
|
+
allow_legacy_ro_grant_types: z.ZodOptional<z.ZodBoolean>;
|
|
23
|
+
allow_legacy_tokeninfo_endpoint: z.ZodOptional<z.ZodBoolean>;
|
|
24
|
+
disable_clickjack_protection_headers: z.ZodOptional<z.ZodBoolean>;
|
|
25
|
+
enable_apis_section: z.ZodOptional<z.ZodBoolean>;
|
|
26
|
+
enable_client_connections: z.ZodOptional<z.ZodBoolean>;
|
|
27
|
+
enable_custom_domain_in_emails: z.ZodOptional<z.ZodBoolean>;
|
|
28
|
+
enable_dynamic_client_registration: z.ZodOptional<z.ZodBoolean>;
|
|
29
|
+
enable_idtoken_api2: z.ZodOptional<z.ZodBoolean>;
|
|
30
|
+
enable_legacy_logs_search_v2: z.ZodOptional<z.ZodBoolean>;
|
|
31
|
+
enable_legacy_profile: z.ZodOptional<z.ZodBoolean>;
|
|
32
|
+
enable_pipeline2: z.ZodOptional<z.ZodBoolean>;
|
|
33
|
+
enable_public_signup_user_exists_error: z.ZodOptional<z.ZodBoolean>;
|
|
34
|
+
use_scope_descriptions_for_consent: z.ZodOptional<z.ZodBoolean>;
|
|
35
|
+
disable_management_api_sms_obfuscation: z.ZodOptional<z.ZodBoolean>;
|
|
36
|
+
enable_adfs_waad_email_verification: z.ZodOptional<z.ZodBoolean>;
|
|
37
|
+
revoke_refresh_token_grant: z.ZodOptional<z.ZodBoolean>;
|
|
38
|
+
dashboard_log_streams_next: z.ZodOptional<z.ZodBoolean>;
|
|
39
|
+
dashboard_insights_view: z.ZodOptional<z.ZodBoolean>;
|
|
40
|
+
disable_fields_map_fix: z.ZodOptional<z.ZodBoolean>;
|
|
41
|
+
mfa_show_factor_list_on_enrollment: z.ZodOptional<z.ZodBoolean>;
|
|
42
|
+
}, z.core.$strip>>;
|
|
43
|
+
friendly_name: z.ZodOptional<z.ZodString>;
|
|
44
|
+
picture_url: z.ZodOptional<z.ZodString>;
|
|
45
|
+
support_email: z.ZodOptional<z.ZodString>;
|
|
46
|
+
support_url: z.ZodOptional<z.ZodString>;
|
|
47
|
+
sandbox_version: z.ZodOptional<z.ZodString>;
|
|
48
|
+
sandbox_versions_available: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
49
|
+
change_password: z.ZodOptional<z.ZodObject<{
|
|
50
|
+
enabled: z.ZodBoolean;
|
|
51
|
+
html: z.ZodString;
|
|
52
|
+
}, z.core.$strip>>;
|
|
53
|
+
guardian_mfa_page: z.ZodOptional<z.ZodObject<{
|
|
54
|
+
enabled: z.ZodBoolean;
|
|
55
|
+
html: z.ZodString;
|
|
56
|
+
}, z.core.$strip>>;
|
|
57
|
+
default_audience: z.ZodOptional<z.ZodString>;
|
|
58
|
+
default_organization: z.ZodOptional<z.ZodString>;
|
|
59
|
+
sessions: z.ZodOptional<z.ZodObject<{
|
|
60
|
+
oidc_logout_prompt_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
61
|
+
}, z.core.$strip>>;
|
|
62
|
+
mfa: z.ZodOptional<z.ZodObject<{
|
|
63
|
+
policy: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
64
|
+
never: "never";
|
|
65
|
+
always: "always";
|
|
66
|
+
}>>>;
|
|
67
|
+
factors: z.ZodOptional<z.ZodObject<{
|
|
68
|
+
sms: z.ZodDefault<z.ZodBoolean>;
|
|
69
|
+
otp: z.ZodDefault<z.ZodBoolean>;
|
|
70
|
+
email: z.ZodDefault<z.ZodBoolean>;
|
|
71
|
+
push_notification: z.ZodDefault<z.ZodBoolean>;
|
|
72
|
+
webauthn_roaming: z.ZodDefault<z.ZodBoolean>;
|
|
73
|
+
webauthn_platform: z.ZodDefault<z.ZodBoolean>;
|
|
74
|
+
recovery_code: z.ZodDefault<z.ZodBoolean>;
|
|
75
|
+
duo: z.ZodDefault<z.ZodBoolean>;
|
|
76
|
+
}, z.core.$strip>>;
|
|
77
|
+
sms_provider: z.ZodOptional<z.ZodObject<{
|
|
78
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
79
|
+
twilio: "twilio";
|
|
80
|
+
vonage: "vonage";
|
|
81
|
+
aws_sns: "aws_sns";
|
|
82
|
+
phone_message_hook: "phone_message_hook";
|
|
83
|
+
}>>;
|
|
84
|
+
}, z.core.$strip>>;
|
|
85
|
+
twilio: z.ZodOptional<z.ZodObject<{
|
|
86
|
+
sid: z.ZodOptional<z.ZodString>;
|
|
87
|
+
auth_token: z.ZodOptional<z.ZodString>;
|
|
88
|
+
from: z.ZodOptional<z.ZodString>;
|
|
89
|
+
messaging_service_sid: z.ZodOptional<z.ZodString>;
|
|
90
|
+
}, z.core.$strip>>;
|
|
91
|
+
phone_message: z.ZodOptional<z.ZodObject<{
|
|
92
|
+
message: z.ZodOptional<z.ZodString>;
|
|
93
|
+
}, z.core.$strip>>;
|
|
94
|
+
}, z.core.$strip>>;
|
|
95
|
+
}, z.core.$strip>;
|
|
96
|
+
export type TenantSettings = z.infer<typeof tenantSettingsSchema>;
|
|
@@ -0,0 +1,341 @@
|
|
|
1
|
+
import { z } from "@hono/zod-openapi";
|
|
2
|
+
export declare const bordersSchema: z.ZodObject<{
|
|
3
|
+
button_border_radius: z.ZodNumber;
|
|
4
|
+
button_border_weight: z.ZodNumber;
|
|
5
|
+
buttons_style: z.ZodEnum<{
|
|
6
|
+
pill: "pill";
|
|
7
|
+
rounded: "rounded";
|
|
8
|
+
sharp: "sharp";
|
|
9
|
+
}>;
|
|
10
|
+
input_border_radius: z.ZodNumber;
|
|
11
|
+
input_border_weight: z.ZodNumber;
|
|
12
|
+
inputs_style: z.ZodEnum<{
|
|
13
|
+
pill: "pill";
|
|
14
|
+
rounded: "rounded";
|
|
15
|
+
sharp: "sharp";
|
|
16
|
+
}>;
|
|
17
|
+
show_widget_shadow: z.ZodBoolean;
|
|
18
|
+
widget_border_weight: z.ZodNumber;
|
|
19
|
+
widget_corner_radius: z.ZodNumber;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
export declare const colorsSchema: z.ZodObject<{
|
|
22
|
+
base_focus_color: z.ZodString;
|
|
23
|
+
base_hover_color: z.ZodString;
|
|
24
|
+
body_text: z.ZodString;
|
|
25
|
+
captcha_widget_theme: z.ZodEnum<{
|
|
26
|
+
dark: "dark";
|
|
27
|
+
light: "light";
|
|
28
|
+
auto: "auto";
|
|
29
|
+
}>;
|
|
30
|
+
error: z.ZodString;
|
|
31
|
+
header: z.ZodString;
|
|
32
|
+
icons: z.ZodString;
|
|
33
|
+
input_background: z.ZodString;
|
|
34
|
+
input_border: z.ZodString;
|
|
35
|
+
input_filled_text: z.ZodString;
|
|
36
|
+
input_labels_placeholders: z.ZodString;
|
|
37
|
+
links_focused_components: z.ZodString;
|
|
38
|
+
primary_button: z.ZodString;
|
|
39
|
+
primary_button_label: z.ZodString;
|
|
40
|
+
secondary_button_border: z.ZodString;
|
|
41
|
+
secondary_button_label: z.ZodString;
|
|
42
|
+
success: z.ZodString;
|
|
43
|
+
widget_background: z.ZodString;
|
|
44
|
+
widget_border: z.ZodString;
|
|
45
|
+
}, z.core.$strip>;
|
|
46
|
+
export declare const fontDetailsSchema: z.ZodObject<{
|
|
47
|
+
bold: z.ZodBoolean;
|
|
48
|
+
size: z.ZodNumber;
|
|
49
|
+
}, z.core.$strip>;
|
|
50
|
+
export declare const fontsSchema: z.ZodObject<{
|
|
51
|
+
body_text: z.ZodObject<{
|
|
52
|
+
bold: z.ZodBoolean;
|
|
53
|
+
size: z.ZodNumber;
|
|
54
|
+
}, z.core.$strip>;
|
|
55
|
+
buttons_text: z.ZodObject<{
|
|
56
|
+
bold: z.ZodBoolean;
|
|
57
|
+
size: z.ZodNumber;
|
|
58
|
+
}, z.core.$strip>;
|
|
59
|
+
font_url: z.ZodString;
|
|
60
|
+
input_labels: z.ZodObject<{
|
|
61
|
+
bold: z.ZodBoolean;
|
|
62
|
+
size: z.ZodNumber;
|
|
63
|
+
}, z.core.$strip>;
|
|
64
|
+
links: z.ZodObject<{
|
|
65
|
+
bold: z.ZodBoolean;
|
|
66
|
+
size: z.ZodNumber;
|
|
67
|
+
}, z.core.$strip>;
|
|
68
|
+
links_style: z.ZodEnum<{
|
|
69
|
+
normal: "normal";
|
|
70
|
+
underlined: "underlined";
|
|
71
|
+
}>;
|
|
72
|
+
reference_text_size: z.ZodNumber;
|
|
73
|
+
subtitle: z.ZodObject<{
|
|
74
|
+
bold: z.ZodBoolean;
|
|
75
|
+
size: z.ZodNumber;
|
|
76
|
+
}, z.core.$strip>;
|
|
77
|
+
title: z.ZodObject<{
|
|
78
|
+
bold: z.ZodBoolean;
|
|
79
|
+
size: z.ZodNumber;
|
|
80
|
+
}, z.core.$strip>;
|
|
81
|
+
}, z.core.$strip>;
|
|
82
|
+
export declare const pageBackgroundSchema: z.ZodObject<{
|
|
83
|
+
background_color: z.ZodString;
|
|
84
|
+
background_image_url: z.ZodString;
|
|
85
|
+
page_layout: z.ZodEnum<{
|
|
86
|
+
center: "center";
|
|
87
|
+
left: "left";
|
|
88
|
+
right: "right";
|
|
89
|
+
}>;
|
|
90
|
+
logo_placement: z.ZodOptional<z.ZodEnum<{
|
|
91
|
+
none: "none";
|
|
92
|
+
widget: "widget";
|
|
93
|
+
chip: "chip";
|
|
94
|
+
}>>;
|
|
95
|
+
}, z.core.$strip>;
|
|
96
|
+
export declare const widgetSchema: z.ZodObject<{
|
|
97
|
+
header_text_alignment: z.ZodEnum<{
|
|
98
|
+
center: "center";
|
|
99
|
+
left: "left";
|
|
100
|
+
right: "right";
|
|
101
|
+
}>;
|
|
102
|
+
logo_height: z.ZodNumber;
|
|
103
|
+
logo_position: z.ZodEnum<{
|
|
104
|
+
none: "none";
|
|
105
|
+
center: "center";
|
|
106
|
+
left: "left";
|
|
107
|
+
right: "right";
|
|
108
|
+
}>;
|
|
109
|
+
logo_url: z.ZodString;
|
|
110
|
+
social_buttons_layout: z.ZodEnum<{
|
|
111
|
+
bottom: "bottom";
|
|
112
|
+
top: "top";
|
|
113
|
+
}>;
|
|
114
|
+
}, z.core.$strip>;
|
|
115
|
+
export declare const themeInsertSchema: z.ZodObject<{
|
|
116
|
+
borders: z.ZodObject<{
|
|
117
|
+
button_border_radius: z.ZodNumber;
|
|
118
|
+
button_border_weight: z.ZodNumber;
|
|
119
|
+
buttons_style: z.ZodEnum<{
|
|
120
|
+
pill: "pill";
|
|
121
|
+
rounded: "rounded";
|
|
122
|
+
sharp: "sharp";
|
|
123
|
+
}>;
|
|
124
|
+
input_border_radius: z.ZodNumber;
|
|
125
|
+
input_border_weight: z.ZodNumber;
|
|
126
|
+
inputs_style: z.ZodEnum<{
|
|
127
|
+
pill: "pill";
|
|
128
|
+
rounded: "rounded";
|
|
129
|
+
sharp: "sharp";
|
|
130
|
+
}>;
|
|
131
|
+
show_widget_shadow: z.ZodBoolean;
|
|
132
|
+
widget_border_weight: z.ZodNumber;
|
|
133
|
+
widget_corner_radius: z.ZodNumber;
|
|
134
|
+
}, z.core.$strip>;
|
|
135
|
+
colors: z.ZodObject<{
|
|
136
|
+
base_focus_color: z.ZodString;
|
|
137
|
+
base_hover_color: z.ZodString;
|
|
138
|
+
body_text: z.ZodString;
|
|
139
|
+
captcha_widget_theme: z.ZodEnum<{
|
|
140
|
+
dark: "dark";
|
|
141
|
+
light: "light";
|
|
142
|
+
auto: "auto";
|
|
143
|
+
}>;
|
|
144
|
+
error: z.ZodString;
|
|
145
|
+
header: z.ZodString;
|
|
146
|
+
icons: z.ZodString;
|
|
147
|
+
input_background: z.ZodString;
|
|
148
|
+
input_border: z.ZodString;
|
|
149
|
+
input_filled_text: z.ZodString;
|
|
150
|
+
input_labels_placeholders: z.ZodString;
|
|
151
|
+
links_focused_components: z.ZodString;
|
|
152
|
+
primary_button: z.ZodString;
|
|
153
|
+
primary_button_label: z.ZodString;
|
|
154
|
+
secondary_button_border: z.ZodString;
|
|
155
|
+
secondary_button_label: z.ZodString;
|
|
156
|
+
success: z.ZodString;
|
|
157
|
+
widget_background: z.ZodString;
|
|
158
|
+
widget_border: z.ZodString;
|
|
159
|
+
}, z.core.$strip>;
|
|
160
|
+
displayName: z.ZodString;
|
|
161
|
+
fonts: z.ZodObject<{
|
|
162
|
+
body_text: z.ZodObject<{
|
|
163
|
+
bold: z.ZodBoolean;
|
|
164
|
+
size: z.ZodNumber;
|
|
165
|
+
}, z.core.$strip>;
|
|
166
|
+
buttons_text: z.ZodObject<{
|
|
167
|
+
bold: z.ZodBoolean;
|
|
168
|
+
size: z.ZodNumber;
|
|
169
|
+
}, z.core.$strip>;
|
|
170
|
+
font_url: z.ZodString;
|
|
171
|
+
input_labels: z.ZodObject<{
|
|
172
|
+
bold: z.ZodBoolean;
|
|
173
|
+
size: z.ZodNumber;
|
|
174
|
+
}, z.core.$strip>;
|
|
175
|
+
links: z.ZodObject<{
|
|
176
|
+
bold: z.ZodBoolean;
|
|
177
|
+
size: z.ZodNumber;
|
|
178
|
+
}, z.core.$strip>;
|
|
179
|
+
links_style: z.ZodEnum<{
|
|
180
|
+
normal: "normal";
|
|
181
|
+
underlined: "underlined";
|
|
182
|
+
}>;
|
|
183
|
+
reference_text_size: z.ZodNumber;
|
|
184
|
+
subtitle: z.ZodObject<{
|
|
185
|
+
bold: z.ZodBoolean;
|
|
186
|
+
size: z.ZodNumber;
|
|
187
|
+
}, z.core.$strip>;
|
|
188
|
+
title: z.ZodObject<{
|
|
189
|
+
bold: z.ZodBoolean;
|
|
190
|
+
size: z.ZodNumber;
|
|
191
|
+
}, z.core.$strip>;
|
|
192
|
+
}, z.core.$strip>;
|
|
193
|
+
page_background: z.ZodObject<{
|
|
194
|
+
background_color: z.ZodString;
|
|
195
|
+
background_image_url: z.ZodString;
|
|
196
|
+
page_layout: z.ZodEnum<{
|
|
197
|
+
center: "center";
|
|
198
|
+
left: "left";
|
|
199
|
+
right: "right";
|
|
200
|
+
}>;
|
|
201
|
+
logo_placement: z.ZodOptional<z.ZodEnum<{
|
|
202
|
+
none: "none";
|
|
203
|
+
widget: "widget";
|
|
204
|
+
chip: "chip";
|
|
205
|
+
}>>;
|
|
206
|
+
}, z.core.$strip>;
|
|
207
|
+
widget: z.ZodObject<{
|
|
208
|
+
header_text_alignment: z.ZodEnum<{
|
|
209
|
+
center: "center";
|
|
210
|
+
left: "left";
|
|
211
|
+
right: "right";
|
|
212
|
+
}>;
|
|
213
|
+
logo_height: z.ZodNumber;
|
|
214
|
+
logo_position: z.ZodEnum<{
|
|
215
|
+
none: "none";
|
|
216
|
+
center: "center";
|
|
217
|
+
left: "left";
|
|
218
|
+
right: "right";
|
|
219
|
+
}>;
|
|
220
|
+
logo_url: z.ZodString;
|
|
221
|
+
social_buttons_layout: z.ZodEnum<{
|
|
222
|
+
bottom: "bottom";
|
|
223
|
+
top: "top";
|
|
224
|
+
}>;
|
|
225
|
+
}, z.core.$strip>;
|
|
226
|
+
}, z.core.$strip>;
|
|
227
|
+
export type ThemeInsert = z.input<typeof themeInsertSchema>;
|
|
228
|
+
export declare const themeSchema: z.ZodObject<{
|
|
229
|
+
borders: z.ZodObject<{
|
|
230
|
+
button_border_radius: z.ZodNumber;
|
|
231
|
+
button_border_weight: z.ZodNumber;
|
|
232
|
+
buttons_style: z.ZodEnum<{
|
|
233
|
+
pill: "pill";
|
|
234
|
+
rounded: "rounded";
|
|
235
|
+
sharp: "sharp";
|
|
236
|
+
}>;
|
|
237
|
+
input_border_radius: z.ZodNumber;
|
|
238
|
+
input_border_weight: z.ZodNumber;
|
|
239
|
+
inputs_style: z.ZodEnum<{
|
|
240
|
+
pill: "pill";
|
|
241
|
+
rounded: "rounded";
|
|
242
|
+
sharp: "sharp";
|
|
243
|
+
}>;
|
|
244
|
+
show_widget_shadow: z.ZodBoolean;
|
|
245
|
+
widget_border_weight: z.ZodNumber;
|
|
246
|
+
widget_corner_radius: z.ZodNumber;
|
|
247
|
+
}, z.core.$strip>;
|
|
248
|
+
colors: z.ZodObject<{
|
|
249
|
+
base_focus_color: z.ZodString;
|
|
250
|
+
base_hover_color: z.ZodString;
|
|
251
|
+
body_text: z.ZodString;
|
|
252
|
+
captcha_widget_theme: z.ZodEnum<{
|
|
253
|
+
dark: "dark";
|
|
254
|
+
light: "light";
|
|
255
|
+
auto: "auto";
|
|
256
|
+
}>;
|
|
257
|
+
error: z.ZodString;
|
|
258
|
+
header: z.ZodString;
|
|
259
|
+
icons: z.ZodString;
|
|
260
|
+
input_background: z.ZodString;
|
|
261
|
+
input_border: z.ZodString;
|
|
262
|
+
input_filled_text: z.ZodString;
|
|
263
|
+
input_labels_placeholders: z.ZodString;
|
|
264
|
+
links_focused_components: z.ZodString;
|
|
265
|
+
primary_button: z.ZodString;
|
|
266
|
+
primary_button_label: z.ZodString;
|
|
267
|
+
secondary_button_border: z.ZodString;
|
|
268
|
+
secondary_button_label: z.ZodString;
|
|
269
|
+
success: z.ZodString;
|
|
270
|
+
widget_background: z.ZodString;
|
|
271
|
+
widget_border: z.ZodString;
|
|
272
|
+
}, z.core.$strip>;
|
|
273
|
+
displayName: z.ZodString;
|
|
274
|
+
fonts: z.ZodObject<{
|
|
275
|
+
body_text: z.ZodObject<{
|
|
276
|
+
bold: z.ZodBoolean;
|
|
277
|
+
size: z.ZodNumber;
|
|
278
|
+
}, z.core.$strip>;
|
|
279
|
+
buttons_text: z.ZodObject<{
|
|
280
|
+
bold: z.ZodBoolean;
|
|
281
|
+
size: z.ZodNumber;
|
|
282
|
+
}, z.core.$strip>;
|
|
283
|
+
font_url: z.ZodString;
|
|
284
|
+
input_labels: z.ZodObject<{
|
|
285
|
+
bold: z.ZodBoolean;
|
|
286
|
+
size: z.ZodNumber;
|
|
287
|
+
}, z.core.$strip>;
|
|
288
|
+
links: z.ZodObject<{
|
|
289
|
+
bold: z.ZodBoolean;
|
|
290
|
+
size: z.ZodNumber;
|
|
291
|
+
}, z.core.$strip>;
|
|
292
|
+
links_style: z.ZodEnum<{
|
|
293
|
+
normal: "normal";
|
|
294
|
+
underlined: "underlined";
|
|
295
|
+
}>;
|
|
296
|
+
reference_text_size: z.ZodNumber;
|
|
297
|
+
subtitle: z.ZodObject<{
|
|
298
|
+
bold: z.ZodBoolean;
|
|
299
|
+
size: z.ZodNumber;
|
|
300
|
+
}, z.core.$strip>;
|
|
301
|
+
title: z.ZodObject<{
|
|
302
|
+
bold: z.ZodBoolean;
|
|
303
|
+
size: z.ZodNumber;
|
|
304
|
+
}, z.core.$strip>;
|
|
305
|
+
}, z.core.$strip>;
|
|
306
|
+
page_background: z.ZodObject<{
|
|
307
|
+
background_color: z.ZodString;
|
|
308
|
+
background_image_url: z.ZodString;
|
|
309
|
+
page_layout: z.ZodEnum<{
|
|
310
|
+
center: "center";
|
|
311
|
+
left: "left";
|
|
312
|
+
right: "right";
|
|
313
|
+
}>;
|
|
314
|
+
logo_placement: z.ZodOptional<z.ZodEnum<{
|
|
315
|
+
none: "none";
|
|
316
|
+
widget: "widget";
|
|
317
|
+
chip: "chip";
|
|
318
|
+
}>>;
|
|
319
|
+
}, z.core.$strip>;
|
|
320
|
+
widget: z.ZodObject<{
|
|
321
|
+
header_text_alignment: z.ZodEnum<{
|
|
322
|
+
center: "center";
|
|
323
|
+
left: "left";
|
|
324
|
+
right: "right";
|
|
325
|
+
}>;
|
|
326
|
+
logo_height: z.ZodNumber;
|
|
327
|
+
logo_position: z.ZodEnum<{
|
|
328
|
+
none: "none";
|
|
329
|
+
center: "center";
|
|
330
|
+
left: "left";
|
|
331
|
+
right: "right";
|
|
332
|
+
}>;
|
|
333
|
+
logo_url: z.ZodString;
|
|
334
|
+
social_buttons_layout: z.ZodEnum<{
|
|
335
|
+
bottom: "bottom";
|
|
336
|
+
top: "top";
|
|
337
|
+
}>;
|
|
338
|
+
}, z.core.$strip>;
|
|
339
|
+
themeId: z.ZodString;
|
|
340
|
+
}, z.core.$strip>;
|
|
341
|
+
export type Theme = z.infer<typeof themeSchema>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { z } from "@hono/zod-openapi";
|
|
2
|
+
export declare enum GrantType {
|
|
3
|
+
RefreshToken = "refresh_token",
|
|
4
|
+
AuthorizationCode = "authorization_code",
|
|
5
|
+
ClientCredential = "client_credentials",
|
|
6
|
+
Passwordless = "passwordless",
|
|
7
|
+
Password = "password",
|
|
8
|
+
OTP = "http://auth0.com/oauth/grant-type/passwordless/otp"
|
|
9
|
+
}
|
|
10
|
+
export declare const tokenResponseSchema: z.ZodObject<{
|
|
11
|
+
access_token: z.ZodString;
|
|
12
|
+
id_token: z.ZodOptional<z.ZodString>;
|
|
13
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
14
|
+
state: z.ZodOptional<z.ZodString>;
|
|
15
|
+
refresh_token: z.ZodOptional<z.ZodString>;
|
|
16
|
+
token_type: z.ZodString;
|
|
17
|
+
expires_in: z.ZodNumber;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
export type TokenResponse = z.infer<typeof tokenResponseSchema>;
|
|
20
|
+
declare const codeResponseSchema: z.ZodObject<{
|
|
21
|
+
code: z.ZodString;
|
|
22
|
+
state: z.ZodOptional<z.ZodString>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
export type CodeResponse = z.infer<typeof codeResponseSchema>;
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
import { z } from "@hono/zod-openapi";
|
|
2
|
+
export declare const addressSchema: z.ZodOptional<z.ZodObject<{
|
|
3
|
+
formatted: z.ZodOptional<z.ZodString>;
|
|
4
|
+
street_address: z.ZodOptional<z.ZodString>;
|
|
5
|
+
locality: z.ZodOptional<z.ZodString>;
|
|
6
|
+
region: z.ZodOptional<z.ZodString>;
|
|
7
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
8
|
+
country: z.ZodOptional<z.ZodString>;
|
|
9
|
+
}, z.core.$strip>>;
|
|
10
|
+
export type Address = z.infer<typeof addressSchema>;
|
|
11
|
+
export declare const baseUserSchema: z.ZodObject<{
|
|
12
|
+
email: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
13
|
+
username: z.ZodOptional<z.ZodString>;
|
|
14
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
15
|
+
phone_verified: z.ZodOptional<z.ZodBoolean>;
|
|
16
|
+
given_name: z.ZodOptional<z.ZodString>;
|
|
17
|
+
family_name: z.ZodOptional<z.ZodString>;
|
|
18
|
+
nickname: z.ZodOptional<z.ZodString>;
|
|
19
|
+
name: z.ZodOptional<z.ZodString>;
|
|
20
|
+
picture: z.ZodOptional<z.ZodString>;
|
|
21
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
22
|
+
linked_to: z.ZodOptional<z.ZodString>;
|
|
23
|
+
profileData: z.ZodOptional<z.ZodString>;
|
|
24
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
25
|
+
app_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
|
|
26
|
+
user_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
|
|
27
|
+
middle_name: z.ZodOptional<z.ZodString>;
|
|
28
|
+
preferred_username: z.ZodOptional<z.ZodString>;
|
|
29
|
+
profile: z.ZodOptional<z.ZodString>;
|
|
30
|
+
website: z.ZodOptional<z.ZodString>;
|
|
31
|
+
gender: z.ZodOptional<z.ZodString>;
|
|
32
|
+
birthdate: z.ZodOptional<z.ZodString>;
|
|
33
|
+
zoneinfo: z.ZodOptional<z.ZodString>;
|
|
34
|
+
address: z.ZodOptional<z.ZodObject<{
|
|
35
|
+
formatted: z.ZodOptional<z.ZodString>;
|
|
36
|
+
street_address: z.ZodOptional<z.ZodString>;
|
|
37
|
+
locality: z.ZodOptional<z.ZodString>;
|
|
38
|
+
region: z.ZodOptional<z.ZodString>;
|
|
39
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
40
|
+
country: z.ZodOptional<z.ZodString>;
|
|
41
|
+
}, z.core.$strip>>;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
export type BaseUser = z.infer<typeof baseUserSchema>;
|
|
44
|
+
export declare const userInsertSchema: z.ZodObject<{
|
|
45
|
+
email: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
46
|
+
username: z.ZodOptional<z.ZodString>;
|
|
47
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
48
|
+
phone_verified: z.ZodOptional<z.ZodBoolean>;
|
|
49
|
+
given_name: z.ZodOptional<z.ZodString>;
|
|
50
|
+
family_name: z.ZodOptional<z.ZodString>;
|
|
51
|
+
nickname: z.ZodOptional<z.ZodString>;
|
|
52
|
+
name: z.ZodOptional<z.ZodString>;
|
|
53
|
+
picture: z.ZodOptional<z.ZodString>;
|
|
54
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
55
|
+
linked_to: z.ZodOptional<z.ZodString>;
|
|
56
|
+
profileData: z.ZodOptional<z.ZodString>;
|
|
57
|
+
app_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
|
|
58
|
+
user_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
|
|
59
|
+
middle_name: z.ZodOptional<z.ZodString>;
|
|
60
|
+
preferred_username: z.ZodOptional<z.ZodString>;
|
|
61
|
+
profile: z.ZodOptional<z.ZodString>;
|
|
62
|
+
website: z.ZodOptional<z.ZodString>;
|
|
63
|
+
gender: z.ZodOptional<z.ZodString>;
|
|
64
|
+
birthdate: z.ZodOptional<z.ZodString>;
|
|
65
|
+
zoneinfo: z.ZodOptional<z.ZodString>;
|
|
66
|
+
address: z.ZodOptional<z.ZodObject<{
|
|
67
|
+
formatted: z.ZodOptional<z.ZodString>;
|
|
68
|
+
street_address: z.ZodOptional<z.ZodString>;
|
|
69
|
+
locality: z.ZodOptional<z.ZodString>;
|
|
70
|
+
region: z.ZodOptional<z.ZodString>;
|
|
71
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
72
|
+
country: z.ZodOptional<z.ZodString>;
|
|
73
|
+
}, z.core.$strip>>;
|
|
74
|
+
email_verified: z.ZodDefault<z.ZodBoolean>;
|
|
75
|
+
verify_email: z.ZodOptional<z.ZodBoolean>;
|
|
76
|
+
last_ip: z.ZodOptional<z.ZodString>;
|
|
77
|
+
last_login: z.ZodOptional<z.ZodString>;
|
|
78
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
79
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
80
|
+
connection: z.ZodString;
|
|
81
|
+
is_social: z.ZodOptional<z.ZodBoolean>;
|
|
82
|
+
registration_completed_at: z.ZodOptional<z.ZodString>;
|
|
83
|
+
password: z.ZodOptional<z.ZodObject<{
|
|
84
|
+
hash: z.ZodString;
|
|
85
|
+
algorithm: z.ZodString;
|
|
86
|
+
}, z.core.$strip>>;
|
|
87
|
+
}, z.core.$strip>;
|
|
88
|
+
export type UserInsert = z.infer<typeof userInsertSchema>;
|
|
89
|
+
export declare const userSchema: z.ZodObject<{
|
|
90
|
+
name: z.ZodOptional<z.ZodString>;
|
|
91
|
+
connection: z.ZodString;
|
|
92
|
+
email_verified: z.ZodDefault<z.ZodBoolean>;
|
|
93
|
+
username: z.ZodOptional<z.ZodString>;
|
|
94
|
+
given_name: z.ZodOptional<z.ZodString>;
|
|
95
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
96
|
+
phone_verified: z.ZodOptional<z.ZodBoolean>;
|
|
97
|
+
family_name: z.ZodOptional<z.ZodString>;
|
|
98
|
+
profileData: z.ZodOptional<z.ZodString>;
|
|
99
|
+
address: z.ZodOptional<z.ZodObject<{
|
|
100
|
+
formatted: z.ZodOptional<z.ZodString>;
|
|
101
|
+
street_address: z.ZodOptional<z.ZodString>;
|
|
102
|
+
locality: z.ZodOptional<z.ZodString>;
|
|
103
|
+
region: z.ZodOptional<z.ZodString>;
|
|
104
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
105
|
+
country: z.ZodOptional<z.ZodString>;
|
|
106
|
+
}, z.core.$strip>>;
|
|
107
|
+
nickname: z.ZodOptional<z.ZodString>;
|
|
108
|
+
picture: z.ZodOptional<z.ZodString>;
|
|
109
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
110
|
+
linked_to: z.ZodOptional<z.ZodString>;
|
|
111
|
+
app_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
|
|
112
|
+
user_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
|
|
113
|
+
middle_name: z.ZodOptional<z.ZodString>;
|
|
114
|
+
preferred_username: z.ZodOptional<z.ZodString>;
|
|
115
|
+
profile: z.ZodOptional<z.ZodString>;
|
|
116
|
+
website: z.ZodOptional<z.ZodString>;
|
|
117
|
+
gender: z.ZodOptional<z.ZodString>;
|
|
118
|
+
birthdate: z.ZodOptional<z.ZodString>;
|
|
119
|
+
zoneinfo: z.ZodOptional<z.ZodString>;
|
|
120
|
+
verify_email: z.ZodOptional<z.ZodBoolean>;
|
|
121
|
+
last_ip: z.ZodOptional<z.ZodString>;
|
|
122
|
+
last_login: z.ZodOptional<z.ZodString>;
|
|
123
|
+
registration_completed_at: z.ZodOptional<z.ZodString>;
|
|
124
|
+
created_at: z.ZodString;
|
|
125
|
+
updated_at: z.ZodString;
|
|
126
|
+
user_id: z.ZodString;
|
|
127
|
+
provider: z.ZodString;
|
|
128
|
+
is_social: z.ZodBoolean;
|
|
129
|
+
email: z.ZodOptional<z.ZodString>;
|
|
130
|
+
login_count: z.ZodDefault<z.ZodNumber>;
|
|
131
|
+
identities: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
132
|
+
connection: z.ZodString;
|
|
133
|
+
user_id: z.ZodString;
|
|
134
|
+
provider: z.ZodString;
|
|
135
|
+
isSocial: z.ZodBoolean;
|
|
136
|
+
email: z.ZodOptional<z.ZodString>;
|
|
137
|
+
email_verified: z.ZodOptional<z.ZodBoolean>;
|
|
138
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
139
|
+
phone_verified: z.ZodOptional<z.ZodBoolean>;
|
|
140
|
+
username: z.ZodOptional<z.ZodString>;
|
|
141
|
+
access_token: z.ZodOptional<z.ZodString>;
|
|
142
|
+
access_token_secret: z.ZodOptional<z.ZodString>;
|
|
143
|
+
refresh_token: z.ZodOptional<z.ZodString>;
|
|
144
|
+
profileData: z.ZodOptional<z.ZodObject<{
|
|
145
|
+
email: z.ZodOptional<z.ZodString>;
|
|
146
|
+
email_verified: z.ZodOptional<z.ZodBoolean>;
|
|
147
|
+
name: z.ZodOptional<z.ZodString>;
|
|
148
|
+
username: z.ZodOptional<z.ZodString>;
|
|
149
|
+
given_name: z.ZodOptional<z.ZodString>;
|
|
150
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
151
|
+
phone_verified: z.ZodOptional<z.ZodBoolean>;
|
|
152
|
+
family_name: z.ZodOptional<z.ZodString>;
|
|
153
|
+
}, z.core.$catchall<z.ZodAny>>>;
|
|
154
|
+
}, z.core.$strip>>>;
|
|
155
|
+
}, z.core.$strip>;
|
|
156
|
+
export type User = z.infer<typeof userSchema>;
|
|
157
|
+
export declare const auth0UserResponseSchema: z.ZodObject<{
|
|
158
|
+
created_at: z.ZodString;
|
|
159
|
+
updated_at: z.ZodString;
|
|
160
|
+
name: z.ZodOptional<z.ZodString>;
|
|
161
|
+
email: z.ZodOptional<z.ZodString>;
|
|
162
|
+
connection: z.ZodString;
|
|
163
|
+
user_id: z.ZodString;
|
|
164
|
+
email_verified: z.ZodDefault<z.ZodBoolean>;
|
|
165
|
+
username: z.ZodOptional<z.ZodString>;
|
|
166
|
+
given_name: z.ZodOptional<z.ZodString>;
|
|
167
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
168
|
+
phone_verified: z.ZodOptional<z.ZodBoolean>;
|
|
169
|
+
family_name: z.ZodOptional<z.ZodString>;
|
|
170
|
+
provider: z.ZodString;
|
|
171
|
+
profileData: z.ZodOptional<z.ZodString>;
|
|
172
|
+
address: z.ZodOptional<z.ZodObject<{
|
|
173
|
+
formatted: z.ZodOptional<z.ZodString>;
|
|
174
|
+
street_address: z.ZodOptional<z.ZodString>;
|
|
175
|
+
locality: z.ZodOptional<z.ZodString>;
|
|
176
|
+
region: z.ZodOptional<z.ZodString>;
|
|
177
|
+
postal_code: z.ZodOptional<z.ZodString>;
|
|
178
|
+
country: z.ZodOptional<z.ZodString>;
|
|
179
|
+
}, z.core.$strip>>;
|
|
180
|
+
nickname: z.ZodOptional<z.ZodString>;
|
|
181
|
+
picture: z.ZodOptional<z.ZodString>;
|
|
182
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
183
|
+
linked_to: z.ZodOptional<z.ZodString>;
|
|
184
|
+
app_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
|
|
185
|
+
user_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
|
|
186
|
+
middle_name: z.ZodOptional<z.ZodString>;
|
|
187
|
+
preferred_username: z.ZodOptional<z.ZodString>;
|
|
188
|
+
profile: z.ZodOptional<z.ZodString>;
|
|
189
|
+
website: z.ZodOptional<z.ZodString>;
|
|
190
|
+
gender: z.ZodOptional<z.ZodString>;
|
|
191
|
+
birthdate: z.ZodOptional<z.ZodString>;
|
|
192
|
+
zoneinfo: z.ZodOptional<z.ZodString>;
|
|
193
|
+
verify_email: z.ZodOptional<z.ZodBoolean>;
|
|
194
|
+
last_ip: z.ZodOptional<z.ZodString>;
|
|
195
|
+
last_login: z.ZodOptional<z.ZodString>;
|
|
196
|
+
is_social: z.ZodBoolean;
|
|
197
|
+
login_count: z.ZodDefault<z.ZodNumber>;
|
|
198
|
+
identities: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
199
|
+
connection: z.ZodString;
|
|
200
|
+
user_id: z.ZodString;
|
|
201
|
+
provider: z.ZodString;
|
|
202
|
+
isSocial: z.ZodBoolean;
|
|
203
|
+
email: z.ZodOptional<z.ZodString>;
|
|
204
|
+
email_verified: z.ZodOptional<z.ZodBoolean>;
|
|
205
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
206
|
+
phone_verified: z.ZodOptional<z.ZodBoolean>;
|
|
207
|
+
username: z.ZodOptional<z.ZodString>;
|
|
208
|
+
access_token: z.ZodOptional<z.ZodString>;
|
|
209
|
+
access_token_secret: z.ZodOptional<z.ZodString>;
|
|
210
|
+
refresh_token: z.ZodOptional<z.ZodString>;
|
|
211
|
+
profileData: z.ZodOptional<z.ZodObject<{
|
|
212
|
+
email: z.ZodOptional<z.ZodString>;
|
|
213
|
+
email_verified: z.ZodOptional<z.ZodBoolean>;
|
|
214
|
+
name: z.ZodOptional<z.ZodString>;
|
|
215
|
+
username: z.ZodOptional<z.ZodString>;
|
|
216
|
+
given_name: z.ZodOptional<z.ZodString>;
|
|
217
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
218
|
+
phone_verified: z.ZodOptional<z.ZodBoolean>;
|
|
219
|
+
family_name: z.ZodOptional<z.ZodString>;
|
|
220
|
+
}, z.core.$catchall<z.ZodAny>>>;
|
|
221
|
+
}, z.core.$strip>>>;
|
|
222
|
+
}, z.core.$strip>;
|