authhero 0.217.0 → 0.219.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.
@@ -583,412 +583,6 @@ export declare const userResponseSchema: z.ZodObject<{
583
583
  user_id: z.ZodString;
584
584
  }, z.ZodAny, "strip">>;
585
585
  export type UserResponse = z.infer<typeof userResponseSchema>;
586
- export declare const samlpAddon: z.ZodObject<{
587
- audience: z.ZodOptional<z.ZodString>;
588
- recipient: z.ZodOptional<z.ZodString>;
589
- createUpnClaim: z.ZodOptional<z.ZodBoolean>;
590
- mapUnknownClaimsAsIs: z.ZodOptional<z.ZodBoolean>;
591
- passthroughClaimsWithNoMapping: z.ZodOptional<z.ZodBoolean>;
592
- mapIdentities: z.ZodOptional<z.ZodBoolean>;
593
- signatureAlgorithm: z.ZodOptional<z.ZodString>;
594
- digestAlgorithm: z.ZodOptional<z.ZodString>;
595
- issuer: z.ZodOptional<z.ZodString>;
596
- destination: z.ZodOptional<z.ZodString>;
597
- lifetimeInSeconds: z.ZodOptional<z.ZodNumber>;
598
- signResponse: z.ZodOptional<z.ZodBoolean>;
599
- nameIdentifierFormat: z.ZodOptional<z.ZodString>;
600
- nameIdentifierProbes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
601
- authnContextClassRef: z.ZodOptional<z.ZodString>;
602
- mappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
603
- }, "strip", z.ZodTypeAny, {
604
- audience?: string | undefined;
605
- recipient?: string | undefined;
606
- createUpnClaim?: boolean | undefined;
607
- mapUnknownClaimsAsIs?: boolean | undefined;
608
- passthroughClaimsWithNoMapping?: boolean | undefined;
609
- mapIdentities?: boolean | undefined;
610
- signatureAlgorithm?: string | undefined;
611
- digestAlgorithm?: string | undefined;
612
- issuer?: string | undefined;
613
- destination?: string | undefined;
614
- lifetimeInSeconds?: number | undefined;
615
- signResponse?: boolean | undefined;
616
- nameIdentifierFormat?: string | undefined;
617
- nameIdentifierProbes?: string[] | undefined;
618
- authnContextClassRef?: string | undefined;
619
- mappings?: Record<string, string> | undefined;
620
- }, {
621
- audience?: string | undefined;
622
- recipient?: string | undefined;
623
- createUpnClaim?: boolean | undefined;
624
- mapUnknownClaimsAsIs?: boolean | undefined;
625
- passthroughClaimsWithNoMapping?: boolean | undefined;
626
- mapIdentities?: boolean | undefined;
627
- signatureAlgorithm?: string | undefined;
628
- digestAlgorithm?: string | undefined;
629
- issuer?: string | undefined;
630
- destination?: string | undefined;
631
- lifetimeInSeconds?: number | undefined;
632
- signResponse?: boolean | undefined;
633
- nameIdentifierFormat?: string | undefined;
634
- nameIdentifierProbes?: string[] | undefined;
635
- authnContextClassRef?: string | undefined;
636
- mappings?: Record<string, string> | undefined;
637
- }>;
638
- export declare const applicationInsertSchema: z.ZodObject<{
639
- id: z.ZodString;
640
- name: z.ZodString;
641
- callbacks: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
642
- allowed_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
643
- web_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
644
- allowed_logout_urls: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
645
- allowed_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
646
- addons: z.ZodOptional<z.ZodDefault<z.ZodObject<{
647
- samlp: z.ZodOptional<z.ZodObject<{
648
- audience: z.ZodOptional<z.ZodString>;
649
- recipient: z.ZodOptional<z.ZodString>;
650
- createUpnClaim: z.ZodOptional<z.ZodBoolean>;
651
- mapUnknownClaimsAsIs: z.ZodOptional<z.ZodBoolean>;
652
- passthroughClaimsWithNoMapping: z.ZodOptional<z.ZodBoolean>;
653
- mapIdentities: z.ZodOptional<z.ZodBoolean>;
654
- signatureAlgorithm: z.ZodOptional<z.ZodString>;
655
- digestAlgorithm: z.ZodOptional<z.ZodString>;
656
- issuer: z.ZodOptional<z.ZodString>;
657
- destination: z.ZodOptional<z.ZodString>;
658
- lifetimeInSeconds: z.ZodOptional<z.ZodNumber>;
659
- signResponse: z.ZodOptional<z.ZodBoolean>;
660
- nameIdentifierFormat: z.ZodOptional<z.ZodString>;
661
- nameIdentifierProbes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
662
- authnContextClassRef: z.ZodOptional<z.ZodString>;
663
- mappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
664
- }, "strip", z.ZodTypeAny, {
665
- audience?: string | undefined;
666
- recipient?: string | undefined;
667
- createUpnClaim?: boolean | undefined;
668
- mapUnknownClaimsAsIs?: boolean | undefined;
669
- passthroughClaimsWithNoMapping?: boolean | undefined;
670
- mapIdentities?: boolean | undefined;
671
- signatureAlgorithm?: string | undefined;
672
- digestAlgorithm?: string | undefined;
673
- issuer?: string | undefined;
674
- destination?: string | undefined;
675
- lifetimeInSeconds?: number | undefined;
676
- signResponse?: boolean | undefined;
677
- nameIdentifierFormat?: string | undefined;
678
- nameIdentifierProbes?: string[] | undefined;
679
- authnContextClassRef?: string | undefined;
680
- mappings?: Record<string, string> | undefined;
681
- }, {
682
- audience?: string | undefined;
683
- recipient?: string | undefined;
684
- createUpnClaim?: boolean | undefined;
685
- mapUnknownClaimsAsIs?: boolean | undefined;
686
- passthroughClaimsWithNoMapping?: boolean | undefined;
687
- mapIdentities?: boolean | undefined;
688
- signatureAlgorithm?: string | undefined;
689
- digestAlgorithm?: string | undefined;
690
- issuer?: string | undefined;
691
- destination?: string | undefined;
692
- lifetimeInSeconds?: number | undefined;
693
- signResponse?: boolean | undefined;
694
- nameIdentifierFormat?: string | undefined;
695
- nameIdentifierProbes?: string[] | undefined;
696
- authnContextClassRef?: string | undefined;
697
- mappings?: Record<string, string> | undefined;
698
- }>>;
699
- }, "strip", z.ZodTypeAny, {
700
- samlp?: {
701
- audience?: string | undefined;
702
- recipient?: string | undefined;
703
- createUpnClaim?: boolean | undefined;
704
- mapUnknownClaimsAsIs?: boolean | undefined;
705
- passthroughClaimsWithNoMapping?: boolean | undefined;
706
- mapIdentities?: boolean | undefined;
707
- signatureAlgorithm?: string | undefined;
708
- digestAlgorithm?: string | undefined;
709
- issuer?: string | undefined;
710
- destination?: string | undefined;
711
- lifetimeInSeconds?: number | undefined;
712
- signResponse?: boolean | undefined;
713
- nameIdentifierFormat?: string | undefined;
714
- nameIdentifierProbes?: string[] | undefined;
715
- authnContextClassRef?: string | undefined;
716
- mappings?: Record<string, string> | undefined;
717
- } | undefined;
718
- }, {
719
- samlp?: {
720
- audience?: string | undefined;
721
- recipient?: string | undefined;
722
- createUpnClaim?: boolean | undefined;
723
- mapUnknownClaimsAsIs?: boolean | undefined;
724
- passthroughClaimsWithNoMapping?: boolean | undefined;
725
- mapIdentities?: boolean | undefined;
726
- signatureAlgorithm?: string | undefined;
727
- digestAlgorithm?: string | undefined;
728
- issuer?: string | undefined;
729
- destination?: string | undefined;
730
- lifetimeInSeconds?: number | undefined;
731
- signResponse?: boolean | undefined;
732
- nameIdentifierFormat?: string | undefined;
733
- nameIdentifierProbes?: string[] | undefined;
734
- authnContextClassRef?: string | undefined;
735
- mappings?: Record<string, string> | undefined;
736
- } | undefined;
737
- }>>>;
738
- email_validation: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
739
- "enabled",
740
- "disabled",
741
- "enforced"
742
- ]>>>;
743
- client_secret: z.ZodOptional<z.ZodDefault<z.ZodString>>;
744
- disable_sign_ups: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
745
- client_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
746
- }, "strip", z.ZodTypeAny, {
747
- name: string;
748
- id: string;
749
- disable_sign_ups: boolean;
750
- callbacks?: string[] | undefined;
751
- allowed_origins?: string[] | undefined;
752
- web_origins?: string[] | undefined;
753
- allowed_logout_urls?: string[] | undefined;
754
- allowed_clients?: string[] | undefined;
755
- addons?: {
756
- samlp?: {
757
- audience?: string | undefined;
758
- recipient?: string | undefined;
759
- createUpnClaim?: boolean | undefined;
760
- mapUnknownClaimsAsIs?: boolean | undefined;
761
- passthroughClaimsWithNoMapping?: boolean | undefined;
762
- mapIdentities?: boolean | undefined;
763
- signatureAlgorithm?: string | undefined;
764
- digestAlgorithm?: string | undefined;
765
- issuer?: string | undefined;
766
- destination?: string | undefined;
767
- lifetimeInSeconds?: number | undefined;
768
- signResponse?: boolean | undefined;
769
- nameIdentifierFormat?: string | undefined;
770
- nameIdentifierProbes?: string[] | undefined;
771
- authnContextClassRef?: string | undefined;
772
- mappings?: Record<string, string> | undefined;
773
- } | undefined;
774
- } | undefined;
775
- email_validation?: "enabled" | "disabled" | "enforced" | undefined;
776
- client_secret?: string | undefined;
777
- client_metadata?: Record<string, string> | undefined;
778
- }, {
779
- name: string;
780
- id: string;
781
- callbacks?: string[] | undefined;
782
- allowed_origins?: string[] | undefined;
783
- web_origins?: string[] | undefined;
784
- allowed_logout_urls?: string[] | undefined;
785
- allowed_clients?: string[] | undefined;
786
- addons?: {
787
- samlp?: {
788
- audience?: string | undefined;
789
- recipient?: string | undefined;
790
- createUpnClaim?: boolean | undefined;
791
- mapUnknownClaimsAsIs?: boolean | undefined;
792
- passthroughClaimsWithNoMapping?: boolean | undefined;
793
- mapIdentities?: boolean | undefined;
794
- signatureAlgorithm?: string | undefined;
795
- digestAlgorithm?: string | undefined;
796
- issuer?: string | undefined;
797
- destination?: string | undefined;
798
- lifetimeInSeconds?: number | undefined;
799
- signResponse?: boolean | undefined;
800
- nameIdentifierFormat?: string | undefined;
801
- nameIdentifierProbes?: string[] | undefined;
802
- authnContextClassRef?: string | undefined;
803
- mappings?: Record<string, string> | undefined;
804
- } | undefined;
805
- } | undefined;
806
- email_validation?: "enabled" | "disabled" | "enforced" | undefined;
807
- client_secret?: string | undefined;
808
- disable_sign_ups?: boolean | undefined;
809
- client_metadata?: Record<string, string> | undefined;
810
- }>;
811
- export type ApplicationInsert = z.input<typeof applicationInsertSchema>;
812
- export declare const applicationSchema: z.ZodObject<{
813
- id: z.ZodString;
814
- name: z.ZodString;
815
- callbacks: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
816
- allowed_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
817
- web_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
818
- allowed_logout_urls: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
819
- allowed_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
820
- addons: z.ZodOptional<z.ZodDefault<z.ZodObject<{
821
- samlp: z.ZodOptional<z.ZodObject<{
822
- audience: z.ZodOptional<z.ZodString>;
823
- recipient: z.ZodOptional<z.ZodString>;
824
- createUpnClaim: z.ZodOptional<z.ZodBoolean>;
825
- mapUnknownClaimsAsIs: z.ZodOptional<z.ZodBoolean>;
826
- passthroughClaimsWithNoMapping: z.ZodOptional<z.ZodBoolean>;
827
- mapIdentities: z.ZodOptional<z.ZodBoolean>;
828
- signatureAlgorithm: z.ZodOptional<z.ZodString>;
829
- digestAlgorithm: z.ZodOptional<z.ZodString>;
830
- issuer: z.ZodOptional<z.ZodString>;
831
- destination: z.ZodOptional<z.ZodString>;
832
- lifetimeInSeconds: z.ZodOptional<z.ZodNumber>;
833
- signResponse: z.ZodOptional<z.ZodBoolean>;
834
- nameIdentifierFormat: z.ZodOptional<z.ZodString>;
835
- nameIdentifierProbes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
836
- authnContextClassRef: z.ZodOptional<z.ZodString>;
837
- mappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
838
- }, "strip", z.ZodTypeAny, {
839
- audience?: string | undefined;
840
- recipient?: string | undefined;
841
- createUpnClaim?: boolean | undefined;
842
- mapUnknownClaimsAsIs?: boolean | undefined;
843
- passthroughClaimsWithNoMapping?: boolean | undefined;
844
- mapIdentities?: boolean | undefined;
845
- signatureAlgorithm?: string | undefined;
846
- digestAlgorithm?: string | undefined;
847
- issuer?: string | undefined;
848
- destination?: string | undefined;
849
- lifetimeInSeconds?: number | undefined;
850
- signResponse?: boolean | undefined;
851
- nameIdentifierFormat?: string | undefined;
852
- nameIdentifierProbes?: string[] | undefined;
853
- authnContextClassRef?: string | undefined;
854
- mappings?: Record<string, string> | undefined;
855
- }, {
856
- audience?: string | undefined;
857
- recipient?: string | undefined;
858
- createUpnClaim?: boolean | undefined;
859
- mapUnknownClaimsAsIs?: boolean | undefined;
860
- passthroughClaimsWithNoMapping?: boolean | undefined;
861
- mapIdentities?: boolean | undefined;
862
- signatureAlgorithm?: string | undefined;
863
- digestAlgorithm?: string | undefined;
864
- issuer?: string | undefined;
865
- destination?: string | undefined;
866
- lifetimeInSeconds?: number | undefined;
867
- signResponse?: boolean | undefined;
868
- nameIdentifierFormat?: string | undefined;
869
- nameIdentifierProbes?: string[] | undefined;
870
- authnContextClassRef?: string | undefined;
871
- mappings?: Record<string, string> | undefined;
872
- }>>;
873
- }, "strip", z.ZodTypeAny, {
874
- samlp?: {
875
- audience?: string | undefined;
876
- recipient?: string | undefined;
877
- createUpnClaim?: boolean | undefined;
878
- mapUnknownClaimsAsIs?: boolean | undefined;
879
- passthroughClaimsWithNoMapping?: boolean | undefined;
880
- mapIdentities?: boolean | undefined;
881
- signatureAlgorithm?: string | undefined;
882
- digestAlgorithm?: string | undefined;
883
- issuer?: string | undefined;
884
- destination?: string | undefined;
885
- lifetimeInSeconds?: number | undefined;
886
- signResponse?: boolean | undefined;
887
- nameIdentifierFormat?: string | undefined;
888
- nameIdentifierProbes?: string[] | undefined;
889
- authnContextClassRef?: string | undefined;
890
- mappings?: Record<string, string> | undefined;
891
- } | undefined;
892
- }, {
893
- samlp?: {
894
- audience?: string | undefined;
895
- recipient?: string | undefined;
896
- createUpnClaim?: boolean | undefined;
897
- mapUnknownClaimsAsIs?: boolean | undefined;
898
- passthroughClaimsWithNoMapping?: boolean | undefined;
899
- mapIdentities?: boolean | undefined;
900
- signatureAlgorithm?: string | undefined;
901
- digestAlgorithm?: string | undefined;
902
- issuer?: string | undefined;
903
- destination?: string | undefined;
904
- lifetimeInSeconds?: number | undefined;
905
- signResponse?: boolean | undefined;
906
- nameIdentifierFormat?: string | undefined;
907
- nameIdentifierProbes?: string[] | undefined;
908
- authnContextClassRef?: string | undefined;
909
- mappings?: Record<string, string> | undefined;
910
- } | undefined;
911
- }>>>;
912
- email_validation: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
913
- "enabled",
914
- "disabled",
915
- "enforced"
916
- ]>>>;
917
- client_secret: z.ZodOptional<z.ZodDefault<z.ZodString>>;
918
- disable_sign_ups: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
919
- client_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
920
- created_at: z.ZodEffects<z.ZodString, string, string>;
921
- updated_at: z.ZodEffects<z.ZodString, string, string>;
922
- }, "strip", z.ZodTypeAny, {
923
- created_at: string;
924
- updated_at: string;
925
- name: string;
926
- id: string;
927
- disable_sign_ups: boolean;
928
- callbacks?: string[] | undefined;
929
- allowed_origins?: string[] | undefined;
930
- web_origins?: string[] | undefined;
931
- allowed_logout_urls?: string[] | undefined;
932
- allowed_clients?: string[] | undefined;
933
- addons?: {
934
- samlp?: {
935
- audience?: string | undefined;
936
- recipient?: string | undefined;
937
- createUpnClaim?: boolean | undefined;
938
- mapUnknownClaimsAsIs?: boolean | undefined;
939
- passthroughClaimsWithNoMapping?: boolean | undefined;
940
- mapIdentities?: boolean | undefined;
941
- signatureAlgorithm?: string | undefined;
942
- digestAlgorithm?: string | undefined;
943
- issuer?: string | undefined;
944
- destination?: string | undefined;
945
- lifetimeInSeconds?: number | undefined;
946
- signResponse?: boolean | undefined;
947
- nameIdentifierFormat?: string | undefined;
948
- nameIdentifierProbes?: string[] | undefined;
949
- authnContextClassRef?: string | undefined;
950
- mappings?: Record<string, string> | undefined;
951
- } | undefined;
952
- } | undefined;
953
- email_validation?: "enabled" | "disabled" | "enforced" | undefined;
954
- client_secret?: string | undefined;
955
- client_metadata?: Record<string, string> | undefined;
956
- }, {
957
- created_at: string;
958
- updated_at: string;
959
- name: string;
960
- id: string;
961
- callbacks?: string[] | undefined;
962
- allowed_origins?: string[] | undefined;
963
- web_origins?: string[] | undefined;
964
- allowed_logout_urls?: string[] | undefined;
965
- allowed_clients?: string[] | undefined;
966
- addons?: {
967
- samlp?: {
968
- audience?: string | undefined;
969
- recipient?: string | undefined;
970
- createUpnClaim?: boolean | undefined;
971
- mapUnknownClaimsAsIs?: boolean | undefined;
972
- passthroughClaimsWithNoMapping?: boolean | undefined;
973
- mapIdentities?: boolean | undefined;
974
- signatureAlgorithm?: string | undefined;
975
- digestAlgorithm?: string | undefined;
976
- issuer?: string | undefined;
977
- destination?: string | undefined;
978
- lifetimeInSeconds?: number | undefined;
979
- signResponse?: boolean | undefined;
980
- nameIdentifierFormat?: string | undefined;
981
- nameIdentifierProbes?: string[] | undefined;
982
- authnContextClassRef?: string | undefined;
983
- mappings?: Record<string, string> | undefined;
984
- } | undefined;
985
- } | undefined;
986
- email_validation?: "enabled" | "disabled" | "enforced" | undefined;
987
- client_secret?: string | undefined;
988
- disable_sign_ups?: boolean | undefined;
989
- client_metadata?: Record<string, string> | undefined;
990
- }>;
991
- export type Application = z.infer<typeof applicationSchema>;
992
586
  export declare const clientInsertSchema: z.ZodObject<{
993
587
  client_id: z.ZodString;
994
588
  name: z.ZodString;
@@ -1094,17 +688,15 @@ export declare const clientInsertSchema: z.ZodObject<{
1094
688
  require_proof_of_possession: boolean;
1095
689
  description?: string | undefined;
1096
690
  refresh_token?: Record<string, any> | undefined;
1097
- callbacks?: string[] | undefined;
1098
- allowed_origins?: string[] | undefined;
1099
- web_origins?: string[] | undefined;
1100
- allowed_logout_urls?: string[] | undefined;
1101
- allowed_clients?: string[] | undefined;
1102
- addons?: Record<string, any> | undefined;
1103
691
  client_secret?: string | undefined;
1104
- client_metadata?: Record<string, string> | undefined;
1105
692
  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;
1106
693
  logo_uri?: string | undefined;
694
+ callbacks?: string[] | undefined;
695
+ allowed_origins?: string[] | undefined;
696
+ web_origins?: string[] | undefined;
1107
697
  client_aliases?: string[] | undefined;
698
+ allowed_clients?: string[] | undefined;
699
+ allowed_logout_urls?: string[] | undefined;
1108
700
  session_transfer?: Record<string, any> | undefined;
1109
701
  oidc_logout?: Record<string, any> | undefined;
1110
702
  grant_types?: string[] | undefined;
@@ -1115,7 +707,9 @@ export declare const clientInsertSchema: z.ZodObject<{
1115
707
  custom_login_page?: string | undefined;
1116
708
  custom_login_page_preview?: string | undefined;
1117
709
  form_template?: string | undefined;
710
+ addons?: Record<string, any> | undefined;
1118
711
  token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
712
+ client_metadata?: Record<string, string> | undefined;
1119
713
  mobile?: Record<string, any> | undefined;
1120
714
  initiate_login_uri?: string | undefined;
1121
715
  native_social_login?: Record<string, any> | undefined;
@@ -1132,20 +726,18 @@ export declare const clientInsertSchema: z.ZodObject<{
1132
726
  client_id: string;
1133
727
  description?: string | undefined;
1134
728
  refresh_token?: Record<string, any> | undefined;
1135
- callbacks?: string[] | undefined;
1136
- allowed_origins?: string[] | undefined;
1137
- web_origins?: string[] | undefined;
1138
- allowed_logout_urls?: string[] | undefined;
1139
- allowed_clients?: string[] | undefined;
1140
- addons?: Record<string, any> | undefined;
1141
- client_secret?: string | undefined;
1142
- client_metadata?: Record<string, string> | undefined;
1143
729
  global?: boolean | undefined;
730
+ client_secret?: string | undefined;
1144
731
  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;
1145
732
  logo_uri?: string | undefined;
1146
733
  is_first_party?: boolean | undefined;
1147
734
  oidc_conformant?: boolean | undefined;
735
+ callbacks?: string[] | undefined;
736
+ allowed_origins?: string[] | undefined;
737
+ web_origins?: string[] | undefined;
1148
738
  client_aliases?: string[] | undefined;
739
+ allowed_clients?: string[] | undefined;
740
+ allowed_logout_urls?: string[] | undefined;
1149
741
  session_transfer?: Record<string, any> | undefined;
1150
742
  oidc_logout?: Record<string, any> | undefined;
1151
743
  grant_types?: string[] | undefined;
@@ -1160,7 +752,9 @@ export declare const clientInsertSchema: z.ZodObject<{
1160
752
  custom_login_page?: string | undefined;
1161
753
  custom_login_page_preview?: string | undefined;
1162
754
  form_template?: string | undefined;
755
+ addons?: Record<string, any> | undefined;
1163
756
  token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
757
+ client_metadata?: Record<string, string> | undefined;
1164
758
  mobile?: Record<string, any> | undefined;
1165
759
  initiate_login_uri?: string | undefined;
1166
760
  native_social_login?: Record<string, any> | undefined;
@@ -1285,17 +879,15 @@ export declare const clientSchema: z.ZodObject<{
1285
879
  require_proof_of_possession: boolean;
1286
880
  description?: string | undefined;
1287
881
  refresh_token?: Record<string, any> | undefined;
1288
- callbacks?: string[] | undefined;
1289
- allowed_origins?: string[] | undefined;
1290
- web_origins?: string[] | undefined;
1291
- allowed_logout_urls?: string[] | undefined;
1292
- allowed_clients?: string[] | undefined;
1293
- addons?: Record<string, any> | undefined;
1294
882
  client_secret?: string | undefined;
1295
- client_metadata?: Record<string, string> | undefined;
1296
883
  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;
1297
884
  logo_uri?: string | undefined;
885
+ callbacks?: string[] | undefined;
886
+ allowed_origins?: string[] | undefined;
887
+ web_origins?: string[] | undefined;
1298
888
  client_aliases?: string[] | undefined;
889
+ allowed_clients?: string[] | undefined;
890
+ allowed_logout_urls?: string[] | undefined;
1299
891
  session_transfer?: Record<string, any> | undefined;
1300
892
  oidc_logout?: Record<string, any> | undefined;
1301
893
  grant_types?: string[] | undefined;
@@ -1306,7 +898,9 @@ export declare const clientSchema: z.ZodObject<{
1306
898
  custom_login_page?: string | undefined;
1307
899
  custom_login_page_preview?: string | undefined;
1308
900
  form_template?: string | undefined;
901
+ addons?: Record<string, any> | undefined;
1309
902
  token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
903
+ client_metadata?: Record<string, string> | undefined;
1310
904
  mobile?: Record<string, any> | undefined;
1311
905
  initiate_login_uri?: string | undefined;
1312
906
  native_social_login?: Record<string, any> | undefined;
@@ -1325,20 +919,18 @@ export declare const clientSchema: z.ZodObject<{
1325
919
  client_id: string;
1326
920
  description?: string | undefined;
1327
921
  refresh_token?: Record<string, any> | undefined;
1328
- callbacks?: string[] | undefined;
1329
- allowed_origins?: string[] | undefined;
1330
- web_origins?: string[] | undefined;
1331
- allowed_logout_urls?: string[] | undefined;
1332
- allowed_clients?: string[] | undefined;
1333
- addons?: Record<string, any> | undefined;
1334
- client_secret?: string | undefined;
1335
- client_metadata?: Record<string, string> | undefined;
1336
922
  global?: boolean | undefined;
923
+ client_secret?: string | undefined;
1337
924
  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;
1338
925
  logo_uri?: string | undefined;
1339
926
  is_first_party?: boolean | undefined;
1340
927
  oidc_conformant?: boolean | undefined;
928
+ callbacks?: string[] | undefined;
929
+ allowed_origins?: string[] | undefined;
930
+ web_origins?: string[] | undefined;
1341
931
  client_aliases?: string[] | undefined;
932
+ allowed_clients?: string[] | undefined;
933
+ allowed_logout_urls?: string[] | undefined;
1342
934
  session_transfer?: Record<string, any> | undefined;
1343
935
  oidc_logout?: Record<string, any> | undefined;
1344
936
  grant_types?: string[] | undefined;
@@ -1353,7 +945,9 @@ export declare const clientSchema: z.ZodObject<{
1353
945
  custom_login_page?: string | undefined;
1354
946
  custom_login_page_preview?: string | undefined;
1355
947
  form_template?: string | undefined;
948
+ addons?: Record<string, any> | undefined;
1356
949
  token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
950
+ client_metadata?: Record<string, string> | undefined;
1357
951
  mobile?: Record<string, any> | undefined;
1358
952
  initiate_login_uri?: string | undefined;
1359
953
  native_social_login?: Record<string, any> | undefined;
@@ -1369,6 +963,132 @@ export declare const clientSchema: z.ZodObject<{
1369
963
  token_quota?: Record<string, any> | undefined;
1370
964
  }>;
1371
965
  export type Client = z.infer<typeof clientSchema>;
966
+ export declare const clientGrantInsertSchema: z.ZodObject<{
967
+ client_id: z.ZodString;
968
+ audience: z.ZodString;
969
+ scope: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
970
+ organization_usage: z.ZodOptional<z.ZodEnum<[
971
+ "deny",
972
+ "allow",
973
+ "require"
974
+ ]>>;
975
+ allow_any_organization: z.ZodOptional<z.ZodBoolean>;
976
+ is_system: z.ZodOptional<z.ZodBoolean>;
977
+ subject_type: z.ZodOptional<z.ZodEnum<[
978
+ "client",
979
+ "user"
980
+ ]>>;
981
+ authorization_details_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
982
+ }, "strip", z.ZodTypeAny, {
983
+ client_id: string;
984
+ audience: string;
985
+ organization_usage?: "deny" | "allow" | "require" | undefined;
986
+ scope?: string[] | undefined;
987
+ allow_any_organization?: boolean | undefined;
988
+ is_system?: boolean | undefined;
989
+ subject_type?: "client" | "user" | undefined;
990
+ authorization_details_types?: string[] | undefined;
991
+ }, {
992
+ client_id: string;
993
+ audience: string;
994
+ organization_usage?: "deny" | "allow" | "require" | undefined;
995
+ scope?: string[] | undefined;
996
+ allow_any_organization?: boolean | undefined;
997
+ is_system?: boolean | undefined;
998
+ subject_type?: "client" | "user" | undefined;
999
+ authorization_details_types?: string[] | undefined;
1000
+ }>;
1001
+ export type ClientGrantInsert = z.input<typeof clientGrantInsertSchema>;
1002
+ export declare const clientGrantSchema: z.ZodObject<{
1003
+ created_at: z.ZodOptional<z.ZodString>;
1004
+ updated_at: z.ZodOptional<z.ZodString>;
1005
+ client_id: z.ZodString;
1006
+ audience: z.ZodString;
1007
+ scope: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1008
+ organization_usage: z.ZodOptional<z.ZodEnum<[
1009
+ "deny",
1010
+ "allow",
1011
+ "require"
1012
+ ]>>;
1013
+ allow_any_organization: z.ZodOptional<z.ZodBoolean>;
1014
+ is_system: z.ZodOptional<z.ZodBoolean>;
1015
+ subject_type: z.ZodOptional<z.ZodEnum<[
1016
+ "client",
1017
+ "user"
1018
+ ]>>;
1019
+ authorization_details_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1020
+ id: z.ZodString;
1021
+ }, "strip", z.ZodTypeAny, {
1022
+ client_id: string;
1023
+ audience: string;
1024
+ id: string;
1025
+ created_at?: string | undefined;
1026
+ updated_at?: string | undefined;
1027
+ organization_usage?: "deny" | "allow" | "require" | undefined;
1028
+ scope?: string[] | undefined;
1029
+ allow_any_organization?: boolean | undefined;
1030
+ is_system?: boolean | undefined;
1031
+ subject_type?: "client" | "user" | undefined;
1032
+ authorization_details_types?: string[] | undefined;
1033
+ }, {
1034
+ client_id: string;
1035
+ audience: string;
1036
+ id: string;
1037
+ created_at?: string | undefined;
1038
+ updated_at?: string | undefined;
1039
+ organization_usage?: "deny" | "allow" | "require" | undefined;
1040
+ scope?: string[] | undefined;
1041
+ allow_any_organization?: boolean | undefined;
1042
+ is_system?: boolean | undefined;
1043
+ subject_type?: "client" | "user" | undefined;
1044
+ authorization_details_types?: string[] | undefined;
1045
+ }>;
1046
+ export type ClientGrant = z.infer<typeof clientGrantSchema>;
1047
+ export declare const clientGrantListSchema: z.ZodArray<z.ZodObject<{
1048
+ created_at: z.ZodOptional<z.ZodString>;
1049
+ updated_at: z.ZodOptional<z.ZodString>;
1050
+ client_id: z.ZodString;
1051
+ audience: z.ZodString;
1052
+ scope: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1053
+ organization_usage: z.ZodOptional<z.ZodEnum<[
1054
+ "deny",
1055
+ "allow",
1056
+ "require"
1057
+ ]>>;
1058
+ allow_any_organization: z.ZodOptional<z.ZodBoolean>;
1059
+ is_system: z.ZodOptional<z.ZodBoolean>;
1060
+ subject_type: z.ZodOptional<z.ZodEnum<[
1061
+ "client",
1062
+ "user"
1063
+ ]>>;
1064
+ authorization_details_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1065
+ id: z.ZodString;
1066
+ }, "strip", z.ZodTypeAny, {
1067
+ client_id: string;
1068
+ audience: string;
1069
+ id: string;
1070
+ created_at?: string | undefined;
1071
+ updated_at?: string | undefined;
1072
+ organization_usage?: "deny" | "allow" | "require" | undefined;
1073
+ scope?: string[] | undefined;
1074
+ allow_any_organization?: boolean | undefined;
1075
+ is_system?: boolean | undefined;
1076
+ subject_type?: "client" | "user" | undefined;
1077
+ authorization_details_types?: string[] | undefined;
1078
+ }, {
1079
+ client_id: string;
1080
+ audience: string;
1081
+ id: string;
1082
+ created_at?: string | undefined;
1083
+ updated_at?: string | undefined;
1084
+ organization_usage?: "deny" | "allow" | "require" | undefined;
1085
+ scope?: string[] | undefined;
1086
+ allow_any_organization?: boolean | undefined;
1087
+ is_system?: boolean | undefined;
1088
+ subject_type?: "client" | "user" | undefined;
1089
+ authorization_details_types?: string[] | undefined;
1090
+ }>, "many">;
1091
+ export type ClientGrantList = z.infer<typeof clientGrantListSchema>;
1372
1092
  /**
1373
1093
  * Types for Auth0 Form Flow components
1374
1094
  * Based on the actual structure used by Auth0 forms API
@@ -8420,6 +8140,7 @@ export declare const authParamsSchema: z.ZodObject<{
8420
8140
  client_id: string;
8421
8141
  username?: string | undefined;
8422
8142
  audience?: string | undefined;
8143
+ scope?: string | undefined;
8423
8144
  act_as?: string | undefined;
8424
8145
  response_type?: AuthorizationResponseType | undefined;
8425
8146
  response_mode?: AuthorizationResponseMode | undefined;
@@ -8427,7 +8148,6 @@ export declare const authParamsSchema: z.ZodObject<{
8427
8148
  organization?: string | undefined;
8428
8149
  state?: string | undefined;
8429
8150
  nonce?: string | undefined;
8430
- scope?: string | undefined;
8431
8151
  prompt?: string | undefined;
8432
8152
  code_challenge_method?: CodeChallengeMethod | undefined;
8433
8153
  code_challenge?: string | undefined;
@@ -8437,6 +8157,7 @@ export declare const authParamsSchema: z.ZodObject<{
8437
8157
  client_id: string;
8438
8158
  username?: string | undefined;
8439
8159
  audience?: string | undefined;
8160
+ scope?: string | undefined;
8440
8161
  act_as?: string | undefined;
8441
8162
  response_type?: AuthorizationResponseType | undefined;
8442
8163
  response_mode?: AuthorizationResponseMode | undefined;
@@ -8444,7 +8165,6 @@ export declare const authParamsSchema: z.ZodObject<{
8444
8165
  organization?: string | undefined;
8445
8166
  state?: string | undefined;
8446
8167
  nonce?: string | undefined;
8447
- scope?: string | undefined;
8448
8168
  prompt?: string | undefined;
8449
8169
  code_challenge_method?: CodeChallengeMethod | undefined;
8450
8170
  code_challenge?: string | undefined;
@@ -8598,9 +8318,8 @@ declare const LegacyClientSchema: z.ZodObject<{
8598
8318
  twilio_token: z.ZodOptional<z.ZodString>;
8599
8319
  }, "strip", z.ZodTypeAny, {
8600
8320
  provider?: string | undefined;
8601
- issuer?: string | undefined;
8602
- client_secret?: string | undefined;
8603
8321
  client_id?: string | undefined;
8322
+ client_secret?: string | undefined;
8604
8323
  scope?: string | undefined;
8605
8324
  kid?: string | undefined;
8606
8325
  team_id?: string | undefined;
@@ -8612,14 +8331,14 @@ declare const LegacyClientSchema: z.ZodObject<{
8612
8331
  userinfo_endpoint?: string | undefined;
8613
8332
  jwks_uri?: string | undefined;
8614
8333
  discovery_url?: string | undefined;
8334
+ issuer?: string | undefined;
8615
8335
  from?: string | undefined;
8616
8336
  twilio_sid?: string | undefined;
8617
8337
  twilio_token?: string | undefined;
8618
8338
  }, {
8619
8339
  provider?: string | undefined;
8620
- issuer?: string | undefined;
8621
- client_secret?: string | undefined;
8622
8340
  client_id?: string | undefined;
8341
+ client_secret?: string | undefined;
8623
8342
  scope?: string | undefined;
8624
8343
  kid?: string | undefined;
8625
8344
  team_id?: string | undefined;
@@ -8631,6 +8350,7 @@ declare const LegacyClientSchema: z.ZodObject<{
8631
8350
  userinfo_endpoint?: string | undefined;
8632
8351
  jwks_uri?: string | undefined;
8633
8352
  discovery_url?: string | undefined;
8353
+ issuer?: string | undefined;
8634
8354
  from?: string | undefined;
8635
8355
  twilio_sid?: string | undefined;
8636
8356
  twilio_token?: string | undefined;
@@ -8641,9 +8361,8 @@ declare const LegacyClientSchema: z.ZodObject<{
8641
8361
  }, "strip", z.ZodTypeAny, {
8642
8362
  options: {
8643
8363
  provider?: string | undefined;
8644
- issuer?: string | undefined;
8645
- client_secret?: string | undefined;
8646
8364
  client_id?: string | undefined;
8365
+ client_secret?: string | undefined;
8647
8366
  scope?: string | undefined;
8648
8367
  kid?: string | undefined;
8649
8368
  team_id?: string | undefined;
@@ -8655,6 +8374,7 @@ declare const LegacyClientSchema: z.ZodObject<{
8655
8374
  userinfo_endpoint?: string | undefined;
8656
8375
  jwks_uri?: string | undefined;
8657
8376
  discovery_url?: string | undefined;
8377
+ issuer?: string | undefined;
8658
8378
  from?: string | undefined;
8659
8379
  twilio_sid?: string | undefined;
8660
8380
  twilio_token?: string | undefined;
@@ -8674,9 +8394,8 @@ declare const LegacyClientSchema: z.ZodObject<{
8674
8394
  strategy: string;
8675
8395
  options?: {
8676
8396
  provider?: string | undefined;
8677
- issuer?: string | undefined;
8678
- client_secret?: string | undefined;
8679
8397
  client_id?: string | undefined;
8398
+ client_secret?: string | undefined;
8680
8399
  scope?: string | undefined;
8681
8400
  kid?: string | undefined;
8682
8401
  team_id?: string | undefined;
@@ -8688,6 +8407,7 @@ declare const LegacyClientSchema: z.ZodObject<{
8688
8407
  userinfo_endpoint?: string | undefined;
8689
8408
  jwks_uri?: string | undefined;
8690
8409
  discovery_url?: string | undefined;
8410
+ issuer?: string | undefined;
8691
8411
  from?: string | undefined;
8692
8412
  twilio_sid?: string | undefined;
8693
8413
  twilio_token?: string | undefined;
@@ -8795,8 +8515,6 @@ declare const LegacyClientSchema: z.ZodObject<{
8795
8515
  created_at: string;
8796
8516
  updated_at: string;
8797
8517
  name: string;
8798
- email_validation: string;
8799
- disable_sign_ups: boolean;
8800
8518
  client_id: string;
8801
8519
  global: boolean;
8802
8520
  is_first_party: boolean;
@@ -8824,9 +8542,8 @@ declare const LegacyClientSchema: z.ZodObject<{
8824
8542
  connections: {
8825
8543
  options: {
8826
8544
  provider?: string | undefined;
8827
- issuer?: string | undefined;
8828
- client_secret?: string | undefined;
8829
8545
  client_id?: string | undefined;
8546
+ client_secret?: string | undefined;
8830
8547
  scope?: string | undefined;
8831
8548
  kid?: string | undefined;
8832
8549
  team_id?: string | undefined;
@@ -8838,6 +8555,7 @@ declare const LegacyClientSchema: z.ZodObject<{
8838
8555
  userinfo_endpoint?: string | undefined;
8839
8556
  jwks_uri?: string | undefined;
8840
8557
  discovery_url?: string | undefined;
8558
+ issuer?: string | undefined;
8841
8559
  from?: string | undefined;
8842
8560
  twilio_sid?: string | undefined;
8843
8561
  twilio_token?: string | undefined;
@@ -8851,19 +8569,19 @@ declare const LegacyClientSchema: z.ZodObject<{
8851
8569
  response_mode?: AuthorizationResponseMode | undefined;
8852
8570
  enabled_clients?: string[] | undefined;
8853
8571
  }[];
8572
+ disable_sign_ups: boolean;
8573
+ email_validation: string;
8854
8574
  description?: string | undefined;
8855
8575
  refresh_token?: Record<string, any> | undefined;
8856
- callbacks?: string[] | undefined;
8857
- allowed_origins?: string[] | undefined;
8858
- web_origins?: string[] | undefined;
8859
- allowed_logout_urls?: string[] | undefined;
8860
- allowed_clients?: string[] | undefined;
8861
- addons?: Record<string, any> | undefined;
8862
8576
  client_secret?: string | undefined;
8863
- client_metadata?: Record<string, string> | undefined;
8864
8577
  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;
8865
8578
  logo_uri?: string | undefined;
8579
+ callbacks?: string[] | undefined;
8580
+ allowed_origins?: string[] | undefined;
8581
+ web_origins?: string[] | undefined;
8866
8582
  client_aliases?: string[] | undefined;
8583
+ allowed_clients?: string[] | undefined;
8584
+ allowed_logout_urls?: string[] | undefined;
8867
8585
  session_transfer?: Record<string, any> | undefined;
8868
8586
  oidc_logout?: Record<string, any> | undefined;
8869
8587
  grant_types?: string[] | undefined;
@@ -8874,7 +8592,9 @@ declare const LegacyClientSchema: z.ZodObject<{
8874
8592
  custom_login_page?: string | undefined;
8875
8593
  custom_login_page_preview?: string | undefined;
8876
8594
  form_template?: string | undefined;
8595
+ addons?: Record<string, any> | undefined;
8877
8596
  token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
8597
+ client_metadata?: Record<string, string> | undefined;
8878
8598
  mobile?: Record<string, any> | undefined;
8879
8599
  initiate_login_uri?: string | undefined;
8880
8600
  native_social_login?: Record<string, any> | undefined;
@@ -8890,8 +8610,6 @@ declare const LegacyClientSchema: z.ZodObject<{
8890
8610
  created_at: string;
8891
8611
  updated_at: string;
8892
8612
  name: string;
8893
- email_validation: string;
8894
- disable_sign_ups: boolean;
8895
8613
  client_id: string;
8896
8614
  tenant: {
8897
8615
  created_at: string;
@@ -8914,9 +8632,8 @@ declare const LegacyClientSchema: z.ZodObject<{
8914
8632
  strategy: string;
8915
8633
  options?: {
8916
8634
  provider?: string | undefined;
8917
- issuer?: string | undefined;
8918
- client_secret?: string | undefined;
8919
8635
  client_id?: string | undefined;
8636
+ client_secret?: string | undefined;
8920
8637
  scope?: string | undefined;
8921
8638
  kid?: string | undefined;
8922
8639
  team_id?: string | undefined;
@@ -8928,6 +8645,7 @@ declare const LegacyClientSchema: z.ZodObject<{
8928
8645
  userinfo_endpoint?: string | undefined;
8929
8646
  jwks_uri?: string | undefined;
8930
8647
  discovery_url?: string | undefined;
8648
+ issuer?: string | undefined;
8931
8649
  from?: string | undefined;
8932
8650
  twilio_sid?: string | undefined;
8933
8651
  twilio_token?: string | undefined;
@@ -8937,22 +8655,22 @@ declare const LegacyClientSchema: z.ZodObject<{
8937
8655
  response_mode?: AuthorizationResponseMode | undefined;
8938
8656
  enabled_clients?: string[] | undefined;
8939
8657
  }[];
8658
+ disable_sign_ups: boolean;
8659
+ email_validation: string;
8940
8660
  description?: string | undefined;
8941
8661
  refresh_token?: Record<string, any> | undefined;
8942
- callbacks?: string[] | undefined;
8943
- allowed_origins?: string[] | undefined;
8944
- web_origins?: string[] | undefined;
8945
- allowed_logout_urls?: string[] | undefined;
8946
- allowed_clients?: string[] | undefined;
8947
- addons?: Record<string, any> | undefined;
8948
- client_secret?: string | undefined;
8949
- client_metadata?: Record<string, string> | undefined;
8950
8662
  global?: boolean | undefined;
8663
+ client_secret?: string | undefined;
8951
8664
  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;
8952
8665
  logo_uri?: string | undefined;
8953
8666
  is_first_party?: boolean | undefined;
8954
8667
  oidc_conformant?: boolean | undefined;
8668
+ callbacks?: string[] | undefined;
8669
+ allowed_origins?: string[] | undefined;
8670
+ web_origins?: string[] | undefined;
8955
8671
  client_aliases?: string[] | undefined;
8672
+ allowed_clients?: string[] | undefined;
8673
+ allowed_logout_urls?: string[] | undefined;
8956
8674
  session_transfer?: Record<string, any> | undefined;
8957
8675
  oidc_logout?: Record<string, any> | undefined;
8958
8676
  grant_types?: string[] | undefined;
@@ -8967,7 +8685,9 @@ declare const LegacyClientSchema: z.ZodObject<{
8967
8685
  custom_login_page?: string | undefined;
8968
8686
  custom_login_page_preview?: string | undefined;
8969
8687
  form_template?: string | undefined;
8688
+ addons?: Record<string, any> | undefined;
8970
8689
  token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
8690
+ client_metadata?: Record<string, string> | undefined;
8971
8691
  mobile?: Record<string, any> | undefined;
8972
8692
  initiate_login_uri?: string | undefined;
8973
8693
  native_social_login?: Record<string, any> | undefined;
@@ -9124,9 +8844,8 @@ export declare const connectionOptionsSchema: z.ZodObject<{
9124
8844
  twilio_token: z.ZodOptional<z.ZodString>;
9125
8845
  }, "strip", z.ZodTypeAny, {
9126
8846
  provider?: string | undefined;
9127
- issuer?: string | undefined;
9128
- client_secret?: string | undefined;
9129
8847
  client_id?: string | undefined;
8848
+ client_secret?: string | undefined;
9130
8849
  scope?: string | undefined;
9131
8850
  kid?: string | undefined;
9132
8851
  team_id?: string | undefined;
@@ -9138,14 +8857,14 @@ export declare const connectionOptionsSchema: z.ZodObject<{
9138
8857
  userinfo_endpoint?: string | undefined;
9139
8858
  jwks_uri?: string | undefined;
9140
8859
  discovery_url?: string | undefined;
8860
+ issuer?: string | undefined;
9141
8861
  from?: string | undefined;
9142
8862
  twilio_sid?: string | undefined;
9143
8863
  twilio_token?: string | undefined;
9144
8864
  }, {
9145
8865
  provider?: string | undefined;
9146
- issuer?: string | undefined;
9147
- client_secret?: string | undefined;
9148
8866
  client_id?: string | undefined;
8867
+ client_secret?: string | undefined;
9149
8868
  scope?: string | undefined;
9150
8869
  kid?: string | undefined;
9151
8870
  team_id?: string | undefined;
@@ -9157,6 +8876,7 @@ export declare const connectionOptionsSchema: z.ZodObject<{
9157
8876
  userinfo_endpoint?: string | undefined;
9158
8877
  jwks_uri?: string | undefined;
9159
8878
  discovery_url?: string | undefined;
8879
+ issuer?: string | undefined;
9160
8880
  from?: string | undefined;
9161
8881
  twilio_sid?: string | undefined;
9162
8882
  twilio_token?: string | undefined;
@@ -9186,9 +8906,8 @@ export declare const connectionInsertSchema: z.ZodObject<{
9186
8906
  twilio_token: z.ZodOptional<z.ZodString>;
9187
8907
  }, "strip", z.ZodTypeAny, {
9188
8908
  provider?: string | undefined;
9189
- issuer?: string | undefined;
9190
- client_secret?: string | undefined;
9191
8909
  client_id?: string | undefined;
8910
+ client_secret?: string | undefined;
9192
8911
  scope?: string | undefined;
9193
8912
  kid?: string | undefined;
9194
8913
  team_id?: string | undefined;
@@ -9200,14 +8919,14 @@ export declare const connectionInsertSchema: z.ZodObject<{
9200
8919
  userinfo_endpoint?: string | undefined;
9201
8920
  jwks_uri?: string | undefined;
9202
8921
  discovery_url?: string | undefined;
8922
+ issuer?: string | undefined;
9203
8923
  from?: string | undefined;
9204
8924
  twilio_sid?: string | undefined;
9205
8925
  twilio_token?: string | undefined;
9206
8926
  }, {
9207
8927
  provider?: string | undefined;
9208
- issuer?: string | undefined;
9209
- client_secret?: string | undefined;
9210
8928
  client_id?: string | undefined;
8929
+ client_secret?: string | undefined;
9211
8930
  scope?: string | undefined;
9212
8931
  kid?: string | undefined;
9213
8932
  team_id?: string | undefined;
@@ -9219,6 +8938,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
9219
8938
  userinfo_endpoint?: string | undefined;
9220
8939
  jwks_uri?: string | undefined;
9221
8940
  discovery_url?: string | undefined;
8941
+ issuer?: string | undefined;
9222
8942
  from?: string | undefined;
9223
8943
  twilio_sid?: string | undefined;
9224
8944
  twilio_token?: string | undefined;
@@ -9229,9 +8949,8 @@ export declare const connectionInsertSchema: z.ZodObject<{
9229
8949
  }, "strip", z.ZodTypeAny, {
9230
8950
  options: {
9231
8951
  provider?: string | undefined;
9232
- issuer?: string | undefined;
9233
- client_secret?: string | undefined;
9234
8952
  client_id?: string | undefined;
8953
+ client_secret?: string | undefined;
9235
8954
  scope?: string | undefined;
9236
8955
  kid?: string | undefined;
9237
8956
  team_id?: string | undefined;
@@ -9243,6 +8962,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
9243
8962
  userinfo_endpoint?: string | undefined;
9244
8963
  jwks_uri?: string | undefined;
9245
8964
  discovery_url?: string | undefined;
8965
+ issuer?: string | undefined;
9246
8966
  from?: string | undefined;
9247
8967
  twilio_sid?: string | undefined;
9248
8968
  twilio_token?: string | undefined;
@@ -9258,9 +8978,8 @@ export declare const connectionInsertSchema: z.ZodObject<{
9258
8978
  strategy: string;
9259
8979
  options?: {
9260
8980
  provider?: string | undefined;
9261
- issuer?: string | undefined;
9262
- client_secret?: string | undefined;
9263
8981
  client_id?: string | undefined;
8982
+ client_secret?: string | undefined;
9264
8983
  scope?: string | undefined;
9265
8984
  kid?: string | undefined;
9266
8985
  team_id?: string | undefined;
@@ -9272,6 +8991,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
9272
8991
  userinfo_endpoint?: string | undefined;
9273
8992
  jwks_uri?: string | undefined;
9274
8993
  discovery_url?: string | undefined;
8994
+ issuer?: string | undefined;
9275
8995
  from?: string | undefined;
9276
8996
  twilio_sid?: string | undefined;
9277
8997
  twilio_token?: string | undefined;
@@ -9310,9 +9030,8 @@ export declare const connectionSchema: z.ZodObject<{
9310
9030
  twilio_token: z.ZodOptional<z.ZodString>;
9311
9031
  }, "strip", z.ZodTypeAny, {
9312
9032
  provider?: string | undefined;
9313
- issuer?: string | undefined;
9314
- client_secret?: string | undefined;
9315
9033
  client_id?: string | undefined;
9034
+ client_secret?: string | undefined;
9316
9035
  scope?: string | undefined;
9317
9036
  kid?: string | undefined;
9318
9037
  team_id?: string | undefined;
@@ -9324,14 +9043,14 @@ export declare const connectionSchema: z.ZodObject<{
9324
9043
  userinfo_endpoint?: string | undefined;
9325
9044
  jwks_uri?: string | undefined;
9326
9045
  discovery_url?: string | undefined;
9046
+ issuer?: string | undefined;
9327
9047
  from?: string | undefined;
9328
9048
  twilio_sid?: string | undefined;
9329
9049
  twilio_token?: string | undefined;
9330
9050
  }, {
9331
9051
  provider?: string | undefined;
9332
- issuer?: string | undefined;
9333
- client_secret?: string | undefined;
9334
9052
  client_id?: string | undefined;
9053
+ client_secret?: string | undefined;
9335
9054
  scope?: string | undefined;
9336
9055
  kid?: string | undefined;
9337
9056
  team_id?: string | undefined;
@@ -9343,6 +9062,7 @@ export declare const connectionSchema: z.ZodObject<{
9343
9062
  userinfo_endpoint?: string | undefined;
9344
9063
  jwks_uri?: string | undefined;
9345
9064
  discovery_url?: string | undefined;
9065
+ issuer?: string | undefined;
9346
9066
  from?: string | undefined;
9347
9067
  twilio_sid?: string | undefined;
9348
9068
  twilio_token?: string | undefined;
@@ -9353,9 +9073,8 @@ export declare const connectionSchema: z.ZodObject<{
9353
9073
  }, "strip", z.ZodTypeAny, {
9354
9074
  options: {
9355
9075
  provider?: string | undefined;
9356
- issuer?: string | undefined;
9357
- client_secret?: string | undefined;
9358
9076
  client_id?: string | undefined;
9077
+ client_secret?: string | undefined;
9359
9078
  scope?: string | undefined;
9360
9079
  kid?: string | undefined;
9361
9080
  team_id?: string | undefined;
@@ -9367,6 +9086,7 @@ export declare const connectionSchema: z.ZodObject<{
9367
9086
  userinfo_endpoint?: string | undefined;
9368
9087
  jwks_uri?: string | undefined;
9369
9088
  discovery_url?: string | undefined;
9089
+ issuer?: string | undefined;
9370
9090
  from?: string | undefined;
9371
9091
  twilio_sid?: string | undefined;
9372
9092
  twilio_token?: string | undefined;
@@ -9386,9 +9106,8 @@ export declare const connectionSchema: z.ZodObject<{
9386
9106
  strategy: string;
9387
9107
  options?: {
9388
9108
  provider?: string | undefined;
9389
- issuer?: string | undefined;
9390
- client_secret?: string | undefined;
9391
9109
  client_id?: string | undefined;
9110
+ client_secret?: string | undefined;
9392
9111
  scope?: string | undefined;
9393
9112
  kid?: string | undefined;
9394
9113
  team_id?: string | undefined;
@@ -9400,6 +9119,7 @@ export declare const connectionSchema: z.ZodObject<{
9400
9119
  userinfo_endpoint?: string | undefined;
9401
9120
  jwks_uri?: string | undefined;
9402
9121
  discovery_url?: string | undefined;
9122
+ issuer?: string | undefined;
9403
9123
  from?: string | undefined;
9404
9124
  twilio_sid?: string | undefined;
9405
9125
  twilio_token?: string | undefined;
@@ -9666,8 +9386,8 @@ export declare const formControlSchema: z.ZodObject<{
9666
9386
  }, "strip", z.ZodTypeAny, {
9667
9387
  type: "submit";
9668
9388
  id: string;
9669
- disabled: boolean;
9670
9389
  label: string;
9390
+ disabled: boolean;
9671
9391
  visible: boolean;
9672
9392
  className?: string | undefined;
9673
9393
  order?: number | undefined;
@@ -11522,9 +11242,9 @@ export declare const hookInsertSchema: z.ZodUnion<[
11522
11242
  priority: z.ZodOptional<z.ZodNumber>;
11523
11243
  hook_id: z.ZodOptional<z.ZodString>;
11524
11244
  }, "strip", z.ZodTypeAny, {
11525
- enabled: boolean;
11526
11245
  url: string;
11527
11246
  trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
11247
+ enabled: boolean;
11528
11248
  synchronous: boolean;
11529
11249
  priority?: number | undefined;
11530
11250
  hook_id?: string | undefined;
@@ -11548,8 +11268,8 @@ export declare const hookInsertSchema: z.ZodUnion<[
11548
11268
  priority: z.ZodOptional<z.ZodNumber>;
11549
11269
  hook_id: z.ZodOptional<z.ZodString>;
11550
11270
  }, "strip", z.ZodTypeAny, {
11551
- enabled: boolean;
11552
11271
  trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
11272
+ enabled: boolean;
11553
11273
  synchronous: boolean;
11554
11274
  form_id: string;
11555
11275
  priority?: number | undefined;
@@ -11581,9 +11301,9 @@ export declare const hookSchema: z.ZodUnion<[
11581
11301
  }, "strip", z.ZodTypeAny, {
11582
11302
  created_at: string;
11583
11303
  updated_at: string;
11584
- enabled: boolean;
11585
11304
  url: string;
11586
11305
  trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
11306
+ enabled: boolean;
11587
11307
  synchronous: boolean;
11588
11308
  hook_id: string;
11589
11309
  priority?: number | undefined;
@@ -11613,8 +11333,8 @@ export declare const hookSchema: z.ZodUnion<[
11613
11333
  }, "strip", z.ZodTypeAny, {
11614
11334
  created_at: string;
11615
11335
  updated_at: string;
11616
- enabled: boolean;
11617
11336
  trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
11337
+ enabled: boolean;
11618
11338
  synchronous: boolean;
11619
11339
  hook_id: string;
11620
11340
  form_id: string;
@@ -11869,11 +11589,11 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
11869
11589
  request_parameter_supported: z.ZodBoolean;
11870
11590
  token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
11871
11591
  }, "strip", z.ZodTypeAny, {
11872
- issuer: string;
11873
11592
  authorization_endpoint: string;
11874
11593
  token_endpoint: string;
11875
11594
  userinfo_endpoint: string;
11876
11595
  jwks_uri: string;
11596
+ issuer: string;
11877
11597
  device_authorization_endpoint: string;
11878
11598
  mfa_challenge_endpoint: string;
11879
11599
  registration_endpoint: string;
@@ -11890,11 +11610,11 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
11890
11610
  request_parameter_supported: boolean;
11891
11611
  token_endpoint_auth_signing_alg_values_supported: string[];
11892
11612
  }, {
11893
- issuer: string;
11894
11613
  authorization_endpoint: string;
11895
11614
  token_endpoint: string;
11896
11615
  userinfo_endpoint: string;
11897
11616
  jwks_uri: string;
11617
+ issuer: string;
11898
11618
  device_authorization_endpoint: string;
11899
11619
  mfa_challenge_endpoint: string;
11900
11620
  registration_endpoint: string;
@@ -11945,6 +11665,7 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
11945
11665
  client_id: string;
11946
11666
  username?: string | undefined;
11947
11667
  audience?: string | undefined;
11668
+ scope?: string | undefined;
11948
11669
  act_as?: string | undefined;
11949
11670
  response_type?: AuthorizationResponseType | undefined;
11950
11671
  response_mode?: AuthorizationResponseMode | undefined;
@@ -11952,7 +11673,6 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
11952
11673
  organization?: string | undefined;
11953
11674
  state?: string | undefined;
11954
11675
  nonce?: string | undefined;
11955
- scope?: string | undefined;
11956
11676
  prompt?: string | undefined;
11957
11677
  code_challenge_method?: CodeChallengeMethod | undefined;
11958
11678
  code_challenge?: string | undefined;
@@ -11962,6 +11682,7 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
11962
11682
  client_id: string;
11963
11683
  username?: string | undefined;
11964
11684
  audience?: string | undefined;
11685
+ scope?: string | undefined;
11965
11686
  act_as?: string | undefined;
11966
11687
  response_type?: AuthorizationResponseType | undefined;
11967
11688
  response_mode?: AuthorizationResponseMode | undefined;
@@ -11969,7 +11690,6 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
11969
11690
  organization?: string | undefined;
11970
11691
  state?: string | undefined;
11971
11692
  nonce?: string | undefined;
11972
- scope?: string | undefined;
11973
11693
  prompt?: string | undefined;
11974
11694
  code_challenge_method?: CodeChallengeMethod | undefined;
11975
11695
  code_challenge?: string | undefined;
@@ -11990,6 +11710,7 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
11990
11710
  client_id: string;
11991
11711
  username?: string | undefined;
11992
11712
  audience?: string | undefined;
11713
+ scope?: string | undefined;
11993
11714
  act_as?: string | undefined;
11994
11715
  response_type?: AuthorizationResponseType | undefined;
11995
11716
  response_mode?: AuthorizationResponseMode | undefined;
@@ -11997,7 +11718,6 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
11997
11718
  organization?: string | undefined;
11998
11719
  state?: string | undefined;
11999
11720
  nonce?: string | undefined;
12000
- scope?: string | undefined;
12001
11721
  prompt?: string | undefined;
12002
11722
  code_challenge_method?: CodeChallengeMethod | undefined;
12003
11723
  code_challenge?: string | undefined;
@@ -12018,6 +11738,7 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
12018
11738
  client_id: string;
12019
11739
  username?: string | undefined;
12020
11740
  audience?: string | undefined;
11741
+ scope?: string | undefined;
12021
11742
  act_as?: string | undefined;
12022
11743
  response_type?: AuthorizationResponseType | undefined;
12023
11744
  response_mode?: AuthorizationResponseMode | undefined;
@@ -12025,7 +11746,6 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
12025
11746
  organization?: string | undefined;
12026
11747
  state?: string | undefined;
12027
11748
  nonce?: string | undefined;
12028
- scope?: string | undefined;
12029
11749
  prompt?: string | undefined;
12030
11750
  code_challenge_method?: CodeChallengeMethod | undefined;
12031
11751
  code_challenge?: string | undefined;
@@ -12068,6 +11788,7 @@ export declare const loginSessionSchema: z.ZodObject<{
12068
11788
  client_id: string;
12069
11789
  username?: string | undefined;
12070
11790
  audience?: string | undefined;
11791
+ scope?: string | undefined;
12071
11792
  act_as?: string | undefined;
12072
11793
  response_type?: AuthorizationResponseType | undefined;
12073
11794
  response_mode?: AuthorizationResponseMode | undefined;
@@ -12075,7 +11796,6 @@ export declare const loginSessionSchema: z.ZodObject<{
12075
11796
  organization?: string | undefined;
12076
11797
  state?: string | undefined;
12077
11798
  nonce?: string | undefined;
12078
- scope?: string | undefined;
12079
11799
  prompt?: string | undefined;
12080
11800
  code_challenge_method?: CodeChallengeMethod | undefined;
12081
11801
  code_challenge?: string | undefined;
@@ -12085,6 +11805,7 @@ export declare const loginSessionSchema: z.ZodObject<{
12085
11805
  client_id: string;
12086
11806
  username?: string | undefined;
12087
11807
  audience?: string | undefined;
11808
+ scope?: string | undefined;
12088
11809
  act_as?: string | undefined;
12089
11810
  response_type?: AuthorizationResponseType | undefined;
12090
11811
  response_mode?: AuthorizationResponseMode | undefined;
@@ -12092,7 +11813,6 @@ export declare const loginSessionSchema: z.ZodObject<{
12092
11813
  organization?: string | undefined;
12093
11814
  state?: string | undefined;
12094
11815
  nonce?: string | undefined;
12095
- scope?: string | undefined;
12096
11816
  prompt?: string | undefined;
12097
11817
  code_challenge_method?: CodeChallengeMethod | undefined;
12098
11818
  code_challenge?: string | undefined;
@@ -12116,6 +11836,7 @@ export declare const loginSessionSchema: z.ZodObject<{
12116
11836
  client_id: string;
12117
11837
  username?: string | undefined;
12118
11838
  audience?: string | undefined;
11839
+ scope?: string | undefined;
12119
11840
  act_as?: string | undefined;
12120
11841
  response_type?: AuthorizationResponseType | undefined;
12121
11842
  response_mode?: AuthorizationResponseMode | undefined;
@@ -12123,7 +11844,6 @@ export declare const loginSessionSchema: z.ZodObject<{
12123
11844
  organization?: string | undefined;
12124
11845
  state?: string | undefined;
12125
11846
  nonce?: string | undefined;
12126
- scope?: string | undefined;
12127
11847
  prompt?: string | undefined;
12128
11848
  code_challenge_method?: CodeChallengeMethod | undefined;
12129
11849
  code_challenge?: string | undefined;
@@ -12147,6 +11867,7 @@ export declare const loginSessionSchema: z.ZodObject<{
12147
11867
  client_id: string;
12148
11868
  username?: string | undefined;
12149
11869
  audience?: string | undefined;
11870
+ scope?: string | undefined;
12150
11871
  act_as?: string | undefined;
12151
11872
  response_type?: AuthorizationResponseType | undefined;
12152
11873
  response_mode?: AuthorizationResponseMode | undefined;
@@ -12154,7 +11875,6 @@ export declare const loginSessionSchema: z.ZodObject<{
12154
11875
  organization?: string | undefined;
12155
11876
  state?: string | undefined;
12156
11877
  nonce?: string | undefined;
12157
- scope?: string | undefined;
12158
11878
  prompt?: string | undefined;
12159
11879
  code_challenge_method?: CodeChallengeMethod | undefined;
12160
11880
  code_challenge?: string | undefined;
@@ -12399,8 +12119,8 @@ export declare const logSchema: z.ZodObject<{
12399
12119
  description?: string | undefined;
12400
12120
  connection?: string | undefined;
12401
12121
  user_id?: string | undefined;
12402
- audience?: string | undefined;
12403
12122
  client_id?: string | undefined;
12123
+ audience?: string | undefined;
12404
12124
  scope?: string[] | undefined;
12405
12125
  strategy?: string | undefined;
12406
12126
  connection_id?: string | undefined;
@@ -12427,8 +12147,8 @@ export declare const logSchema: z.ZodObject<{
12427
12147
  description?: string | undefined;
12428
12148
  connection?: string | undefined;
12429
12149
  user_id?: string | undefined;
12430
- audience?: string | undefined;
12431
12150
  client_id?: string | undefined;
12151
+ audience?: string | undefined;
12432
12152
  scope?: string[] | undefined;
12433
12153
  strategy?: string | undefined;
12434
12154
  connection_id?: string | undefined;
@@ -12784,16 +12504,16 @@ export declare const tokenResponseSchema: z.ZodObject<{
12784
12504
  token_type: string;
12785
12505
  expires_in: number;
12786
12506
  refresh_token?: string | undefined;
12787
- state?: string | undefined;
12788
12507
  scope?: string | undefined;
12508
+ state?: string | undefined;
12789
12509
  id_token?: string | undefined;
12790
12510
  }, {
12791
12511
  access_token: string;
12792
12512
  token_type: string;
12793
12513
  expires_in: number;
12794
12514
  refresh_token?: string | undefined;
12795
- state?: string | undefined;
12796
12515
  scope?: string | undefined;
12516
+ state?: string | undefined;
12797
12517
  id_token?: string | undefined;
12798
12518
  }>;
12799
12519
  export type TokenResponse = z.infer<typeof tokenResponseSchema>;
@@ -14137,8 +13857,8 @@ export declare const refreshTokenInsertSchema: z.ZodObject<{
14137
13857
  rotating: z.ZodBoolean;
14138
13858
  }, "strip", z.ZodTypeAny, {
14139
13859
  user_id: string;
14140
- id: string;
14141
13860
  client_id: string;
13861
+ id: string;
14142
13862
  session_id: string;
14143
13863
  device: {
14144
13864
  last_ip: string;
@@ -14158,8 +13878,8 @@ export declare const refreshTokenInsertSchema: z.ZodObject<{
14158
13878
  last_exchanged_at?: string | undefined;
14159
13879
  }, {
14160
13880
  user_id: string;
14161
- id: string;
14162
13881
  client_id: string;
13882
+ id: string;
14163
13883
  session_id: string;
14164
13884
  device: {
14165
13885
  last_ip: string;
@@ -14224,8 +13944,8 @@ export declare const refreshTokenSchema: z.ZodObject<{
14224
13944
  }, "strip", z.ZodTypeAny, {
14225
13945
  created_at: string;
14226
13946
  user_id: string;
14227
- id: string;
14228
13947
  client_id: string;
13948
+ id: string;
14229
13949
  session_id: string;
14230
13950
  device: {
14231
13951
  last_ip: string;
@@ -14246,8 +13966,8 @@ export declare const refreshTokenSchema: z.ZodObject<{
14246
13966
  }, {
14247
13967
  created_at: string;
14248
13968
  user_id: string;
14249
- id: string;
14250
13969
  client_id: string;
13970
+ id: string;
14251
13971
  session_id: string;
14252
13972
  device: {
14253
13973
  last_ip: string;
@@ -15150,7 +14870,6 @@ export declare const organizationInsertSchema: z.ZodObject<{
15150
14870
  }>>;
15151
14871
  }, "strip", z.ZodTypeAny, {
15152
14872
  name: string;
15153
- id?: string | undefined;
15154
14873
  token_quota?: {
15155
14874
  client_credentials?: {
15156
14875
  enforce: boolean;
@@ -15158,6 +14877,7 @@ export declare const organizationInsertSchema: z.ZodObject<{
15158
14877
  per_hour: number;
15159
14878
  } | undefined;
15160
14879
  } | undefined;
14880
+ id?: string | undefined;
15161
14881
  display_name?: string | undefined;
15162
14882
  branding?: {
15163
14883
  colors?: {
@@ -15175,7 +14895,6 @@ export declare const organizationInsertSchema: z.ZodObject<{
15175
14895
  }[] | undefined;
15176
14896
  }, {
15177
14897
  name: string;
15178
- id?: string | undefined;
15179
14898
  token_quota?: {
15180
14899
  client_credentials?: {
15181
14900
  enforce?: boolean | undefined;
@@ -15183,6 +14902,7 @@ export declare const organizationInsertSchema: z.ZodObject<{
15183
14902
  per_hour?: number | undefined;
15184
14903
  } | undefined;
15185
14904
  } | undefined;
14905
+ id?: string | undefined;
15186
14906
  display_name?: string | undefined;
15187
14907
  branding?: {
15188
14908
  colors?: {
@@ -15405,6 +15125,16 @@ export interface ClientsAdapter {
15405
15125
  }>;
15406
15126
  update(tenant_id: string, client_id: string, client: Partial<Client>): Promise<boolean>;
15407
15127
  }
15128
+ export interface ListClientGrantsResponse extends Totals {
15129
+ client_grants: ClientGrant[];
15130
+ }
15131
+ export interface ClientGrantsAdapter {
15132
+ create(tenant_id: string, params: ClientGrantInsert): Promise<ClientGrant>;
15133
+ get(tenant_id: string, id: string): Promise<ClientGrant | null>;
15134
+ list(tenant_id: string, params?: ListParams): Promise<ListClientGrantsResponse>;
15135
+ update(tenant_id: string, id: string, clientGrant: Partial<ClientGrantInsert>): Promise<boolean>;
15136
+ remove(tenant_id: string, id: string): Promise<boolean>;
15137
+ }
15408
15138
  export interface ListCodesResponse extends Totals {
15409
15139
  codes: Code[];
15410
15140
  }
@@ -15466,16 +15196,6 @@ export interface LogsDataAdapter {
15466
15196
  list(tenantId: string, params?: ListParams): Promise<ListLogsResponse>;
15467
15197
  get(tenantId: string, logId: string): Promise<LogsResponse | null>;
15468
15198
  }
15469
- export interface ApplicationsAdapter {
15470
- create(tenant_id: string, params: ApplicationInsert): Promise<Application>;
15471
- get(tenant_id: string, id: string): Promise<Application | null>;
15472
- remove(tenant_id: string, id: string): Promise<boolean>;
15473
- list(tenant_id: string, params?: ListParams): Promise<{
15474
- applications: Application[];
15475
- totals?: Totals;
15476
- }>;
15477
- update(tenant_id: string, id: string, application: Partial<Application>): Promise<boolean>;
15478
- }
15479
15199
  export interface ListConnectionsResponse extends Totals {
15480
15200
  connections: Connection[];
15481
15201
  }
@@ -15635,10 +15355,10 @@ export interface UserOrganizationsAdapter {
15635
15355
  update(tenantId: string, id: string, params: Partial<UserOrganizationInsert>): Promise<boolean>;
15636
15356
  }
15637
15357
  export interface DataAdapters {
15638
- applications: ApplicationsAdapter;
15639
15358
  branding: BrandingAdapter;
15640
15359
  cache?: CacheAdapter;
15641
15360
  clients: ClientsAdapter;
15361
+ clientGrants: ClientGrantsAdapter;
15642
15362
  legacyClients: LegacyClientsAdapter;
15643
15363
  codes: CodesAdapter;
15644
15364
  connections: ConnectionsAdapter;
@@ -16361,7 +16081,6 @@ export declare function init(config: AuthHeroConfig): {
16361
16081
  } & {
16362
16082
  json: {
16363
16083
  name: string;
16364
- id?: string | undefined;
16365
16084
  token_quota?: {
16366
16085
  client_credentials?: {
16367
16086
  enforce?: boolean | undefined;
@@ -16369,6 +16088,7 @@ export declare function init(config: AuthHeroConfig): {
16369
16088
  per_hour?: number | undefined;
16370
16089
  } | undefined;
16371
16090
  } | undefined;
16091
+ id?: string | undefined;
16372
16092
  display_name?: string | undefined;
16373
16093
  branding?: {
16374
16094
  colors?: {
@@ -18087,8 +17807,8 @@ export declare function init(config: AuthHeroConfig): {
18087
17807
  };
18088
17808
  output: {
18089
17809
  user_id: string;
18090
- id: string;
18091
17810
  client_id: string;
17811
+ id: string;
18092
17812
  session_id: string;
18093
17813
  device: {
18094
17814
  last_ip: string;
@@ -18257,9 +17977,8 @@ export declare function init(config: AuthHeroConfig): {
18257
17977
  output: {
18258
17978
  options: {
18259
17979
  provider?: string | undefined | undefined;
18260
- issuer?: string | undefined | undefined;
18261
- client_secret?: string | undefined | undefined;
18262
17980
  client_id?: string | undefined | undefined;
17981
+ client_secret?: string | undefined | undefined;
18263
17982
  scope?: string | undefined | undefined;
18264
17983
  kid?: string | undefined | undefined;
18265
17984
  team_id?: string | undefined | undefined;
@@ -18271,6 +17990,7 @@ export declare function init(config: AuthHeroConfig): {
18271
17990
  userinfo_endpoint?: string | undefined | undefined;
18272
17991
  jwks_uri?: string | undefined | undefined;
18273
17992
  discovery_url?: string | undefined | undefined;
17993
+ issuer?: string | undefined | undefined;
18274
17994
  from?: string | undefined | undefined;
18275
17995
  twilio_sid?: string | undefined | undefined;
18276
17996
  twilio_token?: string | undefined | undefined;
@@ -18290,9 +18010,8 @@ export declare function init(config: AuthHeroConfig): {
18290
18010
  connections: {
18291
18011
  options: {
18292
18012
  provider?: string | undefined | undefined;
18293
- issuer?: string | undefined | undefined;
18294
- client_secret?: string | undefined | undefined;
18295
18013
  client_id?: string | undefined | undefined;
18014
+ client_secret?: string | undefined | undefined;
18296
18015
  scope?: string | undefined | undefined;
18297
18016
  kid?: string | undefined | undefined;
18298
18017
  team_id?: string | undefined | undefined;
@@ -18304,6 +18023,7 @@ export declare function init(config: AuthHeroConfig): {
18304
18023
  userinfo_endpoint?: string | undefined | undefined;
18305
18024
  jwks_uri?: string | undefined | undefined;
18306
18025
  discovery_url?: string | undefined | undefined;
18026
+ issuer?: string | undefined | undefined;
18307
18027
  from?: string | undefined | undefined;
18308
18028
  twilio_sid?: string | undefined | undefined;
18309
18029
  twilio_token?: string | undefined | undefined;
@@ -18337,9 +18057,8 @@ export declare function init(config: AuthHeroConfig): {
18337
18057
  output: {
18338
18058
  options: {
18339
18059
  provider?: string | undefined | undefined;
18340
- issuer?: string | undefined | undefined;
18341
- client_secret?: string | undefined | undefined;
18342
18060
  client_id?: string | undefined | undefined;
18061
+ client_secret?: string | undefined | undefined;
18343
18062
  scope?: string | undefined | undefined;
18344
18063
  kid?: string | undefined | undefined;
18345
18064
  team_id?: string | undefined | undefined;
@@ -18351,6 +18070,7 @@ export declare function init(config: AuthHeroConfig): {
18351
18070
  userinfo_endpoint?: string | undefined | undefined;
18352
18071
  jwks_uri?: string | undefined | undefined;
18353
18072
  discovery_url?: string | undefined | undefined;
18073
+ issuer?: string | undefined | undefined;
18354
18074
  from?: string | undefined | undefined;
18355
18075
  twilio_sid?: string | undefined | undefined;
18356
18076
  twilio_token?: string | undefined | undefined;
@@ -18401,9 +18121,8 @@ export declare function init(config: AuthHeroConfig): {
18401
18121
  name?: string | undefined;
18402
18122
  options?: {
18403
18123
  provider?: string | undefined;
18404
- issuer?: string | undefined;
18405
- client_secret?: string | undefined;
18406
18124
  client_id?: string | undefined;
18125
+ client_secret?: string | undefined;
18407
18126
  scope?: string | undefined;
18408
18127
  kid?: string | undefined;
18409
18128
  team_id?: string | undefined;
@@ -18415,6 +18134,7 @@ export declare function init(config: AuthHeroConfig): {
18415
18134
  userinfo_endpoint?: string | undefined;
18416
18135
  jwks_uri?: string | undefined;
18417
18136
  discovery_url?: string | undefined;
18137
+ issuer?: string | undefined;
18418
18138
  from?: string | undefined;
18419
18139
  twilio_sid?: string | undefined;
18420
18140
  twilio_token?: string | undefined;
@@ -18429,9 +18149,8 @@ export declare function init(config: AuthHeroConfig): {
18429
18149
  output: {
18430
18150
  options: {
18431
18151
  provider?: string | undefined | undefined;
18432
- issuer?: string | undefined | undefined;
18433
- client_secret?: string | undefined | undefined;
18434
18152
  client_id?: string | undefined | undefined;
18153
+ client_secret?: string | undefined | undefined;
18435
18154
  scope?: string | undefined | undefined;
18436
18155
  kid?: string | undefined | undefined;
18437
18156
  team_id?: string | undefined | undefined;
@@ -18443,6 +18162,7 @@ export declare function init(config: AuthHeroConfig): {
18443
18162
  userinfo_endpoint?: string | undefined | undefined;
18444
18163
  jwks_uri?: string | undefined | undefined;
18445
18164
  discovery_url?: string | undefined | undefined;
18165
+ issuer?: string | undefined | undefined;
18446
18166
  from?: string | undefined | undefined;
18447
18167
  twilio_sid?: string | undefined | undefined;
18448
18168
  twilio_token?: string | undefined | undefined;
@@ -18473,9 +18193,8 @@ export declare function init(config: AuthHeroConfig): {
18473
18193
  strategy: string;
18474
18194
  options?: {
18475
18195
  provider?: string | undefined;
18476
- issuer?: string | undefined;
18477
- client_secret?: string | undefined;
18478
18196
  client_id?: string | undefined;
18197
+ client_secret?: string | undefined;
18479
18198
  scope?: string | undefined;
18480
18199
  kid?: string | undefined;
18481
18200
  team_id?: string | undefined;
@@ -18487,6 +18206,7 @@ export declare function init(config: AuthHeroConfig): {
18487
18206
  userinfo_endpoint?: string | undefined;
18488
18207
  jwks_uri?: string | undefined;
18489
18208
  discovery_url?: string | undefined;
18209
+ issuer?: string | undefined;
18490
18210
  from?: string | undefined;
18491
18211
  twilio_sid?: string | undefined;
18492
18212
  twilio_token?: string | undefined;
@@ -18500,9 +18220,8 @@ export declare function init(config: AuthHeroConfig): {
18500
18220
  output: {
18501
18221
  options: {
18502
18222
  provider?: string | undefined | undefined;
18503
- issuer?: string | undefined | undefined;
18504
- client_secret?: string | undefined | undefined;
18505
18223
  client_id?: string | undefined | undefined;
18224
+ client_secret?: string | undefined | undefined;
18506
18225
  scope?: string | undefined | undefined;
18507
18226
  kid?: string | undefined | undefined;
18508
18227
  team_id?: string | undefined | undefined;
@@ -18514,6 +18233,7 @@ export declare function init(config: AuthHeroConfig): {
18514
18233
  userinfo_endpoint?: string | undefined | undefined;
18515
18234
  jwks_uri?: string | undefined | undefined;
18516
18235
  discovery_url?: string | undefined | undefined;
18236
+ issuer?: string | undefined | undefined;
18517
18237
  from?: string | undefined | undefined;
18518
18238
  twilio_sid?: string | undefined | undefined;
18519
18239
  twilio_token?: string | undefined | undefined;
@@ -18550,17 +18270,17 @@ export declare function init(config: AuthHeroConfig): {
18550
18270
  output: ({
18551
18271
  created_at: string;
18552
18272
  updated_at: string;
18553
- enabled: boolean;
18554
18273
  url: string;
18555
18274
  trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
18275
+ enabled: boolean;
18556
18276
  synchronous: boolean;
18557
18277
  hook_id: string;
18558
18278
  priority?: number | undefined | undefined;
18559
18279
  } | {
18560
18280
  created_at: string;
18561
18281
  updated_at: string;
18562
- enabled: boolean;
18563
18282
  trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
18283
+ enabled: boolean;
18564
18284
  synchronous: boolean;
18565
18285
  hook_id: string;
18566
18286
  form_id: string;
@@ -18572,17 +18292,17 @@ export declare function init(config: AuthHeroConfig): {
18572
18292
  hooks: ({
18573
18293
  created_at: string;
18574
18294
  updated_at: string;
18575
- enabled: boolean;
18576
18295
  url: string;
18577
18296
  trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
18297
+ enabled: boolean;
18578
18298
  synchronous: boolean;
18579
18299
  hook_id: string;
18580
18300
  priority?: number | undefined | undefined;
18581
18301
  } | {
18582
18302
  created_at: string;
18583
18303
  updated_at: string;
18584
- enabled: boolean;
18585
18304
  trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
18305
+ enabled: boolean;
18586
18306
  synchronous: boolean;
18587
18307
  hook_id: string;
18588
18308
  form_id: string;
@@ -18620,17 +18340,17 @@ export declare function init(config: AuthHeroConfig): {
18620
18340
  output: {
18621
18341
  created_at: string;
18622
18342
  updated_at: string;
18623
- enabled: boolean;
18624
18343
  url: string;
18625
18344
  trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
18345
+ enabled: boolean;
18626
18346
  synchronous: boolean;
18627
18347
  hook_id: string;
18628
18348
  priority?: number | undefined | undefined;
18629
18349
  } | {
18630
18350
  created_at: string;
18631
18351
  updated_at: string;
18632
- enabled: boolean;
18633
18352
  trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
18353
+ enabled: boolean;
18634
18354
  synchronous: boolean;
18635
18355
  hook_id: string;
18636
18356
  form_id: string;
@@ -18654,13 +18374,13 @@ export declare function init(config: AuthHeroConfig): {
18654
18374
  } & {
18655
18375
  json: {
18656
18376
  url?: string | undefined;
18657
- enabled?: boolean | undefined;
18658
18377
  trigger_id?: "pre-user-signup" | "post-user-registration" | "post-user-login" | undefined;
18378
+ enabled?: boolean | undefined;
18659
18379
  synchronous?: boolean | undefined;
18660
18380
  priority?: number | undefined;
18661
18381
  } | {
18662
- enabled?: boolean | undefined;
18663
18382
  trigger_id?: "pre-user-signup" | "post-user-registration" | "post-user-login" | undefined;
18383
+ enabled?: boolean | undefined;
18664
18384
  synchronous?: boolean | undefined;
18665
18385
  priority?: number | undefined;
18666
18386
  form_id?: string | undefined;
@@ -18681,13 +18401,13 @@ export declare function init(config: AuthHeroConfig): {
18681
18401
  } & {
18682
18402
  json: {
18683
18403
  url?: string | undefined;
18684
- enabled?: boolean | undefined;
18685
18404
  trigger_id?: "pre-user-signup" | "post-user-registration" | "post-user-login" | undefined;
18405
+ enabled?: boolean | undefined;
18686
18406
  synchronous?: boolean | undefined;
18687
18407
  priority?: number | undefined;
18688
18408
  } | {
18689
- enabled?: boolean | undefined;
18690
18409
  trigger_id?: "pre-user-signup" | "post-user-registration" | "post-user-login" | undefined;
18410
+ enabled?: boolean | undefined;
18691
18411
  synchronous?: boolean | undefined;
18692
18412
  priority?: number | undefined;
18693
18413
  form_id?: string | undefined;
@@ -18696,17 +18416,17 @@ export declare function init(config: AuthHeroConfig): {
18696
18416
  output: {
18697
18417
  created_at: string;
18698
18418
  updated_at: string;
18699
- enabled: boolean;
18700
18419
  url: string;
18701
18420
  trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
18421
+ enabled: boolean;
18702
18422
  synchronous: boolean;
18703
18423
  hook_id: string;
18704
18424
  priority?: number | undefined | undefined;
18705
18425
  } | {
18706
18426
  created_at: string;
18707
18427
  updated_at: string;
18708
- enabled: boolean;
18709
18428
  trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
18429
+ enabled: boolean;
18710
18430
  synchronous: boolean;
18711
18431
  hook_id: string;
18712
18432
  form_id: string;
@@ -18744,17 +18464,17 @@ export declare function init(config: AuthHeroConfig): {
18744
18464
  output: {
18745
18465
  created_at: string;
18746
18466
  updated_at: string;
18747
- enabled: boolean;
18748
18467
  url: string;
18749
18468
  trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
18469
+ enabled: boolean;
18750
18470
  synchronous: boolean;
18751
18471
  hook_id: string;
18752
18472
  priority?: number | undefined | undefined;
18753
18473
  } | {
18754
18474
  created_at: string;
18755
18475
  updated_at: string;
18756
- enabled: boolean;
18757
18476
  trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
18477
+ enabled: boolean;
18758
18478
  synchronous: boolean;
18759
18479
  hook_id: string;
18760
18480
  form_id: string;
@@ -18806,8 +18526,8 @@ export declare function init(config: AuthHeroConfig): {
18806
18526
  description?: string | undefined | undefined;
18807
18527
  connection?: string | undefined | undefined;
18808
18528
  user_id?: string | undefined | undefined;
18809
- audience?: string | undefined | undefined;
18810
18529
  client_id?: string | undefined | undefined;
18530
+ audience?: string | undefined | undefined;
18811
18531
  scope?: string[] | undefined | undefined;
18812
18532
  strategy?: string | undefined | undefined;
18813
18533
  connection_id?: string | undefined | undefined;
@@ -18838,8 +18558,8 @@ export declare function init(config: AuthHeroConfig): {
18838
18558
  description?: string | undefined | undefined;
18839
18559
  connection?: string | undefined | undefined;
18840
18560
  user_id?: string | undefined | undefined;
18841
- audience?: string | undefined | undefined;
18842
18561
  client_id?: string | undefined | undefined;
18562
+ audience?: string | undefined | undefined;
18843
18563
  scope?: string[] | undefined | undefined;
18844
18564
  strategy?: string | undefined | undefined;
18845
18565
  connection_id?: string | undefined | undefined;
@@ -18884,8 +18604,8 @@ export declare function init(config: AuthHeroConfig): {
18884
18604
  description?: string | undefined | undefined;
18885
18605
  connection?: string | undefined | undefined;
18886
18606
  user_id?: string | undefined | undefined;
18887
- audience?: string | undefined | undefined;
18888
18607
  client_id?: string | undefined | undefined;
18608
+ audience?: string | undefined | undefined;
18889
18609
  scope?: string[] | undefined | undefined;
18890
18610
  strategy?: string | undefined | undefined;
18891
18611
  connection_id?: string | undefined | undefined;
@@ -19000,6 +18720,182 @@ export declare function init(config: AuthHeroConfig): {
19000
18720
  };
19001
18721
  };
19002
18722
  }, "/tenants"> & import("hono/types").MergeSchemaPath<{
18723
+ "/": {
18724
+ $get: {
18725
+ input: {
18726
+ query: {
18727
+ client_id?: string | undefined;
18728
+ page?: string | undefined;
18729
+ per_page?: string | undefined;
18730
+ include_totals?: string | undefined;
18731
+ audience?: string | undefined;
18732
+ from?: string | undefined;
18733
+ take?: string | undefined;
18734
+ allow_any_organization?: string | undefined;
18735
+ subject_type?: "user" | "client" | undefined;
18736
+ };
18737
+ } & {
18738
+ header: {
18739
+ "tenant-id": string;
18740
+ };
18741
+ };
18742
+ output: {
18743
+ client_id: string;
18744
+ audience: string;
18745
+ id: string;
18746
+ created_at?: string | undefined | undefined;
18747
+ updated_at?: string | undefined | undefined;
18748
+ organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
18749
+ scope?: string[] | undefined | undefined;
18750
+ allow_any_organization?: boolean | undefined | undefined;
18751
+ is_system?: boolean | undefined | undefined;
18752
+ subject_type?: "client" | "user" | undefined | undefined;
18753
+ authorization_details_types?: string[] | undefined | undefined;
18754
+ }[] | {
18755
+ length: number;
18756
+ start: number;
18757
+ limit: number;
18758
+ client_grants: {
18759
+ client_id: string;
18760
+ audience: string;
18761
+ id: string;
18762
+ created_at?: string | undefined | undefined;
18763
+ updated_at?: string | undefined | undefined;
18764
+ organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
18765
+ scope?: string[] | undefined | undefined;
18766
+ allow_any_organization?: boolean | undefined | undefined;
18767
+ is_system?: boolean | undefined | undefined;
18768
+ subject_type?: "client" | "user" | undefined | undefined;
18769
+ authorization_details_types?: string[] | undefined | undefined;
18770
+ }[];
18771
+ };
18772
+ outputFormat: "json";
18773
+ status: 200;
18774
+ };
18775
+ };
18776
+ } & {
18777
+ "/:id": {
18778
+ $get: {
18779
+ input: {
18780
+ param: {
18781
+ id: string;
18782
+ };
18783
+ } & {
18784
+ header: {
18785
+ "tenant-id": string;
18786
+ };
18787
+ };
18788
+ output: {
18789
+ client_id: string;
18790
+ audience: string;
18791
+ id: string;
18792
+ created_at?: string | undefined | undefined;
18793
+ updated_at?: string | undefined | undefined;
18794
+ organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
18795
+ scope?: string[] | undefined | undefined;
18796
+ allow_any_organization?: boolean | undefined | undefined;
18797
+ is_system?: boolean | undefined | undefined;
18798
+ subject_type?: "client" | "user" | undefined | undefined;
18799
+ authorization_details_types?: string[] | undefined | undefined;
18800
+ };
18801
+ outputFormat: "json";
18802
+ status: 200;
18803
+ };
18804
+ };
18805
+ } & {
18806
+ "/:id": {
18807
+ $delete: {
18808
+ input: {
18809
+ param: {
18810
+ id: string;
18811
+ };
18812
+ } & {
18813
+ header: {
18814
+ "tenant-id": string;
18815
+ };
18816
+ };
18817
+ output: {};
18818
+ outputFormat: string;
18819
+ status: 200;
18820
+ };
18821
+ };
18822
+ } & {
18823
+ "/:id": {
18824
+ $patch: {
18825
+ input: {
18826
+ param: {
18827
+ id: string;
18828
+ };
18829
+ } & {
18830
+ header: {
18831
+ "tenant-id": string;
18832
+ };
18833
+ } & {
18834
+ json: {
18835
+ client_id?: string | undefined;
18836
+ audience?: string | undefined;
18837
+ scope?: string[] | undefined;
18838
+ organization_usage?: "deny" | "allow" | "require" | undefined;
18839
+ allow_any_organization?: boolean | undefined;
18840
+ subject_type?: "user" | "client" | undefined;
18841
+ is_system?: boolean | undefined;
18842
+ authorization_details_types?: string[] | undefined;
18843
+ };
18844
+ };
18845
+ output: {
18846
+ client_id: string;
18847
+ audience: string;
18848
+ id: string;
18849
+ created_at?: string | undefined | undefined;
18850
+ updated_at?: string | undefined | undefined;
18851
+ organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
18852
+ scope?: string[] | undefined | undefined;
18853
+ allow_any_organization?: boolean | undefined | undefined;
18854
+ is_system?: boolean | undefined | undefined;
18855
+ subject_type?: "client" | "user" | undefined | undefined;
18856
+ authorization_details_types?: string[] | undefined | undefined;
18857
+ };
18858
+ outputFormat: "json";
18859
+ status: 200;
18860
+ };
18861
+ };
18862
+ } & {
18863
+ "/": {
18864
+ $post: {
18865
+ input: {
18866
+ header: {
18867
+ "tenant-id": string;
18868
+ };
18869
+ } & {
18870
+ json: {
18871
+ client_id: string;
18872
+ audience: string;
18873
+ scope?: string[] | undefined;
18874
+ organization_usage?: "deny" | "allow" | "require" | undefined;
18875
+ allow_any_organization?: boolean | undefined;
18876
+ subject_type?: "user" | "client" | undefined;
18877
+ is_system?: boolean | undefined;
18878
+ authorization_details_types?: string[] | undefined;
18879
+ };
18880
+ };
18881
+ output: {
18882
+ client_id: string;
18883
+ audience: string;
18884
+ id: string;
18885
+ created_at?: string | undefined | undefined;
18886
+ updated_at?: string | undefined | undefined;
18887
+ organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
18888
+ scope?: string[] | undefined | undefined;
18889
+ allow_any_organization?: boolean | undefined | undefined;
18890
+ is_system?: boolean | undefined | undefined;
18891
+ subject_type?: "client" | "user" | undefined | undefined;
18892
+ authorization_details_types?: string[] | undefined | undefined;
18893
+ };
18894
+ outputFormat: "json";
18895
+ status: 201;
18896
+ };
18897
+ };
18898
+ }, "/client-grants"> & import("hono/types").MergeSchemaPath<{
19003
18899
  "/": {
19004
18900
  $get: {
19005
18901
  input: {
@@ -19033,21 +18929,15 @@ export declare function init(config: AuthHeroConfig): {
19033
18929
  refresh_token?: {
19034
18930
  [x: string]: any;
19035
18931
  } | undefined;
19036
- callbacks?: string[] | undefined | undefined;
19037
- allowed_origins?: string[] | undefined | undefined;
19038
- web_origins?: string[] | undefined | undefined;
19039
- allowed_logout_urls?: string[] | undefined | undefined;
19040
- allowed_clients?: string[] | undefined | undefined;
19041
- addons?: {
19042
- [x: string]: any;
19043
- } | undefined;
19044
18932
  client_secret?: string | undefined | undefined;
19045
- client_metadata?: {
19046
- [x: string]: string;
19047
- } | undefined;
19048
18933
  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 | undefined;
19049
18934
  logo_uri?: string | undefined | undefined;
18935
+ callbacks?: string[] | undefined | undefined;
18936
+ allowed_origins?: string[] | undefined | undefined;
18937
+ web_origins?: string[] | undefined | undefined;
19050
18938
  client_aliases?: string[] | undefined | undefined;
18939
+ allowed_clients?: string[] | undefined | undefined;
18940
+ allowed_logout_urls?: string[] | undefined | undefined;
19051
18941
  session_transfer?: {
19052
18942
  [x: string]: any;
19053
18943
  } | undefined;
@@ -19068,7 +18958,13 @@ export declare function init(config: AuthHeroConfig): {
19068
18958
  custom_login_page?: string | undefined | undefined;
19069
18959
  custom_login_page_preview?: string | undefined | undefined;
19070
18960
  form_template?: string | undefined | undefined;
18961
+ addons?: {
18962
+ [x: string]: any;
18963
+ } | undefined;
19071
18964
  token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined | undefined;
18965
+ client_metadata?: {
18966
+ [x: string]: string;
18967
+ } | undefined;
19072
18968
  mobile?: {
19073
18969
  [x: string]: any;
19074
18970
  } | undefined;
@@ -19114,21 +19010,15 @@ export declare function init(config: AuthHeroConfig): {
19114
19010
  refresh_token?: {
19115
19011
  [x: string]: any;
19116
19012
  } | undefined;
19117
- callbacks?: string[] | undefined | undefined;
19118
- allowed_origins?: string[] | undefined | undefined;
19119
- web_origins?: string[] | undefined | undefined;
19120
- allowed_logout_urls?: string[] | undefined | undefined;
19121
- allowed_clients?: string[] | undefined | undefined;
19122
- addons?: {
19123
- [x: string]: any;
19124
- } | undefined;
19125
19013
  client_secret?: string | undefined | undefined;
19126
- client_metadata?: {
19127
- [x: string]: string;
19128
- } | undefined;
19129
19014
  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 | undefined;
19130
19015
  logo_uri?: string | undefined | undefined;
19016
+ callbacks?: string[] | undefined | undefined;
19017
+ allowed_origins?: string[] | undefined | undefined;
19018
+ web_origins?: string[] | undefined | undefined;
19131
19019
  client_aliases?: string[] | undefined | undefined;
19020
+ allowed_clients?: string[] | undefined | undefined;
19021
+ allowed_logout_urls?: string[] | undefined | undefined;
19132
19022
  session_transfer?: {
19133
19023
  [x: string]: any;
19134
19024
  } | undefined;
@@ -19149,7 +19039,13 @@ export declare function init(config: AuthHeroConfig): {
19149
19039
  custom_login_page?: string | undefined | undefined;
19150
19040
  custom_login_page_preview?: string | undefined | undefined;
19151
19041
  form_template?: string | undefined | undefined;
19042
+ addons?: {
19043
+ [x: string]: any;
19044
+ } | undefined;
19152
19045
  token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined | undefined;
19046
+ client_metadata?: {
19047
+ [x: string]: string;
19048
+ } | undefined;
19153
19049
  mobile?: {
19154
19050
  [x: string]: any;
19155
19051
  } | undefined;
@@ -19209,21 +19105,15 @@ export declare function init(config: AuthHeroConfig): {
19209
19105
  refresh_token?: {
19210
19106
  [x: string]: any;
19211
19107
  } | undefined;
19212
- callbacks?: string[] | undefined | undefined;
19213
- allowed_origins?: string[] | undefined | undefined;
19214
- web_origins?: string[] | undefined | undefined;
19215
- allowed_logout_urls?: string[] | undefined | undefined;
19216
- allowed_clients?: string[] | undefined | undefined;
19217
- addons?: {
19218
- [x: string]: any;
19219
- } | undefined;
19220
19108
  client_secret?: string | undefined | undefined;
19221
- client_metadata?: {
19222
- [x: string]: string;
19223
- } | undefined;
19224
19109
  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 | undefined;
19225
19110
  logo_uri?: string | undefined | undefined;
19111
+ callbacks?: string[] | undefined | undefined;
19112
+ allowed_origins?: string[] | undefined | undefined;
19113
+ web_origins?: string[] | undefined | undefined;
19226
19114
  client_aliases?: string[] | undefined | undefined;
19115
+ allowed_clients?: string[] | undefined | undefined;
19116
+ allowed_logout_urls?: string[] | undefined | undefined;
19227
19117
  session_transfer?: {
19228
19118
  [x: string]: any;
19229
19119
  } | undefined;
@@ -19244,7 +19134,13 @@ export declare function init(config: AuthHeroConfig): {
19244
19134
  custom_login_page?: string | undefined | undefined;
19245
19135
  custom_login_page_preview?: string | undefined | undefined;
19246
19136
  form_template?: string | undefined | undefined;
19137
+ addons?: {
19138
+ [x: string]: any;
19139
+ } | undefined;
19247
19140
  token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined | undefined;
19141
+ client_metadata?: {
19142
+ [x: string]: string;
19143
+ } | undefined;
19248
19144
  mobile?: {
19249
19145
  [x: string]: any;
19250
19146
  } | undefined;
@@ -19318,16 +19214,14 @@ export declare function init(config: AuthHeroConfig): {
19318
19214
  custom_login_page_on?: boolean | undefined;
19319
19215
  require_pushed_authorization_requests?: boolean | undefined;
19320
19216
  require_proof_of_possession?: boolean | undefined;
19321
- allowed_origins?: string[] | undefined;
19322
- web_origins?: string[] | undefined;
19323
- allowed_logout_urls?: string[] | undefined;
19324
- allowed_clients?: string[] | undefined;
19325
- addons?: Record<string, any> | undefined;
19326
19217
  client_secret?: string | undefined;
19327
- client_metadata?: Record<string, string> | undefined;
19328
19218
  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;
19329
19219
  logo_uri?: string | undefined;
19220
+ allowed_origins?: string[] | undefined;
19221
+ web_origins?: string[] | undefined;
19330
19222
  client_aliases?: string[] | undefined;
19223
+ allowed_clients?: string[] | undefined;
19224
+ allowed_logout_urls?: string[] | undefined;
19331
19225
  session_transfer?: Record<string, any> | undefined;
19332
19226
  oidc_logout?: Record<string, any> | undefined;
19333
19227
  grant_types?: string[] | undefined;
@@ -19338,7 +19232,9 @@ export declare function init(config: AuthHeroConfig): {
19338
19232
  custom_login_page?: string | undefined;
19339
19233
  custom_login_page_preview?: string | undefined;
19340
19234
  form_template?: string | undefined;
19235
+ addons?: Record<string, any> | undefined;
19341
19236
  token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
19237
+ client_metadata?: Record<string, string> | undefined;
19342
19238
  mobile?: Record<string, any> | undefined;
19343
19239
  initiate_login_uri?: string | undefined;
19344
19240
  native_social_login?: Record<string, any> | undefined;
@@ -19369,21 +19265,15 @@ export declare function init(config: AuthHeroConfig): {
19369
19265
  refresh_token?: {
19370
19266
  [x: string]: any;
19371
19267
  } | undefined;
19372
- callbacks?: string[] | undefined | undefined;
19373
- allowed_origins?: string[] | undefined | undefined;
19374
- web_origins?: string[] | undefined | undefined;
19375
- allowed_logout_urls?: string[] | undefined | undefined;
19376
- allowed_clients?: string[] | undefined | undefined;
19377
- addons?: {
19378
- [x: string]: any;
19379
- } | undefined;
19380
19268
  client_secret?: string | undefined | undefined;
19381
- client_metadata?: {
19382
- [x: string]: string;
19383
- } | undefined;
19384
19269
  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 | undefined;
19385
19270
  logo_uri?: string | undefined | undefined;
19271
+ callbacks?: string[] | undefined | undefined;
19272
+ allowed_origins?: string[] | undefined | undefined;
19273
+ web_origins?: string[] | undefined | undefined;
19386
19274
  client_aliases?: string[] | undefined | undefined;
19275
+ allowed_clients?: string[] | undefined | undefined;
19276
+ allowed_logout_urls?: string[] | undefined | undefined;
19387
19277
  session_transfer?: {
19388
19278
  [x: string]: any;
19389
19279
  } | undefined;
@@ -19404,7 +19294,13 @@ export declare function init(config: AuthHeroConfig): {
19404
19294
  custom_login_page?: string | undefined | undefined;
19405
19295
  custom_login_page_preview?: string | undefined | undefined;
19406
19296
  form_template?: string | undefined | undefined;
19297
+ addons?: {
19298
+ [x: string]: any;
19299
+ } | undefined;
19407
19300
  token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined | undefined;
19301
+ client_metadata?: {
19302
+ [x: string]: string;
19303
+ } | undefined;
19408
19304
  mobile?: {
19409
19305
  [x: string]: any;
19410
19306
  } | undefined;
@@ -19457,16 +19353,14 @@ export declare function init(config: AuthHeroConfig): {
19457
19353
  custom_login_page_on?: boolean | undefined;
19458
19354
  require_pushed_authorization_requests?: boolean | undefined;
19459
19355
  require_proof_of_possession?: boolean | undefined;
19460
- allowed_origins?: string[] | undefined;
19461
- web_origins?: string[] | undefined;
19462
- allowed_logout_urls?: string[] | undefined;
19463
- allowed_clients?: string[] | undefined;
19464
- addons?: Record<string, any> | undefined;
19465
19356
  client_secret?: string | undefined;
19466
- client_metadata?: Record<string, string> | undefined;
19467
19357
  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;
19468
19358
  logo_uri?: string | undefined;
19359
+ allowed_origins?: string[] | undefined;
19360
+ web_origins?: string[] | undefined;
19469
19361
  client_aliases?: string[] | undefined;
19362
+ allowed_clients?: string[] | undefined;
19363
+ allowed_logout_urls?: string[] | undefined;
19470
19364
  session_transfer?: Record<string, any> | undefined;
19471
19365
  oidc_logout?: Record<string, any> | undefined;
19472
19366
  grant_types?: string[] | undefined;
@@ -19477,7 +19371,9 @@ export declare function init(config: AuthHeroConfig): {
19477
19371
  custom_login_page?: string | undefined;
19478
19372
  custom_login_page_preview?: string | undefined;
19479
19373
  form_template?: string | undefined;
19374
+ addons?: Record<string, any> | undefined;
19480
19375
  token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
19376
+ client_metadata?: Record<string, string> | undefined;
19481
19377
  mobile?: Record<string, any> | undefined;
19482
19378
  initiate_login_uri?: string | undefined;
19483
19379
  native_social_login?: Record<string, any> | undefined;
@@ -19512,20 +19408,14 @@ export declare function init(config: AuthHeroConfig): {
19512
19408
  token_quota?: {
19513
19409
  [x: string]: any;
19514
19410
  } | undefined;
19515
- allowed_origins?: string[] | undefined;
19516
- web_origins?: string[] | undefined;
19517
- allowed_logout_urls?: string[] | undefined;
19518
- allowed_clients?: string[] | undefined;
19519
- addons?: {
19520
- [x: string]: any;
19521
- } | undefined;
19522
19411
  client_secret?: string | undefined;
19523
- client_metadata?: {
19524
- [x: string]: string;
19525
- } | undefined;
19526
19412
  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;
19527
19413
  logo_uri?: string | undefined;
19414
+ allowed_origins?: string[] | undefined;
19415
+ web_origins?: string[] | undefined;
19528
19416
  client_aliases?: string[] | undefined;
19417
+ allowed_clients?: string[] | undefined;
19418
+ allowed_logout_urls?: string[] | undefined;
19529
19419
  session_transfer?: {
19530
19420
  [x: string]: any;
19531
19421
  } | undefined;
@@ -19546,7 +19436,13 @@ export declare function init(config: AuthHeroConfig): {
19546
19436
  custom_login_page?: string | undefined;
19547
19437
  custom_login_page_preview?: string | undefined;
19548
19438
  form_template?: string | undefined;
19439
+ addons?: {
19440
+ [x: string]: any;
19441
+ } | undefined;
19549
19442
  token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
19443
+ client_metadata?: {
19444
+ [x: string]: string;
19445
+ } | undefined;
19550
19446
  mobile?: {
19551
19447
  [x: string]: any;
19552
19448
  } | undefined;
@@ -21314,8 +21210,8 @@ export declare function init(config: AuthHeroConfig): {
21314
21210
  token_type: string;
21315
21211
  expires_in: number;
21316
21212
  refresh_token?: string | undefined | undefined;
21317
- state?: string | undefined | undefined;
21318
21213
  scope?: string | undefined | undefined;
21214
+ state?: string | undefined | undefined;
21319
21215
  id_token?: string | undefined | undefined;
21320
21216
  };
21321
21217
  outputFormat: "json";
@@ -21423,8 +21319,8 @@ export declare function init(config: AuthHeroConfig): {
21423
21319
  username?: string | undefined;
21424
21320
  response_type?: AuthorizationResponseType | undefined;
21425
21321
  audience?: string | undefined;
21426
- state?: string | undefined;
21427
21322
  scope?: string | undefined;
21323
+ state?: string | undefined;
21428
21324
  redirect_uri?: string | undefined;
21429
21325
  organization?: string | undefined;
21430
21326
  code_challenge?: string | undefined;
@@ -21445,8 +21341,8 @@ export declare function init(config: AuthHeroConfig): {
21445
21341
  username?: string | undefined;
21446
21342
  response_type?: AuthorizationResponseType | undefined;
21447
21343
  audience?: string | undefined;
21448
- state?: string | undefined;
21449
21344
  scope?: string | undefined;
21345
+ state?: string | undefined;
21450
21346
  redirect_uri?: string | undefined;
21451
21347
  organization?: string | undefined;
21452
21348
  code_challenge?: string | undefined;
@@ -21473,8 +21369,8 @@ export declare function init(config: AuthHeroConfig): {
21473
21369
  client_id: string;
21474
21370
  connection: string;
21475
21371
  response_type: AuthorizationResponseType;
21476
- state: string;
21477
21372
  scope: string;
21373
+ state: string;
21478
21374
  redirect_uri: string;
21479
21375
  verification_code: string;
21480
21376
  nonce?: string | undefined;
@@ -21491,8 +21387,8 @@ export declare function init(config: AuthHeroConfig): {
21491
21387
  client_id: string;
21492
21388
  connection: string;
21493
21389
  response_type: AuthorizationResponseType;
21494
- state: string;
21495
21390
  scope: string;
21391
+ state: string;
21496
21392
  redirect_uri: string;
21497
21393
  verification_code: string;
21498
21394
  nonce?: string | undefined;
@@ -21512,8 +21408,8 @@ export declare function init(config: AuthHeroConfig): {
21512
21408
  client_id: string;
21513
21409
  connection: string;
21514
21410
  response_type: AuthorizationResponseType;
21515
- state: string;
21516
21411
  scope: string;
21412
+ state: string;
21517
21413
  redirect_uri: string;
21518
21414
  verification_code: string;
21519
21415
  nonce?: string | undefined;
@@ -21641,8 +21537,8 @@ export declare function init(config: AuthHeroConfig): {
21641
21537
  token_type: string;
21642
21538
  expires_in: number;
21643
21539
  refresh_token?: string | undefined | undefined;
21644
- state?: string | undefined | undefined;
21645
21540
  scope?: string | undefined | undefined;
21541
+ state?: string | undefined | undefined;
21646
21542
  id_token?: string | undefined | undefined;
21647
21543
  };
21648
21544
  outputFormat: "json";
@@ -21791,11 +21687,11 @@ export declare function init(config: AuthHeroConfig): {
21791
21687
  $get: {
21792
21688
  input: {};
21793
21689
  output: {
21794
- issuer: string;
21795
21690
  authorization_endpoint: string;
21796
21691
  token_endpoint: string;
21797
21692
  userinfo_endpoint: string;
21798
21693
  jwks_uri: string;
21694
+ issuer: string;
21799
21695
  device_authorization_endpoint: string;
21800
21696
  mfa_challenge_endpoint: string;
21801
21697
  registration_endpoint: string;