15
15
* limitations under the License.
16
16
*/
17
17
18
- import { Endpoint , HttpMethod , performApiRequest } from '..' ;
18
+ import { Endpoint , HttpMethod , _performApiRequest } from '..' ;
19
19
import { Auth } from '../../model/auth' ;
20
20
import { IdTokenResponse } from '../../model/id_token' ;
21
21
import { SignInWithPhoneNumberRequest } from '../authentication/sms' ;
@@ -39,7 +39,7 @@ export function startEnrollPhoneMfa(
39
39
auth : Auth ,
40
40
request : StartPhoneMfaEnrollmentRequest
41
41
) : Promise < StartPhoneMfaEnrollmentResponse > {
42
- return performApiRequest <
42
+ return _performApiRequest <
43
43
StartPhoneMfaEnrollmentRequest ,
44
44
StartPhoneMfaEnrollmentResponse
45
45
> ( auth , HttpMethod . POST , Endpoint . START_PHONE_MFA_ENROLLMENT , request ) ;
@@ -55,7 +55,7 @@ export function enrollPhoneMfa(
55
55
auth : Auth ,
56
56
request : PhoneMfaEnrollmentRequest
57
57
) : Promise < PhoneMfaEnrollmentResponse > {
58
- return performApiRequest <
58
+ return _performApiRequest <
59
59
PhoneMfaEnrollmentRequest ,
60
60
PhoneMfaEnrollmentResponse
61
61
> ( auth , HttpMethod . POST , Endpoint . FINALIZE_PHONE_MFA_ENROLLMENT , request ) ;
@@ -72,7 +72,7 @@ export function withdrawMfa(
72
72
auth : Auth ,
73
73
request : WithdrawMfaRequest
74
74
) : Promise < WithdrawMfaResponse > {
75
- return performApiRequest < WithdrawMfaRequest , WithdrawMfaResponse > (
75
+ return _performApiRequest < WithdrawMfaRequest , WithdrawMfaResponse > (
76
76
auth ,
77
77
HttpMethod . POST ,
78
78
Endpoint . WITHDRAW_MFA ,
0 commit comments