@juhuu/sdk-ts 1.2.10 → 1.2.11

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
@@ -559,7 +559,6 @@ declare class LinkService extends Service {
559
559
 
560
560
  declare class UsersService extends Service {
561
561
  constructor(config: JUHUU.SetupConfig);
562
- create(): Promise<void>;
563
562
  retrieve(UserRetrieveParams: JUHUU.User.Retrieve.Params, UserRetrieveOptions?: JUHUU.User.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.User.Retrieve.Response>>;
564
563
  exists(UserExistsParams: JUHUU.User.Exists.Params, UserExistsOptions?: JUHUU.User.Exists.Options): Promise<JUHUU.HttpResponse<JUHUU.User.Exists.Response>>;
565
564
  registerEmailPassword(UserRegisterEmailPasswordParams: JUHUU.User.RegisterEmailPassword.Params, UserRegisterEmailPasswordOptions?: JUHUU.User.RegisterEmailPassword.Options): Promise<JUHUU.HttpResponse<JUHUU.User.RegisterEmailPassword.Response>>;
@@ -946,6 +945,7 @@ declare namespace JUHUU {
946
945
  export namespace List {
947
946
  type Params = {
948
947
  managementUserId?: string;
948
+ propertyId?: string;
949
949
  };
950
950
  type Options = JUHUU.RequestOptions;
951
951
  type Response = JUHUU.User.Object[];
package/dist/index.d.ts CHANGED
@@ -559,7 +559,6 @@ declare class LinkService extends Service {
559
559
 
560
560
  declare class UsersService extends Service {
561
561
  constructor(config: JUHUU.SetupConfig);
562
- create(): Promise<void>;
563
562
  retrieve(UserRetrieveParams: JUHUU.User.Retrieve.Params, UserRetrieveOptions?: JUHUU.User.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.User.Retrieve.Response>>;
564
563
  exists(UserExistsParams: JUHUU.User.Exists.Params, UserExistsOptions?: JUHUU.User.Exists.Options): Promise<JUHUU.HttpResponse<JUHUU.User.Exists.Response>>;
565
564
  registerEmailPassword(UserRegisterEmailPasswordParams: JUHUU.User.RegisterEmailPassword.Params, UserRegisterEmailPasswordOptions?: JUHUU.User.RegisterEmailPassword.Options): Promise<JUHUU.HttpResponse<JUHUU.User.RegisterEmailPassword.Response>>;
@@ -946,6 +945,7 @@ declare namespace JUHUU {
946
945
  export namespace List {
947
946
  type Params = {
948
947
  managementUserId?: string;
948
+ propertyId?: string;
949
949
  };
950
950
  type Options = JUHUU.RequestOptions;
951
951
  type Response = JUHUU.User.Object[];
package/dist/index.js CHANGED
@@ -422,8 +422,6 @@ var UsersService = class extends Service {
422
422
  constructor(config) {
423
423
  super(config);
424
424
  }
425
- async create() {
426
- }
427
425
  async retrieve(UserRetrieveParams, UserRetrieveOptions) {
428
426
  const queryArray = [];
429
427
  return await super.sendRequest(
@@ -505,6 +503,9 @@ var UsersService = class extends Service {
505
503
  if (UserListParams.managementUserId !== void 0) {
506
504
  queryArray.push("managementUserId=" + UserListParams.managementUserId);
507
505
  }
506
+ if (UserListParams.propertyId !== void 0) {
507
+ queryArray.push("propertyId=" + UserListParams.propertyId);
508
+ }
508
509
  return await super.sendRequest(
509
510
  {
510
511
  method: "GET",
package/dist/index.mjs CHANGED
@@ -377,8 +377,6 @@ var UsersService = class extends Service {
377
377
  constructor(config) {
378
378
  super(config);
379
379
  }
380
- async create() {
381
- }
382
380
  async retrieve(UserRetrieveParams, UserRetrieveOptions) {
383
381
  const queryArray = [];
384
382
  return await super.sendRequest(
@@ -460,6 +458,9 @@ var UsersService = class extends Service {
460
458
  if (UserListParams.managementUserId !== void 0) {
461
459
  queryArray.push("managementUserId=" + UserListParams.managementUserId);
462
460
  }
461
+ if (UserListParams.propertyId !== void 0) {
462
+ queryArray.push("propertyId=" + UserListParams.propertyId);
463
+ }
463
464
  return await super.sendRequest(
464
465
  {
465
466
  method: "GET",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.2.10",
3
+ "version": "1.2.11",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",