@authticon/client 0.0.0-beta9 → 0.0.3
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 +390 -0
- package/dist/authticon.d.ts +122 -0
- package/dist/authticon.d.ts.map +1 -0
- package/dist/authticon.js +24 -0
- package/dist/authticon.js.map +1 -0
- package/dist/browser.d.ts +128 -0
- package/dist/browser.d.ts.map +1 -0
- package/dist/browser.js +14 -0
- package/dist/browser.js.map +1 -0
- package/dist/clients/admin.d.ts +107 -0
- package/dist/clients/admin.d.ts.map +1 -0
- package/dist/clients/admin.js +133 -0
- package/dist/clients/admin.js.map +1 -0
- package/dist/clients/auth.d.ts +34 -0
- package/dist/clients/auth.d.ts.map +1 -0
- package/dist/clients/auth.js +67 -0
- package/dist/clients/auth.js.map +1 -0
- package/dist/clients/base.d.ts +8 -0
- package/dist/clients/base.d.ts.map +1 -0
- package/dist/clients/base.js +18 -0
- package/dist/clients/base.js.map +1 -0
- package/dist/clients/generated/client/client.gen.d.ts.map +1 -0
- package/dist/clients/generated/client/client.gen.js +236 -0
- package/dist/clients/generated/client/client.gen.js.map +1 -0
- package/dist/{generated → clients/generated}/client/index.d.ts +2 -2
- package/dist/clients/generated/client/index.d.ts.map +1 -0
- package/dist/{generated → clients/generated}/client/index.js +1 -1
- package/dist/clients/generated/client/index.js.map +1 -0
- package/dist/clients/generated/client/types.gen.d.ts +118 -0
- package/dist/clients/generated/client/types.gen.d.ts.map +1 -0
- package/dist/clients/generated/client/types.gen.js.map +1 -0
- package/dist/clients/generated/client/utils.gen.d.ts +34 -0
- package/dist/clients/generated/client/utils.gen.d.ts.map +1 -0
- package/dist/{generated → clients/generated}/client/utils.gen.js +117 -57
- package/dist/clients/generated/client/utils.gen.js.map +1 -0
- package/dist/clients/generated/client.gen.d.ts.map +1 -0
- package/dist/{generated → clients/generated}/client.gen.js +1 -1
- package/dist/clients/generated/client.gen.js.map +1 -0
- package/dist/clients/generated/core/auth.gen.d.ts.map +1 -0
- package/dist/clients/generated/core/auth.gen.js.map +1 -0
- package/dist/clients/generated/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/clients/generated/core/bodySerializer.gen.js.map +1 -0
- package/dist/clients/generated/core/params.gen.d.ts.map +1 -0
- package/dist/clients/generated/core/params.gen.js.map +1 -0
- package/dist/clients/generated/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/clients/generated/core/pathSerializer.gen.js.map +1 -0
- package/dist/clients/generated/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/clients/generated/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/clients/generated/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/clients/generated/core/serverSentEvents.gen.js.map +1 -0
- package/dist/clients/generated/core/types.gen.d.ts.map +1 -0
- package/dist/clients/generated/core/types.gen.js.map +1 -0
- package/dist/clients/generated/core/utils.gen.d.ts.map +1 -0
- package/dist/clients/generated/core/utils.gen.js.map +1 -0
- package/dist/clients/generated/index.d.ts +3 -0
- package/dist/clients/generated/index.d.ts.map +1 -0
- package/dist/clients/generated/index.js +3 -0
- package/dist/clients/generated/index.js.map +1 -0
- package/dist/clients/generated/sdk.gen.d.ts +178 -0
- package/dist/clients/generated/sdk.gen.d.ts.map +1 -0
- package/dist/clients/generated/sdk.gen.js +445 -0
- package/dist/clients/generated/sdk.gen.js.map +1 -0
- package/dist/clients/generated/types.gen.d.ts +1355 -0
- package/dist/clients/generated/types.gen.d.ts.map +1 -0
- package/dist/clients/generated/types.gen.js.map +1 -0
- package/dist/clients/user.d.ts +70 -0
- package/dist/clients/user.d.ts.map +1 -0
- package/dist/clients/user.js +72 -0
- package/dist/clients/user.js.map +1 -0
- package/dist/cookies/browser.d.ts +3 -0
- package/dist/cookies/browser.d.ts.map +1 -0
- package/dist/cookies/browser.js +31 -0
- package/dist/cookies/browser.js.map +1 -0
- package/dist/cookies/node.d.ts +8 -0
- package/dist/cookies/node.d.ts.map +1 -0
- package/dist/cookies/node.js +49 -0
- package/dist/cookies/node.js.map +1 -0
- package/dist/errors.d.ts +22 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +40 -0
- package/dist/errors.js.map +1 -0
- package/dist/node.d.ts +163 -0
- package/dist/node.d.ts.map +1 -0
- package/dist/node.js +46 -0
- package/dist/node.js.map +1 -0
- package/dist/password.d.ts +8 -0
- package/dist/password.d.ts.map +1 -0
- package/dist/password.js +23 -0
- package/dist/password.js.map +1 -0
- package/dist/session.d.ts +99 -0
- package/dist/session.d.ts.map +1 -0
- package/dist/session.js +223 -0
- package/dist/session.js.map +1 -0
- package/dist/tokens.d.ts +27 -0
- package/dist/tokens.d.ts.map +1 -0
- package/dist/tokens.js +212 -0
- package/dist/tokens.js.map +1 -0
- package/dist/types.d.ts +48 -6
- package/dist/types.d.ts.map +1 -1
- package/package.json +23 -8
- package/dist/Acccount.d.ts +0 -9
- package/dist/Acccount.d.ts.map +0 -1
- package/dist/Acccount.js +0 -22
- package/dist/Acccount.js.map +0 -1
- package/dist/Auth.d.ts +0 -25
- package/dist/Auth.d.ts.map +0 -1
- package/dist/Auth.js +0 -43
- package/dist/Auth.js.map +0 -1
- package/dist/Authticon.d.ts +0 -87
- package/dist/Authticon.d.ts.map +0 -1
- package/dist/Authticon.js +0 -74
- package/dist/Authticon.js.map +0 -1
- package/dist/BrowserCookieAdapter.d.ts +0 -13
- package/dist/BrowserCookieAdapter.d.ts.map +0 -1
- package/dist/BrowserCookieAdapter.js +0 -18
- package/dist/BrowserCookieAdapter.js.map +0 -1
- package/dist/BrowserCookieAdapter.test.d.ts +0 -2
- package/dist/BrowserCookieAdapter.test.d.ts.map +0 -1
- package/dist/BrowserCookieAdapter.test.js +0 -145
- package/dist/BrowserCookieAdapter.test.js.map +0 -1
- package/dist/Challange.d.ts +0 -8
- package/dist/Challange.d.ts.map +0 -1
- package/dist/Challange.js +0 -24
- package/dist/Challange.js.map +0 -1
- package/dist/CookieStorageAdapter.d.ts +0 -14
- package/dist/CookieStorageAdapter.d.ts.map +0 -1
- package/dist/CookieStorageAdapter.js +0 -42
- package/dist/CookieStorageAdapter.js.map +0 -1
- package/dist/CookieStorageAdapter.test.d.ts +0 -2
- package/dist/CookieStorageAdapter.test.d.ts.map +0 -1
- package/dist/CookieStorageAdapter.test.js +0 -130
- package/dist/CookieStorageAdapter.test.js.map +0 -1
- package/dist/RemixCookieAdapter.d.ts +0 -12
- package/dist/RemixCookieAdapter.d.ts.map +0 -1
- package/dist/RemixCookieAdapter.js +0 -25
- package/dist/RemixCookieAdapter.js.map +0 -1
- package/dist/RemixCookieAdapter.test.d.ts +0 -2
- package/dist/RemixCookieAdapter.test.d.ts.map +0 -1
- package/dist/RemixCookieAdapter.test.js +0 -136
- package/dist/RemixCookieAdapter.test.js.map +0 -1
- package/dist/TokenManager.d.ts +0 -24
- package/dist/TokenManager.d.ts.map +0 -1
- package/dist/TokenManager.js +0 -53
- package/dist/TokenManager.js.map +0 -1
- package/dist/TokenManager.test.d.ts +0 -2
- package/dist/TokenManager.test.d.ts.map +0 -1
- package/dist/TokenManager.test.js +0 -118
- package/dist/TokenManager.test.js.map +0 -1
- package/dist/TokenStorage.d.ts +0 -18
- package/dist/TokenStorage.d.ts.map +0 -1
- package/dist/TokenStorage.js +0 -69
- package/dist/TokenStorage.js.map +0 -1
- package/dist/TokenStorage.test.d.ts +0 -2
- package/dist/TokenStorage.test.d.ts.map +0 -1
- package/dist/TokenStorage.test.js +0 -179
- package/dist/TokenStorage.test.js.map +0 -1
- package/dist/TokenVerifier.d.ts +0 -13
- package/dist/TokenVerifier.d.ts.map +0 -1
- package/dist/TokenVerifier.js +0 -61
- package/dist/TokenVerifier.js.map +0 -1
- package/dist/TokenVerifier.test.d.ts +0 -2
- package/dist/TokenVerifier.test.d.ts.map +0 -1
- package/dist/TokenVerifier.test.js +0 -117
- package/dist/TokenVerifier.test.js.map +0 -1
- package/dist/TwoFa.d.ts +0 -26
- package/dist/TwoFa.d.ts.map +0 -1
- package/dist/TwoFa.js +0 -55
- package/dist/TwoFa.js.map +0 -1
- package/dist/User.d.ts +0 -25
- package/dist/User.d.ts.map +0 -1
- package/dist/User.js +0 -27
- package/dist/User.js.map +0 -1
- package/dist/Users.d.ts +0 -57
- package/dist/Users.d.ts.map +0 -1
- package/dist/Users.js +0 -55
- package/dist/Users.js.map +0 -1
- package/dist/cookie-utils.d.ts +0 -5
- package/dist/cookie-utils.d.ts.map +0 -1
- package/dist/cookie-utils.js +0 -33
- package/dist/cookie-utils.js.map +0 -1
- package/dist/generated/client/client.gen.d.ts.map +0 -1
- package/dist/generated/client/client.gen.js +0 -135
- package/dist/generated/client/client.gen.js.map +0 -1
- package/dist/generated/client/index.d.ts.map +0 -1
- package/dist/generated/client/index.js.map +0 -1
- package/dist/generated/client/types.gen.d.ts +0 -89
- package/dist/generated/client/types.gen.d.ts.map +0 -1
- package/dist/generated/client/types.gen.js.map +0 -1
- package/dist/generated/client/utils.gen.d.ts +0 -15
- package/dist/generated/client/utils.gen.d.ts.map +0 -1
- package/dist/generated/client/utils.gen.js.map +0 -1
- package/dist/generated/client.gen.d.ts.map +0 -1
- package/dist/generated/client.gen.js.map +0 -1
- package/dist/generated/core/auth.gen.d.ts.map +0 -1
- package/dist/generated/core/auth.gen.js.map +0 -1
- package/dist/generated/core/bodySerializer.gen.d.ts.map +0 -1
- package/dist/generated/core/bodySerializer.gen.js.map +0 -1
- package/dist/generated/core/params.gen.d.ts.map +0 -1
- package/dist/generated/core/params.gen.js.map +0 -1
- package/dist/generated/core/pathSerializer.gen.d.ts.map +0 -1
- package/dist/generated/core/pathSerializer.gen.js.map +0 -1
- package/dist/generated/core/queryKeySerializer.gen.d.ts.map +0 -1
- package/dist/generated/core/queryKeySerializer.gen.js.map +0 -1
- package/dist/generated/core/serverSentEvents.gen.d.ts.map +0 -1
- package/dist/generated/core/serverSentEvents.gen.js.map +0 -1
- package/dist/generated/core/types.gen.d.ts.map +0 -1
- package/dist/generated/core/types.gen.js.map +0 -1
- package/dist/generated/core/utils.gen.d.ts.map +0 -1
- package/dist/generated/core/utils.gen.js.map +0 -1
- package/dist/generated/index.d.ts +0 -3
- package/dist/generated/index.d.ts.map +0 -1
- package/dist/generated/index.js +0 -3
- package/dist/generated/index.js.map +0 -1
- package/dist/generated/sdk.gen.d.ts +0 -58
- package/dist/generated/sdk.gen.d.ts.map +0 -1
- package/dist/generated/sdk.gen.js +0 -337
- package/dist/generated/sdk.gen.js.map +0 -1
- package/dist/generated/types.gen.d.ts +0 -1344
- package/dist/generated/types.gen.d.ts.map +0 -1
- package/dist/generated/types.gen.js.map +0 -1
- package/dist/index.d.ts +0 -10
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -8
- package/dist/index.js.map +0 -1
- package/dist/user.d.ts +0 -50
- package/dist/user.d.ts.map +0 -1
- package/dist/user.js +0 -35
- package/dist/user.js.map +0 -1
- /package/dist/{generated → clients/generated}/client/client.gen.d.ts +0 -0
- /package/dist/{generated → clients/generated}/client/types.gen.js +0 -0
- /package/dist/{generated → clients/generated}/client.gen.d.ts +0 -0
- /package/dist/{generated → clients/generated}/core/auth.gen.d.ts +0 -0
- /package/dist/{generated → clients/generated}/core/auth.gen.js +0 -0
- /package/dist/{generated → clients/generated}/core/bodySerializer.gen.d.ts +0 -0
- /package/dist/{generated → clients/generated}/core/bodySerializer.gen.js +0 -0
- /package/dist/{generated → clients/generated}/core/params.gen.d.ts +0 -0
- /package/dist/{generated → clients/generated}/core/params.gen.js +0 -0
- /package/dist/{generated → clients/generated}/core/pathSerializer.gen.d.ts +0 -0
- /package/dist/{generated → clients/generated}/core/pathSerializer.gen.js +0 -0
- /package/dist/{generated → clients/generated}/core/queryKeySerializer.gen.d.ts +0 -0
- /package/dist/{generated → clients/generated}/core/queryKeySerializer.gen.js +0 -0
- /package/dist/{generated → clients/generated}/core/serverSentEvents.gen.d.ts +0 -0
- /package/dist/{generated → clients/generated}/core/serverSentEvents.gen.js +0 -0
- /package/dist/{generated → clients/generated}/core/types.gen.d.ts +0 -0
- /package/dist/{generated → clients/generated}/core/types.gen.js +0 -0
- /package/dist/{generated → clients/generated}/core/utils.gen.d.ts +0 -0
- /package/dist/{generated → clients/generated}/core/utils.gen.js +0 -0
- /package/dist/{generated → clients/generated}/types.gen.js +0 -0
|
@@ -1,1344 +0,0 @@
|
|
|
1
|
-
export type ClientOptions = {
|
|
2
|
-
baseURL: 'https://authticon.com' | (string & {});
|
|
3
|
-
};
|
|
4
|
-
export type GetApiV1HealthzData = {
|
|
5
|
-
body?: never;
|
|
6
|
-
path?: never;
|
|
7
|
-
query?: never;
|
|
8
|
-
url: '/api/v1/healthz';
|
|
9
|
-
};
|
|
10
|
-
export type GetApiV1HealthzResponses = {
|
|
11
|
-
/**
|
|
12
|
-
* Default Response
|
|
13
|
-
*/
|
|
14
|
-
200: unknown;
|
|
15
|
-
};
|
|
16
|
-
export type PostApiV1AuthEmailChangeData = {
|
|
17
|
-
body: {
|
|
18
|
-
userId: string;
|
|
19
|
-
newEmail: string;
|
|
20
|
-
};
|
|
21
|
-
path?: never;
|
|
22
|
-
query?: never;
|
|
23
|
-
url: '/api/v1/auth/email/change';
|
|
24
|
-
};
|
|
25
|
-
export type PostApiV1AuthEmailChangeErrors = {
|
|
26
|
-
/**
|
|
27
|
-
* Default Response
|
|
28
|
-
*/
|
|
29
|
-
401: {
|
|
30
|
-
statusCode: number;
|
|
31
|
-
error: string;
|
|
32
|
-
message: string;
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
* Default Response
|
|
36
|
-
*/
|
|
37
|
-
409: {
|
|
38
|
-
statusCode: number;
|
|
39
|
-
error: string;
|
|
40
|
-
message: string;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
export type PostApiV1AuthEmailChangeError = PostApiV1AuthEmailChangeErrors[keyof PostApiV1AuthEmailChangeErrors];
|
|
44
|
-
export type PostApiV1AuthEmailChangeResponses = {
|
|
45
|
-
/**
|
|
46
|
-
* Default Response
|
|
47
|
-
*/
|
|
48
|
-
201: null;
|
|
49
|
-
};
|
|
50
|
-
export type PostApiV1AuthEmailChangeResponse = PostApiV1AuthEmailChangeResponses[keyof PostApiV1AuthEmailChangeResponses];
|
|
51
|
-
export type PostApiV1AuthPasswordChangeData = {
|
|
52
|
-
body: {
|
|
53
|
-
oldPassword: string;
|
|
54
|
-
newPassword: string;
|
|
55
|
-
userId: string;
|
|
56
|
-
};
|
|
57
|
-
path?: never;
|
|
58
|
-
query?: never;
|
|
59
|
-
url: '/api/v1/auth/password/change';
|
|
60
|
-
};
|
|
61
|
-
export type PostApiV1AuthPasswordChangeErrors = {
|
|
62
|
-
/**
|
|
63
|
-
* Default Response
|
|
64
|
-
*/
|
|
65
|
-
400: {
|
|
66
|
-
statusCode: number;
|
|
67
|
-
error: string;
|
|
68
|
-
message: string;
|
|
69
|
-
};
|
|
70
|
-
/**
|
|
71
|
-
* Default Response
|
|
72
|
-
*/
|
|
73
|
-
401: {
|
|
74
|
-
statusCode: number;
|
|
75
|
-
error: string;
|
|
76
|
-
message: string;
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
export type PostApiV1AuthPasswordChangeError = PostApiV1AuthPasswordChangeErrors[keyof PostApiV1AuthPasswordChangeErrors];
|
|
80
|
-
export type PostApiV1AuthPasswordChangeResponses = {
|
|
81
|
-
/**
|
|
82
|
-
* Default Response
|
|
83
|
-
*/
|
|
84
|
-
201: null;
|
|
85
|
-
};
|
|
86
|
-
export type PostApiV1AuthPasswordChangeResponse = PostApiV1AuthPasswordChangeResponses[keyof PostApiV1AuthPasswordChangeResponses];
|
|
87
|
-
export type PostApiV1AuthGuestData = {
|
|
88
|
-
body: {
|
|
89
|
-
email: string;
|
|
90
|
-
firstName?: string;
|
|
91
|
-
lastName?: string;
|
|
92
|
-
phone?: string;
|
|
93
|
-
};
|
|
94
|
-
path?: never;
|
|
95
|
-
query?: never;
|
|
96
|
-
url: '/api/v1/auth/guest';
|
|
97
|
-
};
|
|
98
|
-
export type PostApiV1AuthGuestErrors = {
|
|
99
|
-
/**
|
|
100
|
-
* Default Response
|
|
101
|
-
*/
|
|
102
|
-
409: {
|
|
103
|
-
statusCode: number;
|
|
104
|
-
error: string;
|
|
105
|
-
message: string;
|
|
106
|
-
};
|
|
107
|
-
};
|
|
108
|
-
export type PostApiV1AuthGuestError = PostApiV1AuthGuestErrors[keyof PostApiV1AuthGuestErrors];
|
|
109
|
-
export type PostApiV1AuthGuestResponses = {
|
|
110
|
-
/**
|
|
111
|
-
* Default Response
|
|
112
|
-
*/
|
|
113
|
-
200: {
|
|
114
|
-
token: string;
|
|
115
|
-
};
|
|
116
|
-
};
|
|
117
|
-
export type PostApiV1AuthGuestResponse = PostApiV1AuthGuestResponses[keyof PostApiV1AuthGuestResponses];
|
|
118
|
-
export type PostApiV1AuthPasswordForgotData = {
|
|
119
|
-
body: {
|
|
120
|
-
email: string;
|
|
121
|
-
};
|
|
122
|
-
path?: never;
|
|
123
|
-
query?: never;
|
|
124
|
-
url: '/api/v1/auth/password/forgot';
|
|
125
|
-
};
|
|
126
|
-
export type PostApiV1AuthPasswordForgotResponses = {
|
|
127
|
-
/**
|
|
128
|
-
* Default Response
|
|
129
|
-
*/
|
|
130
|
-
200: {
|
|
131
|
-
success: boolean;
|
|
132
|
-
};
|
|
133
|
-
};
|
|
134
|
-
export type PostApiV1AuthPasswordForgotResponse = PostApiV1AuthPasswordForgotResponses[keyof PostApiV1AuthPasswordForgotResponses];
|
|
135
|
-
export type GetApiV1AuthTwoFaRecoveryCodesData = {
|
|
136
|
-
body?: never;
|
|
137
|
-
path?: never;
|
|
138
|
-
query?: never;
|
|
139
|
-
url: '/api/v1/auth/two-fa/recovery-codes';
|
|
140
|
-
};
|
|
141
|
-
export type GetApiV1AuthTwoFaRecoveryCodesErrors = {
|
|
142
|
-
/**
|
|
143
|
-
* Default Response
|
|
144
|
-
*/
|
|
145
|
-
401: {
|
|
146
|
-
statusCode: number;
|
|
147
|
-
error: string;
|
|
148
|
-
message: string;
|
|
149
|
-
};
|
|
150
|
-
};
|
|
151
|
-
export type GetApiV1AuthTwoFaRecoveryCodesError = GetApiV1AuthTwoFaRecoveryCodesErrors[keyof GetApiV1AuthTwoFaRecoveryCodesErrors];
|
|
152
|
-
export type GetApiV1AuthTwoFaRecoveryCodesResponses = {
|
|
153
|
-
/**
|
|
154
|
-
* Default Response
|
|
155
|
-
*/
|
|
156
|
-
200: {
|
|
157
|
-
recoveryCodes: Array<string>;
|
|
158
|
-
};
|
|
159
|
-
};
|
|
160
|
-
export type GetApiV1AuthTwoFaRecoveryCodesResponse = GetApiV1AuthTwoFaRecoveryCodesResponses[keyof GetApiV1AuthTwoFaRecoveryCodesResponses];
|
|
161
|
-
export type PostApiV1AuthTwoFaRecoveryCodesData = {
|
|
162
|
-
body: {
|
|
163
|
-
token: string;
|
|
164
|
-
};
|
|
165
|
-
path?: never;
|
|
166
|
-
query?: never;
|
|
167
|
-
url: '/api/v1/auth/two-fa/recovery-codes';
|
|
168
|
-
};
|
|
169
|
-
export type PostApiV1AuthTwoFaRecoveryCodesErrors = {
|
|
170
|
-
/**
|
|
171
|
-
* Default Response
|
|
172
|
-
*/
|
|
173
|
-
401: {
|
|
174
|
-
statusCode: number;
|
|
175
|
-
error: string;
|
|
176
|
-
message: string;
|
|
177
|
-
};
|
|
178
|
-
};
|
|
179
|
-
export type PostApiV1AuthTwoFaRecoveryCodesError = PostApiV1AuthTwoFaRecoveryCodesErrors[keyof PostApiV1AuthTwoFaRecoveryCodesErrors];
|
|
180
|
-
export type PostApiV1AuthTwoFaRecoveryCodesResponses = {
|
|
181
|
-
/**
|
|
182
|
-
* Default Response
|
|
183
|
-
*/
|
|
184
|
-
200: {
|
|
185
|
-
recoveryCodes: Array<string>;
|
|
186
|
-
};
|
|
187
|
-
};
|
|
188
|
-
export type PostApiV1AuthTwoFaRecoveryCodesResponse = PostApiV1AuthTwoFaRecoveryCodesResponses[keyof PostApiV1AuthTwoFaRecoveryCodesResponses];
|
|
189
|
-
export type PostApiV1AuthEmailCheckData = {
|
|
190
|
-
body: {
|
|
191
|
-
email: string;
|
|
192
|
-
};
|
|
193
|
-
path?: never;
|
|
194
|
-
query?: never;
|
|
195
|
-
url: '/api/v1/auth/email/check';
|
|
196
|
-
};
|
|
197
|
-
export type PostApiV1AuthEmailCheckResponses = {
|
|
198
|
-
/**
|
|
199
|
-
* Default Response
|
|
200
|
-
*/
|
|
201
|
-
200: {
|
|
202
|
-
isFree: boolean;
|
|
203
|
-
};
|
|
204
|
-
};
|
|
205
|
-
export type PostApiV1AuthEmailCheckResponse = PostApiV1AuthEmailCheckResponses[keyof PostApiV1AuthEmailCheckResponses];
|
|
206
|
-
export type PostApiV1AuthPhoneCheckData = {
|
|
207
|
-
body: {
|
|
208
|
-
phone: string;
|
|
209
|
-
};
|
|
210
|
-
path?: never;
|
|
211
|
-
query?: never;
|
|
212
|
-
url: '/api/v1/auth/phone/check';
|
|
213
|
-
};
|
|
214
|
-
export type PostApiV1AuthPhoneCheckResponses = {
|
|
215
|
-
/**
|
|
216
|
-
* Default Response
|
|
217
|
-
*/
|
|
218
|
-
200: {
|
|
219
|
-
isFree: boolean;
|
|
220
|
-
};
|
|
221
|
-
};
|
|
222
|
-
export type PostApiV1AuthPhoneCheckResponse = PostApiV1AuthPhoneCheckResponses[keyof PostApiV1AuthPhoneCheckResponses];
|
|
223
|
-
export type PostApiV1AuthLoginData = {
|
|
224
|
-
body: {
|
|
225
|
-
email: string;
|
|
226
|
-
password: string;
|
|
227
|
-
deviceId?: string;
|
|
228
|
-
ip?: string;
|
|
229
|
-
twoFaCode?: string;
|
|
230
|
-
userAgent: string;
|
|
231
|
-
rememberToken?: string | null;
|
|
232
|
-
};
|
|
233
|
-
path?: never;
|
|
234
|
-
query?: never;
|
|
235
|
-
url: '/api/v1/auth/login';
|
|
236
|
-
};
|
|
237
|
-
export type PostApiV1AuthLoginErrors = {
|
|
238
|
-
/**
|
|
239
|
-
* Default Response
|
|
240
|
-
*/
|
|
241
|
-
401: {
|
|
242
|
-
statusCode: number;
|
|
243
|
-
error: string;
|
|
244
|
-
message: string;
|
|
245
|
-
};
|
|
246
|
-
};
|
|
247
|
-
export type PostApiV1AuthLoginError = PostApiV1AuthLoginErrors[keyof PostApiV1AuthLoginErrors];
|
|
248
|
-
export type PostApiV1AuthLoginResponses = {
|
|
249
|
-
/**
|
|
250
|
-
* Default Response
|
|
251
|
-
*/
|
|
252
|
-
200: {
|
|
253
|
-
accessToken: string;
|
|
254
|
-
refreshToken: string;
|
|
255
|
-
deviceId: string;
|
|
256
|
-
} | {
|
|
257
|
-
twoFaType: 'email' | 'sms' | 'app';
|
|
258
|
-
twoFaToken: string;
|
|
259
|
-
deviceId: string;
|
|
260
|
-
};
|
|
261
|
-
};
|
|
262
|
-
export type PostApiV1AuthLoginResponse = PostApiV1AuthLoginResponses[keyof PostApiV1AuthLoginResponses];
|
|
263
|
-
export type PostApiV1AuthLoginAsData = {
|
|
264
|
-
body: {
|
|
265
|
-
userId: string;
|
|
266
|
-
};
|
|
267
|
-
path?: never;
|
|
268
|
-
query?: never;
|
|
269
|
-
url: '/api/v1/auth/login-as';
|
|
270
|
-
};
|
|
271
|
-
export type PostApiV1AuthLoginAsErrors = {
|
|
272
|
-
/**
|
|
273
|
-
* Default Response
|
|
274
|
-
*/
|
|
275
|
-
401: {
|
|
276
|
-
statusCode: number;
|
|
277
|
-
error: string;
|
|
278
|
-
message: string;
|
|
279
|
-
};
|
|
280
|
-
/**
|
|
281
|
-
* Default Response
|
|
282
|
-
*/
|
|
283
|
-
404: {
|
|
284
|
-
statusCode: number;
|
|
285
|
-
error: string;
|
|
286
|
-
message: string;
|
|
287
|
-
};
|
|
288
|
-
};
|
|
289
|
-
export type PostApiV1AuthLoginAsError = PostApiV1AuthLoginAsErrors[keyof PostApiV1AuthLoginAsErrors];
|
|
290
|
-
export type PostApiV1AuthLoginAsResponses = {
|
|
291
|
-
/**
|
|
292
|
-
* Default Response
|
|
293
|
-
*/
|
|
294
|
-
200: {
|
|
295
|
-
accessToken: string;
|
|
296
|
-
refreshToken: string;
|
|
297
|
-
};
|
|
298
|
-
};
|
|
299
|
-
export type PostApiV1AuthLoginAsResponse = PostApiV1AuthLoginAsResponses[keyof PostApiV1AuthLoginAsResponses];
|
|
300
|
-
export type PostApiV1AuthLogoutData = {
|
|
301
|
-
body: {
|
|
302
|
-
refreshToken: string;
|
|
303
|
-
};
|
|
304
|
-
path?: never;
|
|
305
|
-
query?: never;
|
|
306
|
-
url: '/api/v1/auth/logout';
|
|
307
|
-
};
|
|
308
|
-
export type PostApiV1AuthLogoutResponses = {
|
|
309
|
-
/**
|
|
310
|
-
* Default Response
|
|
311
|
-
*/
|
|
312
|
-
200: {
|
|
313
|
-
success: boolean;
|
|
314
|
-
};
|
|
315
|
-
};
|
|
316
|
-
export type PostApiV1AuthLogoutResponse = PostApiV1AuthLogoutResponses[keyof PostApiV1AuthLogoutResponses];
|
|
317
|
-
export type GetApiV1AuthMeData = {
|
|
318
|
-
body?: never;
|
|
319
|
-
path?: never;
|
|
320
|
-
query?: never;
|
|
321
|
-
url: '/api/v1/auth/me';
|
|
322
|
-
};
|
|
323
|
-
export type GetApiV1AuthMeErrors = {
|
|
324
|
-
/**
|
|
325
|
-
* Default Response
|
|
326
|
-
*/
|
|
327
|
-
401: {
|
|
328
|
-
statusCode: number;
|
|
329
|
-
error: string;
|
|
330
|
-
message: string;
|
|
331
|
-
};
|
|
332
|
-
};
|
|
333
|
-
export type GetApiV1AuthMeError = GetApiV1AuthMeErrors[keyof GetApiV1AuthMeErrors];
|
|
334
|
-
export type GetApiV1AuthMeResponses = {
|
|
335
|
-
/**
|
|
336
|
-
* Default Response
|
|
337
|
-
*/
|
|
338
|
-
200: {
|
|
339
|
-
userId: string;
|
|
340
|
-
};
|
|
341
|
-
};
|
|
342
|
-
export type GetApiV1AuthMeResponse = GetApiV1AuthMeResponses[keyof GetApiV1AuthMeResponses];
|
|
343
|
-
export type PostApiV1AuthTokenRefreshData = {
|
|
344
|
-
body: {
|
|
345
|
-
refreshToken: string;
|
|
346
|
-
};
|
|
347
|
-
path?: never;
|
|
348
|
-
query?: never;
|
|
349
|
-
url: '/api/v1/auth/token/refresh';
|
|
350
|
-
};
|
|
351
|
-
export type PostApiV1AuthTokenRefreshErrors = {
|
|
352
|
-
/**
|
|
353
|
-
* Default Response
|
|
354
|
-
*/
|
|
355
|
-
401: {
|
|
356
|
-
statusCode: number;
|
|
357
|
-
error: string;
|
|
358
|
-
message: string;
|
|
359
|
-
};
|
|
360
|
-
};
|
|
361
|
-
export type PostApiV1AuthTokenRefreshError = PostApiV1AuthTokenRefreshErrors[keyof PostApiV1AuthTokenRefreshErrors];
|
|
362
|
-
export type PostApiV1AuthTokenRefreshResponses = {
|
|
363
|
-
/**
|
|
364
|
-
* Default Response
|
|
365
|
-
*/
|
|
366
|
-
200: {
|
|
367
|
-
accessToken: string;
|
|
368
|
-
};
|
|
369
|
-
};
|
|
370
|
-
export type PostApiV1AuthTokenRefreshResponse = PostApiV1AuthTokenRefreshResponses[keyof PostApiV1AuthTokenRefreshResponses];
|
|
371
|
-
export type PostApiV1AuthRegisterData = {
|
|
372
|
-
body: {
|
|
373
|
-
email: string;
|
|
374
|
-
password: string;
|
|
375
|
-
firstName?: string;
|
|
376
|
-
lastName?: string;
|
|
377
|
-
marketingConsent?: boolean;
|
|
378
|
-
};
|
|
379
|
-
path?: never;
|
|
380
|
-
query?: never;
|
|
381
|
-
url: '/api/v1/auth/register';
|
|
382
|
-
};
|
|
383
|
-
export type PostApiV1AuthRegisterErrors = {
|
|
384
|
-
/**
|
|
385
|
-
* Default Response
|
|
386
|
-
*/
|
|
387
|
-
409: {
|
|
388
|
-
statusCode: number;
|
|
389
|
-
error: string;
|
|
390
|
-
message: string;
|
|
391
|
-
};
|
|
392
|
-
};
|
|
393
|
-
export type PostApiV1AuthRegisterError = PostApiV1AuthRegisterErrors[keyof PostApiV1AuthRegisterErrors];
|
|
394
|
-
export type PostApiV1AuthRegisterResponses = {
|
|
395
|
-
/**
|
|
396
|
-
* Default Response
|
|
397
|
-
*/
|
|
398
|
-
200: {
|
|
399
|
-
userId: string;
|
|
400
|
-
};
|
|
401
|
-
};
|
|
402
|
-
export type PostApiV1AuthRegisterResponse = PostApiV1AuthRegisterResponses[keyof PostApiV1AuthRegisterResponses];
|
|
403
|
-
export type PostApiV1AuthEmailResendConfirmationData = {
|
|
404
|
-
body: {
|
|
405
|
-
email: string;
|
|
406
|
-
};
|
|
407
|
-
path?: never;
|
|
408
|
-
query?: never;
|
|
409
|
-
url: '/api/v1/auth/email/resend-confirmation';
|
|
410
|
-
};
|
|
411
|
-
export type PostApiV1AuthEmailResendConfirmationErrors = {
|
|
412
|
-
/**
|
|
413
|
-
* Default Response
|
|
414
|
-
*/
|
|
415
|
-
400: {
|
|
416
|
-
statusCode: number;
|
|
417
|
-
error: string;
|
|
418
|
-
message: string;
|
|
419
|
-
};
|
|
420
|
-
};
|
|
421
|
-
export type PostApiV1AuthEmailResendConfirmationError = PostApiV1AuthEmailResendConfirmationErrors[keyof PostApiV1AuthEmailResendConfirmationErrors];
|
|
422
|
-
export type PostApiV1AuthEmailResendConfirmationResponses = {
|
|
423
|
-
/**
|
|
424
|
-
* Default Response
|
|
425
|
-
*/
|
|
426
|
-
200: {
|
|
427
|
-
success: boolean;
|
|
428
|
-
};
|
|
429
|
-
};
|
|
430
|
-
export type PostApiV1AuthEmailResendConfirmationResponse = PostApiV1AuthEmailResendConfirmationResponses[keyof PostApiV1AuthEmailResendConfirmationResponses];
|
|
431
|
-
export type PostApiV1AuthMagicLinkSendData = {
|
|
432
|
-
body: {
|
|
433
|
-
email: string;
|
|
434
|
-
};
|
|
435
|
-
path?: never;
|
|
436
|
-
query?: never;
|
|
437
|
-
url: '/api/v1/auth/magic-link/send';
|
|
438
|
-
};
|
|
439
|
-
export type PostApiV1AuthMagicLinkSendErrors = {
|
|
440
|
-
/**
|
|
441
|
-
* Default Response
|
|
442
|
-
*/
|
|
443
|
-
400: {
|
|
444
|
-
statusCode: number;
|
|
445
|
-
error: string;
|
|
446
|
-
message: string;
|
|
447
|
-
};
|
|
448
|
-
/**
|
|
449
|
-
* Default Response
|
|
450
|
-
*/
|
|
451
|
-
401: {
|
|
452
|
-
statusCode: number;
|
|
453
|
-
error: string;
|
|
454
|
-
message: string;
|
|
455
|
-
};
|
|
456
|
-
};
|
|
457
|
-
export type PostApiV1AuthMagicLinkSendError = PostApiV1AuthMagicLinkSendErrors[keyof PostApiV1AuthMagicLinkSendErrors];
|
|
458
|
-
export type PostApiV1AuthMagicLinkSendResponses = {
|
|
459
|
-
/**
|
|
460
|
-
* Default Response
|
|
461
|
-
*/
|
|
462
|
-
200: {
|
|
463
|
-
success: boolean;
|
|
464
|
-
};
|
|
465
|
-
};
|
|
466
|
-
export type PostApiV1AuthMagicLinkSendResponse = PostApiV1AuthMagicLinkSendResponses[keyof PostApiV1AuthMagicLinkSendResponses];
|
|
467
|
-
export type PostApiV1AuthPasswordSetData = {
|
|
468
|
-
body: {
|
|
469
|
-
password: string;
|
|
470
|
-
token?: string;
|
|
471
|
-
};
|
|
472
|
-
path?: never;
|
|
473
|
-
query?: never;
|
|
474
|
-
url: '/api/v1/auth/password/set';
|
|
475
|
-
};
|
|
476
|
-
export type PostApiV1AuthPasswordSetErrors = {
|
|
477
|
-
/**
|
|
478
|
-
* Default Response
|
|
479
|
-
*/
|
|
480
|
-
400: {
|
|
481
|
-
statusCode: number;
|
|
482
|
-
error: string;
|
|
483
|
-
message: string;
|
|
484
|
-
};
|
|
485
|
-
/**
|
|
486
|
-
* Default Response
|
|
487
|
-
*/
|
|
488
|
-
401: {
|
|
489
|
-
statusCode: number;
|
|
490
|
-
error: string;
|
|
491
|
-
message: string;
|
|
492
|
-
};
|
|
493
|
-
};
|
|
494
|
-
export type PostApiV1AuthPasswordSetError = PostApiV1AuthPasswordSetErrors[keyof PostApiV1AuthPasswordSetErrors];
|
|
495
|
-
export type PostApiV1AuthPasswordSetResponses = {
|
|
496
|
-
/**
|
|
497
|
-
* Default Response
|
|
498
|
-
*/
|
|
499
|
-
201: null;
|
|
500
|
-
};
|
|
501
|
-
export type PostApiV1AuthPasswordSetResponse = PostApiV1AuthPasswordSetResponses[keyof PostApiV1AuthPasswordSetResponses];
|
|
502
|
-
export type PostApiV1AuthEmailVerifyData = {
|
|
503
|
-
body: {
|
|
504
|
-
token: string;
|
|
505
|
-
};
|
|
506
|
-
path?: never;
|
|
507
|
-
query?: never;
|
|
508
|
-
url: '/api/v1/auth/email/verify';
|
|
509
|
-
};
|
|
510
|
-
export type PostApiV1AuthEmailVerifyResponses = {
|
|
511
|
-
/**
|
|
512
|
-
* Default Response
|
|
513
|
-
*/
|
|
514
|
-
200: {
|
|
515
|
-
success: boolean;
|
|
516
|
-
};
|
|
517
|
-
};
|
|
518
|
-
export type PostApiV1AuthEmailVerifyResponse = PostApiV1AuthEmailVerifyResponses[keyof PostApiV1AuthEmailVerifyResponses];
|
|
519
|
-
export type PostApiV1AuthTwoFaRecoveryData = {
|
|
520
|
-
body: {
|
|
521
|
-
twoFaToken: string;
|
|
522
|
-
code: string;
|
|
523
|
-
};
|
|
524
|
-
path?: never;
|
|
525
|
-
query?: never;
|
|
526
|
-
url: '/api/v1/auth/two-fa/recovery';
|
|
527
|
-
};
|
|
528
|
-
export type PostApiV1AuthTwoFaRecoveryErrors = {
|
|
529
|
-
/**
|
|
530
|
-
* Default Response
|
|
531
|
-
*/
|
|
532
|
-
400: {
|
|
533
|
-
statusCode: number;
|
|
534
|
-
error: string;
|
|
535
|
-
message: string;
|
|
536
|
-
};
|
|
537
|
-
/**
|
|
538
|
-
* Default Response
|
|
539
|
-
*/
|
|
540
|
-
401: {
|
|
541
|
-
statusCode: number;
|
|
542
|
-
error: string;
|
|
543
|
-
message: string;
|
|
544
|
-
};
|
|
545
|
-
};
|
|
546
|
-
export type PostApiV1AuthTwoFaRecoveryError = PostApiV1AuthTwoFaRecoveryErrors[keyof PostApiV1AuthTwoFaRecoveryErrors];
|
|
547
|
-
export type PostApiV1AuthTwoFaRecoveryResponses = {
|
|
548
|
-
/**
|
|
549
|
-
* Default Response
|
|
550
|
-
*/
|
|
551
|
-
200: {
|
|
552
|
-
accessToken: string;
|
|
553
|
-
refreshToken: string;
|
|
554
|
-
};
|
|
555
|
-
};
|
|
556
|
-
export type PostApiV1AuthTwoFaRecoveryResponse = PostApiV1AuthTwoFaRecoveryResponses[keyof PostApiV1AuthTwoFaRecoveryResponses];
|
|
557
|
-
export type PostApiV1AuthTwoFaVerifyData = {
|
|
558
|
-
body: {
|
|
559
|
-
twoFaToken: string;
|
|
560
|
-
code: string;
|
|
561
|
-
};
|
|
562
|
-
path?: never;
|
|
563
|
-
query?: never;
|
|
564
|
-
url: '/api/v1/auth/two-fa/verify';
|
|
565
|
-
};
|
|
566
|
-
export type PostApiV1AuthTwoFaVerifyErrors = {
|
|
567
|
-
/**
|
|
568
|
-
* Default Response
|
|
569
|
-
*/
|
|
570
|
-
400: {
|
|
571
|
-
statusCode: number;
|
|
572
|
-
error: string;
|
|
573
|
-
message: string;
|
|
574
|
-
};
|
|
575
|
-
/**
|
|
576
|
-
* Default Response
|
|
577
|
-
*/
|
|
578
|
-
401: {
|
|
579
|
-
statusCode: number;
|
|
580
|
-
error: string;
|
|
581
|
-
message: string;
|
|
582
|
-
};
|
|
583
|
-
};
|
|
584
|
-
export type PostApiV1AuthTwoFaVerifyError = PostApiV1AuthTwoFaVerifyErrors[keyof PostApiV1AuthTwoFaVerifyErrors];
|
|
585
|
-
export type PostApiV1AuthTwoFaVerifyResponses = {
|
|
586
|
-
/**
|
|
587
|
-
* Default Response
|
|
588
|
-
*/
|
|
589
|
-
200: {
|
|
590
|
-
accessToken: string;
|
|
591
|
-
refreshToken: string;
|
|
592
|
-
rememberToken: string;
|
|
593
|
-
};
|
|
594
|
-
};
|
|
595
|
-
export type PostApiV1AuthTwoFaVerifyResponse = PostApiV1AuthTwoFaVerifyResponses[keyof PostApiV1AuthTwoFaVerifyResponses];
|
|
596
|
-
export type PostApiV1AuthMagicLinkVerifyData = {
|
|
597
|
-
body: {
|
|
598
|
-
token: string;
|
|
599
|
-
};
|
|
600
|
-
path?: never;
|
|
601
|
-
query?: never;
|
|
602
|
-
url: '/api/v1/auth/magic-link/verify';
|
|
603
|
-
};
|
|
604
|
-
export type PostApiV1AuthMagicLinkVerifyErrors = {
|
|
605
|
-
/**
|
|
606
|
-
* Default Response
|
|
607
|
-
*/
|
|
608
|
-
400: {
|
|
609
|
-
statusCode: number;
|
|
610
|
-
error: string;
|
|
611
|
-
message: string;
|
|
612
|
-
};
|
|
613
|
-
/**
|
|
614
|
-
* Default Response
|
|
615
|
-
*/
|
|
616
|
-
401: {
|
|
617
|
-
statusCode: number;
|
|
618
|
-
error: string;
|
|
619
|
-
message: string;
|
|
620
|
-
};
|
|
621
|
-
};
|
|
622
|
-
export type PostApiV1AuthMagicLinkVerifyError = PostApiV1AuthMagicLinkVerifyErrors[keyof PostApiV1AuthMagicLinkVerifyErrors];
|
|
623
|
-
export type PostApiV1AuthMagicLinkVerifyResponses = {
|
|
624
|
-
/**
|
|
625
|
-
* Default Response
|
|
626
|
-
*/
|
|
627
|
-
200: {
|
|
628
|
-
accessToken: string;
|
|
629
|
-
refreshToken: string;
|
|
630
|
-
} | {
|
|
631
|
-
twoFaType: 'email' | 'sms' | 'app';
|
|
632
|
-
twoFaToken: string;
|
|
633
|
-
};
|
|
634
|
-
};
|
|
635
|
-
export type PostApiV1AuthMagicLinkVerifyResponse = PostApiV1AuthMagicLinkVerifyResponses[keyof PostApiV1AuthMagicLinkVerifyResponses];
|
|
636
|
-
export type PostApiV1InvitationsInvitationAcceptData = {
|
|
637
|
-
body: {
|
|
638
|
-
token: string;
|
|
639
|
-
password?: string;
|
|
640
|
-
userAgent: string;
|
|
641
|
-
};
|
|
642
|
-
path?: never;
|
|
643
|
-
query?: never;
|
|
644
|
-
url: '/api/v1/invitations/invitation/accept';
|
|
645
|
-
};
|
|
646
|
-
export type PostApiV1InvitationsInvitationAcceptErrors = {
|
|
647
|
-
/**
|
|
648
|
-
* Default Response
|
|
649
|
-
*/
|
|
650
|
-
400: {
|
|
651
|
-
statusCode: number;
|
|
652
|
-
error: string;
|
|
653
|
-
message: string;
|
|
654
|
-
};
|
|
655
|
-
};
|
|
656
|
-
export type PostApiV1InvitationsInvitationAcceptError = PostApiV1InvitationsInvitationAcceptErrors[keyof PostApiV1InvitationsInvitationAcceptErrors];
|
|
657
|
-
export type PostApiV1InvitationsInvitationAcceptResponses = {
|
|
658
|
-
/**
|
|
659
|
-
* Default Response
|
|
660
|
-
*/
|
|
661
|
-
200: {
|
|
662
|
-
accessToken: string;
|
|
663
|
-
refreshToken: string;
|
|
664
|
-
};
|
|
665
|
-
};
|
|
666
|
-
export type PostApiV1InvitationsInvitationAcceptResponse = PostApiV1InvitationsInvitationAcceptResponses[keyof PostApiV1InvitationsInvitationAcceptResponses];
|
|
667
|
-
export type PostApiV1InvitationsInvitationData = {
|
|
668
|
-
body: {
|
|
669
|
-
email: string;
|
|
670
|
-
userData?: {
|
|
671
|
-
[key: string]: unknown;
|
|
672
|
-
};
|
|
673
|
-
role?: string;
|
|
674
|
-
group?: string;
|
|
675
|
-
returnUrl?: string;
|
|
676
|
-
invitedById?: string;
|
|
677
|
-
};
|
|
678
|
-
path?: never;
|
|
679
|
-
query?: never;
|
|
680
|
-
url: '/api/v1/invitations/invitation';
|
|
681
|
-
};
|
|
682
|
-
export type PostApiV1InvitationsInvitationErrors = {
|
|
683
|
-
/**
|
|
684
|
-
* Default Response
|
|
685
|
-
*/
|
|
686
|
-
409: {
|
|
687
|
-
statusCode: number;
|
|
688
|
-
error: string;
|
|
689
|
-
message: string;
|
|
690
|
-
};
|
|
691
|
-
};
|
|
692
|
-
export type PostApiV1InvitationsInvitationError = PostApiV1InvitationsInvitationErrors[keyof PostApiV1InvitationsInvitationErrors];
|
|
693
|
-
export type PostApiV1InvitationsInvitationResponses = {
|
|
694
|
-
/**
|
|
695
|
-
* Default Response
|
|
696
|
-
*/
|
|
697
|
-
200: {
|
|
698
|
-
id: string;
|
|
699
|
-
email: string;
|
|
700
|
-
token: string;
|
|
701
|
-
validTo: string;
|
|
702
|
-
role: string | null;
|
|
703
|
-
group: string | null;
|
|
704
|
-
returnUrl: string | null;
|
|
705
|
-
};
|
|
706
|
-
};
|
|
707
|
-
export type PostApiV1InvitationsInvitationResponse = PostApiV1InvitationsInvitationResponses[keyof PostApiV1InvitationsInvitationResponses];
|
|
708
|
-
export type DeleteApiV1InvitationsInvitationByIdData = {
|
|
709
|
-
body?: never;
|
|
710
|
-
path: {
|
|
711
|
-
id: string;
|
|
712
|
-
};
|
|
713
|
-
query?: never;
|
|
714
|
-
url: '/api/v1/invitations/invitation/{id}';
|
|
715
|
-
};
|
|
716
|
-
export type DeleteApiV1InvitationsInvitationByIdErrors = {
|
|
717
|
-
/**
|
|
718
|
-
* Default Response
|
|
719
|
-
*/
|
|
720
|
-
404: {
|
|
721
|
-
statusCode: number;
|
|
722
|
-
error: string;
|
|
723
|
-
message: string;
|
|
724
|
-
};
|
|
725
|
-
};
|
|
726
|
-
export type DeleteApiV1InvitationsInvitationByIdError = DeleteApiV1InvitationsInvitationByIdErrors[keyof DeleteApiV1InvitationsInvitationByIdErrors];
|
|
727
|
-
export type DeleteApiV1InvitationsInvitationByIdResponses = {
|
|
728
|
-
/**
|
|
729
|
-
* Default Response
|
|
730
|
-
*/
|
|
731
|
-
200: {
|
|
732
|
-
id: string;
|
|
733
|
-
};
|
|
734
|
-
};
|
|
735
|
-
export type DeleteApiV1InvitationsInvitationByIdResponse = DeleteApiV1InvitationsInvitationByIdResponses[keyof DeleteApiV1InvitationsInvitationByIdResponses];
|
|
736
|
-
export type PostApiV1ToolsTestEmailData = {
|
|
737
|
-
body: {
|
|
738
|
-
email: string;
|
|
739
|
-
projectId: string;
|
|
740
|
-
template: string;
|
|
741
|
-
locale?: string;
|
|
742
|
-
};
|
|
743
|
-
path?: never;
|
|
744
|
-
query?: never;
|
|
745
|
-
url: '/api/v1/tools/test-email';
|
|
746
|
-
};
|
|
747
|
-
export type PostApiV1ToolsTestEmailResponses = {
|
|
748
|
-
/**
|
|
749
|
-
* Default Response
|
|
750
|
-
*/
|
|
751
|
-
200: {
|
|
752
|
-
success: boolean;
|
|
753
|
-
};
|
|
754
|
-
};
|
|
755
|
-
export type PostApiV1ToolsTestEmailResponse = PostApiV1ToolsTestEmailResponses[keyof PostApiV1ToolsTestEmailResponses];
|
|
756
|
-
export type PatchApiV1ToolsSmsData = {
|
|
757
|
-
body: {
|
|
758
|
-
code: string;
|
|
759
|
-
};
|
|
760
|
-
path: {
|
|
761
|
-
userId: string;
|
|
762
|
-
};
|
|
763
|
-
query?: never;
|
|
764
|
-
url: '/api/v1/tools/sms';
|
|
765
|
-
};
|
|
766
|
-
export type PatchApiV1ToolsSmsErrors = {
|
|
767
|
-
/**
|
|
768
|
-
* Default Response
|
|
769
|
-
*/
|
|
770
|
-
400: {
|
|
771
|
-
statusCode: number;
|
|
772
|
-
error: string;
|
|
773
|
-
message: string;
|
|
774
|
-
};
|
|
775
|
-
/**
|
|
776
|
-
* Default Response
|
|
777
|
-
*/
|
|
778
|
-
401: {
|
|
779
|
-
statusCode: number;
|
|
780
|
-
error: string;
|
|
781
|
-
message: string;
|
|
782
|
-
};
|
|
783
|
-
};
|
|
784
|
-
export type PatchApiV1ToolsSmsError = PatchApiV1ToolsSmsErrors[keyof PatchApiV1ToolsSmsErrors];
|
|
785
|
-
export type PatchApiV1ToolsSmsResponses = {
|
|
786
|
-
/**
|
|
787
|
-
* Default Response
|
|
788
|
-
*/
|
|
789
|
-
200: {
|
|
790
|
-
verify: boolean;
|
|
791
|
-
};
|
|
792
|
-
};
|
|
793
|
-
export type PatchApiV1ToolsSmsResponse = PatchApiV1ToolsSmsResponses[keyof PatchApiV1ToolsSmsResponses];
|
|
794
|
-
export type PostApiV1ToolsSmsData = {
|
|
795
|
-
body: {
|
|
796
|
-
[key: string]: unknown;
|
|
797
|
-
};
|
|
798
|
-
path: {
|
|
799
|
-
userId: string;
|
|
800
|
-
};
|
|
801
|
-
query?: never;
|
|
802
|
-
url: '/api/v1/tools/sms';
|
|
803
|
-
};
|
|
804
|
-
export type PostApiV1ToolsSmsErrors = {
|
|
805
|
-
/**
|
|
806
|
-
* Default Response
|
|
807
|
-
*/
|
|
808
|
-
400: {
|
|
809
|
-
statusCode: number;
|
|
810
|
-
error: string;
|
|
811
|
-
message: string;
|
|
812
|
-
};
|
|
813
|
-
/**
|
|
814
|
-
* Default Response
|
|
815
|
-
*/
|
|
816
|
-
401: {
|
|
817
|
-
statusCode: number;
|
|
818
|
-
error: string;
|
|
819
|
-
message: string;
|
|
820
|
-
};
|
|
821
|
-
};
|
|
822
|
-
export type PostApiV1ToolsSmsError = PostApiV1ToolsSmsErrors[keyof PostApiV1ToolsSmsErrors];
|
|
823
|
-
export type PostApiV1ToolsSmsResponses = {
|
|
824
|
-
/**
|
|
825
|
-
* Default Response
|
|
826
|
-
*/
|
|
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;
|
|
839
|
-
};
|
|
840
|
-
url: '/api/v1/users/';
|
|
841
|
-
};
|
|
842
|
-
export type GetApiV1UsersResponses = {
|
|
843
|
-
/**
|
|
844
|
-
* Default Response
|
|
845
|
-
*/
|
|
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;
|
|
863
|
-
};
|
|
864
|
-
};
|
|
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;
|
|
882
|
-
};
|
|
883
|
-
path?: never;
|
|
884
|
-
query?: never;
|
|
885
|
-
url: '/api/v1/users/';
|
|
886
|
-
};
|
|
887
|
-
export type PostApiV1UsersErrors = {
|
|
888
|
-
/**
|
|
889
|
-
* Default Response
|
|
890
|
-
*/
|
|
891
|
-
400: {
|
|
892
|
-
statusCode: number;
|
|
893
|
-
error: string;
|
|
894
|
-
message: string;
|
|
895
|
-
};
|
|
896
|
-
/**
|
|
897
|
-
* Default Response
|
|
898
|
-
*/
|
|
899
|
-
409: {
|
|
900
|
-
statusCode: number;
|
|
901
|
-
error: string;
|
|
902
|
-
message: string;
|
|
903
|
-
};
|
|
904
|
-
};
|
|
905
|
-
export type PostApiV1UsersError = PostApiV1UsersErrors[keyof PostApiV1UsersErrors];
|
|
906
|
-
export type PostApiV1UsersResponses = {
|
|
907
|
-
/**
|
|
908
|
-
* Default Response
|
|
909
|
-
*/
|
|
910
|
-
201: {
|
|
911
|
-
id: string;
|
|
912
|
-
email: string;
|
|
913
|
-
isGuest: boolean;
|
|
914
|
-
};
|
|
915
|
-
};
|
|
916
|
-
export type PostApiV1UsersResponse = PostApiV1UsersResponses[keyof PostApiV1UsersResponses];
|
|
917
|
-
export type PatchApiV1UsersByIdData = {
|
|
918
|
-
body: {
|
|
919
|
-
email?: string;
|
|
920
|
-
emailVerified?: boolean;
|
|
921
|
-
phone?: string;
|
|
922
|
-
phoneVerified?: boolean;
|
|
923
|
-
isBlocked?: boolean;
|
|
924
|
-
isBlockedUntil?: string | null;
|
|
925
|
-
twoFaEnabled?: boolean;
|
|
926
|
-
twoFaType?: 'APP' | 'EMAIL' | 'PHONE';
|
|
927
|
-
loginAttempts?: number;
|
|
928
|
-
};
|
|
929
|
-
path: {
|
|
930
|
-
id: string;
|
|
931
|
-
};
|
|
932
|
-
query?: never;
|
|
933
|
-
url: '/api/v1/users/{id}';
|
|
934
|
-
};
|
|
935
|
-
export type PatchApiV1UsersByIdErrors = {
|
|
936
|
-
/**
|
|
937
|
-
* Default Response
|
|
938
|
-
*/
|
|
939
|
-
400: {
|
|
940
|
-
statusCode: number;
|
|
941
|
-
error: string;
|
|
942
|
-
message: string;
|
|
943
|
-
};
|
|
944
|
-
/**
|
|
945
|
-
* Default Response
|
|
946
|
-
*/
|
|
947
|
-
404: {
|
|
948
|
-
statusCode: number;
|
|
949
|
-
error: string;
|
|
950
|
-
message: string;
|
|
951
|
-
};
|
|
952
|
-
};
|
|
953
|
-
export type PatchApiV1UsersByIdError = PatchApiV1UsersByIdErrors[keyof PatchApiV1UsersByIdErrors];
|
|
954
|
-
export type PatchApiV1UsersByIdResponses = {
|
|
955
|
-
/**
|
|
956
|
-
* Default Response
|
|
957
|
-
*/
|
|
958
|
-
200: {
|
|
959
|
-
id: string;
|
|
960
|
-
};
|
|
961
|
-
};
|
|
962
|
-
export type PatchApiV1UsersByIdResponse = PatchApiV1UsersByIdResponses[keyof PatchApiV1UsersByIdResponses];
|
|
963
|
-
export type DeleteApiV1UsersByUserIdData = {
|
|
964
|
-
body?: never;
|
|
965
|
-
path: {
|
|
966
|
-
id: string;
|
|
967
|
-
};
|
|
968
|
-
query?: never;
|
|
969
|
-
url: '/api/v1/users/{userId}/';
|
|
970
|
-
};
|
|
971
|
-
export type DeleteApiV1UsersByUserIdErrors = {
|
|
972
|
-
/**
|
|
973
|
-
* Default Response
|
|
974
|
-
*/
|
|
975
|
-
404: {
|
|
976
|
-
statusCode: number;
|
|
977
|
-
error: string;
|
|
978
|
-
message: string;
|
|
979
|
-
};
|
|
980
|
-
};
|
|
981
|
-
export type DeleteApiV1UsersByUserIdError = DeleteApiV1UsersByUserIdErrors[keyof DeleteApiV1UsersByUserIdErrors];
|
|
982
|
-
export type DeleteApiV1UsersByUserIdResponses = {
|
|
983
|
-
/**
|
|
984
|
-
* Default Response
|
|
985
|
-
*/
|
|
986
|
-
200: {
|
|
987
|
-
id: string;
|
|
988
|
-
};
|
|
989
|
-
};
|
|
990
|
-
export type DeleteApiV1UsersByUserIdResponse = DeleteApiV1UsersByUserIdResponses[keyof DeleteApiV1UsersByUserIdResponses];
|
|
991
|
-
export type GetApiV1UsersByUserIdData = {
|
|
992
|
-
body?: never;
|
|
993
|
-
path: {
|
|
994
|
-
id: string;
|
|
995
|
-
};
|
|
996
|
-
query?: never;
|
|
997
|
-
url: '/api/v1/users/{userId}';
|
|
998
|
-
};
|
|
999
|
-
export type GetApiV1UsersByUserIdErrors = {
|
|
1000
|
-
/**
|
|
1001
|
-
* Default Response
|
|
1002
|
-
*/
|
|
1003
|
-
404: {
|
|
1004
|
-
statusCode: number;
|
|
1005
|
-
error: string;
|
|
1006
|
-
message: string;
|
|
1007
|
-
};
|
|
1008
|
-
};
|
|
1009
|
-
export type GetApiV1UsersByUserIdError = GetApiV1UsersByUserIdErrors[keyof GetApiV1UsersByUserIdErrors];
|
|
1010
|
-
export type GetApiV1UsersByUserIdResponses = {
|
|
1011
|
-
/**
|
|
1012
|
-
* Default Response
|
|
1013
|
-
*/
|
|
1014
|
-
200: {
|
|
1015
|
-
id: string;
|
|
1016
|
-
email: string;
|
|
1017
|
-
firstName: string | null;
|
|
1018
|
-
lastName: string | null;
|
|
1019
|
-
username: string;
|
|
1020
|
-
role: string;
|
|
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;
|
|
1032
|
-
createdAt: string;
|
|
1033
|
-
updatedAt: string;
|
|
1034
|
-
};
|
|
1035
|
-
};
|
|
1036
|
-
export type GetApiV1UsersByUserIdResponse = GetApiV1UsersByUserIdResponses[keyof GetApiV1UsersByUserIdResponses];
|
|
1037
|
-
export type PatchApiV1UsersByUserIdChallangePhoneData = {
|
|
1038
|
-
body: {
|
|
1039
|
-
phone: string;
|
|
1040
|
-
code: string;
|
|
1041
|
-
};
|
|
1042
|
-
path: {
|
|
1043
|
-
userId: string;
|
|
1044
|
-
};
|
|
1045
|
-
query?: never;
|
|
1046
|
-
url: '/api/v1/users/{userId}/challange/phone';
|
|
1047
|
-
};
|
|
1048
|
-
export type PatchApiV1UsersByUserIdChallangePhoneErrors = {
|
|
1049
|
-
/**
|
|
1050
|
-
* Default Response
|
|
1051
|
-
*/
|
|
1052
|
-
401: {
|
|
1053
|
-
statusCode: number;
|
|
1054
|
-
error: string;
|
|
1055
|
-
message: string;
|
|
1056
|
-
};
|
|
1057
|
-
/**
|
|
1058
|
-
* Default Response
|
|
1059
|
-
*/
|
|
1060
|
-
404: {
|
|
1061
|
-
statusCode: number;
|
|
1062
|
-
error: string;
|
|
1063
|
-
message: string;
|
|
1064
|
-
};
|
|
1065
|
-
};
|
|
1066
|
-
export type PatchApiV1UsersByUserIdChallangePhoneError = PatchApiV1UsersByUserIdChallangePhoneErrors[keyof PatchApiV1UsersByUserIdChallangePhoneErrors];
|
|
1067
|
-
export type PatchApiV1UsersByUserIdChallangePhoneResponses = {
|
|
1068
|
-
/**
|
|
1069
|
-
* Default Response
|
|
1070
|
-
*/
|
|
1071
|
-
201: null;
|
|
1072
|
-
};
|
|
1073
|
-
export type PatchApiV1UsersByUserIdChallangePhoneResponse = PatchApiV1UsersByUserIdChallangePhoneResponses[keyof PatchApiV1UsersByUserIdChallangePhoneResponses];
|
|
1074
|
-
export type PostApiV1UsersByUserIdChallangePhoneData = {
|
|
1075
|
-
body: {
|
|
1076
|
-
phone: string;
|
|
1077
|
-
};
|
|
1078
|
-
path: {
|
|
1079
|
-
userId: string;
|
|
1080
|
-
};
|
|
1081
|
-
query?: never;
|
|
1082
|
-
url: '/api/v1/users/{userId}/challange/phone';
|
|
1083
|
-
};
|
|
1084
|
-
export type PostApiV1UsersByUserIdChallangePhoneErrors = {
|
|
1085
|
-
/**
|
|
1086
|
-
* Default Response
|
|
1087
|
-
*/
|
|
1088
|
-
404: {
|
|
1089
|
-
statusCode: number;
|
|
1090
|
-
error: string;
|
|
1091
|
-
message: string;
|
|
1092
|
-
};
|
|
1093
|
-
/**
|
|
1094
|
-
* Default Response
|
|
1095
|
-
*/
|
|
1096
|
-
409: {
|
|
1097
|
-
statusCode: number;
|
|
1098
|
-
error: string;
|
|
1099
|
-
message: string;
|
|
1100
|
-
};
|
|
1101
|
-
};
|
|
1102
|
-
export type PostApiV1UsersByUserIdChallangePhoneError = PostApiV1UsersByUserIdChallangePhoneErrors[keyof PostApiV1UsersByUserIdChallangePhoneErrors];
|
|
1103
|
-
export type PostApiV1UsersByUserIdChallangePhoneResponses = {
|
|
1104
|
-
/**
|
|
1105
|
-
* Default Response
|
|
1106
|
-
*/
|
|
1107
|
-
200: null;
|
|
1108
|
-
};
|
|
1109
|
-
export type PostApiV1UsersByUserIdChallangePhoneResponse = PostApiV1UsersByUserIdChallangePhoneResponses[keyof PostApiV1UsersByUserIdChallangePhoneResponses];
|
|
1110
|
-
export type PostApiV1UsersByUserIdRolesData = {
|
|
1111
|
-
body: {
|
|
1112
|
-
role: string;
|
|
1113
|
-
group: string;
|
|
1114
|
-
};
|
|
1115
|
-
path: {
|
|
1116
|
-
userId: string;
|
|
1117
|
-
};
|
|
1118
|
-
query?: never;
|
|
1119
|
-
url: '/api/v1/users/{userId}/roles';
|
|
1120
|
-
};
|
|
1121
|
-
export type PostApiV1UsersByUserIdRolesErrors = {
|
|
1122
|
-
/**
|
|
1123
|
-
* Default Response
|
|
1124
|
-
*/
|
|
1125
|
-
404: {
|
|
1126
|
-
statusCode: number;
|
|
1127
|
-
error: string;
|
|
1128
|
-
message: string;
|
|
1129
|
-
};
|
|
1130
|
-
/**
|
|
1131
|
-
* Default Response
|
|
1132
|
-
*/
|
|
1133
|
-
409: {
|
|
1134
|
-
statusCode: number;
|
|
1135
|
-
error: string;
|
|
1136
|
-
message: string;
|
|
1137
|
-
};
|
|
1138
|
-
};
|
|
1139
|
-
export type PostApiV1UsersByUserIdRolesError = PostApiV1UsersByUserIdRolesErrors[keyof PostApiV1UsersByUserIdRolesErrors];
|
|
1140
|
-
export type PostApiV1UsersByUserIdRolesResponses = {
|
|
1141
|
-
/**
|
|
1142
|
-
* Default Response
|
|
1143
|
-
*/
|
|
1144
|
-
201: {
|
|
1145
|
-
id: string;
|
|
1146
|
-
userId: string;
|
|
1147
|
-
role: string;
|
|
1148
|
-
group: string;
|
|
1149
|
-
createdAt: string;
|
|
1150
|
-
};
|
|
1151
|
-
};
|
|
1152
|
-
export type PostApiV1UsersByUserIdRolesResponse = PostApiV1UsersByUserIdRolesResponses[keyof PostApiV1UsersByUserIdRolesResponses];
|
|
1153
|
-
export type DeleteApiV1UsersByUserIdRolesRolesByRoleIdData = {
|
|
1154
|
-
body?: never;
|
|
1155
|
-
path: {
|
|
1156
|
-
userId: string;
|
|
1157
|
-
roleId: string;
|
|
1158
|
-
};
|
|
1159
|
-
query?: never;
|
|
1160
|
-
url: '/api/v1/users/{userId}/roles/roles/{roleId}';
|
|
1161
|
-
};
|
|
1162
|
-
export type DeleteApiV1UsersByUserIdRolesRolesByRoleIdErrors = {
|
|
1163
|
-
/**
|
|
1164
|
-
* Default Response
|
|
1165
|
-
*/
|
|
1166
|
-
404: {
|
|
1167
|
-
statusCode: number;
|
|
1168
|
-
error: string;
|
|
1169
|
-
message: string;
|
|
1170
|
-
};
|
|
1171
|
-
};
|
|
1172
|
-
export type DeleteApiV1UsersByUserIdRolesRolesByRoleIdError = DeleteApiV1UsersByUserIdRolesRolesByRoleIdErrors[keyof DeleteApiV1UsersByUserIdRolesRolesByRoleIdErrors];
|
|
1173
|
-
export type DeleteApiV1UsersByUserIdRolesRolesByRoleIdResponses = {
|
|
1174
|
-
/**
|
|
1175
|
-
* Default Response
|
|
1176
|
-
*/
|
|
1177
|
-
200: {
|
|
1178
|
-
id: string;
|
|
1179
|
-
};
|
|
1180
|
-
};
|
|
1181
|
-
export type DeleteApiV1UsersByUserIdRolesRolesByRoleIdResponse = DeleteApiV1UsersByUserIdRolesRolesByRoleIdResponses[keyof DeleteApiV1UsersByUserIdRolesRolesByRoleIdResponses];
|
|
1182
|
-
export type GetApiV1UsersByUserIdRolesRolesData = {
|
|
1183
|
-
body?: never;
|
|
1184
|
-
path: {
|
|
1185
|
-
userId: string;
|
|
1186
|
-
};
|
|
1187
|
-
query?: never;
|
|
1188
|
-
url: '/api/v1/users/{userId}/roles/roles';
|
|
1189
|
-
};
|
|
1190
|
-
export type GetApiV1UsersByUserIdRolesRolesErrors = {
|
|
1191
|
-
/**
|
|
1192
|
-
* Default Response
|
|
1193
|
-
*/
|
|
1194
|
-
404: {
|
|
1195
|
-
statusCode: number;
|
|
1196
|
-
error: string;
|
|
1197
|
-
message: string;
|
|
1198
|
-
};
|
|
1199
|
-
};
|
|
1200
|
-
export type GetApiV1UsersByUserIdRolesRolesError = GetApiV1UsersByUserIdRolesRolesErrors[keyof GetApiV1UsersByUserIdRolesRolesErrors];
|
|
1201
|
-
export type GetApiV1UsersByUserIdRolesRolesResponses = {
|
|
1202
|
-
/**
|
|
1203
|
-
* Default Response
|
|
1204
|
-
*/
|
|
1205
|
-
200: Array<{
|
|
1206
|
-
id: string;
|
|
1207
|
-
role: string;
|
|
1208
|
-
group: string;
|
|
1209
|
-
createdAt: string;
|
|
1210
|
-
}>;
|
|
1211
|
-
};
|
|
1212
|
-
export type GetApiV1UsersByUserIdRolesRolesResponse = GetApiV1UsersByUserIdRolesRolesResponses[keyof GetApiV1UsersByUserIdRolesRolesResponses];
|
|
1213
|
-
export type PatchApiV1UsersByUserIdRolesByRoleIdData = {
|
|
1214
|
-
body: {
|
|
1215
|
-
role?: string;
|
|
1216
|
-
group?: string;
|
|
1217
|
-
};
|
|
1218
|
-
path: {
|
|
1219
|
-
userId: string;
|
|
1220
|
-
roleId: string;
|
|
1221
|
-
};
|
|
1222
|
-
query?: never;
|
|
1223
|
-
url: '/api/v1/users/{userId}/roles/{roleId}';
|
|
1224
|
-
};
|
|
1225
|
-
export type PatchApiV1UsersByUserIdRolesByRoleIdErrors = {
|
|
1226
|
-
/**
|
|
1227
|
-
* Default Response
|
|
1228
|
-
*/
|
|
1229
|
-
400: {
|
|
1230
|
-
statusCode: number;
|
|
1231
|
-
error: string;
|
|
1232
|
-
message: string;
|
|
1233
|
-
};
|
|
1234
|
-
/**
|
|
1235
|
-
* Default Response
|
|
1236
|
-
*/
|
|
1237
|
-
404: {
|
|
1238
|
-
statusCode: number;
|
|
1239
|
-
error: string;
|
|
1240
|
-
message: string;
|
|
1241
|
-
};
|
|
1242
|
-
};
|
|
1243
|
-
export type PatchApiV1UsersByUserIdRolesByRoleIdError = PatchApiV1UsersByUserIdRolesByRoleIdErrors[keyof PatchApiV1UsersByUserIdRolesByRoleIdErrors];
|
|
1244
|
-
export type PatchApiV1UsersByUserIdRolesByRoleIdResponses = {
|
|
1245
|
-
/**
|
|
1246
|
-
* Default Response
|
|
1247
|
-
*/
|
|
1248
|
-
200: {
|
|
1249
|
-
id: string;
|
|
1250
|
-
userId: string;
|
|
1251
|
-
role: string;
|
|
1252
|
-
group: string;
|
|
1253
|
-
createdAt: string;
|
|
1254
|
-
};
|
|
1255
|
-
};
|
|
1256
|
-
export type PatchApiV1UsersByUserIdRolesByRoleIdResponse = PatchApiV1UsersByUserIdRolesByRoleIdResponses[keyof PatchApiV1UsersByUserIdRolesByRoleIdResponses];
|
|
1257
|
-
export type DeleteApiV1UsersByUserIdTwoFaData = {
|
|
1258
|
-
body: {
|
|
1259
|
-
token: string;
|
|
1260
|
-
};
|
|
1261
|
-
path: {
|
|
1262
|
-
userId: string;
|
|
1263
|
-
};
|
|
1264
|
-
query?: never;
|
|
1265
|
-
url: '/api/v1/users/{userId}/two-fa';
|
|
1266
|
-
};
|
|
1267
|
-
export type DeleteApiV1UsersByUserIdTwoFaErrors = {
|
|
1268
|
-
/**
|
|
1269
|
-
* Default Response
|
|
1270
|
-
*/
|
|
1271
|
-
401: {
|
|
1272
|
-
statusCode: number;
|
|
1273
|
-
error: string;
|
|
1274
|
-
message: string;
|
|
1275
|
-
};
|
|
1276
|
-
};
|
|
1277
|
-
export type DeleteApiV1UsersByUserIdTwoFaError = DeleteApiV1UsersByUserIdTwoFaErrors[keyof DeleteApiV1UsersByUserIdTwoFaErrors];
|
|
1278
|
-
export type DeleteApiV1UsersByUserIdTwoFaResponses = {
|
|
1279
|
-
/**
|
|
1280
|
-
* Default Response
|
|
1281
|
-
*/
|
|
1282
|
-
200: {
|
|
1283
|
-
success: boolean;
|
|
1284
|
-
};
|
|
1285
|
-
};
|
|
1286
|
-
export type DeleteApiV1UsersByUserIdTwoFaResponse = DeleteApiV1UsersByUserIdTwoFaResponses[keyof DeleteApiV1UsersByUserIdTwoFaResponses];
|
|
1287
|
-
export type PostApiV1UsersByUserIdTwoFaData = {
|
|
1288
|
-
body: {
|
|
1289
|
-
token?: string;
|
|
1290
|
-
type?: 'APP' | 'EMAIL' | 'PHONE';
|
|
1291
|
-
};
|
|
1292
|
-
path: {
|
|
1293
|
-
userId: string;
|
|
1294
|
-
};
|
|
1295
|
-
query?: never;
|
|
1296
|
-
url: '/api/v1/users/{userId}/two-fa';
|
|
1297
|
-
};
|
|
1298
|
-
export type PostApiV1UsersByUserIdTwoFaErrors = {
|
|
1299
|
-
/**
|
|
1300
|
-
* Default Response
|
|
1301
|
-
*/
|
|
1302
|
-
400: {
|
|
1303
|
-
statusCode: number;
|
|
1304
|
-
error: string;
|
|
1305
|
-
message: string;
|
|
1306
|
-
};
|
|
1307
|
-
/**
|
|
1308
|
-
* Default Response
|
|
1309
|
-
*/
|
|
1310
|
-
401: {
|
|
1311
|
-
statusCode: number;
|
|
1312
|
-
error: string;
|
|
1313
|
-
message: string;
|
|
1314
|
-
};
|
|
1315
|
-
};
|
|
1316
|
-
export type PostApiV1UsersByUserIdTwoFaError = PostApiV1UsersByUserIdTwoFaErrors[keyof PostApiV1UsersByUserIdTwoFaErrors];
|
|
1317
|
-
export type PostApiV1UsersByUserIdTwoFaResponses = {
|
|
1318
|
-
/**
|
|
1319
|
-
* Default Response
|
|
1320
|
-
*/
|
|
1321
|
-
200: {
|
|
1322
|
-
success: boolean;
|
|
1323
|
-
};
|
|
1324
|
-
};
|
|
1325
|
-
export type PostApiV1UsersByUserIdTwoFaResponse = PostApiV1UsersByUserIdTwoFaResponses[keyof PostApiV1UsersByUserIdTwoFaResponses];
|
|
1326
|
-
export type GetApiV1UsersByUserIdTwoFaSecretData = {
|
|
1327
|
-
body?: never;
|
|
1328
|
-
path: {
|
|
1329
|
-
userId: string;
|
|
1330
|
-
};
|
|
1331
|
-
query?: never;
|
|
1332
|
-
url: '/api/v1/users/{userId}/two-fa/secret';
|
|
1333
|
-
};
|
|
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];
|
|
1344
|
-
//# sourceMappingURL=types.gen.d.ts.map
|