@bytexbyte/ike-app-api 1.0.17 → 1.0.19
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/lib/Auth/index.d.ts +5 -2
- package/package.json +1 -1
package/lib/Auth/index.d.ts
CHANGED
|
@@ -14,6 +14,8 @@ declare type User = {
|
|
|
14
14
|
accounts: {
|
|
15
15
|
provider: string;
|
|
16
16
|
}[];
|
|
17
|
+
idVerified: Date | null;
|
|
18
|
+
isAgeVerified: boolean;
|
|
17
19
|
};
|
|
18
20
|
declare type Session = {
|
|
19
21
|
expires: Date;
|
|
@@ -159,10 +161,11 @@ declare class IKEAppAuthApi extends BxBApi {
|
|
|
159
161
|
}>;
|
|
160
162
|
verifyAge(body: {
|
|
161
163
|
phone: string;
|
|
164
|
+
birthDate: Date;
|
|
162
165
|
}): Promise<{
|
|
163
|
-
|
|
166
|
+
isVerified: boolean;
|
|
164
167
|
} | {
|
|
165
|
-
error: '
|
|
168
|
+
error: 'Field(s) cannot be empty.' | 'User not found.';
|
|
166
169
|
}>;
|
|
167
170
|
isPhoneExisted(body: {
|
|
168
171
|
phone: string;
|