Skip to content

Commit 16552d2

Browse files
committed
Add 1.8.x support
1 parent ca828b9 commit 16552d2

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
@@ -990,7 +990,7 @@ export namespace Models {
990990
*/
991991
$createdAt: string;
992992
/**
993-
* Execution upate date in ISO 8601 format.
993+
* Execution update date in ISO 8601 format.
994994
*/
995995
$updatedAt: string;
996996
/**

src/services/account.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ export class Account extends Service {
383383
* @param {AuthenticatorType} params.type - Type of authenticator. Must be `totp`
384384
* @throws {AppwriteException}
385385
* @returns {Promise}
386-
* @deprecated This API has been deprecated since 1.8.0. Please use `CreateMFAAuthenticator` instead.
386+
* @deprecated This API has been deprecated since 1.8.0. Please use `Account.createMFAAuthenticator` instead.
387387
*/
388388
createMfaAuthenticator(params?: { type: AuthenticatorType }): Promise<Models.MfaType>;
389389
/**
@@ -475,7 +475,7 @@ export class Account extends Service {
475475
* @param {string} params.otp - Valid verification token.
476476
* @throws {AppwriteException}
477477
* @returns {Promise}
478-
* @deprecated This API has been deprecated since 1.8.0. Please use `UpdateMFAAuthenticator` instead.
478+
* @deprecated This API has been deprecated since 1.8.0. Please use `Account.updateMFAAuthenticator` instead.
479479
*/
480480
updateMfaAuthenticator<Preferences extends Models.Preferences = Models.DefaultPreferences>(params?: { type: AuthenticatorType, otp: string }): Promise<Models.User<Preferences>>;
481481
/**
@@ -591,7 +591,7 @@ export class Account extends Service {
591591
* @param {AuthenticatorType} params.type - Type of authenticator.
592592
* @throws {AppwriteException}
593593
* @returns {Promise}
594-
* @deprecated This API has been deprecated since 1.8.0. Please use `DeleteMFAAuthenticator` instead.
594+
* @deprecated This API has been deprecated since 1.8.0. Please use `Account.deleteMFAAuthenticator` instead.
595595
*/
596596
deleteMfaAuthenticator(params?: { type: AuthenticatorType }): Promise<{}>;
597597
/**
@@ -682,7 +682,7 @@ export class Account extends Service {
682682
* @param {AuthenticationFactor} params.factor - Factor used for verification. Must be one of following: `email`, `phone`, `totp`, `recoveryCode`.
683683
* @throws {AppwriteException}
684684
* @returns {Promise}
685-
* @deprecated This API has been deprecated since 1.8.0. Please use `CreateMFAChallenge` instead.
685+
* @deprecated This API has been deprecated since 1.8.0. Please use `Account.createMFAChallenge` instead.
686686
*/
687687
createMfaChallenge(params?: { factor: AuthenticationFactor }): Promise<Models.MfaChallenge>;
688688
/**
@@ -782,7 +782,7 @@ export class Account extends Service {
782782
* @param {string} params.otp - Valid verification token.
783783
* @throws {AppwriteException}
784784
* @returns {Promise}
785-
* @deprecated This API has been deprecated since 1.8.0. Please use `UpdateMFAChallenge` instead.
785+
* @deprecated This API has been deprecated since 1.8.0. Please use `Account.updateMFAChallenge` instead.
786786
*/
787787
updateMfaChallenge(params?: { challengeId: string, otp: string }): Promise<Models.Session>;
788788
/**
@@ -905,7 +905,7 @@ export class Account extends Service {
905905
*
906906
* @throws {AppwriteException}
907907
* @returns {Promise}
908-
* @deprecated This API has been deprecated since 1.8.0. Please use `ListMFAFactors` instead.
908+
* @deprecated This API has been deprecated since 1.8.0. Please use `Account.listMFAFactors` instead.
909909
*/
910910
listMfaFactors(): Promise<Models.MfaFactors> {
911911
const apiPath = '/account/mfa/factors';
@@ -936,7 +936,7 @@ export class Account extends Service {
936936
*
937937
* @throws {AppwriteException}
938938
* @returns {Promise}
939-
* @deprecated This API has been deprecated since 1.8.0. Please use `GetMFARecoveryCodes` instead.
939+
* @deprecated This API has been deprecated since 1.8.0. Please use `Account.getMFARecoveryCodes` instead.
940940
*/
941941
getMfaRecoveryCodes(): Promise<Models.MfaRecoveryCodes> {
942942
const apiPath = '/account/mfa/recovery-codes';
@@ -967,7 +967,7 @@ export class Account extends Service {
967967
*
968968
* @throws {AppwriteException}
969969
* @returns {Promise}
970-
* @deprecated This API has been deprecated since 1.8.0. Please use `CreateMFARecoveryCodes` instead.
970+
* @deprecated This API has been deprecated since 1.8.0. Please use `Account.createMFARecoveryCodes` instead.
971971
*/
972972
createMfaRecoveryCodes(): Promise<Models.MfaRecoveryCodes> {
973973
const apiPath = '/account/mfa/recovery-codes';
@@ -1000,7 +1000,7 @@ export class Account extends Service {
10001000
*
10011001
* @throws {AppwriteException}
10021002
* @returns {Promise}
1003-
* @deprecated This API has been deprecated since 1.8.0. Please use `UpdateMFARecoveryCodes` instead.
1003+
* @deprecated This API has been deprecated since 1.8.0. Please use `Account.updateMFARecoveryCodes` instead.
10041004
*/
10051005
updateMfaRecoveryCodes(): Promise<Models.MfaRecoveryCodes> {
10061006
const apiPath = '/account/mfa/recovery-codes';

0 commit comments

Comments
 (0)