@authhero/adapter-interfaces 0.126.0 → 0.127.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapter-interfaces.cjs +1 -1
- package/dist/adapter-interfaces.d.ts +22 -1074
- package/dist/adapter-interfaces.mjs +498 -503
- package/package.json +1 -1
|
@@ -2,13 +2,13 @@ import { z as e } from "@hono/zod-openapi";
|
|
|
2
2
|
const r = e.object({
|
|
3
3
|
created_at: e.string(),
|
|
4
4
|
updated_at: e.string()
|
|
5
|
-
}),
|
|
5
|
+
}), Zt = e.enum(["AUTH0", "EMAIL", "REDIRECT"]), $t = e.enum([
|
|
6
6
|
"CREATE_USER",
|
|
7
7
|
"GET_USER",
|
|
8
8
|
"UPDATE_USER",
|
|
9
9
|
"SEND_REQUEST",
|
|
10
10
|
"SEND_EMAIL"
|
|
11
|
-
]),
|
|
11
|
+
]), eo = e.enum(["VERIFY_EMAIL"]), P = e.object({
|
|
12
12
|
require_mx_record: e.boolean().optional(),
|
|
13
13
|
block_aliases: e.boolean().optional(),
|
|
14
14
|
block_free_emails: e.boolean().optional(),
|
|
@@ -65,13 +65,13 @@ const r = e.object({
|
|
|
65
65
|
actions: e.array(K).optional().default([]).openapi({
|
|
66
66
|
description: "The list of actions to execute in sequence"
|
|
67
67
|
})
|
|
68
|
-
}),
|
|
68
|
+
}), to = W.extend({
|
|
69
69
|
...r.shape,
|
|
70
70
|
id: e.string().openapi({
|
|
71
71
|
description: "Unique identifier for the flow",
|
|
72
72
|
example: "af_12tMpdJ3iek7svMyZkSh5M"
|
|
73
73
|
})
|
|
74
|
-
}),
|
|
74
|
+
}), oo = e.object({
|
|
75
75
|
page: e.string().min(0).optional().default("0").transform((t) => parseInt(t, 10)).openapi({
|
|
76
76
|
description: "The page number where 0 is the first page"
|
|
77
77
|
}),
|
|
@@ -87,7 +87,7 @@ const r = e.object({
|
|
|
87
87
|
q: e.string().optional().openapi({
|
|
88
88
|
description: "A lucene query string used to filter the results"
|
|
89
89
|
})
|
|
90
|
-
}),
|
|
90
|
+
}), no = e.object({
|
|
91
91
|
start: e.number(),
|
|
92
92
|
limit: e.number(),
|
|
93
93
|
length: e.number(),
|
|
@@ -172,7 +172,7 @@ const r = e.object({
|
|
|
172
172
|
email: e.string().optional(),
|
|
173
173
|
login_count: e.number().default(0),
|
|
174
174
|
identities: e.array(X).optional()
|
|
175
|
-
}),
|
|
175
|
+
}), io = Y, ao = I.extend({
|
|
176
176
|
login_count: e.number(),
|
|
177
177
|
multifactor: e.array(e.string()).optional(),
|
|
178
178
|
last_ip: e.string().optional(),
|
|
@@ -358,11 +358,11 @@ const Z = e.object({
|
|
|
358
358
|
description: "Specifies how long, in seconds, a Pushed Authorization Request URI remains valid"
|
|
359
359
|
}),
|
|
360
360
|
token_quota: e.record(e.any()).default({}).optional()
|
|
361
|
-
}),
|
|
361
|
+
}), ro = e.object({
|
|
362
362
|
created_at: e.string(),
|
|
363
363
|
updated_at: e.string(),
|
|
364
364
|
...Z.shape
|
|
365
|
-
}),
|
|
365
|
+
}), $ = e.object({
|
|
366
366
|
client_id: e.string().min(1).openapi({
|
|
367
367
|
description: "ID of the client."
|
|
368
368
|
}),
|
|
@@ -387,14 +387,14 @@ const Z = e.object({
|
|
|
387
387
|
authorization_details_types: e.array(e.string()).optional().openapi({
|
|
388
388
|
description: "Types of authorization_details allowed for this client grant. Use of this field is subject to the applicable Free Trial terms in Okta's Master Subscription Agreement."
|
|
389
389
|
})
|
|
390
|
-
}),
|
|
390
|
+
}), ee = e.object({
|
|
391
391
|
id: e.string().openapi({
|
|
392
392
|
description: "ID of the client grant."
|
|
393
393
|
}),
|
|
394
|
-
|
|
394
|
+
...$.shape,
|
|
395
395
|
created_at: e.string().optional(),
|
|
396
396
|
updated_at: e.string().optional()
|
|
397
|
-
}),
|
|
397
|
+
}), so = e.array(ee), c = e.object({
|
|
398
398
|
x: e.number(),
|
|
399
399
|
y: e.number()
|
|
400
400
|
});
|
|
@@ -403,7 +403,7 @@ const u = e.object({
|
|
|
403
403
|
id: e.string(),
|
|
404
404
|
category: e.nativeEnum(y),
|
|
405
405
|
type: e.nativeEnum(C)
|
|
406
|
-
}),
|
|
406
|
+
}), te = u.extend({
|
|
407
407
|
category: e.literal(
|
|
408
408
|
"BLOCK"
|
|
409
409
|
/* BLOCK */
|
|
@@ -415,7 +415,7 @@ const u = e.object({
|
|
|
415
415
|
config: e.object({
|
|
416
416
|
content: e.string()
|
|
417
417
|
}).passthrough()
|
|
418
|
-
}),
|
|
418
|
+
}), oe = u.extend({
|
|
419
419
|
category: e.literal(
|
|
420
420
|
"BLOCK"
|
|
421
421
|
/* BLOCK */
|
|
@@ -437,7 +437,7 @@ const u = e.object({
|
|
|
437
437
|
config: e.object({
|
|
438
438
|
text: e.string()
|
|
439
439
|
}).passthrough()
|
|
440
|
-
}),
|
|
440
|
+
}), ne = u.extend({
|
|
441
441
|
category: e.literal(
|
|
442
442
|
"FIELD"
|
|
443
443
|
/* FIELD */
|
|
@@ -451,7 +451,7 @@ const u = e.object({
|
|
|
451
451
|
config: e.object({
|
|
452
452
|
text: e.string()
|
|
453
453
|
}).passthrough()
|
|
454
|
-
}),
|
|
454
|
+
}), ie = u.extend({
|
|
455
455
|
category: e.literal(
|
|
456
456
|
"FIELD"
|
|
457
457
|
/* FIELD */
|
|
@@ -504,19 +504,19 @@ const u = e.object({
|
|
|
504
504
|
label: e.string().optional(),
|
|
505
505
|
placeholder: e.string().optional()
|
|
506
506
|
}).passthrough()
|
|
507
|
-
}),
|
|
507
|
+
}), ae = e.object({
|
|
508
508
|
id: e.string(),
|
|
509
509
|
category: e.string(),
|
|
510
510
|
type: e.string()
|
|
511
|
-
}).passthrough(),
|
|
511
|
+
}).passthrough(), re = e.union([
|
|
512
|
+
te,
|
|
512
513
|
oe,
|
|
513
514
|
ne,
|
|
514
515
|
ie,
|
|
515
|
-
ae
|
|
516
|
-
re
|
|
516
|
+
ae
|
|
517
517
|
]);
|
|
518
|
-
var
|
|
519
|
-
const
|
|
518
|
+
var se = /* @__PURE__ */ ((t) => (t.STEP = "STEP", t.FLOW = "FLOW", t.CONDITION = "CONDITION", t.ACTION = "ACTION", t))(se || {});
|
|
519
|
+
const le = e.object({
|
|
520
520
|
id: e.string(),
|
|
521
521
|
type: e.literal(
|
|
522
522
|
"STEP"
|
|
@@ -525,10 +525,10 @@ const ce = e.object({
|
|
|
525
525
|
coordinates: c,
|
|
526
526
|
alias: e.string().optional(),
|
|
527
527
|
config: e.object({
|
|
528
|
-
components: e.array(
|
|
528
|
+
components: e.array(re),
|
|
529
529
|
next_node: e.string()
|
|
530
530
|
}).passthrough()
|
|
531
|
-
}),
|
|
531
|
+
}), ce = e.object({
|
|
532
532
|
id: e.string(),
|
|
533
533
|
type: e.literal(
|
|
534
534
|
"FLOW"
|
|
@@ -540,7 +540,7 @@ const ce = e.object({
|
|
|
540
540
|
flow_id: e.string(),
|
|
541
541
|
next_node: e.string()
|
|
542
542
|
})
|
|
543
|
-
}),
|
|
543
|
+
}), pe = e.object({
|
|
544
544
|
id: e.string(),
|
|
545
545
|
type: e.literal(
|
|
546
546
|
"ACTION"
|
|
@@ -562,43 +562,43 @@ const ce = e.object({
|
|
|
562
562
|
description: "The next node to navigate to after action (for non-redirect actions)"
|
|
563
563
|
})
|
|
564
564
|
}).passthrough()
|
|
565
|
-
}),
|
|
565
|
+
}), _e = e.object({
|
|
566
566
|
id: e.string(),
|
|
567
567
|
type: e.string(),
|
|
568
568
|
coordinates: c
|
|
569
|
-
}).passthrough(),
|
|
569
|
+
}).passthrough(), de = e.union([
|
|
570
|
+
le,
|
|
570
571
|
ce,
|
|
571
572
|
pe,
|
|
572
|
-
_e
|
|
573
|
-
|
|
574
|
-
]), ue = e.object({
|
|
573
|
+
_e
|
|
574
|
+
]), ge = e.object({
|
|
575
575
|
next_node: e.string(),
|
|
576
576
|
coordinates: c
|
|
577
|
-
}).passthrough(),
|
|
577
|
+
}).passthrough(), ue = e.object({
|
|
578
578
|
resume_flow: e.boolean().optional(),
|
|
579
579
|
coordinates: c
|
|
580
|
-
}).passthrough(),
|
|
580
|
+
}).passthrough(), me = e.object({
|
|
581
581
|
id: e.string(),
|
|
582
582
|
name: e.string(),
|
|
583
583
|
languages: e.object({
|
|
584
584
|
primary: e.string()
|
|
585
585
|
}).passthrough(),
|
|
586
|
-
nodes: e.array(
|
|
587
|
-
start:
|
|
588
|
-
ending:
|
|
586
|
+
nodes: e.array(de),
|
|
587
|
+
start: ge,
|
|
588
|
+
ending: ue,
|
|
589
589
|
created_at: e.string(),
|
|
590
590
|
updated_at: e.string(),
|
|
591
591
|
links: e.object({
|
|
592
592
|
sdkSrc: e.string().optional(),
|
|
593
593
|
sdk_src: e.string().optional()
|
|
594
594
|
}).passthrough()
|
|
595
|
-
}).passthrough(),
|
|
595
|
+
}).passthrough(), lo = me.omit({
|
|
596
596
|
id: !0,
|
|
597
597
|
created_at: !0,
|
|
598
598
|
updated_at: !0
|
|
599
599
|
});
|
|
600
600
|
var O = /* @__PURE__ */ ((t) => (t.TOKEN = "token", t.ID_TOKEN = "id_token", t.TOKEN_ID_TOKEN = "token id_token", t.CODE = "code", t))(O || {}), T = /* @__PURE__ */ ((t) => (t.QUERY = "query", t.FRAGMENT = "fragment", t.FORM_POST = "form_post", t.WEB_MESSAGE = "web_message", t.SAML_POST = "saml_post", t))(T || {}), N = /* @__PURE__ */ ((t) => (t.S256 = "S256", t.Plain = "plain", t))(N || {});
|
|
601
|
-
const
|
|
601
|
+
const he = e.object({
|
|
602
602
|
client_id: e.string(),
|
|
603
603
|
act_as: e.string().optional(),
|
|
604
604
|
response_type: e.nativeEnum(O).optional(),
|
|
@@ -622,7 +622,7 @@ const be = e.object({
|
|
|
622
622
|
acr_values: e.string().optional(),
|
|
623
623
|
// The following fields are not available in Auth0
|
|
624
624
|
vendor_id: e.string().optional()
|
|
625
|
-
}),
|
|
625
|
+
}), co = e.object({
|
|
626
626
|
colors: e.object({
|
|
627
627
|
primary: e.string(),
|
|
628
628
|
page_background: e.object({
|
|
@@ -638,184 +638,14 @@ const be = e.object({
|
|
|
638
638
|
font: e.object({
|
|
639
639
|
url: e.string()
|
|
640
640
|
}).optional()
|
|
641
|
-
}),
|
|
642
|
-
kid: e.string().optional(),
|
|
643
|
-
team_id: e.string().optional(),
|
|
644
|
-
realms: e.string().optional(),
|
|
645
|
-
authentication_method: e.string().optional(),
|
|
646
|
-
client_id: e.string().optional(),
|
|
647
|
-
client_secret: e.string().optional(),
|
|
648
|
-
app_secret: e.string().optional(),
|
|
649
|
-
scope: e.string().optional(),
|
|
650
|
-
authorization_endpoint: e.string().optional(),
|
|
651
|
-
token_endpoint: e.string().optional(),
|
|
652
|
-
userinfo_endpoint: e.string().optional(),
|
|
653
|
-
jwks_uri: e.string().optional(),
|
|
654
|
-
discovery_url: e.string().optional(),
|
|
655
|
-
issuer: e.string().optional(),
|
|
656
|
-
provider: e.string().optional(),
|
|
657
|
-
from: e.string().optional(),
|
|
658
|
-
twilio_sid: e.string().optional(),
|
|
659
|
-
twilio_token: e.string().optional(),
|
|
660
|
-
icon_url: e.string().optional()
|
|
661
|
-
}), Ee = e.object({
|
|
662
|
-
id: e.string().optional(),
|
|
663
|
-
name: e.string(),
|
|
664
|
-
display_name: e.string().optional(),
|
|
665
|
-
strategy: e.string(),
|
|
666
|
-
options: fe.default({}),
|
|
667
|
-
enabled_clients: e.array(e.string()).default([]).optional(),
|
|
668
|
-
response_type: e.custom().optional(),
|
|
669
|
-
response_mode: e.custom().optional(),
|
|
670
|
-
is_domain_connection: e.boolean().optional(),
|
|
671
|
-
show_as_button: e.boolean().optional(),
|
|
672
|
-
metadata: e.record(e.any()).optional(),
|
|
673
|
-
is_system: e.boolean().optional()
|
|
674
|
-
}), Se = e.object({
|
|
675
|
-
id: e.string(),
|
|
676
|
-
created_at: e.string().transform((t) => t === null ? "" : t),
|
|
677
|
-
updated_at: e.string().transform((t) => t === null ? "" : t)
|
|
678
|
-
}).extend(Ee.shape), Ae = e.object({
|
|
679
|
-
id: e.string().optional(),
|
|
680
|
-
// Basic settings
|
|
681
|
-
audience: e.string(),
|
|
682
|
-
friendly_name: e.string(),
|
|
683
|
-
// Required - replaces the old 'name' field
|
|
684
|
-
picture_url: e.string().optional(),
|
|
685
|
-
support_email: e.string().optional(),
|
|
686
|
-
support_url: e.string().optional(),
|
|
687
|
-
sender_email: e.string().email(),
|
|
688
|
-
sender_name: e.string(),
|
|
689
|
-
// Tenant Settings fields (merged from TenantSettings)
|
|
690
|
-
// Session settings
|
|
691
|
-
session_lifetime: e.number().optional(),
|
|
692
|
-
idle_session_lifetime: e.number().optional(),
|
|
693
|
-
ephemeral_session_lifetime: e.number().optional(),
|
|
694
|
-
idle_ephemeral_session_lifetime: e.number().optional(),
|
|
695
|
-
session_cookie: e.object({
|
|
696
|
-
mode: e.enum(["persistent", "non-persistent"]).optional()
|
|
697
|
-
}).optional(),
|
|
698
|
-
// Logout settings
|
|
699
|
-
allowed_logout_urls: e.array(e.string()).optional(),
|
|
700
|
-
// Universal Login settings
|
|
701
|
-
default_redirection_uri: e.string().optional(),
|
|
702
|
-
// Advanced settings
|
|
703
|
-
enabled_locales: e.array(e.string()).optional(),
|
|
704
|
-
default_directory: e.string().optional(),
|
|
705
|
-
error_page: e.object({
|
|
706
|
-
html: e.string().optional(),
|
|
707
|
-
show_log_link: e.boolean().optional(),
|
|
708
|
-
url: e.string().optional()
|
|
709
|
-
}).optional(),
|
|
710
|
-
// Flags
|
|
711
|
-
flags: e.object({
|
|
712
|
-
allow_changing_enable_sso: e.boolean().optional(),
|
|
713
|
-
allow_legacy_delegation_grant_types: e.boolean().optional(),
|
|
714
|
-
allow_legacy_ro_grant_types: e.boolean().optional(),
|
|
715
|
-
allow_legacy_tokeninfo_endpoint: e.boolean().optional(),
|
|
716
|
-
change_pwd_flow_v1: e.boolean().optional(),
|
|
717
|
-
custom_domains_provisioning: e.boolean().optional(),
|
|
718
|
-
dashboard_insights_view: e.boolean().optional(),
|
|
719
|
-
dashboard_log_streams_next: e.boolean().optional(),
|
|
720
|
-
disable_clickjack_protection_headers: e.boolean().optional(),
|
|
721
|
-
disable_fields_map_fix: e.boolean().optional(),
|
|
722
|
-
disable_impersonation: e.boolean().optional(),
|
|
723
|
-
disable_management_api_sms_obfuscation: e.boolean().optional(),
|
|
724
|
-
enable_adfs_waad_email_verification: e.boolean().optional(),
|
|
725
|
-
enable_apis_section: e.boolean().optional(),
|
|
726
|
-
enable_client_connections: e.boolean().optional(),
|
|
727
|
-
enable_custom_domain_in_emails: e.boolean().optional(),
|
|
728
|
-
enable_dynamic_client_registration: e.boolean().optional(),
|
|
729
|
-
enable_idtoken_api2: e.boolean().optional(),
|
|
730
|
-
enable_legacy_logs_search_v2: e.boolean().optional(),
|
|
731
|
-
enable_legacy_profile: e.boolean().optional(),
|
|
732
|
-
enable_pipeline2: e.boolean().optional(),
|
|
733
|
-
enable_public_signup_user_exists_error: e.boolean().optional(),
|
|
734
|
-
enable_sso: e.boolean().optional(),
|
|
735
|
-
enforce_client_authentication_on_passwordless_start: e.boolean().optional(),
|
|
736
|
-
genai_trial: e.boolean().optional(),
|
|
737
|
-
improved_signup_bot_detection_in_classic: e.boolean().optional(),
|
|
738
|
-
mfa_show_factor_list_on_enrollment: e.boolean().optional(),
|
|
739
|
-
no_disclose_enterprise_connections: e.boolean().optional(),
|
|
740
|
-
remove_alg_from_jwks: e.boolean().optional(),
|
|
741
|
-
revoke_refresh_token_grant: e.boolean().optional(),
|
|
742
|
-
trust_azure_adfs_email_verified_connection_property: e.boolean().optional(),
|
|
743
|
-
use_scope_descriptions_for_consent: e.boolean().optional(),
|
|
744
|
-
// When enabled, tenant-level permissions will be inherited when users request
|
|
745
|
-
// organization-scoped tokens. This allows users with tenant-level roles to maintain
|
|
746
|
-
// their permissions when accessing resources in an organization context.
|
|
747
|
-
inherit_global_permissions_in_organizations: e.boolean().optional()
|
|
748
|
-
}).optional(),
|
|
749
|
-
// Sandbox settings
|
|
750
|
-
sandbox_version: e.string().optional(),
|
|
751
|
-
legacy_sandbox_version: e.string().optional(),
|
|
752
|
-
sandbox_versions_available: e.array(e.string()).optional(),
|
|
753
|
-
// Change password settings
|
|
754
|
-
change_password: e.object({
|
|
755
|
-
enabled: e.boolean().optional(),
|
|
756
|
-
html: e.string().optional()
|
|
757
|
-
}).optional(),
|
|
758
|
-
// Guardian MFA settings
|
|
759
|
-
guardian_mfa_page: e.object({
|
|
760
|
-
enabled: e.boolean().optional(),
|
|
761
|
-
html: e.string().optional()
|
|
762
|
-
}).optional(),
|
|
763
|
-
// Device flow settings
|
|
764
|
-
device_flow: e.object({
|
|
765
|
-
charset: e.enum(["base20", "digits"]).optional(),
|
|
766
|
-
mask: e.string().max(20).optional()
|
|
767
|
-
}).optional(),
|
|
768
|
-
// Default token quota
|
|
769
|
-
default_token_quota: e.object({
|
|
770
|
-
clients: e.object({
|
|
771
|
-
client_credentials: e.record(e.any()).optional()
|
|
772
|
-
}).optional(),
|
|
773
|
-
organizations: e.object({
|
|
774
|
-
client_credentials: e.record(e.any()).optional()
|
|
775
|
-
}).optional()
|
|
776
|
-
}).optional(),
|
|
777
|
-
// Default audience
|
|
778
|
-
default_audience: e.string().optional(),
|
|
779
|
-
// Default organization
|
|
780
|
-
default_organization: e.string().optional(),
|
|
781
|
-
// Session management
|
|
782
|
-
sessions: e.object({
|
|
783
|
-
oidc_logout_prompt_enabled: e.boolean().optional()
|
|
784
|
-
}).optional(),
|
|
785
|
-
// OIDC logout settings
|
|
786
|
-
oidc_logout: e.object({
|
|
787
|
-
rp_logout_end_session_endpoint_discovery: e.boolean().optional()
|
|
788
|
-
}).optional(),
|
|
789
|
-
// Organization settings
|
|
790
|
-
allow_organization_name_in_authentication_api: e.boolean().optional(),
|
|
791
|
-
// MFA settings
|
|
792
|
-
customize_mfa_in_postlogin_action: e.boolean().optional(),
|
|
793
|
-
// ACR values
|
|
794
|
-
acr_values_supported: e.array(e.string()).optional(),
|
|
795
|
-
// mTLS settings
|
|
796
|
-
mtls: e.object({
|
|
797
|
-
enable_endpoint_aliases: e.boolean().optional()
|
|
798
|
-
}).optional(),
|
|
799
|
-
// Authorization settings
|
|
800
|
-
pushed_authorization_requests_supported: e.boolean().optional(),
|
|
801
|
-
authorization_response_iss_parameter_supported: e.boolean().optional()
|
|
802
|
-
}), Ie = e.object({
|
|
803
|
-
created_at: e.string().nullable().transform((t) => t ?? ""),
|
|
804
|
-
updated_at: e.string().nullable().transform((t) => t ?? ""),
|
|
805
|
-
...Ae.shape,
|
|
806
|
-
id: e.string()
|
|
807
|
-
}), go = e.object({
|
|
808
|
-
...$.shape,
|
|
809
|
-
tenant: Ie,
|
|
810
|
-
connections: e.array(Se)
|
|
811
|
-
}), Ce = e.enum([
|
|
641
|
+
}), be = e.enum([
|
|
812
642
|
"password_reset",
|
|
813
643
|
"email_verification",
|
|
814
644
|
"otp",
|
|
815
645
|
"authorization_code",
|
|
816
646
|
"oauth2_state",
|
|
817
647
|
"ticket"
|
|
818
|
-
]),
|
|
648
|
+
]), fe = e.object({
|
|
819
649
|
code_id: e.string().openapi({
|
|
820
650
|
description: "The code that will be used in for instance an email verification flow"
|
|
821
651
|
}),
|
|
@@ -825,7 +655,7 @@ const be = e.object({
|
|
|
825
655
|
connection_id: e.string().optional().openapi({
|
|
826
656
|
description: "The connection that the code is connected to"
|
|
827
657
|
}),
|
|
828
|
-
code_type:
|
|
658
|
+
code_type: be,
|
|
829
659
|
code_verifier: e.string().optional().openapi({
|
|
830
660
|
description: "The code verifier used in PKCE in outbound flows"
|
|
831
661
|
}),
|
|
@@ -847,10 +677,47 @@ const be = e.object({
|
|
|
847
677
|
expires_at: e.string(),
|
|
848
678
|
used_at: e.string().optional(),
|
|
849
679
|
user_id: e.string().optional()
|
|
850
|
-
}),
|
|
851
|
-
...
|
|
680
|
+
}), po = e.object({
|
|
681
|
+
...fe.shape,
|
|
852
682
|
created_at: e.string()
|
|
853
|
-
}),
|
|
683
|
+
}), Ee = e.object({
|
|
684
|
+
kid: e.string().optional(),
|
|
685
|
+
team_id: e.string().optional(),
|
|
686
|
+
realms: e.string().optional(),
|
|
687
|
+
authentication_method: e.string().optional(),
|
|
688
|
+
client_id: e.string().optional(),
|
|
689
|
+
client_secret: e.string().optional(),
|
|
690
|
+
app_secret: e.string().optional(),
|
|
691
|
+
scope: e.string().optional(),
|
|
692
|
+
authorization_endpoint: e.string().optional(),
|
|
693
|
+
token_endpoint: e.string().optional(),
|
|
694
|
+
userinfo_endpoint: e.string().optional(),
|
|
695
|
+
jwks_uri: e.string().optional(),
|
|
696
|
+
discovery_url: e.string().optional(),
|
|
697
|
+
issuer: e.string().optional(),
|
|
698
|
+
provider: e.string().optional(),
|
|
699
|
+
from: e.string().optional(),
|
|
700
|
+
twilio_sid: e.string().optional(),
|
|
701
|
+
twilio_token: e.string().optional(),
|
|
702
|
+
icon_url: e.string().optional()
|
|
703
|
+
}), Se = e.object({
|
|
704
|
+
id: e.string().optional(),
|
|
705
|
+
name: e.string(),
|
|
706
|
+
display_name: e.string().optional(),
|
|
707
|
+
strategy: e.string(),
|
|
708
|
+
options: Ee.default({}),
|
|
709
|
+
enabled_clients: e.array(e.string()).default([]).optional(),
|
|
710
|
+
response_type: e.custom().optional(),
|
|
711
|
+
response_mode: e.custom().optional(),
|
|
712
|
+
is_domain_connection: e.boolean().optional(),
|
|
713
|
+
show_as_button: e.boolean().optional(),
|
|
714
|
+
metadata: e.record(e.any()).optional(),
|
|
715
|
+
is_system: e.boolean().optional()
|
|
716
|
+
}), _o = e.object({
|
|
717
|
+
id: e.string(),
|
|
718
|
+
created_at: e.string().transform((t) => t === null ? "" : t),
|
|
719
|
+
updated_at: e.string().transform((t) => t === null ? "" : t)
|
|
720
|
+
}).extend(Se.shape), Ae = e.object({
|
|
854
721
|
domain: e.string(),
|
|
855
722
|
custom_domain_id: e.string().optional(),
|
|
856
723
|
type: e.enum(["auth0_managed_certs", "self_managed_certs"]),
|
|
@@ -864,21 +731,21 @@ const be = e.object({
|
|
|
864
731
|
"null"
|
|
865
732
|
]).optional(),
|
|
866
733
|
domain_metadata: e.record(e.string().max(255)).optional()
|
|
867
|
-
}),
|
|
734
|
+
}), Ie = e.object({
|
|
868
735
|
name: e.literal("txt"),
|
|
869
736
|
record: e.string(),
|
|
870
737
|
domain: e.string()
|
|
871
|
-
}),
|
|
872
|
-
...
|
|
738
|
+
}), Ce = e.object({
|
|
739
|
+
...Ae.shape,
|
|
873
740
|
custom_domain_id: e.string(),
|
|
874
741
|
primary: e.boolean(),
|
|
875
742
|
status: e.enum(["disabled", "pending", "pending_verification", "ready"]),
|
|
876
743
|
origin_domain_name: e.string().optional(),
|
|
877
744
|
verification: e.object({
|
|
878
|
-
methods: e.array(
|
|
745
|
+
methods: e.array(Ie)
|
|
879
746
|
}).optional(),
|
|
880
747
|
tls_policy: e.string().optional()
|
|
881
|
-
}),
|
|
748
|
+
}), go = Ce.extend({
|
|
882
749
|
tenant_id: e.string()
|
|
883
750
|
}), f = e.object({
|
|
884
751
|
id: e.string(),
|
|
@@ -886,15 +753,15 @@ const be = e.object({
|
|
|
886
753
|
visible: e.boolean().optional().default(!0)
|
|
887
754
|
}), i = f.extend({
|
|
888
755
|
category: e.literal("BLOCK").optional()
|
|
889
|
-
}),
|
|
756
|
+
}), ye = i.extend({
|
|
890
757
|
type: e.literal("DIVIDER"),
|
|
891
758
|
config: e.object({}).optional()
|
|
892
|
-
}),
|
|
759
|
+
}), Oe = i.extend({
|
|
893
760
|
type: e.literal("HTML"),
|
|
894
761
|
config: e.object({
|
|
895
762
|
content: e.string().optional()
|
|
896
763
|
}).optional()
|
|
897
|
-
}),
|
|
764
|
+
}), Te = i.extend({
|
|
898
765
|
type: e.literal("IMAGE"),
|
|
899
766
|
config: e.object({
|
|
900
767
|
src: e.string().optional(),
|
|
@@ -902,29 +769,29 @@ const be = e.object({
|
|
|
902
769
|
width: e.number().optional(),
|
|
903
770
|
height: e.number().optional()
|
|
904
771
|
}).optional()
|
|
905
|
-
}),
|
|
772
|
+
}), Ne = i.extend({
|
|
906
773
|
type: e.literal("JUMP_BUTTON"),
|
|
907
774
|
config: e.object({
|
|
908
775
|
text: e.string().optional(),
|
|
909
776
|
target_step: e.string().optional()
|
|
910
777
|
})
|
|
911
|
-
}),
|
|
778
|
+
}), Re = i.extend({
|
|
912
779
|
type: e.literal("RESEND_BUTTON"),
|
|
913
780
|
config: e.object({
|
|
914
781
|
text: e.string().optional(),
|
|
915
782
|
resend_action: e.string().optional()
|
|
916
783
|
})
|
|
917
|
-
}),
|
|
784
|
+
}), De = i.extend({
|
|
918
785
|
type: e.literal("NEXT_BUTTON"),
|
|
919
786
|
config: e.object({
|
|
920
787
|
text: e.string().optional()
|
|
921
788
|
})
|
|
922
|
-
}),
|
|
789
|
+
}), Le = i.extend({
|
|
923
790
|
type: e.literal("PREVIOUS_BUTTON"),
|
|
924
791
|
config: e.object({
|
|
925
792
|
text: e.string().optional()
|
|
926
793
|
})
|
|
927
|
-
}),
|
|
794
|
+
}), we = i.extend({
|
|
928
795
|
type: e.literal("RICH_TEXT"),
|
|
929
796
|
config: e.object({
|
|
930
797
|
content: e.string().optional()
|
|
@@ -935,17 +802,17 @@ const be = e.object({
|
|
|
935
802
|
hint: e.string().min(1).max(500).optional(),
|
|
936
803
|
required: e.boolean().optional(),
|
|
937
804
|
sensitive: e.boolean().optional()
|
|
938
|
-
}),
|
|
805
|
+
}), je = E.extend({
|
|
939
806
|
type: e.literal("AUTH0_VERIFIABLE_CREDENTIALS"),
|
|
940
807
|
config: e.object({
|
|
941
808
|
credential_type: e.string().optional()
|
|
942
809
|
})
|
|
943
|
-
}),
|
|
810
|
+
}), Ue = E.extend({
|
|
944
811
|
type: e.literal("GMAPS_ADDRESS"),
|
|
945
812
|
config: e.object({
|
|
946
813
|
api_key: e.string().optional()
|
|
947
814
|
})
|
|
948
|
-
}),
|
|
815
|
+
}), Fe = E.extend({
|
|
949
816
|
type: e.literal("RECAPTCHA"),
|
|
950
817
|
config: e.object({
|
|
951
818
|
site_key: e.string().optional()
|
|
@@ -956,12 +823,12 @@ const be = e.object({
|
|
|
956
823
|
hint: e.string().min(1).max(500).optional(),
|
|
957
824
|
required: e.boolean().optional(),
|
|
958
825
|
sensitive: e.boolean().optional()
|
|
959
|
-
}),
|
|
826
|
+
}), ke = o.extend({
|
|
960
827
|
type: e.literal("BOOLEAN"),
|
|
961
828
|
config: e.object({
|
|
962
829
|
default_value: e.boolean().optional()
|
|
963
830
|
}).optional()
|
|
964
|
-
}),
|
|
831
|
+
}), ve = o.extend({
|
|
965
832
|
type: e.literal("CARDS"),
|
|
966
833
|
config: e.object({
|
|
967
834
|
options: e.array(
|
|
@@ -974,7 +841,7 @@ const be = e.object({
|
|
|
974
841
|
).optional(),
|
|
975
842
|
multi_select: e.boolean().optional()
|
|
976
843
|
}).optional()
|
|
977
|
-
}),
|
|
844
|
+
}), xe = o.extend({
|
|
978
845
|
type: e.literal("CHOICE"),
|
|
979
846
|
config: e.object({
|
|
980
847
|
options: e.array(
|
|
@@ -985,20 +852,20 @@ const be = e.object({
|
|
|
985
852
|
).optional(),
|
|
986
853
|
display: e.enum(["radio", "checkbox"]).optional()
|
|
987
854
|
}).optional()
|
|
988
|
-
}),
|
|
855
|
+
}), Pe = o.extend({
|
|
989
856
|
type: e.literal("CUSTOM"),
|
|
990
857
|
config: e.object({
|
|
991
858
|
component: e.string().optional(),
|
|
992
859
|
props: e.record(e.any()).optional()
|
|
993
860
|
})
|
|
994
|
-
}),
|
|
861
|
+
}), Me = o.extend({
|
|
995
862
|
type: e.literal("DATE"),
|
|
996
863
|
config: e.object({
|
|
997
864
|
format: e.string().optional(),
|
|
998
865
|
min: e.string().optional(),
|
|
999
866
|
max: e.string().optional()
|
|
1000
867
|
}).optional()
|
|
1001
|
-
}),
|
|
868
|
+
}), He = o.extend({
|
|
1002
869
|
type: e.literal("DROPDOWN"),
|
|
1003
870
|
config: e.object({
|
|
1004
871
|
options: e.array(
|
|
@@ -1010,25 +877,25 @@ const be = e.object({
|
|
|
1010
877
|
placeholder: e.string().optional(),
|
|
1011
878
|
searchable: e.boolean().optional()
|
|
1012
879
|
}).optional()
|
|
1013
|
-
}),
|
|
880
|
+
}), Ge = o.extend({
|
|
1014
881
|
type: e.literal("EMAIL"),
|
|
1015
882
|
config: e.object({
|
|
1016
883
|
placeholder: e.string().optional()
|
|
1017
884
|
}).optional()
|
|
1018
|
-
}),
|
|
885
|
+
}), Be = o.extend({
|
|
1019
886
|
type: e.literal("FILE"),
|
|
1020
887
|
config: e.object({
|
|
1021
888
|
accept: e.string().optional(),
|
|
1022
889
|
max_size: e.number().optional(),
|
|
1023
890
|
multiple: e.boolean().optional()
|
|
1024
891
|
}).optional()
|
|
1025
|
-
}),
|
|
892
|
+
}), Ke = o.extend({
|
|
1026
893
|
type: e.literal("LEGAL"),
|
|
1027
894
|
config: e.object({
|
|
1028
895
|
text: e.string(),
|
|
1029
896
|
html: e.boolean().optional()
|
|
1030
897
|
}).optional()
|
|
1031
|
-
}),
|
|
898
|
+
}), We = o.extend({
|
|
1032
899
|
type: e.literal("NUMBER"),
|
|
1033
900
|
config: e.object({
|
|
1034
901
|
placeholder: e.string().optional(),
|
|
@@ -1036,7 +903,7 @@ const be = e.object({
|
|
|
1036
903
|
max: e.number().optional(),
|
|
1037
904
|
step: e.number().optional()
|
|
1038
905
|
}).optional()
|
|
1039
|
-
}),
|
|
906
|
+
}), ze = o.extend({
|
|
1040
907
|
type: e.literal("PASSWORD"),
|
|
1041
908
|
config: e.object({
|
|
1042
909
|
placeholder: e.string().optional(),
|
|
@@ -1044,49 +911,53 @@ const be = e.object({
|
|
|
1044
911
|
show_toggle: e.boolean().optional(),
|
|
1045
912
|
forgot_password_link: e.string().optional()
|
|
1046
913
|
}).optional()
|
|
1047
|
-
}),
|
|
914
|
+
}), Xe = o.extend({
|
|
1048
915
|
type: e.literal("PAYMENT"),
|
|
1049
916
|
config: e.object({
|
|
1050
917
|
provider: e.string().optional(),
|
|
1051
918
|
currency: e.string().optional()
|
|
1052
919
|
}).optional()
|
|
1053
|
-
}),
|
|
920
|
+
}), Ve = o.extend({
|
|
1054
921
|
type: e.literal("SOCIAL"),
|
|
1055
922
|
config: e.object({
|
|
1056
923
|
providers: e.array(e.string()).optional()
|
|
1057
924
|
}).optional()
|
|
1058
|
-
}),
|
|
925
|
+
}), qe = o.extend({
|
|
1059
926
|
type: e.literal("TEL"),
|
|
1060
927
|
config: e.object({
|
|
1061
928
|
placeholder: e.string().optional(),
|
|
1062
929
|
default_country: e.string().optional()
|
|
1063
930
|
}).optional()
|
|
1064
|
-
}),
|
|
931
|
+
}), Ye = o.extend({
|
|
1065
932
|
type: e.literal("TEXT"),
|
|
1066
933
|
config: e.object({
|
|
1067
934
|
placeholder: e.string().optional(),
|
|
1068
935
|
multiline: e.boolean().optional(),
|
|
1069
936
|
max_length: e.number().optional()
|
|
1070
937
|
}).optional()
|
|
1071
|
-
}),
|
|
938
|
+
}), Qe = o.extend({
|
|
1072
939
|
type: e.literal("URL"),
|
|
1073
940
|
config: e.object({
|
|
1074
941
|
placeholder: e.string().optional()
|
|
1075
942
|
}).optional()
|
|
1076
|
-
}),
|
|
943
|
+
}), Je = e.discriminatedUnion("type", [
|
|
944
|
+
ye,
|
|
945
|
+
Oe,
|
|
946
|
+
Te,
|
|
947
|
+
Ne,
|
|
1077
948
|
Re,
|
|
1078
949
|
De,
|
|
1079
950
|
Le,
|
|
1080
|
-
we
|
|
951
|
+
we
|
|
952
|
+
]), Ze = e.discriminatedUnion("type", [
|
|
1081
953
|
je,
|
|
1082
954
|
Ue,
|
|
1083
|
-
Fe
|
|
1084
|
-
|
|
1085
|
-
|
|
955
|
+
Fe
|
|
956
|
+
]), $e = e.discriminatedUnion("type", [
|
|
957
|
+
ke,
|
|
1086
958
|
ve,
|
|
1087
959
|
xe,
|
|
1088
|
-
Pe
|
|
1089
|
-
]), nt = e.discriminatedUnion("type", [
|
|
960
|
+
Pe,
|
|
1090
961
|
Me,
|
|
1091
962
|
He,
|
|
1092
963
|
Ge,
|
|
@@ -1098,16 +969,12 @@ const be = e.object({
|
|
|
1098
969
|
Ve,
|
|
1099
970
|
qe,
|
|
1100
971
|
Ye,
|
|
1101
|
-
Qe
|
|
972
|
+
Qe
|
|
973
|
+
]), R = e.union([
|
|
1102
974
|
Je,
|
|
1103
975
|
Ze,
|
|
1104
|
-
$e
|
|
1105
|
-
|
|
1106
|
-
]), R = e.union([
|
|
1107
|
-
tt,
|
|
1108
|
-
ot,
|
|
1109
|
-
nt
|
|
1110
|
-
]), ho = e.object({
|
|
976
|
+
$e
|
|
977
|
+
]), uo = e.object({
|
|
1111
978
|
id: e.string(),
|
|
1112
979
|
type: e.literal("submit"),
|
|
1113
980
|
label: e.string(),
|
|
@@ -1119,7 +986,7 @@ const be = e.object({
|
|
|
1119
986
|
}), _ = e.object({
|
|
1120
987
|
x: e.number(),
|
|
1121
988
|
y: e.number()
|
|
1122
|
-
}),
|
|
989
|
+
}), et = e.object({
|
|
1123
990
|
id: e.string(),
|
|
1124
991
|
type: e.literal("FLOW"),
|
|
1125
992
|
coordinates: _,
|
|
@@ -1128,7 +995,7 @@ const be = e.object({
|
|
|
1128
995
|
flow_id: e.string().max(30),
|
|
1129
996
|
next_node: e.string().optional()
|
|
1130
997
|
})
|
|
1131
|
-
}),
|
|
998
|
+
}), tt = e.object({
|
|
1132
999
|
id: e.string(),
|
|
1133
1000
|
type: e.literal("ROUTER"),
|
|
1134
1001
|
coordinates: _,
|
|
@@ -1144,7 +1011,7 @@ const be = e.object({
|
|
|
1144
1011
|
),
|
|
1145
1012
|
fallback: e.string()
|
|
1146
1013
|
})
|
|
1147
|
-
}),
|
|
1014
|
+
}), ot = e.object({
|
|
1148
1015
|
id: e.string(),
|
|
1149
1016
|
type: e.literal("STEP"),
|
|
1150
1017
|
coordinates: _,
|
|
@@ -1153,11 +1020,11 @@ const be = e.object({
|
|
|
1153
1020
|
components: e.array(R),
|
|
1154
1021
|
next_node: e.string().optional()
|
|
1155
1022
|
})
|
|
1156
|
-
}),
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
]),
|
|
1023
|
+
}), nt = e.discriminatedUnion("type", [
|
|
1024
|
+
et,
|
|
1025
|
+
tt,
|
|
1026
|
+
ot
|
|
1027
|
+
]), it = e.object({
|
|
1161
1028
|
name: e.string().openapi({
|
|
1162
1029
|
description: "The name of the form"
|
|
1163
1030
|
}),
|
|
@@ -1170,7 +1037,7 @@ const be = e.object({
|
|
|
1170
1037
|
default: e.string().optional()
|
|
1171
1038
|
}).optional(),
|
|
1172
1039
|
translations: e.record(e.string(), e.any()).optional(),
|
|
1173
|
-
nodes: e.array(
|
|
1040
|
+
nodes: e.array(nt).optional(),
|
|
1174
1041
|
start: e.object({
|
|
1175
1042
|
hidden_fields: e.array(e.object({ key: e.string(), value: e.string() })).optional(),
|
|
1176
1043
|
next_node: e.string().optional(),
|
|
@@ -1188,35 +1055,35 @@ const be = e.object({
|
|
|
1188
1055
|
style: e.object({ css: e.string().optional() }).optional()
|
|
1189
1056
|
}).openapi({
|
|
1190
1057
|
description: "Schema for flow-based forms (matches Auth0 Forms structure)"
|
|
1191
|
-
}),
|
|
1058
|
+
}), mo = e.object({
|
|
1192
1059
|
...r.shape,
|
|
1193
|
-
...
|
|
1060
|
+
...it.shape,
|
|
1194
1061
|
id: e.string()
|
|
1195
|
-
}),
|
|
1062
|
+
}), at = e.object({
|
|
1196
1063
|
id: e.number().optional(),
|
|
1197
1064
|
text: e.string(),
|
|
1198
1065
|
type: e.enum(["info", "error", "success", "warning"])
|
|
1199
|
-
}),
|
|
1066
|
+
}), rt = e.object({
|
|
1200
1067
|
id: e.string().optional(),
|
|
1201
1068
|
text: e.string(),
|
|
1202
1069
|
href: e.string(),
|
|
1203
1070
|
linkText: e.string().optional()
|
|
1204
|
-
}),
|
|
1071
|
+
}), ho = e.object({
|
|
1205
1072
|
action: e.string(),
|
|
1206
1073
|
method: e.enum(["POST", "GET"]),
|
|
1207
1074
|
title: e.string().optional(),
|
|
1208
1075
|
description: e.string().optional(),
|
|
1209
1076
|
components: e.array(R),
|
|
1210
|
-
messages: e.array(
|
|
1211
|
-
links: e.array(
|
|
1077
|
+
messages: e.array(at).optional(),
|
|
1078
|
+
links: e.array(rt).optional()
|
|
1212
1079
|
});
|
|
1213
|
-
function
|
|
1080
|
+
function bo(t) {
|
|
1214
1081
|
return t.category === "BLOCK";
|
|
1215
1082
|
}
|
|
1216
|
-
function
|
|
1083
|
+
function fo(t) {
|
|
1217
1084
|
return t.category === "WIDGET";
|
|
1218
1085
|
}
|
|
1219
|
-
function
|
|
1086
|
+
function Eo(t) {
|
|
1220
1087
|
return t.category === "FIELD";
|
|
1221
1088
|
}
|
|
1222
1089
|
const D = e.enum([
|
|
@@ -1239,37 +1106,37 @@ const D = e.enum([
|
|
|
1239
1106
|
synchronous: e.boolean().default(!1),
|
|
1240
1107
|
priority: e.number().optional(),
|
|
1241
1108
|
hook_id: e.string().optional()
|
|
1242
|
-
},
|
|
1109
|
+
}, st = e.object({
|
|
1243
1110
|
...m,
|
|
1244
1111
|
trigger_id: D,
|
|
1245
1112
|
url: e.string()
|
|
1246
|
-
}),
|
|
1113
|
+
}), lt = e.object({
|
|
1247
1114
|
...m,
|
|
1248
1115
|
trigger_id: L,
|
|
1249
1116
|
form_id: e.string()
|
|
1250
|
-
}),
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
]),
|
|
1117
|
+
}), So = e.union([
|
|
1118
|
+
st,
|
|
1119
|
+
lt
|
|
1120
|
+
]), ct = e.object({
|
|
1254
1121
|
...m,
|
|
1255
1122
|
trigger_id: D,
|
|
1256
1123
|
...r.shape,
|
|
1257
1124
|
hook_id: e.string(),
|
|
1258
1125
|
url: e.string()
|
|
1259
|
-
}),
|
|
1126
|
+
}), pt = e.object({
|
|
1260
1127
|
...m,
|
|
1261
1128
|
trigger_id: L,
|
|
1262
1129
|
...r.shape,
|
|
1263
1130
|
hook_id: e.string(),
|
|
1264
1131
|
form_id: e.string()
|
|
1265
|
-
}),
|
|
1132
|
+
}), Ao = e.union([ct, pt]), _t = e.object({
|
|
1266
1133
|
name: e.string().optional()
|
|
1267
|
-
}),
|
|
1134
|
+
}), dt = e.object({
|
|
1268
1135
|
email: e.string().optional()
|
|
1269
|
-
}),
|
|
1136
|
+
}), gt = e.object({
|
|
1270
1137
|
organization_id: e.string().max(50),
|
|
1271
|
-
inviter:
|
|
1272
|
-
invitee:
|
|
1138
|
+
inviter: _t,
|
|
1139
|
+
invitee: dt,
|
|
1273
1140
|
invitation_url: e.string().url(),
|
|
1274
1141
|
client_id: e.string(),
|
|
1275
1142
|
connection_id: e.string().optional(),
|
|
@@ -1278,13 +1145,13 @@ const D = e.enum([
|
|
|
1278
1145
|
ttl_sec: e.number().int().max(2592e3).default(604800).optional(),
|
|
1279
1146
|
roles: e.array(e.string()).default([]).optional(),
|
|
1280
1147
|
send_invitation_email: e.boolean().default(!0).optional()
|
|
1281
|
-
}),
|
|
1148
|
+
}), Io = e.object({
|
|
1282
1149
|
id: e.string(),
|
|
1283
1150
|
organization_id: e.string().max(50),
|
|
1284
1151
|
created_at: e.string().datetime(),
|
|
1285
1152
|
expires_at: e.string().datetime(),
|
|
1286
1153
|
ticket_id: e.string().optional()
|
|
1287
|
-
}).extend(
|
|
1154
|
+
}).extend(gt.shape), ut = e.object({
|
|
1288
1155
|
alg: e.enum([
|
|
1289
1156
|
"RS256",
|
|
1290
1157
|
"RS384",
|
|
@@ -1303,9 +1170,9 @@ const D = e.enum([
|
|
|
1303
1170
|
x5t: e.string().optional(),
|
|
1304
1171
|
x5c: e.array(e.string()).optional(),
|
|
1305
1172
|
use: e.enum(["sig", "enc"]).optional()
|
|
1306
|
-
}),
|
|
1307
|
-
keys: e.array(
|
|
1308
|
-
}),
|
|
1173
|
+
}), Co = e.object({
|
|
1174
|
+
keys: e.array(ut)
|
|
1175
|
+
}), yo = e.object({
|
|
1309
1176
|
issuer: e.string(),
|
|
1310
1177
|
authorization_endpoint: e.string(),
|
|
1311
1178
|
token_endpoint: e.string(),
|
|
@@ -1328,17 +1195,17 @@ const D = e.enum([
|
|
|
1328
1195
|
token_endpoint_auth_signing_alg_values_supported: e.array(e.string())
|
|
1329
1196
|
});
|
|
1330
1197
|
var w = /* @__PURE__ */ ((t) => (t.PENDING = "pending", t.AUTHENTICATED = "authenticated", t.AWAITING_EMAIL_VERIFICATION = "awaiting_email_verification", t.AWAITING_HOOK = "awaiting_hook", t.AWAITING_CONTINUATION = "awaiting_continuation", t.COMPLETED = "completed", t.FAILED = "failed", t.EXPIRED = "expired", t))(w || {});
|
|
1331
|
-
const
|
|
1198
|
+
const mt = e.nativeEnum(w), ht = e.object({
|
|
1332
1199
|
csrf_token: e.string(),
|
|
1333
1200
|
auth0Client: e.string().optional(),
|
|
1334
|
-
authParams:
|
|
1201
|
+
authParams: he,
|
|
1335
1202
|
expires_at: e.string(),
|
|
1336
1203
|
deleted_at: e.string().optional(),
|
|
1337
1204
|
ip: e.string().optional(),
|
|
1338
1205
|
useragent: e.string().optional(),
|
|
1339
1206
|
session_id: e.string().optional(),
|
|
1340
1207
|
authorization_url: e.string().optional(),
|
|
1341
|
-
state:
|
|
1208
|
+
state: mt.optional().default(
|
|
1342
1209
|
"pending"
|
|
1343
1210
|
/* PENDING */
|
|
1344
1211
|
),
|
|
@@ -1349,14 +1216,14 @@ const Et = e.nativeEnum(w), St = e.object({
|
|
|
1349
1216
|
// Set once user is authenticated
|
|
1350
1217
|
}).openapi({
|
|
1351
1218
|
description: "This represents a login sesion"
|
|
1352
|
-
}),
|
|
1353
|
-
...
|
|
1219
|
+
}), Oo = e.object({
|
|
1220
|
+
...ht.shape,
|
|
1354
1221
|
id: e.string().openapi({
|
|
1355
1222
|
description: "This is is used as the state in the universal login"
|
|
1356
1223
|
}),
|
|
1357
1224
|
created_at: e.string(),
|
|
1358
1225
|
updated_at: e.string()
|
|
1359
|
-
}),
|
|
1226
|
+
}), bt = {
|
|
1360
1227
|
// Network & System
|
|
1361
1228
|
ACLS_SUMMARY: "acls_summary",
|
|
1362
1229
|
ACTIONS_EXECUTION_FAILED: "actions_execution_failed",
|
|
@@ -1527,24 +1394,24 @@ const Et = e.nativeEnum(w), St = e.object({
|
|
|
1527
1394
|
WARNING_DURING_LOGIN: "w",
|
|
1528
1395
|
WARNING_SENDING_NOTIFICATION: "wn",
|
|
1529
1396
|
WARNING_USER_MANAGEMENT: "wum"
|
|
1530
|
-
},
|
|
1531
|
-
(t) => Object.values(
|
|
1397
|
+
}, ft = e.string().refine(
|
|
1398
|
+
(t) => Object.values(bt).includes(t),
|
|
1532
1399
|
{ message: "Invalid log type" }
|
|
1533
|
-
),
|
|
1400
|
+
), Et = e.object({
|
|
1534
1401
|
name: e.string(),
|
|
1535
1402
|
version: e.string(),
|
|
1536
1403
|
env: e.object({
|
|
1537
1404
|
node: e.string().optional()
|
|
1538
1405
|
}).optional()
|
|
1539
|
-
}),
|
|
1406
|
+
}), St = e.object({
|
|
1540
1407
|
country_code: e.string().length(2),
|
|
1541
1408
|
city_name: e.string(),
|
|
1542
1409
|
latitude: e.string(),
|
|
1543
1410
|
longitude: e.string(),
|
|
1544
1411
|
time_zone: e.string(),
|
|
1545
1412
|
continent_code: e.string()
|
|
1546
|
-
}),
|
|
1547
|
-
type:
|
|
1413
|
+
}), At = e.object({
|
|
1414
|
+
type: ft,
|
|
1548
1415
|
date: e.string(),
|
|
1549
1416
|
description: e.string().optional(),
|
|
1550
1417
|
ip: e.string().optional(),
|
|
@@ -1563,19 +1430,19 @@ const Et = e.nativeEnum(w), St = e.object({
|
|
|
1563
1430
|
strategy: e.string().optional(),
|
|
1564
1431
|
strategy_type: e.string().optional(),
|
|
1565
1432
|
hostname: e.string().optional(),
|
|
1566
|
-
auth0_client:
|
|
1433
|
+
auth0_client: Et.optional(),
|
|
1567
1434
|
log_id: e.string().optional(),
|
|
1568
|
-
location_info:
|
|
1569
|
-
}),
|
|
1570
|
-
...
|
|
1435
|
+
location_info: St.optional()
|
|
1436
|
+
}), To = e.object({
|
|
1437
|
+
...At.shape,
|
|
1571
1438
|
log_id: e.string()
|
|
1572
|
-
}),
|
|
1439
|
+
}), It = e.object({
|
|
1573
1440
|
id: e.string().optional(),
|
|
1574
1441
|
user_id: e.string(),
|
|
1575
1442
|
password: e.string(),
|
|
1576
1443
|
algorithm: e.enum(["bcrypt", "argon2id"]).default("argon2id"),
|
|
1577
1444
|
is_current: e.boolean().default(!0)
|
|
1578
|
-
}),
|
|
1445
|
+
}), No = It.extend({
|
|
1579
1446
|
id: e.string(),
|
|
1580
1447
|
created_at: e.string(),
|
|
1581
1448
|
updated_at: e.string()
|
|
@@ -1586,7 +1453,7 @@ const Et = e.nativeEnum(w), St = e.object({
|
|
|
1586
1453
|
last_user_agent: e.string().describe("Last user agent of the device from which this user logged in"),
|
|
1587
1454
|
last_ip: e.string().describe("Last IP address from which this user logged in"),
|
|
1588
1455
|
last_asn: e.string().describe("Last autonomous system number from which this user logged in")
|
|
1589
|
-
}),
|
|
1456
|
+
}), Ct = e.object({
|
|
1590
1457
|
id: e.string(),
|
|
1591
1458
|
revoked_at: e.string().optional(),
|
|
1592
1459
|
used_at: e.string().optional(),
|
|
@@ -1598,13 +1465,13 @@ const Et = e.nativeEnum(w), St = e.object({
|
|
|
1598
1465
|
"Metadata related to the device used in the session"
|
|
1599
1466
|
),
|
|
1600
1467
|
clients: e.array(e.string()).describe("List of client details for the session")
|
|
1601
|
-
}),
|
|
1468
|
+
}), Ro = e.object({
|
|
1602
1469
|
created_at: e.string(),
|
|
1603
1470
|
updated_at: e.string(),
|
|
1604
1471
|
authenticated_at: e.string(),
|
|
1605
1472
|
last_interaction_at: e.string(),
|
|
1606
|
-
...
|
|
1607
|
-
}),
|
|
1473
|
+
...Ct.shape
|
|
1474
|
+
}), Do = e.object({
|
|
1608
1475
|
kid: e.string().openapi({ description: "The key id of the signing key" }),
|
|
1609
1476
|
cert: e.string().openapi({ description: "The public certificate of the signing key" }),
|
|
1610
1477
|
fingerprint: e.string().openapi({ description: "The cert fingerprint" }),
|
|
@@ -1629,9 +1496,138 @@ const Et = e.nativeEnum(w), St = e.object({
|
|
|
1629
1496
|
type: e.enum(["jwt_signing", "saml_encryption"]).openapi({
|
|
1630
1497
|
description: "The type of the signing key"
|
|
1631
1498
|
})
|
|
1499
|
+
}), yt = e.object({
|
|
1500
|
+
id: e.string().optional(),
|
|
1501
|
+
// Basic settings
|
|
1502
|
+
audience: e.string(),
|
|
1503
|
+
friendly_name: e.string(),
|
|
1504
|
+
// Required - replaces the old 'name' field
|
|
1505
|
+
picture_url: e.string().optional(),
|
|
1506
|
+
support_email: e.string().optional(),
|
|
1507
|
+
support_url: e.string().optional(),
|
|
1508
|
+
sender_email: e.string().email(),
|
|
1509
|
+
sender_name: e.string(),
|
|
1510
|
+
// Tenant Settings fields (merged from TenantSettings)
|
|
1511
|
+
// Session settings
|
|
1512
|
+
session_lifetime: e.number().optional(),
|
|
1513
|
+
idle_session_lifetime: e.number().optional(),
|
|
1514
|
+
ephemeral_session_lifetime: e.number().optional(),
|
|
1515
|
+
idle_ephemeral_session_lifetime: e.number().optional(),
|
|
1516
|
+
session_cookie: e.object({
|
|
1517
|
+
mode: e.enum(["persistent", "non-persistent"]).optional()
|
|
1518
|
+
}).optional(),
|
|
1519
|
+
// Logout settings
|
|
1520
|
+
allowed_logout_urls: e.array(e.string()).optional(),
|
|
1521
|
+
// Universal Login settings
|
|
1522
|
+
default_redirection_uri: e.string().optional(),
|
|
1523
|
+
// Advanced settings
|
|
1524
|
+
enabled_locales: e.array(e.string()).optional(),
|
|
1525
|
+
default_directory: e.string().optional(),
|
|
1526
|
+
error_page: e.object({
|
|
1527
|
+
html: e.string().optional(),
|
|
1528
|
+
show_log_link: e.boolean().optional(),
|
|
1529
|
+
url: e.string().optional()
|
|
1530
|
+
}).optional(),
|
|
1531
|
+
// Flags
|
|
1532
|
+
flags: e.object({
|
|
1533
|
+
allow_changing_enable_sso: e.boolean().optional(),
|
|
1534
|
+
allow_legacy_delegation_grant_types: e.boolean().optional(),
|
|
1535
|
+
allow_legacy_ro_grant_types: e.boolean().optional(),
|
|
1536
|
+
allow_legacy_tokeninfo_endpoint: e.boolean().optional(),
|
|
1537
|
+
change_pwd_flow_v1: e.boolean().optional(),
|
|
1538
|
+
custom_domains_provisioning: e.boolean().optional(),
|
|
1539
|
+
dashboard_insights_view: e.boolean().optional(),
|
|
1540
|
+
dashboard_log_streams_next: e.boolean().optional(),
|
|
1541
|
+
disable_clickjack_protection_headers: e.boolean().optional(),
|
|
1542
|
+
disable_fields_map_fix: e.boolean().optional(),
|
|
1543
|
+
disable_impersonation: e.boolean().optional(),
|
|
1544
|
+
disable_management_api_sms_obfuscation: e.boolean().optional(),
|
|
1545
|
+
enable_adfs_waad_email_verification: e.boolean().optional(),
|
|
1546
|
+
enable_apis_section: e.boolean().optional(),
|
|
1547
|
+
enable_client_connections: e.boolean().optional(),
|
|
1548
|
+
enable_custom_domain_in_emails: e.boolean().optional(),
|
|
1549
|
+
enable_dynamic_client_registration: e.boolean().optional(),
|
|
1550
|
+
enable_idtoken_api2: e.boolean().optional(),
|
|
1551
|
+
enable_legacy_logs_search_v2: e.boolean().optional(),
|
|
1552
|
+
enable_legacy_profile: e.boolean().optional(),
|
|
1553
|
+
enable_pipeline2: e.boolean().optional(),
|
|
1554
|
+
enable_public_signup_user_exists_error: e.boolean().optional(),
|
|
1555
|
+
enable_sso: e.boolean().optional(),
|
|
1556
|
+
enforce_client_authentication_on_passwordless_start: e.boolean().optional(),
|
|
1557
|
+
genai_trial: e.boolean().optional(),
|
|
1558
|
+
improved_signup_bot_detection_in_classic: e.boolean().optional(),
|
|
1559
|
+
mfa_show_factor_list_on_enrollment: e.boolean().optional(),
|
|
1560
|
+
no_disclose_enterprise_connections: e.boolean().optional(),
|
|
1561
|
+
remove_alg_from_jwks: e.boolean().optional(),
|
|
1562
|
+
revoke_refresh_token_grant: e.boolean().optional(),
|
|
1563
|
+
trust_azure_adfs_email_verified_connection_property: e.boolean().optional(),
|
|
1564
|
+
use_scope_descriptions_for_consent: e.boolean().optional(),
|
|
1565
|
+
// When enabled, tenant-level permissions will be inherited when users request
|
|
1566
|
+
// organization-scoped tokens. This allows users with tenant-level roles to maintain
|
|
1567
|
+
// their permissions when accessing resources in an organization context.
|
|
1568
|
+
inherit_global_permissions_in_organizations: e.boolean().optional()
|
|
1569
|
+
}).optional(),
|
|
1570
|
+
// Sandbox settings
|
|
1571
|
+
sandbox_version: e.string().optional(),
|
|
1572
|
+
legacy_sandbox_version: e.string().optional(),
|
|
1573
|
+
sandbox_versions_available: e.array(e.string()).optional(),
|
|
1574
|
+
// Change password settings
|
|
1575
|
+
change_password: e.object({
|
|
1576
|
+
enabled: e.boolean().optional(),
|
|
1577
|
+
html: e.string().optional()
|
|
1578
|
+
}).optional(),
|
|
1579
|
+
// Guardian MFA settings
|
|
1580
|
+
guardian_mfa_page: e.object({
|
|
1581
|
+
enabled: e.boolean().optional(),
|
|
1582
|
+
html: e.string().optional()
|
|
1583
|
+
}).optional(),
|
|
1584
|
+
// Device flow settings
|
|
1585
|
+
device_flow: e.object({
|
|
1586
|
+
charset: e.enum(["base20", "digits"]).optional(),
|
|
1587
|
+
mask: e.string().max(20).optional()
|
|
1588
|
+
}).optional(),
|
|
1589
|
+
// Default token quota
|
|
1590
|
+
default_token_quota: e.object({
|
|
1591
|
+
clients: e.object({
|
|
1592
|
+
client_credentials: e.record(e.any()).optional()
|
|
1593
|
+
}).optional(),
|
|
1594
|
+
organizations: e.object({
|
|
1595
|
+
client_credentials: e.record(e.any()).optional()
|
|
1596
|
+
}).optional()
|
|
1597
|
+
}).optional(),
|
|
1598
|
+
// Default audience
|
|
1599
|
+
default_audience: e.string().optional(),
|
|
1600
|
+
// Default organization
|
|
1601
|
+
default_organization: e.string().optional(),
|
|
1602
|
+
// Session management
|
|
1603
|
+
sessions: e.object({
|
|
1604
|
+
oidc_logout_prompt_enabled: e.boolean().optional()
|
|
1605
|
+
}).optional(),
|
|
1606
|
+
// OIDC logout settings
|
|
1607
|
+
oidc_logout: e.object({
|
|
1608
|
+
rp_logout_end_session_endpoint_discovery: e.boolean().optional()
|
|
1609
|
+
}).optional(),
|
|
1610
|
+
// Organization settings
|
|
1611
|
+
allow_organization_name_in_authentication_api: e.boolean().optional(),
|
|
1612
|
+
// MFA settings
|
|
1613
|
+
customize_mfa_in_postlogin_action: e.boolean().optional(),
|
|
1614
|
+
// ACR values
|
|
1615
|
+
acr_values_supported: e.array(e.string()).optional(),
|
|
1616
|
+
// mTLS settings
|
|
1617
|
+
mtls: e.object({
|
|
1618
|
+
enable_endpoint_aliases: e.boolean().optional()
|
|
1619
|
+
}).optional(),
|
|
1620
|
+
// Authorization settings
|
|
1621
|
+
pushed_authorization_requests_supported: e.boolean().optional(),
|
|
1622
|
+
authorization_response_iss_parameter_supported: e.boolean().optional()
|
|
1623
|
+
}), Lo = e.object({
|
|
1624
|
+
created_at: e.string().nullable().transform((t) => t ?? ""),
|
|
1625
|
+
updated_at: e.string().nullable().transform((t) => t ?? ""),
|
|
1626
|
+
...yt.shape,
|
|
1627
|
+
id: e.string()
|
|
1632
1628
|
});
|
|
1633
|
-
var
|
|
1634
|
-
const
|
|
1629
|
+
var Ot = /* @__PURE__ */ ((t) => (t.RefreshToken = "refresh_token", t.AuthorizationCode = "authorization_code", t.ClientCredential = "client_credentials", t.Passwordless = "passwordless", t.Password = "password", t.OTP = "http://auth0.com/oauth/grant-type/passwordless/otp", t))(Ot || {});
|
|
1630
|
+
const wo = e.object({
|
|
1635
1631
|
access_token: e.string(),
|
|
1636
1632
|
id_token: e.string().optional(),
|
|
1637
1633
|
scope: e.string().optional(),
|
|
@@ -1644,7 +1640,7 @@ e.object({
|
|
|
1644
1640
|
code: e.string(),
|
|
1645
1641
|
state: e.string().optional()
|
|
1646
1642
|
});
|
|
1647
|
-
const
|
|
1643
|
+
const Tt = e.object({
|
|
1648
1644
|
button_border_radius: e.number(),
|
|
1649
1645
|
button_border_weight: e.number(),
|
|
1650
1646
|
buttons_style: e.enum(["pill", "rounded", "sharp"]),
|
|
@@ -1654,7 +1650,7 @@ const Dt = e.object({
|
|
|
1654
1650
|
show_widget_shadow: e.boolean(),
|
|
1655
1651
|
widget_border_weight: e.number(),
|
|
1656
1652
|
widget_corner_radius: e.number()
|
|
1657
|
-
}),
|
|
1653
|
+
}), Nt = e.object({
|
|
1658
1654
|
base_focus_color: e.string(),
|
|
1659
1655
|
base_hover_color: e.string(),
|
|
1660
1656
|
body_text: e.string(),
|
|
@@ -1677,7 +1673,7 @@ const Dt = e.object({
|
|
|
1677
1673
|
}), l = e.object({
|
|
1678
1674
|
bold: e.boolean(),
|
|
1679
1675
|
size: e.number()
|
|
1680
|
-
}),
|
|
1676
|
+
}), Rt = e.object({
|
|
1681
1677
|
body_text: l,
|
|
1682
1678
|
buttons_text: l,
|
|
1683
1679
|
font_url: e.string(),
|
|
@@ -1687,31 +1683,31 @@ const Dt = e.object({
|
|
|
1687
1683
|
reference_text_size: e.number(),
|
|
1688
1684
|
subtitle: l,
|
|
1689
1685
|
title: l
|
|
1690
|
-
}),
|
|
1686
|
+
}), Dt = e.object({
|
|
1691
1687
|
background_color: e.string(),
|
|
1692
1688
|
background_image_url: e.string(),
|
|
1693
1689
|
page_layout: e.enum(["center", "left", "right"])
|
|
1694
|
-
}),
|
|
1690
|
+
}), Lt = e.object({
|
|
1695
1691
|
header_text_alignment: e.enum(["center", "left", "right"]),
|
|
1696
1692
|
logo_height: e.number(),
|
|
1697
1693
|
logo_position: e.enum(["center", "left", "none", "right"]),
|
|
1698
1694
|
logo_url: e.string(),
|
|
1699
1695
|
social_buttons_layout: e.enum(["bottom", "top"])
|
|
1700
|
-
}),
|
|
1701
|
-
borders:
|
|
1702
|
-
colors:
|
|
1696
|
+
}), wt = e.object({
|
|
1697
|
+
borders: Tt,
|
|
1698
|
+
colors: Nt,
|
|
1703
1699
|
displayName: e.string(),
|
|
1704
|
-
fonts:
|
|
1705
|
-
page_background:
|
|
1706
|
-
widget:
|
|
1707
|
-
}),
|
|
1700
|
+
fonts: Rt,
|
|
1701
|
+
page_background: Dt,
|
|
1702
|
+
widget: Lt
|
|
1703
|
+
}), jo = wt.extend({
|
|
1708
1704
|
themeId: e.string()
|
|
1709
|
-
}),
|
|
1705
|
+
}), Uo = e.object({
|
|
1710
1706
|
universal_login_experience: e.enum(["new", "classic"]).default("new"),
|
|
1711
1707
|
identifier_first: e.boolean().default(!0),
|
|
1712
1708
|
password_first: e.boolean().default(!1),
|
|
1713
1709
|
webauthn_platform_first_factor: e.boolean()
|
|
1714
|
-
}),
|
|
1710
|
+
}), Fo = e.object({
|
|
1715
1711
|
name: e.string(),
|
|
1716
1712
|
enabled: e.boolean().optional().default(!0),
|
|
1717
1713
|
default_from_address: e.string().optional(),
|
|
@@ -1741,7 +1737,7 @@ const Dt = e.object({
|
|
|
1741
1737
|
})
|
|
1742
1738
|
]),
|
|
1743
1739
|
settings: e.object({}).optional()
|
|
1744
|
-
}),
|
|
1740
|
+
}), jt = e.object({
|
|
1745
1741
|
// The actual refresh token value (primary key).
|
|
1746
1742
|
id: e.string(),
|
|
1747
1743
|
// Link to the session record
|
|
@@ -1762,21 +1758,21 @@ const Dt = e.object({
|
|
|
1762
1758
|
})
|
|
1763
1759
|
),
|
|
1764
1760
|
rotating: e.boolean()
|
|
1765
|
-
}),
|
|
1761
|
+
}), ko = e.object({
|
|
1766
1762
|
// When the refresh token record was created.
|
|
1767
1763
|
created_at: e.string(),
|
|
1768
1764
|
// Spread in the rest of the refresh token properties.
|
|
1769
|
-
...
|
|
1770
|
-
}),
|
|
1765
|
+
...jt.shape
|
|
1766
|
+
}), vo = e.object({
|
|
1771
1767
|
to: e.string(),
|
|
1772
1768
|
message: e.string()
|
|
1773
|
-
}),
|
|
1769
|
+
}), xo = e.object({
|
|
1774
1770
|
name: e.string(),
|
|
1775
1771
|
options: e.object({})
|
|
1776
|
-
}),
|
|
1772
|
+
}), Ut = e.object({
|
|
1777
1773
|
value: e.string(),
|
|
1778
1774
|
description: e.string().optional()
|
|
1779
|
-
}),
|
|
1775
|
+
}), Ft = e.object({
|
|
1780
1776
|
token_dialect: e.enum(["access_token", "access_token_authz"]).optional(),
|
|
1781
1777
|
enforce_policies: e.boolean().optional(),
|
|
1782
1778
|
allow_skipping_userinfo: e.boolean().optional(),
|
|
@@ -1786,11 +1782,11 @@ const Dt = e.object({
|
|
|
1786
1782
|
mtls: e.object({
|
|
1787
1783
|
bound_access_tokens: e.boolean().optional()
|
|
1788
1784
|
}).optional()
|
|
1789
|
-
}),
|
|
1785
|
+
}), kt = e.object({
|
|
1790
1786
|
id: e.string().optional(),
|
|
1791
1787
|
name: e.string(),
|
|
1792
1788
|
identifier: e.string(),
|
|
1793
|
-
scopes: e.array(
|
|
1789
|
+
scopes: e.array(Ut).optional(),
|
|
1794
1790
|
signing_alg: e.string().optional(),
|
|
1795
1791
|
signing_secret: e.string().optional(),
|
|
1796
1792
|
token_lifetime: e.number().optional(),
|
|
@@ -1798,30 +1794,30 @@ const Dt = e.object({
|
|
|
1798
1794
|
skip_consent_for_verifiable_first_party_clients: e.boolean().optional(),
|
|
1799
1795
|
allow_offline_access: e.boolean().optional(),
|
|
1800
1796
|
verificationKey: e.string().optional(),
|
|
1801
|
-
options:
|
|
1797
|
+
options: Ft.optional(),
|
|
1802
1798
|
is_system: e.boolean().optional(),
|
|
1803
1799
|
metadata: e.record(e.any()).optional()
|
|
1804
|
-
}),
|
|
1805
|
-
...
|
|
1800
|
+
}), vt = e.object({
|
|
1801
|
+
...kt.shape,
|
|
1806
1802
|
created_at: e.string().optional(),
|
|
1807
1803
|
updated_at: e.string().optional()
|
|
1808
|
-
}),
|
|
1804
|
+
}), Po = e.array(vt), xt = e.object({
|
|
1809
1805
|
role_id: e.string(),
|
|
1810
1806
|
resource_server_identifier: e.string(),
|
|
1811
1807
|
permission_name: e.string()
|
|
1812
|
-
}),
|
|
1813
|
-
...
|
|
1808
|
+
}), Pt = e.object({
|
|
1809
|
+
...xt.shape,
|
|
1814
1810
|
created_at: e.string()
|
|
1815
|
-
}),
|
|
1811
|
+
}), Mo = e.array(Pt), Mt = e.object({
|
|
1816
1812
|
user_id: e.string(),
|
|
1817
1813
|
resource_server_identifier: e.string(),
|
|
1818
1814
|
permission_name: e.string(),
|
|
1819
1815
|
organization_id: e.string().optional()
|
|
1820
|
-
}),
|
|
1821
|
-
...
|
|
1816
|
+
}), Ht = e.object({
|
|
1817
|
+
...Mt.shape,
|
|
1822
1818
|
tenant_id: e.string(),
|
|
1823
1819
|
created_at: e.string().optional()
|
|
1824
|
-
}),
|
|
1820
|
+
}), Ho = e.array(Ht), Gt = e.object({
|
|
1825
1821
|
user_id: e.string(),
|
|
1826
1822
|
resource_server_identifier: e.string(),
|
|
1827
1823
|
resource_server_name: e.string(),
|
|
@@ -1829,17 +1825,17 @@ const Dt = e.object({
|
|
|
1829
1825
|
description: e.string().nullable().optional(),
|
|
1830
1826
|
created_at: e.string().optional(),
|
|
1831
1827
|
organization_id: e.string().optional()
|
|
1832
|
-
}),
|
|
1833
|
-
|
|
1834
|
-
),
|
|
1828
|
+
}), Go = e.array(
|
|
1829
|
+
Gt
|
|
1830
|
+
), Bt = e.object({
|
|
1835
1831
|
user_id: e.string(),
|
|
1836
1832
|
role_id: e.string(),
|
|
1837
1833
|
organization_id: e.string().optional()
|
|
1838
|
-
}),
|
|
1839
|
-
...
|
|
1834
|
+
}), Kt = e.object({
|
|
1835
|
+
...Bt.shape,
|
|
1840
1836
|
tenant_id: e.string(),
|
|
1841
1837
|
created_at: e.string().optional()
|
|
1842
|
-
}),
|
|
1838
|
+
}), Bo = e.array(Kt), Wt = e.object({
|
|
1843
1839
|
id: e.string().optional().openapi({
|
|
1844
1840
|
description: "The unique identifier of the role. If not provided, one will be generated."
|
|
1845
1841
|
}),
|
|
@@ -1853,13 +1849,13 @@ const Dt = e.object({
|
|
|
1853
1849
|
metadata: e.record(e.any()).optional().openapi({
|
|
1854
1850
|
description: "Metadata associated with the role. Can be used to control sync behavior in multi-tenancy scenarios."
|
|
1855
1851
|
})
|
|
1856
|
-
}),
|
|
1852
|
+
}), zt = Wt.extend({
|
|
1857
1853
|
id: e.string().openapi({
|
|
1858
1854
|
description: "The unique identifier of the role"
|
|
1859
1855
|
}),
|
|
1860
1856
|
created_at: e.string().optional(),
|
|
1861
1857
|
updated_at: e.string().optional()
|
|
1862
|
-
}),
|
|
1858
|
+
}), Ko = e.array(zt), Xt = e.object({
|
|
1863
1859
|
logo_url: e.string().optional().openapi({
|
|
1864
1860
|
description: "URL of the organization's logo"
|
|
1865
1861
|
}),
|
|
@@ -1871,7 +1867,7 @@ const Dt = e.object({
|
|
|
1871
1867
|
description: "Page background color in hex format (e.g., #FFFFFF)"
|
|
1872
1868
|
})
|
|
1873
1869
|
}).optional()
|
|
1874
|
-
}).optional(),
|
|
1870
|
+
}).optional(), Vt = e.object({
|
|
1875
1871
|
connection_id: e.string().openapi({
|
|
1876
1872
|
description: "ID of the connection"
|
|
1877
1873
|
}),
|
|
@@ -1884,7 +1880,7 @@ const Dt = e.object({
|
|
|
1884
1880
|
is_signup_enabled: e.boolean().default(!0).openapi({
|
|
1885
1881
|
description: "Whether signup is enabled for this connection"
|
|
1886
1882
|
})
|
|
1887
|
-
}),
|
|
1883
|
+
}), qt = e.object({
|
|
1888
1884
|
client_credentials: e.object({
|
|
1889
1885
|
enforce: e.boolean().default(!1).openapi({
|
|
1890
1886
|
description: "Whether to enforce token quota limits"
|
|
@@ -1896,7 +1892,7 @@ const Dt = e.object({
|
|
|
1896
1892
|
description: "Maximum tokens per hour (0 = unlimited)"
|
|
1897
1893
|
})
|
|
1898
1894
|
}).optional()
|
|
1899
|
-
}).optional(),
|
|
1895
|
+
}).optional(), Yt = e.object({
|
|
1900
1896
|
id: e.string().optional(),
|
|
1901
1897
|
name: e.string().min(1).regex(/^[a-z0-9_-]+$/, {
|
|
1902
1898
|
message: "Organization name must be lowercase and can only contain letters, numbers, hyphens, and underscores"
|
|
@@ -1906,34 +1902,34 @@ const Dt = e.object({
|
|
|
1906
1902
|
display_name: e.string().optional().openapi({
|
|
1907
1903
|
description: "The display name of the organization"
|
|
1908
1904
|
}),
|
|
1909
|
-
branding:
|
|
1905
|
+
branding: Xt,
|
|
1910
1906
|
metadata: e.record(e.any()).default({}).optional().openapi({
|
|
1911
1907
|
description: "Custom metadata for the organization"
|
|
1912
1908
|
}),
|
|
1913
|
-
enabled_connections: e.array(
|
|
1909
|
+
enabled_connections: e.array(Vt).default([]).optional().openapi({
|
|
1914
1910
|
description: "List of enabled connections for the organization"
|
|
1915
1911
|
}),
|
|
1916
|
-
token_quota:
|
|
1917
|
-
}),
|
|
1918
|
-
...
|
|
1912
|
+
token_quota: qt
|
|
1913
|
+
}), Wo = e.object({
|
|
1914
|
+
...Yt.shape,
|
|
1919
1915
|
...r.shape,
|
|
1920
1916
|
id: e.string(),
|
|
1921
1917
|
// Override name to be lenient when reading from database (to support existing uppercase names)
|
|
1922
1918
|
name: e.string().min(1).openapi({
|
|
1923
1919
|
description: "The name of the organization"
|
|
1924
1920
|
})
|
|
1925
|
-
}),
|
|
1921
|
+
}), Qt = e.object({
|
|
1926
1922
|
user_id: e.string().openapi({
|
|
1927
1923
|
description: "ID of the user"
|
|
1928
1924
|
}),
|
|
1929
1925
|
organization_id: e.string().openapi({
|
|
1930
1926
|
description: "ID of the organization"
|
|
1931
1927
|
})
|
|
1932
|
-
}),
|
|
1933
|
-
|
|
1928
|
+
}), zo = e.object({
|
|
1929
|
+
...Qt.shape,
|
|
1934
1930
|
...r.shape,
|
|
1935
1931
|
id: e.string()
|
|
1936
|
-
}),
|
|
1932
|
+
}), Xo = e.object({
|
|
1937
1933
|
// Session settings
|
|
1938
1934
|
idle_session_lifetime: e.number().optional(),
|
|
1939
1935
|
session_lifetime: e.number().optional(),
|
|
@@ -2002,7 +1998,7 @@ const Dt = e.object({
|
|
|
2002
1998
|
sessions: e.object({
|
|
2003
1999
|
oidc_logout_prompt_enabled: e.boolean().optional()
|
|
2004
2000
|
}).optional()
|
|
2005
|
-
}),
|
|
2001
|
+
}), Vo = e.object({
|
|
2006
2002
|
date: e.string().openapi({
|
|
2007
2003
|
description: "Date these events occurred in ISO 8601 format",
|
|
2008
2004
|
example: "2025-12-19"
|
|
@@ -2027,17 +2023,17 @@ const Dt = e.object({
|
|
|
2027
2023
|
description: "Approximate date and time the first event occurred in ISO 8601 format",
|
|
2028
2024
|
example: "2025-12-19T00:00:00.000Z"
|
|
2029
2025
|
})
|
|
2030
|
-
}),
|
|
2026
|
+
}), qo = e.number().openapi({
|
|
2031
2027
|
description: "Number of active users in the last 30 days",
|
|
2032
2028
|
example: 1234
|
|
2033
2029
|
});
|
|
2034
|
-
function
|
|
2030
|
+
function Yo(t) {
|
|
2035
2031
|
const [a, s] = t.split("|");
|
|
2036
2032
|
if (!a || !s)
|
|
2037
2033
|
throw new Error(`Invalid user_id: ${t}`);
|
|
2038
2034
|
return { connection: a, id: s };
|
|
2039
2035
|
}
|
|
2040
|
-
function
|
|
2036
|
+
function Qo(t) {
|
|
2041
2037
|
const {
|
|
2042
2038
|
primary: a,
|
|
2043
2039
|
secondaries: s,
|
|
@@ -2078,156 +2074,155 @@ function Jo(t) {
|
|
|
2078
2074
|
};
|
|
2079
2075
|
return new Proxy(a, F);
|
|
2080
2076
|
}
|
|
2081
|
-
function
|
|
2077
|
+
function Jo(t) {
|
|
2082
2078
|
return t;
|
|
2083
2079
|
}
|
|
2084
2080
|
export {
|
|
2085
|
-
|
|
2086
|
-
|
|
2081
|
+
$t as Auth0ActionEnum,
|
|
2082
|
+
Et as Auth0Client,
|
|
2087
2083
|
T as AuthorizationResponseMode,
|
|
2088
2084
|
O as AuthorizationResponseType,
|
|
2089
2085
|
N as CodeChallengeMethod,
|
|
2090
2086
|
y as ComponentCategory,
|
|
2091
2087
|
C as ComponentType,
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2088
|
+
eo as EmailActionEnum,
|
|
2089
|
+
Zt as FlowActionTypeEnum,
|
|
2090
|
+
Ot as GrantType,
|
|
2091
|
+
St as LocationInfo,
|
|
2092
|
+
bt as LogTypes,
|
|
2097
2093
|
w as LoginSessionState,
|
|
2098
|
-
|
|
2094
|
+
se as NodeType,
|
|
2099
2095
|
G as RedirectTargetEnum,
|
|
2100
|
-
|
|
2101
|
-
|
|
2096
|
+
pe as actionNodeSchema,
|
|
2097
|
+
qo as activeUsersResponseSchema,
|
|
2102
2098
|
V as addressSchema,
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2099
|
+
lo as auth0FlowInsertSchema,
|
|
2100
|
+
me as auth0FlowSchema,
|
|
2101
|
+
oo as auth0QuerySchema,
|
|
2106
2102
|
M as auth0UpdateUserActionSchema,
|
|
2107
|
-
|
|
2108
|
-
|
|
2103
|
+
io as auth0UserResponseSchema,
|
|
2104
|
+
he as authParamsSchema,
|
|
2109
2105
|
I as baseUserSchema,
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2106
|
+
Je as blockComponentSchema,
|
|
2107
|
+
Tt as bordersSchema,
|
|
2108
|
+
co as brandingSchema,
|
|
2109
|
+
oe as buttonComponentSchema,
|
|
2110
|
+
$ as clientGrantInsertSchema,
|
|
2111
|
+
so as clientGrantListSchema,
|
|
2112
|
+
ee as clientGrantSchema,
|
|
2117
2113
|
Z as clientInsertSchema,
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2114
|
+
ro as clientSchema,
|
|
2115
|
+
fe as codeInsertSchema,
|
|
2116
|
+
po as codeSchema,
|
|
2117
|
+
be as codeTypeSchema,
|
|
2118
|
+
Nt as colorsSchema,
|
|
2119
|
+
at as componentMessageSchema,
|
|
2120
|
+
re as componentSchema,
|
|
2121
|
+
Se as connectionInsertSchema,
|
|
2122
|
+
Ee as connectionOptionsSchema,
|
|
2123
|
+
_o as connectionSchema,
|
|
2128
2124
|
c as coordinatesSchema,
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2125
|
+
Qo as createPassthroughAdapter,
|
|
2126
|
+
Jo as createWriteOnlyAdapter,
|
|
2127
|
+
Ae as customDomainInsertSchema,
|
|
2128
|
+
Ce as customDomainSchema,
|
|
2129
|
+
go as customDomainWithTenantIdSchema,
|
|
2130
|
+
Vo as dailyStatsSchema,
|
|
2131
|
+
Fo as emailProviderSchema,
|
|
2136
2132
|
P as emailVerificationRulesSchema,
|
|
2137
2133
|
H as emailVerifyActionSchema,
|
|
2138
|
-
|
|
2139
|
-
|
|
2134
|
+
ue as endingSchema,
|
|
2135
|
+
$e as fieldComponentSchema,
|
|
2140
2136
|
K as flowActionStepSchema,
|
|
2141
2137
|
W as flowInsertSchema,
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2138
|
+
to as flowSchema,
|
|
2139
|
+
ie as flowsFieldComponentSchema,
|
|
2140
|
+
ce as flowsFlowNodeSchema,
|
|
2141
|
+
le as flowsStepNodeSchema,
|
|
2146
2142
|
l as fontDetailsSchema,
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2143
|
+
Rt as fontsSchema,
|
|
2144
|
+
uo as formControlSchema,
|
|
2145
|
+
it as formInsertSchema,
|
|
2150
2146
|
R as formNodeComponentDefinition,
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2147
|
+
nt as formNodeSchema,
|
|
2148
|
+
mo as formSchema,
|
|
2149
|
+
ae as genericComponentSchema,
|
|
2150
|
+
_e as genericNodeSchema,
|
|
2151
|
+
So as hookInsertSchema,
|
|
2152
|
+
Ao as hookSchema,
|
|
2157
2153
|
X as identitySchema,
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
Do as passwordSchema,
|
|
2154
|
+
gt as inviteInsertSchema,
|
|
2155
|
+
Io as inviteSchema,
|
|
2156
|
+
dt as inviteeSchema,
|
|
2157
|
+
_t as inviterSchema,
|
|
2158
|
+
bo as isBlockComponent,
|
|
2159
|
+
Eo as isFieldComponent,
|
|
2160
|
+
fo as isWidgetComponent,
|
|
2161
|
+
Co as jwksKeySchema,
|
|
2162
|
+
ut as jwksSchema,
|
|
2163
|
+
ne as legalComponentSchema,
|
|
2164
|
+
At as logInsertSchema,
|
|
2165
|
+
To as logSchema,
|
|
2166
|
+
ht as loginSessionInsertSchema,
|
|
2167
|
+
Oo as loginSessionSchema,
|
|
2168
|
+
mt as loginSessionStateSchema,
|
|
2169
|
+
de as nodeSchema,
|
|
2170
|
+
yo as openIDConfigurationSchema,
|
|
2171
|
+
Xt as organizationBrandingSchema,
|
|
2172
|
+
Vt as organizationEnabledConnectionSchema,
|
|
2173
|
+
Yt as organizationInsertSchema,
|
|
2174
|
+
Wo as organizationSchema,
|
|
2175
|
+
qt as organizationTokenQuotaSchema,
|
|
2176
|
+
Dt as pageBackgroundSchema,
|
|
2177
|
+
Yo as parseUserId,
|
|
2178
|
+
It as passwordInsertSchema,
|
|
2179
|
+
No as passwordSchema,
|
|
2185
2180
|
z as profileDataSchema,
|
|
2186
|
-
|
|
2181
|
+
Uo as promptSettingSchema,
|
|
2187
2182
|
B as redirectActionSchema,
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2183
|
+
jt as refreshTokenInsertSchema,
|
|
2184
|
+
ko as refreshTokenSchema,
|
|
2185
|
+
kt as resourceServerInsertSchema,
|
|
2186
|
+
Po as resourceServerListSchema,
|
|
2187
|
+
Ft as resourceServerOptionsSchema,
|
|
2188
|
+
vt as resourceServerSchema,
|
|
2189
|
+
Ut as resourceServerScopeSchema,
|
|
2190
|
+
te as richTextComponentSchema,
|
|
2191
|
+
Wt as roleInsertSchema,
|
|
2192
|
+
Ko as roleListSchema,
|
|
2193
|
+
xt as rolePermissionInsertSchema,
|
|
2194
|
+
Mo as rolePermissionListSchema,
|
|
2195
|
+
Pt as rolePermissionSchema,
|
|
2196
|
+
zt as roleSchema,
|
|
2197
|
+
rt as screenLinkSchema,
|
|
2198
|
+
Ct as sessionInsertSchema,
|
|
2199
|
+
Ro as sessionSchema,
|
|
2200
|
+
Do as signingKeySchema,
|
|
2201
|
+
xo as smsProviderSchema,
|
|
2202
|
+
vo as smsSendParamsSchema,
|
|
2203
|
+
ge as startSchema,
|
|
2204
|
+
yt as tenantInsertSchema,
|
|
2205
|
+
Lo as tenantSchema,
|
|
2206
|
+
Xo as tenantSettingsSchema,
|
|
2207
|
+
wt as themeInsertSchema,
|
|
2208
|
+
jo as themeSchema,
|
|
2209
|
+
wo as tokenResponseSchema,
|
|
2210
|
+
no as totalsSchema,
|
|
2211
|
+
ho as uiScreenSchema,
|
|
2217
2212
|
q as userInsertSchema,
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2213
|
+
Qt as userOrganizationInsertSchema,
|
|
2214
|
+
zo as userOrganizationSchema,
|
|
2215
|
+
Mt as userPermissionInsertSchema,
|
|
2216
|
+
Ho as userPermissionListSchema,
|
|
2217
|
+
Ht as userPermissionSchema,
|
|
2218
|
+
Go as userPermissionWithDetailsListSchema,
|
|
2219
|
+
Gt as userPermissionWithDetailsSchema,
|
|
2220
|
+
ao as userResponseSchema,
|
|
2221
|
+
Bt as userRoleInsertSchema,
|
|
2222
|
+
Bo as userRoleListSchema,
|
|
2223
|
+
Kt as userRoleSchema,
|
|
2229
2224
|
Y as userSchema,
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2225
|
+
Ie as verificationMethodsSchema,
|
|
2226
|
+
Ze as widgetComponentSchema,
|
|
2227
|
+
Lt as widgetSchema
|
|
2233
2228
|
};
|