@authhero/adapter-interfaces 0.11.2 → 0.11.4

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.
@@ -550,6 +550,58 @@ export declare const userResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
550
550
  user_id: z.ZodString;
551
551
  }>, z.ZodAny, "strip">>;
552
552
  export type UserResponse = z.infer<typeof userResponseSchema>;
553
+ export declare const samlpAddon: z.ZodObject<{
554
+ audience: z.ZodOptional<z.ZodString>;
555
+ recipient: z.ZodOptional<z.ZodString>;
556
+ createUpnClaim: z.ZodOptional<z.ZodBoolean>;
557
+ mapUnknownClaimsAsIs: z.ZodOptional<z.ZodBoolean>;
558
+ passthroughClaimsWithNoMapping: z.ZodOptional<z.ZodBoolean>;
559
+ mapIdentities: z.ZodOptional<z.ZodBoolean>;
560
+ signatureAlgorithm: z.ZodOptional<z.ZodString>;
561
+ digestAlgorithm: z.ZodOptional<z.ZodString>;
562
+ issuer: z.ZodOptional<z.ZodString>;
563
+ destination: z.ZodOptional<z.ZodString>;
564
+ lifetimeInSeconds: z.ZodOptional<z.ZodNumber>;
565
+ signResponse: z.ZodOptional<z.ZodBoolean>;
566
+ nameIdentifierFormat: z.ZodOptional<z.ZodString>;
567
+ nameIdentifierProbes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
568
+ authnContextClassRef: z.ZodOptional<z.ZodString>;
569
+ mappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
570
+ }, "strip", z.ZodTypeAny, {
571
+ audience?: string | undefined;
572
+ recipient?: string | undefined;
573
+ createUpnClaim?: boolean | undefined;
574
+ mapUnknownClaimsAsIs?: boolean | undefined;
575
+ passthroughClaimsWithNoMapping?: boolean | undefined;
576
+ mapIdentities?: boolean | undefined;
577
+ signatureAlgorithm?: string | undefined;
578
+ digestAlgorithm?: string | undefined;
579
+ issuer?: string | undefined;
580
+ destination?: string | undefined;
581
+ lifetimeInSeconds?: number | undefined;
582
+ signResponse?: boolean | undefined;
583
+ nameIdentifierFormat?: string | undefined;
584
+ nameIdentifierProbes?: string[] | undefined;
585
+ authnContextClassRef?: string | undefined;
586
+ mappings?: Record<string, string> | undefined;
587
+ }, {
588
+ audience?: string | undefined;
589
+ recipient?: string | undefined;
590
+ createUpnClaim?: boolean | undefined;
591
+ mapUnknownClaimsAsIs?: boolean | undefined;
592
+ passthroughClaimsWithNoMapping?: boolean | undefined;
593
+ mapIdentities?: boolean | undefined;
594
+ signatureAlgorithm?: string | undefined;
595
+ digestAlgorithm?: string | undefined;
596
+ issuer?: string | undefined;
597
+ destination?: string | undefined;
598
+ lifetimeInSeconds?: number | undefined;
599
+ signResponse?: boolean | undefined;
600
+ nameIdentifierFormat?: string | undefined;
601
+ nameIdentifierProbes?: string[] | undefined;
602
+ authnContextClassRef?: string | undefined;
603
+ mappings?: Record<string, string> | undefined;
604
+ }>;
553
605
  export declare const applicationInsertSchema: z.ZodObject<{
554
606
  id: z.ZodString;
555
607
  name: z.ZodString;
@@ -557,10 +609,98 @@ export declare const applicationInsertSchema: z.ZodObject<{
557
609
  allowed_origins: z.ZodArray<z.ZodString, "many">;
558
610
  web_origins: z.ZodArray<z.ZodString, "many">;
559
611
  allowed_logout_urls: z.ZodArray<z.ZodString, "many">;
560
- addons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<[
561
- z.ZodString,
562
- z.ZodNumber
563
- ]>>>>;
612
+ addons: z.ZodOptional<z.ZodObject<{
613
+ samlp: z.ZodOptional<z.ZodObject<{
614
+ audience: z.ZodOptional<z.ZodString>;
615
+ recipient: z.ZodOptional<z.ZodString>;
616
+ createUpnClaim: z.ZodOptional<z.ZodBoolean>;
617
+ mapUnknownClaimsAsIs: z.ZodOptional<z.ZodBoolean>;
618
+ passthroughClaimsWithNoMapping: z.ZodOptional<z.ZodBoolean>;
619
+ mapIdentities: z.ZodOptional<z.ZodBoolean>;
620
+ signatureAlgorithm: z.ZodOptional<z.ZodString>;
621
+ digestAlgorithm: z.ZodOptional<z.ZodString>;
622
+ issuer: z.ZodOptional<z.ZodString>;
623
+ destination: z.ZodOptional<z.ZodString>;
624
+ lifetimeInSeconds: z.ZodOptional<z.ZodNumber>;
625
+ signResponse: z.ZodOptional<z.ZodBoolean>;
626
+ nameIdentifierFormat: z.ZodOptional<z.ZodString>;
627
+ nameIdentifierProbes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
628
+ authnContextClassRef: z.ZodOptional<z.ZodString>;
629
+ mappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
630
+ }, "strip", z.ZodTypeAny, {
631
+ audience?: string | undefined;
632
+ recipient?: string | undefined;
633
+ createUpnClaim?: boolean | undefined;
634
+ mapUnknownClaimsAsIs?: boolean | undefined;
635
+ passthroughClaimsWithNoMapping?: boolean | undefined;
636
+ mapIdentities?: boolean | undefined;
637
+ signatureAlgorithm?: string | undefined;
638
+ digestAlgorithm?: string | undefined;
639
+ issuer?: string | undefined;
640
+ destination?: string | undefined;
641
+ lifetimeInSeconds?: number | undefined;
642
+ signResponse?: boolean | undefined;
643
+ nameIdentifierFormat?: string | undefined;
644
+ nameIdentifierProbes?: string[] | undefined;
645
+ authnContextClassRef?: string | undefined;
646
+ mappings?: Record<string, string> | undefined;
647
+ }, {
648
+ audience?: string | undefined;
649
+ recipient?: string | undefined;
650
+ createUpnClaim?: boolean | undefined;
651
+ mapUnknownClaimsAsIs?: boolean | undefined;
652
+ passthroughClaimsWithNoMapping?: boolean | undefined;
653
+ mapIdentities?: boolean | undefined;
654
+ signatureAlgorithm?: string | undefined;
655
+ digestAlgorithm?: string | undefined;
656
+ issuer?: string | undefined;
657
+ destination?: string | undefined;
658
+ lifetimeInSeconds?: number | undefined;
659
+ signResponse?: boolean | undefined;
660
+ nameIdentifierFormat?: string | undefined;
661
+ nameIdentifierProbes?: string[] | undefined;
662
+ authnContextClassRef?: string | undefined;
663
+ mappings?: Record<string, string> | undefined;
664
+ }>>;
665
+ }, "strip", z.ZodTypeAny, {
666
+ samlp?: {
667
+ audience?: string | undefined;
668
+ recipient?: string | undefined;
669
+ createUpnClaim?: boolean | undefined;
670
+ mapUnknownClaimsAsIs?: boolean | undefined;
671
+ passthroughClaimsWithNoMapping?: boolean | undefined;
672
+ mapIdentities?: boolean | undefined;
673
+ signatureAlgorithm?: string | undefined;
674
+ digestAlgorithm?: string | undefined;
675
+ issuer?: string | undefined;
676
+ destination?: string | undefined;
677
+ lifetimeInSeconds?: number | undefined;
678
+ signResponse?: boolean | undefined;
679
+ nameIdentifierFormat?: string | undefined;
680
+ nameIdentifierProbes?: string[] | undefined;
681
+ authnContextClassRef?: string | undefined;
682
+ mappings?: Record<string, string> | undefined;
683
+ } | undefined;
684
+ }, {
685
+ samlp?: {
686
+ audience?: string | undefined;
687
+ recipient?: string | undefined;
688
+ createUpnClaim?: boolean | undefined;
689
+ mapUnknownClaimsAsIs?: boolean | undefined;
690
+ passthroughClaimsWithNoMapping?: boolean | undefined;
691
+ mapIdentities?: boolean | undefined;
692
+ signatureAlgorithm?: string | undefined;
693
+ digestAlgorithm?: string | undefined;
694
+ issuer?: string | undefined;
695
+ destination?: string | undefined;
696
+ lifetimeInSeconds?: number | undefined;
697
+ signResponse?: boolean | undefined;
698
+ nameIdentifierFormat?: string | undefined;
699
+ nameIdentifierProbes?: string[] | undefined;
700
+ authnContextClassRef?: string | undefined;
701
+ mappings?: Record<string, string> | undefined;
702
+ } | undefined;
703
+ }>>;
564
704
  email_validation: z.ZodDefault<z.ZodEnum<[
565
705
  "enabled",
566
706
  "disabled",
@@ -578,7 +718,26 @@ export declare const applicationInsertSchema: z.ZodObject<{
578
718
  email_validation: "enabled" | "disabled" | "enforced";
579
719
  client_secret: string;
580
720
  disable_sign_ups: boolean;
581
- addons?: Record<string, Record<string, string | number>> | undefined;
721
+ addons?: {
722
+ samlp?: {
723
+ audience?: string | undefined;
724
+ recipient?: string | undefined;
725
+ createUpnClaim?: boolean | undefined;
726
+ mapUnknownClaimsAsIs?: boolean | undefined;
727
+ passthroughClaimsWithNoMapping?: boolean | undefined;
728
+ mapIdentities?: boolean | undefined;
729
+ signatureAlgorithm?: string | undefined;
730
+ digestAlgorithm?: string | undefined;
731
+ issuer?: string | undefined;
732
+ destination?: string | undefined;
733
+ lifetimeInSeconds?: number | undefined;
734
+ signResponse?: boolean | undefined;
735
+ nameIdentifierFormat?: string | undefined;
736
+ nameIdentifierProbes?: string[] | undefined;
737
+ authnContextClassRef?: string | undefined;
738
+ mappings?: Record<string, string> | undefined;
739
+ } | undefined;
740
+ } | undefined;
582
741
  }, {
583
742
  name: string;
584
743
  id: string;
@@ -586,26 +745,130 @@ export declare const applicationInsertSchema: z.ZodObject<{
586
745
  allowed_origins: string[];
587
746
  web_origins: string[];
588
747
  allowed_logout_urls: string[];
589
- addons?: Record<string, Record<string, string | number>> | undefined;
748
+ addons?: {
749
+ samlp?: {
750
+ audience?: string | undefined;
751
+ recipient?: string | undefined;
752
+ createUpnClaim?: boolean | undefined;
753
+ mapUnknownClaimsAsIs?: boolean | undefined;
754
+ passthroughClaimsWithNoMapping?: boolean | undefined;
755
+ mapIdentities?: boolean | undefined;
756
+ signatureAlgorithm?: string | undefined;
757
+ digestAlgorithm?: string | undefined;
758
+ issuer?: string | undefined;
759
+ destination?: string | undefined;
760
+ lifetimeInSeconds?: number | undefined;
761
+ signResponse?: boolean | undefined;
762
+ nameIdentifierFormat?: string | undefined;
763
+ nameIdentifierProbes?: string[] | undefined;
764
+ authnContextClassRef?: string | undefined;
765
+ mappings?: Record<string, string> | undefined;
766
+ } | undefined;
767
+ } | undefined;
590
768
  email_validation?: "enabled" | "disabled" | "enforced" | undefined;
591
769
  client_secret?: string | undefined;
592
770
  disable_sign_ups?: boolean | undefined;
593
771
  }>;
594
772
  export type ApplicationInsert = z.infer<typeof applicationInsertSchema>;
595
- export declare const applicationSchema: z.ZodObject<z.objectUtil.extendShape<{
596
- created_at: z.ZodEffects<z.ZodString, string, string>;
597
- updated_at: z.ZodEffects<z.ZodString, string, string>;
598
- }, {
773
+ export declare const applicationSchema: z.ZodObject<{
599
774
  id: z.ZodString;
600
775
  name: z.ZodString;
601
776
  callbacks: z.ZodArray<z.ZodString, "many">;
602
777
  allowed_origins: z.ZodArray<z.ZodString, "many">;
603
778
  web_origins: z.ZodArray<z.ZodString, "many">;
604
779
  allowed_logout_urls: z.ZodArray<z.ZodString, "many">;
605
- addons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<[
606
- z.ZodString,
607
- z.ZodNumber
608
- ]>>>>;
780
+ addons: z.ZodOptional<z.ZodObject<{
781
+ samlp: z.ZodOptional<z.ZodObject<{
782
+ audience: z.ZodOptional<z.ZodString>;
783
+ recipient: z.ZodOptional<z.ZodString>;
784
+ createUpnClaim: z.ZodOptional<z.ZodBoolean>;
785
+ mapUnknownClaimsAsIs: z.ZodOptional<z.ZodBoolean>;
786
+ passthroughClaimsWithNoMapping: z.ZodOptional<z.ZodBoolean>;
787
+ mapIdentities: z.ZodOptional<z.ZodBoolean>;
788
+ signatureAlgorithm: z.ZodOptional<z.ZodString>;
789
+ digestAlgorithm: z.ZodOptional<z.ZodString>;
790
+ issuer: z.ZodOptional<z.ZodString>;
791
+ destination: z.ZodOptional<z.ZodString>;
792
+ lifetimeInSeconds: z.ZodOptional<z.ZodNumber>;
793
+ signResponse: z.ZodOptional<z.ZodBoolean>;
794
+ nameIdentifierFormat: z.ZodOptional<z.ZodString>;
795
+ nameIdentifierProbes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
796
+ authnContextClassRef: z.ZodOptional<z.ZodString>;
797
+ mappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
798
+ }, "strip", z.ZodTypeAny, {
799
+ audience?: string | undefined;
800
+ recipient?: string | undefined;
801
+ createUpnClaim?: boolean | undefined;
802
+ mapUnknownClaimsAsIs?: boolean | undefined;
803
+ passthroughClaimsWithNoMapping?: boolean | undefined;
804
+ mapIdentities?: boolean | undefined;
805
+ signatureAlgorithm?: string | undefined;
806
+ digestAlgorithm?: string | undefined;
807
+ issuer?: string | undefined;
808
+ destination?: string | undefined;
809
+ lifetimeInSeconds?: number | undefined;
810
+ signResponse?: boolean | undefined;
811
+ nameIdentifierFormat?: string | undefined;
812
+ nameIdentifierProbes?: string[] | undefined;
813
+ authnContextClassRef?: string | undefined;
814
+ mappings?: Record<string, string> | undefined;
815
+ }, {
816
+ audience?: string | undefined;
817
+ recipient?: string | undefined;
818
+ createUpnClaim?: boolean | undefined;
819
+ mapUnknownClaimsAsIs?: boolean | undefined;
820
+ passthroughClaimsWithNoMapping?: boolean | undefined;
821
+ mapIdentities?: boolean | undefined;
822
+ signatureAlgorithm?: string | undefined;
823
+ digestAlgorithm?: string | undefined;
824
+ issuer?: string | undefined;
825
+ destination?: string | undefined;
826
+ lifetimeInSeconds?: number | undefined;
827
+ signResponse?: boolean | undefined;
828
+ nameIdentifierFormat?: string | undefined;
829
+ nameIdentifierProbes?: string[] | undefined;
830
+ authnContextClassRef?: string | undefined;
831
+ mappings?: Record<string, string> | undefined;
832
+ }>>;
833
+ }, "strip", z.ZodTypeAny, {
834
+ samlp?: {
835
+ audience?: string | undefined;
836
+ recipient?: string | undefined;
837
+ createUpnClaim?: boolean | undefined;
838
+ mapUnknownClaimsAsIs?: boolean | undefined;
839
+ passthroughClaimsWithNoMapping?: boolean | undefined;
840
+ mapIdentities?: boolean | undefined;
841
+ signatureAlgorithm?: string | undefined;
842
+ digestAlgorithm?: string | undefined;
843
+ issuer?: string | undefined;
844
+ destination?: string | undefined;
845
+ lifetimeInSeconds?: number | undefined;
846
+ signResponse?: boolean | undefined;
847
+ nameIdentifierFormat?: string | undefined;
848
+ nameIdentifierProbes?: string[] | undefined;
849
+ authnContextClassRef?: string | undefined;
850
+ mappings?: Record<string, string> | undefined;
851
+ } | undefined;
852
+ }, {
853
+ samlp?: {
854
+ audience?: string | undefined;
855
+ recipient?: string | undefined;
856
+ createUpnClaim?: boolean | undefined;
857
+ mapUnknownClaimsAsIs?: boolean | undefined;
858
+ passthroughClaimsWithNoMapping?: boolean | undefined;
859
+ mapIdentities?: boolean | undefined;
860
+ signatureAlgorithm?: string | undefined;
861
+ digestAlgorithm?: string | undefined;
862
+ issuer?: string | undefined;
863
+ destination?: string | undefined;
864
+ lifetimeInSeconds?: number | undefined;
865
+ signResponse?: boolean | undefined;
866
+ nameIdentifierFormat?: string | undefined;
867
+ nameIdentifierProbes?: string[] | undefined;
868
+ authnContextClassRef?: string | undefined;
869
+ mappings?: Record<string, string> | undefined;
870
+ } | undefined;
871
+ }>>;
609
872
  email_validation: z.ZodDefault<z.ZodEnum<[
610
873
  "enabled",
611
874
  "disabled",
@@ -613,7 +876,9 @@ export declare const applicationSchema: z.ZodObject<z.objectUtil.extendShape<{
613
876
  ]>>;
614
877
  client_secret: z.ZodDefault<z.ZodString>;
615
878
  disable_sign_ups: z.ZodDefault<z.ZodBoolean>;
616
- }>, "strip", z.ZodTypeAny, {
879
+ created_at: z.ZodEffects<z.ZodString, string, string>;
880
+ updated_at: z.ZodEffects<z.ZodString, string, string>;
881
+ }, "strip", z.ZodTypeAny, {
617
882
  created_at: string;
618
883
  updated_at: string;
619
884
  name: string;
@@ -625,7 +890,26 @@ export declare const applicationSchema: z.ZodObject<z.objectUtil.extendShape<{
625
890
  email_validation: "enabled" | "disabled" | "enforced";
626
891
  client_secret: string;
627
892
  disable_sign_ups: boolean;
628
- addons?: Record<string, Record<string, string | number>> | undefined;
893
+ addons?: {
894
+ samlp?: {
895
+ audience?: string | undefined;
896
+ recipient?: string | undefined;
897
+ createUpnClaim?: boolean | undefined;
898
+ mapUnknownClaimsAsIs?: boolean | undefined;
899
+ passthroughClaimsWithNoMapping?: boolean | undefined;
900
+ mapIdentities?: boolean | undefined;
901
+ signatureAlgorithm?: string | undefined;
902
+ digestAlgorithm?: string | undefined;
903
+ issuer?: string | undefined;
904
+ destination?: string | undefined;
905
+ lifetimeInSeconds?: number | undefined;
906
+ signResponse?: boolean | undefined;
907
+ nameIdentifierFormat?: string | undefined;
908
+ nameIdentifierProbes?: string[] | undefined;
909
+ authnContextClassRef?: string | undefined;
910
+ mappings?: Record<string, string> | undefined;
911
+ } | undefined;
912
+ } | undefined;
629
913
  }, {
630
914
  created_at: string;
631
915
  updated_at: string;
@@ -635,7 +919,26 @@ export declare const applicationSchema: z.ZodObject<z.objectUtil.extendShape<{
635
919
  allowed_origins: string[];
636
920
  web_origins: string[];
637
921
  allowed_logout_urls: string[];
638
- addons?: Record<string, Record<string, string | number>> | undefined;
922
+ addons?: {
923
+ samlp?: {
924
+ audience?: string | undefined;
925
+ recipient?: string | undefined;
926
+ createUpnClaim?: boolean | undefined;
927
+ mapUnknownClaimsAsIs?: boolean | undefined;
928
+ passthroughClaimsWithNoMapping?: boolean | undefined;
929
+ mapIdentities?: boolean | undefined;
930
+ signatureAlgorithm?: string | undefined;
931
+ digestAlgorithm?: string | undefined;
932
+ issuer?: string | undefined;
933
+ destination?: string | undefined;
934
+ lifetimeInSeconds?: number | undefined;
935
+ signResponse?: boolean | undefined;
936
+ nameIdentifierFormat?: string | undefined;
937
+ nameIdentifierProbes?: string[] | undefined;
938
+ authnContextClassRef?: string | undefined;
939
+ mappings?: Record<string, string> | undefined;
940
+ } | undefined;
941
+ } | undefined;
639
942
  email_validation?: "enabled" | "disabled" | "enforced" | undefined;
640
943
  client_secret?: string | undefined;
641
944
  disable_sign_ups?: boolean | undefined;
@@ -673,11 +976,11 @@ export declare const authParamsSchema: z.ZodObject<{
673
976
  }, "strip", z.ZodTypeAny, {
674
977
  client_id: string;
675
978
  username?: string | undefined;
979
+ audience?: string | undefined;
676
980
  vendor_id?: string | undefined;
677
981
  response_type?: AuthorizationResponseType | undefined;
678
982
  response_mode?: AuthorizationResponseMode | undefined;
679
983
  redirect_uri?: string | undefined;
680
- audience?: string | undefined;
681
984
  state?: string | undefined;
682
985
  nonce?: string | undefined;
683
986
  scope?: string | undefined;
@@ -686,11 +989,11 @@ export declare const authParamsSchema: z.ZodObject<{
686
989
  }, {
687
990
  client_id: string;
688
991
  username?: string | undefined;
992
+ audience?: string | undefined;
689
993
  vendor_id?: string | undefined;
690
994
  response_type?: AuthorizationResponseType | undefined;
691
995
  response_mode?: AuthorizationResponseMode | undefined;
692
996
  redirect_uri?: string | undefined;
693
- audience?: string | undefined;
694
997
  state?: string | undefined;
695
998
  nonce?: string | undefined;
696
999
  scope?: string | undefined;
@@ -775,7 +1078,7 @@ export declare const brandingSchema: z.ZodObject<{
775
1078
  } | undefined;
776
1079
  }>;
777
1080
  export type Branding = z.infer<typeof brandingSchema>;
778
- export declare const ClientSchema: z.ZodObject<z.objectUtil.extendShape<{
1081
+ declare const ClientSchema: z.ZodObject<{
779
1082
  domains: z.ZodArray<z.ZodObject<{
780
1083
  domain: z.ZodString;
781
1084
  dkim_private_key: z.ZodOptional<z.ZodString>;
@@ -800,55 +1103,44 @@ export declare const ClientSchema: z.ZodObject<z.objectUtil.extendShape<{
800
1103
  }>, "many">;
801
1104
  tenant: z.ZodObject<{
802
1105
  name: z.ZodString;
803
- audience: z.ZodOptional<z.ZodString>;
804
- logo: z.ZodOptional<z.ZodString>;
805
- primary_color: z.ZodOptional<z.ZodString>;
806
- secondary_color: z.ZodOptional<z.ZodString>;
1106
+ audience: z.ZodString;
807
1107
  sender_email: z.ZodString;
808
1108
  sender_name: z.ZodString;
809
1109
  support_url: z.ZodOptional<z.ZodString>;
1110
+ logo: z.ZodOptional<z.ZodString>;
1111
+ primary_color: z.ZodOptional<z.ZodString>;
1112
+ secondary_color: z.ZodOptional<z.ZodString>;
810
1113
  language: z.ZodOptional<z.ZodString>;
1114
+ created_at: z.ZodEffects<z.ZodString, string, string>;
1115
+ updated_at: z.ZodEffects<z.ZodString, string, string>;
1116
+ id: z.ZodString;
811
1117
  }, "strip", z.ZodTypeAny, {
1118
+ created_at: string;
1119
+ updated_at: string;
812
1120
  name: string;
1121
+ audience: string;
1122
+ id: string;
813
1123
  sender_email: string;
814
1124
  sender_name: string;
815
- audience?: string | undefined;
1125
+ support_url?: string | undefined;
816
1126
  logo?: string | undefined;
817
1127
  primary_color?: string | undefined;
818
1128
  secondary_color?: string | undefined;
819
- support_url?: string | undefined;
820
1129
  language?: string | undefined;
821
1130
  }, {
1131
+ created_at: string;
1132
+ updated_at: string;
822
1133
  name: string;
1134
+ audience: string;
1135
+ id: string;
823
1136
  sender_email: string;
824
1137
  sender_name: string;
825
- audience?: string | undefined;
1138
+ support_url?: string | undefined;
826
1139
  logo?: string | undefined;
827
1140
  primary_color?: string | undefined;
828
1141
  secondary_color?: string | undefined;
829
- support_url?: string | undefined;
830
1142
  language?: string | undefined;
831
1143
  }>;
832
- created_at: z.ZodEffects<z.ZodString, string, string>;
833
- updated_at: z.ZodEffects<z.ZodString, string, string>;
834
- id: z.ZodString;
835
- name: z.ZodString;
836
- callbacks: z.ZodArray<z.ZodString, "many">;
837
- allowed_origins: z.ZodArray<z.ZodString, "many">;
838
- web_origins: z.ZodArray<z.ZodString, "many">;
839
- allowed_logout_urls: z.ZodArray<z.ZodString, "many">;
840
- addons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<[
841
- z.ZodString,
842
- z.ZodNumber
843
- ]>>>>;
844
- email_validation: z.ZodDefault<z.ZodEnum<[
845
- "enabled",
846
- "disabled",
847
- "enforced"
848
- ]>>;
849
- client_secret: z.ZodDefault<z.ZodString>;
850
- disable_sign_ups: z.ZodDefault<z.ZodBoolean>;
851
- }, {
852
1144
  connections: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
853
1145
  id: z.ZodString;
854
1146
  created_at: z.ZodEffects<z.ZodString, string, string>;
@@ -903,171 +1195,104 @@ export declare const ClientSchema: z.ZodObject<z.objectUtil.extendShape<{
903
1195
  token_exchange_basic_auth?: boolean | undefined;
904
1196
  userinfo_endpoint?: string | undefined;
905
1197
  }>, "many">;
906
- }>, "strip", z.ZodTypeAny, {
907
- created_at: string;
908
- updated_at: string;
909
- name: string;
910
- id: string;
911
- callbacks: string[];
912
- allowed_origins: string[];
913
- web_origins: string[];
914
- allowed_logout_urls: string[];
915
- email_validation: "enabled" | "disabled" | "enforced";
916
- client_secret: string;
917
- disable_sign_ups: boolean;
918
- domains: {
919
- domain: string;
920
- dkim_private_key?: string | undefined;
921
- dkim_public_key?: string | undefined;
922
- email_api_key?: string | undefined;
923
- email_service?: "mailgun" | "mailchannels" | undefined;
924
- }[];
925
- tenant: {
926
- name: string;
927
- sender_email: string;
928
- sender_name: string;
929
- audience?: string | undefined;
930
- logo?: string | undefined;
931
- primary_color?: string | undefined;
932
- secondary_color?: string | undefined;
933
- support_url?: string | undefined;
934
- language?: string | undefined;
935
- };
936
- connections: {
937
- created_at: string;
938
- updated_at: string;
939
- name: string;
940
- id?: string | undefined;
941
- client_secret?: string | undefined;
942
- client_id?: string | undefined;
943
- response_type?: AuthorizationResponseType | undefined;
944
- response_mode?: AuthorizationResponseMode | undefined;
945
- scope?: string | undefined;
946
- authorization_endpoint?: string | undefined;
947
- private_key?: string | undefined;
948
- kid?: string | undefined;
949
- team_id?: string | undefined;
950
- token_endpoint?: string | undefined;
951
- token_exchange_basic_auth?: boolean | undefined;
952
- userinfo_endpoint?: string | undefined;
953
- }[];
954
- addons?: Record<string, Record<string, string | number>> | undefined;
955
- }, {
956
- created_at: string;
957
- updated_at: string;
958
- name: string;
959
- id: string;
960
- callbacks: string[];
961
- allowed_origins: string[];
962
- web_origins: string[];
963
- allowed_logout_urls: string[];
964
- domains: {
965
- domain: string;
966
- dkim_private_key?: string | undefined;
967
- dkim_public_key?: string | undefined;
968
- email_api_key?: string | undefined;
969
- email_service?: "mailgun" | "mailchannels" | undefined;
970
- }[];
971
- tenant: {
972
- name: string;
973
- sender_email: string;
974
- sender_name: string;
975
- audience?: string | undefined;
976
- logo?: string | undefined;
977
- primary_color?: string | undefined;
978
- secondary_color?: string | undefined;
979
- support_url?: string | undefined;
980
- language?: string | undefined;
981
- };
982
- connections: {
983
- created_at: string;
984
- updated_at: string;
985
- name: string;
986
- id?: string | undefined;
987
- client_secret?: string | undefined;
988
- client_id?: string | undefined;
989
- response_type?: AuthorizationResponseType | undefined;
990
- response_mode?: AuthorizationResponseMode | undefined;
991
- scope?: string | undefined;
992
- authorization_endpoint?: string | undefined;
993
- private_key?: string | undefined;
994
- kid?: string | undefined;
995
- team_id?: string | undefined;
996
- token_endpoint?: string | undefined;
997
- token_exchange_basic_auth?: boolean | undefined;
998
- userinfo_endpoint?: string | undefined;
999
- }[];
1000
- addons?: Record<string, Record<string, string | number>> | undefined;
1001
- email_validation?: "enabled" | "disabled" | "enforced" | undefined;
1002
- client_secret?: string | undefined;
1003
- disable_sign_ups?: boolean | undefined;
1004
- }>;
1005
- export declare const PartialClientSchema: z.ZodObject<z.objectUtil.extendShape<{
1006
- domains: z.ZodArray<z.ZodObject<{
1007
- domain: z.ZodString;
1008
- dkim_private_key: z.ZodOptional<z.ZodString>;
1009
- dkim_public_key: z.ZodOptional<z.ZodString>;
1010
- email_api_key: z.ZodOptional<z.ZodString>;
1011
- email_service: z.ZodOptional<z.ZodUnion<[
1012
- z.ZodLiteral<"mailgun">,
1013
- z.ZodLiteral<"mailchannels">
1014
- ]>>;
1015
- }, "strip", z.ZodTypeAny, {
1016
- domain: string;
1017
- dkim_private_key?: string | undefined;
1018
- dkim_public_key?: string | undefined;
1019
- email_api_key?: string | undefined;
1020
- email_service?: "mailgun" | "mailchannels" | undefined;
1021
- }, {
1022
- domain: string;
1023
- dkim_private_key?: string | undefined;
1024
- dkim_public_key?: string | undefined;
1025
- email_api_key?: string | undefined;
1026
- email_service?: "mailgun" | "mailchannels" | undefined;
1027
- }>, "many">;
1028
- tenant: z.ZodObject<{
1029
- name: z.ZodString;
1030
- audience: z.ZodOptional<z.ZodString>;
1031
- logo: z.ZodOptional<z.ZodString>;
1032
- primary_color: z.ZodOptional<z.ZodString>;
1033
- secondary_color: z.ZodOptional<z.ZodString>;
1034
- sender_email: z.ZodString;
1035
- sender_name: z.ZodString;
1036
- support_url: z.ZodOptional<z.ZodString>;
1037
- language: z.ZodOptional<z.ZodString>;
1038
- }, "strip", z.ZodTypeAny, {
1039
- name: string;
1040
- sender_email: string;
1041
- sender_name: string;
1042
- audience?: string | undefined;
1043
- logo?: string | undefined;
1044
- primary_color?: string | undefined;
1045
- secondary_color?: string | undefined;
1046
- support_url?: string | undefined;
1047
- language?: string | undefined;
1048
- }, {
1049
- name: string;
1050
- sender_email: string;
1051
- sender_name: string;
1052
- audience?: string | undefined;
1053
- logo?: string | undefined;
1054
- primary_color?: string | undefined;
1055
- secondary_color?: string | undefined;
1056
- support_url?: string | undefined;
1057
- language?: string | undefined;
1058
- }>;
1059
- created_at: z.ZodEffects<z.ZodString, string, string>;
1060
- updated_at: z.ZodEffects<z.ZodString, string, string>;
1061
1198
  id: z.ZodString;
1062
1199
  name: z.ZodString;
1063
1200
  callbacks: z.ZodArray<z.ZodString, "many">;
1064
1201
  allowed_origins: z.ZodArray<z.ZodString, "many">;
1065
1202
  web_origins: z.ZodArray<z.ZodString, "many">;
1066
1203
  allowed_logout_urls: z.ZodArray<z.ZodString, "many">;
1067
- addons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<[
1068
- z.ZodString,
1069
- z.ZodNumber
1070
- ]>>>>;
1204
+ addons: z.ZodOptional<z.ZodObject<{
1205
+ samlp: z.ZodOptional<z.ZodObject<{
1206
+ audience: z.ZodOptional<z.ZodString>;
1207
+ recipient: z.ZodOptional<z.ZodString>;
1208
+ createUpnClaim: z.ZodOptional<z.ZodBoolean>;
1209
+ mapUnknownClaimsAsIs: z.ZodOptional<z.ZodBoolean>;
1210
+ passthroughClaimsWithNoMapping: z.ZodOptional<z.ZodBoolean>;
1211
+ mapIdentities: z.ZodOptional<z.ZodBoolean>;
1212
+ signatureAlgorithm: z.ZodOptional<z.ZodString>;
1213
+ digestAlgorithm: z.ZodOptional<z.ZodString>;
1214
+ issuer: z.ZodOptional<z.ZodString>;
1215
+ destination: z.ZodOptional<z.ZodString>;
1216
+ lifetimeInSeconds: z.ZodOptional<z.ZodNumber>;
1217
+ signResponse: z.ZodOptional<z.ZodBoolean>;
1218
+ nameIdentifierFormat: z.ZodOptional<z.ZodString>;
1219
+ nameIdentifierProbes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1220
+ authnContextClassRef: z.ZodOptional<z.ZodString>;
1221
+ mappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1222
+ }, "strip", z.ZodTypeAny, {
1223
+ audience?: string | undefined;
1224
+ recipient?: string | undefined;
1225
+ createUpnClaim?: boolean | undefined;
1226
+ mapUnknownClaimsAsIs?: boolean | undefined;
1227
+ passthroughClaimsWithNoMapping?: boolean | undefined;
1228
+ mapIdentities?: boolean | undefined;
1229
+ signatureAlgorithm?: string | undefined;
1230
+ digestAlgorithm?: string | undefined;
1231
+ issuer?: string | undefined;
1232
+ destination?: string | undefined;
1233
+ lifetimeInSeconds?: number | undefined;
1234
+ signResponse?: boolean | undefined;
1235
+ nameIdentifierFormat?: string | undefined;
1236
+ nameIdentifierProbes?: string[] | undefined;
1237
+ authnContextClassRef?: string | undefined;
1238
+ mappings?: Record<string, string> | undefined;
1239
+ }, {
1240
+ audience?: string | undefined;
1241
+ recipient?: string | undefined;
1242
+ createUpnClaim?: boolean | undefined;
1243
+ mapUnknownClaimsAsIs?: boolean | undefined;
1244
+ passthroughClaimsWithNoMapping?: boolean | undefined;
1245
+ mapIdentities?: boolean | undefined;
1246
+ signatureAlgorithm?: string | undefined;
1247
+ digestAlgorithm?: string | undefined;
1248
+ issuer?: string | undefined;
1249
+ destination?: string | undefined;
1250
+ lifetimeInSeconds?: number | undefined;
1251
+ signResponse?: boolean | undefined;
1252
+ nameIdentifierFormat?: string | undefined;
1253
+ nameIdentifierProbes?: string[] | undefined;
1254
+ authnContextClassRef?: string | undefined;
1255
+ mappings?: Record<string, string> | undefined;
1256
+ }>>;
1257
+ }, "strip", z.ZodTypeAny, {
1258
+ samlp?: {
1259
+ audience?: string | undefined;
1260
+ recipient?: string | undefined;
1261
+ createUpnClaim?: boolean | undefined;
1262
+ mapUnknownClaimsAsIs?: boolean | undefined;
1263
+ passthroughClaimsWithNoMapping?: boolean | undefined;
1264
+ mapIdentities?: boolean | undefined;
1265
+ signatureAlgorithm?: string | undefined;
1266
+ digestAlgorithm?: string | undefined;
1267
+ issuer?: string | undefined;
1268
+ destination?: string | undefined;
1269
+ lifetimeInSeconds?: number | undefined;
1270
+ signResponse?: boolean | undefined;
1271
+ nameIdentifierFormat?: string | undefined;
1272
+ nameIdentifierProbes?: string[] | undefined;
1273
+ authnContextClassRef?: string | undefined;
1274
+ mappings?: Record<string, string> | undefined;
1275
+ } | undefined;
1276
+ }, {
1277
+ samlp?: {
1278
+ audience?: string | undefined;
1279
+ recipient?: string | undefined;
1280
+ createUpnClaim?: boolean | undefined;
1281
+ mapUnknownClaimsAsIs?: boolean | undefined;
1282
+ passthroughClaimsWithNoMapping?: boolean | undefined;
1283
+ mapIdentities?: boolean | undefined;
1284
+ signatureAlgorithm?: string | undefined;
1285
+ digestAlgorithm?: string | undefined;
1286
+ issuer?: string | undefined;
1287
+ destination?: string | undefined;
1288
+ lifetimeInSeconds?: number | undefined;
1289
+ signResponse?: boolean | undefined;
1290
+ nameIdentifierFormat?: string | undefined;
1291
+ nameIdentifierProbes?: string[] | undefined;
1292
+ authnContextClassRef?: string | undefined;
1293
+ mappings?: Record<string, string> | undefined;
1294
+ } | undefined;
1295
+ }>>;
1071
1296
  email_validation: z.ZodDefault<z.ZodEnum<[
1072
1297
  "enabled",
1073
1298
  "disabled",
@@ -1075,60 +1300,9 @@ export declare const PartialClientSchema: z.ZodObject<z.objectUtil.extendShape<{
1075
1300
  ]>>;
1076
1301
  client_secret: z.ZodDefault<z.ZodString>;
1077
1302
  disable_sign_ups: z.ZodDefault<z.ZodBoolean>;
1078
- }, {
1079
- connections: z.ZodArray<z.ZodObject<{
1080
- created_at: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1081
- updated_at: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1082
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1083
- name: z.ZodOptional<z.ZodString>;
1084
- client_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1085
- client_secret: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1086
- authorization_endpoint: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1087
- response_type: z.ZodOptional<z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>>;
1088
- response_mode: z.ZodOptional<z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>>;
1089
- private_key: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1090
- kid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1091
- team_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1092
- token_endpoint: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1093
- token_exchange_basic_auth: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1094
- userinfo_endpoint: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1095
- scope: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1096
- }, "strip", z.ZodTypeAny, {
1097
- created_at?: string | undefined;
1098
- updated_at?: string | undefined;
1099
- name?: string | undefined;
1100
- id?: string | undefined;
1101
- client_secret?: string | undefined;
1102
- client_id?: string | undefined;
1103
- response_type?: AuthorizationResponseType | undefined;
1104
- response_mode?: AuthorizationResponseMode | undefined;
1105
- scope?: string | undefined;
1106
- authorization_endpoint?: string | undefined;
1107
- private_key?: string | undefined;
1108
- kid?: string | undefined;
1109
- team_id?: string | undefined;
1110
- token_endpoint?: string | undefined;
1111
- token_exchange_basic_auth?: boolean | undefined;
1112
- userinfo_endpoint?: string | undefined;
1113
- }, {
1114
- created_at?: string | undefined;
1115
- updated_at?: string | undefined;
1116
- name?: string | undefined;
1117
- id?: string | undefined;
1118
- client_secret?: string | undefined;
1119
- client_id?: string | undefined;
1120
- response_type?: AuthorizationResponseType | undefined;
1121
- response_mode?: AuthorizationResponseMode | undefined;
1122
- scope?: string | undefined;
1123
- authorization_endpoint?: string | undefined;
1124
- private_key?: string | undefined;
1125
- kid?: string | undefined;
1126
- team_id?: string | undefined;
1127
- token_endpoint?: string | undefined;
1128
- token_exchange_basic_auth?: boolean | undefined;
1129
- userinfo_endpoint?: string | undefined;
1130
- }>, "many">;
1131
- }>, "strip", z.ZodTypeAny, {
1303
+ created_at: z.ZodEffects<z.ZodString, string, string>;
1304
+ updated_at: z.ZodEffects<z.ZodString, string, string>;
1305
+ }, "strip", z.ZodTypeAny, {
1132
1306
  created_at: string;
1133
1307
  updated_at: string;
1134
1308
  name: string;
@@ -1148,20 +1322,23 @@ export declare const PartialClientSchema: z.ZodObject<z.objectUtil.extendShape<{
1148
1322
  email_service?: "mailgun" | "mailchannels" | undefined;
1149
1323
  }[];
1150
1324
  tenant: {
1325
+ created_at: string;
1326
+ updated_at: string;
1151
1327
  name: string;
1328
+ audience: string;
1329
+ id: string;
1152
1330
  sender_email: string;
1153
1331
  sender_name: string;
1154
- audience?: string | undefined;
1332
+ support_url?: string | undefined;
1155
1333
  logo?: string | undefined;
1156
1334
  primary_color?: string | undefined;
1157
1335
  secondary_color?: string | undefined;
1158
- support_url?: string | undefined;
1159
1336
  language?: string | undefined;
1160
1337
  };
1161
1338
  connections: {
1162
- created_at?: string | undefined;
1163
- updated_at?: string | undefined;
1164
- name?: string | undefined;
1339
+ created_at: string;
1340
+ updated_at: string;
1341
+ name: string;
1165
1342
  id?: string | undefined;
1166
1343
  client_secret?: string | undefined;
1167
1344
  client_id?: string | undefined;
@@ -1176,7 +1353,26 @@ export declare const PartialClientSchema: z.ZodObject<z.objectUtil.extendShape<{
1176
1353
  token_exchange_basic_auth?: boolean | undefined;
1177
1354
  userinfo_endpoint?: string | undefined;
1178
1355
  }[];
1179
- addons?: Record<string, Record<string, string | number>> | undefined;
1356
+ addons?: {
1357
+ samlp?: {
1358
+ audience?: string | undefined;
1359
+ recipient?: string | undefined;
1360
+ createUpnClaim?: boolean | undefined;
1361
+ mapUnknownClaimsAsIs?: boolean | undefined;
1362
+ passthroughClaimsWithNoMapping?: boolean | undefined;
1363
+ mapIdentities?: boolean | undefined;
1364
+ signatureAlgorithm?: string | undefined;
1365
+ digestAlgorithm?: string | undefined;
1366
+ issuer?: string | undefined;
1367
+ destination?: string | undefined;
1368
+ lifetimeInSeconds?: number | undefined;
1369
+ signResponse?: boolean | undefined;
1370
+ nameIdentifierFormat?: string | undefined;
1371
+ nameIdentifierProbes?: string[] | undefined;
1372
+ authnContextClassRef?: string | undefined;
1373
+ mappings?: Record<string, string> | undefined;
1374
+ } | undefined;
1375
+ } | undefined;
1180
1376
  }, {
1181
1377
  created_at: string;
1182
1378
  updated_at: string;
@@ -1194,20 +1390,23 @@ export declare const PartialClientSchema: z.ZodObject<z.objectUtil.extendShape<{
1194
1390
  email_service?: "mailgun" | "mailchannels" | undefined;
1195
1391
  }[];
1196
1392
  tenant: {
1393
+ created_at: string;
1394
+ updated_at: string;
1197
1395
  name: string;
1396
+ audience: string;
1397
+ id: string;
1198
1398
  sender_email: string;
1199
1399
  sender_name: string;
1200
- audience?: string | undefined;
1400
+ support_url?: string | undefined;
1201
1401
  logo?: string | undefined;
1202
1402
  primary_color?: string | undefined;
1203
1403
  secondary_color?: string | undefined;
1204
- support_url?: string | undefined;
1205
1404
  language?: string | undefined;
1206
1405
  };
1207
1406
  connections: {
1208
- created_at?: string | undefined;
1209
- updated_at?: string | undefined;
1210
- name?: string | undefined;
1407
+ created_at: string;
1408
+ updated_at: string;
1409
+ name: string;
1211
1410
  id?: string | undefined;
1212
1411
  client_secret?: string | undefined;
1213
1412
  client_id?: string | undefined;
@@ -1222,13 +1421,31 @@ export declare const PartialClientSchema: z.ZodObject<z.objectUtil.extendShape<{
1222
1421
  token_exchange_basic_auth?: boolean | undefined;
1223
1422
  userinfo_endpoint?: string | undefined;
1224
1423
  }[];
1225
- addons?: Record<string, Record<string, string | number>> | undefined;
1424
+ addons?: {
1425
+ samlp?: {
1426
+ audience?: string | undefined;
1427
+ recipient?: string | undefined;
1428
+ createUpnClaim?: boolean | undefined;
1429
+ mapUnknownClaimsAsIs?: boolean | undefined;
1430
+ passthroughClaimsWithNoMapping?: boolean | undefined;
1431
+ mapIdentities?: boolean | undefined;
1432
+ signatureAlgorithm?: string | undefined;
1433
+ digestAlgorithm?: string | undefined;
1434
+ issuer?: string | undefined;
1435
+ destination?: string | undefined;
1436
+ lifetimeInSeconds?: number | undefined;
1437
+ signResponse?: boolean | undefined;
1438
+ nameIdentifierFormat?: string | undefined;
1439
+ nameIdentifierProbes?: string[] | undefined;
1440
+ authnContextClassRef?: string | undefined;
1441
+ mappings?: Record<string, string> | undefined;
1442
+ } | undefined;
1443
+ } | undefined;
1226
1444
  email_validation?: "enabled" | "disabled" | "enforced" | undefined;
1227
1445
  client_secret?: string | undefined;
1228
1446
  disable_sign_ups?: boolean | undefined;
1229
1447
  }>;
1230
1448
  export type Client = z.infer<typeof ClientSchema>;
1231
- export type PartialClient = z.infer<typeof PartialClientSchema>;
1232
1449
  export declare const codeTypeSchema: z.ZodEnum<[
1233
1450
  "password_reset",
1234
1451
  "email_verification",
@@ -1703,10 +1920,10 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
1703
1920
  request_parameter_supported: z.ZodBoolean;
1704
1921
  token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
1705
1922
  }, "strip", z.ZodTypeAny, {
1923
+ issuer: string;
1706
1924
  authorization_endpoint: string;
1707
1925
  token_endpoint: string;
1708
1926
  userinfo_endpoint: string;
1709
- issuer: string;
1710
1927
  device_authorization_endpoint: string;
1711
1928
  mfa_challenge_endpoint: string;
1712
1929
  jwks_uri: string;
@@ -1724,10 +1941,10 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
1724
1941
  request_parameter_supported: boolean;
1725
1942
  token_endpoint_auth_signing_alg_values_supported: string[];
1726
1943
  }, {
1944
+ issuer: string;
1727
1945
  authorization_endpoint: string;
1728
1946
  token_endpoint: string;
1729
1947
  userinfo_endpoint: string;
1730
- issuer: string;
1731
1948
  device_authorization_endpoint: string;
1732
1949
  mfa_challenge_endpoint: string;
1733
1950
  jwks_uri: string;
@@ -1763,11 +1980,11 @@ export declare const loginInsertSchema: z.ZodObject<{
1763
1980
  }, "strip", z.ZodTypeAny, {
1764
1981
  client_id: string;
1765
1982
  username?: string | undefined;
1983
+ audience?: string | undefined;
1766
1984
  vendor_id?: string | undefined;
1767
1985
  response_type?: AuthorizationResponseType | undefined;
1768
1986
  response_mode?: AuthorizationResponseMode | undefined;
1769
1987
  redirect_uri?: string | undefined;
1770
- audience?: string | undefined;
1771
1988
  state?: string | undefined;
1772
1989
  nonce?: string | undefined;
1773
1990
  scope?: string | undefined;
@@ -1776,11 +1993,11 @@ export declare const loginInsertSchema: z.ZodObject<{
1776
1993
  }, {
1777
1994
  client_id: string;
1778
1995
  username?: string | undefined;
1996
+ audience?: string | undefined;
1779
1997
  vendor_id?: string | undefined;
1780
1998
  response_type?: AuthorizationResponseType | undefined;
1781
1999
  response_mode?: AuthorizationResponseMode | undefined;
1782
2000
  redirect_uri?: string | undefined;
1783
- audience?: string | undefined;
1784
2001
  state?: string | undefined;
1785
2002
  nonce?: string | undefined;
1786
2003
  scope?: string | undefined;
@@ -1795,11 +2012,11 @@ export declare const loginInsertSchema: z.ZodObject<{
1795
2012
  authParams: {
1796
2013
  client_id: string;
1797
2014
  username?: string | undefined;
2015
+ audience?: string | undefined;
1798
2016
  vendor_id?: string | undefined;
1799
2017
  response_type?: AuthorizationResponseType | undefined;
1800
2018
  response_mode?: AuthorizationResponseMode | undefined;
1801
2019
  redirect_uri?: string | undefined;
1802
- audience?: string | undefined;
1803
2020
  state?: string | undefined;
1804
2021
  nonce?: string | undefined;
1805
2022
  scope?: string | undefined;
@@ -1814,11 +2031,11 @@ export declare const loginInsertSchema: z.ZodObject<{
1814
2031
  authParams: {
1815
2032
  client_id: string;
1816
2033
  username?: string | undefined;
2034
+ audience?: string | undefined;
1817
2035
  vendor_id?: string | undefined;
1818
2036
  response_type?: AuthorizationResponseType | undefined;
1819
2037
  response_mode?: AuthorizationResponseMode | undefined;
1820
2038
  redirect_uri?: string | undefined;
1821
- audience?: string | undefined;
1822
2039
  state?: string | undefined;
1823
2040
  nonce?: string | undefined;
1824
2041
  scope?: string | undefined;
@@ -1851,11 +2068,11 @@ export declare const loginSchema: z.ZodObject<{
1851
2068
  }, "strip", z.ZodTypeAny, {
1852
2069
  client_id: string;
1853
2070
  username?: string | undefined;
2071
+ audience?: string | undefined;
1854
2072
  vendor_id?: string | undefined;
1855
2073
  response_type?: AuthorizationResponseType | undefined;
1856
2074
  response_mode?: AuthorizationResponseMode | undefined;
1857
2075
  redirect_uri?: string | undefined;
1858
- audience?: string | undefined;
1859
2076
  state?: string | undefined;
1860
2077
  nonce?: string | undefined;
1861
2078
  scope?: string | undefined;
@@ -1864,11 +2081,11 @@ export declare const loginSchema: z.ZodObject<{
1864
2081
  }, {
1865
2082
  client_id: string;
1866
2083
  username?: string | undefined;
2084
+ audience?: string | undefined;
1867
2085
  vendor_id?: string | undefined;
1868
2086
  response_type?: AuthorizationResponseType | undefined;
1869
2087
  response_mode?: AuthorizationResponseMode | undefined;
1870
2088
  redirect_uri?: string | undefined;
1871
- audience?: string | undefined;
1872
2089
  state?: string | undefined;
1873
2090
  nonce?: string | undefined;
1874
2091
  scope?: string | undefined;
@@ -1886,11 +2103,11 @@ export declare const loginSchema: z.ZodObject<{
1886
2103
  authParams: {
1887
2104
  client_id: string;
1888
2105
  username?: string | undefined;
2106
+ audience?: string | undefined;
1889
2107
  vendor_id?: string | undefined;
1890
2108
  response_type?: AuthorizationResponseType | undefined;
1891
2109
  response_mode?: AuthorizationResponseMode | undefined;
1892
2110
  redirect_uri?: string | undefined;
1893
- audience?: string | undefined;
1894
2111
  state?: string | undefined;
1895
2112
  nonce?: string | undefined;
1896
2113
  scope?: string | undefined;
@@ -1908,11 +2125,11 @@ export declare const loginSchema: z.ZodObject<{
1908
2125
  authParams: {
1909
2126
  client_id: string;
1910
2127
  username?: string | undefined;
2128
+ audience?: string | undefined;
1911
2129
  vendor_id?: string | undefined;
1912
2130
  response_type?: AuthorizationResponseType | undefined;
1913
2131
  response_mode?: AuthorizationResponseMode | undefined;
1914
2132
  redirect_uri?: string | undefined;
1915
- audience?: string | undefined;
1916
2133
  state?: string | undefined;
1917
2134
  nonce?: string | undefined;
1918
2135
  scope?: string | undefined;
@@ -2077,8 +2294,8 @@ export declare const logSchema: z.ZodObject<{
2077
2294
  description?: string | undefined;
2078
2295
  connection?: string | undefined;
2079
2296
  user_id?: string | undefined;
2080
- client_id?: string | undefined;
2081
2297
  audience?: string | undefined;
2298
+ client_id?: string | undefined;
2082
2299
  scope?: string[] | undefined;
2083
2300
  log_id?: string | undefined;
2084
2301
  _id?: string | undefined;
@@ -2105,8 +2322,8 @@ export declare const logSchema: z.ZodObject<{
2105
2322
  description?: string | undefined;
2106
2323
  connection?: string | undefined;
2107
2324
  user_id?: string | undefined;
2108
- client_id?: string | undefined;
2109
2325
  audience?: string | undefined;
2326
+ client_id?: string | undefined;
2110
2327
  scope?: string[] | undefined;
2111
2328
  log_id?: string | undefined;
2112
2329
  _id?: string | undefined;
@@ -2300,23 +2517,23 @@ export declare const tenantInsertSchema: z.ZodObject<{
2300
2517
  audience: string;
2301
2518
  sender_email: string;
2302
2519
  sender_name: string;
2520
+ support_url?: string | undefined;
2303
2521
  logo?: string | undefined;
2304
2522
  primary_color?: string | undefined;
2305
2523
  secondary_color?: string | undefined;
2306
- support_url?: string | undefined;
2307
2524
  language?: string | undefined;
2308
2525
  }, {
2309
2526
  name: string;
2310
2527
  audience: string;
2311
2528
  sender_email: string;
2312
2529
  sender_name: string;
2530
+ support_url?: string | undefined;
2313
2531
  logo?: string | undefined;
2314
2532
  primary_color?: string | undefined;
2315
2533
  secondary_color?: string | undefined;
2316
- support_url?: string | undefined;
2317
2534
  language?: string | undefined;
2318
2535
  }>;
2319
- export declare const tenantSchema: z.ZodObject<z.objectUtil.extendShape<{
2536
+ export declare const tenantSchema: z.ZodObject<{
2320
2537
  name: z.ZodString;
2321
2538
  audience: z.ZodString;
2322
2539
  sender_email: z.ZodString;
@@ -2326,32 +2543,34 @@ export declare const tenantSchema: z.ZodObject<z.objectUtil.extendShape<{
2326
2543
  primary_color: z.ZodOptional<z.ZodString>;
2327
2544
  secondary_color: z.ZodOptional<z.ZodString>;
2328
2545
  language: z.ZodOptional<z.ZodString>;
2329
- }, {
2330
2546
  created_at: z.ZodEffects<z.ZodString, string, string>;
2331
2547
  updated_at: z.ZodEffects<z.ZodString, string, string>;
2332
- }>, "strip", z.ZodTypeAny, {
2548
+ id: z.ZodString;
2549
+ }, "strip", z.ZodTypeAny, {
2333
2550
  created_at: string;
2334
2551
  updated_at: string;
2335
2552
  name: string;
2336
2553
  audience: string;
2554
+ id: string;
2337
2555
  sender_email: string;
2338
2556
  sender_name: string;
2557
+ support_url?: string | undefined;
2339
2558
  logo?: string | undefined;
2340
2559
  primary_color?: string | undefined;
2341
2560
  secondary_color?: string | undefined;
2342
- support_url?: string | undefined;
2343
2561
  language?: string | undefined;
2344
2562
  }, {
2345
2563
  created_at: string;
2346
2564
  updated_at: string;
2347
2565
  name: string;
2348
2566
  audience: string;
2567
+ id: string;
2349
2568
  sender_email: string;
2350
2569
  sender_name: string;
2570
+ support_url?: string | undefined;
2351
2571
  logo?: string | undefined;
2352
2572
  primary_color?: string | undefined;
2353
2573
  secondary_color?: string | undefined;
2354
- support_url?: string | undefined;
2355
2574
  language?: string | undefined;
2356
2575
  }>;
2357
2576
  export interface Tenant {
@@ -3678,11 +3897,11 @@ export declare const universalLoginSessionInsertSchema: z.ZodObject<{
3678
3897
  }, "strip", z.ZodTypeAny, {
3679
3898
  client_id: string;
3680
3899
  username?: string | undefined;
3900
+ audience?: string | undefined;
3681
3901
  vendor_id?: string | undefined;
3682
3902
  response_type?: AuthorizationResponseType | undefined;
3683
3903
  response_mode?: AuthorizationResponseMode | undefined;
3684
3904
  redirect_uri?: string | undefined;
3685
- audience?: string | undefined;
3686
3905
  state?: string | undefined;
3687
3906
  nonce?: string | undefined;
3688
3907
  scope?: string | undefined;
@@ -3691,11 +3910,11 @@ export declare const universalLoginSessionInsertSchema: z.ZodObject<{
3691
3910
  }, {
3692
3911
  client_id: string;
3693
3912
  username?: string | undefined;
3913
+ audience?: string | undefined;
3694
3914
  vendor_id?: string | undefined;
3695
3915
  response_type?: AuthorizationResponseType | undefined;
3696
3916
  response_mode?: AuthorizationResponseMode | undefined;
3697
3917
  redirect_uri?: string | undefined;
3698
- audience?: string | undefined;
3699
3918
  state?: string | undefined;
3700
3919
  nonce?: string | undefined;
3701
3920
  scope?: string | undefined;
@@ -3708,11 +3927,11 @@ export declare const universalLoginSessionInsertSchema: z.ZodObject<{
3708
3927
  authParams: {
3709
3928
  client_id: string;
3710
3929
  username?: string | undefined;
3930
+ audience?: string | undefined;
3711
3931
  vendor_id?: string | undefined;
3712
3932
  response_type?: AuthorizationResponseType | undefined;
3713
3933
  response_mode?: AuthorizationResponseMode | undefined;
3714
3934
  redirect_uri?: string | undefined;
3715
- audience?: string | undefined;
3716
3935
  state?: string | undefined;
3717
3936
  nonce?: string | undefined;
3718
3937
  scope?: string | undefined;
@@ -3726,11 +3945,11 @@ export declare const universalLoginSessionInsertSchema: z.ZodObject<{
3726
3945
  authParams: {
3727
3946
  client_id: string;
3728
3947
  username?: string | undefined;
3948
+ audience?: string | undefined;
3729
3949
  vendor_id?: string | undefined;
3730
3950
  response_type?: AuthorizationResponseType | undefined;
3731
3951
  response_mode?: AuthorizationResponseMode | undefined;
3732
3952
  redirect_uri?: string | undefined;
3733
- audience?: string | undefined;
3734
3953
  state?: string | undefined;
3735
3954
  nonce?: string | undefined;
3736
3955
  scope?: string | undefined;
@@ -3762,11 +3981,11 @@ export declare const universalLoginSessionSchema: z.ZodObject<{
3762
3981
  }, "strip", z.ZodTypeAny, {
3763
3982
  client_id: string;
3764
3983
  username?: string | undefined;
3984
+ audience?: string | undefined;
3765
3985
  vendor_id?: string | undefined;
3766
3986
  response_type?: AuthorizationResponseType | undefined;
3767
3987
  response_mode?: AuthorizationResponseMode | undefined;
3768
3988
  redirect_uri?: string | undefined;
3769
- audience?: string | undefined;
3770
3989
  state?: string | undefined;
3771
3990
  nonce?: string | undefined;
3772
3991
  scope?: string | undefined;
@@ -3775,11 +3994,11 @@ export declare const universalLoginSessionSchema: z.ZodObject<{
3775
3994
  }, {
3776
3995
  client_id: string;
3777
3996
  username?: string | undefined;
3997
+ audience?: string | undefined;
3778
3998
  vendor_id?: string | undefined;
3779
3999
  response_type?: AuthorizationResponseType | undefined;
3780
4000
  response_mode?: AuthorizationResponseMode | undefined;
3781
4001
  redirect_uri?: string | undefined;
3782
- audience?: string | undefined;
3783
4002
  state?: string | undefined;
3784
4003
  nonce?: string | undefined;
3785
4004
  scope?: string | undefined;
@@ -3794,11 +4013,11 @@ export declare const universalLoginSessionSchema: z.ZodObject<{
3794
4013
  authParams: {
3795
4014
  client_id: string;
3796
4015
  username?: string | undefined;
4016
+ audience?: string | undefined;
3797
4017
  vendor_id?: string | undefined;
3798
4018
  response_type?: AuthorizationResponseType | undefined;
3799
4019
  response_mode?: AuthorizationResponseMode | undefined;
3800
4020
  redirect_uri?: string | undefined;
3801
- audience?: string | undefined;
3802
4021
  state?: string | undefined;
3803
4022
  nonce?: string | undefined;
3804
4023
  scope?: string | undefined;
@@ -3814,11 +4033,11 @@ export declare const universalLoginSessionSchema: z.ZodObject<{
3814
4033
  authParams: {
3815
4034
  client_id: string;
3816
4035
  username?: string | undefined;
4036
+ audience?: string | undefined;
3817
4037
  vendor_id?: string | undefined;
3818
4038
  response_type?: AuthorizationResponseType | undefined;
3819
4039
  response_mode?: AuthorizationResponseMode | undefined;
3820
4040
  redirect_uri?: string | undefined;
3821
- audience?: string | undefined;
3822
4041
  state?: string | undefined;
3823
4042
  nonce?: string | undefined;
3824
4043
  scope?: string | undefined;
@@ -3853,11 +4072,11 @@ export declare const otpInsertSchema: z.ZodObject<{
3853
4072
  }, "strip", z.ZodTypeAny, {
3854
4073
  client_id: string;
3855
4074
  username?: string | undefined;
4075
+ audience?: string | undefined;
3856
4076
  vendor_id?: string | undefined;
3857
4077
  response_type?: AuthorizationResponseType | undefined;
3858
4078
  response_mode?: AuthorizationResponseMode | undefined;
3859
4079
  redirect_uri?: string | undefined;
3860
- audience?: string | undefined;
3861
4080
  state?: string | undefined;
3862
4081
  nonce?: string | undefined;
3863
4082
  scope?: string | undefined;
@@ -3866,11 +4085,11 @@ export declare const otpInsertSchema: z.ZodObject<{
3866
4085
  }, {
3867
4086
  client_id: string;
3868
4087
  username?: string | undefined;
4088
+ audience?: string | undefined;
3869
4089
  vendor_id?: string | undefined;
3870
4090
  response_type?: AuthorizationResponseType | undefined;
3871
4091
  response_mode?: AuthorizationResponseMode | undefined;
3872
4092
  redirect_uri?: string | undefined;
3873
- audience?: string | undefined;
3874
4093
  state?: string | undefined;
3875
4094
  nonce?: string | undefined;
3876
4095
  scope?: string | undefined;
@@ -3888,11 +4107,11 @@ export declare const otpInsertSchema: z.ZodObject<{
3888
4107
  authParams: {
3889
4108
  client_id: string;
3890
4109
  username?: string | undefined;
4110
+ audience?: string | undefined;
3891
4111
  vendor_id?: string | undefined;
3892
4112
  response_type?: AuthorizationResponseType | undefined;
3893
4113
  response_mode?: AuthorizationResponseMode | undefined;
3894
4114
  redirect_uri?: string | undefined;
3895
- audience?: string | undefined;
3896
4115
  state?: string | undefined;
3897
4116
  nonce?: string | undefined;
3898
4117
  scope?: string | undefined;
@@ -3911,11 +4130,11 @@ export declare const otpInsertSchema: z.ZodObject<{
3911
4130
  authParams: {
3912
4131
  client_id: string;
3913
4132
  username?: string | undefined;
4133
+ audience?: string | undefined;
3914
4134
  vendor_id?: string | undefined;
3915
4135
  response_type?: AuthorizationResponseType | undefined;
3916
4136
  response_mode?: AuthorizationResponseMode | undefined;
3917
4137
  redirect_uri?: string | undefined;
3918
- audience?: string | undefined;
3919
4138
  state?: string | undefined;
3920
4139
  nonce?: string | undefined;
3921
4140
  scope?: string | undefined;
@@ -3953,11 +4172,11 @@ export declare const otpSchema: z.ZodObject<{
3953
4172
  }, "strip", z.ZodTypeAny, {
3954
4173
  client_id: string;
3955
4174
  username?: string | undefined;
4175
+ audience?: string | undefined;
3956
4176
  vendor_id?: string | undefined;
3957
4177
  response_type?: AuthorizationResponseType | undefined;
3958
4178
  response_mode?: AuthorizationResponseMode | undefined;
3959
4179
  redirect_uri?: string | undefined;
3960
- audience?: string | undefined;
3961
4180
  state?: string | undefined;
3962
4181
  nonce?: string | undefined;
3963
4182
  scope?: string | undefined;
@@ -3966,11 +4185,11 @@ export declare const otpSchema: z.ZodObject<{
3966
4185
  }, {
3967
4186
  client_id: string;
3968
4187
  username?: string | undefined;
4188
+ audience?: string | undefined;
3969
4189
  vendor_id?: string | undefined;
3970
4190
  response_type?: AuthorizationResponseType | undefined;
3971
4191
  response_mode?: AuthorizationResponseMode | undefined;
3972
4192
  redirect_uri?: string | undefined;
3973
- audience?: string | undefined;
3974
4193
  state?: string | undefined;
3975
4194
  nonce?: string | undefined;
3976
4195
  scope?: string | undefined;
@@ -3990,11 +4209,11 @@ export declare const otpSchema: z.ZodObject<{
3990
4209
  authParams: {
3991
4210
  client_id: string;
3992
4211
  username?: string | undefined;
4212
+ audience?: string | undefined;
3993
4213
  vendor_id?: string | undefined;
3994
4214
  response_type?: AuthorizationResponseType | undefined;
3995
4215
  response_mode?: AuthorizationResponseMode | undefined;
3996
4216
  redirect_uri?: string | undefined;
3997
- audience?: string | undefined;
3998
4217
  state?: string | undefined;
3999
4218
  nonce?: string | undefined;
4000
4219
  scope?: string | undefined;
@@ -4014,11 +4233,11 @@ export declare const otpSchema: z.ZodObject<{
4014
4233
  authParams: {
4015
4234
  client_id: string;
4016
4235
  username?: string | undefined;
4236
+ audience?: string | undefined;
4017
4237
  vendor_id?: string | undefined;
4018
4238
  response_type?: AuthorizationResponseType | undefined;
4019
4239
  response_mode?: AuthorizationResponseMode | undefined;
4020
4240
  redirect_uri?: string | undefined;
4021
- audience?: string | undefined;
4022
4241
  state?: string | undefined;
4023
4242
  nonce?: string | undefined;
4024
4243
  scope?: string | undefined;
@@ -4048,11 +4267,11 @@ export declare const authenticationCodeInsertSchema: z.ZodObject<{
4048
4267
  }, "strip", z.ZodTypeAny, {
4049
4268
  client_id: string;
4050
4269
  username?: string | undefined;
4270
+ audience?: string | undefined;
4051
4271
  vendor_id?: string | undefined;
4052
4272
  response_type?: AuthorizationResponseType | undefined;
4053
4273
  response_mode?: AuthorizationResponseMode | undefined;
4054
4274
  redirect_uri?: string | undefined;
4055
- audience?: string | undefined;
4056
4275
  state?: string | undefined;
4057
4276
  nonce?: string | undefined;
4058
4277
  scope?: string | undefined;
@@ -4061,11 +4280,11 @@ export declare const authenticationCodeInsertSchema: z.ZodObject<{
4061
4280
  }, {
4062
4281
  client_id: string;
4063
4282
  username?: string | undefined;
4283
+ audience?: string | undefined;
4064
4284
  vendor_id?: string | undefined;
4065
4285
  response_type?: AuthorizationResponseType | undefined;
4066
4286
  response_mode?: AuthorizationResponseMode | undefined;
4067
4287
  redirect_uri?: string | undefined;
4068
- audience?: string | undefined;
4069
4288
  state?: string | undefined;
4070
4289
  nonce?: string | undefined;
4071
4290
  scope?: string | undefined;
@@ -4085,11 +4304,11 @@ export declare const authenticationCodeInsertSchema: z.ZodObject<{
4085
4304
  authParams: {
4086
4305
  client_id: string;
4087
4306
  username?: string | undefined;
4307
+ audience?: string | undefined;
4088
4308
  vendor_id?: string | undefined;
4089
4309
  response_type?: AuthorizationResponseType | undefined;
4090
4310
  response_mode?: AuthorizationResponseMode | undefined;
4091
4311
  redirect_uri?: string | undefined;
4092
- audience?: string | undefined;
4093
4312
  state?: string | undefined;
4094
4313
  nonce?: string | undefined;
4095
4314
  scope?: string | undefined;
@@ -4105,11 +4324,11 @@ export declare const authenticationCodeInsertSchema: z.ZodObject<{
4105
4324
  authParams: {
4106
4325
  client_id: string;
4107
4326
  username?: string | undefined;
4327
+ audience?: string | undefined;
4108
4328
  vendor_id?: string | undefined;
4109
4329
  response_type?: AuthorizationResponseType | undefined;
4110
4330
  response_mode?: AuthorizationResponseMode | undefined;
4111
4331
  redirect_uri?: string | undefined;
4112
- audience?: string | undefined;
4113
4332
  state?: string | undefined;
4114
4333
  nonce?: string | undefined;
4115
4334
  scope?: string | undefined;
@@ -4137,11 +4356,11 @@ export declare const authenticationCodeSchema: z.ZodObject<{
4137
4356
  }, "strip", z.ZodTypeAny, {
4138
4357
  client_id: string;
4139
4358
  username?: string | undefined;
4359
+ audience?: string | undefined;
4140
4360
  vendor_id?: string | undefined;
4141
4361
  response_type?: AuthorizationResponseType | undefined;
4142
4362
  response_mode?: AuthorizationResponseMode | undefined;
4143
4363
  redirect_uri?: string | undefined;
4144
- audience?: string | undefined;
4145
4364
  state?: string | undefined;
4146
4365
  nonce?: string | undefined;
4147
4366
  scope?: string | undefined;
@@ -4150,11 +4369,11 @@ export declare const authenticationCodeSchema: z.ZodObject<{
4150
4369
  }, {
4151
4370
  client_id: string;
4152
4371
  username?: string | undefined;
4372
+ audience?: string | undefined;
4153
4373
  vendor_id?: string | undefined;
4154
4374
  response_type?: AuthorizationResponseType | undefined;
4155
4375
  response_mode?: AuthorizationResponseMode | undefined;
4156
4376
  redirect_uri?: string | undefined;
4157
- audience?: string | undefined;
4158
4377
  state?: string | undefined;
4159
4378
  nonce?: string | undefined;
4160
4379
  scope?: string | undefined;
@@ -4173,11 +4392,11 @@ export declare const authenticationCodeSchema: z.ZodObject<{
4173
4392
  authParams: {
4174
4393
  client_id: string;
4175
4394
  username?: string | undefined;
4395
+ audience?: string | undefined;
4176
4396
  vendor_id?: string | undefined;
4177
4397
  response_type?: AuthorizationResponseType | undefined;
4178
4398
  response_mode?: AuthorizationResponseMode | undefined;
4179
4399
  redirect_uri?: string | undefined;
4180
- audience?: string | undefined;
4181
4400
  state?: string | undefined;
4182
4401
  nonce?: string | undefined;
4183
4402
  scope?: string | undefined;
@@ -4193,11 +4412,11 @@ export declare const authenticationCodeSchema: z.ZodObject<{
4193
4412
  authParams: {
4194
4413
  client_id: string;
4195
4414
  username?: string | undefined;
4415
+ audience?: string | undefined;
4196
4416
  vendor_id?: string | undefined;
4197
4417
  response_type?: AuthorizationResponseType | undefined;
4198
4418
  response_mode?: AuthorizationResponseMode | undefined;
4199
4419
  redirect_uri?: string | undefined;
4200
- audience?: string | undefined;
4201
4420
  state?: string | undefined;
4202
4421
  nonce?: string | undefined;
4203
4422
  scope?: string | undefined;
@@ -4349,7 +4568,7 @@ export interface HooksAdapter {
4349
4568
  list: (tenant_id: string, params: ListParams) => Promise<ListHooksResponse>;
4350
4569
  }
4351
4570
  export interface ClientsAdapter {
4352
- get: (id: string) => Promise<PartialClient | null>;
4571
+ get: (id: string) => Promise<Client | null>;
4353
4572
  }
4354
4573
  export interface ThemesAdapter {
4355
4574
  create: (tenant_id: string, theme: ThemeInsert) => Promise<Theme>;