authhero 4.114.0 → 4.116.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/u/widget/index.esm.js +1 -1
- package/dist/authhero.cjs +357 -577
- package/dist/authhero.d.ts +450 -33
- package/dist/authhero.mjs +56023 -56030
- package/dist/stats.html +1 -1
- package/package.json +4 -4
package/dist/authhero.d.ts
CHANGED
|
@@ -271,6 +271,164 @@ export declare const actionSchema: z.ZodObject<{
|
|
|
271
271
|
deployed_at?: string | undefined;
|
|
272
272
|
}>;
|
|
273
273
|
export type Action = z.infer<typeof actionSchema>;
|
|
274
|
+
export declare const actionVersionInsertSchema: z.ZodObject<{
|
|
275
|
+
action_id: z.ZodString;
|
|
276
|
+
code: z.ZodString;
|
|
277
|
+
runtime: z.ZodOptional<z.ZodString>;
|
|
278
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
279
|
+
name: z.ZodString;
|
|
280
|
+
version: z.ZodString;
|
|
281
|
+
}, "strip", z.ZodTypeAny, {
|
|
282
|
+
version: string;
|
|
283
|
+
name: string;
|
|
284
|
+
}, {
|
|
285
|
+
version: string;
|
|
286
|
+
name: string;
|
|
287
|
+
}>, "many">>;
|
|
288
|
+
secrets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
289
|
+
name: z.ZodString;
|
|
290
|
+
value: z.ZodOptional<z.ZodString>;
|
|
291
|
+
}, "strip", z.ZodTypeAny, {
|
|
292
|
+
name: string;
|
|
293
|
+
value?: string | undefined;
|
|
294
|
+
}, {
|
|
295
|
+
name: string;
|
|
296
|
+
value?: string | undefined;
|
|
297
|
+
}>, "many">>;
|
|
298
|
+
supported_triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
299
|
+
id: z.ZodString;
|
|
300
|
+
version: z.ZodOptional<z.ZodString>;
|
|
301
|
+
}, "strip", z.ZodTypeAny, {
|
|
302
|
+
id: string;
|
|
303
|
+
version?: string | undefined;
|
|
304
|
+
}, {
|
|
305
|
+
id: string;
|
|
306
|
+
version?: string | undefined;
|
|
307
|
+
}>, "many">>;
|
|
308
|
+
deployed: z.ZodDefault<z.ZodBoolean>;
|
|
309
|
+
}, "strip", z.ZodTypeAny, {
|
|
310
|
+
code: string;
|
|
311
|
+
action_id: string;
|
|
312
|
+
deployed: boolean;
|
|
313
|
+
supported_triggers?: {
|
|
314
|
+
id: string;
|
|
315
|
+
version?: string | undefined;
|
|
316
|
+
}[] | undefined;
|
|
317
|
+
runtime?: string | undefined;
|
|
318
|
+
dependencies?: {
|
|
319
|
+
version: string;
|
|
320
|
+
name: string;
|
|
321
|
+
}[] | undefined;
|
|
322
|
+
secrets?: {
|
|
323
|
+
name: string;
|
|
324
|
+
value?: string | undefined;
|
|
325
|
+
}[] | undefined;
|
|
326
|
+
}, {
|
|
327
|
+
code: string;
|
|
328
|
+
action_id: string;
|
|
329
|
+
supported_triggers?: {
|
|
330
|
+
id: string;
|
|
331
|
+
version?: string | undefined;
|
|
332
|
+
}[] | undefined;
|
|
333
|
+
runtime?: string | undefined;
|
|
334
|
+
dependencies?: {
|
|
335
|
+
version: string;
|
|
336
|
+
name: string;
|
|
337
|
+
}[] | undefined;
|
|
338
|
+
secrets?: {
|
|
339
|
+
name: string;
|
|
340
|
+
value?: string | undefined;
|
|
341
|
+
}[] | undefined;
|
|
342
|
+
deployed?: boolean | undefined;
|
|
343
|
+
}>;
|
|
344
|
+
export type ActionVersionInsert = z.infer<typeof actionVersionInsertSchema>;
|
|
345
|
+
export declare const actionVersionSchema: z.ZodObject<{
|
|
346
|
+
action_id: z.ZodString;
|
|
347
|
+
code: z.ZodString;
|
|
348
|
+
runtime: z.ZodOptional<z.ZodString>;
|
|
349
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
350
|
+
name: z.ZodString;
|
|
351
|
+
version: z.ZodString;
|
|
352
|
+
}, "strip", z.ZodTypeAny, {
|
|
353
|
+
version: string;
|
|
354
|
+
name: string;
|
|
355
|
+
}, {
|
|
356
|
+
version: string;
|
|
357
|
+
name: string;
|
|
358
|
+
}>, "many">>;
|
|
359
|
+
secrets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
360
|
+
name: z.ZodString;
|
|
361
|
+
value: z.ZodOptional<z.ZodString>;
|
|
362
|
+
}, "strip", z.ZodTypeAny, {
|
|
363
|
+
name: string;
|
|
364
|
+
value?: string | undefined;
|
|
365
|
+
}, {
|
|
366
|
+
name: string;
|
|
367
|
+
value?: string | undefined;
|
|
368
|
+
}>, "many">>;
|
|
369
|
+
supported_triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
370
|
+
id: z.ZodString;
|
|
371
|
+
version: z.ZodOptional<z.ZodString>;
|
|
372
|
+
}, "strip", z.ZodTypeAny, {
|
|
373
|
+
id: string;
|
|
374
|
+
version?: string | undefined;
|
|
375
|
+
}, {
|
|
376
|
+
id: string;
|
|
377
|
+
version?: string | undefined;
|
|
378
|
+
}>, "many">>;
|
|
379
|
+
deployed: z.ZodDefault<z.ZodBoolean>;
|
|
380
|
+
} & {
|
|
381
|
+
created_at: z.ZodString;
|
|
382
|
+
updated_at: z.ZodString;
|
|
383
|
+
id: z.ZodString;
|
|
384
|
+
tenant_id: z.ZodString;
|
|
385
|
+
number: z.ZodNumber;
|
|
386
|
+
}, "strip", z.ZodTypeAny, {
|
|
387
|
+
number: number;
|
|
388
|
+
created_at: string;
|
|
389
|
+
updated_at: string;
|
|
390
|
+
code: string;
|
|
391
|
+
id: string;
|
|
392
|
+
tenant_id: string;
|
|
393
|
+
action_id: string;
|
|
394
|
+
deployed: boolean;
|
|
395
|
+
supported_triggers?: {
|
|
396
|
+
id: string;
|
|
397
|
+
version?: string | undefined;
|
|
398
|
+
}[] | undefined;
|
|
399
|
+
runtime?: string | undefined;
|
|
400
|
+
dependencies?: {
|
|
401
|
+
version: string;
|
|
402
|
+
name: string;
|
|
403
|
+
}[] | undefined;
|
|
404
|
+
secrets?: {
|
|
405
|
+
name: string;
|
|
406
|
+
value?: string | undefined;
|
|
407
|
+
}[] | undefined;
|
|
408
|
+
}, {
|
|
409
|
+
number: number;
|
|
410
|
+
created_at: string;
|
|
411
|
+
updated_at: string;
|
|
412
|
+
code: string;
|
|
413
|
+
id: string;
|
|
414
|
+
tenant_id: string;
|
|
415
|
+
action_id: string;
|
|
416
|
+
supported_triggers?: {
|
|
417
|
+
id: string;
|
|
418
|
+
version?: string | undefined;
|
|
419
|
+
}[] | undefined;
|
|
420
|
+
runtime?: string | undefined;
|
|
421
|
+
dependencies?: {
|
|
422
|
+
version: string;
|
|
423
|
+
name: string;
|
|
424
|
+
}[] | undefined;
|
|
425
|
+
secrets?: {
|
|
426
|
+
name: string;
|
|
427
|
+
value?: string | undefined;
|
|
428
|
+
}[] | undefined;
|
|
429
|
+
deployed?: boolean | undefined;
|
|
430
|
+
}>;
|
|
431
|
+
export type ActionVersion = z.infer<typeof actionVersionSchema>;
|
|
274
432
|
export declare const auditCategorySchema: z.ZodEnum<[
|
|
275
433
|
"user_action",
|
|
276
434
|
"admin_action",
|
|
@@ -11398,7 +11556,10 @@ export declare enum AuthorizationResponseType {
|
|
|
11398
11556
|
TOKEN = "token",
|
|
11399
11557
|
ID_TOKEN = "id_token",
|
|
11400
11558
|
TOKEN_ID_TOKEN = "id_token token",
|
|
11401
|
-
CODE = "code"
|
|
11559
|
+
CODE = "code",
|
|
11560
|
+
CODE_ID_TOKEN = "code id_token",
|
|
11561
|
+
CODE_TOKEN = "code token",
|
|
11562
|
+
CODE_ID_TOKEN_TOKEN = "code id_token token"
|
|
11402
11563
|
}
|
|
11403
11564
|
export declare enum AuthorizationResponseMode {
|
|
11404
11565
|
QUERY = "query",
|
|
@@ -11519,6 +11680,11 @@ export declare const brandingSchema: z.ZodObject<{
|
|
|
11519
11680
|
}, {
|
|
11520
11681
|
url: string;
|
|
11521
11682
|
}>>;
|
|
11683
|
+
dark_mode: z.ZodOptional<z.ZodEnum<[
|
|
11684
|
+
"dark",
|
|
11685
|
+
"light",
|
|
11686
|
+
"auto"
|
|
11687
|
+
]>>;
|
|
11522
11688
|
}, "strip", z.ZodTypeAny, {
|
|
11523
11689
|
colors?: {
|
|
11524
11690
|
primary: string;
|
|
@@ -11535,6 +11701,7 @@ export declare const brandingSchema: z.ZodObject<{
|
|
|
11535
11701
|
font?: {
|
|
11536
11702
|
url: string;
|
|
11537
11703
|
} | undefined;
|
|
11704
|
+
dark_mode?: "dark" | "light" | "auto" | undefined;
|
|
11538
11705
|
}, {
|
|
11539
11706
|
colors?: {
|
|
11540
11707
|
primary: string;
|
|
@@ -11551,6 +11718,7 @@ export declare const brandingSchema: z.ZodObject<{
|
|
|
11551
11718
|
font?: {
|
|
11552
11719
|
url: string;
|
|
11553
11720
|
} | undefined;
|
|
11721
|
+
dark_mode?: "dark" | "light" | "auto" | undefined;
|
|
11554
11722
|
}>;
|
|
11555
11723
|
export type Branding = z.infer<typeof brandingSchema>;
|
|
11556
11724
|
export declare const codeTypeSchema: z.ZodEnum<[
|
|
@@ -47032,7 +47200,7 @@ export declare const colorsSchema: z.ZodObject<{
|
|
|
47032
47200
|
base_focus_color: string;
|
|
47033
47201
|
base_hover_color: string;
|
|
47034
47202
|
body_text: string;
|
|
47035
|
-
captcha_widget_theme: "
|
|
47203
|
+
captcha_widget_theme: "dark" | "light" | "auto";
|
|
47036
47204
|
header: string;
|
|
47037
47205
|
icons: string;
|
|
47038
47206
|
input_background: string;
|
|
@@ -47052,7 +47220,7 @@ export declare const colorsSchema: z.ZodObject<{
|
|
|
47052
47220
|
base_focus_color: string;
|
|
47053
47221
|
base_hover_color: string;
|
|
47054
47222
|
body_text: string;
|
|
47055
|
-
captcha_widget_theme: "
|
|
47223
|
+
captcha_widget_theme: "dark" | "light" | "auto";
|
|
47056
47224
|
header: string;
|
|
47057
47225
|
icons: string;
|
|
47058
47226
|
input_background: string;
|
|
@@ -47334,7 +47502,7 @@ export declare const themeInsertSchema: z.ZodObject<{
|
|
|
47334
47502
|
base_focus_color: string;
|
|
47335
47503
|
base_hover_color: string;
|
|
47336
47504
|
body_text: string;
|
|
47337
|
-
captcha_widget_theme: "
|
|
47505
|
+
captcha_widget_theme: "dark" | "light" | "auto";
|
|
47338
47506
|
header: string;
|
|
47339
47507
|
icons: string;
|
|
47340
47508
|
input_background: string;
|
|
@@ -47354,7 +47522,7 @@ export declare const themeInsertSchema: z.ZodObject<{
|
|
|
47354
47522
|
base_focus_color: string;
|
|
47355
47523
|
base_hover_color: string;
|
|
47356
47524
|
body_text: string;
|
|
47357
|
-
captcha_widget_theme: "
|
|
47525
|
+
captcha_widget_theme: "dark" | "light" | "auto";
|
|
47358
47526
|
header: string;
|
|
47359
47527
|
icons: string;
|
|
47360
47528
|
input_background: string;
|
|
@@ -47570,7 +47738,7 @@ export declare const themeInsertSchema: z.ZodObject<{
|
|
|
47570
47738
|
base_focus_color: string;
|
|
47571
47739
|
base_hover_color: string;
|
|
47572
47740
|
body_text: string;
|
|
47573
|
-
captcha_widget_theme: "
|
|
47741
|
+
captcha_widget_theme: "dark" | "light" | "auto";
|
|
47574
47742
|
header: string;
|
|
47575
47743
|
icons: string;
|
|
47576
47744
|
input_background: string;
|
|
@@ -47646,7 +47814,7 @@ export declare const themeInsertSchema: z.ZodObject<{
|
|
|
47646
47814
|
base_focus_color: string;
|
|
47647
47815
|
base_hover_color: string;
|
|
47648
47816
|
body_text: string;
|
|
47649
|
-
captcha_widget_theme: "
|
|
47817
|
+
captcha_widget_theme: "dark" | "light" | "auto";
|
|
47650
47818
|
header: string;
|
|
47651
47819
|
icons: string;
|
|
47652
47820
|
input_background: string;
|
|
@@ -47781,7 +47949,7 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
47781
47949
|
base_focus_color: string;
|
|
47782
47950
|
base_hover_color: string;
|
|
47783
47951
|
body_text: string;
|
|
47784
|
-
captcha_widget_theme: "
|
|
47952
|
+
captcha_widget_theme: "dark" | "light" | "auto";
|
|
47785
47953
|
header: string;
|
|
47786
47954
|
icons: string;
|
|
47787
47955
|
input_background: string;
|
|
@@ -47801,7 +47969,7 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
47801
47969
|
base_focus_color: string;
|
|
47802
47970
|
base_hover_color: string;
|
|
47803
47971
|
body_text: string;
|
|
47804
|
-
captcha_widget_theme: "
|
|
47972
|
+
captcha_widget_theme: "dark" | "light" | "auto";
|
|
47805
47973
|
header: string;
|
|
47806
47974
|
icons: string;
|
|
47807
47975
|
input_background: string;
|
|
@@ -48019,7 +48187,7 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
48019
48187
|
base_focus_color: string;
|
|
48020
48188
|
base_hover_color: string;
|
|
48021
48189
|
body_text: string;
|
|
48022
|
-
captcha_widget_theme: "
|
|
48190
|
+
captcha_widget_theme: "dark" | "light" | "auto";
|
|
48023
48191
|
header: string;
|
|
48024
48192
|
icons: string;
|
|
48025
48193
|
input_background: string;
|
|
@@ -48096,7 +48264,7 @@ export declare const themeSchema: z.ZodObject<{
|
|
|
48096
48264
|
base_focus_color: string;
|
|
48097
48265
|
base_hover_color: string;
|
|
48098
48266
|
body_text: string;
|
|
48099
|
-
captcha_widget_theme: "
|
|
48267
|
+
captcha_widget_theme: "dark" | "light" | "auto";
|
|
48100
48268
|
header: string;
|
|
48101
48269
|
icons: string;
|
|
48102
48270
|
input_background: string;
|
|
@@ -50519,6 +50687,24 @@ export interface ActionsAdapter {
|
|
|
50519
50687
|
remove: (tenant_id: string, action_id: string) => Promise<boolean>;
|
|
50520
50688
|
list: (tenant_id: string, params?: ListParams) => Promise<ListActionsResponse>;
|
|
50521
50689
|
}
|
|
50690
|
+
export interface ListActionVersionsResponse extends Totals {
|
|
50691
|
+
versions: ActionVersion[];
|
|
50692
|
+
}
|
|
50693
|
+
export interface ActionVersionsAdapter {
|
|
50694
|
+
/**
|
|
50695
|
+
* Append a new version row for an action. The adapter assigns the next
|
|
50696
|
+
* sequential `number` per action_id and clears the `deployed` flag on any
|
|
50697
|
+
* prior versions when the new one is created with `deployed: true`.
|
|
50698
|
+
*/
|
|
50699
|
+
create: (tenant_id: string, version: ActionVersionInsert) => Promise<ActionVersion>;
|
|
50700
|
+
get: (tenant_id: string, action_id: string, version_id: string) => Promise<ActionVersion | null>;
|
|
50701
|
+
list: (tenant_id: string, action_id: string, params?: ListParams) => Promise<ListActionVersionsResponse>;
|
|
50702
|
+
/**
|
|
50703
|
+
* Remove every version row for an action — used when the parent action is
|
|
50704
|
+
* deleted. Returns the number of rows removed.
|
|
50705
|
+
*/
|
|
50706
|
+
removeForAction: (tenant_id: string, action_id: string) => Promise<number>;
|
|
50707
|
+
}
|
|
50522
50708
|
export interface ListFlowsResponse extends Totals {
|
|
50523
50709
|
flows: Flow[];
|
|
50524
50710
|
}
|
|
@@ -51159,6 +51345,7 @@ export interface SessionCleanupParams {
|
|
|
51159
51345
|
}
|
|
51160
51346
|
export interface DataAdapters {
|
|
51161
51347
|
actions: ActionsAdapter;
|
|
51348
|
+
actionVersions: ActionVersionsAdapter;
|
|
51162
51349
|
branding: BrandingAdapter;
|
|
51163
51350
|
cache?: CacheAdapter;
|
|
51164
51351
|
clients: ClientsAdapter;
|
|
@@ -59568,6 +59755,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
59568
59755
|
sdkSrc?: string | undefined;
|
|
59569
59756
|
sdk_src?: string | undefined;
|
|
59570
59757
|
} | undefined;
|
|
59758
|
+
translations?: Record<string, any> | undefined;
|
|
59571
59759
|
nodes?: ({
|
|
59572
59760
|
type: "FLOW";
|
|
59573
59761
|
id: string;
|
|
@@ -60107,7 +60295,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
60107
60295
|
custom?: Record<string, any> | undefined;
|
|
60108
60296
|
errors?: Record<string, any> | undefined;
|
|
60109
60297
|
} | undefined;
|
|
60110
|
-
translations?: Record<string, any> | undefined;
|
|
60111
60298
|
};
|
|
60112
60299
|
};
|
|
60113
60300
|
output: {
|
|
@@ -60716,6 +60903,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
60716
60903
|
sdkSrc?: string | undefined;
|
|
60717
60904
|
sdk_src?: string | undefined;
|
|
60718
60905
|
} | undefined;
|
|
60906
|
+
translations?: Record<string, any> | undefined;
|
|
60719
60907
|
nodes?: ({
|
|
60720
60908
|
type: "FLOW";
|
|
60721
60909
|
id: string;
|
|
@@ -61255,7 +61443,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
61255
61443
|
custom?: Record<string, any> | undefined;
|
|
61256
61444
|
errors?: Record<string, any> | undefined;
|
|
61257
61445
|
} | undefined;
|
|
61258
|
-
translations?: Record<string, any> | undefined;
|
|
61259
61446
|
};
|
|
61260
61447
|
};
|
|
61261
61448
|
output: {
|
|
@@ -62015,19 +62202,45 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
62015
62202
|
};
|
|
62016
62203
|
};
|
|
62017
62204
|
output: {
|
|
62018
|
-
prompt: "status" | "common" | "
|
|
62205
|
+
prompt: "status" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "organizations" | "reset-password" | "signup" | "signup-id" | "signup-password" | "captcha" | "custom-form";
|
|
62019
62206
|
language: string;
|
|
62020
62207
|
}[];
|
|
62021
62208
|
outputFormat: "json";
|
|
62022
62209
|
status: 200;
|
|
62023
62210
|
};
|
|
62024
62211
|
};
|
|
62212
|
+
} & {
|
|
62213
|
+
"/custom-text/defaults": {
|
|
62214
|
+
$get: {
|
|
62215
|
+
input: {
|
|
62216
|
+
query: {
|
|
62217
|
+
prompt?: string | undefined;
|
|
62218
|
+
language?: string | undefined;
|
|
62219
|
+
};
|
|
62220
|
+
} & {
|
|
62221
|
+
header: {
|
|
62222
|
+
"tenant-id"?: string | undefined;
|
|
62223
|
+
};
|
|
62224
|
+
};
|
|
62225
|
+
output: {
|
|
62226
|
+
prompt: string;
|
|
62227
|
+
language: string;
|
|
62228
|
+
custom_text: {
|
|
62229
|
+
[x: string]: {
|
|
62230
|
+
[x: string]: string;
|
|
62231
|
+
};
|
|
62232
|
+
};
|
|
62233
|
+
}[];
|
|
62234
|
+
outputFormat: "json";
|
|
62235
|
+
status: 200;
|
|
62236
|
+
};
|
|
62237
|
+
};
|
|
62025
62238
|
} & {
|
|
62026
62239
|
"/:prompt/custom-text/:language": {
|
|
62027
62240
|
$get: {
|
|
62028
62241
|
input: {
|
|
62029
62242
|
param: {
|
|
62030
|
-
prompt: "status" | "common" | "
|
|
62243
|
+
prompt: "status" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "organizations" | "reset-password" | "signup" | "signup-id" | "signup-password" | "captcha" | "custom-form";
|
|
62031
62244
|
language: string;
|
|
62032
62245
|
};
|
|
62033
62246
|
} & {
|
|
@@ -62049,7 +62262,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
62049
62262
|
$put: {
|
|
62050
62263
|
input: {
|
|
62051
62264
|
param: {
|
|
62052
|
-
prompt: "status" | "common" | "
|
|
62265
|
+
prompt: "status" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "organizations" | "reset-password" | "signup" | "signup-id" | "signup-password" | "captcha" | "custom-form";
|
|
62053
62266
|
language: string;
|
|
62054
62267
|
};
|
|
62055
62268
|
} & {
|
|
@@ -62073,7 +62286,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
62073
62286
|
$delete: {
|
|
62074
62287
|
input: {
|
|
62075
62288
|
param: {
|
|
62076
|
-
prompt: "status" | "common" | "
|
|
62289
|
+
prompt: "status" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "organizations" | "reset-password" | "signup" | "signup-id" | "signup-password" | "captcha" | "custom-form";
|
|
62077
62290
|
language: string;
|
|
62078
62291
|
};
|
|
62079
62292
|
} & {
|
|
@@ -64049,8 +64262,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
64049
64262
|
};
|
|
64050
64263
|
output: {
|
|
64051
64264
|
id: string;
|
|
64052
|
-
expires_at: string;
|
|
64053
64265
|
token: string;
|
|
64266
|
+
expires_at: string;
|
|
64054
64267
|
single_use: boolean;
|
|
64055
64268
|
sub?: string | undefined;
|
|
64056
64269
|
constraints?: {
|
|
@@ -67092,7 +67305,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
67092
67305
|
base_focus_color: string;
|
|
67093
67306
|
base_hover_color: string;
|
|
67094
67307
|
body_text: string;
|
|
67095
|
-
captcha_widget_theme: "
|
|
67308
|
+
captcha_widget_theme: "dark" | "light" | "auto";
|
|
67096
67309
|
header: string;
|
|
67097
67310
|
icons: string;
|
|
67098
67311
|
input_background: string;
|
|
@@ -67261,7 +67474,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
67261
67474
|
base_focus_color: string;
|
|
67262
67475
|
base_hover_color: string;
|
|
67263
67476
|
body_text: string;
|
|
67264
|
-
captcha_widget_theme: "
|
|
67477
|
+
captcha_widget_theme: "dark" | "light" | "auto";
|
|
67265
67478
|
header: string;
|
|
67266
67479
|
icons: string;
|
|
67267
67480
|
input_background: string;
|
|
@@ -67354,6 +67567,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
67354
67567
|
font?: {
|
|
67355
67568
|
url: string;
|
|
67356
67569
|
} | undefined;
|
|
67570
|
+
dark_mode?: "dark" | "light" | "auto" | undefined | undefined;
|
|
67357
67571
|
};
|
|
67358
67572
|
outputFormat: "json";
|
|
67359
67573
|
status: 200;
|
|
@@ -67379,10 +67593,11 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
67379
67593
|
} | undefined;
|
|
67380
67594
|
logo_url?: string | undefined;
|
|
67381
67595
|
favicon_url?: string | undefined;
|
|
67382
|
-
powered_by_logo_url?: string | undefined;
|
|
67383
67596
|
font?: {
|
|
67384
67597
|
url: string;
|
|
67385
67598
|
} | undefined;
|
|
67599
|
+
powered_by_logo_url?: string | undefined;
|
|
67600
|
+
dark_mode?: "auto" | "dark" | "light" | undefined;
|
|
67386
67601
|
};
|
|
67387
67602
|
};
|
|
67388
67603
|
output: {
|
|
@@ -67401,6 +67616,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
67401
67616
|
font?: {
|
|
67402
67617
|
url: string;
|
|
67403
67618
|
} | undefined;
|
|
67619
|
+
dark_mode?: "dark" | "light" | "auto" | undefined | undefined;
|
|
67404
67620
|
};
|
|
67405
67621
|
outputFormat: "json";
|
|
67406
67622
|
status: 200;
|
|
@@ -67409,15 +67625,6 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
67409
67625
|
} & {
|
|
67410
67626
|
"/templates/universal-login": {
|
|
67411
67627
|
$get: {
|
|
67412
|
-
input: {
|
|
67413
|
-
header: {
|
|
67414
|
-
"tenant-id"?: string | undefined;
|
|
67415
|
-
};
|
|
67416
|
-
};
|
|
67417
|
-
output: {};
|
|
67418
|
-
outputFormat: string;
|
|
67419
|
-
status: 404;
|
|
67420
|
-
} | {
|
|
67421
67628
|
input: {
|
|
67422
67629
|
header: {
|
|
67423
67630
|
"tenant-id"?: string | undefined;
|
|
@@ -67942,6 +68149,216 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
67942
68149
|
status: 200;
|
|
67943
68150
|
};
|
|
67944
68151
|
};
|
|
68152
|
+
} & {
|
|
68153
|
+
"/:actionId/versions": {
|
|
68154
|
+
$get: {
|
|
68155
|
+
input: {
|
|
68156
|
+
param: {
|
|
68157
|
+
actionId: string;
|
|
68158
|
+
};
|
|
68159
|
+
} & {
|
|
68160
|
+
query: {
|
|
68161
|
+
sort?: string | undefined;
|
|
68162
|
+
page?: string | undefined;
|
|
68163
|
+
per_page?: string | undefined;
|
|
68164
|
+
include_totals?: string | undefined;
|
|
68165
|
+
from?: string | undefined;
|
|
68166
|
+
take?: string | undefined;
|
|
68167
|
+
q?: string | undefined;
|
|
68168
|
+
};
|
|
68169
|
+
} & {
|
|
68170
|
+
header: {
|
|
68171
|
+
"tenant-id"?: string | undefined;
|
|
68172
|
+
};
|
|
68173
|
+
};
|
|
68174
|
+
output: {};
|
|
68175
|
+
outputFormat: string;
|
|
68176
|
+
status: 404;
|
|
68177
|
+
} | {
|
|
68178
|
+
input: {
|
|
68179
|
+
param: {
|
|
68180
|
+
actionId: string;
|
|
68181
|
+
};
|
|
68182
|
+
} & {
|
|
68183
|
+
query: {
|
|
68184
|
+
sort?: string | undefined;
|
|
68185
|
+
page?: string | undefined;
|
|
68186
|
+
per_page?: string | undefined;
|
|
68187
|
+
include_totals?: string | undefined;
|
|
68188
|
+
from?: string | undefined;
|
|
68189
|
+
take?: string | undefined;
|
|
68190
|
+
q?: string | undefined;
|
|
68191
|
+
};
|
|
68192
|
+
} & {
|
|
68193
|
+
header: {
|
|
68194
|
+
"tenant-id"?: string | undefined;
|
|
68195
|
+
};
|
|
68196
|
+
};
|
|
68197
|
+
output: {
|
|
68198
|
+
versions: {
|
|
68199
|
+
number: number;
|
|
68200
|
+
created_at: string;
|
|
68201
|
+
updated_at: string;
|
|
68202
|
+
code: string;
|
|
68203
|
+
id: string;
|
|
68204
|
+
tenant_id: string;
|
|
68205
|
+
action_id: string;
|
|
68206
|
+
deployed: boolean;
|
|
68207
|
+
supported_triggers?: {
|
|
68208
|
+
id: string;
|
|
68209
|
+
version?: string | undefined | undefined;
|
|
68210
|
+
}[] | undefined;
|
|
68211
|
+
runtime?: string | undefined | undefined;
|
|
68212
|
+
dependencies?: {
|
|
68213
|
+
version: string;
|
|
68214
|
+
name: string;
|
|
68215
|
+
}[] | undefined;
|
|
68216
|
+
secrets?: {
|
|
68217
|
+
name: string;
|
|
68218
|
+
value?: string | undefined | undefined;
|
|
68219
|
+
}[] | undefined;
|
|
68220
|
+
}[];
|
|
68221
|
+
} | {
|
|
68222
|
+
length: number;
|
|
68223
|
+
start: number;
|
|
68224
|
+
limit: number;
|
|
68225
|
+
versions: {
|
|
68226
|
+
number: number;
|
|
68227
|
+
created_at: string;
|
|
68228
|
+
updated_at: string;
|
|
68229
|
+
code: string;
|
|
68230
|
+
id: string;
|
|
68231
|
+
tenant_id: string;
|
|
68232
|
+
action_id: string;
|
|
68233
|
+
deployed: boolean;
|
|
68234
|
+
supported_triggers?: {
|
|
68235
|
+
id: string;
|
|
68236
|
+
version?: string | undefined | undefined;
|
|
68237
|
+
}[] | undefined;
|
|
68238
|
+
runtime?: string | undefined | undefined;
|
|
68239
|
+
dependencies?: {
|
|
68240
|
+
version: string;
|
|
68241
|
+
name: string;
|
|
68242
|
+
}[] | undefined;
|
|
68243
|
+
secrets?: {
|
|
68244
|
+
name: string;
|
|
68245
|
+
value?: string | undefined | undefined;
|
|
68246
|
+
}[] | undefined;
|
|
68247
|
+
}[];
|
|
68248
|
+
total?: number | undefined;
|
|
68249
|
+
};
|
|
68250
|
+
outputFormat: "json";
|
|
68251
|
+
status: 200;
|
|
68252
|
+
};
|
|
68253
|
+
};
|
|
68254
|
+
} & {
|
|
68255
|
+
"/:actionId/versions/:id": {
|
|
68256
|
+
$get: {
|
|
68257
|
+
input: {
|
|
68258
|
+
param: {
|
|
68259
|
+
id: string;
|
|
68260
|
+
actionId: string;
|
|
68261
|
+
};
|
|
68262
|
+
} & {
|
|
68263
|
+
header: {
|
|
68264
|
+
"tenant-id"?: string | undefined;
|
|
68265
|
+
};
|
|
68266
|
+
};
|
|
68267
|
+
output: {};
|
|
68268
|
+
outputFormat: string;
|
|
68269
|
+
status: 404;
|
|
68270
|
+
} | {
|
|
68271
|
+
input: {
|
|
68272
|
+
param: {
|
|
68273
|
+
id: string;
|
|
68274
|
+
actionId: string;
|
|
68275
|
+
};
|
|
68276
|
+
} & {
|
|
68277
|
+
header: {
|
|
68278
|
+
"tenant-id"?: string | undefined;
|
|
68279
|
+
};
|
|
68280
|
+
};
|
|
68281
|
+
output: {
|
|
68282
|
+
number: number;
|
|
68283
|
+
created_at: string;
|
|
68284
|
+
updated_at: string;
|
|
68285
|
+
code: string;
|
|
68286
|
+
id: string;
|
|
68287
|
+
tenant_id: string;
|
|
68288
|
+
action_id: string;
|
|
68289
|
+
deployed: boolean;
|
|
68290
|
+
supported_triggers?: {
|
|
68291
|
+
id: string;
|
|
68292
|
+
version?: string | undefined | undefined;
|
|
68293
|
+
}[] | undefined;
|
|
68294
|
+
runtime?: string | undefined | undefined;
|
|
68295
|
+
dependencies?: {
|
|
68296
|
+
version: string;
|
|
68297
|
+
name: string;
|
|
68298
|
+
}[] | undefined;
|
|
68299
|
+
secrets?: {
|
|
68300
|
+
name: string;
|
|
68301
|
+
value?: string | undefined | undefined;
|
|
68302
|
+
}[] | undefined;
|
|
68303
|
+
};
|
|
68304
|
+
outputFormat: "json";
|
|
68305
|
+
status: 200;
|
|
68306
|
+
};
|
|
68307
|
+
};
|
|
68308
|
+
} & {
|
|
68309
|
+
"/:actionId/versions/:id/deploy": {
|
|
68310
|
+
$post: {
|
|
68311
|
+
input: {
|
|
68312
|
+
param: {
|
|
68313
|
+
id: string;
|
|
68314
|
+
actionId: string;
|
|
68315
|
+
};
|
|
68316
|
+
} & {
|
|
68317
|
+
header: {
|
|
68318
|
+
"tenant-id"?: string | undefined;
|
|
68319
|
+
};
|
|
68320
|
+
};
|
|
68321
|
+
output: {};
|
|
68322
|
+
outputFormat: string;
|
|
68323
|
+
status: 404;
|
|
68324
|
+
} | {
|
|
68325
|
+
input: {
|
|
68326
|
+
param: {
|
|
68327
|
+
id: string;
|
|
68328
|
+
actionId: string;
|
|
68329
|
+
};
|
|
68330
|
+
} & {
|
|
68331
|
+
header: {
|
|
68332
|
+
"tenant-id"?: string | undefined;
|
|
68333
|
+
};
|
|
68334
|
+
};
|
|
68335
|
+
output: {
|
|
68336
|
+
created_at: string;
|
|
68337
|
+
updated_at: string;
|
|
68338
|
+
code: string;
|
|
68339
|
+
status: "draft" | "built";
|
|
68340
|
+
id: string;
|
|
68341
|
+
name: string;
|
|
68342
|
+
tenant_id: string;
|
|
68343
|
+
supported_triggers?: {
|
|
68344
|
+
id: string;
|
|
68345
|
+
version?: string | undefined | undefined;
|
|
68346
|
+
}[] | undefined;
|
|
68347
|
+
runtime?: string | undefined | undefined;
|
|
68348
|
+
dependencies?: {
|
|
68349
|
+
version: string;
|
|
68350
|
+
name: string;
|
|
68351
|
+
}[] | undefined;
|
|
68352
|
+
secrets?: {
|
|
68353
|
+
name: string;
|
|
68354
|
+
value?: string | undefined | undefined;
|
|
68355
|
+
}[] | undefined;
|
|
68356
|
+
deployed_at?: string | undefined | undefined;
|
|
68357
|
+
};
|
|
68358
|
+
outputFormat: "json";
|
|
68359
|
+
status: 200;
|
|
68360
|
+
};
|
|
68361
|
+
};
|
|
67945
68362
|
}, "/actions/actions">, "/">;
|
|
67946
68363
|
oauthApp: OpenAPIHono<{
|
|
67947
68364
|
Bindings: Bindings;
|
|
@@ -68175,8 +68592,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68175
68592
|
$get: {
|
|
68176
68593
|
input: {
|
|
68177
68594
|
query: {
|
|
68178
|
-
domain: string;
|
|
68179
68595
|
state: string;
|
|
68596
|
+
domain: string;
|
|
68180
68597
|
return_to: string;
|
|
68181
68598
|
scope?: string | undefined;
|
|
68182
68599
|
audience?: string | undefined;
|
|
@@ -68189,8 +68606,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68189
68606
|
} | {
|
|
68190
68607
|
input: {
|
|
68191
68608
|
query: {
|
|
68192
|
-
domain: string;
|
|
68193
68609
|
state: string;
|
|
68610
|
+
domain: string;
|
|
68194
68611
|
return_to: string;
|
|
68195
68612
|
scope?: string | undefined;
|
|
68196
68613
|
audience?: string | undefined;
|
|
@@ -68203,8 +68620,8 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
68203
68620
|
} | {
|
|
68204
68621
|
input: {
|
|
68205
68622
|
query: {
|
|
68206
|
-
domain: string;
|
|
68207
68623
|
state: string;
|
|
68624
|
+
domain: string;
|
|
68208
68625
|
return_to: string;
|
|
68209
68626
|
scope?: string | undefined;
|
|
68210
68627
|
audience?: string | undefined;
|