@juhuu/sdk-ts 1.2.17 → 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 +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +12 -0
- package/dist/index.mjs +12 -0
- package/package.json +1 -1
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 =
|
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 {
|
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 =
|
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 {
|
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",
|