@juhuu/sdk-ts 1.2.153 → 1.2.155

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
@@ -1223,7 +1223,8 @@ declare namespace JUHUU {
1223
1223
  export namespace List {
1224
1224
  type Params = {
1225
1225
  managementUserId?: string;
1226
- propertyId?: string;
1226
+ createdByPropertyId?: string;
1227
+ customerOfPropertyId?: string;
1227
1228
  license?: {
1228
1229
  cardId?: string;
1229
1230
  };
@@ -1232,7 +1233,11 @@ declare namespace JUHUU {
1232
1233
  limit?: number;
1233
1234
  skip?: number;
1234
1235
  } & JUHUU.RequestOptions;
1235
- type Response = JUHUU.User.Object[];
1236
+ type Response = {
1237
+ userArray: JUHUU.User.Object[];
1238
+ count: number;
1239
+ hasMore: boolean;
1240
+ };
1236
1241
  }
1237
1242
  export namespace Exists {
1238
1243
  type Params = {
package/dist/index.d.ts CHANGED
@@ -1223,7 +1223,8 @@ declare namespace JUHUU {
1223
1223
  export namespace List {
1224
1224
  type Params = {
1225
1225
  managementUserId?: string;
1226
- propertyId?: string;
1226
+ createdByPropertyId?: string;
1227
+ customerOfPropertyId?: string;
1227
1228
  license?: {
1228
1229
  cardId?: string;
1229
1230
  };
@@ -1232,7 +1233,11 @@ declare namespace JUHUU {
1232
1233
  limit?: number;
1233
1234
  skip?: number;
1234
1235
  } & JUHUU.RequestOptions;
1235
- type Response = JUHUU.User.Object[];
1236
+ type Response = {
1237
+ userArray: JUHUU.User.Object[];
1238
+ count: number;
1239
+ hasMore: boolean;
1240
+ };
1236
1241
  }
1237
1242
  export namespace Exists {
1238
1243
  type Params = {
package/dist/index.js CHANGED
@@ -724,8 +724,15 @@ var UsersService = class extends Service {
724
724
  if (UserListParams.managementUserId !== void 0) {
725
725
  queryArray.push("managementUserId=" + UserListParams.managementUserId);
726
726
  }
727
- if (UserListParams.propertyId !== void 0) {
728
- queryArray.push("propertyId=" + UserListParams.propertyId);
727
+ if (UserListParams.createdByPropertyId !== void 0) {
728
+ queryArray.push(
729
+ "createdByPropertyId=" + UserListParams.createdByPropertyId
730
+ );
731
+ }
732
+ if (UserListParams.customerOfPropertyId !== void 0) {
733
+ queryArray.push(
734
+ "customerOfPropertyId=" + UserListParams.customerOfPropertyId
735
+ );
729
736
  }
730
737
  if (UserListParams?.license?.cardId !== void 0) {
731
738
  queryArray.push("license[cardId]=" + UserListParams?.license?.cardId);
package/dist/index.mjs CHANGED
@@ -680,8 +680,15 @@ var UsersService = class extends Service {
680
680
  if (UserListParams.managementUserId !== void 0) {
681
681
  queryArray.push("managementUserId=" + UserListParams.managementUserId);
682
682
  }
683
- if (UserListParams.propertyId !== void 0) {
684
- queryArray.push("propertyId=" + UserListParams.propertyId);
683
+ if (UserListParams.createdByPropertyId !== void 0) {
684
+ queryArray.push(
685
+ "createdByPropertyId=" + UserListParams.createdByPropertyId
686
+ );
687
+ }
688
+ if (UserListParams.customerOfPropertyId !== void 0) {
689
+ queryArray.push(
690
+ "customerOfPropertyId=" + UserListParams.customerOfPropertyId
691
+ );
685
692
  }
686
693
  if (UserListParams?.license?.cardId !== void 0) {
687
694
  queryArray.push("license[cardId]=" + UserListParams?.license?.cardId);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.2.153",
3
+ "version": "1.2.155",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",