diff --git a/docs/examples/kotlin/account/create-email-password-session.md b/docs/examples/kotlin/account/create-email-password-session.md index 6100e483..b3f63d8a 100644 --- a/docs/examples/kotlin/account/create-email-password-session.md +++ b/docs/examples/kotlin/account/create-email-password-session.md @@ -12,5 +12,4 @@ val account = Account(client) val result = account.createEmailPasswordSession( email = "email@example.com", password = "password", -) -``` +)``` diff --git a/docs/examples/kotlin/account/create-email-token.md b/docs/examples/kotlin/account/create-email-token.md index 01dda3d6..f78bb74e 100644 --- a/docs/examples/kotlin/account/create-email-token.md +++ b/docs/examples/kotlin/account/create-email-token.md @@ -13,5 +13,4 @@ val result = account.createEmailToken( userId = "", email = "email@example.com", phrase = false, // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/account/create-email-verification.md b/docs/examples/kotlin/account/create-email-verification.md index 2a0d00e9..3912e3b6 100644 --- a/docs/examples/kotlin/account/create-email-verification.md +++ b/docs/examples/kotlin/account/create-email-verification.md @@ -11,5 +11,4 @@ val account = Account(client) val result = account.createEmailVerification( url = "https://example.com", -) -``` +)``` diff --git a/docs/examples/kotlin/account/create-jwt.md b/docs/examples/kotlin/account/create-jwt.md index 79d7b099..d90c10e5 100644 --- a/docs/examples/kotlin/account/create-jwt.md +++ b/docs/examples/kotlin/account/create-jwt.md @@ -11,5 +11,4 @@ val account = Account(client) val result = account.createJWT( duration = 0, // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/account/create-magic-url-token.md b/docs/examples/kotlin/account/create-magic-url-token.md index 62904044..0965f214 100644 --- a/docs/examples/kotlin/account/create-magic-url-token.md +++ b/docs/examples/kotlin/account/create-magic-url-token.md @@ -14,5 +14,4 @@ val result = account.createMagicURLToken( email = "email@example.com", url = "https://example.com", // (optional) phrase = false, // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/account/create-mfa-authenticator.md b/docs/examples/kotlin/account/create-mfa-authenticator.md index 132bf749..c8f8d9a4 100644 --- a/docs/examples/kotlin/account/create-mfa-authenticator.md +++ b/docs/examples/kotlin/account/create-mfa-authenticator.md @@ -12,5 +12,4 @@ val account = Account(client) val result = account.createMFAAuthenticator( type = AuthenticatorType.TOTP, -) -``` +)``` diff --git a/docs/examples/kotlin/account/create-mfa-challenge.md b/docs/examples/kotlin/account/create-mfa-challenge.md index 92206fab..c40512dd 100644 --- a/docs/examples/kotlin/account/create-mfa-challenge.md +++ b/docs/examples/kotlin/account/create-mfa-challenge.md @@ -12,5 +12,4 @@ val account = Account(client) val result = account.createMFAChallenge( factor = AuthenticationFactor.EMAIL, -) -``` +)``` diff --git a/docs/examples/kotlin/account/create-o-auth-2-session.md b/docs/examples/kotlin/account/create-o-auth-2-session.md index cde941c7..18cb2361 100644 --- a/docs/examples/kotlin/account/create-o-auth-2-session.md +++ b/docs/examples/kotlin/account/create-o-auth-2-session.md @@ -15,5 +15,4 @@ account.createOAuth2Session( success = "https://example.com", // (optional) failure = "https://example.com", // (optional) scopes = listOf(), // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/account/create-o-auth-2-token.md b/docs/examples/kotlin/account/create-o-auth-2-token.md index 5e905649..52c0eea0 100644 --- a/docs/examples/kotlin/account/create-o-auth-2-token.md +++ b/docs/examples/kotlin/account/create-o-auth-2-token.md @@ -15,5 +15,4 @@ account.createOAuth2Token( success = "https://example.com", // (optional) failure = "https://example.com", // (optional) scopes = listOf(), // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/account/create-phone-token.md b/docs/examples/kotlin/account/create-phone-token.md index 3a61bac7..8ee75ceb 100644 --- a/docs/examples/kotlin/account/create-phone-token.md +++ b/docs/examples/kotlin/account/create-phone-token.md @@ -12,5 +12,4 @@ val account = Account(client) val result = account.createPhoneToken( userId = "", phone = "+12065550100", -) -``` +)``` diff --git a/docs/examples/kotlin/account/create-push-target.md b/docs/examples/kotlin/account/create-push-target.md index 22d64cb9..b4641017 100644 --- a/docs/examples/kotlin/account/create-push-target.md +++ b/docs/examples/kotlin/account/create-push-target.md @@ -13,5 +13,4 @@ val result = account.createPushTarget( targetId = "", identifier = "", providerId = "", // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/account/create-recovery.md b/docs/examples/kotlin/account/create-recovery.md index 1a89cccc..e8448a61 100644 --- a/docs/examples/kotlin/account/create-recovery.md +++ b/docs/examples/kotlin/account/create-recovery.md @@ -12,5 +12,4 @@ val account = Account(client) val result = account.createRecovery( email = "email@example.com", url = "https://example.com", -) -``` +)``` diff --git a/docs/examples/kotlin/account/create-session.md b/docs/examples/kotlin/account/create-session.md index b86495cf..e5273ce9 100644 --- a/docs/examples/kotlin/account/create-session.md +++ b/docs/examples/kotlin/account/create-session.md @@ -12,5 +12,4 @@ val account = Account(client) val result = account.createSession( userId = "", secret = "", -) -``` +)``` diff --git a/docs/examples/kotlin/account/create-verification.md b/docs/examples/kotlin/account/create-verification.md index d8ad1bc5..4f39b39a 100644 --- a/docs/examples/kotlin/account/create-verification.md +++ b/docs/examples/kotlin/account/create-verification.md @@ -11,5 +11,4 @@ val account = Account(client) val result = account.createVerification( url = "https://example.com", -) -``` +)``` diff --git a/docs/examples/kotlin/account/create.md b/docs/examples/kotlin/account/create.md index 9f80913a..fccaf308 100644 --- a/docs/examples/kotlin/account/create.md +++ b/docs/examples/kotlin/account/create.md @@ -14,5 +14,4 @@ val result = account.create( email = "email@example.com", password = "", name = "", // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/account/delete-identity.md b/docs/examples/kotlin/account/delete-identity.md index 7efc1d7c..fc3aba69 100644 --- a/docs/examples/kotlin/account/delete-identity.md +++ b/docs/examples/kotlin/account/delete-identity.md @@ -11,5 +11,4 @@ val account = Account(client) val result = account.deleteIdentity( identityId = "", -) -``` +)``` diff --git a/docs/examples/kotlin/account/delete-mfa-authenticator.md b/docs/examples/kotlin/account/delete-mfa-authenticator.md index 77a68a07..0f453183 100644 --- a/docs/examples/kotlin/account/delete-mfa-authenticator.md +++ b/docs/examples/kotlin/account/delete-mfa-authenticator.md @@ -12,5 +12,4 @@ val account = Account(client) val result = account.deleteMFAAuthenticator( type = AuthenticatorType.TOTP, -) -``` +)``` diff --git a/docs/examples/kotlin/account/delete-push-target.md b/docs/examples/kotlin/account/delete-push-target.md index 6fce7b7c..49e33bb3 100644 --- a/docs/examples/kotlin/account/delete-push-target.md +++ b/docs/examples/kotlin/account/delete-push-target.md @@ -11,5 +11,4 @@ val account = Account(client) val result = account.deletePushTarget( targetId = "", -) -``` +)``` diff --git a/docs/examples/kotlin/account/delete-session.md b/docs/examples/kotlin/account/delete-session.md index de938117..91013ce9 100644 --- a/docs/examples/kotlin/account/delete-session.md +++ b/docs/examples/kotlin/account/delete-session.md @@ -11,5 +11,4 @@ val account = Account(client) val result = account.deleteSession( sessionId = "", -) -``` +)``` diff --git a/docs/examples/kotlin/account/get-session.md b/docs/examples/kotlin/account/get-session.md index 29bac94c..fbf7f104 100644 --- a/docs/examples/kotlin/account/get-session.md +++ b/docs/examples/kotlin/account/get-session.md @@ -11,5 +11,4 @@ val account = Account(client) val result = account.getSession( sessionId = "", -) -``` +)``` diff --git a/docs/examples/kotlin/account/list-identities.md b/docs/examples/kotlin/account/list-identities.md index 9037c0e6..0ca7466d 100644 --- a/docs/examples/kotlin/account/list-identities.md +++ b/docs/examples/kotlin/account/list-identities.md @@ -12,5 +12,4 @@ val account = Account(client) val result = account.listIdentities( queries = listOf(), // (optional) total = false, // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/account/list-logs.md b/docs/examples/kotlin/account/list-logs.md index 0bccbf25..ce425646 100644 --- a/docs/examples/kotlin/account/list-logs.md +++ b/docs/examples/kotlin/account/list-logs.md @@ -12,5 +12,4 @@ val account = Account(client) val result = account.listLogs( queries = listOf(), // (optional) total = false, // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/account/update-email-verification.md b/docs/examples/kotlin/account/update-email-verification.md index cfc5d671..a2555642 100644 --- a/docs/examples/kotlin/account/update-email-verification.md +++ b/docs/examples/kotlin/account/update-email-verification.md @@ -12,5 +12,4 @@ val account = Account(client) val result = account.updateEmailVerification( userId = "", secret = "", -) -``` +)``` diff --git a/docs/examples/kotlin/account/update-email.md b/docs/examples/kotlin/account/update-email.md index dc4bcbf3..ff80d07a 100644 --- a/docs/examples/kotlin/account/update-email.md +++ b/docs/examples/kotlin/account/update-email.md @@ -12,5 +12,4 @@ val account = Account(client) val result = account.updateEmail( email = "email@example.com", password = "password", -) -``` +)``` diff --git a/docs/examples/kotlin/account/update-magic-url-session.md b/docs/examples/kotlin/account/update-magic-url-session.md index d943ac6a..c00fbd12 100644 --- a/docs/examples/kotlin/account/update-magic-url-session.md +++ b/docs/examples/kotlin/account/update-magic-url-session.md @@ -12,5 +12,4 @@ val account = Account(client) val result = account.updateMagicURLSession( userId = "", secret = "", -) -``` +)``` diff --git a/docs/examples/kotlin/account/update-mfa-authenticator.md b/docs/examples/kotlin/account/update-mfa-authenticator.md index 9befabe9..26958a49 100644 --- a/docs/examples/kotlin/account/update-mfa-authenticator.md +++ b/docs/examples/kotlin/account/update-mfa-authenticator.md @@ -13,5 +13,4 @@ val account = Account(client) val result = account.updateMFAAuthenticator( type = AuthenticatorType.TOTP, otp = "", -) -``` +)``` diff --git a/docs/examples/kotlin/account/update-mfa-challenge.md b/docs/examples/kotlin/account/update-mfa-challenge.md index 6f2e99c0..d48e0c22 100644 --- a/docs/examples/kotlin/account/update-mfa-challenge.md +++ b/docs/examples/kotlin/account/update-mfa-challenge.md @@ -12,5 +12,4 @@ val account = Account(client) val result = account.updateMFAChallenge( challengeId = "", otp = "", -) -``` +)``` diff --git a/docs/examples/kotlin/account/update-mfa.md b/docs/examples/kotlin/account/update-mfa.md index 6acd1e70..246bfe18 100644 --- a/docs/examples/kotlin/account/update-mfa.md +++ b/docs/examples/kotlin/account/update-mfa.md @@ -11,5 +11,4 @@ val account = Account(client) val result = account.updateMFA( mfa = false, -) -``` +)``` diff --git a/docs/examples/kotlin/account/update-name.md b/docs/examples/kotlin/account/update-name.md index ed40f240..1ada95aa 100644 --- a/docs/examples/kotlin/account/update-name.md +++ b/docs/examples/kotlin/account/update-name.md @@ -11,5 +11,4 @@ val account = Account(client) val result = account.updateName( name = "", -) -``` +)``` diff --git a/docs/examples/kotlin/account/update-password.md b/docs/examples/kotlin/account/update-password.md index ce9ae904..473cd1bf 100644 --- a/docs/examples/kotlin/account/update-password.md +++ b/docs/examples/kotlin/account/update-password.md @@ -12,5 +12,4 @@ val account = Account(client) val result = account.updatePassword( password = "", oldPassword = "password", // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/account/update-phone-session.md b/docs/examples/kotlin/account/update-phone-session.md index ea5f25b5..0788763a 100644 --- a/docs/examples/kotlin/account/update-phone-session.md +++ b/docs/examples/kotlin/account/update-phone-session.md @@ -12,5 +12,4 @@ val account = Account(client) val result = account.updatePhoneSession( userId = "", secret = "", -) -``` +)``` diff --git a/docs/examples/kotlin/account/update-phone-verification.md b/docs/examples/kotlin/account/update-phone-verification.md index c68d213a..36abe384 100644 --- a/docs/examples/kotlin/account/update-phone-verification.md +++ b/docs/examples/kotlin/account/update-phone-verification.md @@ -12,5 +12,4 @@ val account = Account(client) val result = account.updatePhoneVerification( userId = "", secret = "", -) -``` +)``` diff --git a/docs/examples/kotlin/account/update-phone.md b/docs/examples/kotlin/account/update-phone.md index b7e669b0..078851d3 100644 --- a/docs/examples/kotlin/account/update-phone.md +++ b/docs/examples/kotlin/account/update-phone.md @@ -12,5 +12,4 @@ val account = Account(client) val result = account.updatePhone( phone = "+12065550100", password = "password", -) -``` +)``` diff --git a/docs/examples/kotlin/account/update-prefs.md b/docs/examples/kotlin/account/update-prefs.md index 4444fb96..5c3b6911 100644 --- a/docs/examples/kotlin/account/update-prefs.md +++ b/docs/examples/kotlin/account/update-prefs.md @@ -15,5 +15,4 @@ val result = account.updatePrefs( "timezone" to "UTC", "darkTheme" to true ), -) -``` +)``` diff --git a/docs/examples/kotlin/account/update-push-target.md b/docs/examples/kotlin/account/update-push-target.md index 0e16e2fe..3e4abbdb 100644 --- a/docs/examples/kotlin/account/update-push-target.md +++ b/docs/examples/kotlin/account/update-push-target.md @@ -12,5 +12,4 @@ val account = Account(client) val result = account.updatePushTarget( targetId = "", identifier = "", -) -``` +)``` diff --git a/docs/examples/kotlin/account/update-recovery.md b/docs/examples/kotlin/account/update-recovery.md index 8e16074e..5dcb265f 100644 --- a/docs/examples/kotlin/account/update-recovery.md +++ b/docs/examples/kotlin/account/update-recovery.md @@ -13,5 +13,4 @@ val result = account.updateRecovery( userId = "", secret = "", password = "", -) -``` +)``` diff --git a/docs/examples/kotlin/account/update-session.md b/docs/examples/kotlin/account/update-session.md index b29ece55..343c673a 100644 --- a/docs/examples/kotlin/account/update-session.md +++ b/docs/examples/kotlin/account/update-session.md @@ -11,5 +11,4 @@ val account = Account(client) val result = account.updateSession( sessionId = "", -) -``` +)``` diff --git a/docs/examples/kotlin/account/update-verification.md b/docs/examples/kotlin/account/update-verification.md index 1c4af79e..34a118c6 100644 --- a/docs/examples/kotlin/account/update-verification.md +++ b/docs/examples/kotlin/account/update-verification.md @@ -12,5 +12,4 @@ val account = Account(client) val result = account.updateVerification( userId = "", secret = "", -) -``` +)``` diff --git a/docs/examples/kotlin/avatars/get-browser.md b/docs/examples/kotlin/avatars/get-browser.md index 7c32ad2d..3ac128eb 100644 --- a/docs/examples/kotlin/avatars/get-browser.md +++ b/docs/examples/kotlin/avatars/get-browser.md @@ -15,5 +15,4 @@ val result = avatars.getBrowser( width = 0, // (optional) height = 0, // (optional) quality = -1, // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/avatars/get-credit-card.md b/docs/examples/kotlin/avatars/get-credit-card.md index 54244acc..b61670bf 100644 --- a/docs/examples/kotlin/avatars/get-credit-card.md +++ b/docs/examples/kotlin/avatars/get-credit-card.md @@ -15,5 +15,4 @@ val result = avatars.getCreditCard( width = 0, // (optional) height = 0, // (optional) quality = -1, // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/avatars/get-favicon.md b/docs/examples/kotlin/avatars/get-favicon.md index d55a0b42..71a798c7 100644 --- a/docs/examples/kotlin/avatars/get-favicon.md +++ b/docs/examples/kotlin/avatars/get-favicon.md @@ -11,5 +11,4 @@ val avatars = Avatars(client) val result = avatars.getFavicon( url = "https://example.com", -) -``` +)``` diff --git a/docs/examples/kotlin/avatars/get-flag.md b/docs/examples/kotlin/avatars/get-flag.md index c03ccb3f..097143c4 100644 --- a/docs/examples/kotlin/avatars/get-flag.md +++ b/docs/examples/kotlin/avatars/get-flag.md @@ -15,5 +15,4 @@ val result = avatars.getFlag( width = 0, // (optional) height = 0, // (optional) quality = -1, // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/avatars/get-image.md b/docs/examples/kotlin/avatars/get-image.md index 4e22185d..f2d01c19 100644 --- a/docs/examples/kotlin/avatars/get-image.md +++ b/docs/examples/kotlin/avatars/get-image.md @@ -13,5 +13,4 @@ val result = avatars.getImage( url = "https://example.com", width = 0, // (optional) height = 0, // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/avatars/get-initials.md b/docs/examples/kotlin/avatars/get-initials.md index 1cb76a18..d689eace 100644 --- a/docs/examples/kotlin/avatars/get-initials.md +++ b/docs/examples/kotlin/avatars/get-initials.md @@ -14,5 +14,4 @@ val result = avatars.getInitials( width = 0, // (optional) height = 0, // (optional) background = "", // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/avatars/get-qr.md b/docs/examples/kotlin/avatars/get-qr.md index e962ef30..4dca2bba 100644 --- a/docs/examples/kotlin/avatars/get-qr.md +++ b/docs/examples/kotlin/avatars/get-qr.md @@ -14,5 +14,4 @@ val result = avatars.getQR( size = 1, // (optional) margin = 0, // (optional) download = false, // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/avatars/get-screenshot.md b/docs/examples/kotlin/avatars/get-screenshot.md index 94551fdb..1cc4ef25 100644 --- a/docs/examples/kotlin/avatars/get-screenshot.md +++ b/docs/examples/kotlin/avatars/get-screenshot.md @@ -37,5 +37,4 @@ val result = avatars.getScreenshot( height = 600, // (optional) quality = 85, // (optional) output = ImageFormat.JPG, // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/databases/create-document.md b/docs/examples/kotlin/databases/create-document.md index 7105df5c..5f4aa352 100644 --- a/docs/examples/kotlin/databases/create-document.md +++ b/docs/examples/kotlin/databases/create-document.md @@ -24,5 +24,4 @@ val result = databases.createDocument( ), permissions = listOf(Permission.read(Role.any())), // (optional) transactionId = "", // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/databases/create-operations.md b/docs/examples/kotlin/databases/create-operations.md index 3bd7ae5d..a988c08c 100644 --- a/docs/examples/kotlin/databases/create-operations.md +++ b/docs/examples/kotlin/databases/create-operations.md @@ -20,5 +20,4 @@ val result = databases.createOperations( "name" to "Walter O'Brien" ) )), // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/databases/create-transaction.md b/docs/examples/kotlin/databases/create-transaction.md index 59a3c12f..dd61947f 100644 --- a/docs/examples/kotlin/databases/create-transaction.md +++ b/docs/examples/kotlin/databases/create-transaction.md @@ -11,5 +11,4 @@ val databases = Databases(client) val result = databases.createTransaction( ttl = 60, // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/databases/decrement-document-attribute.md b/docs/examples/kotlin/databases/decrement-document-attribute.md index 9ca780fd..8b9cb078 100644 --- a/docs/examples/kotlin/databases/decrement-document-attribute.md +++ b/docs/examples/kotlin/databases/decrement-document-attribute.md @@ -17,5 +17,4 @@ val result = databases.decrementDocumentAttribute( value = 0, // (optional) min = 0, // (optional) transactionId = "", // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/databases/delete-document.md b/docs/examples/kotlin/databases/delete-document.md index c31bdb9f..99e40c19 100644 --- a/docs/examples/kotlin/databases/delete-document.md +++ b/docs/examples/kotlin/databases/delete-document.md @@ -14,5 +14,4 @@ val result = databases.deleteDocument( collectionId = "", documentId = "", transactionId = "", // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/databases/delete-transaction.md b/docs/examples/kotlin/databases/delete-transaction.md index 101bd8cd..302c3644 100644 --- a/docs/examples/kotlin/databases/delete-transaction.md +++ b/docs/examples/kotlin/databases/delete-transaction.md @@ -11,5 +11,4 @@ val databases = Databases(client) val result = databases.deleteTransaction( transactionId = "", -) -``` +)``` diff --git a/docs/examples/kotlin/databases/get-document.md b/docs/examples/kotlin/databases/get-document.md index 5c54be0c..9bae4190 100644 --- a/docs/examples/kotlin/databases/get-document.md +++ b/docs/examples/kotlin/databases/get-document.md @@ -15,5 +15,4 @@ val result = databases.getDocument( documentId = "", queries = listOf(), // (optional) transactionId = "", // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/databases/get-transaction.md b/docs/examples/kotlin/databases/get-transaction.md index 2f08ad61..25249ecd 100644 --- a/docs/examples/kotlin/databases/get-transaction.md +++ b/docs/examples/kotlin/databases/get-transaction.md @@ -11,5 +11,4 @@ val databases = Databases(client) val result = databases.getTransaction( transactionId = "", -) -``` +)``` diff --git a/docs/examples/kotlin/databases/increment-document-attribute.md b/docs/examples/kotlin/databases/increment-document-attribute.md index 20afc996..78c311e6 100644 --- a/docs/examples/kotlin/databases/increment-document-attribute.md +++ b/docs/examples/kotlin/databases/increment-document-attribute.md @@ -17,5 +17,4 @@ val result = databases.incrementDocumentAttribute( value = 0, // (optional) max = 0, // (optional) transactionId = "", // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/databases/list-documents.md b/docs/examples/kotlin/databases/list-documents.md index 485ce792..dc086332 100644 --- a/docs/examples/kotlin/databases/list-documents.md +++ b/docs/examples/kotlin/databases/list-documents.md @@ -15,5 +15,4 @@ val result = databases.listDocuments( queries = listOf(), // (optional) transactionId = "", // (optional) total = false, // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/databases/list-transactions.md b/docs/examples/kotlin/databases/list-transactions.md index 3cabd79f..43e0aba5 100644 --- a/docs/examples/kotlin/databases/list-transactions.md +++ b/docs/examples/kotlin/databases/list-transactions.md @@ -11,5 +11,4 @@ val databases = Databases(client) val result = databases.listTransactions( queries = listOf(), // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/databases/update-document.md b/docs/examples/kotlin/databases/update-document.md index 5c8a5e31..585ae4c0 100644 --- a/docs/examples/kotlin/databases/update-document.md +++ b/docs/examples/kotlin/databases/update-document.md @@ -24,5 +24,4 @@ val result = databases.updateDocument( ), // (optional) permissions = listOf(Permission.read(Role.any())), // (optional) transactionId = "", // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/databases/update-transaction.md b/docs/examples/kotlin/databases/update-transaction.md index 88360b27..c2e38aea 100644 --- a/docs/examples/kotlin/databases/update-transaction.md +++ b/docs/examples/kotlin/databases/update-transaction.md @@ -13,5 +13,4 @@ val result = databases.updateTransaction( transactionId = "", commit = false, // (optional) rollback = false, // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/databases/upsert-document.md b/docs/examples/kotlin/databases/upsert-document.md index edecb863..d591f22a 100644 --- a/docs/examples/kotlin/databases/upsert-document.md +++ b/docs/examples/kotlin/databases/upsert-document.md @@ -24,5 +24,4 @@ val result = databases.upsertDocument( ), // (optional) permissions = listOf(Permission.read(Role.any())), // (optional) transactionId = "", // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/functions/create-execution.md b/docs/examples/kotlin/functions/create-execution.md index 13654e65..5037cab5 100644 --- a/docs/examples/kotlin/functions/create-execution.md +++ b/docs/examples/kotlin/functions/create-execution.md @@ -18,5 +18,4 @@ val result = functions.createExecution( method = ExecutionMethod.GET, // (optional) headers = mapOf( "a" to "b" ), // (optional) scheduledAt = "", // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/functions/get-execution.md b/docs/examples/kotlin/functions/get-execution.md index c092909e..e39fb7e8 100644 --- a/docs/examples/kotlin/functions/get-execution.md +++ b/docs/examples/kotlin/functions/get-execution.md @@ -12,5 +12,4 @@ val functions = Functions(client) val result = functions.getExecution( functionId = "", executionId = "", -) -``` +)``` diff --git a/docs/examples/kotlin/functions/list-executions.md b/docs/examples/kotlin/functions/list-executions.md index 5fb16f85..9d2b0591 100644 --- a/docs/examples/kotlin/functions/list-executions.md +++ b/docs/examples/kotlin/functions/list-executions.md @@ -13,5 +13,4 @@ val result = functions.listExecutions( functionId = "", queries = listOf(), // (optional) total = false, // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/graphql/mutation.md b/docs/examples/kotlin/graphql/mutation.md index 0cdb78e6..c95aaca2 100644 --- a/docs/examples/kotlin/graphql/mutation.md +++ b/docs/examples/kotlin/graphql/mutation.md @@ -11,5 +11,4 @@ val graphql = Graphql(client) val result = graphql.mutation( query = mapOf( "a" to "b" ), -) -``` +)``` diff --git a/docs/examples/kotlin/graphql/query.md b/docs/examples/kotlin/graphql/query.md index 3359822a..24e2f587 100644 --- a/docs/examples/kotlin/graphql/query.md +++ b/docs/examples/kotlin/graphql/query.md @@ -11,5 +11,4 @@ val graphql = Graphql(client) val result = graphql.query( query = mapOf( "a" to "b" ), -) -``` +)``` diff --git a/docs/examples/kotlin/messaging/create-subscriber.md b/docs/examples/kotlin/messaging/create-subscriber.md index 09c28349..97dc3f62 100644 --- a/docs/examples/kotlin/messaging/create-subscriber.md +++ b/docs/examples/kotlin/messaging/create-subscriber.md @@ -13,5 +13,4 @@ val result = messaging.createSubscriber( topicId = "", subscriberId = "", targetId = "", -) -``` +)``` diff --git a/docs/examples/kotlin/messaging/delete-subscriber.md b/docs/examples/kotlin/messaging/delete-subscriber.md index 7247e129..ffa27b8a 100644 --- a/docs/examples/kotlin/messaging/delete-subscriber.md +++ b/docs/examples/kotlin/messaging/delete-subscriber.md @@ -12,5 +12,4 @@ val messaging = Messaging(client) val result = messaging.deleteSubscriber( topicId = "", subscriberId = "", -) -``` +)``` diff --git a/docs/examples/kotlin/storage/create-file.md b/docs/examples/kotlin/storage/create-file.md index df33a5a2..ece44db5 100644 --- a/docs/examples/kotlin/storage/create-file.md +++ b/docs/examples/kotlin/storage/create-file.md @@ -17,5 +17,4 @@ val result = storage.createFile( fileId = "", file = InputFile.fromPath("file.png"), permissions = listOf(Permission.read(Role.any())), // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/storage/delete-file.md b/docs/examples/kotlin/storage/delete-file.md index 831ea2b2..6f498896 100644 --- a/docs/examples/kotlin/storage/delete-file.md +++ b/docs/examples/kotlin/storage/delete-file.md @@ -12,5 +12,4 @@ val storage = Storage(client) val result = storage.deleteFile( bucketId = "", fileId = "", -) -``` +)``` diff --git a/docs/examples/kotlin/storage/get-file-download.md b/docs/examples/kotlin/storage/get-file-download.md index d60b5fa4..3895ab07 100644 --- a/docs/examples/kotlin/storage/get-file-download.md +++ b/docs/examples/kotlin/storage/get-file-download.md @@ -13,5 +13,4 @@ val result = storage.getFileDownload( bucketId = "", fileId = "", token = "", // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/storage/get-file-preview.md b/docs/examples/kotlin/storage/get-file-preview.md index 2bb8cffd..6abf988b 100644 --- a/docs/examples/kotlin/storage/get-file-preview.md +++ b/docs/examples/kotlin/storage/get-file-preview.md @@ -26,5 +26,4 @@ val result = storage.getFilePreview( background = "", // (optional) output = ImageFormat.JPG, // (optional) token = "", // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/storage/get-file-view.md b/docs/examples/kotlin/storage/get-file-view.md index 6e6e77f4..d7adaf15 100644 --- a/docs/examples/kotlin/storage/get-file-view.md +++ b/docs/examples/kotlin/storage/get-file-view.md @@ -13,5 +13,4 @@ val result = storage.getFileView( bucketId = "", fileId = "", token = "", // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/storage/get-file.md b/docs/examples/kotlin/storage/get-file.md index ac456abf..b5ab55a8 100644 --- a/docs/examples/kotlin/storage/get-file.md +++ b/docs/examples/kotlin/storage/get-file.md @@ -12,5 +12,4 @@ val storage = Storage(client) val result = storage.getFile( bucketId = "", fileId = "", -) -``` +)``` diff --git a/docs/examples/kotlin/storage/list-files.md b/docs/examples/kotlin/storage/list-files.md index 7ad2ebee..ee04acb0 100644 --- a/docs/examples/kotlin/storage/list-files.md +++ b/docs/examples/kotlin/storage/list-files.md @@ -14,5 +14,4 @@ val result = storage.listFiles( queries = listOf(), // (optional) search = "", // (optional) total = false, // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/storage/update-file.md b/docs/examples/kotlin/storage/update-file.md index 532c815b..23147c03 100644 --- a/docs/examples/kotlin/storage/update-file.md +++ b/docs/examples/kotlin/storage/update-file.md @@ -16,5 +16,4 @@ val result = storage.updateFile( fileId = "", name = "", // (optional) permissions = listOf(Permission.read(Role.any())), // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/tablesdb/create-operations.md b/docs/examples/kotlin/tablesdb/create-operations.md index 93c32c54..da84d33a 100644 --- a/docs/examples/kotlin/tablesdb/create-operations.md +++ b/docs/examples/kotlin/tablesdb/create-operations.md @@ -20,5 +20,4 @@ val result = tablesDB.createOperations( "name" to "Walter O'Brien" ) )), // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/tablesdb/create-row.md b/docs/examples/kotlin/tablesdb/create-row.md index e6e75051..c1ecee4a 100644 --- a/docs/examples/kotlin/tablesdb/create-row.md +++ b/docs/examples/kotlin/tablesdb/create-row.md @@ -24,5 +24,4 @@ val result = tablesDB.createRow( ), permissions = listOf(Permission.read(Role.any())), // (optional) transactionId = "", // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/tablesdb/create-transaction.md b/docs/examples/kotlin/tablesdb/create-transaction.md index dcf640c3..4b5148eb 100644 --- a/docs/examples/kotlin/tablesdb/create-transaction.md +++ b/docs/examples/kotlin/tablesdb/create-transaction.md @@ -11,5 +11,4 @@ val tablesDB = TablesDB(client) val result = tablesDB.createTransaction( ttl = 60, // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/tablesdb/decrement-row-column.md b/docs/examples/kotlin/tablesdb/decrement-row-column.md index 848eea97..e9c95ebd 100644 --- a/docs/examples/kotlin/tablesdb/decrement-row-column.md +++ b/docs/examples/kotlin/tablesdb/decrement-row-column.md @@ -17,5 +17,4 @@ val result = tablesDB.decrementRowColumn( value = 0, // (optional) min = 0, // (optional) transactionId = "", // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/tablesdb/delete-row.md b/docs/examples/kotlin/tablesdb/delete-row.md index 976a7f88..60796eb5 100644 --- a/docs/examples/kotlin/tablesdb/delete-row.md +++ b/docs/examples/kotlin/tablesdb/delete-row.md @@ -14,5 +14,4 @@ val result = tablesDB.deleteRow( tableId = "", rowId = "", transactionId = "", // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/tablesdb/delete-transaction.md b/docs/examples/kotlin/tablesdb/delete-transaction.md index d3237744..8186037e 100644 --- a/docs/examples/kotlin/tablesdb/delete-transaction.md +++ b/docs/examples/kotlin/tablesdb/delete-transaction.md @@ -11,5 +11,4 @@ val tablesDB = TablesDB(client) val result = tablesDB.deleteTransaction( transactionId = "", -) -``` +)``` diff --git a/docs/examples/kotlin/tablesdb/get-row.md b/docs/examples/kotlin/tablesdb/get-row.md index e40856a3..52d50523 100644 --- a/docs/examples/kotlin/tablesdb/get-row.md +++ b/docs/examples/kotlin/tablesdb/get-row.md @@ -15,5 +15,4 @@ val result = tablesDB.getRow( rowId = "", queries = listOf(), // (optional) transactionId = "", // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/tablesdb/get-transaction.md b/docs/examples/kotlin/tablesdb/get-transaction.md index fd0e5ee6..94a4deb5 100644 --- a/docs/examples/kotlin/tablesdb/get-transaction.md +++ b/docs/examples/kotlin/tablesdb/get-transaction.md @@ -11,5 +11,4 @@ val tablesDB = TablesDB(client) val result = tablesDB.getTransaction( transactionId = "", -) -``` +)``` diff --git a/docs/examples/kotlin/tablesdb/increment-row-column.md b/docs/examples/kotlin/tablesdb/increment-row-column.md index 85c03791..7820d260 100644 --- a/docs/examples/kotlin/tablesdb/increment-row-column.md +++ b/docs/examples/kotlin/tablesdb/increment-row-column.md @@ -17,5 +17,4 @@ val result = tablesDB.incrementRowColumn( value = 0, // (optional) max = 0, // (optional) transactionId = "", // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/tablesdb/list-rows.md b/docs/examples/kotlin/tablesdb/list-rows.md index 9957a86f..b6a54684 100644 --- a/docs/examples/kotlin/tablesdb/list-rows.md +++ b/docs/examples/kotlin/tablesdb/list-rows.md @@ -15,5 +15,4 @@ val result = tablesDB.listRows( queries = listOf(), // (optional) transactionId = "", // (optional) total = false, // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/tablesdb/list-transactions.md b/docs/examples/kotlin/tablesdb/list-transactions.md index 03c9d5b4..44c824e7 100644 --- a/docs/examples/kotlin/tablesdb/list-transactions.md +++ b/docs/examples/kotlin/tablesdb/list-transactions.md @@ -11,5 +11,4 @@ val tablesDB = TablesDB(client) val result = tablesDB.listTransactions( queries = listOf(), // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/tablesdb/update-row.md b/docs/examples/kotlin/tablesdb/update-row.md index fcba331b..01a8d8c1 100644 --- a/docs/examples/kotlin/tablesdb/update-row.md +++ b/docs/examples/kotlin/tablesdb/update-row.md @@ -24,5 +24,4 @@ val result = tablesDB.updateRow( ), // (optional) permissions = listOf(Permission.read(Role.any())), // (optional) transactionId = "", // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/tablesdb/update-transaction.md b/docs/examples/kotlin/tablesdb/update-transaction.md index 4843e5b7..98c0b816 100644 --- a/docs/examples/kotlin/tablesdb/update-transaction.md +++ b/docs/examples/kotlin/tablesdb/update-transaction.md @@ -13,5 +13,4 @@ val result = tablesDB.updateTransaction( transactionId = "", commit = false, // (optional) rollback = false, // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/tablesdb/upsert-row.md b/docs/examples/kotlin/tablesdb/upsert-row.md index d0b52793..aa3862d4 100644 --- a/docs/examples/kotlin/tablesdb/upsert-row.md +++ b/docs/examples/kotlin/tablesdb/upsert-row.md @@ -24,5 +24,4 @@ val result = tablesDB.upsertRow( ), // (optional) permissions = listOf(Permission.read(Role.any())), // (optional) transactionId = "", // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/teams/create-membership.md b/docs/examples/kotlin/teams/create-membership.md index e5289e64..5adfe4ea 100644 --- a/docs/examples/kotlin/teams/create-membership.md +++ b/docs/examples/kotlin/teams/create-membership.md @@ -17,5 +17,4 @@ val result = teams.createMembership( phone = "+12065550100", // (optional) url = "https://example.com", // (optional) name = "", // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/teams/create.md b/docs/examples/kotlin/teams/create.md index 7b4bfcbc..3249279c 100644 --- a/docs/examples/kotlin/teams/create.md +++ b/docs/examples/kotlin/teams/create.md @@ -13,5 +13,4 @@ val result = teams.create( teamId = "", name = "", roles = listOf(), // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/teams/delete-membership.md b/docs/examples/kotlin/teams/delete-membership.md index 4c1cebea..731e954f 100644 --- a/docs/examples/kotlin/teams/delete-membership.md +++ b/docs/examples/kotlin/teams/delete-membership.md @@ -12,5 +12,4 @@ val teams = Teams(client) val result = teams.deleteMembership( teamId = "", membershipId = "", -) -``` +)``` diff --git a/docs/examples/kotlin/teams/delete.md b/docs/examples/kotlin/teams/delete.md index 03f319f8..614ebf11 100644 --- a/docs/examples/kotlin/teams/delete.md +++ b/docs/examples/kotlin/teams/delete.md @@ -11,5 +11,4 @@ val teams = Teams(client) val result = teams.delete( teamId = "", -) -``` +)``` diff --git a/docs/examples/kotlin/teams/get-membership.md b/docs/examples/kotlin/teams/get-membership.md index cc85d6fb..bee60e9e 100644 --- a/docs/examples/kotlin/teams/get-membership.md +++ b/docs/examples/kotlin/teams/get-membership.md @@ -12,5 +12,4 @@ val teams = Teams(client) val result = teams.getMembership( teamId = "", membershipId = "", -) -``` +)``` diff --git a/docs/examples/kotlin/teams/get-prefs.md b/docs/examples/kotlin/teams/get-prefs.md index 3fa7fb3f..4f01527b 100644 --- a/docs/examples/kotlin/teams/get-prefs.md +++ b/docs/examples/kotlin/teams/get-prefs.md @@ -11,5 +11,4 @@ val teams = Teams(client) val result = teams.getPrefs( teamId = "", -) -``` +)``` diff --git a/docs/examples/kotlin/teams/get.md b/docs/examples/kotlin/teams/get.md index a01167ca..7248a02a 100644 --- a/docs/examples/kotlin/teams/get.md +++ b/docs/examples/kotlin/teams/get.md @@ -11,5 +11,4 @@ val teams = Teams(client) val result = teams.get( teamId = "", -) -``` +)``` diff --git a/docs/examples/kotlin/teams/list-memberships.md b/docs/examples/kotlin/teams/list-memberships.md index 43819424..928f0dd7 100644 --- a/docs/examples/kotlin/teams/list-memberships.md +++ b/docs/examples/kotlin/teams/list-memberships.md @@ -14,5 +14,4 @@ val result = teams.listMemberships( queries = listOf(), // (optional) search = "", // (optional) total = false, // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/teams/list.md b/docs/examples/kotlin/teams/list.md index d38ba474..66c98cdc 100644 --- a/docs/examples/kotlin/teams/list.md +++ b/docs/examples/kotlin/teams/list.md @@ -13,5 +13,4 @@ val result = teams.list( queries = listOf(), // (optional) search = "", // (optional) total = false, // (optional) -) -``` +)``` diff --git a/docs/examples/kotlin/teams/update-membership-status.md b/docs/examples/kotlin/teams/update-membership-status.md index cc4fb2fb..53a3b264 100644 --- a/docs/examples/kotlin/teams/update-membership-status.md +++ b/docs/examples/kotlin/teams/update-membership-status.md @@ -14,5 +14,4 @@ val result = teams.updateMembershipStatus( membershipId = "", userId = "", secret = "", -) -``` +)``` diff --git a/docs/examples/kotlin/teams/update-membership.md b/docs/examples/kotlin/teams/update-membership.md index 6e721d4e..1c8b236a 100644 --- a/docs/examples/kotlin/teams/update-membership.md +++ b/docs/examples/kotlin/teams/update-membership.md @@ -13,5 +13,4 @@ val result = teams.updateMembership( teamId = "", membershipId = "", roles = listOf(), -) -``` +)``` diff --git a/docs/examples/kotlin/teams/update-name.md b/docs/examples/kotlin/teams/update-name.md index 0248d246..760a3b49 100644 --- a/docs/examples/kotlin/teams/update-name.md +++ b/docs/examples/kotlin/teams/update-name.md @@ -12,5 +12,4 @@ val teams = Teams(client) val result = teams.updateName( teamId = "", name = "", -) -``` +)``` diff --git a/docs/examples/kotlin/teams/update-prefs.md b/docs/examples/kotlin/teams/update-prefs.md index fd6e44eb..854cb2b6 100644 --- a/docs/examples/kotlin/teams/update-prefs.md +++ b/docs/examples/kotlin/teams/update-prefs.md @@ -12,5 +12,4 @@ val teams = Teams(client) val result = teams.updatePrefs( teamId = "", prefs = mapOf( "a" to "b" ), -) -``` +)``` diff --git a/library/src/main/java/io/appwrite/Channel.kt b/library/src/main/java/io/appwrite/Channel.kt index bfe4073e..17f6680b 100644 --- a/library/src/main/java/io/appwrite/Channel.kt +++ b/library/src/main/java/io/appwrite/Channel.kt @@ -88,6 +88,7 @@ class Channel private constructor( fun files(): String = "files" fun executions(): String = "executions" fun teams(): String = "teams" + fun memberships(): String = "memberships" } }