mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Fix deprecation messages
This commit is contained in:
@@ -4025,7 +4025,7 @@ App::get('/v1/account/mfa/factors')
|
||||
contentType: ContentType::JSON,
|
||||
deprecated: new Deprecated(
|
||||
since: '1.8.0',
|
||||
replaceWith: 'listMFAFactors',
|
||||
replaceWith: 'account.listMFAFactors',
|
||||
),
|
||||
),
|
||||
new Method(
|
||||
@@ -4086,7 +4086,7 @@ App::post('/v1/account/mfa/authenticators/:type')
|
||||
contentType: ContentType::JSON,
|
||||
deprecated: new Deprecated(
|
||||
since: '1.8.0',
|
||||
replaceWith: 'createMFAAuthenticator',
|
||||
replaceWith: 'account.createMFAAuthenticator',
|
||||
),
|
||||
),
|
||||
new Method(
|
||||
@@ -4183,7 +4183,7 @@ App::put('/v1/account/mfa/authenticators/:type')
|
||||
contentType: ContentType::JSON,
|
||||
deprecated: new Deprecated(
|
||||
since: '1.8.0',
|
||||
replaceWith: 'updateMFAAuthenticator',
|
||||
replaceWith: 'account.updateMFAAuthenticator',
|
||||
),
|
||||
),
|
||||
new Method(
|
||||
@@ -4273,7 +4273,7 @@ App::post('/v1/account/mfa/recovery-codes')
|
||||
contentType: ContentType::JSON,
|
||||
deprecated: new Deprecated(
|
||||
since: '1.8.0',
|
||||
replaceWith: 'createMFARecoveryCodes',
|
||||
replaceWith: 'account.createMFARecoveryCodes',
|
||||
),
|
||||
),
|
||||
new Method(
|
||||
@@ -4340,7 +4340,7 @@ App::patch('/v1/account/mfa/recovery-codes')
|
||||
contentType: ContentType::JSON,
|
||||
deprecated: new Deprecated(
|
||||
since: '1.8.0',
|
||||
replaceWith: 'updateMFARecoveryCodes',
|
||||
replaceWith: 'account.updateMFARecoveryCodes',
|
||||
),
|
||||
),
|
||||
new Method(
|
||||
@@ -4402,7 +4402,7 @@ App::get('/v1/account/mfa/recovery-codes')
|
||||
contentType: ContentType::JSON,
|
||||
deprecated: new Deprecated(
|
||||
since: '1.8.0',
|
||||
replaceWith: 'getMFARecoveryCodes',
|
||||
replaceWith: 'account.getMFARecoveryCodes',
|
||||
),
|
||||
),
|
||||
new Method(
|
||||
@@ -4461,7 +4461,7 @@ App::delete('/v1/account/mfa/authenticators/:type')
|
||||
contentType: ContentType::NONE,
|
||||
deprecated: new Deprecated(
|
||||
since: '1.8.0',
|
||||
replaceWith: 'deleteMFAAuthenticator',
|
||||
replaceWith: 'account.deleteMFAAuthenticator',
|
||||
),
|
||||
),
|
||||
new Method(
|
||||
@@ -4527,7 +4527,7 @@ App::post('/v1/account/mfa/challenge')
|
||||
contentType: ContentType::JSON,
|
||||
deprecated: new Deprecated(
|
||||
since: '1.8.0',
|
||||
replaceWith: 'createMFAChallenge',
|
||||
replaceWith: 'account.createMFAChallenge',
|
||||
),
|
||||
),
|
||||
new Method(
|
||||
@@ -4769,7 +4769,7 @@ App::put('/v1/account/mfa/challenge')
|
||||
contentType: ContentType::JSON,
|
||||
deprecated: new Deprecated(
|
||||
since: '1.8.0',
|
||||
replaceWith: 'updateMFAChallenge',
|
||||
replaceWith: 'account.updateMFAChallenge',
|
||||
),
|
||||
),
|
||||
new Method(
|
||||
|
||||
@@ -254,7 +254,7 @@ App::post('/v1/messaging/providers/smtp')
|
||||
],
|
||||
deprecated: new Deprecated(
|
||||
since: '1.8.0',
|
||||
replaceWith: 'createSMTPProvider',
|
||||
replaceWith: 'messaging.createSMTPProvider',
|
||||
),
|
||||
),
|
||||
new Method(
|
||||
@@ -787,7 +787,7 @@ App::post('/v1/messaging/providers/fcm')
|
||||
],
|
||||
deprecated: new Deprecated(
|
||||
since: '1.8.0',
|
||||
replaceWith: 'createFCMProvider',
|
||||
replaceWith: 'messaging.createFCMProvider',
|
||||
),
|
||||
),
|
||||
new Method(
|
||||
@@ -876,7 +876,7 @@ App::post('/v1/messaging/providers/apns')
|
||||
],
|
||||
deprecated: new Deprecated(
|
||||
since: '1.8.0',
|
||||
replaceWith: 'createAPNSProvider',
|
||||
replaceWith: 'messaging.createAPNSProvider',
|
||||
),
|
||||
),
|
||||
new Method(
|
||||
@@ -1395,7 +1395,7 @@ App::patch('/v1/messaging/providers/smtp/:providerId')
|
||||
],
|
||||
deprecated: new Deprecated(
|
||||
since: '1.8.0',
|
||||
replaceWith: 'updateSMTPProvider',
|
||||
replaceWith: 'messaging.updateSMTPProvider',
|
||||
),
|
||||
),
|
||||
new Method(
|
||||
@@ -1986,7 +1986,7 @@ App::patch('/v1/messaging/providers/fcm/:providerId')
|
||||
],
|
||||
deprecated: new Deprecated(
|
||||
since: '1.8.0',
|
||||
replaceWith: 'updateFCMProvider',
|
||||
replaceWith: 'messaging.updateFCMProvider',
|
||||
),
|
||||
),
|
||||
new Method(
|
||||
@@ -2081,7 +2081,7 @@ App::patch('/v1/messaging/providers/apns/:providerId')
|
||||
],
|
||||
deprecated: new Deprecated(
|
||||
since: '1.8.0',
|
||||
replaceWith: 'updateAPNSProvider',
|
||||
replaceWith: 'messaging.updateAPNSProvider',
|
||||
),
|
||||
),
|
||||
new Method(
|
||||
@@ -3154,7 +3154,7 @@ App::post('/v1/messaging/messages/sms')
|
||||
],
|
||||
deprecated: new Deprecated(
|
||||
since: '1.8.0',
|
||||
replaceWith: 'createSMS',
|
||||
replaceWith: 'messaging.createSMS',
|
||||
),
|
||||
),
|
||||
new Method(
|
||||
@@ -4000,7 +4000,7 @@ App::patch('/v1/messaging/messages/sms/:messageId')
|
||||
],
|
||||
deprecated: new Deprecated(
|
||||
since: '1.8.0',
|
||||
replaceWith: 'updateSMS',
|
||||
replaceWith: 'messaging.updateSMS',
|
||||
),
|
||||
),
|
||||
new Method(
|
||||
|
||||
@@ -635,7 +635,7 @@ App::patch('/v1/projects/:projectId/api')
|
||||
],
|
||||
deprecated: new Deprecated(
|
||||
since: '1.8.0',
|
||||
replaceWith: 'updateAPIStatus',
|
||||
replaceWith: 'projects.updateAPIStatus',
|
||||
),
|
||||
),
|
||||
new Method(
|
||||
@@ -692,7 +692,7 @@ App::patch('/v1/projects/:projectId/api/all')
|
||||
],
|
||||
deprecated: new Deprecated(
|
||||
since: '1.8.0',
|
||||
replaceWith: 'updateAPIStatusAll',
|
||||
replaceWith: 'projects.updateAPIStatusAll',
|
||||
),
|
||||
),
|
||||
new Method(
|
||||
@@ -2072,7 +2072,7 @@ App::patch('/v1/projects/:projectId/smtp')
|
||||
],
|
||||
deprecated: new Deprecated(
|
||||
since: '1.8.0',
|
||||
replaceWith: 'updateSMTP',
|
||||
replaceWith: 'projects.updateSMTP',
|
||||
),
|
||||
),
|
||||
new Method(
|
||||
@@ -2188,7 +2188,7 @@ App::post('/v1/projects/:projectId/smtp/tests')
|
||||
],
|
||||
deprecated: new Deprecated(
|
||||
since: '1.8.0',
|
||||
replaceWith: 'createSMTPTest',
|
||||
replaceWith: 'projects.createSMTPTest',
|
||||
),
|
||||
),
|
||||
new Method(
|
||||
@@ -2282,7 +2282,7 @@ App::get('/v1/projects/:projectId/templates/sms/:type/:locale')
|
||||
],
|
||||
deprecated: new Deprecated(
|
||||
since: '1.8.0',
|
||||
replaceWith: 'getSMSTemplate',
|
||||
replaceWith: 'projects.getSMSTemplate',
|
||||
),
|
||||
),
|
||||
new Method(
|
||||
@@ -2448,7 +2448,7 @@ App::patch('/v1/projects/:projectId/templates/sms/:type/:locale')
|
||||
],
|
||||
deprecated: new Deprecated(
|
||||
since: '1.8.0',
|
||||
replaceWith: 'updateSMSTemplate',
|
||||
replaceWith: 'projects.updateSMSTemplate',
|
||||
),
|
||||
),
|
||||
new Method(
|
||||
@@ -2572,7 +2572,7 @@ App::delete('/v1/projects/:projectId/templates/sms/:type/:locale')
|
||||
contentType: ContentType::JSON,
|
||||
deprecated: new Deprecated(
|
||||
since: '1.8.0',
|
||||
replaceWith: 'deleteSMSTemplate',
|
||||
replaceWith: 'projects.deleteSMSTemplate',
|
||||
),
|
||||
),
|
||||
new Method(
|
||||
|
||||
@@ -1772,7 +1772,7 @@ App::patch('/v1/users/:userId/mfa')
|
||||
],
|
||||
deprecated: new Deprecated(
|
||||
since: '1.8.0',
|
||||
replaceWith: 'updateMFA',
|
||||
replaceWith: 'users.updateMFA',
|
||||
),
|
||||
),
|
||||
new Method(
|
||||
@@ -1831,7 +1831,7 @@ App::get('/v1/users/:userId/mfa/factors')
|
||||
],
|
||||
deprecated: new Deprecated(
|
||||
since: '1.8.0',
|
||||
replaceWith: 'listMFAFactors',
|
||||
replaceWith: 'users.listMFAFactors',
|
||||
),
|
||||
),
|
||||
new Method(
|
||||
@@ -1889,7 +1889,7 @@ App::get('/v1/users/:userId/mfa/recovery-codes')
|
||||
],
|
||||
deprecated: new Deprecated(
|
||||
since: '1.8.0',
|
||||
replaceWith: 'getMFARecoveryCodes',
|
||||
replaceWith: 'users.getMFARecoveryCodes',
|
||||
),
|
||||
),
|
||||
new Method(
|
||||
@@ -1953,7 +1953,7 @@ App::patch('/v1/users/:userId/mfa/recovery-codes')
|
||||
],
|
||||
deprecated: new Deprecated(
|
||||
since: '1.8.0',
|
||||
replaceWith: 'createMFARecoveryCodes',
|
||||
replaceWith: 'users.createMFARecoveryCodes',
|
||||
),
|
||||
),
|
||||
new Method(
|
||||
@@ -2024,7 +2024,7 @@ App::put('/v1/users/:userId/mfa/recovery-codes')
|
||||
],
|
||||
deprecated: new Deprecated(
|
||||
since: '1.8.0',
|
||||
replaceWith: 'updateMFARecoveryCodes',
|
||||
replaceWith: 'users.updateMFARecoveryCodes',
|
||||
),
|
||||
),
|
||||
new Method(
|
||||
@@ -2095,7 +2095,7 @@ App::delete('/v1/users/:userId/mfa/authenticators/:type')
|
||||
contentType: ContentType::NONE,
|
||||
deprecated: new Deprecated(
|
||||
since: '1.8.0',
|
||||
replaceWith: 'deleteMFAAuthenticator',
|
||||
replaceWith: 'users.deleteMFAAuthenticator',
|
||||
),
|
||||
),
|
||||
new Method(
|
||||
|
||||
Reference in New Issue
Block a user