@timetac/js-client-library
Advanced tools
Comparing version 0.21.0 to 0.21.1
@@ -15,3 +15,4 @@ import BaseApi from '../baseApi'; | ||
resetPassword(data: UserResetPassword): Promise<User[]>; | ||
forgotPassword(data: UserResetPassword): Promise<User[]>; | ||
updatePassword(data: UserUpdatePassword): Promise<User[]>; | ||
} |
@@ -55,2 +55,6 @@ "use strict"; | ||
} | ||
forgotPassword(data) { | ||
const response = this._put(`${this.getResourceName()}/forgotPassword`, data); | ||
return responseHandlers.list(response); | ||
} | ||
updatePassword(data) { | ||
@@ -57,0 +61,0 @@ const response = this._put(`${this.getResourceName()}/updatePassword`, data); |
@@ -105,3 +105,2 @@ export declare type User = { | ||
username: string; | ||
clientId?: string; | ||
} | ||
@@ -108,0 +107,0 @@ export interface UserUpdatePassword { |
{ | ||
"name": "@timetac/js-client-library", | ||
"version": "0.21.0", | ||
"version": "0.21.1", | ||
"description": "TimeTac API JS client library", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/TimeTac/js-client-library#readme", |
Sorry, the diff of this file is not supported yet
215851
3164