scheduler-node-models 1.1.11 → 1.1.13

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.
@@ -10,3 +10,15 @@ export declare class Report {
10
10
  getTimeString(minutes: number): string;
11
11
  getNumberString(value: number, decimal: number): string;
12
12
  }
13
+ export interface ReportRequest {
14
+ reportType: string;
15
+ period?: string;
16
+ subreport?: string;
17
+ teamid?: string;
18
+ siteid?: string;
19
+ companyid?: string;
20
+ password?: string;
21
+ startDate?: string;
22
+ endDate?: string;
23
+ includeDaily: boolean;
24
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scheduler-node-models",
3
- "version": "1.1.11",
3
+ "version": "1.1.13",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "files": [
package/users/web.d.ts CHANGED
@@ -29,3 +29,20 @@ export interface UpdateUserRequest {
29
29
  field: string;
30
30
  value: string;
31
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
+ }