@authhero/adapter-interfaces 0.7.0 → 0.9.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/README.md +7 -1
- package/dist/adapter-interfaces.cjs +1 -1
- package/dist/adapter-interfaces.d.ts +1518 -284
- package/dist/adapter-interfaces.iife.js +1 -1
- package/dist/adapter-interfaces.mjs +1254 -1173
- 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;
|
|
@@ -1759,6 +1577,108 @@ export declare const hookSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1759
1577
|
enabled?: boolean | undefined;
|
|
1760
1578
|
}>;
|
|
1761
1579
|
export type Hook = z.infer<typeof hookSchema>;
|
|
1580
|
+
export declare const profileDataSchema: z.ZodObject<{
|
|
1581
|
+
email: z.ZodOptional<z.ZodString>;
|
|
1582
|
+
email_verified: z.ZodOptional<z.ZodBoolean>;
|
|
1583
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1584
|
+
username: z.ZodOptional<z.ZodString>;
|
|
1585
|
+
given_name: z.ZodOptional<z.ZodString>;
|
|
1586
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
1587
|
+
phone_verified: z.ZodOptional<z.ZodBoolean>;
|
|
1588
|
+
family_name: z.ZodOptional<z.ZodString>;
|
|
1589
|
+
}, "strip", z.ZodAny, z.objectOutputType<{
|
|
1590
|
+
email: z.ZodOptional<z.ZodString>;
|
|
1591
|
+
email_verified: z.ZodOptional<z.ZodBoolean>;
|
|
1592
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1593
|
+
username: z.ZodOptional<z.ZodString>;
|
|
1594
|
+
given_name: z.ZodOptional<z.ZodString>;
|
|
1595
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
1596
|
+
phone_verified: z.ZodOptional<z.ZodBoolean>;
|
|
1597
|
+
family_name: z.ZodOptional<z.ZodString>;
|
|
1598
|
+
}, z.ZodAny, "strip">, z.objectInputType<{
|
|
1599
|
+
email: z.ZodOptional<z.ZodString>;
|
|
1600
|
+
email_verified: z.ZodOptional<z.ZodBoolean>;
|
|
1601
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1602
|
+
username: z.ZodOptional<z.ZodString>;
|
|
1603
|
+
given_name: z.ZodOptional<z.ZodString>;
|
|
1604
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
1605
|
+
phone_verified: z.ZodOptional<z.ZodBoolean>;
|
|
1606
|
+
family_name: z.ZodOptional<z.ZodString>;
|
|
1607
|
+
}, z.ZodAny, "strip">>;
|
|
1608
|
+
export declare const identitySchema: z.ZodObject<{
|
|
1609
|
+
connection: z.ZodString;
|
|
1610
|
+
user_id: z.ZodString;
|
|
1611
|
+
provider: z.ZodString;
|
|
1612
|
+
isSocial: z.ZodBoolean;
|
|
1613
|
+
access_token: z.ZodOptional<z.ZodString>;
|
|
1614
|
+
access_token_secret: z.ZodOptional<z.ZodString>;
|
|
1615
|
+
refresh_token: z.ZodOptional<z.ZodString>;
|
|
1616
|
+
profileData: z.ZodOptional<z.ZodObject<{
|
|
1617
|
+
email: z.ZodOptional<z.ZodString>;
|
|
1618
|
+
email_verified: z.ZodOptional<z.ZodBoolean>;
|
|
1619
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1620
|
+
username: z.ZodOptional<z.ZodString>;
|
|
1621
|
+
given_name: z.ZodOptional<z.ZodString>;
|
|
1622
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
1623
|
+
phone_verified: z.ZodOptional<z.ZodBoolean>;
|
|
1624
|
+
family_name: z.ZodOptional<z.ZodString>;
|
|
1625
|
+
}, "strip", z.ZodAny, z.objectOutputType<{
|
|
1626
|
+
email: z.ZodOptional<z.ZodString>;
|
|
1627
|
+
email_verified: z.ZodOptional<z.ZodBoolean>;
|
|
1628
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1629
|
+
username: z.ZodOptional<z.ZodString>;
|
|
1630
|
+
given_name: z.ZodOptional<z.ZodString>;
|
|
1631
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
1632
|
+
phone_verified: z.ZodOptional<z.ZodBoolean>;
|
|
1633
|
+
family_name: z.ZodOptional<z.ZodString>;
|
|
1634
|
+
}, z.ZodAny, "strip">, z.objectInputType<{
|
|
1635
|
+
email: z.ZodOptional<z.ZodString>;
|
|
1636
|
+
email_verified: z.ZodOptional<z.ZodBoolean>;
|
|
1637
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1638
|
+
username: z.ZodOptional<z.ZodString>;
|
|
1639
|
+
given_name: z.ZodOptional<z.ZodString>;
|
|
1640
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
1641
|
+
phone_verified: z.ZodOptional<z.ZodBoolean>;
|
|
1642
|
+
family_name: z.ZodOptional<z.ZodString>;
|
|
1643
|
+
}, z.ZodAny, "strip">>>;
|
|
1644
|
+
}, "strip", z.ZodTypeAny, {
|
|
1645
|
+
connection: string;
|
|
1646
|
+
user_id: string;
|
|
1647
|
+
provider: string;
|
|
1648
|
+
isSocial: boolean;
|
|
1649
|
+
access_token?: string | undefined;
|
|
1650
|
+
access_token_secret?: string | undefined;
|
|
1651
|
+
refresh_token?: string | undefined;
|
|
1652
|
+
profileData?: z.objectOutputType<{
|
|
1653
|
+
email: z.ZodOptional<z.ZodString>;
|
|
1654
|
+
email_verified: z.ZodOptional<z.ZodBoolean>;
|
|
1655
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1656
|
+
username: z.ZodOptional<z.ZodString>;
|
|
1657
|
+
given_name: z.ZodOptional<z.ZodString>;
|
|
1658
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
1659
|
+
phone_verified: z.ZodOptional<z.ZodBoolean>;
|
|
1660
|
+
family_name: z.ZodOptional<z.ZodString>;
|
|
1661
|
+
}, z.ZodAny, "strip"> | undefined;
|
|
1662
|
+
}, {
|
|
1663
|
+
connection: string;
|
|
1664
|
+
user_id: string;
|
|
1665
|
+
provider: string;
|
|
1666
|
+
isSocial: boolean;
|
|
1667
|
+
access_token?: string | undefined;
|
|
1668
|
+
access_token_secret?: string | undefined;
|
|
1669
|
+
refresh_token?: string | undefined;
|
|
1670
|
+
profileData?: z.objectInputType<{
|
|
1671
|
+
email: z.ZodOptional<z.ZodString>;
|
|
1672
|
+
email_verified: z.ZodOptional<z.ZodBoolean>;
|
|
1673
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1674
|
+
username: z.ZodOptional<z.ZodString>;
|
|
1675
|
+
given_name: z.ZodOptional<z.ZodString>;
|
|
1676
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
1677
|
+
phone_verified: z.ZodOptional<z.ZodBoolean>;
|
|
1678
|
+
family_name: z.ZodOptional<z.ZodString>;
|
|
1679
|
+
}, z.ZodAny, "strip"> | undefined;
|
|
1680
|
+
}>;
|
|
1681
|
+
export type Identity = z.infer<typeof identitySchema>;
|
|
1762
1682
|
export declare const jwksSchema: z.ZodObject<{
|
|
1763
1683
|
alg: z.ZodString;
|
|
1764
1684
|
e: z.ZodString;
|
|
@@ -1893,6 +1813,188 @@ export interface LoginState {
|
|
|
1893
1813
|
state: string;
|
|
1894
1814
|
errorMessage?: string;
|
|
1895
1815
|
}
|
|
1816
|
+
export declare enum LogTypes {
|
|
1817
|
+
SUCCESS_API_OPERATION = "sapi",
|
|
1818
|
+
SUCCESS_SILENT_AUTH = "ssa",
|
|
1819
|
+
FAILED_SILENT_AUTH = "fsa",
|
|
1820
|
+
SUCCESS_SIGNUP = "ss",
|
|
1821
|
+
FAILED_SIGNUP = "fs",
|
|
1822
|
+
SUCCESS_LOGIN = "s",
|
|
1823
|
+
FAILED_LOGIN = "f",
|
|
1824
|
+
FAILED_LOGIN_INCORRECT_PASSWORD = "fp",
|
|
1825
|
+
SUCCESS_LOGOUT = "slo",
|
|
1826
|
+
SUCCESS_CROSS_ORIGIN_AUTHENTICATION = "scoa",
|
|
1827
|
+
FAILED_CROSS_ORIGIN_AUTHENTICATION = "fcoa",
|
|
1828
|
+
SUCCESS_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN = "seacft",
|
|
1829
|
+
SUCCESS_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN = "serft",
|
|
1830
|
+
CODE_LINK_SENT = "cls",
|
|
1831
|
+
NOT_IMPLEMENTED_1 = "seccft"
|
|
1832
|
+
}
|
|
1833
|
+
declare const LogType: z.ZodEnum<[
|
|
1834
|
+
"sapi",
|
|
1835
|
+
"ssa",
|
|
1836
|
+
"fsa",
|
|
1837
|
+
"ss",
|
|
1838
|
+
"ssa",
|
|
1839
|
+
"fs",
|
|
1840
|
+
"s",
|
|
1841
|
+
"f",
|
|
1842
|
+
"fp",
|
|
1843
|
+
"slo",
|
|
1844
|
+
"scoa",
|
|
1845
|
+
"fcoa",
|
|
1846
|
+
"seccft",
|
|
1847
|
+
"cls",
|
|
1848
|
+
"seacft",
|
|
1849
|
+
"serft"
|
|
1850
|
+
]>;
|
|
1851
|
+
type LogType$1 = z.infer<typeof LogType>;
|
|
1852
|
+
export declare const Auth0Client: z.ZodObject<{
|
|
1853
|
+
name: z.ZodString;
|
|
1854
|
+
version: z.ZodString;
|
|
1855
|
+
env: z.ZodOptional<z.ZodObject<{
|
|
1856
|
+
node: z.ZodOptional<z.ZodString>;
|
|
1857
|
+
}, "strip", z.ZodTypeAny, {
|
|
1858
|
+
node?: string | undefined;
|
|
1859
|
+
}, {
|
|
1860
|
+
node?: string | undefined;
|
|
1861
|
+
}>>;
|
|
1862
|
+
}, "strip", z.ZodTypeAny, {
|
|
1863
|
+
name: string;
|
|
1864
|
+
version: string;
|
|
1865
|
+
env?: {
|
|
1866
|
+
node?: string | undefined;
|
|
1867
|
+
} | undefined;
|
|
1868
|
+
}, {
|
|
1869
|
+
name: string;
|
|
1870
|
+
version: string;
|
|
1871
|
+
env?: {
|
|
1872
|
+
node?: string | undefined;
|
|
1873
|
+
} | undefined;
|
|
1874
|
+
}>;
|
|
1875
|
+
export declare const logSchema: z.ZodObject<{
|
|
1876
|
+
type: z.ZodEnum<[
|
|
1877
|
+
"sapi",
|
|
1878
|
+
"ssa",
|
|
1879
|
+
"fsa",
|
|
1880
|
+
"ss",
|
|
1881
|
+
"ssa",
|
|
1882
|
+
"fs",
|
|
1883
|
+
"s",
|
|
1884
|
+
"f",
|
|
1885
|
+
"fp",
|
|
1886
|
+
"slo",
|
|
1887
|
+
"scoa",
|
|
1888
|
+
"fcoa",
|
|
1889
|
+
"seccft",
|
|
1890
|
+
"cls",
|
|
1891
|
+
"seacft",
|
|
1892
|
+
"serft"
|
|
1893
|
+
]>;
|
|
1894
|
+
date: z.ZodString;
|
|
1895
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1896
|
+
log_id: z.ZodOptional<z.ZodString>;
|
|
1897
|
+
_id: z.ZodOptional<z.ZodString>;
|
|
1898
|
+
ip: z.ZodString;
|
|
1899
|
+
user_agent: z.ZodString;
|
|
1900
|
+
details: z.ZodOptional<z.ZodAny>;
|
|
1901
|
+
isMobile: z.ZodBoolean;
|
|
1902
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
1903
|
+
user_name: z.ZodOptional<z.ZodString>;
|
|
1904
|
+
connection: z.ZodOptional<z.ZodString>;
|
|
1905
|
+
connection_id: z.ZodOptional<z.ZodString>;
|
|
1906
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
1907
|
+
client_name: z.ZodOptional<z.ZodString>;
|
|
1908
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
1909
|
+
scope: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1910
|
+
strategy: z.ZodOptional<z.ZodString>;
|
|
1911
|
+
strategy_type: z.ZodOptional<z.ZodString>;
|
|
1912
|
+
hostname: z.ZodOptional<z.ZodString>;
|
|
1913
|
+
auth0_client: z.ZodOptional<z.ZodObject<{
|
|
1914
|
+
name: z.ZodString;
|
|
1915
|
+
version: z.ZodString;
|
|
1916
|
+
env: z.ZodOptional<z.ZodObject<{
|
|
1917
|
+
node: z.ZodOptional<z.ZodString>;
|
|
1918
|
+
}, "strip", z.ZodTypeAny, {
|
|
1919
|
+
node?: string | undefined;
|
|
1920
|
+
}, {
|
|
1921
|
+
node?: string | undefined;
|
|
1922
|
+
}>>;
|
|
1923
|
+
}, "strip", z.ZodTypeAny, {
|
|
1924
|
+
name: string;
|
|
1925
|
+
version: string;
|
|
1926
|
+
env?: {
|
|
1927
|
+
node?: string | undefined;
|
|
1928
|
+
} | undefined;
|
|
1929
|
+
}, {
|
|
1930
|
+
name: string;
|
|
1931
|
+
version: string;
|
|
1932
|
+
env?: {
|
|
1933
|
+
node?: string | undefined;
|
|
1934
|
+
} | undefined;
|
|
1935
|
+
}>>;
|
|
1936
|
+
}, "strip", z.ZodTypeAny, {
|
|
1937
|
+
type: "sapi" | "ssa" | "fsa" | "ss" | "fs" | "s" | "f" | "fp" | "slo" | "scoa" | "fcoa" | "seacft" | "serft" | "cls" | "seccft";
|
|
1938
|
+
date: string;
|
|
1939
|
+
ip: string;
|
|
1940
|
+
user_agent: string;
|
|
1941
|
+
isMobile: boolean;
|
|
1942
|
+
description?: string | undefined;
|
|
1943
|
+
connection?: string | undefined;
|
|
1944
|
+
user_id?: string | undefined;
|
|
1945
|
+
client_id?: string | undefined;
|
|
1946
|
+
audience?: string | undefined;
|
|
1947
|
+
scope?: string[] | undefined;
|
|
1948
|
+
log_id?: string | undefined;
|
|
1949
|
+
_id?: string | undefined;
|
|
1950
|
+
details?: any;
|
|
1951
|
+
user_name?: string | undefined;
|
|
1952
|
+
connection_id?: string | undefined;
|
|
1953
|
+
client_name?: string | undefined;
|
|
1954
|
+
strategy?: string | undefined;
|
|
1955
|
+
strategy_type?: string | undefined;
|
|
1956
|
+
hostname?: string | undefined;
|
|
1957
|
+
auth0_client?: {
|
|
1958
|
+
name: string;
|
|
1959
|
+
version: string;
|
|
1960
|
+
env?: {
|
|
1961
|
+
node?: string | undefined;
|
|
1962
|
+
} | undefined;
|
|
1963
|
+
} | undefined;
|
|
1964
|
+
}, {
|
|
1965
|
+
type: "sapi" | "ssa" | "fsa" | "ss" | "fs" | "s" | "f" | "fp" | "slo" | "scoa" | "fcoa" | "seacft" | "serft" | "cls" | "seccft";
|
|
1966
|
+
date: string;
|
|
1967
|
+
ip: string;
|
|
1968
|
+
user_agent: string;
|
|
1969
|
+
isMobile: boolean;
|
|
1970
|
+
description?: string | undefined;
|
|
1971
|
+
connection?: string | undefined;
|
|
1972
|
+
user_id?: string | undefined;
|
|
1973
|
+
client_id?: string | undefined;
|
|
1974
|
+
audience?: string | undefined;
|
|
1975
|
+
scope?: string[] | undefined;
|
|
1976
|
+
log_id?: string | undefined;
|
|
1977
|
+
_id?: string | undefined;
|
|
1978
|
+
details?: any;
|
|
1979
|
+
user_name?: string | undefined;
|
|
1980
|
+
connection_id?: string | undefined;
|
|
1981
|
+
client_name?: string | undefined;
|
|
1982
|
+
strategy?: string | undefined;
|
|
1983
|
+
strategy_type?: string | undefined;
|
|
1984
|
+
hostname?: string | undefined;
|
|
1985
|
+
auth0_client?: {
|
|
1986
|
+
name: string;
|
|
1987
|
+
version: string;
|
|
1988
|
+
env?: {
|
|
1989
|
+
node?: string | undefined;
|
|
1990
|
+
} | undefined;
|
|
1991
|
+
} | undefined;
|
|
1992
|
+
}>;
|
|
1993
|
+
export type Log = z.infer<typeof logSchema>;
|
|
1994
|
+
export type LogsResponse = Log & {
|
|
1995
|
+
log_id: string;
|
|
1996
|
+
_id: string;
|
|
1997
|
+
};
|
|
1896
1998
|
export declare const otpInsertSchema: z.ZodObject<{
|
|
1897
1999
|
id: z.ZodString;
|
|
1898
2000
|
email: z.ZodString;
|
|
@@ -1918,27 +2020,27 @@ export declare const otpInsertSchema: z.ZodObject<{
|
|
|
1918
2020
|
}, "strip", z.ZodTypeAny, {
|
|
1919
2021
|
client_id: string;
|
|
1920
2022
|
username?: string | undefined;
|
|
1921
|
-
audience?: string | undefined;
|
|
1922
|
-
scope?: string | undefined;
|
|
1923
2023
|
vendor_id?: string | undefined;
|
|
1924
2024
|
response_type?: AuthorizationResponseType | undefined;
|
|
1925
2025
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1926
2026
|
redirect_uri?: string | undefined;
|
|
2027
|
+
audience?: string | undefined;
|
|
1927
2028
|
state?: string | undefined;
|
|
1928
2029
|
nonce?: string | undefined;
|
|
2030
|
+
scope?: string | undefined;
|
|
1929
2031
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
1930
2032
|
code_challenge?: string | undefined;
|
|
1931
2033
|
}, {
|
|
1932
2034
|
client_id: string;
|
|
1933
2035
|
username?: string | undefined;
|
|
1934
|
-
audience?: string | undefined;
|
|
1935
|
-
scope?: string | undefined;
|
|
1936
2036
|
vendor_id?: string | undefined;
|
|
1937
2037
|
response_type?: AuthorizationResponseType | undefined;
|
|
1938
2038
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1939
2039
|
redirect_uri?: string | undefined;
|
|
2040
|
+
audience?: string | undefined;
|
|
1940
2041
|
state?: string | undefined;
|
|
1941
2042
|
nonce?: string | undefined;
|
|
2043
|
+
scope?: string | undefined;
|
|
1942
2044
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
1943
2045
|
code_challenge?: string | undefined;
|
|
1944
2046
|
}>;
|
|
@@ -1952,22 +2054,22 @@ export declare const otpInsertSchema: z.ZodObject<{
|
|
|
1952
2054
|
authParams: {
|
|
1953
2055
|
client_id: string;
|
|
1954
2056
|
username?: string | undefined;
|
|
1955
|
-
audience?: string | undefined;
|
|
1956
|
-
scope?: string | undefined;
|
|
1957
2057
|
vendor_id?: string | undefined;
|
|
1958
2058
|
response_type?: AuthorizationResponseType | undefined;
|
|
1959
2059
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1960
2060
|
redirect_uri?: string | undefined;
|
|
2061
|
+
audience?: string | undefined;
|
|
1961
2062
|
state?: string | undefined;
|
|
1962
2063
|
nonce?: string | undefined;
|
|
2064
|
+
scope?: string | undefined;
|
|
1963
2065
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
1964
2066
|
code_challenge?: string | undefined;
|
|
1965
2067
|
};
|
|
1966
2068
|
expires_at: string;
|
|
1967
2069
|
send: "code" | "link";
|
|
1968
2070
|
user_id?: string | undefined;
|
|
1969
|
-
ip?: string | undefined;
|
|
1970
2071
|
used_at?: string | undefined;
|
|
2072
|
+
ip?: string | undefined;
|
|
1971
2073
|
}, {
|
|
1972
2074
|
code: string;
|
|
1973
2075
|
email: string;
|
|
@@ -1975,22 +2077,22 @@ export declare const otpInsertSchema: z.ZodObject<{
|
|
|
1975
2077
|
authParams: {
|
|
1976
2078
|
client_id: string;
|
|
1977
2079
|
username?: string | undefined;
|
|
1978
|
-
audience?: string | undefined;
|
|
1979
|
-
scope?: string | undefined;
|
|
1980
2080
|
vendor_id?: string | undefined;
|
|
1981
2081
|
response_type?: AuthorizationResponseType | undefined;
|
|
1982
2082
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
1983
2083
|
redirect_uri?: string | undefined;
|
|
2084
|
+
audience?: string | undefined;
|
|
1984
2085
|
state?: string | undefined;
|
|
1985
2086
|
nonce?: string | undefined;
|
|
2087
|
+
scope?: string | undefined;
|
|
1986
2088
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
1987
2089
|
code_challenge?: string | undefined;
|
|
1988
2090
|
};
|
|
1989
2091
|
expires_at: string;
|
|
1990
2092
|
send: "code" | "link";
|
|
1991
2093
|
user_id?: string | undefined;
|
|
1992
|
-
ip?: string | undefined;
|
|
1993
2094
|
used_at?: string | undefined;
|
|
2095
|
+
ip?: string | undefined;
|
|
1994
2096
|
}>;
|
|
1995
2097
|
export type OTPInsert = z.infer<typeof otpInsertSchema>;
|
|
1996
2098
|
export declare const otpSchema: z.ZodObject<{
|
|
@@ -2018,27 +2120,27 @@ export declare const otpSchema: z.ZodObject<{
|
|
|
2018
2120
|
}, "strip", z.ZodTypeAny, {
|
|
2019
2121
|
client_id: string;
|
|
2020
2122
|
username?: string | undefined;
|
|
2021
|
-
audience?: string | undefined;
|
|
2022
|
-
scope?: string | undefined;
|
|
2023
2123
|
vendor_id?: string | undefined;
|
|
2024
2124
|
response_type?: AuthorizationResponseType | undefined;
|
|
2025
2125
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
2026
2126
|
redirect_uri?: string | undefined;
|
|
2127
|
+
audience?: string | undefined;
|
|
2027
2128
|
state?: string | undefined;
|
|
2028
2129
|
nonce?: string | undefined;
|
|
2130
|
+
scope?: string | undefined;
|
|
2029
2131
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
2030
2132
|
code_challenge?: string | undefined;
|
|
2031
2133
|
}, {
|
|
2032
2134
|
client_id: string;
|
|
2033
2135
|
username?: string | undefined;
|
|
2034
|
-
audience?: string | undefined;
|
|
2035
|
-
scope?: string | undefined;
|
|
2036
2136
|
vendor_id?: string | undefined;
|
|
2037
2137
|
response_type?: AuthorizationResponseType | undefined;
|
|
2038
2138
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
2039
2139
|
redirect_uri?: string | undefined;
|
|
2140
|
+
audience?: string | undefined;
|
|
2040
2141
|
state?: string | undefined;
|
|
2041
2142
|
nonce?: string | undefined;
|
|
2143
|
+
scope?: string | undefined;
|
|
2042
2144
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
2043
2145
|
code_challenge?: string | undefined;
|
|
2044
2146
|
}>;
|
|
@@ -2054,22 +2156,22 @@ export declare const otpSchema: z.ZodObject<{
|
|
|
2054
2156
|
authParams: {
|
|
2055
2157
|
client_id: string;
|
|
2056
2158
|
username?: string | undefined;
|
|
2057
|
-
audience?: string | undefined;
|
|
2058
|
-
scope?: string | undefined;
|
|
2059
2159
|
vendor_id?: string | undefined;
|
|
2060
2160
|
response_type?: AuthorizationResponseType | undefined;
|
|
2061
2161
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
2062
2162
|
redirect_uri?: string | undefined;
|
|
2163
|
+
audience?: string | undefined;
|
|
2063
2164
|
state?: string | undefined;
|
|
2064
2165
|
nonce?: string | undefined;
|
|
2166
|
+
scope?: string | undefined;
|
|
2065
2167
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
2066
2168
|
code_challenge?: string | undefined;
|
|
2067
2169
|
};
|
|
2068
2170
|
expires_at: string;
|
|
2069
2171
|
send: "code" | "link";
|
|
2070
2172
|
user_id?: string | undefined;
|
|
2071
|
-
ip?: string | undefined;
|
|
2072
2173
|
used_at?: string | undefined;
|
|
2174
|
+
ip?: string | undefined;
|
|
2073
2175
|
}, {
|
|
2074
2176
|
code: string;
|
|
2075
2177
|
created_at: string;
|
|
@@ -2078,32 +2180,52 @@ export declare const otpSchema: z.ZodObject<{
|
|
|
2078
2180
|
authParams: {
|
|
2079
2181
|
client_id: string;
|
|
2080
2182
|
username?: string | undefined;
|
|
2081
|
-
audience?: string | undefined;
|
|
2082
|
-
scope?: string | undefined;
|
|
2083
2183
|
vendor_id?: string | undefined;
|
|
2084
2184
|
response_type?: AuthorizationResponseType | undefined;
|
|
2085
2185
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
2086
2186
|
redirect_uri?: string | undefined;
|
|
2187
|
+
audience?: string | undefined;
|
|
2087
2188
|
state?: string | undefined;
|
|
2088
2189
|
nonce?: string | undefined;
|
|
2190
|
+
scope?: string | undefined;
|
|
2089
2191
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
2090
2192
|
code_challenge?: string | undefined;
|
|
2091
2193
|
};
|
|
2092
2194
|
expires_at: string;
|
|
2093
2195
|
send: "code" | "link";
|
|
2094
2196
|
user_id?: string | undefined;
|
|
2095
|
-
ip?: string | undefined;
|
|
2096
2197
|
used_at?: string | undefined;
|
|
2198
|
+
ip?: string | undefined;
|
|
2097
2199
|
}>;
|
|
2098
2200
|
export type OTP = z.infer<typeof otpSchema>;
|
|
2099
|
-
export
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
}
|
|
2103
|
-
|
|
2201
|
+
export declare const passwordInsertSchema: z.ZodObject<{
|
|
2202
|
+
user_id: z.ZodString;
|
|
2203
|
+
password: z.ZodString;
|
|
2204
|
+
}, "strip", z.ZodTypeAny, {
|
|
2205
|
+
password: string;
|
|
2104
2206
|
user_id: string;
|
|
2207
|
+
}, {
|
|
2105
2208
|
password: string;
|
|
2106
|
-
|
|
2209
|
+
user_id: string;
|
|
2210
|
+
}>;
|
|
2211
|
+
export type PasswordInsert = z.infer<typeof passwordInsertSchema>;
|
|
2212
|
+
export declare const passwordSchema: z.ZodObject<{
|
|
2213
|
+
created_at: z.ZodString;
|
|
2214
|
+
updated_at: z.ZodString;
|
|
2215
|
+
user_id: z.ZodString;
|
|
2216
|
+
password: z.ZodString;
|
|
2217
|
+
}, "strip", z.ZodTypeAny, {
|
|
2218
|
+
password: string;
|
|
2219
|
+
created_at: string;
|
|
2220
|
+
updated_at: string;
|
|
2221
|
+
user_id: string;
|
|
2222
|
+
}, {
|
|
2223
|
+
password: string;
|
|
2224
|
+
created_at: string;
|
|
2225
|
+
updated_at: string;
|
|
2226
|
+
user_id: string;
|
|
2227
|
+
}>;
|
|
2228
|
+
export type Password = z.infer<typeof passwordSchema>;
|
|
2107
2229
|
export declare const sessionInsertSchema: z.ZodObject<{
|
|
2108
2230
|
session_id: z.ZodString;
|
|
2109
2231
|
client_id: z.ZodString;
|
|
@@ -2377,13 +2499,13 @@ export declare const authorizationCodeGrantTypeParamsSchema: z.ZodObject<{
|
|
|
2377
2499
|
client_id: z.ZodString;
|
|
2378
2500
|
}, "strip", z.ZodTypeAny, {
|
|
2379
2501
|
code: string;
|
|
2380
|
-
client_id: string;
|
|
2381
2502
|
client_secret: string;
|
|
2503
|
+
client_id: string;
|
|
2382
2504
|
grant_type: GrantType.AuthorizationCode;
|
|
2383
2505
|
}, {
|
|
2384
2506
|
code: string;
|
|
2385
|
-
client_id: string;
|
|
2386
2507
|
client_secret: string;
|
|
2508
|
+
client_id: string;
|
|
2387
2509
|
grant_type: GrantType;
|
|
2388
2510
|
}>;
|
|
2389
2511
|
export type AuthorizationCodeGrantTypeParams = z.infer<typeof authorizationCodeGrantTypeParamsSchema>;
|
|
@@ -2414,14 +2536,14 @@ export declare const clientCredentialGrantTypeParamsSchema: z.ZodObject<{
|
|
|
2414
2536
|
client_id: z.ZodString;
|
|
2415
2537
|
audience: z.ZodOptional<z.ZodString>;
|
|
2416
2538
|
}, "strip", z.ZodTypeAny, {
|
|
2417
|
-
client_id: string;
|
|
2418
2539
|
client_secret: string;
|
|
2540
|
+
client_id: string;
|
|
2419
2541
|
grant_type: GrantType.ClientCredential;
|
|
2420
2542
|
audience?: string | undefined;
|
|
2421
2543
|
scope?: string | undefined;
|
|
2422
2544
|
}, {
|
|
2423
|
-
client_id: string;
|
|
2424
2545
|
client_secret: string;
|
|
2546
|
+
client_id: string;
|
|
2425
2547
|
grant_type: GrantType;
|
|
2426
2548
|
audience?: string | undefined;
|
|
2427
2549
|
scope?: string | undefined;
|
|
@@ -2440,16 +2562,16 @@ declare const tokenResponseSchema: z.ZodObject<{
|
|
|
2440
2562
|
token_type: string;
|
|
2441
2563
|
expires_in: number;
|
|
2442
2564
|
refresh_token?: string | undefined;
|
|
2443
|
-
scope?: string | undefined;
|
|
2444
2565
|
state?: string | undefined;
|
|
2566
|
+
scope?: string | undefined;
|
|
2445
2567
|
id_token?: string | undefined;
|
|
2446
2568
|
}, {
|
|
2447
2569
|
access_token: string;
|
|
2448
2570
|
token_type: string;
|
|
2449
2571
|
expires_in: number;
|
|
2450
2572
|
refresh_token?: string | undefined;
|
|
2451
|
-
scope?: string | undefined;
|
|
2452
2573
|
state?: string | undefined;
|
|
2574
|
+
scope?: string | undefined;
|
|
2453
2575
|
id_token?: string | undefined;
|
|
2454
2576
|
}>;
|
|
2455
2577
|
export type TokenResponse = z.infer<typeof tokenResponseSchema>;
|
|
@@ -2501,27 +2623,27 @@ export declare const universalLoginSessionInsertSchema: z.ZodObject<{
|
|
|
2501
2623
|
}, "strip", z.ZodTypeAny, {
|
|
2502
2624
|
client_id: string;
|
|
2503
2625
|
username?: string | undefined;
|
|
2504
|
-
audience?: string | undefined;
|
|
2505
|
-
scope?: string | undefined;
|
|
2506
2626
|
vendor_id?: string | undefined;
|
|
2507
2627
|
response_type?: AuthorizationResponseType | undefined;
|
|
2508
2628
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
2509
2629
|
redirect_uri?: string | undefined;
|
|
2630
|
+
audience?: string | undefined;
|
|
2510
2631
|
state?: string | undefined;
|
|
2511
2632
|
nonce?: string | undefined;
|
|
2633
|
+
scope?: string | undefined;
|
|
2512
2634
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
2513
2635
|
code_challenge?: string | undefined;
|
|
2514
2636
|
}, {
|
|
2515
2637
|
client_id: string;
|
|
2516
2638
|
username?: string | undefined;
|
|
2517
|
-
audience?: string | undefined;
|
|
2518
|
-
scope?: string | undefined;
|
|
2519
2639
|
vendor_id?: string | undefined;
|
|
2520
2640
|
response_type?: AuthorizationResponseType | undefined;
|
|
2521
2641
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
2522
2642
|
redirect_uri?: string | undefined;
|
|
2643
|
+
audience?: string | undefined;
|
|
2523
2644
|
state?: string | undefined;
|
|
2524
2645
|
nonce?: string | undefined;
|
|
2646
|
+
scope?: string | undefined;
|
|
2525
2647
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
2526
2648
|
code_challenge?: string | undefined;
|
|
2527
2649
|
}>;
|
|
@@ -2530,14 +2652,14 @@ export declare const universalLoginSessionInsertSchema: z.ZodObject<{
|
|
|
2530
2652
|
authParams: {
|
|
2531
2653
|
client_id: string;
|
|
2532
2654
|
username?: string | undefined;
|
|
2533
|
-
audience?: string | undefined;
|
|
2534
|
-
scope?: string | undefined;
|
|
2535
2655
|
vendor_id?: string | undefined;
|
|
2536
2656
|
response_type?: AuthorizationResponseType | undefined;
|
|
2537
2657
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
2538
2658
|
redirect_uri?: string | undefined;
|
|
2659
|
+
audience?: string | undefined;
|
|
2539
2660
|
state?: string | undefined;
|
|
2540
2661
|
nonce?: string | undefined;
|
|
2662
|
+
scope?: string | undefined;
|
|
2541
2663
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
2542
2664
|
code_challenge?: string | undefined;
|
|
2543
2665
|
};
|
|
@@ -2548,14 +2670,14 @@ export declare const universalLoginSessionInsertSchema: z.ZodObject<{
|
|
|
2548
2670
|
authParams: {
|
|
2549
2671
|
client_id: string;
|
|
2550
2672
|
username?: string | undefined;
|
|
2551
|
-
audience?: string | undefined;
|
|
2552
|
-
scope?: string | undefined;
|
|
2553
2673
|
vendor_id?: string | undefined;
|
|
2554
2674
|
response_type?: AuthorizationResponseType | undefined;
|
|
2555
2675
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
2556
2676
|
redirect_uri?: string | undefined;
|
|
2677
|
+
audience?: string | undefined;
|
|
2557
2678
|
state?: string | undefined;
|
|
2558
2679
|
nonce?: string | undefined;
|
|
2680
|
+
scope?: string | undefined;
|
|
2559
2681
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
2560
2682
|
code_challenge?: string | undefined;
|
|
2561
2683
|
};
|
|
@@ -2585,27 +2707,27 @@ export declare const universalLoginSessionSchema: z.ZodObject<{
|
|
|
2585
2707
|
}, "strip", z.ZodTypeAny, {
|
|
2586
2708
|
client_id: string;
|
|
2587
2709
|
username?: string | undefined;
|
|
2588
|
-
audience?: string | undefined;
|
|
2589
|
-
scope?: string | undefined;
|
|
2590
2710
|
vendor_id?: string | undefined;
|
|
2591
2711
|
response_type?: AuthorizationResponseType | undefined;
|
|
2592
2712
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
2593
2713
|
redirect_uri?: string | undefined;
|
|
2714
|
+
audience?: string | undefined;
|
|
2594
2715
|
state?: string | undefined;
|
|
2595
2716
|
nonce?: string | undefined;
|
|
2717
|
+
scope?: string | undefined;
|
|
2596
2718
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
2597
2719
|
code_challenge?: string | undefined;
|
|
2598
2720
|
}, {
|
|
2599
2721
|
client_id: string;
|
|
2600
2722
|
username?: string | undefined;
|
|
2601
|
-
audience?: string | undefined;
|
|
2602
|
-
scope?: string | undefined;
|
|
2603
2723
|
vendor_id?: string | undefined;
|
|
2604
2724
|
response_type?: AuthorizationResponseType | undefined;
|
|
2605
2725
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
2606
2726
|
redirect_uri?: string | undefined;
|
|
2727
|
+
audience?: string | undefined;
|
|
2607
2728
|
state?: string | undefined;
|
|
2608
2729
|
nonce?: string | undefined;
|
|
2730
|
+
scope?: string | undefined;
|
|
2609
2731
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
2610
2732
|
code_challenge?: string | undefined;
|
|
2611
2733
|
}>;
|
|
@@ -2616,14 +2738,14 @@ export declare const universalLoginSessionSchema: z.ZodObject<{
|
|
|
2616
2738
|
authParams: {
|
|
2617
2739
|
client_id: string;
|
|
2618
2740
|
username?: string | undefined;
|
|
2619
|
-
audience?: string | undefined;
|
|
2620
|
-
scope?: string | undefined;
|
|
2621
2741
|
vendor_id?: string | undefined;
|
|
2622
2742
|
response_type?: AuthorizationResponseType | undefined;
|
|
2623
2743
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
2624
2744
|
redirect_uri?: string | undefined;
|
|
2745
|
+
audience?: string | undefined;
|
|
2625
2746
|
state?: string | undefined;
|
|
2626
2747
|
nonce?: string | undefined;
|
|
2748
|
+
scope?: string | undefined;
|
|
2627
2749
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
2628
2750
|
code_challenge?: string | undefined;
|
|
2629
2751
|
};
|
|
@@ -2636,14 +2758,14 @@ export declare const universalLoginSessionSchema: z.ZodObject<{
|
|
|
2636
2758
|
authParams: {
|
|
2637
2759
|
client_id: string;
|
|
2638
2760
|
username?: string | undefined;
|
|
2639
|
-
audience?: string | undefined;
|
|
2640
|
-
scope?: string | undefined;
|
|
2641
2761
|
vendor_id?: string | undefined;
|
|
2642
2762
|
response_type?: AuthorizationResponseType | undefined;
|
|
2643
2763
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
2644
2764
|
redirect_uri?: string | undefined;
|
|
2765
|
+
audience?: string | undefined;
|
|
2645
2766
|
state?: string | undefined;
|
|
2646
2767
|
nonce?: string | undefined;
|
|
2768
|
+
scope?: string | undefined;
|
|
2647
2769
|
code_challenge_method?: CodeChallengeMethod | undefined;
|
|
2648
2770
|
code_challenge?: string | undefined;
|
|
2649
2771
|
};
|
|
@@ -2651,6 +2773,1111 @@ export declare const universalLoginSessionSchema: z.ZodObject<{
|
|
|
2651
2773
|
auth0Client?: string | undefined;
|
|
2652
2774
|
}>;
|
|
2653
2775
|
export type UniversalLoginSession = z.infer<typeof universalLoginSessionSchema>;
|
|
2776
|
+
export declare const bordersSchema: z.ZodObject<{
|
|
2777
|
+
button_border_radius: z.ZodNumber;
|
|
2778
|
+
button_border_weight: z.ZodNumber;
|
|
2779
|
+
buttons_style: z.ZodEnum<[
|
|
2780
|
+
"pill"
|
|
2781
|
+
]>;
|
|
2782
|
+
input_border_radius: z.ZodNumber;
|
|
2783
|
+
input_border_weight: z.ZodNumber;
|
|
2784
|
+
inputs_style: z.ZodEnum<[
|
|
2785
|
+
"pill"
|
|
2786
|
+
]>;
|
|
2787
|
+
show_widget_shadow: z.ZodBoolean;
|
|
2788
|
+
widget_border_weight: z.ZodNumber;
|
|
2789
|
+
widget_corner_radius: z.ZodNumber;
|
|
2790
|
+
}, "strip", z.ZodTypeAny, {
|
|
2791
|
+
button_border_radius: number;
|
|
2792
|
+
button_border_weight: number;
|
|
2793
|
+
buttons_style: "pill";
|
|
2794
|
+
input_border_radius: number;
|
|
2795
|
+
input_border_weight: number;
|
|
2796
|
+
inputs_style: "pill";
|
|
2797
|
+
show_widget_shadow: boolean;
|
|
2798
|
+
widget_border_weight: number;
|
|
2799
|
+
widget_corner_radius: number;
|
|
2800
|
+
}, {
|
|
2801
|
+
button_border_radius: number;
|
|
2802
|
+
button_border_weight: number;
|
|
2803
|
+
buttons_style: "pill";
|
|
2804
|
+
input_border_radius: number;
|
|
2805
|
+
input_border_weight: number;
|
|
2806
|
+
inputs_style: "pill";
|
|
2807
|
+
show_widget_shadow: boolean;
|
|
2808
|
+
widget_border_weight: number;
|
|
2809
|
+
widget_corner_radius: number;
|
|
2810
|
+
}>;
|
|
2811
|
+
export declare const colorsSchema: z.ZodObject<{
|
|
2812
|
+
base_focus_color: z.ZodString;
|
|
2813
|
+
base_hover_color: z.ZodString;
|
|
2814
|
+
body_text: z.ZodString;
|
|
2815
|
+
captcha_widget_theme: z.ZodEnum<[
|
|
2816
|
+
"auto"
|
|
2817
|
+
]>;
|
|
2818
|
+
error: z.ZodString;
|
|
2819
|
+
header: z.ZodString;
|
|
2820
|
+
icons: z.ZodString;
|
|
2821
|
+
input_background: z.ZodString;
|
|
2822
|
+
input_border: z.ZodString;
|
|
2823
|
+
input_filled_text: z.ZodString;
|
|
2824
|
+
input_labels_placeholders: z.ZodString;
|
|
2825
|
+
links_focused_components: z.ZodString;
|
|
2826
|
+
primary_button: z.ZodString;
|
|
2827
|
+
primary_button_label: z.ZodString;
|
|
2828
|
+
secondary_button_border: z.ZodString;
|
|
2829
|
+
secondary_button_label: z.ZodString;
|
|
2830
|
+
success: z.ZodString;
|
|
2831
|
+
widget_background: z.ZodString;
|
|
2832
|
+
widget_border: z.ZodString;
|
|
2833
|
+
}, "strip", z.ZodTypeAny, {
|
|
2834
|
+
base_focus_color: string;
|
|
2835
|
+
base_hover_color: string;
|
|
2836
|
+
body_text: string;
|
|
2837
|
+
captcha_widget_theme: "auto";
|
|
2838
|
+
error: string;
|
|
2839
|
+
header: string;
|
|
2840
|
+
icons: string;
|
|
2841
|
+
input_background: string;
|
|
2842
|
+
input_border: string;
|
|
2843
|
+
input_filled_text: string;
|
|
2844
|
+
input_labels_placeholders: string;
|
|
2845
|
+
links_focused_components: string;
|
|
2846
|
+
primary_button: string;
|
|
2847
|
+
primary_button_label: string;
|
|
2848
|
+
secondary_button_border: string;
|
|
2849
|
+
secondary_button_label: string;
|
|
2850
|
+
success: string;
|
|
2851
|
+
widget_background: string;
|
|
2852
|
+
widget_border: string;
|
|
2853
|
+
}, {
|
|
2854
|
+
base_focus_color: string;
|
|
2855
|
+
base_hover_color: string;
|
|
2856
|
+
body_text: string;
|
|
2857
|
+
captcha_widget_theme: "auto";
|
|
2858
|
+
error: string;
|
|
2859
|
+
header: string;
|
|
2860
|
+
icons: string;
|
|
2861
|
+
input_background: string;
|
|
2862
|
+
input_border: string;
|
|
2863
|
+
input_filled_text: string;
|
|
2864
|
+
input_labels_placeholders: string;
|
|
2865
|
+
links_focused_components: string;
|
|
2866
|
+
primary_button: string;
|
|
2867
|
+
primary_button_label: string;
|
|
2868
|
+
secondary_button_border: string;
|
|
2869
|
+
secondary_button_label: string;
|
|
2870
|
+
success: string;
|
|
2871
|
+
widget_background: string;
|
|
2872
|
+
widget_border: string;
|
|
2873
|
+
}>;
|
|
2874
|
+
export declare const fontDetailsSchema: z.ZodObject<{
|
|
2875
|
+
bold: z.ZodBoolean;
|
|
2876
|
+
size: z.ZodNumber;
|
|
2877
|
+
}, "strip", z.ZodTypeAny, {
|
|
2878
|
+
bold: boolean;
|
|
2879
|
+
size: number;
|
|
2880
|
+
}, {
|
|
2881
|
+
bold: boolean;
|
|
2882
|
+
size: number;
|
|
2883
|
+
}>;
|
|
2884
|
+
export declare const fontsSchema: z.ZodObject<{
|
|
2885
|
+
body_text: z.ZodObject<{
|
|
2886
|
+
bold: z.ZodBoolean;
|
|
2887
|
+
size: z.ZodNumber;
|
|
2888
|
+
}, "strip", z.ZodTypeAny, {
|
|
2889
|
+
bold: boolean;
|
|
2890
|
+
size: number;
|
|
2891
|
+
}, {
|
|
2892
|
+
bold: boolean;
|
|
2893
|
+
size: number;
|
|
2894
|
+
}>;
|
|
2895
|
+
buttons_text: z.ZodObject<{
|
|
2896
|
+
bold: z.ZodBoolean;
|
|
2897
|
+
size: z.ZodNumber;
|
|
2898
|
+
}, "strip", z.ZodTypeAny, {
|
|
2899
|
+
bold: boolean;
|
|
2900
|
+
size: number;
|
|
2901
|
+
}, {
|
|
2902
|
+
bold: boolean;
|
|
2903
|
+
size: number;
|
|
2904
|
+
}>;
|
|
2905
|
+
font_url: z.ZodString;
|
|
2906
|
+
input_labels: z.ZodObject<{
|
|
2907
|
+
bold: z.ZodBoolean;
|
|
2908
|
+
size: z.ZodNumber;
|
|
2909
|
+
}, "strip", z.ZodTypeAny, {
|
|
2910
|
+
bold: boolean;
|
|
2911
|
+
size: number;
|
|
2912
|
+
}, {
|
|
2913
|
+
bold: boolean;
|
|
2914
|
+
size: number;
|
|
2915
|
+
}>;
|
|
2916
|
+
links: z.ZodObject<{
|
|
2917
|
+
bold: z.ZodBoolean;
|
|
2918
|
+
size: z.ZodNumber;
|
|
2919
|
+
}, "strip", z.ZodTypeAny, {
|
|
2920
|
+
bold: boolean;
|
|
2921
|
+
size: number;
|
|
2922
|
+
}, {
|
|
2923
|
+
bold: boolean;
|
|
2924
|
+
size: number;
|
|
2925
|
+
}>;
|
|
2926
|
+
links_style: z.ZodEnum<[
|
|
2927
|
+
"normal"
|
|
2928
|
+
]>;
|
|
2929
|
+
reference_text_size: z.ZodNumber;
|
|
2930
|
+
subtitle: z.ZodObject<{
|
|
2931
|
+
bold: z.ZodBoolean;
|
|
2932
|
+
size: z.ZodNumber;
|
|
2933
|
+
}, "strip", z.ZodTypeAny, {
|
|
2934
|
+
bold: boolean;
|
|
2935
|
+
size: number;
|
|
2936
|
+
}, {
|
|
2937
|
+
bold: boolean;
|
|
2938
|
+
size: number;
|
|
2939
|
+
}>;
|
|
2940
|
+
title: z.ZodObject<{
|
|
2941
|
+
bold: z.ZodBoolean;
|
|
2942
|
+
size: z.ZodNumber;
|
|
2943
|
+
}, "strip", z.ZodTypeAny, {
|
|
2944
|
+
bold: boolean;
|
|
2945
|
+
size: number;
|
|
2946
|
+
}, {
|
|
2947
|
+
bold: boolean;
|
|
2948
|
+
size: number;
|
|
2949
|
+
}>;
|
|
2950
|
+
}, "strip", z.ZodTypeAny, {
|
|
2951
|
+
title: {
|
|
2952
|
+
bold: boolean;
|
|
2953
|
+
size: number;
|
|
2954
|
+
};
|
|
2955
|
+
body_text: {
|
|
2956
|
+
bold: boolean;
|
|
2957
|
+
size: number;
|
|
2958
|
+
};
|
|
2959
|
+
buttons_text: {
|
|
2960
|
+
bold: boolean;
|
|
2961
|
+
size: number;
|
|
2962
|
+
};
|
|
2963
|
+
font_url: string;
|
|
2964
|
+
input_labels: {
|
|
2965
|
+
bold: boolean;
|
|
2966
|
+
size: number;
|
|
2967
|
+
};
|
|
2968
|
+
links: {
|
|
2969
|
+
bold: boolean;
|
|
2970
|
+
size: number;
|
|
2971
|
+
};
|
|
2972
|
+
links_style: "normal";
|
|
2973
|
+
reference_text_size: number;
|
|
2974
|
+
subtitle: {
|
|
2975
|
+
bold: boolean;
|
|
2976
|
+
size: number;
|
|
2977
|
+
};
|
|
2978
|
+
}, {
|
|
2979
|
+
title: {
|
|
2980
|
+
bold: boolean;
|
|
2981
|
+
size: number;
|
|
2982
|
+
};
|
|
2983
|
+
body_text: {
|
|
2984
|
+
bold: boolean;
|
|
2985
|
+
size: number;
|
|
2986
|
+
};
|
|
2987
|
+
buttons_text: {
|
|
2988
|
+
bold: boolean;
|
|
2989
|
+
size: number;
|
|
2990
|
+
};
|
|
2991
|
+
font_url: string;
|
|
2992
|
+
input_labels: {
|
|
2993
|
+
bold: boolean;
|
|
2994
|
+
size: number;
|
|
2995
|
+
};
|
|
2996
|
+
links: {
|
|
2997
|
+
bold: boolean;
|
|
2998
|
+
size: number;
|
|
2999
|
+
};
|
|
3000
|
+
links_style: "normal";
|
|
3001
|
+
reference_text_size: number;
|
|
3002
|
+
subtitle: {
|
|
3003
|
+
bold: boolean;
|
|
3004
|
+
size: number;
|
|
3005
|
+
};
|
|
3006
|
+
}>;
|
|
3007
|
+
export declare const pageBackgroundSchema: z.ZodObject<{
|
|
3008
|
+
background_color: z.ZodString;
|
|
3009
|
+
background_image_url: z.ZodString;
|
|
3010
|
+
page_layout: z.ZodEnum<[
|
|
3011
|
+
"center"
|
|
3012
|
+
]>;
|
|
3013
|
+
}, "strip", z.ZodTypeAny, {
|
|
3014
|
+
background_color: string;
|
|
3015
|
+
background_image_url: string;
|
|
3016
|
+
page_layout: "center";
|
|
3017
|
+
}, {
|
|
3018
|
+
background_color: string;
|
|
3019
|
+
background_image_url: string;
|
|
3020
|
+
page_layout: "center";
|
|
3021
|
+
}>;
|
|
3022
|
+
export declare const widgetSchema: z.ZodObject<{
|
|
3023
|
+
header_text_alignment: z.ZodEnum<[
|
|
3024
|
+
"center"
|
|
3025
|
+
]>;
|
|
3026
|
+
logo_height: z.ZodNumber;
|
|
3027
|
+
logo_position: z.ZodEnum<[
|
|
3028
|
+
"center"
|
|
3029
|
+
]>;
|
|
3030
|
+
logo_url: z.ZodString;
|
|
3031
|
+
social_buttons_layout: z.ZodEnum<[
|
|
3032
|
+
"bottom"
|
|
3033
|
+
]>;
|
|
3034
|
+
}, "strip", z.ZodTypeAny, {
|
|
3035
|
+
logo_url: string;
|
|
3036
|
+
header_text_alignment: "center";
|
|
3037
|
+
logo_height: number;
|
|
3038
|
+
logo_position: "center";
|
|
3039
|
+
social_buttons_layout: "bottom";
|
|
3040
|
+
}, {
|
|
3041
|
+
logo_url: string;
|
|
3042
|
+
header_text_alignment: "center";
|
|
3043
|
+
logo_height: number;
|
|
3044
|
+
logo_position: "center";
|
|
3045
|
+
social_buttons_layout: "bottom";
|
|
3046
|
+
}>;
|
|
3047
|
+
export declare const themeInsertSchema: z.ZodObject<{
|
|
3048
|
+
borders: z.ZodObject<{
|
|
3049
|
+
button_border_radius: z.ZodNumber;
|
|
3050
|
+
button_border_weight: z.ZodNumber;
|
|
3051
|
+
buttons_style: z.ZodEnum<[
|
|
3052
|
+
"pill"
|
|
3053
|
+
]>;
|
|
3054
|
+
input_border_radius: z.ZodNumber;
|
|
3055
|
+
input_border_weight: z.ZodNumber;
|
|
3056
|
+
inputs_style: z.ZodEnum<[
|
|
3057
|
+
"pill"
|
|
3058
|
+
]>;
|
|
3059
|
+
show_widget_shadow: z.ZodBoolean;
|
|
3060
|
+
widget_border_weight: z.ZodNumber;
|
|
3061
|
+
widget_corner_radius: z.ZodNumber;
|
|
3062
|
+
}, "strip", z.ZodTypeAny, {
|
|
3063
|
+
button_border_radius: number;
|
|
3064
|
+
button_border_weight: number;
|
|
3065
|
+
buttons_style: "pill";
|
|
3066
|
+
input_border_radius: number;
|
|
3067
|
+
input_border_weight: number;
|
|
3068
|
+
inputs_style: "pill";
|
|
3069
|
+
show_widget_shadow: boolean;
|
|
3070
|
+
widget_border_weight: number;
|
|
3071
|
+
widget_corner_radius: number;
|
|
3072
|
+
}, {
|
|
3073
|
+
button_border_radius: number;
|
|
3074
|
+
button_border_weight: number;
|
|
3075
|
+
buttons_style: "pill";
|
|
3076
|
+
input_border_radius: number;
|
|
3077
|
+
input_border_weight: number;
|
|
3078
|
+
inputs_style: "pill";
|
|
3079
|
+
show_widget_shadow: boolean;
|
|
3080
|
+
widget_border_weight: number;
|
|
3081
|
+
widget_corner_radius: number;
|
|
3082
|
+
}>;
|
|
3083
|
+
colors: z.ZodObject<{
|
|
3084
|
+
base_focus_color: z.ZodString;
|
|
3085
|
+
base_hover_color: z.ZodString;
|
|
3086
|
+
body_text: z.ZodString;
|
|
3087
|
+
captcha_widget_theme: z.ZodEnum<[
|
|
3088
|
+
"auto"
|
|
3089
|
+
]>;
|
|
3090
|
+
error: z.ZodString;
|
|
3091
|
+
header: z.ZodString;
|
|
3092
|
+
icons: z.ZodString;
|
|
3093
|
+
input_background: z.ZodString;
|
|
3094
|
+
input_border: z.ZodString;
|
|
3095
|
+
input_filled_text: z.ZodString;
|
|
3096
|
+
input_labels_placeholders: z.ZodString;
|
|
3097
|
+
links_focused_components: z.ZodString;
|
|
3098
|
+
primary_button: z.ZodString;
|
|
3099
|
+
primary_button_label: z.ZodString;
|
|
3100
|
+
secondary_button_border: z.ZodString;
|
|
3101
|
+
secondary_button_label: z.ZodString;
|
|
3102
|
+
success: z.ZodString;
|
|
3103
|
+
widget_background: z.ZodString;
|
|
3104
|
+
widget_border: z.ZodString;
|
|
3105
|
+
}, "strip", z.ZodTypeAny, {
|
|
3106
|
+
base_focus_color: string;
|
|
3107
|
+
base_hover_color: string;
|
|
3108
|
+
body_text: string;
|
|
3109
|
+
captcha_widget_theme: "auto";
|
|
3110
|
+
error: string;
|
|
3111
|
+
header: string;
|
|
3112
|
+
icons: string;
|
|
3113
|
+
input_background: string;
|
|
3114
|
+
input_border: string;
|
|
3115
|
+
input_filled_text: string;
|
|
3116
|
+
input_labels_placeholders: string;
|
|
3117
|
+
links_focused_components: string;
|
|
3118
|
+
primary_button: string;
|
|
3119
|
+
primary_button_label: string;
|
|
3120
|
+
secondary_button_border: string;
|
|
3121
|
+
secondary_button_label: string;
|
|
3122
|
+
success: string;
|
|
3123
|
+
widget_background: string;
|
|
3124
|
+
widget_border: string;
|
|
3125
|
+
}, {
|
|
3126
|
+
base_focus_color: string;
|
|
3127
|
+
base_hover_color: string;
|
|
3128
|
+
body_text: string;
|
|
3129
|
+
captcha_widget_theme: "auto";
|
|
3130
|
+
error: string;
|
|
3131
|
+
header: string;
|
|
3132
|
+
icons: string;
|
|
3133
|
+
input_background: string;
|
|
3134
|
+
input_border: string;
|
|
3135
|
+
input_filled_text: string;
|
|
3136
|
+
input_labels_placeholders: string;
|
|
3137
|
+
links_focused_components: string;
|
|
3138
|
+
primary_button: string;
|
|
3139
|
+
primary_button_label: string;
|
|
3140
|
+
secondary_button_border: string;
|
|
3141
|
+
secondary_button_label: string;
|
|
3142
|
+
success: string;
|
|
3143
|
+
widget_background: string;
|
|
3144
|
+
widget_border: string;
|
|
3145
|
+
}>;
|
|
3146
|
+
displayName: z.ZodString;
|
|
3147
|
+
fonts: z.ZodObject<{
|
|
3148
|
+
body_text: z.ZodObject<{
|
|
3149
|
+
bold: z.ZodBoolean;
|
|
3150
|
+
size: z.ZodNumber;
|
|
3151
|
+
}, "strip", z.ZodTypeAny, {
|
|
3152
|
+
bold: boolean;
|
|
3153
|
+
size: number;
|
|
3154
|
+
}, {
|
|
3155
|
+
bold: boolean;
|
|
3156
|
+
size: number;
|
|
3157
|
+
}>;
|
|
3158
|
+
buttons_text: z.ZodObject<{
|
|
3159
|
+
bold: z.ZodBoolean;
|
|
3160
|
+
size: z.ZodNumber;
|
|
3161
|
+
}, "strip", z.ZodTypeAny, {
|
|
3162
|
+
bold: boolean;
|
|
3163
|
+
size: number;
|
|
3164
|
+
}, {
|
|
3165
|
+
bold: boolean;
|
|
3166
|
+
size: number;
|
|
3167
|
+
}>;
|
|
3168
|
+
font_url: z.ZodString;
|
|
3169
|
+
input_labels: z.ZodObject<{
|
|
3170
|
+
bold: z.ZodBoolean;
|
|
3171
|
+
size: z.ZodNumber;
|
|
3172
|
+
}, "strip", z.ZodTypeAny, {
|
|
3173
|
+
bold: boolean;
|
|
3174
|
+
size: number;
|
|
3175
|
+
}, {
|
|
3176
|
+
bold: boolean;
|
|
3177
|
+
size: number;
|
|
3178
|
+
}>;
|
|
3179
|
+
links: z.ZodObject<{
|
|
3180
|
+
bold: z.ZodBoolean;
|
|
3181
|
+
size: z.ZodNumber;
|
|
3182
|
+
}, "strip", z.ZodTypeAny, {
|
|
3183
|
+
bold: boolean;
|
|
3184
|
+
size: number;
|
|
3185
|
+
}, {
|
|
3186
|
+
bold: boolean;
|
|
3187
|
+
size: number;
|
|
3188
|
+
}>;
|
|
3189
|
+
links_style: z.ZodEnum<[
|
|
3190
|
+
"normal"
|
|
3191
|
+
]>;
|
|
3192
|
+
reference_text_size: z.ZodNumber;
|
|
3193
|
+
subtitle: z.ZodObject<{
|
|
3194
|
+
bold: z.ZodBoolean;
|
|
3195
|
+
size: z.ZodNumber;
|
|
3196
|
+
}, "strip", z.ZodTypeAny, {
|
|
3197
|
+
bold: boolean;
|
|
3198
|
+
size: number;
|
|
3199
|
+
}, {
|
|
3200
|
+
bold: boolean;
|
|
3201
|
+
size: number;
|
|
3202
|
+
}>;
|
|
3203
|
+
title: z.ZodObject<{
|
|
3204
|
+
bold: z.ZodBoolean;
|
|
3205
|
+
size: z.ZodNumber;
|
|
3206
|
+
}, "strip", z.ZodTypeAny, {
|
|
3207
|
+
bold: boolean;
|
|
3208
|
+
size: number;
|
|
3209
|
+
}, {
|
|
3210
|
+
bold: boolean;
|
|
3211
|
+
size: number;
|
|
3212
|
+
}>;
|
|
3213
|
+
}, "strip", z.ZodTypeAny, {
|
|
3214
|
+
title: {
|
|
3215
|
+
bold: boolean;
|
|
3216
|
+
size: number;
|
|
3217
|
+
};
|
|
3218
|
+
body_text: {
|
|
3219
|
+
bold: boolean;
|
|
3220
|
+
size: number;
|
|
3221
|
+
};
|
|
3222
|
+
buttons_text: {
|
|
3223
|
+
bold: boolean;
|
|
3224
|
+
size: number;
|
|
3225
|
+
};
|
|
3226
|
+
font_url: string;
|
|
3227
|
+
input_labels: {
|
|
3228
|
+
bold: boolean;
|
|
3229
|
+
size: number;
|
|
3230
|
+
};
|
|
3231
|
+
links: {
|
|
3232
|
+
bold: boolean;
|
|
3233
|
+
size: number;
|
|
3234
|
+
};
|
|
3235
|
+
links_style: "normal";
|
|
3236
|
+
reference_text_size: number;
|
|
3237
|
+
subtitle: {
|
|
3238
|
+
bold: boolean;
|
|
3239
|
+
size: number;
|
|
3240
|
+
};
|
|
3241
|
+
}, {
|
|
3242
|
+
title: {
|
|
3243
|
+
bold: boolean;
|
|
3244
|
+
size: number;
|
|
3245
|
+
};
|
|
3246
|
+
body_text: {
|
|
3247
|
+
bold: boolean;
|
|
3248
|
+
size: number;
|
|
3249
|
+
};
|
|
3250
|
+
buttons_text: {
|
|
3251
|
+
bold: boolean;
|
|
3252
|
+
size: number;
|
|
3253
|
+
};
|
|
3254
|
+
font_url: string;
|
|
3255
|
+
input_labels: {
|
|
3256
|
+
bold: boolean;
|
|
3257
|
+
size: number;
|
|
3258
|
+
};
|
|
3259
|
+
links: {
|
|
3260
|
+
bold: boolean;
|
|
3261
|
+
size: number;
|
|
3262
|
+
};
|
|
3263
|
+
links_style: "normal";
|
|
3264
|
+
reference_text_size: number;
|
|
3265
|
+
subtitle: {
|
|
3266
|
+
bold: boolean;
|
|
3267
|
+
size: number;
|
|
3268
|
+
};
|
|
3269
|
+
}>;
|
|
3270
|
+
page_background: z.ZodObject<{
|
|
3271
|
+
background_color: z.ZodString;
|
|
3272
|
+
background_image_url: z.ZodString;
|
|
3273
|
+
page_layout: z.ZodEnum<[
|
|
3274
|
+
"center"
|
|
3275
|
+
]>;
|
|
3276
|
+
}, "strip", z.ZodTypeAny, {
|
|
3277
|
+
background_color: string;
|
|
3278
|
+
background_image_url: string;
|
|
3279
|
+
page_layout: "center";
|
|
3280
|
+
}, {
|
|
3281
|
+
background_color: string;
|
|
3282
|
+
background_image_url: string;
|
|
3283
|
+
page_layout: "center";
|
|
3284
|
+
}>;
|
|
3285
|
+
widget: z.ZodObject<{
|
|
3286
|
+
header_text_alignment: z.ZodEnum<[
|
|
3287
|
+
"center"
|
|
3288
|
+
]>;
|
|
3289
|
+
logo_height: z.ZodNumber;
|
|
3290
|
+
logo_position: z.ZodEnum<[
|
|
3291
|
+
"center"
|
|
3292
|
+
]>;
|
|
3293
|
+
logo_url: z.ZodString;
|
|
3294
|
+
social_buttons_layout: z.ZodEnum<[
|
|
3295
|
+
"bottom"
|
|
3296
|
+
]>;
|
|
3297
|
+
}, "strip", z.ZodTypeAny, {
|
|
3298
|
+
logo_url: string;
|
|
3299
|
+
header_text_alignment: "center";
|
|
3300
|
+
logo_height: number;
|
|
3301
|
+
logo_position: "center";
|
|
3302
|
+
social_buttons_layout: "bottom";
|
|
3303
|
+
}, {
|
|
3304
|
+
logo_url: string;
|
|
3305
|
+
header_text_alignment: "center";
|
|
3306
|
+
logo_height: number;
|
|
3307
|
+
logo_position: "center";
|
|
3308
|
+
social_buttons_layout: "bottom";
|
|
3309
|
+
}>;
|
|
3310
|
+
}, "strip", z.ZodTypeAny, {
|
|
3311
|
+
page_background: {
|
|
3312
|
+
background_color: string;
|
|
3313
|
+
background_image_url: string;
|
|
3314
|
+
page_layout: "center";
|
|
3315
|
+
};
|
|
3316
|
+
colors: {
|
|
3317
|
+
base_focus_color: string;
|
|
3318
|
+
base_hover_color: string;
|
|
3319
|
+
body_text: string;
|
|
3320
|
+
captcha_widget_theme: "auto";
|
|
3321
|
+
error: string;
|
|
3322
|
+
header: string;
|
|
3323
|
+
icons: string;
|
|
3324
|
+
input_background: string;
|
|
3325
|
+
input_border: string;
|
|
3326
|
+
input_filled_text: string;
|
|
3327
|
+
input_labels_placeholders: string;
|
|
3328
|
+
links_focused_components: string;
|
|
3329
|
+
primary_button: string;
|
|
3330
|
+
primary_button_label: string;
|
|
3331
|
+
secondary_button_border: string;
|
|
3332
|
+
secondary_button_label: string;
|
|
3333
|
+
success: string;
|
|
3334
|
+
widget_background: string;
|
|
3335
|
+
widget_border: string;
|
|
3336
|
+
};
|
|
3337
|
+
borders: {
|
|
3338
|
+
button_border_radius: number;
|
|
3339
|
+
button_border_weight: number;
|
|
3340
|
+
buttons_style: "pill";
|
|
3341
|
+
input_border_radius: number;
|
|
3342
|
+
input_border_weight: number;
|
|
3343
|
+
inputs_style: "pill";
|
|
3344
|
+
show_widget_shadow: boolean;
|
|
3345
|
+
widget_border_weight: number;
|
|
3346
|
+
widget_corner_radius: number;
|
|
3347
|
+
};
|
|
3348
|
+
displayName: string;
|
|
3349
|
+
fonts: {
|
|
3350
|
+
title: {
|
|
3351
|
+
bold: boolean;
|
|
3352
|
+
size: number;
|
|
3353
|
+
};
|
|
3354
|
+
body_text: {
|
|
3355
|
+
bold: boolean;
|
|
3356
|
+
size: number;
|
|
3357
|
+
};
|
|
3358
|
+
buttons_text: {
|
|
3359
|
+
bold: boolean;
|
|
3360
|
+
size: number;
|
|
3361
|
+
};
|
|
3362
|
+
font_url: string;
|
|
3363
|
+
input_labels: {
|
|
3364
|
+
bold: boolean;
|
|
3365
|
+
size: number;
|
|
3366
|
+
};
|
|
3367
|
+
links: {
|
|
3368
|
+
bold: boolean;
|
|
3369
|
+
size: number;
|
|
3370
|
+
};
|
|
3371
|
+
links_style: "normal";
|
|
3372
|
+
reference_text_size: number;
|
|
3373
|
+
subtitle: {
|
|
3374
|
+
bold: boolean;
|
|
3375
|
+
size: number;
|
|
3376
|
+
};
|
|
3377
|
+
};
|
|
3378
|
+
widget: {
|
|
3379
|
+
logo_url: string;
|
|
3380
|
+
header_text_alignment: "center";
|
|
3381
|
+
logo_height: number;
|
|
3382
|
+
logo_position: "center";
|
|
3383
|
+
social_buttons_layout: "bottom";
|
|
3384
|
+
};
|
|
3385
|
+
}, {
|
|
3386
|
+
page_background: {
|
|
3387
|
+
background_color: string;
|
|
3388
|
+
background_image_url: string;
|
|
3389
|
+
page_layout: "center";
|
|
3390
|
+
};
|
|
3391
|
+
colors: {
|
|
3392
|
+
base_focus_color: string;
|
|
3393
|
+
base_hover_color: string;
|
|
3394
|
+
body_text: string;
|
|
3395
|
+
captcha_widget_theme: "auto";
|
|
3396
|
+
error: string;
|
|
3397
|
+
header: string;
|
|
3398
|
+
icons: string;
|
|
3399
|
+
input_background: string;
|
|
3400
|
+
input_border: string;
|
|
3401
|
+
input_filled_text: string;
|
|
3402
|
+
input_labels_placeholders: string;
|
|
3403
|
+
links_focused_components: string;
|
|
3404
|
+
primary_button: string;
|
|
3405
|
+
primary_button_label: string;
|
|
3406
|
+
secondary_button_border: string;
|
|
3407
|
+
secondary_button_label: string;
|
|
3408
|
+
success: string;
|
|
3409
|
+
widget_background: string;
|
|
3410
|
+
widget_border: string;
|
|
3411
|
+
};
|
|
3412
|
+
borders: {
|
|
3413
|
+
button_border_radius: number;
|
|
3414
|
+
button_border_weight: number;
|
|
3415
|
+
buttons_style: "pill";
|
|
3416
|
+
input_border_radius: number;
|
|
3417
|
+
input_border_weight: number;
|
|
3418
|
+
inputs_style: "pill";
|
|
3419
|
+
show_widget_shadow: boolean;
|
|
3420
|
+
widget_border_weight: number;
|
|
3421
|
+
widget_corner_radius: number;
|
|
3422
|
+
};
|
|
3423
|
+
displayName: string;
|
|
3424
|
+
fonts: {
|
|
3425
|
+
title: {
|
|
3426
|
+
bold: boolean;
|
|
3427
|
+
size: number;
|
|
3428
|
+
};
|
|
3429
|
+
body_text: {
|
|
3430
|
+
bold: boolean;
|
|
3431
|
+
size: number;
|
|
3432
|
+
};
|
|
3433
|
+
buttons_text: {
|
|
3434
|
+
bold: boolean;
|
|
3435
|
+
size: number;
|
|
3436
|
+
};
|
|
3437
|
+
font_url: string;
|
|
3438
|
+
input_labels: {
|
|
3439
|
+
bold: boolean;
|
|
3440
|
+
size: number;
|
|
3441
|
+
};
|
|
3442
|
+
links: {
|
|
3443
|
+
bold: boolean;
|
|
3444
|
+
size: number;
|
|
3445
|
+
};
|
|
3446
|
+
links_style: "normal";
|
|
3447
|
+
reference_text_size: number;
|
|
3448
|
+
subtitle: {
|
|
3449
|
+
bold: boolean;
|
|
3450
|
+
size: number;
|
|
3451
|
+
};
|
|
3452
|
+
};
|
|
3453
|
+
widget: {
|
|
3454
|
+
logo_url: string;
|
|
3455
|
+
header_text_alignment: "center";
|
|
3456
|
+
logo_height: number;
|
|
3457
|
+
logo_position: "center";
|
|
3458
|
+
social_buttons_layout: "bottom";
|
|
3459
|
+
};
|
|
3460
|
+
}>;
|
|
3461
|
+
export type ThemeInsert = z.infer<typeof themeInsertSchema>;
|
|
3462
|
+
export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
3463
|
+
borders: z.ZodObject<{
|
|
3464
|
+
button_border_radius: z.ZodNumber;
|
|
3465
|
+
button_border_weight: z.ZodNumber;
|
|
3466
|
+
buttons_style: z.ZodEnum<[
|
|
3467
|
+
"pill"
|
|
3468
|
+
]>;
|
|
3469
|
+
input_border_radius: z.ZodNumber;
|
|
3470
|
+
input_border_weight: z.ZodNumber;
|
|
3471
|
+
inputs_style: z.ZodEnum<[
|
|
3472
|
+
"pill"
|
|
3473
|
+
]>;
|
|
3474
|
+
show_widget_shadow: z.ZodBoolean;
|
|
3475
|
+
widget_border_weight: z.ZodNumber;
|
|
3476
|
+
widget_corner_radius: z.ZodNumber;
|
|
3477
|
+
}, "strip", z.ZodTypeAny, {
|
|
3478
|
+
button_border_radius: number;
|
|
3479
|
+
button_border_weight: number;
|
|
3480
|
+
buttons_style: "pill";
|
|
3481
|
+
input_border_radius: number;
|
|
3482
|
+
input_border_weight: number;
|
|
3483
|
+
inputs_style: "pill";
|
|
3484
|
+
show_widget_shadow: boolean;
|
|
3485
|
+
widget_border_weight: number;
|
|
3486
|
+
widget_corner_radius: number;
|
|
3487
|
+
}, {
|
|
3488
|
+
button_border_radius: number;
|
|
3489
|
+
button_border_weight: number;
|
|
3490
|
+
buttons_style: "pill";
|
|
3491
|
+
input_border_radius: number;
|
|
3492
|
+
input_border_weight: number;
|
|
3493
|
+
inputs_style: "pill";
|
|
3494
|
+
show_widget_shadow: boolean;
|
|
3495
|
+
widget_border_weight: number;
|
|
3496
|
+
widget_corner_radius: number;
|
|
3497
|
+
}>;
|
|
3498
|
+
colors: z.ZodObject<{
|
|
3499
|
+
base_focus_color: z.ZodString;
|
|
3500
|
+
base_hover_color: z.ZodString;
|
|
3501
|
+
body_text: z.ZodString;
|
|
3502
|
+
captcha_widget_theme: z.ZodEnum<[
|
|
3503
|
+
"auto"
|
|
3504
|
+
]>;
|
|
3505
|
+
error: z.ZodString;
|
|
3506
|
+
header: z.ZodString;
|
|
3507
|
+
icons: z.ZodString;
|
|
3508
|
+
input_background: z.ZodString;
|
|
3509
|
+
input_border: z.ZodString;
|
|
3510
|
+
input_filled_text: z.ZodString;
|
|
3511
|
+
input_labels_placeholders: z.ZodString;
|
|
3512
|
+
links_focused_components: z.ZodString;
|
|
3513
|
+
primary_button: z.ZodString;
|
|
3514
|
+
primary_button_label: z.ZodString;
|
|
3515
|
+
secondary_button_border: z.ZodString;
|
|
3516
|
+
secondary_button_label: z.ZodString;
|
|
3517
|
+
success: z.ZodString;
|
|
3518
|
+
widget_background: z.ZodString;
|
|
3519
|
+
widget_border: z.ZodString;
|
|
3520
|
+
}, "strip", z.ZodTypeAny, {
|
|
3521
|
+
base_focus_color: string;
|
|
3522
|
+
base_hover_color: string;
|
|
3523
|
+
body_text: string;
|
|
3524
|
+
captcha_widget_theme: "auto";
|
|
3525
|
+
error: string;
|
|
3526
|
+
header: string;
|
|
3527
|
+
icons: string;
|
|
3528
|
+
input_background: string;
|
|
3529
|
+
input_border: string;
|
|
3530
|
+
input_filled_text: string;
|
|
3531
|
+
input_labels_placeholders: string;
|
|
3532
|
+
links_focused_components: string;
|
|
3533
|
+
primary_button: string;
|
|
3534
|
+
primary_button_label: string;
|
|
3535
|
+
secondary_button_border: string;
|
|
3536
|
+
secondary_button_label: string;
|
|
3537
|
+
success: string;
|
|
3538
|
+
widget_background: string;
|
|
3539
|
+
widget_border: string;
|
|
3540
|
+
}, {
|
|
3541
|
+
base_focus_color: string;
|
|
3542
|
+
base_hover_color: string;
|
|
3543
|
+
body_text: string;
|
|
3544
|
+
captcha_widget_theme: "auto";
|
|
3545
|
+
error: string;
|
|
3546
|
+
header: string;
|
|
3547
|
+
icons: string;
|
|
3548
|
+
input_background: string;
|
|
3549
|
+
input_border: string;
|
|
3550
|
+
input_filled_text: string;
|
|
3551
|
+
input_labels_placeholders: string;
|
|
3552
|
+
links_focused_components: string;
|
|
3553
|
+
primary_button: string;
|
|
3554
|
+
primary_button_label: string;
|
|
3555
|
+
secondary_button_border: string;
|
|
3556
|
+
secondary_button_label: string;
|
|
3557
|
+
success: string;
|
|
3558
|
+
widget_background: string;
|
|
3559
|
+
widget_border: string;
|
|
3560
|
+
}>;
|
|
3561
|
+
displayName: z.ZodString;
|
|
3562
|
+
fonts: z.ZodObject<{
|
|
3563
|
+
body_text: z.ZodObject<{
|
|
3564
|
+
bold: z.ZodBoolean;
|
|
3565
|
+
size: z.ZodNumber;
|
|
3566
|
+
}, "strip", z.ZodTypeAny, {
|
|
3567
|
+
bold: boolean;
|
|
3568
|
+
size: number;
|
|
3569
|
+
}, {
|
|
3570
|
+
bold: boolean;
|
|
3571
|
+
size: number;
|
|
3572
|
+
}>;
|
|
3573
|
+
buttons_text: z.ZodObject<{
|
|
3574
|
+
bold: z.ZodBoolean;
|
|
3575
|
+
size: z.ZodNumber;
|
|
3576
|
+
}, "strip", z.ZodTypeAny, {
|
|
3577
|
+
bold: boolean;
|
|
3578
|
+
size: number;
|
|
3579
|
+
}, {
|
|
3580
|
+
bold: boolean;
|
|
3581
|
+
size: number;
|
|
3582
|
+
}>;
|
|
3583
|
+
font_url: z.ZodString;
|
|
3584
|
+
input_labels: z.ZodObject<{
|
|
3585
|
+
bold: z.ZodBoolean;
|
|
3586
|
+
size: z.ZodNumber;
|
|
3587
|
+
}, "strip", z.ZodTypeAny, {
|
|
3588
|
+
bold: boolean;
|
|
3589
|
+
size: number;
|
|
3590
|
+
}, {
|
|
3591
|
+
bold: boolean;
|
|
3592
|
+
size: number;
|
|
3593
|
+
}>;
|
|
3594
|
+
links: z.ZodObject<{
|
|
3595
|
+
bold: z.ZodBoolean;
|
|
3596
|
+
size: z.ZodNumber;
|
|
3597
|
+
}, "strip", z.ZodTypeAny, {
|
|
3598
|
+
bold: boolean;
|
|
3599
|
+
size: number;
|
|
3600
|
+
}, {
|
|
3601
|
+
bold: boolean;
|
|
3602
|
+
size: number;
|
|
3603
|
+
}>;
|
|
3604
|
+
links_style: z.ZodEnum<[
|
|
3605
|
+
"normal"
|
|
3606
|
+
]>;
|
|
3607
|
+
reference_text_size: z.ZodNumber;
|
|
3608
|
+
subtitle: z.ZodObject<{
|
|
3609
|
+
bold: z.ZodBoolean;
|
|
3610
|
+
size: z.ZodNumber;
|
|
3611
|
+
}, "strip", z.ZodTypeAny, {
|
|
3612
|
+
bold: boolean;
|
|
3613
|
+
size: number;
|
|
3614
|
+
}, {
|
|
3615
|
+
bold: boolean;
|
|
3616
|
+
size: number;
|
|
3617
|
+
}>;
|
|
3618
|
+
title: z.ZodObject<{
|
|
3619
|
+
bold: z.ZodBoolean;
|
|
3620
|
+
size: z.ZodNumber;
|
|
3621
|
+
}, "strip", z.ZodTypeAny, {
|
|
3622
|
+
bold: boolean;
|
|
3623
|
+
size: number;
|
|
3624
|
+
}, {
|
|
3625
|
+
bold: boolean;
|
|
3626
|
+
size: number;
|
|
3627
|
+
}>;
|
|
3628
|
+
}, "strip", z.ZodTypeAny, {
|
|
3629
|
+
title: {
|
|
3630
|
+
bold: boolean;
|
|
3631
|
+
size: number;
|
|
3632
|
+
};
|
|
3633
|
+
body_text: {
|
|
3634
|
+
bold: boolean;
|
|
3635
|
+
size: number;
|
|
3636
|
+
};
|
|
3637
|
+
buttons_text: {
|
|
3638
|
+
bold: boolean;
|
|
3639
|
+
size: number;
|
|
3640
|
+
};
|
|
3641
|
+
font_url: string;
|
|
3642
|
+
input_labels: {
|
|
3643
|
+
bold: boolean;
|
|
3644
|
+
size: number;
|
|
3645
|
+
};
|
|
3646
|
+
links: {
|
|
3647
|
+
bold: boolean;
|
|
3648
|
+
size: number;
|
|
3649
|
+
};
|
|
3650
|
+
links_style: "normal";
|
|
3651
|
+
reference_text_size: number;
|
|
3652
|
+
subtitle: {
|
|
3653
|
+
bold: boolean;
|
|
3654
|
+
size: number;
|
|
3655
|
+
};
|
|
3656
|
+
}, {
|
|
3657
|
+
title: {
|
|
3658
|
+
bold: boolean;
|
|
3659
|
+
size: number;
|
|
3660
|
+
};
|
|
3661
|
+
body_text: {
|
|
3662
|
+
bold: boolean;
|
|
3663
|
+
size: number;
|
|
3664
|
+
};
|
|
3665
|
+
buttons_text: {
|
|
3666
|
+
bold: boolean;
|
|
3667
|
+
size: number;
|
|
3668
|
+
};
|
|
3669
|
+
font_url: string;
|
|
3670
|
+
input_labels: {
|
|
3671
|
+
bold: boolean;
|
|
3672
|
+
size: number;
|
|
3673
|
+
};
|
|
3674
|
+
links: {
|
|
3675
|
+
bold: boolean;
|
|
3676
|
+
size: number;
|
|
3677
|
+
};
|
|
3678
|
+
links_style: "normal";
|
|
3679
|
+
reference_text_size: number;
|
|
3680
|
+
subtitle: {
|
|
3681
|
+
bold: boolean;
|
|
3682
|
+
size: number;
|
|
3683
|
+
};
|
|
3684
|
+
}>;
|
|
3685
|
+
page_background: z.ZodObject<{
|
|
3686
|
+
background_color: z.ZodString;
|
|
3687
|
+
background_image_url: z.ZodString;
|
|
3688
|
+
page_layout: z.ZodEnum<[
|
|
3689
|
+
"center"
|
|
3690
|
+
]>;
|
|
3691
|
+
}, "strip", z.ZodTypeAny, {
|
|
3692
|
+
background_color: string;
|
|
3693
|
+
background_image_url: string;
|
|
3694
|
+
page_layout: "center";
|
|
3695
|
+
}, {
|
|
3696
|
+
background_color: string;
|
|
3697
|
+
background_image_url: string;
|
|
3698
|
+
page_layout: "center";
|
|
3699
|
+
}>;
|
|
3700
|
+
widget: z.ZodObject<{
|
|
3701
|
+
header_text_alignment: z.ZodEnum<[
|
|
3702
|
+
"center"
|
|
3703
|
+
]>;
|
|
3704
|
+
logo_height: z.ZodNumber;
|
|
3705
|
+
logo_position: z.ZodEnum<[
|
|
3706
|
+
"center"
|
|
3707
|
+
]>;
|
|
3708
|
+
logo_url: z.ZodString;
|
|
3709
|
+
social_buttons_layout: z.ZodEnum<[
|
|
3710
|
+
"bottom"
|
|
3711
|
+
]>;
|
|
3712
|
+
}, "strip", z.ZodTypeAny, {
|
|
3713
|
+
logo_url: string;
|
|
3714
|
+
header_text_alignment: "center";
|
|
3715
|
+
logo_height: number;
|
|
3716
|
+
logo_position: "center";
|
|
3717
|
+
social_buttons_layout: "bottom";
|
|
3718
|
+
}, {
|
|
3719
|
+
logo_url: string;
|
|
3720
|
+
header_text_alignment: "center";
|
|
3721
|
+
logo_height: number;
|
|
3722
|
+
logo_position: "center";
|
|
3723
|
+
social_buttons_layout: "bottom";
|
|
3724
|
+
}>;
|
|
3725
|
+
}, {
|
|
3726
|
+
themeId: z.ZodString;
|
|
3727
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3728
|
+
page_background: {
|
|
3729
|
+
background_color: string;
|
|
3730
|
+
background_image_url: string;
|
|
3731
|
+
page_layout: "center";
|
|
3732
|
+
};
|
|
3733
|
+
colors: {
|
|
3734
|
+
base_focus_color: string;
|
|
3735
|
+
base_hover_color: string;
|
|
3736
|
+
body_text: string;
|
|
3737
|
+
captcha_widget_theme: "auto";
|
|
3738
|
+
error: string;
|
|
3739
|
+
header: string;
|
|
3740
|
+
icons: string;
|
|
3741
|
+
input_background: string;
|
|
3742
|
+
input_border: string;
|
|
3743
|
+
input_filled_text: string;
|
|
3744
|
+
input_labels_placeholders: string;
|
|
3745
|
+
links_focused_components: string;
|
|
3746
|
+
primary_button: string;
|
|
3747
|
+
primary_button_label: string;
|
|
3748
|
+
secondary_button_border: string;
|
|
3749
|
+
secondary_button_label: string;
|
|
3750
|
+
success: string;
|
|
3751
|
+
widget_background: string;
|
|
3752
|
+
widget_border: string;
|
|
3753
|
+
};
|
|
3754
|
+
borders: {
|
|
3755
|
+
button_border_radius: number;
|
|
3756
|
+
button_border_weight: number;
|
|
3757
|
+
buttons_style: "pill";
|
|
3758
|
+
input_border_radius: number;
|
|
3759
|
+
input_border_weight: number;
|
|
3760
|
+
inputs_style: "pill";
|
|
3761
|
+
show_widget_shadow: boolean;
|
|
3762
|
+
widget_border_weight: number;
|
|
3763
|
+
widget_corner_radius: number;
|
|
3764
|
+
};
|
|
3765
|
+
displayName: string;
|
|
3766
|
+
fonts: {
|
|
3767
|
+
title: {
|
|
3768
|
+
bold: boolean;
|
|
3769
|
+
size: number;
|
|
3770
|
+
};
|
|
3771
|
+
body_text: {
|
|
3772
|
+
bold: boolean;
|
|
3773
|
+
size: number;
|
|
3774
|
+
};
|
|
3775
|
+
buttons_text: {
|
|
3776
|
+
bold: boolean;
|
|
3777
|
+
size: number;
|
|
3778
|
+
};
|
|
3779
|
+
font_url: string;
|
|
3780
|
+
input_labels: {
|
|
3781
|
+
bold: boolean;
|
|
3782
|
+
size: number;
|
|
3783
|
+
};
|
|
3784
|
+
links: {
|
|
3785
|
+
bold: boolean;
|
|
3786
|
+
size: number;
|
|
3787
|
+
};
|
|
3788
|
+
links_style: "normal";
|
|
3789
|
+
reference_text_size: number;
|
|
3790
|
+
subtitle: {
|
|
3791
|
+
bold: boolean;
|
|
3792
|
+
size: number;
|
|
3793
|
+
};
|
|
3794
|
+
};
|
|
3795
|
+
widget: {
|
|
3796
|
+
logo_url: string;
|
|
3797
|
+
header_text_alignment: "center";
|
|
3798
|
+
logo_height: number;
|
|
3799
|
+
logo_position: "center";
|
|
3800
|
+
social_buttons_layout: "bottom";
|
|
3801
|
+
};
|
|
3802
|
+
themeId: string;
|
|
3803
|
+
}, {
|
|
3804
|
+
page_background: {
|
|
3805
|
+
background_color: string;
|
|
3806
|
+
background_image_url: string;
|
|
3807
|
+
page_layout: "center";
|
|
3808
|
+
};
|
|
3809
|
+
colors: {
|
|
3810
|
+
base_focus_color: string;
|
|
3811
|
+
base_hover_color: string;
|
|
3812
|
+
body_text: string;
|
|
3813
|
+
captcha_widget_theme: "auto";
|
|
3814
|
+
error: string;
|
|
3815
|
+
header: string;
|
|
3816
|
+
icons: string;
|
|
3817
|
+
input_background: string;
|
|
3818
|
+
input_border: string;
|
|
3819
|
+
input_filled_text: string;
|
|
3820
|
+
input_labels_placeholders: string;
|
|
3821
|
+
links_focused_components: string;
|
|
3822
|
+
primary_button: string;
|
|
3823
|
+
primary_button_label: string;
|
|
3824
|
+
secondary_button_border: string;
|
|
3825
|
+
secondary_button_label: string;
|
|
3826
|
+
success: string;
|
|
3827
|
+
widget_background: string;
|
|
3828
|
+
widget_border: string;
|
|
3829
|
+
};
|
|
3830
|
+
borders: {
|
|
3831
|
+
button_border_radius: number;
|
|
3832
|
+
button_border_weight: number;
|
|
3833
|
+
buttons_style: "pill";
|
|
3834
|
+
input_border_radius: number;
|
|
3835
|
+
input_border_weight: number;
|
|
3836
|
+
inputs_style: "pill";
|
|
3837
|
+
show_widget_shadow: boolean;
|
|
3838
|
+
widget_border_weight: number;
|
|
3839
|
+
widget_corner_radius: number;
|
|
3840
|
+
};
|
|
3841
|
+
displayName: string;
|
|
3842
|
+
fonts: {
|
|
3843
|
+
title: {
|
|
3844
|
+
bold: boolean;
|
|
3845
|
+
size: number;
|
|
3846
|
+
};
|
|
3847
|
+
body_text: {
|
|
3848
|
+
bold: boolean;
|
|
3849
|
+
size: number;
|
|
3850
|
+
};
|
|
3851
|
+
buttons_text: {
|
|
3852
|
+
bold: boolean;
|
|
3853
|
+
size: number;
|
|
3854
|
+
};
|
|
3855
|
+
font_url: string;
|
|
3856
|
+
input_labels: {
|
|
3857
|
+
bold: boolean;
|
|
3858
|
+
size: number;
|
|
3859
|
+
};
|
|
3860
|
+
links: {
|
|
3861
|
+
bold: boolean;
|
|
3862
|
+
size: number;
|
|
3863
|
+
};
|
|
3864
|
+
links_style: "normal";
|
|
3865
|
+
reference_text_size: number;
|
|
3866
|
+
subtitle: {
|
|
3867
|
+
bold: boolean;
|
|
3868
|
+
size: number;
|
|
3869
|
+
};
|
|
3870
|
+
};
|
|
3871
|
+
widget: {
|
|
3872
|
+
logo_url: string;
|
|
3873
|
+
header_text_alignment: "center";
|
|
3874
|
+
logo_height: number;
|
|
3875
|
+
logo_position: "center";
|
|
3876
|
+
social_buttons_layout: "bottom";
|
|
3877
|
+
};
|
|
3878
|
+
themeId: string;
|
|
3879
|
+
}>;
|
|
3880
|
+
export type Theme = z.infer<typeof themeSchema>;
|
|
2654
3881
|
export declare function parseUserId(user_id: string): {
|
|
2655
3882
|
connection: string;
|
|
2656
3883
|
id: string;
|
|
@@ -2665,9 +3892,9 @@ export interface OTPAdapter {
|
|
|
2665
3892
|
remove: (tenant_id: string, id: string) => Promise<boolean>;
|
|
2666
3893
|
}
|
|
2667
3894
|
export interface PasswordsAdapter {
|
|
2668
|
-
create: (tenant_id: string, params:
|
|
2669
|
-
update: (tenant_id: string, params:
|
|
2670
|
-
|
|
3895
|
+
create: (tenant_id: string, params: PasswordInsert) => Promise<Password>;
|
|
3896
|
+
update: (tenant_id: string, params: PasswordInsert) => Promise<boolean>;
|
|
3897
|
+
get: (tenant_id: string, user_id: string) => Promise<Password>;
|
|
2671
3898
|
}
|
|
2672
3899
|
export interface ListParams {
|
|
2673
3900
|
page: number;
|
|
@@ -2800,24 +4027,31 @@ export interface HooksAdapter {
|
|
|
2800
4027
|
export interface ClientsAdapter {
|
|
2801
4028
|
get: (id: string) => Promise<PartialClient | null>;
|
|
2802
4029
|
}
|
|
4030
|
+
export interface ThemesAdapter {
|
|
4031
|
+
create: (tenant_id: string, theme: ThemeInsert) => Promise<Theme>;
|
|
4032
|
+
remove: (tenant_id: string, themeId: string) => Promise<boolean>;
|
|
4033
|
+
get: (tenant_id: string, themeId: string) => Promise<Theme | null>;
|
|
4034
|
+
update: (tenant_id: string, themeId: any, theme: Partial<ThemeInsert>) => Promise<boolean>;
|
|
4035
|
+
}
|
|
2803
4036
|
export interface DataAdapters {
|
|
2804
4037
|
applications: ApplicationsAdapter;
|
|
4038
|
+
authenticationCodes: AuthenticationCodesAdapter;
|
|
2805
4039
|
branding: BrandingAdapter;
|
|
2806
|
-
codes: CodesAdapter;
|
|
2807
4040
|
clients: ClientsAdapter;
|
|
4041
|
+
codes: CodesAdapter;
|
|
4042
|
+
connections: ConnectionsAdapter;
|
|
4043
|
+
domains: DomainsAdapter;
|
|
4044
|
+
hooks: HooksAdapter;
|
|
4045
|
+
keys: KeysAdapter;
|
|
4046
|
+
logs: LogsDataAdapter;
|
|
2808
4047
|
OTP: OTPAdapter;
|
|
2809
4048
|
passwords: PasswordsAdapter;
|
|
2810
4049
|
sessions: SessionsAdapter;
|
|
2811
4050
|
tenants: TenantsDataAdapter;
|
|
4051
|
+
themes: ThemesAdapter;
|
|
2812
4052
|
tickets: TicketsAdapter;
|
|
2813
4053
|
universalLoginSessions: UniversalLoginSessionsAdapter;
|
|
2814
4054
|
users: UserDataAdapter;
|
|
2815
|
-
logs: LogsDataAdapter;
|
|
2816
|
-
connections: ConnectionsAdapter;
|
|
2817
|
-
domains: DomainsAdapter;
|
|
2818
|
-
keys: KeysAdapter;
|
|
2819
|
-
hooks: HooksAdapter;
|
|
2820
|
-
authenticationCodes: AuthenticationCodesAdapter;
|
|
2821
4055
|
}
|
|
2822
4056
|
|
|
2823
4057
|
export {
|