@authhero/adapter-interfaces 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapter-interfaces.cjs +1 -1
- package/dist/adapter-interfaces.d.ts +399 -277
- package/dist/adapter-interfaces.iife.js +1 -1
- package/dist/adapter-interfaces.mjs +132 -121
- package/package.json +1 -1
|
@@ -550,188 +550,6 @@ 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 enum LogTypes {
|
|
554
|
-
SUCCESS_API_OPERATION = "sapi",
|
|
555
|
-
SUCCESS_SILENT_AUTH = "ssa",
|
|
556
|
-
FAILED_SILENT_AUTH = "fsa",
|
|
557
|
-
SUCCESS_SIGNUP = "ss",
|
|
558
|
-
FAILED_SIGNUP = "fs",
|
|
559
|
-
SUCCESS_LOGIN = "s",
|
|
560
|
-
FAILED_LOGIN = "f",
|
|
561
|
-
FAILED_LOGIN_INCORRECT_PASSWORD = "fp",
|
|
562
|
-
SUCCESS_LOGOUT = "slo",
|
|
563
|
-
SUCCESS_CROSS_ORIGIN_AUTHENTICATION = "scoa",
|
|
564
|
-
FAILED_CROSS_ORIGIN_AUTHENTICATION = "fcoa",
|
|
565
|
-
SUCCESS_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN = "seacft",
|
|
566
|
-
SUCCESS_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN = "serft",
|
|
567
|
-
CODE_LINK_SENT = "cls",
|
|
568
|
-
NOT_IMPLEMENTED_1 = "seccft"
|
|
569
|
-
}
|
|
570
|
-
declare const LogType: z.ZodEnum<[
|
|
571
|
-
"sapi",
|
|
572
|
-
"ssa",
|
|
573
|
-
"fsa",
|
|
574
|
-
"ss",
|
|
575
|
-
"ssa",
|
|
576
|
-
"fs",
|
|
577
|
-
"s",
|
|
578
|
-
"f",
|
|
579
|
-
"fp",
|
|
580
|
-
"slo",
|
|
581
|
-
"scoa",
|
|
582
|
-
"fcoa",
|
|
583
|
-
"seccft",
|
|
584
|
-
"cls",
|
|
585
|
-
"seacft",
|
|
586
|
-
"serft"
|
|
587
|
-
]>;
|
|
588
|
-
type LogType$1 = z.infer<typeof LogType>;
|
|
589
|
-
export declare const Auth0Client: z.ZodObject<{
|
|
590
|
-
name: z.ZodString;
|
|
591
|
-
version: z.ZodString;
|
|
592
|
-
env: z.ZodOptional<z.ZodObject<{
|
|
593
|
-
node: z.ZodOptional<z.ZodString>;
|
|
594
|
-
}, "strip", z.ZodTypeAny, {
|
|
595
|
-
node?: string | undefined;
|
|
596
|
-
}, {
|
|
597
|
-
node?: string | undefined;
|
|
598
|
-
}>>;
|
|
599
|
-
}, "strip", z.ZodTypeAny, {
|
|
600
|
-
name: string;
|
|
601
|
-
version: string;
|
|
602
|
-
env?: {
|
|
603
|
-
node?: string | undefined;
|
|
604
|
-
} | undefined;
|
|
605
|
-
}, {
|
|
606
|
-
name: string;
|
|
607
|
-
version: string;
|
|
608
|
-
env?: {
|
|
609
|
-
node?: string | undefined;
|
|
610
|
-
} | undefined;
|
|
611
|
-
}>;
|
|
612
|
-
export declare const logSchema: z.ZodObject<{
|
|
613
|
-
type: z.ZodEnum<[
|
|
614
|
-
"sapi",
|
|
615
|
-
"ssa",
|
|
616
|
-
"fsa",
|
|
617
|
-
"ss",
|
|
618
|
-
"ssa",
|
|
619
|
-
"fs",
|
|
620
|
-
"s",
|
|
621
|
-
"f",
|
|
622
|
-
"fp",
|
|
623
|
-
"slo",
|
|
624
|
-
"scoa",
|
|
625
|
-
"fcoa",
|
|
626
|
-
"seccft",
|
|
627
|
-
"cls",
|
|
628
|
-
"seacft",
|
|
629
|
-
"serft"
|
|
630
|
-
]>;
|
|
631
|
-
date: z.ZodString;
|
|
632
|
-
description: z.ZodOptional<z.ZodString>;
|
|
633
|
-
log_id: z.ZodOptional<z.ZodString>;
|
|
634
|
-
_id: z.ZodOptional<z.ZodString>;
|
|
635
|
-
ip: z.ZodString;
|
|
636
|
-
user_agent: z.ZodString;
|
|
637
|
-
details: z.ZodOptional<z.ZodAny>;
|
|
638
|
-
isMobile: z.ZodBoolean;
|
|
639
|
-
user_id: z.ZodOptional<z.ZodString>;
|
|
640
|
-
user_name: z.ZodOptional<z.ZodString>;
|
|
641
|
-
connection: z.ZodOptional<z.ZodString>;
|
|
642
|
-
connection_id: z.ZodOptional<z.ZodString>;
|
|
643
|
-
client_id: z.ZodOptional<z.ZodString>;
|
|
644
|
-
client_name: z.ZodOptional<z.ZodString>;
|
|
645
|
-
audience: z.ZodOptional<z.ZodString>;
|
|
646
|
-
scope: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
647
|
-
strategy: z.ZodOptional<z.ZodString>;
|
|
648
|
-
strategy_type: z.ZodOptional<z.ZodString>;
|
|
649
|
-
hostname: z.ZodOptional<z.ZodString>;
|
|
650
|
-
auth0_client: z.ZodOptional<z.ZodObject<{
|
|
651
|
-
name: z.ZodString;
|
|
652
|
-
version: z.ZodString;
|
|
653
|
-
env: z.ZodOptional<z.ZodObject<{
|
|
654
|
-
node: z.ZodOptional<z.ZodString>;
|
|
655
|
-
}, "strip", z.ZodTypeAny, {
|
|
656
|
-
node?: string | undefined;
|
|
657
|
-
}, {
|
|
658
|
-
node?: string | undefined;
|
|
659
|
-
}>>;
|
|
660
|
-
}, "strip", z.ZodTypeAny, {
|
|
661
|
-
name: string;
|
|
662
|
-
version: string;
|
|
663
|
-
env?: {
|
|
664
|
-
node?: string | undefined;
|
|
665
|
-
} | undefined;
|
|
666
|
-
}, {
|
|
667
|
-
name: string;
|
|
668
|
-
version: string;
|
|
669
|
-
env?: {
|
|
670
|
-
node?: string | undefined;
|
|
671
|
-
} | undefined;
|
|
672
|
-
}>>;
|
|
673
|
-
}, "strip", z.ZodTypeAny, {
|
|
674
|
-
type: "sapi" | "ssa" | "fsa" | "ss" | "fs" | "s" | "f" | "fp" | "slo" | "scoa" | "fcoa" | "seacft" | "serft" | "cls" | "seccft";
|
|
675
|
-
date: string;
|
|
676
|
-
ip: string;
|
|
677
|
-
user_agent: string;
|
|
678
|
-
isMobile: boolean;
|
|
679
|
-
description?: string | undefined;
|
|
680
|
-
connection?: string | undefined;
|
|
681
|
-
user_id?: string | undefined;
|
|
682
|
-
log_id?: string | undefined;
|
|
683
|
-
_id?: string | undefined;
|
|
684
|
-
details?: any;
|
|
685
|
-
user_name?: string | undefined;
|
|
686
|
-
connection_id?: string | undefined;
|
|
687
|
-
client_id?: string | undefined;
|
|
688
|
-
client_name?: string | undefined;
|
|
689
|
-
audience?: string | undefined;
|
|
690
|
-
scope?: string[] | undefined;
|
|
691
|
-
strategy?: string | undefined;
|
|
692
|
-
strategy_type?: string | undefined;
|
|
693
|
-
hostname?: string | undefined;
|
|
694
|
-
auth0_client?: {
|
|
695
|
-
name: string;
|
|
696
|
-
version: string;
|
|
697
|
-
env?: {
|
|
698
|
-
node?: string | undefined;
|
|
699
|
-
} | undefined;
|
|
700
|
-
} | undefined;
|
|
701
|
-
}, {
|
|
702
|
-
type: "sapi" | "ssa" | "fsa" | "ss" | "fs" | "s" | "f" | "fp" | "slo" | "scoa" | "fcoa" | "seacft" | "serft" | "cls" | "seccft";
|
|
703
|
-
date: string;
|
|
704
|
-
ip: string;
|
|
705
|
-
user_agent: string;
|
|
706
|
-
isMobile: boolean;
|
|
707
|
-
description?: string | undefined;
|
|
708
|
-
connection?: string | undefined;
|
|
709
|
-
user_id?: string | undefined;
|
|
710
|
-
log_id?: string | undefined;
|
|
711
|
-
_id?: string | undefined;
|
|
712
|
-
details?: any;
|
|
713
|
-
user_name?: string | undefined;
|
|
714
|
-
connection_id?: string | undefined;
|
|
715
|
-
client_id?: string | undefined;
|
|
716
|
-
client_name?: string | undefined;
|
|
717
|
-
audience?: string | undefined;
|
|
718
|
-
scope?: string[] | undefined;
|
|
719
|
-
strategy?: string | undefined;
|
|
720
|
-
strategy_type?: string | undefined;
|
|
721
|
-
hostname?: string | undefined;
|
|
722
|
-
auth0_client?: {
|
|
723
|
-
name: string;
|
|
724
|
-
version: string;
|
|
725
|
-
env?: {
|
|
726
|
-
node?: string | undefined;
|
|
727
|
-
} | undefined;
|
|
728
|
-
} | undefined;
|
|
729
|
-
}>;
|
|
730
|
-
export type Log = z.infer<typeof logSchema>;
|
|
731
|
-
export type LogsResponse = Log & {
|
|
732
|
-
log_id: string;
|
|
733
|
-
_id: string;
|
|
734
|
-
};
|
|
735
553
|
export declare const applicationInsertSchema: z.ZodObject<{
|
|
736
554
|
id: z.ZodString;
|
|
737
555
|
name: z.ZodString;
|
|
@@ -836,27 +654,27 @@ export declare const authParamsSchema: z.ZodObject<{
|
|
|
836
654
|
}, "strip", z.ZodTypeAny, {
|
|
837
655
|
client_id: string;
|
|
838
656
|
username?: string | undefined;
|
|
839
|
-
audience?: string | undefined;
|
|
840
|
-
scope?: string | undefined;
|
|
841
657
|
vendor_id?: string | undefined;
|
|
842
658
|
response_type?: AuthorizationResponseType | undefined;
|
|
843
659
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
844
660
|
redirect_uri?: string | undefined;
|
|
661
|
+
audience?: string | undefined;
|
|
845
662
|
state?: string | undefined;
|
|
846
663
|
nonce?: string | undefined;
|
|
664
|
+
scope?: string | undefined;
|
|
847
665
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
848
666
|
code_challenge?: string | undefined;
|
|
849
667
|
}, {
|
|
850
668
|
client_id: string;
|
|
851
669
|
username?: string | undefined;
|
|
852
|
-
audience?: string | undefined;
|
|
853
|
-
scope?: string | undefined;
|
|
854
670
|
vendor_id?: string | undefined;
|
|
855
671
|
response_type?: AuthorizationResponseType | undefined;
|
|
856
672
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
857
673
|
redirect_uri?: string | undefined;
|
|
674
|
+
audience?: string | undefined;
|
|
858
675
|
state?: string | undefined;
|
|
859
676
|
nonce?: string | undefined;
|
|
677
|
+
scope?: string | undefined;
|
|
860
678
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
861
679
|
code_challenge?: string | undefined;
|
|
862
680
|
}>;
|
|
@@ -878,27 +696,27 @@ export declare const authenticationCodeInsertSchema: z.ZodObject<{
|
|
|
878
696
|
}, "strip", z.ZodTypeAny, {
|
|
879
697
|
client_id: string;
|
|
880
698
|
username?: string | undefined;
|
|
881
|
-
audience?: string | undefined;
|
|
882
|
-
scope?: string | undefined;
|
|
883
699
|
vendor_id?: string | undefined;
|
|
884
700
|
response_type?: AuthorizationResponseType | undefined;
|
|
885
701
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
886
702
|
redirect_uri?: string | undefined;
|
|
703
|
+
audience?: string | undefined;
|
|
887
704
|
state?: string | undefined;
|
|
888
705
|
nonce?: string | undefined;
|
|
706
|
+
scope?: string | undefined;
|
|
889
707
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
890
708
|
code_challenge?: string | undefined;
|
|
891
709
|
}, {
|
|
892
710
|
client_id: string;
|
|
893
711
|
username?: string | undefined;
|
|
894
|
-
audience?: string | undefined;
|
|
895
|
-
scope?: string | undefined;
|
|
896
712
|
vendor_id?: string | undefined;
|
|
897
713
|
response_type?: AuthorizationResponseType | undefined;
|
|
898
714
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
899
715
|
redirect_uri?: string | undefined;
|
|
716
|
+
audience?: string | undefined;
|
|
900
717
|
state?: string | undefined;
|
|
901
718
|
nonce?: string | undefined;
|
|
719
|
+
scope?: string | undefined;
|
|
902
720
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
903
721
|
code_challenge?: string | undefined;
|
|
904
722
|
}>;
|
|
@@ -914,14 +732,14 @@ export declare const authenticationCodeInsertSchema: z.ZodObject<{
|
|
|
914
732
|
authParams: {
|
|
915
733
|
client_id: string;
|
|
916
734
|
username?: string | undefined;
|
|
917
|
-
audience?: string | undefined;
|
|
918
|
-
scope?: string | undefined;
|
|
919
735
|
vendor_id?: string | undefined;
|
|
920
736
|
response_type?: AuthorizationResponseType | undefined;
|
|
921
737
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
922
738
|
redirect_uri?: string | undefined;
|
|
739
|
+
audience?: string | undefined;
|
|
923
740
|
state?: string | undefined;
|
|
924
741
|
nonce?: string | undefined;
|
|
742
|
+
scope?: string | undefined;
|
|
925
743
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
926
744
|
code_challenge?: string | undefined;
|
|
927
745
|
};
|
|
@@ -934,14 +752,14 @@ export declare const authenticationCodeInsertSchema: z.ZodObject<{
|
|
|
934
752
|
authParams: {
|
|
935
753
|
client_id: string;
|
|
936
754
|
username?: string | undefined;
|
|
937
|
-
audience?: string | undefined;
|
|
938
|
-
scope?: string | undefined;
|
|
939
755
|
vendor_id?: string | undefined;
|
|
940
756
|
response_type?: AuthorizationResponseType | undefined;
|
|
941
757
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
942
758
|
redirect_uri?: string | undefined;
|
|
759
|
+
audience?: string | undefined;
|
|
943
760
|
state?: string | undefined;
|
|
944
761
|
nonce?: string | undefined;
|
|
762
|
+
scope?: string | undefined;
|
|
945
763
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
946
764
|
code_challenge?: string | undefined;
|
|
947
765
|
};
|
|
@@ -967,27 +785,27 @@ export declare const authenticationCodeSchema: z.ZodObject<{
|
|
|
967
785
|
}, "strip", z.ZodTypeAny, {
|
|
968
786
|
client_id: string;
|
|
969
787
|
username?: string | undefined;
|
|
970
|
-
audience?: string | undefined;
|
|
971
|
-
scope?: string | undefined;
|
|
972
788
|
vendor_id?: string | undefined;
|
|
973
789
|
response_type?: AuthorizationResponseType | undefined;
|
|
974
790
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
975
791
|
redirect_uri?: string | undefined;
|
|
792
|
+
audience?: string | undefined;
|
|
976
793
|
state?: string | undefined;
|
|
977
794
|
nonce?: string | undefined;
|
|
795
|
+
scope?: string | undefined;
|
|
978
796
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
979
797
|
code_challenge?: string | undefined;
|
|
980
798
|
}, {
|
|
981
799
|
client_id: string;
|
|
982
800
|
username?: string | undefined;
|
|
983
|
-
audience?: string | undefined;
|
|
984
|
-
scope?: string | undefined;
|
|
985
801
|
vendor_id?: string | undefined;
|
|
986
802
|
response_type?: AuthorizationResponseType | undefined;
|
|
987
803
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
988
804
|
redirect_uri?: string | undefined;
|
|
805
|
+
audience?: string | undefined;
|
|
989
806
|
state?: string | undefined;
|
|
990
807
|
nonce?: string | undefined;
|
|
808
|
+
scope?: string | undefined;
|
|
991
809
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
992
810
|
code_challenge?: string | undefined;
|
|
993
811
|
}>;
|
|
@@ -1002,14 +820,14 @@ export declare const authenticationCodeSchema: z.ZodObject<{
|
|
|
1002
820
|
authParams: {
|
|
1003
821
|
client_id: string;
|
|
1004
822
|
username?: string | undefined;
|
|
1005
|
-
audience?: string | undefined;
|
|
1006
|
-
scope?: string | undefined;
|
|
1007
823
|
vendor_id?: string | undefined;
|
|
1008
824
|
response_type?: AuthorizationResponseType | undefined;
|
|
1009
825
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1010
826
|
redirect_uri?: string | undefined;
|
|
827
|
+
audience?: string | undefined;
|
|
1011
828
|
state?: string | undefined;
|
|
1012
829
|
nonce?: string | undefined;
|
|
830
|
+
scope?: string | undefined;
|
|
1013
831
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
1014
832
|
code_challenge?: string | undefined;
|
|
1015
833
|
};
|
|
@@ -1022,14 +840,14 @@ export declare const authenticationCodeSchema: z.ZodObject<{
|
|
|
1022
840
|
authParams: {
|
|
1023
841
|
client_id: string;
|
|
1024
842
|
username?: string | undefined;
|
|
1025
|
-
audience?: string | undefined;
|
|
1026
|
-
scope?: string | undefined;
|
|
1027
843
|
vendor_id?: string | undefined;
|
|
1028
844
|
response_type?: AuthorizationResponseType | undefined;
|
|
1029
845
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1030
846
|
redirect_uri?: string | undefined;
|
|
847
|
+
audience?: string | undefined;
|
|
1031
848
|
state?: string | undefined;
|
|
1032
849
|
nonce?: string | undefined;
|
|
850
|
+
scope?: string | undefined;
|
|
1033
851
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
1034
852
|
code_challenge?: string | undefined;
|
|
1035
853
|
};
|
|
@@ -1205,12 +1023,12 @@ export declare const ClientSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1205
1023
|
created_at: string;
|
|
1206
1024
|
updated_at: string;
|
|
1207
1025
|
name: string;
|
|
1208
|
-
client_id?: string | undefined;
|
|
1209
|
-
scope?: string | undefined;
|
|
1210
1026
|
id?: string | undefined;
|
|
1211
1027
|
client_secret?: string | undefined;
|
|
1028
|
+
client_id?: string | undefined;
|
|
1212
1029
|
response_type?: AuthorizationResponseType | undefined;
|
|
1213
1030
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1031
|
+
scope?: string | undefined;
|
|
1214
1032
|
authorization_endpoint?: string | undefined;
|
|
1215
1033
|
private_key?: string | undefined;
|
|
1216
1034
|
kid?: string | undefined;
|
|
@@ -1222,12 +1040,12 @@ export declare const ClientSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1222
1040
|
created_at: string;
|
|
1223
1041
|
updated_at: string;
|
|
1224
1042
|
name: string;
|
|
1225
|
-
client_id?: string | undefined;
|
|
1226
|
-
scope?: string | undefined;
|
|
1227
1043
|
id?: string | undefined;
|
|
1228
1044
|
client_secret?: string | undefined;
|
|
1045
|
+
client_id?: string | undefined;
|
|
1229
1046
|
response_type?: AuthorizationResponseType | undefined;
|
|
1230
1047
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1048
|
+
scope?: string | undefined;
|
|
1231
1049
|
authorization_endpoint?: string | undefined;
|
|
1232
1050
|
private_key?: string | undefined;
|
|
1233
1051
|
kid?: string | undefined;
|
|
@@ -1268,12 +1086,12 @@ export declare const ClientSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1268
1086
|
created_at: string;
|
|
1269
1087
|
updated_at: string;
|
|
1270
1088
|
name: string;
|
|
1271
|
-
client_id?: string | undefined;
|
|
1272
|
-
scope?: string | undefined;
|
|
1273
1089
|
id?: string | undefined;
|
|
1274
1090
|
client_secret?: string | undefined;
|
|
1091
|
+
client_id?: string | undefined;
|
|
1275
1092
|
response_type?: AuthorizationResponseType | undefined;
|
|
1276
1093
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1094
|
+
scope?: string | undefined;
|
|
1277
1095
|
authorization_endpoint?: string | undefined;
|
|
1278
1096
|
private_key?: string | undefined;
|
|
1279
1097
|
kid?: string | undefined;
|
|
@@ -1314,12 +1132,12 @@ export declare const ClientSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1314
1132
|
created_at: string;
|
|
1315
1133
|
updated_at: string;
|
|
1316
1134
|
name: string;
|
|
1317
|
-
client_id?: string | undefined;
|
|
1318
|
-
scope?: string | undefined;
|
|
1319
1135
|
id?: string | undefined;
|
|
1320
1136
|
client_secret?: string | undefined;
|
|
1137
|
+
client_id?: string | undefined;
|
|
1321
1138
|
response_type?: AuthorizationResponseType | undefined;
|
|
1322
1139
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1140
|
+
scope?: string | undefined;
|
|
1323
1141
|
authorization_endpoint?: string | undefined;
|
|
1324
1142
|
private_key?: string | undefined;
|
|
1325
1143
|
kid?: string | undefined;
|
|
@@ -1418,12 +1236,12 @@ export declare const PartialClientSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1418
1236
|
created_at?: string | undefined;
|
|
1419
1237
|
updated_at?: string | undefined;
|
|
1420
1238
|
name?: string | undefined;
|
|
1421
|
-
client_id?: string | undefined;
|
|
1422
|
-
scope?: string | undefined;
|
|
1423
1239
|
id?: string | undefined;
|
|
1424
1240
|
client_secret?: string | undefined;
|
|
1241
|
+
client_id?: string | undefined;
|
|
1425
1242
|
response_type?: AuthorizationResponseType | undefined;
|
|
1426
1243
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1244
|
+
scope?: string | undefined;
|
|
1427
1245
|
authorization_endpoint?: string | undefined;
|
|
1428
1246
|
private_key?: string | undefined;
|
|
1429
1247
|
kid?: string | undefined;
|
|
@@ -1435,12 +1253,12 @@ export declare const PartialClientSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1435
1253
|
created_at?: string | undefined;
|
|
1436
1254
|
updated_at?: string | undefined;
|
|
1437
1255
|
name?: string | undefined;
|
|
1438
|
-
client_id?: string | undefined;
|
|
1439
|
-
scope?: string | undefined;
|
|
1440
1256
|
id?: string | undefined;
|
|
1441
1257
|
client_secret?: string | undefined;
|
|
1258
|
+
client_id?: string | undefined;
|
|
1442
1259
|
response_type?: AuthorizationResponseType | undefined;
|
|
1443
1260
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1261
|
+
scope?: string | undefined;
|
|
1444
1262
|
authorization_endpoint?: string | undefined;
|
|
1445
1263
|
private_key?: string | undefined;
|
|
1446
1264
|
kid?: string | undefined;
|
|
@@ -1481,12 +1299,12 @@ export declare const PartialClientSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1481
1299
|
created_at?: string | undefined;
|
|
1482
1300
|
updated_at?: string | undefined;
|
|
1483
1301
|
name?: string | undefined;
|
|
1484
|
-
client_id?: string | undefined;
|
|
1485
|
-
scope?: string | undefined;
|
|
1486
1302
|
id?: string | undefined;
|
|
1487
1303
|
client_secret?: string | undefined;
|
|
1304
|
+
client_id?: string | undefined;
|
|
1488
1305
|
response_type?: AuthorizationResponseType | undefined;
|
|
1489
1306
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1307
|
+
scope?: string | undefined;
|
|
1490
1308
|
authorization_endpoint?: string | undefined;
|
|
1491
1309
|
private_key?: string | undefined;
|
|
1492
1310
|
kid?: string | undefined;
|
|
@@ -1527,12 +1345,12 @@ export declare const PartialClientSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1527
1345
|
created_at?: string | undefined;
|
|
1528
1346
|
updated_at?: string | undefined;
|
|
1529
1347
|
name?: string | undefined;
|
|
1530
|
-
client_id?: string | undefined;
|
|
1531
|
-
scope?: string | undefined;
|
|
1532
1348
|
id?: string | undefined;
|
|
1533
1349
|
client_secret?: string | undefined;
|
|
1350
|
+
client_id?: string | undefined;
|
|
1534
1351
|
response_type?: AuthorizationResponseType | undefined;
|
|
1535
1352
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1353
|
+
scope?: string | undefined;
|
|
1536
1354
|
authorization_endpoint?: string | undefined;
|
|
1537
1355
|
private_key?: string | undefined;
|
|
1538
1356
|
kid?: string | undefined;
|
|
@@ -1570,12 +1388,12 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1570
1388
|
scope: z.ZodOptional<z.ZodString>;
|
|
1571
1389
|
}, "strip", z.ZodTypeAny, {
|
|
1572
1390
|
name: string;
|
|
1573
|
-
client_id?: string | undefined;
|
|
1574
|
-
scope?: string | undefined;
|
|
1575
1391
|
id?: string | undefined;
|
|
1576
1392
|
client_secret?: string | undefined;
|
|
1393
|
+
client_id?: string | undefined;
|
|
1577
1394
|
response_type?: AuthorizationResponseType | undefined;
|
|
1578
1395
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1396
|
+
scope?: string | undefined;
|
|
1579
1397
|
authorization_endpoint?: string | undefined;
|
|
1580
1398
|
private_key?: string | undefined;
|
|
1581
1399
|
kid?: string | undefined;
|
|
@@ -1585,12 +1403,12 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
1585
1403
|
userinfo_endpoint?: string | undefined;
|
|
1586
1404
|
}, {
|
|
1587
1405
|
name: string;
|
|
1588
|
-
client_id?: string | undefined;
|
|
1589
|
-
scope?: string | undefined;
|
|
1590
1406
|
id?: string | undefined;
|
|
1591
1407
|
client_secret?: string | undefined;
|
|
1408
|
+
client_id?: string | undefined;
|
|
1592
1409
|
response_type?: AuthorizationResponseType | undefined;
|
|
1593
1410
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1411
|
+
scope?: string | undefined;
|
|
1594
1412
|
authorization_endpoint?: string | undefined;
|
|
1595
1413
|
private_key?: string | undefined;
|
|
1596
1414
|
kid?: string | undefined;
|
|
@@ -1623,12 +1441,12 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1623
1441
|
created_at: string;
|
|
1624
1442
|
updated_at: string;
|
|
1625
1443
|
name: string;
|
|
1626
|
-
client_id?: string | undefined;
|
|
1627
|
-
scope?: string | undefined;
|
|
1628
1444
|
id?: string | undefined;
|
|
1629
1445
|
client_secret?: string | undefined;
|
|
1446
|
+
client_id?: string | undefined;
|
|
1630
1447
|
response_type?: AuthorizationResponseType | undefined;
|
|
1631
1448
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1449
|
+
scope?: string | undefined;
|
|
1632
1450
|
authorization_endpoint?: string | undefined;
|
|
1633
1451
|
private_key?: string | undefined;
|
|
1634
1452
|
kid?: string | undefined;
|
|
@@ -1640,12 +1458,12 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1640
1458
|
created_at: string;
|
|
1641
1459
|
updated_at: string;
|
|
1642
1460
|
name: string;
|
|
1643
|
-
client_id?: string | undefined;
|
|
1644
|
-
scope?: string | undefined;
|
|
1645
1461
|
id?: string | undefined;
|
|
1646
1462
|
client_secret?: string | undefined;
|
|
1463
|
+
client_id?: string | undefined;
|
|
1647
1464
|
response_type?: AuthorizationResponseType | undefined;
|
|
1648
1465
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1466
|
+
scope?: string | undefined;
|
|
1649
1467
|
authorization_endpoint?: string | undefined;
|
|
1650
1468
|
private_key?: string | undefined;
|
|
1651
1469
|
kid?: string | undefined;
|
|
@@ -1918,27 +1736,27 @@ export declare const otpInsertSchema: z.ZodObject<{
|
|
|
1918
1736
|
}, "strip", z.ZodTypeAny, {
|
|
1919
1737
|
client_id: string;
|
|
1920
1738
|
username?: string | undefined;
|
|
1921
|
-
audience?: string | undefined;
|
|
1922
|
-
scope?: string | undefined;
|
|
1923
1739
|
vendor_id?: string | undefined;
|
|
1924
1740
|
response_type?: AuthorizationResponseType | undefined;
|
|
1925
1741
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1926
1742
|
redirect_uri?: string | undefined;
|
|
1743
|
+
audience?: string | undefined;
|
|
1927
1744
|
state?: string | undefined;
|
|
1928
1745
|
nonce?: string | undefined;
|
|
1746
|
+
scope?: string | undefined;
|
|
1929
1747
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
1930
1748
|
code_challenge?: string | undefined;
|
|
1931
1749
|
}, {
|
|
1932
1750
|
client_id: string;
|
|
1933
1751
|
username?: string | undefined;
|
|
1934
|
-
audience?: string | undefined;
|
|
1935
|
-
scope?: string | undefined;
|
|
1936
1752
|
vendor_id?: string | undefined;
|
|
1937
1753
|
response_type?: AuthorizationResponseType | undefined;
|
|
1938
1754
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1939
1755
|
redirect_uri?: string | undefined;
|
|
1756
|
+
audience?: string | undefined;
|
|
1940
1757
|
state?: string | undefined;
|
|
1941
1758
|
nonce?: string | undefined;
|
|
1759
|
+
scope?: string | undefined;
|
|
1942
1760
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
1943
1761
|
code_challenge?: string | undefined;
|
|
1944
1762
|
}>;
|
|
@@ -1952,22 +1770,22 @@ export declare const otpInsertSchema: z.ZodObject<{
|
|
|
1952
1770
|
authParams: {
|
|
1953
1771
|
client_id: string;
|
|
1954
1772
|
username?: string | undefined;
|
|
1955
|
-
audience?: string | undefined;
|
|
1956
|
-
scope?: string | undefined;
|
|
1957
1773
|
vendor_id?: string | undefined;
|
|
1958
1774
|
response_type?: AuthorizationResponseType | undefined;
|
|
1959
1775
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1960
1776
|
redirect_uri?: string | undefined;
|
|
1777
|
+
audience?: string | undefined;
|
|
1961
1778
|
state?: string | undefined;
|
|
1962
1779
|
nonce?: string | undefined;
|
|
1780
|
+
scope?: string | undefined;
|
|
1963
1781
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
1964
1782
|
code_challenge?: string | undefined;
|
|
1965
1783
|
};
|
|
1966
1784
|
expires_at: string;
|
|
1967
1785
|
send: "code" | "link";
|
|
1968
1786
|
user_id?: string | undefined;
|
|
1969
|
-
ip?: string | undefined;
|
|
1970
1787
|
used_at?: string | undefined;
|
|
1788
|
+
ip?: string | undefined;
|
|
1971
1789
|
}, {
|
|
1972
1790
|
code: string;
|
|
1973
1791
|
email: string;
|
|
@@ -1975,22 +1793,22 @@ export declare const otpInsertSchema: z.ZodObject<{
|
|
|
1975
1793
|
authParams: {
|
|
1976
1794
|
client_id: string;
|
|
1977
1795
|
username?: string | undefined;
|
|
1978
|
-
audience?: string | undefined;
|
|
1979
|
-
scope?: string | undefined;
|
|
1980
1796
|
vendor_id?: string | undefined;
|
|
1981
1797
|
response_type?: AuthorizationResponseType | undefined;
|
|
1982
1798
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1983
1799
|
redirect_uri?: string | undefined;
|
|
1800
|
+
audience?: string | undefined;
|
|
1984
1801
|
state?: string | undefined;
|
|
1985
1802
|
nonce?: string | undefined;
|
|
1803
|
+
scope?: string | undefined;
|
|
1986
1804
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
1987
1805
|
code_challenge?: string | undefined;
|
|
1988
1806
|
};
|
|
1989
1807
|
expires_at: string;
|
|
1990
1808
|
send: "code" | "link";
|
|
1991
1809
|
user_id?: string | undefined;
|
|
1992
|
-
ip?: string | undefined;
|
|
1993
1810
|
used_at?: string | undefined;
|
|
1811
|
+
ip?: string | undefined;
|
|
1994
1812
|
}>;
|
|
1995
1813
|
export type OTPInsert = z.infer<typeof otpInsertSchema>;
|
|
1996
1814
|
export declare const otpSchema: z.ZodObject<{
|
|
@@ -2018,27 +1836,27 @@ export declare const otpSchema: z.ZodObject<{
|
|
|
2018
1836
|
}, "strip", z.ZodTypeAny, {
|
|
2019
1837
|
client_id: string;
|
|
2020
1838
|
username?: string | undefined;
|
|
2021
|
-
audience?: string | undefined;
|
|
2022
|
-
scope?: string | undefined;
|
|
2023
1839
|
vendor_id?: string | undefined;
|
|
2024
1840
|
response_type?: AuthorizationResponseType | undefined;
|
|
2025
1841
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
2026
1842
|
redirect_uri?: string | undefined;
|
|
1843
|
+
audience?: string | undefined;
|
|
2027
1844
|
state?: string | undefined;
|
|
2028
1845
|
nonce?: string | undefined;
|
|
1846
|
+
scope?: string | undefined;
|
|
2029
1847
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
2030
1848
|
code_challenge?: string | undefined;
|
|
2031
1849
|
}, {
|
|
2032
1850
|
client_id: string;
|
|
2033
1851
|
username?: string | undefined;
|
|
2034
|
-
audience?: string | undefined;
|
|
2035
|
-
scope?: string | undefined;
|
|
2036
1852
|
vendor_id?: string | undefined;
|
|
2037
1853
|
response_type?: AuthorizationResponseType | undefined;
|
|
2038
1854
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
2039
1855
|
redirect_uri?: string | undefined;
|
|
1856
|
+
audience?: string | undefined;
|
|
2040
1857
|
state?: string | undefined;
|
|
2041
1858
|
nonce?: string | undefined;
|
|
1859
|
+
scope?: string | undefined;
|
|
2042
1860
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
2043
1861
|
code_challenge?: string | undefined;
|
|
2044
1862
|
}>;
|
|
@@ -2054,22 +1872,22 @@ export declare const otpSchema: z.ZodObject<{
|
|
|
2054
1872
|
authParams: {
|
|
2055
1873
|
client_id: string;
|
|
2056
1874
|
username?: string | undefined;
|
|
2057
|
-
audience?: string | undefined;
|
|
2058
|
-
scope?: string | undefined;
|
|
2059
1875
|
vendor_id?: string | undefined;
|
|
2060
1876
|
response_type?: AuthorizationResponseType | undefined;
|
|
2061
1877
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
2062
1878
|
redirect_uri?: string | undefined;
|
|
1879
|
+
audience?: string | undefined;
|
|
2063
1880
|
state?: string | undefined;
|
|
2064
1881
|
nonce?: string | undefined;
|
|
1882
|
+
scope?: string | undefined;
|
|
2065
1883
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
2066
1884
|
code_challenge?: string | undefined;
|
|
2067
1885
|
};
|
|
2068
1886
|
expires_at: string;
|
|
2069
1887
|
send: "code" | "link";
|
|
2070
1888
|
user_id?: string | undefined;
|
|
2071
|
-
ip?: string | undefined;
|
|
2072
1889
|
used_at?: string | undefined;
|
|
1890
|
+
ip?: string | undefined;
|
|
2073
1891
|
}, {
|
|
2074
1892
|
code: string;
|
|
2075
1893
|
created_at: string;
|
|
@@ -2078,32 +1896,52 @@ export declare const otpSchema: z.ZodObject<{
|
|
|
2078
1896
|
authParams: {
|
|
2079
1897
|
client_id: string;
|
|
2080
1898
|
username?: string | undefined;
|
|
2081
|
-
audience?: string | undefined;
|
|
2082
|
-
scope?: string | undefined;
|
|
2083
1899
|
vendor_id?: string | undefined;
|
|
2084
1900
|
response_type?: AuthorizationResponseType | undefined;
|
|
2085
1901
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
2086
1902
|
redirect_uri?: string | undefined;
|
|
1903
|
+
audience?: string | undefined;
|
|
2087
1904
|
state?: string | undefined;
|
|
2088
1905
|
nonce?: string | undefined;
|
|
1906
|
+
scope?: string | undefined;
|
|
2089
1907
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
2090
1908
|
code_challenge?: string | undefined;
|
|
2091
1909
|
};
|
|
2092
1910
|
expires_at: string;
|
|
2093
1911
|
send: "code" | "link";
|
|
2094
1912
|
user_id?: string | undefined;
|
|
2095
|
-
ip?: string | undefined;
|
|
2096
1913
|
used_at?: string | undefined;
|
|
1914
|
+
ip?: string | undefined;
|
|
2097
1915
|
}>;
|
|
2098
1916
|
export type OTP = z.infer<typeof otpSchema>;
|
|
2099
|
-
export
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
}
|
|
2103
|
-
|
|
1917
|
+
export declare const passwordInsertSchema: z.ZodObject<{
|
|
1918
|
+
user_id: z.ZodString;
|
|
1919
|
+
password: z.ZodString;
|
|
1920
|
+
}, "strip", z.ZodTypeAny, {
|
|
1921
|
+
password: string;
|
|
2104
1922
|
user_id: string;
|
|
1923
|
+
}, {
|
|
2105
1924
|
password: string;
|
|
2106
|
-
|
|
1925
|
+
user_id: string;
|
|
1926
|
+
}>;
|
|
1927
|
+
export type PasswordInsert = z.infer<typeof passwordInsertSchema>;
|
|
1928
|
+
export declare const passwordSchema: z.ZodObject<{
|
|
1929
|
+
created_at: z.ZodString;
|
|
1930
|
+
updated_at: z.ZodString;
|
|
1931
|
+
user_id: z.ZodString;
|
|
1932
|
+
password: z.ZodString;
|
|
1933
|
+
}, "strip", z.ZodTypeAny, {
|
|
1934
|
+
password: string;
|
|
1935
|
+
created_at: string;
|
|
1936
|
+
updated_at: string;
|
|
1937
|
+
user_id: string;
|
|
1938
|
+
}, {
|
|
1939
|
+
password: string;
|
|
1940
|
+
created_at: string;
|
|
1941
|
+
updated_at: string;
|
|
1942
|
+
user_id: string;
|
|
1943
|
+
}>;
|
|
1944
|
+
export type Password = z.infer<typeof passwordSchema>;
|
|
2107
1945
|
export declare const sessionInsertSchema: z.ZodObject<{
|
|
2108
1946
|
session_id: z.ZodString;
|
|
2109
1947
|
client_id: z.ZodString;
|
|
@@ -2377,13 +2215,13 @@ export declare const authorizationCodeGrantTypeParamsSchema: z.ZodObject<{
|
|
|
2377
2215
|
client_id: z.ZodString;
|
|
2378
2216
|
}, "strip", z.ZodTypeAny, {
|
|
2379
2217
|
code: string;
|
|
2380
|
-
client_id: string;
|
|
2381
2218
|
client_secret: string;
|
|
2219
|
+
client_id: string;
|
|
2382
2220
|
grant_type: GrantType.AuthorizationCode;
|
|
2383
2221
|
}, {
|
|
2384
2222
|
code: string;
|
|
2385
|
-
client_id: string;
|
|
2386
2223
|
client_secret: string;
|
|
2224
|
+
client_id: string;
|
|
2387
2225
|
grant_type: GrantType;
|
|
2388
2226
|
}>;
|
|
2389
2227
|
export type AuthorizationCodeGrantTypeParams = z.infer<typeof authorizationCodeGrantTypeParamsSchema>;
|
|
@@ -2414,14 +2252,14 @@ export declare const clientCredentialGrantTypeParamsSchema: z.ZodObject<{
|
|
|
2414
2252
|
client_id: z.ZodString;
|
|
2415
2253
|
audience: z.ZodOptional<z.ZodString>;
|
|
2416
2254
|
}, "strip", z.ZodTypeAny, {
|
|
2417
|
-
client_id: string;
|
|
2418
2255
|
client_secret: string;
|
|
2256
|
+
client_id: string;
|
|
2419
2257
|
grant_type: GrantType.ClientCredential;
|
|
2420
2258
|
audience?: string | undefined;
|
|
2421
2259
|
scope?: string | undefined;
|
|
2422
2260
|
}, {
|
|
2423
|
-
client_id: string;
|
|
2424
2261
|
client_secret: string;
|
|
2262
|
+
client_id: string;
|
|
2425
2263
|
grant_type: GrantType;
|
|
2426
2264
|
audience?: string | undefined;
|
|
2427
2265
|
scope?: string | undefined;
|
|
@@ -2440,16 +2278,16 @@ declare const tokenResponseSchema: z.ZodObject<{
|
|
|
2440
2278
|
token_type: string;
|
|
2441
2279
|
expires_in: number;
|
|
2442
2280
|
refresh_token?: string | undefined;
|
|
2443
|
-
scope?: string | undefined;
|
|
2444
2281
|
state?: string | undefined;
|
|
2282
|
+
scope?: string | undefined;
|
|
2445
2283
|
id_token?: string | undefined;
|
|
2446
2284
|
}, {
|
|
2447
2285
|
access_token: string;
|
|
2448
2286
|
token_type: string;
|
|
2449
2287
|
expires_in: number;
|
|
2450
2288
|
refresh_token?: string | undefined;
|
|
2451
|
-
scope?: string | undefined;
|
|
2452
2289
|
state?: string | undefined;
|
|
2290
|
+
scope?: string | undefined;
|
|
2453
2291
|
id_token?: string | undefined;
|
|
2454
2292
|
}>;
|
|
2455
2293
|
export type TokenResponse = z.infer<typeof tokenResponseSchema>;
|
|
@@ -2501,27 +2339,27 @@ export declare const universalLoginSessionInsertSchema: z.ZodObject<{
|
|
|
2501
2339
|
}, "strip", z.ZodTypeAny, {
|
|
2502
2340
|
client_id: string;
|
|
2503
2341
|
username?: string | undefined;
|
|
2504
|
-
audience?: string | undefined;
|
|
2505
|
-
scope?: string | undefined;
|
|
2506
2342
|
vendor_id?: string | undefined;
|
|
2507
2343
|
response_type?: AuthorizationResponseType | undefined;
|
|
2508
2344
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
2509
2345
|
redirect_uri?: string | undefined;
|
|
2346
|
+
audience?: string | undefined;
|
|
2510
2347
|
state?: string | undefined;
|
|
2511
2348
|
nonce?: string | undefined;
|
|
2349
|
+
scope?: string | undefined;
|
|
2512
2350
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
2513
2351
|
code_challenge?: string | undefined;
|
|
2514
2352
|
}, {
|
|
2515
2353
|
client_id: string;
|
|
2516
2354
|
username?: string | undefined;
|
|
2517
|
-
audience?: string | undefined;
|
|
2518
|
-
scope?: string | undefined;
|
|
2519
2355
|
vendor_id?: string | undefined;
|
|
2520
2356
|
response_type?: AuthorizationResponseType | undefined;
|
|
2521
2357
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
2522
2358
|
redirect_uri?: string | undefined;
|
|
2359
|
+
audience?: string | undefined;
|
|
2523
2360
|
state?: string | undefined;
|
|
2524
2361
|
nonce?: string | undefined;
|
|
2362
|
+
scope?: string | undefined;
|
|
2525
2363
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
2526
2364
|
code_challenge?: string | undefined;
|
|
2527
2365
|
}>;
|
|
@@ -2530,14 +2368,14 @@ export declare const universalLoginSessionInsertSchema: z.ZodObject<{
|
|
|
2530
2368
|
authParams: {
|
|
2531
2369
|
client_id: string;
|
|
2532
2370
|
username?: string | undefined;
|
|
2533
|
-
audience?: string | undefined;
|
|
2534
|
-
scope?: string | undefined;
|
|
2535
2371
|
vendor_id?: string | undefined;
|
|
2536
2372
|
response_type?: AuthorizationResponseType | undefined;
|
|
2537
2373
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
2538
2374
|
redirect_uri?: string | undefined;
|
|
2375
|
+
audience?: string | undefined;
|
|
2539
2376
|
state?: string | undefined;
|
|
2540
2377
|
nonce?: string | undefined;
|
|
2378
|
+
scope?: string | undefined;
|
|
2541
2379
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
2542
2380
|
code_challenge?: string | undefined;
|
|
2543
2381
|
};
|
|
@@ -2548,14 +2386,14 @@ export declare const universalLoginSessionInsertSchema: z.ZodObject<{
|
|
|
2548
2386
|
authParams: {
|
|
2549
2387
|
client_id: string;
|
|
2550
2388
|
username?: string | undefined;
|
|
2551
|
-
audience?: string | undefined;
|
|
2552
|
-
scope?: string | undefined;
|
|
2553
2389
|
vendor_id?: string | undefined;
|
|
2554
2390
|
response_type?: AuthorizationResponseType | undefined;
|
|
2555
2391
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
2556
2392
|
redirect_uri?: string | undefined;
|
|
2393
|
+
audience?: string | undefined;
|
|
2557
2394
|
state?: string | undefined;
|
|
2558
2395
|
nonce?: string | undefined;
|
|
2396
|
+
scope?: string | undefined;
|
|
2559
2397
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
2560
2398
|
code_challenge?: string | undefined;
|
|
2561
2399
|
};
|
|
@@ -2585,27 +2423,27 @@ export declare const universalLoginSessionSchema: z.ZodObject<{
|
|
|
2585
2423
|
}, "strip", z.ZodTypeAny, {
|
|
2586
2424
|
client_id: string;
|
|
2587
2425
|
username?: string | undefined;
|
|
2588
|
-
audience?: string | undefined;
|
|
2589
|
-
scope?: string | undefined;
|
|
2590
2426
|
vendor_id?: string | undefined;
|
|
2591
2427
|
response_type?: AuthorizationResponseType | undefined;
|
|
2592
2428
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
2593
2429
|
redirect_uri?: string | undefined;
|
|
2430
|
+
audience?: string | undefined;
|
|
2594
2431
|
state?: string | undefined;
|
|
2595
2432
|
nonce?: string | undefined;
|
|
2433
|
+
scope?: string | undefined;
|
|
2596
2434
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
2597
2435
|
code_challenge?: string | undefined;
|
|
2598
2436
|
}, {
|
|
2599
2437
|
client_id: string;
|
|
2600
2438
|
username?: string | undefined;
|
|
2601
|
-
audience?: string | undefined;
|
|
2602
|
-
scope?: string | undefined;
|
|
2603
2439
|
vendor_id?: string | undefined;
|
|
2604
2440
|
response_type?: AuthorizationResponseType | undefined;
|
|
2605
2441
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
2606
2442
|
redirect_uri?: string | undefined;
|
|
2443
|
+
audience?: string | undefined;
|
|
2607
2444
|
state?: string | undefined;
|
|
2608
2445
|
nonce?: string | undefined;
|
|
2446
|
+
scope?: string | undefined;
|
|
2609
2447
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
2610
2448
|
code_challenge?: string | undefined;
|
|
2611
2449
|
}>;
|
|
@@ -2616,14 +2454,14 @@ export declare const universalLoginSessionSchema: z.ZodObject<{
|
|
|
2616
2454
|
authParams: {
|
|
2617
2455
|
client_id: string;
|
|
2618
2456
|
username?: string | undefined;
|
|
2619
|
-
audience?: string | undefined;
|
|
2620
|
-
scope?: string | undefined;
|
|
2621
2457
|
vendor_id?: string | undefined;
|
|
2622
2458
|
response_type?: AuthorizationResponseType | undefined;
|
|
2623
2459
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
2624
2460
|
redirect_uri?: string | undefined;
|
|
2461
|
+
audience?: string | undefined;
|
|
2625
2462
|
state?: string | undefined;
|
|
2626
2463
|
nonce?: string | undefined;
|
|
2464
|
+
scope?: string | undefined;
|
|
2627
2465
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
2628
2466
|
code_challenge?: string | undefined;
|
|
2629
2467
|
};
|
|
@@ -2636,14 +2474,14 @@ export declare const universalLoginSessionSchema: z.ZodObject<{
|
|
|
2636
2474
|
authParams: {
|
|
2637
2475
|
client_id: string;
|
|
2638
2476
|
username?: string | undefined;
|
|
2639
|
-
audience?: string | undefined;
|
|
2640
|
-
scope?: string | undefined;
|
|
2641
2477
|
vendor_id?: string | undefined;
|
|
2642
2478
|
response_type?: AuthorizationResponseType | undefined;
|
|
2643
2479
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
2644
2480
|
redirect_uri?: string | undefined;
|
|
2481
|
+
audience?: string | undefined;
|
|
2645
2482
|
state?: string | undefined;
|
|
2646
2483
|
nonce?: string | undefined;
|
|
2484
|
+
scope?: string | undefined;
|
|
2647
2485
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
2648
2486
|
code_challenge?: string | undefined;
|
|
2649
2487
|
};
|
|
@@ -2651,6 +2489,290 @@ export declare const universalLoginSessionSchema: z.ZodObject<{
|
|
|
2651
2489
|
auth0Client?: string | undefined;
|
|
2652
2490
|
}>;
|
|
2653
2491
|
export type UniversalLoginSession = z.infer<typeof universalLoginSessionSchema>;
|
|
2492
|
+
export declare enum LogTypes {
|
|
2493
|
+
SUCCESS_API_OPERATION = "sapi",
|
|
2494
|
+
SUCCESS_SILENT_AUTH = "ssa",
|
|
2495
|
+
FAILED_SILENT_AUTH = "fsa",
|
|
2496
|
+
SUCCESS_SIGNUP = "ss",
|
|
2497
|
+
FAILED_SIGNUP = "fs",
|
|
2498
|
+
SUCCESS_LOGIN = "s",
|
|
2499
|
+
FAILED_LOGIN = "f",
|
|
2500
|
+
FAILED_LOGIN_INCORRECT_PASSWORD = "fp",
|
|
2501
|
+
SUCCESS_LOGOUT = "slo",
|
|
2502
|
+
SUCCESS_CROSS_ORIGIN_AUTHENTICATION = "scoa",
|
|
2503
|
+
FAILED_CROSS_ORIGIN_AUTHENTICATION = "fcoa",
|
|
2504
|
+
SUCCESS_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN = "seacft",
|
|
2505
|
+
SUCCESS_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN = "serft",
|
|
2506
|
+
CODE_LINK_SENT = "cls",
|
|
2507
|
+
NOT_IMPLEMENTED_1 = "seccft"
|
|
2508
|
+
}
|
|
2509
|
+
declare const LogType: z.ZodEnum<[
|
|
2510
|
+
"sapi",
|
|
2511
|
+
"ssa",
|
|
2512
|
+
"fsa",
|
|
2513
|
+
"ss",
|
|
2514
|
+
"ssa",
|
|
2515
|
+
"fs",
|
|
2516
|
+
"s",
|
|
2517
|
+
"f",
|
|
2518
|
+
"fp",
|
|
2519
|
+
"slo",
|
|
2520
|
+
"scoa",
|
|
2521
|
+
"fcoa",
|
|
2522
|
+
"seccft",
|
|
2523
|
+
"cls",
|
|
2524
|
+
"seacft",
|
|
2525
|
+
"serft"
|
|
2526
|
+
]>;
|
|
2527
|
+
type LogType$1 = z.infer<typeof LogType>;
|
|
2528
|
+
export declare const Auth0Client: z.ZodObject<{
|
|
2529
|
+
name: z.ZodString;
|
|
2530
|
+
version: z.ZodString;
|
|
2531
|
+
env: z.ZodOptional<z.ZodObject<{
|
|
2532
|
+
node: z.ZodOptional<z.ZodString>;
|
|
2533
|
+
}, "strip", z.ZodTypeAny, {
|
|
2534
|
+
node?: string | undefined;
|
|
2535
|
+
}, {
|
|
2536
|
+
node?: string | undefined;
|
|
2537
|
+
}>>;
|
|
2538
|
+
}, "strip", z.ZodTypeAny, {
|
|
2539
|
+
name: string;
|
|
2540
|
+
version: string;
|
|
2541
|
+
env?: {
|
|
2542
|
+
node?: string | undefined;
|
|
2543
|
+
} | undefined;
|
|
2544
|
+
}, {
|
|
2545
|
+
name: string;
|
|
2546
|
+
version: string;
|
|
2547
|
+
env?: {
|
|
2548
|
+
node?: string | undefined;
|
|
2549
|
+
} | undefined;
|
|
2550
|
+
}>;
|
|
2551
|
+
export declare const logSchema: z.ZodObject<{
|
|
2552
|
+
type: z.ZodEnum<[
|
|
2553
|
+
"sapi",
|
|
2554
|
+
"ssa",
|
|
2555
|
+
"fsa",
|
|
2556
|
+
"ss",
|
|
2557
|
+
"ssa",
|
|
2558
|
+
"fs",
|
|
2559
|
+
"s",
|
|
2560
|
+
"f",
|
|
2561
|
+
"fp",
|
|
2562
|
+
"slo",
|
|
2563
|
+
"scoa",
|
|
2564
|
+
"fcoa",
|
|
2565
|
+
"seccft",
|
|
2566
|
+
"cls",
|
|
2567
|
+
"seacft",
|
|
2568
|
+
"serft"
|
|
2569
|
+
]>;
|
|
2570
|
+
date: z.ZodString;
|
|
2571
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2572
|
+
log_id: z.ZodOptional<z.ZodString>;
|
|
2573
|
+
_id: z.ZodOptional<z.ZodString>;
|
|
2574
|
+
ip: z.ZodString;
|
|
2575
|
+
user_agent: z.ZodString;
|
|
2576
|
+
details: z.ZodOptional<z.ZodAny>;
|
|
2577
|
+
isMobile: z.ZodBoolean;
|
|
2578
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
2579
|
+
user_name: z.ZodOptional<z.ZodString>;
|
|
2580
|
+
connection: z.ZodOptional<z.ZodString>;
|
|
2581
|
+
connection_id: z.ZodOptional<z.ZodString>;
|
|
2582
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
2583
|
+
client_name: z.ZodOptional<z.ZodString>;
|
|
2584
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
2585
|
+
scope: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2586
|
+
strategy: z.ZodOptional<z.ZodString>;
|
|
2587
|
+
strategy_type: z.ZodOptional<z.ZodString>;
|
|
2588
|
+
hostname: z.ZodOptional<z.ZodString>;
|
|
2589
|
+
auth0_client: z.ZodOptional<z.ZodObject<{
|
|
2590
|
+
name: z.ZodString;
|
|
2591
|
+
version: z.ZodString;
|
|
2592
|
+
env: z.ZodOptional<z.ZodObject<{
|
|
2593
|
+
node: z.ZodOptional<z.ZodString>;
|
|
2594
|
+
}, "strip", z.ZodTypeAny, {
|
|
2595
|
+
node?: string | undefined;
|
|
2596
|
+
}, {
|
|
2597
|
+
node?: string | undefined;
|
|
2598
|
+
}>>;
|
|
2599
|
+
}, "strip", z.ZodTypeAny, {
|
|
2600
|
+
name: string;
|
|
2601
|
+
version: string;
|
|
2602
|
+
env?: {
|
|
2603
|
+
node?: string | undefined;
|
|
2604
|
+
} | undefined;
|
|
2605
|
+
}, {
|
|
2606
|
+
name: string;
|
|
2607
|
+
version: string;
|
|
2608
|
+
env?: {
|
|
2609
|
+
node?: string | undefined;
|
|
2610
|
+
} | undefined;
|
|
2611
|
+
}>>;
|
|
2612
|
+
}, "strip", z.ZodTypeAny, {
|
|
2613
|
+
type: "sapi" | "ssa" | "fsa" | "ss" | "fs" | "s" | "f" | "fp" | "slo" | "scoa" | "fcoa" | "seacft" | "serft" | "cls" | "seccft";
|
|
2614
|
+
date: string;
|
|
2615
|
+
ip: string;
|
|
2616
|
+
user_agent: string;
|
|
2617
|
+
isMobile: boolean;
|
|
2618
|
+
description?: string | undefined;
|
|
2619
|
+
connection?: string | undefined;
|
|
2620
|
+
user_id?: string | undefined;
|
|
2621
|
+
client_id?: string | undefined;
|
|
2622
|
+
audience?: string | undefined;
|
|
2623
|
+
scope?: string[] | undefined;
|
|
2624
|
+
log_id?: string | undefined;
|
|
2625
|
+
_id?: string | undefined;
|
|
2626
|
+
details?: any;
|
|
2627
|
+
user_name?: string | undefined;
|
|
2628
|
+
connection_id?: string | undefined;
|
|
2629
|
+
client_name?: string | undefined;
|
|
2630
|
+
strategy?: string | undefined;
|
|
2631
|
+
strategy_type?: string | undefined;
|
|
2632
|
+
hostname?: string | undefined;
|
|
2633
|
+
auth0_client?: {
|
|
2634
|
+
name: string;
|
|
2635
|
+
version: string;
|
|
2636
|
+
env?: {
|
|
2637
|
+
node?: string | undefined;
|
|
2638
|
+
} | undefined;
|
|
2639
|
+
} | undefined;
|
|
2640
|
+
}, {
|
|
2641
|
+
type: "sapi" | "ssa" | "fsa" | "ss" | "fs" | "s" | "f" | "fp" | "slo" | "scoa" | "fcoa" | "seacft" | "serft" | "cls" | "seccft";
|
|
2642
|
+
date: string;
|
|
2643
|
+
ip: string;
|
|
2644
|
+
user_agent: string;
|
|
2645
|
+
isMobile: boolean;
|
|
2646
|
+
description?: string | undefined;
|
|
2647
|
+
connection?: string | undefined;
|
|
2648
|
+
user_id?: string | undefined;
|
|
2649
|
+
client_id?: string | undefined;
|
|
2650
|
+
audience?: string | undefined;
|
|
2651
|
+
scope?: string[] | undefined;
|
|
2652
|
+
log_id?: string | undefined;
|
|
2653
|
+
_id?: string | undefined;
|
|
2654
|
+
details?: any;
|
|
2655
|
+
user_name?: string | undefined;
|
|
2656
|
+
connection_id?: string | undefined;
|
|
2657
|
+
client_name?: string | undefined;
|
|
2658
|
+
strategy?: string | undefined;
|
|
2659
|
+
strategy_type?: string | undefined;
|
|
2660
|
+
hostname?: string | undefined;
|
|
2661
|
+
auth0_client?: {
|
|
2662
|
+
name: string;
|
|
2663
|
+
version: string;
|
|
2664
|
+
env?: {
|
|
2665
|
+
node?: string | undefined;
|
|
2666
|
+
} | undefined;
|
|
2667
|
+
} | undefined;
|
|
2668
|
+
}>;
|
|
2669
|
+
export type Log = z.infer<typeof logSchema>;
|
|
2670
|
+
export type LogsResponse = Log & {
|
|
2671
|
+
log_id: string;
|
|
2672
|
+
_id: string;
|
|
2673
|
+
};
|
|
2674
|
+
export declare const profileDataSchema: z.ZodObject<{
|
|
2675
|
+
email: z.ZodOptional<z.ZodString>;
|
|
2676
|
+
email_verified: z.ZodOptional<z.ZodBoolean>;
|
|
2677
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2678
|
+
username: z.ZodOptional<z.ZodString>;
|
|
2679
|
+
given_name: z.ZodOptional<z.ZodString>;
|
|
2680
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
2681
|
+
phone_verified: z.ZodOptional<z.ZodBoolean>;
|
|
2682
|
+
family_name: z.ZodOptional<z.ZodString>;
|
|
2683
|
+
}, "strip", z.ZodAny, z.objectOutputType<{
|
|
2684
|
+
email: z.ZodOptional<z.ZodString>;
|
|
2685
|
+
email_verified: z.ZodOptional<z.ZodBoolean>;
|
|
2686
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2687
|
+
username: z.ZodOptional<z.ZodString>;
|
|
2688
|
+
given_name: z.ZodOptional<z.ZodString>;
|
|
2689
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
2690
|
+
phone_verified: z.ZodOptional<z.ZodBoolean>;
|
|
2691
|
+
family_name: z.ZodOptional<z.ZodString>;
|
|
2692
|
+
}, z.ZodAny, "strip">, z.objectInputType<{
|
|
2693
|
+
email: z.ZodOptional<z.ZodString>;
|
|
2694
|
+
email_verified: z.ZodOptional<z.ZodBoolean>;
|
|
2695
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2696
|
+
username: z.ZodOptional<z.ZodString>;
|
|
2697
|
+
given_name: z.ZodOptional<z.ZodString>;
|
|
2698
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
2699
|
+
phone_verified: z.ZodOptional<z.ZodBoolean>;
|
|
2700
|
+
family_name: z.ZodOptional<z.ZodString>;
|
|
2701
|
+
}, z.ZodAny, "strip">>;
|
|
2702
|
+
export declare const identitySchema: z.ZodObject<{
|
|
2703
|
+
connection: z.ZodString;
|
|
2704
|
+
user_id: z.ZodString;
|
|
2705
|
+
provider: z.ZodString;
|
|
2706
|
+
isSocial: z.ZodBoolean;
|
|
2707
|
+
access_token: z.ZodOptional<z.ZodString>;
|
|
2708
|
+
access_token_secret: z.ZodOptional<z.ZodString>;
|
|
2709
|
+
refresh_token: z.ZodOptional<z.ZodString>;
|
|
2710
|
+
profileData: z.ZodOptional<z.ZodObject<{
|
|
2711
|
+
email: z.ZodOptional<z.ZodString>;
|
|
2712
|
+
email_verified: z.ZodOptional<z.ZodBoolean>;
|
|
2713
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2714
|
+
username: z.ZodOptional<z.ZodString>;
|
|
2715
|
+
given_name: z.ZodOptional<z.ZodString>;
|
|
2716
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
2717
|
+
phone_verified: z.ZodOptional<z.ZodBoolean>;
|
|
2718
|
+
family_name: z.ZodOptional<z.ZodString>;
|
|
2719
|
+
}, "strip", z.ZodAny, z.objectOutputType<{
|
|
2720
|
+
email: z.ZodOptional<z.ZodString>;
|
|
2721
|
+
email_verified: z.ZodOptional<z.ZodBoolean>;
|
|
2722
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2723
|
+
username: z.ZodOptional<z.ZodString>;
|
|
2724
|
+
given_name: z.ZodOptional<z.ZodString>;
|
|
2725
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
2726
|
+
phone_verified: z.ZodOptional<z.ZodBoolean>;
|
|
2727
|
+
family_name: z.ZodOptional<z.ZodString>;
|
|
2728
|
+
}, z.ZodAny, "strip">, z.objectInputType<{
|
|
2729
|
+
email: z.ZodOptional<z.ZodString>;
|
|
2730
|
+
email_verified: z.ZodOptional<z.ZodBoolean>;
|
|
2731
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2732
|
+
username: z.ZodOptional<z.ZodString>;
|
|
2733
|
+
given_name: z.ZodOptional<z.ZodString>;
|
|
2734
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
2735
|
+
phone_verified: z.ZodOptional<z.ZodBoolean>;
|
|
2736
|
+
family_name: z.ZodOptional<z.ZodString>;
|
|
2737
|
+
}, z.ZodAny, "strip">>>;
|
|
2738
|
+
}, "strip", z.ZodTypeAny, {
|
|
2739
|
+
connection: string;
|
|
2740
|
+
user_id: string;
|
|
2741
|
+
provider: string;
|
|
2742
|
+
isSocial: boolean;
|
|
2743
|
+
access_token?: string | undefined;
|
|
2744
|
+
access_token_secret?: string | undefined;
|
|
2745
|
+
refresh_token?: string | undefined;
|
|
2746
|
+
profileData?: z.objectOutputType<{
|
|
2747
|
+
email: z.ZodOptional<z.ZodString>;
|
|
2748
|
+
email_verified: z.ZodOptional<z.ZodBoolean>;
|
|
2749
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2750
|
+
username: z.ZodOptional<z.ZodString>;
|
|
2751
|
+
given_name: z.ZodOptional<z.ZodString>;
|
|
2752
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
2753
|
+
phone_verified: z.ZodOptional<z.ZodBoolean>;
|
|
2754
|
+
family_name: z.ZodOptional<z.ZodString>;
|
|
2755
|
+
}, z.ZodAny, "strip"> | undefined;
|
|
2756
|
+
}, {
|
|
2757
|
+
connection: string;
|
|
2758
|
+
user_id: string;
|
|
2759
|
+
provider: string;
|
|
2760
|
+
isSocial: boolean;
|
|
2761
|
+
access_token?: string | undefined;
|
|
2762
|
+
access_token_secret?: string | undefined;
|
|
2763
|
+
refresh_token?: string | undefined;
|
|
2764
|
+
profileData?: z.objectInputType<{
|
|
2765
|
+
email: z.ZodOptional<z.ZodString>;
|
|
2766
|
+
email_verified: z.ZodOptional<z.ZodBoolean>;
|
|
2767
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2768
|
+
username: z.ZodOptional<z.ZodString>;
|
|
2769
|
+
given_name: z.ZodOptional<z.ZodString>;
|
|
2770
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
2771
|
+
phone_verified: z.ZodOptional<z.ZodBoolean>;
|
|
2772
|
+
family_name: z.ZodOptional<z.ZodString>;
|
|
2773
|
+
}, z.ZodAny, "strip"> | undefined;
|
|
2774
|
+
}>;
|
|
2775
|
+
export type Identity = z.infer<typeof identitySchema>;
|
|
2654
2776
|
export declare function parseUserId(user_id: string): {
|
|
2655
2777
|
connection: string;
|
|
2656
2778
|
id: string;
|
|
@@ -2665,9 +2787,9 @@ export interface OTPAdapter {
|
|
|
2665
2787
|
remove: (tenant_id: string, id: string) => Promise<boolean>;
|
|
2666
2788
|
}
|
|
2667
2789
|
export interface PasswordsAdapter {
|
|
2668
|
-
create: (tenant_id: string, params:
|
|
2669
|
-
update: (tenant_id: string, params:
|
|
2670
|
-
|
|
2790
|
+
create: (tenant_id: string, params: PasswordInsert) => Promise<Password>;
|
|
2791
|
+
update: (tenant_id: string, params: PasswordInsert) => Promise<boolean>;
|
|
2792
|
+
get: (tenant_id: string, user_id: string) => Promise<Password>;
|
|
2671
2793
|
}
|
|
2672
2794
|
export interface ListParams {
|
|
2673
2795
|
page: number;
|