@authhero/kysely-adapter 10.41.0 → 10.43.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/kysely-adapter.cjs +13 -1
- package/dist/kysely-adapter.d.ts +789 -183
- package/dist/kysely-adapter.mjs +6033 -2794
- package/package.json +3 -3
package/dist/kysely-adapter.d.ts
CHANGED
|
@@ -619,6 +619,386 @@ declare const applicationSchema: z.ZodObject<{
|
|
|
619
619
|
client_metadata?: Record<string, string> | undefined;
|
|
620
620
|
}>;
|
|
621
621
|
export type Application = z.infer<typeof applicationSchema>;
|
|
622
|
+
declare const clientInsertSchema: z.ZodObject<{
|
|
623
|
+
client_id: z.ZodString;
|
|
624
|
+
name: z.ZodString;
|
|
625
|
+
description: z.ZodOptional<z.ZodString>;
|
|
626
|
+
global: z.ZodDefault<z.ZodBoolean>;
|
|
627
|
+
client_secret: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
628
|
+
app_type: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
629
|
+
"native",
|
|
630
|
+
"spa",
|
|
631
|
+
"regular_web",
|
|
632
|
+
"non_interactive",
|
|
633
|
+
"resource_server",
|
|
634
|
+
"express_configuration",
|
|
635
|
+
"rms",
|
|
636
|
+
"box",
|
|
637
|
+
"cloudbees",
|
|
638
|
+
"concur",
|
|
639
|
+
"dropbox",
|
|
640
|
+
"mscrm",
|
|
641
|
+
"echosign",
|
|
642
|
+
"egnyte",
|
|
643
|
+
"newrelic",
|
|
644
|
+
"office365",
|
|
645
|
+
"salesforce",
|
|
646
|
+
"sentry",
|
|
647
|
+
"sharepoint",
|
|
648
|
+
"slack",
|
|
649
|
+
"springcm",
|
|
650
|
+
"zendesk",
|
|
651
|
+
"zoom",
|
|
652
|
+
"sso_integration",
|
|
653
|
+
"oag"
|
|
654
|
+
]>>>;
|
|
655
|
+
logo_uri: z.ZodOptional<z.ZodString>;
|
|
656
|
+
is_first_party: z.ZodDefault<z.ZodBoolean>;
|
|
657
|
+
oidc_conformant: z.ZodDefault<z.ZodBoolean>;
|
|
658
|
+
callbacks: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
659
|
+
allowed_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
660
|
+
web_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
661
|
+
client_aliases: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
662
|
+
allowed_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
663
|
+
allowed_logout_urls: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
664
|
+
session_transfer: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
665
|
+
oidc_logout: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
666
|
+
grant_types: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
667
|
+
jwt_configuration: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
668
|
+
signing_keys: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
|
|
669
|
+
encryption_key: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
670
|
+
sso: z.ZodDefault<z.ZodBoolean>;
|
|
671
|
+
sso_disabled: z.ZodDefault<z.ZodBoolean>;
|
|
672
|
+
cross_origin_authentication: z.ZodDefault<z.ZodBoolean>;
|
|
673
|
+
cross_origin_loc: z.ZodOptional<z.ZodString>;
|
|
674
|
+
custom_login_page_on: z.ZodDefault<z.ZodBoolean>;
|
|
675
|
+
custom_login_page: z.ZodOptional<z.ZodString>;
|
|
676
|
+
custom_login_page_preview: z.ZodOptional<z.ZodString>;
|
|
677
|
+
form_template: z.ZodOptional<z.ZodString>;
|
|
678
|
+
addons: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
679
|
+
token_endpoint_auth_method: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
680
|
+
"none",
|
|
681
|
+
"client_secret_post",
|
|
682
|
+
"client_secret_basic"
|
|
683
|
+
]>>>;
|
|
684
|
+
client_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
685
|
+
mobile: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
686
|
+
initiate_login_uri: z.ZodOptional<z.ZodString>;
|
|
687
|
+
native_social_login: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
688
|
+
refresh_token: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
689
|
+
default_organization: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
690
|
+
organization_usage: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
691
|
+
"deny",
|
|
692
|
+
"allow",
|
|
693
|
+
"require"
|
|
694
|
+
]>>>;
|
|
695
|
+
organization_require_behavior: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
696
|
+
"no_prompt",
|
|
697
|
+
"pre_login_prompt",
|
|
698
|
+
"post_login_prompt"
|
|
699
|
+
]>>>;
|
|
700
|
+
client_authentication_methods: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
701
|
+
require_pushed_authorization_requests: z.ZodDefault<z.ZodBoolean>;
|
|
702
|
+
require_proof_of_possession: z.ZodDefault<z.ZodBoolean>;
|
|
703
|
+
signed_request_object: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
704
|
+
compliance_level: z.ZodOptional<z.ZodEnum<[
|
|
705
|
+
"none",
|
|
706
|
+
"fapi1_adv_pkj_par",
|
|
707
|
+
"fapi1_adv_mtls_par",
|
|
708
|
+
"fapi2_sp_pkj_mtls",
|
|
709
|
+
"fapi2_sp_mtls_mtls"
|
|
710
|
+
]>>;
|
|
711
|
+
par_request_expiry: z.ZodOptional<z.ZodNumber>;
|
|
712
|
+
token_quota: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
713
|
+
}, "strip", z.ZodTypeAny, {
|
|
714
|
+
name: string;
|
|
715
|
+
client_id: string;
|
|
716
|
+
global: boolean;
|
|
717
|
+
is_first_party: boolean;
|
|
718
|
+
oidc_conformant: boolean;
|
|
719
|
+
sso: boolean;
|
|
720
|
+
sso_disabled: boolean;
|
|
721
|
+
cross_origin_authentication: boolean;
|
|
722
|
+
custom_login_page_on: boolean;
|
|
723
|
+
require_pushed_authorization_requests: boolean;
|
|
724
|
+
require_proof_of_possession: boolean;
|
|
725
|
+
description?: string | undefined;
|
|
726
|
+
refresh_token?: Record<string, any> | undefined;
|
|
727
|
+
callbacks?: string[] | undefined;
|
|
728
|
+
allowed_origins?: string[] | undefined;
|
|
729
|
+
web_origins?: string[] | undefined;
|
|
730
|
+
allowed_logout_urls?: string[] | undefined;
|
|
731
|
+
allowed_clients?: string[] | undefined;
|
|
732
|
+
addons?: Record<string, any> | undefined;
|
|
733
|
+
client_secret?: string | undefined;
|
|
734
|
+
client_metadata?: Record<string, string> | undefined;
|
|
735
|
+
app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
|
|
736
|
+
logo_uri?: string | undefined;
|
|
737
|
+
client_aliases?: string[] | undefined;
|
|
738
|
+
session_transfer?: Record<string, any> | undefined;
|
|
739
|
+
oidc_logout?: Record<string, any> | undefined;
|
|
740
|
+
grant_types?: string[] | undefined;
|
|
741
|
+
jwt_configuration?: Record<string, any> | undefined;
|
|
742
|
+
signing_keys?: Record<string, any>[] | undefined;
|
|
743
|
+
encryption_key?: Record<string, any> | undefined;
|
|
744
|
+
cross_origin_loc?: string | undefined;
|
|
745
|
+
custom_login_page?: string | undefined;
|
|
746
|
+
custom_login_page_preview?: string | undefined;
|
|
747
|
+
form_template?: string | undefined;
|
|
748
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
|
|
749
|
+
mobile?: Record<string, any> | undefined;
|
|
750
|
+
initiate_login_uri?: string | undefined;
|
|
751
|
+
native_social_login?: Record<string, any> | undefined;
|
|
752
|
+
default_organization?: Record<string, any> | undefined;
|
|
753
|
+
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
754
|
+
organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined;
|
|
755
|
+
client_authentication_methods?: Record<string, any> | undefined;
|
|
756
|
+
signed_request_object?: Record<string, any> | undefined;
|
|
757
|
+
compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
|
|
758
|
+
par_request_expiry?: number | undefined;
|
|
759
|
+
token_quota?: Record<string, any> | undefined;
|
|
760
|
+
}, {
|
|
761
|
+
name: string;
|
|
762
|
+
client_id: string;
|
|
763
|
+
description?: string | undefined;
|
|
764
|
+
refresh_token?: Record<string, any> | undefined;
|
|
765
|
+
callbacks?: string[] | undefined;
|
|
766
|
+
allowed_origins?: string[] | undefined;
|
|
767
|
+
web_origins?: string[] | undefined;
|
|
768
|
+
allowed_logout_urls?: string[] | undefined;
|
|
769
|
+
allowed_clients?: string[] | undefined;
|
|
770
|
+
addons?: Record<string, any> | undefined;
|
|
771
|
+
client_secret?: string | undefined;
|
|
772
|
+
client_metadata?: Record<string, string> | undefined;
|
|
773
|
+
global?: boolean | undefined;
|
|
774
|
+
app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
|
|
775
|
+
logo_uri?: string | undefined;
|
|
776
|
+
is_first_party?: boolean | undefined;
|
|
777
|
+
oidc_conformant?: boolean | undefined;
|
|
778
|
+
client_aliases?: string[] | undefined;
|
|
779
|
+
session_transfer?: Record<string, any> | undefined;
|
|
780
|
+
oidc_logout?: Record<string, any> | undefined;
|
|
781
|
+
grant_types?: string[] | undefined;
|
|
782
|
+
jwt_configuration?: Record<string, any> | undefined;
|
|
783
|
+
signing_keys?: Record<string, any>[] | undefined;
|
|
784
|
+
encryption_key?: Record<string, any> | undefined;
|
|
785
|
+
sso?: boolean | undefined;
|
|
786
|
+
sso_disabled?: boolean | undefined;
|
|
787
|
+
cross_origin_authentication?: boolean | undefined;
|
|
788
|
+
cross_origin_loc?: string | undefined;
|
|
789
|
+
custom_login_page_on?: boolean | undefined;
|
|
790
|
+
custom_login_page?: string | undefined;
|
|
791
|
+
custom_login_page_preview?: string | undefined;
|
|
792
|
+
form_template?: string | undefined;
|
|
793
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
|
|
794
|
+
mobile?: Record<string, any> | undefined;
|
|
795
|
+
initiate_login_uri?: string | undefined;
|
|
796
|
+
native_social_login?: Record<string, any> | undefined;
|
|
797
|
+
default_organization?: Record<string, any> | undefined;
|
|
798
|
+
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
799
|
+
organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined;
|
|
800
|
+
client_authentication_methods?: Record<string, any> | undefined;
|
|
801
|
+
require_pushed_authorization_requests?: boolean | undefined;
|
|
802
|
+
require_proof_of_possession?: boolean | undefined;
|
|
803
|
+
signed_request_object?: Record<string, any> | undefined;
|
|
804
|
+
compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
|
|
805
|
+
par_request_expiry?: number | undefined;
|
|
806
|
+
token_quota?: Record<string, any> | undefined;
|
|
807
|
+
}>;
|
|
808
|
+
export type ClientInsert = z.input<typeof clientInsertSchema>;
|
|
809
|
+
declare const clientSchema: z.ZodObject<{
|
|
810
|
+
client_id: z.ZodString;
|
|
811
|
+
name: z.ZodString;
|
|
812
|
+
description: z.ZodOptional<z.ZodString>;
|
|
813
|
+
global: z.ZodDefault<z.ZodBoolean>;
|
|
814
|
+
client_secret: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
815
|
+
app_type: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
816
|
+
"native",
|
|
817
|
+
"spa",
|
|
818
|
+
"regular_web",
|
|
819
|
+
"non_interactive",
|
|
820
|
+
"resource_server",
|
|
821
|
+
"express_configuration",
|
|
822
|
+
"rms",
|
|
823
|
+
"box",
|
|
824
|
+
"cloudbees",
|
|
825
|
+
"concur",
|
|
826
|
+
"dropbox",
|
|
827
|
+
"mscrm",
|
|
828
|
+
"echosign",
|
|
829
|
+
"egnyte",
|
|
830
|
+
"newrelic",
|
|
831
|
+
"office365",
|
|
832
|
+
"salesforce",
|
|
833
|
+
"sentry",
|
|
834
|
+
"sharepoint",
|
|
835
|
+
"slack",
|
|
836
|
+
"springcm",
|
|
837
|
+
"zendesk",
|
|
838
|
+
"zoom",
|
|
839
|
+
"sso_integration",
|
|
840
|
+
"oag"
|
|
841
|
+
]>>>;
|
|
842
|
+
logo_uri: z.ZodOptional<z.ZodString>;
|
|
843
|
+
is_first_party: z.ZodDefault<z.ZodBoolean>;
|
|
844
|
+
oidc_conformant: z.ZodDefault<z.ZodBoolean>;
|
|
845
|
+
callbacks: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
846
|
+
allowed_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
847
|
+
web_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
848
|
+
client_aliases: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
849
|
+
allowed_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
850
|
+
allowed_logout_urls: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
851
|
+
session_transfer: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
852
|
+
oidc_logout: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
853
|
+
grant_types: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
854
|
+
jwt_configuration: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
855
|
+
signing_keys: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
|
|
856
|
+
encryption_key: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
857
|
+
sso: z.ZodDefault<z.ZodBoolean>;
|
|
858
|
+
sso_disabled: z.ZodDefault<z.ZodBoolean>;
|
|
859
|
+
cross_origin_authentication: z.ZodDefault<z.ZodBoolean>;
|
|
860
|
+
cross_origin_loc: z.ZodOptional<z.ZodString>;
|
|
861
|
+
custom_login_page_on: z.ZodDefault<z.ZodBoolean>;
|
|
862
|
+
custom_login_page: z.ZodOptional<z.ZodString>;
|
|
863
|
+
custom_login_page_preview: z.ZodOptional<z.ZodString>;
|
|
864
|
+
form_template: z.ZodOptional<z.ZodString>;
|
|
865
|
+
addons: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
866
|
+
token_endpoint_auth_method: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
867
|
+
"none",
|
|
868
|
+
"client_secret_post",
|
|
869
|
+
"client_secret_basic"
|
|
870
|
+
]>>>;
|
|
871
|
+
client_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
872
|
+
mobile: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
873
|
+
initiate_login_uri: z.ZodOptional<z.ZodString>;
|
|
874
|
+
native_social_login: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
875
|
+
refresh_token: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
876
|
+
default_organization: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
877
|
+
organization_usage: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
878
|
+
"deny",
|
|
879
|
+
"allow",
|
|
880
|
+
"require"
|
|
881
|
+
]>>>;
|
|
882
|
+
organization_require_behavior: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
883
|
+
"no_prompt",
|
|
884
|
+
"pre_login_prompt",
|
|
885
|
+
"post_login_prompt"
|
|
886
|
+
]>>>;
|
|
887
|
+
client_authentication_methods: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
888
|
+
require_pushed_authorization_requests: z.ZodDefault<z.ZodBoolean>;
|
|
889
|
+
require_proof_of_possession: z.ZodDefault<z.ZodBoolean>;
|
|
890
|
+
signed_request_object: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
891
|
+
compliance_level: z.ZodOptional<z.ZodEnum<[
|
|
892
|
+
"none",
|
|
893
|
+
"fapi1_adv_pkj_par",
|
|
894
|
+
"fapi1_adv_mtls_par",
|
|
895
|
+
"fapi2_sp_pkj_mtls",
|
|
896
|
+
"fapi2_sp_mtls_mtls"
|
|
897
|
+
]>>;
|
|
898
|
+
par_request_expiry: z.ZodOptional<z.ZodNumber>;
|
|
899
|
+
token_quota: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
900
|
+
created_at: z.ZodString;
|
|
901
|
+
updated_at: z.ZodString;
|
|
902
|
+
}, "strip", z.ZodTypeAny, {
|
|
903
|
+
created_at: string;
|
|
904
|
+
updated_at: string;
|
|
905
|
+
name: string;
|
|
906
|
+
client_id: string;
|
|
907
|
+
global: boolean;
|
|
908
|
+
is_first_party: boolean;
|
|
909
|
+
oidc_conformant: boolean;
|
|
910
|
+
sso: boolean;
|
|
911
|
+
sso_disabled: boolean;
|
|
912
|
+
cross_origin_authentication: boolean;
|
|
913
|
+
custom_login_page_on: boolean;
|
|
914
|
+
require_pushed_authorization_requests: boolean;
|
|
915
|
+
require_proof_of_possession: boolean;
|
|
916
|
+
description?: string | undefined;
|
|
917
|
+
refresh_token?: Record<string, any> | undefined;
|
|
918
|
+
callbacks?: string[] | undefined;
|
|
919
|
+
allowed_origins?: string[] | undefined;
|
|
920
|
+
web_origins?: string[] | undefined;
|
|
921
|
+
allowed_logout_urls?: string[] | undefined;
|
|
922
|
+
allowed_clients?: string[] | undefined;
|
|
923
|
+
addons?: Record<string, any> | undefined;
|
|
924
|
+
client_secret?: string | undefined;
|
|
925
|
+
client_metadata?: Record<string, string> | undefined;
|
|
926
|
+
app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
|
|
927
|
+
logo_uri?: string | undefined;
|
|
928
|
+
client_aliases?: string[] | undefined;
|
|
929
|
+
session_transfer?: Record<string, any> | undefined;
|
|
930
|
+
oidc_logout?: Record<string, any> | undefined;
|
|
931
|
+
grant_types?: string[] | undefined;
|
|
932
|
+
jwt_configuration?: Record<string, any> | undefined;
|
|
933
|
+
signing_keys?: Record<string, any>[] | undefined;
|
|
934
|
+
encryption_key?: Record<string, any> | undefined;
|
|
935
|
+
cross_origin_loc?: string | undefined;
|
|
936
|
+
custom_login_page?: string | undefined;
|
|
937
|
+
custom_login_page_preview?: string | undefined;
|
|
938
|
+
form_template?: string | undefined;
|
|
939
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
|
|
940
|
+
mobile?: Record<string, any> | undefined;
|
|
941
|
+
initiate_login_uri?: string | undefined;
|
|
942
|
+
native_social_login?: Record<string, any> | undefined;
|
|
943
|
+
default_organization?: Record<string, any> | undefined;
|
|
944
|
+
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
945
|
+
organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined;
|
|
946
|
+
client_authentication_methods?: Record<string, any> | undefined;
|
|
947
|
+
signed_request_object?: Record<string, any> | undefined;
|
|
948
|
+
compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
|
|
949
|
+
par_request_expiry?: number | undefined;
|
|
950
|
+
token_quota?: Record<string, any> | undefined;
|
|
951
|
+
}, {
|
|
952
|
+
created_at: string;
|
|
953
|
+
updated_at: string;
|
|
954
|
+
name: string;
|
|
955
|
+
client_id: string;
|
|
956
|
+
description?: string | undefined;
|
|
957
|
+
refresh_token?: Record<string, any> | undefined;
|
|
958
|
+
callbacks?: string[] | undefined;
|
|
959
|
+
allowed_origins?: string[] | undefined;
|
|
960
|
+
web_origins?: string[] | undefined;
|
|
961
|
+
allowed_logout_urls?: string[] | undefined;
|
|
962
|
+
allowed_clients?: string[] | undefined;
|
|
963
|
+
addons?: Record<string, any> | undefined;
|
|
964
|
+
client_secret?: string | undefined;
|
|
965
|
+
client_metadata?: Record<string, string> | undefined;
|
|
966
|
+
global?: boolean | undefined;
|
|
967
|
+
app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
|
|
968
|
+
logo_uri?: string | undefined;
|
|
969
|
+
is_first_party?: boolean | undefined;
|
|
970
|
+
oidc_conformant?: boolean | undefined;
|
|
971
|
+
client_aliases?: string[] | undefined;
|
|
972
|
+
session_transfer?: Record<string, any> | undefined;
|
|
973
|
+
oidc_logout?: Record<string, any> | undefined;
|
|
974
|
+
grant_types?: string[] | undefined;
|
|
975
|
+
jwt_configuration?: Record<string, any> | undefined;
|
|
976
|
+
signing_keys?: Record<string, any>[] | undefined;
|
|
977
|
+
encryption_key?: Record<string, any> | undefined;
|
|
978
|
+
sso?: boolean | undefined;
|
|
979
|
+
sso_disabled?: boolean | undefined;
|
|
980
|
+
cross_origin_authentication?: boolean | undefined;
|
|
981
|
+
cross_origin_loc?: string | undefined;
|
|
982
|
+
custom_login_page_on?: boolean | undefined;
|
|
983
|
+
custom_login_page?: string | undefined;
|
|
984
|
+
custom_login_page_preview?: string | undefined;
|
|
985
|
+
form_template?: string | undefined;
|
|
986
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
|
|
987
|
+
mobile?: Record<string, any> | undefined;
|
|
988
|
+
initiate_login_uri?: string | undefined;
|
|
989
|
+
native_social_login?: Record<string, any> | undefined;
|
|
990
|
+
default_organization?: Record<string, any> | undefined;
|
|
991
|
+
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
992
|
+
organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined;
|
|
993
|
+
client_authentication_methods?: Record<string, any> | undefined;
|
|
994
|
+
require_pushed_authorization_requests?: boolean | undefined;
|
|
995
|
+
require_proof_of_possession?: boolean | undefined;
|
|
996
|
+
signed_request_object?: Record<string, any> | undefined;
|
|
997
|
+
compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
|
|
998
|
+
par_request_expiry?: number | undefined;
|
|
999
|
+
token_quota?: Record<string, any> | undefined;
|
|
1000
|
+
}>;
|
|
1001
|
+
export type Client = z.infer<typeof clientSchema>;
|
|
622
1002
|
declare enum AuthorizationResponseType {
|
|
623
1003
|
TOKEN = "token",
|
|
624
1004
|
TOKEN_ID_TOKEN = "token id_token",
|
|
@@ -880,121 +1260,116 @@ declare const LegacyClientSchema: z.ZodObject<{
|
|
|
880
1260
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
881
1261
|
enabled_clients?: string[] | undefined;
|
|
882
1262
|
}>, "many">;
|
|
883
|
-
|
|
1263
|
+
disable_sign_ups: z.ZodBoolean;
|
|
1264
|
+
email_validation: z.ZodString;
|
|
1265
|
+
client_id: z.ZodString;
|
|
884
1266
|
name: z.ZodString;
|
|
1267
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1268
|
+
global: z.ZodDefault<z.ZodBoolean>;
|
|
1269
|
+
client_secret: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1270
|
+
app_type: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
1271
|
+
"native",
|
|
1272
|
+
"spa",
|
|
1273
|
+
"regular_web",
|
|
1274
|
+
"non_interactive",
|
|
1275
|
+
"resource_server",
|
|
1276
|
+
"express_configuration",
|
|
1277
|
+
"rms",
|
|
1278
|
+
"box",
|
|
1279
|
+
"cloudbees",
|
|
1280
|
+
"concur",
|
|
1281
|
+
"dropbox",
|
|
1282
|
+
"mscrm",
|
|
1283
|
+
"echosign",
|
|
1284
|
+
"egnyte",
|
|
1285
|
+
"newrelic",
|
|
1286
|
+
"office365",
|
|
1287
|
+
"salesforce",
|
|
1288
|
+
"sentry",
|
|
1289
|
+
"sharepoint",
|
|
1290
|
+
"slack",
|
|
1291
|
+
"springcm",
|
|
1292
|
+
"zendesk",
|
|
1293
|
+
"zoom",
|
|
1294
|
+
"sso_integration",
|
|
1295
|
+
"oag"
|
|
1296
|
+
]>>>;
|
|
1297
|
+
logo_uri: z.ZodOptional<z.ZodString>;
|
|
1298
|
+
is_first_party: z.ZodDefault<z.ZodBoolean>;
|
|
1299
|
+
oidc_conformant: z.ZodDefault<z.ZodBoolean>;
|
|
885
1300
|
callbacks: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
886
1301
|
allowed_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
887
1302
|
web_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
888
|
-
|
|
1303
|
+
client_aliases: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
889
1304
|
allowed_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
recipient?: string | undefined;
|
|
911
|
-
createUpnClaim?: boolean | undefined;
|
|
912
|
-
mapUnknownClaimsAsIs?: boolean | undefined;
|
|
913
|
-
passthroughClaimsWithNoMapping?: boolean | undefined;
|
|
914
|
-
mapIdentities?: boolean | undefined;
|
|
915
|
-
signatureAlgorithm?: string | undefined;
|
|
916
|
-
digestAlgorithm?: string | undefined;
|
|
917
|
-
issuer?: string | undefined;
|
|
918
|
-
destination?: string | undefined;
|
|
919
|
-
lifetimeInSeconds?: number | undefined;
|
|
920
|
-
signResponse?: boolean | undefined;
|
|
921
|
-
nameIdentifierFormat?: string | undefined;
|
|
922
|
-
nameIdentifierProbes?: string[] | undefined;
|
|
923
|
-
authnContextClassRef?: string | undefined;
|
|
924
|
-
mappings?: Record<string, string> | undefined;
|
|
925
|
-
}, {
|
|
926
|
-
audience?: string | undefined;
|
|
927
|
-
recipient?: string | undefined;
|
|
928
|
-
createUpnClaim?: boolean | undefined;
|
|
929
|
-
mapUnknownClaimsAsIs?: boolean | undefined;
|
|
930
|
-
passthroughClaimsWithNoMapping?: boolean | undefined;
|
|
931
|
-
mapIdentities?: boolean | undefined;
|
|
932
|
-
signatureAlgorithm?: string | undefined;
|
|
933
|
-
digestAlgorithm?: string | undefined;
|
|
934
|
-
issuer?: string | undefined;
|
|
935
|
-
destination?: string | undefined;
|
|
936
|
-
lifetimeInSeconds?: number | undefined;
|
|
937
|
-
signResponse?: boolean | undefined;
|
|
938
|
-
nameIdentifierFormat?: string | undefined;
|
|
939
|
-
nameIdentifierProbes?: string[] | undefined;
|
|
940
|
-
authnContextClassRef?: string | undefined;
|
|
941
|
-
mappings?: Record<string, string> | undefined;
|
|
942
|
-
}>>;
|
|
943
|
-
}, "strip", z.ZodTypeAny, {
|
|
944
|
-
samlp?: {
|
|
945
|
-
audience?: string | undefined;
|
|
946
|
-
recipient?: string | undefined;
|
|
947
|
-
createUpnClaim?: boolean | undefined;
|
|
948
|
-
mapUnknownClaimsAsIs?: boolean | undefined;
|
|
949
|
-
passthroughClaimsWithNoMapping?: boolean | undefined;
|
|
950
|
-
mapIdentities?: boolean | undefined;
|
|
951
|
-
signatureAlgorithm?: string | undefined;
|
|
952
|
-
digestAlgorithm?: string | undefined;
|
|
953
|
-
issuer?: string | undefined;
|
|
954
|
-
destination?: string | undefined;
|
|
955
|
-
lifetimeInSeconds?: number | undefined;
|
|
956
|
-
signResponse?: boolean | undefined;
|
|
957
|
-
nameIdentifierFormat?: string | undefined;
|
|
958
|
-
nameIdentifierProbes?: string[] | undefined;
|
|
959
|
-
authnContextClassRef?: string | undefined;
|
|
960
|
-
mappings?: Record<string, string> | undefined;
|
|
961
|
-
} | undefined;
|
|
962
|
-
}, {
|
|
963
|
-
samlp?: {
|
|
964
|
-
audience?: string | undefined;
|
|
965
|
-
recipient?: string | undefined;
|
|
966
|
-
createUpnClaim?: boolean | undefined;
|
|
967
|
-
mapUnknownClaimsAsIs?: boolean | undefined;
|
|
968
|
-
passthroughClaimsWithNoMapping?: boolean | undefined;
|
|
969
|
-
mapIdentities?: boolean | undefined;
|
|
970
|
-
signatureAlgorithm?: string | undefined;
|
|
971
|
-
digestAlgorithm?: string | undefined;
|
|
972
|
-
issuer?: string | undefined;
|
|
973
|
-
destination?: string | undefined;
|
|
974
|
-
lifetimeInSeconds?: number | undefined;
|
|
975
|
-
signResponse?: boolean | undefined;
|
|
976
|
-
nameIdentifierFormat?: string | undefined;
|
|
977
|
-
nameIdentifierProbes?: string[] | undefined;
|
|
978
|
-
authnContextClassRef?: string | undefined;
|
|
979
|
-
mappings?: Record<string, string> | undefined;
|
|
980
|
-
} | undefined;
|
|
981
|
-
}>>>;
|
|
982
|
-
email_validation: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
983
|
-
"enabled",
|
|
984
|
-
"disabled",
|
|
985
|
-
"enforced"
|
|
1305
|
+
allowed_logout_urls: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1306
|
+
session_transfer: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1307
|
+
oidc_logout: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1308
|
+
grant_types: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1309
|
+
jwt_configuration: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1310
|
+
signing_keys: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
|
|
1311
|
+
encryption_key: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1312
|
+
sso: z.ZodDefault<z.ZodBoolean>;
|
|
1313
|
+
sso_disabled: z.ZodDefault<z.ZodBoolean>;
|
|
1314
|
+
cross_origin_authentication: z.ZodDefault<z.ZodBoolean>;
|
|
1315
|
+
cross_origin_loc: z.ZodOptional<z.ZodString>;
|
|
1316
|
+
custom_login_page_on: z.ZodDefault<z.ZodBoolean>;
|
|
1317
|
+
custom_login_page: z.ZodOptional<z.ZodString>;
|
|
1318
|
+
custom_login_page_preview: z.ZodOptional<z.ZodString>;
|
|
1319
|
+
form_template: z.ZodOptional<z.ZodString>;
|
|
1320
|
+
addons: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1321
|
+
token_endpoint_auth_method: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
1322
|
+
"none",
|
|
1323
|
+
"client_secret_post",
|
|
1324
|
+
"client_secret_basic"
|
|
986
1325
|
]>>>;
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
1326
|
+
client_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
1327
|
+
mobile: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1328
|
+
initiate_login_uri: z.ZodOptional<z.ZodString>;
|
|
1329
|
+
native_social_login: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1330
|
+
refresh_token: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1331
|
+
default_organization: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1332
|
+
organization_usage: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
1333
|
+
"deny",
|
|
1334
|
+
"allow",
|
|
1335
|
+
"require"
|
|
1336
|
+
]>>>;
|
|
1337
|
+
organization_require_behavior: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
1338
|
+
"no_prompt",
|
|
1339
|
+
"pre_login_prompt",
|
|
1340
|
+
"post_login_prompt"
|
|
1341
|
+
]>>>;
|
|
1342
|
+
client_authentication_methods: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1343
|
+
require_pushed_authorization_requests: z.ZodDefault<z.ZodBoolean>;
|
|
1344
|
+
require_proof_of_possession: z.ZodDefault<z.ZodBoolean>;
|
|
1345
|
+
signed_request_object: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1346
|
+
compliance_level: z.ZodOptional<z.ZodEnum<[
|
|
1347
|
+
"none",
|
|
1348
|
+
"fapi1_adv_pkj_par",
|
|
1349
|
+
"fapi1_adv_mtls_par",
|
|
1350
|
+
"fapi2_sp_pkj_mtls",
|
|
1351
|
+
"fapi2_sp_mtls_mtls"
|
|
1352
|
+
]>>;
|
|
1353
|
+
par_request_expiry: z.ZodOptional<z.ZodNumber>;
|
|
1354
|
+
token_quota: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1355
|
+
created_at: z.ZodString;
|
|
1356
|
+
updated_at: z.ZodString;
|
|
992
1357
|
}, "strip", z.ZodTypeAny, {
|
|
993
1358
|
created_at: string;
|
|
994
1359
|
updated_at: string;
|
|
995
1360
|
name: string;
|
|
996
|
-
|
|
1361
|
+
email_validation: string;
|
|
997
1362
|
disable_sign_ups: boolean;
|
|
1363
|
+
client_id: string;
|
|
1364
|
+
global: boolean;
|
|
1365
|
+
is_first_party: boolean;
|
|
1366
|
+
oidc_conformant: boolean;
|
|
1367
|
+
sso: boolean;
|
|
1368
|
+
sso_disabled: boolean;
|
|
1369
|
+
cross_origin_authentication: boolean;
|
|
1370
|
+
custom_login_page_on: boolean;
|
|
1371
|
+
require_pushed_authorization_requests: boolean;
|
|
1372
|
+
require_proof_of_possession: boolean;
|
|
998
1373
|
tenant: {
|
|
999
1374
|
created_at: string;
|
|
1000
1375
|
updated_at: string;
|
|
@@ -1039,39 +1414,48 @@ declare const LegacyClientSchema: z.ZodObject<{
|
|
|
1039
1414
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1040
1415
|
enabled_clients?: string[] | undefined;
|
|
1041
1416
|
}[];
|
|
1417
|
+
description?: string | undefined;
|
|
1418
|
+
refresh_token?: Record<string, any> | undefined;
|
|
1042
1419
|
callbacks?: string[] | undefined;
|
|
1043
1420
|
allowed_origins?: string[] | undefined;
|
|
1044
1421
|
web_origins?: string[] | undefined;
|
|
1045
1422
|
allowed_logout_urls?: string[] | undefined;
|
|
1046
1423
|
allowed_clients?: string[] | undefined;
|
|
1047
|
-
addons?:
|
|
1048
|
-
samlp?: {
|
|
1049
|
-
audience?: string | undefined;
|
|
1050
|
-
recipient?: string | undefined;
|
|
1051
|
-
createUpnClaim?: boolean | undefined;
|
|
1052
|
-
mapUnknownClaimsAsIs?: boolean | undefined;
|
|
1053
|
-
passthroughClaimsWithNoMapping?: boolean | undefined;
|
|
1054
|
-
mapIdentities?: boolean | undefined;
|
|
1055
|
-
signatureAlgorithm?: string | undefined;
|
|
1056
|
-
digestAlgorithm?: string | undefined;
|
|
1057
|
-
issuer?: string | undefined;
|
|
1058
|
-
destination?: string | undefined;
|
|
1059
|
-
lifetimeInSeconds?: number | undefined;
|
|
1060
|
-
signResponse?: boolean | undefined;
|
|
1061
|
-
nameIdentifierFormat?: string | undefined;
|
|
1062
|
-
nameIdentifierProbes?: string[] | undefined;
|
|
1063
|
-
authnContextClassRef?: string | undefined;
|
|
1064
|
-
mappings?: Record<string, string> | undefined;
|
|
1065
|
-
} | undefined;
|
|
1066
|
-
} | undefined;
|
|
1067
|
-
email_validation?: "enabled" | "disabled" | "enforced" | undefined;
|
|
1424
|
+
addons?: Record<string, any> | undefined;
|
|
1068
1425
|
client_secret?: string | undefined;
|
|
1069
1426
|
client_metadata?: Record<string, string> | undefined;
|
|
1427
|
+
app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
|
|
1428
|
+
logo_uri?: string | undefined;
|
|
1429
|
+
client_aliases?: string[] | undefined;
|
|
1430
|
+
session_transfer?: Record<string, any> | undefined;
|
|
1431
|
+
oidc_logout?: Record<string, any> | undefined;
|
|
1432
|
+
grant_types?: string[] | undefined;
|
|
1433
|
+
jwt_configuration?: Record<string, any> | undefined;
|
|
1434
|
+
signing_keys?: Record<string, any>[] | undefined;
|
|
1435
|
+
encryption_key?: Record<string, any> | undefined;
|
|
1436
|
+
cross_origin_loc?: string | undefined;
|
|
1437
|
+
custom_login_page?: string | undefined;
|
|
1438
|
+
custom_login_page_preview?: string | undefined;
|
|
1439
|
+
form_template?: string | undefined;
|
|
1440
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
|
|
1441
|
+
mobile?: Record<string, any> | undefined;
|
|
1442
|
+
initiate_login_uri?: string | undefined;
|
|
1443
|
+
native_social_login?: Record<string, any> | undefined;
|
|
1444
|
+
default_organization?: Record<string, any> | undefined;
|
|
1445
|
+
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
1446
|
+
organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined;
|
|
1447
|
+
client_authentication_methods?: Record<string, any> | undefined;
|
|
1448
|
+
signed_request_object?: Record<string, any> | undefined;
|
|
1449
|
+
compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
|
|
1450
|
+
par_request_expiry?: number | undefined;
|
|
1451
|
+
token_quota?: Record<string, any> | undefined;
|
|
1070
1452
|
}, {
|
|
1071
1453
|
created_at: string;
|
|
1072
1454
|
updated_at: string;
|
|
1073
1455
|
name: string;
|
|
1074
|
-
|
|
1456
|
+
email_validation: string;
|
|
1457
|
+
disable_sign_ups: boolean;
|
|
1458
|
+
client_id: string;
|
|
1075
1459
|
tenant: {
|
|
1076
1460
|
created_at: string;
|
|
1077
1461
|
updated_at: string;
|
|
@@ -1116,35 +1500,50 @@ declare const LegacyClientSchema: z.ZodObject<{
|
|
|
1116
1500
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1117
1501
|
enabled_clients?: string[] | undefined;
|
|
1118
1502
|
}[];
|
|
1503
|
+
description?: string | undefined;
|
|
1504
|
+
refresh_token?: Record<string, any> | undefined;
|
|
1119
1505
|
callbacks?: string[] | undefined;
|
|
1120
1506
|
allowed_origins?: string[] | undefined;
|
|
1121
1507
|
web_origins?: string[] | undefined;
|
|
1122
1508
|
allowed_logout_urls?: string[] | undefined;
|
|
1123
1509
|
allowed_clients?: string[] | undefined;
|
|
1124
|
-
addons?:
|
|
1125
|
-
samlp?: {
|
|
1126
|
-
audience?: string | undefined;
|
|
1127
|
-
recipient?: string | undefined;
|
|
1128
|
-
createUpnClaim?: boolean | undefined;
|
|
1129
|
-
mapUnknownClaimsAsIs?: boolean | undefined;
|
|
1130
|
-
passthroughClaimsWithNoMapping?: boolean | undefined;
|
|
1131
|
-
mapIdentities?: boolean | undefined;
|
|
1132
|
-
signatureAlgorithm?: string | undefined;
|
|
1133
|
-
digestAlgorithm?: string | undefined;
|
|
1134
|
-
issuer?: string | undefined;
|
|
1135
|
-
destination?: string | undefined;
|
|
1136
|
-
lifetimeInSeconds?: number | undefined;
|
|
1137
|
-
signResponse?: boolean | undefined;
|
|
1138
|
-
nameIdentifierFormat?: string | undefined;
|
|
1139
|
-
nameIdentifierProbes?: string[] | undefined;
|
|
1140
|
-
authnContextClassRef?: string | undefined;
|
|
1141
|
-
mappings?: Record<string, string> | undefined;
|
|
1142
|
-
} | undefined;
|
|
1143
|
-
} | undefined;
|
|
1144
|
-
email_validation?: "enabled" | "disabled" | "enforced" | undefined;
|
|
1510
|
+
addons?: Record<string, any> | undefined;
|
|
1145
1511
|
client_secret?: string | undefined;
|
|
1146
|
-
disable_sign_ups?: boolean | undefined;
|
|
1147
1512
|
client_metadata?: Record<string, string> | undefined;
|
|
1513
|
+
global?: boolean | undefined;
|
|
1514
|
+
app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
|
|
1515
|
+
logo_uri?: string | undefined;
|
|
1516
|
+
is_first_party?: boolean | undefined;
|
|
1517
|
+
oidc_conformant?: boolean | undefined;
|
|
1518
|
+
client_aliases?: string[] | undefined;
|
|
1519
|
+
session_transfer?: Record<string, any> | undefined;
|
|
1520
|
+
oidc_logout?: Record<string, any> | undefined;
|
|
1521
|
+
grant_types?: string[] | undefined;
|
|
1522
|
+
jwt_configuration?: Record<string, any> | undefined;
|
|
1523
|
+
signing_keys?: Record<string, any>[] | undefined;
|
|
1524
|
+
encryption_key?: Record<string, any> | undefined;
|
|
1525
|
+
sso?: boolean | undefined;
|
|
1526
|
+
sso_disabled?: boolean | undefined;
|
|
1527
|
+
cross_origin_authentication?: boolean | undefined;
|
|
1528
|
+
cross_origin_loc?: string | undefined;
|
|
1529
|
+
custom_login_page_on?: boolean | undefined;
|
|
1530
|
+
custom_login_page?: string | undefined;
|
|
1531
|
+
custom_login_page_preview?: string | undefined;
|
|
1532
|
+
form_template?: string | undefined;
|
|
1533
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
|
|
1534
|
+
mobile?: Record<string, any> | undefined;
|
|
1535
|
+
initiate_login_uri?: string | undefined;
|
|
1536
|
+
native_social_login?: Record<string, any> | undefined;
|
|
1537
|
+
default_organization?: Record<string, any> | undefined;
|
|
1538
|
+
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
1539
|
+
organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined;
|
|
1540
|
+
client_authentication_methods?: Record<string, any> | undefined;
|
|
1541
|
+
require_pushed_authorization_requests?: boolean | undefined;
|
|
1542
|
+
require_proof_of_possession?: boolean | undefined;
|
|
1543
|
+
signed_request_object?: Record<string, any> | undefined;
|
|
1544
|
+
compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
|
|
1545
|
+
par_request_expiry?: number | undefined;
|
|
1546
|
+
token_quota?: Record<string, any> | undefined;
|
|
1148
1547
|
}>;
|
|
1149
1548
|
export type LegacyClient = z.infer<typeof LegacyClientSchema>;
|
|
1150
1549
|
declare const codeTypeSchema: z.ZodEnum<[
|
|
@@ -4608,13 +5007,13 @@ declare const themeInsertSchema: z.ZodObject<{
|
|
|
4608
5007
|
logo_url: string;
|
|
4609
5008
|
header_text_alignment: "center" | "left" | "right";
|
|
4610
5009
|
logo_height: number;
|
|
4611
|
-
logo_position: "
|
|
5010
|
+
logo_position: "none" | "center" | "left" | "right";
|
|
4612
5011
|
social_buttons_layout: "bottom" | "top";
|
|
4613
5012
|
}, {
|
|
4614
5013
|
logo_url: string;
|
|
4615
5014
|
header_text_alignment: "center" | "left" | "right";
|
|
4616
5015
|
logo_height: number;
|
|
4617
|
-
logo_position: "
|
|
5016
|
+
logo_position: "none" | "center" | "left" | "right";
|
|
4618
5017
|
social_buttons_layout: "bottom" | "top";
|
|
4619
5018
|
}>;
|
|
4620
5019
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4689,7 +5088,7 @@ declare const themeInsertSchema: z.ZodObject<{
|
|
|
4689
5088
|
logo_url: string;
|
|
4690
5089
|
header_text_alignment: "center" | "left" | "right";
|
|
4691
5090
|
logo_height: number;
|
|
4692
|
-
logo_position: "
|
|
5091
|
+
logo_position: "none" | "center" | "left" | "right";
|
|
4693
5092
|
social_buttons_layout: "bottom" | "top";
|
|
4694
5093
|
};
|
|
4695
5094
|
}, {
|
|
@@ -4764,7 +5163,7 @@ declare const themeInsertSchema: z.ZodObject<{
|
|
|
4764
5163
|
logo_url: string;
|
|
4765
5164
|
header_text_alignment: "center" | "left" | "right";
|
|
4766
5165
|
logo_height: number;
|
|
4767
|
-
logo_position: "
|
|
5166
|
+
logo_position: "none" | "center" | "left" | "right";
|
|
4768
5167
|
social_buttons_layout: "bottom" | "top";
|
|
4769
5168
|
};
|
|
4770
5169
|
}>;
|
|
@@ -5038,13 +5437,13 @@ declare const themeSchema: z.ZodObject<{
|
|
|
5038
5437
|
logo_url: string;
|
|
5039
5438
|
header_text_alignment: "center" | "left" | "right";
|
|
5040
5439
|
logo_height: number;
|
|
5041
|
-
logo_position: "
|
|
5440
|
+
logo_position: "none" | "center" | "left" | "right";
|
|
5042
5441
|
social_buttons_layout: "bottom" | "top";
|
|
5043
5442
|
}, {
|
|
5044
5443
|
logo_url: string;
|
|
5045
5444
|
header_text_alignment: "center" | "left" | "right";
|
|
5046
5445
|
logo_height: number;
|
|
5047
|
-
logo_position: "
|
|
5446
|
+
logo_position: "none" | "center" | "left" | "right";
|
|
5048
5447
|
social_buttons_layout: "bottom" | "top";
|
|
5049
5448
|
}>;
|
|
5050
5449
|
} & {
|
|
@@ -5121,7 +5520,7 @@ declare const themeSchema: z.ZodObject<{
|
|
|
5121
5520
|
logo_url: string;
|
|
5122
5521
|
header_text_alignment: "center" | "left" | "right";
|
|
5123
5522
|
logo_height: number;
|
|
5124
|
-
logo_position: "
|
|
5523
|
+
logo_position: "none" | "center" | "left" | "right";
|
|
5125
5524
|
social_buttons_layout: "bottom" | "top";
|
|
5126
5525
|
};
|
|
5127
5526
|
themeId: string;
|
|
@@ -5197,7 +5596,7 @@ declare const themeSchema: z.ZodObject<{
|
|
|
5197
5596
|
logo_url: string;
|
|
5198
5597
|
header_text_alignment: "center" | "left" | "right";
|
|
5199
5598
|
logo_height: number;
|
|
5200
|
-
logo_position: "
|
|
5599
|
+
logo_position: "none" | "center" | "left" | "right";
|
|
5201
5600
|
social_buttons_layout: "bottom" | "top";
|
|
5202
5601
|
};
|
|
5203
5602
|
themeId: string;
|
|
@@ -5928,6 +6327,13 @@ declare const organizationInsertSchema: z.ZodObject<{
|
|
|
5928
6327
|
}, "strip", z.ZodTypeAny, {
|
|
5929
6328
|
name: string;
|
|
5930
6329
|
id?: string | undefined;
|
|
6330
|
+
token_quota?: {
|
|
6331
|
+
client_credentials?: {
|
|
6332
|
+
enforce: boolean;
|
|
6333
|
+
per_day: number;
|
|
6334
|
+
per_hour: number;
|
|
6335
|
+
} | undefined;
|
|
6336
|
+
} | undefined;
|
|
5931
6337
|
display_name?: string | undefined;
|
|
5932
6338
|
branding?: {
|
|
5933
6339
|
colors?: {
|
|
@@ -5943,16 +6349,16 @@ declare const organizationInsertSchema: z.ZodObject<{
|
|
|
5943
6349
|
show_as_button: boolean;
|
|
5944
6350
|
is_signup_enabled: boolean;
|
|
5945
6351
|
}[] | undefined;
|
|
6352
|
+
}, {
|
|
6353
|
+
name: string;
|
|
6354
|
+
id?: string | undefined;
|
|
5946
6355
|
token_quota?: {
|
|
5947
6356
|
client_credentials?: {
|
|
5948
|
-
enforce
|
|
5949
|
-
per_day
|
|
5950
|
-
per_hour
|
|
6357
|
+
enforce?: boolean | undefined;
|
|
6358
|
+
per_day?: number | undefined;
|
|
6359
|
+
per_hour?: number | undefined;
|
|
5951
6360
|
} | undefined;
|
|
5952
6361
|
} | undefined;
|
|
5953
|
-
}, {
|
|
5954
|
-
name: string;
|
|
5955
|
-
id?: string | undefined;
|
|
5956
6362
|
display_name?: string | undefined;
|
|
5957
6363
|
branding?: {
|
|
5958
6364
|
colors?: {
|
|
@@ -5968,13 +6374,6 @@ declare const organizationInsertSchema: z.ZodObject<{
|
|
|
5968
6374
|
show_as_button?: boolean | undefined;
|
|
5969
6375
|
is_signup_enabled?: boolean | undefined;
|
|
5970
6376
|
}[] | undefined;
|
|
5971
|
-
token_quota?: {
|
|
5972
|
-
client_credentials?: {
|
|
5973
|
-
enforce?: boolean | undefined;
|
|
5974
|
-
per_day?: number | undefined;
|
|
5975
|
-
per_hour?: number | undefined;
|
|
5976
|
-
} | undefined;
|
|
5977
|
-
} | undefined;
|
|
5978
6377
|
}>;
|
|
5979
6378
|
export type OrganizationInsert = z.infer<typeof organizationInsertSchema>;
|
|
5980
6379
|
declare const organizationSchema: z.ZodObject<{
|
|
@@ -6057,6 +6456,13 @@ declare const organizationSchema: z.ZodObject<{
|
|
|
6057
6456
|
updated_at: string;
|
|
6058
6457
|
name: string;
|
|
6059
6458
|
id: string;
|
|
6459
|
+
token_quota?: {
|
|
6460
|
+
client_credentials?: {
|
|
6461
|
+
enforce: boolean;
|
|
6462
|
+
per_day: number;
|
|
6463
|
+
per_hour: number;
|
|
6464
|
+
} | undefined;
|
|
6465
|
+
} | undefined;
|
|
6060
6466
|
display_name?: string | undefined;
|
|
6061
6467
|
branding?: {
|
|
6062
6468
|
colors?: {
|
|
@@ -6072,18 +6478,18 @@ declare const organizationSchema: z.ZodObject<{
|
|
|
6072
6478
|
show_as_button: boolean;
|
|
6073
6479
|
is_signup_enabled: boolean;
|
|
6074
6480
|
}[] | undefined;
|
|
6075
|
-
token_quota?: {
|
|
6076
|
-
client_credentials?: {
|
|
6077
|
-
enforce: boolean;
|
|
6078
|
-
per_day: number;
|
|
6079
|
-
per_hour: number;
|
|
6080
|
-
} | undefined;
|
|
6081
|
-
} | undefined;
|
|
6082
6481
|
}, {
|
|
6083
6482
|
created_at: string;
|
|
6084
6483
|
updated_at: string;
|
|
6085
6484
|
name: string;
|
|
6086
6485
|
id: string;
|
|
6486
|
+
token_quota?: {
|
|
6487
|
+
client_credentials?: {
|
|
6488
|
+
enforce?: boolean | undefined;
|
|
6489
|
+
per_day?: number | undefined;
|
|
6490
|
+
per_hour?: number | undefined;
|
|
6491
|
+
} | undefined;
|
|
6492
|
+
} | undefined;
|
|
6087
6493
|
display_name?: string | undefined;
|
|
6088
6494
|
branding?: {
|
|
6089
6495
|
colors?: {
|
|
@@ -6099,13 +6505,6 @@ declare const organizationSchema: z.ZodObject<{
|
|
|
6099
6505
|
show_as_button?: boolean | undefined;
|
|
6100
6506
|
is_signup_enabled?: boolean | undefined;
|
|
6101
6507
|
}[] | undefined;
|
|
6102
|
-
token_quota?: {
|
|
6103
|
-
client_credentials?: {
|
|
6104
|
-
enforce?: boolean | undefined;
|
|
6105
|
-
per_day?: number | undefined;
|
|
6106
|
-
per_hour?: number | undefined;
|
|
6107
|
-
} | undefined;
|
|
6108
|
-
} | undefined;
|
|
6109
6508
|
}>;
|
|
6110
6509
|
export type Organization = z.infer<typeof organizationSchema>;
|
|
6111
6510
|
declare const userOrganizationInsertSchema: z.ZodObject<{
|
|
@@ -6164,6 +6563,16 @@ export interface CacheAdapter {
|
|
|
6164
6563
|
*/
|
|
6165
6564
|
clear(): Promise<void>;
|
|
6166
6565
|
}
|
|
6566
|
+
export interface ClientsAdapter {
|
|
6567
|
+
create(tenant_id: string, params: ClientInsert): Promise<Client>;
|
|
6568
|
+
get(tenant_id: string, client_id: string): Promise<Client | null>;
|
|
6569
|
+
remove(tenant_id: string, client_id: string): Promise<boolean>;
|
|
6570
|
+
list(tenant_id: string, params?: ListParams): Promise<{
|
|
6571
|
+
clients: Client[];
|
|
6572
|
+
totals?: Totals;
|
|
6573
|
+
}>;
|
|
6574
|
+
update(tenant_id: string, client_id: string, client: Partial<Client>): Promise<boolean>;
|
|
6575
|
+
}
|
|
6167
6576
|
export interface ListCodesResponse extends Totals {
|
|
6168
6577
|
codes: Code[];
|
|
6169
6578
|
}
|
|
@@ -6391,6 +6800,7 @@ export interface DataAdapters {
|
|
|
6391
6800
|
applications: ApplicationsAdapter;
|
|
6392
6801
|
branding: BrandingAdapter;
|
|
6393
6802
|
cache?: CacheAdapter;
|
|
6803
|
+
clients: ClientsAdapter;
|
|
6394
6804
|
legacyClients: LegacyClientsAdapter;
|
|
6395
6805
|
codes: CodesAdapter;
|
|
6396
6806
|
connections: ConnectionsAdapter;
|
|
@@ -7268,9 +7678,205 @@ declare const sqlUserOrganizationSchema: z.ZodObject<{
|
|
|
7268
7678
|
user_id: string;
|
|
7269
7679
|
organization_id: string;
|
|
7270
7680
|
}>;
|
|
7681
|
+
declare const sqlClientSchema: z.ZodObject<{
|
|
7682
|
+
tenant_id: z.ZodString;
|
|
7683
|
+
global: z.ZodNumber;
|
|
7684
|
+
is_first_party: z.ZodNumber;
|
|
7685
|
+
oidc_conformant: z.ZodNumber;
|
|
7686
|
+
sso: z.ZodNumber;
|
|
7687
|
+
sso_disabled: z.ZodNumber;
|
|
7688
|
+
cross_origin_authentication: z.ZodNumber;
|
|
7689
|
+
custom_login_page_on: z.ZodNumber;
|
|
7690
|
+
require_pushed_authorization_requests: z.ZodNumber;
|
|
7691
|
+
require_proof_of_possession: z.ZodNumber;
|
|
7692
|
+
callbacks: z.ZodString;
|
|
7693
|
+
allowed_origins: z.ZodString;
|
|
7694
|
+
web_origins: z.ZodString;
|
|
7695
|
+
client_aliases: z.ZodString;
|
|
7696
|
+
allowed_clients: z.ZodString;
|
|
7697
|
+
allowed_logout_urls: z.ZodString;
|
|
7698
|
+
session_transfer: z.ZodString;
|
|
7699
|
+
oidc_logout: z.ZodString;
|
|
7700
|
+
grant_types: z.ZodString;
|
|
7701
|
+
jwt_configuration: z.ZodString;
|
|
7702
|
+
signing_keys: z.ZodString;
|
|
7703
|
+
encryption_key: z.ZodString;
|
|
7704
|
+
addons: z.ZodString;
|
|
7705
|
+
client_metadata: z.ZodString;
|
|
7706
|
+
mobile: z.ZodString;
|
|
7707
|
+
native_social_login: z.ZodString;
|
|
7708
|
+
refresh_token: z.ZodString;
|
|
7709
|
+
default_organization: z.ZodString;
|
|
7710
|
+
client_authentication_methods: z.ZodString;
|
|
7711
|
+
signed_request_object: z.ZodString;
|
|
7712
|
+
token_quota: z.ZodString;
|
|
7713
|
+
client_id: z.ZodString;
|
|
7714
|
+
name: z.ZodString;
|
|
7715
|
+
description: z.ZodOptional<z.ZodString>;
|
|
7716
|
+
client_secret: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
7717
|
+
app_type: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
7718
|
+
"native",
|
|
7719
|
+
"spa",
|
|
7720
|
+
"regular_web",
|
|
7721
|
+
"non_interactive",
|
|
7722
|
+
"resource_server",
|
|
7723
|
+
"express_configuration",
|
|
7724
|
+
"rms",
|
|
7725
|
+
"box",
|
|
7726
|
+
"cloudbees",
|
|
7727
|
+
"concur",
|
|
7728
|
+
"dropbox",
|
|
7729
|
+
"mscrm",
|
|
7730
|
+
"echosign",
|
|
7731
|
+
"egnyte",
|
|
7732
|
+
"newrelic",
|
|
7733
|
+
"office365",
|
|
7734
|
+
"salesforce",
|
|
7735
|
+
"sentry",
|
|
7736
|
+
"sharepoint",
|
|
7737
|
+
"slack",
|
|
7738
|
+
"springcm",
|
|
7739
|
+
"zendesk",
|
|
7740
|
+
"zoom",
|
|
7741
|
+
"sso_integration",
|
|
7742
|
+
"oag"
|
|
7743
|
+
]>>>;
|
|
7744
|
+
logo_uri: z.ZodOptional<z.ZodString>;
|
|
7745
|
+
cross_origin_loc: z.ZodOptional<z.ZodString>;
|
|
7746
|
+
custom_login_page: z.ZodOptional<z.ZodString>;
|
|
7747
|
+
custom_login_page_preview: z.ZodOptional<z.ZodString>;
|
|
7748
|
+
form_template: z.ZodOptional<z.ZodString>;
|
|
7749
|
+
token_endpoint_auth_method: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
7750
|
+
"none",
|
|
7751
|
+
"client_secret_post",
|
|
7752
|
+
"client_secret_basic"
|
|
7753
|
+
]>>>;
|
|
7754
|
+
initiate_login_uri: z.ZodOptional<z.ZodString>;
|
|
7755
|
+
organization_usage: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
7756
|
+
"deny",
|
|
7757
|
+
"allow",
|
|
7758
|
+
"require"
|
|
7759
|
+
]>>>;
|
|
7760
|
+
organization_require_behavior: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
7761
|
+
"no_prompt",
|
|
7762
|
+
"pre_login_prompt",
|
|
7763
|
+
"post_login_prompt"
|
|
7764
|
+
]>>>;
|
|
7765
|
+
compliance_level: z.ZodOptional<z.ZodEnum<[
|
|
7766
|
+
"none",
|
|
7767
|
+
"fapi1_adv_pkj_par",
|
|
7768
|
+
"fapi1_adv_mtls_par",
|
|
7769
|
+
"fapi2_sp_pkj_mtls",
|
|
7770
|
+
"fapi2_sp_mtls_mtls"
|
|
7771
|
+
]>>;
|
|
7772
|
+
par_request_expiry: z.ZodOptional<z.ZodNumber>;
|
|
7773
|
+
created_at: z.ZodString;
|
|
7774
|
+
updated_at: z.ZodString;
|
|
7775
|
+
}, "strip", z.ZodTypeAny, {
|
|
7776
|
+
tenant_id: string;
|
|
7777
|
+
addons: string;
|
|
7778
|
+
callbacks: string;
|
|
7779
|
+
allowed_origins: string;
|
|
7780
|
+
web_origins: string;
|
|
7781
|
+
allowed_logout_urls: string;
|
|
7782
|
+
allowed_clients: string;
|
|
7783
|
+
name: string;
|
|
7784
|
+
client_metadata: string;
|
|
7785
|
+
created_at: string;
|
|
7786
|
+
updated_at: string;
|
|
7787
|
+
client_id: string;
|
|
7788
|
+
token_quota: string;
|
|
7789
|
+
global: number;
|
|
7790
|
+
is_first_party: number;
|
|
7791
|
+
oidc_conformant: number;
|
|
7792
|
+
sso: number;
|
|
7793
|
+
sso_disabled: number;
|
|
7794
|
+
cross_origin_authentication: number;
|
|
7795
|
+
custom_login_page_on: number;
|
|
7796
|
+
require_pushed_authorization_requests: number;
|
|
7797
|
+
require_proof_of_possession: number;
|
|
7798
|
+
client_aliases: string;
|
|
7799
|
+
session_transfer: string;
|
|
7800
|
+
oidc_logout: string;
|
|
7801
|
+
grant_types: string;
|
|
7802
|
+
jwt_configuration: string;
|
|
7803
|
+
signing_keys: string;
|
|
7804
|
+
encryption_key: string;
|
|
7805
|
+
mobile: string;
|
|
7806
|
+
native_social_login: string;
|
|
7807
|
+
refresh_token: string;
|
|
7808
|
+
default_organization: string;
|
|
7809
|
+
client_authentication_methods: string;
|
|
7810
|
+
signed_request_object: string;
|
|
7811
|
+
description?: string | undefined;
|
|
7812
|
+
client_secret?: string | undefined;
|
|
7813
|
+
app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
|
|
7814
|
+
logo_uri?: string | undefined;
|
|
7815
|
+
cross_origin_loc?: string | undefined;
|
|
7816
|
+
custom_login_page?: string | undefined;
|
|
7817
|
+
custom_login_page_preview?: string | undefined;
|
|
7818
|
+
form_template?: string | undefined;
|
|
7819
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
|
|
7820
|
+
initiate_login_uri?: string | undefined;
|
|
7821
|
+
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
7822
|
+
organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined;
|
|
7823
|
+
compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
|
|
7824
|
+
par_request_expiry?: number | undefined;
|
|
7825
|
+
}, {
|
|
7826
|
+
tenant_id: string;
|
|
7827
|
+
addons: string;
|
|
7828
|
+
callbacks: string;
|
|
7829
|
+
allowed_origins: string;
|
|
7830
|
+
web_origins: string;
|
|
7831
|
+
allowed_logout_urls: string;
|
|
7832
|
+
allowed_clients: string;
|
|
7833
|
+
name: string;
|
|
7834
|
+
client_metadata: string;
|
|
7835
|
+
created_at: string;
|
|
7836
|
+
updated_at: string;
|
|
7837
|
+
client_id: string;
|
|
7838
|
+
token_quota: string;
|
|
7839
|
+
global: number;
|
|
7840
|
+
is_first_party: number;
|
|
7841
|
+
oidc_conformant: number;
|
|
7842
|
+
sso: number;
|
|
7843
|
+
sso_disabled: number;
|
|
7844
|
+
cross_origin_authentication: number;
|
|
7845
|
+
custom_login_page_on: number;
|
|
7846
|
+
require_pushed_authorization_requests: number;
|
|
7847
|
+
require_proof_of_possession: number;
|
|
7848
|
+
client_aliases: string;
|
|
7849
|
+
session_transfer: string;
|
|
7850
|
+
oidc_logout: string;
|
|
7851
|
+
grant_types: string;
|
|
7852
|
+
jwt_configuration: string;
|
|
7853
|
+
signing_keys: string;
|
|
7854
|
+
encryption_key: string;
|
|
7855
|
+
mobile: string;
|
|
7856
|
+
native_social_login: string;
|
|
7857
|
+
refresh_token: string;
|
|
7858
|
+
default_organization: string;
|
|
7859
|
+
client_authentication_methods: string;
|
|
7860
|
+
signed_request_object: string;
|
|
7861
|
+
description?: string | undefined;
|
|
7862
|
+
client_secret?: string | undefined;
|
|
7863
|
+
app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
|
|
7864
|
+
logo_uri?: string | undefined;
|
|
7865
|
+
cross_origin_loc?: string | undefined;
|
|
7866
|
+
custom_login_page?: string | undefined;
|
|
7867
|
+
custom_login_page_preview?: string | undefined;
|
|
7868
|
+
form_template?: string | undefined;
|
|
7869
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
|
|
7870
|
+
initiate_login_uri?: string | undefined;
|
|
7871
|
+
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
7872
|
+
organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined;
|
|
7873
|
+
compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
|
|
7874
|
+
par_request_expiry?: number | undefined;
|
|
7875
|
+
}>;
|
|
7271
7876
|
export interface Database {
|
|
7272
7877
|
applications: z.infer<typeof sqlApplicationSchema>;
|
|
7273
7878
|
branding: z.infer<typeof sqlBrandingSchema>;
|
|
7879
|
+
clients: z.infer<typeof sqlClientSchema>;
|
|
7274
7880
|
codes: Code & {
|
|
7275
7881
|
tenant_id: string;
|
|
7276
7882
|
};
|