@authhero/adapter-interfaces 0.11.3 → 0.11.5

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,7 +745,26 @@ 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;
@@ -599,10 +777,98 @@ export declare const applicationSchema: z.ZodObject<{
599
777
  allowed_origins: z.ZodArray<z.ZodString, "many">;
600
778
  web_origins: z.ZodArray<z.ZodString, "many">;
601
779
  allowed_logout_urls: z.ZodArray<z.ZodString, "many">;
602
- addons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<[
603
- z.ZodString,
604
- z.ZodNumber
605
- ]>>>>;
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
+ }>>;
606
872
  email_validation: z.ZodDefault<z.ZodEnum<[
607
873
  "enabled",
608
874
  "disabled",
@@ -624,7 +890,26 @@ export declare const applicationSchema: z.ZodObject<{
624
890
  email_validation: "enabled" | "disabled" | "enforced";
625
891
  client_secret: string;
626
892
  disable_sign_ups: boolean;
627
- 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;
628
913
  }, {
629
914
  created_at: string;
630
915
  updated_at: string;
@@ -634,7 +919,26 @@ export declare const applicationSchema: z.ZodObject<{
634
919
  allowed_origins: string[];
635
920
  web_origins: string[];
636
921
  allowed_logout_urls: string[];
637
- 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;
638
942
  email_validation?: "enabled" | "disabled" | "enforced" | undefined;
639
943
  client_secret?: string | undefined;
640
944
  disable_sign_ups?: boolean | undefined;
@@ -672,11 +976,11 @@ export declare const authParamsSchema: z.ZodObject<{
672
976
  }, "strip", z.ZodTypeAny, {
673
977
  client_id: string;
674
978
  username?: string | undefined;
979
+ audience?: string | undefined;
675
980
  vendor_id?: string | undefined;
676
981
  response_type?: AuthorizationResponseType | undefined;
677
982
  response_mode?: AuthorizationResponseMode | undefined;
678
983
  redirect_uri?: string | undefined;
679
- audience?: string | undefined;
680
984
  state?: string | undefined;
681
985
  nonce?: string | undefined;
682
986
  scope?: string | undefined;
@@ -685,11 +989,11 @@ export declare const authParamsSchema: z.ZodObject<{
685
989
  }, {
686
990
  client_id: string;
687
991
  username?: string | undefined;
992
+ audience?: string | undefined;
688
993
  vendor_id?: string | undefined;
689
994
  response_type?: AuthorizationResponseType | undefined;
690
995
  response_mode?: AuthorizationResponseMode | undefined;
691
996
  redirect_uri?: string | undefined;
692
- audience?: string | undefined;
693
997
  state?: string | undefined;
694
998
  nonce?: string | undefined;
695
999
  scope?: string | undefined;
@@ -814,8 +1118,8 @@ declare const ClientSchema: z.ZodObject<{
814
1118
  created_at: string;
815
1119
  updated_at: string;
816
1120
  name: string;
817
- id: string;
818
1121
  audience: string;
1122
+ id: string;
819
1123
  sender_email: string;
820
1124
  sender_name: string;
821
1125
  support_url?: string | undefined;
@@ -827,8 +1131,8 @@ declare const ClientSchema: z.ZodObject<{
827
1131
  created_at: string;
828
1132
  updated_at: string;
829
1133
  name: string;
830
- id: string;
831
1134
  audience: string;
1135
+ id: string;
832
1136
  sender_email: string;
833
1137
  sender_name: string;
834
1138
  support_url?: string | undefined;
@@ -897,10 +1201,98 @@ declare const ClientSchema: z.ZodObject<{
897
1201
  allowed_origins: z.ZodArray<z.ZodString, "many">;
898
1202
  web_origins: z.ZodArray<z.ZodString, "many">;
899
1203
  allowed_logout_urls: z.ZodArray<z.ZodString, "many">;
900
- addons: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<[
901
- z.ZodString,
902
- z.ZodNumber
903
- ]>>>>;
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
+ }>>;
904
1296
  email_validation: z.ZodDefault<z.ZodEnum<[
905
1297
  "enabled",
906
1298
  "disabled",
@@ -933,8 +1325,8 @@ declare const ClientSchema: z.ZodObject<{
933
1325
  created_at: string;
934
1326
  updated_at: string;
935
1327
  name: string;
936
- id: string;
937
1328
  audience: string;
1329
+ id: string;
938
1330
  sender_email: string;
939
1331
  sender_name: string;
940
1332
  support_url?: string | undefined;
@@ -961,7 +1353,26 @@ declare const ClientSchema: z.ZodObject<{
961
1353
  token_exchange_basic_auth?: boolean | undefined;
962
1354
  userinfo_endpoint?: string | undefined;
963
1355
  }[];
964
- 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;
965
1376
  }, {
966
1377
  created_at: string;
967
1378
  updated_at: string;
@@ -982,8 +1393,8 @@ declare const ClientSchema: z.ZodObject<{
982
1393
  created_at: string;
983
1394
  updated_at: string;
984
1395
  name: string;
985
- id: string;
986
1396
  audience: string;
1397
+ id: string;
987
1398
  sender_email: string;
988
1399
  sender_name: string;
989
1400
  support_url?: string | undefined;
@@ -1010,7 +1421,26 @@ declare const ClientSchema: z.ZodObject<{
1010
1421
  token_exchange_basic_auth?: boolean | undefined;
1011
1422
  userinfo_endpoint?: string | undefined;
1012
1423
  }[];
1013
- 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;
1014
1444
  email_validation?: "enabled" | "disabled" | "enforced" | undefined;
1015
1445
  client_secret?: string | undefined;
1016
1446
  disable_sign_ups?: boolean | undefined;
@@ -1028,6 +1458,7 @@ export type CodeType = z.infer<typeof codeTypeSchema>;
1028
1458
  export declare const codeInsertSchema: z.ZodObject<{
1029
1459
  code_id: z.ZodString;
1030
1460
  login_id: z.ZodString;
1461
+ connection_id: z.ZodOptional<z.ZodString>;
1031
1462
  code_type: z.ZodEnum<[
1032
1463
  "password_reset",
1033
1464
  "email_verification",
@@ -1043,12 +1474,14 @@ export declare const codeInsertSchema: z.ZodObject<{
1043
1474
  login_id: string;
1044
1475
  code_type: "password_reset" | "email_verification" | "otp" | "oauth2" | "oauth2_state" | "ticket";
1045
1476
  expires_at: string;
1477
+ connection_id?: string | undefined;
1046
1478
  used_at?: string | undefined;
1047
1479
  }, {
1048
1480
  code_id: string;
1049
1481
  login_id: string;
1050
1482
  code_type: "password_reset" | "email_verification" | "otp" | "oauth2" | "oauth2_state" | "ticket";
1051
1483
  expires_at: string;
1484
+ connection_id?: string | undefined;
1052
1485
  used_at?: string | undefined;
1053
1486
  }>;
1054
1487
  export type CodeInsert = z.infer<typeof codeInsertSchema>;
@@ -1056,6 +1489,7 @@ export declare const codeSchema: z.ZodObject<{
1056
1489
  created_at: z.ZodString;
1057
1490
  code_id: z.ZodString;
1058
1491
  login_id: z.ZodString;
1492
+ connection_id: z.ZodOptional<z.ZodString>;
1059
1493
  code_type: z.ZodEnum<[
1060
1494
  "password_reset",
1061
1495
  "email_verification",
@@ -1072,6 +1506,7 @@ export declare const codeSchema: z.ZodObject<{
1072
1506
  login_id: string;
1073
1507
  code_type: "password_reset" | "email_verification" | "otp" | "oauth2" | "oauth2_state" | "ticket";
1074
1508
  expires_at: string;
1509
+ connection_id?: string | undefined;
1075
1510
  used_at?: string | undefined;
1076
1511
  }, {
1077
1512
  created_at: string;
@@ -1079,6 +1514,7 @@ export declare const codeSchema: z.ZodObject<{
1079
1514
  login_id: string;
1080
1515
  code_type: "password_reset" | "email_verification" | "otp" | "oauth2" | "oauth2_state" | "ticket";
1081
1516
  expires_at: string;
1517
+ connection_id?: string | undefined;
1082
1518
  used_at?: string | undefined;
1083
1519
  }>;
1084
1520
  export type Code = z.infer<typeof codeSchema>;
@@ -1490,10 +1926,10 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
1490
1926
  request_parameter_supported: z.ZodBoolean;
1491
1927
  token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
1492
1928
  }, "strip", z.ZodTypeAny, {
1929
+ issuer: string;
1493
1930
  authorization_endpoint: string;
1494
1931
  token_endpoint: string;
1495
1932
  userinfo_endpoint: string;
1496
- issuer: string;
1497
1933
  device_authorization_endpoint: string;
1498
1934
  mfa_challenge_endpoint: string;
1499
1935
  jwks_uri: string;
@@ -1511,10 +1947,10 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
1511
1947
  request_parameter_supported: boolean;
1512
1948
  token_endpoint_auth_signing_alg_values_supported: string[];
1513
1949
  }, {
1950
+ issuer: string;
1514
1951
  authorization_endpoint: string;
1515
1952
  token_endpoint: string;
1516
1953
  userinfo_endpoint: string;
1517
- issuer: string;
1518
1954
  device_authorization_endpoint: string;
1519
1955
  mfa_challenge_endpoint: string;
1520
1956
  jwks_uri: string;
@@ -1550,11 +1986,11 @@ export declare const loginInsertSchema: z.ZodObject<{
1550
1986
  }, "strip", z.ZodTypeAny, {
1551
1987
  client_id: string;
1552
1988
  username?: string | undefined;
1989
+ audience?: string | undefined;
1553
1990
  vendor_id?: string | undefined;
1554
1991
  response_type?: AuthorizationResponseType | undefined;
1555
1992
  response_mode?: AuthorizationResponseMode | undefined;
1556
1993
  redirect_uri?: string | undefined;
1557
- audience?: string | undefined;
1558
1994
  state?: string | undefined;
1559
1995
  nonce?: string | undefined;
1560
1996
  scope?: string | undefined;
@@ -1563,11 +1999,11 @@ export declare const loginInsertSchema: z.ZodObject<{
1563
1999
  }, {
1564
2000
  client_id: string;
1565
2001
  username?: string | undefined;
2002
+ audience?: string | undefined;
1566
2003
  vendor_id?: string | undefined;
1567
2004
  response_type?: AuthorizationResponseType | undefined;
1568
2005
  response_mode?: AuthorizationResponseMode | undefined;
1569
2006
  redirect_uri?: string | undefined;
1570
- audience?: string | undefined;
1571
2007
  state?: string | undefined;
1572
2008
  nonce?: string | undefined;
1573
2009
  scope?: string | undefined;
@@ -1582,11 +2018,11 @@ export declare const loginInsertSchema: z.ZodObject<{
1582
2018
  authParams: {
1583
2019
  client_id: string;
1584
2020
  username?: string | undefined;
2021
+ audience?: string | undefined;
1585
2022
  vendor_id?: string | undefined;
1586
2023
  response_type?: AuthorizationResponseType | undefined;
1587
2024
  response_mode?: AuthorizationResponseMode | undefined;
1588
2025
  redirect_uri?: string | undefined;
1589
- audience?: string | undefined;
1590
2026
  state?: string | undefined;
1591
2027
  nonce?: string | undefined;
1592
2028
  scope?: string | undefined;
@@ -1601,11 +2037,11 @@ export declare const loginInsertSchema: z.ZodObject<{
1601
2037
  authParams: {
1602
2038
  client_id: string;
1603
2039
  username?: string | undefined;
2040
+ audience?: string | undefined;
1604
2041
  vendor_id?: string | undefined;
1605
2042
  response_type?: AuthorizationResponseType | undefined;
1606
2043
  response_mode?: AuthorizationResponseMode | undefined;
1607
2044
  redirect_uri?: string | undefined;
1608
- audience?: string | undefined;
1609
2045
  state?: string | undefined;
1610
2046
  nonce?: string | undefined;
1611
2047
  scope?: string | undefined;
@@ -1638,11 +2074,11 @@ export declare const loginSchema: z.ZodObject<{
1638
2074
  }, "strip", z.ZodTypeAny, {
1639
2075
  client_id: string;
1640
2076
  username?: string | undefined;
2077
+ audience?: string | undefined;
1641
2078
  vendor_id?: string | undefined;
1642
2079
  response_type?: AuthorizationResponseType | undefined;
1643
2080
  response_mode?: AuthorizationResponseMode | undefined;
1644
2081
  redirect_uri?: string | undefined;
1645
- audience?: string | undefined;
1646
2082
  state?: string | undefined;
1647
2083
  nonce?: string | undefined;
1648
2084
  scope?: string | undefined;
@@ -1651,11 +2087,11 @@ export declare const loginSchema: z.ZodObject<{
1651
2087
  }, {
1652
2088
  client_id: string;
1653
2089
  username?: string | undefined;
2090
+ audience?: string | undefined;
1654
2091
  vendor_id?: string | undefined;
1655
2092
  response_type?: AuthorizationResponseType | undefined;
1656
2093
  response_mode?: AuthorizationResponseMode | undefined;
1657
2094
  redirect_uri?: string | undefined;
1658
- audience?: string | undefined;
1659
2095
  state?: string | undefined;
1660
2096
  nonce?: string | undefined;
1661
2097
  scope?: string | undefined;
@@ -1673,11 +2109,11 @@ export declare const loginSchema: z.ZodObject<{
1673
2109
  authParams: {
1674
2110
  client_id: string;
1675
2111
  username?: string | undefined;
2112
+ audience?: string | undefined;
1676
2113
  vendor_id?: string | undefined;
1677
2114
  response_type?: AuthorizationResponseType | undefined;
1678
2115
  response_mode?: AuthorizationResponseMode | undefined;
1679
2116
  redirect_uri?: string | undefined;
1680
- audience?: string | undefined;
1681
2117
  state?: string | undefined;
1682
2118
  nonce?: string | undefined;
1683
2119
  scope?: string | undefined;
@@ -1695,11 +2131,11 @@ export declare const loginSchema: z.ZodObject<{
1695
2131
  authParams: {
1696
2132
  client_id: string;
1697
2133
  username?: string | undefined;
2134
+ audience?: string | undefined;
1698
2135
  vendor_id?: string | undefined;
1699
2136
  response_type?: AuthorizationResponseType | undefined;
1700
2137
  response_mode?: AuthorizationResponseMode | undefined;
1701
2138
  redirect_uri?: string | undefined;
1702
- audience?: string | undefined;
1703
2139
  state?: string | undefined;
1704
2140
  nonce?: string | undefined;
1705
2141
  scope?: string | undefined;
@@ -1864,14 +2300,14 @@ export declare const logSchema: z.ZodObject<{
1864
2300
  description?: string | undefined;
1865
2301
  connection?: string | undefined;
1866
2302
  user_id?: string | undefined;
1867
- client_id?: string | undefined;
1868
2303
  audience?: string | undefined;
2304
+ client_id?: string | undefined;
1869
2305
  scope?: string[] | undefined;
2306
+ connection_id?: string | undefined;
1870
2307
  log_id?: string | undefined;
1871
2308
  _id?: string | undefined;
1872
2309
  details?: any;
1873
2310
  user_name?: string | undefined;
1874
- connection_id?: string | undefined;
1875
2311
  client_name?: string | undefined;
1876
2312
  strategy?: string | undefined;
1877
2313
  strategy_type?: string | undefined;
@@ -1892,14 +2328,14 @@ export declare const logSchema: z.ZodObject<{
1892
2328
  description?: string | undefined;
1893
2329
  connection?: string | undefined;
1894
2330
  user_id?: string | undefined;
1895
- client_id?: string | undefined;
1896
2331
  audience?: string | undefined;
2332
+ client_id?: string | undefined;
1897
2333
  scope?: string[] | undefined;
2334
+ connection_id?: string | undefined;
1898
2335
  log_id?: string | undefined;
1899
2336
  _id?: string | undefined;
1900
2337
  details?: any;
1901
2338
  user_name?: string | undefined;
1902
- connection_id?: string | undefined;
1903
2339
  client_name?: string | undefined;
1904
2340
  strategy?: string | undefined;
1905
2341
  strategy_type?: string | undefined;
@@ -2120,8 +2556,8 @@ export declare const tenantSchema: z.ZodObject<{
2120
2556
  created_at: string;
2121
2557
  updated_at: string;
2122
2558
  name: string;
2123
- id: string;
2124
2559
  audience: string;
2560
+ id: string;
2125
2561
  sender_email: string;
2126
2562
  sender_name: string;
2127
2563
  support_url?: string | undefined;
@@ -2133,8 +2569,8 @@ export declare const tenantSchema: z.ZodObject<{
2133
2569
  created_at: string;
2134
2570
  updated_at: string;
2135
2571
  name: string;
2136
- id: string;
2137
2572
  audience: string;
2573
+ id: string;
2138
2574
  sender_email: string;
2139
2575
  sender_name: string;
2140
2576
  support_url?: string | undefined;
@@ -3467,11 +3903,11 @@ export declare const universalLoginSessionInsertSchema: z.ZodObject<{
3467
3903
  }, "strip", z.ZodTypeAny, {
3468
3904
  client_id: string;
3469
3905
  username?: string | undefined;
3906
+ audience?: string | undefined;
3470
3907
  vendor_id?: string | undefined;
3471
3908
  response_type?: AuthorizationResponseType | undefined;
3472
3909
  response_mode?: AuthorizationResponseMode | undefined;
3473
3910
  redirect_uri?: string | undefined;
3474
- audience?: string | undefined;
3475
3911
  state?: string | undefined;
3476
3912
  nonce?: string | undefined;
3477
3913
  scope?: string | undefined;
@@ -3480,11 +3916,11 @@ export declare const universalLoginSessionInsertSchema: z.ZodObject<{
3480
3916
  }, {
3481
3917
  client_id: string;
3482
3918
  username?: string | undefined;
3919
+ audience?: string | undefined;
3483
3920
  vendor_id?: string | undefined;
3484
3921
  response_type?: AuthorizationResponseType | undefined;
3485
3922
  response_mode?: AuthorizationResponseMode | undefined;
3486
3923
  redirect_uri?: string | undefined;
3487
- audience?: string | undefined;
3488
3924
  state?: string | undefined;
3489
3925
  nonce?: string | undefined;
3490
3926
  scope?: string | undefined;
@@ -3497,11 +3933,11 @@ export declare const universalLoginSessionInsertSchema: z.ZodObject<{
3497
3933
  authParams: {
3498
3934
  client_id: string;
3499
3935
  username?: string | undefined;
3936
+ audience?: string | undefined;
3500
3937
  vendor_id?: string | undefined;
3501
3938
  response_type?: AuthorizationResponseType | undefined;
3502
3939
  response_mode?: AuthorizationResponseMode | undefined;
3503
3940
  redirect_uri?: string | undefined;
3504
- audience?: string | undefined;
3505
3941
  state?: string | undefined;
3506
3942
  nonce?: string | undefined;
3507
3943
  scope?: string | undefined;
@@ -3515,11 +3951,11 @@ export declare const universalLoginSessionInsertSchema: z.ZodObject<{
3515
3951
  authParams: {
3516
3952
  client_id: string;
3517
3953
  username?: string | undefined;
3954
+ audience?: string | undefined;
3518
3955
  vendor_id?: string | undefined;
3519
3956
  response_type?: AuthorizationResponseType | undefined;
3520
3957
  response_mode?: AuthorizationResponseMode | undefined;
3521
3958
  redirect_uri?: string | undefined;
3522
- audience?: string | undefined;
3523
3959
  state?: string | undefined;
3524
3960
  nonce?: string | undefined;
3525
3961
  scope?: string | undefined;
@@ -3551,11 +3987,11 @@ export declare const universalLoginSessionSchema: z.ZodObject<{
3551
3987
  }, "strip", z.ZodTypeAny, {
3552
3988
  client_id: string;
3553
3989
  username?: string | undefined;
3990
+ audience?: string | undefined;
3554
3991
  vendor_id?: string | undefined;
3555
3992
  response_type?: AuthorizationResponseType | undefined;
3556
3993
  response_mode?: AuthorizationResponseMode | undefined;
3557
3994
  redirect_uri?: string | undefined;
3558
- audience?: string | undefined;
3559
3995
  state?: string | undefined;
3560
3996
  nonce?: string | undefined;
3561
3997
  scope?: string | undefined;
@@ -3564,11 +4000,11 @@ export declare const universalLoginSessionSchema: z.ZodObject<{
3564
4000
  }, {
3565
4001
  client_id: string;
3566
4002
  username?: string | undefined;
4003
+ audience?: string | undefined;
3567
4004
  vendor_id?: string | undefined;
3568
4005
  response_type?: AuthorizationResponseType | undefined;
3569
4006
  response_mode?: AuthorizationResponseMode | undefined;
3570
4007
  redirect_uri?: string | undefined;
3571
- audience?: string | undefined;
3572
4008
  state?: string | undefined;
3573
4009
  nonce?: string | undefined;
3574
4010
  scope?: string | undefined;
@@ -3583,11 +4019,11 @@ export declare const universalLoginSessionSchema: z.ZodObject<{
3583
4019
  authParams: {
3584
4020
  client_id: string;
3585
4021
  username?: string | undefined;
4022
+ audience?: string | undefined;
3586
4023
  vendor_id?: string | undefined;
3587
4024
  response_type?: AuthorizationResponseType | undefined;
3588
4025
  response_mode?: AuthorizationResponseMode | undefined;
3589
4026
  redirect_uri?: string | undefined;
3590
- audience?: string | undefined;
3591
4027
  state?: string | undefined;
3592
4028
  nonce?: string | undefined;
3593
4029
  scope?: string | undefined;
@@ -3603,11 +4039,11 @@ export declare const universalLoginSessionSchema: z.ZodObject<{
3603
4039
  authParams: {
3604
4040
  client_id: string;
3605
4041
  username?: string | undefined;
4042
+ audience?: string | undefined;
3606
4043
  vendor_id?: string | undefined;
3607
4044
  response_type?: AuthorizationResponseType | undefined;
3608
4045
  response_mode?: AuthorizationResponseMode | undefined;
3609
4046
  redirect_uri?: string | undefined;
3610
- audience?: string | undefined;
3611
4047
  state?: string | undefined;
3612
4048
  nonce?: string | undefined;
3613
4049
  scope?: string | undefined;
@@ -3642,11 +4078,11 @@ export declare const otpInsertSchema: z.ZodObject<{
3642
4078
  }, "strip", z.ZodTypeAny, {
3643
4079
  client_id: string;
3644
4080
  username?: string | undefined;
4081
+ audience?: string | undefined;
3645
4082
  vendor_id?: string | undefined;
3646
4083
  response_type?: AuthorizationResponseType | undefined;
3647
4084
  response_mode?: AuthorizationResponseMode | undefined;
3648
4085
  redirect_uri?: string | undefined;
3649
- audience?: string | undefined;
3650
4086
  state?: string | undefined;
3651
4087
  nonce?: string | undefined;
3652
4088
  scope?: string | undefined;
@@ -3655,11 +4091,11 @@ export declare const otpInsertSchema: z.ZodObject<{
3655
4091
  }, {
3656
4092
  client_id: string;
3657
4093
  username?: string | undefined;
4094
+ audience?: string | undefined;
3658
4095
  vendor_id?: string | undefined;
3659
4096
  response_type?: AuthorizationResponseType | undefined;
3660
4097
  response_mode?: AuthorizationResponseMode | undefined;
3661
4098
  redirect_uri?: string | undefined;
3662
- audience?: string | undefined;
3663
4099
  state?: string | undefined;
3664
4100
  nonce?: string | undefined;
3665
4101
  scope?: string | undefined;
@@ -3677,11 +4113,11 @@ export declare const otpInsertSchema: z.ZodObject<{
3677
4113
  authParams: {
3678
4114
  client_id: string;
3679
4115
  username?: string | undefined;
4116
+ audience?: string | undefined;
3680
4117
  vendor_id?: string | undefined;
3681
4118
  response_type?: AuthorizationResponseType | undefined;
3682
4119
  response_mode?: AuthorizationResponseMode | undefined;
3683
4120
  redirect_uri?: string | undefined;
3684
- audience?: string | undefined;
3685
4121
  state?: string | undefined;
3686
4122
  nonce?: string | undefined;
3687
4123
  scope?: string | undefined;
@@ -3700,11 +4136,11 @@ export declare const otpInsertSchema: z.ZodObject<{
3700
4136
  authParams: {
3701
4137
  client_id: string;
3702
4138
  username?: string | undefined;
4139
+ audience?: string | undefined;
3703
4140
  vendor_id?: string | undefined;
3704
4141
  response_type?: AuthorizationResponseType | undefined;
3705
4142
  response_mode?: AuthorizationResponseMode | undefined;
3706
4143
  redirect_uri?: string | undefined;
3707
- audience?: string | undefined;
3708
4144
  state?: string | undefined;
3709
4145
  nonce?: string | undefined;
3710
4146
  scope?: string | undefined;
@@ -3742,11 +4178,11 @@ export declare const otpSchema: z.ZodObject<{
3742
4178
  }, "strip", z.ZodTypeAny, {
3743
4179
  client_id: string;
3744
4180
  username?: string | undefined;
4181
+ audience?: string | undefined;
3745
4182
  vendor_id?: string | undefined;
3746
4183
  response_type?: AuthorizationResponseType | undefined;
3747
4184
  response_mode?: AuthorizationResponseMode | undefined;
3748
4185
  redirect_uri?: string | undefined;
3749
- audience?: string | undefined;
3750
4186
  state?: string | undefined;
3751
4187
  nonce?: string | undefined;
3752
4188
  scope?: string | undefined;
@@ -3755,11 +4191,11 @@ export declare const otpSchema: z.ZodObject<{
3755
4191
  }, {
3756
4192
  client_id: string;
3757
4193
  username?: string | undefined;
4194
+ audience?: string | undefined;
3758
4195
  vendor_id?: string | undefined;
3759
4196
  response_type?: AuthorizationResponseType | undefined;
3760
4197
  response_mode?: AuthorizationResponseMode | undefined;
3761
4198
  redirect_uri?: string | undefined;
3762
- audience?: string | undefined;
3763
4199
  state?: string | undefined;
3764
4200
  nonce?: string | undefined;
3765
4201
  scope?: string | undefined;
@@ -3779,11 +4215,11 @@ export declare const otpSchema: z.ZodObject<{
3779
4215
  authParams: {
3780
4216
  client_id: string;
3781
4217
  username?: string | undefined;
4218
+ audience?: string | undefined;
3782
4219
  vendor_id?: string | undefined;
3783
4220
  response_type?: AuthorizationResponseType | undefined;
3784
4221
  response_mode?: AuthorizationResponseMode | undefined;
3785
4222
  redirect_uri?: string | undefined;
3786
- audience?: string | undefined;
3787
4223
  state?: string | undefined;
3788
4224
  nonce?: string | undefined;
3789
4225
  scope?: string | undefined;
@@ -3803,11 +4239,11 @@ export declare const otpSchema: z.ZodObject<{
3803
4239
  authParams: {
3804
4240
  client_id: string;
3805
4241
  username?: string | undefined;
4242
+ audience?: string | undefined;
3806
4243
  vendor_id?: string | undefined;
3807
4244
  response_type?: AuthorizationResponseType | undefined;
3808
4245
  response_mode?: AuthorizationResponseMode | undefined;
3809
4246
  redirect_uri?: string | undefined;
3810
- audience?: string | undefined;
3811
4247
  state?: string | undefined;
3812
4248
  nonce?: string | undefined;
3813
4249
  scope?: string | undefined;
@@ -3837,11 +4273,11 @@ export declare const authenticationCodeInsertSchema: z.ZodObject<{
3837
4273
  }, "strip", z.ZodTypeAny, {
3838
4274
  client_id: string;
3839
4275
  username?: string | undefined;
4276
+ audience?: string | undefined;
3840
4277
  vendor_id?: string | undefined;
3841
4278
  response_type?: AuthorizationResponseType | undefined;
3842
4279
  response_mode?: AuthorizationResponseMode | undefined;
3843
4280
  redirect_uri?: string | undefined;
3844
- audience?: string | undefined;
3845
4281
  state?: string | undefined;
3846
4282
  nonce?: string | undefined;
3847
4283
  scope?: string | undefined;
@@ -3850,11 +4286,11 @@ export declare const authenticationCodeInsertSchema: z.ZodObject<{
3850
4286
  }, {
3851
4287
  client_id: string;
3852
4288
  username?: string | undefined;
4289
+ audience?: string | undefined;
3853
4290
  vendor_id?: string | undefined;
3854
4291
  response_type?: AuthorizationResponseType | undefined;
3855
4292
  response_mode?: AuthorizationResponseMode | undefined;
3856
4293
  redirect_uri?: string | undefined;
3857
- audience?: string | undefined;
3858
4294
  state?: string | undefined;
3859
4295
  nonce?: string | undefined;
3860
4296
  scope?: string | undefined;
@@ -3874,11 +4310,11 @@ export declare const authenticationCodeInsertSchema: z.ZodObject<{
3874
4310
  authParams: {
3875
4311
  client_id: string;
3876
4312
  username?: string | undefined;
4313
+ audience?: string | undefined;
3877
4314
  vendor_id?: string | undefined;
3878
4315
  response_type?: AuthorizationResponseType | undefined;
3879
4316
  response_mode?: AuthorizationResponseMode | undefined;
3880
4317
  redirect_uri?: string | undefined;
3881
- audience?: string | undefined;
3882
4318
  state?: string | undefined;
3883
4319
  nonce?: string | undefined;
3884
4320
  scope?: string | undefined;
@@ -3894,11 +4330,11 @@ export declare const authenticationCodeInsertSchema: z.ZodObject<{
3894
4330
  authParams: {
3895
4331
  client_id: string;
3896
4332
  username?: string | undefined;
4333
+ audience?: string | undefined;
3897
4334
  vendor_id?: string | undefined;
3898
4335
  response_type?: AuthorizationResponseType | undefined;
3899
4336
  response_mode?: AuthorizationResponseMode | undefined;
3900
4337
  redirect_uri?: string | undefined;
3901
- audience?: string | undefined;
3902
4338
  state?: string | undefined;
3903
4339
  nonce?: string | undefined;
3904
4340
  scope?: string | undefined;
@@ -3926,11 +4362,11 @@ export declare const authenticationCodeSchema: z.ZodObject<{
3926
4362
  }, "strip", z.ZodTypeAny, {
3927
4363
  client_id: string;
3928
4364
  username?: string | undefined;
4365
+ audience?: string | undefined;
3929
4366
  vendor_id?: string | undefined;
3930
4367
  response_type?: AuthorizationResponseType | undefined;
3931
4368
  response_mode?: AuthorizationResponseMode | undefined;
3932
4369
  redirect_uri?: string | undefined;
3933
- audience?: string | undefined;
3934
4370
  state?: string | undefined;
3935
4371
  nonce?: string | undefined;
3936
4372
  scope?: string | undefined;
@@ -3939,11 +4375,11 @@ export declare const authenticationCodeSchema: z.ZodObject<{
3939
4375
  }, {
3940
4376
  client_id: string;
3941
4377
  username?: string | undefined;
4378
+ audience?: string | undefined;
3942
4379
  vendor_id?: string | undefined;
3943
4380
  response_type?: AuthorizationResponseType | undefined;
3944
4381
  response_mode?: AuthorizationResponseMode | undefined;
3945
4382
  redirect_uri?: string | undefined;
3946
- audience?: string | undefined;
3947
4383
  state?: string | undefined;
3948
4384
  nonce?: string | undefined;
3949
4385
  scope?: string | undefined;
@@ -3962,11 +4398,11 @@ export declare const authenticationCodeSchema: z.ZodObject<{
3962
4398
  authParams: {
3963
4399
  client_id: string;
3964
4400
  username?: string | undefined;
4401
+ audience?: string | undefined;
3965
4402
  vendor_id?: string | undefined;
3966
4403
  response_type?: AuthorizationResponseType | undefined;
3967
4404
  response_mode?: AuthorizationResponseMode | undefined;
3968
4405
  redirect_uri?: string | undefined;
3969
- audience?: string | undefined;
3970
4406
  state?: string | undefined;
3971
4407
  nonce?: string | undefined;
3972
4408
  scope?: string | undefined;
@@ -3982,11 +4418,11 @@ export declare const authenticationCodeSchema: z.ZodObject<{
3982
4418
  authParams: {
3983
4419
  client_id: string;
3984
4420
  username?: string | undefined;
4421
+ audience?: string | undefined;
3985
4422
  vendor_id?: string | undefined;
3986
4423
  response_type?: AuthorizationResponseType | undefined;
3987
4424
  response_mode?: AuthorizationResponseMode | undefined;
3988
4425
  redirect_uri?: string | undefined;
3989
- audience?: string | undefined;
3990
4426
  state?: string | undefined;
3991
4427
  nonce?: string | undefined;
3992
4428
  scope?: string | undefined;