scheduler-node-models 1.1.10 → 1.1.12
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/package.json +1 -1
- package/users/web.d.ts +26 -0
package/package.json
CHANGED
package/users/web.d.ts
CHANGED
|
@@ -20,3 +20,29 @@ export interface AddUserRequest {
|
|
|
20
20
|
application: string;
|
|
21
21
|
permissions?: string[];
|
|
22
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* This interface will be used to update a user with a call from the client to the
|
|
25
|
+
* api server. All fields would be required.
|
|
26
|
+
*/
|
|
27
|
+
export interface UpdateUserRequest {
|
|
28
|
+
id: string;
|
|
29
|
+
field: string;
|
|
30
|
+
value: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* This interface is used in the first part of the forgot password process where the
|
|
34
|
+
* requestor passes his/her email address used as the user identifier for the account.
|
|
35
|
+
*/
|
|
36
|
+
export interface ForgotPasswordRequest {
|
|
37
|
+
emailAddress: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* This interface is used in the second part of the forgot password process, to provide
|
|
41
|
+
* the user's account email address, password and the passed reset token sent via email
|
|
42
|
+
* to the user's accounts.
|
|
43
|
+
*/
|
|
44
|
+
export interface PasswordResetRequest {
|
|
45
|
+
emailAddress: string;
|
|
46
|
+
password: string;
|
|
47
|
+
resettoken: string;
|
|
48
|
+
}
|