diff --git a/lib/Client.js b/lib/Client.js index 82aab44..af471d1 100644 --- a/lib/Client.js +++ b/lib/Client.js @@ -6,7 +6,7 @@ const { DeviceType } = require('./Enums'); class Client extends OAuth2Client { - static API_URL = 'https://api.tedee.com/api/v1.30'; + static API_URL = 'https://api.tedee.com/api/v1.33'; static TOKEN_URL = 'https://tedee.b2clogin.com/tedee.onmicrosoft.com/B2C_1A_Signup_Signin_With_Kmsi/oauth2/v2.0/token'; static AUTHORIZATION_URL = 'https://tedee.b2clogin.com/tedee.onmicrosoft.com/B2C_1A_Signup_Signin_With_Kmsi/oauth2/v2.0/authorize'; static SCOPES = [ diff --git a/lib/Enums.js b/lib/Enums.js index 5c93e48..9548f1c 100644 --- a/lib/Enums.js +++ b/lib/Enums.js @@ -7,6 +7,7 @@ module.exports = { Keypad: 3, LockGo: 4, Gate: 5, + DryContact: 6, }, LockState: {