authhero 8.23.1 → 8.25.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.
Files changed (54) hide show
  1. package/dist/assets/u/widget/index.esm.js +1 -1
  2. package/dist/authhero.cjs +139 -142
  3. package/dist/authhero.d.ts +1073 -292
  4. package/dist/authhero.mjs +20321 -15480
  5. package/dist/tsconfig.types.tsbuildinfo +1 -1
  6. package/dist/types/adapters/control-plane-custom-domains.d.ts +35 -0
  7. package/dist/types/authentication-flows/passwordless.d.ts +4 -4
  8. package/dist/types/helpers/control-plane-client.d.ts +46 -0
  9. package/dist/types/helpers/control-plane-sync-events.d.ts +12 -28
  10. package/dist/types/index.d.ts +326 -246
  11. package/dist/types/routes/auth-api/index.d.ts +28 -28
  12. package/dist/types/routes/auth-api/passwordless.d.ts +12 -12
  13. package/dist/types/routes/auth-api/register/index.d.ts +2 -2
  14. package/dist/types/routes/auth-api/revoke.d.ts +2 -2
  15. package/dist/types/routes/auth-api/token.d.ts +12 -12
  16. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  17. package/dist/types/routes/management-api/clients.d.ts +14 -14
  18. package/dist/types/routes/management-api/connections.d.ts +16 -16
  19. package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
  20. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  21. package/dist/types/routes/management-api/forms.d.ts +126 -126
  22. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  23. package/dist/types/routes/management-api/helpers.d.ts +47 -0
  24. package/dist/types/routes/management-api/index.d.ts +280 -211
  25. package/dist/types/routes/management-api/logs.d.ts +4 -4
  26. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  27. package/dist/types/routes/management-api/organizations.d.ts +8 -8
  28. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  29. package/dist/types/routes/management-api/roles.d.ts +1 -1
  30. package/dist/types/routes/management-api/tenant-members.d.ts +304 -0
  31. package/dist/types/routes/management-api/tenant-members.test.d.ts +1 -0
  32. package/dist/types/routes/management-api/tenants.d.ts +8 -8
  33. package/dist/types/routes/management-api/users.d.ts +71 -2
  34. package/dist/types/routes/proxy-control-plane/custom-domains.d.ts +45 -0
  35. package/dist/types/routes/proxy-control-plane/index.d.ts +47 -6
  36. package/dist/types/routes/proxy-control-plane/scopes.d.ts +20 -0
  37. package/dist/types/routes/proxy-control-plane/tenant-members.d.ts +37 -0
  38. package/dist/types/routes/proxy-control-plane/verify.d.ts +29 -4
  39. package/dist/types/routes/proxy-control-plane/verify.test.d.ts +1 -0
  40. package/dist/types/routes/universal-login/common.d.ts +8 -8
  41. package/dist/types/routes/universal-login/flow-api.d.ts +12 -12
  42. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  43. package/dist/types/routes/universal-login/index.d.ts +2 -2
  44. package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
  45. package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
  46. package/dist/types/tenant-members/control-plane-roundtrip.test.d.ts +1 -0
  47. package/dist/types/tenant-members/local-backend.d.ts +43 -0
  48. package/dist/types/tenant-members/local-backend.test.d.ts +1 -0
  49. package/dist/types/tenant-members/remote-backend.d.ts +17 -0
  50. package/dist/types/tenant-members/types.d.ts +112 -0
  51. package/dist/types/tenant-members/wire.d.ts +28 -0
  52. package/dist/types/types/AuthHeroConfig.d.ts +54 -7
  53. package/dist/types/types/IdToken.d.ts +4 -4
  54. package/package.json +6 -6
@@ -1,6 +1,6 @@
1
1
  import * as hono_utils_types from 'hono/utils/types';
2
2
  import * as _authhero_adapter_interfaces from '@authhero/adapter-interfaces';
3
- import { LoginSession, DataAdapters, RolePermissionInsert, AuthorizationResponseMode, AuthorizationResponseType, User, CustomDomain, ProxyRoute, ResourceServer, ResourceServerInsert, Role, RoleInsert, Connection, ConnectionInsert, Tenant, CreateTenantParams, Hook, TenantOperationKind, TenantOperation, CodeExecutor, SigningKey, Theme, Branding, AuthParams, CacheAdapter, EmailServiceAdapter, EmailServiceSendParams, AuditEvent, OutboxAdapter, HooksAdapter, Client, LogsDataAdapter, LogInsert, UserDataAdapter, CustomDomainsAdapter, ProxyRoutesAdapter, TenantsDataAdapter, ListParams, KeysAdapter, CodeExecutionResult } from '@authhero/adapter-interfaces';
3
+ import { LoginSession, DataAdapters, RolePermissionInsert, AuthorizationResponseMode, AuthorizationResponseType, User, roleSchema, inviteSchema, ProxyRoute, ResourceServer, ResourceServerInsert, Role, RoleInsert, Connection, ConnectionInsert, Tenant, CreateTenantParams, Hook, TenantOperationKind, TenantOperation, CodeExecutor, SigningKey, Theme, Branding, AuthParams, CacheAdapter, EmailServiceAdapter, EmailServiceSendParams, AuditEvent, OutboxAdapter, HooksAdapter, Client, LogsDataAdapter, LogInsert, UserDataAdapter, ProxyRoutesAdapter, CustomDomainsAdapter, TenantsDataAdapter, KeysAdapter, ListParams, CodeExecutionResult } from '@authhero/adapter-interfaces';
4
4
  export * from '@authhero/adapter-interfaces';
5
5
  import * as hono_types from 'hono/types';
6
6
  import * as hono_utils_http_status from 'hono/utils/http-status';
@@ -8,10 +8,10 @@ import { z, OpenAPIHono } from '@hono/zod-openapi';
8
8
  import { CountryCode } from 'libphonenumber-js';
9
9
  import { SamlSigner } from '@authhero/saml/core';
10
10
  export { HttpSamlSigner, SamlSigner } from '@authhero/saml/core';
11
- import { Context, Next, Handler, MiddlewareHandler } from 'hono';
11
+ import { Context, Hono, Next, Handler, MiddlewareHandler } from 'hono';
12
12
  import * as _authhero_proxy from '@authhero/proxy';
13
13
  import { ResolvedHost, KvNamespaceWriter } from '@authhero/proxy';
14
- export { PROXY_RESOLVE_HOST_SCOPE } from '@authhero/proxy';
14
+ export { PROXY_RESOLVE_HOST_SCOPE, ServiceBindingFetcher, createServiceBindingFetch } from '@authhero/proxy';
15
15
  import { FC, PropsWithChildren, JSXNode } from 'hono/jsx';
16
16
  import * as hono_jsx_jsx_dev_runtime from 'hono/jsx/jsx-dev-runtime';
17
17
 
@@ -822,8 +822,475 @@ type Hooks = {
822
822
  onFetchUserInfo?: OnFetchUserInfo;
823
823
  };
824
824
 
825
+ /**
826
+ * A tenant's "team" is not the tenant's own users. It is an organization on the
827
+ * control-plane tenant whose `name` equals the tenant id (see
828
+ * `@authhero/multi-tenancy` provisioning). Its members are control-plane users
829
+ * holding org-scoped roles, and the tenant shard cannot write those rows.
830
+ *
831
+ * `TenantMembersBackend` is the seam that hides "where the team actually lives":
832
+ * - on a single-instance / control-plane deployment it resolves the org and
833
+ * acts on the local control-plane adapters (`createLocalTenantMembersBackend`);
834
+ * - on a Workers-for-Platforms shard it delegates every call up to the control
835
+ * plane over the shared control-plane client
836
+ * (`createControlPlaneTenantMembersAdapter`).
837
+ *
838
+ * Every method takes the CHILD `tenantId` (the tenant whose team is managed),
839
+ * never an organization id — the org is resolved from the tenant id internally.
840
+ * The management route that fronts this has already pinned `tenantId` to the
841
+ * caller's verified org claim, so the backend never has to re-authorize.
842
+ */
843
+ declare const tenantMemberSchema: z.ZodObject<{
844
+ user_id: z.ZodString;
845
+ email: z.ZodOptional<z.ZodString>;
846
+ name: z.ZodOptional<z.ZodString>;
847
+ picture: z.ZodOptional<z.ZodString>;
848
+ roles: z.ZodDefault<z.ZodArray<z.ZodObject<{
849
+ name: z.ZodString;
850
+ description: z.ZodOptional<z.ZodString>;
851
+ is_system: z.ZodOptional<z.ZodBoolean>;
852
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
853
+ id: z.ZodString;
854
+ created_at: z.ZodOptional<z.ZodString>;
855
+ updated_at: z.ZodOptional<z.ZodString>;
856
+ }, z.core.$strip>>>;
857
+ }, z.core.$strip>;
858
+ type TenantMember = z.infer<typeof tenantMemberSchema>;
859
+ declare const tenantMembersListSchema: z.ZodObject<{
860
+ members: z.ZodArray<z.ZodObject<{
861
+ user_id: z.ZodString;
862
+ email: z.ZodOptional<z.ZodString>;
863
+ name: z.ZodOptional<z.ZodString>;
864
+ picture: z.ZodOptional<z.ZodString>;
865
+ roles: z.ZodDefault<z.ZodArray<z.ZodObject<{
866
+ name: z.ZodString;
867
+ description: z.ZodOptional<z.ZodString>;
868
+ is_system: z.ZodOptional<z.ZodBoolean>;
869
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
870
+ id: z.ZodString;
871
+ created_at: z.ZodOptional<z.ZodString>;
872
+ updated_at: z.ZodOptional<z.ZodString>;
873
+ }, z.core.$strip>>>;
874
+ }, z.core.$strip>>;
875
+ start: z.ZodNumber;
876
+ limit: z.ZodNumber;
877
+ total: z.ZodNumber;
878
+ }, z.core.$strip>;
879
+ type TenantMembersListResult = z.infer<typeof tenantMembersListSchema>;
880
+ /**
881
+ * The invitee-facing fields of an invitation create. `organization_id`,
882
+ * `invitation_url` and `id` are resolved server-side (the org from the tenant
883
+ * id, the URL from the control-plane issuer), never trusted from the caller —
884
+ * that is the fix for the admin UI's "invite silently disappears when the
885
+ * client id isn't in local storage" foot-gun.
886
+ */
887
+ declare const tenantInvitationInputSchema: z.ZodObject<{
888
+ invitee: z.ZodObject<{
889
+ email: z.ZodString;
890
+ }, z.core.$strip>;
891
+ inviter: z.ZodDefault<z.ZodObject<{
892
+ name: z.ZodOptional<z.ZodString>;
893
+ }, z.core.$strip>>;
894
+ roles: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
895
+ send_invitation_email: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
896
+ ttl_sec: z.ZodOptional<z.ZodNumber>;
897
+ }, z.core.$strip>;
898
+ type TenantInvitationInput = z.input<typeof tenantInvitationInputSchema>;
899
+ interface TenantMembersPageParams {
900
+ page?: number;
901
+ per_page?: number;
902
+ q?: string;
903
+ }
904
+ type TenantInvitation = z.infer<typeof inviteSchema>;
905
+ type TenantRole = z.infer<typeof roleSchema>;
906
+ interface TenantMembersBackend {
907
+ listMembers(tenantId: string, params?: TenantMembersPageParams): Promise<TenantMembersListResult>;
908
+ addMembers(tenantId: string, userIds: string[]): Promise<void>;
909
+ removeMembers(tenantId: string, userIds: string[]): Promise<void>;
910
+ listMemberRoles(tenantId: string, userId: string): Promise<TenantRole[]>;
911
+ assignMemberRoles(tenantId: string, userId: string, roleIds: string[]): Promise<void>;
912
+ removeMemberRoles(tenantId: string, userId: string, roleIds: string[]): Promise<void>;
913
+ /** Roles that can be granted to a member — the control-plane tenant's roles. */
914
+ listRoles(tenantId: string, params?: TenantMembersPageParams): Promise<TenantRole[]>;
915
+ listInvitations(tenantId: string, params?: TenantMembersPageParams): Promise<TenantInvitation[]>;
916
+ createInvitation(tenantId: string, input: TenantInvitationInput): Promise<TenantInvitation>;
917
+ revokeInvitation(tenantId: string, invitationId: string): Promise<void>;
918
+ }
919
+ /**
920
+ * Base for the "asked for something that isn't there" cases a backend can hit.
921
+ * The management route maps any of these to a 404. It is a distinct type (not a
922
+ * bare HTTPException) so the local and remote backends can agree on the
923
+ * semantics without depending on hono.
924
+ */
925
+ declare class TenantMembersNotFoundError extends Error {
926
+ }
927
+ /** The tenant id names no control-plane organization — i.e. no team. */
928
+ declare class TenantOrganizationNotFoundError extends TenantMembersNotFoundError {
929
+ constructor(tenantId: string);
930
+ }
931
+ /** The invitation does not exist, or belongs to a different tenant's team. */
932
+ declare class TenantInvitationNotFoundError extends TenantMembersNotFoundError {
933
+ constructor(invitationId: string);
934
+ }
935
+
936
+ type Ctx = Context<{
937
+ Bindings: Bindings;
938
+ Variables: Variables;
939
+ }>;
940
+ /** Build the request's backend (local org resolution, or a control-plane hop). */
941
+ type GetTenantMembersBackend = (ctx: Ctx) => TenantMembersBackend | Promise<TenantMembersBackend>;
942
+ /**
943
+ * `GET/POST/DELETE /api/v2/tenant-members` — lets a tenant admin manage who
944
+ * administers their tenant, from the per-tenant admin UI, without a
945
+ * control-plane login. The heavy lifting (resolving the control-plane org,
946
+ * writing membership/roles/invitations) is delegated to a
947
+ * {@link TenantMembersBackend}; this layer only pins the tenant to the token's
948
+ * org claim and shapes responses.
949
+ */
950
+ declare function createTenantMembersRoutes(getBackend: GetTenantMembersBackend): OpenAPIHono<{
951
+ Bindings: Bindings;
952
+ Variables: Variables;
953
+ }, {
954
+ "/roles": {
955
+ $get: {
956
+ input: {
957
+ query: {
958
+ page?: unknown;
959
+ per_page?: unknown;
960
+ q?: string | undefined;
961
+ };
962
+ } & {
963
+ header: {
964
+ "tenant-id"?: string | undefined;
965
+ };
966
+ };
967
+ output: {
968
+ name: string;
969
+ id: string;
970
+ description?: string | undefined;
971
+ is_system?: boolean | undefined;
972
+ metadata?: {
973
+ [x: string]: any;
974
+ } | undefined;
975
+ created_at?: string | undefined;
976
+ updated_at?: string | undefined;
977
+ }[];
978
+ outputFormat: "json";
979
+ status: 200;
980
+ };
981
+ };
982
+ } & {
983
+ "/invitations": {
984
+ $get: {
985
+ input: {
986
+ query: {
987
+ page?: unknown;
988
+ per_page?: unknown;
989
+ q?: string | undefined;
990
+ };
991
+ } & {
992
+ header: {
993
+ "tenant-id"?: string | undefined;
994
+ };
995
+ };
996
+ output: {
997
+ id: string;
998
+ created_at: string;
999
+ expires_at: string;
1000
+ client_id: string;
1001
+ inviter: {
1002
+ name?: string | undefined;
1003
+ };
1004
+ invitee: {
1005
+ email?: string | undefined;
1006
+ };
1007
+ organization_id: string;
1008
+ invitation_url: string;
1009
+ ticket_id?: string | undefined;
1010
+ connection_id?: string | undefined;
1011
+ app_metadata?: {
1012
+ [x: string]: any;
1013
+ } | undefined;
1014
+ user_metadata?: {
1015
+ [x: string]: any;
1016
+ } | undefined;
1017
+ ttl_sec?: number | undefined;
1018
+ roles?: string[] | undefined;
1019
+ send_invitation_email?: boolean | undefined;
1020
+ }[];
1021
+ outputFormat: "json";
1022
+ status: 200;
1023
+ };
1024
+ };
1025
+ } & {
1026
+ "/invitations": {
1027
+ $post: {
1028
+ input: {
1029
+ header: {
1030
+ "tenant-id"?: string | undefined;
1031
+ };
1032
+ } & {
1033
+ json: {
1034
+ invitee: {
1035
+ email: string;
1036
+ };
1037
+ inviter?: {
1038
+ name?: string | undefined;
1039
+ } | undefined;
1040
+ roles?: string[] | undefined;
1041
+ send_invitation_email?: boolean | undefined;
1042
+ ttl_sec?: number | undefined;
1043
+ };
1044
+ };
1045
+ output: {
1046
+ id: string;
1047
+ created_at: string;
1048
+ expires_at: string;
1049
+ client_id: string;
1050
+ inviter: {
1051
+ name?: string | undefined;
1052
+ };
1053
+ invitee: {
1054
+ email?: string | undefined;
1055
+ };
1056
+ organization_id: string;
1057
+ invitation_url: string;
1058
+ ticket_id?: string | undefined;
1059
+ connection_id?: string | undefined;
1060
+ app_metadata?: {
1061
+ [x: string]: any;
1062
+ } | undefined;
1063
+ user_metadata?: {
1064
+ [x: string]: any;
1065
+ } | undefined;
1066
+ ttl_sec?: number | undefined;
1067
+ roles?: string[] | undefined;
1068
+ send_invitation_email?: boolean | undefined;
1069
+ };
1070
+ outputFormat: "json";
1071
+ status: 201;
1072
+ };
1073
+ };
1074
+ } & {
1075
+ "/invitations/:invitation_id": {
1076
+ $delete: {
1077
+ input: {
1078
+ param: {
1079
+ invitation_id: string;
1080
+ };
1081
+ } & {
1082
+ header: {
1083
+ "tenant-id"?: string | undefined;
1084
+ };
1085
+ };
1086
+ output: {};
1087
+ outputFormat: string;
1088
+ status: 204;
1089
+ };
1090
+ };
1091
+ } & {
1092
+ "/": {
1093
+ $get: {
1094
+ input: {
1095
+ query: {
1096
+ page?: unknown;
1097
+ per_page?: unknown;
1098
+ q?: string | undefined;
1099
+ };
1100
+ } & {
1101
+ header: {
1102
+ "tenant-id"?: string | undefined;
1103
+ };
1104
+ };
1105
+ output: {
1106
+ members: {
1107
+ user_id: string;
1108
+ roles: {
1109
+ name: string;
1110
+ id: string;
1111
+ description?: string | undefined;
1112
+ is_system?: boolean | undefined;
1113
+ metadata?: {
1114
+ [x: string]: any;
1115
+ } | undefined;
1116
+ created_at?: string | undefined;
1117
+ updated_at?: string | undefined;
1118
+ }[];
1119
+ email?: string | undefined;
1120
+ name?: string | undefined;
1121
+ picture?: string | undefined;
1122
+ }[];
1123
+ start: number;
1124
+ limit: number;
1125
+ total: number;
1126
+ };
1127
+ outputFormat: "json";
1128
+ status: 200;
1129
+ };
1130
+ };
1131
+ } & {
1132
+ "/": {
1133
+ $post: {
1134
+ input: {
1135
+ header: {
1136
+ "tenant-id"?: string | undefined;
1137
+ };
1138
+ } & {
1139
+ json: {
1140
+ user_ids: string[];
1141
+ };
1142
+ };
1143
+ output: {};
1144
+ outputFormat: string;
1145
+ status: 204;
1146
+ };
1147
+ };
1148
+ } & {
1149
+ "/": {
1150
+ $delete: {
1151
+ input: {
1152
+ header: {
1153
+ "tenant-id"?: string | undefined;
1154
+ };
1155
+ } & {
1156
+ json: {
1157
+ user_ids: string[];
1158
+ };
1159
+ };
1160
+ output: {};
1161
+ outputFormat: string;
1162
+ status: 204;
1163
+ };
1164
+ };
1165
+ } & {
1166
+ "/:user_id/roles": {
1167
+ $get: {
1168
+ input: {
1169
+ param: {
1170
+ user_id: string;
1171
+ };
1172
+ } & {
1173
+ header: {
1174
+ "tenant-id"?: string | undefined;
1175
+ };
1176
+ };
1177
+ output: {
1178
+ name: string;
1179
+ id: string;
1180
+ description?: string | undefined;
1181
+ is_system?: boolean | undefined;
1182
+ metadata?: {
1183
+ [x: string]: any;
1184
+ } | undefined;
1185
+ created_at?: string | undefined;
1186
+ updated_at?: string | undefined;
1187
+ }[];
1188
+ outputFormat: "json";
1189
+ status: 200;
1190
+ };
1191
+ };
1192
+ } & {
1193
+ "/:user_id/roles": {
1194
+ $post: {
1195
+ input: {
1196
+ param: {
1197
+ user_id: string;
1198
+ };
1199
+ } & {
1200
+ header: {
1201
+ "tenant-id"?: string | undefined;
1202
+ };
1203
+ } & {
1204
+ json: {
1205
+ roles: string[];
1206
+ };
1207
+ };
1208
+ output: {};
1209
+ outputFormat: string;
1210
+ status: 204;
1211
+ };
1212
+ };
1213
+ } & {
1214
+ "/:user_id/roles": {
1215
+ $delete: {
1216
+ input: {
1217
+ param: {
1218
+ user_id: string;
1219
+ };
1220
+ } & {
1221
+ header: {
1222
+ "tenant-id"?: string | undefined;
1223
+ };
1224
+ } & {
1225
+ json: {
1226
+ roles: string[];
1227
+ };
1228
+ };
1229
+ output: {};
1230
+ outputFormat: string;
1231
+ status: 204;
1232
+ };
1233
+ };
1234
+ }, "/">;
1235
+
1236
+ type AuthenticateControlPlane = (c: {
1237
+ req: {
1238
+ raw: Request;
1239
+ header(name: string): string | undefined;
1240
+ url: string;
1241
+ };
1242
+ env: Bindings;
1243
+ }) => Promise<{
1244
+ ok: true;
1245
+ tenantId?: string;
1246
+ } | {
1247
+ ok: false;
1248
+ reason: string;
1249
+ }>;
1250
+
1251
+ type TenantVars = {
1252
+ tenantId: string;
1253
+ };
1254
+ /** Context seen by the control-plane resource: env + the pinned tenant id. */
1255
+ type CpCtx = Context<{
1256
+ Bindings: Bindings;
1257
+ Variables: TenantVars;
1258
+ }>;
1259
+ interface TenantMembersControlPlaneOptions {
1260
+ /**
1261
+ * Build the backend for a request. Bound to the control-plane database
1262
+ * (`c.env.data`) and, optionally, an email sender at wire-up time. The tenant
1263
+ * is pinned separately from the verified token, so the factory does not need
1264
+ * it.
1265
+ */
1266
+ getBackend: (c: CpCtx) => TenantMembersBackend | Promise<TenantMembersBackend>;
1267
+ authenticate: AuthenticateControlPlane;
1268
+ }
1269
+ /**
1270
+ * The authoritative `tenant-members` resource. Tenant shards reach it through
1271
+ * `createControlPlaneTenantMembersAdapter`; it manages the control-plane
1272
+ * organization that models a tenant's team — rows the shard cannot write.
1273
+ *
1274
+ * Every operation is bound to the `tenant_id` claim of the verified token. The
1275
+ * scope alone is not authorization: each shard holds it, so a request-supplied
1276
+ * tenant id would let any shard read or edit any other tenant's team. Mount
1277
+ * under `/api/v2/proxy/control-plane/tenant-members`.
1278
+ */
1279
+ declare function createTenantMembersControlPlaneApp(options: TenantMembersControlPlaneOptions): Hono<{
1280
+ Bindings: Bindings;
1281
+ Variables: TenantVars;
1282
+ }>;
1283
+
825
1284
  declare const CONTROL_PLANE_SYNC_EVENT_PREFIX = "controlplane.sync.";
