@juhuu/sdk-ts 1.2.17 → 1.2.19

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/dist/index.d.mts CHANGED
@@ -858,8 +858,13 @@ declare namespace JUHUU {
858
858
  userId?: string;
859
859
  managementUserId?: string;
860
860
  statusArray?: JUHUU.Session.Object["status"][];
861
+ locationId?: string;
862
+ locationGroupId?: string;
861
863
  };
862
- type Options = JUHUU.RequestOptions;
864
+ type Options = {
865
+ limit: number;
866
+ skip: number;
867
+ } & JUHUU.RequestOptions;
863
868
  type Response = JUHUU.Session.Object[];
864
869
  }
865
870
  export namespace Update {
@@ -1758,7 +1763,11 @@ declare namespace JUHUU {
1758
1763
  termId?: string;
1759
1764
  };
1760
1765
  type Options = JUHUU.RequestOptions;
1761
- type Response = JUHUU.Device.Object[];
1766
+ type Response = {
1767
+ deviceArray: JUHUU.Device.Object[];
1768
+ count: number;
1769
+ hasMore: boolean;
1770
+ };
1762
1771
  }
1763
1772
  namespace Realtime {
1764
1773
  type Params = {
package/dist/index.d.ts CHANGED
@@ -858,8 +858,13 @@ declare namespace JUHUU {
858
858
  userId?: string;
859
859
  managementUserId?: string;
860
860
  statusArray?: JUHUU.Session.Object["status"][];
861
+ locationId?: string;
862
+ locationGroupId?: string;
861
863
  };
862
- type Options = JUHUU.RequestOptions;
864
+ type Options = {
865
+ limit: number;
866
+ skip: number;
867
+ } & JUHUU.RequestOptions;
863
868
  type Response = JUHUU.Session.Object[];
864
869
  }
865
870
  export namespace Update {
@@ -1758,7 +1763,11 @@ declare namespace JUHUU {
1758
1763
  termId?: string;
1759
1764
  };
1760
1765
  type Options = JUHUU.RequestOptions;
1761
- type Response = JUHUU.Device.Object[];
1766
+ type Response = {
1767
+ deviceArray: JUHUU.Device.Object[];
1768
+ count: number;
1769
+ hasMore: boolean;
1770
+ };
1762
1771
  }
1763
1772
  namespace Realtime {
1764
1773
  type Params = {
package/dist/index.js CHANGED
@@ -324,6 +324,18 @@ var SessionService = class extends Service {
324
324
  if (SessionListParams.managementUserId !== void 0) {
325
325
  queryArray.push("managementUserId=" + SessionListParams.managementUserId);
326
326
  }
327
+ if (SessionListParams.locationGroupId !== void 0) {
328
+ queryArray.push("locationGroupId=" + SessionListParams.locationGroupId);
329
+ }
330
+ if (SessionListParams.locationId !== void 0) {
331
+ queryArray.push("locationId=" + SessionListParams.locationId);
332
+ }
333
+ if (SessionListOptions?.limit !== void 0) {
334
+ queryArray.push("limit=" + SessionListOptions.limit);
335
+ }
336
+ if (SessionListOptions?.skip !== void 0) {
337
+ queryArray.push("skip=" + SessionListOptions.skip);
338
+ }
327
339
  return await super.sendRequest(
328
340
  {
329
341
  method: "GET",
package/dist/index.mjs CHANGED
@@ -279,6 +279,18 @@ var SessionService = class extends Service {
279
279
  if (SessionListParams.managementUserId !== void 0) {
280
280
  queryArray.push("managementUserId=" + SessionListParams.managementUserId);
281
281
  }
282
+ if (SessionListParams.locationGroupId !== void 0) {
283
+ queryArray.push("locationGroupId=" + SessionListParams.locationGroupId);
284
+ }
285
+ if (SessionListParams.locationId !== void 0) {
286
+ queryArray.push("locationId=" + SessionListParams.locationId);
287
+ }
288
+ if (SessionListOptions?.limit !== void 0) {
289
+ queryArray.push("limit=" + SessionListOptions.limit);
290
+ }
291
+ if (SessionListOptions?.skip !== void 0) {
292
+ queryArray.push("skip=" + SessionListOptions.skip);
293
+ }
282
294
  return await super.sendRequest(
283
295
  {
284
296
  method: "GET",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.2.17",
3
+ "version": "1.2.19",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",