@juhuu/sdk-ts 1.2.16 → 1.2.18

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 {
@@ -1220,7 +1225,7 @@ declare namespace JUHUU {
1220
1225
  expand?: Array<"property">;
1221
1226
  } & JUHUU.RequestOptions;
1222
1227
  type Response = {
1223
- licenseTemplate: JUHUU.Location.Object;
1228
+ licenseTemplate: JUHUU.LicenseTemplate.Object;
1224
1229
  property: JUHUU.Property.Object;
1225
1230
  };
1226
1231
  }
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 {
@@ -1220,7 +1225,7 @@ declare namespace JUHUU {
1220
1225
  expand?: Array<"property">;
1221
1226
  } & JUHUU.RequestOptions;
1222
1227
  type Response = {
1223
- licenseTemplate: JUHUU.Location.Object;
1228
+ licenseTemplate: JUHUU.LicenseTemplate.Object;
1224
1229
  property: JUHUU.Property.Object;
1225
1230
  };
1226
1231
  }
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.16",
3
+ "version": "1.2.18",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",