@authhero/adapter-interfaces 0.89.0 → 0.91.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.
@@ -580,412 +580,6 @@ export declare const userResponseSchema: z.ZodObject<{
580
580
  user_id: z.ZodString;
581
581
  }, z.ZodAny, "strip">>;
582
582
  export type UserResponse = z.infer<typeof userResponseSchema>;
583
- export declare const samlpAddon: z.ZodObject<{
584
- audience: z.ZodOptional<z.ZodString>;
585
- recipient: z.ZodOptional<z.ZodString>;
586
- createUpnClaim: z.ZodOptional<z.ZodBoolean>;
587
- mapUnknownClaimsAsIs: z.ZodOptional<z.ZodBoolean>;
588
- passthroughClaimsWithNoMapping: z.ZodOptional<z.ZodBoolean>;
589
- mapIdentities: z.ZodOptional<z.ZodBoolean>;
590
- signatureAlgorithm: z.ZodOptional<z.ZodString>;
591
- digestAlgorithm: z.ZodOptional<z.ZodString>;
592
- issuer: z.ZodOptional<z.ZodString>;
593
- destination: z.ZodOptional<z.ZodString>;
594
- lifetimeInSeconds: z.ZodOptional<z.ZodNumber>;
595
- signResponse: z.ZodOptional<z.ZodBoolean>;
596
- nameIdentifierFormat: z.ZodOptional<z.ZodString>;
597
- nameIdentifierProbes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
598
- authnContextClassRef: z.ZodOptional<z.ZodString>;
599
- mappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
600
- }, "strip", z.ZodTypeAny, {
601
- audience?: string | undefined;
602
- recipient?: string | undefined;
603
- createUpnClaim?: boolean | undefined;
604
- mapUnknownClaimsAsIs?: boolean | undefined;
605
- passthroughClaimsWithNoMapping?: boolean | undefined;
606
- mapIdentities?: boolean | undefined;
607
- signatureAlgorithm?: string | undefined;
608
- digestAlgorithm?: string | undefined;
609
- issuer?: string | undefined;
610
- destination?: string | undefined;
611
- lifetimeInSeconds?: number | undefined;
612
- signResponse?: boolean | undefined;
613
- nameIdentifierFormat?: string | undefined;
614
- nameIdentifierProbes?: string[] | undefined;
615
- authnContextClassRef?: string | undefined;
616
- mappings?: Record<string, string> | undefined;
617
- }, {
618
- audience?: string | undefined;
619
- recipient?: string | undefined;
620
- createUpnClaim?: boolean | undefined;
621
- mapUnknownClaimsAsIs?: boolean | undefined;
622
- passthroughClaimsWithNoMapping?: boolean | undefined;
623
- mapIdentities?: boolean | undefined;
624
- signatureAlgorithm?: string | undefined;
625
- digestAlgorithm?: string | undefined;
626
- issuer?: string | undefined;
627
- destination?: string | undefined;
628
- lifetimeInSeconds?: number | undefined;
629
- signResponse?: boolean | undefined;
630
- nameIdentifierFormat?: string | undefined;
631
- nameIdentifierProbes?: string[] | undefined;
632
- authnContextClassRef?: string | undefined;
633
- mappings?: Record<string, string> | undefined;
634
- }>;
635
- export declare const applicationInsertSchema: z.ZodObject<{
636
- id: z.ZodString;
637
- name: z.ZodString;
638
- callbacks: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
639
- allowed_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
640
- web_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
641
- allowed_logout_urls: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
642
- allowed_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
643
- addons: z.ZodOptional<z.ZodDefault<z.ZodObject<{
644
- samlp: z.ZodOptional<z.ZodObject<{
645
- audience: z.ZodOptional<z.ZodString>;
646
- recipient: z.ZodOptional<z.ZodString>;
647
- createUpnClaim: z.ZodOptional<z.ZodBoolean>;
648
- mapUnknownClaimsAsIs: z.ZodOptional<z.ZodBoolean>;
649
- passthroughClaimsWithNoMapping: z.ZodOptional<z.ZodBoolean>;
650
- mapIdentities: z.ZodOptional<z.ZodBoolean>;
651
- signatureAlgorithm: z.ZodOptional<z.ZodString>;
652
- digestAlgorithm: z.ZodOptional<z.ZodString>;
653
- issuer: z.ZodOptional<z.ZodString>;
654
- destination: z.ZodOptional<z.ZodString>;
655
- lifetimeInSeconds: z.ZodOptional<z.ZodNumber>;
656
- signResponse: z.ZodOptional<z.ZodBoolean>;
657
- nameIdentifierFormat: z.ZodOptional<z.ZodString>;
658
- nameIdentifierProbes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
659
- authnContextClassRef: z.ZodOptional<z.ZodString>;
660
- mappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
661
- }, "strip", z.ZodTypeAny, {
662
- audience?: string | undefined;
663
- recipient?: string | undefined;
664
- createUpnClaim?: boolean | undefined;
665
- mapUnknownClaimsAsIs?: boolean | undefined;
666
- passthroughClaimsWithNoMapping?: boolean | undefined;
667
- mapIdentities?: boolean | undefined;
668
- signatureAlgorithm?: string | undefined;
669
- digestAlgorithm?: string | undefined;
670
- issuer?: string | undefined;
671
- destination?: string | undefined;
672
- lifetimeInSeconds?: number | undefined;
673
- signResponse?: boolean | undefined;
674
- nameIdentifierFormat?: string | undefined;
675
- nameIdentifierProbes?: string[] | undefined;
676
- authnContextClassRef?: string | undefined;
677
- mappings?: Record<string, string> | undefined;
678
- }, {
679
- audience?: string | undefined;
680
- recipient?: string | undefined;
681
- createUpnClaim?: boolean | undefined;
682
- mapUnknownClaimsAsIs?: boolean | undefined;
683
- passthroughClaimsWithNoMapping?: boolean | undefined;
684
- mapIdentities?: boolean | undefined;
685
- signatureAlgorithm?: string | undefined;
686
- digestAlgorithm?: string | undefined;
687
- issuer?: string | undefined;
688
- destination?: string | undefined;
689
- lifetimeInSeconds?: number | undefined;
690
- signResponse?: boolean | undefined;
691
- nameIdentifierFormat?: string | undefined;
692
- nameIdentifierProbes?: string[] | undefined;
693
- authnContextClassRef?: string | undefined;
694
- mappings?: Record<string, string> | undefined;
695
- }>>;
696
- }, "strip", z.ZodTypeAny, {
697
- samlp?: {
698
- audience?: string | undefined;
699
- recipient?: string | undefined;
700
- createUpnClaim?: boolean | undefined;
701
- mapUnknownClaimsAsIs?: boolean | undefined;
702
- passthroughClaimsWithNoMapping?: boolean | undefined;
703
- mapIdentities?: boolean | undefined;
704
- signatureAlgorithm?: string | undefined;
705
- digestAlgorithm?: string | undefined;
706
- issuer?: string | undefined;
707
- destination?: string | undefined;
708
- lifetimeInSeconds?: number | undefined;
709
- signResponse?: boolean | undefined;
710
- nameIdentifierFormat?: string | undefined;
711
- nameIdentifierProbes?: string[] | undefined;
712
- authnContextClassRef?: string | undefined;
713
- mappings?: Record<string, string> | undefined;
714
- } | undefined;
715
- }, {
716
- samlp?: {
717
- audience?: string | undefined;
718
- recipient?: string | undefined;
719
- createUpnClaim?: boolean | undefined;
720
- mapUnknownClaimsAsIs?: boolean | undefined;
721
- passthroughClaimsWithNoMapping?: boolean | undefined;
722
- mapIdentities?: boolean | undefined;
723
- signatureAlgorithm?: string | undefined;
724
- digestAlgorithm?: string | undefined;
725
- issuer?: string | undefined;
726
- destination?: string | undefined;
727
- lifetimeInSeconds?: number | undefined;
728
- signResponse?: boolean | undefined;
729
- nameIdentifierFormat?: string | undefined;
730
- nameIdentifierProbes?: string[] | undefined;
731
- authnContextClassRef?: string | undefined;
732
- mappings?: Record<string, string> | undefined;
733
- } | undefined;
734
- }>>>;
735
- email_validation: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
736
- "enabled",
737
- "disabled",
738
- "enforced"
739
- ]>>>;
740
- client_secret: z.ZodOptional<z.ZodDefault<z.ZodString>>;
741
- disable_sign_ups: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
742
- client_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
743
- }, "strip", z.ZodTypeAny, {
744
- name: string;
745
- id: string;
746
- disable_sign_ups: boolean;
747
- callbacks?: string[] | undefined;
748
- allowed_origins?: string[] | undefined;
749
- web_origins?: string[] | undefined;
750
- allowed_logout_urls?: string[] | undefined;
751
- allowed_clients?: string[] | undefined;
752
- addons?: {
753
- samlp?: {
754
- audience?: string | undefined;
755
- recipient?: string | undefined;
756
- createUpnClaim?: boolean | undefined;
757
- mapUnknownClaimsAsIs?: boolean | undefined;
758
- passthroughClaimsWithNoMapping?: boolean | undefined;
759
- mapIdentities?: boolean | undefined;
760
- signatureAlgorithm?: string | undefined;
761
- digestAlgorithm?: string | undefined;
762
- issuer?: string | undefined;
763
- destination?: string | undefined;
764
- lifetimeInSeconds?: number | undefined;
765
- signResponse?: boolean | undefined;
766
- nameIdentifierFormat?: string | undefined;
767
- nameIdentifierProbes?: string[] | undefined;
768
- authnContextClassRef?: string | undefined;
769
- mappings?: Record<string, string> | undefined;
770
- } | undefined;
771
- } | undefined;
772
- email_validation?: "enabled" | "disabled" | "enforced" | undefined;
773
- client_secret?: string | undefined;
774
- client_metadata?: Record<string, string> | undefined;
775
- }, {
776
- name: string;
777
- id: string;
778
- callbacks?: string[] | undefined;
779
- allowed_origins?: string[] | undefined;
780
- web_origins?: string[] | undefined;
781
- allowed_logout_urls?: string[] | undefined;
782
- allowed_clients?: string[] | undefined;
783
- addons?: {
784
- samlp?: {
785
- audience?: string | undefined;
786
- recipient?: string | undefined;
787
- createUpnClaim?: boolean | undefined;
788
- mapUnknownClaimsAsIs?: boolean | undefined;
789
- passthroughClaimsWithNoMapping?: boolean | undefined;
790
- mapIdentities?: boolean | undefined;
791
- signatureAlgorithm?: string | undefined;
792
- digestAlgorithm?: string | undefined;
793
- issuer?: string | undefined;
794
- destination?: string | undefined;
795
- lifetimeInSeconds?: number | undefined;
796
- signResponse?: boolean | undefined;
797
- nameIdentifierFormat?: string | undefined;
798
- nameIdentifierProbes?: string[] | undefined;
799
- authnContextClassRef?: string | undefined;
800
- mappings?: Record<string, string> | undefined;
801
- } | undefined;
802
- } | undefined;
803
- email_validation?: "enabled" | "disabled" | "enforced" | undefined;
804
- client_secret?: string | undefined;
805
- disable_sign_ups?: boolean | undefined;
806
- client_metadata?: Record<string, string> | undefined;
807
- }>;
808
- export type ApplicationInsert = z.input<typeof applicationInsertSchema>;
809
- export declare const applicationSchema: z.ZodObject<{
810
- id: z.ZodString;
811
- name: z.ZodString;
812
- callbacks: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
813
- allowed_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
814
- web_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
815
- allowed_logout_urls: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
816
- allowed_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
817
- addons: z.ZodOptional<z.ZodDefault<z.ZodObject<{
818
- samlp: z.ZodOptional<z.ZodObject<{
819
- audience: z.ZodOptional<z.ZodString>;
820
- recipient: z.ZodOptional<z.ZodString>;
821
- createUpnClaim: z.ZodOptional<z.ZodBoolean>;
822
- mapUnknownClaimsAsIs: z.ZodOptional<z.ZodBoolean>;
823
- passthroughClaimsWithNoMapping: z.ZodOptional<z.ZodBoolean>;
824
- mapIdentities: z.ZodOptional<z.ZodBoolean>;
825
- signatureAlgorithm: z.ZodOptional<z.ZodString>;
826
- digestAlgorithm: z.ZodOptional<z.ZodString>;
827
- issuer: z.ZodOptional<z.ZodString>;
828
- destination: z.ZodOptional<z.ZodString>;
829
- lifetimeInSeconds: z.ZodOptional<z.ZodNumber>;
830
- signResponse: z.ZodOptional<z.ZodBoolean>;
831
- nameIdentifierFormat: z.ZodOptional<z.ZodString>;
832
- nameIdentifierProbes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
833
- authnContextClassRef: z.ZodOptional<z.ZodString>;
834
- mappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
835
- }, "strip", z.ZodTypeAny, {
836
- audience?: string | undefined;
837
- recipient?: string | undefined;
838
- createUpnClaim?: boolean | undefined;
839
- mapUnknownClaimsAsIs?: boolean | undefined;
840
- passthroughClaimsWithNoMapping?: boolean | undefined;
841
- mapIdentities?: boolean | undefined;
842
- signatureAlgorithm?: string | undefined;
843
- digestAlgorithm?: string | undefined;
844
- issuer?: string | undefined;
845
- destination?: string | undefined;
846
- lifetimeInSeconds?: number | undefined;
847
- signResponse?: boolean | undefined;
848
- nameIdentifierFormat?: string | undefined;
849
- nameIdentifierProbes?: string[] | undefined;
850
- authnContextClassRef?: string | undefined;
851
- mappings?: Record<string, string> | undefined;
852
- }, {
853
- audience?: string | undefined;
854
- recipient?: string | undefined;
855
- createUpnClaim?: boolean | undefined;
856
- mapUnknownClaimsAsIs?: boolean | undefined;
857
- passthroughClaimsWithNoMapping?: boolean | undefined;
858
- mapIdentities?: boolean | undefined;
859
- signatureAlgorithm?: string | undefined;
860
- digestAlgorithm?: string | undefined;
861
- issuer?: string | undefined;
862
- destination?: string | undefined;
863
- lifetimeInSeconds?: number | undefined;
864
- signResponse?: boolean | undefined;
865
- nameIdentifierFormat?: string | undefined;
866
- nameIdentifierProbes?: string[] | undefined;
867
- authnContextClassRef?: string | undefined;
868
- mappings?: Record<string, string> | undefined;
869
- }>>;
870
- }, "strip", z.ZodTypeAny, {
871
- samlp?: {
872
- audience?: string | undefined;
873
- recipient?: string | undefined;
874
- createUpnClaim?: boolean | undefined;
875
- mapUnknownClaimsAsIs?: boolean | undefined;
876
- passthroughClaimsWithNoMapping?: boolean | undefined;
877
- mapIdentities?: boolean | undefined;
878
- signatureAlgorithm?: string | undefined;
879
- digestAlgorithm?: string | undefined;
880
- issuer?: string | undefined;
881
- destination?: string | undefined;
882
- lifetimeInSeconds?: number | undefined;
883
- signResponse?: boolean | undefined;
884
- nameIdentifierFormat?: string | undefined;
885
- nameIdentifierProbes?: string[] | undefined;
886
- authnContextClassRef?: string | undefined;
887
- mappings?: Record<string, string> | undefined;
888
- } | undefined;
889
- }, {
890
- samlp?: {
891
- audience?: string | undefined;
892
- recipient?: string | undefined;
893
- createUpnClaim?: boolean | undefined;
894
- mapUnknownClaimsAsIs?: boolean | undefined;
895
- passthroughClaimsWithNoMapping?: boolean | undefined;
896
- mapIdentities?: boolean | undefined;
897
- signatureAlgorithm?: string | undefined;
898
- digestAlgorithm?: string | undefined;
899
- issuer?: string | undefined;
900
- destination?: string | undefined;
901
- lifetimeInSeconds?: number | undefined;
902
- signResponse?: boolean | undefined;
903
- nameIdentifierFormat?: string | undefined;
904
- nameIdentifierProbes?: string[] | undefined;
905
- authnContextClassRef?: string | undefined;
906
- mappings?: Record<string, string> | undefined;
907
- } | undefined;
908
- }>>>;
909
- email_validation: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
910
- "enabled",
911
- "disabled",
912
- "enforced"
913
- ]>>>;
914
- client_secret: z.ZodOptional<z.ZodDefault<z.ZodString>>;
915
- disable_sign_ups: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
916
- client_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
917
- created_at: z.ZodEffects<z.ZodString, string, string>;
918
- updated_at: z.ZodEffects<z.ZodString, string, string>;
919
- }, "strip", z.ZodTypeAny, {
920
- created_at: string;
921
- updated_at: string;
922
- name: string;
923
- id: string;
924
- disable_sign_ups: boolean;
925
- callbacks?: string[] | undefined;
926
- allowed_origins?: string[] | undefined;
927
- web_origins?: string[] | undefined;
928
- allowed_logout_urls?: string[] | undefined;
929
- allowed_clients?: string[] | undefined;
930
- addons?: {
931
- samlp?: {
932
- audience?: string | undefined;
933
- recipient?: string | undefined;
934
- createUpnClaim?: boolean | undefined;
935
- mapUnknownClaimsAsIs?: boolean | undefined;
936
- passthroughClaimsWithNoMapping?: boolean | undefined;
937
- mapIdentities?: boolean | undefined;
938
- signatureAlgorithm?: string | undefined;
939
- digestAlgorithm?: string | undefined;
940
- issuer?: string | undefined;
941
- destination?: string | undefined;
942
- lifetimeInSeconds?: number | undefined;
943
- signResponse?: boolean | undefined;
944
- nameIdentifierFormat?: string | undefined;
945
- nameIdentifierProbes?: string[] | undefined;
946
- authnContextClassRef?: string | undefined;
947
- mappings?: Record<string, string> | undefined;
948
- } | undefined;
949
- } | undefined;
950
- email_validation?: "enabled" | "disabled" | "enforced" | undefined;
951
- client_secret?: string | undefined;
952
- client_metadata?: Record<string, string> | undefined;
953
- }, {
954
- created_at: string;
955
- updated_at: string;
956
- name: string;
957
- id: string;
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?: {
964
- samlp?: {
965
- audience?: string | undefined;
966
- recipient?: string | undefined;
967
- createUpnClaim?: boolean | undefined;
968
- mapUnknownClaimsAsIs?: boolean | undefined;
969
- passthroughClaimsWithNoMapping?: boolean | undefined;
970
- mapIdentities?: boolean | undefined;
971
- signatureAlgorithm?: string | undefined;
972
- digestAlgorithm?: string | undefined;
973
- issuer?: string | undefined;
974
- destination?: string | undefined;
975
- lifetimeInSeconds?: number | undefined;
976
- signResponse?: boolean | undefined;
977
- nameIdentifierFormat?: string | undefined;
978
- nameIdentifierProbes?: string[] | undefined;
979
- authnContextClassRef?: string | undefined;
980
- mappings?: Record<string, string> | undefined;
981
- } | undefined;
982
- } | undefined;
983
- email_validation?: "enabled" | "disabled" | "enforced" | undefined;
984
- client_secret?: string | undefined;
985
- disable_sign_ups?: boolean | undefined;
986
- client_metadata?: Record<string, string> | undefined;
987
- }>;
988
- export type Application = z.infer<typeof applicationSchema>;
989
583
  export declare const clientInsertSchema: z.ZodObject<{
990
584
  client_id: z.ZodString;
991
585
  name: z.ZodString;
@@ -1091,17 +685,15 @@ export declare const clientInsertSchema: z.ZodObject<{
1091
685
  require_proof_of_possession: boolean;
1092
686
  description?: string | undefined;
1093
687
  refresh_token?: Record<string, any> | undefined;
1094
- callbacks?: string[] | undefined;
1095
- allowed_origins?: string[] | undefined;
1096
- web_origins?: string[] | undefined;
1097
- allowed_logout_urls?: string[] | undefined;
1098
- allowed_clients?: string[] | undefined;
1099
- addons?: Record<string, any> | undefined;
1100
688
  client_secret?: string | undefined;
1101
- client_metadata?: Record<string, string> | undefined;
1102
689
  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;
1103
690
  logo_uri?: string | undefined;
691
+ callbacks?: string[] | undefined;
692
+ allowed_origins?: string[] | undefined;
693
+ web_origins?: string[] | undefined;
1104
694
  client_aliases?: string[] | undefined;
695
+ allowed_clients?: string[] | undefined;
696
+ allowed_logout_urls?: string[] | undefined;
1105
697
  session_transfer?: Record<string, any> | undefined;
1106
698
  oidc_logout?: Record<string, any> | undefined;
1107
699
  grant_types?: string[] | undefined;
@@ -1112,7 +704,9 @@ export declare const clientInsertSchema: z.ZodObject<{
1112
704
  custom_login_page?: string | undefined;
1113
705
  custom_login_page_preview?: string | undefined;
1114
706
  form_template?: string | undefined;
707
+ addons?: Record<string, any> | undefined;
1115
708
  token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
709
+ client_metadata?: Record<string, string> | undefined;
1116
710
  mobile?: Record<string, any> | undefined;
1117
711
  initiate_login_uri?: string | undefined;
1118
712
  native_social_login?: Record<string, any> | undefined;
@@ -1129,20 +723,18 @@ export declare const clientInsertSchema: z.ZodObject<{
1129
723
  client_id: string;
1130
724
  description?: string | undefined;
1131
725
  refresh_token?: Record<string, any> | undefined;
1132
- callbacks?: string[] | undefined;
1133
- allowed_origins?: string[] | undefined;
1134
- web_origins?: string[] | undefined;
1135
- allowed_logout_urls?: string[] | undefined;
1136
- allowed_clients?: string[] | undefined;
1137
- addons?: Record<string, any> | undefined;
1138
- client_secret?: string | undefined;
1139
- client_metadata?: Record<string, string> | undefined;
1140
726
  global?: boolean | undefined;
727
+ client_secret?: string | undefined;
1141
728
  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;
1142
729
  logo_uri?: string | undefined;
1143
730
  is_first_party?: boolean | undefined;
1144
731
  oidc_conformant?: boolean | undefined;
732
+ callbacks?: string[] | undefined;
733
+ allowed_origins?: string[] | undefined;
734
+ web_origins?: string[] | undefined;
1145
735
  client_aliases?: string[] | undefined;
736
+ allowed_clients?: string[] | undefined;
737
+ allowed_logout_urls?: string[] | undefined;
1146
738
  session_transfer?: Record<string, any> | undefined;
1147
739
  oidc_logout?: Record<string, any> | undefined;
1148
740
  grant_types?: string[] | undefined;
@@ -1157,7 +749,9 @@ export declare const clientInsertSchema: z.ZodObject<{
1157
749
  custom_login_page?: string | undefined;
1158
750
  custom_login_page_preview?: string | undefined;
1159
751
  form_template?: string | undefined;
752
+ addons?: Record<string, any> | undefined;
1160
753
  token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
754
+ client_metadata?: Record<string, string> | undefined;
1161
755
  mobile?: Record<string, any> | undefined;
1162
756
  initiate_login_uri?: string | undefined;
1163
757
  native_social_login?: Record<string, any> | undefined;
@@ -1282,17 +876,15 @@ export declare const clientSchema: z.ZodObject<{
1282
876
  require_proof_of_possession: boolean;
1283
877
  description?: string | undefined;
1284
878
  refresh_token?: Record<string, any> | undefined;
1285
- callbacks?: string[] | undefined;
1286
- allowed_origins?: string[] | undefined;
1287
- web_origins?: string[] | undefined;
1288
- allowed_logout_urls?: string[] | undefined;
1289
- allowed_clients?: string[] | undefined;
1290
- addons?: Record<string, any> | undefined;
1291
879
  client_secret?: string | undefined;
1292
- client_metadata?: Record<string, string> | undefined;
1293
880
  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;
1294
881
  logo_uri?: string | undefined;
882
+ callbacks?: string[] | undefined;
883
+ allowed_origins?: string[] | undefined;
884
+ web_origins?: string[] | undefined;
1295
885
  client_aliases?: string[] | undefined;
886
+ allowed_clients?: string[] | undefined;
887
+ allowed_logout_urls?: string[] | undefined;
1296
888
  session_transfer?: Record<string, any> | undefined;
1297
889
  oidc_logout?: Record<string, any> | undefined;
1298
890
  grant_types?: string[] | undefined;
@@ -1303,7 +895,9 @@ export declare const clientSchema: z.ZodObject<{
1303
895
  custom_login_page?: string | undefined;
1304
896
  custom_login_page_preview?: string | undefined;
1305
897
  form_template?: string | undefined;
898
+ addons?: Record<string, any> | undefined;
1306
899
  token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
900
+ client_metadata?: Record<string, string> | undefined;
1307
901
  mobile?: Record<string, any> | undefined;
1308
902
  initiate_login_uri?: string | undefined;
1309
903
  native_social_login?: Record<string, any> | undefined;
@@ -1322,20 +916,18 @@ export declare const clientSchema: z.ZodObject<{
1322
916
  client_id: string;
1323
917
  description?: string | undefined;
1324
918
  refresh_token?: Record<string, any> | undefined;
1325
- callbacks?: string[] | undefined;
1326
- allowed_origins?: string[] | undefined;
1327
- web_origins?: string[] | undefined;
1328
- allowed_logout_urls?: string[] | undefined;
1329
- allowed_clients?: string[] | undefined;
1330
- addons?: Record<string, any> | undefined;
1331
- client_secret?: string | undefined;
1332
- client_metadata?: Record<string, string> | undefined;
1333
919
  global?: boolean | undefined;
920
+ client_secret?: string | undefined;
1334
921
  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;
1335
922
  logo_uri?: string | undefined;
1336
923
  is_first_party?: boolean | undefined;
1337
924
  oidc_conformant?: boolean | undefined;
925
+ callbacks?: string[] | undefined;
926
+ allowed_origins?: string[] | undefined;
927
+ web_origins?: string[] | undefined;
1338
928
  client_aliases?: string[] | undefined;
929
+ allowed_clients?: string[] | undefined;
930
+ allowed_logout_urls?: string[] | undefined;
1339
931
  session_transfer?: Record<string, any> | undefined;
1340
932
  oidc_logout?: Record<string, any> | undefined;
1341
933
  grant_types?: string[] | undefined;
@@ -1350,7 +942,9 @@ export declare const clientSchema: z.ZodObject<{
1350
942
  custom_login_page?: string | undefined;
1351
943
  custom_login_page_preview?: string | undefined;
1352
944
  form_template?: string | undefined;
945
+ addons?: Record<string, any> | undefined;
1353
946
  token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
947
+ client_metadata?: Record<string, string> | undefined;
1354
948
  mobile?: Record<string, any> | undefined;
1355
949
  initiate_login_uri?: string | undefined;
1356
950
  native_social_login?: Record<string, any> | undefined;
@@ -1366,6 +960,132 @@ export declare const clientSchema: z.ZodObject<{
1366
960
  token_quota?: Record<string, any> | undefined;
1367
961
  }>;
1368
962
  export type Client = z.infer<typeof clientSchema>;
963
+ export declare const clientGrantInsertSchema: z.ZodObject<{
964
+ client_id: z.ZodString;
965
+ audience: z.ZodString;
966
+ scope: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
967
+ organization_usage: z.ZodOptional<z.ZodEnum<[
968
+ "deny",
969
+ "allow",
970
+ "require"
971
+ ]>>;
972
+ allow_any_organization: z.ZodOptional<z.ZodBoolean>;
973
+ is_system: z.ZodOptional<z.ZodBoolean>;
974
+ subject_type: z.ZodOptional<z.ZodEnum<[
975
+ "client",
976
+ "user"
977
+ ]>>;
978
+ authorization_details_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
979
+ }, "strip", z.ZodTypeAny, {
980
+ client_id: string;
981
+ audience: string;
982
+ organization_usage?: "deny" | "allow" | "require" | undefined;
983
+ scope?: string[] | undefined;
984
+ allow_any_organization?: boolean | undefined;
985
+ is_system?: boolean | undefined;
986
+ subject_type?: "client" | "user" | undefined;
987
+ authorization_details_types?: string[] | undefined;
988
+ }, {
989
+ client_id: string;
990
+ audience: string;
991
+ organization_usage?: "deny" | "allow" | "require" | undefined;
992
+ scope?: string[] | undefined;
993
+ allow_any_organization?: boolean | undefined;
994
+ is_system?: boolean | undefined;
995
+ subject_type?: "client" | "user" | undefined;
996
+ authorization_details_types?: string[] | undefined;
997
+ }>;
998
+ export type ClientGrantInsert = z.input<typeof clientGrantInsertSchema>;
999
+ export declare const clientGrantSchema: z.ZodObject<{
1000
+ created_at: z.ZodOptional<z.ZodString>;
1001
+ updated_at: z.ZodOptional<z.ZodString>;
1002
+ client_id: z.ZodString;
1003
+ audience: z.ZodString;
1004
+ scope: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1005
+ organization_usage: z.ZodOptional<z.ZodEnum<[
1006
+ "deny",
1007
+ "allow",
1008
+ "require"
1009
+ ]>>;
1010
+ allow_any_organization: z.ZodOptional<z.ZodBoolean>;
1011
+ is_system: z.ZodOptional<z.ZodBoolean>;
1012
+ subject_type: z.ZodOptional<z.ZodEnum<[
1013
+ "client",
1014
+ "user"
1015
+ ]>>;
1016
+ authorization_details_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1017
+ id: z.ZodString;
1018
+ }, "strip", z.ZodTypeAny, {
1019
+ client_id: string;
1020
+ audience: string;
1021
+ id: string;
1022
+ created_at?: string | undefined;
1023
+ updated_at?: string | undefined;
1024
+ organization_usage?: "deny" | "allow" | "require" | undefined;
1025
+ scope?: string[] | undefined;
1026
+ allow_any_organization?: boolean | undefined;
1027
+ is_system?: boolean | undefined;
1028
+ subject_type?: "client" | "user" | undefined;
1029
+ authorization_details_types?: string[] | undefined;
1030
+ }, {
1031
+ client_id: string;
1032
+ audience: string;
1033
+ id: string;
1034
+ created_at?: string | undefined;
1035
+ updated_at?: string | undefined;
1036
+ organization_usage?: "deny" | "allow" | "require" | undefined;
1037
+ scope?: string[] | undefined;
1038
+ allow_any_organization?: boolean | undefined;
1039
+ is_system?: boolean | undefined;
1040
+ subject_type?: "client" | "user" | undefined;
1041
+ authorization_details_types?: string[] | undefined;
1042
+ }>;
1043
+ export type ClientGrant = z.infer<typeof clientGrantSchema>;
1044
+ export declare const clientGrantListSchema: z.ZodArray<z.ZodObject<{
1045
+ created_at: z.ZodOptional<z.ZodString>;
1046
+ updated_at: z.ZodOptional<z.ZodString>;
1047
+ client_id: z.ZodString;
1048
+ audience: z.ZodString;
1049
+ scope: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1050
+ organization_usage: z.ZodOptional<z.ZodEnum<[
1051
+ "deny",
1052
+ "allow",
1053
+ "require"
1054
+ ]>>;
1055
+ allow_any_organization: z.ZodOptional<z.ZodBoolean>;
1056
+ is_system: z.ZodOptional<z.ZodBoolean>;
1057
+ subject_type: z.ZodOptional<z.ZodEnum<[
1058
+ "client",
1059
+ "user"
1060
+ ]>>;
1061
+ authorization_details_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1062
+ id: z.ZodString;
1063
+ }, "strip", z.ZodTypeAny, {
1064
+ client_id: string;
1065
+ audience: string;
1066
+ id: string;
1067
+ created_at?: string | undefined;
1068
+ updated_at?: string | undefined;
1069
+ organization_usage?: "deny" | "allow" | "require" | undefined;
1070
+ scope?: string[] | undefined;
1071
+ allow_any_organization?: boolean | undefined;
1072
+ is_system?: boolean | undefined;
1073
+ subject_type?: "client" | "user" | undefined;
1074
+ authorization_details_types?: string[] | undefined;
1075
+ }, {
1076
+ client_id: string;
1077
+ audience: string;
1078
+ id: string;
1079
+ created_at?: string | undefined;
1080
+ updated_at?: string | undefined;
1081
+ organization_usage?: "deny" | "allow" | "require" | undefined;
1082
+ scope?: string[] | undefined;
1083
+ allow_any_organization?: boolean | undefined;
1084
+ is_system?: boolean | undefined;
1085
+ subject_type?: "client" | "user" | undefined;
1086
+ authorization_details_types?: string[] | undefined;
1087
+ }>, "many">;
1088
+ export type ClientGrantList = z.infer<typeof clientGrantListSchema>;
1369
1089
  /**
1370
1090
  * Types for Auth0 Form Flow components
1371
1091
  * Based on the actual structure used by Auth0 forms API
@@ -8417,6 +8137,7 @@ export declare const authParamsSchema: z.ZodObject<{
8417
8137
  client_id: string;
8418
8138
  username?: string | undefined;
8419
8139
  audience?: string | undefined;
8140
+ scope?: string | undefined;
8420
8141
  act_as?: string | undefined;
8421
8142
  response_type?: AuthorizationResponseType | undefined;
8422
8143
  response_mode?: AuthorizationResponseMode | undefined;
@@ -8424,7 +8145,6 @@ export declare const authParamsSchema: z.ZodObject<{
8424
8145
  organization?: string | undefined;
8425
8146
  state?: string | undefined;
8426
8147
  nonce?: string | undefined;
8427
- scope?: string | undefined;
8428
8148
  prompt?: string | undefined;
8429
8149
  code_challenge_method?: CodeChallengeMethod | undefined;
8430
8150
  code_challenge?: string | undefined;
@@ -8434,6 +8154,7 @@ export declare const authParamsSchema: z.ZodObject<{
8434
8154
  client_id: string;
8435
8155
  username?: string | undefined;
8436
8156
  audience?: string | undefined;
8157
+ scope?: string | undefined;
8437
8158
  act_as?: string | undefined;
8438
8159
  response_type?: AuthorizationResponseType | undefined;
8439
8160
  response_mode?: AuthorizationResponseMode | undefined;
@@ -8441,7 +8162,6 @@ export declare const authParamsSchema: z.ZodObject<{
8441
8162
  organization?: string | undefined;
8442
8163
  state?: string | undefined;
8443
8164
  nonce?: string | undefined;
8444
- scope?: string | undefined;
8445
8165
  prompt?: string | undefined;
8446
8166
  code_challenge_method?: CodeChallengeMethod | undefined;
8447
8167
  code_challenge?: string | undefined;
@@ -8595,9 +8315,8 @@ declare const LegacyClientSchema: z.ZodObject<{
8595
8315
  twilio_token: z.ZodOptional<z.ZodString>;
8596
8316
  }, "strip", z.ZodTypeAny, {
8597
8317
  provider?: string | undefined;
8598
- issuer?: string | undefined;
8599
- client_secret?: string | undefined;
8600
8318
  client_id?: string | undefined;
8319
+ client_secret?: string | undefined;
8601
8320
  scope?: string | undefined;
8602
8321
  kid?: string | undefined;
8603
8322
  team_id?: string | undefined;
@@ -8609,14 +8328,14 @@ declare const LegacyClientSchema: z.ZodObject<{
8609
8328
  userinfo_endpoint?: string | undefined;
8610
8329
  jwks_uri?: string | undefined;
8611
8330
  discovery_url?: string | undefined;
8331
+ issuer?: string | undefined;
8612
8332
  from?: string | undefined;
8613
8333
  twilio_sid?: string | undefined;
8614
8334
  twilio_token?: string | undefined;
8615
8335
  }, {
8616
8336
  provider?: string | undefined;
8617
- issuer?: string | undefined;
8618
- client_secret?: string | undefined;
8619
8337
  client_id?: string | undefined;
8338
+ client_secret?: string | undefined;
8620
8339
  scope?: string | undefined;
8621
8340
  kid?: string | undefined;
8622
8341
  team_id?: string | undefined;
@@ -8628,6 +8347,7 @@ declare const LegacyClientSchema: z.ZodObject<{
8628
8347
  userinfo_endpoint?: string | undefined;
8629
8348
  jwks_uri?: string | undefined;
8630
8349
  discovery_url?: string | undefined;
8350
+ issuer?: string | undefined;
8631
8351
  from?: string | undefined;
8632
8352
  twilio_sid?: string | undefined;
8633
8353
  twilio_token?: string | undefined;
@@ -8638,9 +8358,8 @@ declare const LegacyClientSchema: z.ZodObject<{
8638
8358
  }, "strip", z.ZodTypeAny, {
8639
8359
  options: {
8640
8360
  provider?: string | undefined;
8641
- issuer?: string | undefined;
8642
- client_secret?: string | undefined;
8643
8361
  client_id?: string | undefined;
8362
+ client_secret?: string | undefined;
8644
8363
  scope?: string | undefined;
8645
8364
  kid?: string | undefined;
8646
8365
  team_id?: string | undefined;
@@ -8652,6 +8371,7 @@ declare const LegacyClientSchema: z.ZodObject<{
8652
8371
  userinfo_endpoint?: string | undefined;
8653
8372
  jwks_uri?: string | undefined;
8654
8373
  discovery_url?: string | undefined;
8374
+ issuer?: string | undefined;
8655
8375
  from?: string | undefined;
8656
8376
  twilio_sid?: string | undefined;
8657
8377
  twilio_token?: string | undefined;
@@ -8671,9 +8391,8 @@ declare const LegacyClientSchema: z.ZodObject<{
8671
8391
  strategy: string;
8672
8392
  options?: {
8673
8393
  provider?: string | undefined;
8674
- issuer?: string | undefined;
8675
- client_secret?: string | undefined;
8676
8394
  client_id?: string | undefined;
8395
+ client_secret?: string | undefined;
8677
8396
  scope?: string | undefined;
8678
8397
  kid?: string | undefined;
8679
8398
  team_id?: string | undefined;
@@ -8685,6 +8404,7 @@ declare const LegacyClientSchema: z.ZodObject<{
8685
8404
  userinfo_endpoint?: string | undefined;
8686
8405
  jwks_uri?: string | undefined;
8687
8406
  discovery_url?: string | undefined;
8407
+ issuer?: string | undefined;
8688
8408
  from?: string | undefined;
8689
8409
  twilio_sid?: string | undefined;
8690
8410
  twilio_token?: string | undefined;
@@ -8694,121 +8414,114 @@ declare const LegacyClientSchema: z.ZodObject<{
8694
8414
  response_mode?: AuthorizationResponseMode | undefined;
8695
8415
  enabled_clients?: string[] | undefined;
8696
8416
  }>, "many">;
8697
- id: z.ZodString;
8417
+ disable_sign_ups: z.ZodBoolean;
8418
+ email_validation: z.ZodString;
8419
+ client_id: z.ZodString;
8698
8420
  name: z.ZodString;
8421
+ description: z.ZodOptional<z.ZodString>;
8422
+ global: z.ZodDefault<z.ZodBoolean>;
8423
+ client_secret: z.ZodOptional<z.ZodDefault<z.ZodString>>;
8424
+ app_type: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
8425
+ "native",
8426
+ "spa",
8427
+ "regular_web",
8428
+ "non_interactive",
8429
+ "resource_server",
8430
+ "express_configuration",
8431
+ "rms",
8432
+ "box",
8433
+ "cloudbees",
8434
+ "concur",
8435
+ "dropbox",
8436
+ "mscrm",
8437
+ "echosign",
8438
+ "egnyte",
8439
+ "newrelic",
8440
+ "office365",
8441
+ "salesforce",
8442
+ "sentry",
8443
+ "sharepoint",
8444
+ "slack",
8445
+ "springcm",
8446
+ "zendesk",
8447
+ "zoom",
8448
+ "sso_integration",
8449
+ "oag"
8450
+ ]>>>;
8451
+ logo_uri: z.ZodOptional<z.ZodString>;
8452
+ is_first_party: z.ZodDefault<z.ZodBoolean>;
8453
+ oidc_conformant: z.ZodDefault<z.ZodBoolean>;
8699
8454
  callbacks: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
8700
8455
  allowed_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
8701
8456
  web_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
8702
- allowed_logout_urls: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
8457
+ client_aliases: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
8703
8458
  allowed_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
8704
- addons: z.ZodOptional<z.ZodDefault<z.ZodObject<{
8705
- samlp: z.ZodOptional<z.ZodObject<{
8706
- audience: z.ZodOptional<z.ZodString>;
8707
- recipient: z.ZodOptional<z.ZodString>;
8708
- createUpnClaim: z.ZodOptional<z.ZodBoolean>;
8709
- mapUnknownClaimsAsIs: z.ZodOptional<z.ZodBoolean>;
8710
- passthroughClaimsWithNoMapping: z.ZodOptional<z.ZodBoolean>;
8711
- mapIdentities: z.ZodOptional<z.ZodBoolean>;
8712
- signatureAlgorithm: z.ZodOptional<z.ZodString>;
8713
- digestAlgorithm: z.ZodOptional<z.ZodString>;
8714
- issuer: z.ZodOptional<z.ZodString>;
8715
- destination: z.ZodOptional<z.ZodString>;
8716
- lifetimeInSeconds: z.ZodOptional<z.ZodNumber>;
8717
- signResponse: z.ZodOptional<z.ZodBoolean>;
8718
- nameIdentifierFormat: z.ZodOptional<z.ZodString>;
8719
- nameIdentifierProbes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8720
- authnContextClassRef: z.ZodOptional<z.ZodString>;
8721
- mappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
8722
- }, "strip", z.ZodTypeAny, {
8723
- audience?: string | undefined;
8724
- recipient?: string | undefined;
8725
- createUpnClaim?: boolean | undefined;
8726
- mapUnknownClaimsAsIs?: boolean | undefined;
8727
- passthroughClaimsWithNoMapping?: boolean | undefined;
8728
- mapIdentities?: boolean | undefined;
8729
- signatureAlgorithm?: string | undefined;
8730
- digestAlgorithm?: string | undefined;
8731
- issuer?: string | undefined;
8732
- destination?: string | undefined;
8733
- lifetimeInSeconds?: number | undefined;
8734
- signResponse?: boolean | undefined;
8735
- nameIdentifierFormat?: string | undefined;
8736
- nameIdentifierProbes?: string[] | undefined;
8737
- authnContextClassRef?: string | undefined;
8738
- mappings?: Record<string, string> | undefined;
8739
- }, {
8740
- audience?: string | undefined;
8741
- recipient?: string | undefined;
8742
- createUpnClaim?: boolean | undefined;
8743
- mapUnknownClaimsAsIs?: boolean | undefined;
8744
- passthroughClaimsWithNoMapping?: boolean | undefined;
8745
- mapIdentities?: boolean | undefined;
8746
- signatureAlgorithm?: string | undefined;
8747
- digestAlgorithm?: string | undefined;
8748
- issuer?: string | undefined;
8749
- destination?: string | undefined;
8750
- lifetimeInSeconds?: number | undefined;
8751
- signResponse?: boolean | undefined;
8752
- nameIdentifierFormat?: string | undefined;
8753
- nameIdentifierProbes?: string[] | undefined;
8754
- authnContextClassRef?: string | undefined;
8755
- mappings?: Record<string, string> | undefined;
8756
- }>>;
8757
- }, "strip", z.ZodTypeAny, {
8758
- samlp?: {
8759
- audience?: string | undefined;
8760
- recipient?: string | undefined;
8761
- createUpnClaim?: boolean | undefined;
8762
- mapUnknownClaimsAsIs?: boolean | undefined;
8763
- passthroughClaimsWithNoMapping?: boolean | undefined;
8764
- mapIdentities?: boolean | undefined;
8765
- signatureAlgorithm?: string | undefined;
8766
- digestAlgorithm?: string | undefined;
8767
- issuer?: string | undefined;
8768
- destination?: string | undefined;
8769
- lifetimeInSeconds?: number | undefined;
8770
- signResponse?: boolean | undefined;
8771
- nameIdentifierFormat?: string | undefined;
8772
- nameIdentifierProbes?: string[] | undefined;
8773
- authnContextClassRef?: string | undefined;
8774
- mappings?: Record<string, string> | undefined;
8775
- } | undefined;
8776
- }, {
8777
- samlp?: {
8778
- audience?: string | undefined;
8779
- recipient?: string | undefined;
8780
- createUpnClaim?: boolean | undefined;
8781
- mapUnknownClaimsAsIs?: boolean | undefined;
8782
- passthroughClaimsWithNoMapping?: boolean | undefined;
8783
- mapIdentities?: boolean | undefined;
8784
- signatureAlgorithm?: string | undefined;
8785
- digestAlgorithm?: string | undefined;
8786
- issuer?: string | undefined;
8787
- destination?: string | undefined;
8788
- lifetimeInSeconds?: number | undefined;
8789
- signResponse?: boolean | undefined;
8790
- nameIdentifierFormat?: string | undefined;
8791
- nameIdentifierProbes?: string[] | undefined;
8792
- authnContextClassRef?: string | undefined;
8793
- mappings?: Record<string, string> | undefined;
8794
- } | undefined;
8795
- }>>>;
8796
- email_validation: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
8797
- "enabled",
8798
- "disabled",
8799
- "enforced"
8459
+ allowed_logout_urls: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
8460
+ session_transfer: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8461
+ oidc_logout: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8462
+ grant_types: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
8463
+ jwt_configuration: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8464
+ signing_keys: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
8465
+ encryption_key: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8466
+ sso: z.ZodDefault<z.ZodBoolean>;
8467
+ sso_disabled: z.ZodDefault<z.ZodBoolean>;
8468
+ cross_origin_authentication: z.ZodDefault<z.ZodBoolean>;
8469
+ cross_origin_loc: z.ZodOptional<z.ZodString>;
8470
+ custom_login_page_on: z.ZodDefault<z.ZodBoolean>;
8471
+ custom_login_page: z.ZodOptional<z.ZodString>;
8472
+ custom_login_page_preview: z.ZodOptional<z.ZodString>;
8473
+ form_template: z.ZodOptional<z.ZodString>;
8474
+ addons: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8475
+ token_endpoint_auth_method: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
8476
+ "none",
8477
+ "client_secret_post",
8478
+ "client_secret_basic"
8800
8479
  ]>>>;
8801
- client_secret: z.ZodOptional<z.ZodDefault<z.ZodString>>;
8802
- disable_sign_ups: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
8803
- client_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
8804
- created_at: z.ZodEffects<z.ZodString, string, string>;
8805
- updated_at: z.ZodEffects<z.ZodString, string, string>;
8480
+ client_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>>;
8481
+ mobile: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8482
+ initiate_login_uri: z.ZodOptional<z.ZodString>;
8483
+ native_social_login: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8484
+ refresh_token: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8485
+ default_organization: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8486
+ organization_usage: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
8487
+ "deny",
8488
+ "allow",
8489
+ "require"
8490
+ ]>>>;
8491
+ organization_require_behavior: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
8492
+ "no_prompt",
8493
+ "pre_login_prompt",
8494
+ "post_login_prompt"
8495
+ ]>>>;
8496
+ client_authentication_methods: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8497
+ require_pushed_authorization_requests: z.ZodDefault<z.ZodBoolean>;
8498
+ require_proof_of_possession: z.ZodDefault<z.ZodBoolean>;
8499
+ signed_request_object: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8500
+ compliance_level: z.ZodOptional<z.ZodEnum<[
8501
+ "none",
8502
+ "fapi1_adv_pkj_par",
8503
+ "fapi1_adv_mtls_par",
8504
+ "fapi2_sp_pkj_mtls",
8505
+ "fapi2_sp_mtls_mtls"
8506
+ ]>>;
8507
+ par_request_expiry: z.ZodOptional<z.ZodNumber>;
8508
+ token_quota: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8509
+ created_at: z.ZodString;
8510
+ updated_at: z.ZodString;
8806
8511
  }, "strip", z.ZodTypeAny, {
8807
8512
  created_at: string;
8808
8513
  updated_at: string;
8809
8514
  name: string;
8810
- id: string;
8811
- disable_sign_ups: boolean;
8515
+ client_id: string;
8516
+ global: boolean;
8517
+ is_first_party: boolean;
8518
+ oidc_conformant: boolean;
8519
+ sso: boolean;
8520
+ sso_disabled: boolean;
8521
+ cross_origin_authentication: boolean;
8522
+ custom_login_page_on: boolean;
8523
+ require_pushed_authorization_requests: boolean;
8524
+ require_proof_of_possession: boolean;
8812
8525
  tenant: {
8813
8526
  created_at: string;
8814
8527
  updated_at: string;
@@ -8826,9 +8539,8 @@ declare const LegacyClientSchema: z.ZodObject<{
8826
8539
  connections: {
8827
8540
  options: {
8828
8541
  provider?: string | undefined;
8829
- issuer?: string | undefined;
8830
- client_secret?: string | undefined;
8831
8542
  client_id?: string | undefined;
8543
+ client_secret?: string | undefined;
8832
8544
  scope?: string | undefined;
8833
8545
  kid?: string | undefined;
8834
8546
  team_id?: string | undefined;
@@ -8840,6 +8552,7 @@ declare const LegacyClientSchema: z.ZodObject<{
8840
8552
  userinfo_endpoint?: string | undefined;
8841
8553
  jwks_uri?: string | undefined;
8842
8554
  discovery_url?: string | undefined;
8555
+ issuer?: string | undefined;
8843
8556
  from?: string | undefined;
8844
8557
  twilio_sid?: string | undefined;
8845
8558
  twilio_token?: string | undefined;
@@ -8853,39 +8566,48 @@ declare const LegacyClientSchema: z.ZodObject<{
8853
8566
  response_mode?: AuthorizationResponseMode | undefined;
8854
8567
  enabled_clients?: string[] | undefined;
8855
8568
  }[];
8569
+ disable_sign_ups: boolean;
8570
+ email_validation: string;
8571
+ description?: string | undefined;
8572
+ refresh_token?: Record<string, any> | undefined;
8573
+ client_secret?: string | undefined;
8574
+ 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;
8575
+ logo_uri?: string | undefined;
8856
8576
  callbacks?: string[] | undefined;
8857
8577
  allowed_origins?: string[] | undefined;
8858
8578
  web_origins?: string[] | undefined;
8859
- allowed_logout_urls?: string[] | undefined;
8579
+ client_aliases?: string[] | undefined;
8860
8580
  allowed_clients?: string[] | undefined;
8861
- addons?: {
8862
- samlp?: {
8863
- audience?: string | undefined;
8864
- recipient?: string | undefined;
8865
- createUpnClaim?: boolean | undefined;
8866
- mapUnknownClaimsAsIs?: boolean | undefined;
8867
- passthroughClaimsWithNoMapping?: boolean | undefined;
8868
- mapIdentities?: boolean | undefined;
8869
- signatureAlgorithm?: string | undefined;
8870
- digestAlgorithm?: string | undefined;
8871
- issuer?: string | undefined;
8872
- destination?: string | undefined;
8873
- lifetimeInSeconds?: number | undefined;
8874
- signResponse?: boolean | undefined;
8875
- nameIdentifierFormat?: string | undefined;
8876
- nameIdentifierProbes?: string[] | undefined;
8877
- authnContextClassRef?: string | undefined;
8878
- mappings?: Record<string, string> | undefined;
8879
- } | undefined;
8880
- } | undefined;
8881
- email_validation?: "enabled" | "disabled" | "enforced" | undefined;
8882
- client_secret?: string | undefined;
8581
+ allowed_logout_urls?: string[] | undefined;
8582
+ session_transfer?: Record<string, any> | undefined;
8583
+ oidc_logout?: Record<string, any> | undefined;
8584
+ grant_types?: string[] | undefined;
8585
+ jwt_configuration?: Record<string, any> | undefined;
8586
+ signing_keys?: Record<string, any>[] | undefined;
8587
+ encryption_key?: Record<string, any> | undefined;
8588
+ cross_origin_loc?: string | undefined;
8589
+ custom_login_page?: string | undefined;
8590
+ custom_login_page_preview?: string | undefined;
8591
+ form_template?: string | undefined;
8592
+ addons?: Record<string, any> | undefined;
8593
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
8883
8594
  client_metadata?: Record<string, string> | undefined;
8595
+ mobile?: Record<string, any> | undefined;
8596
+ initiate_login_uri?: string | undefined;
8597
+ native_social_login?: Record<string, any> | undefined;
8598
+ default_organization?: Record<string, any> | undefined;
8599
+ organization_usage?: "deny" | "allow" | "require" | undefined;
8600
+ organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined;
8601
+ client_authentication_methods?: Record<string, any> | undefined;
8602
+ signed_request_object?: Record<string, any> | undefined;
8603
+ compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
8604
+ par_request_expiry?: number | undefined;
8605
+ token_quota?: Record<string, any> | undefined;
8884
8606
  }, {
8885
8607
  created_at: string;
8886
8608
  updated_at: string;
8887
8609
  name: string;
8888
- id: string;
8610
+ client_id: string;
8889
8611
  tenant: {
8890
8612
  created_at: string;
8891
8613
  updated_at: string;
@@ -8907,9 +8629,8 @@ declare const LegacyClientSchema: z.ZodObject<{
8907
8629
  strategy: string;
8908
8630
  options?: {
8909
8631
  provider?: string | undefined;
8910
- issuer?: string | undefined;
8911
- client_secret?: string | undefined;
8912
8632
  client_id?: string | undefined;
8633
+ client_secret?: string | undefined;
8913
8634
  scope?: string | undefined;
8914
8635
  kid?: string | undefined;
8915
8636
  team_id?: string | undefined;
@@ -8921,6 +8642,7 @@ declare const LegacyClientSchema: z.ZodObject<{
8921
8642
  userinfo_endpoint?: string | undefined;
8922
8643
  jwks_uri?: string | undefined;
8923
8644
  discovery_url?: string | undefined;
8645
+ issuer?: string | undefined;
8924
8646
  from?: string | undefined;
8925
8647
  twilio_sid?: string | undefined;
8926
8648
  twilio_token?: string | undefined;
@@ -8930,35 +8652,52 @@ declare const LegacyClientSchema: z.ZodObject<{
8930
8652
  response_mode?: AuthorizationResponseMode | undefined;
8931
8653
  enabled_clients?: string[] | undefined;
8932
8654
  }[];
8655
+ disable_sign_ups: boolean;
8656
+ email_validation: string;
8657
+ description?: string | undefined;
8658
+ refresh_token?: Record<string, any> | undefined;
8659
+ global?: boolean | undefined;
8660
+ client_secret?: string | undefined;
8661
+ 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;
8662
+ logo_uri?: string | undefined;
8663
+ is_first_party?: boolean | undefined;
8664
+ oidc_conformant?: boolean | undefined;
8933
8665
  callbacks?: string[] | undefined;
8934
8666
  allowed_origins?: string[] | undefined;
8935
8667
  web_origins?: string[] | undefined;
8936
- allowed_logout_urls?: string[] | undefined;
8668
+ client_aliases?: string[] | undefined;
8937
8669
  allowed_clients?: string[] | undefined;
8938
- addons?: {
8939
- samlp?: {
8940
- audience?: string | undefined;
8941
- recipient?: string | undefined;
8942
- createUpnClaim?: boolean | undefined;
8943
- mapUnknownClaimsAsIs?: boolean | undefined;
8944
- passthroughClaimsWithNoMapping?: boolean | undefined;
8945
- mapIdentities?: boolean | undefined;
8946
- signatureAlgorithm?: string | undefined;
8947
- digestAlgorithm?: string | undefined;
8948
- issuer?: string | undefined;
8949
- destination?: string | undefined;
8950
- lifetimeInSeconds?: number | undefined;
8951
- signResponse?: boolean | undefined;
8952
- nameIdentifierFormat?: string | undefined;
8953
- nameIdentifierProbes?: string[] | undefined;
8954
- authnContextClassRef?: string | undefined;
8955
- mappings?: Record<string, string> | undefined;
8956
- } | undefined;
8957
- } | undefined;
8958
- email_validation?: "enabled" | "disabled" | "enforced" | undefined;
8959
- client_secret?: string | undefined;
8960
- disable_sign_ups?: boolean | undefined;
8670
+ allowed_logout_urls?: string[] | undefined;
8671
+ session_transfer?: Record<string, any> | undefined;
8672
+ oidc_logout?: Record<string, any> | undefined;
8673
+ grant_types?: string[] | undefined;
8674
+ jwt_configuration?: Record<string, any> | undefined;
8675
+ signing_keys?: Record<string, any>[] | undefined;
8676
+ encryption_key?: Record<string, any> | undefined;
8677
+ sso?: boolean | undefined;
8678
+ sso_disabled?: boolean | undefined;
8679
+ cross_origin_authentication?: boolean | undefined;
8680
+ cross_origin_loc?: string | undefined;
8681
+ custom_login_page_on?: boolean | undefined;
8682
+ custom_login_page?: string | undefined;
8683
+ custom_login_page_preview?: string | undefined;
8684
+ form_template?: string | undefined;
8685
+ addons?: Record<string, any> | undefined;
8686
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
8961
8687
  client_metadata?: Record<string, string> | undefined;
8688
+ mobile?: Record<string, any> | undefined;
8689
+ initiate_login_uri?: string | undefined;
8690
+ native_social_login?: Record<string, any> | undefined;
8691
+ default_organization?: Record<string, any> | undefined;
8692
+ organization_usage?: "deny" | "allow" | "require" | undefined;
8693
+ organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined;
8694
+ client_authentication_methods?: Record<string, any> | undefined;
8695
+ require_pushed_authorization_requests?: boolean | undefined;
8696
+ require_proof_of_possession?: boolean | undefined;
8697
+ signed_request_object?: Record<string, any> | undefined;
8698
+ compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
8699
+ par_request_expiry?: number | undefined;
8700
+ token_quota?: Record<string, any> | undefined;
8962
8701
  }>;
8963
8702
  export type LegacyClient = z.infer<typeof LegacyClientSchema>;
8964
8703
  export declare const codeTypeSchema: z.ZodEnum<[
@@ -9102,9 +8841,8 @@ export declare const connectionOptionsSchema: z.ZodObject<{
9102
8841
  twilio_token: z.ZodOptional<z.ZodString>;
9103
8842
  }, "strip", z.ZodTypeAny, {
9104
8843
  provider?: string | undefined;
9105
- issuer?: string | undefined;
9106
- client_secret?: string | undefined;
9107
8844
  client_id?: string | undefined;
8845
+ client_secret?: string | undefined;
9108
8846
  scope?: string | undefined;
9109
8847
  kid?: string | undefined;
9110
8848
  team_id?: string | undefined;
@@ -9116,14 +8854,14 @@ export declare const connectionOptionsSchema: z.ZodObject<{
9116
8854
  userinfo_endpoint?: string | undefined;
9117
8855
  jwks_uri?: string | undefined;
9118
8856
  discovery_url?: string | undefined;
8857
+ issuer?: string | undefined;
9119
8858
  from?: string | undefined;
9120
8859
  twilio_sid?: string | undefined;
9121
8860
  twilio_token?: string | undefined;
9122
8861
  }, {
9123
8862
  provider?: string | undefined;
9124
- issuer?: string | undefined;
9125
- client_secret?: string | undefined;
9126
8863
  client_id?: string | undefined;
8864
+ client_secret?: string | undefined;
9127
8865
  scope?: string | undefined;
9128
8866
  kid?: string | undefined;
9129
8867
  team_id?: string | undefined;
@@ -9135,6 +8873,7 @@ export declare const connectionOptionsSchema: z.ZodObject<{
9135
8873
  userinfo_endpoint?: string | undefined;
9136
8874
  jwks_uri?: string | undefined;
9137
8875
  discovery_url?: string | undefined;
8876
+ issuer?: string | undefined;
9138
8877
  from?: string | undefined;
9139
8878
  twilio_sid?: string | undefined;
9140
8879
  twilio_token?: string | undefined;
@@ -9164,9 +8903,8 @@ export declare const connectionInsertSchema: z.ZodObject<{
9164
8903
  twilio_token: z.ZodOptional<z.ZodString>;
9165
8904
  }, "strip", z.ZodTypeAny, {
9166
8905
  provider?: string | undefined;
9167
- issuer?: string | undefined;
9168
- client_secret?: string | undefined;
9169
8906
  client_id?: string | undefined;
8907
+ client_secret?: string | undefined;
9170
8908
  scope?: string | undefined;
9171
8909
  kid?: string | undefined;
9172
8910
  team_id?: string | undefined;
@@ -9178,14 +8916,14 @@ export declare const connectionInsertSchema: z.ZodObject<{
9178
8916
  userinfo_endpoint?: string | undefined;
9179
8917
  jwks_uri?: string | undefined;
9180
8918
  discovery_url?: string | undefined;
8919
+ issuer?: string | undefined;
9181
8920
  from?: string | undefined;
9182
8921
  twilio_sid?: string | undefined;
9183
8922
  twilio_token?: string | undefined;
9184
8923
  }, {
9185
8924
  provider?: string | undefined;
9186
- issuer?: string | undefined;
9187
- client_secret?: string | undefined;
9188
8925
  client_id?: string | undefined;
8926
+ client_secret?: string | undefined;
9189
8927
  scope?: string | undefined;
9190
8928
  kid?: string | undefined;
9191
8929
  team_id?: string | undefined;
@@ -9197,6 +8935,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
9197
8935
  userinfo_endpoint?: string | undefined;
9198
8936
  jwks_uri?: string | undefined;
9199
8937
  discovery_url?: string | undefined;
8938
+ issuer?: string | undefined;
9200
8939
  from?: string | undefined;
9201
8940
  twilio_sid?: string | undefined;
9202
8941
  twilio_token?: string | undefined;
@@ -9207,9 +8946,8 @@ export declare const connectionInsertSchema: z.ZodObject<{
9207
8946
  }, "strip", z.ZodTypeAny, {
9208
8947
  options: {
9209
8948
  provider?: string | undefined;
9210
- issuer?: string | undefined;
9211
- client_secret?: string | undefined;
9212
8949
  client_id?: string | undefined;
8950
+ client_secret?: string | undefined;
9213
8951
  scope?: string | undefined;
9214
8952
  kid?: string | undefined;
9215
8953
  team_id?: string | undefined;
@@ -9221,6 +8959,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
9221
8959
  userinfo_endpoint?: string | undefined;
9222
8960
  jwks_uri?: string | undefined;
9223
8961
  discovery_url?: string | undefined;
8962
+ issuer?: string | undefined;
9224
8963
  from?: string | undefined;
9225
8964
  twilio_sid?: string | undefined;
9226
8965
  twilio_token?: string | undefined;
@@ -9236,9 +8975,8 @@ export declare const connectionInsertSchema: z.ZodObject<{
9236
8975
  strategy: string;
9237
8976
  options?: {
9238
8977
  provider?: string | undefined;
9239
- issuer?: string | undefined;
9240
- client_secret?: string | undefined;
9241
8978
  client_id?: string | undefined;
8979
+ client_secret?: string | undefined;
9242
8980
  scope?: string | undefined;
9243
8981
  kid?: string | undefined;
9244
8982
  team_id?: string | undefined;
@@ -9250,6 +8988,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
9250
8988
  userinfo_endpoint?: string | undefined;
9251
8989
  jwks_uri?: string | undefined;
9252
8990
  discovery_url?: string | undefined;
8991
+ issuer?: string | undefined;
9253
8992
  from?: string | undefined;
9254
8993
  twilio_sid?: string | undefined;
9255
8994
  twilio_token?: string | undefined;
@@ -9288,9 +9027,8 @@ export declare const connectionSchema: z.ZodObject<{
9288
9027
  twilio_token: z.ZodOptional<z.ZodString>;
9289
9028
  }, "strip", z.ZodTypeAny, {
9290
9029
  provider?: string | undefined;
9291
- issuer?: string | undefined;
9292
- client_secret?: string | undefined;
9293
9030
  client_id?: string | undefined;
9031
+ client_secret?: string | undefined;
9294
9032
  scope?: string | undefined;
9295
9033
  kid?: string | undefined;
9296
9034
  team_id?: string | undefined;
@@ -9302,14 +9040,14 @@ export declare const connectionSchema: z.ZodObject<{
9302
9040
  userinfo_endpoint?: string | undefined;
9303
9041
  jwks_uri?: string | undefined;
9304
9042
  discovery_url?: string | undefined;
9043
+ issuer?: string | undefined;
9305
9044
  from?: string | undefined;
9306
9045
  twilio_sid?: string | undefined;
9307
9046
  twilio_token?: string | undefined;
9308
9047
  }, {
9309
9048
  provider?: string | undefined;
9310
- issuer?: string | undefined;
9311
- client_secret?: string | undefined;
9312
9049
  client_id?: string | undefined;
9050
+ client_secret?: string | undefined;
9313
9051
  scope?: string | undefined;
9314
9052
  kid?: string | undefined;
9315
9053
  team_id?: string | undefined;
@@ -9321,6 +9059,7 @@ export declare const connectionSchema: z.ZodObject<{
9321
9059
  userinfo_endpoint?: string | undefined;
9322
9060
  jwks_uri?: string | undefined;
9323
9061
  discovery_url?: string | undefined;
9062
+ issuer?: string | undefined;
9324
9063
  from?: string | undefined;
9325
9064
  twilio_sid?: string | undefined;
9326
9065
  twilio_token?: string | undefined;
@@ -9331,9 +9070,8 @@ export declare const connectionSchema: z.ZodObject<{
9331
9070
  }, "strip", z.ZodTypeAny, {
9332
9071
  options: {
9333
9072
  provider?: string | undefined;
9334
- issuer?: string | undefined;
9335
- client_secret?: string | undefined;
9336
9073
  client_id?: string | undefined;
9074
+ client_secret?: string | undefined;
9337
9075
  scope?: string | undefined;
9338
9076
  kid?: string | undefined;
9339
9077
  team_id?: string | undefined;
@@ -9345,6 +9083,7 @@ export declare const connectionSchema: z.ZodObject<{
9345
9083
  userinfo_endpoint?: string | undefined;
9346
9084
  jwks_uri?: string | undefined;
9347
9085
  discovery_url?: string | undefined;
9086
+ issuer?: string | undefined;
9348
9087
  from?: string | undefined;
9349
9088
  twilio_sid?: string | undefined;
9350
9089
  twilio_token?: string | undefined;
@@ -9364,9 +9103,8 @@ export declare const connectionSchema: z.ZodObject<{
9364
9103
  strategy: string;
9365
9104
  options?: {
9366
9105
  provider?: string | undefined;
9367
- issuer?: string | undefined;
9368
- client_secret?: string | undefined;
9369
9106
  client_id?: string | undefined;
9107
+ client_secret?: string | undefined;
9370
9108
  scope?: string | undefined;
9371
9109
  kid?: string | undefined;
9372
9110
  team_id?: string | undefined;
@@ -9378,6 +9116,7 @@ export declare const connectionSchema: z.ZodObject<{
9378
9116
  userinfo_endpoint?: string | undefined;
9379
9117
  jwks_uri?: string | undefined;
9380
9118
  discovery_url?: string | undefined;
9119
+ issuer?: string | undefined;
9381
9120
  from?: string | undefined;
9382
9121
  twilio_sid?: string | undefined;
9383
9122
  twilio_token?: string | undefined;
@@ -9644,8 +9383,8 @@ export declare const formControlSchema: z.ZodObject<{
9644
9383
  }, "strip", z.ZodTypeAny, {
9645
9384
  type: "submit";
9646
9385
  id: string;
9647
- disabled: boolean;
9648
9386
  label: string;
9387
+ disabled: boolean;
9649
9388
  visible: boolean;
9650
9389
  className?: string | undefined;
9651
9390
  order?: number | undefined;
@@ -11500,9 +11239,9 @@ export declare const hookInsertSchema: z.ZodUnion<[
11500
11239
  priority: z.ZodOptional<z.ZodNumber>;
11501
11240
  hook_id: z.ZodOptional<z.ZodString>;
11502
11241
  }, "strip", z.ZodTypeAny, {
11503
- enabled: boolean;
11504
11242
  url: string;
11505
11243
  trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
11244
+ enabled: boolean;
11506
11245
  synchronous: boolean;
11507
11246
  priority?: number | undefined;
11508
11247
  hook_id?: string | undefined;
@@ -11526,8 +11265,8 @@ export declare const hookInsertSchema: z.ZodUnion<[
11526
11265
  priority: z.ZodOptional<z.ZodNumber>;
11527
11266
  hook_id: z.ZodOptional<z.ZodString>;
11528
11267
  }, "strip", z.ZodTypeAny, {
11529
- enabled: boolean;
11530
11268
  trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
11269
+ enabled: boolean;
11531
11270
  synchronous: boolean;
11532
11271
  form_id: string;
11533
11272
  priority?: number | undefined;
@@ -11559,9 +11298,9 @@ export declare const hookSchema: z.ZodUnion<[
11559
11298
  }, "strip", z.ZodTypeAny, {
11560
11299
  created_at: string;
11561
11300
  updated_at: string;
11562
- enabled: boolean;
11563
11301
  url: string;
11564
11302
  trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
11303
+ enabled: boolean;
11565
11304
  synchronous: boolean;
11566
11305
  hook_id: string;
11567
11306
  priority?: number | undefined;
@@ -11591,8 +11330,8 @@ export declare const hookSchema: z.ZodUnion<[
11591
11330
  }, "strip", z.ZodTypeAny, {
11592
11331
  created_at: string;
11593
11332
  updated_at: string;
11594
- enabled: boolean;
11595
11333
  trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
11334
+ enabled: boolean;
11596
11335
  synchronous: boolean;
11597
11336
  hook_id: string;
11598
11337
  form_id: string;
@@ -11847,11 +11586,11 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
11847
11586
  request_parameter_supported: z.ZodBoolean;
11848
11587
  token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
11849
11588
  }, "strip", z.ZodTypeAny, {
11850
- issuer: string;
11851
11589
  authorization_endpoint: string;
11852
11590
  token_endpoint: string;
11853
11591
  userinfo_endpoint: string;
11854
11592
  jwks_uri: string;
11593
+ issuer: string;
11855
11594
  device_authorization_endpoint: string;
11856
11595
  mfa_challenge_endpoint: string;
11857
11596
  registration_endpoint: string;
@@ -11868,11 +11607,11 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
11868
11607
  request_parameter_supported: boolean;
11869
11608
  token_endpoint_auth_signing_alg_values_supported: string[];
11870
11609
  }, {
11871
- issuer: string;
11872
11610
  authorization_endpoint: string;
11873
11611
  token_endpoint: string;
11874
11612
  userinfo_endpoint: string;
11875
11613
  jwks_uri: string;
11614
+ issuer: string;
11876
11615
  device_authorization_endpoint: string;
11877
11616
  mfa_challenge_endpoint: string;
11878
11617
  registration_endpoint: string;
@@ -11923,6 +11662,7 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
11923
11662
  client_id: string;
11924
11663
  username?: string | undefined;
11925
11664
  audience?: string | undefined;
11665
+ scope?: string | undefined;
11926
11666
  act_as?: string | undefined;
11927
11667
  response_type?: AuthorizationResponseType | undefined;
11928
11668
  response_mode?: AuthorizationResponseMode | undefined;
@@ -11930,7 +11670,6 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
11930
11670
  organization?: string | undefined;
11931
11671
  state?: string | undefined;
11932
11672
  nonce?: string | undefined;
11933
- scope?: string | undefined;
11934
11673
  prompt?: string | undefined;
11935
11674
  code_challenge_method?: CodeChallengeMethod | undefined;
11936
11675
  code_challenge?: string | undefined;
@@ -11940,6 +11679,7 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
11940
11679
  client_id: string;
11941
11680
  username?: string | undefined;
11942
11681
  audience?: string | undefined;
11682
+ scope?: string | undefined;
11943
11683
  act_as?: string | undefined;
11944
11684
  response_type?: AuthorizationResponseType | undefined;
11945
11685
  response_mode?: AuthorizationResponseMode | undefined;
@@ -11947,7 +11687,6 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
11947
11687
  organization?: string | undefined;
11948
11688
  state?: string | undefined;
11949
11689
  nonce?: string | undefined;
11950
- scope?: string | undefined;
11951
11690
  prompt?: string | undefined;
11952
11691
  code_challenge_method?: CodeChallengeMethod | undefined;
11953
11692
  code_challenge?: string | undefined;
@@ -11968,6 +11707,7 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
11968
11707
  client_id: string;
11969
11708
  username?: string | undefined;
11970
11709
  audience?: string | undefined;
11710
+ scope?: string | undefined;
11971
11711
  act_as?: string | undefined;
11972
11712
  response_type?: AuthorizationResponseType | undefined;
11973
11713
  response_mode?: AuthorizationResponseMode | undefined;
@@ -11975,7 +11715,6 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
11975
11715
  organization?: string | undefined;
11976
11716
  state?: string | undefined;
11977
11717
  nonce?: string | undefined;
11978
- scope?: string | undefined;
11979
11718
  prompt?: string | undefined;
11980
11719
  code_challenge_method?: CodeChallengeMethod | undefined;
11981
11720
  code_challenge?: string | undefined;
@@ -11996,6 +11735,7 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
11996
11735
  client_id: string;
11997
11736
  username?: string | undefined;
11998
11737
  audience?: string | undefined;
11738
+ scope?: string | undefined;
11999
11739
  act_as?: string | undefined;
12000
11740
  response_type?: AuthorizationResponseType | undefined;
12001
11741
  response_mode?: AuthorizationResponseMode | undefined;
@@ -12003,7 +11743,6 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
12003
11743
  organization?: string | undefined;
12004
11744
  state?: string | undefined;
12005
11745
  nonce?: string | undefined;
12006
- scope?: string | undefined;
12007
11746
  prompt?: string | undefined;
12008
11747
  code_challenge_method?: CodeChallengeMethod | undefined;
12009
11748
  code_challenge?: string | undefined;
@@ -12046,6 +11785,7 @@ export declare const loginSessionSchema: z.ZodObject<{
12046
11785
  client_id: string;
12047
11786
  username?: string | undefined;
12048
11787
  audience?: string | undefined;
11788
+ scope?: string | undefined;
12049
11789
  act_as?: string | undefined;
12050
11790
  response_type?: AuthorizationResponseType | undefined;
12051
11791
  response_mode?: AuthorizationResponseMode | undefined;
@@ -12053,7 +11793,6 @@ export declare const loginSessionSchema: z.ZodObject<{
12053
11793
  organization?: string | undefined;
12054
11794
  state?: string | undefined;
12055
11795
  nonce?: string | undefined;
12056
- scope?: string | undefined;
12057
11796
  prompt?: string | undefined;
12058
11797
  code_challenge_method?: CodeChallengeMethod | undefined;
12059
11798
  code_challenge?: string | undefined;
@@ -12063,6 +11802,7 @@ export declare const loginSessionSchema: z.ZodObject<{
12063
11802
  client_id: string;
12064
11803
  username?: string | undefined;
12065
11804
  audience?: string | undefined;
11805
+ scope?: string | undefined;
12066
11806
  act_as?: string | undefined;
12067
11807
  response_type?: AuthorizationResponseType | undefined;
12068
11808
  response_mode?: AuthorizationResponseMode | undefined;
@@ -12070,7 +11810,6 @@ export declare const loginSessionSchema: z.ZodObject<{
12070
11810
  organization?: string | undefined;
12071
11811
  state?: string | undefined;
12072
11812
  nonce?: string | undefined;
12073
- scope?: string | undefined;
12074
11813
  prompt?: string | undefined;
12075
11814
  code_challenge_method?: CodeChallengeMethod | undefined;
12076
11815
  code_challenge?: string | undefined;
@@ -12094,6 +11833,7 @@ export declare const loginSessionSchema: z.ZodObject<{
12094
11833
  client_id: string;
12095
11834
  username?: string | undefined;
12096
11835
  audience?: string | undefined;
11836
+ scope?: string | undefined;
12097
11837
  act_as?: string | undefined;
12098
11838
  response_type?: AuthorizationResponseType | undefined;
12099
11839
  response_mode?: AuthorizationResponseMode | undefined;
@@ -12101,7 +11841,6 @@ export declare const loginSessionSchema: z.ZodObject<{
12101
11841
  organization?: string | undefined;
12102
11842
  state?: string | undefined;
12103
11843
  nonce?: string | undefined;
12104
- scope?: string | undefined;
12105
11844
  prompt?: string | undefined;
12106
11845
  code_challenge_method?: CodeChallengeMethod | undefined;
12107
11846
  code_challenge?: string | undefined;
@@ -12125,6 +11864,7 @@ export declare const loginSessionSchema: z.ZodObject<{
12125
11864
  client_id: string;
12126
11865
  username?: string | undefined;
12127
11866
  audience?: string | undefined;
11867
+ scope?: string | undefined;
12128
11868
  act_as?: string | undefined;
12129
11869
  response_type?: AuthorizationResponseType | undefined;
12130
11870
  response_mode?: AuthorizationResponseMode | undefined;
@@ -12132,7 +11872,6 @@ export declare const loginSessionSchema: z.ZodObject<{
12132
11872
  organization?: string | undefined;
12133
11873
  state?: string | undefined;
12134
11874
  nonce?: string | undefined;
12135
- scope?: string | undefined;
12136
11875
  prompt?: string | undefined;
12137
11876
  code_challenge_method?: CodeChallengeMethod | undefined;
12138
11877
  code_challenge?: string | undefined;
@@ -12377,8 +12116,8 @@ export declare const logSchema: z.ZodObject<{
12377
12116
  description?: string | undefined;
12378
12117
  connection?: string | undefined;
12379
12118
  user_id?: string | undefined;
12380
- audience?: string | undefined;
12381
12119
  client_id?: string | undefined;
12120
+ audience?: string | undefined;
12382
12121
  scope?: string[] | undefined;
12383
12122
  strategy?: string | undefined;
12384
12123
  connection_id?: string | undefined;
@@ -12405,8 +12144,8 @@ export declare const logSchema: z.ZodObject<{
12405
12144
  description?: string | undefined;
12406
12145
  connection?: string | undefined;
12407
12146
  user_id?: string | undefined;
12408
- audience?: string | undefined;
12409
12147
  client_id?: string | undefined;
12148
+ audience?: string | undefined;
12410
12149
  scope?: string[] | undefined;
12411
12150
  strategy?: string | undefined;
12412
12151
  connection_id?: string | undefined;
@@ -12762,16 +12501,16 @@ export declare const tokenResponseSchema: z.ZodObject<{
12762
12501
  token_type: string;
12763
12502
  expires_in: number;
12764
12503
  refresh_token?: string | undefined;
12765
- state?: string | undefined;
12766
12504
  scope?: string | undefined;
12505
+ state?: string | undefined;
12767
12506
  id_token?: string | undefined;
12768
12507
  }, {
12769
12508
  access_token: string;
12770
12509
  token_type: string;
12771
12510
  expires_in: number;
12772
12511
  refresh_token?: string | undefined;
12773
- state?: string | undefined;
12774
12512
  scope?: string | undefined;
12513
+ state?: string | undefined;
12775
12514
  id_token?: string | undefined;
12776
12515
  }>;
12777
12516
  export type TokenResponse = z.infer<typeof tokenResponseSchema>;
@@ -14115,8 +13854,8 @@ export declare const refreshTokenInsertSchema: z.ZodObject<{
14115
13854
  rotating: z.ZodBoolean;
14116
13855
  }, "strip", z.ZodTypeAny, {
14117
13856
  user_id: string;
14118
- id: string;
14119
13857
  client_id: string;
13858
+ id: string;
14120
13859
  session_id: string;
14121
13860
  device: {
14122
13861
  last_ip: string;
@@ -14136,8 +13875,8 @@ export declare const refreshTokenInsertSchema: z.ZodObject<{
14136
13875
  last_exchanged_at?: string | undefined;
14137
13876
  }, {
14138
13877
  user_id: string;
14139
- id: string;
14140
13878
  client_id: string;
13879
+ id: string;
14141
13880
  session_id: string;
14142
13881
  device: {
14143
13882
  last_ip: string;
@@ -14202,8 +13941,8 @@ export declare const refreshTokenSchema: z.ZodObject<{
14202
13941
  }, "strip", z.ZodTypeAny, {
14203
13942
  created_at: string;
14204
13943
  user_id: string;
14205
- id: string;
14206
13944
  client_id: string;
13945
+ id: string;
14207
13946
  session_id: string;
14208
13947
  device: {
14209
13948
  last_ip: string;
@@ -14224,8 +13963,8 @@ export declare const refreshTokenSchema: z.ZodObject<{
14224
13963
  }, {
14225
13964
  created_at: string;
14226
13965
  user_id: string;
14227
- id: string;
14228
13966
  client_id: string;
13967
+ id: string;
14229
13968
  session_id: string;
14230
13969
  device: {
14231
13970
  last_ip: string;
@@ -15128,7 +14867,6 @@ export declare const organizationInsertSchema: z.ZodObject<{
15128
14867
  }>>;
15129
14868
  }, "strip", z.ZodTypeAny, {
15130
14869
  name: string;
15131
- id?: string | undefined;
15132
14870
  token_quota?: {
15133
14871
  client_credentials?: {
15134
14872
  enforce: boolean;
@@ -15136,6 +14874,7 @@ export declare const organizationInsertSchema: z.ZodObject<{
15136
14874
  per_hour: number;
15137
14875
  } | undefined;
15138
14876
  } | undefined;
14877
+ id?: string | undefined;
15139
14878
  display_name?: string | undefined;
15140
14879
  branding?: {
15141
14880
  colors?: {
@@ -15153,7 +14892,6 @@ export declare const organizationInsertSchema: z.ZodObject<{
15153
14892
  }[] | undefined;
15154
14893
  }, {
15155
14894
  name: string;
15156
- id?: string | undefined;
15157
14895
  token_quota?: {
15158
14896
  client_credentials?: {
15159
14897
  enforce?: boolean | undefined;
@@ -15161,6 +14899,7 @@ export declare const organizationInsertSchema: z.ZodObject<{
15161
14899
  per_hour?: number | undefined;
15162
14900
  } | undefined;
15163
14901
  } | undefined;
14902
+ id?: string | undefined;
15164
14903
  display_name?: string | undefined;
15165
14904
  branding?: {
15166
14905
  colors?: {
@@ -15383,6 +15122,16 @@ export interface ClientsAdapter {
15383
15122
  }>;
15384
15123
  update(tenant_id: string, client_id: string, client: Partial<Client>): Promise<boolean>;
15385
15124
  }
15125
+ export interface ListClientGrantsResponse extends Totals {
15126
+ client_grants: ClientGrant[];
15127
+ }
15128
+ export interface ClientGrantsAdapter {
15129
+ create(tenant_id: string, params: ClientGrantInsert): Promise<ClientGrant>;
15130
+ get(tenant_id: string, id: string): Promise<ClientGrant | null>;
15131
+ list(tenant_id: string, params?: ListParams): Promise<ListClientGrantsResponse>;
15132
+ update(tenant_id: string, id: string, clientGrant: Partial<ClientGrantInsert>): Promise<boolean>;
15133
+ remove(tenant_id: string, id: string): Promise<boolean>;
15134
+ }
15386
15135
  export interface ListCodesResponse extends Totals {
15387
15136
  codes: Code[];
15388
15137
  }
@@ -15444,16 +15193,6 @@ export interface LogsDataAdapter {
15444
15193
  list(tenantId: string, params?: ListParams): Promise<ListLogsResponse>;
15445
15194
  get(tenantId: string, logId: string): Promise<LogsResponse | null>;
15446
15195
  }
15447
- export interface ApplicationsAdapter {
15448
- create(tenant_id: string, params: ApplicationInsert): Promise<Application>;
15449
- get(tenant_id: string, id: string): Promise<Application | null>;
15450
- remove(tenant_id: string, id: string): Promise<boolean>;
15451
- list(tenant_id: string, params?: ListParams): Promise<{
15452
- applications: Application[];
15453
- totals?: Totals;
15454
- }>;
15455
- update(tenant_id: string, id: string, application: Partial<Application>): Promise<boolean>;
15456
- }
15457
15196
  export interface ListConnectionsResponse extends Totals {
15458
15197
  connections: Connection[];
15459
15198
  }
@@ -15613,10 +15352,10 @@ export interface UserOrganizationsAdapter {
15613
15352
  update(tenantId: string, id: string, params: Partial<UserOrganizationInsert>): Promise<boolean>;
15614
15353
  }
15615
15354
  export interface DataAdapters {
15616
- applications: ApplicationsAdapter;
15617
15355
  branding: BrandingAdapter;
15618
15356
  cache?: CacheAdapter;
15619
15357
  clients: ClientsAdapter;
15358
+ clientGrants: ClientGrantsAdapter;
15620
15359
  legacyClients: LegacyClientsAdapter;
15621
15360
  codes: CodesAdapter;
15622
15361
  connections: ConnectionsAdapter;