Skip to content

Commit 8b3fd33

Browse files
committed
Add 1.8.x support
1 parent ac734b7 commit 8b3fd33

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/models.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -993,7 +993,7 @@ export namespace Models {
993993
*/
994994
$createdAt: string;
995995
/**
996-
* Execution upate date in ISO 8601 format.
996+
* Execution update date in ISO 8601 format.
997997
*/
998998
$updatedAt: string;
999999
/**

src/services/account.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ export class Account {
428428
* @param {AuthenticatorType} params.type - Type of authenticator. Must be `totp`
429429
* @throws {AppwriteException}
430430
* @returns {Promise<Models.MfaType>}
431-
* @deprecated This API has been deprecated since 1.8.0. Please use `CreateMFAAuthenticator` instead.
431+
* @deprecated This API has been deprecated since 1.8.0. Please use `Account.createMFAAuthenticator` instead.
432432
*/
433433
createMfaAuthenticator(params: { type: AuthenticatorType }): Promise<Models.MfaType>;
434434
/**
@@ -534,7 +534,7 @@ export class Account {
534534
* @param {string} params.otp - Valid verification token.
535535
* @throws {AppwriteException}
536536
* @returns {Promise<Models.User<Preferences>>}
537-
* @deprecated This API has been deprecated since 1.8.0. Please use `UpdateMFAAuthenticator` instead.
537+
* @deprecated This API has been deprecated since 1.8.0. Please use `Account.updateMFAAuthenticator` instead.
538538
*/
539539
updateMfaAuthenticator<Preferences extends Models.Preferences = Models.DefaultPreferences>(params: { type: AuthenticatorType, otp: string }): Promise<Models.User<Preferences>>;
540540
/**
@@ -660,7 +660,7 @@ export class Account {
660660
* @param {AuthenticatorType} params.type - Type of authenticator.
661661
* @throws {AppwriteException}
662662
* @returns {Promise<{}>}
663-
* @deprecated This API has been deprecated since 1.8.0. Please use `DeleteMFAAuthenticator` instead.
663+
* @deprecated This API has been deprecated since 1.8.0. Please use `Account.deleteMFAAuthenticator` instead.
664664
*/
665665
deleteMfaAuthenticator(params: { type: AuthenticatorType }): Promise<{}>;
666666
/**
@@ -765,7 +765,7 @@ export class Account {
765765
* @param {AuthenticationFactor} params.factor - Factor used for verification. Must be one of following: `email`, `phone`, `totp`, `recoveryCode`.
766766
* @throws {AppwriteException}
767767
* @returns {Promise<Models.MfaChallenge>}
768-
* @deprecated This API has been deprecated since 1.8.0. Please use `CreateMFAChallenge` instead.
768+
* @deprecated This API has been deprecated since 1.8.0. Please use `Account.createMFAChallenge` instead.
769769
*/
770770
createMfaChallenge(params: { factor: AuthenticationFactor }): Promise<Models.MfaChallenge>;
771771
/**
@@ -877,7 +877,7 @@ export class Account {
877877
* @param {string} params.otp - Valid verification token.
878878
* @throws {AppwriteException}
879879
* @returns {Promise<Models.Session>}
880-
* @deprecated This API has been deprecated since 1.8.0. Please use `UpdateMFAChallenge` instead.
880+
* @deprecated This API has been deprecated since 1.8.0. Please use `Account.updateMFAChallenge` instead.
881881
*/
882882
updateMfaChallenge(params: { challengeId: string, otp: string }): Promise<Models.Session>;
883883
/**
@@ -1008,7 +1008,7 @@ export class Account {
10081008
*
10091009
* @throws {AppwriteException}
10101010
* @returns {Promise<Models.MfaFactors>}
1011-
* @deprecated This API has been deprecated since 1.8.0. Please use `ListMFAFactors` instead.
1011+
* @deprecated This API has been deprecated since 1.8.0. Please use `Account.listMFAFactors` instead.
10121012
*/
10131013
listMfaFactors(): Promise<Models.MfaFactors> {
10141014

@@ -1055,7 +1055,7 @@ export class Account {
10551055
*
10561056
* @throws {AppwriteException}
10571057
* @returns {Promise<Models.MfaRecoveryCodes>}
1058-
* @deprecated This API has been deprecated since 1.8.0. Please use `GetMFARecoveryCodes` instead.
1058+
* @deprecated This API has been deprecated since 1.8.0. Please use `Account.getMFARecoveryCodes` instead.
10591059
*/
10601060
getMfaRecoveryCodes(): Promise<Models.MfaRecoveryCodes> {
10611061

@@ -1102,7 +1102,7 @@ export class Account {
11021102
*
11031103
* @throws {AppwriteException}
11041104
* @returns {Promise<Models.MfaRecoveryCodes>}
1105-
* @deprecated This API has been deprecated since 1.8.0. Please use `CreateMFARecoveryCodes` instead.
1105+
* @deprecated This API has been deprecated since 1.8.0. Please use `Account.createMFARecoveryCodes` instead.
11061106
*/
11071107
createMfaRecoveryCodes(): Promise<Models.MfaRecoveryCodes> {
11081108

@@ -1151,7 +1151,7 @@ export class Account {
11511151
*
11521152
* @throws {AppwriteException}
11531153
* @returns {Promise<Models.MfaRecoveryCodes>}
1154-
* @deprecated This API has been deprecated since 1.8.0. Please use `UpdateMFARecoveryCodes` instead.
1154+
* @deprecated This API has been deprecated since 1.8.0. Please use `Account.updateMFARecoveryCodes` instead.
11551155
*/
11561156
updateMfaRecoveryCodes(): Promise<Models.MfaRecoveryCodes> {
11571157

0 commit comments

Comments
 (0)