@juhuu/sdk-ts 1.3.5 → 1.3.6

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
@@ -1765,6 +1765,9 @@ declare class AuthService extends Service {
1765
1765
  otpRequest(AuthOtpRequestParams: JUHUU.User.OtpRequest.Params, AuthOtpRequestOptions?: JUHUU.User.OtpRequest.Options): Promise<JUHUU.HttpResponse<JUHUU.User.OtpRequest.Response>>;
1766
1766
  otpVerify(AuthOtpVerifyParams: JUHUU.User.OtpVerify.Params, AuthOtpVerifyOptions?: JUHUU.User.OtpVerify.Options): Promise<JUHUU.HttpResponse<JUHUU.User.OtpVerify.Response>>;
1767
1767
  setPassword(AuthSetPasswordParams: JUHUU.User.SetPassword.Params, AuthSetPasswordOptions?: JUHUU.User.SetPassword.Options): Promise<JUHUU.HttpResponse<JUHUU.User.SetPassword.Response>>;
1768
+ removePassword(AuthRemovePasswordParams: JUHUU.User.RemovePassword.Params, AuthRemovePasswordOptions?: JUHUU.User.RemovePassword.Options): Promise<JUHUU.HttpResponse<JUHUU.User.RemovePassword.Response>>;
1769
+ removeGoogle(AuthRemoveGoogleParams: JUHUU.User.RemoveGoogle.Params, AuthRemoveGoogleOptions?: JUHUU.User.RemoveGoogle.Options): Promise<JUHUU.HttpResponse<JUHUU.User.RemoveGoogle.Response>>;
1770
+ removeApple(AuthRemoveAppleParams: JUHUU.User.RemoveApple.Params, AuthRemoveAppleOptions?: JUHUU.User.RemoveApple.Options): Promise<JUHUU.HttpResponse<JUHUU.User.RemoveApple.Response>>;
1768
1771
  changePhoneRequest(AuthChangePhoneRequestParams: JUHUU.User.ChangePhoneRequest.Params, AuthChangePhoneRequestOptions?: JUHUU.User.ChangePhoneRequest.Options): Promise<JUHUU.HttpResponse<JUHUU.User.ChangePhoneRequest.Response>>;
1769
1772
  changePhoneVerify(AuthChangePhoneVerifyParams: JUHUU.User.ChangePhoneVerify.Params, AuthChangePhoneVerifyOptions?: JUHUU.User.ChangePhoneVerify.Options): Promise<JUHUU.HttpResponse<JUHUU.User.ChangePhoneVerify.Response>>;
1770
1773
  removePhone(AuthRemovePhoneParams: JUHUU.User.RemovePhone.Params, AuthRemovePhoneOptions?: JUHUU.User.RemovePhone.Options): Promise<JUHUU.HttpResponse<JUHUU.User.RemovePhone.Response>>;
@@ -2962,6 +2965,30 @@ declare namespace JUHUU {
2962
2965
  success: boolean;
2963
2966
  };
2964
2967
  }
