authhero 9.26.0 → 9.27.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/u/widget/authhero-widget.esm.js +1 -1
- package/dist/assets/u/widget/index.esm.js +1 -1
- package/dist/assets/u/widget/{p-210f06bf.entry.js → p-ce8560f6.entry.js} +1 -1
- package/dist/authhero.cjs +119 -119
- package/dist/authhero.d.ts +613 -111
- package/dist/authhero.mjs +28135 -26847
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/device-code.d.ts +11 -0
- package/dist/types/authentication-flows/passwordless.d.ts +4 -3
- package/dist/types/generated/locale-types.d.ts +16 -0
- package/dist/types/helpers/client.d.ts +2 -0
- package/dist/types/helpers/codes-cleanup.d.ts +1 -1
- package/dist/types/helpers/control-plane-client.d.ts +2 -0
- package/dist/types/helpers/device-flow.d.ts +25 -0
- package/dist/types/helpers/hook-events.d.ts +8 -4
- package/dist/types/helpers/hook-user-payload.d.ts +2 -0
- package/dist/types/helpers/logging.d.ts +2 -1
- package/dist/types/helpers/outbox-destinations/code-hooks.d.ts +8 -3
- package/dist/types/helpers/outbox-destinations/webhooks.d.ts +3 -0
- package/dist/types/helpers/reserved-claims.d.ts +2 -2
- package/dist/types/helpers/scopes-permissions.d.ts +1 -1
- package/dist/types/hooks/lifecycle-codehooks.d.ts +16 -0
- package/dist/types/hooks/user-deletion.d.ts +9 -0
- package/dist/types/index.d.ts +332 -104
- package/dist/types/routes/auth-api/device.d.ts +139 -0
- package/dist/types/routes/auth-api/index.d.ts +225 -24
- package/dist/types/routes/auth-api/passwordless.d.ts +10 -10
- package/dist/types/routes/auth-api/revoke.d.ts +2 -2
- package/dist/types/routes/auth-api/token.d.ts +82 -12
- package/dist/types/routes/auth-api/well-known.d.ts +2 -0
- package/dist/types/routes/management-api/action-executions.d.ts +1 -1
- package/dist/types/routes/management-api/action-triggers.d.ts +27 -2
- package/dist/types/routes/management-api/actions.d.ts +11 -11
- package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
- package/dist/types/routes/management-api/branding.d.ts +5 -5
- package/dist/types/routes/management-api/clients.d.ts +2 -2
- package/dist/types/routes/management-api/connections.d.ts +9 -9
- package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
- package/dist/types/routes/management-api/emails.d.ts +6 -6
- package/dist/types/routes/management-api/forms.d.ts +144 -144
- package/dist/types/routes/management-api/helpers.d.ts +1 -1
- package/dist/types/routes/management-api/hook-code.d.ts +2 -2
- package/dist/types/routes/management-api/hooks.d.ts +56 -56
- package/dist/types/routes/management-api/index.d.ts +105 -80
- package/dist/types/routes/management-api/log-streams.d.ts +6 -6
- package/dist/types/routes/management-api/logs.d.ts +4 -4
- package/dist/types/routes/management-api/organizations.d.ts +8 -8
- package/dist/types/routes/management-api/prompts.d.ts +8 -8
- package/dist/types/routes/management-api/resource-servers.d.ts +8 -8
- package/dist/types/routes/management-api/roles.d.ts +1 -1
- package/dist/types/routes/management-api/tenant-members-requests.test.d.ts +1 -0
- package/dist/types/routes/management-api/tenant-members.d.ts +155 -1
- package/dist/types/routes/management-api/tenant-operations.d.ts +12 -10
- package/dist/types/routes/management-api/tenants.d.ts +26 -12
- package/dist/types/routes/management-api/users.d.ts +15 -15
- package/dist/types/routes/proxy-control-plane/tenant-members.d.ts +11 -0
- package/dist/types/routes/scim/index.d.ts +1 -0
- package/dist/types/routes/universal-login/common.d.ts +16 -12
- package/dist/types/routes/universal-login/flow-api.d.ts +8 -8
- package/dist/types/routes/universal-login/screens/device-flow.d.ts +4 -0
- package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
- package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
- package/dist/types/state-machines/login-session.d.ts +5 -0
- package/dist/types/tenant-members/remote-backend.test.d.ts +1 -0
- package/dist/types/tenant-members/request-notifier.d.ts +9 -0
- package/dist/types/tenant-members/request-notify.test.d.ts +1 -0
- package/dist/types/tenant-members/requests.d.ts +79 -0
- package/dist/types/tenant-members/requests.test.d.ts +1 -0
- package/dist/types/tenant-members/wire.d.ts +10 -0
- package/dist/types/types/AuthHeroConfig.d.ts +10 -0
- package/dist/types/types/Variables.d.ts +3 -1
- package/package.json +6 -6
package/dist/authhero.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _authhero_adapter_interfaces from '@authhero/adapter-interfaces';
|
|
2
|
-
import { DataAdapters, LoginSession, RolePermissionInsert, AuthorizationResponseMode, AuthorizationResponseType, User, LinkCandidate, roleSchema, inviteSchema, ProxyRoute, ResourceServer, ResourceServerInsert, Role, RoleInsert, Connection, ConnectionInsert, Tenant, CreateTenantParams, Action, ActionInsert, ActionUpdate, Hook, HookInsert, HookCode, HookCodeInsert, TenantOperationKind, TenantOperation, Rollout, CodeExecutor, SigningKey, Theme, Branding, AuthParams, CacheAdapter, EmailServiceAdapter, EmailServiceSendParams, OutboxAdapter, AuditEvent, CodesAdapter, ActionExecutionsAdapter, HooksAdapter, Client, LogsDataAdapter, LogInsert, UserDataAdapter, AuditCategory, ProxyRoutesAdapter, CustomDomainsAdapter, TenantsDataAdapter, KeysAdapter, ListParams, CodeExecutionResult } from '@authhero/adapter-interfaces';
|
|
2
|
+
import { DataAdapters, RequestAuth, LoginSession, RolePermissionInsert, AuthorizationResponseMode, AuthorizationResponseType, User, LinkCandidate, roleSchema, inviteSchema, TenantMemberRequest, ProxyRoute, ResourceServer, ResourceServerInsert, Role, RoleInsert, Connection, ConnectionInsert, Tenant, CreateTenantParams, Action, ActionInsert, ActionUpdate, Hook, HookInsert, HookCode, HookCodeInsert, TenantOperationKind, TenantOperation, Rollout, CodeExecutor, SigningKey, Theme, Branding, AuthParams, CacheAdapter, EmailServiceAdapter, EmailServiceSendParams, OutboxAdapter, AuditEvent, CodesAdapter, ActionExecutionsAdapter, HooksAdapter, Client, LogsDataAdapter, LogInsert, UserDataAdapter, AuditCategory, ProxyRoutesAdapter, CustomDomainsAdapter, TenantsDataAdapter, KeysAdapter, ListParams, CodeExecutionResult } from '@authhero/adapter-interfaces';
|
|
3
3
|
export * from '@authhero/adapter-interfaces';
|
|
4
4
|
import * as hono_utils_http_status from 'hono/utils/http-status';
|
|
5
5
|
import * as hono_types from 'hono/types';
|
|
@@ -102,6 +102,8 @@ type Variables = {
|
|
|
102
102
|
client_id?: string;
|
|
103
103
|
user_id?: string;
|
|
104
104
|
username?: string;
|
|
105
|
+
/** Verified account-session caller, captured before account mutations. */
|
|
106
|
+
sessionAuth?: RequestAuth;
|
|
105
107
|
connection?: string;
|
|
106
108
|
body?: any;
|
|
107
109
|
/**
|
|
@@ -365,6 +367,7 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
365
367
|
config_sync: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
366
368
|
"inherit-on-read": "inherit-on-read";
|
|
367
369
|
synced: "synced";
|
|
370
|
+
detached: "detached";
|
|
368
371
|
}>>>;
|
|
369
372
|
config_sync_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
370
373
|
config_synced_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -571,6 +574,7 @@ declare const enrichedClientSchema: z.ZodObject<{
|
|
|
571
574
|
}, z.core.$strip>>;
|
|
572
575
|
id: z.ZodString;
|
|
573
576
|
is_control_plane: z.ZodOptional<z.ZodBoolean>;
|
|
577
|
+
has_children: z.ZodOptional<z.ZodBoolean>;
|
|
574
578
|
}, z.core.$strip>;
|
|
575
579
|
connections: z.ZodArray<z.ZodObject<{
|
|
576
580
|
created_at: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
@@ -1117,6 +1121,80 @@ declare class TenantInvitationNotFoundError extends TenantMembersNotFoundError {
|
|
|
1117
1121
|
constructor(invitationId: string);
|
|
1118
1122
|
}
|
|
1119
1123
|
|
|
1124
|
+
/** What each kind of request carries in `payload`. */
|
|
1125
|
+
declare const tenantMemberRequestPayloadSchemas: {
|
|
1126
|
+
invite: z.ZodObject<{
|
|
1127
|
+
invitee: z.ZodObject<{
|
|
1128
|
+
email: z.ZodString;
|
|
1129
|
+
}, z.core.$strip>;
|
|
1130
|
+
inviter: z.ZodDefault<z.ZodObject<{
|
|
1131
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1132
|
+
}, z.core.$strip>>;
|
|
1133
|
+
roles: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
1134
|
+
send_invitation_email: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1135
|
+
ttl_sec: z.ZodOptional<z.ZodNumber>;
|
|
1136
|
+
}, z.core.$strip>;
|
|
1137
|
+
add_members: z.ZodObject<{
|
|
1138
|
+
user_ids: z.ZodArray<z.ZodString>;
|
|
1139
|
+
}, z.core.$strip>;
|
|
1140
|
+
remove_members: z.ZodObject<{
|
|
1141
|
+
user_ids: z.ZodArray<z.ZodString>;
|
|
1142
|
+
}, z.core.$strip>;
|
|
1143
|
+
assign_roles: z.ZodObject<{
|
|
1144
|
+
user_id: z.ZodString;
|
|
1145
|
+
roles: z.ZodArray<z.ZodString>;
|
|
1146
|
+
}, z.core.$strip>;
|
|
1147
|
+
remove_roles: z.ZodObject<{
|
|
1148
|
+
user_id: z.ZodString;
|
|
1149
|
+
roles: z.ZodArray<z.ZodString>;
|
|
1150
|
+
}, z.core.$strip>;
|
|
1151
|
+
revoke_invitation: z.ZodObject<{
|
|
1152
|
+
invitation_id: z.ZodString;
|
|
1153
|
+
}, z.core.$strip>;
|
|
1154
|
+
};
|
|
1155
|
+
type Ctx$1 = Context<{
|
|
1156
|
+
Bindings: Bindings;
|
|
1157
|
+
Variables: Variables;
|
|
1158
|
+
}>;
|
|
1159
|
+
/**
|
|
1160
|
+
* What a deployment does once a request is stored, given the stored row. A
|
|
1161
|
+
* shard tells the control plane (`createControlPlaneRequestNotifier`), a
|
|
1162
|
+
* single-instance deployment runs it right away. A failure here never fails
|
|
1163
|
+
* the registration: the request stays `pending` and is picked up later.
|
|
1164
|
+
*/
|
|
1165
|
+
type AfterTenantMemberRequestRegistered = (ctx: Ctx$1, request: TenantMemberRequest) => Promise<void>;
|
|
1166
|
+
interface TenantMemberRequestsConfig {
|
|
1167
|
+
afterRegister?: AfterTenantMemberRequestRegistered;
|
|
1168
|
+
}
|
|
1169
|
+
/**
|
|
1170
|
+
* The request cannot be carried out, for a reason an admin may read: it is not
|
|
1171
|
+
* a failure of the system, so it is not retried.
|
|
1172
|
+
*/
|
|
1173
|
+
declare class TenantMemberRequestRejected extends Error {
|
|
1174
|
+
constructor(reason: string);
|
|
1175
|
+
}
|
|
1176
|
+
interface ExecuteTenantMemberRequestOptions {
|
|
1177
|
+
/**
|
|
1178
|
+
* Whether the requester may still change this tenant's team. Defaults to
|
|
1179
|
+
* holding at least one role in the tenant's organization.
|
|
1180
|
+
*/
|
|
1181
|
+
isRequesterAllowed?: (backend: TenantMembersBackend, tenantId: string, userId: string) => Promise<boolean>;
|
|
1182
|
+
}
|
|
1183
|
+
/**
|
|
1184
|
+
* Carries out one request against the control-plane team of its tenant.
|
|
1185
|
+
*
|
|
1186
|
+
* `tenantId` is the tenant the caller proved it speaks for (the verified
|
|
1187
|
+
* service token's `tenant_id`); a request that names another tenant is
|
|
1188
|
+
* refused. The requester is checked again here because the request may have
|
|
1189
|
+
* waited a while. Running it twice is safe: membership and role changes are
|
|
1190
|
+
* idempotent, and an invitation that was already created for the same address
|
|
1191
|
+
* is reused instead of created again.
|
|
1192
|
+
*
|
|
1193
|
+
* Returns what the request produced, to store on the row. Throws
|
|
1194
|
+
* {@link TenantMemberRequestRejected} when it must not or cannot run.
|
|
1195
|
+
*/
|
|
1196
|
+
declare function executeTenantMemberRequest(backend: TenantMembersBackend, tenantId: string, request: Pick<TenantMemberRequest, "tenant_id" | "kind" | "requested_by" | "payload" | "result">, options?: ExecuteTenantMemberRequestOptions): Promise<Record<string, unknown> | null>;
|
|
1197
|
+
|
|
1120
1198
|
type Ctx = Context<{
|
|
1121
1199
|
Bindings: Bindings;
|
|
1122
1200
|
Variables: Variables;
|
|
@@ -1131,10 +1209,51 @@ type GetTenantMembersBackend = (ctx: Ctx) => TenantMembersBackend | Promise<Tena
|
|
|
1131
1209
|
* {@link TenantMembersBackend}; this layer only pins the tenant to the token's
|
|
1132
1210
|
* org claim and shapes responses.
|
|
1133
1211
|
*/
|
|
1134
|
-
declare function createTenantMembersRoutes(getBackend: GetTenantMembersBackend): OpenAPIHono<{
|
|
1212
|
+
declare function createTenantMembersRoutes(getBackend: GetTenantMembersBackend, requests?: TenantMemberRequestsConfig): OpenAPIHono<{
|
|
1135
1213
|
Bindings: Bindings;
|
|
1136
1214
|
Variables: Variables;
|
|
1137
1215
|
}, {
|
|
1216
|
+
"/requests": {
|
|
1217
|
+
$get: {
|
|
1218
|
+
input: {
|
|
1219
|
+
query: {
|
|
1220
|
+
status?: "pending" | "failed" | "succeeded" | undefined;
|
|
1221
|
+
page?: unknown;
|
|
1222
|
+
per_page?: unknown;
|
|
1223
|
+
};
|
|
1224
|
+
} & {
|
|
1225
|
+
header: {
|
|
1226
|
+
"tenant-id"?: string | undefined;
|
|
1227
|
+
};
|
|
1228
|
+
};
|
|
1229
|
+
output: {
|
|
1230
|
+
requests: {
|
|
1231
|
+
kind: "invite" | "add_members" | "remove_members" | "assign_roles" | "remove_roles" | "revoke_invitation";
|
|
1232
|
+
requested_by: string;
|
|
1233
|
+
payload: {
|
|
1234
|
+
[x: string]: hono_utils_types.JSONValue;
|
|
1235
|
+
};
|
|
1236
|
+
id: string;
|
|
1237
|
+
tenant_id: string;
|
|
1238
|
+
status: "pending" | "failed" | "succeeded";
|
|
1239
|
+
created_at: string;
|
|
1240
|
+
updated_at: string;
|
|
1241
|
+
result?: {
|
|
1242
|
+
[x: string]: hono_utils_types.JSONValue;
|
|
1243
|
+
} | null | undefined;
|
|
1244
|
+
error?: string | null | undefined;
|
|
1245
|
+
notified_at?: string | null | undefined;
|
|
1246
|
+
finished_at?: string | null | undefined;
|
|
1247
|
+
}[];
|
|
1248
|
+
start: number;
|
|
1249
|
+
limit: number;
|
|
1250
|
+
length: number;
|
|
1251
|
+
};
|
|
1252
|
+
outputFormat: "json";
|
|
1253
|
+
status: 200;
|
|
1254
|
+
};
|
|
1255
|
+
};
|
|
1256
|
+
} & {
|
|
1138
1257
|
"/roles": {
|
|
1139
1258
|
$get: {
|
|
1140
1259
|
input: {
|
|
@@ -1253,6 +1372,30 @@ declare function createTenantMembersRoutes(getBackend: GetTenantMembersBackend):
|
|
|
1253
1372
|
};
|
|
1254
1373
|
outputFormat: "json";
|
|
1255
1374
|
status: 201;
|
|
1375
|
+
} | {
|
|
1376
|
+
input: {
|
|
1377
|
+
header: {
|
|
1378
|
+
"tenant-id"?: string | undefined;
|
|
1379
|
+
};
|
|
1380
|
+
} & {
|
|
1381
|
+
json: {
|
|
1382
|
+
invitee: {
|
|
1383
|
+
email: string;
|
|
1384
|
+
};
|
|
1385
|
+
inviter?: {
|
|
1386
|
+
name?: string | undefined;
|
|
1387
|
+
} | undefined;
|
|
1388
|
+
roles?: string[] | undefined;
|
|
1389
|
+
send_invitation_email?: boolean | undefined;
|
|
1390
|
+
ttl_sec?: number | undefined;
|
|
1391
|
+
};
|
|
1392
|
+
};
|
|
1393
|
+
output: {
|
|
1394
|
+
id: string;
|
|
1395
|
+
status: "pending" | "failed" | "succeeded";
|
|
1396
|
+
};
|
|
1397
|
+
outputFormat: "json";
|
|
1398
|
+
status: 202;
|
|
1256
1399
|
};
|
|
1257
1400
|
};
|
|
1258
1401
|
} & {
|
|
@@ -1270,6 +1413,22 @@ declare function createTenantMembersRoutes(getBackend: GetTenantMembersBackend):
|
|
|
1270
1413
|
output: {};
|
|
1271
1414
|
outputFormat: string;
|
|
1272
1415
|
status: 204;
|
|
1416
|
+
} | {
|
|
1417
|
+
input: {
|
|
1418
|
+
param: {
|
|
1419
|
+
invitation_id: string;
|
|
1420
|
+
};
|
|
1421
|
+
} & {
|
|
1422
|
+
header: {
|
|
1423
|
+
"tenant-id"?: string | undefined;
|
|
1424
|
+
};
|
|
1425
|
+
};
|
|
1426
|
+
output: {
|
|
1427
|
+
id: string;
|
|
1428
|
+
status: "pending" | "failed" | "succeeded";
|
|
1429
|
+
};
|
|
1430
|
+
outputFormat: "json";
|
|
1431
|
+
status: 202;
|
|
1273
1432
|
};
|
|
1274
1433
|
};
|
|
1275
1434
|
} & {
|
|
@@ -1327,6 +1486,22 @@ declare function createTenantMembersRoutes(getBackend: GetTenantMembersBackend):
|
|
|
1327
1486
|
output: {};
|
|
1328
1487
|
outputFormat: string;
|
|
1329
1488
|
status: 204;
|
|
1489
|
+
} | {
|
|
1490
|
+
input: {
|
|
1491
|
+
header: {
|
|
1492
|
+
"tenant-id"?: string | undefined;
|
|
1493
|
+
};
|
|
1494
|
+
} & {
|
|
1495
|
+
json: {
|
|
1496
|
+
user_ids: string[];
|
|
1497
|
+
};
|
|
1498
|
+
};
|
|
1499
|
+
output: {
|
|
1500
|
+
id: string;
|
|
1501
|
+
status: "pending" | "failed" | "succeeded";
|
|
1502
|
+
};
|
|
1503
|
+
outputFormat: "json";
|
|
1504
|
+
status: 202;
|
|
1330
1505
|
};
|
|
1331
1506
|
};
|
|
1332
1507
|
} & {
|
|
@@ -1344,6 +1519,22 @@ declare function createTenantMembersRoutes(getBackend: GetTenantMembersBackend):
|
|
|
1344
1519
|
output: {};
|
|
1345
1520
|
outputFormat: string;
|
|
1346
1521
|
status: 204;
|
|
1522
|
+
} | {
|
|
1523
|
+
input: {
|
|
1524
|
+
header: {
|
|
1525
|
+
"tenant-id"?: string | undefined;
|
|
1526
|
+
};
|
|
1527
|
+
} & {
|
|
1528
|
+
json: {
|
|
1529
|
+
user_ids: string[];
|
|
1530
|
+
};
|
|
1531
|
+
};
|
|
1532
|
+
output: {
|
|
1533
|
+
id: string;
|
|
1534
|
+
status: "pending" | "failed" | "succeeded";
|
|
1535
|
+
};
|
|
1536
|
+
outputFormat: "json";
|
|
1537
|
+
status: 202;
|
|
1347
1538
|
};
|
|
1348
1539
|
};
|
|
1349
1540
|
} & {
|
|
@@ -1392,6 +1583,26 @@ declare function createTenantMembersRoutes(getBackend: GetTenantMembersBackend):
|
|
|
1392
1583
|
output: {};
|
|
1393
1584
|
outputFormat: string;
|
|
1394
1585
|
status: 204;
|
|
1586
|
+
} | {
|
|
1587
|
+
input: {
|
|
1588
|
+
param: {
|
|
1589
|
+
user_id: string;
|
|
1590
|
+
};
|
|
1591
|
+
} & {
|
|
1592
|
+
header: {
|
|
1593
|
+
"tenant-id"?: string | undefined;
|
|
1594
|
+
};
|
|
1595
|
+
} & {
|
|
1596
|
+
json: {
|
|
1597
|
+
roles: string[];
|
|
1598
|
+
};
|
|
1599
|
+
};
|
|
1600
|
+
output: {
|
|
1601
|
+
id: string;
|
|
1602
|
+
status: "pending" | "failed" | "succeeded";
|
|
1603
|
+
};
|
|
1604
|
+
outputFormat: "json";
|
|
1605
|
+
status: 202;
|
|
1395
1606
|
};
|
|
1396
1607
|
};
|
|
1397
1608
|
} & {
|
|
@@ -1413,6 +1624,26 @@ declare function createTenantMembersRoutes(getBackend: GetTenantMembersBackend):
|
|
|
1413
1624
|
output: {};
|
|
1414
1625
|
outputFormat: string;
|
|
1415
1626
|
status: 204;
|
|
1627
|
+
} | {
|
|
1628
|
+
input: {
|
|
1629
|
+
param: {
|
|
1630
|
+
user_id: string;
|
|
1631
|
+
};
|
|
1632
|
+
} & {
|
|
1633
|
+
header: {
|
|
1634
|
+
"tenant-id"?: string | undefined;
|
|
1635
|
+
};
|
|
1636
|
+
} & {
|
|
1637
|
+
json: {
|
|
1638
|
+
roles: string[];
|
|
1639
|
+
};
|
|
1640
|
+
};
|
|
1641
|
+
output: {
|
|
1642
|
+
id: string;
|
|
1643
|
+
status: "pending" | "failed" | "succeeded";
|
|
1644
|
+
};
|
|
1645
|
+
outputFormat: "json";
|
|
1646
|
+
status: 202;
|
|
1416
1647
|
};
|
|
1417
1648
|
};
|
|
1418
1649
|
}, "/">;
|
|
@@ -1449,6 +1680,17 @@ interface TenantMembersControlPlaneOptions {
|
|
|
1449
1680
|
* control-plane tenant.
|
|
1450
1681
|
*/
|
|
1451
1682
|
getBackend: (c: CpCtx) => TenantMembersBackend | Promise<TenantMembersBackend>;
|
|
1683
|
+
/**
|
|
1684
|
+
* Team-change requests (issue #1550). A shard registers a request in its own
|
|
1685
|
+
* database and calls `POST /requests/notify` with its id; `onNotify` takes
|
|
1686
|
+
* it from there, typically by enqueueing a tenant operation that reads the
|
|
1687
|
+
* request from the shard and carries it out. `tenantId` is the verified
|
|
1688
|
+
* token's, never the body's. Unset, the endpoint answers 501 and the shard
|
|
1689
|
+
* keeps the request until a control plane that has it is in place.
|
|
1690
|
+
*/
|
|
1691
|
+
requests?: {
|
|
1692
|
+
onNotify: (c: CpCtx, tenantId: string, requestId: string) => Promise<void>;
|
|
1693
|
+
};
|
|
1452
1694
|
/**
|
|
1453
1695
|
* Defaults to verifying a `controlplane:tenant_members` bearer token issued
|
|
1454
1696
|
* by `env.ISSUER` or the inbound host. Ignored under
|
|
@@ -2080,6 +2322,16 @@ interface AuthHeroConfig {
|
|
|
2080
2322
|
*/
|
|
2081
2323
|
tenantMembers?: {
|
|
2082
2324
|
getBackend: GetTenantMembersBackend;
|
|
2325
|
+
/**
|
|
2326
|
+
* Register team changes as requests instead of making them in the request
|
|
2327
|
+
* (issue #1550). Needs `tenantMemberRequests` on the data adapter. A write
|
|
2328
|
+
* then answers `202` with the request id, `GET /tenant-members/requests`
|
|
2329
|
+
* lists them, and `afterRegister` decides what happens next: a shard tells
|
|
2330
|
+
* the control plane (`createControlPlaneRequestNotifier`), a
|
|
2331
|
+
* single-instance deployment runs the request right away. Unset keeps the
|
|
2332
|
+
* synchronous writes.
|
|
2333
|
+
*/
|
|
2334
|
+
requests?: TenantMemberRequestsConfig;
|
|
2083
2335
|
};
|
|
2084
2336
|
/**
|
|
2085
2337
|
* Optional outbox-driven replication of `proxy_routes` mutations to a global
|
|
@@ -3246,7 +3498,7 @@ interface CodesCleanupParams {
|
|
|
3246
3498
|
* }
|
|
3247
3499
|
* ```
|
|
3248
3500
|
*/
|
|
3249
|
-
declare function cleanupCodes(codes: CodesAdapter, params?: CodesCleanupParams): Promise<number>;
|
|
3501
|
+
declare function cleanupCodes(codes: Pick<CodesAdapter, "cleanup">, params?: CodesCleanupParams): Promise<number>;
|
|
3250
3502
|
|
|
3251
3503
|
interface ActionExecutionsCleanupParams {
|
|
3252
3504
|
/**
|
|
@@ -3382,6 +3634,8 @@ interface WebhookInvocation {
|
|
|
3382
3634
|
trigger_id: string;
|
|
3383
3635
|
user?: unknown;
|
|
3384
3636
|
request?: unknown;
|
|
3637
|
+
previous_user?: unknown;
|
|
3638
|
+
updates?: unknown;
|
|
3385
3639
|
};
|
|
3386
3640
|
}
|
|
3387
3641
|
interface WebhookDestinationOptions {
|
|
@@ -3416,6 +3670,7 @@ declare class WebhookDestination implements EventDestination {
|
|
|
3416
3670
|
private webhookInvoker?;
|
|
3417
3671
|
constructor(hooks: HooksAdapter, getServiceToken: GetServiceToken, options?: WebhookDestinationOptions);
|
|
3418
3672
|
accepts(event: AuditEvent): boolean;
|
|
3673
|
+
/** Build the webhook payload from the event's committed user and update snapshots. */
|
|
3419
3674
|
transform(event: AuditEvent): WebhookInvocation;
|
|
3420
3675
|
deliver(events: WebhookInvocation[]): Promise<void>;
|
|
3421
3676
|
private invokeCustom;
|
|
@@ -3819,6 +4074,9 @@ interface CodeHookInvocation {
|
|
|
3819
4074
|
triggerId: string;
|
|
3820
4075
|
/** Serialized user snapshot from the audit event (`target.after`). */
|
|
3821
4076
|
user?: unknown;
|
|
4077
|
+
userId?: string;
|
|
4078
|
+
previousUser?: unknown;
|
|
4079
|
+
updates?: unknown;
|
|
3822
4080
|
/** Serialized request context from the audit event. */
|
|
3823
4081
|
request?: unknown;
|
|
3824
4082
|
}
|
|
@@ -3846,9 +4104,9 @@ interface CodeHookInvocation {
|
|
|
3846
4104
|
* Constructed per-request (via `getDestinations(ctx)`) so it can close over
|
|
3847
4105
|
* `ctx.env.codeExecutor`. The same class is used by the cron `drainOutbox`
|
|
3848
4106
|
* safety net when a `codeExecutor` is supplied to `createDefaultDestinations`.
|
|
3849
|
-
*
|
|
3850
|
-
*
|
|
3851
|
-
*
|
|
4107
|
+
* Missing executors fail delivery for post-update/deletion so the event can be
|
|
4108
|
+
* retried when the configuration is repaired. Registration retains its legacy
|
|
4109
|
+
* no-op behavior without an executor.
|
|
3852
4110
|
*/
|
|
3853
4111
|
declare class CodeHookDestination implements EventDestination {
|
|
3854
4112
|
name: string;
|
|
@@ -3859,7 +4117,9 @@ declare class CodeHookDestination implements EventDestination {
|
|
|
3859
4117
|
logCapture?: ActionExecutionLogCapture;
|
|
3860
4118
|
});
|
|
3861
4119
|
accepts(event: AuditEvent): boolean;
|
|
4120
|
+
/** Recover the user write and stable delivery ID from a persisted hook event. */
|
|
3862
4121
|
transform(event: AuditEvent): CodeHookInvocation;
|
|
4122
|
+
/** Run matching Actions, record outcomes, and fail delivery when the relay must retry. */
|
|
3863
4123
|
deliver(invocations: CodeHookInvocation[]): Promise<void>;
|
|
3864
4124
|
/**
|
|
3865
4125
|
* Fetch every hook for the tenant, paging past the adapter's default page
|
|
@@ -4059,6 +4319,8 @@ interface ControlPlaneResponse {
|
|
|
4059
4319
|
status: number;
|
|
4060
4320
|
/** Parsed JSON body, or null for empty/non-JSON responses. */
|
|
4061
4321
|
data: unknown;
|
|
4322
|
+
/** The raw response body, for callers that tell plain-text answers apart. */
|
|
4323
|
+
text?: string;
|
|
4062
4324
|
}
|
|
4063
4325
|
interface ControlPlaneClient {
|
|
4064
4326
|
/**
|
|
@@ -4181,6 +4443,20 @@ declare function createControlPlaneTenantMembersAdapter(options: ControlPlaneTen
|
|
|
4181
4443
|
* in one place is what keeps the two ends from drifting.
|
|
4182
4444
|
*/
|
|
4183
4445
|
declare const CONTROL_PLANE_TENANT_MEMBERS_PATH = "/api/v2/proxy/control-plane/tenant-members";
|
|
4446
|
+
/**
|
|
4447
|
+
* A shard tells the control plane that a team-change request is waiting
|
|
4448
|
+
* (issue #1550). Only the id travels: the control plane reads the request from
|
|
4449
|
+
* the shard, so what was asked never rests on what the notification claims.
|
|
4450
|
+
*/
|
|
4451
|
+
declare const CONTROL_PLANE_TENANT_MEMBER_REQUESTS_NOTIFY_PATH = "/api/v2/proxy/control-plane/tenant-members/requests/notify";
|
|
4452
|
+
|
|
4453
|
+
/**
|
|
4454
|
+
* Tells the control plane, over the shared control-plane client, that a
|
|
4455
|
+
* request is waiting, and records that it was told. If the control plane is
|
|
4456
|
+
* down the request simply stays unnotified and a control-plane sweep finds it
|
|
4457
|
+
* later, so this never throws.
|
|
4458
|
+
*/
|
|
4459
|
+
declare function createControlPlaneRequestNotifier(client: ControlPlaneClient): AfterTenantMemberRequestRegistered;
|
|
4184
4460
|
|
|
4185
4461
|
interface ServiceTokenResponse {
|
|
4186
4462
|
access_token: string;
|
|
@@ -5461,7 +5737,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
5461
5737
|
};
|
|
5462
5738
|
};
|
|
5463
5739
|
output: {
|
|
5464
|
-
name: "
|
|
5740
|
+
name: "sms" | "otp" | "email" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
|
|
5465
5741
|
enabled: boolean;
|
|
5466
5742
|
trial_expired?: boolean | undefined;
|
|
5467
5743
|
}[];
|
|
@@ -5616,7 +5892,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
5616
5892
|
$get: {
|
|
5617
5893
|
input: {
|
|
5618
5894
|
param: {
|
|
5619
|
-
factor_name: "
|
|
5895
|
+
factor_name: "sms" | "otp" | "email" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
|
|
5620
5896
|
};
|
|
5621
5897
|
} & {
|
|
5622
5898
|
header: {
|
|
@@ -5624,7 +5900,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
5624
5900
|
};
|
|
5625
5901
|
};
|
|
5626
5902
|
output: {
|
|
5627
|
-
name: "
|
|
5903
|
+
name: "sms" | "otp" | "email" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
|
|
5628
5904
|
enabled: boolean;
|
|
5629
5905
|
trial_expired?: boolean | undefined;
|
|
5630
5906
|
};
|
|
@@ -5637,7 +5913,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
5637
5913
|
$put: {
|
|
5638
5914
|
input: {
|
|
5639
5915
|
param: {
|
|
5640
|
-
factor_name: "
|
|
5916
|
+
factor_name: "sms" | "otp" | "email" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
|
|
5641
5917
|
};
|
|
5642
5918
|
} & {
|
|
5643
5919
|
header: {
|
|
@@ -5649,7 +5925,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
5649
5925
|
};
|
|
5650
5926
|
};
|
|
5651
5927
|
output: {
|
|
5652
|
-
name: "
|
|
5928
|
+
name: "sms" | "otp" | "email" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
|
|
5653
5929
|
enabled: boolean;
|
|
5654
5930
|
trial_expired?: boolean | undefined;
|
|
5655
5931
|
};
|
|
@@ -6470,11 +6746,11 @@ declare function init(config: AuthHeroConfig): {
|
|
|
6470
6746
|
email?: string | undefined;
|
|
6471
6747
|
};
|
|
6472
6748
|
id?: string | undefined;
|
|
6473
|
-
connection_id?: string | undefined;
|
|
6474
6749
|
app_metadata?: Record<string, any> | undefined;
|
|
6475
6750
|
user_metadata?: Record<string, any> | undefined;
|
|
6476
|
-
|
|
6751
|
+
connection_id?: string | undefined;
|
|
6477
6752
|
roles?: string[] | undefined;
|
|
6753
|
+
ttl_sec?: number | undefined;
|
|
6478
6754
|
send_invitation_email?: boolean | undefined;
|
|
6479
6755
|
};
|
|
6480
6756
|
};
|
|
@@ -13333,7 +13609,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13333
13609
|
active?: boolean | undefined;
|
|
13334
13610
|
} | undefined;
|
|
13335
13611
|
signup?: {
|
|
13336
|
-
status?: "
|
|
13612
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
13337
13613
|
verification?: {
|
|
13338
13614
|
active?: boolean | undefined;
|
|
13339
13615
|
} | undefined;
|
|
@@ -13350,7 +13626,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13350
13626
|
active?: boolean | undefined;
|
|
13351
13627
|
} | undefined;
|
|
13352
13628
|
signup?: {
|
|
13353
|
-
status?: "
|
|
13629
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
13354
13630
|
} | undefined;
|
|
13355
13631
|
validation?: {
|
|
13356
13632
|
max_length?: number | undefined;
|
|
@@ -13367,7 +13643,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13367
13643
|
active?: boolean | undefined;
|
|
13368
13644
|
} | undefined;
|
|
13369
13645
|
signup?: {
|
|
13370
|
-
status?: "
|
|
13646
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
13371
13647
|
} | undefined;
|
|
13372
13648
|
} | undefined;
|
|
13373
13649
|
} | undefined;
|
|
@@ -13474,7 +13750,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13474
13750
|
active?: boolean | undefined;
|
|
13475
13751
|
} | undefined;
|
|
13476
13752
|
signup?: {
|
|
13477
|
-
status?: "
|
|
13753
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
13478
13754
|
verification?: {
|
|
13479
13755
|
active?: boolean | undefined;
|
|
13480
13756
|
} | undefined;
|
|
@@ -13491,7 +13767,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13491
13767
|
active?: boolean | undefined;
|
|
13492
13768
|
} | undefined;
|
|
13493
13769
|
signup?: {
|
|
13494
|
-
status?: "
|
|
13770
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
13495
13771
|
} | undefined;
|
|
13496
13772
|
validation?: {
|
|
13497
13773
|
max_length?: number | undefined;
|
|
@@ -13508,7 +13784,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13508
13784
|
active?: boolean | undefined;
|
|
13509
13785
|
} | undefined;
|
|
13510
13786
|
signup?: {
|
|
13511
|
-
status?: "
|
|
13787
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
13512
13788
|
} | undefined;
|
|
13513
13789
|
} | undefined;
|
|
13514
13790
|
} | undefined;
|
|
@@ -13615,7 +13891,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13615
13891
|
active?: boolean | undefined;
|
|
13616
13892
|
} | undefined;
|
|
13617
13893
|
signup?: {
|
|
13618
|
-
status?: "
|
|
13894
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
13619
13895
|
verification?: {
|
|
13620
13896
|
active?: boolean | undefined;
|
|
13621
13897
|
} | undefined;
|
|
@@ -13632,7 +13908,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13632
13908
|
active?: boolean | undefined;
|
|
13633
13909
|
} | undefined;
|
|
13634
13910
|
signup?: {
|
|
13635
|
-
status?: "
|
|
13911
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
13636
13912
|
} | undefined;
|
|
13637
13913
|
validation?: {
|
|
13638
13914
|
max_length?: number | undefined;
|
|
@@ -13649,7 +13925,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13649
13925
|
active?: boolean | undefined;
|
|
13650
13926
|
} | undefined;
|
|
13651
13927
|
signup?: {
|
|
13652
|
-
status?: "
|
|
13928
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
13653
13929
|
} | undefined;
|
|
13654
13930
|
} | undefined;
|
|
13655
13931
|
} | undefined;
|
|
@@ -13771,7 +14047,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13771
14047
|
active?: boolean | undefined;
|
|
13772
14048
|
} | undefined;
|
|
13773
14049
|
signup?: {
|
|
13774
|
-
status?: "
|
|
14050
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
13775
14051
|
verification?: {
|
|
13776
14052
|
active?: boolean | undefined;
|
|
13777
14053
|
} | undefined;
|
|
@@ -13788,7 +14064,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13788
14064
|
active?: boolean | undefined;
|
|
13789
14065
|
} | undefined;
|
|
13790
14066
|
signup?: {
|
|
13791
|
-
status?: "
|
|
14067
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
13792
14068
|
} | undefined;
|
|
13793
14069
|
validation?: {
|
|
13794
14070
|
max_length?: number | undefined;
|
|
@@ -13805,7 +14081,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13805
14081
|
active?: boolean | undefined;
|
|
13806
14082
|
} | undefined;
|
|
13807
14083
|
signup?: {
|
|
13808
|
-
status?: "
|
|
14084
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
13809
14085
|
} | undefined;
|
|
13810
14086
|
} | undefined;
|
|
13811
14087
|
} | undefined;
|
|
@@ -13973,7 +14249,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13973
14249
|
active?: boolean | undefined;
|
|
13974
14250
|
} | undefined;
|
|
13975
14251
|
signup?: {
|
|
13976
|
-
status?: "
|
|
14252
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
13977
14253
|
verification?: {
|
|
13978
14254
|
active?: boolean | undefined;
|
|
13979
14255
|
} | undefined;
|
|
@@ -13990,7 +14266,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
13990
14266
|
active?: boolean | undefined;
|
|
13991
14267
|
} | undefined;
|
|
13992
14268
|
signup?: {
|
|
13993
|
-
status?: "
|
|
14269
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
13994
14270
|
} | undefined;
|
|
13995
14271
|
validation?: {
|
|
13996
14272
|
max_length?: number | undefined;
|
|
@@ -14007,7 +14283,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14007
14283
|
active?: boolean | undefined;
|
|
14008
14284
|
} | undefined;
|
|
14009
14285
|
signup?: {
|
|
14010
|
-
status?: "
|
|
14286
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
14011
14287
|
} | undefined;
|
|
14012
14288
|
} | undefined;
|
|
14013
14289
|
} | undefined;
|
|
@@ -14141,7 +14417,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14141
14417
|
active?: boolean | undefined;
|
|
14142
14418
|
} | undefined;
|
|
14143
14419
|
signup?: {
|
|
14144
|
-
status?: "
|
|
14420
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
14145
14421
|
verification?: {
|
|
14146
14422
|
active?: boolean | undefined;
|
|
14147
14423
|
} | undefined;
|
|
@@ -14158,7 +14434,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14158
14434
|
active?: boolean | undefined;
|
|
14159
14435
|
} | undefined;
|
|
14160
14436
|
signup?: {
|
|
14161
|
-
status?: "
|
|
14437
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
14162
14438
|
} | undefined;
|
|
14163
14439
|
validation?: {
|
|
14164
14440
|
max_length?: number | undefined;
|
|
@@ -14175,7 +14451,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14175
14451
|
active?: boolean | undefined;
|
|
14176
14452
|
} | undefined;
|
|
14177
14453
|
signup?: {
|
|
14178
|
-
status?: "
|
|
14454
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
14179
14455
|
} | undefined;
|
|
14180
14456
|
} | undefined;
|
|
14181
14457
|
} | undefined;
|
|
@@ -14468,7 +14744,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14468
14744
|
};
|
|
14469
14745
|
};
|
|
14470
14746
|
output: ({
|
|
14471
|
-
trigger_id: "
|
|
14747
|
+
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
14472
14748
|
enabled: boolean;
|
|
14473
14749
|
synchronous: boolean;
|
|
14474
14750
|
created_at: string;
|
|
@@ -14498,7 +14774,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14498
14774
|
[x: string]: hono_utils_types.JSONValue;
|
|
14499
14775
|
} | undefined;
|
|
14500
14776
|
} | {
|
|
14501
|
-
trigger_id: "post-user-
|
|
14777
|
+
trigger_id: "post-user-registration" | "post-user-login" | "post-user-update" | "credentials-exchange";
|
|
14502
14778
|
enabled: boolean;
|
|
14503
14779
|
synchronous: boolean;
|
|
14504
14780
|
created_at: string;
|
|
@@ -14513,7 +14789,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14513
14789
|
[x: string]: hono_utils_types.JSONValue;
|
|
14514
14790
|
} | undefined;
|
|
14515
14791
|
} | {
|
|
14516
|
-
trigger_id: "post-user-login" | "
|
|
14792
|
+
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion" | "credentials-exchange" | "pre-user-update";
|
|
14517
14793
|
enabled: boolean;
|
|
14518
14794
|
synchronous: boolean;
|
|
14519
14795
|
created_at: string;
|
|
@@ -14548,7 +14824,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14548
14824
|
limit: number;
|
|
14549
14825
|
length: number;
|
|
14550
14826
|
hooks: ({
|
|
14551
|
-
trigger_id: "
|
|
14827
|
+
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
14552
14828
|
enabled: boolean;
|
|
14553
14829
|
synchronous: boolean;
|
|
14554
14830
|
created_at: string;
|
|
@@ -14578,7 +14854,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14578
14854
|
[x: string]: hono_utils_types.JSONValue;
|
|
14579
14855
|
} | undefined;
|
|
14580
14856
|
} | {
|
|
14581
|
-
trigger_id: "post-user-
|
|
14857
|
+
trigger_id: "post-user-registration" | "post-user-login" | "post-user-update" | "credentials-exchange";
|
|
14582
14858
|
enabled: boolean;
|
|
14583
14859
|
synchronous: boolean;
|
|
14584
14860
|
created_at: string;
|
|
@@ -14593,7 +14869,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14593
14869
|
[x: string]: hono_utils_types.JSONValue;
|
|
14594
14870
|
} | undefined;
|
|
14595
14871
|
} | {
|
|
14596
|
-
trigger_id: "post-user-login" | "
|
|
14872
|
+
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion" | "credentials-exchange" | "pre-user-update";
|
|
14597
14873
|
enabled: boolean;
|
|
14598
14874
|
synchronous: boolean;
|
|
14599
14875
|
created_at: string;
|
|
@@ -14628,7 +14904,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14628
14904
|
next?: string | undefined;
|
|
14629
14905
|
} | {
|
|
14630
14906
|
hooks: ({
|
|
14631
|
-
trigger_id: "
|
|
14907
|
+
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
14632
14908
|
enabled: boolean;
|
|
14633
14909
|
synchronous: boolean;
|
|
14634
14910
|
created_at: string;
|
|
@@ -14658,7 +14934,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14658
14934
|
[x: string]: hono_utils_types.JSONValue;
|
|
14659
14935
|
} | undefined;
|
|
14660
14936
|
} | {
|
|
14661
|
-
trigger_id: "post-user-
|
|
14937
|
+
trigger_id: "post-user-registration" | "post-user-login" | "post-user-update" | "credentials-exchange";
|
|
14662
14938
|
enabled: boolean;
|
|
14663
14939
|
synchronous: boolean;
|
|
14664
14940
|
created_at: string;
|
|
@@ -14673,7 +14949,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14673
14949
|
[x: string]: hono_utils_types.JSONValue;
|
|
14674
14950
|
} | undefined;
|
|
14675
14951
|
} | {
|
|
14676
|
-
trigger_id: "post-user-login" | "
|
|
14952
|
+
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion" | "credentials-exchange" | "pre-user-update";
|
|
14677
14953
|
enabled: boolean;
|
|
14678
14954
|
synchronous: boolean;
|
|
14679
14955
|
created_at: string;
|
|
@@ -14719,7 +14995,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14719
14995
|
};
|
|
14720
14996
|
} & {
|
|
14721
14997
|
json: {
|
|
14722
|
-
trigger_id: "
|
|
14998
|
+
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
14723
14999
|
url: string;
|
|
14724
15000
|
scope?: "local" | "shared" | "platform" | undefined;
|
|
14725
15001
|
override?: "secrets" | "none" | "fields" | undefined;
|
|
@@ -14741,7 +15017,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14741
15017
|
hook_id?: string | undefined;
|
|
14742
15018
|
metadata?: Record<string, unknown> | undefined;
|
|
14743
15019
|
} | {
|
|
14744
|
-
trigger_id: "post-user-
|
|
15020
|
+
trigger_id: "post-user-registration" | "post-user-login" | "post-user-update" | "credentials-exchange";
|
|
14745
15021
|
template_id: "ensure-username" | "set-preferred-username" | "account-linking";
|
|
14746
15022
|
scope?: "local" | "shared" | "platform" | undefined;
|
|
14747
15023
|
override?: "secrets" | "none" | "fields" | undefined;
|
|
@@ -14752,7 +15028,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14752
15028
|
hook_id?: string | undefined;
|
|
14753
15029
|
metadata?: Record<string, unknown> | undefined;
|
|
14754
15030
|
} | {
|
|
14755
|
-
trigger_id: "post-user-login" | "
|
|
15031
|
+
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion" | "credentials-exchange" | "pre-user-update";
|
|
14756
15032
|
code_id: string;
|
|
14757
15033
|
scope?: "local" | "shared" | "platform" | undefined;
|
|
14758
15034
|
override?: "secrets" | "none" | "fields" | undefined;
|
|
@@ -14777,7 +15053,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14777
15053
|
};
|
|
14778
15054
|
};
|
|
14779
15055
|
output: {
|
|
14780
|
-
trigger_id: "
|
|
15056
|
+
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
14781
15057
|
enabled: boolean;
|
|
14782
15058
|
synchronous: boolean;
|
|
14783
15059
|
created_at: string;
|
|
@@ -14807,7 +15083,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14807
15083
|
[x: string]: hono_utils_types.JSONValue;
|
|
14808
15084
|
} | undefined;
|
|
14809
15085
|
} | {
|
|
14810
|
-
trigger_id: "post-user-
|
|
15086
|
+
trigger_id: "post-user-registration" | "post-user-login" | "post-user-update" | "credentials-exchange";
|
|
14811
15087
|
enabled: boolean;
|
|
14812
15088
|
synchronous: boolean;
|
|
14813
15089
|
created_at: string;
|
|
@@ -14822,7 +15098,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14822
15098
|
[x: string]: hono_utils_types.JSONValue;
|
|
14823
15099
|
} | undefined;
|
|
14824
15100
|
} | {
|
|
14825
|
-
trigger_id: "post-user-login" | "
|
|
15101
|
+
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion" | "credentials-exchange" | "pre-user-update";
|
|
14826
15102
|
enabled: boolean;
|
|
14827
15103
|
synchronous: boolean;
|
|
14828
15104
|
created_at: string;
|
|
@@ -14902,7 +15178,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14902
15178
|
json: unknown;
|
|
14903
15179
|
};
|
|
14904
15180
|
output: {
|
|
14905
|
-
trigger_id: "
|
|
15181
|
+
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
14906
15182
|
enabled: boolean;
|
|
14907
15183
|
synchronous: boolean;
|
|
14908
15184
|
created_at: string;
|
|
@@ -14932,7 +15208,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14932
15208
|
[x: string]: hono_utils_types.JSONValue;
|
|
14933
15209
|
} | undefined;
|
|
14934
15210
|
} | {
|
|
14935
|
-
trigger_id: "post-user-
|
|
15211
|
+
trigger_id: "post-user-registration" | "post-user-login" | "post-user-update" | "credentials-exchange";
|
|
14936
15212
|
enabled: boolean;
|
|
14937
15213
|
synchronous: boolean;
|
|
14938
15214
|
created_at: string;
|
|
@@ -14947,7 +15223,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
14947
15223
|
[x: string]: hono_utils_types.JSONValue;
|
|
14948
15224
|
} | undefined;
|
|
14949
15225
|
} | {
|
|
14950
|
-
trigger_id: "post-user-login" | "
|
|
15226
|
+
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion" | "credentials-exchange" | "pre-user-update";
|
|
14951
15227
|
enabled: boolean;
|
|
14952
15228
|
synchronous: boolean;
|
|
14953
15229
|
created_at: string;
|
|
@@ -15008,7 +15284,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
15008
15284
|
};
|
|
15009
15285
|
};
|
|
15010
15286
|
output: {
|
|
15011
|
-
trigger_id: "
|
|
15287
|
+
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
15012
15288
|
enabled: boolean;
|
|
15013
15289
|
synchronous: boolean;
|
|
15014
15290
|
created_at: string;
|
|
@@ -15038,7 +15314,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
15038
15314
|
[x: string]: hono_utils_types.JSONValue;
|
|
15039
15315
|
} | undefined;
|
|
15040
15316
|
} | {
|
|
15041
|
-
trigger_id: "post-user-
|
|
15317
|
+
trigger_id: "post-user-registration" | "post-user-login" | "post-user-update" | "credentials-exchange";
|
|
15042
15318
|
enabled: boolean;
|
|
15043
15319
|
synchronous: boolean;
|
|
15044
15320
|
created_at: string;
|
|
@@ -15053,7 +15329,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
15053
15329
|
[x: string]: hono_utils_types.JSONValue;
|
|
15054
15330
|
} | undefined;
|
|
15055
15331
|
} | {
|
|
15056
|
-
trigger_id: "post-user-login" | "
|
|
15332
|
+
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion" | "credentials-exchange" | "pre-user-update";
|
|
15057
15333
|
enabled: boolean;
|
|
15058
15334
|
synchronous: boolean;
|
|
15059
15335
|
created_at: string;
|
|
@@ -15192,7 +15468,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
15192
15468
|
log_type: string;
|
|
15193
15469
|
category: "user_action" | "admin_action" | "system" | "api";
|
|
15194
15470
|
actor: {
|
|
15195
|
-
type: "
|
|
15471
|
+
type: "client_credentials" | "user" | "system" | "admin" | "api_key";
|
|
15196
15472
|
id?: string | undefined;
|
|
15197
15473
|
email?: string | undefined;
|
|
15198
15474
|
org_id?: string | undefined;
|
|
@@ -15296,7 +15572,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
15296
15572
|
log_type: string;
|
|
15297
15573
|
category: "user_action" | "admin_action" | "system" | "api";
|
|
15298
15574
|
actor: {
|
|
15299
|
-
type: "
|
|
15575
|
+
type: "client_credentials" | "user" | "system" | "admin" | "api_key";
|
|
15300
15576
|
id?: string | undefined;
|
|
15301
15577
|
email?: string | undefined;
|
|
15302
15578
|
org_id?: string | undefined;
|
|
@@ -16033,7 +16309,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
16033
16309
|
};
|
|
16034
16310
|
};
|
|
16035
16311
|
output: {
|
|
16036
|
-
type: "i" | "
|
|
16312
|
+
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" | "cfgdiff" | "cfgdrift" | "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";
|
|
16037
16313
|
date: string;
|
|
16038
16314
|
isMobile: boolean;
|
|
16039
16315
|
log_id: string;
|
|
@@ -16072,7 +16348,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
16072
16348
|
limit: number;
|
|
16073
16349
|
length: number;
|
|
16074
16350
|
logs: {
|
|
16075
|
-
type: "i" | "
|
|
16351
|
+
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" | "cfgdiff" | "cfgdrift" | "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";
|
|
16076
16352
|
date: string;
|
|
16077
16353
|
isMobile: boolean;
|
|
16078
16354
|
log_id: string;
|
|
@@ -16111,7 +16387,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
16111
16387
|
next?: string | undefined;
|
|
16112
16388
|
} | {
|
|
16113
16389
|
logs: {
|
|
16114
|
-
type: "i" | "
|
|
16390
|
+
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" | "cfgdiff" | "cfgdrift" | "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";
|
|
16115
16391
|
date: string;
|
|
16116
16392
|
isMobile: boolean;
|
|
16117
16393
|
log_id: string;
|
|
@@ -16165,7 +16441,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
16165
16441
|
};
|
|
16166
16442
|
};
|
|
16167
16443
|
output: {
|
|
16168
|
-
type: "i" | "
|
|
16444
|
+
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" | "cfgdiff" | "cfgdrift" | "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";
|
|
16169
16445
|
date: string;
|
|
16170
16446
|
isMobile: boolean;
|
|
16171
16447
|
log_id: string;
|
|
@@ -17471,7 +17747,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
17471
17747
|
active?: boolean | undefined;
|
|
17472
17748
|
} | undefined;
|
|
17473
17749
|
signup?: {
|
|
17474
|
-
status?: "
|
|
17750
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
17475
17751
|
verification?: {
|
|
17476
17752
|
active?: boolean | undefined;
|
|
17477
17753
|
} | undefined;
|
|
@@ -17488,7 +17764,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
17488
17764
|
active?: boolean | undefined;
|
|
17489
17765
|
} | undefined;
|
|
17490
17766
|
signup?: {
|
|
17491
|
-
status?: "
|
|
17767
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
17492
17768
|
} | undefined;
|
|
17493
17769
|
validation?: {
|
|
17494
17770
|
max_length?: number | undefined;
|
|
@@ -17505,7 +17781,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
17505
17781
|
active?: boolean | undefined;
|
|
17506
17782
|
} | undefined;
|
|
17507
17783
|
signup?: {
|
|
17508
|
-
status?: "
|
|
17784
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
17509
17785
|
} | undefined;
|
|
17510
17786
|
} | undefined;
|
|
17511
17787
|
} | undefined;
|
|
@@ -17632,7 +17908,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
17632
17908
|
active?: boolean | undefined;
|
|
17633
17909
|
} | undefined;
|
|
17634
17910
|
signup?: {
|
|
17635
|
-
status?: "
|
|
17911
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
17636
17912
|
verification?: {
|
|
17637
17913
|
active?: boolean | undefined;
|
|
17638
17914
|
} | undefined;
|
|
@@ -17649,7 +17925,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
17649
17925
|
active?: boolean | undefined;
|
|
17650
17926
|
} | undefined;
|
|
17651
17927
|
signup?: {
|
|
17652
|
-
status?: "
|
|
17928
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
17653
17929
|
} | undefined;
|
|
17654
17930
|
validation?: {
|
|
17655
17931
|
max_length?: number | undefined;
|
|
@@ -17666,7 +17942,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
17666
17942
|
active?: boolean | undefined;
|
|
17667
17943
|
} | undefined;
|
|
17668
17944
|
signup?: {
|
|
17669
|
-
status?: "
|
|
17945
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
17670
17946
|
} | undefined;
|
|
17671
17947
|
} | undefined;
|
|
17672
17948
|
} | undefined;
|
|
@@ -17816,9 +18092,9 @@ declare function init(config: AuthHeroConfig): {
|
|
|
17816
18092
|
cert: string;
|
|
17817
18093
|
fingerprint: string;
|
|
17818
18094
|
thumbprint: string;
|
|
18095
|
+
next?: boolean | undefined;
|
|
17819
18096
|
tenant_id?: string | undefined;
|
|
17820
18097
|
connection?: string | undefined;
|
|
17821
|
-
next?: boolean | undefined;
|
|
17822
18098
|
revoked_at?: string | undefined;
|
|
17823
18099
|
current?: boolean | undefined;
|
|
17824
18100
|
previous?: boolean | undefined;
|
|
@@ -17855,9 +18131,9 @@ declare function init(config: AuthHeroConfig): {
|
|
|
17855
18131
|
cert: string;
|
|
17856
18132
|
fingerprint: string;
|
|
17857
18133
|
thumbprint: string;
|
|
18134
|
+
next?: boolean | undefined;
|
|
17858
18135
|
tenant_id?: string | undefined;
|
|
17859
18136
|
connection?: string | undefined;
|
|
17860
|
-
next?: boolean | undefined;
|
|
17861
18137
|
revoked_at?: string | undefined;
|
|
17862
18138
|
current?: boolean | undefined;
|
|
17863
18139
|
previous?: boolean | undefined;
|
|
@@ -17893,9 +18169,9 @@ declare function init(config: AuthHeroConfig): {
|
|
|
17893
18169
|
cert: string;
|
|
17894
18170
|
fingerprint: string;
|
|
17895
18171
|
thumbprint: string;
|
|
18172
|
+
next?: boolean | undefined;
|
|
17896
18173
|
tenant_id?: string | undefined;
|
|
17897
18174
|
connection?: string | undefined;
|
|
17898
|
-
next?: boolean | undefined;
|
|
17899
18175
|
revoked_at?: string | undefined;
|
|
17900
18176
|
current?: boolean | undefined;
|
|
17901
18177
|
previous?: boolean | undefined;
|
|
@@ -17933,9 +18209,9 @@ declare function init(config: AuthHeroConfig): {
|
|
|
17933
18209
|
cert: string;
|
|
17934
18210
|
fingerprint: string;
|
|
17935
18211
|
thumbprint: string;
|
|
18212
|
+
next?: boolean | undefined;
|
|
17936
18213
|
tenant_id?: string | undefined;
|
|
17937
18214
|
connection?: string | undefined;
|
|
17938
|
-
next?: boolean | undefined;
|
|
17939
18215
|
revoked_at?: string | undefined;
|
|
17940
18216
|
current?: boolean | undefined;
|
|
17941
18217
|
previous?: boolean | undefined;
|
|
@@ -18823,10 +19099,10 @@ declare function init(config: AuthHeroConfig): {
|
|
|
18823
19099
|
};
|
|
18824
19100
|
};
|
|
18825
19101
|
output: {
|
|
18826
|
-
user_id: string;
|
|
18827
|
-
client_id: string;
|
|
18828
19102
|
id: string;
|
|
18829
19103
|
created_at: string;
|
|
19104
|
+
user_id: string;
|
|
19105
|
+
client_id: string;
|
|
18830
19106
|
rotating: boolean;
|
|
18831
19107
|
device: {
|
|
18832
19108
|
initial_user_agent: string;
|
|
@@ -18841,23 +19117,23 @@ declare function init(config: AuthHeroConfig): {
|
|
|
18841
19117
|
audience: string;
|
|
18842
19118
|
scopes: string;
|
|
18843
19119
|
}[];
|
|
19120
|
+
revoked_at?: string | undefined;
|
|
18844
19121
|
expires_at?: string | undefined;
|
|
19122
|
+
idle_expires_at?: string | undefined;
|
|
18845
19123
|
session_id?: string | undefined;
|
|
19124
|
+
organization?: string | undefined;
|
|
18846
19125
|
auth_connection?: string | undefined;
|
|
18847
19126
|
auth_strategy?: {
|
|
18848
19127
|
strategy: string;
|
|
18849
19128
|
strategy_type: string;
|
|
18850
19129
|
} | undefined;
|
|
18851
|
-
revoked_at?: string | undefined;
|
|
18852
|
-
idle_expires_at?: string | undefined;
|
|
18853
|
-
organization?: string | undefined;
|
|
18854
19130
|
last_exchanged_at?: string | undefined;
|
|
18855
19131
|
}[] | {
|
|
18856
19132
|
tokens: {
|
|
18857
|
-
user_id: string;
|
|
18858
|
-
client_id: string;
|
|
18859
19133
|
id: string;
|
|
18860
19134
|
created_at: string;
|
|
19135
|
+
user_id: string;
|
|
19136
|
+
client_id: string;
|
|
18861
19137
|
rotating: boolean;
|
|
18862
19138
|
device: {
|
|
18863
19139
|
initial_user_agent: string;
|
|
@@ -18872,16 +19148,16 @@ declare function init(config: AuthHeroConfig): {
|
|
|
18872
19148
|
audience: string;
|
|
18873
19149
|
scopes: string;
|
|
18874
19150
|
}[];
|
|
19151
|
+
revoked_at?: string | undefined;
|
|
18875
19152
|
expires_at?: string | undefined;
|
|
19153
|
+
idle_expires_at?: string | undefined;
|
|
18876
19154
|
session_id?: string | undefined;
|
|
19155
|
+
organization?: string | undefined;
|
|
18877
19156
|
auth_connection?: string | undefined;
|
|
18878
19157
|
auth_strategy?: {
|
|
18879
19158
|
strategy: string;
|
|
18880
19159
|
strategy_type: string;
|
|
18881
19160
|
} | undefined;
|
|
18882
|
-
revoked_at?: string | undefined;
|
|
18883
|
-
idle_expires_at?: string | undefined;
|
|
18884
|
-
organization?: string | undefined;
|
|
18885
19161
|
last_exchanged_at?: string | undefined;
|
|
18886
19162
|
}[];
|
|
18887
19163
|
next?: string | undefined;
|
|
@@ -18890,10 +19166,10 @@ declare function init(config: AuthHeroConfig): {
|
|
|
18890
19166
|
limit: number;
|
|
18891
19167
|
length: number;
|
|
18892
19168
|
tokens: {
|
|
18893
|
-
user_id: string;
|
|
18894
|
-
client_id: string;
|
|
18895
19169
|
id: string;
|
|
18896
19170
|
created_at: string;
|
|
19171
|
+
user_id: string;
|
|
19172
|
+
client_id: string;
|
|
18897
19173
|
rotating: boolean;
|
|
18898
19174
|
device: {
|
|
18899
19175
|
initial_user_agent: string;
|
|
@@ -18908,16 +19184,16 @@ declare function init(config: AuthHeroConfig): {
|
|
|
18908
19184
|
audience: string;
|
|
18909
19185
|
scopes: string;
|
|
18910
19186
|
}[];
|
|
19187
|
+
revoked_at?: string | undefined;
|
|
18911
19188
|
expires_at?: string | undefined;
|
|
19189
|
+
idle_expires_at?: string | undefined;
|
|
18912
19190
|
session_id?: string | undefined;
|
|
19191
|
+
organization?: string | undefined;
|
|
18913
19192
|
auth_connection?: string | undefined;
|
|
18914
19193
|
auth_strategy?: {
|
|
18915
19194
|
strategy: string;
|
|
18916
19195
|
strategy_type: string;
|
|
18917
19196
|
} | undefined;
|
|
18918
|
-
revoked_at?: string | undefined;
|
|
18919
|
-
idle_expires_at?: string | undefined;
|
|
18920
|
-
organization?: string | undefined;
|
|
18921
19197
|
last_exchanged_at?: string | undefined;
|
|
18922
19198
|
}[];
|
|
18923
19199
|
total?: number | undefined;
|
|
@@ -18969,7 +19245,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
18969
19245
|
};
|
|
18970
19246
|
};
|
|
18971
19247
|
output: {
|
|
18972
|
-
type: "i" | "
|
|
19248
|
+
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" | "cfgdiff" | "cfgdrift" | "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";
|
|
18973
19249
|
date: string;
|
|
18974
19250
|
isMobile: boolean;
|
|
18975
19251
|
log_id: string;
|
|
@@ -19008,7 +19284,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
19008
19284
|
limit: number;
|
|
19009
19285
|
length: number;
|
|
19010
19286
|
logs: {
|
|
19011
|
-
type: "i" | "
|
|
19287
|
+
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" | "cfgdiff" | "cfgdrift" | "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";
|
|
19012
19288
|
date: string;
|
|
19013
19289
|
isMobile: boolean;
|
|
19014
19290
|
log_id: string;
|
|
@@ -19047,7 +19323,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
19047
19323
|
next?: string | undefined;
|
|
19048
19324
|
} | {
|
|
19049
19325
|
logs: {
|
|
19050
|
-
type: "i" | "
|
|
19326
|
+
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" | "cfgdiff" | "cfgdrift" | "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";
|
|
19051
19327
|
date: string;
|
|
19052
19328
|
isMobile: boolean;
|
|
19053
19329
|
log_id: string;
|
|
@@ -20834,6 +21110,31 @@ declare function init(config: AuthHeroConfig): {
|
|
|
20834
21110
|
} & {
|
|
20835
21111
|
"/:triggerId/bindings": {
|
|
20836
21112
|
$patch: {
|
|
21113
|
+
input: {
|
|
21114
|
+
param: {
|
|
21115
|
+
triggerId: string;
|
|
21116
|
+
};
|
|
21117
|
+
} & {
|
|
21118
|
+
header: {
|
|
21119
|
+
"tenant-id"?: string | undefined;
|
|
21120
|
+
};
|
|
21121
|
+
} & {
|
|
21122
|
+
json: {
|
|
21123
|
+
bindings: {
|
|
21124
|
+
ref: {
|
|
21125
|
+
type?: "action_id" | "action_name" | undefined;
|
|
21126
|
+
value?: string | undefined;
|
|
21127
|
+
id?: string | undefined;
|
|
21128
|
+
name?: string | undefined;
|
|
21129
|
+
};
|
|
21130
|
+
display_name?: string | undefined;
|
|
21131
|
+
}[];
|
|
21132
|
+
};
|
|
21133
|
+
};
|
|
21134
|
+
output: {};
|
|
21135
|
+
outputFormat: string;
|
|
21136
|
+
status: 403;
|
|
21137
|
+
} | {
|
|
20837
21138
|
input: {
|
|
20838
21139
|
param: {
|
|
20839
21140
|
triggerId: string;
|
|
@@ -22442,17 +22743,17 @@ declare function init(config: AuthHeroConfig): {
|
|
|
22442
22743
|
email: string;
|
|
22443
22744
|
send: "code" | "link";
|
|
22444
22745
|
authParams: {
|
|
22445
|
-
username?: string | undefined;
|
|
22446
22746
|
scope?: string | undefined;
|
|
22447
|
-
state?: string | undefined;
|
|
22448
22747
|
audience?: string | undefined;
|
|
22748
|
+
username?: string | undefined;
|
|
22449
22749
|
organization?: string | undefined;
|
|
22450
22750
|
response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
|
|
22451
22751
|
response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
|
|
22752
|
+
state?: string | undefined;
|
|
22452
22753
|
redirect_uri?: string | undefined;
|
|
22754
|
+
prompt?: string | undefined;
|
|
22453
22755
|
act_as?: string | undefined;
|
|
22454
22756
|
nonce?: string | undefined;
|
|
22455
|
-
prompt?: string | undefined;
|
|
22456
22757
|
code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
|
|
22457
22758
|
code_challenge?: string | undefined;
|
|
22458
22759
|
ui_locales?: string | undefined;
|
|
@@ -22478,17 +22779,17 @@ declare function init(config: AuthHeroConfig): {
|
|
|
22478
22779
|
phone_number: string;
|
|
22479
22780
|
send: "code" | "link";
|
|
22480
22781
|
authParams: {
|
|
22481
|
-
username?: string | undefined;
|
|
22482
22782
|
scope?: string | undefined;
|
|
22483
|
-
state?: string | undefined;
|
|
22484
22783
|
audience?: string | undefined;
|
|
22784
|
+
username?: string | undefined;
|
|
22485
22785
|
organization?: string | undefined;
|
|
22486
22786
|
response_type?: _authhero_adapter_interfaces.AuthorizationResponseType | undefined;
|
|
22487
22787
|
response_mode?: _authhero_adapter_interfaces.AuthorizationResponseMode | undefined;
|
|
22788
|
+
state?: string | undefined;
|
|
22488
22789
|
redirect_uri?: string | undefined;
|
|
22790
|
+
prompt?: string | undefined;
|
|
22489
22791
|
act_as?: string | undefined;
|
|
22490
22792
|
nonce?: string | undefined;
|
|
22491
|
-
prompt?: string | undefined;
|
|
22492
22793
|
code_challenge_method?: _authhero_adapter_interfaces.CodeChallengeMethod | undefined;
|
|
22493
22794
|
code_challenge?: string | undefined;
|
|
22494
22795
|
ui_locales?: string | undefined;
|
|
@@ -22684,10 +22985,146 @@ declare function init(config: AuthHeroConfig): {
|
|
|
22684
22985
|
};
|
|
22685
22986
|
};
|
|
22686
22987
|
}, "/oauth/revoke"> & hono_types.MergeSchemaPath<{
|
|
22988
|
+
"/": {
|
|
22989
|
+
$get: {
|
|
22990
|
+
input: {
|
|
22991
|
+
query: {
|
|
22992
|
+
user_code?: string | undefined;
|
|
22993
|
+
tenant_id?: string | undefined;
|
|
22994
|
+
};
|
|
22995
|
+
};
|
|
22996
|
+
output: {};
|
|
22997
|
+
outputFormat: string;
|
|
22998
|
+
status: 302;
|
|
22999
|
+
} | {
|
|
23000
|
+
input: {
|
|
23001
|
+
query: {
|
|
23002
|
+
user_code?: string | undefined;
|
|
23003
|
+
tenant_id?: string | undefined;
|
|
23004
|
+
};
|
|
23005
|
+
};
|
|
23006
|
+
output: {};
|
|
23007
|
+
outputFormat: string;
|
|
23008
|
+
status: 400;
|
|
23009
|
+
};
|
|
23010
|
+
};
|
|
23011
|
+
}, "/activate"> & hono_types.MergeSchemaPath<{
|
|
23012
|
+
"/": {
|
|
23013
|
+
$post: {
|
|
23014
|
+
input: {
|
|
23015
|
+
form: {
|
|
23016
|
+
client_id?: string | undefined;
|
|
23017
|
+
client_secret?: string | undefined;
|
|
23018
|
+
scope?: string | undefined;
|
|
23019
|
+
audience?: string | undefined;
|
|
23020
|
+
include_qr_code?: boolean | "false" | "true" | undefined;
|
|
23021
|
+
};
|
|
23022
|
+
} & {
|
|
23023
|
+
json: {
|
|
23024
|
+
client_id?: string | undefined;
|
|
23025
|
+
client_secret?: string | undefined;
|
|
23026
|
+
scope?: string | undefined;
|
|
23027
|
+
audience?: string | undefined;
|
|
23028
|
+
include_qr_code?: boolean | "false" | "true" | undefined;
|
|
23029
|
+
};
|
|
23030
|
+
};
|
|
23031
|
+
output: {
|
|
23032
|
+
device_code: string;
|
|
23033
|
+
user_code: string;
|
|
23034
|
+
verification_uri: string;
|
|
23035
|
+
verification_uri_complete: string;
|
|
23036
|
+
expires_in: number;
|
|
23037
|
+
interval: number;
|
|
23038
|
+
qr_code?: string | undefined;
|
|
23039
|
+
};
|
|
23040
|
+
outputFormat: "json";
|
|
23041
|
+
status: 200;
|
|
23042
|
+
} | {
|
|
23043
|
+
input: {
|
|
23044
|
+
form: {
|
|
23045
|
+
client_id?: string | undefined;
|
|
23046
|
+
client_secret?: string | undefined;
|
|
23047
|
+
scope?: string | undefined;
|
|
23048
|
+
audience?: string | undefined;
|
|
23049
|
+
include_qr_code?: boolean | "false" | "true" | undefined;
|
|
23050
|
+
};
|
|
23051
|
+
} & {
|
|
23052
|
+
json: {
|
|
23053
|
+
client_id?: string | undefined;
|
|
23054
|
+
client_secret?: string | undefined;
|
|
23055
|
+
scope?: string | undefined;
|
|
23056
|
+
audience?: string | undefined;
|
|
23057
|
+
include_qr_code?: boolean | "false" | "true" | undefined;
|
|
23058
|
+
};
|
|
23059
|
+
};
|
|
23060
|
+
output: {
|
|
23061
|
+
error: string;
|
|
23062
|
+
error_description?: string | undefined;
|
|
23063
|
+
};
|
|
23064
|
+
outputFormat: "json";
|
|
23065
|
+
status: 400;
|
|
23066
|
+
} | {
|
|
23067
|
+
input: {
|
|
23068
|
+
form: {
|
|
23069
|
+
client_id?: string | undefined;
|
|
23070
|
+
client_secret?: string | undefined;
|
|
23071
|
+
scope?: string | undefined;
|
|
23072
|
+
audience?: string | undefined;
|
|
23073
|
+
include_qr_code?: boolean | "false" | "true" | undefined;
|
|
23074
|
+
};
|
|
23075
|
+
} & {
|
|
23076
|
+
json: {
|
|
23077
|
+
client_id?: string | undefined;
|
|
23078
|
+
client_secret?: string | undefined;
|
|
23079
|
+
scope?: string | undefined;
|
|
23080
|
+
audience?: string | undefined;
|
|
23081
|
+
include_qr_code?: boolean | "false" | "true" | undefined;
|
|
23082
|
+
};
|
|
23083
|
+
};
|
|
23084
|
+
output: {
|
|
23085
|
+
error: string;
|
|
23086
|
+
error_description?: string | undefined;
|
|
23087
|
+
};
|
|
23088
|
+
outputFormat: "json";
|
|
23089
|
+
status: 401;
|
|
23090
|
+
} | {
|
|
23091
|
+
input: {
|
|
23092
|
+
form: {
|
|
23093
|
+
client_id?: string | undefined;
|
|
23094
|
+
client_secret?: string | undefined;
|
|
23095
|
+
scope?: string | undefined;
|
|
23096
|
+
audience?: string | undefined;
|
|
23097
|
+
include_qr_code?: boolean | "false" | "true" | undefined;
|
|
23098
|
+
};
|
|
23099
|
+
} & {
|
|
23100
|
+
json: {
|
|
23101
|
+
client_id?: string | undefined;
|
|
23102
|
+
client_secret?: string | undefined;
|
|
23103
|
+
scope?: string | undefined;
|
|
23104
|
+
audience?: string | undefined;
|
|
23105
|
+
include_qr_code?: boolean | "false" | "true" | undefined;
|
|
23106
|
+
};
|
|
23107
|
+
};
|
|
23108
|
+
output: {
|
|
23109
|
+
error: string;
|
|
23110
|
+
error_description?: string | undefined;
|
|
23111
|
+
};
|
|
23112
|
+
outputFormat: "json";
|
|
23113
|
+
status: 429;
|
|
23114
|
+
};
|
|
23115
|
+
};
|
|
23116
|
+
}, "/oauth/device/code"> & hono_types.MergeSchemaPath<{
|
|
22687
23117
|
"/": {
|
|
22688
23118
|
$post: {
|
|
22689
23119
|
input: {
|
|
22690
23120
|
form: {
|
|
23121
|
+
grant_type: "urn:ietf:params:oauth:grant-type:device_code";
|
|
23122
|
+
device_code: string;
|
|
23123
|
+
client_id?: string | undefined;
|
|
23124
|
+
client_secret?: string | undefined;
|
|
23125
|
+
client_assertion?: string | undefined;
|
|
23126
|
+
client_assertion_type?: string | undefined;
|
|
23127
|
+
} | {
|
|
22691
23128
|
grant_type: "client_credentials";
|
|
22692
23129
|
scope?: string | undefined;
|
|
22693
23130
|
audience?: string | undefined;
|
|
@@ -22720,7 +23157,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
22720
23157
|
client_id: string;
|
|
22721
23158
|
username: string;
|
|
22722
23159
|
otp: string;
|
|
22723
|
-
realm: "
|
|
23160
|
+
realm: "sms" | "email";
|
|
22724
23161
|
scope?: string | undefined;
|
|
22725
23162
|
audience?: string | undefined;
|
|
22726
23163
|
} | {
|
|
@@ -22748,6 +23185,13 @@ declare function init(config: AuthHeroConfig): {
|
|
|
22748
23185
|
};
|
|
22749
23186
|
} & {
|
|
22750
23187
|
json: {
|
|
23188
|
+
grant_type: "urn:ietf:params:oauth:grant-type:device_code";
|
|
23189
|
+
device_code: string;
|
|
23190
|
+
client_id?: string | undefined;
|
|
23191
|
+
client_secret?: string | undefined;
|
|
23192
|
+
client_assertion?: string | undefined;
|
|
23193
|
+
client_assertion_type?: string | undefined;
|
|
23194
|
+
} | {
|
|
22751
23195
|
grant_type: "client_credentials";
|
|
22752
23196
|
scope?: string | undefined;
|
|
22753
23197
|
audience?: string | undefined;
|
|
@@ -22780,7 +23224,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
22780
23224
|
client_id: string;
|
|
22781
23225
|
username: string;
|
|
22782
23226
|
otp: string;
|
|
22783
|
-
realm: "
|
|
23227
|
+
realm: "sms" | "email";
|
|
22784
23228
|
scope?: string | undefined;
|
|
22785
23229
|
audience?: string | undefined;
|
|
22786
23230
|
} | {
|
|
@@ -22813,6 +23257,13 @@ declare function init(config: AuthHeroConfig): {
|
|
|
22813
23257
|
} | {
|
|
22814
23258
|
input: {
|
|
22815
23259
|
form: {
|
|
23260
|
+
grant_type: "urn:ietf:params:oauth:grant-type:device_code";
|
|
23261
|
+
device_code: string;
|
|
23262
|
+
client_id?: string | undefined;
|
|
23263
|
+
client_secret?: string | undefined;
|
|
23264
|
+
client_assertion?: string | undefined;
|
|
23265
|
+
client_assertion_type?: string | undefined;
|
|
23266
|
+
} | {
|
|
22816
23267
|
grant_type: "client_credentials";
|
|
22817
23268
|
scope?: string | undefined;
|
|
22818
23269
|
audience?: string | undefined;
|
|
@@ -22845,7 +23296,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
22845
23296
|
client_id: string;
|
|
22846
23297
|
username: string;
|
|
22847
23298
|
otp: string;
|
|
22848
|
-
realm: "
|
|
23299
|
+
realm: "sms" | "email";
|
|
22849
23300
|
scope?: string | undefined;
|
|
22850
23301
|
audience?: string | undefined;
|
|
22851
23302
|
} | {
|
|
@@ -22873,6 +23324,13 @@ declare function init(config: AuthHeroConfig): {
|
|
|
22873
23324
|
};
|
|
22874
23325
|
} & {
|
|
22875
23326
|
json: {
|
|
23327
|
+
grant_type: "urn:ietf:params:oauth:grant-type:device_code";
|
|
23328
|
+
device_code: string;
|
|
23329
|
+
client_id?: string | undefined;
|
|
23330
|
+
client_secret?: string | undefined;
|
|
23331
|
+
client_assertion?: string | undefined;
|
|
23332
|
+
client_assertion_type?: string | undefined;
|
|
23333
|
+
} | {
|
|
22876
23334
|
grant_type: "client_credentials";
|
|
22877
23335
|
scope?: string | undefined;
|
|
22878
23336
|
audience?: string | undefined;
|
|
@@ -22905,7 +23363,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
22905
23363
|
client_id: string;
|
|
22906
23364
|
username: string;
|
|
22907
23365
|
otp: string;
|
|
22908
|
-
realm: "
|
|
23366
|
+
realm: "sms" | "email";
|
|
22909
23367
|
scope?: string | undefined;
|
|
22910
23368
|
audience?: string | undefined;
|
|
22911
23369
|
} | {
|
|
@@ -22946,6 +23404,13 @@ declare function init(config: AuthHeroConfig): {
|
|
|
22946
23404
|
} | {
|
|
22947
23405
|
input: {
|
|
22948
23406
|
form: {
|
|
23407
|
+
grant_type: "urn:ietf:params:oauth:grant-type:device_code";
|
|
23408
|
+
device_code: string;
|
|
23409
|
+
client_id?: string | undefined;
|
|
23410
|
+
client_secret?: string | undefined;
|
|
23411
|
+
client_assertion?: string | undefined;
|
|
23412
|
+
client_assertion_type?: string | undefined;
|
|
23413
|
+
} | {
|
|
22949
23414
|
grant_type: "client_credentials";
|
|
22950
23415
|
scope?: string | undefined;
|
|
22951
23416
|
audience?: string | undefined;
|
|
@@ -22978,7 +23443,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
22978
23443
|
client_id: string;
|
|
22979
23444
|
username: string;
|
|
22980
23445
|
otp: string;
|
|
22981
|
-
realm: "
|
|
23446
|
+
realm: "sms" | "email";
|
|
22982
23447
|
scope?: string | undefined;
|
|
22983
23448
|
audience?: string | undefined;
|
|
22984
23449
|
} | {
|
|
@@ -23006,6 +23471,13 @@ declare function init(config: AuthHeroConfig): {
|
|
|
23006
23471
|
};
|
|
23007
23472
|
} & {
|
|
23008
23473
|
json: {
|
|
23474
|
+
grant_type: "urn:ietf:params:oauth:grant-type:device_code";
|
|
23475
|
+
device_code: string;
|
|
23476
|
+
client_id?: string | undefined;
|
|
23477
|
+
client_secret?: string | undefined;
|
|
23478
|
+
client_assertion?: string | undefined;
|
|
23479
|
+
client_assertion_type?: string | undefined;
|
|
23480
|
+
} | {
|
|
23009
23481
|
grant_type: "client_credentials";
|
|
23010
23482
|
scope?: string | undefined;
|
|
23011
23483
|
audience?: string | undefined;
|
|
@@ -23038,7 +23510,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
23038
23510
|
client_id: string;
|
|
23039
23511
|
username: string;
|
|
23040
23512
|
otp: string;
|
|
23041
|
-
realm: "
|
|
23513
|
+
realm: "sms" | "email";
|
|
23042
23514
|
scope?: string | undefined;
|
|
23043
23515
|
audience?: string | undefined;
|
|
23044
23516
|
} | {
|
|
@@ -23074,6 +23546,13 @@ declare function init(config: AuthHeroConfig): {
|
|
|
23074
23546
|
} | {
|
|
23075
23547
|
input: {
|
|
23076
23548
|
form: {
|
|
23549
|
+
grant_type: "urn:ietf:params:oauth:grant-type:device_code";
|
|
23550
|
+
device_code: string;
|
|
23551
|
+
client_id?: string | undefined;
|
|
23552
|
+
client_secret?: string | undefined;
|
|
23553
|
+
client_assertion?: string | undefined;
|
|
23554
|
+
client_assertion_type?: string | undefined;
|
|
23555
|
+
} | {
|
|
23077
23556
|
grant_type: "client_credentials";
|
|
23078
23557
|
scope?: string | undefined;
|
|
23079
23558
|
audience?: string | undefined;
|
|
@@ -23106,7 +23585,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
23106
23585
|
client_id: string;
|
|
23107
23586
|
username: string;
|
|
23108
23587
|
otp: string;
|
|
23109
|
-
realm: "
|
|
23588
|
+
realm: "sms" | "email";
|
|
23110
23589
|
scope?: string | undefined;
|
|
23111
23590
|
audience?: string | undefined;
|
|
23112
23591
|
} | {
|
|
@@ -23134,6 +23613,13 @@ declare function init(config: AuthHeroConfig): {
|
|
|
23134
23613
|
};
|
|
23135
23614
|
} & {
|
|
23136
23615
|
json: {
|
|
23616
|
+
grant_type: "urn:ietf:params:oauth:grant-type:device_code";
|
|
23617
|
+
device_code: string;
|
|
23618
|
+
client_id?: string | undefined;
|
|
23619
|
+
client_secret?: string | undefined;
|
|
23620
|
+
client_assertion?: string | undefined;
|
|
23621
|
+
client_assertion_type?: string | undefined;
|
|
23622
|
+
} | {
|
|
23137
23623
|
grant_type: "client_credentials";
|
|
23138
23624
|
scope?: string | undefined;
|
|
23139
23625
|
audience?: string | undefined;
|
|
@@ -23166,7 +23652,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
23166
23652
|
client_id: string;
|
|
23167
23653
|
username: string;
|
|
23168
23654
|
otp: string;
|
|
23169
|
-
realm: "
|
|
23655
|
+
realm: "sms" | "email";
|
|
23170
23656
|
scope?: string | undefined;
|
|
23171
23657
|
audience?: string | undefined;
|
|
23172
23658
|
} | {
|
|
@@ -23202,6 +23688,13 @@ declare function init(config: AuthHeroConfig): {
|
|
|
23202
23688
|
} | {
|
|
23203
23689
|
input: {
|
|
23204
23690
|
form: {
|
|
23691
|
+
grant_type: "urn:ietf:params:oauth:grant-type:device_code";
|
|
23692
|
+
device_code: string;
|
|
23693
|
+
client_id?: string | undefined;
|
|
23694
|
+
client_secret?: string | undefined;
|
|
23695
|
+
client_assertion?: string | undefined;
|
|
23696
|
+
client_assertion_type?: string | undefined;
|
|
23697
|
+
} | {
|
|
23205
23698
|
grant_type: "client_credentials";
|
|
23206
23699
|
scope?: string | undefined;
|
|
23207
23700
|
audience?: string | undefined;
|
|
@@ -23234,7 +23727,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
23234
23727
|
client_id: string;
|
|
23235
23728
|
username: string;
|
|
23236
23729
|
otp: string;
|
|
23237
|
-
realm: "
|
|
23730
|
+
realm: "sms" | "email";
|
|
23238
23731
|
scope?: string | undefined;
|
|
23239
23732
|
audience?: string | undefined;
|
|
23240
23733
|
} | {
|
|
@@ -23262,6 +23755,13 @@ declare function init(config: AuthHeroConfig): {
|
|
|
23262
23755
|
};
|
|
23263
23756
|
} & {
|
|
23264
23757
|
json: {
|
|
23758
|
+
grant_type: "urn:ietf:params:oauth:grant-type:device_code";
|
|
23759
|
+
device_code: string;
|
|
23760
|
+
client_id?: string | undefined;
|
|
23761
|
+
client_secret?: string | undefined;
|
|
23762
|
+
client_assertion?: string | undefined;
|
|
23763
|
+
client_assertion_type?: string | undefined;
|
|
23764
|
+
} | {
|
|
23265
23765
|
grant_type: "client_credentials";
|
|
23266
23766
|
scope?: string | undefined;
|
|
23267
23767
|
audience?: string | undefined;
|
|
@@ -23294,7 +23794,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
23294
23794
|
client_id: string;
|
|
23295
23795
|
username: string;
|
|
23296
23796
|
otp: string;
|
|
23297
|
-
realm: "
|
|
23797
|
+
realm: "sms" | "email";
|
|
23298
23798
|
scope?: string | undefined;
|
|
23299
23799
|
audience?: string | undefined;
|
|
23300
23800
|
} | {
|
|
@@ -23375,6 +23875,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
23375
23875
|
request_uri_parameter_supported: boolean;
|
|
23376
23876
|
request_parameter_supported: boolean;
|
|
23377
23877
|
token_endpoint_auth_signing_alg_values_supported: string[];
|
|
23878
|
+
device_authorization_endpoint?: string | undefined;
|
|
23378
23879
|
registration_endpoint?: string | undefined;
|
|
23379
23880
|
end_session_endpoint?: string | undefined;
|
|
23380
23881
|
grant_types_supported?: string[] | undefined;
|
|
@@ -23410,6 +23911,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
23410
23911
|
request_uri_parameter_supported: boolean;
|
|
23411
23912
|
request_parameter_supported: boolean;
|
|
23412
23913
|
token_endpoint_auth_signing_alg_values_supported: string[];
|
|
23914
|
+
device_authorization_endpoint?: string | undefined;
|
|
23413
23915
|
registration_endpoint?: string | undefined;
|
|
23414
23916
|
end_session_endpoint?: string | undefined;
|
|
23415
23917
|
grant_types_supported?: string[] | undefined;
|
|
@@ -24261,7 +24763,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
24261
24763
|
} & {
|
|
24262
24764
|
form: {
|
|
24263
24765
|
username: string;
|
|
24264
|
-
login_selection?: "
|
|
24766
|
+
login_selection?: "password" | "code" | undefined;
|
|
24265
24767
|
};
|
|
24266
24768
|
};
|
|
24267
24769
|
output: {};
|
|
@@ -24275,7 +24777,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
24275
24777
|
} & {
|
|
24276
24778
|
form: {
|
|
24277
24779
|
username: string;
|
|
24278
|
-
login_selection?: "
|
|
24780
|
+
login_selection?: "password" | "code" | undefined;
|
|
24279
24781
|
};
|
|
24280
24782
|
};
|
|
24281
24783
|
output: {};
|
|
@@ -24640,7 +25142,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
24640
25142
|
$get: {
|
|
24641
25143
|
input: {
|
|
24642
25144
|
param: {
|
|
24643
|
-
screen: "
|
|
25145
|
+
screen: "login" | "signup" | "impersonate" | "reset-password" | "consent" | "account" | "enter-password" | "try-connection-result" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "login/email-verification" | "login/email-verification-sent" | "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" | "device/code" | "device/confirmation" | "device/complete";
|
|
24644
25146
|
};
|
|
24645
25147
|
} & {
|
|
24646
25148
|
query: {
|
|
@@ -24656,7 +25158,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
24656
25158
|
} | {
|
|
24657
25159
|
input: {
|
|
24658
25160
|
param: {
|
|
24659
|
-
screen: "
|
|
25161
|
+
screen: "login" | "signup" | "impersonate" | "reset-password" | "consent" | "account" | "enter-password" | "try-connection-result" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "login/email-verification" | "login/email-verification-sent" | "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" | "device/code" | "device/confirmation" | "device/complete";
|
|
24660
25162
|
};
|
|
24661
25163
|
} & {
|
|
24662
25164
|
query: {
|
|
@@ -24672,7 +25174,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
24672
25174
|
} | {
|
|
24673
25175
|
input: {
|
|
24674
25176
|
param: {
|
|
24675
|
-
screen: "
|
|
25177
|
+
screen: "login" | "signup" | "impersonate" | "reset-password" | "consent" | "account" | "enter-password" | "try-connection-result" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "login/email-verification" | "login/email-verification-sent" | "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" | "device/code" | "device/confirmation" | "device/complete";
|
|
24676
25178
|
};
|
|
24677
25179
|
} & {
|
|
24678
25180
|
query: {
|
|
@@ -24692,7 +25194,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
24692
25194
|
$post: {
|
|
24693
25195
|
input: {
|
|
24694
25196
|
param: {
|
|
24695
|
-
screen: "
|
|
25197
|
+
screen: "login" | "signup" | "impersonate" | "reset-password" | "consent" | "enter-password" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "login/email-verification" | "login/email-verification-sent" | "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" | "device/code" | "device/confirmation";
|
|
24696
25198
|
};
|
|
24697
25199
|
} & {
|
|
24698
25200
|
query: {
|
|
@@ -24710,7 +25212,7 @@ declare function init(config: AuthHeroConfig): {
|
|
|
24710
25212
|
} | {
|
|
24711
25213
|
input: {
|
|
24712
25214
|
param: {
|
|
24713
|
-
screen: "
|
|
25215
|
+
screen: "login" | "signup" | "impersonate" | "reset-password" | "consent" | "enter-password" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "login/email-verification" | "login/email-verification-sent" | "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" | "device/code" | "device/confirmation";
|
|
24714
25216
|
};
|
|
24715
25217
|
} & {
|
|
24716
25218
|
query: {
|
|
@@ -24812,5 +25314,5 @@ declare function init(config: AuthHeroConfig): {
|
|
|
24812
25314
|
createX509Certificate: typeof createX509Certificate;
|
|
24813
25315
|
};
|
|
24814
25316
|
|
|
24815
|
-
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, CONTROL_PLANE_URI, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Card as CardUI, CodeHookDestination, ControlPlaneSyncDestination, DEFAULT_CA_CERT_VALIDITY_DAYS, 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, PipelineDestination, PostmarkEmailService, PreSignUpConfirmationPage, PreSignupPage as PreSignUpPage, RegistrationFinalizerDestination, ResendEmailService, ResetPasswordPage, RetentionSweepError, SignupPage as SignUpPage, SigningCertificateRenewalError, SocialButton, Spinner, TENANT_URI_PREFIX, TenantInvitationNotFoundError, TenantMembersNotFoundError, TenantOrganizationNotFoundError, Trans, USERNAME_PASSWORD_PROVIDER, UnverifiedEmailPage, UserNotFound as UserNotFoundPage, VippsLogo, WebhookDestination, addEntityHooks, advanceUsersImport, backfillProxyHostsToKv, canDecrypt, cleanupActionExecutions, cleanupCodes, cleanupOutbox, cleanupSessions, cleanupUserSessions, cleanupUsersImports, clientInfoMiddleware, composeHostResolvers, createApplySyncEvents, createAuthMiddleware, createCertificateIssuerApp, createControlPlaneClient, createControlPlaneCustomDomainsAdapter, createControlPlaneTenantMembersAdapter, createDefaultDestinations, createEncryptedDataAdapter, createEncryptedDataAdapterWithKeyRing, createHttpCertificateIssuer, createInMemoryCache, createLocalCertificateIssuer, createLocalTenantMembersBackend, createServiceTokenCore, createTenantMembersControlPlaneApp, createTenantMembersRoutes, createWfpTenantHostResolver, decryptField, decryptFieldWithRing, deepMergePatch, drainOutbox, encryptField, encryptFieldWithRing, ensureMutableResponse, ensureSigningKey, fetchAll, getExecutorData, init, injectTailwindCSS, isAllowedIssuer, isEncrypted, isInteractiveClient, isSyncedRowId, isWfpSubdomainSafeTenantId, listControlPlaneKeys, loadEncryptionKey, mailgunCredentialsSchema, parseKeyId, postmarkCredentialsSchema, index_d as preDefinedHooks, provisionDefaultClients, renewSigningCertificates, resendCredentialsSchema, resolveSigningKeyMode, resolveSigningKeys, resumeUsersImports, runOutboxRelay, runRetention, seed, tailwindCss, tenantMiddleware, toMutableResponse, verifyControlPlaneToken, waitUntil, wfpTenantHost, withPlatformRowsHidden, wrapProxyAdaptersWithKvPublish, wrapTenantsAdapterWithWfpKvPublish };
|
|
24816
|
-
export type { ActionExecutionLogCapture, ActionExecutionsCleanupParams, AdvanceOptions, AdvanceResult, AuthHeroConfig, BackfillProxyHostsOptions, BackfillResult, CertificateIssuer, CertificateIssuerAppOptions, CodesCleanupParams, ControlPlaneClient, ControlPlaneClientOptions, ControlPlaneCustomDomainsOptions, ControlPlaneRequest, ControlPlaneResponse, ControlPlaneSyncDestinationOptions, ControlPlaneTenantMembersOptions, CreateApplySyncEventsOptions, CreateDefaultDestinationsConfig, CreateServiceTokenCoreParams, EncryptKeyIdResolver, EnsureSigningKeyOptions, EnsureSigningKeyResult, EnsureUsernameOptions, EntityHookContext, EntityHooks, EntityHooksConfig, EventDestination, FetchAllOptions, GetControlPlaneToken, GetServiceToken, GetTenantMembersBackend, HookEvent, HookRequest, Hooks, HttpCertificateIssuerOptions, InMemoryCacheConfig, IssuerResolver, KeyRing, KvPublishOptions, LocalCertificateIssuerOptions, LocalTenantMembersBackendOptions, MailgunCredentials, MailgunEmailServiceOptions, ManagementApiExtension, ManagementApiScope, ManagementAudienceResolver, McpConfig, OnExecuteCredentialsExchange, OnExecuteCredentialsExchangeAPI, OnExecutePostLogin, OnExecutePostLoginAPI, OnExecutePostUserDeletion, OnExecutePostUserDeletionAPI, OnExecutePostUserRegistration, OnExecutePostUserRegistrationAPI, OnExecutePostUserUpdate, OnExecutePostUserUpdateAPI, OnExecutePreUserDeletion, OnExecutePreUserDeletionAPI, OnExecutePreUserRegistration, OnExecutePreUserRegistrationAPI, OnExecutePreUserUpdate, OnExecutePreUserUpdateAPI, OnExecuteValidateRegistrationUsername, OnExecuteValidateRegistrationUsernameAPI, OnFetchUserInfo, OnFetchUserInfoAPI, OutboxCleanupParams, OutboxConfig, OutboxMetric, OutboxMetricName, OutboxMetricsSink, OutboxPipelineConfig, PipelineDestinationOptions, PipelineRecord, PlatformRowsOptions, PostmarkCredentials, PostmarkEmailServiceOptions, ProvisionDefaultClientsOptions, ProvisionDefaultClientsResult, RenewSigningCertificatesConfig, RenewSigningCertificatesResult, ResendCredentials, ResendEmailServiceOptions, ResolveSigningKeysOptions, ResumeUsersImportsOptions, ResumeUsersImportsResult, RetentionSweep, RetentionSweepFailed, RetentionSweepSkipped, RetentionSweepStatus, RetentionSweepSwept, RolePermissionHooks, RolloutControllerBinding, RunOutboxRelayConfig, RunRetentionConfig, RunRetentionResult, SeedOptions, SeedResult, ServiceTokenResponse, SigningCertificateAuthority, SigningCertificateRequest, SigningKeyMode, SigningKeyModeOption, SigningKeyModeResolver, SyncEntity, SyncEvent, SyncOp, TenantInvitation, TenantInvitationInput, TenantMember, TenantMembersBackend, TenantMembersControlPlaneOptions, TenantMembersListResult, TenantMembersPageParams, TenantOperationExecutorBinding, TenantRole, TokenAPI, Transaction, UserInfoEvent, UserLinkingMode, UserLinkingModeOption, UserLinkingModeResolver, UserSessionCleanupParams, UsernamePasswordProviderResolver, UsersImportCleanupParams, VerifyControlPlaneTokenOptions, VerifyControlPlaneTokenResult, WebhookDestinationOptions, WebhookInvoker, WebhookInvokerParams, WfpTenantHostResolverOptions, WfpTenantsKvPublishOptions, WrappedProxyAdapters };
|
|
25317
|
+
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, CONTROL_PLANE_TENANT_MEMBER_REQUESTS_NOTIFY_PATH, CONTROL_PLANE_URI, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Card as CardUI, CodeHookDestination, ControlPlaneSyncDestination, DEFAULT_CA_CERT_VALIDITY_DAYS, 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, PipelineDestination, PostmarkEmailService, PreSignUpConfirmationPage, PreSignupPage as PreSignUpPage, RegistrationFinalizerDestination, ResendEmailService, ResetPasswordPage, RetentionSweepError, SignupPage as SignUpPage, SigningCertificateRenewalError, SocialButton, Spinner, TENANT_URI_PREFIX, TenantInvitationNotFoundError, TenantMemberRequestRejected, TenantMembersNotFoundError, TenantOrganizationNotFoundError, Trans, USERNAME_PASSWORD_PROVIDER, UnverifiedEmailPage, UserNotFound as UserNotFoundPage, VippsLogo, WebhookDestination, addEntityHooks, advanceUsersImport, backfillProxyHostsToKv, canDecrypt, cleanupActionExecutions, cleanupCodes, cleanupOutbox, cleanupSessions, cleanupUserSessions, cleanupUsersImports, clientInfoMiddleware, composeHostResolvers, createApplySyncEvents, createAuthMiddleware, createCertificateIssuerApp, createControlPlaneClient, createControlPlaneCustomDomainsAdapter, createControlPlaneRequestNotifier, createControlPlaneTenantMembersAdapter, createDefaultDestinations, createEncryptedDataAdapter, createEncryptedDataAdapterWithKeyRing, createHttpCertificateIssuer, createInMemoryCache, createLocalCertificateIssuer, createLocalTenantMembersBackend, createServiceTokenCore, createTenantMembersControlPlaneApp, createTenantMembersRoutes, createWfpTenantHostResolver, decryptField, decryptFieldWithRing, deepMergePatch, drainOutbox, encryptField, encryptFieldWithRing, ensureMutableResponse, ensureSigningKey, executeTenantMemberRequest, fetchAll, getExecutorData, init, injectTailwindCSS, isAllowedIssuer, isEncrypted, isInteractiveClient, isSyncedRowId, isWfpSubdomainSafeTenantId, listControlPlaneKeys, loadEncryptionKey, mailgunCredentialsSchema, parseKeyId, postmarkCredentialsSchema, index_d as preDefinedHooks, provisionDefaultClients, renewSigningCertificates, resendCredentialsSchema, resolveSigningKeyMode, resolveSigningKeys, resumeUsersImports, runOutboxRelay, runRetention, seed, tailwindCss, tenantMemberRequestPayloadSchemas, tenantMiddleware, toMutableResponse, verifyControlPlaneToken, waitUntil, wfpTenantHost, withPlatformRowsHidden, wrapProxyAdaptersWithKvPublish, wrapTenantsAdapterWithWfpKvPublish };
|
|
25318
|
+
export type { ActionExecutionLogCapture, ActionExecutionsCleanupParams, AdvanceOptions, AdvanceResult, AfterTenantMemberRequestRegistered, AuthHeroConfig, BackfillProxyHostsOptions, BackfillResult, CertificateIssuer, CertificateIssuerAppOptions, CodesCleanupParams, ControlPlaneClient, ControlPlaneClientOptions, ControlPlaneCustomDomainsOptions, ControlPlaneRequest, ControlPlaneResponse, ControlPlaneSyncDestinationOptions, ControlPlaneTenantMembersOptions, CreateApplySyncEventsOptions, CreateDefaultDestinationsConfig, CreateServiceTokenCoreParams, EncryptKeyIdResolver, EnsureSigningKeyOptions, EnsureSigningKeyResult, EnsureUsernameOptions, EntityHookContext, EntityHooks, EntityHooksConfig, EventDestination, ExecuteTenantMemberRequestOptions, FetchAllOptions, GetControlPlaneToken, GetServiceToken, GetTenantMembersBackend, HookEvent, HookRequest, Hooks, HttpCertificateIssuerOptions, InMemoryCacheConfig, IssuerResolver, KeyRing, KvPublishOptions, LocalCertificateIssuerOptions, LocalTenantMembersBackendOptions, MailgunCredentials, MailgunEmailServiceOptions, ManagementApiExtension, ManagementApiScope, ManagementAudienceResolver, McpConfig, OnExecuteCredentialsExchange, OnExecuteCredentialsExchangeAPI, OnExecutePostLogin, OnExecutePostLoginAPI, OnExecutePostUserDeletion, OnExecutePostUserDeletionAPI, OnExecutePostUserRegistration, OnExecutePostUserRegistrationAPI, OnExecutePostUserUpdate, OnExecutePostUserUpdateAPI, OnExecutePreUserDeletion, OnExecutePreUserDeletionAPI, OnExecutePreUserRegistration, OnExecutePreUserRegistrationAPI, OnExecutePreUserUpdate, OnExecutePreUserUpdateAPI, OnExecuteValidateRegistrationUsername, OnExecuteValidateRegistrationUsernameAPI, OnFetchUserInfo, OnFetchUserInfoAPI, OutboxCleanupParams, OutboxConfig, OutboxMetric, OutboxMetricName, OutboxMetricsSink, OutboxPipelineConfig, PipelineDestinationOptions, PipelineRecord, PlatformRowsOptions, PostmarkCredentials, PostmarkEmailServiceOptions, ProvisionDefaultClientsOptions, ProvisionDefaultClientsResult, RenewSigningCertificatesConfig, RenewSigningCertificatesResult, ResendCredentials, ResendEmailServiceOptions, ResolveSigningKeysOptions, ResumeUsersImportsOptions, ResumeUsersImportsResult, RetentionSweep, RetentionSweepFailed, RetentionSweepSkipped, RetentionSweepStatus, RetentionSweepSwept, RolePermissionHooks, RolloutControllerBinding, RunOutboxRelayConfig, RunRetentionConfig, RunRetentionResult, SeedOptions, SeedResult, ServiceTokenResponse, SigningCertificateAuthority, SigningCertificateRequest, SigningKeyMode, SigningKeyModeOption, SigningKeyModeResolver, SyncEntity, SyncEvent, SyncOp, TenantInvitation, TenantInvitationInput, TenantMember, TenantMemberRequestsConfig, TenantMembersBackend, TenantMembersControlPlaneOptions, TenantMembersListResult, TenantMembersPageParams, TenantOperationExecutorBinding, TenantRole, TokenAPI, Transaction, UserInfoEvent, UserLinkingMode, UserLinkingModeOption, UserLinkingModeResolver, UserSessionCleanupParams, UsernamePasswordProviderResolver, UsersImportCleanupParams, VerifyControlPlaneTokenOptions, VerifyControlPlaneTokenResult, WebhookDestinationOptions, WebhookInvoker, WebhookInvokerParams, WfpTenantHostResolverOptions, WfpTenantsKvPublishOptions, WrappedProxyAdapters };
|