@authhero/adapter-interfaces 0.90.0 → 0.92.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -580,412 +580,6 @@ export declare const userResponseSchema: z.ZodObject<{
580
580
  user_id: z.ZodString;
581
581
  }, z.ZodAny, "strip">>;
582
582
  export type UserResponse = z.infer<typeof userResponseSchema>;
583
- export declare const samlpAddon: z.ZodObject<{
584
- audience: z.ZodOptional<z.ZodString>;
585
- recipient: z.ZodOptional<z.ZodString>;
586
- createUpnClaim: z.ZodOptional<z.ZodBoolean>;
587
- mapUnknownClaimsAsIs: z.ZodOptional<z.ZodBoolean>;
588
- passthroughClaimsWithNoMapping: z.ZodOptional<z.ZodBoolean>;
589
- mapIdentities: z.ZodOptional<z.ZodBoolean>;
590
- signatureAlgorithm: z.ZodOptional<z.ZodString>;
591
- digestAlgorithm: z.ZodOptional<z.ZodString>;
592
- issuer: z.ZodOptional<z.ZodString>;
593
- destination: z.ZodOptional<z.ZodString>;
594
- lifetimeInSeconds: z.ZodOptional<z.ZodNumber>;
595
- signResponse: z.ZodOptional<z.ZodBoolean>;
596
- nameIdentifierFormat: z.ZodOptional<z.ZodString>;
597
- nameIdentifierProbes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
598
- authnContextClassRef: z.ZodOptional<z.ZodString>;
599
- mappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
600
- }, "strip", z.ZodTypeAny, {
601
- audience?: string | undefined;
602
- recipient?: string | undefined;
603
- createUpnClaim?: boolean | undefined;
604
- mapUnknownClaimsAsIs?: boolean | undefined;
605
- passthroughClaimsWithNoMapping?: boolean | undefined;
606
- mapIdentities?: boolean | undefined;
607
- signatureAlgorithm?: string | undefined;
608
- digestAlgorithm?: string | undefined;
609
- issuer?: string | undefined;
610
- destination?: string | undefined;
611
- lifetimeInSeconds?: number | undefined;
612
- signResponse?: boolean | undefined;
613
- nameIdentifierFormat?: string | undefined;
614
- nameIdentifierProbes?: string[] | undefined;
615
- authnContextClassRef?: string | undefined;
616
- mappings?: Record<string, string> | undefined;
617
- }, {
618
- audience?: string | undefined;
619
- recipient?: string | undefined;
620
- createUpnClaim?: boolean | undefined;
621
- mapUnknownClaimsAsIs?: boolean | undefined;
622
- passthroughClaimsWithNoMapping?: boolean | undefined;
623
- mapIdentities?: boolean | undefined;
624
- signatureAlgorithm?: string | undefined;
625
- digestAlgorithm?: string | undefined;
626
- issuer?: string | undefined;
627
- destination?: string | undefined;
628
- lifetimeInSeconds?: number | undefined;
629
- signResponse?: boolean | undefined;
630
- nameIdentifierFormat?: string | undefined;
631
- nameIdentifierProbes?: string[] | undefined;
632
- authnContextClassRef?: string | undefined;
633
- mappings?: Record<string, string> | undefined;
634
- }>;
635
- export declare const applicationInsertSchema: z.ZodObject<{
636
- id: z.ZodString;
637
- name: z.ZodString;
638
- callbacks: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
639
- allowed_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
640
- web_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
641
- allowed_logout_urls: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
642
- allowed_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
643
- addons: z.ZodOptional<z.ZodDefault<z.ZodObject<{
644
- samlp: z.ZodOptional<z.ZodObject<{
645
- audience: z.ZodOptional<z.ZodString>;
646
- recipient: z.ZodOptional<z.ZodString>;
647
- createUpnClaim: z.ZodOptional<z.ZodBoolean>;
648
- mapUnknownClaimsAsIs: z.ZodOptional<z.ZodBoolean>;
649
- passthroughClaimsWithNoMapping: z.ZodOptional<z.ZodBoolean>;
650
- mapIdentities: z.ZodOptional<z.ZodBoolean>;
651
- signatureAlgorithm: z.ZodOptional<z.ZodString>;
652
- digestAlgorithm: z.ZodOptional<z.ZodString>;
653
- issuer: z.ZodOptional<z.ZodString>;
654
- destination: z.ZodOptional<z.ZodString>;
655
- lifetimeInSeconds: z.ZodOptional<z.ZodNumber>;
656
- signResponse: z.ZodOptional<z.ZodBoolean>;
657
- nameIdentifierFormat: z.ZodOptional<z.ZodString>;
658
- nameIdentifierProbes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
659
- authnContextClassRef: z.ZodOptional<z.ZodString>;
660
- mappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
661
- }, "strip", z.ZodTypeAny, {
662
- audience?: string | undefined;
663
- recipient?: string | undefined;
664
- createUpnClaim?: boolean | undefined;
665
- mapUnknownClaimsAsIs?: boolean | undefined;
666
- passthroughClaimsWithNoMapping?: boolean | undefined;
667
- mapIdentities?: boolean | undefined;
668
- signatureAlgorithm?: string | undefined;
669
- digestAlgorithm?: string | undefined;
670
- issuer?: string | undefined;
671
- destination?: string | undefined;
672
- lifetimeInSeconds?: number | undefined;
673
- signResponse?: boolean | undefined;
674
- nameIdentifierFormat?: string | undefined;
675
- nameIdentifierProbes?: string[] | undefined;
676
- authnContextClassRef?: string | undefined;
677
- mappings?: Record<string, string> | undefined;
678
- }, {
679
- audience?: string | undefined;
680
- recipient?: string | undefined;
681
- createUpnClaim?: boolean | undefined;
682
- mapUnknownClaimsAsIs?: boolean | undefined;
683
- passthroughClaimsWithNoMapping?: boolean | undefined;
684
- mapIdentities?: boolean | undefined;
685
- signatureAlgorithm?: string | undefined;
686
- digestAlgorithm?: string | undefined;
687
- issuer?: string | undefined;
688
- destination?: string | undefined;
689
- lifetimeInSeconds?: number | undefined;
690
- signResponse?: boolean | undefined;
691
- nameIdentifierFormat?: string | undefined;
692
- nameIdentifierProbes?: string[] | undefined;
693
- authnContextClassRef?: string | undefined;
694
- mappings?: Record<string, string> | undefined;
695
- }>>;
696
- }, "strip", z.ZodTypeAny, {
697
- samlp?: {
698
- audience?: string | undefined;
699
- recipient?: string | undefined;
700
- createUpnClaim?: boolean | undefined;
701
- mapUnknownClaimsAsIs?: boolean | undefined;
702
- passthroughClaimsWithNoMapping?: boolean | undefined;
703
- mapIdentities?: boolean | undefined;
704
- signatureAlgorithm?: string | undefined;
705
- digestAlgorithm?: string | undefined;
706
- issuer?: string | undefined;
707
- destination?: string | undefined;
708
- lifetimeInSeconds?: number | undefined;
709
- signResponse?: boolean | undefined;
710
- nameIdentifierFormat?: string | undefined;
711
- nameIdentifierProbes?: string[] | undefined;
712
- authnContextClassRef?: string | undefined;
713
- mappings?: Record<string, string> | undefined;
714
- } | undefined;
715
- }, {
716
- samlp?: {
717
- audience?: string | undefined;
718
- recipient?: string | undefined;
719
- createUpnClaim?: boolean | undefined;
720
- mapUnknownClaimsAsIs?: boolean | undefined;
721
- passthroughClaimsWithNoMapping?: boolean | undefined;
722
- mapIdentities?: boolean | undefined;
723
- signatureAlgorithm?: string | undefined;
724
- digestAlgorithm?: string | undefined;
725
- issuer?: string | undefined;
726
- destination?: string | undefined;
727
- lifetimeInSeconds?: number | undefined;
728
- signResponse?: boolean | undefined;
729
- nameIdentifierFormat?: string | undefined;
730
- nameIdentifierProbes?: string[] | undefined;
731
- authnContextClassRef?: string | undefined;
732
- mappings?: Record<string, string> | undefined;
733
- } | undefined;
734
- }>>>;
735
- email_validation: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
736
- "enabled",
737
- "disabled",
738
- "enforced"
739
- ]>>>;
740
- client_secret: z.ZodOptional<z.ZodDefault<z.ZodString>>;
741
- disable_sign_ups: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
742
- client_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
743
- }, "strip", z.ZodTypeAny, {
744
- name: string;
745
- id: string;
746
- disable_sign_ups: boolean;
747
- callbacks?: string[] | undefined;
748
- allowed_origins?: string[] | undefined;
749
- web_origins?: string[] | undefined;
750
- allowed_logout_urls?: string[] | undefined;
751
- allowed_clients?: string[] | undefined;
752
- addons?: {
753
- samlp?: {
754
- audience?: string | undefined;
755
- recipient?: string | undefined;
756
- createUpnClaim?: boolean | undefined;
757
- mapUnknownClaimsAsIs?: boolean | undefined;
758
- passthroughClaimsWithNoMapping?: boolean | undefined;
759
- mapIdentities?: boolean | undefined;
760
- signatureAlgorithm?: string | undefined;
761
- digestAlgorithm?: string | undefined;
762
- issuer?: string | undefined;
763
- destination?: string | undefined;
764
- lifetimeInSeconds?: number | undefined;
765
- signResponse?: boolean | undefined;
766
- nameIdentifierFormat?: string | undefined;
767
- nameIdentifierProbes?: string[] | undefined;
768
- authnContextClassRef?: string | undefined;
769
- mappings?: Record<string, string> | undefined;
770
- } | undefined;
771
- } | undefined;
772
- email_validation?: "enabled" | "disabled" | "enforced" | undefined;
773
- client_secret?: string | undefined;
774
- client_metadata?: Record<string, string> | undefined;
775
- }, {
776
- name: string;
777
- id: string;
778
- callbacks?: string[] | undefined;
779
- allowed_origins?: string[] | undefined;
780
- web_origins?: string[] | undefined;
781
- allowed_logout_urls?: string[] | undefined;
782
- allowed_clients?: string[] | undefined;
783
- addons?: {
784
- samlp?: {
785
- audience?: string | undefined;
786
- recipient?: string | undefined;
787
- createUpnClaim?: boolean | undefined;
788
- mapUnknownClaimsAsIs?: boolean | undefined;
789
- passthroughClaimsWithNoMapping?: boolean | undefined;
790
- mapIdentities?: boolean | undefined;
791
- signatureAlgorithm?: string | undefined;
792
- digestAlgorithm?: string | undefined;
793
- issuer?: string | undefined;
794
- destination?: string | undefined;
795
- lifetimeInSeconds?: number | undefined;
796
- signResponse?: boolean | undefined;
797
- nameIdentifierFormat?: string | undefined;
798
- nameIdentifierProbes?: string[] | undefined;
799
- authnContextClassRef?: string | undefined;
800
- mappings?: Record<string, string> | undefined;
801
- } | undefined;
802
- } | undefined;
803
- email_validation?: "enabled" | "disabled" | "enforced" | undefined;
804
- client_secret?: string | undefined;
805
- disable_sign_ups?: boolean | undefined;
806
- client_metadata?: Record<string, string> | undefined;
807
- }>;
808
- export type ApplicationInsert = z.input<typeof applicationInsertSchema>;
809
- export declare const applicationSchema: z.ZodObject<{
810
- id: z.ZodString;
811
- name: z.ZodString;
812
- callbacks: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
813
- allowed_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
814
- web_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
815
- allowed_logout_urls: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
816
- allowed_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
817
- addons: z.ZodOptional<z.ZodDefault<z.ZodObject<{
818
- samlp: z.ZodOptional<z.ZodObject<{
819
- audience: z.ZodOptional<z.ZodString>;
820
- recipient: z.ZodOptional<z.ZodString>;
821
- createUpnClaim: z.ZodOptional<z.ZodBoolean>;
822
- mapUnknownClaimsAsIs: z.ZodOptional<z.ZodBoolean>;
823
- passthroughClaimsWithNoMapping: z.ZodOptional<z.ZodBoolean>;
824
- mapIdentities: z.ZodOptional<z.ZodBoolean>;
825
- signatureAlgorithm: z.ZodOptional<z.ZodString>;
826
- digestAlgorithm: z.ZodOptional<z.ZodString>;
827
- issuer: z.ZodOptional<z.ZodString>;
828
- destination: z.ZodOptional<z.ZodString>;
829
- lifetimeInSeconds: z.ZodOptional<z.ZodNumber>;
830
- signResponse: z.ZodOptional<z.ZodBoolean>;
831
- nameIdentifierFormat: z.ZodOptional<z.ZodString>;
832
- nameIdentifierProbes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
833
- authnContextClassRef: z.ZodOptional<z.ZodString>;
834
- mappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
835
- }, "strip", z.ZodTypeAny, {
836
- audience?: string | undefined;
837
- recipient?: string | undefined;
838
- createUpnClaim?: boolean | undefined;
839
- mapUnknownClaimsAsIs?: boolean | undefined;
840
- passthroughClaimsWithNoMapping?: boolean | undefined;
841
- mapIdentities?: boolean | undefined;
842
- signatureAlgorithm?: string | undefined;
843
- digestAlgorithm?: string | undefined;
844
- issuer?: string | undefined;
845
- destination?: string | undefined;
846
- lifetimeInSeconds?: number | undefined;
847
- signResponse?: boolean | undefined;
848
- nameIdentifierFormat?: string | undefined;
849
- nameIdentifierProbes?: string[] | undefined;
850
- authnContextClassRef?: string | undefined;
851
- mappings?: Record<string, string> | undefined;
852
- }, {
853
- audience?: string | undefined;
854
- recipient?: string | undefined;
855
- createUpnClaim?: boolean | undefined;
856
- mapUnknownClaimsAsIs?: boolean | undefined;
857
- passthroughClaimsWithNoMapping?: boolean | undefined;
858
- mapIdentities?: boolean | undefined;
859
- signatureAlgorithm?: string | undefined;
860
- digestAlgorithm?: string | undefined;
861
- issuer?: string | undefined;
862
- destination?: string | undefined;
863
- lifetimeInSeconds?: number | undefined;
864
- signResponse?: boolean | undefined;
865
- nameIdentifierFormat?: string | undefined;
866
- nameIdentifierProbes?: string[] | undefined;
867
- authnContextClassRef?: string | undefined;
868
- mappings?: Record<string, string> | undefined;
869
- }>>;
870
- }, "strip", z.ZodTypeAny, {
871
- samlp?: {
872
- audience?: string | undefined;
873
- recipient?: string | undefined;
874
- createUpnClaim?: boolean | undefined;
875
- mapUnknownClaimsAsIs?: boolean | undefined;
876
- passthroughClaimsWithNoMapping?: boolean | undefined;
877
- mapIdentities?: boolean | undefined;
878
- signatureAlgorithm?: string | undefined;
879
- digestAlgorithm?: string | undefined;
880
- issuer?: string | undefined;
881
- destination?: string | undefined;
882
- lifetimeInSeconds?: number | undefined;
883
- signResponse?: boolean | undefined;
884
- nameIdentifierFormat?: string | undefined;
885
- nameIdentifierProbes?: string[] | undefined;
886
- authnContextClassRef?: string | undefined;
887
- mappings?: Record<string, string> | undefined;
888
- } | undefined;
889
- }, {
890
- samlp?: {
891
- audience?: string | undefined;
892
- recipient?: string | undefined;
893
- createUpnClaim?: boolean | undefined;
894
- mapUnknownClaimsAsIs?: boolean | undefined;
895
- passthroughClaimsWithNoMapping?: boolean | undefined;
896
- mapIdentities?: boolean | undefined;
897
- signatureAlgorithm?: string | undefined;
898
- digestAlgorithm?: string | undefined;
899
- issuer?: string | undefined;
900
- destination?: string | undefined;
901
- lifetimeInSeconds?: number | undefined;
902
- signResponse?: boolean | undefined;
903
- nameIdentifierFormat?: string | undefined;
904
- nameIdentifierProbes?: string[] | undefined;
905
- authnContextClassRef?: string | undefined;
906
- mappings?: Record<string, string> | undefined;
907
- } | undefined;
908
- }>>>;
909
- email_validation: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
910
- "enabled",
911
- "disabled",
912
- "enforced"
913
- ]>>>;
914
- client_secret: z.ZodOptional<z.ZodDefault<z.ZodString>>;
915
- disable_sign_ups: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
916
- client_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
917
- created_at: z.ZodEffects<z.ZodString, string, string>;
918
- updated_at: z.ZodEffects<z.ZodString, string, string>;
919
- }, "strip", z.ZodTypeAny, {
920
- created_at: string;
921
- updated_at: string;
922
- name: string;
923
- id: string;
924
- disable_sign_ups: boolean;
925
- callbacks?: string[] | undefined;
926
- allowed_origins?: string[] | undefined;
927
- web_origins?: string[] | undefined;
928
- allowed_logout_urls?: string[] | undefined;
929
- allowed_clients?: string[] | undefined;
930
- addons?: {
931
- samlp?: {
932
- audience?: string | undefined;
933
- recipient?: string | undefined;
934
- createUpnClaim?: boolean | undefined;
935
- mapUnknownClaimsAsIs?: boolean | undefined;
936
- passthroughClaimsWithNoMapping?: boolean | undefined;
937
- mapIdentities?: boolean | undefined;
938
- signatureAlgorithm?: string | undefined;
939
- digestAlgorithm?: string | undefined;
940
- issuer?: string | undefined;
941
- destination?: string | undefined;
942
- lifetimeInSeconds?: number | undefined;
943
- signResponse?: boolean | undefined;
944
- nameIdentifierFormat?: string | undefined;
945
- nameIdentifierProbes?: string[] | undefined;
946
- authnContextClassRef?: string | undefined;
947
- mappings?: Record<string, string> | undefined;
948
- } | undefined;
949
- } | undefined;
950
- email_validation?: "enabled" | "disabled" | "enforced" | undefined;
951
- client_secret?: string | undefined;
952
- client_metadata?: Record<string, string> | undefined;
953
- }, {
954
- created_at: string;
955
- updated_at: string;
956
- name: string;
957
- id: string;
958
- callbacks?: string[] | undefined;
959
- allowed_origins?: string[] | undefined;
960
- web_origins?: string[] | undefined;
961
- allowed_logout_urls?: string[] | undefined;
962
- allowed_clients?: string[] | undefined;
963
- addons?: {
964
- samlp?: {
965
- audience?: string | undefined;
966
- recipient?: string | undefined;
967
- createUpnClaim?: boolean | undefined;
968
- mapUnknownClaimsAsIs?: boolean | undefined;
969
- passthroughClaimsWithNoMapping?: boolean | undefined;
970
- mapIdentities?: boolean | undefined;
971
- signatureAlgorithm?: string | undefined;
972
- digestAlgorithm?: string | undefined;
973
- issuer?: string | undefined;
974
- destination?: string | undefined;
975
- lifetimeInSeconds?: number | undefined;
976
- signResponse?: boolean | undefined;
977
- nameIdentifierFormat?: string | undefined;
978
- nameIdentifierProbes?: string[] | undefined;
979
- authnContextClassRef?: string | undefined;
980
- mappings?: Record<string, string> | undefined;
981
- } | undefined;
982
- } | undefined;
983
- email_validation?: "enabled" | "disabled" | "enforced" | undefined;
984
- client_secret?: string | undefined;
985
- disable_sign_ups?: boolean | undefined;
986
- client_metadata?: Record<string, string> | undefined;
987
- }>;
988
- export type Application = z.infer<typeof applicationSchema>;
989
583
  export declare const clientInsertSchema: z.ZodObject<{
990
584
  client_id: z.ZodString;
991
585
  name: z.ZodString;
@@ -1091,17 +685,15 @@ export declare const clientInsertSchema: z.ZodObject<{
1091
685
  require_proof_of_possession: boolean;
1092
686
  description?: string | undefined;
1093
687
  refresh_token?: Record<string, any> | undefined;
1094
- callbacks?: string[] | undefined;
1095
- allowed_origins?: string[] | undefined;
1096
- web_origins?: string[] | undefined;
1097
- allowed_logout_urls?: string[] | undefined;
1098
- allowed_clients?: string[] | undefined;
1099
- addons?: Record<string, any> | undefined;
1100
688
  client_secret?: string | undefined;
1101
- client_metadata?: Record<string, string> | undefined;
1102
689
  app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
1103
690
  logo_uri?: string | undefined;
691
+ callbacks?: string[] | undefined;
692
+ allowed_origins?: string[] | undefined;
693
+ web_origins?: string[] | undefined;
1104
694
  client_aliases?: string[] | undefined;
695
+ allowed_clients?: string[] | undefined;
696
+ allowed_logout_urls?: string[] | undefined;
1105
697
  session_transfer?: Record<string, any> | undefined;
1106
698
  oidc_logout?: Record<string, any> | undefined;
1107
699
  grant_types?: string[] | undefined;
@@ -1112,7 +704,9 @@ export declare const clientInsertSchema: z.ZodObject<{
1112
704
  custom_login_page?: string | undefined;
1113
705
  custom_login_page_preview?: string | undefined;
1114
706
  form_template?: string | undefined;
707
+ addons?: Record<string, any> | undefined;
1115
708
  token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
709
+ client_metadata?: Record<string, string> | undefined;
1116
710
  mobile?: Record<string, any> | undefined;
1117
711
  initiate_login_uri?: string | undefined;
1118
712
  native_social_login?: Record<string, any> | undefined;
@@ -1129,20 +723,18 @@ export declare const clientInsertSchema: z.ZodObject<{
1129
723
  client_id: string;
1130
724
  description?: string | undefined;
1131
725
  refresh_token?: Record<string, any> | undefined;
1132
- callbacks?: string[] | undefined;
1133
- allowed_origins?: string[] | undefined;
1134
- web_origins?: string[] | undefined;
1135
- allowed_logout_urls?: string[] | undefined;
1136
- allowed_clients?: string[] | undefined;
1137
- addons?: Record<string, any> | undefined;
1138
- client_secret?: string | undefined;
1139
- client_metadata?: Record<string, string> | undefined;
1140
726
  global?: boolean | undefined;
727
+ client_secret?: string | undefined;
1141
728
  app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
1142
729
  logo_uri?: string | undefined;
1143
730
  is_first_party?: boolean | undefined;
1144
731
  oidc_conformant?: boolean | undefined;
732
+ callbacks?: string[] | undefined;
733
+ allowed_origins?: string[] | undefined;
734
+ web_origins?: string[] | undefined;
1145
735
  client_aliases?: string[] | undefined;
736
+ allowed_clients?: string[] | undefined;
737
+ allowed_logout_urls?: string[] | undefined;
1146
738
  session_transfer?: Record<string, any> | undefined;
1147
739
  oidc_logout?: Record<string, any> | undefined;
1148
740
  grant_types?: string[] | undefined;
@@ -1157,7 +749,9 @@ export declare const clientInsertSchema: z.ZodObject<{
1157
749
  custom_login_page?: string | undefined;
1158
750
  custom_login_page_preview?: string | undefined;
1159
751
  form_template?: string | undefined;
752
+ addons?: Record<string, any> | undefined;
1160
753
  token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
754
+ client_metadata?: Record<string, string> | undefined;
1161
755
  mobile?: Record<string, any> | undefined;
1162
756
  initiate_login_uri?: string | undefined;
1163
757
  native_social_login?: Record<string, any> | undefined;
@@ -1282,17 +876,15 @@ export declare const clientSchema: z.ZodObject<{
1282
876
  require_proof_of_possession: boolean;
1283
877
  description?: string | undefined;
1284
878
  refresh_token?: Record<string, any> | undefined;
1285
- callbacks?: string[] | undefined;
1286
- allowed_origins?: string[] | undefined;
1287
- web_origins?: string[] | undefined;
1288
- allowed_logout_urls?: string[] | undefined;
1289
- allowed_clients?: string[] | undefined;
1290
- addons?: Record<string, any> | undefined;
1291
879
  client_secret?: string | undefined;
1292
- client_metadata?: Record<string, string> | undefined;
1293
880
  app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
1294
881
  logo_uri?: string | undefined;
882
+ callbacks?: string[] | undefined;
883
+ allowed_origins?: string[] | undefined;
884
+ web_origins?: string[] | undefined;
1295
885
  client_aliases?: string[] | undefined;
886
+ allowed_clients?: string[] | undefined;
887
+ allowed_logout_urls?: string[] | undefined;
1296
888
  session_transfer?: Record<string, any> | undefined;
1297
889
  oidc_logout?: Record<string, any> | undefined;
1298
890
  grant_types?: string[] | undefined;
@@ -1303,7 +895,9 @@ export declare const clientSchema: z.ZodObject<{
1303
895
  custom_login_page?: string | undefined;
1304
896
  custom_login_page_preview?: string | undefined;
1305
897
  form_template?: string | undefined;
898
+ addons?: Record<string, any> | undefined;
1306
899
  token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
900
+ client_metadata?: Record<string, string> | undefined;
1307
901
  mobile?: Record<string, any> | undefined;
1308
902
  initiate_login_uri?: string | undefined;
1309
903
  native_social_login?: Record<string, any> | undefined;
@@ -1322,20 +916,18 @@ export declare const clientSchema: z.ZodObject<{
1322
916
  client_id: string;
1323
917
  description?: string | undefined;
1324
918
  refresh_token?: Record<string, any> | undefined;
1325
- callbacks?: string[] | undefined;
1326
- allowed_origins?: string[] | undefined;
1327
- web_origins?: string[] | undefined;
1328
- allowed_logout_urls?: string[] | undefined;
1329
- allowed_clients?: string[] | undefined;
1330
- addons?: Record<string, any> | undefined;
1331
- client_secret?: string | undefined;
1332
- client_metadata?: Record<string, string> | undefined;
1333
919
  global?: boolean | undefined;
920
+ client_secret?: string | undefined;
1334
921
  app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
1335
922
  logo_uri?: string | undefined;
1336
923
  is_first_party?: boolean | undefined;
1337
924
  oidc_conformant?: boolean | undefined;
925
+ callbacks?: string[] | undefined;
926
+ allowed_origins?: string[] | undefined;
927
+ web_origins?: string[] | undefined;
1338
928
  client_aliases?: string[] | undefined;
929
+ allowed_clients?: string[] | undefined;
930
+ allowed_logout_urls?: string[] | undefined;
1339
931
  session_transfer?: Record<string, any> | undefined;
1340
932
  oidc_logout?: Record<string, any> | undefined;
1341
933
  grant_types?: string[] | undefined;
@@ -1350,7 +942,9 @@ export declare const clientSchema: z.ZodObject<{
1350
942
  custom_login_page?: string | undefined;
1351
943
  custom_login_page_preview?: string | undefined;
1352
944
  form_template?: string | undefined;
945
+ addons?: Record<string, any> | undefined;
1353
946
  token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
947
+ client_metadata?: Record<string, string> | undefined;
1354
948
  mobile?: Record<string, any> | undefined;
1355
949
  initiate_login_uri?: string | undefined;
1356
950
  native_social_login?: Record<string, any> | undefined;
@@ -1366,6 +960,132 @@ export declare const clientSchema: z.ZodObject<{
1366
960
  token_quota?: Record<string, any> | undefined;
1367
961
  }>;
1368
962
  export type Client = z.infer<typeof clientSchema>;
963
+ export declare const clientGrantInsertSchema: z.ZodObject<{
964
+ client_id: z.ZodString;
965
+ audience: z.ZodString;
966
+ scope: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
967
+ organization_usage: z.ZodOptional<z.ZodEnum<[
968
+ "deny",
969
+ "allow",
970
+ "require"
971
+ ]>>;
972
+ allow_any_organization: z.ZodOptional<z.ZodBoolean>;
973
+ is_system: z.ZodOptional<z.ZodBoolean>;
974
+ subject_type: z.ZodOptional<z.ZodEnum<[
975
+ "client",
976
+ "user"
977
+ ]>>;
978
+ authorization_details_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
979
+ }, "strip", z.ZodTypeAny, {
980
+ client_id: string;
981
+ audience: string;
982
+ organization_usage?: "deny" | "allow" | "require" | undefined;
983
+ scope?: string[] | undefined;
984
+ allow_any_organization?: boolean | undefined;
985
+ is_system?: boolean | undefined;
986
+ subject_type?: "client" | "user" | undefined;
987
+ authorization_details_types?: string[] | undefined;
988
+ }, {
989
+ client_id: string;
990
+ audience: string;
991
+ organization_usage?: "deny" | "allow" | "require" | undefined;
992
+ scope?: string[] | undefined;
993
+ allow_any_organization?: boolean | undefined;
994
+ is_system?: boolean | undefined;
995
+ subject_type?: "client" | "user" | undefined;
996
+ authorization_details_types?: string[] | undefined;
997
+ }>;
998
+ export type ClientGrantInsert = z.input<typeof clientGrantInsertSchema>;
999
+ export declare const clientGrantSchema: z.ZodObject<{
1000
+ created_at: z.ZodOptional<z.ZodString>;
1001
+ updated_at: z.ZodOptional<z.ZodString>;
1002
+ client_id: z.ZodString;
1003
+ audience: z.ZodString;
1004
+ scope: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1005
+ organization_usage: z.ZodOptional<z.ZodEnum<[
1006
+ "deny",
1007
+ "allow",
1008
+ "require"
1009
+ ]>>;
1010
+ allow_any_organization: z.ZodOptional<z.ZodBoolean>;
1011
+ is_system: z.ZodOptional<z.ZodBoolean>;
1012
+ subject_type: z.ZodOptional<z.ZodEnum<[
1013
+ "client",
1014
+ "user"
1015
+ ]>>;
1016
+ authorization_details_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1017
+ id: z.ZodString;
1018
+ }, "strip", z.ZodTypeAny, {
1019
+ client_id: string;
1020
+ audience: string;
1021
+ id: string;
1022
+ created_at?: string | undefined;
1023
+ updated_at?: string | undefined;
1024
+ organization_usage?: "deny" | "allow" | "require" | undefined;
1025
+ scope?: string[] | undefined;
1026
+ allow_any_organization?: boolean | undefined;
1027
+ is_system?: boolean | undefined;
1028
+ subject_type?: "client" | "user" | undefined;
1029
+ authorization_details_types?: string[] | undefined;
1030
+ }, {
1031
+ client_id: string;
1032
+ audience: string;
1033
+ id: string;
1034
+ created_at?: string | undefined;
1035
+ updated_at?: string | undefined;
1036
+ organization_usage?: "deny" | "allow" | "require" | undefined;
1037
+ scope?: string[] | undefined;
1038
+ allow_any_organization?: boolean | undefined;
1039
+ is_system?: boolean | undefined;
1040
+ subject_type?: "client" | "user" | undefined;
1041
+ authorization_details_types?: string[] | undefined;
1042
+ }>;
1043
+ export type ClientGrant = z.infer<typeof clientGrantSchema>;
1044
+ export declare const clientGrantListSchema: z.ZodArray<z.ZodObject<{
1045
+ created_at: z.ZodOptional<z.ZodString>;
1046
+ updated_at: z.ZodOptional<z.ZodString>;
1047
+ client_id: z.ZodString;
1048
+ audience: z.ZodString;
1049
+ scope: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1050
+ organization_usage: z.ZodOptional<z.ZodEnum<[
1051
+ "deny",
1052
+ "allow",
1053
+ "require"
1054
+ ]>>;
1055
+ allow_any_organization: z.ZodOptional<z.ZodBoolean>;
1056
+ is_system: z.ZodOptional<z.ZodBoolean>;
1057
+ subject_type: z.ZodOptional<z.ZodEnum<[
1058
+ "client",
1059
+ "user"
1060
+ ]>>;
1061
+ authorization_details_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1062
+ id: z.ZodString;
1063
+ }, "strip", z.ZodTypeAny, {
1064
+ client_id: string;
1065
+ audience: string;
1066
+ id: string;
1067
+ created_at?: string | undefined;
1068
+ updated_at?: string | undefined;
1069
+ organization_usage?: "deny" | "allow" | "require" | undefined;
1070
+ scope?: string[] | undefined;
1071
+ allow_any_organization?: boolean | undefined;
1072
+ is_system?: boolean | undefined;
1073
+ subject_type?: "client" | "user" | undefined;
1074
+ authorization_details_types?: string[] | undefined;
1075
+ }, {
1076
+ client_id: string;
1077
+ audience: string;
1078
+ id: string;
1079
+ created_at?: string | undefined;
1080
+ updated_at?: string | undefined;
1081
+ organization_usage?: "deny" | "allow" | "require" | undefined;
1082
+ scope?: string[] | undefined;
1083
+ allow_any_organization?: boolean | undefined;
1084
+ is_system?: boolean | undefined;
1085
+ subject_type?: "client" | "user" | undefined;
1086
+ authorization_details_types?: string[] | undefined;
1087
+ }>, "many">;
1088
+ export type ClientGrantList = z.infer<typeof clientGrantListSchema>;
1369
1089
  /**
1370
1090
  * Types for Auth0 Form Flow components
1371
1091
  * Based on the actual structure used by Auth0 forms API
@@ -8417,6 +8137,7 @@ export declare const authParamsSchema: z.ZodObject<{
8417
8137
  client_id: string;
8418
8138
  username?: string | undefined;
8419
8139
  audience?: string | undefined;
8140
+ scope?: string | undefined;
8420
8141
  act_as?: string | undefined;
8421
8142
  response_type?: AuthorizationResponseType | undefined;
8422
8143
  response_mode?: AuthorizationResponseMode | undefined;
@@ -8424,7 +8145,6 @@ export declare const authParamsSchema: z.ZodObject<{
8424
8145
  organization?: string | undefined;
8425
8146
  state?: string | undefined;
8426
8147
  nonce?: string | undefined;
8427
- scope?: string | undefined;
8428
8148
  prompt?: string | undefined;
8429
8149
  code_challenge_method?: CodeChallengeMethod | undefined;
8430
8150
  code_challenge?: string | undefined;
@@ -8434,6 +8154,7 @@ export declare const authParamsSchema: z.ZodObject<{
8434
8154
  client_id: string;
8435
8155
  username?: string | undefined;
8436
8156
  audience?: string | undefined;
8157
+ scope?: string | undefined;
8437
8158
  act_as?: string | undefined;
8438
8159
  response_type?: AuthorizationResponseType | undefined;
8439
8160
  response_mode?: AuthorizationResponseMode | undefined;
@@ -8441,7 +8162,6 @@ export declare const authParamsSchema: z.ZodObject<{
8441
8162
  organization?: string | undefined;
8442
8163
  state?: string | undefined;
8443
8164
  nonce?: string | undefined;
8444
- scope?: string | undefined;
8445
8165
  prompt?: string | undefined;
8446
8166
  code_challenge_method?: CodeChallengeMethod | undefined;
8447
8167
  code_challenge?: string | undefined;
@@ -8595,9 +8315,8 @@ declare const LegacyClientSchema: z.ZodObject<{
8595
8315
  twilio_token: z.ZodOptional<z.ZodString>;
8596
8316
  }, "strip", z.ZodTypeAny, {
8597
8317
  provider?: string | undefined;
8598
- issuer?: string | undefined;
8599
- client_secret?: string | undefined;
8600
8318
  client_id?: string | undefined;
8319
+ client_secret?: string | undefined;
8601
8320
  scope?: string | undefined;
8602
8321
  kid?: string | undefined;
8603
8322
  team_id?: string | undefined;
@@ -8609,14 +8328,14 @@ declare const LegacyClientSchema: z.ZodObject<{
8609
8328
  userinfo_endpoint?: string | undefined;
8610
8329
  jwks_uri?: string | undefined;
8611
8330
  discovery_url?: string | undefined;
8331
+ issuer?: string | undefined;
8612
8332
  from?: string | undefined;
8613
8333
  twilio_sid?: string | undefined;
8614
8334
  twilio_token?: string | undefined;
8615
8335
  }, {
8616
8336
  provider?: string | undefined;
8617
- issuer?: string | undefined;
8618
- client_secret?: string | undefined;
8619
8337
  client_id?: string | undefined;
8338
+ client_secret?: string | undefined;
8620
8339
  scope?: string | undefined;
8621
8340
  kid?: string | undefined;
8622
8341
  team_id?: string | undefined;
@@ -8628,6 +8347,7 @@ declare const LegacyClientSchema: z.ZodObject<{
8628
8347
  userinfo_endpoint?: string | undefined;
8629
8348
  jwks_uri?: string | undefined;
8630
8349
  discovery_url?: string | undefined;
8350
+ issuer?: string | undefined;
8631
8351
  from?: string | undefined;
8632
8352
  twilio_sid?: string | undefined;
8633
8353
  twilio_token?: string | undefined;
@@ -8638,9 +8358,8 @@ declare const LegacyClientSchema: z.ZodObject<{
8638
8358
  }, "strip", z.ZodTypeAny, {
8639
8359
  options: {
8640
8360
  provider?: string | undefined;
8641
- issuer?: string | undefined;
8642
- client_secret?: string | undefined;
8643
8361
  client_id?: string | undefined;
8362
+ client_secret?: string | undefined;
8644
8363
  scope?: string | undefined;
8645
8364
  kid?: string | undefined;
8646
8365
  team_id?: string | undefined;
@@ -8652,6 +8371,7 @@ declare const LegacyClientSchema: z.ZodObject<{
8652
8371
  userinfo_endpoint?: string | undefined;
8653
8372
  jwks_uri?: string | undefined;
8654
8373
  discovery_url?: string | undefined;
8374
+ issuer?: string | undefined;
8655
8375
  from?: string | undefined;
8656
8376
  twilio_sid?: string | undefined;
8657
8377
  twilio_token?: string | undefined;
@@ -8671,9 +8391,8 @@ declare const LegacyClientSchema: z.ZodObject<{
8671
8391
  strategy: string;
8672
8392
  options?: {
8673
8393
  provider?: string | undefined;
8674
- issuer?: string | undefined;
8675
- client_secret?: string | undefined;
8676
8394
  client_id?: string | undefined;
8395
+ client_secret?: string | undefined;
8677
8396
  scope?: string | undefined;
8678
8397
  kid?: string | undefined;
8679
8398
  team_id?: string | undefined;
@@ -8685,6 +8404,7 @@ declare const LegacyClientSchema: z.ZodObject<{
8685
8404
  userinfo_endpoint?: string | undefined;
8686
8405
  jwks_uri?: string | undefined;
8687
8406
  discovery_url?: string | undefined;
8407
+ issuer?: string | undefined;
8688
8408
  from?: string | undefined;
8689
8409
  twilio_sid?: string | undefined;
8690
8410
  twilio_token?: string | undefined;
@@ -8694,8 +8414,6 @@ declare const LegacyClientSchema: z.ZodObject<{
8694
8414
  response_mode?: AuthorizationResponseMode | undefined;
8695
8415
  enabled_clients?: string[] | undefined;
8696
8416
  }>, "many">;
8697
- disable_sign_ups: z.ZodBoolean;
8698
- email_validation: z.ZodString;
8699
8417
  client_id: z.ZodString;
8700
8418
  name: z.ZodString;
8701
8419
  description: z.ZodOptional<z.ZodString>;
@@ -8792,8 +8510,6 @@ declare const LegacyClientSchema: z.ZodObject<{
8792
8510
  created_at: string;
8793
8511
  updated_at: string;
8794
8512
  name: string;
8795
- email_validation: string;
8796
- disable_sign_ups: boolean;
8797
8513
  client_id: string;
8798
8514
  global: boolean;
8799
8515
  is_first_party: boolean;
@@ -8821,9 +8537,8 @@ declare const LegacyClientSchema: z.ZodObject<{
8821
8537
  connections: {
8822
8538
  options: {
8823
8539
  provider?: string | undefined;
8824
- issuer?: string | undefined;
8825
- client_secret?: string | undefined;
8826
8540
  client_id?: string | undefined;
8541
+ client_secret?: string | undefined;
8827
8542
  scope?: string | undefined;
8828
8543
  kid?: string | undefined;
8829
8544
  team_id?: string | undefined;
@@ -8835,6 +8550,7 @@ declare const LegacyClientSchema: z.ZodObject<{
8835
8550
  userinfo_endpoint?: string | undefined;
8836
8551
  jwks_uri?: string | undefined;
8837
8552
  discovery_url?: string | undefined;
8553
+ issuer?: string | undefined;
8838
8554
  from?: string | undefined;
8839
8555
  twilio_sid?: string | undefined;
8840
8556
  twilio_token?: string | undefined;
@@ -8850,17 +8566,15 @@ declare const LegacyClientSchema: z.ZodObject<{
8850
8566
  }[];
8851
8567
  description?: string | undefined;
8852
8568
  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
8569
  client_secret?: string | undefined;
8860
- client_metadata?: Record<string, string> | undefined;
8861
8570
  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
8571
  logo_uri?: string | undefined;
8572
+ callbacks?: string[] | undefined;
8573
+ allowed_origins?: string[] | undefined;
8574
+ web_origins?: string[] | undefined;
8863
8575
  client_aliases?: string[] | undefined;
8576
+ allowed_clients?: string[] | undefined;
8577
+ allowed_logout_urls?: string[] | undefined;
8864
8578
  session_transfer?: Record<string, any> | undefined;
8865
8579
  oidc_logout?: Record<string, any> | undefined;
8866
8580
  grant_types?: string[] | undefined;
@@ -8871,7 +8585,9 @@ declare const LegacyClientSchema: z.ZodObject<{
8871
8585
  custom_login_page?: string | undefined;
8872
8586
  custom_login_page_preview?: string | undefined;
8873
8587
  form_template?: string | undefined;
8588
+ addons?: Record<string, any> | undefined;
8874
8589
  token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
8590
+ client_metadata?: Record<string, string> | undefined;
8875
8591
  mobile?: Record<string, any> | undefined;
8876
8592
  initiate_login_uri?: string | undefined;
8877
8593
  native_social_login?: Record<string, any> | undefined;
@@ -8887,8 +8603,6 @@ declare const LegacyClientSchema: z.ZodObject<{
8887
8603
  created_at: string;
8888
8604
  updated_at: string;
8889
8605
  name: string;
8890
- email_validation: string;
8891
- disable_sign_ups: boolean;
8892
8606
  client_id: string;
8893
8607
  tenant: {
8894
8608
  created_at: string;
@@ -8911,9 +8625,8 @@ declare const LegacyClientSchema: z.ZodObject<{
8911
8625
  strategy: string;
8912
8626
  options?: {
8913
8627
  provider?: string | undefined;
8914
- issuer?: string | undefined;
8915
- client_secret?: string | undefined;
8916
8628
  client_id?: string | undefined;
8629
+ client_secret?: string | undefined;
8917
8630
  scope?: string | undefined;
8918
8631
  kid?: string | undefined;
8919
8632
  team_id?: string | undefined;
@@ -8925,6 +8638,7 @@ declare const LegacyClientSchema: z.ZodObject<{
8925
8638
  userinfo_endpoint?: string | undefined;
8926
8639
  jwks_uri?: string | undefined;
8927
8640
  discovery_url?: string | undefined;
8641
+ issuer?: string | undefined;
8928
8642
  from?: string | undefined;
8929
8643
  twilio_sid?: string | undefined;
8930
8644
  twilio_token?: string | undefined;
@@ -8936,20 +8650,18 @@ declare const LegacyClientSchema: z.ZodObject<{
8936
8650
  }[];
8937
8651
  description?: string | undefined;
8938
8652
  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
8653
  global?: boolean | undefined;
8654
+ client_secret?: string | undefined;
8948
8655
  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
8656
  logo_uri?: string | undefined;
8950
8657
  is_first_party?: boolean | undefined;
8951
8658
  oidc_conformant?: boolean | undefined;
8659
+ callbacks?: string[] | undefined;
8660
+ allowed_origins?: string[] | undefined;
8661
+ web_origins?: string[] | undefined;
8952
8662
  client_aliases?: string[] | undefined;
8663
+ allowed_clients?: string[] | undefined;
8664
+ allowed_logout_urls?: string[] | undefined;
8953
8665
  session_transfer?: Record<string, any> | undefined;
8954
8666
  oidc_logout?: Record<string, any> | undefined;
8955
8667
  grant_types?: string[] | undefined;
@@ -8964,7 +8676,9 @@ declare const LegacyClientSchema: z.ZodObject<{
8964
8676
  custom_login_page?: string | undefined;
8965
8677
  custom_login_page_preview?: string | undefined;
8966
8678
  form_template?: string | undefined;
8679
+ addons?: Record<string, any> | undefined;
8967
8680
  token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
8681
+ client_metadata?: Record<string, string> | undefined;
8968
8682
  mobile?: Record<string, any> | undefined;
8969
8683
  initiate_login_uri?: string | undefined;
8970
8684
  native_social_login?: Record<string, any> | undefined;
@@ -9121,9 +8835,8 @@ export declare const connectionOptionsSchema: z.ZodObject<{
9121
8835
  twilio_token: z.ZodOptional<z.ZodString>;
9122
8836
  }, "strip", z.ZodTypeAny, {
9123
8837
  provider?: string | undefined;
9124
- issuer?: string | undefined;
9125
- client_secret?: string | undefined;
9126
8838
  client_id?: string | undefined;
8839
+ client_secret?: string | undefined;
9127
8840
  scope?: string | undefined;
9128
8841
  kid?: string | undefined;
9129
8842
  team_id?: string | undefined;
@@ -9135,14 +8848,14 @@ export declare const connectionOptionsSchema: z.ZodObject<{
9135
8848
  userinfo_endpoint?: string | undefined;
9136
8849
  jwks_uri?: string | undefined;
9137
8850
  discovery_url?: string | undefined;
8851
+ issuer?: string | undefined;
9138
8852
  from?: string | undefined;
9139
8853
  twilio_sid?: string | undefined;
9140
8854
  twilio_token?: string | undefined;
9141
8855
  }, {
9142
8856
  provider?: string | undefined;
9143
- issuer?: string | undefined;
9144
- client_secret?: string | undefined;
9145
8857
  client_id?: string | undefined;
8858
+ client_secret?: string | undefined;
9146
8859
  scope?: string | undefined;
9147
8860
  kid?: string | undefined;
9148
8861
  team_id?: string | undefined;
@@ -9154,6 +8867,7 @@ export declare const connectionOptionsSchema: z.ZodObject<{
9154
8867
  userinfo_endpoint?: string | undefined;
9155
8868
  jwks_uri?: string | undefined;
9156
8869
  discovery_url?: string | undefined;
8870
+ issuer?: string | undefined;
9157
8871
  from?: string | undefined;
9158
8872
  twilio_sid?: string | undefined;
9159
8873
  twilio_token?: string | undefined;
@@ -9183,9 +8897,8 @@ export declare const connectionInsertSchema: z.ZodObject<{
9183
8897
  twilio_token: z.ZodOptional<z.ZodString>;
9184
8898
  }, "strip", z.ZodTypeAny, {
9185
8899
  provider?: string | undefined;
9186
- issuer?: string | undefined;
9187
- client_secret?: string | undefined;
9188
8900
  client_id?: string | undefined;
8901
+ client_secret?: string | undefined;
9189
8902
  scope?: string | undefined;
9190
8903
  kid?: string | undefined;
9191
8904
  team_id?: string | undefined;
@@ -9197,14 +8910,14 @@ export declare const connectionInsertSchema: z.ZodObject<{
9197
8910
  userinfo_endpoint?: string | undefined;
9198
8911
  jwks_uri?: string | undefined;
9199
8912
  discovery_url?: string | undefined;
8913
+ issuer?: string | undefined;
9200
8914
  from?: string | undefined;
9201
8915
  twilio_sid?: string | undefined;
9202
8916
  twilio_token?: string | undefined;
9203
8917
  }, {
9204
8918
  provider?: string | undefined;
9205
- issuer?: string | undefined;
9206
- client_secret?: string | undefined;
9207
8919
  client_id?: string | undefined;
8920
+ client_secret?: string | undefined;
9208
8921
  scope?: string | undefined;
9209
8922
  kid?: string | undefined;
9210
8923
  team_id?: string | undefined;
@@ -9216,6 +8929,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
9216
8929
  userinfo_endpoint?: string | undefined;
9217
8930
  jwks_uri?: string | undefined;
9218
8931
  discovery_url?: string | undefined;
8932
+ issuer?: string | undefined;
9219
8933
  from?: string | undefined;
9220
8934
  twilio_sid?: string | undefined;
9221
8935
  twilio_token?: string | undefined;
@@ -9226,9 +8940,8 @@ export declare const connectionInsertSchema: z.ZodObject<{
9226
8940
  }, "strip", z.ZodTypeAny, {
9227
8941
  options: {
9228
8942
  provider?: string | undefined;
9229
- issuer?: string | undefined;
9230
- client_secret?: string | undefined;
9231
8943
  client_id?: string | undefined;
8944
+ client_secret?: string | undefined;
9232
8945
  scope?: string | undefined;
9233
8946
  kid?: string | undefined;
9234
8947
  team_id?: string | undefined;
@@ -9240,6 +8953,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
9240
8953
  userinfo_endpoint?: string | undefined;
9241
8954
  jwks_uri?: string | undefined;
9242
8955
  discovery_url?: string | undefined;
8956
+ issuer?: string | undefined;
9243
8957
  from?: string | undefined;
9244
8958
  twilio_sid?: string | undefined;
9245
8959
  twilio_token?: string | undefined;
@@ -9255,9 +8969,8 @@ export declare const connectionInsertSchema: z.ZodObject<{
9255
8969
  strategy: string;
9256
8970
  options?: {
9257
8971
  provider?: string | undefined;
9258
- issuer?: string | undefined;
9259
- client_secret?: string | undefined;
9260
8972
  client_id?: string | undefined;
8973
+ client_secret?: string | undefined;
9261
8974
  scope?: string | undefined;
9262
8975
  kid?: string | undefined;
9263
8976
  team_id?: string | undefined;
@@ -9269,6 +8982,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
9269
8982
  userinfo_endpoint?: string | undefined;
9270
8983
  jwks_uri?: string | undefined;
9271
8984
  discovery_url?: string | undefined;
8985
+ issuer?: string | undefined;
9272
8986
  from?: string | undefined;
9273
8987
  twilio_sid?: string | undefined;
9274
8988
  twilio_token?: string | undefined;
@@ -9307,9 +9021,8 @@ export declare const connectionSchema: z.ZodObject<{
9307
9021
  twilio_token: z.ZodOptional<z.ZodString>;
9308
9022
  }, "strip", z.ZodTypeAny, {
9309
9023
  provider?: string | undefined;
9310
- issuer?: string | undefined;
9311
- client_secret?: string | undefined;
9312
9024
  client_id?: string | undefined;
9025
+ client_secret?: string | undefined;
9313
9026
  scope?: string | undefined;
9314
9027
  kid?: string | undefined;
9315
9028
  team_id?: string | undefined;
@@ -9321,14 +9034,14 @@ export declare const connectionSchema: z.ZodObject<{
9321
9034
  userinfo_endpoint?: string | undefined;
9322
9035
  jwks_uri?: string | undefined;
9323
9036
  discovery_url?: string | undefined;
9037
+ issuer?: string | undefined;
9324
9038
  from?: string | undefined;
9325
9039
  twilio_sid?: string | undefined;
9326
9040
  twilio_token?: string | undefined;
9327
9041
  }, {
9328
9042
  provider?: string | undefined;
9329
- issuer?: string | undefined;
9330
- client_secret?: string | undefined;
9331
9043
  client_id?: string | undefined;
9044
+ client_secret?: string | undefined;
9332
9045
  scope?: string | undefined;
9333
9046
  kid?: string | undefined;
9334
9047
  team_id?: string | undefined;
@@ -9340,6 +9053,7 @@ export declare const connectionSchema: z.ZodObject<{
9340
9053
  userinfo_endpoint?: string | undefined;
9341
9054
  jwks_uri?: string | undefined;
9342
9055
  discovery_url?: string | undefined;
9056
+ issuer?: string | undefined;
9343
9057
  from?: string | undefined;
9344
9058
  twilio_sid?: string | undefined;
9345
9059
  twilio_token?: string | undefined;
@@ -9350,9 +9064,8 @@ export declare const connectionSchema: z.ZodObject<{
9350
9064
  }, "strip", z.ZodTypeAny, {
9351
9065
  options: {
9352
9066
  provider?: string | undefined;
9353
- issuer?: string | undefined;
9354
- client_secret?: string | undefined;
9355
9067
  client_id?: string | undefined;
9068
+ client_secret?: string | undefined;
9356
9069
  scope?: string | undefined;
9357
9070
  kid?: string | undefined;
9358
9071
  team_id?: string | undefined;
@@ -9364,6 +9077,7 @@ export declare const connectionSchema: z.ZodObject<{
9364
9077
  userinfo_endpoint?: string | undefined;
9365
9078
  jwks_uri?: string | undefined;
9366
9079
  discovery_url?: string | undefined;
9080
+ issuer?: string | undefined;
9367
9081
  from?: string | undefined;
9368
9082
  twilio_sid?: string | undefined;
9369
9083
  twilio_token?: string | undefined;
@@ -9383,9 +9097,8 @@ export declare const connectionSchema: z.ZodObject<{
9383
9097
  strategy: string;
9384
9098
  options?: {
9385
9099
  provider?: string | undefined;
9386
- issuer?: string | undefined;
9387
- client_secret?: string | undefined;
9388
9100
  client_id?: string | undefined;
9101
+ client_secret?: string | undefined;
9389
9102
  scope?: string | undefined;
9390
9103
  kid?: string | undefined;
9391
9104
  team_id?: string | undefined;
@@ -9397,6 +9110,7 @@ export declare const connectionSchema: z.ZodObject<{
9397
9110
  userinfo_endpoint?: string | undefined;
9398
9111
  jwks_uri?: string | undefined;
9399
9112
  discovery_url?: string | undefined;
9113
+ issuer?: string | undefined;
9400
9114
  from?: string | undefined;
9401
9115
  twilio_sid?: string | undefined;
9402
9116
  twilio_token?: string | undefined;
@@ -9663,8 +9377,8 @@ export declare const formControlSchema: z.ZodObject<{
9663
9377
  }, "strip", z.ZodTypeAny, {
9664
9378
  type: "submit";
9665
9379
  id: string;
9666
- disabled: boolean;
9667
9380
  label: string;
9381
+ disabled: boolean;
9668
9382
  visible: boolean;
9669
9383
  className?: string | undefined;
9670
9384
  order?: number | undefined;
@@ -11519,9 +11233,9 @@ export declare const hookInsertSchema: z.ZodUnion<[
11519
11233
  priority: z.ZodOptional<z.ZodNumber>;
11520
11234
  hook_id: z.ZodOptional<z.ZodString>;
11521
11235
  }, "strip", z.ZodTypeAny, {
11522
- enabled: boolean;
11523
11236
  url: string;
11524
11237
  trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
11238
+ enabled: boolean;
11525
11239
  synchronous: boolean;
11526
11240
  priority?: number | undefined;
11527
11241
  hook_id?: string | undefined;
@@ -11545,8 +11259,8 @@ export declare const hookInsertSchema: z.ZodUnion<[
11545
11259
  priority: z.ZodOptional<z.ZodNumber>;
11546
11260
  hook_id: z.ZodOptional<z.ZodString>;
11547
11261
  }, "strip", z.ZodTypeAny, {
11548
- enabled: boolean;
11549
11262
  trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
11263
+ enabled: boolean;
11550
11264
  synchronous: boolean;
11551
11265
  form_id: string;
11552
11266
  priority?: number | undefined;
@@ -11578,9 +11292,9 @@ export declare const hookSchema: z.ZodUnion<[
11578
11292
  }, "strip", z.ZodTypeAny, {
11579
11293
  created_at: string;
11580
11294
  updated_at: string;
11581
- enabled: boolean;
11582
11295
  url: string;
11583
11296
  trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
11297
+ enabled: boolean;
11584
11298
  synchronous: boolean;
11585
11299
  hook_id: string;
11586
11300
  priority?: number | undefined;
@@ -11610,8 +11324,8 @@ export declare const hookSchema: z.ZodUnion<[
11610
11324
  }, "strip", z.ZodTypeAny, {
11611
11325
  created_at: string;
11612
11326
  updated_at: string;
11613
- enabled: boolean;
11614
11327
  trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
11328
+ enabled: boolean;
11615
11329
  synchronous: boolean;
11616
11330
  hook_id: string;
11617
11331
  form_id: string;
@@ -11866,11 +11580,11 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
11866
11580
  request_parameter_supported: z.ZodBoolean;
11867
11581
  token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
11868
11582
  }, "strip", z.ZodTypeAny, {
11869
- issuer: string;
11870
11583
  authorization_endpoint: string;
11871
11584
  token_endpoint: string;
11872
11585
  userinfo_endpoint: string;
11873
11586
  jwks_uri: string;
11587
+ issuer: string;
11874
11588
  device_authorization_endpoint: string;
11875
11589
  mfa_challenge_endpoint: string;
11876
11590
  registration_endpoint: string;
@@ -11887,11 +11601,11 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
11887
11601
  request_parameter_supported: boolean;
11888
11602
  token_endpoint_auth_signing_alg_values_supported: string[];
11889
11603
  }, {
11890
- issuer: string;
11891
11604
  authorization_endpoint: string;
11892
11605
  token_endpoint: string;
11893
11606
  userinfo_endpoint: string;
11894
11607
  jwks_uri: string;
11608
+ issuer: string;
11895
11609
  device_authorization_endpoint: string;
11896
11610
  mfa_challenge_endpoint: string;
11897
11611
  registration_endpoint: string;
@@ -11942,6 +11656,7 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
11942
11656
  client_id: string;
11943
11657
  username?: string | undefined;
11944
11658
  audience?: string | undefined;
11659
+ scope?: string | undefined;
11945
11660
  act_as?: string | undefined;
11946
11661
  response_type?: AuthorizationResponseType | undefined;
11947
11662
  response_mode?: AuthorizationResponseMode | undefined;
@@ -11949,7 +11664,6 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
11949
11664
  organization?: string | undefined;
11950
11665
  state?: string | undefined;
11951
11666
  nonce?: string | undefined;
11952
- scope?: string | undefined;
11953
11667
  prompt?: string | undefined;
11954
11668
  code_challenge_method?: CodeChallengeMethod | undefined;
11955
11669
  code_challenge?: string | undefined;
@@ -11959,6 +11673,7 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
11959
11673
  client_id: string;
11960
11674
  username?: string | undefined;
11961
11675
  audience?: string | undefined;
11676
+ scope?: string | undefined;
11962
11677
  act_as?: string | undefined;
11963
11678
  response_type?: AuthorizationResponseType | undefined;
11964
11679
  response_mode?: AuthorizationResponseMode | undefined;
@@ -11966,7 +11681,6 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
11966
11681
  organization?: string | undefined;
11967
11682
  state?: string | undefined;
11968
11683
  nonce?: string | undefined;
11969
- scope?: string | undefined;
11970
11684
  prompt?: string | undefined;
11971
11685
  code_challenge_method?: CodeChallengeMethod | undefined;
11972
11686
  code_challenge?: string | undefined;
@@ -11987,6 +11701,7 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
11987
11701
  client_id: string;
11988
11702
  username?: string | undefined;
11989
11703
  audience?: string | undefined;
11704
+ scope?: string | undefined;
11990
11705
  act_as?: string | undefined;
11991
11706
  response_type?: AuthorizationResponseType | undefined;
11992
11707
  response_mode?: AuthorizationResponseMode | undefined;
@@ -11994,7 +11709,6 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
11994
11709
  organization?: string | undefined;
11995
11710
  state?: string | undefined;
11996
11711
  nonce?: string | undefined;
11997
- scope?: string | undefined;
11998
11712
  prompt?: string | undefined;
11999
11713
  code_challenge_method?: CodeChallengeMethod | undefined;
12000
11714
  code_challenge?: string | undefined;
@@ -12015,6 +11729,7 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
12015
11729
  client_id: string;
12016
11730
  username?: string | undefined;
12017
11731
  audience?: string | undefined;
11732
+ scope?: string | undefined;
12018
11733
  act_as?: string | undefined;
12019
11734
  response_type?: AuthorizationResponseType | undefined;
12020
11735
  response_mode?: AuthorizationResponseMode | undefined;
@@ -12022,7 +11737,6 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
12022
11737
  organization?: string | undefined;
12023
11738
  state?: string | undefined;
12024
11739
  nonce?: string | undefined;
12025
- scope?: string | undefined;
12026
11740
  prompt?: string | undefined;
12027
11741
  code_challenge_method?: CodeChallengeMethod | undefined;
12028
11742
  code_challenge?: string | undefined;
@@ -12065,6 +11779,7 @@ export declare const loginSessionSchema: z.ZodObject<{
12065
11779
  client_id: string;
12066
11780
  username?: string | undefined;
12067
11781
  audience?: string | undefined;
11782
+ scope?: string | undefined;
12068
11783
  act_as?: string | undefined;
12069
11784
  response_type?: AuthorizationResponseType | undefined;
12070
11785
  response_mode?: AuthorizationResponseMode | undefined;
@@ -12072,7 +11787,6 @@ export declare const loginSessionSchema: z.ZodObject<{
12072
11787
  organization?: string | undefined;
12073
11788
  state?: string | undefined;
12074
11789
  nonce?: string | undefined;
12075
- scope?: string | undefined;
12076
11790
  prompt?: string | undefined;
12077
11791
  code_challenge_method?: CodeChallengeMethod | undefined;
12078
11792
  code_challenge?: string | undefined;
@@ -12082,6 +11796,7 @@ export declare const loginSessionSchema: z.ZodObject<{
12082
11796
  client_id: string;
12083
11797
  username?: string | undefined;
12084
11798
  audience?: string | undefined;
11799
+ scope?: string | undefined;
12085
11800
  act_as?: string | undefined;
12086
11801
  response_type?: AuthorizationResponseType | undefined;
12087
11802
  response_mode?: AuthorizationResponseMode | undefined;
@@ -12089,7 +11804,6 @@ export declare const loginSessionSchema: z.ZodObject<{
12089
11804
  organization?: string | undefined;
12090
11805
  state?: string | undefined;
12091
11806
  nonce?: string | undefined;
12092
- scope?: string | undefined;
12093
11807
  prompt?: string | undefined;
12094
11808
  code_challenge_method?: CodeChallengeMethod | undefined;
12095
11809
  code_challenge?: string | undefined;
@@ -12113,6 +11827,7 @@ export declare const loginSessionSchema: z.ZodObject<{
12113
11827
  client_id: string;
12114
11828
  username?: string | undefined;
12115
11829
  audience?: string | undefined;
11830
+ scope?: string | undefined;
12116
11831
  act_as?: string | undefined;
12117
11832
  response_type?: AuthorizationResponseType | undefined;
12118
11833
  response_mode?: AuthorizationResponseMode | undefined;
@@ -12120,7 +11835,6 @@ export declare const loginSessionSchema: z.ZodObject<{
12120
11835
  organization?: string | undefined;
12121
11836
  state?: string | undefined;
12122
11837
  nonce?: string | undefined;
12123
- scope?: string | undefined;
12124
11838
  prompt?: string | undefined;
12125
11839
  code_challenge_method?: CodeChallengeMethod | undefined;
12126
11840
  code_challenge?: string | undefined;
@@ -12144,6 +11858,7 @@ export declare const loginSessionSchema: z.ZodObject<{
12144
11858
  client_id: string;
12145
11859
  username?: string | undefined;
12146
11860
  audience?: string | undefined;
11861
+ scope?: string | undefined;
12147
11862
  act_as?: string | undefined;
12148
11863
  response_type?: AuthorizationResponseType | undefined;
12149
11864
  response_mode?: AuthorizationResponseMode | undefined;
@@ -12151,7 +11866,6 @@ export declare const loginSessionSchema: z.ZodObject<{
12151
11866
  organization?: string | undefined;
12152
11867
  state?: string | undefined;
12153
11868
  nonce?: string | undefined;
12154
- scope?: string | undefined;
12155
11869
  prompt?: string | undefined;
12156
11870
  code_challenge_method?: CodeChallengeMethod | undefined;
12157
11871
  code_challenge?: string | undefined;
@@ -12396,8 +12110,8 @@ export declare const logSchema: z.ZodObject<{
12396
12110
  description?: string | undefined;
12397
12111
  connection?: string | undefined;
12398
12112
  user_id?: string | undefined;
12399
- audience?: string | undefined;
12400
12113
  client_id?: string | undefined;
12114
+ audience?: string | undefined;
12401
12115
  scope?: string[] | undefined;
12402
12116
  strategy?: string | undefined;
12403
12117
  connection_id?: string | undefined;
@@ -12424,8 +12138,8 @@ export declare const logSchema: z.ZodObject<{
12424
12138
  description?: string | undefined;
12425
12139
  connection?: string | undefined;
12426
12140
  user_id?: string | undefined;
12427
- audience?: string | undefined;
12428
12141
  client_id?: string | undefined;
12142
+ audience?: string | undefined;
12429
12143
  scope?: string[] | undefined;
12430
12144
  strategy?: string | undefined;
12431
12145
  connection_id?: string | undefined;
@@ -12781,16 +12495,16 @@ export declare const tokenResponseSchema: z.ZodObject<{
12781
12495
  token_type: string;
12782
12496
  expires_in: number;
12783
12497
  refresh_token?: string | undefined;
12784
- state?: string | undefined;
12785
12498
  scope?: string | undefined;
12499
+ state?: string | undefined;
12786
12500
  id_token?: string | undefined;
12787
12501
  }, {
12788
12502
  access_token: string;
12789
12503
  token_type: string;
12790
12504
  expires_in: number;
12791
12505
  refresh_token?: string | undefined;
12792
- state?: string | undefined;
12793
12506
  scope?: string | undefined;
12507
+ state?: string | undefined;
12794
12508
  id_token?: string | undefined;
12795
12509
  }>;
12796
12510
  export type TokenResponse = z.infer<typeof tokenResponseSchema>;
@@ -14134,8 +13848,8 @@ export declare const refreshTokenInsertSchema: z.ZodObject<{
14134
13848
  rotating: z.ZodBoolean;
14135
13849
  }, "strip", z.ZodTypeAny, {
14136
13850
  user_id: string;
14137
- id: string;
14138
13851
  client_id: string;
13852
+ id: string;
14139
13853
  session_id: string;
14140
13854
  device: {
14141
13855
  last_ip: string;
@@ -14155,8 +13869,8 @@ export declare const refreshTokenInsertSchema: z.ZodObject<{
14155
13869
  last_exchanged_at?: string | undefined;
14156
13870
  }, {
14157
13871
  user_id: string;
14158
- id: string;
14159
13872
  client_id: string;
13873
+ id: string;
14160
13874
  session_id: string;
14161
13875
  device: {
14162
13876
  last_ip: string;
@@ -14221,8 +13935,8 @@ export declare const refreshTokenSchema: z.ZodObject<{
14221
13935
  }, "strip", z.ZodTypeAny, {
14222
13936
  created_at: string;
14223
13937
  user_id: string;
14224
- id: string;
14225
13938
  client_id: string;
13939
+ id: string;
14226
13940
  session_id: string;
14227
13941
  device: {
14228
13942
  last_ip: string;
@@ -14243,8 +13957,8 @@ export declare const refreshTokenSchema: z.ZodObject<{
14243
13957
  }, {
14244
13958
  created_at: string;
14245
13959
  user_id: string;
14246
- id: string;
14247
13960
  client_id: string;
13961
+ id: string;
14248
13962
  session_id: string;
14249
13963
  device: {
14250
13964
  last_ip: string;
@@ -15147,7 +14861,6 @@ export declare const organizationInsertSchema: z.ZodObject<{
15147
14861
  }>>;
15148
14862
  }, "strip", z.ZodTypeAny, {
15149
14863
  name: string;
15150
- id?: string | undefined;
15151
14864
  token_quota?: {
15152
14865
  client_credentials?: {
15153
14866
  enforce: boolean;
@@ -15155,6 +14868,7 @@ export declare const organizationInsertSchema: z.ZodObject<{
15155
14868
  per_hour: number;
15156
14869
  } | undefined;
15157
14870
  } | undefined;
14871
+ id?: string | undefined;
15158
14872
  display_name?: string | undefined;
15159
14873
  branding?: {
15160
14874
  colors?: {
@@ -15172,7 +14886,6 @@ export declare const organizationInsertSchema: z.ZodObject<{
15172
14886
  }[] | undefined;
15173
14887
  }, {
15174
14888
  name: string;
15175
- id?: string | undefined;
15176
14889
  token_quota?: {
15177
14890
  client_credentials?: {
15178
14891
  enforce?: boolean | undefined;
@@ -15180,6 +14893,7 @@ export declare const organizationInsertSchema: z.ZodObject<{
15180
14893
  per_hour?: number | undefined;
15181
14894
  } | undefined;
15182
14895
  } | undefined;
14896
+ id?: string | undefined;
15183
14897
  display_name?: string | undefined;
15184
14898
  branding?: {
15185
14899
  colors?: {
@@ -15402,6 +15116,16 @@ export interface ClientsAdapter {
15402
15116
  }>;
15403
15117
  update(tenant_id: string, client_id: string, client: Partial<Client>): Promise<boolean>;
15404
15118
  }
15119
+ export interface ListClientGrantsResponse extends Totals {
15120
+ client_grants: ClientGrant[];
15121
+ }
15122
+ export interface ClientGrantsAdapter {
15123
+ create(tenant_id: string, params: ClientGrantInsert): Promise<ClientGrant>;
15124
+ get(tenant_id: string, id: string): Promise<ClientGrant | null>;
15125
+ list(tenant_id: string, params?: ListParams): Promise<ListClientGrantsResponse>;
15126
+ update(tenant_id: string, id: string, clientGrant: Partial<ClientGrantInsert>): Promise<boolean>;
15127
+ remove(tenant_id: string, id: string): Promise<boolean>;
15128
+ }
15405
15129
  export interface ListCodesResponse extends Totals {
15406
15130
  codes: Code[];
15407
15131
  }
@@ -15463,16 +15187,6 @@ export interface LogsDataAdapter {
15463
15187
  list(tenantId: string, params?: ListParams): Promise<ListLogsResponse>;
15464
15188
  get(tenantId: string, logId: string): Promise<LogsResponse | null>;
15465
15189
  }
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
15190
  export interface ListConnectionsResponse extends Totals {
15477
15191
  connections: Connection[];
15478
15192
  }
@@ -15632,10 +15346,10 @@ export interface UserOrganizationsAdapter {
15632
15346
  update(tenantId: string, id: string, params: Partial<UserOrganizationInsert>): Promise<boolean>;
15633
15347
  }
15634
15348
  export interface DataAdapters {
15635
- applications: ApplicationsAdapter;
15636
15349
  branding: BrandingAdapter;
15637
15350
  cache?: CacheAdapter;
15638
15351
  clients: ClientsAdapter;
15352
+ clientGrants: ClientGrantsAdapter;
15639
15353
  legacyClients: LegacyClientsAdapter;
15640
15354
  codes: CodesAdapter;
15641
15355
  connections: ConnectionsAdapter;