@juhuu/sdk-ts 1.3.55 → 1.3.56

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
@@ -3315,6 +3315,7 @@ declare namespace JUHUU {
3315
3315
  type Params = {
3316
3316
  password: string;
3317
3317
  email: string;
3318
+ propertyId?: string;
3318
3319
  };
3319
3320
  type Options = JUHUU.RequestOptions;
3320
3321
  type Response = {
@@ -3393,6 +3394,7 @@ declare namespace JUHUU {
3393
3394
  countryCode: PhoneCountryCode;
3394
3395
  nationalNumber: string;
3395
3396
  purpose: "login" | "register" | "verify";
3397
+ propertyId?: string;
3396
3398
  };
3397
3399
  type Options = JUHUU.RequestOptions;
3398
3400
  type Response = {
@@ -3488,6 +3490,7 @@ declare namespace JUHUU {
3488
3490
  export namespace ChangeEmailRequest {
3489
3491
  type Params = {
3490
3492
  email: string;
3493
+ propertyId?: string;
3491
3494
  };
3492
3495
  type Options = JUHUU.RequestOptions;
3493
3496
  type Response = {
package/dist/index.d.ts CHANGED
@@ -3315,6 +3315,7 @@ declare namespace JUHUU {
3315
3315
  type Params = {
3316
3316
  password: string;
3317
3317
  email: string;
3318
+ propertyId?: string;
3318
3319
  };
3319
3320
  type Options = JUHUU.RequestOptions;
3320
3321
  type Response = {
@@ -3393,6 +3394,7 @@ declare namespace JUHUU {
3393
3394
  countryCode: PhoneCountryCode;
3394
3395
  nationalNumber: string;
3395
3396
  purpose: "login" | "register" | "verify";
3397
+ propertyId?: string;
3396
3398
  };
3397
3399
  type Options = JUHUU.RequestOptions;
3398
3400
  type Response = {
@@ -3488,6 +3490,7 @@ declare namespace JUHUU {
3488
3490
  export namespace ChangeEmailRequest {
3489
3491
  type Params = {
3490
3492
  email: string;
3493
+ propertyId?: string;
3491
3494
  };
3492
3495
  type Options = JUHUU.RequestOptions;
3493
3496
  type Response = {
package/dist/index.js CHANGED
@@ -554,7 +554,8 @@ var AuthService = class extends Service {
554
554
  url: "auth/emailPassword/register",
555
555
  body: {
556
556
  email: AuthRegisterEmailPasswordParams.email,
557
- password: AuthRegisterEmailPasswordParams.password
557
+ password: AuthRegisterEmailPasswordParams.password,
558
+ propertyId: AuthRegisterEmailPasswordParams.propertyId
558
559
  },
559
560
  authenticationNotOptional: false
560
561
  },
@@ -611,7 +612,8 @@ var AuthService = class extends Service {
611
612
  destination: AuthOtpRequestParams.destination,
612
613
  countryCode: AuthOtpRequestParams.countryCode,
613
614
  nationalNumber: AuthOtpRequestParams.nationalNumber,
614
- purpose: AuthOtpRequestParams.purpose
615
+ purpose: AuthOtpRequestParams.purpose,
616
+ propertyId: AuthOtpRequestParams.propertyId
615
617
  },
616
618
  authenticationNotOptional: false
617
619
  },
@@ -731,7 +733,8 @@ var AuthService = class extends Service {
731
733
  method: "POST",
732
734
  url: "auth/email/change",
733
735
  body: {
734
- email: AuthChangeEmailRequestParams.email
736
+ email: AuthChangeEmailRequestParams.email,
737
+ propertyId: AuthChangeEmailRequestParams.propertyId
735
738
  },
736
739
  authenticationNotOptional: true
737
740
  },
package/dist/index.mjs CHANGED
@@ -510,7 +510,8 @@ var AuthService = class extends Service {
510
510
  url: "auth/emailPassword/register",
511
511
  body: {
512
512
  email: AuthRegisterEmailPasswordParams.email,
513
- password: AuthRegisterEmailPasswordParams.password
513
+ password: AuthRegisterEmailPasswordParams.password,
514
+ propertyId: AuthRegisterEmailPasswordParams.propertyId
514
515
  },
515
516
  authenticationNotOptional: false
516
517
  },
@@ -567,7 +568,8 @@ var AuthService = class extends Service {
567
568
  destination: AuthOtpRequestParams.destination,
568
569
  countryCode: AuthOtpRequestParams.countryCode,
569
570
  nationalNumber: AuthOtpRequestParams.nationalNumber,
570
- purpose: AuthOtpRequestParams.purpose
571
+ purpose: AuthOtpRequestParams.purpose,
572
+ propertyId: AuthOtpRequestParams.propertyId
571
573
  },
572
574
  authenticationNotOptional: false
573
575
  },
@@ -687,7 +689,8 @@ var AuthService = class extends Service {
687
689
  method: "POST",
688
690
  url: "auth/email/change",
689
691
  body: {
690
- email: AuthChangeEmailRequestParams.email
692
+ email: AuthChangeEmailRequestParams.email,
693
+ propertyId: AuthChangeEmailRequestParams.propertyId
691
694
  },
692
695
  authenticationNotOptional: true
693
696
  },
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "provenance": true
4
4
  },
5
5
  "name": "@juhuu/sdk-ts",
6
- "version": "1.3.55",
6
+ "version": "1.3.56",
7
7
  "description": "Typescript wrapper for JUHUU services",
8
8
  "main": "./dist/index.js",
9
9
  "module": "./dist/index.mjs",