@authhero/adapter-interfaces 0.90.0 → 0.91.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -580,412 +580,6 @@ export declare const userResponseSchema: z.ZodObject<{
580
580
  user_id: z.ZodString;
581
581
  }, z.ZodAny, "strip">>;
582
582
  export type UserResponse = z.infer<typeof userResponseSchema>;
583
- export declare const samlpAddon: z.ZodObject<{
584
- audience: z.ZodOptional<z.ZodString>;
585
- recipient: z.ZodOptional<z.ZodString>;
586
- createUpnClaim: z.ZodOptional<z.ZodBoolean>;
587
- mapUnknownClaimsAsIs: z.ZodOptional<z.ZodBoolean>;
588
- passthroughClaimsWithNoMapping: z.ZodOptional<z.ZodBoolean>;
589
- mapIdentities: z.ZodOptional<z.ZodBoolean>;
590
- signatureAlgorithm: z.ZodOptional<z.ZodString>;
591
- digestAlgorithm: z.ZodOptional<z.ZodString>;
592
- issuer: z.ZodOptional<z.ZodString>;
593
- destination: z.ZodOptional<z.ZodString>;
594
- lifetimeInSeconds: z.ZodOptional<z.ZodNumber>;
595
- signResponse: z.ZodOptional<z.ZodBoolean>;
596
- nameIdentifierFormat: z.ZodOptional<z.ZodString>;
597
- nameIdentifierProbes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
598
- authnContextClassRef: z.ZodOptional<z.ZodString>;
599
- mappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
600
- }, "strip", z.ZodTypeAny, {
601
- audience?: string | undefined;
602
- recipient?: string | undefined;
603
- createUpnClaim?: boolean | undefined;
604
- mapUnknownClaimsAsIs?: boolean | undefined;
605
- passthroughClaimsWithNoMapping?: boolean | undefined;
606
- mapIdentities?: boolean | undefined;
607
- signatureAlgorithm?: string | undefined;
608
- digestAlgorithm?: string | undefined;
609
- issuer?: string | undefined;
610
- destination?: string | undefined;
611
- lifetimeInSeconds?: number | undefined;
612
- signResponse?: boolean | undefined;
613
- nameIdentifierFormat?: string | undefined;
614
- nameIdentifierProbes?: string[] | undefined;
615
- authnContextClassRef?: string | undefined;
616
- mappings?: Record<string, string> | undefined;
617
- }, {
618
- audience?: string | undefined;
619
- recipient?: string | undefined;
620
- createUpnClaim?: boolean | undefined;
621
- mapUnknownClaimsAsIs?: boolean | undefined;
622
- passthroughClaimsWithNoMapping?: boolean | undefined;
623
- mapIdentities?: boolean | undefined;
624
- signatureAlgorithm?: string | undefined;
625
- digestAlgorithm?: string | undefined;
626
- issuer?: string | undefined;
627
- destination?: string | undefined;
628
- lifetimeInSeconds?: number | undefined;
629
- signResponse?: boolean | undefined;
630
- nameIdentifierFormat?: string | undefined;
631
- nameIdentifierProbes?: string[] | undefined;
632
- authnContextClassRef?: string | undefined;
633
- mappings?: Record<string, string> | undefined;
634
- }>;
635
- export declare const applicationInsertSchema: z.ZodObject<{
636
- id: z.ZodString;
637
- name: z.ZodString;
638
- callbacks: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
639
- allowed_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
640
- web_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
641
- allowed_logout_urls: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
642
- allowed_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
643
- addons: z.ZodOptional<z.ZodDefault<z.ZodObject<{
644
- samlp: z.ZodOptional<z.ZodObject<{
645
- audience: z.ZodOptional<z.ZodString>;
646
- recipient: z.ZodOptional<z.ZodString>;
647
- createUpnClaim: z.ZodOptional<z.ZodBoolean>;
648
- mapUnknownClaimsAsIs: z.ZodOptional<z.ZodBoolean>;
649
- passthroughClaimsWithNoMapping: z.ZodOptional<z.ZodBoolean>;
650
- mapIdentities: z.ZodOptional<z.ZodBoolean>;
651
- signatureAlgorithm: z.ZodOptional<z.ZodString>;
652
- digestAlgorithm: z.ZodOptional<z.ZodString>;
653
- issuer: z.ZodOptional<z.ZodString>;
654
- destination: z.ZodOptional<z.ZodString>;
655
- lifetimeInSeconds: z.ZodOptional<z.ZodNumber>;
656
- signResponse: z.ZodOptional<z.ZodBoolean>;
657
- nameIdentifierFormat: z.ZodOptional<z.ZodString>;
658
- nameIdentifierProbes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
659
- authnContextClassRef: z.ZodOptional<z.ZodString>;
660
- mappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
661
- }, "strip", z.ZodTypeAny, {
662
- audience?: string | undefined;
663
- recipient?: string | undefined;
664
- createUpnClaim?: boolean | undefined;
665
- mapUnknownClaimsAsIs?: boolean | undefined;
666
- passthroughClaimsWithNoMapping?: boolean | undefined;
667
- mapIdentities?: boolean | undefined;
668
- signatureAlgorithm?: string | undefined;
669
- digestAlgorithm?: string | undefined;
670
- issuer?: string | undefined;
671
- destination?: string | undefined;
672
- lifetimeInSeconds?: number | undefined;
673
- signResponse?: boolean | undefined;
674
- nameIdentifierFormat?: string | undefined;
675
- nameIdentifierProbes?: string[] | undefined;
676
- authnContextClassRef?: string | undefined;
677
- mappings?: Record<string, string> | undefined;
678
- }, {
679
- audience?: string | undefined;
680
- recipient?: string | undefined;
681
- createUpnClaim?: boolean | undefined;
682
- mapUnknownClaimsAsIs?: boolean | undefined;
683
- passthroughClaimsWithNoMapping?: boolean | undefined;
684
- mapIdentities?: boolean | undefined;
685
- signatureAlgorithm?: string | undefined;
686
- digestAlgorithm?: string | undefined;
687
- issuer?: string | undefined;
688
- destination?: string | undefined;
689
- lifetimeInSeconds?: number | undefined;
690
- signResponse?: boolean | undefined;
691
- nameIdentifierFormat?: string | undefined;
692
- nameIdentifierProbes?: string[] | undefined;
693
- authnContextClassRef?: string | undefined;
694
- mappings?: Record<string, string> | undefined;
695
- }>>;
696
- }, "strip", z.ZodTypeAny, {
697
- samlp?: {
698
- audience?: string | undefined;
699
- recipient?: string | undefined;
700
- createUpnClaim?: boolean | undefined;
701
- mapUnknownClaimsAsIs?: boolean | undefined;
702
- passthroughClaimsWithNoMapping?: boolean | undefined;
703
- mapIdentities?: boolean | undefined;
704
- signatureAlgorithm?: string | undefined;
705
- digestAlgorithm?: string | undefined;
706
- issuer?: string | undefined;
707
- destination?: string | undefined;
708
- lifetimeInSeconds?: number | undefined;
709
- signResponse?: boolean | undefined;
710
- nameIdentifierFormat?: string | undefined;
711
- nameIdentifierProbes?: string[] | undefined;
712
- authnContextClassRef?: string | undefined;
713
- mappings?: Record<string, string> | undefined;
714
- } | undefined;
715
- }, {
716
- samlp?: {
717
- audience?: string | undefined;
718
- recipient?: string | undefined;
719
- createUpnClaim?: boolean | undefined;
720
- mapUnknownClaimsAsIs?: boolean | undefined;
721
- passthroughClaimsWithNoMapping?: boolean | undefined;
722
- mapIdentities?: boolean | undefined;
723
- signatureAlgorithm?: string | undefined;
724
- digestAlgorithm?: string | undefined;
725
- issuer?: string | undefined;
726
- destination?: string | undefined;
727
- lifetimeInSeconds?: number | undefined;
728
- signResponse?: boolean | undefined;
729
- nameIdentifierFormat?: string | undefined;
730
- nameIdentifierProbes?: string[] | undefined;
731
- authnContextClassRef?: string | undefined;
732
- mappings?: Record<string, string> | undefined;
733
- } | undefined;
734
- }>>>;
735
- email_validation: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
736
- "enabled",
737
- "disabled",
738
- "enforced"
739
- ]>>>;
740
- client_secret: z.ZodOptional<z.ZodDefault<z.ZodString>>;
741
- disable_sign_ups: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
742
- client_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
743
- }, "strip", z.ZodTypeAny, {
744
- name: string;
745
- id: string;
746
- disable_sign_ups: boolean;
747
- callbacks?: string[] | undefined;
748
- allowed_origins?: string[] | undefined;
749
- web_origins?: string[] | undefined;
750
- allowed_logout_urls?: string[] | undefined;
751
- allowed_clients?: string[] | undefined;
752
- addons?: {
753
- samlp?: {
754
- audience?: string | undefined;
755
- recipient?: string | undefined;
756
- createUpnClaim?: boolean | undefined;
757
- mapUnknownClaimsAsIs?: boolean | undefined;
758
- passthroughClaimsWithNoMapping?: boolean | undefined;
759
- mapIdentities?: boolean | undefined;
760
- signatureAlgorithm?: string | undefined;
761
- digestAlgorithm?: string | undefined;
762
- issuer?: string | undefined;
763
- destination?: string | undefined;
764
- lifetimeInSeconds?: number | undefined;
765
- signResponse?: boolean | undefined;
766
- nameIdentifierFormat?: string | undefined;
767
- nameIdentifierProbes?: string[] | undefined;
768
- authnContextClassRef?: string | undefined;
769
- mappings?: Record<string, string> | undefined;
770
- } | undefined;
771
- } | undefined;
772
- email_validation?: "enabled" | "disabled" | "enforced" | undefined;
773
- client_secret?: string | undefined;
774
- client_metadata?: Record<string, string> | undefined;
775
- }, {
776
- name: string;
777
- id: string;
778
- callbacks?: string[] | undefined;
779
- allowed_origins?: string[] | undefined;
780
- web_origins?: string[] | undefined;
781
- allowed_logout_urls?: string[] | undefined;
782
- allowed_clients?: string[] | undefined;
783
- addons?: {
784
- samlp?: {
785
- audience?: string | undefined;
786
- recipient?: string | undefined;
787
- createUpnClaim?: boolean | undefined;
788
- mapUnknownClaimsAsIs?: boolean | undefined;
789
- passthroughClaimsWithNoMapping?: boolean | undefined;
790
- mapIdentities?: boolean | undefined;
791
- signatureAlgorithm?: string | undefined;
792
- digestAlgorithm?: string | undefined;
793
- issuer?: string | undefined;
794
- destination?: string | undefined;
795
- lifetimeInSeconds?: number | undefined;
796
- signResponse?: boolean | undefined;
797
- nameIdentifierFormat?: string | undefined;
798
- nameIdentifierProbes?: string[] | undefined;
799
- authnContextClassRef?: string | undefined;
800
- mappings?: Record<string, string> | undefined;
801
- } | undefined;
802
- } | undefined;
803
- email_validation?: "enabled" | "disabled" | "enforced" | undefined;
804
- client_secret?: string | undefined;
805
- disable_sign_ups?: boolean | undefined;
806
- client_metadata?: Record<string, string> | undefined;
807
- }>;
808
- export type ApplicationInsert = z.input<typeof applicationInsertSchema>;
809
- export declare const applicationSchema: z.ZodObject<{
810
- id: z.ZodString;
811
- name: z.ZodString;
812
- callbacks: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
813
- allowed_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
814
- web_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
815
- allowed_logout_urls: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
816
- allowed_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
817
- addons: z.ZodOptional<z.ZodDefault<z.ZodObject<{
818
- samlp: z.ZodOptional<z.ZodObject<{
819
- audience: z.ZodOptional<z.ZodString>;
820
- recipient: z.ZodOptional<z.ZodString>;
821
- createUpnClaim: z.ZodOptional<z.ZodBoolean>;
822
- mapUnknownClaimsAsIs: z.ZodOptional<z.ZodBoolean>;
823
- passthroughClaimsWithNoMapping: z.ZodOptional<z.ZodBoolean>;
824
- mapIdentities: z.ZodOptional<z.ZodBoolean>;
825
- signatureAlgorithm: z.ZodOptional<z.ZodString>;
826
- digestAlgorithm: z.ZodOptional<z.ZodString>;
827
- issuer: z.ZodOptional<z.ZodString>;
828
- destination: z.ZodOptional<z.ZodString>;
829
- lifetimeInSeconds: z.ZodOptional<z.ZodNumber>;
830
- signResponse: z.ZodOptional<z.ZodBoolean>;
831
- nameIdentifierFormat: z.ZodOptional<z.ZodString>;
832
- nameIdentifierProbes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
833
- authnContextClassRef: z.ZodOptional<z.ZodString>;
834
- mappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
835
- }, "strip", z.ZodTypeAny, {
836
- audience?: string | undefined;
837
- recipient?: string | undefined;
838
- createUpnClaim?: boolean | undefined;
839
- mapUnknownClaimsAsIs?: boolean | undefined;
840
- passthroughClaimsWithNoMapping?: boolean | undefined;
841
- mapIdentities?: boolean | undefined;
842
- signatureAlgorithm?: string | undefined;
843
- digestAlgorithm?: string | undefined;
844
- issuer?: string | undefined;
845
- destination?: string | undefined;
846
- lifetimeInSeconds?: number | undefined;
847
- signResponse?: boolean | undefined;
848
- nameIdentifierFormat?: string | undefined;
849
- nameIdentifierProbes?: string[] | undefined;
850
- authnContextClassRef?: string | undefined;
851
- mappings?: Record<string, string> | undefined;
852
- }, {
853
- audience?: string | undefined;
854
- recipient?: string | undefined;
855
- createUpnClaim?: boolean | undefined;
856
- mapUnknownClaimsAsIs?: boolean | undefined;
857
- passthroughClaimsWithNoMapping?: boolean | undefined;
858
- mapIdentities?: boolean | undefined;
859
- signatureAlgorithm?: string | undefined;
860
- digestAlgorithm?: string | undefined;
861
- issuer?: string | undefined;
862
- destination?: string | undefined;
863
- lifetimeInSeconds?: number | undefined;
864
- signResponse?: boolean | undefined;
865
- nameIdentifierFormat?: string | undefined;
866
- nameIdentifierProbes?: string[] | undefined;
867
- authnContextClassRef?: string | undefined;
868
- mappings?: Record<string, string> | undefined;
869
- }>>;
870
- }, "strip", z.ZodTypeAny, {
871
- samlp?: {
872
- audience?: string | undefined;
873
- recipient?: string | undefined;
874
- createUpnClaim?: boolean | undefined;
875
- mapUnknownClaimsAsIs?: boolean | undefined;
876
- passthroughClaimsWithNoMapping?: boolean | undefined;
877
- mapIdentities?: boolean | undefined;
878
- signatureAlgorithm?: string | undefined;
879
- digestAlgorithm?: string | undefined;
880
- issuer?: string | undefined;
881
- destination?: string | undefined;
882
- lifetimeInSeconds?: number | undefined;
883
- signResponse?: boolean | undefined;
884
- nameIdentifierFormat?: string | undefined;
885
- nameIdentifierProbes?: string[] | undefined;
886
- authnContextClassRef?: string | undefined;
887
- mappings?: Record<string, string> | undefined;
888
- } | undefined;
889
- }, {
890
- samlp?: {
891
- audience?: string | undefined;
892
- recipient?: string | undefined;
893
- createUpnClaim?: boolean | undefined;
894
- mapUnknownClaimsAsIs?: boolean | undefined;
895
- passthroughClaimsWithNoMapping?: boolean | undefined;
896
- mapIdentities?: boolean | undefined;
897
- signatureAlgorithm?: string | undefined;
898
- digestAlgorithm?: string | undefined;
899
- issuer?: string | undefined;
900
- destination?: string | undefined;
901
- lifetimeInSeconds?: number | undefined;
902
- signResponse?: boolean | undefined;
903
- nameIdentifierFormat?: string | undefined;
904
- nameIdentifierProbes?: string[] | undefined;
905
- authnContextClassRef?: string | undefined;
906
- mappings?: Record<string, string> | undefined;
907
- } | undefined;
908
- }>>>;
909
- email_validation: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
910
- "enabled",
911
- "disabled",
912
- "enforced"
913
- ]>>>;
914
- client_secret: z.ZodOptional<z.ZodDefault<z.ZodString>>;
915
- disable_sign_ups: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
916
- client_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
917
- created_at: z.ZodEffects<z.ZodString, string, string>;
918
- updated_at: z.ZodEffects<z.ZodString, string, string>;
919
- }, "strip", z.ZodTypeAny, {
920
- created_at: string;
921
- updated_at: string;
922
- name: string;
923
- id: string;
924
- disable_sign_ups: boolean;
925
- callbacks?: string[] | undefined;
926
- allowed_origins?: string[] | undefined;
927
- web_origins?: string[] | undefined;
928
- allowed_logout_urls?: string[] | undefined;
929
- allowed_clients?: string[] | undefined;
930
- addons?: {
931
- samlp?: {
932
- audience?: string | undefined;
933
- recipient?: string | undefined;
934
- createUpnClaim?: boolean | undefined;
935
- mapUnknownClaimsAsIs?: boolean | undefined;
936
- passthroughClaimsWithNoMapping?: boolean | undefined;
937
- mapIdentities?: boolean | undefined;
938
- signatureAlgorithm?: string | undefined;
939
- digestAlgorithm?: string | undefined;
940
- issuer?: string | undefined;
941
- destination?: string | undefined;
942
- lifetimeInSeconds?: number | undefined;
943
- signResponse?: boolean | undefined;
944
- nameIdentifierFormat?: string | undefined;
945
- nameIdentifierProbes?: string[] | undefined;
946
- authnContextClassRef?: string | undefined;
947
- mappings?: Record<string, string> | undefined;
948
- } | undefined;
949
- } | undefined;
950
- email_validation?: "enabled" | "disabled" | "enforced" | undefined;
951
- client_secret?: string | undefined;
952
- client_metadata?: Record<string, string> | undefined;
953
- }, {
954
- created_at: string;
955
- updated_at: string;
956
- name: string;
957
- id: string;
958
- callbacks?: string[] | undefined;
959
- allowed_origins?: string[] | undefined;
960
- web_origins?: string[] | undefined;
961
- allowed_logout_urls?: string[] | undefined;
962
- allowed_clients?: string[] | undefined;
963
- addons?: {
964
- samlp?: {
965
- audience?: string | undefined;
966
- recipient?: string | undefined;
967
- createUpnClaim?: boolean | undefined;
968
- mapUnknownClaimsAsIs?: boolean | undefined;
969
- passthroughClaimsWithNoMapping?: boolean | undefined;
970
- mapIdentities?: boolean | undefined;
971
- signatureAlgorithm?: string | undefined;
972
- digestAlgorithm?: string | undefined;
973
- issuer?: string | undefined;
974
- destination?: string | undefined;
975
- lifetimeInSeconds?: number | undefined;
976
- signResponse?: boolean | undefined;
977
- nameIdentifierFormat?: string | undefined;
978
- nameIdentifierProbes?: string[] | undefined;
979
- authnContextClassRef?: string | undefined;
980
- mappings?: Record<string, string> | undefined;
981
- } | undefined;
982
- } | undefined;
983
- email_validation?: "enabled" | "disabled" | "enforced" | undefined;
984
- client_secret?: string | undefined;
985
- disable_sign_ups?: boolean | undefined;
986
- client_metadata?: Record<string, string> | undefined;
987
- }>;
988
- export type Application = z.infer<typeof applicationSchema>;
989
583
  export declare const clientInsertSchema: z.ZodObject<{
990
584
  client_id: z.ZodString;
991
585
  name: z.ZodString;
@@ -1091,17 +685,15 @@ export declare const clientInsertSchema: z.ZodObject<{
1091
685
  require_proof_of_possession: boolean;
1092
686
  description?: string | undefined;
1093
687
  refresh_token?: Record<string, any> | undefined;
1094
- callbacks?: string[] | undefined;
1095
- allowed_origins?: string[] | undefined;
1096
- web_origins?: string[] | undefined;
1097
- allowed_logout_urls?: string[] | undefined;
1098
- allowed_clients?: string[] | undefined;
1099
- addons?: Record<string, any> | undefined;
1100
688
  client_secret?: string | undefined;
1101
- client_metadata?: Record<string, string> | undefined;
1102
689
  app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
1103
690
  logo_uri?: string | undefined;
691
+ callbacks?: string[] | undefined;
692
+ allowed_origins?: string[] | undefined;
693
+ web_origins?: string[] | undefined;
1104
694
  client_aliases?: string[] | undefined;
695
+ allowed_clients?: string[] | undefined;
696
+ allowed_logout_urls?: string[] | undefined;
1105
697
  session_transfer?: Record<string, any> | undefined;
1106
698
  oidc_logout?: Record<string, any> | undefined;
1107
699
  grant_types?: string[] | undefined;
@@ -1112,7 +704,9 @@ export declare const clientInsertSchema: z.ZodObject<{
1112
704
  custom_login_page?: string | undefined;
1113
705
  custom_login_page_preview?: string | undefined;
1114
706
  form_template?: string | undefined;
707
+ addons?: Record<string, any> | undefined;
1115
708
  token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
709
+ client_metadata?: Record<string, string> | undefined;
1116
710
  mobile?: Record<string, any> | undefined;
1117
711
  initiate_login_uri?: string | undefined;
1118
712
  native_social_login?: Record<string, any> | undefined;
@@ -1129,20 +723,18 @@ export declare const clientInsertSchema: z.ZodObject<{
1129
723
  client_id: string;
1130
724
  description?: string | undefined;
1131
725
  refresh_token?: Record<string, any> | undefined;
1132
- callbacks?: string[] | undefined;
1133
- allowed_origins?: string[] | undefined;
1134
- web_origins?: string[] | undefined;
1135
- allowed_logout_urls?: string[] | undefined;
1136
- allowed_clients?: string[] | undefined;
1137
- addons?: Record<string, any> | undefined;
1138
- client_secret?: string | undefined;
1139
- client_metadata?: Record<string, string> | undefined;
1140
726
  global?: boolean | undefined;
727
+ client_secret?: string | undefined;
1141
728
  app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
1142
729
  logo_uri?: string | undefined;
1143
730
  is_first_party?: boolean | undefined;
1144
731
  oidc_conformant?: boolean | undefined;
732
+ callbacks?: string[] | undefined;
733
+ allowed_origins?: string[] | undefined;
734
+ web_origins?: string[] | undefined;
1145
735
  client_aliases?: string[] | undefined;
736
+ allowed_clients?: string[] | undefined;
737
+ allowed_logout_urls?: string[] | undefined;
1146
738
  session_transfer?: Record<string, any> | undefined;
1147
739
  oidc_logout?: Record<string, any> | undefined;
1148
740
  grant_types?: string[] | undefined;
@@ -1157,7 +749,9 @@ export declare const clientInsertSchema: z.ZodObject<{
1157
749
  custom_login_page?: string | undefined;
1158
750
  custom_login_page_preview?: string | undefined;
1159
751
  form_template?: string | undefined;
752
+ addons?: Record<string, any> | undefined;
1160
753
  token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
754
+ client_metadata?: Record<string, string> | undefined;
1161
755
  mobile?: Record<string, any> | undefined;
1162
756
  initiate_login_uri?: string | undefined;
1163
757
  native_social_login?: Record<string, any> | undefined;
@@ -1282,17 +876,15 @@ export declare const clientSchema: z.ZodObject<{
1282
876
  require_proof_of_possession: boolean;
1283
877
  description?: string | undefined;
1284
878
  refresh_token?: Record<string, any> | undefined;
1285
- callbacks?: string[] | undefined;
1286
- allowed_origins?: string[] | undefined;
1287
- web_origins?: string[] | undefined;
1288
- allowed_logout_urls?: string[] | undefined;
1289
- allowed_clients?: string[] | undefined;
1290
- addons?: Record<string, any> | undefined;
1291
879
  client_secret?: string | undefined;
1292
- client_metadata?: Record<string, string> | undefined;
1293
880
  app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
1294
881
  logo_uri?: string | undefined;
882
+ callbacks?: string[] | undefined;
883
+ allowed_origins?: string[] | undefined;
884
+ web_origins?: string[] | undefined;
1295
885
  client_aliases?: string[] | undefined;
886
+ allowed_clients?: string[] | undefined;
887
+ allowed_logout_urls?: string[] | undefined;
1296
888
  session_transfer?: Record<string, any> | undefined;
1297
889
  oidc_logout?: Record<string, any> | undefined;
1298
890
  grant_types?: string[] | undefined;
@@ -1303,7 +895,9 @@ export declare const clientSchema: z.ZodObject<{
1303
895
  custom_login_page?: string | undefined;
1304
896
  custom_login_page_preview?: string | undefined;
1305
897
  form_template?: string | undefined;
898
+ addons?: Record<string, any> | undefined;
1306
899
  token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
900
+ client_metadata?: Record<string, string> | undefined;
1307
901
  mobile?: Record<string, any> | undefined;
1308
902
  initiate_login_uri?: string | undefined;
1309
903
  native_social_login?: Record<string, any> | undefined;
@@ -1322,20 +916,18 @@ export declare const clientSchema: z.ZodObject<{
1322
916
  client_id: string;
1323
917
  description?: string | undefined;
1324
918
  refresh_token?: Record<string, any> | undefined;
1325
- callbacks?: string[] | undefined;
1326
- allowed_origins?: string[] | undefined;
1327
- web_origins?: string[] | undefined;
1328
- allowed_logout_urls?: string[] | undefined;
1329
- allowed_clients?: string[] | undefined;
1330
- addons?: Record<string, any> | undefined;
1331
- client_secret?: string | undefined;
1332
- client_metadata?: Record<string, string> | undefined;
1333
919
  global?: boolean | undefined;
920
+ client_secret?: string | undefined;
1334
921
  app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
1335
922
  logo_uri?: string | undefined;
1336
923
  is_first_party?: boolean | undefined;
1337
924
  oidc_conformant?: boolean | undefined;
925
+ callbacks?: string[] | undefined;
926
+ allowed_origins?: string[] | undefined;
927
+ web_origins?: string[] | undefined;
1338
928
  client_aliases?: string[] | undefined;
929
+ allowed_clients?: string[] | undefined;
930
+ allowed_logout_urls?: string[] | undefined;
1339
931
  session_transfer?: Record<string, any> | undefined;
1340
932
  oidc_logout?: Record<string, any> | undefined;
1341
933
  grant_types?: string[] | undefined;
@@ -1350,7 +942,9 @@ export declare const clientSchema: z.ZodObject<{
1350
942
  custom_login_page?: string | undefined;
1351
943
  custom_login_page_preview?: string | undefined;
1352
944
  form_template?: string | undefined;
945
+ addons?: Record<string, any> | undefined;
1353
946
  token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
947
+ client_metadata?: Record<string, string> | undefined;
1354
948
  mobile?: Record<string, any> | undefined;
1355
949
  initiate_login_uri?: string | undefined;
1356
950
  native_social_login?: Record<string, any> | undefined;
@@ -1366,6 +960,132 @@ export declare const clientSchema: z.ZodObject<{
1366
960
  token_quota?: Record<string, any> | undefined;
1367
961
  }>;
1368
962
  export type Client = z.infer<typeof clientSchema>;
963
+ export declare const clientGrantInsertSchema: z.ZodObject<{
964
+ client_id: z.ZodString;
965
+ audience: z.ZodString;
966
+ scope: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
967
+ organization_usage: z.ZodOptional<z.ZodEnum<[
968
+ "deny",
969
+ "allow",
970
+ "require"
971
+ ]>>;
972
+ allow_any_organization: z.ZodOptional<z.ZodBoolean>;
973
+ is_system: z.ZodOptional<z.ZodBoolean>;
974
+ subject_type: z.ZodOptional<z.ZodEnum<[
975
+ "client",
976
+ "user"
977
+ ]>>;
978
+ authorization_details_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
979
+ }, "strip", z.ZodTypeAny, {
980
+ client_id: string;
981
+ audience: string;
982
+ organization_usage?: "deny" | "allow" | "require" | undefined;
983
+ scope?: string[] | undefined;
984
+ allow_any_organization?: boolean | undefined;
985
+ is_system?: boolean | undefined;
986
+ subject_type?: "client" | "user" | undefined;
987
+ authorization_details_types?: string[] | undefined;
988
+ }, {
989
+ client_id: string;
990
+ audience: string;
991
+ organization_usage?: "deny" | "allow" | "require" | undefined;
992
+ scope?: string[] | undefined;
993
+ allow_any_organization?: boolean | undefined;
994
+ is_system?: boolean | undefined;
995
+ subject_type?: "client" | "user" | undefined;
996
+ authorization_details_types?: string[] | undefined;
997
+ }>;
998
+ export type ClientGrantInsert = z.input<typeof clientGrantInsertSchema>;
999
+ export declare const clientGrantSchema: z.ZodObject<{
1000
+ created_at: z.ZodOptional<z.ZodString>;
1001
+ updated_at: z.ZodOptional<z.ZodString>;
1002
+ client_id: z.ZodString;
1003
+ audience: z.ZodString;
1004
+ scope: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1005
+ organization_usage: z.ZodOptional<z.ZodEnum<[
1006
+ "deny",
1007
+ "allow",
1008
+ "require"
1009
+ ]>>;
1010
+ allow_any_organization: z.ZodOptional<z.ZodBoolean>;
1011
+ is_system: z.ZodOptional<z.ZodBoolean>;
1012
+ subject_type: z.ZodOptional<z.ZodEnum<[
1013
+ "client",
1014
+ "user"
1015
+ ]>>;
1016
+ authorization_details_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1017
+ id: z.ZodString;
1018
+ }, "strip", z.ZodTypeAny, {
1019
+ client_id: string;
1020
+ audience: string;
1021
+ id: string;
1022
+ created_at?: string | undefined;
1023
+ updated_at?: string | undefined;
1024
+ organization_usage?: "deny" | "allow" | "require" | undefined;
1025
+ scope?: string[] | undefined;
1026
+ allow_any_organization?: boolean | undefined;
1027
+ is_system?: boolean | undefined;
1028
+ subject_type?: "client" | "user" | undefined;
1029
+ authorization_details_types?: string[] | undefined;
1030
+ }, {
1031
+ client_id: string;
1032
+ audience: string;
1033
+ id: string;
1034
+ created_at?: string | undefined;
1035
+ updated_at?: string | undefined;
1036
+ organization_usage?: "deny" | "allow" | "require" | undefined;
1037
+ scope?: string[] | undefined;
1038
+ allow_any_organization?: boolean | undefined;
1039
+ is_system?: boolean | undefined;
1040
+ subject_type?: "client" | "user" | undefined;
1041
+ authorization_details_types?: string[] | undefined;
1042
+ }>;
1043
+ export type ClientGrant = z.infer<typeof clientGrantSchema>;
1044
+ export declare const clientGrantListSchema: z.ZodArray<z.ZodObject<{
1045
+ created_at: z.ZodOptional<z.ZodString>;
1046
+ updated_at: z.ZodOptional<z.ZodString>;
1047
+ client_id: z.ZodString;
1048
+ audience: z.ZodString;
1049
+ scope: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1050
+ organization_usage: z.ZodOptional<z.ZodEnum<[
1051
+ "deny",
1052
+ "allow",
1053
+ "require"
1054
+ ]>>;
1055
+ allow_any_organization: z.ZodOptional<z.ZodBoolean>;
1056
+ is_system: z.ZodOptional<z.ZodBoolean>;
1057
+ subject_type: z.ZodOptional<z.ZodEnum<[
1058
+ "client",
1059
+ "user"
1060
+ ]>>;
1061
+ authorization_details_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1062
+ id: z.ZodString;
1063
+ }, "strip", z.ZodTypeAny, {
1064
+ client_id: string;
1065
+ audience: string;
1066
+ id: string;
1067
+ created_at?: string | undefined;
1068
+ updated_at?: string | undefined;
1069
+ organization_usage?: "deny" | "allow" | "require" | undefined;
1070
+ scope?: string[] | undefined;
1071
+ allow_any_organization?: boolean | undefined;
1072
+ is_system?: boolean | undefined;
1073
+ subject_type?: "client" | "user" | undefined;
1074
+ authorization_details_types?: string[] | undefined;
1075
+ }, {
1076
+ client_id: string;
1077
+ audience: string;
1078
+ id: string;
1079
+ created_at?: string | undefined;
1080
+ updated_at?: string | undefined;
1081
+ organization_usage?: "deny" | "allow" | "require" | undefined;
1082
+ scope?: string[] | undefined;
1083
+ allow_any_organization?: boolean | undefined;
1084
+ is_system?: boolean | undefined;
1085
+ subject_type?: "client" | "user" | undefined;
1086
+ authorization_details_types?: string[] | undefined;
1087
+ }>, "many">;
1088
+ export type ClientGrantList = z.infer<typeof clientGrantListSchema>;
1369
1089
  /**
1370
1090
  * Types for Auth0 Form Flow components
1371
1091
  * Based on the actual structure used by Auth0 forms API
@@ -8417,6 +8137,7 @@ export declare const authParamsSchema: z.ZodObject<{
8417
8137
  client_id: string;
8418
8138
  username?: string | undefined;
8419
8139
  audience?: string | undefined;
8140
+ scope?: string | undefined;
8420
8141
  act_as?: string | undefined;
8421
8142
  response_type?: AuthorizationResponseType | undefined;
8422
8143
  response_mode?: AuthorizationResponseMode | undefined;
@@ -8424,7 +8145,6 @@ export declare const authParamsSchema: z.ZodObject<{
8424
8145
  organization?: string | undefined;
8425
8146
  state?: string | undefined;
8426
8147
  nonce?: string | undefined;
8427
- scope?: string | undefined;
8428
8148
  prompt?: string | undefined;
8429
8149
  code_challenge_method?: CodeChallengeMethod | undefined;
8430
8150
  code_challenge?: string | undefined;
@@ -8434,6 +8154,7 @@ export declare const authParamsSchema: z.ZodObject<{
8434
8154
  client_id: string;
8435
8155
  username?: string | undefined;
8436
8156
  audience?: string | undefined;
8157
+ scope?: string | undefined;
8437
8158
  act_as?: string | undefined;
8438
8159
  response_type?: AuthorizationResponseType | undefined;
8439
8160
  response_mode?: AuthorizationResponseMode | undefined;
@@ -8441,7 +8162,6 @@ export declare const authParamsSchema: z.ZodObject<{
8441
8162
  organization?: string | undefined;
8442
8163
  state?: string | undefined;
8443
8164
  nonce?: string | undefined;
8444
- scope?: string | undefined;
8445
8165
  prompt?: string | undefined;
8446
8166
  code_challenge_method?: CodeChallengeMethod | undefined;
8447
8167
  code_challenge?: string | undefined;
@@ -8595,9 +8315,8 @@ declare const LegacyClientSchema: z.ZodObject<{
8595
8315
  twilio_token: z.ZodOptional<z.ZodString>;
8596
8316
  }, "strip", z.ZodTypeAny, {
8597
8317
  provider?: string | undefined;
8598
- issuer?: string | undefined;
8599
- client_secret?: string | undefined;
8600
8318
  client_id?: string | undefined;
8319
+ client_secret?: string | undefined;
8601
8320
  scope?: string | undefined;
8602
8321
  kid?: string | undefined;
8603
8322
  team_id?: string | undefined;
@@ -8609,14 +8328,14 @@ declare const LegacyClientSchema: z.ZodObject<{
8609
8328
  userinfo_endpoint?: string | undefined;
8610
8329
  jwks_uri?: string | undefined;
8611
8330
  discovery_url?: string | undefined;
8331
+ issuer?: string | undefined;
8612
8332
  from?: string | undefined;
8613
8333
  twilio_sid?: string | undefined;
8614
8334
  twilio_token?: string | undefined;
8615
8335
  }, {
8616
8336
  provider?: string | undefined;
8617
- issuer?: string | undefined;
8618
- client_secret?: string | undefined;
8619
8337
  client_id?: string | undefined;
8338
+ client_secret?: string | undefined;
8620
8339
  scope?: string | undefined;
8621
8340
  kid?: string | undefined;
8622
8341
  team_id?: string | undefined;
@@ -8628,6 +8347,7 @@ declare const LegacyClientSchema: z.ZodObject<{
8628
8347
  userinfo_endpoint?: string | undefined;
8629
8348
  jwks_uri?: string | undefined;
8630
8349
  discovery_url?: string | undefined;
8350
+ issuer?: string | undefined;
8631
8351
  from?: string | undefined;
8632
8352
  twilio_sid?: string | undefined;
8633
8353
  twilio_token?: string | undefined;
@@ -8638,9 +8358,8 @@ declare const LegacyClientSchema: z.ZodObject<{
8638
8358
  }, "strip", z.ZodTypeAny, {
8639
8359
  options: {
8640
8360
  provider?: string | undefined;
8641
- issuer?: string | undefined;
8642
- client_secret?: string | undefined;
8643
8361
  client_id?: string | undefined;
8362
+ client_secret?: string | undefined;
8644
8363
  scope?: string | undefined;
8645
8364
  kid?: string | undefined;
8646
8365
  team_id?: string | undefined;
@@ -8652,6 +8371,7 @@ declare const LegacyClientSchema: z.ZodObject<{
8652
8371
  userinfo_endpoint?: string | undefined;
8653
8372
  jwks_uri?: string | undefined;
8654
8373
  discovery_url?: string | undefined;
8374
+ issuer?: string | undefined;
8655
8375
  from?: string | undefined;
8656
8376
  twilio_sid?: string | undefined;
8657
8377
  twilio_token?: string | undefined;
@@ -8671,9 +8391,8 @@ declare const LegacyClientSchema: z.ZodObject<{
8671
8391
  strategy: string;
8672
8392
  options?: {
8673
8393
  provider?: string | undefined;
8674
- issuer?: string | undefined;
8675
- client_secret?: string | undefined;
8676
8394
  client_id?: string | undefined;
8395
+ client_secret?: string | undefined;
8677
8396
  scope?: string | undefined;
8678
8397
  kid?: string | undefined;
8679
8398
  team_id?: string | undefined;
@@ -8685,6 +8404,7 @@ declare const LegacyClientSchema: z.ZodObject<{
8685
8404
  userinfo_endpoint?: string | undefined;
8686
8405
  jwks_uri?: string | undefined;
8687
8406
  discovery_url?: string | undefined;
8407
+ issuer?: string | undefined;
8688
8408
  from?: string | undefined;
8689
8409
  twilio_sid?: string | undefined;
8690
8410
  twilio_token?: string | undefined;
@@ -8792,8 +8512,6 @@ declare const LegacyClientSchema: z.ZodObject<{
8792
8512
  created_at: string;
8793
8513
  updated_at: string;
8794
8514
  name: string;
8795
- email_validation: string;
8796
- disable_sign_ups: boolean;
8797
8515
  client_id: string;
8798
8516
  global: boolean;
8799
8517
  is_first_party: boolean;
@@ -8821,9 +8539,8 @@ declare const LegacyClientSchema: z.ZodObject<{
8821
8539
  connections: {
8822
8540
  options: {
8823
8541
  provider?: string | undefined;
8824
- issuer?: string | undefined;
8825
- client_secret?: string | undefined;
8826
8542
  client_id?: string | undefined;
8543
+ client_secret?: string | undefined;
8827
8544
  scope?: string | undefined;
8828
8545
  kid?: string | undefined;
8829
8546
  team_id?: string | undefined;
@@ -8835,6 +8552,7 @@ declare const LegacyClientSchema: z.ZodObject<{
8835
8552
  userinfo_endpoint?: string | undefined;
8836
8553
  jwks_uri?: string | undefined;
8837
8554
  discovery_url?: string | undefined;
8555
+ issuer?: string | undefined;
8838
8556
  from?: string | undefined;
8839
8557
  twilio_sid?: string | undefined;
8840
8558
  twilio_token?: string | undefined;
@@ -8848,19 +8566,19 @@ declare const LegacyClientSchema: z.ZodObject<{
8848
8566
  response_mode?: AuthorizationResponseMode | undefined;
8849
8567
  enabled_clients?: string[] | undefined;
8850
8568
  }[];
8569
+ disable_sign_ups: boolean;
8570
+ email_validation: string;
8851
8571
  description?: string | undefined;
8852
8572
  refresh_token?: Record<string, any> | undefined;
8853
- callbacks?: string[] | undefined;
8854
- allowed_origins?: string[] | undefined;
8855
- web_origins?: string[] | undefined;
8856
- allowed_logout_urls?: string[] | undefined;
8857
- allowed_clients?: string[] | undefined;
8858
- addons?: Record<string, any> | undefined;
8859
8573
  client_secret?: string | undefined;
8860
- client_metadata?: Record<string, string> | undefined;
8861
8574
  app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
8862
8575
  logo_uri?: string | undefined;
8576
+ callbacks?: string[] | undefined;
8577
+ allowed_origins?: string[] | undefined;
8578
+ web_origins?: string[] | undefined;
8863
8579
  client_aliases?: string[] | undefined;
8580
+ allowed_clients?: string[] | undefined;
8581
+ allowed_logout_urls?: string[] | undefined;
8864
8582
  session_transfer?: Record<string, any> | undefined;
8865
8583
  oidc_logout?: Record<string, any> | undefined;
8866
8584
  grant_types?: string[] | undefined;
@@ -8871,7 +8589,9 @@ declare const LegacyClientSchema: z.ZodObject<{
8871
8589
  custom_login_page?: string | undefined;
8872
8590
  custom_login_page_preview?: string | undefined;
8873
8591
  form_template?: string | undefined;
8592
+ addons?: Record<string, any> | undefined;
8874
8593
  token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
8594
+ client_metadata?: Record<string, string> | undefined;
8875
8595
  mobile?: Record<string, any> | undefined;
8876
8596
  initiate_login_uri?: string | undefined;
8877
8597
  native_social_login?: Record<string, any> | undefined;
@@ -8887,8 +8607,6 @@ declare const LegacyClientSchema: z.ZodObject<{
8887
8607
  created_at: string;
8888
8608
  updated_at: string;
8889
8609
  name: string;
8890
- email_validation: string;
8891
- disable_sign_ups: boolean;
8892
8610
  client_id: string;
8893
8611
  tenant: {
8894
8612
  created_at: string;
@@ -8911,9 +8629,8 @@ declare const LegacyClientSchema: z.ZodObject<{
8911
8629
  strategy: string;
8912
8630
  options?: {
8913
8631
  provider?: string | undefined;
8914
- issuer?: string | undefined;
8915
- client_secret?: string | undefined;
8916
8632
  client_id?: string | undefined;
8633
+ client_secret?: string | undefined;
8917
8634
  scope?: string | undefined;
8918
8635
  kid?: string | undefined;
8919
8636
  team_id?: string | undefined;
@@ -8925,6 +8642,7 @@ declare const LegacyClientSchema: z.ZodObject<{
8925
8642
  userinfo_endpoint?: string | undefined;
8926
8643
  jwks_uri?: string | undefined;
8927
8644
  discovery_url?: string | undefined;
8645
+ issuer?: string | undefined;
8928
8646
  from?: string | undefined;
8929
8647
  twilio_sid?: string | undefined;
8930
8648
  twilio_token?: string | undefined;
@@ -8934,22 +8652,22 @@ declare const LegacyClientSchema: z.ZodObject<{
8934
8652
  response_mode?: AuthorizationResponseMode | undefined;
8935
8653
  enabled_clients?: string[] | undefined;
8936
8654
  }[];
8655
+ disable_sign_ups: boolean;
8656
+ email_validation: string;
8937
8657
  description?: string | undefined;
8938
8658
  refresh_token?: Record<string, any> | undefined;
8939
- callbacks?: string[] | undefined;
8940
- allowed_origins?: string[] | undefined;
8941
- web_origins?: string[] | undefined;
8942
- allowed_logout_urls?: string[] | undefined;
8943
- allowed_clients?: string[] | undefined;
8944
- addons?: Record<string, any> | undefined;
8945
- client_secret?: string | undefined;
8946
- client_metadata?: Record<string, string> | undefined;
8947
8659
  global?: boolean | undefined;
8660
+ client_secret?: string | undefined;
8948
8661
  app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
8949
8662
  logo_uri?: string | undefined;
8950
8663
  is_first_party?: boolean | undefined;
8951
8664
  oidc_conformant?: boolean | undefined;
8665
+ callbacks?: string[] | undefined;
8666
+ allowed_origins?: string[] | undefined;
8667
+ web_origins?: string[] | undefined;
8952
8668
  client_aliases?: string[] | undefined;
8669
+ allowed_clients?: string[] | undefined;
8670
+ allowed_logout_urls?: string[] | undefined;
8953
8671
  session_transfer?: Record<string, any> | undefined;
8954
8672
  oidc_logout?: Record<string, any> | undefined;
8955
8673
  grant_types?: string[] | undefined;
@@ -8964,7 +8682,9 @@ declare const LegacyClientSchema: z.ZodObject<{
8964
8682
  custom_login_page?: string | undefined;
8965
8683
  custom_login_page_preview?: string | undefined;
8966
8684
  form_template?: string | undefined;
8685
+ addons?: Record<string, any> | undefined;
8967
8686
  token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
8687
+ client_metadata?: Record<string, string> | undefined;
8968
8688
  mobile?: Record<string, any> | undefined;
8969
8689
  initiate_login_uri?: string | undefined;
8970
8690
  native_social_login?: Record<string, any> | undefined;
@@ -9121,9 +8841,8 @@ export declare const connectionOptionsSchema: z.ZodObject<{
9121
8841
  twilio_token: z.ZodOptional<z.ZodString>;
9122
8842
  }, "strip", z.ZodTypeAny, {
9123
8843
  provider?: string | undefined;
9124
- issuer?: string | undefined;
9125
- client_secret?: string | undefined;
9126
8844
  client_id?: string | undefined;
8845
+ client_secret?: string | undefined;
9127
8846
  scope?: string | undefined;
9128
8847
  kid?: string | undefined;
9129
8848
  team_id?: string | undefined;
@@ -9135,14 +8854,14 @@ export declare const connectionOptionsSchema: z.ZodObject<{
9135
8854
  userinfo_endpoint?: string | undefined;
9136
8855
  jwks_uri?: string | undefined;
9137
8856
  discovery_url?: string | undefined;
8857
+ issuer?: string | undefined;
9138
8858
  from?: string | undefined;
9139
8859
  twilio_sid?: string | undefined;
9140
8860
  twilio_token?: string | undefined;
9141
8861
  }, {
9142
8862
  provider?: string | undefined;
9143
- issuer?: string | undefined;
9144
- client_secret?: string | undefined;
9145
8863
  client_id?: string | undefined;
8864
+ client_secret?: string | undefined;
9146
8865
  scope?: string | undefined;
9147
8866
  kid?: string | undefined;
9148
8867
  team_id?: string | undefined;
@@ -9154,6 +8873,7 @@ export declare const connectionOptionsSchema: z.ZodObject<{
9154
8873
  userinfo_endpoint?: string | undefined;
9155
8874
  jwks_uri?: string | undefined;
9156
8875
  discovery_url?: string | undefined;
8876
+ issuer?: string | undefined;
9157
8877
  from?: string | undefined;
9158
8878
  twilio_sid?: string | undefined;
9159
8879
  twilio_token?: string | undefined;
@@ -9183,9 +8903,8 @@ export declare const connectionInsertSchema: z.ZodObject<{
9183
8903
  twilio_token: z.ZodOptional<z.ZodString>;
9184
8904
  }, "strip", z.ZodTypeAny, {
9185
8905
  provider?: string | undefined;
9186
- issuer?: string | undefined;
9187
- client_secret?: string | undefined;
9188
8906
  client_id?: string | undefined;
8907
+ client_secret?: string | undefined;
9189
8908
  scope?: string | undefined;
9190
8909
  kid?: string | undefined;
9191
8910
  team_id?: string | undefined;
@@ -9197,14 +8916,14 @@ export declare const connectionInsertSchema: z.ZodObject<{
9197
8916
  userinfo_endpoint?: string | undefined;
9198
8917
  jwks_uri?: string | undefined;
9199
8918
  discovery_url?: string | undefined;
8919
+ issuer?: string | undefined;
9200
8920
  from?: string | undefined;
9201
8921
  twilio_sid?: string | undefined;
9202
8922
  twilio_token?: string | undefined;
9203
8923
  }, {
9204
8924
  provider?: string | undefined;
9205
- issuer?: string | undefined;
9206
- client_secret?: string | undefined;
9207
8925
  client_id?: string | undefined;
8926
+ client_secret?: string | undefined;
9208
8927
  scope?: string | undefined;
9209
8928
  kid?: string | undefined;
9210
8929
  team_id?: string | undefined;
@@ -9216,6 +8935,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
9216
8935
  userinfo_endpoint?: string | undefined;
9217
8936
  jwks_uri?: string | undefined;
9218
8937
  discovery_url?: string | undefined;
8938
+ issuer?: string | undefined;
9219
8939
  from?: string | undefined;
9220
8940
  twilio_sid?: string | undefined;
9221
8941
  twilio_token?: string | undefined;
@@ -9226,9 +8946,8 @@ export declare const connectionInsertSchema: z.ZodObject<{
9226
8946
  }, "strip", z.ZodTypeAny, {
9227
8947
  options: {
9228
8948
  provider?: string | undefined;
9229
- issuer?: string | undefined;
9230
- client_secret?: string | undefined;
9231
8949
  client_id?: string | undefined;
8950
+ client_secret?: string | undefined;
9232
8951
  scope?: string | undefined;
9233
8952
  kid?: string | undefined;
9234
8953
  team_id?: string | undefined;
@@ -9240,6 +8959,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
9240
8959
  userinfo_endpoint?: string | undefined;
9241
8960
  jwks_uri?: string | undefined;
9242
8961
  discovery_url?: string | undefined;
8962
+ issuer?: string | undefined;
9243
8963
  from?: string | undefined;
9244
8964
  twilio_sid?: string | undefined;
9245
8965
  twilio_token?: string | undefined;
@@ -9255,9 +8975,8 @@ export declare const connectionInsertSchema: z.ZodObject<{
9255
8975
  strategy: string;
9256
8976
  options?: {
9257
8977
  provider?: string | undefined;
9258
- issuer?: string | undefined;
9259
- client_secret?: string | undefined;
9260
8978
  client_id?: string | undefined;
8979
+ client_secret?: string | undefined;
9261
8980
  scope?: string | undefined;
9262
8981
  kid?: string | undefined;
9263
8982
  team_id?: string | undefined;
@@ -9269,6 +8988,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
9269
8988
  userinfo_endpoint?: string | undefined;
9270
8989
  jwks_uri?: string | undefined;
9271
8990
  discovery_url?: string | undefined;
8991
+ issuer?: string | undefined;
9272
8992
  from?: string | undefined;
9273
8993
  twilio_sid?: string | undefined;
9274
8994
  twilio_token?: string | undefined;
@@ -9307,9 +9027,8 @@ export declare const connectionSchema: z.ZodObject<{
9307
9027
  twilio_token: z.ZodOptional<z.ZodString>;
9308
9028
  }, "strip", z.ZodTypeAny, {
9309
9029
  provider?: string | undefined;
9310
- issuer?: string | undefined;
9311
- client_secret?: string | undefined;
9312
9030
  client_id?: string | undefined;
9031
+ client_secret?: string | undefined;
9313
9032
  scope?: string | undefined;
9314
9033
  kid?: string | undefined;
9315
9034
  team_id?: string | undefined;
@@ -9321,14 +9040,14 @@ export declare const connectionSchema: z.ZodObject<{
9321
9040
  userinfo_endpoint?: string | undefined;
9322
9041
  jwks_uri?: string | undefined;
9323
9042
  discovery_url?: string | undefined;
9043
+ issuer?: string | undefined;
9324
9044
  from?: string | undefined;
9325
9045
  twilio_sid?: string | undefined;
9326
9046
  twilio_token?: string | undefined;
9327
9047
  }, {
9328
9048
  provider?: string | undefined;
9329
- issuer?: string | undefined;
9330
- client_secret?: string | undefined;
9331
9049
  client_id?: string | undefined;
9050
+ client_secret?: string | undefined;
9332
9051
  scope?: string | undefined;
9333
9052
  kid?: string | undefined;
9334
9053
  team_id?: string | undefined;
@@ -9340,6 +9059,7 @@ export declare const connectionSchema: z.ZodObject<{
9340
9059
  userinfo_endpoint?: string | undefined;
9341
9060
  jwks_uri?: string | undefined;
9342
9061
  discovery_url?: string | undefined;
9062
+ issuer?: string | undefined;
9343
9063
  from?: string | undefined;
9344
9064
  twilio_sid?: string | undefined;
9345
9065
  twilio_token?: string | undefined;
@@ -9350,9 +9070,8 @@ export declare const connectionSchema: z.ZodObject<{
9350
9070
  }, "strip", z.ZodTypeAny, {
9351
9071
  options: {
9352
9072
  provider?: string | undefined;
9353
- issuer?: string | undefined;
9354
- client_secret?: string | undefined;
9355
9073
  client_id?: string | undefined;
9074
+ client_secret?: string | undefined;
9356
9075
  scope?: string | undefined;
9357
9076
  kid?: string | undefined;
9358
9077
  team_id?: string | undefined;
@@ -9364,6 +9083,7 @@ export declare const connectionSchema: z.ZodObject<{
9364
9083
  userinfo_endpoint?: string | undefined;
9365
9084
  jwks_uri?: string | undefined;
9366
9085
  discovery_url?: string | undefined;
9086
+ issuer?: string | undefined;
9367
9087
  from?: string | undefined;
9368
9088
  twilio_sid?: string | undefined;
9369
9089
  twilio_token?: string | undefined;
@@ -9383,9 +9103,8 @@ export declare const connectionSchema: z.ZodObject<{
9383
9103
  strategy: string;
9384
9104
  options?: {
9385
9105
  provider?: string | undefined;
9386
- issuer?: string | undefined;
9387
- client_secret?: string | undefined;
9388
9106
  client_id?: string | undefined;
9107
+ client_secret?: string | undefined;
9389
9108
  scope?: string | undefined;
9390
9109
  kid?: string | undefined;
9391
9110
  team_id?: string | undefined;
@@ -9397,6 +9116,7 @@ export declare const connectionSchema: z.ZodObject<{
9397
9116
  userinfo_endpoint?: string | undefined;
9398
9117
  jwks_uri?: string | undefined;
9399
9118
  discovery_url?: string | undefined;
9119
+ issuer?: string | undefined;
9400
9120
  from?: string | undefined;
9401
9121
  twilio_sid?: string | undefined;
9402
9122
  twilio_token?: string | undefined;
@@ -9663,8 +9383,8 @@ export declare const formControlSchema: z.ZodObject<{
9663
9383
  }, "strip", z.ZodTypeAny, {
9664
9384
  type: "submit";
9665
9385
  id: string;
9666
- disabled: boolean;
9667
9386
  label: string;
9387
+ disabled: boolean;
9668
9388
  visible: boolean;
9669
9389
  className?: string | undefined;
9670
9390
  order?: number | undefined;
@@ -11519,9 +11239,9 @@ export declare const hookInsertSchema: z.ZodUnion<[
11519
11239
  priority: z.ZodOptional<z.ZodNumber>;
11520
11240
  hook_id: z.ZodOptional<z.ZodString>;
11521
11241
  }, "strip", z.ZodTypeAny, {
11522
- enabled: boolean;
11523
11242
  url: string;
11524
11243
  trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
11244
+ enabled: boolean;
11525
11245
  synchronous: boolean;
11526
11246
  priority?: number | undefined;
11527
11247
  hook_id?: string | undefined;
@@ -11545,8 +11265,8 @@ export declare const hookInsertSchema: z.ZodUnion<[
11545
11265
  priority: z.ZodOptional<z.ZodNumber>;
11546
11266
  hook_id: z.ZodOptional<z.ZodString>;
11547
11267
  }, "strip", z.ZodTypeAny, {
11548
- enabled: boolean;
11549
11268
  trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
11269
+ enabled: boolean;
11550
11270
  synchronous: boolean;
11551
11271
  form_id: string;
11552
11272
  priority?: number | undefined;
@@ -11578,9 +11298,9 @@ export declare const hookSchema: z.ZodUnion<[
11578
11298
  }, "strip", z.ZodTypeAny, {
11579
11299
  created_at: string;
11580
11300
  updated_at: string;
11581
- enabled: boolean;
11582
11301
  url: string;
11583
11302
  trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
11303
+ enabled: boolean;
11584
11304
  synchronous: boolean;
11585
11305
  hook_id: string;
11586
11306
  priority?: number | undefined;
@@ -11610,8 +11330,8 @@ export declare const hookSchema: z.ZodUnion<[
11610
11330
  }, "strip", z.ZodTypeAny, {
11611
11331
  created_at: string;
11612
11332
  updated_at: string;
11613
- enabled: boolean;
11614
11333
  trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
11334
+ enabled: boolean;
11615
11335
  synchronous: boolean;
11616
11336
  hook_id: string;
11617
11337
  form_id: string;
@@ -11866,11 +11586,11 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
11866
11586
  request_parameter_supported: z.ZodBoolean;
11867
11587
  token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
11868
11588
  }, "strip", z.ZodTypeAny, {
11869
- issuer: string;
11870
11589
  authorization_endpoint: string;
11871
11590
  token_endpoint: string;
11872
11591
  userinfo_endpoint: string;
11873
11592
  jwks_uri: string;
11593
+ issuer: string;
11874
11594
  device_authorization_endpoint: string;
11875
11595
  mfa_challenge_endpoint: string;
11876
11596
  registration_endpoint: string;
@@ -11887,11 +11607,11 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
11887
11607
  request_parameter_supported: boolean;
11888
11608
  token_endpoint_auth_signing_alg_values_supported: string[];
11889
11609
  }, {
11890
- issuer: string;
11891
11610
  authorization_endpoint: string;
11892
11611
  token_endpoint: string;
11893
11612
  userinfo_endpoint: string;
11894
11613
  jwks_uri: string;
11614
+ issuer: string;
11895
11615
  device_authorization_endpoint: string;
11896
11616
  mfa_challenge_endpoint: string;
11897
11617
  registration_endpoint: string;
@@ -11942,6 +11662,7 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
11942
11662
  client_id: string;
11943
11663
  username?: string | undefined;
11944
11664
  audience?: string | undefined;
11665
+ scope?: string | undefined;
11945
11666
  act_as?: string | undefined;
11946
11667
  response_type?: AuthorizationResponseType | undefined;
11947
11668
  response_mode?: AuthorizationResponseMode | undefined;
@@ -11949,7 +11670,6 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
11949
11670
  organization?: string | undefined;
11950
11671
  state?: string | undefined;
11951
11672
  nonce?: string | undefined;
11952
- scope?: string | undefined;
11953
11673
  prompt?: string | undefined;
11954
11674
  code_challenge_method?: CodeChallengeMethod | undefined;
11955
11675
  code_challenge?: string | undefined;
@@ -11959,6 +11679,7 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
11959
11679
  client_id: string;
11960
11680
  username?: string | undefined;
11961
11681
  audience?: string | undefined;
11682
+ scope?: string | undefined;
11962
11683
  act_as?: string | undefined;
11963
11684
  response_type?: AuthorizationResponseType | undefined;
11964
11685
  response_mode?: AuthorizationResponseMode | undefined;
@@ -11966,7 +11687,6 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
11966
11687
  organization?: string | undefined;
11967
11688
  state?: string | undefined;
11968
11689
  nonce?: string | undefined;
11969
- scope?: string | undefined;
11970
11690
  prompt?: string | undefined;
11971
11691
  code_challenge_method?: CodeChallengeMethod | undefined;
11972
11692
  code_challenge?: string | undefined;
@@ -11987,6 +11707,7 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
11987
11707
  client_id: string;
11988
11708
  username?: string | undefined;
11989
11709
  audience?: string | undefined;
11710
+ scope?: string | undefined;
11990
11711
  act_as?: string | undefined;
11991
11712
  response_type?: AuthorizationResponseType | undefined;
11992
11713
  response_mode?: AuthorizationResponseMode | undefined;
@@ -11994,7 +11715,6 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
11994
11715
  organization?: string | undefined;
11995
11716
  state?: string | undefined;
11996
11717
  nonce?: string | undefined;
11997
- scope?: string | undefined;
11998
11718
  prompt?: string | undefined;
11999
11719
  code_challenge_method?: CodeChallengeMethod | undefined;
12000
11720
  code_challenge?: string | undefined;
@@ -12015,6 +11735,7 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
12015
11735
  client_id: string;
12016
11736
  username?: string | undefined;
12017
11737
  audience?: string | undefined;
11738
+ scope?: string | undefined;
12018
11739
  act_as?: string | undefined;
12019
11740
  response_type?: AuthorizationResponseType | undefined;
12020
11741
  response_mode?: AuthorizationResponseMode | undefined;
@@ -12022,7 +11743,6 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
12022
11743
  organization?: string | undefined;
12023
11744
  state?: string | undefined;
12024
11745
  nonce?: string | undefined;
12025
- scope?: string | undefined;
12026
11746
  prompt?: string | undefined;
12027
11747
  code_challenge_method?: CodeChallengeMethod | undefined;
12028
11748
  code_challenge?: string | undefined;
@@ -12065,6 +11785,7 @@ export declare const loginSessionSchema: z.ZodObject<{
12065
11785
  client_id: string;
12066
11786
  username?: string | undefined;
12067
11787
  audience?: string | undefined;
11788
+ scope?: string | undefined;
12068
11789
  act_as?: string | undefined;
12069
11790
  response_type?: AuthorizationResponseType | undefined;
12070
11791
  response_mode?: AuthorizationResponseMode | undefined;
@@ -12072,7 +11793,6 @@ export declare const loginSessionSchema: z.ZodObject<{
12072
11793
  organization?: string | undefined;
12073
11794
  state?: string | undefined;
12074
11795
  nonce?: string | undefined;
12075
- scope?: string | undefined;
12076
11796
  prompt?: string | undefined;
12077
11797
  code_challenge_method?: CodeChallengeMethod | undefined;
12078
11798
  code_challenge?: string | undefined;
@@ -12082,6 +11802,7 @@ export declare const loginSessionSchema: z.ZodObject<{
12082
11802
  client_id: string;
12083
11803
  username?: string | undefined;
12084
11804
  audience?: string | undefined;
11805
+ scope?: string | undefined;
12085
11806
  act_as?: string | undefined;
12086
11807
  response_type?: AuthorizationResponseType | undefined;
12087
11808
  response_mode?: AuthorizationResponseMode | undefined;
@@ -12089,7 +11810,6 @@ export declare const loginSessionSchema: z.ZodObject<{
12089
11810
  organization?: string | undefined;
12090
11811
  state?: string | undefined;
12091
11812
  nonce?: string | undefined;
12092
- scope?: string | undefined;
12093
11813
  prompt?: string | undefined;
12094
11814
  code_challenge_method?: CodeChallengeMethod | undefined;
12095
11815
  code_challenge?: string | undefined;
@@ -12113,6 +11833,7 @@ export declare const loginSessionSchema: z.ZodObject<{
12113
11833
  client_id: string;
12114
11834
  username?: string | undefined;
12115
11835
  audience?: string | undefined;
11836
+ scope?: string | undefined;
12116
11837
  act_as?: string | undefined;
12117
11838
  response_type?: AuthorizationResponseType | undefined;
12118
11839
  response_mode?: AuthorizationResponseMode | undefined;
@@ -12120,7 +11841,6 @@ export declare const loginSessionSchema: z.ZodObject<{
12120
11841
  organization?: string | undefined;
12121
11842
  state?: string | undefined;
12122
11843
  nonce?: string | undefined;
12123
- scope?: string | undefined;
12124
11844
  prompt?: string | undefined;
12125
11845
  code_challenge_method?: CodeChallengeMethod | undefined;
12126
11846
  code_challenge?: string | undefined;
@@ -12144,6 +11864,7 @@ export declare const loginSessionSchema: z.ZodObject<{
12144
11864
  client_id: string;
12145
11865
  username?: string | undefined;
12146
11866
  audience?: string | undefined;
11867
+ scope?: string | undefined;
12147
11868
  act_as?: string | undefined;
12148
11869
  response_type?: AuthorizationResponseType | undefined;
12149
11870
  response_mode?: AuthorizationResponseMode | undefined;
@@ -12151,7 +11872,6 @@ export declare const loginSessionSchema: z.ZodObject<{
12151
11872
  organization?: string | undefined;
12152
11873
  state?: string | undefined;
12153
11874
  nonce?: string | undefined;
12154
- scope?: string | undefined;
12155
11875
  prompt?: string | undefined;
12156
11876
  code_challenge_method?: CodeChallengeMethod | undefined;
12157
11877
  code_challenge?: string | undefined;
@@ -12396,8 +12116,8 @@ export declare const logSchema: z.ZodObject<{
12396
12116
  description?: string | undefined;
12397
12117
  connection?: string | undefined;
12398
12118
  user_id?: string | undefined;
12399
- audience?: string | undefined;
12400
12119
  client_id?: string | undefined;
12120
+ audience?: string | undefined;
12401
12121
  scope?: string[] | undefined;
12402
12122
  strategy?: string | undefined;
12403
12123
  connection_id?: string | undefined;
@@ -12424,8 +12144,8 @@ export declare const logSchema: z.ZodObject<{
12424
12144
  description?: string | undefined;
12425
12145
  connection?: string | undefined;
12426
12146
  user_id?: string | undefined;
12427
- audience?: string | undefined;
12428
12147
  client_id?: string | undefined;
12148
+ audience?: string | undefined;
12429
12149
  scope?: string[] | undefined;
12430
12150
  strategy?: string | undefined;
12431
12151
  connection_id?: string | undefined;
@@ -12781,16 +12501,16 @@ export declare const tokenResponseSchema: z.ZodObject<{
12781
12501
  token_type: string;
12782
12502
  expires_in: number;
12783
12503
  refresh_token?: string | undefined;
12784
- state?: string | undefined;
12785
12504
  scope?: string | undefined;
12505
+ state?: string | undefined;
12786
12506
  id_token?: string | undefined;
12787
12507
  }, {
12788
12508
  access_token: string;
12789
12509
  token_type: string;
12790
12510
  expires_in: number;
12791
12511
  refresh_token?: string | undefined;
12792
- state?: string | undefined;
12793
12512
  scope?: string | undefined;
12513
+ state?: string | undefined;
12794
12514
  id_token?: string | undefined;
12795
12515
  }>;
12796
12516
  export type TokenResponse = z.infer<typeof tokenResponseSchema>;
@@ -14134,8 +13854,8 @@ export declare const refreshTokenInsertSchema: z.ZodObject<{
14134
13854
  rotating: z.ZodBoolean;
14135
13855
  }, "strip", z.ZodTypeAny, {
14136
13856
  user_id: string;
14137
- id: string;
14138
13857
  client_id: string;
13858
+ id: string;
14139
13859
  session_id: string;
14140
13860
  device: {
14141
13861
  last_ip: string;
@@ -14155,8 +13875,8 @@ export declare const refreshTokenInsertSchema: z.ZodObject<{
14155
13875
  last_exchanged_at?: string | undefined;
14156
13876
  }, {
14157
13877
  user_id: string;
14158
- id: string;
14159
13878
  client_id: string;
13879
+ id: string;
14160
13880
  session_id: string;
14161
13881
  device: {
14162
13882
  last_ip: string;
@@ -14221,8 +13941,8 @@ export declare const refreshTokenSchema: z.ZodObject<{
14221
13941
  }, "strip", z.ZodTypeAny, {
14222
13942
  created_at: string;
14223
13943
  user_id: string;
14224
- id: string;
14225
13944
  client_id: string;
13945
+ id: string;
14226
13946
  session_id: string;
14227
13947
  device: {
14228
13948
  last_ip: string;
@@ -14243,8 +13963,8 @@ export declare const refreshTokenSchema: z.ZodObject<{
14243
13963
  }, {
14244
13964
  created_at: string;
14245
13965
  user_id: string;
14246
- id: string;
14247
13966
  client_id: string;
13967
+ id: string;
14248
13968
  session_id: string;
14249
13969
  device: {
14250
13970
  last_ip: string;
@@ -15147,7 +14867,6 @@ export declare const organizationInsertSchema: z.ZodObject<{
15147
14867
  }>>;
15148
14868
  }, "strip", z.ZodTypeAny, {
15149
14869
  name: string;
15150
- id?: string | undefined;
15151
14870
  token_quota?: {
15152
14871
  client_credentials?: {
15153
14872
  enforce: boolean;
@@ -15155,6 +14874,7 @@ export declare const organizationInsertSchema: z.ZodObject<{
15155
14874
  per_hour: number;
15156
14875
  } | undefined;
15157
14876
  } | undefined;
14877
+ id?: string | undefined;
15158
14878
  display_name?: string | undefined;
15159
14879
  branding?: {
15160
14880
  colors?: {
@@ -15172,7 +14892,6 @@ export declare const organizationInsertSchema: z.ZodObject<{
15172
14892
  }[] | undefined;
15173
14893
  }, {
15174
14894
  name: string;
15175
- id?: string | undefined;
15176
14895
  token_quota?: {
15177
14896
  client_credentials?: {
15178
14897
  enforce?: boolean | undefined;
@@ -15180,6 +14899,7 @@ export declare const organizationInsertSchema: z.ZodObject<{
15180
14899
  per_hour?: number | undefined;
15181
14900
  } | undefined;
15182
14901
  } | undefined;
14902
+ id?: string | undefined;
15183
14903
  display_name?: string | undefined;
15184
14904
  branding?: {
15185
14905
  colors?: {
@@ -15402,6 +15122,16 @@ export interface ClientsAdapter {
15402
15122
  }>;
15403
15123
  update(tenant_id: string, client_id: string, client: Partial<Client>): Promise<boolean>;
15404
15124
  }
15125
+ export interface ListClientGrantsResponse extends Totals {
15126
+ client_grants: ClientGrant[];
15127
+ }
15128
+ export interface ClientGrantsAdapter {
15129
+ create(tenant_id: string, params: ClientGrantInsert): Promise<ClientGrant>;
15130
+ get(tenant_id: string, id: string): Promise<ClientGrant | null>;
15131
+ list(tenant_id: string, params?: ListParams): Promise<ListClientGrantsResponse>;
15132
+ update(tenant_id: string, id: string, clientGrant: Partial<ClientGrantInsert>): Promise<boolean>;
15133
+ remove(tenant_id: string, id: string): Promise<boolean>;
15134
+ }
15405
15135
  export interface ListCodesResponse extends Totals {
15406
15136
  codes: Code[];
15407
15137
  }
@@ -15463,16 +15193,6 @@ export interface LogsDataAdapter {
15463
15193
  list(tenantId: string, params?: ListParams): Promise<ListLogsResponse>;
15464
15194
  get(tenantId: string, logId: string): Promise<LogsResponse | null>;
15465
15195
  }
15466
- export interface ApplicationsAdapter {
15467
- create(tenant_id: string, params: ApplicationInsert): Promise<Application>;
15468
- get(tenant_id: string, id: string): Promise<Application | null>;
15469
- remove(tenant_id: string, id: string): Promise<boolean>;
15470
- list(tenant_id: string, params?: ListParams): Promise<{
15471
- applications: Application[];
15472
- totals?: Totals;
15473
- }>;
15474
- update(tenant_id: string, id: string, application: Partial<Application>): Promise<boolean>;
15475
- }
15476
15196
  export interface ListConnectionsResponse extends Totals {
15477
15197
  connections: Connection[];
15478
15198
  }
@@ -15632,10 +15352,10 @@ export interface UserOrganizationsAdapter {
15632
15352
  update(tenantId: string, id: string, params: Partial<UserOrganizationInsert>): Promise<boolean>;
15633
15353
  }
15634
15354
  export interface DataAdapters {
15635
- applications: ApplicationsAdapter;
15636
15355
  branding: BrandingAdapter;
15637
15356
  cache?: CacheAdapter;
15638
15357
  clients: ClientsAdapter;
15358
+ clientGrants: ClientGrantsAdapter;
15639
15359
  legacyClients: LegacyClientsAdapter;
15640
15360
  codes: CodesAdapter;
15641
15361
  connections: ConnectionsAdapter;