2968
+ export namespace RemovePassword {
2969
+ type Params = {};
2970
+ type Options = JUHUU.RequestOptions;
2971
+ type Response = {
2972
+ message: string;
2973
+ success: boolean;
2974
+ };
2975
+ }
2976
+ export namespace RemoveGoogle {
2977
+ type Params = {};
2978
+ type Options = JUHUU.RequestOptions;
2979
+ type Response = {
2980
+ message: string;
2981
+ success: boolean;
2982
+ };
2983
+ }
2984
+ export namespace RemoveApple {
2985
+ type Params = {};
2986
+ type Options = JUHUU.RequestOptions;
2987
+ type Response = {
2988
+ message: string;
2989
+ success: boolean;
2990
+ };
2991
+ }
2965
2992
  export namespace ChangePhoneRequest {
2966
2993
  type Params = {
2967
2994
  phone: string;
package/dist/index.d.ts CHANGED
@@ -1765,6 +1765,9 @@ declare class AuthService extends Service {
1765
1765
  otpRequest(AuthOtpRequestParams: JUHUU.User.OtpRequest.Params, AuthOtpRequestOptions?: JUHUU.User.OtpRequest.Options): Promise<JUHUU.HttpResponse<JUHUU.User.OtpRequest.Response>>;
1766
1766
  otpVerify(AuthOtpVerifyParams: JUHUU.User.OtpVerify.Params, AuthOtpVerifyOptions?: JUHUU.User.OtpVerify.Options): Promise<JUHUU.HttpResponse<JUHUU.User.OtpVerify.Response>>;
1767
1767
  setPassword(AuthSetPasswordParams: JUHUU.User.SetPassword.Params, AuthSetPasswordOptions?: JUHUU.User.SetPassword.Options): Promise<JUHUU.HttpResponse<JUHUU.User.SetPassword.Response>>;
1768
+ removePassword(AuthRemovePasswordParams: JUHUU.User.RemovePassword.Params, AuthRemovePasswordOptions?: JUHUU.User.RemovePassword.Options): Promise<JUHUU.HttpResponse<JUHUU.User.RemovePassword.Response>>;
1769
+ removeGoogle(AuthRemoveGoogleParams: JUHUU.User.RemoveGoogle.Params, AuthRemoveGoogleOptions?: JUHUU.User.RemoveGoogle.Options): Promise<JUHUU.HttpResponse<JUHUU.User.RemoveGoogle.Response>>;
1770
+ removeApple(AuthRemoveAppleParams: JUHUU.User.RemoveApple.Params, AuthRemoveAppleOptions?: JUHUU.User.RemoveApple.Options): Promise<JUHUU.HttpResponse<JUHUU.User.RemoveApple.Response>>;
1768
1771
  changePhoneRequest(AuthChangePhoneRequestParams: JUHUU.User.ChangePhoneRequest.Params, AuthChangePhoneRequestOptions?: JUHUU.User.ChangePhoneRequest.Options): Promise<JUHUU.HttpResponse<JUHUU.User.ChangePhoneRequest.Response>>;
1769
1772
  changePhoneVerify(AuthChangePhoneVerifyParams: JUHUU.User.ChangePhoneVerify.Params, AuthChangePhoneVerifyOptions?: JUHUU.User.ChangePhoneVerify.Options): Promise<JUHUU.HttpResponse<JUHUU.User.ChangePhoneVerify.Response>>;
1770
1773
  removePhone(AuthRemovePhoneParams: JUHUU.User.RemovePhone.Params, AuthRemovePhoneOptions?: JUHUU.User.RemovePhone.Options): Promise<JUHUU.HttpResponse<JUHUU.User.RemovePhone.Response>>;
@@ -2962,6 +2965,30 @@ declare namespace JUHUU {
2962
2965
  success: boolean;
2963
2966
  };
2964
2967
  }
2968
+ export namespace RemovePassword {
2969
+ type Params = {};
2970
+ type Options = JUHUU.RequestOptions;
2971
+ type Response = {
2972
+ message: string;
2973
+ success: boolean;
2974
+ };
2975
+ }
2976
+ export namespace RemoveGoogle {
2977
+ type Params = {};
2978
+ type Options = JUHUU.RequestOptions;
2979
+ type Response = {
2980
+ message: string;
2981
+ success: boolean;
2982
+ };
2983
+ }
2984
+ export namespace RemoveApple {
2985
+ type Params = {};
2986
+ type Options = JUHUU.RequestOptions;
2987
+ type Response = {
2988
+ message: string;
2989
+ success: boolean;
2990
+ };
2991
+ }
2965
2992
  export namespace ChangePhoneRequest {
2966
2993
  type Params = {
2967
2994
  phone: string;
package/dist/index.js CHANGED
@@ -622,6 +622,39 @@ var AuthService = class extends Service {
622
622
  AuthSetPasswordOptions
623
623
  );
624
624
  }
625
+ async removePassword(AuthRemovePasswordParams, AuthRemovePasswordOptions) {
626
+ return await super.sendRequest(
627
+ {
628
+ method: "DELETE",
629
+ url: "auth/password",
630
+ body: void 0,
631
+ authenticationNotOptional: true
632
+ },
633
+ AuthRemovePasswordOptions
634
+ );
635
+ }
636
+ async removeGoogle(AuthRemoveGoogleParams, AuthRemoveGoogleOptions) {
637
+ return await super.sendRequest(
638
+ {
639
+ method: "DELETE",
640
+ url: "auth/google",
641
+ body: void 0,
642
+ authenticationNotOptional: true
643
+ },
644
+ AuthRemoveGoogleOptions
645
+ );
646
+ }
647
+ async removeApple(AuthRemoveAppleParams, AuthRemoveAppleOptions) {
648
+ return await super.sendRequest(
649
+ {
650
+ method: "DELETE",
651
+ url: "auth/apple",
652
+ body: void 0,
653
+ authenticationNotOptional: true
654
+ },
655
+ AuthRemoveAppleOptions
656
+ );
657
+ }
625
658
  async changePhoneRequest(AuthChangePhoneRequestParams, AuthChangePhoneRequestOptions) {
626
659
  return await super.sendRequest(
627
660
  {
package/dist/index.mjs CHANGED
@@ -578,6 +578,39 @@ var AuthService = class extends Service {
578
578
  AuthSetPasswordOptions
579
579
  );
580
580
  }
581
+ async removePassword(AuthRemovePasswordParams, AuthRemovePasswordOptions) {
582
+ return await super.sendRequest(
583
+ {
584
+ method: "DELETE",
585
+ url: "auth/password",
586
+ body: void 0,
587
+ authenticationNotOptional: true
588
+ },
589
+ AuthRemovePasswordOptions
590
+ );
591
+ }
592
+ async removeGoogle(AuthRemoveGoogleParams, AuthRemoveGoogleOptions) {
593
+ return await super.sendRequest(
594
+ {
595
+ method: "DELETE",
596
+ url: "auth/google",
597
+ body: void 0,
598
+ authenticationNotOptional: true
599
+ },
600
+ AuthRemoveGoogleOptions
601
+ );
602
+ }
603
+ async removeApple(AuthRemoveAppleParams, AuthRemoveAppleOptions) {
604
+ return await super.sendRequest(
605
+ {
606
+ method: "DELETE",
607
+ url: "auth/apple",
608
+ body: void 0,
609
+ authenticationNotOptional: true
610
+ },
611
+ AuthRemoveAppleOptions
612
+ );
613
+ }
581
614
  async changePhoneRequest(AuthChangePhoneRequestParams, AuthChangePhoneRequestOptions) {
582
615
  return await super.sendRequest(
583
616
  {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "provenance": true
4
4
  },
5
5
  "name": "@juhuu/sdk-ts",
6
- "version": "1.3.5",
6
+ "version": "1.3.6",
7
7
  "description": "Typescript wrapper for JUHUU services",
8
8
  "main": "./dist/index.js",
9
9
  "module": "./dist/index.mjs",