@bytexbyte/ike-app-api 1.0.77 → 1.0.79
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 +3 -3
- package/lib/User/index.d.ts +3 -1
- package/package.json +1 -1
package/lib/Auth/index.d.ts
CHANGED
|
@@ -19,9 +19,9 @@ declare type User = {
|
|
|
19
19
|
incodeId: string | null;
|
|
20
20
|
};
|
|
21
21
|
declare type Session = {
|
|
22
|
-
expires
|
|
23
|
-
user
|
|
24
|
-
}
|
|
22
|
+
expires?: Date;
|
|
23
|
+
user?: User;
|
|
24
|
+
};
|
|
25
25
|
declare class IKEAppAuthApi extends BxBApi {
|
|
26
26
|
constructor({ host, secretKey, secret, credentials, onSuccess, onError, }: {
|
|
27
27
|
host: string;
|
package/lib/User/index.d.ts
CHANGED
|
@@ -180,11 +180,13 @@ declare class IKEAppUserApi extends BxBApi {
|
|
|
180
180
|
removeScanHistoryByTagUid(userId: string, tagUid: string): Promise<RemoveScanHistoryResult>;
|
|
181
181
|
isValidationExpired(userId: string, body: {
|
|
182
182
|
tokenId: string;
|
|
183
|
+
longitude?: number;
|
|
184
|
+
latitude?: number;
|
|
183
185
|
}): Promise<{
|
|
184
186
|
isExpired: boolean;
|
|
185
187
|
nextVerifyTimer: number;
|
|
186
188
|
} | {
|
|
187
|
-
error: 'You are not logged in.' | 'Incorrect userId.' | 'Incorrect tokenId.' | 'You cannot check to this user.' | 'Field(s) cannot be empty.' | 'User not found.' | 'User has not been verified.';
|
|
189
|
+
error: 'You are not logged in.' | 'Incorrect userId.' | 'Incorrect tokenId.' | 'You cannot check to this user.' | 'Field(s) cannot be empty.' | 'User not found.' | 'User has not been verified.' | 'Digital customization is not exist.';
|
|
188
190
|
}>;
|
|
189
191
|
createLog(userId: string, body: {
|
|
190
192
|
tagTokenId: string;
|