@@ -387,13 +387,13 @@ open class Account: Service {
387387 /// method.
388388 ///
389389 /// - Parameters:
390- /// - type: AuthenticatorType
390+ /// - type: AppwriteEnums. AuthenticatorType
391391 /// - Throws: Exception if the request fails
392392 /// - Returns: AppwriteModels.MfaType
393393 ///
394394 @available ( * , deprecated, message: " This API has been deprecated since 1.8.0. Please use `Account.createMFAAuthenticator` instead. " )
395395 open func createMfaAuthenticator(
396- type: AuthenticatorType
396+ type: AppwriteEnums . AuthenticatorType
397397 ) async throws -> AppwriteModels . MfaType {
398398 let apiPath : String = " /account/mfa/authenticators/{type} "
399399 . replacingOccurrences ( of: " {type} " , with: type. rawValue)
@@ -424,12 +424,12 @@ open class Account: Service {
424424 /// method.
425425 ///
426426 /// - Parameters:
427- /// - type: AuthenticatorType
427+ /// - type: AppwriteEnums. AuthenticatorType
428428 /// - Throws: Exception if the request fails
429429 /// - Returns: AppwriteModels.MfaType
430430 ///
431431 open func createMFAAuthenticator(
432- type: AuthenticatorType
432+ type: AppwriteEnums . AuthenticatorType
433433 ) async throws -> AppwriteModels . MfaType {
434434 let apiPath : String = " /account/mfa/authenticators/{type} "
435435 . replacingOccurrences ( of: " {type} " , with: type. rawValue)
@@ -459,14 +459,14 @@ open class Account: Service {
459459 /// method.
460460 ///
461461 /// - Parameters:
462- /// - type: AuthenticatorType
462+ /// - type: AppwriteEnums. AuthenticatorType
463463 /// - otp: String
464464 /// - Throws: Exception if the request fails
465465 /// - Returns: AppwriteModels.User<T>
466466 ///
467467 @available ( * , deprecated, message: " This API has been deprecated since 1.8.0. Please use `Account.updateMFAAuthenticator` instead. " )
468468 open func updateMfaAuthenticator< T> (
469- type: AuthenticatorType ,
469+ type: AppwriteEnums . AuthenticatorType ,
470470 otp: String ,
471471 nestedType: T . Type
472472 ) async throws -> AppwriteModels . User < T > {
@@ -500,14 +500,14 @@ open class Account: Service {
500500 /// method.
501501 ///
502502 /// - Parameters:
503- /// - type: AuthenticatorType
503+ /// - type: AppwriteEnums. AuthenticatorType
504504 /// - otp: String
505505 /// - Throws: Exception if the request fails
506506 /// - Returns: AppwriteModels.User<T>
507507 ///
508508 @available ( * , deprecated, message: " This API has been deprecated since 1.8.0. Please use `Account.updateMFAAuthenticator` instead. " )
509509 open func updateMfaAuthenticator(
510- type: AuthenticatorType ,
510+ type: AppwriteEnums . AuthenticatorType ,
511511 otp: String
512512 ) async throws -> AppwriteModels . User < [ String : AnyCodable ] > {
513513 return try await updateMfaAuthenticator (
@@ -523,13 +523,13 @@ open class Account: Service {
523523 /// method.
524524 ///
525525 /// - Parameters:
526- /// - type: AuthenticatorType
526+ /// - type: AppwriteEnums. AuthenticatorType
527527 /// - otp: String
528528 /// - Throws: Exception if the request fails
529529 /// - Returns: AppwriteModels.User<T>
530530 ///
531531 open func updateMFAAuthenticator< T> (
532- type: AuthenticatorType ,
532+ type: AppwriteEnums . AuthenticatorType ,
533533 otp: String ,
534534 nestedType: T . Type
535535 ) async throws -> AppwriteModels . User < T > {
@@ -563,13 +563,13 @@ open class Account: Service {
563563 /// method.
564564 ///
565565 /// - Parameters:
566- /// - type: AuthenticatorType
566+ /// - type: AppwriteEnums. AuthenticatorType
567567 /// - otp: String
568568 /// - Throws: Exception if the request fails
569569 /// - Returns: AppwriteModels.User<T>
570570 ///
571571 open func updateMFAAuthenticator(
572- type: AuthenticatorType ,
572+ type: AppwriteEnums . AuthenticatorType ,
573573 otp: String
574574 ) async throws -> AppwriteModels . User < [ String : AnyCodable ] > {
575575 return try await updateMFAAuthenticator (
@@ -583,13 +583,13 @@ open class Account: Service {
583583 /// Delete an authenticator for a user by ID.
584584 ///
585585 /// - Parameters:
586- /// - type: AuthenticatorType
586+ /// - type: AppwriteEnums. AuthenticatorType
587587 /// - Throws: Exception if the request fails
588588 /// - Returns: Any
589589 ///
590590 @available ( * , deprecated, message: " This API has been deprecated since 1.8.0. Please use `Account.deleteMFAAuthenticator` instead. " )
591591 open func deleteMfaAuthenticator(
592- type: AuthenticatorType
592+ type: AppwriteEnums . AuthenticatorType
593593 ) async throws -> Any {
594594 let apiPath : String = " /account/mfa/authenticators/{type} "
595595 . replacingOccurrences ( of: " {type} " , with: type. rawValue)
@@ -611,12 +611,12 @@ open class Account: Service {
611611 /// Delete an authenticator for a user by ID.
612612 ///
613613 /// - Parameters:
614- /// - type: AuthenticatorType
614+ /// - type: AppwriteEnums. AuthenticatorType
615615 /// - Throws: Exception if the request fails
616616 /// - Returns: Any
617617 ///
618618 open func deleteMFAAuthenticator(
619- type: AuthenticatorType
619+ type: AppwriteEnums . AuthenticatorType
620620 ) async throws -> Any {
621621 let apiPath : String = " /account/mfa/authenticators/{type} "
622622 . replacingOccurrences ( of: " {type} " , with: type. rawValue)
@@ -640,13 +640,13 @@ open class Account: Service {
640640 /// method.
641641 ///
642642 /// - Parameters:
643- /// - factor: AuthenticationFactor
643+ /// - factor: AppwriteEnums. AuthenticationFactor
644644 /// - Throws: Exception if the request fails
645645 /// - Returns: AppwriteModels.MfaChallenge
646646 ///
647647 @available ( * , deprecated, message: " This API has been deprecated since 1.8.0. Please use `Account.createMFAChallenge` instead. " )
648648 open func createMfaChallenge(
649- factor: AuthenticationFactor
649+ factor: AppwriteEnums . AuthenticationFactor
650650 ) async throws -> AppwriteModels . MfaChallenge {
651651 let apiPath : String = " /account/mfa/challenge "
652652
@@ -677,12 +677,12 @@ open class Account: Service {
677677 /// method.
678678 ///
679679 /// - Parameters:
680- /// - factor: AuthenticationFactor
680+ /// - factor: AppwriteEnums. AuthenticationFactor
681681 /// - Throws: Exception if the request fails
682682 /// - Returns: AppwriteModels.MfaChallenge
683683 ///
684684 open func createMFAChallenge(
685- factor: AuthenticationFactor
685+ factor: AppwriteEnums . AuthenticationFactor
686686 ) async throws -> AppwriteModels . MfaChallenge {
687687 let apiPath : String = " /account/mfa/challenge "
688688
@@ -1596,7 +1596,7 @@ open class Account: Service {
15961596 ///
15971597 ///
15981598 /// - Parameters:
1599- /// - provider: OAuthProvider
1599+ /// - provider: AppwriteEnums. OAuthProvider
16001600 /// - success: String (optional)
16011601 /// - failure: String (optional)
16021602 /// - scopes: [String] (optional)
@@ -1605,7 +1605,7 @@ open class Account: Service {
16051605 ///
16061606 @available ( iOS 14 . 0 , macOS 11 . 0 , tvOS 14 . 0 , watchOS 7 . 0 , * )
16071607 open func createOAuth2Session(
1608- provider: OAuthProvider ,
1608+ provider: AppwriteEnums . OAuthProvider ,
16091609 success: String ? = nil ,
16101610 failure: String ? = nil ,
16111611 scopes: [ String ] ? = nil
@@ -2101,7 +2101,7 @@ open class Account: Service {
21012101 /// limits](https://appwrite.io/docs/authentication-security#limits).
21022102 ///
21032103 /// - Parameters:
2104- /// - provider: OAuthProvider
2104+ /// - provider: AppwriteEnums. OAuthProvider
21052105 /// - success: String (optional)
21062106 /// - failure: String (optional)
21072107 /// - scopes: [String] (optional)
@@ -2110,7 +2110,7 @@ open class Account: Service {
21102110 ///
21112111 @available ( iOS 14 . 0 , macOS 11 . 0 , tvOS 14 . 0 , watchOS 7 . 0 , * )
21122112 open func createOAuth2Token(
2113- provider: OAuthProvider ,
2113+ provider: AppwriteEnums . OAuthProvider ,
21142114 success: String ? = nil ,
21152115 failure: String ? = nil ,
21162116 scopes: [ String ] ? = nil
0 commit comments