@ackplus/nest-auth-contracts 1.1.57 → 1.1.58
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/index.d.cts +11 -0
- package/dist/index.d.ts +11 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -166,6 +166,17 @@ interface IVerify2faResponse {
|
|
|
166
166
|
refreshToken: string;
|
|
167
167
|
message?: string;
|
|
168
168
|
trustToken?: string;
|
|
169
|
+
user?: {
|
|
170
|
+
id: string;
|
|
171
|
+
email?: string;
|
|
172
|
+
phone?: string;
|
|
173
|
+
isVerified?: boolean;
|
|
174
|
+
isMfaEnabled?: boolean;
|
|
175
|
+
roles?: string[];
|
|
176
|
+
permissions?: string[];
|
|
177
|
+
metadata?: Record<string, any>;
|
|
178
|
+
tenantId?: string;
|
|
179
|
+
};
|
|
169
180
|
}
|
|
170
181
|
interface ISendMfaCodeRequest {
|
|
171
182
|
method: NestAuthMFAMethodEnum;
|
package/dist/index.d.ts
CHANGED
|
@@ -166,6 +166,17 @@ interface IVerify2faResponse {
|
|
|
166
166
|
refreshToken: string;
|
|
167
167
|
message?: string;
|
|
168
168
|
trustToken?: string;
|
|
169
|
+
user?: {
|
|
170
|
+
id: string;
|
|
171
|
+
email?: string;
|
|
172
|
+
phone?: string;
|
|
173
|
+
isVerified?: boolean;
|
|
174
|
+
isMfaEnabled?: boolean;
|
|
175
|
+
roles?: string[];
|
|
176
|
+
permissions?: string[];
|
|
177
|
+
metadata?: Record<string, any>;
|
|
178
|
+
tenantId?: string;
|
|
179
|
+
};
|
|
169
180
|
}
|
|
170
181
|
interface ISendMfaCodeRequest {
|
|
171
182
|
method: NestAuthMFAMethodEnum;
|