@authticon/client 0.0.0-beta1 → 0.0.0-beta11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Acccount.d.ts +9 -0
- package/dist/Acccount.d.ts.map +1 -0
- package/dist/Acccount.js +22 -0
- package/dist/Acccount.js.map +1 -0
- package/dist/Auth.d.ts +6 -0
- package/dist/Auth.d.ts.map +1 -1
- package/dist/Auth.js +20 -1
- package/dist/Auth.js.map +1 -1
- package/dist/Authticon.d.ts +105 -5
- package/dist/Authticon.d.ts.map +1 -1
- package/dist/Authticon.js +48 -1
- package/dist/Authticon.js.map +1 -1
- package/dist/Challange.d.ts +8 -0
- package/dist/Challange.d.ts.map +1 -0
- package/dist/Challange.js +24 -0
- package/dist/Challange.js.map +1 -0
- package/dist/CookieStorageAdapter.d.ts +14 -0
- package/dist/CookieStorageAdapter.d.ts.map +1 -0
- package/dist/CookieStorageAdapter.js +43 -0
- package/dist/CookieStorageAdapter.js.map +1 -0
- package/dist/CookieStorageAdapter.test.d.ts +2 -0
- package/dist/CookieStorageAdapter.test.d.ts.map +1 -0
- package/dist/CookieStorageAdapter.test.js +137 -0
- package/dist/CookieStorageAdapter.test.js.map +1 -0
- package/dist/TokenManager.d.ts +7 -3
- package/dist/TokenManager.d.ts.map +1 -1
- package/dist/TokenManager.js +13 -3
- package/dist/TokenManager.js.map +1 -1
- package/dist/TokenManager.test.js +1 -1
- package/dist/TokenStorage.d.ts +4 -0
- package/dist/TokenStorage.d.ts.map +1 -1
- package/dist/TokenStorage.js +15 -0
- package/dist/TokenStorage.js.map +1 -1
- package/dist/TokenStorage.test.js +61 -1
- package/dist/TokenStorage.test.js.map +1 -1
- package/dist/TokenVerifier.d.ts +3 -3
- package/dist/TokenVerifier.d.ts.map +1 -1
- package/dist/TokenVerifier.js +1 -1
- package/dist/TokenVerifier.js.map +1 -1
- package/dist/TwoFa.d.ts +26 -0
- package/dist/TwoFa.d.ts.map +1 -0
- package/dist/TwoFa.js +55 -0
- package/dist/TwoFa.js.map +1 -0
- package/dist/User.d.ts +25 -0
- package/dist/User.d.ts.map +1 -0
- package/dist/User.js +27 -0
- package/dist/User.js.map +1 -0
- package/dist/Users.d.ts +3 -3
- package/dist/Users.d.ts.map +1 -1
- package/dist/Users.js +7 -6
- package/dist/Users.js.map +1 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/index.js +1 -1
- package/dist/generated/index.js.map +1 -1
- package/dist/generated/sdk.gen.d.ts +14 -23
- package/dist/generated/sdk.gen.d.ts.map +1 -1
- package/dist/generated/sdk.gen.js +52 -117
- package/dist/generated/sdk.gen.js.map +1 -1
- package/dist/generated/types.gen.d.ts +235 -563
- package/dist/generated/types.gen.d.ts.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +12 -2
- package/dist/types.d.ts.map +1 -1
- package/dist/user.d.ts +48 -0
- package/dist/user.d.ts.map +1 -0
- package/dist/user.js +42 -0
- package/dist/user.js.map +1 -0
- package/package.json +3 -1
|
@@ -13,74 +13,9 @@ export type GetApiV1HealthzResponses = {
|
|
|
13
13
|
*/
|
|
14
14
|
200: unknown;
|
|
15
15
|
};
|
|
16
|
-
export type DeleteApiV1AuthTwoFaData = {
|
|
17
|
-
body: {
|
|
18
|
-
token: string;
|
|
19
|
-
};
|
|
20
|
-
path?: never;
|
|
21
|
-
query?: never;
|
|
22
|
-
url: '/api/v1/auth/two-fa';
|
|
23
|
-
};
|
|
24
|
-
export type DeleteApiV1AuthTwoFaErrors = {
|
|
25
|
-
/**
|
|
26
|
-
* Default Response
|
|
27
|
-
*/
|
|
28
|
-
401: {
|
|
29
|
-
statusCode: number;
|
|
30
|
-
error: string;
|
|
31
|
-
message: string;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
export type DeleteApiV1AuthTwoFaError = DeleteApiV1AuthTwoFaErrors[keyof DeleteApiV1AuthTwoFaErrors];
|
|
35
|
-
export type DeleteApiV1AuthTwoFaResponses = {
|
|
36
|
-
/**
|
|
37
|
-
* Default Response
|
|
38
|
-
*/
|
|
39
|
-
200: {
|
|
40
|
-
success: boolean;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
export type DeleteApiV1AuthTwoFaResponse = DeleteApiV1AuthTwoFaResponses[keyof DeleteApiV1AuthTwoFaResponses];
|
|
44
|
-
export type PostApiV1AuthTwoFaData = {
|
|
45
|
-
body: {
|
|
46
|
-
secret: string;
|
|
47
|
-
token?: string;
|
|
48
|
-
type?: 'APP' | 'EMAIL' | 'PHONE';
|
|
49
|
-
};
|
|
50
|
-
path?: never;
|
|
51
|
-
query?: never;
|
|
52
|
-
url: '/api/v1/auth/two-fa';
|
|
53
|
-
};
|
|
54
|
-
export type PostApiV1AuthTwoFaErrors = {
|
|
55
|
-
/**
|
|
56
|
-
* Default Response
|
|
57
|
-
*/
|
|
58
|
-
400: {
|
|
59
|
-
statusCode: number;
|
|
60
|
-
error: string;
|
|
61
|
-
message: string;
|
|
62
|
-
};
|
|
63
|
-
/**
|
|
64
|
-
* Default Response
|
|
65
|
-
*/
|
|
66
|
-
401: {
|
|
67
|
-
statusCode: number;
|
|
68
|
-
error: string;
|
|
69
|
-
message: string;
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
export type PostApiV1AuthTwoFaError = PostApiV1AuthTwoFaErrors[keyof PostApiV1AuthTwoFaErrors];
|
|
73
|
-
export type PostApiV1AuthTwoFaResponses = {
|
|
74
|
-
/**
|
|
75
|
-
* Default Response
|
|
76
|
-
*/
|
|
77
|
-
200: {
|
|
78
|
-
success: boolean;
|
|
79
|
-
};
|
|
80
|
-
};
|
|
81
|
-
export type PostApiV1AuthTwoFaResponse = PostApiV1AuthTwoFaResponses[keyof PostApiV1AuthTwoFaResponses];
|
|
82
16
|
export type PostApiV1AuthEmailChangeData = {
|
|
83
17
|
body: {
|
|
18
|
+
userId: string;
|
|
84
19
|
newEmail: string;
|
|
85
20
|
};
|
|
86
21
|
path?: never;
|
|
@@ -117,6 +52,7 @@ export type PostApiV1AuthPasswordChangeData = {
|
|
|
117
52
|
body: {
|
|
118
53
|
oldPassword: string;
|
|
119
54
|
newPassword: string;
|
|
55
|
+
userId: string;
|
|
120
56
|
};
|
|
121
57
|
path?: never;
|
|
122
58
|
query?: never;
|
|
@@ -250,25 +186,6 @@ export type PostApiV1AuthTwoFaRecoveryCodesResponses = {
|
|
|
250
186
|
};
|
|
251
187
|
};
|
|
252
188
|
export type PostApiV1AuthTwoFaRecoveryCodesResponse = PostApiV1AuthTwoFaRecoveryCodesResponses[keyof PostApiV1AuthTwoFaRecoveryCodesResponses];
|
|
253
|
-
export type PostApiV1AuthTwoFaSecretData = {
|
|
254
|
-
body: {
|
|
255
|
-
issuer: string;
|
|
256
|
-
email?: string;
|
|
257
|
-
};
|
|
258
|
-
path?: never;
|
|
259
|
-
query?: never;
|
|
260
|
-
url: '/api/v1/auth/two-fa/secret';
|
|
261
|
-
};
|
|
262
|
-
export type PostApiV1AuthTwoFaSecretResponses = {
|
|
263
|
-
/**
|
|
264
|
-
* Default Response
|
|
265
|
-
*/
|
|
266
|
-
200: {
|
|
267
|
-
secret: string;
|
|
268
|
-
uri: string;
|
|
269
|
-
};
|
|
270
|
-
};
|
|
271
|
-
export type PostApiV1AuthTwoFaSecretResponse = PostApiV1AuthTwoFaSecretResponses[keyof PostApiV1AuthTwoFaSecretResponses];
|
|
272
189
|
export type PostApiV1AuthEmailCheckData = {
|
|
273
190
|
body: {
|
|
274
191
|
email: string;
|
|
@@ -311,7 +228,7 @@ export type PostApiV1AuthLoginData = {
|
|
|
311
228
|
ip?: string;
|
|
312
229
|
twoFaCode?: string;
|
|
313
230
|
userAgent: string;
|
|
314
|
-
rememberToken?: string;
|
|
231
|
+
rememberToken?: string | null;
|
|
315
232
|
};
|
|
316
233
|
path?: never;
|
|
317
234
|
query?: never;
|
|
@@ -547,90 +464,6 @@ export type PostApiV1AuthMagicLinkSendResponses = {
|
|
|
547
464
|
};
|
|
548
465
|
};
|
|
549
466
|
export type PostApiV1AuthMagicLinkSendResponse = PostApiV1AuthMagicLinkSendResponses[keyof PostApiV1AuthMagicLinkSendResponses];
|
|
550
|
-
export type PostApiV1AuthPhoneSendCodeData = {
|
|
551
|
-
body: {
|
|
552
|
-
phone: string;
|
|
553
|
-
};
|
|
554
|
-
path?: never;
|
|
555
|
-
query?: never;
|
|
556
|
-
url: '/api/v1/auth/phone/send-code';
|
|
557
|
-
};
|
|
558
|
-
export type PostApiV1AuthPhoneSendCodeErrors = {
|
|
559
|
-
/**
|
|
560
|
-
* Default Response
|
|
561
|
-
*/
|
|
562
|
-
409: {
|
|
563
|
-
statusCode: number;
|
|
564
|
-
error: string;
|
|
565
|
-
message: string;
|
|
566
|
-
};
|
|
567
|
-
};
|
|
568
|
-
export type PostApiV1AuthPhoneSendCodeError = PostApiV1AuthPhoneSendCodeErrors[keyof PostApiV1AuthPhoneSendCodeErrors];
|
|
569
|
-
export type PostApiV1AuthPhoneSendCodeResponses = {
|
|
570
|
-
/**
|
|
571
|
-
* Default Response
|
|
572
|
-
*/
|
|
573
|
-
200: {
|
|
574
|
-
success: boolean;
|
|
575
|
-
};
|
|
576
|
-
};
|
|
577
|
-
export type PostApiV1AuthPhoneSendCodeResponse = PostApiV1AuthPhoneSendCodeResponses[keyof PostApiV1AuthPhoneSendCodeResponses];
|
|
578
|
-
export type PostApiV1AuthSmsSendCodeData = {
|
|
579
|
-
body: {
|
|
580
|
-
[key: string]: unknown;
|
|
581
|
-
};
|
|
582
|
-
path?: never;
|
|
583
|
-
query?: never;
|
|
584
|
-
url: '/api/v1/auth/sms/send-code';
|
|
585
|
-
};
|
|
586
|
-
export type PostApiV1AuthSmsSendCodeErrors = {
|
|
587
|
-
/**
|
|
588
|
-
* Default Response
|
|
589
|
-
*/
|
|
590
|
-
400: {
|
|
591
|
-
statusCode: number;
|
|
592
|
-
error: string;
|
|
593
|
-
message: string;
|
|
594
|
-
};
|
|
595
|
-
/**
|
|
596
|
-
* Default Response
|
|
597
|
-
*/
|
|
598
|
-
401: {
|
|
599
|
-
statusCode: number;
|
|
600
|
-
error: string;
|
|
601
|
-
message: string;
|
|
602
|
-
};
|
|
603
|
-
};
|
|
604
|
-
export type PostApiV1AuthSmsSendCodeError = PostApiV1AuthSmsSendCodeErrors[keyof PostApiV1AuthSmsSendCodeErrors];
|
|
605
|
-
export type PostApiV1AuthSmsSendCodeResponses = {
|
|
606
|
-
/**
|
|
607
|
-
* Default Response
|
|
608
|
-
*/
|
|
609
|
-
200: {
|
|
610
|
-
success: boolean;
|
|
611
|
-
};
|
|
612
|
-
};
|
|
613
|
-
export type PostApiV1AuthSmsSendCodeResponse = PostApiV1AuthSmsSendCodeResponses[keyof PostApiV1AuthSmsSendCodeResponses];
|
|
614
|
-
export type PostApiV1AuthTestEmailData = {
|
|
615
|
-
body: {
|
|
616
|
-
email: string;
|
|
617
|
-
projectId: string;
|
|
618
|
-
template: string;
|
|
619
|
-
locale?: string;
|
|
620
|
-
};
|
|
621
|
-
path?: never;
|
|
622
|
-
query?: never;
|
|
623
|
-
url: '/api/v1/auth/test-email';
|
|
624
|
-
};
|
|
625
|
-
export type PostApiV1AuthTestEmailResponses = {
|
|
626
|
-
/**
|
|
627
|
-
* Default Response
|
|
628
|
-
*/
|
|
629
|
-
200: {
|
|
630
|
-
success: boolean;
|
|
631
|
-
};
|
|
632
|
-
};
|
|
633
|
-
export type PostApiV1AuthTestEmailResponse = PostApiV1AuthTestEmailResponses[keyof PostApiV1AuthTestEmailResponses];
|
|
634
467
|
export type PostApiV1AuthPasswordSetData = {
|
|
635
468
|
body: {
|
|
636
469
|
password: string;
|
|
@@ -800,71 +633,6 @@ export type PostApiV1AuthMagicLinkVerifyResponses = {
|
|
|
800
633
|
};
|
|
801
634
|
};
|
|
802
635
|
export type PostApiV1AuthMagicLinkVerifyResponse = PostApiV1AuthMagicLinkVerifyResponses[keyof PostApiV1AuthMagicLinkVerifyResponses];
|
|
803
|
-
export type PostApiV1AuthPhoneVerifyData = {
|
|
804
|
-
body: {
|
|
805
|
-
phone: string;
|
|
806
|
-
code: string;
|
|
807
|
-
};
|
|
808
|
-
path?: never;
|
|
809
|
-
query?: never;
|
|
810
|
-
url: '/api/v1/auth/phone/verify';
|
|
811
|
-
};
|
|
812
|
-
export type PostApiV1AuthPhoneVerifyErrors = {
|
|
813
|
-
/**
|
|
814
|
-
* Default Response
|
|
815
|
-
*/
|
|
816
|
-
401: {
|
|
817
|
-
statusCode: number;
|
|
818
|
-
error: string;
|
|
819
|
-
message: string;
|
|
820
|
-
};
|
|
821
|
-
};
|
|
822
|
-
export type PostApiV1AuthPhoneVerifyError = PostApiV1AuthPhoneVerifyErrors[keyof PostApiV1AuthPhoneVerifyErrors];
|
|
823
|
-
export type PostApiV1AuthPhoneVerifyResponses = {
|
|
824
|
-
/**
|
|
825
|
-
* Default Response
|
|
826
|
-
*/
|
|
827
|
-
200: {
|
|
828
|
-
success: boolean;
|
|
829
|
-
};
|
|
830
|
-
};
|
|
831
|
-
export type PostApiV1AuthPhoneVerifyResponse = PostApiV1AuthPhoneVerifyResponses[keyof PostApiV1AuthPhoneVerifyResponses];
|
|
832
|
-
export type PostApiV1AuthSmsVerifyData = {
|
|
833
|
-
body: {
|
|
834
|
-
code: string;
|
|
835
|
-
};
|
|
836
|
-
path?: never;
|
|
837
|
-
query?: never;
|
|
838
|
-
url: '/api/v1/auth/sms/verify';
|
|
839
|
-
};
|
|
840
|
-
export type PostApiV1AuthSmsVerifyErrors = {
|
|
841
|
-
/**
|
|
842
|
-
* Default Response
|
|
843
|
-
*/
|
|
844
|
-
400: {
|
|
845
|
-
statusCode: number;
|
|
846
|
-
error: string;
|
|
847
|
-
message: string;
|
|
848
|
-
};
|
|
849
|
-
/**
|
|
850
|
-
* Default Response
|
|
851
|
-
*/
|
|
852
|
-
401: {
|
|
853
|
-
statusCode: number;
|
|
854
|
-
error: string;
|
|
855
|
-
message: string;
|
|
856
|
-
};
|
|
857
|
-
};
|
|
858
|
-
export type PostApiV1AuthSmsVerifyError = PostApiV1AuthSmsVerifyErrors[keyof PostApiV1AuthSmsVerifyErrors];
|
|
859
|
-
export type PostApiV1AuthSmsVerifyResponses = {
|
|
860
|
-
/**
|
|
861
|
-
* Default Response
|
|
862
|
-
*/
|
|
863
|
-
200: {
|
|
864
|
-
verify: boolean;
|
|
865
|
-
};
|
|
866
|
-
};
|
|
867
|
-
export type PostApiV1AuthSmsVerifyResponse = PostApiV1AuthSmsVerifyResponses[keyof PostApiV1AuthSmsVerifyResponses];
|
|
868
636
|
export type PostApiV1InvitationsInvitationAcceptData = {
|
|
869
637
|
body: {
|
|
870
638
|
token: string;
|
|
@@ -965,62 +733,37 @@ export type DeleteApiV1InvitationsInvitationByIdResponses = {
|
|
|
965
733
|
};
|
|
966
734
|
};
|
|
967
735
|
export type DeleteApiV1InvitationsInvitationByIdResponse = DeleteApiV1InvitationsInvitationByIdResponses[keyof DeleteApiV1InvitationsInvitationByIdResponses];
|
|
968
|
-
export type
|
|
969
|
-
body
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
search?: string;
|
|
736
|
+
export type PostApiV1ToolsTestEmailData = {
|
|
737
|
+
body: {
|
|
738
|
+
email: string;
|
|
739
|
+
projectId: string;
|
|
740
|
+
template: string;
|
|
741
|
+
locale?: string;
|
|
975
742
|
};
|
|
976
|
-
|
|
743
|
+
path?: never;
|
|
744
|
+
query?: never;
|
|
745
|
+
url: '/api/v1/tools/test-email';
|
|
977
746
|
};
|
|
978
|
-
export type
|
|
747
|
+
export type PostApiV1ToolsTestEmailResponses = {
|
|
979
748
|
/**
|
|
980
749
|
* Default Response
|
|
981
750
|
*/
|
|
982
751
|
200: {
|
|
983
|
-
|
|
984
|
-
id: string;
|
|
985
|
-
email: string;
|
|
986
|
-
firstName: string | null;
|
|
987
|
-
lastName: string | null;
|
|
988
|
-
username: string;
|
|
989
|
-
role: string;
|
|
990
|
-
emailVerified: boolean;
|
|
991
|
-
phone: string | null;
|
|
992
|
-
phoneVerified: boolean;
|
|
993
|
-
isBlocked: boolean;
|
|
994
|
-
isGuest: boolean;
|
|
995
|
-
locale: string;
|
|
996
|
-
createdAt: string;
|
|
997
|
-
}>;
|
|
998
|
-
total: number;
|
|
752
|
+
success: boolean;
|
|
999
753
|
};
|
|
1000
754
|
};
|
|
1001
|
-
export type
|
|
1002
|
-
export type
|
|
755
|
+
export type PostApiV1ToolsTestEmailResponse = PostApiV1ToolsTestEmailResponses[keyof PostApiV1ToolsTestEmailResponses];
|
|
756
|
+
export type PatchApiV1ToolsSmsData = {
|
|
1003
757
|
body: {
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
lastName?: string | null;
|
|
1009
|
-
phone?: string | null;
|
|
1010
|
-
locale?: string;
|
|
1011
|
-
role?: string;
|
|
1012
|
-
claims?: {
|
|
1013
|
-
[key: string]: unknown;
|
|
1014
|
-
};
|
|
1015
|
-
marketingConsent?: boolean;
|
|
1016
|
-
isGuest?: boolean;
|
|
1017
|
-
emailVerified?: boolean;
|
|
758
|
+
code: string;
|
|
759
|
+
};
|
|
760
|
+
path: {
|
|
761
|
+
userId: string;
|
|
1018
762
|
};
|
|
1019
|
-
path?: never;
|
|
1020
763
|
query?: never;
|
|
1021
|
-
url: '/api/v1/
|
|
764
|
+
url: '/api/v1/tools/sms';
|
|
1022
765
|
};
|
|
1023
|
-
export type
|
|
766
|
+
export type PatchApiV1ToolsSmsErrors = {
|
|
1024
767
|
/**
|
|
1025
768
|
* Default Response
|
|
1026
769
|
*/
|
|
@@ -1032,173 +775,146 @@ export type PostApiV1UserErrors = {
|
|
|
1032
775
|
/**
|
|
1033
776
|
* Default Response
|
|
1034
777
|
*/
|
|
1035
|
-
|
|
778
|
+
401: {
|
|
1036
779
|
statusCode: number;
|
|
1037
780
|
error: string;
|
|
1038
781
|
message: string;
|
|
1039
782
|
};
|
|
1040
783
|
};
|
|
1041
|
-
export type
|
|
1042
|
-
export type
|
|
784
|
+
export type PatchApiV1ToolsSmsError = PatchApiV1ToolsSmsErrors[keyof PatchApiV1ToolsSmsErrors];
|
|
785
|
+
export type PatchApiV1ToolsSmsResponses = {
|
|
1043
786
|
/**
|
|
1044
787
|
* Default Response
|
|
1045
788
|
*/
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
email: string;
|
|
1049
|
-
isGuest: boolean;
|
|
789
|
+
200: {
|
|
790
|
+
verify: boolean;
|
|
1050
791
|
};
|
|
1051
792
|
};
|
|
1052
|
-
export type
|
|
1053
|
-
export type
|
|
1054
|
-
body
|
|
793
|
+
export type PatchApiV1ToolsSmsResponse = PatchApiV1ToolsSmsResponses[keyof PatchApiV1ToolsSmsResponses];
|
|
794
|
+
export type PostApiV1ToolsSmsData = {
|
|
795
|
+
body: {
|
|
796
|
+
[key: string]: unknown;
|
|
797
|
+
};
|
|
1055
798
|
path: {
|
|
1056
799
|
userId: string;
|
|
1057
800
|
};
|
|
1058
801
|
query?: never;
|
|
1059
|
-
url: '/api/v1/
|
|
802
|
+
url: '/api/v1/tools/sms';
|
|
1060
803
|
};
|
|
1061
|
-
export type
|
|
804
|
+
export type PostApiV1ToolsSmsErrors = {
|
|
1062
805
|
/**
|
|
1063
806
|
* Default Response
|
|
1064
807
|
*/
|
|
1065
|
-
|
|
808
|
+
400: {
|
|
1066
809
|
statusCode: number;
|
|
1067
810
|
error: string;
|
|
1068
811
|
message: string;
|
|
1069
812
|
};
|
|
1070
|
-
};
|
|
1071
|
-
export type GetApiV1UserByUserIdRolesError = GetApiV1UserByUserIdRolesErrors[keyof GetApiV1UserByUserIdRolesErrors];
|
|
1072
|
-
export type GetApiV1UserByUserIdRolesResponses = {
|
|
1073
813
|
/**
|
|
1074
814
|
* Default Response
|
|
1075
815
|
*/
|
|
1076
|
-
|
|
1077
|
-
id: string;
|
|
1078
|
-
role: string;
|
|
1079
|
-
group: string;
|
|
1080
|
-
createdAt: string;
|
|
1081
|
-
}>;
|
|
1082
|
-
};
|
|
1083
|
-
export type GetApiV1UserByUserIdRolesResponse = GetApiV1UserByUserIdRolesResponses[keyof GetApiV1UserByUserIdRolesResponses];
|
|
1084
|
-
export type PostApiV1UserByUserIdRolesData = {
|
|
1085
|
-
body: {
|
|
1086
|
-
role: string;
|
|
1087
|
-
group: string;
|
|
1088
|
-
};
|
|
1089
|
-
path: {
|
|
1090
|
-
userId: string;
|
|
1091
|
-
};
|
|
1092
|
-
query?: never;
|
|
1093
|
-
url: '/api/v1/user/{userId}/roles';
|
|
1094
|
-
};
|
|
1095
|
-
export type PostApiV1UserByUserIdRolesErrors = {
|
|
1096
|
-
/**
|
|
1097
|
-
* Default Response
|
|
1098
|
-
*/
|
|
1099
|
-
404: {
|
|
816
|
+
401: {
|
|
1100
817
|
statusCode: number;
|
|
1101
818
|
error: string;
|
|
1102
819
|
message: string;
|
|
1103
820
|
};
|
|
821
|
+
};
|
|
822
|
+
export type PostApiV1ToolsSmsError = PostApiV1ToolsSmsErrors[keyof PostApiV1ToolsSmsErrors];
|
|
823
|
+
export type PostApiV1ToolsSmsResponses = {
|
|
1104
824
|
/**
|
|
1105
825
|
* Default Response
|
|
1106
826
|
*/
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
827
|
+
200: {
|
|
828
|
+
success: boolean;
|
|
829
|
+
};
|
|
830
|
+
};
|
|
831
|
+
export type PostApiV1ToolsSmsResponse = PostApiV1ToolsSmsResponses[keyof PostApiV1ToolsSmsResponses];
|
|
832
|
+
export type GetApiV1UsersData = {
|
|
833
|
+
body?: never;
|
|
834
|
+
path?: never;
|
|
835
|
+
query?: {
|
|
836
|
+
limit?: number;
|
|
837
|
+
offset?: number;
|
|
838
|
+
search?: string;
|
|
1111
839
|
};
|
|
840
|
+
url: '/api/v1/users/';
|
|
1112
841
|
};
|
|
1113
|
-
export type
|
|
1114
|
-
export type PostApiV1UserByUserIdRolesResponses = {
|
|
842
|
+
export type GetApiV1UsersResponses = {
|
|
1115
843
|
/**
|
|
1116
844
|
* Default Response
|
|
1117
845
|
*/
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
846
|
+
200: {
|
|
847
|
+
data: Array<{
|
|
848
|
+
id: string;
|
|
849
|
+
email: string;
|
|
850
|
+
firstName: string | null;
|
|
851
|
+
lastName: string | null;
|
|
852
|
+
username: string;
|
|
853
|
+
role: string;
|
|
854
|
+
emailVerified: boolean;
|
|
855
|
+
phone: string | null;
|
|
856
|
+
phoneVerified: boolean;
|
|
857
|
+
isBlocked: boolean;
|
|
858
|
+
isGuest: boolean;
|
|
859
|
+
locale: string;
|
|
860
|
+
createdAt: string;
|
|
861
|
+
}>;
|
|
862
|
+
total: number;
|
|
1124
863
|
};
|
|
1125
864
|
};
|
|
1126
|
-
export type
|
|
1127
|
-
export type
|
|
1128
|
-
body
|
|
1129
|
-
|
|
1130
|
-
|
|
865
|
+
export type GetApiV1UsersResponse = GetApiV1UsersResponses[keyof GetApiV1UsersResponses];
|
|
866
|
+
export type PostApiV1UsersData = {
|
|
867
|
+
body: {
|
|
868
|
+
email: string;
|
|
869
|
+
username: string;
|
|
870
|
+
password?: string;
|
|
871
|
+
firstName?: string | null;
|
|
872
|
+
lastName?: string | null;
|
|
873
|
+
phone?: string | null;
|
|
874
|
+
locale?: string;
|
|
875
|
+
role?: string;
|
|
876
|
+
claims?: {
|
|
877
|
+
[key: string]: unknown;
|
|
878
|
+
};
|
|
879
|
+
marketingConsent?: boolean;
|
|
880
|
+
isGuest?: boolean;
|
|
881
|
+
emailVerified?: boolean;
|
|
1131
882
|
};
|
|
883
|
+
path?: never;
|
|
1132
884
|
query?: never;
|
|
1133
|
-
url: '/api/v1/
|
|
885
|
+
url: '/api/v1/users/';
|
|
1134
886
|
};
|
|
1135
|
-
export type
|
|
887
|
+
export type PostApiV1UsersErrors = {
|
|
1136
888
|
/**
|
|
1137
889
|
* Default Response
|
|
1138
890
|
*/
|
|
1139
|
-
|
|
891
|
+
400: {
|
|
1140
892
|
statusCode: number;
|
|
1141
893
|
error: string;
|
|
1142
894
|
message: string;
|
|
1143
895
|
};
|
|
1144
|
-
};
|
|
1145
|
-
export type DeleteApiV1UserByIdError = DeleteApiV1UserByIdErrors[keyof DeleteApiV1UserByIdErrors];
|
|
1146
|
-
export type DeleteApiV1UserByIdResponses = {
|
|
1147
896
|
/**
|
|
1148
897
|
* Default Response
|
|
1149
898
|
*/
|
|
1150
|
-
|
|
1151
|
-
id: string;
|
|
1152
|
-
};
|
|
1153
|
-
};
|
|
1154
|
-
export type DeleteApiV1UserByIdResponse = DeleteApiV1UserByIdResponses[keyof DeleteApiV1UserByIdResponses];
|
|
1155
|
-
export type GetApiV1UserByIdData = {
|
|
1156
|
-
body?: never;
|
|
1157
|
-
path: {
|
|
1158
|
-
id: string;
|
|
1159
|
-
};
|
|
1160
|
-
query?: never;
|
|
1161
|
-
url: '/api/v1/user/{id}';
|
|
1162
|
-
};
|
|
1163
|
-
export type GetApiV1UserByIdErrors = {
|
|
1164
|
-
/**
|
|
1165
|
-
* Default Response
|
|
1166
|
-
*/
|
|
1167
|
-
404: {
|
|
899
|
+
409: {
|
|
1168
900
|
statusCode: number;
|
|
1169
901
|
error: string;
|
|
1170
902
|
message: string;
|
|
1171
903
|
};
|
|
1172
904
|
};
|
|
1173
|
-
export type
|
|
1174
|
-
export type
|
|
905
|
+
export type PostApiV1UsersError = PostApiV1UsersErrors[keyof PostApiV1UsersErrors];
|
|
906
|
+
export type PostApiV1UsersResponses = {
|
|
1175
907
|
/**
|
|
1176
908
|
* Default Response
|
|
1177
909
|
*/
|
|
1178
|
-
|
|
910
|
+
201: {
|
|
1179
911
|
id: string;
|
|
1180
912
|
email: string;
|
|
1181
|
-
firstName: string | null;
|
|
1182
|
-
lastName: string | null;
|
|
1183
|
-
username: string;
|
|
1184
|
-
role: string;
|
|
1185
|
-
emailVerified: boolean;
|
|
1186
|
-
phone: string | null;
|
|
1187
|
-
phoneVerified: boolean;
|
|
1188
|
-
isBlocked: boolean;
|
|
1189
|
-
isBlockedUntil: string | null;
|
|
1190
913
|
isGuest: boolean;
|
|
1191
|
-
locale: string;
|
|
1192
|
-
claims: unknown;
|
|
1193
|
-
marketingConsent: boolean;
|
|
1194
|
-
twoFaEnabled: boolean;
|
|
1195
|
-
twoFaType: string | null;
|
|
1196
|
-
createdAt: string;
|
|
1197
|
-
updatedAt: string;
|
|
1198
914
|
};
|
|
1199
915
|
};
|
|
1200
|
-
export type
|
|
1201
|
-
export type
|
|
916
|
+
export type PostApiV1UsersResponse = PostApiV1UsersResponses[keyof PostApiV1UsersResponses];
|
|
917
|
+
export type PatchApiV1UsersByIdData = {
|
|
1202
918
|
body: {
|
|
1203
919
|
email?: string;
|
|
1204
920
|
emailVerified?: boolean;
|
|
@@ -1214,9 +930,9 @@ export type PatchApiV1UserByIdData = {
|
|
|
1214
930
|
id: string;
|
|
1215
931
|
};
|
|
1216
932
|
query?: never;
|
|
1217
|
-
url: '/api/v1/
|
|
933
|
+
url: '/api/v1/users/{id}';
|
|
1218
934
|
};
|
|
1219
|
-
export type
|
|
935
|
+
export type PatchApiV1UsersByIdErrors = {
|
|
1220
936
|
/**
|
|
1221
937
|
* Default Response
|
|
1222
938
|
*/
|
|
@@ -1234,8 +950,8 @@ export type PatchApiV1UserByIdErrors = {
|
|
|
1234
950
|
message: string;
|
|
1235
951
|
};
|
|
1236
952
|
};
|
|
1237
|
-
export type
|
|
1238
|
-
export type
|
|
953
|
+
export type PatchApiV1UsersByIdError = PatchApiV1UsersByIdErrors[keyof PatchApiV1UsersByIdErrors];
|
|
954
|
+
export type PatchApiV1UsersByIdResponses = {
|
|
1239
955
|
/**
|
|
1240
956
|
* Default Response
|
|
1241
957
|
*/
|
|
@@ -1243,17 +959,16 @@ export type PatchApiV1UserByIdResponses = {
|
|
|
1243
959
|
id: string;
|
|
1244
960
|
};
|
|
1245
961
|
};
|
|
1246
|
-
export type
|
|
1247
|
-
export type
|
|
962
|
+
export type PatchApiV1UsersByIdResponse = PatchApiV1UsersByIdResponses[keyof PatchApiV1UsersByIdResponses];
|
|
963
|
+
export type DeleteApiV1UsersByUserIdData = {
|
|
1248
964
|
body?: never;
|
|
1249
965
|
path: {
|
|
1250
|
-
|
|
1251
|
-
roleId: string;
|
|
966
|
+
id: string;
|
|
1252
967
|
};
|
|
1253
968
|
query?: never;
|
|
1254
|
-
url: '/api/v1/
|
|
969
|
+
url: '/api/v1/users/{userId}/';
|
|
1255
970
|
};
|
|
1256
|
-
export type
|
|
971
|
+
export type DeleteApiV1UsersByUserIdErrors = {
|
|
1257
972
|
/**
|
|
1258
973
|
* Default Response
|
|
1259
974
|
*/
|
|
@@ -1263,8 +978,8 @@ export type DeleteApiV1UserByUserIdRolesByRoleIdErrors = {
|
|
|
1263
978
|
message: string;
|
|
1264
979
|
};
|
|
1265
980
|
};
|
|
1266
|
-
export type
|
|
1267
|
-
export type
|
|
981
|
+
export type DeleteApiV1UsersByUserIdError = DeleteApiV1UsersByUserIdErrors[keyof DeleteApiV1UsersByUserIdErrors];
|
|
982
|
+
export type DeleteApiV1UsersByUserIdResponses = {
|
|
1268
983
|
/**
|
|
1269
984
|
* Default Response
|
|
1270
985
|
*/
|
|
@@ -1272,28 +987,16 @@ export type DeleteApiV1UserByUserIdRolesByRoleIdResponses = {
|
|
|
1272
987
|
id: string;
|
|
1273
988
|
};
|
|
1274
989
|
};
|
|
1275
|
-
export type
|
|
1276
|
-
export type
|
|
1277
|
-
body
|
|
1278
|
-
role?: string;
|
|
1279
|
-
group?: string;
|
|
1280
|
-
};
|
|
990
|
+
export type DeleteApiV1UsersByUserIdResponse = DeleteApiV1UsersByUserIdResponses[keyof DeleteApiV1UsersByUserIdResponses];
|
|
991
|
+
export type GetApiV1UsersByUserIdData = {
|
|
992
|
+
body?: never;
|
|
1281
993
|
path: {
|
|
1282
|
-
|
|
1283
|
-
roleId: string;
|
|
994
|
+
id: string;
|
|
1284
995
|
};
|
|
1285
996
|
query?: never;
|
|
1286
|
-
url: '/api/v1/
|
|
997
|
+
url: '/api/v1/users/{userId}';
|
|
1287
998
|
};
|
|
1288
|
-
export type
|
|
1289
|
-
/**
|
|
1290
|
-
* Default Response
|
|
1291
|
-
*/
|
|
1292
|
-
400: {
|
|
1293
|
-
statusCode: number;
|
|
1294
|
-
error: string;
|
|
1295
|
-
message: string;
|
|
1296
|
-
};
|
|
999
|
+
export type GetApiV1UsersByUserIdErrors = {
|
|
1297
1000
|
/**
|
|
1298
1001
|
* Default Response
|
|
1299
1002
|
*/
|
|
@@ -1303,80 +1006,50 @@ export type PatchApiV1UserByUserIdRolesByRoleIdErrors = {
|
|
|
1303
1006
|
message: string;
|
|
1304
1007
|
};
|
|
1305
1008
|
};
|
|
1306
|
-
export type
|
|
1307
|
-
export type
|
|
1009
|
+
export type GetApiV1UsersByUserIdError = GetApiV1UsersByUserIdErrors[keyof GetApiV1UsersByUserIdErrors];
|
|
1010
|
+
export type GetApiV1UsersByUserIdResponses = {
|
|
1308
1011
|
/**
|
|
1309
1012
|
* Default Response
|
|
1310
1013
|
*/
|
|
1311
1014
|
200: {
|
|
1312
1015
|
id: string;
|
|
1313
|
-
|
|
1016
|
+
email: string;
|
|
1017
|
+
firstName: string | null;
|
|
1018
|
+
lastName: string | null;
|
|
1019
|
+
username: string;
|
|
1314
1020
|
role: string;
|
|
1315
|
-
|
|
1021
|
+
emailVerified: boolean;
|
|
1022
|
+
phone: string | null;
|
|
1023
|
+
phoneVerified: boolean;
|
|
1024
|
+
isBlocked: boolean;
|
|
1025
|
+
isBlockedUntil: string | null;
|
|
1026
|
+
isGuest: boolean;
|
|
1027
|
+
locale: string;
|
|
1028
|
+
claims: unknown;
|
|
1029
|
+
marketingConsent: boolean;
|
|
1030
|
+
twoFaEnabled: boolean;
|
|
1031
|
+
twoFaType: string | null;
|
|
1316
1032
|
createdAt: string;
|
|
1033
|
+
updatedAt: string;
|
|
1317
1034
|
};
|
|
1318
1035
|
};
|
|
1319
|
-
export type
|
|
1320
|
-
export type
|
|
1321
|
-
body?: never;
|
|
1322
|
-
path?: never;
|
|
1323
|
-
query?: {
|
|
1324
|
-
limit?: number;
|
|
1325
|
-
offset?: number;
|
|
1326
|
-
search?: string;
|
|
1327
|
-
};
|
|
1328
|
-
url: '/api/v1/users/';
|
|
1329
|
-
};
|
|
1330
|
-
export type GetApiV1UsersResponses = {
|
|
1331
|
-
/**
|
|
1332
|
-
* Default Response
|
|
1333
|
-
*/
|
|
1334
|
-
200: {
|
|
1335
|
-
data: Array<{
|
|
1336
|
-
id: string;
|
|
1337
|
-
email: string;
|
|
1338
|
-
firstName: string | null;
|
|
1339
|
-
lastName: string | null;
|
|
1340
|
-
username: string;
|
|
1341
|
-
role: string;
|
|
1342
|
-
emailVerified: boolean;
|
|
1343
|
-
phone: string | null;
|
|
1344
|
-
phoneVerified: boolean;
|
|
1345
|
-
isBlocked: boolean;
|
|
1346
|
-
isGuest: boolean;
|
|
1347
|
-
locale: string;
|
|
1348
|
-
createdAt: string;
|
|
1349
|
-
}>;
|
|
1350
|
-
total: number;
|
|
1351
|
-
};
|
|
1352
|
-
};
|
|
1353
|
-
export type GetApiV1UsersResponse = GetApiV1UsersResponses[keyof GetApiV1UsersResponses];
|
|
1354
|
-
export type PostApiV1UsersData = {
|
|
1036
|
+
export type GetApiV1UsersByUserIdResponse = GetApiV1UsersByUserIdResponses[keyof GetApiV1UsersByUserIdResponses];
|
|
1037
|
+
export type PatchApiV1UsersByUserIdChallangePhoneData = {
|
|
1355
1038
|
body: {
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
phone?: string | null;
|
|
1362
|
-
locale?: string;
|
|
1363
|
-
role?: string;
|
|
1364
|
-
claims?: {
|
|
1365
|
-
[key: string]: unknown;
|
|
1366
|
-
};
|
|
1367
|
-
marketingConsent?: boolean;
|
|
1368
|
-
isGuest?: boolean;
|
|
1369
|
-
emailVerified?: boolean;
|
|
1039
|
+
phone: string;
|
|
1040
|
+
code: string;
|
|
1041
|
+
};
|
|
1042
|
+
path: {
|
|
1043
|
+
userId: string;
|
|
1370
1044
|
};
|
|
1371
|
-
path?: never;
|
|
1372
1045
|
query?: never;
|
|
1373
|
-
url: '/api/v1/users/';
|
|
1046
|
+
url: '/api/v1/users/{userId}/challange/phone';
|
|
1374
1047
|
};
|
|
1375
|
-
export type
|
|
1048
|
+
export type PatchApiV1UsersByUserIdChallangePhoneErrors = {
|
|
1376
1049
|
/**
|
|
1377
1050
|
* Default Response
|
|
1378
1051
|
*/
|
|
1379
|
-
|
|
1052
|
+
401: {
|
|
1380
1053
|
statusCode: number;
|
|
1381
1054
|
error: string;
|
|
1382
1055
|
message: string;
|
|
@@ -1384,33 +1057,31 @@ export type PostApiV1UsersErrors = {
|
|
|
1384
1057
|
/**
|
|
1385
1058
|
* Default Response
|
|
1386
1059
|
*/
|
|
1387
|
-
|
|
1060
|
+
404: {
|
|
1388
1061
|
statusCode: number;
|
|
1389
1062
|
error: string;
|
|
1390
1063
|
message: string;
|
|
1391
1064
|
};
|
|
1392
1065
|
};
|
|
1393
|
-
export type
|
|
1394
|
-
export type
|
|
1066
|
+
export type PatchApiV1UsersByUserIdChallangePhoneError = PatchApiV1UsersByUserIdChallangePhoneErrors[keyof PatchApiV1UsersByUserIdChallangePhoneErrors];
|
|
1067
|
+
export type PatchApiV1UsersByUserIdChallangePhoneResponses = {
|
|
1395
1068
|
/**
|
|
1396
1069
|
* Default Response
|
|
1397
1070
|
*/
|
|
1398
|
-
201:
|
|
1399
|
-
id: string;
|
|
1400
|
-
email: string;
|
|
1401
|
-
isGuest: boolean;
|
|
1402
|
-
};
|
|
1071
|
+
201: null;
|
|
1403
1072
|
};
|
|
1404
|
-
export type
|
|
1405
|
-
export type
|
|
1406
|
-
body
|
|
1073
|
+
export type PatchApiV1UsersByUserIdChallangePhoneResponse = PatchApiV1UsersByUserIdChallangePhoneResponses[keyof PatchApiV1UsersByUserIdChallangePhoneResponses];
|
|
1074
|
+
export type PostApiV1UsersByUserIdChallangePhoneData = {
|
|
1075
|
+
body: {
|
|
1076
|
+
phone: string;
|
|
1077
|
+
};
|
|
1407
1078
|
path: {
|
|
1408
1079
|
userId: string;
|
|
1409
1080
|
};
|
|
1410
1081
|
query?: never;
|
|
1411
|
-
url: '/api/v1/users/{userId}/
|
|
1082
|
+
url: '/api/v1/users/{userId}/challange/phone';
|
|
1412
1083
|
};
|
|
1413
|
-
export type
|
|
1084
|
+
export type PostApiV1UsersByUserIdChallangePhoneErrors = {
|
|
1414
1085
|
/**
|
|
1415
1086
|
* Default Response
|
|
1416
1087
|
*/
|
|
@@ -1419,20 +1090,23 @@ export type GetApiV1UsersByUserIdRolesErrors = {
|
|
|
1419
1090
|
error: string;
|
|
1420
1091
|
message: string;
|
|
1421
1092
|
};
|
|
1093
|
+
/**
|
|
1094
|
+
* Default Response
|
|
1095
|
+
*/
|
|
1096
|
+
409: {
|
|
1097
|
+
statusCode: number;
|
|
1098
|
+
error: string;
|
|
1099
|
+
message: string;
|
|
1100
|
+
};
|
|
1422
1101
|
};
|
|
1423
|
-
export type
|
|
1424
|
-
export type
|
|
1102
|
+
export type PostApiV1UsersByUserIdChallangePhoneError = PostApiV1UsersByUserIdChallangePhoneErrors[keyof PostApiV1UsersByUserIdChallangePhoneErrors];
|
|
1103
|
+
export type PostApiV1UsersByUserIdChallangePhoneResponses = {
|
|
1425
1104
|
/**
|
|
1426
1105
|
* Default Response
|
|
1427
1106
|
*/
|
|
1428
|
-
200:
|
|
1429
|
-
id: string;
|
|
1430
|
-
role: string;
|
|
1431
|
-
group: string;
|
|
1432
|
-
createdAt: string;
|
|
1433
|
-
}>;
|
|
1107
|
+
200: null;
|
|
1434
1108
|
};
|
|
1435
|
-
export type
|
|
1109
|
+
export type PostApiV1UsersByUserIdChallangePhoneResponse = PostApiV1UsersByUserIdChallangePhoneResponses[keyof PostApiV1UsersByUserIdChallangePhoneResponses];
|
|
1436
1110
|
export type PostApiV1UsersByUserIdRolesData = {
|
|
1437
1111
|
body: {
|
|
1438
1112
|
role: string;
|
|
@@ -1476,15 +1150,16 @@ export type PostApiV1UsersByUserIdRolesResponses = {
|
|
|
1476
1150
|
};
|
|
1477
1151
|
};
|
|
1478
1152
|
export type PostApiV1UsersByUserIdRolesResponse = PostApiV1UsersByUserIdRolesResponses[keyof PostApiV1UsersByUserIdRolesResponses];
|
|
1479
|
-
export type
|
|
1153
|
+
export type DeleteApiV1UsersByUserIdRolesRolesByRoleIdData = {
|
|
1480
1154
|
body?: never;
|
|
1481
1155
|
path: {
|
|
1482
|
-
|
|
1156
|
+
userId: string;
|
|
1157
|
+
roleId: string;
|
|
1483
1158
|
};
|
|
1484
1159
|
query?: never;
|
|
1485
|
-
url: '/api/v1/users/{
|
|
1160
|
+
url: '/api/v1/users/{userId}/roles/roles/{roleId}';
|
|
1486
1161
|
};
|
|
1487
|
-
export type
|
|
1162
|
+
export type DeleteApiV1UsersByUserIdRolesRolesByRoleIdErrors = {
|
|
1488
1163
|
/**
|
|
1489
1164
|
* Default Response
|
|
1490
1165
|
*/
|
|
@@ -1494,8 +1169,8 @@ export type DeleteApiV1UsersByIdErrors = {
|
|
|
1494
1169
|
message: string;
|
|
1495
1170
|
};
|
|
1496
1171
|
};
|
|
1497
|
-
export type
|
|
1498
|
-
export type
|
|
1172
|
+
export type DeleteApiV1UsersByUserIdRolesRolesByRoleIdError = DeleteApiV1UsersByUserIdRolesRolesByRoleIdErrors[keyof DeleteApiV1UsersByUserIdRolesRolesByRoleIdErrors];
|
|
1173
|
+
export type DeleteApiV1UsersByUserIdRolesRolesByRoleIdResponses = {
|
|
1499
1174
|
/**
|
|
1500
1175
|
* Default Response
|
|
1501
1176
|
*/
|
|
@@ -1503,16 +1178,16 @@ export type DeleteApiV1UsersByIdResponses = {
|
|
|
1503
1178
|
id: string;
|
|
1504
1179
|
};
|
|
1505
1180
|
};
|
|
1506
|
-
export type
|
|
1507
|
-
export type
|
|
1181
|
+
export type DeleteApiV1UsersByUserIdRolesRolesByRoleIdResponse = DeleteApiV1UsersByUserIdRolesRolesByRoleIdResponses[keyof DeleteApiV1UsersByUserIdRolesRolesByRoleIdResponses];
|
|
1182
|
+
export type GetApiV1UsersByUserIdRolesRolesData = {
|
|
1508
1183
|
body?: never;
|
|
1509
1184
|
path: {
|
|
1510
|
-
|
|
1185
|
+
userId: string;
|
|
1511
1186
|
};
|
|
1512
1187
|
query?: never;
|
|
1513
|
-
url: '/api/v1/users/{
|
|
1188
|
+
url: '/api/v1/users/{userId}/roles/roles';
|
|
1514
1189
|
};
|
|
1515
|
-
export type
|
|
1190
|
+
export type GetApiV1UsersByUserIdRolesRolesErrors = {
|
|
1516
1191
|
/**
|
|
1517
1192
|
* Default Response
|
|
1518
1193
|
*/
|
|
@@ -1522,53 +1197,32 @@ export type GetApiV1UsersByIdErrors = {
|
|
|
1522
1197
|
message: string;
|
|
1523
1198
|
};
|
|
1524
1199
|
};
|
|
1525
|
-
export type
|
|
1526
|
-
export type
|
|
1200
|
+
export type GetApiV1UsersByUserIdRolesRolesError = GetApiV1UsersByUserIdRolesRolesErrors[keyof GetApiV1UsersByUserIdRolesRolesErrors];
|
|
1201
|
+
export type GetApiV1UsersByUserIdRolesRolesResponses = {
|
|
1527
1202
|
/**
|
|
1528
1203
|
* Default Response
|
|
1529
1204
|
*/
|
|
1530
|
-
200: {
|
|
1205
|
+
200: Array<{
|
|
1531
1206
|
id: string;
|
|
1532
|
-
email: string;
|
|
1533
|
-
firstName: string | null;
|
|
1534
|
-
lastName: string | null;
|
|
1535
|
-
username: string;
|
|
1536
1207
|
role: string;
|
|
1537
|
-
|
|
1538
|
-
phone: string | null;
|
|
1539
|
-
phoneVerified: boolean;
|
|
1540
|
-
isBlocked: boolean;
|
|
1541
|
-
isBlockedUntil: string | null;
|
|
1542
|
-
isGuest: boolean;
|
|
1543
|
-
locale: string;
|
|
1544
|
-
claims: unknown;
|
|
1545
|
-
marketingConsent: boolean;
|
|
1546
|
-
twoFaEnabled: boolean;
|
|
1547
|
-
twoFaType: string | null;
|
|
1208
|
+
group: string;
|
|
1548
1209
|
createdAt: string;
|
|
1549
|
-
|
|
1550
|
-
};
|
|
1210
|
+
}>;
|
|
1551
1211
|
};
|
|
1552
|
-
export type
|
|
1553
|
-
export type
|
|
1212
|
+
export type GetApiV1UsersByUserIdRolesRolesResponse = GetApiV1UsersByUserIdRolesRolesResponses[keyof GetApiV1UsersByUserIdRolesRolesResponses];
|
|
1213
|
+
export type PatchApiV1UsersByUserIdRolesByRoleIdData = {
|
|
1554
1214
|
body: {
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
phone?: string;
|
|
1558
|
-
phoneVerified?: boolean;
|
|
1559
|
-
isBlocked?: boolean;
|
|
1560
|
-
isBlockedUntil?: string | null;
|
|
1561
|
-
twoFaEnabled?: boolean;
|
|
1562
|
-
twoFaType?: 'APP' | 'EMAIL' | 'PHONE';
|
|
1563
|
-
loginAttempts?: number;
|
|
1215
|
+
role?: string;
|
|
1216
|
+
group?: string;
|
|
1564
1217
|
};
|
|
1565
1218
|
path: {
|
|
1566
|
-
|
|
1219
|
+
userId: string;
|
|
1220
|
+
roleId: string;
|
|
1567
1221
|
};
|
|
1568
1222
|
query?: never;
|
|
1569
|
-
url: '/api/v1/users/{
|
|
1223
|
+
url: '/api/v1/users/{userId}/roles/{roleId}';
|
|
1570
1224
|
};
|
|
1571
|
-
export type
|
|
1225
|
+
export type PatchApiV1UsersByUserIdRolesByRoleIdErrors = {
|
|
1572
1226
|
/**
|
|
1573
1227
|
* Default Response
|
|
1574
1228
|
*/
|
|
@@ -1586,58 +1240,62 @@ export type PatchApiV1UsersByIdErrors = {
|
|
|
1586
1240
|
message: string;
|
|
1587
1241
|
};
|
|
1588
1242
|
};
|
|
1589
|
-
export type
|
|
1590
|
-
export type
|
|
1243
|
+
export type PatchApiV1UsersByUserIdRolesByRoleIdError = PatchApiV1UsersByUserIdRolesByRoleIdErrors[keyof PatchApiV1UsersByUserIdRolesByRoleIdErrors];
|
|
1244
|
+
export type PatchApiV1UsersByUserIdRolesByRoleIdResponses = {
|
|
1591
1245
|
/**
|
|
1592
1246
|
* Default Response
|
|
1593
1247
|
*/
|
|
1594
1248
|
200: {
|
|
1595
1249
|
id: string;
|
|
1250
|
+
userId: string;
|
|
1251
|
+
role: string;
|
|
1252
|
+
group: string;
|
|
1253
|
+
createdAt: string;
|
|
1596
1254
|
};
|
|
1597
1255
|
};
|
|
1598
|
-
export type
|
|
1599
|
-
export type
|
|
1600
|
-
body
|
|
1256
|
+
export type PatchApiV1UsersByUserIdRolesByRoleIdResponse = PatchApiV1UsersByUserIdRolesByRoleIdResponses[keyof PatchApiV1UsersByUserIdRolesByRoleIdResponses];
|
|
1257
|
+
export type DeleteApiV1UsersByUserIdTwoFaData = {
|
|
1258
|
+
body: {
|
|
1259
|
+
token: string;
|
|
1260
|
+
};
|
|
1601
1261
|
path: {
|
|
1602
1262
|
userId: string;
|
|
1603
|
-
roleId: string;
|
|
1604
1263
|
};
|
|
1605
1264
|
query?: never;
|
|
1606
|
-
url: '/api/v1/users/{userId}/
|
|
1265
|
+
url: '/api/v1/users/{userId}/two-fa';
|
|
1607
1266
|
};
|
|
1608
|
-
export type
|
|
1267
|
+
export type DeleteApiV1UsersByUserIdTwoFaErrors = {
|
|
1609
1268
|
/**
|
|
1610
1269
|
* Default Response
|
|
1611
1270
|
*/
|
|
1612
|
-
|
|
1271
|
+
401: {
|
|
1613
1272
|
statusCode: number;
|
|
1614
1273
|
error: string;
|
|
1615
1274
|
message: string;
|
|
1616
1275
|
};
|
|
1617
1276
|
};
|
|
1618
|
-
export type
|
|
1619
|
-
export type
|
|
1277
|
+
export type DeleteApiV1UsersByUserIdTwoFaError = DeleteApiV1UsersByUserIdTwoFaErrors[keyof DeleteApiV1UsersByUserIdTwoFaErrors];
|
|
1278
|
+
export type DeleteApiV1UsersByUserIdTwoFaResponses = {
|
|
1620
1279
|
/**
|
|
1621
1280
|
* Default Response
|
|
1622
1281
|
*/
|
|
1623
1282
|
200: {
|
|
1624
|
-
|
|
1283
|
+
success: boolean;
|
|
1625
1284
|
};
|
|
1626
1285
|
};
|
|
1627
|
-
export type
|
|
1628
|
-
export type
|
|
1286
|
+
export type DeleteApiV1UsersByUserIdTwoFaResponse = DeleteApiV1UsersByUserIdTwoFaResponses[keyof DeleteApiV1UsersByUserIdTwoFaResponses];
|
|
1287
|
+
export type PostApiV1UsersByUserIdTwoFaData = {
|
|
1629
1288
|
body: {
|
|
1630
|
-
|
|
1631
|
-
|
|
1289
|
+
token?: string;
|
|
1290
|
+
type?: 'APP' | 'EMAIL' | 'PHONE';
|
|
1632
1291
|
};
|
|
1633
1292
|
path: {
|
|
1634
1293
|
userId: string;
|
|
1635
|
-
roleId: string;
|
|
1636
1294
|
};
|
|
1637
1295
|
query?: never;
|
|
1638
|
-
url: '/api/v1/users/{userId}/
|
|
1296
|
+
url: '/api/v1/users/{userId}/two-fa';
|
|
1639
1297
|
};
|
|
1640
|
-
export type
|
|
1298
|
+
export type PostApiV1UsersByUserIdTwoFaErrors = {
|
|
1641
1299
|
/**
|
|
1642
1300
|
* Default Response
|
|
1643
1301
|
*/
|
|
@@ -1649,24 +1307,38 @@ export type PatchApiV1UsersByUserIdRolesByRoleIdErrors = {
|
|
|
1649
1307
|
/**
|
|
1650
1308
|
* Default Response
|
|
1651
1309
|
*/
|
|
1652
|
-
|
|
1310
|
+
401: {
|
|
1653
1311
|
statusCode: number;
|
|
1654
1312
|
error: string;
|
|
1655
1313
|
message: string;
|
|
1656
1314
|
};
|
|
1657
1315
|
};
|
|
1658
|
-
export type
|
|
1659
|
-
export type
|
|
1316
|
+
export type PostApiV1UsersByUserIdTwoFaError = PostApiV1UsersByUserIdTwoFaErrors[keyof PostApiV1UsersByUserIdTwoFaErrors];
|
|
1317
|
+
export type PostApiV1UsersByUserIdTwoFaResponses = {
|
|
1660
1318
|
/**
|
|
1661
1319
|
* Default Response
|
|
1662
1320
|
*/
|
|
1663
1321
|
200: {
|
|
1664
|
-
|
|
1322
|
+
success: boolean;
|
|
1323
|
+
};
|
|
1324
|
+
};
|
|
1325
|
+
export type PostApiV1UsersByUserIdTwoFaResponse = PostApiV1UsersByUserIdTwoFaResponses[keyof PostApiV1UsersByUserIdTwoFaResponses];
|
|
1326
|
+
export type GetApiV1UsersByUserIdTwoFaSecretData = {
|
|
1327
|
+
body?: never;
|
|
1328
|
+
path: {
|
|
1665
1329
|
userId: string;
|
|
1666
|
-
role: string;
|
|
1667
|
-
group: string;
|
|
1668
|
-
createdAt: string;
|
|
1669
1330
|
};
|
|
1331
|
+
query?: never;
|
|
1332
|
+
url: '/api/v1/users/{userId}/two-fa/secret';
|
|
1670
1333
|
};
|
|
1671
|
-
export type
|
|
1334
|
+
export type GetApiV1UsersByUserIdTwoFaSecretResponses = {
|
|
1335
|
+
/**
|
|
1336
|
+
* Default Response
|
|
1337
|
+
*/
|
|
1338
|
+
200: {
|
|
1339
|
+
secret: string;
|
|
1340
|
+
uri: string;
|
|
1341
|
+
};
|
|
1342
|
+
};
|
|
1343
|
+
export type GetApiV1UsersByUserIdTwoFaSecretResponse = GetApiV1UsersByUserIdTwoFaSecretResponses[keyof GetApiV1UsersByUserIdTwoFaSecretResponses];
|
|
1672
1344
|
//# sourceMappingURL=types.gen.d.ts.map
|