@juhuu/sdk-ts 1.2.152 → 1.2.154

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
@@ -1212,10 +1212,10 @@ declare namespace JUHUU {
1212
1212
  }
1213
1213
  export namespace Create {
1214
1214
  type Params = {
1215
- readonly type: JUHUU.User.Object["type"];
1216
- readonly name?: string;
1217
- readonly createdByPropertyId?: JUHUU.User.Object["createdByPropertyId"];
1218
- readonly licenseArray?: License[];
1215
+ type: JUHUU.User.Object["type"];
1216
+ name?: string;
1217
+ createdByPropertyId?: JUHUU.User.Object["createdByPropertyId"];
1218
+ licenseArray?: License[];
1219
1219
  };
1220
1220
  type Options = JUHUU.RequestOptions;
1221
1221
  type Response = JUHUU.User.Object;
@@ -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
  };
package/dist/index.d.ts CHANGED
@@ -1212,10 +1212,10 @@ declare namespace JUHUU {
1212
1212
  }
1213
1213
  export namespace Create {
1214
1214
  type Params = {
1215
- readonly type: JUHUU.User.Object["type"];
1216
- readonly name?: string;
1217
- readonly createdByPropertyId?: JUHUU.User.Object["createdByPropertyId"];
1218
- readonly licenseArray?: License[];
1215
+ type: JUHUU.User.Object["type"];
1216
+ name?: string;
1217
+ createdByPropertyId?: JUHUU.User.Object["createdByPropertyId"];
1218
+ licenseArray?: License[];
1219
1219
  };
1220
1220
  type Options = JUHUU.RequestOptions;
1221
1221
  type Response = JUHUU.User.Object;
@@ -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
  };
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.152",
3
+ "version": "1.2.154",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",