1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-26 17:03:12 +03:00

Export IRequestMsisdnTokenResponse

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner
2021-09-27 09:45:07 +02:00
parent 8d910d5e26
commit f05a0615f7

View File

@@ -531,7 +531,7 @@ export interface IRequestTokenResponse {
submit_url?: string;
}
interface IRequestMsisdnTokenResponse extends IRequestTokenResponse {
export interface IRequestMsisdnTokenResponse extends IRequestTokenResponse {
msisdn: string;
success: boolean;
intl_fmt: string;
@@ -5031,7 +5031,7 @@ export class MatrixClient extends EventEmitter {
email: string,
clientSecret: string,
sendAttempt: number,
nextLink: string,
nextLink?: string,
): Promise<IRequestTokenResponse> {
return this.requestTokenFromEndpoint(
"/account/3pid/email/requestToken",
@@ -5063,7 +5063,7 @@ export class MatrixClient extends EventEmitter {
phoneNumber: string,
clientSecret: string,
sendAttempt: number,
nextLink: string,
nextLink?: string,
): Promise<IRequestMsisdnTokenResponse> {
return this.requestTokenFromEndpoint(
"/account/3pid/msisdn/requestToken",