826
- type SyncEntity = "custom_domain" | "proxy_route";
1285
+ /**
1286
+ * Only `proxy_route` replicates upward. Custom domains used to sync the same
1287
+ * way, which is exactly what left them half-provisioned: the row reached the
1288
+ * control plane but nothing ever registered the hostname in Cloudflare. They
1289
+ * are now written through the control plane synchronously
1290
+ * (`createControlPlaneCustomDomainsAdapter`), which owns the row and performs
1291
+ * the account-level side effect.
1292
+ */
1293
+ type SyncEntity = "proxy_route";
827
1294
  type SyncOp = "created" | "updated" | "deleted";
828
1295
  /**
829
1296
  * Wire shape posted from the tenant shard to the control plane. The destination
@@ -832,34 +1299,10 @@ type SyncOp = "created" | "updated" | "deleted";
832
1299
  * batched-delivery destination.
833
1300
  */
834
1301
  type SyncEvent = {
835
- event_id: string;
836
- tenant_id: string;
837
- entity: "custom_domain";
838
- op: "created" | "updated";
839
- aggregate_id: string;
840
- payload: CustomDomain;
841
- occurred_at: string;
842
- } | {
843
- event_id: string;
844
- tenant_id: string;
845
- entity: "custom_domain";
846
- op: "deleted";
847
- aggregate_id: string;
848
- payload: CustomDomain;
849
- occurred_at: string;
850
- } | {
851
- event_id: string;
852
- tenant_id: string;
853
- entity: "proxy_route";
854
- op: "created" | "updated";
855
- aggregate_id: string;
856
- payload: ProxyRoute;
857
- occurred_at: string;
858
- } | {
859
1302
  event_id: string;
860
1303
  tenant_id: string;
861
1304
  entity: "proxy_route";
862
- op: "deleted";
1305
+ op: SyncOp;
863
1306
  aggregate_id: string;
864
1307
  payload: ProxyRoute;
865
1308
  occurred_at: string;
@@ -1233,24 +1676,71 @@ interface AuthHeroConfig {
1233
1676
  * hosts through a service binding by inspecting the URL.
1234
1677
  */
1235
1678
  jwksFetch?: (url: string) => Promise<Response>;
1679
+ /**
1680
+ * Optional predicate widening the accepted token issuers beyond
1681
+ * `env.ISSUER` / the inbound host to a deployment's own WFP tenant
1682
+ * subdomains, whose per-tenant control-plane credential `jwksFetch`
1683
+ * resolves locally (see #1139). Consulted before any JWKS fetch; return
1684
+ * `true` only for issuer hosts you serve.
1685
+ */
1686
+ isTrustedIssuer?: (iss: string) => boolean;
1236
1687
  /**
1237
1688
  * Optional receiver for `POST /sync` events emitted by tenant shards via
1238
1689
  * the `ControlPlaneSyncDestination`. Mount on the control-plane authhero
1239
1690
  * instance only. Implementations MUST be idempotent — the outbox retries
1240
- * on transient failures. Use `createApplySyncEvents({ customDomains,
1241
- * proxyRoutes })` (exported from `authhero`) for the default
1242
- * adapter-backed implementation.
1691
+ * on transient failures. Use `createApplySyncEvents({ proxyRoutes })`
1692
+ * (exported from `authhero`) for the default adapter-backed
1693
+ * implementation.
1243
1694
  */
1244
1695
  applySyncEvents?: (events: SyncEvent[]) => Promise<void>;
1696
+ /**
1697
+ * The authoritative custom-domains adapter. When set, mounts
1698
+ * `/api/v2/proxy/control-plane/custom-domains` — the resource tenant
1699
+ * shards write through (`createControlPlaneCustomDomainsAdapter`).
1700
+ *
1701
+ * Pass the Cloudflare adapter wrapping the control-plane database: a
1702
+ * CF-for-SaaS hostname is an account-global resource, so registering it
1703
+ * needs credentials that only exist here, and claiming it exactly once
1704
+ * needs a view across every tenant that only exists here.
1705
+ */
1706
+ customDomains?: _authhero_adapter_interfaces.CustomDomainsAdapter;
1707
+ /**
1708
+ * The authoritative tenant-team resource. When set, mounts
1709
+ * `/api/v2/proxy/control-plane/tenant-members` — the resource tenant shards
1710
+ * call through `createControlPlaneTenantMembersAdapter` so their admins can
1711
+ * manage who administers the tenant (control-plane organization membership
1712
+ * + org-scoped roles + invitations). Wire the backend to the control-plane
1713
+ * database via `createLocalTenantMembersBackend`.
1714
+ */
1715
+ tenantMembers?: TenantMembersControlPlaneOptions;
1245
1716
  };
1246
1717
  /**
1247
- * Optional outbox-driven replication of `custom_domains` and `proxy_routes`
1248
- * mutations to a global proxy control plane. When set, every successful
1249
- * write on this tenant shard enqueues a `controlplane.sync.*` outbox event;
1250
- * the `ControlPlaneSyncDestination` POSTs each event to
1718
+ * Enables the tenant-scoped `/api/v2/tenant-members` management resource,
1719
+ * which lets a tenant admin manage their own team from the per-tenant admin
1720
+ * UI. Every request is pinned to the caller's `org_name` claim, then
1721
+ * delegated to the backend this returns.
1722
+ *
1723
+ * Return `createLocalTenantMembersBackend(...)` on a single-instance /
1724
+ * control-plane deployment (the team lives in the same database), or
1725
+ * `createControlPlaneTenantMembersAdapter(...)` on a Workers-for-Platforms
1726
+ * shard (the team lives on the control plane and is reached over the shared
1727
+ * control-plane client). Leave unset to not mount the resource.
1728
+ */
1729
+ tenantMembers?: {
1730
+ getBackend: GetTenantMembersBackend;
1731
+ };
1732
+ /**
1733
+ * Optional outbox-driven replication of `proxy_routes` mutations to a global
1734
+ * proxy control plane. When set, every successful write on this tenant shard
1735
+ * enqueues a `controlplane.sync.*` outbox event; the
1736
+ * `ControlPlaneSyncDestination` POSTs each event to
1251
1737
  * `${baseUrl}/api/v2/proxy/control-plane/sync`. Requires the outbox to be
1252
1738
  * enabled (`outbox: { enabled: true }`).
1253
1739
  *
1740
+ * Custom domains are NOT replicated this way — the control plane is
1741
+ * authoritative for them; wire `createControlPlaneCustomDomainsAdapter` into
1742
+ * the shard's `dataAdapter` instead.
1743
+ *
1254
1744
  * Leave unset for single-DB deployments — the proxy reads the same database
1255
1745
  * the management API writes to, so replication is unnecessary.
1256
1746
  */
@@ -2612,22 +3102,219 @@ declare class ControlPlaneSyncDestination implements EventDestination {
2612
3102
  }
2613
3103
 
2614
3104
  interface CreateApplySyncEventsOptions {
2615
- customDomains: CustomDomainsAdapter;
2616
- proxyRoutes?: ProxyRoutesAdapter;
3105
+ proxyRoutes: ProxyRoutesAdapter;
2617
3106
  }
2618
3107
  /**
2619
3108
  * Build an idempotent `applySyncEvents` implementation backed by a local
2620
- * `CustomDomainsAdapter` / `ProxyRoutesAdapter`. Handles the three retry
2621
- * shapes the outbox can produce:
3109
+ * `ProxyRoutesAdapter`. Handles the three retry shapes the outbox can produce:
2622
3110
  *
2623
3111
  * - duplicate `created` (retry after the previous succeeded but
2624
3112
  * `markProcessed` failed) — falls back to `update`.
2625
3113
  * - `updated` for a row that doesn't exist locally yet (a `created`
2626
3114
  * delivery is still in flight or lost) — falls back to `create`.
2627
3115
  * - `deleted` for a row that's already gone — no-op success.
3116
+ *
3117
+ * Custom domains are not replicated: the control plane is authoritative for
3118
+ * them and tenant shards write through it (see
3119
+ * `createControlPlaneCustomDomainsAdapter`), so there is no upward sync to
3120
+ * apply.
2628
3121
  */
2629
3122
  declare function createApplySyncEvents(options: CreateApplySyncEventsOptions): (events: SyncEvent[]) => Promise<void>;
2630
3123
 
3124
+ /**
3125
+ * Scope carried by the tokens `ControlPlaneSyncDestination` mints for
3126
+ * `POST /api/v2/proxy/control-plane/sync`.
3127
+ */
3128
+ declare const CONTROL_PLANE_SYNC_SCOPE = "controlplane:sync";
3129
+ /**
3130
+ * Scope required by the authoritative `/custom-domains` resource on the
3131
+ * control plane. Tenant shards mint a token with this scope through
3132
+ * `createControlPlaneCustomDomainsAdapter`.
3133
+ */
3134
+ declare const CONTROL_PLANE_CUSTOM_DOMAINS_SCOPE = "controlplane:custom_domains";
3135
+ /**
3136
+ * Scope required by the authoritative `/tenant-members` resource on the control
3137
+ * plane — a tenant's team (organization membership + org-scoped roles +
3138
+ * invitations) that only the control plane can write. Tenant shards mint a
3139
+ * token with this scope through `createControlPlaneTenantMembersAdapter`.
3140
+ */
3141
+ declare const CONTROL_PLANE_TENANT_MEMBERS_SCOPE = "controlplane:tenant_members";
3142
+
3143
+ /**
3144
+ * Mints a bearer token for a tenant against the control plane. On a tenant
3145
+ * shard this is `createServiceTokenCore` bound to the shard's own tenants/keys
3146
+ * adapters — the control plane verifies it against the shard's published JWKS,
3147
+ * so no shared client secret is involved.
3148
+ */
3149
+ type GetControlPlaneToken = (tenantId: string, scope: string) => Promise<string>;
3150
+ interface ControlPlaneClientOptions {
3151
+ /** Base URL of the control-plane authhero instance, no trailing slash required. */
3152
+ baseUrl: string;
3153
+ getServiceToken: GetControlPlaneToken;
3154
+ /** Per-request timeout (default: 5s). */
3155
+ timeoutMs?: number;
3156
+ /** Refresh a cached token this many seconds before it expires (default: 60). */
3157
+ tokenRefreshSkewSeconds?: number;
3158
+ /** Override for tests, or to route over a Cloudflare service binding. */
3159
+ fetchImpl?: typeof fetch;
3160
+ }
3161
+ interface ControlPlaneRequest {
3162
+ tenantId: string;
3163
+ scope: string;
3164
+ method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
3165
+ /** Path below the base URL, e.g. `/api/v2/proxy/control-plane/custom-domains`. */
3166
+ path: string;
3167
+ body?: unknown;
3168
+ }
3169
+ interface ControlPlaneResponse {
3170
+ status: number;
3171
+ /** Parsed JSON body, or null for empty/non-JSON responses. */
3172
+ data: unknown;
3173
+ }
3174
+ interface ControlPlaneClient {
3175
+ /**
3176
+ * Perform an authed request. Returns the status and parsed body for ANY HTTP
3177
+ * response — including 4xx/5xx — so callers can map status to domain
3178
+ * semantics (409 → conflict, 404 → null). Throws only when the request never
3179
+ * produced a response (network error, timeout, token minting failure).
3180
+ */
3181
+ request(req: ControlPlaneRequest): Promise<ControlPlaneResponse>;
3182
+ }
3183
+ /**
3184
+ * Authed transport to the control plane with an in-memory, per-(tenant, scope)
3185
+ * token cache and single-flight minting. Shared by every control-plane-backed
3186
+ * adapter so the token handling exists once.
3187
+ */
3188
+ declare function createControlPlaneClient(options: ControlPlaneClientOptions): ControlPlaneClient;
3189
+
3190
+ declare const CONTROL_PLANE_CUSTOM_DOMAINS_PATH = "/api/v2/proxy/control-plane/custom-domains";
3191
+ interface ControlPlaneCustomDomainsOptions {
3192
+ /** Authed transport to the control plane. */
3193
+ client: ControlPlaneClient;
3194
+ /**
3195
+ * Local read-cache for custom domains — normally the shard's own database
3196
+ * adapter (`database.customDomains`). The control plane owns the row; this
3197
+ * mirror exists so `getByDomain` (tenant resolution, a hot path) and `list`
3198
+ * don't need a network hop.
3199
+ */
3200
+ mirror: CustomDomainsAdapter;
3201
+ /** Override the control-plane resource path (tests, custom mounts). */
3202
+ basePath?: string;
3203
+ }
3204
+ /**
3205
+ * A `CustomDomainsAdapter` for a tenant shard that cannot register hostnames
3206
+ * itself: a CF-for-SaaS custom hostname is an account-global resource in one
3207
+ * shared zone, and only the control plane holds the account credentials — and
3208
+ * only something above all shards can see that `login.acme.com` is already
3209
+ * claimed by another tenant.
3210
+ *
3211
+ * So the control plane is authoritative: writes go there synchronously and the
3212
+ * result is mirrored into the shard's own database as a read cache. On a
3213
+ * conflict nothing is written locally, which is what prevents the
3214
+ * half-provisioned, unroutable row this replaces.
3215
+ *
3216
+ * Reads trust the mirror once a domain is `ready`. A `pending` domain flips to
3217
+ * `ready` on Cloudflare's timeline (after the customer adds the DV record) and
3218
+ * that transition happens at the control plane, so a non-ready row is
3219
+ * refreshed from upstream on read. `getByDomain` always reads the mirror — it
3220
+ * is on the tenant-resolution path and must not take a network hop.
3221
+ */
3222
+ declare function createControlPlaneCustomDomainsAdapter(options: ControlPlaneCustomDomainsOptions): CustomDomainsAdapter;
3223
+
3224
+ /** The control-plane adapters the team lives in. */
3225
+ type TeamAdapters = Pick<DataAdapters, "organizations" | "userOrganizations" | "userRoles" | "users" | "roles" | "invites">;
3226
+ interface LocalTenantMembersBackendOptions {
3227
+ /**
3228
+ * Adapters bound to the CONTROL-PLANE database — the team lives there, not on
3229
+ * the tenant shard. On the control-plane instance this is just `ctx.env.data`.
3230
+ */
3231
+ data: TeamAdapters;
3232
+ /** Tenant id under which the org rows are stored (the control-plane tenant). */
3233
+ controlPlaneTenantId: string;
3234
+ /** Issuer used to build invitation acceptance links and default avatars. */
3235
+ issuer: string;
3236
+ /**
3237
+ * Client id embedded in invitation links. Resolved server-side so the caller
3238
+ * never supplies it (the admin-UI bug this fixes). Without it, invitations
3239
+ * cannot be created and `createInvitation` throws.
3240
+ */
3241
+ invitationClientId?: string;
3242
+ /**
3243
+ * Best-effort invitation email delivery. Bound to a request context at the
3244
+ * call site (it needs branding/email infra). Failures must not fail the
3245
+ * create — Auth0 returns the invite even when delivery fails.
3246
+ */
3247
+ sendInvitationEmail?: (params: {
3248
+ to: string;
3249
+ invitationUrl: string;
3250
+ inviterName?: string;
3251
+ organizationName: string;
3252
+ ttlSec: number;
3253
+ }) => Promise<void>;
3254
+ }
3255
+ /**
3256
+ * A `TenantMembersBackend` that resolves the tenant's control-plane
3257
+ * organization and manages membership/roles/invitations directly against the
3258
+ * control-plane adapters. Used where the code already runs with the
3259
+ * control-plane database in reach: single-instance deployments (via the
3260
+ * management route) and the control-plane proxy resource (which fronts remote
3261
+ * shards).
3262
+ */
3263
+ declare function createLocalTenantMembersBackend(options: LocalTenantMembersBackendOptions): TenantMembersBackend;
3264
+
3265
+ interface ControlPlaneTenantMembersOptions {
3266
+ /** Authed transport to the control plane (shared with other adapters). */
3267
+ client: ControlPlaneClient;
3268
+ /** Override the control-plane resource path (tests, custom mounts). */
3269
+ basePath?: string;
3270
+ }
3271
+ /**
3272
+ * A `TenantMembersBackend` for a tenant shard whose own database does not hold
3273
+ * the control-plane organization that models its team. Every call is delegated
3274
+ * up to the authoritative `tenant-members` resource
3275
+ * (`createTenantMembersControlPlaneApp`) over the shared control-plane client,
3276
+ * which mints a service token bound to this tenant. The control plane pins the
3277
+ * org from that token, so the shard never has to (and cannot) name it.
3278
+ */
3279
+ declare function createControlPlaneTenantMembersAdapter(options: ControlPlaneTenantMembersOptions): TenantMembersBackend;
3280
+
3281
+ /**
3282
+ * The HTTP contract shared by the control-plane `tenant-members` resource
3283
+ * (`createTenantMembersControlPlaneApp`) and the remote client that calls it
3284
+ * (`createControlPlaneTenantMembersAdapter`). Keeping the paths and body shapes
3285
+ * in one place is what keeps the two ends from drifting.
3286
+ */
3287
+ declare const CONTROL_PLANE_TENANT_MEMBERS_PATH = "/api/v2/proxy/control-plane/tenant-members";
3288
+
3289
+ interface ServiceTokenResponse {
3290
+ access_token: string;
3291
+ token_type: "Bearer";
3292
+ expires_in: number;
3293
+ }
3294
+ interface CreateServiceTokenCoreParams {
3295
+ tenants: TenantsDataAdapter;
3296
+ keys: KeysAdapter;
3297
+ tenantId: string;
3298
+ scope: string;
3299
+ issuer: string;
3300
+ expiresInSeconds?: number;
3301
+ customClaims?: Record<string, unknown>;
3302
+ /**
3303
+ * Optional per-tenant signing-key bucket selector. When unset the
3304
+ * tenant uses the shared control-plane keys (legacy behavior) which
3305
+ * keeps existing outbox/cron callers working without any change.
3306
+ */
3307
+ signingKeyMode?: SigningKeyModeOption;
3308
+ }
3309
+ /**
3310
+ * Ctx-free service token minter. Produces a signed JWT for the `auth-service`
3311
+ * client using the tenant's current JWT signing key. Intended to be shared
3312
+ * between the request-time outbox dispatcher and the cron `runOutboxRelay`
3313
+ * helper so both paths emit tokens with identical issuer, subject, tenant
3314
+ * binding, and signing key.
3315
+ */
3316
+ declare function createServiceTokenCore(params: CreateServiceTokenCoreParams): Promise<ServiceTokenResponse>;
3317
+
2631
3318
  interface KvPublishOptions {
2632
3319
  /** Custom-domains adapter whose writes should be mirrored to KV. */
2633
3320
  customDomains: CustomDomainsAdapter;
@@ -2831,6 +3518,13 @@ declare function wrapTenantsAdapterWithWfpKvPublish(options: WfpTenantsKvPublish
2831
3518
  declare function isAllowedIssuer(iss: string, expected: string): boolean;
2832
3519
  type VerifyControlPlaneTokenResult = {
2833
3520
  ok: true;
3521
+ /**
3522
+ * The verified `tenant_id` claim, when the token carries one. Service
3523
+ * tokens minted by `createServiceTokenCore` always do; a client-credentials
3524
+ * token minted for a proxy may not. Callers that act on a tenant's data
3525
+ * MUST bind to this rather than to a tenant id taken from the request.
3526
+ */
3527
+ tenantId?: string;
2834
3528
  } | {
2835
3529
  ok: false;
2836
3530
  reason: string;
@@ -2847,8 +3541,26 @@ interface VerifyControlPlaneTokenOptions {
2847
3541
  * so any host you list here must publish its own JWKS at that path.
2848
3542
  */
2849
3543
  expectedIssuers: string[];
2850
- /** Required `scope` (space-separated). Defaults to `proxy:resolve_host`. */
2851
- requiredScope?: string;
3544
+ /**
3545
+ * Required `scope` (the token's `scope` claim is space-separated). Pass an
3546
+ * array to accept any one of several scopes. Defaults to
3547
+ * `proxy:resolve_host`.
3548
+ */
3549
+ requiredScope?: string | string[];
3550
+ /**
3551
+ * Optional predicate consulted IN ADDITION to `expectedIssuers`, for issuers
3552
+ * that can't be enumerated ahead of time — specifically a deployment's own
3553
+ * Workers-for-Platforms tenant subdomains (`https://{tenant}.{host}/`), whose
3554
+ * per-tenant control-plane credential the accompanying `jwksFetch` resolves
3555
+ * locally (see #1139).
3556
+ *
3557
+ * Like `expectedIssuers`, it runs BEFORE the JWKS fetch, so it still gates
3558
+ * where the verifier will fetch keys from: return `true` only for issuer
3559
+ * hosts you actually serve. The signature must still verify against the
3560
+ * resolved key, so this does not broaden trust beyond "a caller holding that
3561
+ * tenant's registered private key."
3562
+ */
3563
+ isTrustedIssuer?: (iss: string) => boolean;
2852
3564
  }
2853
3565
  /**
2854
3566
  * Verify a bearer token for the proxy control plane. Returns `{ ok: true }`
@@ -2856,8 +3568,8 @@ interface VerifyControlPlaneTokenOptions {
2856
3568
  * logs only and must not be surfaced to the caller.
2857
3569
  *
2858
3570
  * Accepted algs: RS256/384/512, ES256/384/512. The JWK's `alg` must match
2859
- * the token header's `alg`. The token must carry the configured required
2860
- * scope (`proxy:resolve_host` by default) and an `iss` that strictly equals
3571
+ * the token header's `alg`. The token must carry one of the configured
3572
+ * required scopes (`proxy:resolve_host` by default) and an `iss` that strictly equals
2861
3573
  * one of `expectedIssuers` after URL normalization. The JWKS document is
2862
3574
  * fetched from `<iss>/.well-known/jwks.json` AFTER the `iss` is allow-listed,
2863
3575
  * so an attacker cannot redirect the verifier to a JWKS they control.
@@ -3402,7 +4114,7 @@ declare function init(config: AuthHeroConfig): {
3402
4114
  };
3403
4115
  } & {
3404
4116
  json: {
3405
- type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
4117
+ type: "email" | "push" | "passkey" | "webauthn-roaming" | "webauthn-platform" | "phone" | "totp";
3406
4118
  phone_number?: string | undefined;
3407
4119
  totp_secret?: string | undefined;
3408
4120
  credential_id?: string | undefined;
@@ -3542,7 +4254,7 @@ declare function init(config: AuthHeroConfig): {
3542
4254
  };
3543
4255
  };
3544
4256
  output: {
3545
- name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
4257
+ name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
3546
4258
  enabled: boolean;
3547
4259
  trial_expired?: boolean | undefined;
3548
4260
  }[];
@@ -3697,7 +4409,7 @@ declare function init(config: AuthHeroConfig): {
3697
4409
  $get: {
3698
4410
  input: {
3699
4411
  param: {
3700
- factor_name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
4412
+ factor_name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
3701
4413
  };
3702
4414
  } & {
3703
4415
  header: {
@@ -3705,7 +4417,7 @@ declare function init(config: AuthHeroConfig): {
3705
4417
  };
3706
4418
  };
3707
4419
  output: {
3708
- name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
4420
+ name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
3709
4421
  enabled: boolean;
3710
4422
  trial_expired?: boolean | undefined;
3711
4423
  };
@@ -3718,7 +4430,7 @@ declare function init(config: AuthHeroConfig): {
3718
4430
  $put: {
3719
4431
  input: {
3720
4432
  param: {
3721
- factor_name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
4433
+ factor_name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
3722
4434
  };
3723
4435
  } & {
3724
4436
  header: {
@@ -3730,7 +4442,7 @@ declare function init(config: AuthHeroConfig): {
3730
4442
  };
3731
4443
  };
3732
4444
  output: {
3733
- name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
4445
+ name: "email" | "sms" | "otp" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
3734
4446
  enabled: boolean;
3735
4447
  trial_expired?: boolean | undefined;
3736
4448
  };
@@ -4501,20 +5213,20 @@ declare function init(config: AuthHeroConfig): {
4501
5213
  };
4502
5214
  } & {
4503
5215
  json: {
4504
- client_id: string;
4505
- inviter: {
4506
- name?: string | undefined;
4507
- };
4508
5216
  invitee: {
4509
5217
  email?: string | undefined;
4510
5218
  };
4511
- roles?: string[] | undefined;
5219
+ inviter: {
5220
+ name?: string | undefined;
5221
+ };
5222
+ client_id: string;
4512
5223
  id?: string | undefined;
5224
+ roles?: string[] | undefined;
5225
+ send_invitation_email?: boolean | undefined;
5226
+ ttl_sec?: number | undefined;
5227
+ connection_id?: string | undefined;
4513
5228
  app_metadata?: Record<string, any> | undefined;
4514
5229
  user_metadata?: Record<string, any> | undefined;
4515
- connection_id?: string | undefined;
4516
- ttl_sec?: number | undefined;
4517
- send_invitation_email?: boolean | undefined;
4518
5230
  };
4519
5231
  };
4520
5232
  output: {
@@ -5270,8 +5982,8 @@ declare function init(config: AuthHeroConfig): {
5270
5982
  } & {
5271
5983
  query: {
5272
5984
  page?: string | undefined;
5273
- include_totals?: string | undefined;
5274
5985
  from?: string | undefined;
5986
+ include_totals?: string | undefined;
5275
5987
  per_page?: string | undefined;
5276
5988
  take?: string | undefined;
5277
5989
  };
@@ -5994,7 +6706,7 @@ declare function init(config: AuthHeroConfig): {
5994
6706
  hint?: string | undefined;
5995
6707
  messages?: {
5996
6708
  text: string;
5997
- type: "error" | "success" | "info" | "warning";
6709
+ type: "success" | "error" | "info" | "warning";
5998
6710
  id?: number | undefined;
5999
6711
  }[] | undefined;
6000
6712
  required?: boolean | undefined;
@@ -6012,7 +6724,7 @@ declare function init(config: AuthHeroConfig): {
6012
6724
  hint?: string | undefined;
6013
6725
  messages?: {
6014
6726
  text: string;
6015
- type: "error" | "success" | "info" | "warning";
6727
+ type: "success" | "error" | "info" | "warning";
6016
6728
  id?: number | undefined;
6017
6729
  }[] | undefined;
6018
6730
  required?: boolean | undefined;
@@ -6036,7 +6748,7 @@ declare function init(config: AuthHeroConfig): {
6036
6748
  hint?: string | undefined;
6037
6749
  messages?: {
6038
6750
  text: string;
6039
- type: "error" | "success" | "info" | "warning";
6751
+ type: "success" | "error" | "info" | "warning";
6040
6752
  id?: number | undefined;
6041
6753
  }[] | undefined;
6042
6754
  required?: boolean | undefined;
@@ -6060,7 +6772,7 @@ declare function init(config: AuthHeroConfig): {
6060
6772
  hint?: string | undefined;
6061
6773
  messages?: {
6062
6774
  text: string;
6063
- type: "error" | "success" | "info" | "warning";
6775
+ type: "success" | "error" | "info" | "warning";
6064
6776
  id?: number | undefined;
6065
6777
  }[] | undefined;
6066
6778
  required?: boolean | undefined;
@@ -6084,7 +6796,7 @@ declare function init(config: AuthHeroConfig): {
6084
6796
  hint?: string | undefined;
6085
6797
  messages?: {
6086
6798
  text: string;
6087
- type: "error" | "success" | "info" | "warning";
6799
+ type: "success" | "error" | "info" | "warning";
6088
6800
  id?: number | undefined;
6089
6801
  }[] | undefined;
6090
6802
  required?: boolean | undefined;
@@ -6113,7 +6825,7 @@ declare function init(config: AuthHeroConfig): {
6113
6825
  hint?: string | undefined;
6114
6826
  messages?: {
6115
6827
  text: string;
6116
- type: "error" | "success" | "info" | "warning";
6828
+ type: "success" | "error" | "info" | "warning";
6117
6829
  id?: number | undefined;
6118
6830
  }[] | undefined;
6119
6831
  required?: boolean | undefined;
@@ -6128,7 +6840,7 @@ declare function init(config: AuthHeroConfig): {
6128
6840
  hint?: string | undefined;
6129
6841
  messages?: {
6130
6842
  text: string;
6131
- type: "error" | "success" | "info" | "warning";
6843
+ type: "success" | "error" | "info" | "warning";
6132
6844
  id?: number | undefined;
6133
6845
  }[] | undefined;
6134
6846
  required?: boolean | undefined;
@@ -6149,7 +6861,7 @@ declare function init(config: AuthHeroConfig): {
6149
6861
  hint?: string | undefined;
6150
6862
  messages?: {
6151
6863
  text: string;
6152
- type: "error" | "success" | "info" | "warning";
6864
+ type: "success" | "error" | "info" | "warning";
6153
6865
  id?: number | undefined;
6154
6866
  }[] | undefined;
6155
6867
  required?: boolean | undefined;
@@ -6174,7 +6886,7 @@ declare function init(config: AuthHeroConfig): {
6174
6886
  hint?: string | undefined;
6175
6887
  messages?: {
6176
6888
  text: string;
6177
- type: "error" | "success" | "info" | "warning";
6889
+ type: "success" | "error" | "info" | "warning";
6178
6890
  id?: number | undefined;
6179
6891
  }[] | undefined;
6180
6892
  required?: boolean | undefined;
@@ -6193,7 +6905,7 @@ declare function init(config: AuthHeroConfig): {
6193
6905
  hint?: string | undefined;
6194
6906
  messages?: {
6195
6907
  text: string;
6196
- type: "error" | "success" | "info" | "warning";
6908
+ type: "success" | "error" | "info" | "warning";
6197
6909
  id?: number | undefined;
6198
6910
  }[] | undefined;
6199
6911
  required?: boolean | undefined;
@@ -6213,7 +6925,7 @@ declare function init(config: AuthHeroConfig): {
6213
6925
  hint?: string | undefined;
6214
6926
  messages?: {
6215
6927
  text: string;
6216
- type: "error" | "success" | "info" | "warning";
6928
+ type: "success" | "error" | "info" | "warning";
6217
6929
  id?: number | undefined;
6218
6930
  }[] | undefined;
6219
6931
  required?: boolean | undefined;
@@ -6232,7 +6944,7 @@ declare function init(config: AuthHeroConfig): {
6232
6944
  hint?: string | undefined;
6233
6945
  messages?: {
6234
6946
  text: string;
6235
- type: "error" | "success" | "info" | "warning";
6947
+ type: "success" | "error" | "info" | "warning";
6236
6948
  id?: number | undefined;
6237
6949
  }[] | undefined;
6238
6950
  required?: boolean | undefined;
@@ -6254,7 +6966,7 @@ declare function init(config: AuthHeroConfig): {
6254
6966
  hint?: string | undefined;
6255
6967
  messages?: {
6256
6968
  text: string;
6257
- type: "error" | "success" | "info" | "warning";
6969
+ type: "success" | "error" | "info" | "warning";
6258
6970
  id?: number | undefined;
6259
6971
  }[] | undefined;
6260
6972
  required?: boolean | undefined;
@@ -6276,7 +6988,7 @@ declare function init(config: AuthHeroConfig): {
6276
6988
  hint?: string | undefined;
6277
6989
  messages?: {
6278
6990
  text: string;
6279
- type: "error" | "success" | "info" | "warning";
6991
+ type: "success" | "error" | "info" | "warning";
6280
6992
  id?: number | undefined;
6281
6993
  }[] | undefined;
6282
6994
  required?: boolean | undefined;
@@ -6295,7 +7007,7 @@ declare function init(config: AuthHeroConfig): {
6295
7007
  hint?: string | undefined;
6296
7008
  messages?: {
6297
7009
  text: string;
6298
- type: "error" | "success" | "info" | "warning";
7010
+ type: "success" | "error" | "info" | "warning";
6299
7011
  id?: number | undefined;
6300
7012
  }[] | undefined;
6301
7013
  required?: boolean | undefined;
@@ -6320,7 +7032,7 @@ declare function init(config: AuthHeroConfig): {
6320
7032
  hint?: string | undefined;
6321
7033
  messages?: {
6322
7034
  text: string;
6323
- type: "error" | "success" | "info" | "warning";
7035
+ type: "success" | "error" | "info" | "warning";
6324
7036
  id?: number | undefined;
6325
7037
  }[] | undefined;
6326
7038
  required?: boolean | undefined;
@@ -6341,7 +7053,7 @@ declare function init(config: AuthHeroConfig): {
6341
7053
  hint?: string | undefined;
6342
7054
  messages?: {
6343
7055
  text: string;
6344
- type: "error" | "success" | "info" | "warning";
7056
+ type: "success" | "error" | "info" | "warning";
6345
7057
  id?: number | undefined;
6346
7058
  }[] | undefined;
6347
7059
  required?: boolean | undefined;
@@ -6362,7 +7074,7 @@ declare function init(config: AuthHeroConfig): {
6362
7074
  hint?: string | undefined;
6363
7075
  messages?: {
6364
7076
  text: string;
6365
- type: "error" | "success" | "info" | "warning";
7077
+ type: "success" | "error" | "info" | "warning";
6366
7078
  id?: number | undefined;
6367
7079
  }[] | undefined;
6368
7080
  required?: boolean | undefined;
@@ -6595,7 +7307,7 @@ declare function init(config: AuthHeroConfig): {
6595
7307
  hint?: string | undefined;
6596
7308
  messages?: {
6597
7309
  text: string;
6598
- type: "error" | "success" | "info" | "warning";
7310
+ type: "success" | "error" | "info" | "warning";
6599
7311
  id?: number | undefined;
6600
7312
  }[] | undefined;
6601
7313
  required?: boolean | undefined;
@@ -6613,7 +7325,7 @@ declare function init(config: AuthHeroConfig): {
6613
7325
  hint?: string | undefined;
6614
7326
  messages?: {
6615
7327
  text: string;
6616
- type: "error" | "success" | "info" | "warning";
7328
+ type: "success" | "error" | "info" | "warning";
6617
7329
  id?: number | undefined;
6618
7330
  }[] | undefined;
6619
7331
  required?: boolean | undefined;
@@ -6637,7 +7349,7 @@ declare function init(config: AuthHeroConfig): {
6637
7349
  hint?: string | undefined;
6638
7350
  messages?: {
6639
7351
  text: string;
6640
- type: "error" | "success" | "info" | "warning";
7352
+ type: "success" | "error" | "info" | "warning";
6641
7353
  id?: number | undefined;
6642
7354
  }[] | undefined;
6643
7355
  required?: boolean | undefined;
@@ -6661,7 +7373,7 @@ declare function init(config: AuthHeroConfig): {
6661
7373
  hint?: string | undefined;
6662
7374
  messages?: {
6663
7375
  text: string;
6664
- type: "error" | "success" | "info" | "warning";
7376
+ type: "success" | "error" | "info" | "warning";
6665
7377
  id?: number | undefined;
6666
7378
  }[] | undefined;
6667
7379
  required?: boolean | undefined;
@@ -6685,7 +7397,7 @@ declare function init(config: AuthHeroConfig): {
6685
7397
  hint?: string | undefined;
6686
7398
  messages?: {
6687
7399
  text: string;
6688
- type: "error" | "success" | "info" | "warning";
7400
+ type: "success" | "error" | "info" | "warning";
6689
7401
  id?: number | undefined;
6690
7402
  }[] | undefined;
6691
7403
  required?: boolean | undefined;
@@ -6714,7 +7426,7 @@ declare function init(config: AuthHeroConfig): {
6714
7426
  hint?: string | undefined;
6715
7427
  messages?: {
6716
7428
  text: string;
6717
- type: "error" | "success" | "info" | "warning";
7429
+ type: "success" | "error" | "info" | "warning";
6718
7430
  id?: number | undefined;
6719
7431
  }[] | undefined;
6720
7432
  required?: boolean | undefined;
@@ -6729,7 +7441,7 @@ declare function init(config: AuthHeroConfig): {
6729
7441
  hint?: string | undefined;
6730
7442
  messages?: {
6731
7443
  text: string;
6732
- type: "error" | "success" | "info" | "warning";
7444
+ type: "success" | "error" | "info" | "warning";
6733
7445
  id?: number | undefined;
6734
7446
  }[] | undefined;
6735
7447
  required?: boolean | undefined;
@@ -6750,7 +7462,7 @@ declare function init(config: AuthHeroConfig): {
6750
7462
  hint?: string | undefined;
6751
7463
  messages?: {
6752
7464
  text: string;
6753
- type: "error" | "success" | "info" | "warning";
7465
+ type: "success" | "error" | "info" | "warning";
6754
7466
  id?: number | undefined;
6755
7467
  }[] | undefined;
6756
7468
  required?: boolean | undefined;
@@ -6775,7 +7487,7 @@ declare function init(config: AuthHeroConfig): {
6775
7487
  hint?: string | undefined;
6776
7488
  messages?: {
6777
7489
  text: string;
6778
- type: "error" | "success" | "info" | "warning";
7490
+ type: "success" | "error" | "info" | "warning";
6779
7491
  id?: number | undefined;
6780
7492
  }[] | undefined;
6781
7493
  required?: boolean | undefined;
@@ -6794,7 +7506,7 @@ declare function init(config: AuthHeroConfig): {
6794
7506
  hint?: string | undefined;
6795
7507
  messages?: {
6796
7508
  text: string;
6797
- type: "error" | "success" | "info" | "warning";
7509
+ type: "success" | "error" | "info" | "warning";
6798
7510
  id?: number | undefined;
6799
7511
  }[] | undefined;
6800
7512
  required?: boolean | undefined;
@@ -6814,7 +7526,7 @@ declare function init(config: AuthHeroConfig): {
6814
7526
  hint?: string | undefined;
6815
7527
  messages?: {
6816
7528
  text: string;
6817
- type: "error" | "success" | "info" | "warning";
7529
+ type: "success" | "error" | "info" | "warning";
6818
7530
  id?: number | undefined;
6819
7531
  }[] | undefined;
6820
7532
  required?: boolean | undefined;
@@ -6833,7 +7545,7 @@ declare function init(config: AuthHeroConfig): {
6833
7545
  hint?: string | undefined;
6834
7546
  messages?: {
6835
7547
  text: string;
6836
- type: "error" | "success" | "info" | "warning";
7548
+ type: "success" | "error" | "info" | "warning";
6837
7549
  id?: number | undefined;
6838
7550
  }[] | undefined;
6839
7551
  required?: boolean | undefined;
@@ -6855,7 +7567,7 @@ declare function init(config: AuthHeroConfig): {
6855
7567
  hint?: string | undefined;
6856
7568
  messages?: {
6857
7569
  text: string;
6858
- type: "error" | "success" | "info" | "warning";
7570
+ type: "success" | "error" | "info" | "warning";
6859
7571
  id?: number | undefined;
6860
7572
  }[] | undefined;
6861
7573
  required?: boolean | undefined;
@@ -6877,7 +7589,7 @@ declare function init(config: AuthHeroConfig): {
6877
7589
  hint?: string | undefined;
6878
7590
  messages?: {
6879
7591
  text: string;
6880
- type: "error" | "success" | "info" | "warning";
7592
+ type: "success" | "error" | "info" | "warning";
6881
7593
  id?: number | undefined;
6882
7594
  }[] | undefined;
6883
7595
  required?: boolean | undefined;
@@ -6896,7 +7608,7 @@ declare function init(config: AuthHeroConfig): {
6896
7608
  hint?: string | undefined;
6897
7609
  messages?: {
6898
7610
  text: string;
6899
- type: "error" | "success" | "info" | "warning";
7611
+ type: "success" | "error" | "info" | "warning";
6900
7612
  id?: number | undefined;
6901
7613
  }[] | undefined;
6902
7614
  required?: boolean | undefined;
@@ -6921,7 +7633,7 @@ declare function init(config: AuthHeroConfig): {
6921
7633
  hint?: string | undefined;
6922
7634
  messages?: {
6923
7635
  text: string;
6924
- type: "error" | "success" | "info" | "warning";
7636
+ type: "success" | "error" | "info" | "warning";
6925
7637
  id?: number | undefined;
6926
7638
  }[] | undefined;
6927
7639
  required?: boolean | undefined;
@@ -6942,7 +7654,7 @@ declare function init(config: AuthHeroConfig): {
6942
7654
  hint?: string | undefined;
6943
7655
  messages?: {
6944
7656
  text: string;
6945
- type: "error" | "success" | "info" | "warning";
7657
+ type: "success" | "error" | "info" | "warning";
6946
7658
  id?: number | undefined;
6947
7659
  }[] | undefined;
6948
7660
  required?: boolean | undefined;
@@ -6963,7 +7675,7 @@ declare function init(config: AuthHeroConfig): {
6963
7675
  hint?: string | undefined;
6964
7676
  messages?: {
6965
7677
  text: string;
6966
- type: "error" | "success" | "info" | "warning";
7678
+ type: "success" | "error" | "info" | "warning";
6967
7679
  id?: number | undefined;
6968
7680
  }[] | undefined;
6969
7681
  required?: boolean | undefined;
@@ -7212,7 +7924,7 @@ declare function init(config: AuthHeroConfig): {
7212
7924
  hint?: string | undefined;
7213
7925
  messages?: {
7214
7926
  text: string;
7215
- type: "error" | "success" | "info" | "warning";
7927
+ type: "success" | "error" | "info" | "warning";
7216
7928
  id?: number | undefined;
7217
7929
  }[] | undefined;
7218
7930
  required?: boolean | undefined;
@@ -7230,7 +7942,7 @@ declare function init(config: AuthHeroConfig): {
7230
7942
  hint?: string | undefined;
7231
7943
  messages?: {
7232
7944
  text: string;
7233
- type: "error" | "success" | "info" | "warning";
7945
+ type: "success" | "error" | "info" | "warning";
7234
7946
  id?: number | undefined;
7235
7947
  }[] | undefined;
7236
7948
  required?: boolean | undefined;
@@ -7254,7 +7966,7 @@ declare function init(config: AuthHeroConfig): {
7254
7966
  hint?: string | undefined;
7255
7967
  messages?: {
7256
7968
  text: string;
7257
- type: "error" | "success" | "info" | "warning";
7969
+ type: "success" | "error" | "info" | "warning";
7258
7970
  id?: number | undefined;
7259
7971
  }[] | undefined;
7260
7972
  required?: boolean | undefined;
@@ -7278,7 +7990,7 @@ declare function init(config: AuthHeroConfig): {
7278
7990
  hint?: string | undefined;
7279
7991
  messages?: {
7280
7992
  text: string;
7281
- type: "error" | "success" | "info" | "warning";
7993
+ type: "success" | "error" | "info" | "warning";
7282
7994
  id?: number | undefined;
7283
7995
  }[] | undefined;
7284
7996
  required?: boolean | undefined;
@@ -7302,7 +8014,7 @@ declare function init(config: AuthHeroConfig): {
7302
8014
  hint?: string | undefined;
7303
8015
  messages?: {
7304
8016
  text: string;
7305
- type: "error" | "success" | "info" | "warning";
8017
+ type: "success" | "error" | "info" | "warning";
7306
8018
  id?: number | undefined;
7307
8019
  }[] | undefined;
7308
8020
  required?: boolean | undefined;
@@ -7331,7 +8043,7 @@ declare function init(config: AuthHeroConfig): {
7331
8043
  hint?: string | undefined;
7332
8044
  messages?: {
7333
8045
  text: string;
7334
- type: "error" | "success" | "info" | "warning";
8046
+ type: "success" | "error" | "info" | "warning";
7335
8047
  id?: number | undefined;
7336
8048
  }[] | undefined;
7337
8049
  required?: boolean | undefined;
@@ -7346,7 +8058,7 @@ declare function init(config: AuthHeroConfig): {
7346
8058
  hint?: string | undefined;
7347
8059
  messages?: {
7348
8060
  text: string;
7349
- type: "error" | "success" | "info" | "warning";
8061
+ type: "success" | "error" | "info" | "warning";
7350
8062
  id?: number | undefined;
7351
8063
  }[] | undefined;
7352
8064
  required?: boolean | undefined;
@@ -7367,7 +8079,7 @@ declare function init(config: AuthHeroConfig): {
7367
8079
  hint?: string | undefined;
7368
8080
  messages?: {
7369
8081
  text: string;
7370
- type: "error" | "success" | "info" | "warning";
8082
+ type: "success" | "error" | "info" | "warning";
7371
8083
  id?: number | undefined;
7372
8084
  }[] | undefined;
7373
8085
  required?: boolean | undefined;
@@ -7392,7 +8104,7 @@ declare function init(config: AuthHeroConfig): {
7392
8104
  hint?: string | undefined;
7393
8105
  messages?: {
7394
8106
  text: string;
7395
- type: "error" | "success" | "info" | "warning";
8107
+ type: "success" | "error" | "info" | "warning";
7396
8108
  id?: number | undefined;
7397
8109
  }[] | undefined;
7398
8110
  required?: boolean | undefined;
@@ -7411,7 +8123,7 @@ declare function init(config: AuthHeroConfig): {
7411
8123
  hint?: string | undefined;
7412
8124
  messages?: {
7413
8125
  text: string;
7414
- type: "error" | "success" | "info" | "warning";
8126
+ type: "success" | "error" | "info" | "warning";
7415
8127
  id?: number | undefined;
7416
8128
  }[] | undefined;
7417
8129
  required?: boolean | undefined;
@@ -7431,7 +8143,7 @@ declare function init(config: AuthHeroConfig): {
7431
8143
  hint?: string | undefined;
7432
8144
  messages?: {
7433
8145
  text: string;
7434
- type: "error" | "success" | "info" | "warning";
8146
+ type: "success" | "error" | "info" | "warning";
7435
8147
  id?: number | undefined;
7436
8148
  }[] | undefined;
7437
8149
  required?: boolean | undefined;
@@ -7450,7 +8162,7 @@ declare function init(config: AuthHeroConfig): {
7450
8162
  hint?: string | undefined;
7451
8163
  messages?: {
7452
8164
  text: string;
7453
- type: "error" | "success" | "info" | "warning";
8165
+ type: "success" | "error" | "info" | "warning";
7454
8166
  id?: number | undefined;
7455
8167
  }[] | undefined;
7456
8168
  required?: boolean | undefined;
@@ -7472,7 +8184,7 @@ declare function init(config: AuthHeroConfig): {
7472
8184
  hint?: string | undefined;
7473
8185
  messages?: {
7474
8186
  text: string;
7475
- type: "error" | "success" | "info" | "warning";
8187
+ type: "success" | "error" | "info" | "warning";
7476
8188
  id?: number | undefined;
7477
8189
  }[] | undefined;
7478
8190
  required?: boolean | undefined;
@@ -7494,7 +8206,7 @@ declare function init(config: AuthHeroConfig): {
7494
8206
  hint?: string | undefined;
7495
8207
  messages?: {
7496
8208
  text: string;
7497
- type: "error" | "success" | "info" | "warning";
8209
+ type: "success" | "error" | "info" | "warning";
7498
8210
  id?: number | undefined;
7499
8211
  }[] | undefined;
7500
8212
  required?: boolean | undefined;
@@ -7513,7 +8225,7 @@ declare function init(config: AuthHeroConfig): {
7513
8225
  hint?: string | undefined;
7514
8226
  messages?: {
7515
8227
  text: string;
7516
- type: "error" | "success" | "info" | "warning";
8228
+ type: "success" | "error" | "info" | "warning";
7517
8229
  id?: number | undefined;
7518
8230
  }[] | undefined;
7519
8231
  required?: boolean | undefined;
@@ -7538,7 +8250,7 @@ declare function init(config: AuthHeroConfig): {
7538
8250
  hint?: string | undefined;
7539
8251
  messages?: {
7540
8252
  text: string;
7541
- type: "error" | "success" | "info" | "warning";
8253
+ type: "success" | "error" | "info" | "warning";
7542
8254
  id?: number | undefined;
7543
8255
  }[] | undefined;
7544
8256
  required?: boolean | undefined;
@@ -7559,7 +8271,7 @@ declare function init(config: AuthHeroConfig): {
7559
8271
  hint?: string | undefined;
7560
8272
  messages?: {
7561
8273
  text: string;
7562
- type: "error" | "success" | "info" | "warning";
8274
+ type: "success" | "error" | "info" | "warning";
7563
8275
  id?: number | undefined;
7564
8276
  }[] | undefined;
7565
8277
  required?: boolean | undefined;
@@ -7580,7 +8292,7 @@ declare function init(config: AuthHeroConfig): {
7580
8292
  hint?: string | undefined;
7581
8293
  messages?: {
7582
8294
  text: string;
7583
- type: "error" | "success" | "info" | "warning";
8295
+ type: "success" | "error" | "info" | "warning";
7584
8296
  id?: number | undefined;
7585
8297
  }[] | undefined;
7586
8298
  required?: boolean | undefined;
@@ -7834,7 +8546,7 @@ declare function init(config: AuthHeroConfig): {
7834
8546
  hint?: string | undefined;
7835
8547
  messages?: {
7836
8548
  text: string;
7837
- type: "error" | "success" | "info" | "warning";
8549
+ type: "success" | "error" | "info" | "warning";
7838
8550
  id?: number | undefined;
7839
8551
  }[] | undefined;
7840
8552
  required?: boolean | undefined;
@@ -7852,7 +8564,7 @@ declare function init(config: AuthHeroConfig): {
7852
8564
  hint?: string | undefined;
7853
8565
  messages?: {
7854
8566
  text: string;
7855
- type: "error" | "success" | "info" | "warning";
8567
+ type: "success" | "error" | "info" | "warning";
7856
8568
  id?: number | undefined;
7857
8569
  }[] | undefined;
7858
8570
  required?: boolean | undefined;
@@ -7876,7 +8588,7 @@ declare function init(config: AuthHeroConfig): {
7876
8588
  hint?: string | undefined;
7877
8589
  messages?: {
7878
8590
  text: string;
7879
- type: "error" | "success" | "info" | "warning";
8591
+ type: "success" | "error" | "info" | "warning";
7880
8592
  id?: number | undefined;
7881
8593
  }[] | undefined;
7882
8594
  required?: boolean | undefined;
@@ -7900,7 +8612,7 @@ declare function init(config: AuthHeroConfig): {
7900
8612
  hint?: string | undefined;
7901
8613
  messages?: {
7902
8614
  text: string;
7903
- type: "error" | "success" | "info" | "warning";
8615
+ type: "success" | "error" | "info" | "warning";
7904
8616
  id?: number | undefined;
7905
8617
  }[] | undefined;
7906
8618
  required?: boolean | undefined;
@@ -7924,7 +8636,7 @@ declare function init(config: AuthHeroConfig): {
7924
8636
  hint?: string | undefined;
7925
8637
  messages?: {
7926
8638
  text: string;
7927
- type: "error" | "success" | "info" | "warning";
8639
+ type: "success" | "error" | "info" | "warning";
7928
8640
  id?: number | undefined;
7929
8641
  }[] | undefined;
7930
8642
  required?: boolean | undefined;
@@ -7949,7 +8661,7 @@ declare function init(config: AuthHeroConfig): {
7949
8661
  hint?: string | undefined;
7950
8662
  messages?: {
7951
8663
  text: string;
7952
- type: "error" | "success" | "info" | "warning";
8664
+ type: "success" | "error" | "info" | "warning";
7953
8665
  id?: number | undefined;
7954
8666
  }[] | undefined;
7955
8667
  required?: boolean | undefined;
@@ -7964,7 +8676,7 @@ declare function init(config: AuthHeroConfig): {
7964
8676
  hint?: string | undefined;
7965
8677
  messages?: {
7966
8678
  text: string;
7967
- type: "error" | "success" | "info" | "warning";
8679
+ type: "success" | "error" | "info" | "warning";
7968
8680
  id?: number | undefined;
7969
8681
  }[] | undefined;
7970
8682
  required?: boolean | undefined;
@@ -7985,7 +8697,7 @@ declare function init(config: AuthHeroConfig): {
7985
8697
  hint?: string | undefined;
7986
8698
  messages?: {
7987
8699
  text: string;
7988
- type: "error" | "success" | "info" | "warning";
8700
+ type: "success" | "error" | "info" | "warning";
7989
8701
  id?: number | undefined;
7990
8702
  }[] | undefined;
7991
8703
  required?: boolean | undefined;
@@ -8010,7 +8722,7 @@ declare function init(config: AuthHeroConfig): {
8010
8722
  hint?: string | undefined;
8011
8723
  messages?: {
8012
8724
  text: string;
8013
- type: "error" | "success" | "info" | "warning";
8725
+ type: "success" | "error" | "info" | "warning";
8014
8726
  id?: number | undefined;
8015
8727
  }[] | undefined;
8016
8728
  required?: boolean | undefined;
@@ -8029,7 +8741,7 @@ declare function init(config: AuthHeroConfig): {
8029
8741
  hint?: string | undefined;
8030
8742
  messages?: {
8031
8743
  text: string;
8032
- type: "error" | "success" | "info" | "warning";
8744
+ type: "success" | "error" | "info" | "warning";
8033
8745
  id?: number | undefined;
8034
8746
  }[] | undefined;
8035
8747
  required?: boolean | undefined;
@@ -8049,7 +8761,7 @@ declare function init(config: AuthHeroConfig): {
8049
8761
  hint?: string | undefined;
8050
8762
  messages?: {
8051
8763
  text: string;
8052
- type: "error" | "success" | "info" | "warning";
8764
+ type: "success" | "error" | "info" | "warning";
8053
8765
  id?: number | undefined;
8054
8766
  }[] | undefined;
8055
8767
  required?: boolean | undefined;
@@ -8068,7 +8780,7 @@ declare function init(config: AuthHeroConfig): {
8068
8780
  hint?: string | undefined;
8069
8781
  messages?: {
8070
8782
  text: string;
8071
- type: "error" | "success" | "info" | "warning";
8783
+ type: "success" | "error" | "info" | "warning";
8072
8784
  id?: number | undefined;
8073
8785
  }[] | undefined;
8074
8786
  required?: boolean | undefined;
@@ -8090,7 +8802,7 @@ declare function init(config: AuthHeroConfig): {
8090
8802
  hint?: string | undefined;
8091
8803
  messages?: {
8092
8804
  text: string;
8093
- type: "error" | "success" | "info" | "warning";
8805
+ type: "success" | "error" | "info" | "warning";
8094
8806
  id?: number | undefined;
8095
8807
  }[] | undefined;
8096
8808
  required?: boolean | undefined;
@@ -8112,7 +8824,7 @@ declare function init(config: AuthHeroConfig): {
8112
8824
  hint?: string | undefined;
8113
8825
  messages?: {
8114
8826
  text: string;
8115
- type: "error" | "success" | "info" | "warning";
8827
+ type: "success" | "error" | "info" | "warning";
8116
8828
  id?: number | undefined;
8117
8829
  }[] | undefined;
8118
8830
  required?: boolean | undefined;
@@ -8131,7 +8843,7 @@ declare function init(config: AuthHeroConfig): {
8131
8843
  hint?: string | undefined;
8132
8844
  messages?: {
8133
8845
  text: string;
8134
- type: "error" | "success" | "info" | "warning";
8846
+ type: "success" | "error" | "info" | "warning";
8135
8847
  id?: number | undefined;
8136
8848
  }[] | undefined;
8137
8849
  required?: boolean | undefined;
@@ -8156,7 +8868,7 @@ declare function init(config: AuthHeroConfig): {
8156
8868
  hint?: string | undefined;
8157
8869
  messages?: {
8158
8870
  text: string;
8159
- type: "error" | "success" | "info" | "warning";
8871
+ type: "success" | "error" | "info" | "warning";
8160
8872
  id?: number | undefined;
8161
8873
  }[] | undefined;
8162
8874
  required?: boolean | undefined;
@@ -8177,7 +8889,7 @@ declare function init(config: AuthHeroConfig): {
8177
8889
  hint?: string | undefined;
8178
8890
  messages?: {
8179
8891
  text: string;
8180
- type: "error" | "success" | "info" | "warning";
8892
+ type: "success" | "error" | "info" | "warning";
8181
8893
  id?: number | undefined;
8182
8894
  }[] | undefined;
8183
8895
  required?: boolean | undefined;
@@ -8198,7 +8910,7 @@ declare function init(config: AuthHeroConfig): {
8198
8910
  hint?: string | undefined;
8199
8911
  messages?: {
8200
8912
  text: string;
8201
- type: "error" | "success" | "info" | "warning";
8913
+ type: "success" | "error" | "info" | "warning";
8202
8914
  id?: number | undefined;
8203
8915
  }[] | undefined;
8204
8916
  required?: boolean | undefined;
@@ -8429,7 +9141,7 @@ declare function init(config: AuthHeroConfig): {
8429
9141
  hint?: string | undefined;
8430
9142
  messages?: {
8431
9143
  text: string;
8432
- type: "error" | "success" | "info" | "warning";
9144
+ type: "success" | "error" | "info" | "warning";
8433
9145
  id?: number | undefined;
8434
9146
  }[] | undefined;
8435
9147
  required?: boolean | undefined;
@@ -8447,7 +9159,7 @@ declare function init(config: AuthHeroConfig): {
8447
9159
  hint?: string | undefined;
8448
9160
  messages?: {
8449
9161
  text: string;
8450
- type: "error" | "success" | "info" | "warning";
9162
+ type: "success" | "error" | "info" | "warning";
8451
9163
  id?: number | undefined;
8452
9164
  }[] | undefined;
8453
9165
  required?: boolean | undefined;
@@ -8471,7 +9183,7 @@ declare function init(config: AuthHeroConfig): {
8471
9183
  hint?: string | undefined;
8472
9184
  messages?: {
8473
9185
  text: string;
8474
- type: "error" | "success" | "info" | "warning";
9186
+ type: "success" | "error" | "info" | "warning";
8475
9187
  id?: number | undefined;
8476
9188
  }[] | undefined;
8477
9189
  required?: boolean | undefined;
@@ -8495,7 +9207,7 @@ declare function init(config: AuthHeroConfig): {
8495
9207
  hint?: string | undefined;
8496
9208
  messages?: {
8497
9209
  text: string;
8498
- type: "error" | "success" | "info" | "warning";
9210
+ type: "success" | "error" | "info" | "warning";
8499
9211
  id?: number | undefined;
8500
9212
  }[] | undefined;
8501
9213
  required?: boolean | undefined;
@@ -8519,7 +9231,7 @@ declare function init(config: AuthHeroConfig): {
8519
9231
  hint?: string | undefined;
8520
9232
  messages?: {
8521
9233
  text: string;
8522
- type: "error" | "success" | "info" | "warning";
9234
+ type: "success" | "error" | "info" | "warning";
8523
9235
  id?: number | undefined;
8524
9236
  }[] | undefined;
8525
9237
  required?: boolean | undefined;
@@ -8548,7 +9260,7 @@ declare function init(config: AuthHeroConfig): {
8548
9260
  hint?: string | undefined;
8549
9261
  messages?: {
8550
9262
  text: string;
8551
- type: "error" | "success" | "info" | "warning";
9263
+ type: "success" | "error" | "info" | "warning";
8552
9264
  id?: number | undefined;
8553
9265
  }[] | undefined;
8554
9266
  required?: boolean | undefined;
@@ -8563,7 +9275,7 @@ declare function init(config: AuthHeroConfig): {
8563
9275
  hint?: string | undefined;
8564
9276
  messages?: {
8565
9277
  text: string;
8566
- type: "error" | "success" | "info" | "warning";
9278
+ type: "success" | "error" | "info" | "warning";
8567
9279
  id?: number | undefined;
8568
9280
  }[] | undefined;
8569
9281
  required?: boolean | undefined;
@@ -8584,7 +9296,7 @@ declare function init(config: AuthHeroConfig): {
8584
9296
  hint?: string | undefined;
8585
9297
  messages?: {
8586
9298
  text: string;
8587
- type: "error" | "success" | "info" | "warning";
9299
+ type: "success" | "error" | "info" | "warning";
8588
9300
  id?: number | undefined;
8589
9301
  }[] | undefined;
8590
9302
  required?: boolean | undefined;
@@ -8609,7 +9321,7 @@ declare function init(config: AuthHeroConfig): {
8609
9321
  hint?: string | undefined;
8610
9322
  messages?: {
8611
9323
  text: string;
8612
- type: "error" | "success" | "info" | "warning";
9324
+ type: "success" | "error" | "info" | "warning";
8613
9325
  id?: number | undefined;
8614
9326
  }[] | undefined;
8615
9327
  required?: boolean | undefined;
@@ -8628,7 +9340,7 @@ declare function init(config: AuthHeroConfig): {
8628
9340
  hint?: string | undefined;
8629
9341
  messages?: {
8630
9342
  text: string;
8631
- type: "error" | "success" | "info" | "warning";
9343
+ type: "success" | "error" | "info" | "warning";
8632
9344
  id?: number | undefined;
8633
9345
  }[] | undefined;
8634
9346
  required?: boolean | undefined;
@@ -8648,7 +9360,7 @@ declare function init(config: AuthHeroConfig): {
8648
9360
  hint?: string | undefined;
8649
9361
  messages?: {
8650
9362
  text: string;
8651
- type: "error" | "success" | "info" | "warning";
9363
+ type: "success" | "error" | "info" | "warning";
8652
9364
  id?: number | undefined;
8653
9365
  }[] | undefined;
8654
9366
  required?: boolean | undefined;
@@ -8667,7 +9379,7 @@ declare function init(config: AuthHeroConfig): {
8667
9379
  hint?: string | undefined;
8668
9380
  messages?: {
8669
9381
  text: string;
8670
- type: "error" | "success" | "info" | "warning";
9382
+ type: "success" | "error" | "info" | "warning";
8671
9383
  id?: number | undefined;
8672
9384
  }[] | undefined;
8673
9385
  required?: boolean | undefined;
@@ -8689,7 +9401,7 @@ declare function init(config: AuthHeroConfig): {
8689
9401
  hint?: string | undefined;
8690
9402
  messages?: {
8691
9403
  text: string;
8692
- type: "error" | "success" | "info" | "warning";
9404
+ type: "success" | "error" | "info" | "warning";
8693
9405
  id?: number | undefined;
8694
9406
  }[] | undefined;
8695
9407
  required?: boolean | undefined;
@@ -8711,7 +9423,7 @@ declare function init(config: AuthHeroConfig): {
8711
9423
  hint?: string | undefined;
8712
9424
  messages?: {
8713
9425
  text: string;
8714
- type: "error" | "success" | "info" | "warning";
9426
+ type: "success" | "error" | "info" | "warning";
8715
9427
  id?: number | undefined;
8716
9428
  }[] | undefined;
8717
9429
  required?: boolean | undefined;
@@ -8730,7 +9442,7 @@ declare function init(config: AuthHeroConfig): {
8730
9442
  hint?: string | undefined;
8731
9443
  messages?: {
8732
9444
  text: string;
8733
- type: "error" | "success" | "info" | "warning";
9445
+ type: "success" | "error" | "info" | "warning";
8734
9446
  id?: number | undefined;
8735
9447
  }[] | undefined;
8736
9448
  required?: boolean | undefined;
@@ -8755,7 +9467,7 @@ declare function init(config: AuthHeroConfig): {
8755
9467
  hint?: string | undefined;
8756
9468
  messages?: {
8757
9469
  text: string;
8758
- type: "error" | "success" | "info" | "warning";
9470
+ type: "success" | "error" | "info" | "warning";
8759
9471
  id?: number | undefined;
8760
9472
  }[] | undefined;
8761
9473
  required?: boolean | undefined;
@@ -8776,7 +9488,7 @@ declare function init(config: AuthHeroConfig): {
8776
9488
  hint?: string | undefined;
8777
9489
  messages?: {
8778
9490
  text: string;
8779
- type: "error" | "success" | "info" | "warning";
9491
+ type: "success" | "error" | "info" | "warning";
8780
9492
  id?: number | undefined;
8781
9493
  }[] | undefined;
8782
9494
  required?: boolean | undefined;
@@ -8797,7 +9509,7 @@ declare function init(config: AuthHeroConfig): {
8797
9509
  hint?: string | undefined;
8798
9510
  messages?: {
8799
9511
  text: string;
8800
- type: "error" | "success" | "info" | "warning";
9512
+ type: "success" | "error" | "info" | "warning";
8801
9513
  id?: number | undefined;
8802
9514
  }[] | undefined;
8803
9515
  required?: boolean | undefined;
@@ -9030,7 +9742,7 @@ declare function init(config: AuthHeroConfig): {
9030
9742
  hint?: string | undefined;
9031
9743
  messages?: {
9032
9744
  text: string;
9033
- type: "error" | "success" | "info" | "warning";
9745
+ type: "success" | "error" | "info" | "warning";
9034
9746
  id?: number | undefined;
9035
9747
  }[] | undefined;
9036
9748
  required?: boolean | undefined;
@@ -9048,7 +9760,7 @@ declare function init(config: AuthHeroConfig): {
9048
9760
  hint?: string | undefined;
9049
9761
  messages?: {
9050
9762
  text: string;
9051
- type: "error" | "success" | "info" | "warning";
9763
+ type: "success" | "error" | "info" | "warning";
9052
9764
  id?: number | undefined;
9053
9765
  }[] | undefined;
9054
9766
  required?: boolean | undefined;
@@ -9072,7 +9784,7 @@ declare function init(config: AuthHeroConfig): {
9072
9784
  hint?: string | undefined;
9073
9785
  messages?: {
9074
9786
  text: string;
9075
- type: "error" | "success" | "info" | "warning";
9787
+ type: "success" | "error" | "info" | "warning";
9076
9788
  id?: number | undefined;
9077
9789
  }[] | undefined;
9078
9790
  required?: boolean | undefined;
@@ -9096,7 +9808,7 @@ declare function init(config: AuthHeroConfig): {
9096
9808
  hint?: string | undefined;
9097
9809
  messages?: {
9098
9810
  text: string;
9099
- type: "error" | "success" | "info" | "warning";
9811
+ type: "success" | "error" | "info" | "warning";
9100
9812
  id?: number | undefined;
9101
9813
  }[] | undefined;
9102
9814
  required?: boolean | undefined;
@@ -9120,7 +9832,7 @@ declare function init(config: AuthHeroConfig): {
9120
9832
  hint?: string | undefined;
9121
9833
  messages?: {
9122
9834
  text: string;
9123
- type: "error" | "success" | "info" | "warning";
9835
+ type: "success" | "error" | "info" | "warning";
9124
9836
  id?: number | undefined;
9125
9837
  }[] | undefined;
9126
9838
  required?: boolean | undefined;
@@ -9145,7 +9857,7 @@ declare function init(config: AuthHeroConfig): {
9145
9857
  hint?: string | undefined;
9146
9858
  messages?: {
9147
9859
  text: string;
9148
- type: "error" | "success" | "info" | "warning";
9860
+ type: "success" | "error" | "info" | "warning";
9149
9861
  id?: number | undefined;
9150
9862
  }[] | undefined;
9151
9863
  required?: boolean | undefined;
@@ -9160,7 +9872,7 @@ declare function init(config: AuthHeroConfig): {
9160
9872
  hint?: string | undefined;
9161
9873
  messages?: {
9162
9874
  text: string;
9163
- type: "error" | "success" | "info" | "warning";
9875
+ type: "success" | "error" | "info" | "warning";
9164
9876
  id?: number | undefined;
9165
9877
  }[] | undefined;
9166
9878
  required?: boolean | undefined;
@@ -9181,7 +9893,7 @@ declare function init(config: AuthHeroConfig): {
9181
9893
  hint?: string | undefined;
9182
9894
  messages?: {
9183
9895
  text: string;
9184
- type: "error" | "success" | "info" | "warning";
9896
+ type: "success" | "error" | "info" | "warning";
9185
9897
  id?: number | undefined;
9186
9898
  }[] | undefined;
9187
9899
  required?: boolean | undefined;
@@ -9206,7 +9918,7 @@ declare function init(config: AuthHeroConfig): {
9206
9918
  hint?: string | undefined;
9207
9919
  messages?: {
9208
9920
  text: string;
9209
- type: "error" | "success" | "info" | "warning";
9921
+ type: "success" | "error" | "info" | "warning";
9210
9922
  id?: number | undefined;
9211
9923
  }[] | undefined;
9212
9924
  required?: boolean | undefined;
@@ -9225,7 +9937,7 @@ declare function init(config: AuthHeroConfig): {
9225
9937
  hint?: string | undefined;
9226
9938
  messages?: {
9227
9939
  text: string;
9228
- type: "error" | "success" | "info" | "warning";
9940
+ type: "success" | "error" | "info" | "warning";
9229
9941
  id?: number | undefined;
9230
9942
  }[] | undefined;
9231
9943
  required?: boolean | undefined;
@@ -9245,7 +9957,7 @@ declare function init(config: AuthHeroConfig): {
9245
9957
  hint?: string | undefined;
9246
9958
  messages?: {
9247
9959
  text: string;
9248
- type: "error" | "success" | "info" | "warning";
9960
+ type: "success" | "error" | "info" | "warning";
9249
9961
  id?: number | undefined;
9250
9962
  }[] | undefined;
9251
9963
  required?: boolean | undefined;
@@ -9264,7 +9976,7 @@ declare function init(config: AuthHeroConfig): {
9264
9976
  hint?: string | undefined;
9265
9977
  messages?: {
9266
9978
  text: string;
9267
- type: "error" | "success" | "info" | "warning";
9979
+ type: "success" | "error" | "info" | "warning";
9268
9980
  id?: number | undefined;
9269
9981
  }[] | undefined;
9270
9982
  required?: boolean | undefined;
@@ -9286,7 +9998,7 @@ declare function init(config: AuthHeroConfig): {
9286
9998
  hint?: string | undefined;
9287
9999
  messages?: {
9288
10000
  text: string;
9289
- type: "error" | "success" | "info" | "warning";
10001
+ type: "success" | "error" | "info" | "warning";
9290
10002
  id?: number | undefined;
9291
10003
  }[] | undefined;
9292
10004
  required?: boolean | undefined;
@@ -9308,7 +10020,7 @@ declare function init(config: AuthHeroConfig): {
9308
10020
  hint?: string | undefined;
9309
10021
  messages?: {
9310
10022
  text: string;
9311
- type: "error" | "success" | "info" | "warning";
10023
+ type: "success" | "error" | "info" | "warning";
9312
10024
  id?: number | undefined;
9313
10025
  }[] | undefined;
9314
10026
  required?: boolean | undefined;
@@ -9327,7 +10039,7 @@ declare function init(config: AuthHeroConfig): {
9327
10039
  hint?: string | undefined;
9328
10040
  messages?: {
9329
10041
  text: string;
9330
- type: "error" | "success" | "info" | "warning";
10042
+ type: "success" | "error" | "info" | "warning";
9331
10043
  id?: number | undefined;
9332
10044
  }[] | undefined;
9333
10045
  required?: boolean | undefined;
@@ -9352,7 +10064,7 @@ declare function init(config: AuthHeroConfig): {
9352
10064
  hint?: string | undefined;
9353
10065
  messages?: {
9354
10066
  text: string;
9355
- type: "error" | "success" | "info" | "warning";
10067
+ type: "success" | "error" | "info" | "warning";
9356
10068
  id?: number | undefined;
9357
10069
  }[] | undefined;
9358
10070
  required?: boolean | undefined;
@@ -9373,7 +10085,7 @@ declare function init(config: AuthHeroConfig): {
9373
10085
  hint?: string | undefined;
9374
10086
  messages?: {
9375
10087
  text: string;
9376
- type: "error" | "success" | "info" | "warning";
10088
+ type: "success" | "error" | "info" | "warning";
9377
10089
  id?: number | undefined;
9378
10090
  }[] | undefined;
9379
10091
  required?: boolean | undefined;
@@ -9394,7 +10106,7 @@ declare function init(config: AuthHeroConfig): {
9394
10106
  hint?: string | undefined;
9395
10107
  messages?: {
9396
10108
  text: string;
9397
- type: "error" | "success" | "info" | "warning";
10109
+ type: "success" | "error" | "info" | "warning";
9398
10110
  id?: number | undefined;
9399
10111
  }[] | undefined;
9400
10112
  required?: boolean | undefined;
@@ -9625,7 +10337,7 @@ declare function init(config: AuthHeroConfig): {
9625
10337
  hint?: string | undefined;
9626
10338
  messages?: {
9627
10339
  text: string;
9628
- type: "error" | "success" | "info" | "warning";
10340
+ type: "success" | "error" | "info" | "warning";
9629
10341
  id?: number | undefined;
9630
10342
  }[] | undefined;
9631
10343
  required?: boolean | undefined;
@@ -9643,7 +10355,7 @@ declare function init(config: AuthHeroConfig): {
9643
10355
  hint?: string | undefined;
9644
10356
  messages?: {
9645
10357
  text: string;
9646
- type: "error" | "success" | "info" | "warning";
10358
+ type: "success" | "error" | "info" | "warning";
9647
10359
  id?: number | undefined;
9648
10360
  }[] | undefined;
9649
10361
  required?: boolean | undefined;
@@ -9667,7 +10379,7 @@ declare function init(config: AuthHeroConfig): {
9667
10379
  hint?: string | undefined;
9668
10380
  messages?: {
9669
10381
  text: string;
9670
- type: "error" | "success" | "info" | "warning";
10382
+ type: "success" | "error" | "info" | "warning";
9671
10383
  id?: number | undefined;
9672
10384
  }[] | undefined;
9673
10385
  required?: boolean | undefined;
@@ -9691,7 +10403,7 @@ declare function init(config: AuthHeroConfig): {
9691
10403
  hint?: string | undefined;
9692
10404
  messages?: {
9693
10405
  text: string;
9694
- type: "error" | "success" | "info" | "warning";
10406
+ type: "success" | "error" | "info" | "warning";
9695
10407
  id?: number | undefined;
9696
10408
  }[] | undefined;
9697
10409
  required?: boolean | undefined;
@@ -9715,7 +10427,7 @@ declare function init(config: AuthHeroConfig): {
9715
10427
  hint?: string | undefined;
9716
10428
  messages?: {
9717
10429
  text: string;
9718
- type: "error" | "success" | "info" | "warning";
10430
+ type: "success" | "error" | "info" | "warning";
9719
10431
  id?: number | undefined;
9720
10432
  }[] | undefined;
9721
10433
  required?: boolean | undefined;
@@ -9744,7 +10456,7 @@ declare function init(config: AuthHeroConfig): {
9744
10456
  hint?: string | undefined;
9745
10457
  messages?: {
9746
10458
  text: string;
9747
- type: "error" | "success" | "info" | "warning";
10459
+ type: "success" | "error" | "info" | "warning";
9748
10460
  id?: number | undefined;
9749
10461
  }[] | undefined;
9750
10462
  required?: boolean | undefined;
@@ -9759,7 +10471,7 @@ declare function init(config: AuthHeroConfig): {
9759
10471
  hint?: string | undefined;
9760
10472
  messages?: {
9761
10473
  text: string;
9762
- type: "error" | "success" | "info" | "warning";
10474
+ type: "success" | "error" | "info" | "warning";
9763
10475
  id?: number | undefined;
9764
10476
  }[] | undefined;
9765
10477
  required?: boolean | undefined;
@@ -9780,7 +10492,7 @@ declare function init(config: AuthHeroConfig): {
9780
10492
  hint?: string | undefined;
9781
10493
  messages?: {
9782
10494
  text: string;
9783
- type: "error" | "success" | "info" | "warning";
10495
+ type: "success" | "error" | "info" | "warning";
9784
10496
  id?: number | undefined;
9785
10497
  }[] | undefined;
9786
10498
  required?: boolean | undefined;
@@ -9805,7 +10517,7 @@ declare function init(config: AuthHeroConfig): {
9805
10517
  hint?: string | undefined;
9806
10518
  messages?: {
9807
10519
  text: string;
9808
- type: "error" | "success" | "info" | "warning";
10520
+ type: "success" | "error" | "info" | "warning";
9809
10521
  id?: number | undefined;
9810
10522
  }[] | undefined;
9811
10523
  required?: boolean | undefined;
@@ -9824,7 +10536,7 @@ declare function init(config: AuthHeroConfig): {
9824
10536
  hint?: string | undefined;
9825
10537
  messages?: {
9826
10538
  text: string;
9827
- type: "error" | "success" | "info" | "warning";
10539
+ type: "success" | "error" | "info" | "warning";
9828
10540
  id?: number | undefined;
9829
10541
  }[] | undefined;
9830
10542
  required?: boolean | undefined;
@@ -9844,7 +10556,7 @@ declare function init(config: AuthHeroConfig): {
9844
10556
  hint?: string | undefined;
9845
10557
  messages?: {
9846
10558
  text: string;
9847
- type: "error" | "success" | "info" | "warning";
10559
+ type: "success" | "error" | "info" | "warning";
9848
10560
  id?: number | undefined;
9849
10561
  }[] | undefined;
9850
10562
  required?: boolean | undefined;
@@ -9863,7 +10575,7 @@ declare function init(config: AuthHeroConfig): {
9863
10575
  hint?: string | undefined;
9864
10576
  messages?: {
9865
10577
  text: string;
9866
- type: "error" | "success" | "info" | "warning";
10578
+ type: "success" | "error" | "info" | "warning";
9867
10579
  id?: number | undefined;
9868
10580
  }[] | undefined;
9869
10581
  required?: boolean | undefined;
@@ -9885,7 +10597,7 @@ declare function init(config: AuthHeroConfig): {
9885
10597
  hint?: string | undefined;
9886
10598
  messages?: {
9887
10599
  text: string;
9888
- type: "error" | "success" | "info" | "warning";
10600
+ type: "success" | "error" | "info" | "warning";
9889
10601
  id?: number | undefined;
9890
10602
  }[] | undefined;
9891
10603
  required?: boolean | undefined;
@@ -9907,7 +10619,7 @@ declare function init(config: AuthHeroConfig): {
9907
10619
  hint?: string | undefined;
9908
10620
  messages?: {
9909
10621
  text: string;
9910
- type: "error" | "success" | "info" | "warning";
10622
+ type: "success" | "error" | "info" | "warning";
9911
10623
  id?: number | undefined;
9912
10624
  }[] | undefined;
9913
10625
  required?: boolean | undefined;
@@ -9926,7 +10638,7 @@ declare function init(config: AuthHeroConfig): {
9926
10638
  hint?: string | undefined;
9927
10639
  messages?: {
9928
10640
  text: string;
9929
- type: "error" | "success" | "info" | "warning";
10641
+ type: "success" | "error" | "info" | "warning";
9930
10642
  id?: number | undefined;
9931
10643
  }[] | undefined;
9932
10644
  required?: boolean | undefined;
@@ -9951,7 +10663,7 @@ declare function init(config: AuthHeroConfig): {
9951
10663
  hint?: string | undefined;
9952
10664
  messages?: {
9953
10665
  text: string;
9954
- type: "error" | "success" | "info" | "warning";
10666
+ type: "success" | "error" | "info" | "warning";
9955
10667
  id?: number | undefined;
9956
10668
  }[] | undefined;
9957
10669
  required?: boolean | undefined;
@@ -9972,7 +10684,7 @@ declare function init(config: AuthHeroConfig): {
9972
10684
  hint?: string | undefined;
9973
10685
  messages?: {
9974
10686
  text: string;
9975
- type: "error" | "success" | "info" | "warning";
10687
+ type: "success" | "error" | "info" | "warning";
9976
10688
  id?: number | undefined;
9977
10689
  }[] | undefined;
9978
10690
  required?: boolean | undefined;
@@ -9993,7 +10705,7 @@ declare function init(config: AuthHeroConfig): {
9993
10705
  hint?: string | undefined;
9994
10706
  messages?: {
9995
10707
  text: string;
9996
- type: "error" | "success" | "info" | "warning";
10708
+ type: "success" | "error" | "info" | "warning";
9997
10709
  id?: number | undefined;
9998
10710
  }[] | undefined;
9999
10711
  required?: boolean | undefined;
@@ -10223,7 +10935,7 @@ declare function init(config: AuthHeroConfig): {
10223
10935
  };
10224
10936
  };
10225
10937
  output: {
10226
- prompt: "status" | "mfa" | "organizations" | "signup" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
10938
+ prompt: "status" | "signup" | "mfa" | "organizations" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
10227
10939
  language: string;
10228
10940
  }[];
10229
10941
  outputFormat: "json";
@@ -10261,7 +10973,7 @@ declare function init(config: AuthHeroConfig): {
10261
10973
  $get: {
10262
10974
  input: {
10263
10975
  param: {
10264
- prompt: "status" | "mfa" | "organizations" | "signup" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
10976
+ prompt: "status" | "signup" | "mfa" | "organizations" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
10265
10977
  language: string;
10266
10978
  };
10267
10979
  } & {
@@ -10283,7 +10995,7 @@ declare function init(config: AuthHeroConfig): {
10283
10995
  $put: {
10284
10996
  input: {
10285
10997
  param: {
10286
- prompt: "status" | "mfa" | "organizations" | "signup" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
10998
+ prompt: "status" | "signup" | "mfa" | "organizations" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
10287
10999
  language: string;
10288
11000
  };
10289
11001
  } & {
@@ -10307,7 +11019,7 @@ declare function init(config: AuthHeroConfig): {
10307
11019
  $delete: {
10308
11020
  input: {
10309
11021
  param: {
10310
- prompt: "status" | "mfa" | "organizations" | "signup" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
11022
+ prompt: "status" | "signup" | "mfa" | "organizations" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "common" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
10311
11023
  language: string;
10312
11024
  };
10313
11025
  } & {
@@ -10399,7 +11111,7 @@ declare function init(config: AuthHeroConfig): {
10399
11111
  active?: boolean | undefined;
10400
11112
  } | undefined;
10401
11113
  signup?: {
10402
- status?: "required" | "optional" | "disabled" | undefined;
11114
+ status?: "optional" | "required" | "disabled" | undefined;
10403
11115
  verification?: {
10404
11116
  active?: boolean | undefined;
10405
11117
  } | undefined;
@@ -10416,7 +11128,7 @@ declare function init(config: AuthHeroConfig): {
10416
11128
  active?: boolean | undefined;
10417
11129
  } | undefined;
10418
11130
  signup?: {
10419
- status?: "required" | "optional" | "disabled" | undefined;
11131
+ status?: "optional" | "required" | "disabled" | undefined;
10420
11132
  } | undefined;
10421
11133
  validation?: {
10422
11134
  max_length?: number | undefined;
@@ -10433,7 +11145,7 @@ declare function init(config: AuthHeroConfig): {
10433
11145
  active?: boolean | undefined;
10434
11146
  } | undefined;
10435
11147
  signup?: {
10436
- status?: "required" | "optional" | "disabled" | undefined;
11148
+ status?: "optional" | "required" | "disabled" | undefined;
10437
11149
  } | undefined;
10438
11150
  } | undefined;
10439
11151
  } | undefined;
@@ -10533,7 +11245,7 @@ declare function init(config: AuthHeroConfig): {
10533
11245
  active?: boolean | undefined;
10534
11246
  } | undefined;
10535
11247
  signup?: {
10536
- status?: "required" | "optional" | "disabled" | undefined;
11248
+ status?: "optional" | "required" | "disabled" | undefined;
10537
11249
  verification?: {
10538
11250
  active?: boolean | undefined;
10539
11251
  } | undefined;
@@ -10550,7 +11262,7 @@ declare function init(config: AuthHeroConfig): {
10550
11262
  active?: boolean | undefined;
10551
11263
  } | undefined;
10552
11264
  signup?: {
10553
- status?: "required" | "optional" | "disabled" | undefined;
11265
+ status?: "optional" | "required" | "disabled" | undefined;
10554
11266
  } | undefined;
10555
11267
  validation?: {
10556
11268
  max_length?: number | undefined;
@@ -10567,7 +11279,7 @@ declare function init(config: AuthHeroConfig): {
10567
11279
  active?: boolean | undefined;
10568
11280
  } | undefined;
10569
11281
  signup?: {
10570
- status?: "required" | "optional" | "disabled" | undefined;
11282
+ status?: "optional" | "required" | "disabled" | undefined;
10571
11283
  } | undefined;
10572
11284
  } | undefined;
10573
11285
  } | undefined;
@@ -10683,7 +11395,7 @@ declare function init(config: AuthHeroConfig): {
10683
11395
  active?: boolean | undefined;
10684
11396
  } | undefined;
10685
11397
  signup?: {
10686
- status?: "required" | "optional" | "disabled" | undefined;
11398
+ status?: "optional" | "required" | "disabled" | undefined;
10687
11399
  verification?: {
10688
11400
  active?: boolean | undefined;
10689
11401
  } | undefined;
@@ -10700,7 +11412,7 @@ declare function init(config: AuthHeroConfig): {
10700
11412
  active?: boolean | undefined;
10701
11413
  } | undefined;
10702
11414
  signup?: {
10703
- status?: "required" | "optional" | "disabled" | undefined;
11415
+ status?: "optional" | "required" | "disabled" | undefined;
10704
11416
  } | undefined;
10705
11417
  validation?: {
10706
11418
  max_length?: number | undefined;
@@ -10717,7 +11429,7 @@ declare function init(config: AuthHeroConfig): {
10717
11429
  active?: boolean | undefined;
10718
11430
  } | undefined;
10719
11431
  signup?: {
10720
- status?: "required" | "optional" | "disabled" | undefined;
11432
+ status?: "optional" | "required" | "disabled" | undefined;
10721
11433
  } | undefined;
10722
11434
  } | undefined;
10723
11435
  } | undefined;
@@ -10862,7 +11574,7 @@ declare function init(config: AuthHeroConfig): {
10862
11574
  active?: boolean | undefined;
10863
11575
  } | undefined;
10864
11576
  signup?: {
10865
- status?: "required" | "optional" | "disabled" | undefined;
11577
+ status?: "optional" | "required" | "disabled" | undefined;
10866
11578
  verification?: {
10867
11579
  active?: boolean | undefined;
10868
11580
  } | undefined;
@@ -10879,7 +11591,7 @@ declare function init(config: AuthHeroConfig): {
10879
11591
  active?: boolean | undefined;
10880
11592
  } | undefined;
10881
11593
  signup?: {
10882
- status?: "required" | "optional" | "disabled" | undefined;
11594
+ status?: "optional" | "required" | "disabled" | undefined;
10883
11595
  } | undefined;
10884
11596
  validation?: {
10885
11597
  max_length?: number | undefined;
@@ -10896,7 +11608,7 @@ declare function init(config: AuthHeroConfig): {
10896
11608
  active?: boolean | undefined;
10897
11609
  } | undefined;
10898
11610
  signup?: {
10899
- status?: "required" | "optional" | "disabled" | undefined;
11611
+ status?: "optional" | "required" | "disabled" | undefined;
10900
11612
  } | undefined;
10901
11613
  } | undefined;
10902
11614
  } | undefined;
@@ -11020,7 +11732,7 @@ declare function init(config: AuthHeroConfig): {
11020
11732
  active?: boolean | undefined;
11021
11733
  } | undefined;
11022
11734
  signup?: {
11023
- status?: "required" | "optional" | "disabled" | undefined;
11735
+ status?: "optional" | "required" | "disabled" | undefined;
11024
11736
  verification?: {
11025
11737
  active?: boolean | undefined;
11026
11738
  } | undefined;
@@ -11037,7 +11749,7 @@ declare function init(config: AuthHeroConfig): {
11037
11749
  active?: boolean | undefined;
11038
11750
  } | undefined;
11039
11751
  signup?: {
11040
- status?: "required" | "optional" | "disabled" | undefined;
11752
+ status?: "optional" | "required" | "disabled" | undefined;
11041
11753
  } | undefined;
11042
11754
  validation?: {
11043
11755
  max_length?: number | undefined;
@@ -11054,7 +11766,7 @@ declare function init(config: AuthHeroConfig): {
11054
11766
  active?: boolean | undefined;
11055
11767
  } | undefined;
11056
11768
  signup?: {
11057
- status?: "required" | "optional" | "disabled" | undefined;
11769
+ status?: "optional" | "required" | "disabled" | undefined;
11058
11770
  } | undefined;
11059
11771
  } | undefined;
11060
11772
  } | undefined;
@@ -11170,7 +11882,7 @@ declare function init(config: AuthHeroConfig): {
11170
11882
  };
11171
11883
  } | {
11172
11884
  mode: "inline";
11173
- status: "error" | "success";
11885
+ status: "success" | "error";
11174
11886
  connection_id: string;
11175
11887
  connection_name: string;
11176
11888
  strategy: string;
@@ -12120,7 +12832,7 @@ declare function init(config: AuthHeroConfig): {
12120
12832
  created_at: string;
12121
12833
  updated_at: string;
12122
12834
  name: string;
12123
- provider: "auth0" | "oidc" | "okta" | "cognito";
12835
+ provider: "auth0" | "cognito" | "okta" | "oidc";
12124
12836
  connection: string;
12125
12837
  enabled: boolean;
12126
12838
  credentials: {
@@ -12152,7 +12864,7 @@ declare function init(config: AuthHeroConfig): {
12152
12864
  created_at: string;
12153
12865
  updated_at: string;
12154
12866
  name: string;
12155
- provider: "auth0" | "oidc" | "okta" | "cognito";
12867
+ provider: "auth0" | "cognito" | "okta" | "oidc";
12156
12868
  connection: string;
12157
12869
  enabled: boolean;
12158
12870
  credentials: {
@@ -12178,7 +12890,7 @@ declare function init(config: AuthHeroConfig): {
12178
12890
  } & {
12179
12891
  json: {
12180
12892
  name: string;
12181
- provider: "auth0" | "oidc" | "okta" | "cognito";
12893
+ provider: "auth0" | "cognito" | "okta" | "oidc";
12182
12894
  connection: string;
12183
12895
  credentials: {
12184
12896
  domain: string;
@@ -12195,7 +12907,7 @@ declare function init(config: AuthHeroConfig): {
12195
12907
  created_at: string;
12196
12908
  updated_at: string;
12197
12909
  name: string;
12198
- provider: "auth0" | "oidc" | "okta" | "cognito";
12910
+ provider: "auth0" | "cognito" | "okta" | "oidc";
12199
12911
  connection: string;
12200
12912
  enabled: boolean;
12201
12913
  credentials: {
@@ -12226,7 +12938,7 @@ declare function init(config: AuthHeroConfig): {
12226
12938
  json: {
12227
12939
  id?: string | undefined;
12228
12940
  name?: string | undefined;
12229
- provider?: "auth0" | "oidc" | "okta" | "cognito" | undefined;
12941
+ provider?: "auth0" | "cognito" | "okta" | "oidc" | undefined;
12230
12942
  connection?: string | undefined;
12231
12943
  enabled?: boolean | undefined;
12232
12944
  credentials?: {
@@ -12242,7 +12954,7 @@ declare function init(config: AuthHeroConfig): {
12242
12954
  created_at: string;
12243
12955
  updated_at: string;
12244
12956
  name: string;
12245
- provider: "auth0" | "oidc" | "okta" | "cognito";
12957
+ provider: "auth0" | "cognito" | "okta" | "oidc";
12246
12958
  connection: string;
12247
12959
  enabled: boolean;
12248
12960
  credentials: {
@@ -12460,7 +13172,7 @@ declare function init(config: AuthHeroConfig): {
12460
13172
  };
12461
13173
  };
12462
13174
  output: {
12463
- type: "fn" | "i" | "sapi" | "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" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "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" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "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";
13175
+ type: "fn" | "i" | "cs" | "fi" | "sv" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "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" | "festft" | "fh" | "fimp" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "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" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
12464
13176
  date: string;
12465
13177
  isMobile: boolean;
12466
13178
  log_id: string;
@@ -12499,7 +13211,7 @@ declare function init(config: AuthHeroConfig): {
12499
13211
  limit: number;
12500
13212
  length: number;
12501
13213
  logs: {
12502
- type: "fn" | "i" | "sapi" | "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" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "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" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "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";
13214
+ type: "fn" | "i" | "cs" | "fi" | "sv" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "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" | "festft" | "fh" | "fimp" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "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" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
12503
13215
  date: string;
12504
13216
  isMobile: boolean;
12505
13217
  log_id: string;
@@ -12538,7 +13250,7 @@ declare function init(config: AuthHeroConfig): {
12538
13250
  next?: string | undefined;
12539
13251
  } | {
12540
13252
  logs: {
12541
- type: "fn" | "i" | "sapi" | "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" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "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" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "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";
13253
+ type: "fn" | "i" | "cs" | "fi" | "sv" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "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" | "festft" | "fh" | "fimp" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "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" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
12542
13254
  date: string;
12543
13255
  isMobile: boolean;
12544
13256
  log_id: string;
@@ -12592,7 +13304,7 @@ declare function init(config: AuthHeroConfig): {
12592
13304
  };
12593
13305
  };
12594
13306
  output: {
12595
- type: "fn" | "i" | "sapi" | "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" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "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" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "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";
13307
+ type: "fn" | "i" | "cs" | "fi" | "sv" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "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" | "festft" | "fh" | "fimp" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "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" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
12596
13308
  date: string;
12597
13309
  isMobile: boolean;
12598
13310
  log_id: string;
@@ -13003,7 +13715,7 @@ declare function init(config: AuthHeroConfig): {
13003
13715
  addons?: {
13004
13716
  [x: string]: any;
13005
13717
  } | undefined;
13006
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
13718
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
13007
13719
  client_metadata?: {
13008
13720
  [x: string]: string;
13009
13721
  } | undefined;
@@ -13105,7 +13817,7 @@ declare function init(config: AuthHeroConfig): {
13105
13817
  addons?: {
13106
13818
  [x: string]: any;
13107
13819
  } | undefined;
13108
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
13820
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
13109
13821
  client_metadata?: {
13110
13822
  [x: string]: string;
13111
13823
  } | undefined;
@@ -13207,7 +13919,7 @@ declare function init(config: AuthHeroConfig): {
13207
13919
  addons?: {
13208
13920
  [x: string]: any;
13209
13921
  } | undefined;
13210
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
13922
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
13211
13923
  client_metadata?: {
13212
13924
  [x: string]: string;
13213
13925
  } | undefined;
@@ -13324,7 +14036,7 @@ declare function init(config: AuthHeroConfig): {
13324
14036
  addons?: {
13325
14037
  [x: string]: any;
13326
14038
  } | undefined;
13327
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
14039
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
13328
14040
  client_metadata?: {
13329
14041
  [x: string]: string;
13330
14042
  } | undefined;
@@ -13442,7 +14154,7 @@ declare function init(config: AuthHeroConfig): {
13442
14154
  custom_login_page_preview?: string | undefined;
13443
14155
  form_template?: string | undefined;
13444
14156
  addons?: Record<string, any> | undefined;
13445
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
14157
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
13446
14158
  client_metadata?: Record<string, string> | undefined;
13447
14159
  hide_sign_up_disabled_error?: boolean | undefined;
13448
14160
  mobile?: Record<string, any> | undefined;
@@ -13528,7 +14240,7 @@ declare function init(config: AuthHeroConfig): {
13528
14240
  addons?: {
13529
14241
  [x: string]: any;
13530
14242
  } | undefined;
13531
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
14243
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
13532
14244
  client_metadata?: {
13533
14245
  [x: string]: string;
13534
14246
  } | undefined;
@@ -13625,7 +14337,7 @@ declare function init(config: AuthHeroConfig): {
13625
14337
  custom_login_page_preview?: string | undefined;
13626
14338
  form_template?: string | undefined;
13627
14339
  addons?: Record<string, any> | undefined;
13628
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
14340
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
13629
14341
  client_metadata?: Record<string, string> | undefined;
13630
14342
  hide_sign_up_disabled_error?: boolean | undefined;
13631
14343
  mobile?: Record<string, any> | undefined;
@@ -13711,7 +14423,7 @@ declare function init(config: AuthHeroConfig): {
13711
14423
  addons?: {
13712
14424
  [x: string]: any;
13713
14425
  } | undefined;
13714
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
14426
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
13715
14427
  client_metadata?: {
13716
14428
  [x: string]: string;
13717
14429
  } | undefined;
@@ -13833,7 +14545,7 @@ declare function init(config: AuthHeroConfig): {
13833
14545
  active?: boolean | undefined;
13834
14546
  } | undefined;
13835
14547
  signup?: {
13836
- status?: "required" | "optional" | "disabled" | undefined;
14548
+ status?: "optional" | "required" | "disabled" | undefined;
13837
14549
  verification?: {
13838
14550
  active?: boolean | undefined;
13839
14551
  } | undefined;
@@ -13850,7 +14562,7 @@ declare function init(config: AuthHeroConfig): {
13850
14562
  active?: boolean | undefined;
13851
14563
  } | undefined;
13852
14564
  signup?: {
13853
- status?: "required" | "optional" | "disabled" | undefined;
14565
+ status?: "optional" | "required" | "disabled" | undefined;
13854
14566
  } | undefined;
13855
14567
  validation?: {
13856
14568
  max_length?: number | undefined;
@@ -13867,7 +14579,7 @@ declare function init(config: AuthHeroConfig): {
13867
14579
  active?: boolean | undefined;
13868
14580
  } | undefined;
13869
14581
  signup?: {
13870
- status?: "required" | "optional" | "disabled" | undefined;
14582
+ status?: "optional" | "required" | "disabled" | undefined;
13871
14583
  } | undefined;
13872
14584
  } | undefined;
13873
14585
  } | undefined;
@@ -13987,7 +14699,7 @@ declare function init(config: AuthHeroConfig): {
13987
14699
  active?: boolean | undefined;
13988
14700
  } | undefined;
13989
14701
  signup?: {
13990
- status?: "required" | "optional" | "disabled" | undefined;
14702
+ status?: "optional" | "required" | "disabled" | undefined;
13991
14703
  verification?: {
13992
14704
  active?: boolean | undefined;
13993
14705
  } | undefined;
@@ -14004,7 +14716,7 @@ declare function init(config: AuthHeroConfig): {
14004
14716
  active?: boolean | undefined;
14005
14717
  } | undefined;
14006
14718
  signup?: {
14007
- status?: "required" | "optional" | "disabled" | undefined;
14719
+ status?: "optional" | "required" | "disabled" | undefined;
14008
14720
  } | undefined;
14009
14721
  validation?: {
14010
14722
  max_length?: number | undefined;
@@ -14021,7 +14733,7 @@ declare function init(config: AuthHeroConfig): {
14021
14733
  active?: boolean | undefined;
14022
14734
  } | undefined;
14023
14735
  signup?: {
14024
- status?: "required" | "optional" | "disabled" | undefined;
14736
+ status?: "optional" | "required" | "disabled" | undefined;
14025
14737
  } | undefined;
14026
14738
  } | undefined;
14027
14739
  } | undefined;
@@ -14400,6 +15112,75 @@ declare function init(config: AuthHeroConfig): {
14400
15112
  }[];
14401
15113
  total?: number | undefined;
14402
15114
  next?: string | undefined;
15115
+ } | {
15116
+ users: {
15117
+ created_at: string;
15118
+ updated_at: string;
15119
+ connection: string;
15120
+ user_id: string;
15121
+ email_verified: boolean;
15122
+ provider: string;
15123
+ is_social: boolean;
15124
+ login_count: number;
15125
+ name?: string | undefined;
15126
+ email?: string | undefined;
15127
+ username?: string | undefined;
15128
+ given_name?: string | undefined;
15129
+ phone_number?: string | undefined;
15130
+ phone_verified?: boolean | undefined;
15131
+ family_name?: string | undefined;
15132
+ profileData?: string | undefined;
15133
+ address?: {
15134
+ formatted?: string | undefined;
15135
+ street_address?: string | undefined;
15136
+ locality?: string | undefined;
15137
+ region?: string | undefined;
15138
+ postal_code?: string | undefined;
15139
+ country?: string | undefined;
15140
+ } | undefined;
15141
+ nickname?: string | undefined;
15142
+ picture?: string | undefined;
15143
+ locale?: string | undefined;
15144
+ linked_to?: string | undefined;
15145
+ app_metadata?: any;
15146
+ user_metadata?: any;
15147
+ middle_name?: string | undefined;
15148
+ preferred_username?: string | undefined;
15149
+ profile?: string | undefined;
15150
+ website?: string | undefined;
15151
+ gender?: string | undefined;
15152
+ birthdate?: string | undefined;
15153
+ zoneinfo?: string | undefined;
15154
+ verify_email?: boolean | undefined;
15155
+ last_ip?: string | undefined;
15156
+ last_login?: string | undefined;
15157
+ identities?: {
15158
+ connection: string;
15159
+ user_id: string;
15160
+ provider: string;
15161
+ isSocial: boolean;
15162
+ email?: string | undefined;
15163
+ email_verified?: boolean | undefined;
15164
+ phone_number?: string | undefined;
15165
+ phone_verified?: boolean | undefined;
15166
+ username?: string | undefined;
15167
+ access_token?: string | undefined;
15168
+ access_token_secret?: string | undefined;
15169
+ refresh_token?: string | undefined;
15170
+ profileData?: {
15171
+ [x: string]: any;
15172
+ email?: string | undefined;
15173
+ email_verified?: boolean | undefined;
15174
+ name?: string | undefined;
15175
+ username?: string | undefined;
15176
+ given_name?: string | undefined;
15177
+ phone_number?: string | undefined;
15178
+ phone_verified?: boolean | undefined;
15179
+ family_name?: string | undefined;
15180
+ } | undefined;
15181
+ }[] | undefined;
15182
+ }[];
15183
+ next?: string | undefined;
14403
15184
  };
14404
15185
  outputFormat: "json";
14405
15186
  status: 200;
@@ -14978,7 +15759,7 @@ declare function init(config: AuthHeroConfig): {
14978
15759
  };
14979
15760
  };
14980
15761
  output: {
14981
- type: "fn" | "i" | "sapi" | "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" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "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" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "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";
15762
+ type: "fn" | "i" | "cs" | "fi" | "sv" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "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" | "festft" | "fh" | "fimp" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "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" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
14982
15763
  date: string;
14983
15764
  isMobile: boolean;
14984
15765
  log_id: string;
@@ -15017,7 +15798,7 @@ declare function init(config: AuthHeroConfig): {
15017
15798
  limit: number;
15018
15799
  length: number;
15019
15800
  logs: {
15020
- type: "fn" | "i" | "sapi" | "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" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "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" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "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";
15801
+ type: "fn" | "i" | "cs" | "fi" | "sv" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "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" | "festft" | "fh" | "fimp" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "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" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
15021
15802
  date: string;
15022
15803
  isMobile: boolean;
15023
15804
  log_id: string;
@@ -15336,7 +16117,7 @@ declare function init(config: AuthHeroConfig): {
15336
16117
  };
15337
16118
  } & {
15338
16119
  json: {
15339
- template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
16120
+ template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
15340
16121
  body: string;
15341
16122
  from: string;
15342
16123
  subject: string;
@@ -15357,7 +16138,7 @@ declare function init(config: AuthHeroConfig): {
15357
16138
  };
15358
16139
  } & {
15359
16140
  json: {
15360
- template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
16141
+ template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
15361
16142
  body: string;
15362
16143
  from: string;
15363
16144
  subject: string;
@@ -15369,7 +16150,7 @@ declare function init(config: AuthHeroConfig): {
15369
16150
  };
15370
16151
  };
15371
16152
  output: {
15372
- template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
16153
+ template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
15373
16154
  body: string;
15374
16155
  from: string;
15375
16156
  subject: string;
@@ -15392,7 +16173,7 @@ declare function init(config: AuthHeroConfig): {
15392
16173
  };
15393
16174
  };
15394
16175
  output: {
15395
- name: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
16176
+ name: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
15396
16177
  body: string;
15397
16178
  subject: string;
15398
16179
  }[];
@@ -15405,7 +16186,7 @@ declare function init(config: AuthHeroConfig): {
15405
16186
  $get: {
15406
16187
  input: {
15407
16188
  param: {
15408
- templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
16189
+ templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
15409
16190
  };
15410
16191
  } & {
15411
16192
  header: {
@@ -15418,7 +16199,7 @@ declare function init(config: AuthHeroConfig): {
15418
16199
  } | {
15419
16200
  input: {
15420
16201
  param: {
15421
- templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
16202
+ templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
15422
16203
  };
15423
16204
  } & {
15424
16205
  header: {
@@ -15426,7 +16207,7 @@ declare function init(config: AuthHeroConfig): {
15426
16207
  };
15427
16208
  };
15428
16209
  output: {
15429
- template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
16210
+ template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
15430
16211
  body: string;
15431
16212
  from: string;
15432
16213
  subject: string;
@@ -15445,7 +16226,7 @@ declare function init(config: AuthHeroConfig): {
15445
16226
  $put: {
15446
16227
  input: {
15447
16228
  param: {
15448
- templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
16229
+ templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
15449
16230
  };
15450
16231
  } & {
15451
16232
  header: {
@@ -15453,7 +16234,7 @@ declare function init(config: AuthHeroConfig): {
15453
16234
  };
15454
16235
  } & {
15455
16236
  json: {
15456
- template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
16237
+ template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
15457
16238
  body: string;
15458
16239
  subject: string;
15459
16240
  syntax?: "liquid" | undefined;
@@ -15465,7 +16246,7 @@ declare function init(config: AuthHeroConfig): {
15465
16246
  };
15466
16247
  };
15467
16248
  output: {
15468
- template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
16249
+ template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
15469
16250
  body: string;
15470
16251
  from: string;
15471
16252
  subject: string;
@@ -15484,7 +16265,7 @@ declare function init(config: AuthHeroConfig): {
15484
16265
  $patch: {
15485
16266
  input: {
15486
16267
  param: {
15487
- templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
16268
+ templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
15488
16269
  };
15489
16270
  } & {
15490
16271
  header: {
@@ -15492,7 +16273,7 @@ declare function init(config: AuthHeroConfig): {
15492
16273
  };
15493
16274
  } & {
15494
16275
  json: {
15495
- template?: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
16276
+ template?: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
15496
16277
  body?: string | undefined;
15497
16278
  from?: string | undefined;
15498
16279
  subject?: string | undefined;
@@ -15509,7 +16290,7 @@ declare function init(config: AuthHeroConfig): {
15509
16290
  } | {
15510
16291
  input: {
15511
16292
  param: {
15512
- templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
16293
+ templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
15513
16294
  };
15514
16295
  } & {
15515
16296
  header: {
@@ -15517,7 +16298,7 @@ declare function init(config: AuthHeroConfig): {
15517
16298
  };
15518
16299
  } & {
15519
16300
  json: {
15520
- template?: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
16301
+ template?: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
15521
16302
  body?: string | undefined;
15522
16303
  from?: string | undefined;
15523
16304
  subject?: string | undefined;
@@ -15529,7 +16310,7 @@ declare function init(config: AuthHeroConfig): {
15529
16310
  };
15530
16311
  };
15531
16312
  output: {
15532
- template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
16313
+ template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
15533
16314
  body: string;
15534
16315
  from: string;
15535
16316
  subject: string;
@@ -15548,7 +16329,7 @@ declare function init(config: AuthHeroConfig): {
15548
16329
  $delete: {
15549
16330
  input: {
15550
16331
  param: {
15551
- templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
16332
+ templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
15552
16333
  };
15553
16334
  } & {
15554
16335
  header: {
@@ -15561,7 +16342,7 @@ declare function init(config: AuthHeroConfig): {
15561
16342
  } | {
15562
16343
  input: {
15563
16344
  param: {
15564
- templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
16345
+ templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
15565
16346
  };
15566
16347
  } & {
15567
16348
  header: {
@@ -15578,7 +16359,7 @@ declare function init(config: AuthHeroConfig): {
15578
16359
  $post: {
15579
16360
  input: {
15580
16361
  param: {
15581
- templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
16362
+ templateName: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
15582
16363
  };
15583
16364
  } & {
15584
16365
  header: {
@@ -15861,7 +16642,7 @@ declare function init(config: AuthHeroConfig): {
15861
16642
  type: "auth0_managed_certs" | "self_managed_certs";
15862
16643
  custom_domain_id: string;
15863
16644
  primary: boolean;
15864
- status: "pending" | "ready" | "disabled" | "pending_verification";
16645
+ status: "disabled" | "pending" | "ready" | "pending_verification";
15865
16646
  verification_method?: "txt" | undefined;
15866
16647
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
15867
16648
  domain_metadata?: {
@@ -15902,7 +16683,7 @@ declare function init(config: AuthHeroConfig): {
15902
16683
  type: "auth0_managed_certs" | "self_managed_certs";
15903
16684
  custom_domain_id: string;
15904
16685
  primary: boolean;
15905
- status: "pending" | "ready" | "disabled" | "pending_verification";
16686
+ status: "disabled" | "pending" | "ready" | "pending_verification";
15906
16687
  verification_method?: "txt" | undefined;
15907
16688
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
15908
16689
  domain_metadata?: {
@@ -15966,7 +16747,7 @@ declare function init(config: AuthHeroConfig): {
15966
16747
  type: "auth0_managed_certs" | "self_managed_certs";
15967
16748
  custom_domain_id: string;
15968
16749
  primary: boolean;
15969
- status: "pending" | "ready" | "disabled" | "pending_verification";
16750
+ status: "disabled" | "pending" | "ready" | "pending_verification";
15970
16751
  verification_method?: "txt" | undefined;
15971
16752
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
15972
16753
  domain_metadata?: {
@@ -16013,7 +16794,7 @@ declare function init(config: AuthHeroConfig): {
16013
16794
  type: "auth0_managed_certs" | "self_managed_certs";
16014
16795
  custom_domain_id: string;
16015
16796
  primary: boolean;
16016
- status: "pending" | "ready" | "disabled" | "pending_verification";
16797
+ status: "disabled" | "pending" | "ready" | "pending_verification";
16017
16798
  verification_method?: "txt" | undefined;
16018
16799
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
16019
16800
  domain_metadata?: {
@@ -16059,7 +16840,7 @@ declare function init(config: AuthHeroConfig): {
16059
16840
  type: "auth0_managed_certs" | "self_managed_certs";
16060
16841
  custom_domain_id: string;
16061
16842
  primary: boolean;
16062
- status: "pending" | "ready" | "disabled" | "pending_verification";
16843
+ status: "disabled" | "pending" | "ready" | "pending_verification";
16063
16844
  verification_method?: "txt" | undefined;
16064
16845
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
16065
16846
  domain_metadata?: {
@@ -16100,7 +16881,7 @@ declare function init(config: AuthHeroConfig): {
16100
16881
  type: "auth0_managed_certs" | "self_managed_certs";
16101
16882
  custom_domain_id: string;
16102
16883
  primary: boolean;
16103
- status: "pending" | "ready" | "disabled" | "pending_verification";
16884
+ status: "disabled" | "pending" | "ready" | "pending_verification";
16104
16885
  verification_method?: "txt" | undefined;
16105
16886
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
16106
16887
  domain_metadata?: {
@@ -17801,7 +18582,7 @@ declare function init(config: AuthHeroConfig): {
17801
18582
  scope?: string | undefined;
17802
18583
  grant_types?: string[] | undefined;
17803
18584
  response_types?: string[] | undefined;
17804
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
18585
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
17805
18586
  jwks_uri?: string | undefined;
17806
18587
  jwks?: Record<string, unknown> | undefined;
17807
18588
  software_id?: string | undefined;
@@ -17890,7 +18671,7 @@ declare function init(config: AuthHeroConfig): {
17890
18671
  scope?: string | undefined;
17891
18672
  grant_types?: string[] | undefined;
17892
18673
  response_types?: string[] | undefined;
17893
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
18674
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
17894
18675
  jwks_uri?: string | undefined;
17895
18676
  jwks?: Record<string, unknown> | undefined;
17896
18677
  software_id?: string | undefined;
@@ -18237,19 +19018,19 @@ declare function init(config: AuthHeroConfig): {
18237
19018
  send: "code" | "link";
18238
19019
  authParams: {
18239
19020
  username?: string | undefined;
18240
- state?: string | undefined;
18241
- audience?: string | undefined;
18242
19021
  response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
18243
19022
  response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
18244
19023
  scope?: string | undefined;
19024
+ audience?: string | undefined;
19025
+ state?: string | undefined;
19026
+ prompt?: string | undefined;
18245
19027
  organization?: string | undefined;
18246
- nonce?: string | undefined;
18247
- act_as?: string | undefined;
19028
+ ui_locales?: string | undefined;
18248
19029
  redirect_uri?: string | undefined;
18249
- prompt?: string | undefined;
19030
+ act_as?: string | undefined;
19031
+ nonce?: string | undefined;
18250
19032
  code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
18251
19033
  code_challenge?: string | undefined;
18252
- ui_locales?: string | undefined;
18253
19034
  max_age?: number | undefined;
18254
19035
  acr_values?: string | undefined;
18255
19036
  claims?: {
@@ -18273,19 +19054,19 @@ declare function init(config: AuthHeroConfig): {
18273
19054
  send: "code" | "link";
18274
19055
  authParams: {
18275
19056
  username?: string | undefined;
18276
- state?: string | undefined;
18277
- audience?: string | undefined;
18278
19057
  response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
18279
19058
  response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
18280
19059
  scope?: string | undefined;
19060
+ audience?: string | undefined;
19061
+ state?: string | undefined;
19062
+ prompt?: string | undefined;
18281
19063
  organization?: string | undefined;
18282
- nonce?: string | undefined;
18283
- act_as?: string | undefined;
19064
+ ui_locales?: string | undefined;
18284
19065
  redirect_uri?: string | undefined;
18285
- prompt?: string | undefined;
19066
+ act_as?: string | undefined;
19067
+ nonce?: string | undefined;
18286
19068
  code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
18287
19069
  code_challenge?: string | undefined;
18288
- ui_locales?: string | undefined;
18289
19070
  max_age?: number | undefined;
18290
19071
  acr_values?: string | undefined;
18291
19072
  claims?: {
@@ -18452,7 +19233,7 @@ declare function init(config: AuthHeroConfig): {
18452
19233
  error_description?: string | undefined;
18453
19234
  };
18454
19235
  outputFormat: "json";
18455
- status: 400;
19236
+ status: 401;
18456
19237
  } | {
18457
19238
  input: {
18458
19239
  form: {
@@ -18474,7 +19255,7 @@ declare function init(config: AuthHeroConfig): {
18474
19255
  error_description?: string | undefined;
18475
19256
  };
18476
19257
  outputFormat: "json";
18477
- status: 401;
19258
+ status: 400;
18478
19259
  };
18479
19260
  };
18480
19261
  }, "/oauth/revoke"> & hono_types.MergeSchemaPath<{
@@ -18675,16 +19456,11 @@ declare function init(config: AuthHeroConfig): {
18675
19456
  };
18676
19457
  };
18677
19458
  output: {
18678
- access_token: string;
18679
- token_type: string;
18680
- expires_in: number;
18681
- id_token?: string | undefined;
18682
- scope?: string | undefined;
18683
- state?: string | undefined;
18684
- refresh_token?: string | undefined;
19459
+ error: string;
19460
+ error_description?: string | undefined;
18685
19461
  };
18686
19462
  outputFormat: "json";
18687
- status: 200;
19463
+ status: 401;
18688
19464
  } | {
18689
19465
  input: {
18690
19466
  form: {
@@ -18782,11 +19558,16 @@ declare function init(config: AuthHeroConfig): {
18782
19558
  };
18783
19559
  };
18784
19560
  output: {
18785
- error: string;
18786
- error_description?: string | undefined;
19561
+ access_token: string;
19562
+ token_type: string;
19563
+ expires_in: number;
19564
+ id_token?: string | undefined;
19565
+ scope?: string | undefined;
19566
+ state?: string | undefined;
19567
+ refresh_token?: string | undefined;
18787
19568
  };
18788
19569
  outputFormat: "json";
18789
- status: 400;
19570
+ status: 200;
18790
19571
  } | {
18791
19572
  input: {
18792
19573
  form: {
@@ -18888,7 +19669,7 @@ declare function init(config: AuthHeroConfig): {
18888
19669
  error_description?: string | undefined;
18889
19670
  };
18890
19671
  outputFormat: "json";
18891
- status: 401;
19672
+ status: 400;
18892
19673
  } | {
18893
19674
  input: {
18894
19675
  form: {
@@ -19816,7 +20597,7 @@ declare function init(config: AuthHeroConfig): {
19816
20597
  } & {
19817
20598
  form: {
19818
20599
  username: string;
19819
- login_selection?: "password" | "code" | undefined;
20600
+ login_selection?: "code" | "password" | undefined;
19820
20601
  };
19821
20602
  };
19822
20603
  output: {};
@@ -19830,7 +20611,7 @@ declare function init(config: AuthHeroConfig): {
19830
20611
  } & {
19831
20612
  form: {
19832
20613
  username: string;
19833
- login_selection?: "password" | "code" | undefined;
20614
+ login_selection?: "code" | "password" | undefined;
19834
20615
  };
19835
20616
  };
19836
20617
  output: {};
@@ -20195,7 +20976,7 @@ declare function init(config: AuthHeroConfig): {
20195
20976
  $get: {
20196
20977
  input: {
20197
20978
  param: {
20198
- screen: "signup" | "consent" | "login" | "reset-password" | "account" | "enter-password" | "impersonate" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
20979
+ screen: "signup" | "login" | "reset-password" | "consent" | "account" | "enter-password" | "impersonate" | "try-connection-result" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "reset-password/code" | "reset-password/request" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
20199
20980
  };
20200
20981
  } & {
20201
20982
  query: {
@@ -20211,7 +20992,7 @@ declare function init(config: AuthHeroConfig): {
20211
20992
  } | {
20212
20993
  input: {
20213
20994
  param: {
20214
- screen: "signup" | "consent" | "login" | "reset-password" | "account" | "enter-password" | "impersonate" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
20995
+ screen: "signup" | "login" | "reset-password" | "consent" | "account" | "enter-password" | "impersonate" | "try-connection-result" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "reset-password/code" | "reset-password/request" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
20215
20996
  };
20216
20997
  } & {
20217
20998
  query: {
@@ -20227,7 +21008,7 @@ declare function init(config: AuthHeroConfig): {
20227
21008
  } | {
20228
21009
  input: {
20229
21010
  param: {
20230
- screen: "signup" | "consent" | "login" | "reset-password" | "account" | "enter-password" | "impersonate" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
21011
+ screen: "signup" | "login" | "reset-password" | "consent" | "account" | "enter-password" | "impersonate" | "try-connection-result" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "reset-password/code" | "reset-password/request" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
20231
21012
  };
20232
21013
  } & {
20233
21014
  query: {
@@ -20247,7 +21028,7 @@ declare function init(config: AuthHeroConfig): {
20247
21028
  $post: {
20248
21029
  input: {
20249
21030
  param: {
20250
- screen: "signup" | "consent" | "login" | "reset-password" | "enter-password" | "impersonate" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
21031
+ screen: "signup" | "login" | "reset-password" | "consent" | "enter-password" | "impersonate" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "reset-password/code" | "reset-password/request" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
20251
21032
  };
20252
21033
  } & {
20253
21034
  query: {
@@ -20265,7 +21046,7 @@ declare function init(config: AuthHeroConfig): {
20265
21046
  } | {
20266
21047
  input: {
20267
21048
  param: {
20268
- screen: "signup" | "consent" | "login" | "reset-password" | "enter-password" | "impersonate" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
21049
+ screen: "signup" | "login" | "reset-password" | "consent" | "enter-password" | "impersonate" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "reset-password/code" | "reset-password/request" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
20269
21050
  };
20270
21051
  } & {
20271
21052
  query: {
@@ -20363,5 +21144,5 @@ declare function init(config: AuthHeroConfig): {
20363
21144
  createX509Certificate: typeof createX509Certificate;
20364
21145
  };
20365
21146
 
20366
- export { AppLogo, AuthLayout, Button$1 as Button, Button as ButtonUI, CONTROL_PLANE_SYNC_EVENT_PREFIX, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Card as CardUI, CodeHookDestination, ControlPlaneSyncDestination, DEFAULT_WFP_DISPATCH_BINDING, DEFAULT_WFP_SCRIPT_NAME_TEMPLATE, EmailValidatedPage, EnterCodePage, EnterPasswordPage, ErrorMessage, Footer, ForgotPasswordPage, ForgotPasswordSentPage, FormComponent, GoBack, Google as GoogleLogo, Icon, IdentifierForm, IdentifierPage, Input as InputUI, InvalidSessionPage as InvalidSession, Label as LabelUI, Layout, LocalCodeExecutor, LogsDestination, MANAGEMENT_API_AUDIENCE, MANAGEMENT_API_SCOPES, MailgunEmailService, MessagePage as Message, PostmarkEmailService, PreSignUpConfirmationPage, PreSignupPage as PreSignUpPage, RegistrationFinalizerDestination, ResendEmailService, ResetPasswordPage, SignupPage as SignUpPage, SocialButton, Spinner, Trans, USERNAME_PASSWORD_PROVIDER, UnverifiedEmailPage, UserNotFound as UserNotFoundPage, VippsLogo, WebhookDestination, addEntityHooks, backfillProxyHostsToKv, cleanupOutbox, cleanupSessions, cleanupUserSessions, clientInfoMiddleware, composeHostResolvers, createApplySyncEvents, createAuthMiddleware, createDefaultDestinations, createEncryptedDataAdapter, createEncryptedDataAdapterWithKeyRing, createInMemoryCache, createWfpTenantHostResolver, decryptField, decryptFieldWithRing, deepMergePatch, drainOutbox, encryptField, encryptFieldWithRing, ensureMutableResponse, fetchAll, init, injectTailwindCSS, isAllowedIssuer, isEncrypted, isInteractiveClient, isWfpSubdomainSafeTenantId, listControlPlaneKeys, loadEncryptionKey, mailgunCredentialsSchema, parseKeyId, postmarkCredentialsSchema, index_d as preDefinedHooks, provisionDefaultClients, resendCredentialsSchema, resolveSigningKeyMode, resolveSigningKeys, runOutboxRelay, seed, tailwindCss, tenantMiddleware, toMutableResponse, verifyControlPlaneToken, waitUntil, wfpTenantHost, wrapProxyAdaptersWithKvPublish, wrapTenantsAdapterWithWfpKvPublish };
20367
- export type { AuthHeroConfig, BackfillProxyHostsOptions, BackfillResult, ControlPlaneSyncDestinationOptions, CreateApplySyncEventsOptions, CreateDefaultDestinationsConfig, EncryptKeyIdResolver, EnsureUsernameOptions, EntityHookContext, EntityHooks, EntityHooksConfig, EventDestination, FetchAllOptions, GetServiceToken, HookEvent, HookRequest, Hooks, InMemoryCacheConfig, IssuerResolver, KeyRing, KvPublishOptions, MailgunCredentials, MailgunEmailServiceOptions, ManagementApiExtension, ManagementApiScope, ManagementAudienceResolver, OnExecuteCredentialsExchange, OnExecuteCredentialsExchangeAPI, OnExecutePostLogin, OnExecutePostLoginAPI, OnExecutePostUserDeletion, OnExecutePostUserDeletionAPI, OnExecutePostUserRegistration, OnExecutePostUserRegistrationAPI, OnExecutePostUserUpdate, OnExecutePostUserUpdateAPI, OnExecutePreUserDeletion, OnExecutePreUserDeletionAPI, OnExecutePreUserRegistration, OnExecutePreUserRegistrationAPI, OnExecutePreUserUpdate, OnExecutePreUserUpdateAPI, OnExecuteValidateRegistrationUsername, OnExecuteValidateRegistrationUsernameAPI, OnFetchUserInfo, OnFetchUserInfoAPI, OutboxCleanupParams, OutboxConfig, PostmarkCredentials, PostmarkEmailServiceOptions, ProvisionDefaultClientsOptions, ProvisionDefaultClientsResult, ResendCredentials, ResendEmailServiceOptions, ResolveSigningKeysOptions, RolePermissionHooks, RunOutboxRelayConfig, SeedOptions, SeedResult, SigningKeyMode, SigningKeyModeOption, SigningKeyModeResolver, SyncEntity, SyncEvent, SyncOp, TenantOperationExecutorBinding, TokenAPI, Transaction, UserInfoEvent, UserLinkingMode, UserLinkingModeOption, UserLinkingModeResolver, UserSessionCleanupParams, UsernamePasswordProviderResolver, VerifyControlPlaneTokenOptions, VerifyControlPlaneTokenResult, WebhookDestinationOptions, WebhookInvoker, WebhookInvokerParams, WfpTenantHostResolverOptions, WfpTenantsKvPublishOptions, WrappedProxyAdapters };
21147
+ export { AppLogo, AuthLayout, Button$1 as Button, Button as ButtonUI, CONTROL_PLANE_CUSTOM_DOMAINS_PATH, CONTROL_PLANE_CUSTOM_DOMAINS_SCOPE, CONTROL_PLANE_SYNC_EVENT_PREFIX, CONTROL_PLANE_SYNC_SCOPE, CONTROL_PLANE_TENANT_MEMBERS_PATH, CONTROL_PLANE_TENANT_MEMBERS_SCOPE, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Card as CardUI, CodeHookDestination, ControlPlaneSyncDestination, DEFAULT_WFP_DISPATCH_BINDING, DEFAULT_WFP_SCRIPT_NAME_TEMPLATE, EmailValidatedPage, EnterCodePage, EnterPasswordPage, ErrorMessage, Footer, ForgotPasswordPage, ForgotPasswordSentPage, FormComponent, GoBack, Google as GoogleLogo, Icon, IdentifierForm, IdentifierPage, Input as InputUI, InvalidSessionPage as InvalidSession, Label as LabelUI, Layout, LocalCodeExecutor, LogsDestination, MANAGEMENT_API_AUDIENCE, MANAGEMENT_API_SCOPES, MailgunEmailService, MessagePage as Message, PostmarkEmailService, PreSignUpConfirmationPage, PreSignupPage as PreSignUpPage, RegistrationFinalizerDestination, ResendEmailService, ResetPasswordPage, SignupPage as SignUpPage, SocialButton, Spinner, TenantInvitationNotFoundError, TenantMembersNotFoundError, TenantOrganizationNotFoundError, Trans, USERNAME_PASSWORD_PROVIDER, UnverifiedEmailPage, UserNotFound as UserNotFoundPage, VippsLogo, WebhookDestination, addEntityHooks, backfillProxyHostsToKv, cleanupOutbox, cleanupSessions, cleanupUserSessions, clientInfoMiddleware, composeHostResolvers, createApplySyncEvents, createAuthMiddleware, createControlPlaneClient, createControlPlaneCustomDomainsAdapter, createControlPlaneTenantMembersAdapter, createDefaultDestinations, createEncryptedDataAdapter, createEncryptedDataAdapterWithKeyRing, createInMemoryCache, createLocalTenantMembersBackend, createServiceTokenCore, createTenantMembersControlPlaneApp, createTenantMembersRoutes, createWfpTenantHostResolver, decryptField, decryptFieldWithRing, deepMergePatch, drainOutbox, encryptField, encryptFieldWithRing, ensureMutableResponse, fetchAll, init, injectTailwindCSS, isAllowedIssuer, isEncrypted, isInteractiveClient, isWfpSubdomainSafeTenantId, listControlPlaneKeys, loadEncryptionKey, mailgunCredentialsSchema, parseKeyId, postmarkCredentialsSchema, index_d as preDefinedHooks, provisionDefaultClients, resendCredentialsSchema, resolveSigningKeyMode, resolveSigningKeys, runOutboxRelay, seed, tailwindCss, tenantMiddleware, toMutableResponse, verifyControlPlaneToken, waitUntil, wfpTenantHost, wrapProxyAdaptersWithKvPublish, wrapTenantsAdapterWithWfpKvPublish };
21148
+ export type { AuthHeroConfig, BackfillProxyHostsOptions, BackfillResult, ControlPlaneClient, ControlPlaneClientOptions, ControlPlaneCustomDomainsOptions, ControlPlaneRequest, ControlPlaneResponse, ControlPlaneSyncDestinationOptions, ControlPlaneTenantMembersOptions, CreateApplySyncEventsOptions, CreateDefaultDestinationsConfig, CreateServiceTokenCoreParams, EncryptKeyIdResolver, EnsureUsernameOptions, EntityHookContext, EntityHooks, EntityHooksConfig, EventDestination, FetchAllOptions, GetControlPlaneToken, GetServiceToken, GetTenantMembersBackend, HookEvent, HookRequest, Hooks, InMemoryCacheConfig, IssuerResolver, KeyRing, KvPublishOptions, LocalTenantMembersBackendOptions, MailgunCredentials, MailgunEmailServiceOptions, ManagementApiExtension, ManagementApiScope, ManagementAudienceResolver, OnExecuteCredentialsExchange, OnExecuteCredentialsExchangeAPI, OnExecutePostLogin, OnExecutePostLoginAPI, OnExecutePostUserDeletion, OnExecutePostUserDeletionAPI, OnExecutePostUserRegistration, OnExecutePostUserRegistrationAPI, OnExecutePostUserUpdate, OnExecutePostUserUpdateAPI, OnExecutePreUserDeletion, OnExecutePreUserDeletionAPI, OnExecutePreUserRegistration, OnExecutePreUserRegistrationAPI, OnExecutePreUserUpdate, OnExecutePreUserUpdateAPI, OnExecuteValidateRegistrationUsername, OnExecuteValidateRegistrationUsernameAPI, OnFetchUserInfo, OnFetchUserInfoAPI, OutboxCleanupParams, OutboxConfig, PostmarkCredentials, PostmarkEmailServiceOptions, ProvisionDefaultClientsOptions, ProvisionDefaultClientsResult, ResendCredentials, ResendEmailServiceOptions, ResolveSigningKeysOptions, RolePermissionHooks, RunOutboxRelayConfig, SeedOptions, SeedResult, ServiceTokenResponse, SigningKeyMode, SigningKeyModeOption, SigningKeyModeResolver, SyncEntity, SyncEvent, SyncOp, TenantInvitation, TenantInvitationInput, TenantMember, TenantMembersBackend, TenantMembersControlPlaneOptions, TenantMembersListResult, TenantMembersPageParams, TenantOperationExecutorBinding, TenantRole, TokenAPI, Transaction, UserInfoEvent, UserLinkingMode, UserLinkingModeOption, UserLinkingModeResolver, UserSessionCleanupParams, UsernamePasswordProviderResolver, VerifyControlPlaneTokenOptions, VerifyControlPlaneTokenResult, WebhookDestinationOptions, WebhookInvoker, WebhookInvokerParams, WfpTenantHostResolverOptions, WfpTenantsKvPublishOptions, WrappedProxyAdapters };