rotacloud 1.0.38 → 1.0.39

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.
@@ -1,6 +1,14 @@
1
1
  export interface UsersQueryParams {
2
2
  ids?: number[];
3
3
  locations?: number[];
4
+ /**
5
+ * Works different from {UserQueryParams.locations},
6
+ * When filtering out employees for rota, this is more suggested,
7
+ * one scenario would be filtering out employees base on their starting and
8
+ * final working date, using {UserQueryParams.locations} will not work in tandem
9
+ * of {UserQueryParams.start_date} and {UserQueryParams.end_date}
10
+ */
11
+ location?: number;
4
12
  roles?: number[];
5
13
  only_managed?: boolean;
6
14
  include_self?: boolean;
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Version = void 0;
4
- exports.Version = { version: '1.0.38' };
4
+ exports.Version = { version: '1.0.39' };
@@ -1,6 +1,14 @@
1
1
  export interface UsersQueryParams {
2
2
  ids?: number[];
3
3
  locations?: number[];
4
+ /**
5
+ * Works different from {UserQueryParams.locations},
6
+ * When filtering out employees for rota, this is more suggested,
7
+ * one scenario would be filtering out employees base on their starting and
8
+ * final working date, using {UserQueryParams.locations} will not work in tandem
9
+ * of {UserQueryParams.start_date} and {UserQueryParams.end_date}
10
+ */
11
+ location?: number;
4
12
  roles?: number[];
5
13
  only_managed?: boolean;
6
14
  include_self?: boolean;
@@ -1 +1 @@
1
- export const Version = { version: '1.0.38' };
1
+ export const Version = { version: '1.0.39' };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rotacloud",
3
- "version": "1.0.38",
3
+ "version": "1.0.39",
4
4
  "description": "The RotaCloud SDK for the RotaCloud API",
5
5
  "engines": {
6
6
  "node": ">=14.17.0"
@@ -1,6 +1,14 @@
1
1
  export interface UsersQueryParams {
2
2
  ids?: number[];
3
3
  locations?: number[];
4
+ /**
5
+ * Works different from {UserQueryParams.locations},
6
+ * When filtering out employees for rota, this is more suggested,
7
+ * one scenario would be filtering out employees base on their starting and
8
+ * final working date, using {UserQueryParams.locations} will not work in tandem
9
+ * of {UserQueryParams.start_date} and {UserQueryParams.end_date}
10
+ */
11
+ location?: number;
4
12
  roles?: number[];
5
13
  only_managed?: boolean;
6
14
  include_self?: boolean;
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const Version = { version: '1.0.38' };
1
+ export const Version = { version: '1.0.39' };