From 038290adeff27a518cd65617e90f21ca2d9be6c4 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Sat, 23 Aug 2025 22:52:20 +1200 Subject: [PATCH] Specs + doc regen --- app/config/specs/open-api3-1.8.x-client.json | 38 ++--- app/config/specs/open-api3-1.8.x-console.json | 146 +++++++++--------- app/config/specs/open-api3-1.8.x-server.json | 118 +++++++------- app/config/specs/open-api3-latest-client.json | 38 ++--- .../specs/open-api3-latest-console.json | 146 +++++++++--------- app/config/specs/open-api3-latest-server.json | 118 +++++++------- app/config/specs/swagger2-1.8.x-client.json | 38 ++--- app/config/specs/swagger2-1.8.x-console.json | 146 +++++++++--------- app/config/specs/swagger2-1.8.x-server.json | 118 +++++++------- app/config/specs/swagger2-latest-client.json | 38 ++--- app/config/specs/swagger2-latest-console.json | 146 +++++++++--------- app/config/specs/swagger2-latest-server.json | 118 +++++++------- composer.lock | 12 +- .../account/create-m-f-a-authenticator.md | 23 +++ .../java/account/create-m-f-a-challenge.md | 23 +++ .../account/create-m-f-a-recovery-codes.md | 18 +++ .../account/delete-m-f-a-authenticator.md | 23 +++ .../java/account/get-m-f-a-recovery-codes.md | 18 +++ .../java/account/list-m-f-a-factors.md | 18 +++ .../account/update-m-f-a-authenticator.md | 24 +++ .../java/account/update-m-f-a-challenge.md | 23 +++ .../account/update-m-f-a-recovery-codes.md | 18 +++ .../java/tablesdb/create-row.md | 4 +- .../java/tablesdb/decrement-row-column.md | 4 +- .../java/tablesdb/delete-row.md | 4 +- .../client-android/java/tablesdb/get-row.md | 4 +- .../java/tablesdb/increment-row-column.md | 4 +- .../client-android/java/tablesdb/list-rows.md | 4 +- .../java/tablesdb/update-row.md | 4 +- .../java/tablesdb/upsert-row.md | 4 +- .../account/create-m-f-a-authenticator.md | 14 ++ .../kotlin/account/create-m-f-a-challenge.md | 14 ++ .../account/create-m-f-a-recovery-codes.md | 11 ++ .../account/delete-m-f-a-authenticator.md | 14 ++ .../account/get-m-f-a-recovery-codes.md | 11 ++ .../kotlin/account/list-m-f-a-factors.md | 11 ++ .../account/update-m-f-a-authenticator.md | 15 ++ .../kotlin/account/update-m-f-a-challenge.md | 14 ++ .../account/update-m-f-a-recovery-codes.md | 11 ++ .../kotlin/tablesdb/create-row.md | 4 +- .../kotlin/tablesdb/decrement-row-column.md | 4 +- .../kotlin/tablesdb/delete-row.md | 4 +- .../client-android/kotlin/tablesdb/get-row.md | 4 +- .../kotlin/tablesdb/increment-row-column.md | 4 +- .../kotlin/tablesdb/list-rows.md | 4 +- .../kotlin/tablesdb/update-row.md | 4 +- .../kotlin/tablesdb/upsert-row.md | 4 +- .../account/create-m-f-a-authenticator.md | 13 ++ .../account/create-m-f-a-challenge.md | 13 ++ .../account/create-m-f-a-recovery-codes.md | 10 ++ .../account/delete-m-f-a-authenticator.md | 13 ++ .../account/get-m-f-a-recovery-codes.md | 10 ++ .../examples/account/list-m-f-a-factors.md | 10 ++ .../account/update-m-f-a-authenticator.md | 14 ++ .../account/update-m-f-a-challenge.md | 13 ++ .../account/update-m-f-a-recovery-codes.md | 10 ++ .../examples/tablesdb/create-row.md | 2 +- .../examples/tablesdb/decrement-row-column.md | 2 +- .../examples/tablesdb/delete-row.md | 2 +- .../client-apple/examples/tablesdb/get-row.md | 2 +- .../examples/tablesdb/increment-row-column.md | 2 +- .../examples/tablesdb/list-rows.md | 2 +- .../examples/tablesdb/update-row.md | 2 +- .../examples/tablesdb/upsert-row.md | 2 +- .../account/create-m-f-a-authenticator.md | 11 ++ .../account/create-m-f-a-challenge.md | 11 ++ .../account/create-m-f-a-recovery-codes.md | 9 ++ .../account/delete-m-f-a-authenticator.md | 11 ++ .../account/get-m-f-a-recovery-codes.md | 9 ++ .../examples/account/list-m-f-a-factors.md | 9 ++ .../account/update-m-f-a-authenticator.md | 12 ++ .../account/update-m-f-a-challenge.md | 12 ++ .../account/update-m-f-a-recovery-codes.md | 9 ++ .../examples/tablesdb/create-row.md | 2 +- .../examples/tablesdb/decrement-row-column.md | 2 +- .../examples/tablesdb/delete-row.md | 2 +- .../examples/tablesdb/get-row.md | 2 +- .../examples/tablesdb/increment-row-column.md | 2 +- .../examples/tablesdb/list-rows.md | 2 +- .../examples/tablesdb/update-row.md | 2 +- .../examples/tablesdb/upsert-row.md | 2 +- .../account/create-m-f-a-authenticator.md | 8 + .../account/create-m-f-a-challenge.md | 10 ++ .../account/create-m-f-a-recovery-codes.md | 5 + .../account/delete-m-f-a-authenticator.md | 7 + .../account/get-m-f-a-recovery-codes.md | 0 .../examples/account/list-m-f-a-factors.md | 0 .../account/update-m-f-a-authenticator.md | 38 +++++ .../account/update-m-f-a-challenge.md | 36 +++++ .../account/update-m-f-a-recovery-codes.md | 5 + .../examples/functions/create-execution.md | 1 + .../account/create-m-f-a-authenticator.md | 13 ++ .../account/create-m-f-a-challenge.md | 13 ++ .../account/create-m-f-a-recovery-codes.md | 11 ++ .../account/delete-m-f-a-authenticator.md | 13 ++ .../account/get-m-f-a-recovery-codes.md | 11 ++ .../examples/account/list-m-f-a-factors.md | 11 ++ .../account/update-m-f-a-authenticator.md | 14 ++ .../account/update-m-f-a-challenge.md | 14 ++ .../account/update-m-f-a-recovery-codes.md | 11 ++ .../examples/tablesdb/create-row.md | 4 +- .../examples/tablesdb/decrement-row-column.md | 4 +- .../examples/tablesdb/delete-row.md | 4 +- .../examples/tablesdb/get-row.md | 4 +- .../examples/tablesdb/increment-row-column.md | 4 +- .../examples/tablesdb/list-rows.md | 4 +- .../examples/tablesdb/update-row.md | 4 +- .../examples/tablesdb/upsert-row.md | 4 +- .../account/create-m-f-a-authenticator.md | 8 + .../account/create-m-f-a-challenge.md | 9 ++ .../account/create-m-f-a-recovery-codes.md | 8 + .../account/delete-m-f-a-authenticator.md | 8 + .../account/get-m-f-a-recovery-codes.md | 6 + .../examples/account/list-m-f-a-factors.md | 6 + .../account/update-m-f-a-authenticator.md | 11 ++ .../account/update-m-f-a-challenge.md | 12 ++ .../account/update-m-f-a-recovery-codes.md | 8 + .../account/create-m-f-a-authenticator.md | 13 ++ .../account/create-m-f-a-challenge.md | 13 ++ .../account/create-m-f-a-recovery-codes.md | 11 ++ .../account/delete-m-f-a-authenticator.md | 13 ++ .../account/get-m-f-a-recovery-codes.md | 11 ++ .../examples/account/list-m-f-a-factors.md | 11 ++ .../account/update-m-f-a-authenticator.md | 14 ++ .../account/update-m-f-a-challenge.md | 14 ++ .../account/update-m-f-a-recovery-codes.md | 11 ++ .../examples/tablesdb/create-row.md | 4 +- .../examples/tablesdb/decrement-row-column.md | 4 +- .../examples/tablesdb/delete-row.md | 4 +- .../client-web/examples/tablesdb/get-row.md | 4 +- .../examples/tablesdb/increment-row-column.md | 4 +- .../client-web/examples/tablesdb/list-rows.md | 4 +- .../examples/tablesdb/update-row.md | 4 +- .../examples/tablesdb/upsert-row.md | 4 +- .../account/create-m-f-a-authenticator.md | 2 + .../account/create-m-f-a-challenge.md | 2 + .../account/create-m-f-a-recovery-codes.md | 1 + .../account/delete-m-f-a-authenticator.md | 2 + .../account/get-m-f-a-recovery-codes.md | 1 + .../examples/account/list-m-f-a-factors.md | 1 + .../account/update-m-f-a-authenticator.md | 3 + .../account/update-m-f-a-challenge.md | 3 + .../account/update-m-f-a-recovery-codes.md | 1 + .../messaging/create-a-p-n-s-provider.md | 9 ++ .../messaging/create-f-c-m-provider.md | 5 + .../examples/messaging/create-s-m-s.md | 8 + .../messaging/create-s-m-t-p-provider.md | 15 ++ .../messaging/update-a-p-n-s-provider.md | 9 ++ .../messaging/update-f-c-m-provider.md | 5 + .../examples/messaging/update-s-m-s.md | 8 + .../messaging/update-s-m-t-p-provider.md | 15 ++ .../examples/projects/create-s-m-t-p-test.md | 11 ++ .../projects/delete-s-m-s-template.md | 4 + .../examples/projects/get-s-m-s-template.md | 4 + .../projects/update-a-p-i-status-all.md | 3 + .../examples/projects/update-a-p-i-status.md | 4 + .../projects/update-s-m-s-template.md | 5 + .../examples/projects/update-s-m-t-p.md | 11 ++ .../users/create-m-f-a-recovery-codes.md | 2 + .../users/delete-m-f-a-authenticator.md | 3 + .../users/get-m-f-a-recovery-codes.md | 2 + .../examples/users/list-m-f-a-factors.md | 2 + .../users/update-m-f-a-recovery-codes.md | 2 + .../examples/users/update-m-f-a.md | 3 + .../account/create-m-f-a-authenticator.md | 13 ++ .../account/create-m-f-a-challenge.md | 13 ++ .../account/create-m-f-a-recovery-codes.md | 11 ++ .../account/delete-m-f-a-authenticator.md | 13 ++ .../account/get-m-f-a-recovery-codes.md | 11 ++ .../examples/account/list-m-f-a-factors.md | 11 ++ .../account/update-m-f-a-authenticator.md | 14 ++ .../account/update-m-f-a-challenge.md | 14 ++ .../account/update-m-f-a-recovery-codes.md | 11 ++ .../messaging/create-a-p-n-s-provider.md | 20 +++ .../messaging/create-f-c-m-provider.md | 16 ++ .../examples/messaging/create-s-m-s.md | 19 +++ .../messaging/create-s-m-t-p-provider.md | 26 ++++ .../messaging/update-a-p-n-s-provider.md | 20 +++ .../messaging/update-f-c-m-provider.md | 16 ++ .../examples/messaging/update-s-m-s.md | 19 +++ .../messaging/update-s-m-t-p-provider.md | 26 ++++ .../examples/projects/create-s-m-t-p-test.md | 22 +++ .../projects/delete-s-m-s-template.md | 15 ++ .../examples/projects/get-s-m-s-template.md | 15 ++ .../projects/update-a-p-i-status-all.md | 14 ++ .../examples/projects/update-a-p-i-status.md | 15 ++ .../projects/update-s-m-s-template.md | 16 ++ .../examples/projects/update-s-m-t-p.md | 22 +++ .../tablesdb/create-boolean-column.md | 4 +- .../tablesdb/create-datetime-column.md | 4 +- .../examples/tablesdb/create-email-column.md | 4 +- .../examples/tablesdb/create-enum-column.md | 4 +- .../examples/tablesdb/create-float-column.md | 4 +- .../examples/tablesdb/create-index.md | 4 +- .../tablesdb/create-integer-column.md | 4 +- .../examples/tablesdb/create-ip-column.md | 4 +- .../tablesdb/create-relationship-column.md | 4 +- .../examples/tablesdb/create-row.md | 4 +- .../examples/tablesdb/create-rows.md | 4 +- .../examples/tablesdb/create-string-column.md | 4 +- .../examples/tablesdb/create-table.md | 4 +- .../examples/tablesdb/create-url-column.md | 4 +- .../console-web/examples/tablesdb/create.md | 4 +- .../examples/tablesdb/decrement-row-column.md | 4 +- .../examples/tablesdb/delete-column.md | 4 +- .../examples/tablesdb/delete-index.md | 4 +- .../examples/tablesdb/delete-row.md | 4 +- .../examples/tablesdb/delete-rows.md | 4 +- .../examples/tablesdb/delete-table.md | 4 +- .../console-web/examples/tablesdb/delete.md | 4 +- .../examples/tablesdb/get-column.md | 4 +- .../examples/tablesdb/get-index.md | 4 +- .../console-web/examples/tablesdb/get-row.md | 4 +- .../examples/tablesdb/get-table-usage.md | 4 +- .../examples/tablesdb/get-table.md | 4 +- .../examples/tablesdb/get-usage.md | 4 +- .../console-web/examples/tablesdb/get.md | 4 +- .../examples/tablesdb/increment-row-column.md | 4 +- .../examples/tablesdb/list-columns.md | 4 +- .../examples/tablesdb/list-indexes.md | 4 +- .../examples/tablesdb/list-row-logs.md | 4 +- .../examples/tablesdb/list-rows.md | 4 +- .../examples/tablesdb/list-table-logs.md | 4 +- .../examples/tablesdb/list-tables.md | 4 +- .../examples/tablesdb/list-usage.md | 4 +- .../console-web/examples/tablesdb/list.md | 4 +- .../tablesdb/update-boolean-column.md | 4 +- .../tablesdb/update-datetime-column.md | 4 +- .../examples/tablesdb/update-email-column.md | 4 +- .../examples/tablesdb/update-enum-column.md | 4 +- .../examples/tablesdb/update-float-column.md | 4 +- .../tablesdb/update-integer-column.md | 4 +- .../examples/tablesdb/update-ip-column.md | 4 +- .../tablesdb/update-relationship-column.md | 4 +- .../examples/tablesdb/update-row.md | 4 +- .../examples/tablesdb/update-rows.md | 4 +- .../examples/tablesdb/update-string-column.md | 4 +- .../examples/tablesdb/update-table.md | 4 +- .../examples/tablesdb/update-url-column.md | 4 +- .../console-web/examples/tablesdb/update.md | 4 +- .../examples/tablesdb/upsert-row.md | 4 +- .../examples/tablesdb/upsert-rows.md | 4 +- .../users/create-m-f-a-recovery-codes.md | 13 ++ .../users/delete-m-f-a-authenticator.md | 14 ++ .../users/get-m-f-a-recovery-codes.md | 13 ++ .../examples/users/list-m-f-a-factors.md | 13 ++ .../users/update-m-f-a-recovery-codes.md | 13 ++ .../examples/users/update-m-f-a.md | 14 ++ .../account/create-m-f-a-authenticator.md | 12 ++ .../account/create-m-f-a-challenge.md | 11 ++ .../account/create-m-f-a-recovery-codes.md | 10 ++ .../account/delete-m-f-a-authenticator.md | 12 ++ .../account/get-m-f-a-recovery-codes.md | 10 ++ .../examples/account/list-m-f-a-factors.md | 10 ++ .../account/update-m-f-a-authenticator.md | 13 ++ .../account/update-m-f-a-challenge.md | 13 ++ .../account/update-m-f-a-recovery-codes.md | 10 ++ .../messaging/create-a-p-n-s-provider.md | 19 +++ .../messaging/create-f-c-m-provider.md | 15 ++ .../examples/messaging/create-s-m-s.md | 18 +++ .../messaging/create-s-m-t-p-provider.md | 25 +++ .../messaging/update-a-p-n-s-provider.md | 19 +++ .../messaging/update-f-c-m-provider.md | 15 ++ .../examples/messaging/update-s-m-s.md | 18 +++ .../messaging/update-s-m-t-p-provider.md | 25 +++ .../tablesdb/create-boolean-column.md | 2 +- .../tablesdb/create-datetime-column.md | 2 +- .../examples/tablesdb/create-email-column.md | 2 +- .../examples/tablesdb/create-enum-column.md | 2 +- .../examples/tablesdb/create-float-column.md | 2 +- .../examples/tablesdb/create-index.md | 2 +- .../tablesdb/create-integer-column.md | 2 +- .../examples/tablesdb/create-ip-column.md | 2 +- .../tablesdb/create-relationship-column.md | 2 +- .../examples/tablesdb/create-row.md | 2 +- .../examples/tablesdb/create-rows.md | 2 +- .../examples/tablesdb/create-string-column.md | 2 +- .../examples/tablesdb/create-table.md | 2 +- .../examples/tablesdb/create-url-column.md | 2 +- .../server-dart/examples/tablesdb/create.md | 2 +- .../examples/tablesdb/decrement-row-column.md | 2 +- .../examples/tablesdb/delete-column.md | 2 +- .../examples/tablesdb/delete-index.md | 2 +- .../examples/tablesdb/delete-row.md | 2 +- .../examples/tablesdb/delete-rows.md | 2 +- .../examples/tablesdb/delete-table.md | 2 +- .../server-dart/examples/tablesdb/delete.md | 2 +- .../examples/tablesdb/get-column.md | 2 +- .../examples/tablesdb/get-index.md | 2 +- .../server-dart/examples/tablesdb/get-row.md | 2 +- .../examples/tablesdb/get-table.md | 2 +- .../server-dart/examples/tablesdb/get.md | 2 +- .../examples/tablesdb/increment-row-column.md | 2 +- .../examples/tablesdb/list-columns.md | 2 +- .../examples/tablesdb/list-indexes.md | 2 +- .../examples/tablesdb/list-rows.md | 2 +- .../examples/tablesdb/list-tables.md | 2 +- .../server-dart/examples/tablesdb/list.md | 2 +- .../tablesdb/update-boolean-column.md | 2 +- .../tablesdb/update-datetime-column.md | 2 +- .../examples/tablesdb/update-email-column.md | 2 +- .../examples/tablesdb/update-enum-column.md | 2 +- .../examples/tablesdb/update-float-column.md | 2 +- .../tablesdb/update-integer-column.md | 2 +- .../examples/tablesdb/update-ip-column.md | 2 +- .../tablesdb/update-relationship-column.md | 2 +- .../examples/tablesdb/update-row.md | 2 +- .../examples/tablesdb/update-rows.md | 2 +- .../examples/tablesdb/update-string-column.md | 2 +- .../examples/tablesdb/update-table.md | 2 +- .../examples/tablesdb/update-url-column.md | 2 +- .../server-dart/examples/tablesdb/update.md | 2 +- .../examples/tablesdb/upsert-row.md | 2 +- .../examples/tablesdb/upsert-rows.md | 2 +- .../users/create-m-f-a-recovery-codes.md | 12 ++ .../users/delete-m-f-a-authenticator.md | 13 ++ .../users/get-m-f-a-recovery-codes.md | 12 ++ .../examples/users/list-m-f-a-factors.md | 12 ++ .../users/update-m-f-a-recovery-codes.md | 12 ++ .../examples/users/update-m-f-a.md | 13 ++ .../account/create-m-f-a-authenticator.md | 12 ++ .../account/create-m-f-a-challenge.md | 11 ++ .../account/create-m-f-a-recovery-codes.md | 10 ++ .../account/delete-m-f-a-authenticator.md | 12 ++ .../account/get-m-f-a-recovery-codes.md | 10 ++ .../examples/account/list-m-f-a-factors.md | 10 ++ .../account/update-m-f-a-authenticator.md | 13 ++ .../account/update-m-f-a-challenge.md | 13 ++ .../account/update-m-f-a-recovery-codes.md | 10 ++ .../messaging/create-a-p-n-s-provider.md | 19 +++ .../messaging/create-f-c-m-provider.md | 15 ++ .../examples/messaging/create-s-m-s.md | 18 +++ .../messaging/create-s-m-t-p-provider.md | 25 +++ .../messaging/update-a-p-n-s-provider.md | 19 +++ .../messaging/update-f-c-m-provider.md | 15 ++ .../examples/messaging/update-s-m-s.md | 18 +++ .../messaging/update-s-m-t-p-provider.md | 25 +++ .../tablesdb/create-boolean-column.md | 4 +- .../tablesdb/create-datetime-column.md | 4 +- .../examples/tablesdb/create-email-column.md | 4 +- .../examples/tablesdb/create-enum-column.md | 4 +- .../examples/tablesdb/create-float-column.md | 4 +- .../examples/tablesdb/create-index.md | 4 +- .../tablesdb/create-integer-column.md | 4 +- .../examples/tablesdb/create-ip-column.md | 4 +- .../tablesdb/create-relationship-column.md | 4 +- .../examples/tablesdb/create-row.md | 4 +- .../examples/tablesdb/create-rows.md | 4 +- .../examples/tablesdb/create-string-column.md | 4 +- .../examples/tablesdb/create-table.md | 4 +- .../examples/tablesdb/create-url-column.md | 4 +- .../server-deno/examples/tablesdb/create.md | 4 +- .../examples/tablesdb/decrement-row-column.md | 4 +- .../examples/tablesdb/delete-column.md | 4 +- .../examples/tablesdb/delete-index.md | 4 +- .../examples/tablesdb/delete-row.md | 4 +- .../examples/tablesdb/delete-rows.md | 4 +- .../examples/tablesdb/delete-table.md | 4 +- .../server-deno/examples/tablesdb/delete.md | 4 +- .../examples/tablesdb/get-column.md | 4 +- .../examples/tablesdb/get-index.md | 4 +- .../server-deno/examples/tablesdb/get-row.md | 4 +- .../examples/tablesdb/get-table.md | 4 +- .../server-deno/examples/tablesdb/get.md | 4 +- .../examples/tablesdb/increment-row-column.md | 4 +- .../examples/tablesdb/list-columns.md | 4 +- .../examples/tablesdb/list-indexes.md | 4 +- .../examples/tablesdb/list-rows.md | 4 +- .../examples/tablesdb/list-tables.md | 4 +- .../server-deno/examples/tablesdb/list.md | 4 +- .../tablesdb/update-boolean-column.md | 4 +- .../tablesdb/update-datetime-column.md | 4 +- .../examples/tablesdb/update-email-column.md | 4 +- .../examples/tablesdb/update-enum-column.md | 4 +- .../examples/tablesdb/update-float-column.md | 4 +- .../tablesdb/update-integer-column.md | 4 +- .../examples/tablesdb/update-ip-column.md | 4 +- .../tablesdb/update-relationship-column.md | 4 +- .../examples/tablesdb/update-row.md | 4 +- .../examples/tablesdb/update-rows.md | 4 +- .../examples/tablesdb/update-string-column.md | 4 +- .../examples/tablesdb/update-table.md | 4 +- .../examples/tablesdb/update-url-column.md | 4 +- .../server-deno/examples/tablesdb/update.md | 4 +- .../examples/tablesdb/upsert-row.md | 4 +- .../examples/tablesdb/upsert-rows.md | 4 +- .../users/create-m-f-a-recovery-codes.md | 12 ++ .../users/delete-m-f-a-authenticator.md | 13 ++ .../users/get-m-f-a-recovery-codes.md | 12 ++ .../examples/users/list-m-f-a-factors.md | 12 ++ .../users/update-m-f-a-recovery-codes.md | 12 ++ .../examples/users/update-m-f-a.md | 13 ++ .../account/create-m-f-a-authenticator.md | 15 ++ .../account/create-m-f-a-challenge.md | 14 ++ .../account/create-m-f-a-recovery-codes.md | 12 ++ .../account/delete-m-f-a-authenticator.md | 15 ++ .../account/get-m-f-a-recovery-codes.md | 12 ++ .../examples/account/list-m-f-a-factors.md | 12 ++ .../account/update-m-f-a-authenticator.md | 16 ++ .../account/update-m-f-a-challenge.md | 15 ++ .../account/update-m-f-a-recovery-codes.md | 12 ++ .../messaging/create-a-p-n-s-provider.md | 21 +++ .../messaging/create-f-c-m-provider.md | 17 ++ .../examples/messaging/create-s-m-s.md | 20 +++ .../messaging/create-s-m-t-p-provider.md | 28 ++++ .../messaging/update-a-p-n-s-provider.md | 21 +++ .../messaging/update-f-c-m-provider.md | 17 ++ .../examples/messaging/update-s-m-s.md | 20 +++ .../messaging/update-s-m-t-p-provider.md | 28 ++++ .../tablesdb/create-boolean-column.md | 2 +- .../tablesdb/create-datetime-column.md | 2 +- .../examples/tablesdb/create-email-column.md | 2 +- .../examples/tablesdb/create-enum-column.md | 2 +- .../examples/tablesdb/create-float-column.md | 2 +- .../examples/tablesdb/create-index.md | 2 +- .../tablesdb/create-integer-column.md | 2 +- .../examples/tablesdb/create-ip-column.md | 2 +- .../tablesdb/create-relationship-column.md | 2 +- .../examples/tablesdb/create-row.md | 2 +- .../examples/tablesdb/create-rows.md | 2 +- .../examples/tablesdb/create-string-column.md | 2 +- .../examples/tablesdb/create-table.md | 2 +- .../examples/tablesdb/create-url-column.md | 2 +- .../server-dotnet/examples/tablesdb/create.md | 2 +- .../examples/tablesdb/decrement-row-column.md | 2 +- .../examples/tablesdb/delete-column.md | 2 +- .../examples/tablesdb/delete-index.md | 2 +- .../examples/tablesdb/delete-row.md | 2 +- .../examples/tablesdb/delete-rows.md | 2 +- .../examples/tablesdb/delete-table.md | 2 +- .../server-dotnet/examples/tablesdb/delete.md | 2 +- .../examples/tablesdb/get-column.md | 2 +- .../examples/tablesdb/get-index.md | 2 +- .../examples/tablesdb/get-row.md | 2 +- .../examples/tablesdb/get-table.md | 2 +- .../server-dotnet/examples/tablesdb/get.md | 2 +- .../examples/tablesdb/increment-row-column.md | 2 +- .../examples/tablesdb/list-columns.md | 2 +- .../examples/tablesdb/list-indexes.md | 2 +- .../examples/tablesdb/list-rows.md | 2 +- .../examples/tablesdb/list-tables.md | 2 +- .../server-dotnet/examples/tablesdb/list.md | 2 +- .../tablesdb/update-boolean-column.md | 2 +- .../tablesdb/update-datetime-column.md | 2 +- .../examples/tablesdb/update-email-column.md | 2 +- .../examples/tablesdb/update-enum-column.md | 2 +- .../examples/tablesdb/update-float-column.md | 2 +- .../tablesdb/update-integer-column.md | 2 +- .../examples/tablesdb/update-ip-column.md | 2 +- .../tablesdb/update-relationship-column.md | 2 +- .../examples/tablesdb/update-row.md | 2 +- .../examples/tablesdb/update-rows.md | 2 +- .../examples/tablesdb/update-string-column.md | 2 +- .../examples/tablesdb/update-table.md | 2 +- .../examples/tablesdb/update-url-column.md | 2 +- .../server-dotnet/examples/tablesdb/update.md | 2 +- .../examples/tablesdb/upsert-row.md | 2 +- .../examples/tablesdb/upsert-rows.md | 2 +- .../users/create-m-f-a-recovery-codes.md | 14 ++ .../users/delete-m-f-a-authenticator.md | 16 ++ .../users/get-m-f-a-recovery-codes.md | 14 ++ .../examples/users/list-m-f-a-factors.md | 14 ++ .../users/update-m-f-a-recovery-codes.md | 14 ++ .../examples/users/update-m-f-a.md | 15 ++ .../account/create-m-f-a-authenticator.md | 26 ++++ .../account/create-m-f-a-challenge.md | 25 +++ .../account/create-m-f-a-recovery-codes.md | 25 +++ .../account/delete-m-f-a-authenticator.md | 26 ++++ .../account/get-m-f-a-recovery-codes.md | 25 +++ .../examples/account/list-m-f-a-factors.md | 25 +++ .../account/update-m-f-a-authenticator.md | 27 ++++ .../account/update-m-f-a-challenge.md | 27 ++++ .../account/update-m-f-a-recovery-codes.md | 25 +++ .../messaging/create-a-p-n-s-provider.md | 33 ++++ .../messaging/create-f-c-m-provider.md | 29 ++++ .../examples/messaging/create-s-m-s.md | 32 ++++ .../messaging/create-s-m-t-p-provider.md | 39 +++++ .../messaging/update-a-p-n-s-provider.md | 33 ++++ .../messaging/update-f-c-m-provider.md | 29 ++++ .../examples/messaging/update-s-m-s.md | 32 ++++ .../messaging/update-s-m-t-p-provider.md | 39 +++++ .../users/create-m-f-a-recovery-codes.md | 26 ++++ .../users/delete-m-f-a-authenticator.md | 27 ++++ .../users/get-m-f-a-recovery-codes.md | 26 ++++ .../examples/users/list-m-f-a-factors.md | 26 ++++ .../users/update-m-f-a-recovery-codes.md | 26 ++++ .../server-go/examples/users/update-m-f-a.md | 27 ++++ .../account/create-m-f-a-authenticator.md | 8 + .../account/create-m-f-a-challenge.md | 10 ++ .../account/create-m-f-a-recovery-codes.md | 5 + .../account/delete-m-f-a-authenticator.md | 7 + .../account/get-m-f-a-recovery-codes.md | 0 .../examples/account/list-m-f-a-factors.md | 0 .../account/update-m-f-a-authenticator.md | 38 +++++ .../account/update-m-f-a-challenge.md | 36 +++++ .../account/update-m-f-a-recovery-codes.md | 5 + .../examples/functions/create-execution.md | 1 + .../messaging/create-a-p-n-s-provider.md | 22 +++ .../messaging/create-f-c-m-provider.md | 18 +++ .../examples/messaging/create-s-m-s.md | 25 +++ .../messaging/create-s-m-t-p-provider.md | 28 ++++ .../messaging/update-a-p-n-s-provider.md | 22 +++ .../messaging/update-f-c-m-provider.md | 18 +++ .../examples/messaging/update-s-m-s.md | 25 +++ .../messaging/update-s-m-t-p-provider.md | 28 ++++ .../users/create-m-f-a-recovery-codes.md | 7 + .../users/delete-m-f-a-authenticator.md | 8 + .../users/get-m-f-a-recovery-codes.md | 0 .../examples/users/list-m-f-a-factors.md | 0 .../users/update-m-f-a-recovery-codes.md | 7 + .../examples/users/update-m-f-a.md | 38 +++++ .../account/create-m-f-a-authenticator.md | 24 +++ .../java/account/create-m-f-a-challenge.md | 23 +++ .../account/create-m-f-a-recovery-codes.md | 19 +++ .../account/delete-m-f-a-authenticator.md | 24 +++ .../java/account/get-m-f-a-recovery-codes.md | 19 +++ .../java/account/list-m-f-a-factors.md | 19 +++ .../account/update-m-f-a-authenticator.md | 25 +++ .../java/account/update-m-f-a-challenge.md | 24 +++ .../account/update-m-f-a-recovery-codes.md | 19 +++ .../java/messaging/create-a-p-n-s-provider.md | 30 ++++ .../java/messaging/create-f-c-m-provider.md | 26 ++++ .../java/messaging/create-s-m-s.md | 29 ++++ .../java/messaging/create-s-m-t-p-provider.md | 36 +++++ .../java/messaging/update-a-p-n-s-provider.md | 30 ++++ .../java/messaging/update-f-c-m-provider.md | 26 ++++ .../java/messaging/update-s-m-s.md | 29 ++++ .../java/messaging/update-s-m-t-p-provider.md | 36 +++++ .../java/tablesdb/create-boolean-column.md | 4 +- .../java/tablesdb/create-datetime-column.md | 4 +- .../java/tablesdb/create-email-column.md | 4 +- .../java/tablesdb/create-enum-column.md | 4 +- .../java/tablesdb/create-float-column.md | 4 +- .../java/tablesdb/create-index.md | 4 +- .../java/tablesdb/create-integer-column.md | 4 +- .../java/tablesdb/create-ip-column.md | 4 +- .../tablesdb/create-relationship-column.md | 4 +- .../server-kotlin/java/tablesdb/create-row.md | 4 +- .../java/tablesdb/create-rows.md | 4 +- .../java/tablesdb/create-string-column.md | 4 +- .../java/tablesdb/create-table.md | 4 +- .../java/tablesdb/create-url-column.md | 4 +- .../server-kotlin/java/tablesdb/create.md | 4 +- .../java/tablesdb/decrement-row-column.md | 4 +- .../java/tablesdb/delete-column.md | 4 +- .../java/tablesdb/delete-index.md | 4 +- .../server-kotlin/java/tablesdb/delete-row.md | 4 +- .../java/tablesdb/delete-rows.md | 4 +- .../java/tablesdb/delete-table.md | 4 +- .../server-kotlin/java/tablesdb/delete.md | 4 +- .../server-kotlin/java/tablesdb/get-column.md | 4 +- .../server-kotlin/java/tablesdb/get-index.md | 4 +- .../server-kotlin/java/tablesdb/get-row.md | 4 +- .../server-kotlin/java/tablesdb/get-table.md | 4 +- .../1.8.x/server-kotlin/java/tablesdb/get.md | 4 +- .../java/tablesdb/increment-row-column.md | 4 +- .../java/tablesdb/list-columns.md | 4 +- .../java/tablesdb/list-indexes.md | 4 +- .../server-kotlin/java/tablesdb/list-rows.md | 4 +- .../java/tablesdb/list-tables.md | 4 +- .../1.8.x/server-kotlin/java/tablesdb/list.md | 4 +- .../java/tablesdb/update-boolean-column.md | 4 +- .../java/tablesdb/update-datetime-column.md | 4 +- .../java/tablesdb/update-email-column.md | 4 +- .../java/tablesdb/update-enum-column.md | 4 +- .../java/tablesdb/update-float-column.md | 4 +- .../java/tablesdb/update-integer-column.md | 4 +- .../java/tablesdb/update-ip-column.md | 4 +- .../tablesdb/update-relationship-column.md | 4 +- .../server-kotlin/java/tablesdb/update-row.md | 4 +- .../java/tablesdb/update-rows.md | 4 +- .../java/tablesdb/update-string-column.md | 4 +- .../java/tablesdb/update-table.md | 4 +- .../java/tablesdb/update-url-column.md | 4 +- .../server-kotlin/java/tablesdb/update.md | 4 +- .../server-kotlin/java/tablesdb/upsert-row.md | 4 +- .../java/tablesdb/upsert-rows.md | 4 +- .../java/users/create-m-f-a-recovery-codes.md | 23 +++ .../java/users/delete-m-f-a-authenticator.md | 25 +++ .../java/users/get-m-f-a-recovery-codes.md | 23 +++ .../java/users/list-m-f-a-factors.md | 23 +++ .../java/users/update-m-f-a-recovery-codes.md | 23 +++ .../server-kotlin/java/users/update-m-f-a.md | 24 +++ .../account/create-m-f-a-authenticator.md | 15 ++ .../kotlin/account/create-m-f-a-challenge.md | 14 ++ .../account/create-m-f-a-recovery-codes.md | 12 ++ .../account/delete-m-f-a-authenticator.md | 15 ++ .../account/get-m-f-a-recovery-codes.md | 12 ++ .../kotlin/account/list-m-f-a-factors.md | 12 ++ .../account/update-m-f-a-authenticator.md | 16 ++ .../kotlin/account/update-m-f-a-challenge.md | 15 ++ .../account/update-m-f-a-recovery-codes.md | 12 ++ .../messaging/create-a-p-n-s-provider.md | 21 +++ .../kotlin/messaging/create-f-c-m-provider.md | 17 ++ .../kotlin/messaging/create-s-m-s.md | 20 +++ .../messaging/create-s-m-t-p-provider.md | 27 ++++ .../messaging/update-a-p-n-s-provider.md | 21 +++ .../kotlin/messaging/update-f-c-m-provider.md | 17 ++ .../kotlin/messaging/update-s-m-s.md | 20 +++ .../messaging/update-s-m-t-p-provider.md | 27 ++++ .../kotlin/tablesdb/create-boolean-column.md | 4 +- .../kotlin/tablesdb/create-datetime-column.md | 4 +- .../kotlin/tablesdb/create-email-column.md | 4 +- .../kotlin/tablesdb/create-enum-column.md | 4 +- .../kotlin/tablesdb/create-float-column.md | 4 +- .../kotlin/tablesdb/create-index.md | 4 +- .../kotlin/tablesdb/create-integer-column.md | 4 +- .../kotlin/tablesdb/create-ip-column.md | 4 +- .../tablesdb/create-relationship-column.md | 4 +- .../kotlin/tablesdb/create-row.md | 4 +- .../kotlin/tablesdb/create-rows.md | 4 +- .../kotlin/tablesdb/create-string-column.md | 4 +- .../kotlin/tablesdb/create-table.md | 4 +- .../kotlin/tablesdb/create-url-column.md | 4 +- .../server-kotlin/kotlin/tablesdb/create.md | 4 +- .../kotlin/tablesdb/decrement-row-column.md | 4 +- .../kotlin/tablesdb/delete-column.md | 4 +- .../kotlin/tablesdb/delete-index.md | 4 +- .../kotlin/tablesdb/delete-row.md | 4 +- .../kotlin/tablesdb/delete-rows.md | 4 +- .../kotlin/tablesdb/delete-table.md | 4 +- .../server-kotlin/kotlin/tablesdb/delete.md | 4 +- .../kotlin/tablesdb/get-column.md | 4 +- .../kotlin/tablesdb/get-index.md | 4 +- .../server-kotlin/kotlin/tablesdb/get-row.md | 4 +- .../kotlin/tablesdb/get-table.md | 4 +- .../server-kotlin/kotlin/tablesdb/get.md | 4 +- .../kotlin/tablesdb/increment-row-column.md | 4 +- .../kotlin/tablesdb/list-columns.md | 4 +- .../kotlin/tablesdb/list-indexes.md | 4 +- .../kotlin/tablesdb/list-rows.md | 4 +- .../kotlin/tablesdb/list-tables.md | 4 +- .../server-kotlin/kotlin/tablesdb/list.md | 4 +- .../kotlin/tablesdb/update-boolean-column.md | 4 +- .../kotlin/tablesdb/update-datetime-column.md | 4 +- .../kotlin/tablesdb/update-email-column.md | 4 +- .../kotlin/tablesdb/update-enum-column.md | 4 +- .../kotlin/tablesdb/update-float-column.md | 4 +- .../kotlin/tablesdb/update-integer-column.md | 4 +- .../kotlin/tablesdb/update-ip-column.md | 4 +- .../tablesdb/update-relationship-column.md | 4 +- .../kotlin/tablesdb/update-row.md | 4 +- .../kotlin/tablesdb/update-rows.md | 4 +- .../kotlin/tablesdb/update-string-column.md | 4 +- .../kotlin/tablesdb/update-table.md | 4 +- .../kotlin/tablesdb/update-url-column.md | 4 +- .../server-kotlin/kotlin/tablesdb/update.md | 4 +- .../kotlin/tablesdb/upsert-row.md | 4 +- .../kotlin/tablesdb/upsert-rows.md | 4 +- .../users/create-m-f-a-recovery-codes.md | 14 ++ .../users/delete-m-f-a-authenticator.md | 16 ++ .../kotlin/users/get-m-f-a-recovery-codes.md | 14 ++ .../kotlin/users/list-m-f-a-factors.md | 14 ++ .../users/update-m-f-a-recovery-codes.md | 14 ++ .../kotlin/users/update-m-f-a.md | 15 ++ .../account/create-m-f-a-authenticator.md | 12 ++ .../account/create-m-f-a-challenge.md | 11 ++ .../account/create-m-f-a-recovery-codes.md | 10 ++ .../account/delete-m-f-a-authenticator.md | 12 ++ .../account/get-m-f-a-recovery-codes.md | 10 ++ .../examples/account/list-m-f-a-factors.md | 10 ++ .../account/update-m-f-a-authenticator.md | 13 ++ .../account/update-m-f-a-challenge.md | 13 ++ .../account/update-m-f-a-recovery-codes.md | 10 ++ .../messaging/create-a-p-n-s-provider.md | 19 +++ .../messaging/create-f-c-m-provider.md | 15 ++ .../examples/messaging/create-s-m-s.md | 18 +++ .../messaging/create-s-m-t-p-provider.md | 25 +++ .../messaging/update-a-p-n-s-provider.md | 19 +++ .../messaging/update-f-c-m-provider.md | 15 ++ .../examples/messaging/update-s-m-s.md | 18 +++ .../messaging/update-s-m-t-p-provider.md | 25 +++ .../tablesdb/create-boolean-column.md | 2 +- .../tablesdb/create-datetime-column.md | 2 +- .../examples/tablesdb/create-email-column.md | 2 +- .../examples/tablesdb/create-enum-column.md | 2 +- .../examples/tablesdb/create-float-column.md | 2 +- .../examples/tablesdb/create-index.md | 2 +- .../tablesdb/create-integer-column.md | 2 +- .../examples/tablesdb/create-ip-column.md | 2 +- .../tablesdb/create-relationship-column.md | 2 +- .../examples/tablesdb/create-row.md | 2 +- .../examples/tablesdb/create-rows.md | 2 +- .../examples/tablesdb/create-string-column.md | 2 +- .../examples/tablesdb/create-table.md | 2 +- .../examples/tablesdb/create-url-column.md | 2 +- .../server-nodejs/examples/tablesdb/create.md | 2 +- .../examples/tablesdb/decrement-row-column.md | 2 +- .../examples/tablesdb/delete-column.md | 2 +- .../examples/tablesdb/delete-index.md | 2 +- .../examples/tablesdb/delete-row.md | 2 +- .../examples/tablesdb/delete-rows.md | 2 +- .../examples/tablesdb/delete-table.md | 2 +- .../server-nodejs/examples/tablesdb/delete.md | 2 +- .../examples/tablesdb/get-column.md | 2 +- .../examples/tablesdb/get-index.md | 2 +- .../examples/tablesdb/get-row.md | 2 +- .../examples/tablesdb/get-table.md | 2 +- .../server-nodejs/examples/tablesdb/get.md | 2 +- .../examples/tablesdb/increment-row-column.md | 2 +- .../examples/tablesdb/list-columns.md | 2 +- .../examples/tablesdb/list-indexes.md | 2 +- .../examples/tablesdb/list-rows.md | 2 +- .../examples/tablesdb/list-tables.md | 2 +- .../server-nodejs/examples/tablesdb/list.md | 2 +- .../tablesdb/update-boolean-column.md | 2 +- .../tablesdb/update-datetime-column.md | 2 +- .../examples/tablesdb/update-email-column.md | 2 +- .../examples/tablesdb/update-enum-column.md | 2 +- .../examples/tablesdb/update-float-column.md | 2 +- .../tablesdb/update-integer-column.md | 2 +- .../examples/tablesdb/update-ip-column.md | 2 +- .../tablesdb/update-relationship-column.md | 2 +- .../examples/tablesdb/update-row.md | 2 +- .../examples/tablesdb/update-rows.md | 2 +- .../examples/tablesdb/update-string-column.md | 2 +- .../examples/tablesdb/update-table.md | 2 +- .../examples/tablesdb/update-url-column.md | 2 +- .../server-nodejs/examples/tablesdb/update.md | 2 +- .../examples/tablesdb/upsert-row.md | 2 +- .../examples/tablesdb/upsert-rows.md | 2 +- .../users/create-m-f-a-recovery-codes.md | 12 ++ .../users/delete-m-f-a-authenticator.md | 13 ++ .../users/get-m-f-a-recovery-codes.md | 12 ++ .../examples/users/list-m-f-a-factors.md | 12 ++ .../users/update-m-f-a-recovery-codes.md | 12 ++ .../examples/users/update-m-f-a.md | 13 ++ .../account/create-m-f-a-authenticator.md | 16 ++ .../account/create-m-f-a-challenge.md | 15 ++ .../account/create-m-f-a-recovery-codes.md | 13 ++ .../account/delete-m-f-a-authenticator.md | 16 ++ .../account/get-m-f-a-recovery-codes.md | 13 ++ .../examples/account/list-m-f-a-factors.md | 13 ++ .../account/update-m-f-a-authenticator.md | 17 ++ .../account/update-m-f-a-challenge.md | 16 ++ .../account/update-m-f-a-recovery-codes.md | 13 ++ .../messaging/create-a-p-n-s-provider.md | 22 +++ .../messaging/create-f-c-m-provider.md | 18 +++ .../examples/messaging/create-s-m-s.md | 21 +++ .../messaging/create-s-m-t-p-provider.md | 28 ++++ .../messaging/update-a-p-n-s-provider.md | 22 +++ .../messaging/update-f-c-m-provider.md | 18 +++ .../examples/messaging/update-s-m-s.md | 21 +++ .../messaging/update-s-m-t-p-provider.md | 28 ++++ .../tablesdb/create-boolean-column.md | 4 +- .../tablesdb/create-datetime-column.md | 4 +- .../examples/tablesdb/create-email-column.md | 4 +- .../examples/tablesdb/create-enum-column.md | 4 +- .../examples/tablesdb/create-float-column.md | 4 +- .../examples/tablesdb/create-index.md | 4 +- .../tablesdb/create-integer-column.md | 4 +- .../examples/tablesdb/create-ip-column.md | 4 +- .../tablesdb/create-relationship-column.md | 4 +- .../examples/tablesdb/create-row.md | 4 +- .../examples/tablesdb/create-rows.md | 4 +- .../examples/tablesdb/create-string-column.md | 4 +- .../examples/tablesdb/create-table.md | 4 +- .../examples/tablesdb/create-url-column.md | 4 +- .../server-php/examples/tablesdb/create.md | 4 +- .../examples/tablesdb/decrement-row-column.md | 4 +- .../examples/tablesdb/delete-column.md | 4 +- .../examples/tablesdb/delete-index.md | 4 +- .../examples/tablesdb/delete-row.md | 4 +- .../examples/tablesdb/delete-rows.md | 4 +- .../examples/tablesdb/delete-table.md | 4 +- .../server-php/examples/tablesdb/delete.md | 4 +- .../examples/tablesdb/get-column.md | 4 +- .../server-php/examples/tablesdb/get-index.md | 4 +- .../server-php/examples/tablesdb/get-row.md | 4 +- .../server-php/examples/tablesdb/get-table.md | 4 +- .../1.8.x/server-php/examples/tablesdb/get.md | 4 +- .../examples/tablesdb/increment-row-column.md | 4 +- .../examples/tablesdb/list-columns.md | 4 +- .../examples/tablesdb/list-indexes.md | 4 +- .../server-php/examples/tablesdb/list-rows.md | 4 +- .../examples/tablesdb/list-tables.md | 4 +- .../server-php/examples/tablesdb/list.md | 4 +- .../tablesdb/update-boolean-column.md | 4 +- .../tablesdb/update-datetime-column.md | 4 +- .../examples/tablesdb/update-email-column.md | 4 +- .../examples/tablesdb/update-enum-column.md | 4 +- .../examples/tablesdb/update-float-column.md | 4 +- .../tablesdb/update-integer-column.md | 4 +- .../examples/tablesdb/update-ip-column.md | 4 +- .../tablesdb/update-relationship-column.md | 4 +- .../examples/tablesdb/update-row.md | 4 +- .../examples/tablesdb/update-rows.md | 4 +- .../examples/tablesdb/update-string-column.md | 4 +- .../examples/tablesdb/update-table.md | 4 +- .../examples/tablesdb/update-url-column.md | 4 +- .../server-php/examples/tablesdb/update.md | 4 +- .../examples/tablesdb/upsert-row.md | 4 +- .../examples/tablesdb/upsert-rows.md | 4 +- .../users/create-m-f-a-recovery-codes.md | 15 ++ .../users/delete-m-f-a-authenticator.md | 17 ++ .../users/get-m-f-a-recovery-codes.md | 15 ++ .../examples/users/list-m-f-a-factors.md | 15 ++ .../users/update-m-f-a-recovery-codes.md | 15 ++ .../server-php/examples/users/update-m-f-a.md | 16 ++ .../account/create-m-f-a-authenticator.md | 14 ++ .../account/create-m-f-a-challenge.md | 13 ++ .../account/create-m-f-a-recovery-codes.md | 11 ++ .../account/delete-m-f-a-authenticator.md | 14 ++ .../account/get-m-f-a-recovery-codes.md | 11 ++ .../examples/account/list-m-f-a-factors.md | 11 ++ .../account/update-m-f-a-authenticator.md | 15 ++ .../account/update-m-f-a-challenge.md | 14 ++ .../account/update-m-f-a-recovery-codes.md | 11 ++ .../messaging/create-a-p-n-s-provider.md | 20 +++ .../messaging/create-f-c-m-provider.md | 16 ++ .../examples/messaging/create-s-m-s.md | 19 +++ .../messaging/create-s-m-t-p-provider.md | 26 ++++ .../messaging/update-a-p-n-s-provider.md | 20 +++ .../messaging/update-f-c-m-provider.md | 16 ++ .../examples/messaging/update-s-m-s.md | 19 +++ .../messaging/update-s-m-t-p-provider.md | 26 ++++ .../tablesdb/create-boolean-column.md | 4 +- .../tablesdb/create-datetime-column.md | 4 +- .../examples/tablesdb/create-email-column.md | 4 +- .../examples/tablesdb/create-enum-column.md | 4 +- .../examples/tablesdb/create-float-column.md | 4 +- .../examples/tablesdb/create-index.md | 4 +- .../tablesdb/create-integer-column.md | 4 +- .../examples/tablesdb/create-ip-column.md | 4 +- .../tablesdb/create-relationship-column.md | 4 +- .../examples/tablesdb/create-row.md | 4 +- .../examples/tablesdb/create-rows.md | 4 +- .../examples/tablesdb/create-string-column.md | 4 +- .../examples/tablesdb/create-table.md | 4 +- .../examples/tablesdb/create-url-column.md | 4 +- .../server-python/examples/tablesdb/create.md | 4 +- .../examples/tablesdb/decrement-row-column.md | 4 +- .../examples/tablesdb/delete-column.md | 4 +- .../examples/tablesdb/delete-index.md | 4 +- .../examples/tablesdb/delete-row.md | 4 +- .../examples/tablesdb/delete-rows.md | 4 +- .../examples/tablesdb/delete-table.md | 4 +- .../server-python/examples/tablesdb/delete.md | 4 +- .../examples/tablesdb/get-column.md | 4 +- .../examples/tablesdb/get-index.md | 4 +- .../examples/tablesdb/get-row.md | 4 +- .../examples/tablesdb/get-table.md | 4 +- .../server-python/examples/tablesdb/get.md | 4 +- .../examples/tablesdb/increment-row-column.md | 4 +- .../examples/tablesdb/list-columns.md | 4 +- .../examples/tablesdb/list-indexes.md | 4 +- .../examples/tablesdb/list-rows.md | 4 +- .../examples/tablesdb/list-tables.md | 4 +- .../server-python/examples/tablesdb/list.md | 4 +- .../tablesdb/update-boolean-column.md | 4 +- .../tablesdb/update-datetime-column.md | 4 +- .../examples/tablesdb/update-email-column.md | 4 +- .../examples/tablesdb/update-enum-column.md | 4 +- .../examples/tablesdb/update-float-column.md | 4 +- .../tablesdb/update-integer-column.md | 4 +- .../examples/tablesdb/update-ip-column.md | 4 +- .../tablesdb/update-relationship-column.md | 4 +- .../examples/tablesdb/update-row.md | 4 +- .../examples/tablesdb/update-rows.md | 4 +- .../examples/tablesdb/update-string-column.md | 4 +- .../examples/tablesdb/update-table.md | 4 +- .../examples/tablesdb/update-url-column.md | 4 +- .../server-python/examples/tablesdb/update.md | 4 +- .../examples/tablesdb/upsert-row.md | 4 +- .../examples/tablesdb/upsert-rows.md | 4 +- .../users/create-m-f-a-recovery-codes.md | 13 ++ .../users/delete-m-f-a-authenticator.md | 15 ++ .../users/get-m-f-a-recovery-codes.md | 13 ++ .../examples/users/list-m-f-a-factors.md | 13 ++ .../users/update-m-f-a-recovery-codes.md | 13 ++ .../examples/users/update-m-f-a.md | 14 ++ .../account/create-m-f-a-authenticator.md | 8 + .../account/create-m-f-a-challenge.md | 9 ++ .../account/create-m-f-a-recovery-codes.md | 8 + .../account/delete-m-f-a-authenticator.md | 8 + .../account/get-m-f-a-recovery-codes.md | 6 + .../examples/account/list-m-f-a-factors.md | 6 + .../account/update-m-f-a-authenticator.md | 11 ++ .../account/update-m-f-a-challenge.md | 12 ++ .../account/update-m-f-a-recovery-codes.md | 8 + .../messaging/create-a-p-n-s-provider.md | 17 ++ .../messaging/create-f-c-m-provider.md | 13 ++ .../examples/messaging/create-s-m-s.md | 16 ++ .../messaging/create-s-m-t-p-provider.md | 23 +++ .../messaging/update-a-p-n-s-provider.md | 16 ++ .../messaging/update-f-c-m-provider.md | 12 ++ .../examples/messaging/update-s-m-s.md | 15 ++ .../messaging/update-s-m-t-p-provider.md | 22 +++ .../users/create-m-f-a-recovery-codes.md | 7 + .../users/delete-m-f-a-authenticator.md | 7 + .../users/get-m-f-a-recovery-codes.md | 5 + .../examples/users/list-m-f-a-factors.md | 5 + .../users/update-m-f-a-recovery-codes.md | 7 + .../examples/users/update-m-f-a.md | 10 ++ .../account/create-m-f-a-authenticator.md | 15 ++ .../account/create-m-f-a-challenge.md | 14 ++ .../account/create-m-f-a-recovery-codes.md | 12 ++ .../account/delete-m-f-a-authenticator.md | 15 ++ .../account/get-m-f-a-recovery-codes.md | 12 ++ .../examples/account/list-m-f-a-factors.md | 12 ++ .../account/update-m-f-a-authenticator.md | 16 ++ .../account/update-m-f-a-challenge.md | 15 ++ .../account/update-m-f-a-recovery-codes.md | 12 ++ .../messaging/create-a-p-n-s-provider.md | 21 +++ .../messaging/create-f-c-m-provider.md | 17 ++ .../examples/messaging/create-s-m-s.md | 20 +++ .../messaging/create-s-m-t-p-provider.md | 27 ++++ .../messaging/update-a-p-n-s-provider.md | 21 +++ .../messaging/update-f-c-m-provider.md | 17 ++ .../examples/messaging/update-s-m-s.md | 20 +++ .../messaging/update-s-m-t-p-provider.md | 27 ++++ .../tablesdb/create-boolean-column.md | 2 +- .../tablesdb/create-datetime-column.md | 2 +- .../examples/tablesdb/create-email-column.md | 2 +- .../examples/tablesdb/create-enum-column.md | 2 +- .../examples/tablesdb/create-float-column.md | 2 +- .../examples/tablesdb/create-index.md | 2 +- .../tablesdb/create-integer-column.md | 2 +- .../examples/tablesdb/create-ip-column.md | 2 +- .../tablesdb/create-relationship-column.md | 2 +- .../examples/tablesdb/create-row.md | 2 +- .../examples/tablesdb/create-rows.md | 2 +- .../examples/tablesdb/create-string-column.md | 2 +- .../examples/tablesdb/create-table.md | 2 +- .../examples/tablesdb/create-url-column.md | 2 +- .../server-ruby/examples/tablesdb/create.md | 2 +- .../examples/tablesdb/decrement-row-column.md | 2 +- .../examples/tablesdb/delete-column.md | 2 +- .../examples/tablesdb/delete-index.md | 2 +- .../examples/tablesdb/delete-row.md | 2 +- .../examples/tablesdb/delete-rows.md | 2 +- .../examples/tablesdb/delete-table.md | 2 +- .../server-ruby/examples/tablesdb/delete.md | 2 +- .../examples/tablesdb/get-column.md | 2 +- .../examples/tablesdb/get-index.md | 2 +- .../server-ruby/examples/tablesdb/get-row.md | 2 +- .../examples/tablesdb/get-table.md | 2 +- .../server-ruby/examples/tablesdb/get.md | 2 +- .../examples/tablesdb/increment-row-column.md | 2 +- .../examples/tablesdb/list-columns.md | 2 +- .../examples/tablesdb/list-indexes.md | 2 +- .../examples/tablesdb/list-rows.md | 2 +- .../examples/tablesdb/list-tables.md | 2 +- .../server-ruby/examples/tablesdb/list.md | 2 +- .../tablesdb/update-boolean-column.md | 2 +- .../tablesdb/update-datetime-column.md | 2 +- .../examples/tablesdb/update-email-column.md | 2 +- .../examples/tablesdb/update-enum-column.md | 2 +- .../examples/tablesdb/update-float-column.md | 2 +- .../tablesdb/update-integer-column.md | 2 +- .../examples/tablesdb/update-ip-column.md | 2 +- .../tablesdb/update-relationship-column.md | 2 +- .../examples/tablesdb/update-row.md | 2 +- .../examples/tablesdb/update-rows.md | 2 +- .../examples/tablesdb/update-string-column.md | 2 +- .../examples/tablesdb/update-table.md | 2 +- .../examples/tablesdb/update-url-column.md | 2 +- .../server-ruby/examples/tablesdb/update.md | 2 +- .../examples/tablesdb/upsert-row.md | 2 +- .../examples/tablesdb/upsert-rows.md | 2 +- .../users/create-m-f-a-recovery-codes.md | 14 ++ .../users/delete-m-f-a-authenticator.md | 16 ++ .../users/get-m-f-a-recovery-codes.md | 14 ++ .../examples/users/list-m-f-a-factors.md | 14 ++ .../users/update-m-f-a-recovery-codes.md | 14 ++ .../examples/users/update-m-f-a.md | 15 ++ .../account/create-m-f-a-authenticator.md | 14 ++ .../account/create-m-f-a-challenge.md | 13 ++ .../account/create-m-f-a-recovery-codes.md | 11 ++ .../account/delete-m-f-a-authenticator.md | 14 ++ .../account/get-m-f-a-recovery-codes.md | 11 ++ .../examples/account/list-m-f-a-factors.md | 11 ++ .../account/update-m-f-a-authenticator.md | 15 ++ .../account/update-m-f-a-challenge.md | 14 ++ .../account/update-m-f-a-recovery-codes.md | 11 ++ .../messaging/create-a-p-n-s-provider.md | 20 +++ .../messaging/create-f-c-m-provider.md | 16 ++ .../examples/messaging/create-s-m-s.md | 19 +++ .../messaging/create-s-m-t-p-provider.md | 27 ++++ .../messaging/update-a-p-n-s-provider.md | 20 +++ .../messaging/update-f-c-m-provider.md | 16 ++ .../examples/messaging/update-s-m-s.md | 19 +++ .../messaging/update-s-m-t-p-provider.md | 27 ++++ .../tablesdb/create-boolean-column.md | 2 +- .../tablesdb/create-datetime-column.md | 2 +- .../examples/tablesdb/create-email-column.md | 2 +- .../examples/tablesdb/create-enum-column.md | 2 +- .../examples/tablesdb/create-float-column.md | 2 +- .../examples/tablesdb/create-index.md | 2 +- .../tablesdb/create-integer-column.md | 2 +- .../examples/tablesdb/create-ip-column.md | 2 +- .../tablesdb/create-relationship-column.md | 2 +- .../examples/tablesdb/create-row.md | 2 +- .../examples/tablesdb/create-rows.md | 2 +- .../examples/tablesdb/create-string-column.md | 2 +- .../examples/tablesdb/create-table.md | 2 +- .../examples/tablesdb/create-url-column.md | 2 +- .../server-swift/examples/tablesdb/create.md | 2 +- .../examples/tablesdb/decrement-row-column.md | 2 +- .../examples/tablesdb/delete-column.md | 2 +- .../examples/tablesdb/delete-index.md | 2 +- .../examples/tablesdb/delete-row.md | 2 +- .../examples/tablesdb/delete-rows.md | 2 +- .../examples/tablesdb/delete-table.md | 2 +- .../server-swift/examples/tablesdb/delete.md | 2 +- .../examples/tablesdb/get-column.md | 2 +- .../examples/tablesdb/get-index.md | 2 +- .../server-swift/examples/tablesdb/get-row.md | 2 +- .../examples/tablesdb/get-table.md | 2 +- .../server-swift/examples/tablesdb/get.md | 2 +- .../examples/tablesdb/increment-row-column.md | 2 +- .../examples/tablesdb/list-columns.md | 2 +- .../examples/tablesdb/list-indexes.md | 2 +- .../examples/tablesdb/list-rows.md | 2 +- .../examples/tablesdb/list-tables.md | 2 +- .../server-swift/examples/tablesdb/list.md | 2 +- .../tablesdb/update-boolean-column.md | 2 +- .../tablesdb/update-datetime-column.md | 2 +- .../examples/tablesdb/update-email-column.md | 2 +- .../examples/tablesdb/update-enum-column.md | 2 +- .../examples/tablesdb/update-float-column.md | 2 +- .../tablesdb/update-integer-column.md | 2 +- .../examples/tablesdb/update-ip-column.md | 2 +- .../tablesdb/update-relationship-column.md | 2 +- .../examples/tablesdb/update-row.md | 2 +- .../examples/tablesdb/update-rows.md | 2 +- .../examples/tablesdb/update-string-column.md | 2 +- .../examples/tablesdb/update-table.md | 2 +- .../examples/tablesdb/update-url-column.md | 2 +- .../server-swift/examples/tablesdb/update.md | 2 +- .../examples/tablesdb/upsert-row.md | 2 +- .../examples/tablesdb/upsert-rows.md | 2 +- .../users/create-m-f-a-recovery-codes.md | 13 ++ .../users/delete-m-f-a-authenticator.md | 15 ++ .../users/get-m-f-a-recovery-codes.md | 13 ++ .../examples/users/list-m-f-a-factors.md | 13 ++ .../users/update-m-f-a-recovery-codes.md | 13 ++ .../examples/users/update-m-f-a.md | 14 ++ 1038 files changed, 8150 insertions(+), 1533 deletions(-) create mode 100644 docs/examples/1.8.x/client-android/java/account/create-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/client-android/java/account/create-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/client-android/java/account/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/client-android/java/account/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/client-android/java/account/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/client-android/java/account/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/client-android/java/account/update-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/client-android/java/account/update-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/client-android/java/account/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/client-android/kotlin/account/create-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/client-android/kotlin/account/create-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/client-android/kotlin/account/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/client-android/kotlin/account/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/client-android/kotlin/account/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/client-android/kotlin/account/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/client-android/kotlin/account/update-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/client-android/kotlin/account/update-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/client-android/kotlin/account/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/client-apple/examples/account/create-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/client-apple/examples/account/create-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/client-apple/examples/account/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/client-apple/examples/account/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/client-apple/examples/account/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/client-apple/examples/account/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/client-apple/examples/account/update-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/client-apple/examples/account/update-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/client-apple/examples/account/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/client-flutter/examples/account/create-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/client-flutter/examples/account/create-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/client-flutter/examples/account/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/client-flutter/examples/account/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/client-flutter/examples/account/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/client-flutter/examples/account/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/client-flutter/examples/account/update-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/client-flutter/examples/account/update-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/client-flutter/examples/account/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/client-graphql/examples/account/create-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/client-graphql/examples/account/create-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/client-graphql/examples/account/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/client-graphql/examples/account/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/client-graphql/examples/account/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/client-graphql/examples/account/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/client-graphql/examples/account/update-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/client-graphql/examples/account/update-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/client-graphql/examples/account/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/client-react-native/examples/account/create-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/client-react-native/examples/account/create-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/client-react-native/examples/account/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/client-react-native/examples/account/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/client-react-native/examples/account/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/client-react-native/examples/account/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/client-react-native/examples/account/update-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/client-react-native/examples/account/update-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/client-react-native/examples/account/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/client-rest/examples/account/create-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/client-rest/examples/account/create-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/client-rest/examples/account/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/client-rest/examples/account/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/client-rest/examples/account/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/client-rest/examples/account/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/client-rest/examples/account/update-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/client-rest/examples/account/update-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/client-rest/examples/account/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/client-web/examples/account/create-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/client-web/examples/account/create-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/client-web/examples/account/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/client-web/examples/account/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/client-web/examples/account/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/client-web/examples/account/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/client-web/examples/account/update-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/client-web/examples/account/update-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/client-web/examples/account/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/console-cli/examples/account/create-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/console-cli/examples/account/create-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/console-cli/examples/account/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/console-cli/examples/account/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/console-cli/examples/account/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/console-cli/examples/account/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/console-cli/examples/account/update-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/console-cli/examples/account/update-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/console-cli/examples/account/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/console-cli/examples/messaging/create-a-p-n-s-provider.md create mode 100644 docs/examples/1.8.x/console-cli/examples/messaging/create-f-c-m-provider.md create mode 100644 docs/examples/1.8.x/console-cli/examples/messaging/create-s-m-s.md create mode 100644 docs/examples/1.8.x/console-cli/examples/messaging/create-s-m-t-p-provider.md create mode 100644 docs/examples/1.8.x/console-cli/examples/messaging/update-a-p-n-s-provider.md create mode 100644 docs/examples/1.8.x/console-cli/examples/messaging/update-f-c-m-provider.md create mode 100644 docs/examples/1.8.x/console-cli/examples/messaging/update-s-m-s.md create mode 100644 docs/examples/1.8.x/console-cli/examples/messaging/update-s-m-t-p-provider.md create mode 100644 docs/examples/1.8.x/console-cli/examples/projects/create-s-m-t-p-test.md create mode 100644 docs/examples/1.8.x/console-cli/examples/projects/delete-s-m-s-template.md create mode 100644 docs/examples/1.8.x/console-cli/examples/projects/get-s-m-s-template.md create mode 100644 docs/examples/1.8.x/console-cli/examples/projects/update-a-p-i-status-all.md create mode 100644 docs/examples/1.8.x/console-cli/examples/projects/update-a-p-i-status.md create mode 100644 docs/examples/1.8.x/console-cli/examples/projects/update-s-m-s-template.md create mode 100644 docs/examples/1.8.x/console-cli/examples/projects/update-s-m-t-p.md create mode 100644 docs/examples/1.8.x/console-cli/examples/users/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/console-cli/examples/users/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/console-cli/examples/users/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/console-cli/examples/users/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/console-cli/examples/users/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/console-cli/examples/users/update-m-f-a.md create mode 100644 docs/examples/1.8.x/console-web/examples/account/create-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/console-web/examples/account/create-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/console-web/examples/account/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/console-web/examples/account/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/console-web/examples/account/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/console-web/examples/account/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/console-web/examples/account/update-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/console-web/examples/account/update-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/console-web/examples/account/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/console-web/examples/messaging/create-a-p-n-s-provider.md create mode 100644 docs/examples/1.8.x/console-web/examples/messaging/create-f-c-m-provider.md create mode 100644 docs/examples/1.8.x/console-web/examples/messaging/create-s-m-s.md create mode 100644 docs/examples/1.8.x/console-web/examples/messaging/create-s-m-t-p-provider.md create mode 100644 docs/examples/1.8.x/console-web/examples/messaging/update-a-p-n-s-provider.md create mode 100644 docs/examples/1.8.x/console-web/examples/messaging/update-f-c-m-provider.md create mode 100644 docs/examples/1.8.x/console-web/examples/messaging/update-s-m-s.md create mode 100644 docs/examples/1.8.x/console-web/examples/messaging/update-s-m-t-p-provider.md create mode 100644 docs/examples/1.8.x/console-web/examples/projects/create-s-m-t-p-test.md create mode 100644 docs/examples/1.8.x/console-web/examples/projects/delete-s-m-s-template.md create mode 100644 docs/examples/1.8.x/console-web/examples/projects/get-s-m-s-template.md create mode 100644 docs/examples/1.8.x/console-web/examples/projects/update-a-p-i-status-all.md create mode 100644 docs/examples/1.8.x/console-web/examples/projects/update-a-p-i-status.md create mode 100644 docs/examples/1.8.x/console-web/examples/projects/update-s-m-s-template.md create mode 100644 docs/examples/1.8.x/console-web/examples/projects/update-s-m-t-p.md create mode 100644 docs/examples/1.8.x/console-web/examples/users/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/console-web/examples/users/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/console-web/examples/users/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/console-web/examples/users/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/console-web/examples/users/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/console-web/examples/users/update-m-f-a.md create mode 100644 docs/examples/1.8.x/server-dart/examples/account/create-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-dart/examples/account/create-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/server-dart/examples/account/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-dart/examples/account/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-dart/examples/account/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-dart/examples/account/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/server-dart/examples/account/update-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-dart/examples/account/update-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/server-dart/examples/account/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-dart/examples/messaging/create-a-p-n-s-provider.md create mode 100644 docs/examples/1.8.x/server-dart/examples/messaging/create-f-c-m-provider.md create mode 100644 docs/examples/1.8.x/server-dart/examples/messaging/create-s-m-s.md create mode 100644 docs/examples/1.8.x/server-dart/examples/messaging/create-s-m-t-p-provider.md create mode 100644 docs/examples/1.8.x/server-dart/examples/messaging/update-a-p-n-s-provider.md create mode 100644 docs/examples/1.8.x/server-dart/examples/messaging/update-f-c-m-provider.md create mode 100644 docs/examples/1.8.x/server-dart/examples/messaging/update-s-m-s.md create mode 100644 docs/examples/1.8.x/server-dart/examples/messaging/update-s-m-t-p-provider.md create mode 100644 docs/examples/1.8.x/server-dart/examples/users/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-dart/examples/users/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-dart/examples/users/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-dart/examples/users/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/server-dart/examples/users/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-dart/examples/users/update-m-f-a.md create mode 100644 docs/examples/1.8.x/server-deno/examples/account/create-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-deno/examples/account/create-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/server-deno/examples/account/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-deno/examples/account/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-deno/examples/account/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-deno/examples/account/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/server-deno/examples/account/update-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-deno/examples/account/update-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/server-deno/examples/account/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-deno/examples/messaging/create-a-p-n-s-provider.md create mode 100644 docs/examples/1.8.x/server-deno/examples/messaging/create-f-c-m-provider.md create mode 100644 docs/examples/1.8.x/server-deno/examples/messaging/create-s-m-s.md create mode 100644 docs/examples/1.8.x/server-deno/examples/messaging/create-s-m-t-p-provider.md create mode 100644 docs/examples/1.8.x/server-deno/examples/messaging/update-a-p-n-s-provider.md create mode 100644 docs/examples/1.8.x/server-deno/examples/messaging/update-f-c-m-provider.md create mode 100644 docs/examples/1.8.x/server-deno/examples/messaging/update-s-m-s.md create mode 100644 docs/examples/1.8.x/server-deno/examples/messaging/update-s-m-t-p-provider.md create mode 100644 docs/examples/1.8.x/server-deno/examples/users/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-deno/examples/users/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-deno/examples/users/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-deno/examples/users/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/server-deno/examples/users/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-deno/examples/users/update-m-f-a.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/account/create-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/account/create-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/account/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/account/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/account/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/account/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/account/update-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/account/update-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/account/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/messaging/create-a-p-n-s-provider.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/messaging/create-f-c-m-provider.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/messaging/create-s-m-s.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/messaging/create-s-m-t-p-provider.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/messaging/update-a-p-n-s-provider.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/messaging/update-f-c-m-provider.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/messaging/update-s-m-s.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/messaging/update-s-m-t-p-provider.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/users/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/users/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/users/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/users/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/users/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-dotnet/examples/users/update-m-f-a.md create mode 100644 docs/examples/1.8.x/server-go/examples/account/create-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-go/examples/account/create-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/server-go/examples/account/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-go/examples/account/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-go/examples/account/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-go/examples/account/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/server-go/examples/account/update-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-go/examples/account/update-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/server-go/examples/account/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-go/examples/messaging/create-a-p-n-s-provider.md create mode 100644 docs/examples/1.8.x/server-go/examples/messaging/create-f-c-m-provider.md create mode 100644 docs/examples/1.8.x/server-go/examples/messaging/create-s-m-s.md create mode 100644 docs/examples/1.8.x/server-go/examples/messaging/create-s-m-t-p-provider.md create mode 100644 docs/examples/1.8.x/server-go/examples/messaging/update-a-p-n-s-provider.md create mode 100644 docs/examples/1.8.x/server-go/examples/messaging/update-f-c-m-provider.md create mode 100644 docs/examples/1.8.x/server-go/examples/messaging/update-s-m-s.md create mode 100644 docs/examples/1.8.x/server-go/examples/messaging/update-s-m-t-p-provider.md create mode 100644 docs/examples/1.8.x/server-go/examples/users/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-go/examples/users/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-go/examples/users/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-go/examples/users/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/server-go/examples/users/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-go/examples/users/update-m-f-a.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/account/create-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/account/create-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/account/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/account/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/account/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/account/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/account/update-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/account/update-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/account/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/messaging/create-a-p-n-s-provider.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/messaging/create-f-c-m-provider.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/messaging/create-s-m-s.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/messaging/create-s-m-t-p-provider.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/messaging/update-a-p-n-s-provider.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/messaging/update-f-c-m-provider.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/messaging/update-s-m-s.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/messaging/update-s-m-t-p-provider.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/users/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/users/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/users/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/users/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/users/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-graphql/examples/users/update-m-f-a.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/account/create-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/account/create-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/account/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/account/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/account/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/account/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/account/update-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/account/update-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/account/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/messaging/create-a-p-n-s-provider.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/messaging/create-f-c-m-provider.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/messaging/create-s-m-s.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/messaging/create-s-m-t-p-provider.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/messaging/update-a-p-n-s-provider.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/messaging/update-f-c-m-provider.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/messaging/update-s-m-s.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/messaging/update-s-m-t-p-provider.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/users/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/users/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/users/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/users/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/users/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-kotlin/java/users/update-m-f-a.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/account/create-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/account/create-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/account/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/account/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/account/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/account/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/account/update-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/account/update-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/account/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/messaging/create-a-p-n-s-provider.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/messaging/create-f-c-m-provider.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/messaging/create-s-m-s.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/messaging/create-s-m-t-p-provider.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/messaging/update-a-p-n-s-provider.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/messaging/update-f-c-m-provider.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/messaging/update-s-m-s.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/messaging/update-s-m-t-p-provider.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/users/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/users/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/users/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/users/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/users/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-kotlin/kotlin/users/update-m-f-a.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/account/create-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/account/create-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/account/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/account/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/account/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/account/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/account/update-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/account/update-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/account/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/messaging/create-a-p-n-s-provider.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/messaging/create-f-c-m-provider.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/messaging/create-s-m-s.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/messaging/create-s-m-t-p-provider.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/messaging/update-a-p-n-s-provider.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/messaging/update-f-c-m-provider.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/messaging/update-s-m-s.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/messaging/update-s-m-t-p-provider.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/users/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/users/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/users/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/users/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/users/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-nodejs/examples/users/update-m-f-a.md create mode 100644 docs/examples/1.8.x/server-php/examples/account/create-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-php/examples/account/create-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/server-php/examples/account/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-php/examples/account/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-php/examples/account/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-php/examples/account/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/server-php/examples/account/update-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-php/examples/account/update-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/server-php/examples/account/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-php/examples/messaging/create-a-p-n-s-provider.md create mode 100644 docs/examples/1.8.x/server-php/examples/messaging/create-f-c-m-provider.md create mode 100644 docs/examples/1.8.x/server-php/examples/messaging/create-s-m-s.md create mode 100644 docs/examples/1.8.x/server-php/examples/messaging/create-s-m-t-p-provider.md create mode 100644 docs/examples/1.8.x/server-php/examples/messaging/update-a-p-n-s-provider.md create mode 100644 docs/examples/1.8.x/server-php/examples/messaging/update-f-c-m-provider.md create mode 100644 docs/examples/1.8.x/server-php/examples/messaging/update-s-m-s.md create mode 100644 docs/examples/1.8.x/server-php/examples/messaging/update-s-m-t-p-provider.md create mode 100644 docs/examples/1.8.x/server-php/examples/users/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-php/examples/users/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-php/examples/users/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-php/examples/users/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/server-php/examples/users/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-php/examples/users/update-m-f-a.md create mode 100644 docs/examples/1.8.x/server-python/examples/account/create-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-python/examples/account/create-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/server-python/examples/account/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-python/examples/account/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-python/examples/account/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-python/examples/account/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/server-python/examples/account/update-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-python/examples/account/update-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/server-python/examples/account/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-python/examples/messaging/create-a-p-n-s-provider.md create mode 100644 docs/examples/1.8.x/server-python/examples/messaging/create-f-c-m-provider.md create mode 100644 docs/examples/1.8.x/server-python/examples/messaging/create-s-m-s.md create mode 100644 docs/examples/1.8.x/server-python/examples/messaging/create-s-m-t-p-provider.md create mode 100644 docs/examples/1.8.x/server-python/examples/messaging/update-a-p-n-s-provider.md create mode 100644 docs/examples/1.8.x/server-python/examples/messaging/update-f-c-m-provider.md create mode 100644 docs/examples/1.8.x/server-python/examples/messaging/update-s-m-s.md create mode 100644 docs/examples/1.8.x/server-python/examples/messaging/update-s-m-t-p-provider.md create mode 100644 docs/examples/1.8.x/server-python/examples/users/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-python/examples/users/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-python/examples/users/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-python/examples/users/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/server-python/examples/users/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-python/examples/users/update-m-f-a.md create mode 100644 docs/examples/1.8.x/server-rest/examples/account/create-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-rest/examples/account/create-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/server-rest/examples/account/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-rest/examples/account/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-rest/examples/account/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-rest/examples/account/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/server-rest/examples/account/update-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-rest/examples/account/update-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/server-rest/examples/account/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-rest/examples/messaging/create-a-p-n-s-provider.md create mode 100644 docs/examples/1.8.x/server-rest/examples/messaging/create-f-c-m-provider.md create mode 100644 docs/examples/1.8.x/server-rest/examples/messaging/create-s-m-s.md create mode 100644 docs/examples/1.8.x/server-rest/examples/messaging/create-s-m-t-p-provider.md create mode 100644 docs/examples/1.8.x/server-rest/examples/messaging/update-a-p-n-s-provider.md create mode 100644 docs/examples/1.8.x/server-rest/examples/messaging/update-f-c-m-provider.md create mode 100644 docs/examples/1.8.x/server-rest/examples/messaging/update-s-m-s.md create mode 100644 docs/examples/1.8.x/server-rest/examples/messaging/update-s-m-t-p-provider.md create mode 100644 docs/examples/1.8.x/server-rest/examples/users/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-rest/examples/users/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-rest/examples/users/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-rest/examples/users/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/server-rest/examples/users/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-rest/examples/users/update-m-f-a.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/account/create-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/account/create-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/account/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/account/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/account/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/account/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/account/update-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/account/update-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/account/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/messaging/create-a-p-n-s-provider.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/messaging/create-f-c-m-provider.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/messaging/create-s-m-s.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/messaging/create-s-m-t-p-provider.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/messaging/update-a-p-n-s-provider.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/messaging/update-f-c-m-provider.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/messaging/update-s-m-s.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/messaging/update-s-m-t-p-provider.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/users/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/users/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/users/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/users/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/users/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-ruby/examples/users/update-m-f-a.md create mode 100644 docs/examples/1.8.x/server-swift/examples/account/create-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-swift/examples/account/create-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/server-swift/examples/account/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-swift/examples/account/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-swift/examples/account/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-swift/examples/account/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/server-swift/examples/account/update-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-swift/examples/account/update-m-f-a-challenge.md create mode 100644 docs/examples/1.8.x/server-swift/examples/account/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-swift/examples/messaging/create-a-p-n-s-provider.md create mode 100644 docs/examples/1.8.x/server-swift/examples/messaging/create-f-c-m-provider.md create mode 100644 docs/examples/1.8.x/server-swift/examples/messaging/create-s-m-s.md create mode 100644 docs/examples/1.8.x/server-swift/examples/messaging/create-s-m-t-p-provider.md create mode 100644 docs/examples/1.8.x/server-swift/examples/messaging/update-a-p-n-s-provider.md create mode 100644 docs/examples/1.8.x/server-swift/examples/messaging/update-f-c-m-provider.md create mode 100644 docs/examples/1.8.x/server-swift/examples/messaging/update-s-m-s.md create mode 100644 docs/examples/1.8.x/server-swift/examples/messaging/update-s-m-t-p-provider.md create mode 100644 docs/examples/1.8.x/server-swift/examples/users/create-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-swift/examples/users/delete-m-f-a-authenticator.md create mode 100644 docs/examples/1.8.x/server-swift/examples/users/get-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-swift/examples/users/list-m-f-a-factors.md create mode 100644 docs/examples/1.8.x/server-swift/examples/users/update-m-f-a-recovery-codes.md create mode 100644 docs/examples/1.8.x/server-swift/examples/users/update-m-f-a.md diff --git a/app/config/specs/open-api3-1.8.x-client.json b/app/config/specs/open-api3-1.8.x-client.json index 4baaa06945..7d0107fa02 100644 --- a/app/config/specs/open-api3-1.8.x-client.json +++ b/app/config/specs/open-api3-1.8.x-client.json @@ -581,7 +581,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAAuthenticator" + "replaceWith": "account.createMFAAuthenticator" }, "methods": [ { @@ -607,7 +607,7 @@ "demo": "account\/create-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAAuthenticator" + "replaceWith": "account.createMFAAuthenticator" } }, { @@ -701,7 +701,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAAuthenticator" + "replaceWith": "account.updateMFAAuthenticator" }, "methods": [ { @@ -729,7 +729,7 @@ "demo": "account\/update-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAAuthenticator" + "replaceWith": "account.updateMFAAuthenticator" } }, { @@ -837,7 +837,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "account.deleteMFAAuthenticator" }, "methods": [ { @@ -862,7 +862,7 @@ "demo": "account\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "account.deleteMFAAuthenticator" } }, { @@ -957,7 +957,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAChallenge" + "replaceWith": "account.createMFAChallenge" }, "methods": [ { @@ -983,7 +983,7 @@ "demo": "account\/create-mfa-challenge.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAChallenge" + "replaceWith": "account.createMFAChallenge" } }, { @@ -1085,7 +1085,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAChallenge" + "replaceWith": "account.updateMFAChallenge" }, "methods": [ { @@ -1113,7 +1113,7 @@ "demo": "account\/update-mfa-challenge.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAChallenge" + "replaceWith": "account.updateMFAChallenge" } }, { @@ -1219,7 +1219,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "account.listMFAFactors" }, "methods": [ { @@ -1241,7 +1241,7 @@ "demo": "account\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "account.listMFAFactors" } }, { @@ -1316,7 +1316,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "account.getMFARecoveryCodes" }, "methods": [ { @@ -1338,7 +1338,7 @@ "demo": "account\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "account.getMFARecoveryCodes" } }, { @@ -1411,7 +1411,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "account.createMFARecoveryCodes" }, "methods": [ { @@ -1433,7 +1433,7 @@ "demo": "account\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "account.createMFARecoveryCodes" } }, { @@ -1506,7 +1506,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "account.updateMFARecoveryCodes" }, "methods": [ { @@ -1528,7 +1528,7 @@ "demo": "account\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "account.updateMFARecoveryCodes" } }, { @@ -11331,7 +11331,7 @@ }, "$updatedAt": { "type": "string", - "description": "Execution upate date in ISO 8601 format.", + "description": "Execution update date in ISO 8601 format.", "x-example": "2020-10-15T06:38:00.000+00:00" }, "$permissions": { diff --git a/app/config/specs/open-api3-1.8.x-console.json b/app/config/specs/open-api3-1.8.x-console.json index 902fe401b5..2c6aee60a3 100644 --- a/app/config/specs/open-api3-1.8.x-console.json +++ b/app/config/specs/open-api3-1.8.x-console.json @@ -614,7 +614,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAAuthenticator" + "replaceWith": "account.createMFAAuthenticator" }, "methods": [ { @@ -640,7 +640,7 @@ "demo": "account\/create-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAAuthenticator" + "replaceWith": "account.createMFAAuthenticator" } }, { @@ -733,7 +733,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAAuthenticator" + "replaceWith": "account.updateMFAAuthenticator" }, "methods": [ { @@ -761,7 +761,7 @@ "demo": "account\/update-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAAuthenticator" + "replaceWith": "account.updateMFAAuthenticator" } }, { @@ -868,7 +868,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "account.deleteMFAAuthenticator" }, "methods": [ { @@ -893,7 +893,7 @@ "demo": "account\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "account.deleteMFAAuthenticator" } }, { @@ -987,7 +987,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAChallenge" + "replaceWith": "account.createMFAChallenge" }, "methods": [ { @@ -1013,7 +1013,7 @@ "demo": "account\/create-mfa-challenge.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAChallenge" + "replaceWith": "account.createMFAChallenge" } }, { @@ -1115,7 +1115,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAChallenge" + "replaceWith": "account.updateMFAChallenge" }, "methods": [ { @@ -1143,7 +1143,7 @@ "demo": "account\/update-mfa-challenge.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAChallenge" + "replaceWith": "account.updateMFAChallenge" } }, { @@ -1248,7 +1248,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "account.listMFAFactors" }, "methods": [ { @@ -1270,7 +1270,7 @@ "demo": "account\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "account.listMFAFactors" } }, { @@ -1344,7 +1344,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "account.getMFARecoveryCodes" }, "methods": [ { @@ -1366,7 +1366,7 @@ "demo": "account\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "account.getMFARecoveryCodes" } }, { @@ -1438,7 +1438,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "account.createMFARecoveryCodes" }, "methods": [ { @@ -1460,7 +1460,7 @@ "demo": "account\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "account.createMFARecoveryCodes" } }, { @@ -1532,7 +1532,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "account.updateMFARecoveryCodes" }, "methods": [ { @@ -1554,7 +1554,7 @@ "demo": "account\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "account.updateMFARecoveryCodes" } }, { @@ -15985,7 +15985,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createSMS" + "replaceWith": "messaging.createSMS" }, "methods": [ { @@ -16018,7 +16018,7 @@ "demo": "messaging\/create-sms.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createSMS" + "replaceWith": "messaging.createSMS" } }, { @@ -16162,7 +16162,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMS" + "replaceWith": "messaging.updateSMS" }, "methods": [ { @@ -16194,7 +16194,7 @@ "demo": "messaging\/update-sms.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMS" + "replaceWith": "messaging.updateSMS" } }, { @@ -16681,7 +16681,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createAPNSProvider" + "replaceWith": "messaging.createAPNSProvider" }, "methods": [ { @@ -16715,7 +16715,7 @@ "demo": "messaging\/create-apns-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createAPNSProvider" + "replaceWith": "messaging.createAPNSProvider" } }, { @@ -16856,7 +16856,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateAPNSProvider" + "replaceWith": "messaging.updateAPNSProvider" }, "methods": [ { @@ -16889,7 +16889,7 @@ "demo": "messaging\/update-apns-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateAPNSProvider" + "replaceWith": "messaging.updateAPNSProvider" } }, { @@ -17032,7 +17032,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createFCMProvider" + "replaceWith": "messaging.createFCMProvider" }, "methods": [ { @@ -17062,7 +17062,7 @@ "demo": "messaging\/create-fcm-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createFCMProvider" + "replaceWith": "messaging.createFCMProvider" } }, { @@ -17179,7 +17179,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateFCMProvider" + "replaceWith": "messaging.updateFCMProvider" }, "methods": [ { @@ -17208,7 +17208,7 @@ "demo": "messaging\/update-fcm-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateFCMProvider" + "replaceWith": "messaging.updateFCMProvider" } }, { @@ -17966,7 +17966,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createSMTPProvider" + "replaceWith": "messaging.createSMTPProvider" }, "methods": [ { @@ -18007,7 +18007,7 @@ "demo": "messaging\/create-smtp-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createSMTPProvider" + "replaceWith": "messaging.createSMTPProvider" } }, { @@ -18193,7 +18193,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMTPProvider" + "replaceWith": "messaging.updateSMTPProvider" }, "methods": [ { @@ -18232,7 +18232,7 @@ "demo": "messaging\/update-smtp-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMTPProvider" + "replaceWith": "messaging.updateSMTPProvider" } }, { @@ -22175,7 +22175,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateAPIStatus" + "replaceWith": "projects.updateAPIStatus" }, "methods": [ { @@ -22205,7 +22205,7 @@ "demo": "projects\/update-api-status.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateAPIStatus" + "replaceWith": "projects.updateAPIStatus" } }, { @@ -22329,7 +22329,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateAPIStatusAll" + "replaceWith": "projects.updateAPIStatusAll" }, "methods": [ { @@ -22357,7 +22357,7 @@ "demo": "projects\/update-api-status-all.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateAPIStatusAll" + "replaceWith": "projects.updateAPIStatusAll" } }, { @@ -24947,7 +24947,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMTP" + "replaceWith": "projects.updateSMTP" }, "methods": [ { @@ -24983,7 +24983,7 @@ "demo": "projects\/update-smtp.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMTP" + "replaceWith": "projects.updateSMTP" } }, { @@ -25139,7 +25139,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createSMTPTest" + "replaceWith": "projects.createSMTPTest" }, "methods": [ { @@ -25177,7 +25177,7 @@ "demo": "projects\/create-smtp-test.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createSMTPTest" + "replaceWith": "projects.createSMTPTest" } }, { @@ -26141,7 +26141,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "getSMSTemplate" + "replaceWith": "projects.getSMSTemplate" }, "methods": [ { @@ -26171,7 +26171,7 @@ "demo": "projects\/get-sms-template.md", "deprecated": { "since": "1.8.0", - "replaceWith": "getSMSTemplate" + "replaceWith": "projects.getSMSTemplate" } }, { @@ -26424,7 +26424,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMSTemplate" + "replaceWith": "projects.updateSMSTemplate" }, "methods": [ { @@ -26456,7 +26456,7 @@ "demo": "projects\/update-sms-template.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMSTemplate" + "replaceWith": "projects.updateSMSTemplate" } }, { @@ -26730,7 +26730,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "deleteSMSTemplate" + "replaceWith": "projects.deleteSMSTemplate" }, "methods": [ { @@ -26760,7 +26760,7 @@ "demo": "projects\/delete-sms-template.md", "deprecated": { "since": "1.8.0", - "replaceWith": "deleteSMSTemplate" + "replaceWith": "projects.deleteSMSTemplate" } }, { @@ -32019,7 +32019,7 @@ "parameters": [ { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following columns: name", "required": false, "schema": { "type": "array", @@ -32471,7 +32471,7 @@ }, { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, enabled, rowSecurity", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following columns: name, enabled, rowSecurity", "required": false, "schema": { "type": "array", @@ -32907,7 +32907,7 @@ }, { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: key, type, size, required, array, status, error", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following columns: key, type, size, required, array, status, error", "required": false, "schema": { "type": "array", @@ -34711,7 +34711,7 @@ }, "size": { "type": "integer", - "description": "Attribute size for text attributes, in number of characters.", + "description": "Column size for text columns, in number of characters.", "x-example": 1 }, "required": { @@ -35439,7 +35439,7 @@ }, { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: key, type, status, attributes, error", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following columns: key, type, status, attributes, error", "required": false, "schema": { "type": "array", @@ -40349,7 +40349,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFA" + "replaceWith": "users.updateMFA" }, "methods": [ { @@ -40377,7 +40377,7 @@ "demo": "users\/update-mfa.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFA" + "replaceWith": "users.updateMFA" } }, { @@ -40480,7 +40480,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "users.deleteMFAAuthenticator" }, "methods": [ { @@ -40507,7 +40507,7 @@ "demo": "users\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "users.deleteMFAAuthenticator" } }, { @@ -40612,7 +40612,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "users.listMFAFactors" }, "methods": [ { @@ -40638,7 +40638,7 @@ "demo": "users\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "users.listMFAFactors" } }, { @@ -40727,7 +40727,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "users.getMFARecoveryCodes" }, "methods": [ { @@ -40753,7 +40753,7 @@ "demo": "users\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "users.getMFARecoveryCodes" } }, { @@ -40840,7 +40840,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "users.updateMFARecoveryCodes" }, "methods": [ { @@ -40866,7 +40866,7 @@ "demo": "users\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "users.updateMFARecoveryCodes" } }, { @@ -40953,7 +40953,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "users.createMFARecoveryCodes" }, "methods": [ { @@ -40979,7 +40979,7 @@ "demo": "users\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "users.createMFARecoveryCodes" } }, { @@ -46064,7 +46064,7 @@ }, "default": { "type": "integer", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": 10, "format": "int32", "nullable": true @@ -46154,7 +46154,7 @@ }, "default": { "type": "number", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": 2.5, "format": "double", "nullable": true @@ -46230,7 +46230,7 @@ }, "default": { "type": "boolean", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": false, "nullable": true } @@ -46308,7 +46308,7 @@ }, "default": { "type": "string", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "default@example.com", "nullable": true } @@ -46396,7 +46396,7 @@ }, "default": { "type": "string", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "element", "nullable": true } @@ -46478,7 +46478,7 @@ }, "default": { "type": "string", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "192.0.2.0", "nullable": true } @@ -46638,7 +46638,7 @@ }, "default": { "type": "string", - "description": "Default value for attribute when not provided. Only null is optional", + "description": "Default value for column when not provided. Only null is optional", "x-example": "2020-10-15T06:38:00.000+00:00", "nullable": true } @@ -50168,7 +50168,7 @@ }, "$updatedAt": { "type": "string", - "description": "Execution upate date in ISO 8601 format.", + "description": "Execution update date in ISO 8601 format.", "x-example": "2020-10-15T06:38:00.000+00:00" }, "$permissions": { diff --git a/app/config/specs/open-api3-1.8.x-server.json b/app/config/specs/open-api3-1.8.x-server.json index 282cf9d185..7ff41e8be6 100644 --- a/app/config/specs/open-api3-1.8.x-server.json +++ b/app/config/specs/open-api3-1.8.x-server.json @@ -587,7 +587,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAAuthenticator" + "replaceWith": "account.createMFAAuthenticator" }, "methods": [ { @@ -614,7 +614,7 @@ "demo": "account\/create-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAAuthenticator" + "replaceWith": "account.createMFAAuthenticator" } }, { @@ -710,7 +710,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAAuthenticator" + "replaceWith": "account.updateMFAAuthenticator" }, "methods": [ { @@ -739,7 +739,7 @@ "demo": "account\/update-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAAuthenticator" + "replaceWith": "account.updateMFAAuthenticator" } }, { @@ -849,7 +849,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "account.deleteMFAAuthenticator" }, "methods": [ { @@ -875,7 +875,7 @@ "demo": "account\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "account.deleteMFAAuthenticator" } }, { @@ -972,7 +972,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAChallenge" + "replaceWith": "account.createMFAChallenge" }, "methods": [ { @@ -998,7 +998,7 @@ "demo": "account\/create-mfa-challenge.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAChallenge" + "replaceWith": "account.createMFAChallenge" } }, { @@ -1100,7 +1100,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAChallenge" + "replaceWith": "account.updateMFAChallenge" }, "methods": [ { @@ -1129,7 +1129,7 @@ "demo": "account\/update-mfa-challenge.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAChallenge" + "replaceWith": "account.updateMFAChallenge" } }, { @@ -1237,7 +1237,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "account.listMFAFactors" }, "methods": [ { @@ -1260,7 +1260,7 @@ "demo": "account\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "account.listMFAFactors" } }, { @@ -1337,7 +1337,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "account.getMFARecoveryCodes" }, "methods": [ { @@ -1360,7 +1360,7 @@ "demo": "account\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "account.getMFARecoveryCodes" } }, { @@ -1435,7 +1435,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "account.createMFARecoveryCodes" }, "methods": [ { @@ -1458,7 +1458,7 @@ "demo": "account\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "account.createMFARecoveryCodes" } }, { @@ -1533,7 +1533,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "account.updateMFARecoveryCodes" }, "methods": [ { @@ -1556,7 +1556,7 @@ "demo": "account\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "account.updateMFARecoveryCodes" } }, { @@ -14743,7 +14743,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createSMS" + "replaceWith": "messaging.createSMS" }, "methods": [ { @@ -14777,7 +14777,7 @@ "demo": "messaging\/create-sms.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createSMS" + "replaceWith": "messaging.createSMS" } }, { @@ -14923,7 +14923,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMS" + "replaceWith": "messaging.updateSMS" }, "methods": [ { @@ -14956,7 +14956,7 @@ "demo": "messaging\/update-sms.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMS" + "replaceWith": "messaging.updateSMS" } }, { @@ -15450,7 +15450,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createAPNSProvider" + "replaceWith": "messaging.createAPNSProvider" }, "methods": [ { @@ -15485,7 +15485,7 @@ "demo": "messaging\/create-apns-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createAPNSProvider" + "replaceWith": "messaging.createAPNSProvider" } }, { @@ -15628,7 +15628,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateAPNSProvider" + "replaceWith": "messaging.updateAPNSProvider" }, "methods": [ { @@ -15662,7 +15662,7 @@ "demo": "messaging\/update-apns-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateAPNSProvider" + "replaceWith": "messaging.updateAPNSProvider" } }, { @@ -15807,7 +15807,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createFCMProvider" + "replaceWith": "messaging.createFCMProvider" }, "methods": [ { @@ -15838,7 +15838,7 @@ "demo": "messaging\/create-fcm-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createFCMProvider" + "replaceWith": "messaging.createFCMProvider" } }, { @@ -15957,7 +15957,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateFCMProvider" + "replaceWith": "messaging.updateFCMProvider" }, "methods": [ { @@ -15987,7 +15987,7 @@ "demo": "messaging\/update-fcm-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateFCMProvider" + "replaceWith": "messaging.updateFCMProvider" } }, { @@ -16753,7 +16753,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createSMTPProvider" + "replaceWith": "messaging.createSMTPProvider" }, "methods": [ { @@ -16795,7 +16795,7 @@ "demo": "messaging\/create-smtp-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createSMTPProvider" + "replaceWith": "messaging.createSMTPProvider" } }, { @@ -16983,7 +16983,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMTPProvider" + "replaceWith": "messaging.updateSMTPProvider" }, "methods": [ { @@ -17023,7 +17023,7 @@ "demo": "messaging\/update-smtp-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMTPProvider" + "replaceWith": "messaging.updateSMTPProvider" } }, { @@ -22519,7 +22519,7 @@ "parameters": [ { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following columns: name", "required": false, "schema": { "type": "array", @@ -22882,7 +22882,7 @@ }, { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, enabled, rowSecurity", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following columns: name, enabled, rowSecurity", "required": false, "schema": { "type": "array", @@ -23323,7 +23323,7 @@ }, { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: key, type, size, required, array, status, error", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following columns: key, type, size, required, array, status, error", "required": false, "schema": { "type": "array", @@ -25143,7 +25143,7 @@ }, "size": { "type": "integer", - "description": "Attribute size for text attributes, in number of characters.", + "description": "Column size for text columns, in number of characters.", "x-example": 1 }, "required": { @@ -25878,7 +25878,7 @@ }, { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: key, type, status, attributes, error", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following columns: key, type, status, attributes, error", "required": false, "schema": { "type": "array", @@ -30343,7 +30343,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFA" + "replaceWith": "users.updateMFA" }, "methods": [ { @@ -30372,7 +30372,7 @@ "demo": "users\/update-mfa.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFA" + "replaceWith": "users.updateMFA" } }, { @@ -30477,7 +30477,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "users.deleteMFAAuthenticator" }, "methods": [ { @@ -30505,7 +30505,7 @@ "demo": "users\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "users.deleteMFAAuthenticator" } }, { @@ -30612,7 +30612,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "users.listMFAFactors" }, "methods": [ { @@ -30639,7 +30639,7 @@ "demo": "users\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "users.listMFAFactors" } }, { @@ -30730,7 +30730,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "users.getMFARecoveryCodes" }, "methods": [ { @@ -30757,7 +30757,7 @@ "demo": "users\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "users.getMFARecoveryCodes" } }, { @@ -30846,7 +30846,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "users.updateMFARecoveryCodes" }, "methods": [ { @@ -30873,7 +30873,7 @@ "demo": "users\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "users.updateMFARecoveryCodes" } }, { @@ -30962,7 +30962,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "users.createMFARecoveryCodes" }, "methods": [ { @@ -30989,7 +30989,7 @@ "demo": "users\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "users.createMFARecoveryCodes" } }, { @@ -34937,7 +34937,7 @@ }, "default": { "type": "integer", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": 10, "format": "int32", "nullable": true @@ -35027,7 +35027,7 @@ }, "default": { "type": "number", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": 2.5, "format": "double", "nullable": true @@ -35103,7 +35103,7 @@ }, "default": { "type": "boolean", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": false, "nullable": true } @@ -35181,7 +35181,7 @@ }, "default": { "type": "string", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "default@example.com", "nullable": true } @@ -35269,7 +35269,7 @@ }, "default": { "type": "string", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "element", "nullable": true } @@ -35351,7 +35351,7 @@ }, "default": { "type": "string", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "192.0.2.0", "nullable": true } @@ -35511,7 +35511,7 @@ }, "default": { "type": "string", - "description": "Default value for attribute when not provided. Only null is optional", + "description": "Default value for column when not provided. Only null is optional", "x-example": "2020-10-15T06:38:00.000+00:00", "nullable": true } @@ -38252,7 +38252,7 @@ }, "$updatedAt": { "type": "string", - "description": "Execution upate date in ISO 8601 format.", + "description": "Execution update date in ISO 8601 format.", "x-example": "2020-10-15T06:38:00.000+00:00" }, "$permissions": { diff --git a/app/config/specs/open-api3-latest-client.json b/app/config/specs/open-api3-latest-client.json index 4baaa06945..7d0107fa02 100644 --- a/app/config/specs/open-api3-latest-client.json +++ b/app/config/specs/open-api3-latest-client.json @@ -581,7 +581,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAAuthenticator" + "replaceWith": "account.createMFAAuthenticator" }, "methods": [ { @@ -607,7 +607,7 @@ "demo": "account\/create-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAAuthenticator" + "replaceWith": "account.createMFAAuthenticator" } }, { @@ -701,7 +701,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAAuthenticator" + "replaceWith": "account.updateMFAAuthenticator" }, "methods": [ { @@ -729,7 +729,7 @@ "demo": "account\/update-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAAuthenticator" + "replaceWith": "account.updateMFAAuthenticator" } }, { @@ -837,7 +837,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "account.deleteMFAAuthenticator" }, "methods": [ { @@ -862,7 +862,7 @@ "demo": "account\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "account.deleteMFAAuthenticator" } }, { @@ -957,7 +957,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAChallenge" + "replaceWith": "account.createMFAChallenge" }, "methods": [ { @@ -983,7 +983,7 @@ "demo": "account\/create-mfa-challenge.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAChallenge" + "replaceWith": "account.createMFAChallenge" } }, { @@ -1085,7 +1085,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAChallenge" + "replaceWith": "account.updateMFAChallenge" }, "methods": [ { @@ -1113,7 +1113,7 @@ "demo": "account\/update-mfa-challenge.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAChallenge" + "replaceWith": "account.updateMFAChallenge" } }, { @@ -1219,7 +1219,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "account.listMFAFactors" }, "methods": [ { @@ -1241,7 +1241,7 @@ "demo": "account\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "account.listMFAFactors" } }, { @@ -1316,7 +1316,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "account.getMFARecoveryCodes" }, "methods": [ { @@ -1338,7 +1338,7 @@ "demo": "account\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "account.getMFARecoveryCodes" } }, { @@ -1411,7 +1411,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "account.createMFARecoveryCodes" }, "methods": [ { @@ -1433,7 +1433,7 @@ "demo": "account\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "account.createMFARecoveryCodes" } }, { @@ -1506,7 +1506,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "account.updateMFARecoveryCodes" }, "methods": [ { @@ -1528,7 +1528,7 @@ "demo": "account\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "account.updateMFARecoveryCodes" } }, { @@ -11331,7 +11331,7 @@ }, "$updatedAt": { "type": "string", - "description": "Execution upate date in ISO 8601 format.", + "description": "Execution update date in ISO 8601 format.", "x-example": "2020-10-15T06:38:00.000+00:00" }, "$permissions": { diff --git a/app/config/specs/open-api3-latest-console.json b/app/config/specs/open-api3-latest-console.json index 902fe401b5..2c6aee60a3 100644 --- a/app/config/specs/open-api3-latest-console.json +++ b/app/config/specs/open-api3-latest-console.json @@ -614,7 +614,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAAuthenticator" + "replaceWith": "account.createMFAAuthenticator" }, "methods": [ { @@ -640,7 +640,7 @@ "demo": "account\/create-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAAuthenticator" + "replaceWith": "account.createMFAAuthenticator" } }, { @@ -733,7 +733,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAAuthenticator" + "replaceWith": "account.updateMFAAuthenticator" }, "methods": [ { @@ -761,7 +761,7 @@ "demo": "account\/update-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAAuthenticator" + "replaceWith": "account.updateMFAAuthenticator" } }, { @@ -868,7 +868,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "account.deleteMFAAuthenticator" }, "methods": [ { @@ -893,7 +893,7 @@ "demo": "account\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "account.deleteMFAAuthenticator" } }, { @@ -987,7 +987,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAChallenge" + "replaceWith": "account.createMFAChallenge" }, "methods": [ { @@ -1013,7 +1013,7 @@ "demo": "account\/create-mfa-challenge.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAChallenge" + "replaceWith": "account.createMFAChallenge" } }, { @@ -1115,7 +1115,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAChallenge" + "replaceWith": "account.updateMFAChallenge" }, "methods": [ { @@ -1143,7 +1143,7 @@ "demo": "account\/update-mfa-challenge.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAChallenge" + "replaceWith": "account.updateMFAChallenge" } }, { @@ -1248,7 +1248,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "account.listMFAFactors" }, "methods": [ { @@ -1270,7 +1270,7 @@ "demo": "account\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "account.listMFAFactors" } }, { @@ -1344,7 +1344,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "account.getMFARecoveryCodes" }, "methods": [ { @@ -1366,7 +1366,7 @@ "demo": "account\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "account.getMFARecoveryCodes" } }, { @@ -1438,7 +1438,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "account.createMFARecoveryCodes" }, "methods": [ { @@ -1460,7 +1460,7 @@ "demo": "account\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "account.createMFARecoveryCodes" } }, { @@ -1532,7 +1532,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "account.updateMFARecoveryCodes" }, "methods": [ { @@ -1554,7 +1554,7 @@ "demo": "account\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "account.updateMFARecoveryCodes" } }, { @@ -15985,7 +15985,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createSMS" + "replaceWith": "messaging.createSMS" }, "methods": [ { @@ -16018,7 +16018,7 @@ "demo": "messaging\/create-sms.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createSMS" + "replaceWith": "messaging.createSMS" } }, { @@ -16162,7 +16162,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMS" + "replaceWith": "messaging.updateSMS" }, "methods": [ { @@ -16194,7 +16194,7 @@ "demo": "messaging\/update-sms.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMS" + "replaceWith": "messaging.updateSMS" } }, { @@ -16681,7 +16681,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createAPNSProvider" + "replaceWith": "messaging.createAPNSProvider" }, "methods": [ { @@ -16715,7 +16715,7 @@ "demo": "messaging\/create-apns-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createAPNSProvider" + "replaceWith": "messaging.createAPNSProvider" } }, { @@ -16856,7 +16856,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateAPNSProvider" + "replaceWith": "messaging.updateAPNSProvider" }, "methods": [ { @@ -16889,7 +16889,7 @@ "demo": "messaging\/update-apns-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateAPNSProvider" + "replaceWith": "messaging.updateAPNSProvider" } }, { @@ -17032,7 +17032,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createFCMProvider" + "replaceWith": "messaging.createFCMProvider" }, "methods": [ { @@ -17062,7 +17062,7 @@ "demo": "messaging\/create-fcm-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createFCMProvider" + "replaceWith": "messaging.createFCMProvider" } }, { @@ -17179,7 +17179,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateFCMProvider" + "replaceWith": "messaging.updateFCMProvider" }, "methods": [ { @@ -17208,7 +17208,7 @@ "demo": "messaging\/update-fcm-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateFCMProvider" + "replaceWith": "messaging.updateFCMProvider" } }, { @@ -17966,7 +17966,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createSMTPProvider" + "replaceWith": "messaging.createSMTPProvider" }, "methods": [ { @@ -18007,7 +18007,7 @@ "demo": "messaging\/create-smtp-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createSMTPProvider" + "replaceWith": "messaging.createSMTPProvider" } }, { @@ -18193,7 +18193,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMTPProvider" + "replaceWith": "messaging.updateSMTPProvider" }, "methods": [ { @@ -18232,7 +18232,7 @@ "demo": "messaging\/update-smtp-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMTPProvider" + "replaceWith": "messaging.updateSMTPProvider" } }, { @@ -22175,7 +22175,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateAPIStatus" + "replaceWith": "projects.updateAPIStatus" }, "methods": [ { @@ -22205,7 +22205,7 @@ "demo": "projects\/update-api-status.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateAPIStatus" + "replaceWith": "projects.updateAPIStatus" } }, { @@ -22329,7 +22329,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateAPIStatusAll" + "replaceWith": "projects.updateAPIStatusAll" }, "methods": [ { @@ -22357,7 +22357,7 @@ "demo": "projects\/update-api-status-all.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateAPIStatusAll" + "replaceWith": "projects.updateAPIStatusAll" } }, { @@ -24947,7 +24947,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMTP" + "replaceWith": "projects.updateSMTP" }, "methods": [ { @@ -24983,7 +24983,7 @@ "demo": "projects\/update-smtp.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMTP" + "replaceWith": "projects.updateSMTP" } }, { @@ -25139,7 +25139,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createSMTPTest" + "replaceWith": "projects.createSMTPTest" }, "methods": [ { @@ -25177,7 +25177,7 @@ "demo": "projects\/create-smtp-test.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createSMTPTest" + "replaceWith": "projects.createSMTPTest" } }, { @@ -26141,7 +26141,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "getSMSTemplate" + "replaceWith": "projects.getSMSTemplate" }, "methods": [ { @@ -26171,7 +26171,7 @@ "demo": "projects\/get-sms-template.md", "deprecated": { "since": "1.8.0", - "replaceWith": "getSMSTemplate" + "replaceWith": "projects.getSMSTemplate" } }, { @@ -26424,7 +26424,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMSTemplate" + "replaceWith": "projects.updateSMSTemplate" }, "methods": [ { @@ -26456,7 +26456,7 @@ "demo": "projects\/update-sms-template.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMSTemplate" + "replaceWith": "projects.updateSMSTemplate" } }, { @@ -26730,7 +26730,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "deleteSMSTemplate" + "replaceWith": "projects.deleteSMSTemplate" }, "methods": [ { @@ -26760,7 +26760,7 @@ "demo": "projects\/delete-sms-template.md", "deprecated": { "since": "1.8.0", - "replaceWith": "deleteSMSTemplate" + "replaceWith": "projects.deleteSMSTemplate" } }, { @@ -32019,7 +32019,7 @@ "parameters": [ { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following columns: name", "required": false, "schema": { "type": "array", @@ -32471,7 +32471,7 @@ }, { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, enabled, rowSecurity", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following columns: name, enabled, rowSecurity", "required": false, "schema": { "type": "array", @@ -32907,7 +32907,7 @@ }, { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: key, type, size, required, array, status, error", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following columns: key, type, size, required, array, status, error", "required": false, "schema": { "type": "array", @@ -34711,7 +34711,7 @@ }, "size": { "type": "integer", - "description": "Attribute size for text attributes, in number of characters.", + "description": "Column size for text columns, in number of characters.", "x-example": 1 }, "required": { @@ -35439,7 +35439,7 @@ }, { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: key, type, status, attributes, error", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following columns: key, type, status, attributes, error", "required": false, "schema": { "type": "array", @@ -40349,7 +40349,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFA" + "replaceWith": "users.updateMFA" }, "methods": [ { @@ -40377,7 +40377,7 @@ "demo": "users\/update-mfa.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFA" + "replaceWith": "users.updateMFA" } }, { @@ -40480,7 +40480,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "users.deleteMFAAuthenticator" }, "methods": [ { @@ -40507,7 +40507,7 @@ "demo": "users\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "users.deleteMFAAuthenticator" } }, { @@ -40612,7 +40612,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "users.listMFAFactors" }, "methods": [ { @@ -40638,7 +40638,7 @@ "demo": "users\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "users.listMFAFactors" } }, { @@ -40727,7 +40727,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "users.getMFARecoveryCodes" }, "methods": [ { @@ -40753,7 +40753,7 @@ "demo": "users\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "users.getMFARecoveryCodes" } }, { @@ -40840,7 +40840,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "users.updateMFARecoveryCodes" }, "methods": [ { @@ -40866,7 +40866,7 @@ "demo": "users\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "users.updateMFARecoveryCodes" } }, { @@ -40953,7 +40953,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "users.createMFARecoveryCodes" }, "methods": [ { @@ -40979,7 +40979,7 @@ "demo": "users\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "users.createMFARecoveryCodes" } }, { @@ -46064,7 +46064,7 @@ }, "default": { "type": "integer", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": 10, "format": "int32", "nullable": true @@ -46154,7 +46154,7 @@ }, "default": { "type": "number", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": 2.5, "format": "double", "nullable": true @@ -46230,7 +46230,7 @@ }, "default": { "type": "boolean", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": false, "nullable": true } @@ -46308,7 +46308,7 @@ }, "default": { "type": "string", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "default@example.com", "nullable": true } @@ -46396,7 +46396,7 @@ }, "default": { "type": "string", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "element", "nullable": true } @@ -46478,7 +46478,7 @@ }, "default": { "type": "string", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "192.0.2.0", "nullable": true } @@ -46638,7 +46638,7 @@ }, "default": { "type": "string", - "description": "Default value for attribute when not provided. Only null is optional", + "description": "Default value for column when not provided. Only null is optional", "x-example": "2020-10-15T06:38:00.000+00:00", "nullable": true } @@ -50168,7 +50168,7 @@ }, "$updatedAt": { "type": "string", - "description": "Execution upate date in ISO 8601 format.", + "description": "Execution update date in ISO 8601 format.", "x-example": "2020-10-15T06:38:00.000+00:00" }, "$permissions": { diff --git a/app/config/specs/open-api3-latest-server.json b/app/config/specs/open-api3-latest-server.json index 282cf9d185..7ff41e8be6 100644 --- a/app/config/specs/open-api3-latest-server.json +++ b/app/config/specs/open-api3-latest-server.json @@ -587,7 +587,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAAuthenticator" + "replaceWith": "account.createMFAAuthenticator" }, "methods": [ { @@ -614,7 +614,7 @@ "demo": "account\/create-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAAuthenticator" + "replaceWith": "account.createMFAAuthenticator" } }, { @@ -710,7 +710,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAAuthenticator" + "replaceWith": "account.updateMFAAuthenticator" }, "methods": [ { @@ -739,7 +739,7 @@ "demo": "account\/update-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAAuthenticator" + "replaceWith": "account.updateMFAAuthenticator" } }, { @@ -849,7 +849,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "account.deleteMFAAuthenticator" }, "methods": [ { @@ -875,7 +875,7 @@ "demo": "account\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "account.deleteMFAAuthenticator" } }, { @@ -972,7 +972,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAChallenge" + "replaceWith": "account.createMFAChallenge" }, "methods": [ { @@ -998,7 +998,7 @@ "demo": "account\/create-mfa-challenge.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAChallenge" + "replaceWith": "account.createMFAChallenge" } }, { @@ -1100,7 +1100,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAChallenge" + "replaceWith": "account.updateMFAChallenge" }, "methods": [ { @@ -1129,7 +1129,7 @@ "demo": "account\/update-mfa-challenge.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAChallenge" + "replaceWith": "account.updateMFAChallenge" } }, { @@ -1237,7 +1237,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "account.listMFAFactors" }, "methods": [ { @@ -1260,7 +1260,7 @@ "demo": "account\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "account.listMFAFactors" } }, { @@ -1337,7 +1337,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "account.getMFARecoveryCodes" }, "methods": [ { @@ -1360,7 +1360,7 @@ "demo": "account\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "account.getMFARecoveryCodes" } }, { @@ -1435,7 +1435,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "account.createMFARecoveryCodes" }, "methods": [ { @@ -1458,7 +1458,7 @@ "demo": "account\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "account.createMFARecoveryCodes" } }, { @@ -1533,7 +1533,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "account.updateMFARecoveryCodes" }, "methods": [ { @@ -1556,7 +1556,7 @@ "demo": "account\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "account.updateMFARecoveryCodes" } }, { @@ -14743,7 +14743,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createSMS" + "replaceWith": "messaging.createSMS" }, "methods": [ { @@ -14777,7 +14777,7 @@ "demo": "messaging\/create-sms.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createSMS" + "replaceWith": "messaging.createSMS" } }, { @@ -14923,7 +14923,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMS" + "replaceWith": "messaging.updateSMS" }, "methods": [ { @@ -14956,7 +14956,7 @@ "demo": "messaging\/update-sms.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMS" + "replaceWith": "messaging.updateSMS" } }, { @@ -15450,7 +15450,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createAPNSProvider" + "replaceWith": "messaging.createAPNSProvider" }, "methods": [ { @@ -15485,7 +15485,7 @@ "demo": "messaging\/create-apns-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createAPNSProvider" + "replaceWith": "messaging.createAPNSProvider" } }, { @@ -15628,7 +15628,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateAPNSProvider" + "replaceWith": "messaging.updateAPNSProvider" }, "methods": [ { @@ -15662,7 +15662,7 @@ "demo": "messaging\/update-apns-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateAPNSProvider" + "replaceWith": "messaging.updateAPNSProvider" } }, { @@ -15807,7 +15807,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createFCMProvider" + "replaceWith": "messaging.createFCMProvider" }, "methods": [ { @@ -15838,7 +15838,7 @@ "demo": "messaging\/create-fcm-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createFCMProvider" + "replaceWith": "messaging.createFCMProvider" } }, { @@ -15957,7 +15957,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateFCMProvider" + "replaceWith": "messaging.updateFCMProvider" }, "methods": [ { @@ -15987,7 +15987,7 @@ "demo": "messaging\/update-fcm-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateFCMProvider" + "replaceWith": "messaging.updateFCMProvider" } }, { @@ -16753,7 +16753,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createSMTPProvider" + "replaceWith": "messaging.createSMTPProvider" }, "methods": [ { @@ -16795,7 +16795,7 @@ "demo": "messaging\/create-smtp-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createSMTPProvider" + "replaceWith": "messaging.createSMTPProvider" } }, { @@ -16983,7 +16983,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMTPProvider" + "replaceWith": "messaging.updateSMTPProvider" }, "methods": [ { @@ -17023,7 +17023,7 @@ "demo": "messaging\/update-smtp-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMTPProvider" + "replaceWith": "messaging.updateSMTPProvider" } }, { @@ -22519,7 +22519,7 @@ "parameters": [ { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following columns: name", "required": false, "schema": { "type": "array", @@ -22882,7 +22882,7 @@ }, { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, enabled, rowSecurity", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following columns: name, enabled, rowSecurity", "required": false, "schema": { "type": "array", @@ -23323,7 +23323,7 @@ }, { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: key, type, size, required, array, status, error", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following columns: key, type, size, required, array, status, error", "required": false, "schema": { "type": "array", @@ -25143,7 +25143,7 @@ }, "size": { "type": "integer", - "description": "Attribute size for text attributes, in number of characters.", + "description": "Column size for text columns, in number of characters.", "x-example": 1 }, "required": { @@ -25878,7 +25878,7 @@ }, { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: key, type, status, attributes, error", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following columns: key, type, status, attributes, error", "required": false, "schema": { "type": "array", @@ -30343,7 +30343,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFA" + "replaceWith": "users.updateMFA" }, "methods": [ { @@ -30372,7 +30372,7 @@ "demo": "users\/update-mfa.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFA" + "replaceWith": "users.updateMFA" } }, { @@ -30477,7 +30477,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "users.deleteMFAAuthenticator" }, "methods": [ { @@ -30505,7 +30505,7 @@ "demo": "users\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "users.deleteMFAAuthenticator" } }, { @@ -30612,7 +30612,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "users.listMFAFactors" }, "methods": [ { @@ -30639,7 +30639,7 @@ "demo": "users\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "users.listMFAFactors" } }, { @@ -30730,7 +30730,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "users.getMFARecoveryCodes" }, "methods": [ { @@ -30757,7 +30757,7 @@ "demo": "users\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "users.getMFARecoveryCodes" } }, { @@ -30846,7 +30846,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "users.updateMFARecoveryCodes" }, "methods": [ { @@ -30873,7 +30873,7 @@ "demo": "users\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "users.updateMFARecoveryCodes" } }, { @@ -30962,7 +30962,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "users.createMFARecoveryCodes" }, "methods": [ { @@ -30989,7 +30989,7 @@ "demo": "users\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "users.createMFARecoveryCodes" } }, { @@ -34937,7 +34937,7 @@ }, "default": { "type": "integer", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": 10, "format": "int32", "nullable": true @@ -35027,7 +35027,7 @@ }, "default": { "type": "number", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": 2.5, "format": "double", "nullable": true @@ -35103,7 +35103,7 @@ }, "default": { "type": "boolean", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": false, "nullable": true } @@ -35181,7 +35181,7 @@ }, "default": { "type": "string", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "default@example.com", "nullable": true } @@ -35269,7 +35269,7 @@ }, "default": { "type": "string", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "element", "nullable": true } @@ -35351,7 +35351,7 @@ }, "default": { "type": "string", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "192.0.2.0", "nullable": true } @@ -35511,7 +35511,7 @@ }, "default": { "type": "string", - "description": "Default value for attribute when not provided. Only null is optional", + "description": "Default value for column when not provided. Only null is optional", "x-example": "2020-10-15T06:38:00.000+00:00", "nullable": true } @@ -38252,7 +38252,7 @@ }, "$updatedAt": { "type": "string", - "description": "Execution upate date in ISO 8601 format.", + "description": "Execution update date in ISO 8601 format.", "x-example": "2020-10-15T06:38:00.000+00:00" }, "$permissions": { diff --git a/app/config/specs/swagger2-1.8.x-client.json b/app/config/specs/swagger2-1.8.x-client.json index eb833ba4a0..29cfd281c1 100644 --- a/app/config/specs/swagger2-1.8.x-client.json +++ b/app/config/specs/swagger2-1.8.x-client.json @@ -644,7 +644,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAAuthenticator" + "replaceWith": "account.createMFAAuthenticator" }, "methods": [ { @@ -670,7 +670,7 @@ "demo": "account\/create-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAAuthenticator" + "replaceWith": "account.createMFAAuthenticator" } }, { @@ -764,7 +764,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAAuthenticator" + "replaceWith": "account.updateMFAAuthenticator" }, "methods": [ { @@ -792,7 +792,7 @@ "demo": "account\/update-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAAuthenticator" + "replaceWith": "account.updateMFAAuthenticator" } }, { @@ -901,7 +901,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "account.deleteMFAAuthenticator" }, "methods": [ { @@ -926,7 +926,7 @@ "demo": "account\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "account.deleteMFAAuthenticator" } }, { @@ -1021,7 +1021,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAChallenge" + "replaceWith": "account.createMFAChallenge" }, "methods": [ { @@ -1047,7 +1047,7 @@ "demo": "account\/create-mfa-challenge.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAChallenge" + "replaceWith": "account.createMFAChallenge" } }, { @@ -1152,7 +1152,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAChallenge" + "replaceWith": "account.updateMFAChallenge" }, "methods": [ { @@ -1180,7 +1180,7 @@ "demo": "account\/update-mfa-challenge.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAChallenge" + "replaceWith": "account.updateMFAChallenge" } }, { @@ -1288,7 +1288,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "account.listMFAFactors" }, "methods": [ { @@ -1310,7 +1310,7 @@ "demo": "account\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "account.listMFAFactors" } }, { @@ -1385,7 +1385,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "account.getMFARecoveryCodes" }, "methods": [ { @@ -1407,7 +1407,7 @@ "demo": "account\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "account.getMFARecoveryCodes" } }, { @@ -1482,7 +1482,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "account.createMFARecoveryCodes" }, "methods": [ { @@ -1504,7 +1504,7 @@ "demo": "account\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "account.createMFARecoveryCodes" } }, { @@ -1579,7 +1579,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "account.updateMFARecoveryCodes" }, "methods": [ { @@ -1601,7 +1601,7 @@ "demo": "account\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "account.updateMFARecoveryCodes" } }, { @@ -11330,7 +11330,7 @@ }, "$updatedAt": { "type": "string", - "description": "Execution upate date in ISO 8601 format.", + "description": "Execution update date in ISO 8601 format.", "x-example": "2020-10-15T06:38:00.000+00:00" }, "$permissions": { diff --git a/app/config/specs/swagger2-1.8.x-console.json b/app/config/specs/swagger2-1.8.x-console.json index 8cf21effc5..cf4c425874 100644 --- a/app/config/specs/swagger2-1.8.x-console.json +++ b/app/config/specs/swagger2-1.8.x-console.json @@ -687,7 +687,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAAuthenticator" + "replaceWith": "account.createMFAAuthenticator" }, "methods": [ { @@ -713,7 +713,7 @@ "demo": "account\/create-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAAuthenticator" + "replaceWith": "account.createMFAAuthenticator" } }, { @@ -806,7 +806,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAAuthenticator" + "replaceWith": "account.updateMFAAuthenticator" }, "methods": [ { @@ -834,7 +834,7 @@ "demo": "account\/update-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAAuthenticator" + "replaceWith": "account.updateMFAAuthenticator" } }, { @@ -942,7 +942,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "account.deleteMFAAuthenticator" }, "methods": [ { @@ -967,7 +967,7 @@ "demo": "account\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "account.deleteMFAAuthenticator" } }, { @@ -1061,7 +1061,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAChallenge" + "replaceWith": "account.createMFAChallenge" }, "methods": [ { @@ -1087,7 +1087,7 @@ "demo": "account\/create-mfa-challenge.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAChallenge" + "replaceWith": "account.createMFAChallenge" } }, { @@ -1192,7 +1192,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAChallenge" + "replaceWith": "account.updateMFAChallenge" }, "methods": [ { @@ -1220,7 +1220,7 @@ "demo": "account\/update-mfa-challenge.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAChallenge" + "replaceWith": "account.updateMFAChallenge" } }, { @@ -1327,7 +1327,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "account.listMFAFactors" }, "methods": [ { @@ -1349,7 +1349,7 @@ "demo": "account\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "account.listMFAFactors" } }, { @@ -1423,7 +1423,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "account.getMFARecoveryCodes" }, "methods": [ { @@ -1445,7 +1445,7 @@ "demo": "account\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "account.getMFARecoveryCodes" } }, { @@ -1519,7 +1519,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "account.createMFARecoveryCodes" }, "methods": [ { @@ -1541,7 +1541,7 @@ "demo": "account\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "account.createMFARecoveryCodes" } }, { @@ -1615,7 +1615,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "account.updateMFARecoveryCodes" }, "methods": [ { @@ -1637,7 +1637,7 @@ "demo": "account\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "account.updateMFARecoveryCodes" } }, { @@ -16078,7 +16078,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createSMS" + "replaceWith": "messaging.createSMS" }, "methods": [ { @@ -16111,7 +16111,7 @@ "demo": "messaging\/create-sms.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createSMS" + "replaceWith": "messaging.createSMS" } }, { @@ -16264,7 +16264,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMS" + "replaceWith": "messaging.updateSMS" }, "methods": [ { @@ -16296,7 +16296,7 @@ "demo": "messaging\/update-sms.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMS" + "replaceWith": "messaging.updateSMS" } }, { @@ -16778,7 +16778,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createAPNSProvider" + "replaceWith": "messaging.createAPNSProvider" }, "methods": [ { @@ -16812,7 +16812,7 @@ "demo": "messaging\/create-apns-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createAPNSProvider" + "replaceWith": "messaging.createAPNSProvider" } }, { @@ -16963,7 +16963,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateAPNSProvider" + "replaceWith": "messaging.updateAPNSProvider" }, "methods": [ { @@ -16996,7 +16996,7 @@ "demo": "messaging\/update-apns-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateAPNSProvider" + "replaceWith": "messaging.updateAPNSProvider" } }, { @@ -17144,7 +17144,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createFCMProvider" + "replaceWith": "messaging.createFCMProvider" }, "methods": [ { @@ -17174,7 +17174,7 @@ "demo": "messaging\/create-fcm-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createFCMProvider" + "replaceWith": "messaging.createFCMProvider" } }, { @@ -17297,7 +17297,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateFCMProvider" + "replaceWith": "messaging.updateFCMProvider" }, "methods": [ { @@ -17326,7 +17326,7 @@ "demo": "messaging\/update-fcm-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateFCMProvider" + "replaceWith": "messaging.updateFCMProvider" } }, { @@ -18130,7 +18130,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createSMTPProvider" + "replaceWith": "messaging.createSMTPProvider" }, "methods": [ { @@ -18171,7 +18171,7 @@ "demo": "messaging\/create-smtp-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createSMTPProvider" + "replaceWith": "messaging.createSMTPProvider" } }, { @@ -18373,7 +18373,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMTPProvider" + "replaceWith": "messaging.updateSMTPProvider" }, "methods": [ { @@ -18412,7 +18412,7 @@ "demo": "messaging\/update-smtp-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMTPProvider" + "replaceWith": "messaging.updateSMTPProvider" } }, { @@ -22408,7 +22408,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateAPIStatus" + "replaceWith": "projects.updateAPIStatus" }, "methods": [ { @@ -22438,7 +22438,7 @@ "demo": "projects\/update-api-status.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateAPIStatus" + "replaceWith": "projects.updateAPIStatus" } }, { @@ -22562,7 +22562,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateAPIStatusAll" + "replaceWith": "projects.updateAPIStatusAll" }, "methods": [ { @@ -22590,7 +22590,7 @@ "demo": "projects\/update-api-status-all.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateAPIStatusAll" + "replaceWith": "projects.updateAPIStatusAll" } }, { @@ -25154,7 +25154,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMTP" + "replaceWith": "projects.updateSMTP" }, "methods": [ { @@ -25190,7 +25190,7 @@ "demo": "projects\/update-smtp.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMTP" + "replaceWith": "projects.updateSMTP" } }, { @@ -25357,7 +25357,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createSMTPTest" + "replaceWith": "projects.createSMTPTest" }, "methods": [ { @@ -25395,7 +25395,7 @@ "demo": "projects\/create-smtp-test.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createSMTPTest" + "replaceWith": "projects.createSMTPTest" } }, { @@ -26352,7 +26352,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "getSMSTemplate" + "replaceWith": "projects.getSMSTemplate" }, "methods": [ { @@ -26382,7 +26382,7 @@ "demo": "projects\/get-sms-template.md", "deprecated": { "since": "1.8.0", - "replaceWith": "getSMSTemplate" + "replaceWith": "projects.getSMSTemplate" } }, { @@ -26631,7 +26631,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMSTemplate" + "replaceWith": "projects.updateSMSTemplate" }, "methods": [ { @@ -26663,7 +26663,7 @@ "demo": "projects\/update-sms-template.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMSTemplate" + "replaceWith": "projects.updateSMSTemplate" } }, { @@ -26932,7 +26932,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "deleteSMSTemplate" + "replaceWith": "projects.deleteSMSTemplate" }, "methods": [ { @@ -26962,7 +26962,7 @@ "demo": "projects\/delete-sms-template.md", "deprecated": { "since": "1.8.0", - "replaceWith": "deleteSMSTemplate" + "replaceWith": "projects.deleteSMSTemplate" } }, { @@ -32201,7 +32201,7 @@ "parameters": [ { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following columns: name", "required": false, "type": "array", "collectionFormat": "multi", @@ -32651,7 +32651,7 @@ }, { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, enabled, rowSecurity", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following columns: name, enabled, rowSecurity", "required": false, "type": "array", "collectionFormat": "multi", @@ -33079,7 +33079,7 @@ }, { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: key, type, size, required, array, status, error", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following columns: key, type, size, required, array, status, error", "required": false, "type": "array", "collectionFormat": "multi", @@ -34871,7 +34871,7 @@ }, "size": { "type": "integer", - "description": "Attribute size for text attributes, in number of characters.", + "description": "Column size for text columns, in number of characters.", "default": null, "x-example": 1 }, @@ -35582,7 +35582,7 @@ }, { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: key, type, status, attributes, error", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following columns: key, type, status, attributes, error", "required": false, "type": "array", "collectionFormat": "multi", @@ -40427,7 +40427,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFA" + "replaceWith": "users.updateMFA" }, "methods": [ { @@ -40455,7 +40455,7 @@ "demo": "users\/update-mfa.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFA" + "replaceWith": "users.updateMFA" } }, { @@ -40559,7 +40559,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "users.deleteMFAAuthenticator" }, "methods": [ { @@ -40586,7 +40586,7 @@ "demo": "users\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "users.deleteMFAAuthenticator" } }, { @@ -40687,7 +40687,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "users.listMFAFactors" }, "methods": [ { @@ -40713,7 +40713,7 @@ "demo": "users\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "users.listMFAFactors" } }, { @@ -40800,7 +40800,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "users.getMFARecoveryCodes" }, "methods": [ { @@ -40826,7 +40826,7 @@ "demo": "users\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "users.getMFARecoveryCodes" } }, { @@ -40913,7 +40913,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "users.updateMFARecoveryCodes" }, "methods": [ { @@ -40939,7 +40939,7 @@ "demo": "users\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "users.updateMFARecoveryCodes" } }, { @@ -41026,7 +41026,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "users.createMFARecoveryCodes" }, "methods": [ { @@ -41052,7 +41052,7 @@ "demo": "users\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "users.createMFARecoveryCodes" } }, { @@ -46110,7 +46110,7 @@ }, "default": { "type": "integer", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": 10, "format": "int32", "x-nullable": true @@ -46200,7 +46200,7 @@ }, "default": { "type": "number", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": 2.5, "format": "double", "x-nullable": true @@ -46276,7 +46276,7 @@ }, "default": { "type": "boolean", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": false, "x-nullable": true } @@ -46354,7 +46354,7 @@ }, "default": { "type": "string", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "default@example.com", "x-nullable": true } @@ -46442,7 +46442,7 @@ }, "default": { "type": "string", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "element", "x-nullable": true } @@ -46524,7 +46524,7 @@ }, "default": { "type": "string", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "192.0.2.0", "x-nullable": true } @@ -46684,7 +46684,7 @@ }, "default": { "type": "string", - "description": "Default value for attribute when not provided. Only null is optional", + "description": "Default value for column when not provided. Only null is optional", "x-example": "2020-10-15T06:38:00.000+00:00", "x-nullable": true } @@ -50224,7 +50224,7 @@ }, "$updatedAt": { "type": "string", - "description": "Execution upate date in ISO 8601 format.", + "description": "Execution update date in ISO 8601 format.", "x-example": "2020-10-15T06:38:00.000+00:00" }, "$permissions": { diff --git a/app/config/specs/swagger2-1.8.x-server.json b/app/config/specs/swagger2-1.8.x-server.json index d0ea24bc51..2c56aa09f3 100644 --- a/app/config/specs/swagger2-1.8.x-server.json +++ b/app/config/specs/swagger2-1.8.x-server.json @@ -659,7 +659,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAAuthenticator" + "replaceWith": "account.createMFAAuthenticator" }, "methods": [ { @@ -686,7 +686,7 @@ "demo": "account\/create-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAAuthenticator" + "replaceWith": "account.createMFAAuthenticator" } }, { @@ -782,7 +782,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAAuthenticator" + "replaceWith": "account.updateMFAAuthenticator" }, "methods": [ { @@ -811,7 +811,7 @@ "demo": "account\/update-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAAuthenticator" + "replaceWith": "account.updateMFAAuthenticator" } }, { @@ -922,7 +922,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "account.deleteMFAAuthenticator" }, "methods": [ { @@ -948,7 +948,7 @@ "demo": "account\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "account.deleteMFAAuthenticator" } }, { @@ -1045,7 +1045,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAChallenge" + "replaceWith": "account.createMFAChallenge" }, "methods": [ { @@ -1071,7 +1071,7 @@ "demo": "account\/create-mfa-challenge.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAChallenge" + "replaceWith": "account.createMFAChallenge" } }, { @@ -1176,7 +1176,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAChallenge" + "replaceWith": "account.updateMFAChallenge" }, "methods": [ { @@ -1205,7 +1205,7 @@ "demo": "account\/update-mfa-challenge.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAChallenge" + "replaceWith": "account.updateMFAChallenge" } }, { @@ -1315,7 +1315,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "account.listMFAFactors" }, "methods": [ { @@ -1338,7 +1338,7 @@ "demo": "account\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "account.listMFAFactors" } }, { @@ -1415,7 +1415,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "account.getMFARecoveryCodes" }, "methods": [ { @@ -1438,7 +1438,7 @@ "demo": "account\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "account.getMFARecoveryCodes" } }, { @@ -1515,7 +1515,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "account.createMFARecoveryCodes" }, "methods": [ { @@ -1538,7 +1538,7 @@ "demo": "account\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "account.createMFARecoveryCodes" } }, { @@ -1615,7 +1615,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "account.updateMFARecoveryCodes" }, "methods": [ { @@ -1638,7 +1638,7 @@ "demo": "account\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "account.updateMFARecoveryCodes" } }, { @@ -14865,7 +14865,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createSMS" + "replaceWith": "messaging.createSMS" }, "methods": [ { @@ -14899,7 +14899,7 @@ "demo": "messaging\/create-sms.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createSMS" + "replaceWith": "messaging.createSMS" } }, { @@ -15054,7 +15054,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMS" + "replaceWith": "messaging.updateSMS" }, "methods": [ { @@ -15087,7 +15087,7 @@ "demo": "messaging\/update-sms.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMS" + "replaceWith": "messaging.updateSMS" } }, { @@ -15576,7 +15576,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createAPNSProvider" + "replaceWith": "messaging.createAPNSProvider" }, "methods": [ { @@ -15611,7 +15611,7 @@ "demo": "messaging\/create-apns-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createAPNSProvider" + "replaceWith": "messaging.createAPNSProvider" } }, { @@ -15764,7 +15764,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateAPNSProvider" + "replaceWith": "messaging.updateAPNSProvider" }, "methods": [ { @@ -15798,7 +15798,7 @@ "demo": "messaging\/update-apns-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateAPNSProvider" + "replaceWith": "messaging.updateAPNSProvider" } }, { @@ -15948,7 +15948,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createFCMProvider" + "replaceWith": "messaging.createFCMProvider" }, "methods": [ { @@ -15979,7 +15979,7 @@ "demo": "messaging\/create-fcm-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createFCMProvider" + "replaceWith": "messaging.createFCMProvider" } }, { @@ -16104,7 +16104,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateFCMProvider" + "replaceWith": "messaging.updateFCMProvider" }, "methods": [ { @@ -16134,7 +16134,7 @@ "demo": "messaging\/update-fcm-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateFCMProvider" + "replaceWith": "messaging.updateFCMProvider" } }, { @@ -16946,7 +16946,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createSMTPProvider" + "replaceWith": "messaging.createSMTPProvider" }, "methods": [ { @@ -16988,7 +16988,7 @@ "demo": "messaging\/create-smtp-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createSMTPProvider" + "replaceWith": "messaging.createSMTPProvider" } }, { @@ -17192,7 +17192,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMTPProvider" + "replaceWith": "messaging.updateSMTPProvider" }, "methods": [ { @@ -17232,7 +17232,7 @@ "demo": "messaging\/update-smtp-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMTPProvider" + "replaceWith": "messaging.updateSMTPProvider" } }, { @@ -22754,7 +22754,7 @@ "parameters": [ { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following columns: name", "required": false, "type": "array", "collectionFormat": "multi", @@ -23117,7 +23117,7 @@ }, { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, enabled, rowSecurity", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following columns: name, enabled, rowSecurity", "required": false, "type": "array", "collectionFormat": "multi", @@ -23550,7 +23550,7 @@ }, { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: key, type, size, required, array, status, error", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following columns: key, type, size, required, array, status, error", "required": false, "type": "array", "collectionFormat": "multi", @@ -25358,7 +25358,7 @@ }, "size": { "type": "integer", - "description": "Attribute size for text attributes, in number of characters.", + "description": "Column size for text columns, in number of characters.", "default": null, "x-example": 1 }, @@ -26076,7 +26076,7 @@ }, { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: key, type, status, attributes, error", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following columns: key, type, status, attributes, error", "required": false, "type": "array", "collectionFormat": "multi", @@ -30503,7 +30503,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFA" + "replaceWith": "users.updateMFA" }, "methods": [ { @@ -30532,7 +30532,7 @@ "demo": "users\/update-mfa.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFA" + "replaceWith": "users.updateMFA" } }, { @@ -30638,7 +30638,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "users.deleteMFAAuthenticator" }, "methods": [ { @@ -30666,7 +30666,7 @@ "demo": "users\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "users.deleteMFAAuthenticator" } }, { @@ -30769,7 +30769,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "users.listMFAFactors" }, "methods": [ { @@ -30796,7 +30796,7 @@ "demo": "users\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "users.listMFAFactors" } }, { @@ -30885,7 +30885,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "users.getMFARecoveryCodes" }, "methods": [ { @@ -30912,7 +30912,7 @@ "demo": "users\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "users.getMFARecoveryCodes" } }, { @@ -31001,7 +31001,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "users.updateMFARecoveryCodes" }, "methods": [ { @@ -31028,7 +31028,7 @@ "demo": "users\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "users.updateMFARecoveryCodes" } }, { @@ -31117,7 +31117,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "users.createMFARecoveryCodes" }, "methods": [ { @@ -31144,7 +31144,7 @@ "demo": "users\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "users.createMFARecoveryCodes" } }, { @@ -35074,7 +35074,7 @@ }, "default": { "type": "integer", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": 10, "format": "int32", "x-nullable": true @@ -35164,7 +35164,7 @@ }, "default": { "type": "number", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": 2.5, "format": "double", "x-nullable": true @@ -35240,7 +35240,7 @@ }, "default": { "type": "boolean", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": false, "x-nullable": true } @@ -35318,7 +35318,7 @@ }, "default": { "type": "string", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "default@example.com", "x-nullable": true } @@ -35406,7 +35406,7 @@ }, "default": { "type": "string", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "element", "x-nullable": true } @@ -35488,7 +35488,7 @@ }, "default": { "type": "string", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "192.0.2.0", "x-nullable": true } @@ -35648,7 +35648,7 @@ }, "default": { "type": "string", - "description": "Default value for attribute when not provided. Only null is optional", + "description": "Default value for column when not provided. Only null is optional", "x-example": "2020-10-15T06:38:00.000+00:00", "x-nullable": true } @@ -38395,7 +38395,7 @@ }, "$updatedAt": { "type": "string", - "description": "Execution upate date in ISO 8601 format.", + "description": "Execution update date in ISO 8601 format.", "x-example": "2020-10-15T06:38:00.000+00:00" }, "$permissions": { diff --git a/app/config/specs/swagger2-latest-client.json b/app/config/specs/swagger2-latest-client.json index eb833ba4a0..29cfd281c1 100644 --- a/app/config/specs/swagger2-latest-client.json +++ b/app/config/specs/swagger2-latest-client.json @@ -644,7 +644,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAAuthenticator" + "replaceWith": "account.createMFAAuthenticator" }, "methods": [ { @@ -670,7 +670,7 @@ "demo": "account\/create-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAAuthenticator" + "replaceWith": "account.createMFAAuthenticator" } }, { @@ -764,7 +764,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAAuthenticator" + "replaceWith": "account.updateMFAAuthenticator" }, "methods": [ { @@ -792,7 +792,7 @@ "demo": "account\/update-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAAuthenticator" + "replaceWith": "account.updateMFAAuthenticator" } }, { @@ -901,7 +901,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "account.deleteMFAAuthenticator" }, "methods": [ { @@ -926,7 +926,7 @@ "demo": "account\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "account.deleteMFAAuthenticator" } }, { @@ -1021,7 +1021,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAChallenge" + "replaceWith": "account.createMFAChallenge" }, "methods": [ { @@ -1047,7 +1047,7 @@ "demo": "account\/create-mfa-challenge.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAChallenge" + "replaceWith": "account.createMFAChallenge" } }, { @@ -1152,7 +1152,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAChallenge" + "replaceWith": "account.updateMFAChallenge" }, "methods": [ { @@ -1180,7 +1180,7 @@ "demo": "account\/update-mfa-challenge.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAChallenge" + "replaceWith": "account.updateMFAChallenge" } }, { @@ -1288,7 +1288,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "account.listMFAFactors" }, "methods": [ { @@ -1310,7 +1310,7 @@ "demo": "account\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "account.listMFAFactors" } }, { @@ -1385,7 +1385,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "account.getMFARecoveryCodes" }, "methods": [ { @@ -1407,7 +1407,7 @@ "demo": "account\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "account.getMFARecoveryCodes" } }, { @@ -1482,7 +1482,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "account.createMFARecoveryCodes" }, "methods": [ { @@ -1504,7 +1504,7 @@ "demo": "account\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "account.createMFARecoveryCodes" } }, { @@ -1579,7 +1579,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "account.updateMFARecoveryCodes" }, "methods": [ { @@ -1601,7 +1601,7 @@ "demo": "account\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "account.updateMFARecoveryCodes" } }, { @@ -11330,7 +11330,7 @@ }, "$updatedAt": { "type": "string", - "description": "Execution upate date in ISO 8601 format.", + "description": "Execution update date in ISO 8601 format.", "x-example": "2020-10-15T06:38:00.000+00:00" }, "$permissions": { diff --git a/app/config/specs/swagger2-latest-console.json b/app/config/specs/swagger2-latest-console.json index 8cf21effc5..cf4c425874 100644 --- a/app/config/specs/swagger2-latest-console.json +++ b/app/config/specs/swagger2-latest-console.json @@ -687,7 +687,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAAuthenticator" + "replaceWith": "account.createMFAAuthenticator" }, "methods": [ { @@ -713,7 +713,7 @@ "demo": "account\/create-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAAuthenticator" + "replaceWith": "account.createMFAAuthenticator" } }, { @@ -806,7 +806,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAAuthenticator" + "replaceWith": "account.updateMFAAuthenticator" }, "methods": [ { @@ -834,7 +834,7 @@ "demo": "account\/update-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAAuthenticator" + "replaceWith": "account.updateMFAAuthenticator" } }, { @@ -942,7 +942,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "account.deleteMFAAuthenticator" }, "methods": [ { @@ -967,7 +967,7 @@ "demo": "account\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "account.deleteMFAAuthenticator" } }, { @@ -1061,7 +1061,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAChallenge" + "replaceWith": "account.createMFAChallenge" }, "methods": [ { @@ -1087,7 +1087,7 @@ "demo": "account\/create-mfa-challenge.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAChallenge" + "replaceWith": "account.createMFAChallenge" } }, { @@ -1192,7 +1192,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAChallenge" + "replaceWith": "account.updateMFAChallenge" }, "methods": [ { @@ -1220,7 +1220,7 @@ "demo": "account\/update-mfa-challenge.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAChallenge" + "replaceWith": "account.updateMFAChallenge" } }, { @@ -1327,7 +1327,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "account.listMFAFactors" }, "methods": [ { @@ -1349,7 +1349,7 @@ "demo": "account\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "account.listMFAFactors" } }, { @@ -1423,7 +1423,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "account.getMFARecoveryCodes" }, "methods": [ { @@ -1445,7 +1445,7 @@ "demo": "account\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "account.getMFARecoveryCodes" } }, { @@ -1519,7 +1519,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "account.createMFARecoveryCodes" }, "methods": [ { @@ -1541,7 +1541,7 @@ "demo": "account\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "account.createMFARecoveryCodes" } }, { @@ -1615,7 +1615,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "account.updateMFARecoveryCodes" }, "methods": [ { @@ -1637,7 +1637,7 @@ "demo": "account\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "account.updateMFARecoveryCodes" } }, { @@ -16078,7 +16078,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createSMS" + "replaceWith": "messaging.createSMS" }, "methods": [ { @@ -16111,7 +16111,7 @@ "demo": "messaging\/create-sms.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createSMS" + "replaceWith": "messaging.createSMS" } }, { @@ -16264,7 +16264,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMS" + "replaceWith": "messaging.updateSMS" }, "methods": [ { @@ -16296,7 +16296,7 @@ "demo": "messaging\/update-sms.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMS" + "replaceWith": "messaging.updateSMS" } }, { @@ -16778,7 +16778,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createAPNSProvider" + "replaceWith": "messaging.createAPNSProvider" }, "methods": [ { @@ -16812,7 +16812,7 @@ "demo": "messaging\/create-apns-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createAPNSProvider" + "replaceWith": "messaging.createAPNSProvider" } }, { @@ -16963,7 +16963,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateAPNSProvider" + "replaceWith": "messaging.updateAPNSProvider" }, "methods": [ { @@ -16996,7 +16996,7 @@ "demo": "messaging\/update-apns-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateAPNSProvider" + "replaceWith": "messaging.updateAPNSProvider" } }, { @@ -17144,7 +17144,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createFCMProvider" + "replaceWith": "messaging.createFCMProvider" }, "methods": [ { @@ -17174,7 +17174,7 @@ "demo": "messaging\/create-fcm-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createFCMProvider" + "replaceWith": "messaging.createFCMProvider" } }, { @@ -17297,7 +17297,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateFCMProvider" + "replaceWith": "messaging.updateFCMProvider" }, "methods": [ { @@ -17326,7 +17326,7 @@ "demo": "messaging\/update-fcm-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateFCMProvider" + "replaceWith": "messaging.updateFCMProvider" } }, { @@ -18130,7 +18130,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createSMTPProvider" + "replaceWith": "messaging.createSMTPProvider" }, "methods": [ { @@ -18171,7 +18171,7 @@ "demo": "messaging\/create-smtp-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createSMTPProvider" + "replaceWith": "messaging.createSMTPProvider" } }, { @@ -18373,7 +18373,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMTPProvider" + "replaceWith": "messaging.updateSMTPProvider" }, "methods": [ { @@ -18412,7 +18412,7 @@ "demo": "messaging\/update-smtp-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMTPProvider" + "replaceWith": "messaging.updateSMTPProvider" } }, { @@ -22408,7 +22408,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateAPIStatus" + "replaceWith": "projects.updateAPIStatus" }, "methods": [ { @@ -22438,7 +22438,7 @@ "demo": "projects\/update-api-status.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateAPIStatus" + "replaceWith": "projects.updateAPIStatus" } }, { @@ -22562,7 +22562,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateAPIStatusAll" + "replaceWith": "projects.updateAPIStatusAll" }, "methods": [ { @@ -22590,7 +22590,7 @@ "demo": "projects\/update-api-status-all.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateAPIStatusAll" + "replaceWith": "projects.updateAPIStatusAll" } }, { @@ -25154,7 +25154,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMTP" + "replaceWith": "projects.updateSMTP" }, "methods": [ { @@ -25190,7 +25190,7 @@ "demo": "projects\/update-smtp.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMTP" + "replaceWith": "projects.updateSMTP" } }, { @@ -25357,7 +25357,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createSMTPTest" + "replaceWith": "projects.createSMTPTest" }, "methods": [ { @@ -25395,7 +25395,7 @@ "demo": "projects\/create-smtp-test.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createSMTPTest" + "replaceWith": "projects.createSMTPTest" } }, { @@ -26352,7 +26352,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "getSMSTemplate" + "replaceWith": "projects.getSMSTemplate" }, "methods": [ { @@ -26382,7 +26382,7 @@ "demo": "projects\/get-sms-template.md", "deprecated": { "since": "1.8.0", - "replaceWith": "getSMSTemplate" + "replaceWith": "projects.getSMSTemplate" } }, { @@ -26631,7 +26631,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMSTemplate" + "replaceWith": "projects.updateSMSTemplate" }, "methods": [ { @@ -26663,7 +26663,7 @@ "demo": "projects\/update-sms-template.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMSTemplate" + "replaceWith": "projects.updateSMSTemplate" } }, { @@ -26932,7 +26932,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "deleteSMSTemplate" + "replaceWith": "projects.deleteSMSTemplate" }, "methods": [ { @@ -26962,7 +26962,7 @@ "demo": "projects\/delete-sms-template.md", "deprecated": { "since": "1.8.0", - "replaceWith": "deleteSMSTemplate" + "replaceWith": "projects.deleteSMSTemplate" } }, { @@ -32201,7 +32201,7 @@ "parameters": [ { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following columns: name", "required": false, "type": "array", "collectionFormat": "multi", @@ -32651,7 +32651,7 @@ }, { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, enabled, rowSecurity", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following columns: name, enabled, rowSecurity", "required": false, "type": "array", "collectionFormat": "multi", @@ -33079,7 +33079,7 @@ }, { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: key, type, size, required, array, status, error", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following columns: key, type, size, required, array, status, error", "required": false, "type": "array", "collectionFormat": "multi", @@ -34871,7 +34871,7 @@ }, "size": { "type": "integer", - "description": "Attribute size for text attributes, in number of characters.", + "description": "Column size for text columns, in number of characters.", "default": null, "x-example": 1 }, @@ -35582,7 +35582,7 @@ }, { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: key, type, status, attributes, error", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following columns: key, type, status, attributes, error", "required": false, "type": "array", "collectionFormat": "multi", @@ -40427,7 +40427,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFA" + "replaceWith": "users.updateMFA" }, "methods": [ { @@ -40455,7 +40455,7 @@ "demo": "users\/update-mfa.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFA" + "replaceWith": "users.updateMFA" } }, { @@ -40559,7 +40559,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "users.deleteMFAAuthenticator" }, "methods": [ { @@ -40586,7 +40586,7 @@ "demo": "users\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "users.deleteMFAAuthenticator" } }, { @@ -40687,7 +40687,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "users.listMFAFactors" }, "methods": [ { @@ -40713,7 +40713,7 @@ "demo": "users\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "users.listMFAFactors" } }, { @@ -40800,7 +40800,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "users.getMFARecoveryCodes" }, "methods": [ { @@ -40826,7 +40826,7 @@ "demo": "users\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "users.getMFARecoveryCodes" } }, { @@ -40913,7 +40913,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "users.updateMFARecoveryCodes" }, "methods": [ { @@ -40939,7 +40939,7 @@ "demo": "users\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "users.updateMFARecoveryCodes" } }, { @@ -41026,7 +41026,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "users.createMFARecoveryCodes" }, "methods": [ { @@ -41052,7 +41052,7 @@ "demo": "users\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "users.createMFARecoveryCodes" } }, { @@ -46110,7 +46110,7 @@ }, "default": { "type": "integer", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": 10, "format": "int32", "x-nullable": true @@ -46200,7 +46200,7 @@ }, "default": { "type": "number", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": 2.5, "format": "double", "x-nullable": true @@ -46276,7 +46276,7 @@ }, "default": { "type": "boolean", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": false, "x-nullable": true } @@ -46354,7 +46354,7 @@ }, "default": { "type": "string", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "default@example.com", "x-nullable": true } @@ -46442,7 +46442,7 @@ }, "default": { "type": "string", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "element", "x-nullable": true } @@ -46524,7 +46524,7 @@ }, "default": { "type": "string", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "192.0.2.0", "x-nullable": true } @@ -46684,7 +46684,7 @@ }, "default": { "type": "string", - "description": "Default value for attribute when not provided. Only null is optional", + "description": "Default value for column when not provided. Only null is optional", "x-example": "2020-10-15T06:38:00.000+00:00", "x-nullable": true } @@ -50224,7 +50224,7 @@ }, "$updatedAt": { "type": "string", - "description": "Execution upate date in ISO 8601 format.", + "description": "Execution update date in ISO 8601 format.", "x-example": "2020-10-15T06:38:00.000+00:00" }, "$permissions": { diff --git a/app/config/specs/swagger2-latest-server.json b/app/config/specs/swagger2-latest-server.json index d0ea24bc51..2c56aa09f3 100644 --- a/app/config/specs/swagger2-latest-server.json +++ b/app/config/specs/swagger2-latest-server.json @@ -659,7 +659,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAAuthenticator" + "replaceWith": "account.createMFAAuthenticator" }, "methods": [ { @@ -686,7 +686,7 @@ "demo": "account\/create-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAAuthenticator" + "replaceWith": "account.createMFAAuthenticator" } }, { @@ -782,7 +782,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAAuthenticator" + "replaceWith": "account.updateMFAAuthenticator" }, "methods": [ { @@ -811,7 +811,7 @@ "demo": "account\/update-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAAuthenticator" + "replaceWith": "account.updateMFAAuthenticator" } }, { @@ -922,7 +922,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "account.deleteMFAAuthenticator" }, "methods": [ { @@ -948,7 +948,7 @@ "demo": "account\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "account.deleteMFAAuthenticator" } }, { @@ -1045,7 +1045,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAChallenge" + "replaceWith": "account.createMFAChallenge" }, "methods": [ { @@ -1071,7 +1071,7 @@ "demo": "account\/create-mfa-challenge.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFAChallenge" + "replaceWith": "account.createMFAChallenge" } }, { @@ -1176,7 +1176,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAChallenge" + "replaceWith": "account.updateMFAChallenge" }, "methods": [ { @@ -1205,7 +1205,7 @@ "demo": "account\/update-mfa-challenge.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFAChallenge" + "replaceWith": "account.updateMFAChallenge" } }, { @@ -1315,7 +1315,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "account.listMFAFactors" }, "methods": [ { @@ -1338,7 +1338,7 @@ "demo": "account\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "account.listMFAFactors" } }, { @@ -1415,7 +1415,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "account.getMFARecoveryCodes" }, "methods": [ { @@ -1438,7 +1438,7 @@ "demo": "account\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "account.getMFARecoveryCodes" } }, { @@ -1515,7 +1515,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "account.createMFARecoveryCodes" }, "methods": [ { @@ -1538,7 +1538,7 @@ "demo": "account\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "account.createMFARecoveryCodes" } }, { @@ -1615,7 +1615,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "account.updateMFARecoveryCodes" }, "methods": [ { @@ -1638,7 +1638,7 @@ "demo": "account\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "account.updateMFARecoveryCodes" } }, { @@ -14865,7 +14865,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createSMS" + "replaceWith": "messaging.createSMS" }, "methods": [ { @@ -14899,7 +14899,7 @@ "demo": "messaging\/create-sms.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createSMS" + "replaceWith": "messaging.createSMS" } }, { @@ -15054,7 +15054,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMS" + "replaceWith": "messaging.updateSMS" }, "methods": [ { @@ -15087,7 +15087,7 @@ "demo": "messaging\/update-sms.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMS" + "replaceWith": "messaging.updateSMS" } }, { @@ -15576,7 +15576,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createAPNSProvider" + "replaceWith": "messaging.createAPNSProvider" }, "methods": [ { @@ -15611,7 +15611,7 @@ "demo": "messaging\/create-apns-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createAPNSProvider" + "replaceWith": "messaging.createAPNSProvider" } }, { @@ -15764,7 +15764,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateAPNSProvider" + "replaceWith": "messaging.updateAPNSProvider" }, "methods": [ { @@ -15798,7 +15798,7 @@ "demo": "messaging\/update-apns-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateAPNSProvider" + "replaceWith": "messaging.updateAPNSProvider" } }, { @@ -15948,7 +15948,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createFCMProvider" + "replaceWith": "messaging.createFCMProvider" }, "methods": [ { @@ -15979,7 +15979,7 @@ "demo": "messaging\/create-fcm-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createFCMProvider" + "replaceWith": "messaging.createFCMProvider" } }, { @@ -16104,7 +16104,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateFCMProvider" + "replaceWith": "messaging.updateFCMProvider" }, "methods": [ { @@ -16134,7 +16134,7 @@ "demo": "messaging\/update-fcm-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateFCMProvider" + "replaceWith": "messaging.updateFCMProvider" } }, { @@ -16946,7 +16946,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createSMTPProvider" + "replaceWith": "messaging.createSMTPProvider" }, "methods": [ { @@ -16988,7 +16988,7 @@ "demo": "messaging\/create-smtp-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createSMTPProvider" + "replaceWith": "messaging.createSMTPProvider" } }, { @@ -17192,7 +17192,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMTPProvider" + "replaceWith": "messaging.updateSMTPProvider" }, "methods": [ { @@ -17232,7 +17232,7 @@ "demo": "messaging\/update-smtp-provider.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateSMTPProvider" + "replaceWith": "messaging.updateSMTPProvider" } }, { @@ -22754,7 +22754,7 @@ "parameters": [ { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following columns: name", "required": false, "type": "array", "collectionFormat": "multi", @@ -23117,7 +23117,7 @@ }, { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, enabled, rowSecurity", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following columns: name, enabled, rowSecurity", "required": false, "type": "array", "collectionFormat": "multi", @@ -23550,7 +23550,7 @@ }, { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: key, type, size, required, array, status, error", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following columns: key, type, size, required, array, status, error", "required": false, "type": "array", "collectionFormat": "multi", @@ -25358,7 +25358,7 @@ }, "size": { "type": "integer", - "description": "Attribute size for text attributes, in number of characters.", + "description": "Column size for text columns, in number of characters.", "default": null, "x-example": 1 }, @@ -26076,7 +26076,7 @@ }, { "name": "queries", - "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: key, type, status, attributes, error", + "description": "Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https:\/\/appwrite.io\/docs\/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following columns: key, type, status, attributes, error", "required": false, "type": "array", "collectionFormat": "multi", @@ -30503,7 +30503,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFA" + "replaceWith": "users.updateMFA" }, "methods": [ { @@ -30532,7 +30532,7 @@ "demo": "users\/update-mfa.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFA" + "replaceWith": "users.updateMFA" } }, { @@ -30638,7 +30638,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "users.deleteMFAAuthenticator" }, "methods": [ { @@ -30666,7 +30666,7 @@ "demo": "users\/delete-mfa-authenticator.md", "deprecated": { "since": "1.8.0", - "replaceWith": "deleteMFAAuthenticator" + "replaceWith": "users.deleteMFAAuthenticator" } }, { @@ -30769,7 +30769,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "users.listMFAFactors" }, "methods": [ { @@ -30796,7 +30796,7 @@ "demo": "users\/list-mfa-factors.md", "deprecated": { "since": "1.8.0", - "replaceWith": "listMFAFactors" + "replaceWith": "users.listMFAFactors" } }, { @@ -30885,7 +30885,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "users.getMFARecoveryCodes" }, "methods": [ { @@ -30912,7 +30912,7 @@ "demo": "users\/get-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "getMFARecoveryCodes" + "replaceWith": "users.getMFARecoveryCodes" } }, { @@ -31001,7 +31001,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "users.updateMFARecoveryCodes" }, "methods": [ { @@ -31028,7 +31028,7 @@ "demo": "users\/update-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "updateMFARecoveryCodes" + "replaceWith": "users.updateMFARecoveryCodes" } }, { @@ -31117,7 +31117,7 @@ "packaging": false, "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "users.createMFARecoveryCodes" }, "methods": [ { @@ -31144,7 +31144,7 @@ "demo": "users\/create-mfa-recovery-codes.md", "deprecated": { "since": "1.8.0", - "replaceWith": "createMFARecoveryCodes" + "replaceWith": "users.createMFARecoveryCodes" } }, { @@ -35074,7 +35074,7 @@ }, "default": { "type": "integer", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": 10, "format": "int32", "x-nullable": true @@ -35164,7 +35164,7 @@ }, "default": { "type": "number", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": 2.5, "format": "double", "x-nullable": true @@ -35240,7 +35240,7 @@ }, "default": { "type": "boolean", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": false, "x-nullable": true } @@ -35318,7 +35318,7 @@ }, "default": { "type": "string", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "default@example.com", "x-nullable": true } @@ -35406,7 +35406,7 @@ }, "default": { "type": "string", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "element", "x-nullable": true } @@ -35488,7 +35488,7 @@ }, "default": { "type": "string", - "description": "Default value for attribute when not provided. Cannot be set when attribute is required.", + "description": "Default value for column when not provided. Cannot be set when column is required.", "x-example": "192.0.2.0", "x-nullable": true } @@ -35648,7 +35648,7 @@ }, "default": { "type": "string", - "description": "Default value for attribute when not provided. Only null is optional", + "description": "Default value for column when not provided. Only null is optional", "x-example": "2020-10-15T06:38:00.000+00:00", "x-nullable": true } @@ -38395,7 +38395,7 @@ }, "$updatedAt": { "type": "string", - "description": "Execution upate date in ISO 8601 format.", + "description": "Execution update date in ISO 8601 format.", "x-example": "2020-10-15T06:38:00.000+00:00" }, "$permissions": { diff --git a/composer.lock b/composer.lock index 30eaa5f785..66f16c1993 100644 --- a/composer.lock +++ b/composer.lock @@ -4926,16 +4926,16 @@ "packages-dev": [ { "name": "appwrite/sdk-generator", - "version": "1.1.5", + "version": "1.1.6", "source": { "type": "git", "url": "https://github.com/appwrite/sdk-generator.git", - "reference": "e702594f834034c0cc4e8d43026cd0c0d11cd54d" + "reference": "498a19d16c334f4472affb91a8aff4509f2b460a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/e702594f834034c0cc4e8d43026cd0c0d11cd54d", - "reference": "e702594f834034c0cc4e8d43026cd0c0d11cd54d", + "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/498a19d16c334f4472affb91a8aff4509f2b460a", + "reference": "498a19d16c334f4472affb91a8aff4509f2b460a", "shasum": "" }, "require": { @@ -4971,9 +4971,9 @@ "description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms", "support": { "issues": "https://github.com/appwrite/sdk-generator/issues", - "source": "https://github.com/appwrite/sdk-generator/tree/1.1.5" + "source": "https://github.com/appwrite/sdk-generator/tree/1.1.6" }, - "time": "2025-08-23T02:24:57+00:00" + "time": "2025-08-23T09:39:27+00:00" }, { "name": "doctrine/annotations", diff --git a/docs/examples/1.8.x/client-android/java/account/create-m-f-a-authenticator.md b/docs/examples/1.8.x/client-android/java/account/create-m-f-a-authenticator.md new file mode 100644 index 0000000000..d236f46c6c --- /dev/null +++ b/docs/examples/1.8.x/client-android/java/account/create-m-f-a-authenticator.md @@ -0,0 +1,23 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Account; +import io.appwrite.enums.AuthenticatorType; + +Client client = new Client(context) + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject(""); // Your project ID + +Account account = new Account(client); + +account.createMFAAuthenticator( + AuthenticatorType.TOTP, // type + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + Log.d("Appwrite", result.toString()); + }) +); + diff --git a/docs/examples/1.8.x/client-android/java/account/create-m-f-a-challenge.md b/docs/examples/1.8.x/client-android/java/account/create-m-f-a-challenge.md new file mode 100644 index 0000000000..222c0bdad2 --- /dev/null +++ b/docs/examples/1.8.x/client-android/java/account/create-m-f-a-challenge.md @@ -0,0 +1,23 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Account; +import io.appwrite.enums.AuthenticationFactor; + +Client client = new Client(context) + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject(""); // Your project ID + +Account account = new Account(client); + +account.createMFAChallenge( + AuthenticationFactor.EMAIL, // factor + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + Log.d("Appwrite", result.toString()); + }) +); + diff --git a/docs/examples/1.8.x/client-android/java/account/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/client-android/java/account/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..792e0860f7 --- /dev/null +++ b/docs/examples/1.8.x/client-android/java/account/create-m-f-a-recovery-codes.md @@ -0,0 +1,18 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Account; + +Client client = new Client(context) + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject(""); // Your project ID + +Account account = new Account(client); + +account.createMFARecoveryCodes(new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + Log.d("Appwrite", result.toString()); +})); diff --git a/docs/examples/1.8.x/client-android/java/account/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/client-android/java/account/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..b5ff26cbec --- /dev/null +++ b/docs/examples/1.8.x/client-android/java/account/delete-m-f-a-authenticator.md @@ -0,0 +1,23 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Account; +import io.appwrite.enums.AuthenticatorType; + +Client client = new Client(context) + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject(""); // Your project ID + +Account account = new Account(client); + +account.deleteMFAAuthenticator( + AuthenticatorType.TOTP, // type + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + Log.d("Appwrite", result.toString()); + }) +); + diff --git a/docs/examples/1.8.x/client-android/java/account/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/client-android/java/account/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..22bc1c1637 --- /dev/null +++ b/docs/examples/1.8.x/client-android/java/account/get-m-f-a-recovery-codes.md @@ -0,0 +1,18 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Account; + +Client client = new Client(context) + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject(""); // Your project ID + +Account account = new Account(client); + +account.getMFARecoveryCodes(new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + Log.d("Appwrite", result.toString()); +})); diff --git a/docs/examples/1.8.x/client-android/java/account/list-m-f-a-factors.md b/docs/examples/1.8.x/client-android/java/account/list-m-f-a-factors.md new file mode 100644 index 0000000000..06f20e1a5a --- /dev/null +++ b/docs/examples/1.8.x/client-android/java/account/list-m-f-a-factors.md @@ -0,0 +1,18 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Account; + +Client client = new Client(context) + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject(""); // Your project ID + +Account account = new Account(client); + +account.listMFAFactors(new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + Log.d("Appwrite", result.toString()); +})); diff --git a/docs/examples/1.8.x/client-android/java/account/update-m-f-a-authenticator.md b/docs/examples/1.8.x/client-android/java/account/update-m-f-a-authenticator.md new file mode 100644 index 0000000000..00ddd46b26 --- /dev/null +++ b/docs/examples/1.8.x/client-android/java/account/update-m-f-a-authenticator.md @@ -0,0 +1,24 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Account; +import io.appwrite.enums.AuthenticatorType; + +Client client = new Client(context) + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject(""); // Your project ID + +Account account = new Account(client); + +account.updateMFAAuthenticator( + AuthenticatorType.TOTP, // type + "", // otp + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + Log.d("Appwrite", result.toString()); + }) +); + diff --git a/docs/examples/1.8.x/client-android/java/account/update-m-f-a-challenge.md b/docs/examples/1.8.x/client-android/java/account/update-m-f-a-challenge.md new file mode 100644 index 0000000000..10b5db49f8 --- /dev/null +++ b/docs/examples/1.8.x/client-android/java/account/update-m-f-a-challenge.md @@ -0,0 +1,23 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Account; + +Client client = new Client(context) + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject(""); // Your project ID + +Account account = new Account(client); + +account.updateMFAChallenge( + "", // challengeId + "", // otp + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + Log.d("Appwrite", result.toString()); + }) +); + diff --git a/docs/examples/1.8.x/client-android/java/account/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/client-android/java/account/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..c0d6c69fa0 --- /dev/null +++ b/docs/examples/1.8.x/client-android/java/account/update-m-f-a-recovery-codes.md @@ -0,0 +1,18 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Account; + +Client client = new Client(context) + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject(""); // Your project ID + +Account account = new Account(client); + +account.updateMFARecoveryCodes(new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + Log.d("Appwrite", result.toString()); +})); diff --git a/docs/examples/1.8.x/client-android/java/tablesdb/create-row.md b/docs/examples/1.8.x/client-android/java/tablesdb/create-row.md index c88599d77e..12d1680b0f 100644 --- a/docs/examples/1.8.x/client-android/java/tablesdb/create-row.md +++ b/docs/examples/1.8.x/client-android/java/tablesdb/create-row.md @@ -1,12 +1,12 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client(context) .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject(""); // Your project ID -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.createRow( "", // databaseId diff --git a/docs/examples/1.8.x/client-android/java/tablesdb/decrement-row-column.md b/docs/examples/1.8.x/client-android/java/tablesdb/decrement-row-column.md index 36faf4b7aa..73f2128a8f 100644 --- a/docs/examples/1.8.x/client-android/java/tablesdb/decrement-row-column.md +++ b/docs/examples/1.8.x/client-android/java/tablesdb/decrement-row-column.md @@ -1,12 +1,12 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client(context) .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject(""); // Your project ID -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.decrementRowColumn( "", // databaseId diff --git a/docs/examples/1.8.x/client-android/java/tablesdb/delete-row.md b/docs/examples/1.8.x/client-android/java/tablesdb/delete-row.md index f2425ba470..d4c351bc32 100644 --- a/docs/examples/1.8.x/client-android/java/tablesdb/delete-row.md +++ b/docs/examples/1.8.x/client-android/java/tablesdb/delete-row.md @@ -1,12 +1,12 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client(context) .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject(""); // Your project ID -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.deleteRow( "", // databaseId diff --git a/docs/examples/1.8.x/client-android/java/tablesdb/get-row.md b/docs/examples/1.8.x/client-android/java/tablesdb/get-row.md index 120f9960f7..191fc896e9 100644 --- a/docs/examples/1.8.x/client-android/java/tablesdb/get-row.md +++ b/docs/examples/1.8.x/client-android/java/tablesdb/get-row.md @@ -1,12 +1,12 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client(context) .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject(""); // Your project ID -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.getRow( "", // databaseId diff --git a/docs/examples/1.8.x/client-android/java/tablesdb/increment-row-column.md b/docs/examples/1.8.x/client-android/java/tablesdb/increment-row-column.md index ba234e4b7f..dc2120ea07 100644 --- a/docs/examples/1.8.x/client-android/java/tablesdb/increment-row-column.md +++ b/docs/examples/1.8.x/client-android/java/tablesdb/increment-row-column.md @@ -1,12 +1,12 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client(context) .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject(""); // Your project ID -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.incrementRowColumn( "", // databaseId diff --git a/docs/examples/1.8.x/client-android/java/tablesdb/list-rows.md b/docs/examples/1.8.x/client-android/java/tablesdb/list-rows.md index bf0d5e41c0..dc50574f1e 100644 --- a/docs/examples/1.8.x/client-android/java/tablesdb/list-rows.md +++ b/docs/examples/1.8.x/client-android/java/tablesdb/list-rows.md @@ -1,12 +1,12 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client(context) .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject(""); // Your project ID -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.listRows( "", // databaseId diff --git a/docs/examples/1.8.x/client-android/java/tablesdb/update-row.md b/docs/examples/1.8.x/client-android/java/tablesdb/update-row.md index 6600b2e863..0f1fabc91e 100644 --- a/docs/examples/1.8.x/client-android/java/tablesdb/update-row.md +++ b/docs/examples/1.8.x/client-android/java/tablesdb/update-row.md @@ -1,12 +1,12 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client(context) .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject(""); // Your project ID -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.updateRow( "", // databaseId diff --git a/docs/examples/1.8.x/client-android/java/tablesdb/upsert-row.md b/docs/examples/1.8.x/client-android/java/tablesdb/upsert-row.md index 856b399025..22c0e94b44 100644 --- a/docs/examples/1.8.x/client-android/java/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/client-android/java/tablesdb/upsert-row.md @@ -1,12 +1,12 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client(context) .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject(""); // Your project ID -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.upsertRow( "", // databaseId diff --git a/docs/examples/1.8.x/client-android/kotlin/account/create-m-f-a-authenticator.md b/docs/examples/1.8.x/client-android/kotlin/account/create-m-f-a-authenticator.md new file mode 100644 index 0000000000..934de1cc1c --- /dev/null +++ b/docs/examples/1.8.x/client-android/kotlin/account/create-m-f-a-authenticator.md @@ -0,0 +1,14 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Account +import io.appwrite.enums.AuthenticatorType + +val client = Client(context) + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + +val account = Account(client) + +val result = account.createMFAAuthenticator( + type = AuthenticatorType.TOTP, +) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-android/kotlin/account/create-m-f-a-challenge.md b/docs/examples/1.8.x/client-android/kotlin/account/create-m-f-a-challenge.md new file mode 100644 index 0000000000..f79c49891a --- /dev/null +++ b/docs/examples/1.8.x/client-android/kotlin/account/create-m-f-a-challenge.md @@ -0,0 +1,14 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Account +import io.appwrite.enums.AuthenticationFactor + +val client = Client(context) + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + +val account = Account(client) + +val result = account.createMFAChallenge( + factor = AuthenticationFactor.EMAIL, +) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-android/kotlin/account/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/client-android/kotlin/account/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..cc5696646c --- /dev/null +++ b/docs/examples/1.8.x/client-android/kotlin/account/create-m-f-a-recovery-codes.md @@ -0,0 +1,11 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Account + +val client = Client(context) + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + +val account = Account(client) + +val result = account.createMFARecoveryCodes() diff --git a/docs/examples/1.8.x/client-android/kotlin/account/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/client-android/kotlin/account/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..b140a11f55 --- /dev/null +++ b/docs/examples/1.8.x/client-android/kotlin/account/delete-m-f-a-authenticator.md @@ -0,0 +1,14 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Account +import io.appwrite.enums.AuthenticatorType + +val client = Client(context) + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + +val account = Account(client) + +val result = account.deleteMFAAuthenticator( + type = AuthenticatorType.TOTP, +) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-android/kotlin/account/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/client-android/kotlin/account/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..f9d36122bb --- /dev/null +++ b/docs/examples/1.8.x/client-android/kotlin/account/get-m-f-a-recovery-codes.md @@ -0,0 +1,11 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Account + +val client = Client(context) + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + +val account = Account(client) + +val result = account.getMFARecoveryCodes() diff --git a/docs/examples/1.8.x/client-android/kotlin/account/list-m-f-a-factors.md b/docs/examples/1.8.x/client-android/kotlin/account/list-m-f-a-factors.md new file mode 100644 index 0000000000..56d1c4dbc4 --- /dev/null +++ b/docs/examples/1.8.x/client-android/kotlin/account/list-m-f-a-factors.md @@ -0,0 +1,11 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Account + +val client = Client(context) + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + +val account = Account(client) + +val result = account.listMFAFactors() diff --git a/docs/examples/1.8.x/client-android/kotlin/account/update-m-f-a-authenticator.md b/docs/examples/1.8.x/client-android/kotlin/account/update-m-f-a-authenticator.md new file mode 100644 index 0000000000..4f6ecd7d39 --- /dev/null +++ b/docs/examples/1.8.x/client-android/kotlin/account/update-m-f-a-authenticator.md @@ -0,0 +1,15 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Account +import io.appwrite.enums.AuthenticatorType + +val client = Client(context) + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + +val account = Account(client) + +val result = account.updateMFAAuthenticator( + type = AuthenticatorType.TOTP, + otp = "", +) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-android/kotlin/account/update-m-f-a-challenge.md b/docs/examples/1.8.x/client-android/kotlin/account/update-m-f-a-challenge.md new file mode 100644 index 0000000000..d5cbc1fdab --- /dev/null +++ b/docs/examples/1.8.x/client-android/kotlin/account/update-m-f-a-challenge.md @@ -0,0 +1,14 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Account + +val client = Client(context) + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + +val account = Account(client) + +val result = account.updateMFAChallenge( + challengeId = "", + otp = "", +) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-android/kotlin/account/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/client-android/kotlin/account/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..0277ca7587 --- /dev/null +++ b/docs/examples/1.8.x/client-android/kotlin/account/update-m-f-a-recovery-codes.md @@ -0,0 +1,11 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Account + +val client = Client(context) + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + +val account = Account(client) + +val result = account.updateMFARecoveryCodes() diff --git a/docs/examples/1.8.x/client-android/kotlin/tablesdb/create-row.md b/docs/examples/1.8.x/client-android/kotlin/tablesdb/create-row.md index e67513b86a..1a9cbdb488 100644 --- a/docs/examples/1.8.x/client-android/kotlin/tablesdb/create-row.md +++ b/docs/examples/1.8.x/client-android/kotlin/tablesdb/create-row.md @@ -1,12 +1,12 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client(context) .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val result = tablesDB.createRow( databaseId = "", diff --git a/docs/examples/1.8.x/client-android/kotlin/tablesdb/decrement-row-column.md b/docs/examples/1.8.x/client-android/kotlin/tablesdb/decrement-row-column.md index 42e6a389a5..645e9f4a66 100644 --- a/docs/examples/1.8.x/client-android/kotlin/tablesdb/decrement-row-column.md +++ b/docs/examples/1.8.x/client-android/kotlin/tablesdb/decrement-row-column.md @@ -1,12 +1,12 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client(context) .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val result = tablesDB.decrementRowColumn( databaseId = "", diff --git a/docs/examples/1.8.x/client-android/kotlin/tablesdb/delete-row.md b/docs/examples/1.8.x/client-android/kotlin/tablesdb/delete-row.md index deb034fdf7..3fcd409295 100644 --- a/docs/examples/1.8.x/client-android/kotlin/tablesdb/delete-row.md +++ b/docs/examples/1.8.x/client-android/kotlin/tablesdb/delete-row.md @@ -1,12 +1,12 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client(context) .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val result = tablesDB.deleteRow( databaseId = "", diff --git a/docs/examples/1.8.x/client-android/kotlin/tablesdb/get-row.md b/docs/examples/1.8.x/client-android/kotlin/tablesdb/get-row.md index 32cf7795e7..b754cba915 100644 --- a/docs/examples/1.8.x/client-android/kotlin/tablesdb/get-row.md +++ b/docs/examples/1.8.x/client-android/kotlin/tablesdb/get-row.md @@ -1,12 +1,12 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client(context) .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val result = tablesDB.getRow( databaseId = "", diff --git a/docs/examples/1.8.x/client-android/kotlin/tablesdb/increment-row-column.md b/docs/examples/1.8.x/client-android/kotlin/tablesdb/increment-row-column.md index 8e4276e83e..230408abac 100644 --- a/docs/examples/1.8.x/client-android/kotlin/tablesdb/increment-row-column.md +++ b/docs/examples/1.8.x/client-android/kotlin/tablesdb/increment-row-column.md @@ -1,12 +1,12 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client(context) .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val result = tablesDB.incrementRowColumn( databaseId = "", diff --git a/docs/examples/1.8.x/client-android/kotlin/tablesdb/list-rows.md b/docs/examples/1.8.x/client-android/kotlin/tablesdb/list-rows.md index 8c61115f98..05d9ca33b3 100644 --- a/docs/examples/1.8.x/client-android/kotlin/tablesdb/list-rows.md +++ b/docs/examples/1.8.x/client-android/kotlin/tablesdb/list-rows.md @@ -1,12 +1,12 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client(context) .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val result = tablesDB.listRows( databaseId = "", diff --git a/docs/examples/1.8.x/client-android/kotlin/tablesdb/update-row.md b/docs/examples/1.8.x/client-android/kotlin/tablesdb/update-row.md index 59f509e736..f99f8f275e 100644 --- a/docs/examples/1.8.x/client-android/kotlin/tablesdb/update-row.md +++ b/docs/examples/1.8.x/client-android/kotlin/tablesdb/update-row.md @@ -1,12 +1,12 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client(context) .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val result = tablesDB.updateRow( databaseId = "", diff --git a/docs/examples/1.8.x/client-android/kotlin/tablesdb/upsert-row.md b/docs/examples/1.8.x/client-android/kotlin/tablesdb/upsert-row.md index ea32e4d188..d82406a7f8 100644 --- a/docs/examples/1.8.x/client-android/kotlin/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/client-android/kotlin/tablesdb/upsert-row.md @@ -1,12 +1,12 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client(context) .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val result = tablesDB.upsertRow( databaseId = "", diff --git a/docs/examples/1.8.x/client-apple/examples/account/create-m-f-a-authenticator.md b/docs/examples/1.8.x/client-apple/examples/account/create-m-f-a-authenticator.md new file mode 100644 index 0000000000..cfe0082fba --- /dev/null +++ b/docs/examples/1.8.x/client-apple/examples/account/create-m-f-a-authenticator.md @@ -0,0 +1,13 @@ +import Appwrite +import AppwriteEnums + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + +let account = Account(client) + +let mfaType = try await account.createMFAAuthenticator( + type: .totp +) + diff --git a/docs/examples/1.8.x/client-apple/examples/account/create-m-f-a-challenge.md b/docs/examples/1.8.x/client-apple/examples/account/create-m-f-a-challenge.md new file mode 100644 index 0000000000..27f1bc1784 --- /dev/null +++ b/docs/examples/1.8.x/client-apple/examples/account/create-m-f-a-challenge.md @@ -0,0 +1,13 @@ +import Appwrite +import AppwriteEnums + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + +let account = Account(client) + +let mfaChallenge = try await account.createMFAChallenge( + factor: .email +) + diff --git a/docs/examples/1.8.x/client-apple/examples/account/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/client-apple/examples/account/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..2674a40760 --- /dev/null +++ b/docs/examples/1.8.x/client-apple/examples/account/create-m-f-a-recovery-codes.md @@ -0,0 +1,10 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + +let account = Account(client) + +let mfaRecoveryCodes = try await account.createMFARecoveryCodes() + diff --git a/docs/examples/1.8.x/client-apple/examples/account/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/client-apple/examples/account/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..adfa363bcc --- /dev/null +++ b/docs/examples/1.8.x/client-apple/examples/account/delete-m-f-a-authenticator.md @@ -0,0 +1,13 @@ +import Appwrite +import AppwriteEnums + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + +let account = Account(client) + +let result = try await account.deleteMFAAuthenticator( + type: .totp +) + diff --git a/docs/examples/1.8.x/client-apple/examples/account/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/client-apple/examples/account/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..efee499ea7 --- /dev/null +++ b/docs/examples/1.8.x/client-apple/examples/account/get-m-f-a-recovery-codes.md @@ -0,0 +1,10 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + +let account = Account(client) + +let mfaRecoveryCodes = try await account.getMFARecoveryCodes() + diff --git a/docs/examples/1.8.x/client-apple/examples/account/list-m-f-a-factors.md b/docs/examples/1.8.x/client-apple/examples/account/list-m-f-a-factors.md new file mode 100644 index 0000000000..d81e77e7ac --- /dev/null +++ b/docs/examples/1.8.x/client-apple/examples/account/list-m-f-a-factors.md @@ -0,0 +1,10 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + +let account = Account(client) + +let mfaFactors = try await account.listMFAFactors() + diff --git a/docs/examples/1.8.x/client-apple/examples/account/update-m-f-a-authenticator.md b/docs/examples/1.8.x/client-apple/examples/account/update-m-f-a-authenticator.md new file mode 100644 index 0000000000..5245be2ec3 --- /dev/null +++ b/docs/examples/1.8.x/client-apple/examples/account/update-m-f-a-authenticator.md @@ -0,0 +1,14 @@ +import Appwrite +import AppwriteEnums + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + +let account = Account(client) + +let user = try await account.updateMFAAuthenticator( + type: .totp, + otp: "" +) + diff --git a/docs/examples/1.8.x/client-apple/examples/account/update-m-f-a-challenge.md b/docs/examples/1.8.x/client-apple/examples/account/update-m-f-a-challenge.md new file mode 100644 index 0000000000..473393eecd --- /dev/null +++ b/docs/examples/1.8.x/client-apple/examples/account/update-m-f-a-challenge.md @@ -0,0 +1,13 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + +let account = Account(client) + +let session = try await account.updateMFAChallenge( + challengeId: "", + otp: "" +) + diff --git a/docs/examples/1.8.x/client-apple/examples/account/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/client-apple/examples/account/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..fbd6847e89 --- /dev/null +++ b/docs/examples/1.8.x/client-apple/examples/account/update-m-f-a-recovery-codes.md @@ -0,0 +1,10 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + +let account = Account(client) + +let mfaRecoveryCodes = try await account.updateMFARecoveryCodes() + diff --git a/docs/examples/1.8.x/client-apple/examples/tablesdb/create-row.md b/docs/examples/1.8.x/client-apple/examples/tablesdb/create-row.md index 512e1e13a1..0972892585 100644 --- a/docs/examples/1.8.x/client-apple/examples/tablesdb/create-row.md +++ b/docs/examples/1.8.x/client-apple/examples/tablesdb/create-row.md @@ -4,7 +4,7 @@ let client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let row = try await tablesDB.createRow( databaseId: "", diff --git a/docs/examples/1.8.x/client-apple/examples/tablesdb/decrement-row-column.md b/docs/examples/1.8.x/client-apple/examples/tablesdb/decrement-row-column.md index e05fa7c488..ab8ac5b0b8 100644 --- a/docs/examples/1.8.x/client-apple/examples/tablesdb/decrement-row-column.md +++ b/docs/examples/1.8.x/client-apple/examples/tablesdb/decrement-row-column.md @@ -4,7 +4,7 @@ let client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let row = try await tablesDB.decrementRowColumn( databaseId: "", diff --git a/docs/examples/1.8.x/client-apple/examples/tablesdb/delete-row.md b/docs/examples/1.8.x/client-apple/examples/tablesdb/delete-row.md index 3c8a7b0cc4..b527acaed9 100644 --- a/docs/examples/1.8.x/client-apple/examples/tablesdb/delete-row.md +++ b/docs/examples/1.8.x/client-apple/examples/tablesdb/delete-row.md @@ -4,7 +4,7 @@ let client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let result = try await tablesDB.deleteRow( databaseId: "", diff --git a/docs/examples/1.8.x/client-apple/examples/tablesdb/get-row.md b/docs/examples/1.8.x/client-apple/examples/tablesdb/get-row.md index 102114b556..bc2e2c6b55 100644 --- a/docs/examples/1.8.x/client-apple/examples/tablesdb/get-row.md +++ b/docs/examples/1.8.x/client-apple/examples/tablesdb/get-row.md @@ -4,7 +4,7 @@ let client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let row = try await tablesDB.getRow( databaseId: "", diff --git a/docs/examples/1.8.x/client-apple/examples/tablesdb/increment-row-column.md b/docs/examples/1.8.x/client-apple/examples/tablesdb/increment-row-column.md index 84b7e30443..550d6685af 100644 --- a/docs/examples/1.8.x/client-apple/examples/tablesdb/increment-row-column.md +++ b/docs/examples/1.8.x/client-apple/examples/tablesdb/increment-row-column.md @@ -4,7 +4,7 @@ let client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let row = try await tablesDB.incrementRowColumn( databaseId: "", diff --git a/docs/examples/1.8.x/client-apple/examples/tablesdb/list-rows.md b/docs/examples/1.8.x/client-apple/examples/tablesdb/list-rows.md index 77203d0e34..94853c24a0 100644 --- a/docs/examples/1.8.x/client-apple/examples/tablesdb/list-rows.md +++ b/docs/examples/1.8.x/client-apple/examples/tablesdb/list-rows.md @@ -4,7 +4,7 @@ let client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let rowList = try await tablesDB.listRows( databaseId: "", diff --git a/docs/examples/1.8.x/client-apple/examples/tablesdb/update-row.md b/docs/examples/1.8.x/client-apple/examples/tablesdb/update-row.md index d7ad6e69fe..87a8f27313 100644 --- a/docs/examples/1.8.x/client-apple/examples/tablesdb/update-row.md +++ b/docs/examples/1.8.x/client-apple/examples/tablesdb/update-row.md @@ -4,7 +4,7 @@ let client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let row = try await tablesDB.updateRow( databaseId: "", diff --git a/docs/examples/1.8.x/client-apple/examples/tablesdb/upsert-row.md b/docs/examples/1.8.x/client-apple/examples/tablesdb/upsert-row.md index 5734e75d13..ed95da7b62 100644 --- a/docs/examples/1.8.x/client-apple/examples/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/client-apple/examples/tablesdb/upsert-row.md @@ -4,7 +4,7 @@ let client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let row = try await tablesDB.upsertRow( databaseId: "", diff --git a/docs/examples/1.8.x/client-flutter/examples/account/create-m-f-a-authenticator.md b/docs/examples/1.8.x/client-flutter/examples/account/create-m-f-a-authenticator.md new file mode 100644 index 0000000000..b9d7e967b2 --- /dev/null +++ b/docs/examples/1.8.x/client-flutter/examples/account/create-m-f-a-authenticator.md @@ -0,0 +1,11 @@ +import 'package:appwrite/appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +Account account = Account(client); + +MfaType result = await account.createMFAAuthenticator( + type: AuthenticatorType.totp, +); diff --git a/docs/examples/1.8.x/client-flutter/examples/account/create-m-f-a-challenge.md b/docs/examples/1.8.x/client-flutter/examples/account/create-m-f-a-challenge.md new file mode 100644 index 0000000000..09ce17b27c --- /dev/null +++ b/docs/examples/1.8.x/client-flutter/examples/account/create-m-f-a-challenge.md @@ -0,0 +1,11 @@ +import 'package:appwrite/appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +Account account = Account(client); + +MfaChallenge result = await account.createMFAChallenge( + factor: AuthenticationFactor.email, +); diff --git a/docs/examples/1.8.x/client-flutter/examples/account/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/client-flutter/examples/account/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..9b69ad1bd9 --- /dev/null +++ b/docs/examples/1.8.x/client-flutter/examples/account/create-m-f-a-recovery-codes.md @@ -0,0 +1,9 @@ +import 'package:appwrite/appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +Account account = Account(client); + +MfaRecoveryCodes result = await account.createMFARecoveryCodes(); diff --git a/docs/examples/1.8.x/client-flutter/examples/account/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/client-flutter/examples/account/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..b938ca68e9 --- /dev/null +++ b/docs/examples/1.8.x/client-flutter/examples/account/delete-m-f-a-authenticator.md @@ -0,0 +1,11 @@ +import 'package:appwrite/appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +Account account = Account(client); + +await account.deleteMFAAuthenticator( + type: AuthenticatorType.totp, +); diff --git a/docs/examples/1.8.x/client-flutter/examples/account/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/client-flutter/examples/account/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..09bff7ffbd --- /dev/null +++ b/docs/examples/1.8.x/client-flutter/examples/account/get-m-f-a-recovery-codes.md @@ -0,0 +1,9 @@ +import 'package:appwrite/appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +Account account = Account(client); + +MfaRecoveryCodes result = await account.getMFARecoveryCodes(); diff --git a/docs/examples/1.8.x/client-flutter/examples/account/list-m-f-a-factors.md b/docs/examples/1.8.x/client-flutter/examples/account/list-m-f-a-factors.md new file mode 100644 index 0000000000..5e87cbaac5 --- /dev/null +++ b/docs/examples/1.8.x/client-flutter/examples/account/list-m-f-a-factors.md @@ -0,0 +1,9 @@ +import 'package:appwrite/appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +Account account = Account(client); + +MfaFactors result = await account.listMFAFactors(); diff --git a/docs/examples/1.8.x/client-flutter/examples/account/update-m-f-a-authenticator.md b/docs/examples/1.8.x/client-flutter/examples/account/update-m-f-a-authenticator.md new file mode 100644 index 0000000000..96bdcc1bc3 --- /dev/null +++ b/docs/examples/1.8.x/client-flutter/examples/account/update-m-f-a-authenticator.md @@ -0,0 +1,12 @@ +import 'package:appwrite/appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +Account account = Account(client); + +User result = await account.updateMFAAuthenticator( + type: AuthenticatorType.totp, + otp: '', +); diff --git a/docs/examples/1.8.x/client-flutter/examples/account/update-m-f-a-challenge.md b/docs/examples/1.8.x/client-flutter/examples/account/update-m-f-a-challenge.md new file mode 100644 index 0000000000..b917e4119c --- /dev/null +++ b/docs/examples/1.8.x/client-flutter/examples/account/update-m-f-a-challenge.md @@ -0,0 +1,12 @@ +import 'package:appwrite/appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +Account account = Account(client); + +Session result = await account.updateMFAChallenge( + challengeId: '', + otp: '', +); diff --git a/docs/examples/1.8.x/client-flutter/examples/account/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/client-flutter/examples/account/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..377149bf60 --- /dev/null +++ b/docs/examples/1.8.x/client-flutter/examples/account/update-m-f-a-recovery-codes.md @@ -0,0 +1,9 @@ +import 'package:appwrite/appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +Account account = Account(client); + +MfaRecoveryCodes result = await account.updateMFARecoveryCodes(); diff --git a/docs/examples/1.8.x/client-flutter/examples/tablesdb/create-row.md b/docs/examples/1.8.x/client-flutter/examples/tablesdb/create-row.md index 2416eef742..f546133b87 100644 --- a/docs/examples/1.8.x/client-flutter/examples/tablesdb/create-row.md +++ b/docs/examples/1.8.x/client-flutter/examples/tablesdb/create-row.md @@ -4,7 +4,7 @@ Client client = Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); Row result = await tablesDB.createRow( databaseId: '', diff --git a/docs/examples/1.8.x/client-flutter/examples/tablesdb/decrement-row-column.md b/docs/examples/1.8.x/client-flutter/examples/tablesdb/decrement-row-column.md index 1a629f1689..4f3b4bdb61 100644 --- a/docs/examples/1.8.x/client-flutter/examples/tablesdb/decrement-row-column.md +++ b/docs/examples/1.8.x/client-flutter/examples/tablesdb/decrement-row-column.md @@ -4,7 +4,7 @@ Client client = Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); Row result = await tablesDB.decrementRowColumn( databaseId: '', diff --git a/docs/examples/1.8.x/client-flutter/examples/tablesdb/delete-row.md b/docs/examples/1.8.x/client-flutter/examples/tablesdb/delete-row.md index ffcc38109f..cc902fa198 100644 --- a/docs/examples/1.8.x/client-flutter/examples/tablesdb/delete-row.md +++ b/docs/examples/1.8.x/client-flutter/examples/tablesdb/delete-row.md @@ -4,7 +4,7 @@ Client client = Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); await tablesDB.deleteRow( databaseId: '', diff --git a/docs/examples/1.8.x/client-flutter/examples/tablesdb/get-row.md b/docs/examples/1.8.x/client-flutter/examples/tablesdb/get-row.md index 1939662410..29e6eaab93 100644 --- a/docs/examples/1.8.x/client-flutter/examples/tablesdb/get-row.md +++ b/docs/examples/1.8.x/client-flutter/examples/tablesdb/get-row.md @@ -4,7 +4,7 @@ Client client = Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); Row result = await tablesDB.getRow( databaseId: '', diff --git a/docs/examples/1.8.x/client-flutter/examples/tablesdb/increment-row-column.md b/docs/examples/1.8.x/client-flutter/examples/tablesdb/increment-row-column.md index 78797bf44e..e05dc76753 100644 --- a/docs/examples/1.8.x/client-flutter/examples/tablesdb/increment-row-column.md +++ b/docs/examples/1.8.x/client-flutter/examples/tablesdb/increment-row-column.md @@ -4,7 +4,7 @@ Client client = Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); Row result = await tablesDB.incrementRowColumn( databaseId: '', diff --git a/docs/examples/1.8.x/client-flutter/examples/tablesdb/list-rows.md b/docs/examples/1.8.x/client-flutter/examples/tablesdb/list-rows.md index 5a8bda7c6f..7763e2ae3d 100644 --- a/docs/examples/1.8.x/client-flutter/examples/tablesdb/list-rows.md +++ b/docs/examples/1.8.x/client-flutter/examples/tablesdb/list-rows.md @@ -4,7 +4,7 @@ Client client = Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); RowList result = await tablesDB.listRows( databaseId: '', diff --git a/docs/examples/1.8.x/client-flutter/examples/tablesdb/update-row.md b/docs/examples/1.8.x/client-flutter/examples/tablesdb/update-row.md index f5eee41202..c2cc84d7f6 100644 --- a/docs/examples/1.8.x/client-flutter/examples/tablesdb/update-row.md +++ b/docs/examples/1.8.x/client-flutter/examples/tablesdb/update-row.md @@ -4,7 +4,7 @@ Client client = Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); Row result = await tablesDB.updateRow( databaseId: '', diff --git a/docs/examples/1.8.x/client-flutter/examples/tablesdb/upsert-row.md b/docs/examples/1.8.x/client-flutter/examples/tablesdb/upsert-row.md index 9e34cb62a4..6a958a1898 100644 --- a/docs/examples/1.8.x/client-flutter/examples/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/client-flutter/examples/tablesdb/upsert-row.md @@ -4,7 +4,7 @@ Client client = Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); Row result = await tablesDB.upsertRow( databaseId: '', diff --git a/docs/examples/1.8.x/client-graphql/examples/account/create-m-f-a-authenticator.md b/docs/examples/1.8.x/client-graphql/examples/account/create-m-f-a-authenticator.md new file mode 100644 index 0000000000..8605340168 --- /dev/null +++ b/docs/examples/1.8.x/client-graphql/examples/account/create-m-f-a-authenticator.md @@ -0,0 +1,8 @@ +mutation { + accountCreateMFAAuthenticator( + type: "totp" + ) { + secret + uri + } +} diff --git a/docs/examples/1.8.x/client-graphql/examples/account/create-m-f-a-challenge.md b/docs/examples/1.8.x/client-graphql/examples/account/create-m-f-a-challenge.md new file mode 100644 index 0000000000..aff5a10123 --- /dev/null +++ b/docs/examples/1.8.x/client-graphql/examples/account/create-m-f-a-challenge.md @@ -0,0 +1,10 @@ +mutation { + accountCreateMFAChallenge( + factor: "email" + ) { + _id + _createdAt + userId + expire + } +} diff --git a/docs/examples/1.8.x/client-graphql/examples/account/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/client-graphql/examples/account/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..4cb6d36d42 --- /dev/null +++ b/docs/examples/1.8.x/client-graphql/examples/account/create-m-f-a-recovery-codes.md @@ -0,0 +1,5 @@ +mutation { + accountCreateMFARecoveryCodes { + recoveryCodes + } +} diff --git a/docs/examples/1.8.x/client-graphql/examples/account/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/client-graphql/examples/account/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..03e876e3f9 --- /dev/null +++ b/docs/examples/1.8.x/client-graphql/examples/account/delete-m-f-a-authenticator.md @@ -0,0 +1,7 @@ +mutation { + accountDeleteMFAAuthenticator( + type: "totp" + ) { + status + } +} diff --git a/docs/examples/1.8.x/client-graphql/examples/account/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/client-graphql/examples/account/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..e69de29bb2 diff --git a/docs/examples/1.8.x/client-graphql/examples/account/list-m-f-a-factors.md b/docs/examples/1.8.x/client-graphql/examples/account/list-m-f-a-factors.md new file mode 100644 index 0000000000..e69de29bb2 diff --git a/docs/examples/1.8.x/client-graphql/examples/account/update-m-f-a-authenticator.md b/docs/examples/1.8.x/client-graphql/examples/account/update-m-f-a-authenticator.md new file mode 100644 index 0000000000..b3021b70b8 --- /dev/null +++ b/docs/examples/1.8.x/client-graphql/examples/account/update-m-f-a-authenticator.md @@ -0,0 +1,38 @@ +mutation { + accountUpdateMFAAuthenticator( + type: "totp", + otp: "" + ) { + _id + _createdAt + _updatedAt + name + password + hash + hashOptions + registration + status + labels + passwordUpdate + email + phone + emailVerification + phoneVerification + mfa + prefs { + data + } + targets { + _id + _createdAt + _updatedAt + name + userId + providerId + providerType + identifier + expired + } + accessedAt + } +} diff --git a/docs/examples/1.8.x/client-graphql/examples/account/update-m-f-a-challenge.md b/docs/examples/1.8.x/client-graphql/examples/account/update-m-f-a-challenge.md new file mode 100644 index 0000000000..bf389f1eff --- /dev/null +++ b/docs/examples/1.8.x/client-graphql/examples/account/update-m-f-a-challenge.md @@ -0,0 +1,36 @@ +mutation { + accountUpdateMFAChallenge( + challengeId: "", + otp: "" + ) { + _id + _createdAt + _updatedAt + userId + expire + provider + providerUid + providerAccessToken + providerAccessTokenExpiry + providerRefreshToken + ip + osCode + osName + osVersion + clientType + clientCode + clientName + clientVersion + clientEngine + clientEngineVersion + deviceName + deviceBrand + deviceModel + countryCode + countryName + current + factors + secret + mfaUpdatedAt + } +} diff --git a/docs/examples/1.8.x/client-graphql/examples/account/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/client-graphql/examples/account/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..dc46be71ad --- /dev/null +++ b/docs/examples/1.8.x/client-graphql/examples/account/update-m-f-a-recovery-codes.md @@ -0,0 +1,5 @@ +mutation { + accountUpdateMFARecoveryCodes { + recoveryCodes + } +} diff --git a/docs/examples/1.8.x/client-graphql/examples/functions/create-execution.md b/docs/examples/1.8.x/client-graphql/examples/functions/create-execution.md index 8979880723..ff0ecbe739 100644 --- a/docs/examples/1.8.x/client-graphql/examples/functions/create-execution.md +++ b/docs/examples/1.8.x/client-graphql/examples/functions/create-execution.md @@ -13,6 +13,7 @@ mutation { _updatedAt _permissions functionId + deploymentId trigger status requestMethod diff --git a/docs/examples/1.8.x/client-react-native/examples/account/create-m-f-a-authenticator.md b/docs/examples/1.8.x/client-react-native/examples/account/create-m-f-a-authenticator.md new file mode 100644 index 0000000000..d859850f2f --- /dev/null +++ b/docs/examples/1.8.x/client-react-native/examples/account/create-m-f-a-authenticator.md @@ -0,0 +1,13 @@ +import { Client, Account, AuthenticatorType } from "react-native-appwrite"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const account = new Account(client); + +const result = await account.createMFAAuthenticator({ + type: AuthenticatorType.Totp +}); + +console.log(result); diff --git a/docs/examples/1.8.x/client-react-native/examples/account/create-m-f-a-challenge.md b/docs/examples/1.8.x/client-react-native/examples/account/create-m-f-a-challenge.md new file mode 100644 index 0000000000..c7e5f6216a --- /dev/null +++ b/docs/examples/1.8.x/client-react-native/examples/account/create-m-f-a-challenge.md @@ -0,0 +1,13 @@ +import { Client, Account, AuthenticationFactor } from "react-native-appwrite"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const account = new Account(client); + +const result = await account.createMFAChallenge({ + factor: AuthenticationFactor.Email +}); + +console.log(result); diff --git a/docs/examples/1.8.x/client-react-native/examples/account/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/client-react-native/examples/account/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..22d6a579d6 --- /dev/null +++ b/docs/examples/1.8.x/client-react-native/examples/account/create-m-f-a-recovery-codes.md @@ -0,0 +1,11 @@ +import { Client, Account } from "react-native-appwrite"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const account = new Account(client); + +const result = await account.createMFARecoveryCodes(); + +console.log(result); diff --git a/docs/examples/1.8.x/client-react-native/examples/account/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/client-react-native/examples/account/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..90a6e347a8 --- /dev/null +++ b/docs/examples/1.8.x/client-react-native/examples/account/delete-m-f-a-authenticator.md @@ -0,0 +1,13 @@ +import { Client, Account, AuthenticatorType } from "react-native-appwrite"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const account = new Account(client); + +const result = await account.deleteMFAAuthenticator({ + type: AuthenticatorType.Totp +}); + +console.log(result); diff --git a/docs/examples/1.8.x/client-react-native/examples/account/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/client-react-native/examples/account/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..94896eb752 --- /dev/null +++ b/docs/examples/1.8.x/client-react-native/examples/account/get-m-f-a-recovery-codes.md @@ -0,0 +1,11 @@ +import { Client, Account } from "react-native-appwrite"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const account = new Account(client); + +const result = await account.getMFARecoveryCodes(); + +console.log(result); diff --git a/docs/examples/1.8.x/client-react-native/examples/account/list-m-f-a-factors.md b/docs/examples/1.8.x/client-react-native/examples/account/list-m-f-a-factors.md new file mode 100644 index 0000000000..98ba939768 --- /dev/null +++ b/docs/examples/1.8.x/client-react-native/examples/account/list-m-f-a-factors.md @@ -0,0 +1,11 @@ +import { Client, Account } from "react-native-appwrite"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const account = new Account(client); + +const result = await account.listMFAFactors(); + +console.log(result); diff --git a/docs/examples/1.8.x/client-react-native/examples/account/update-m-f-a-authenticator.md b/docs/examples/1.8.x/client-react-native/examples/account/update-m-f-a-authenticator.md new file mode 100644 index 0000000000..58f2329564 --- /dev/null +++ b/docs/examples/1.8.x/client-react-native/examples/account/update-m-f-a-authenticator.md @@ -0,0 +1,14 @@ +import { Client, Account, AuthenticatorType } from "react-native-appwrite"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const account = new Account(client); + +const result = await account.updateMFAAuthenticator({ + type: AuthenticatorType.Totp, + otp: '' +}); + +console.log(result); diff --git a/docs/examples/1.8.x/client-react-native/examples/account/update-m-f-a-challenge.md b/docs/examples/1.8.x/client-react-native/examples/account/update-m-f-a-challenge.md new file mode 100644 index 0000000000..c2ce59f6ef --- /dev/null +++ b/docs/examples/1.8.x/client-react-native/examples/account/update-m-f-a-challenge.md @@ -0,0 +1,14 @@ +import { Client, Account } from "react-native-appwrite"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const account = new Account(client); + +const result = await account.updateMFAChallenge({ + challengeId: '', + otp: '' +}); + +console.log(result); diff --git a/docs/examples/1.8.x/client-react-native/examples/account/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/client-react-native/examples/account/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..1f7b4f0d96 --- /dev/null +++ b/docs/examples/1.8.x/client-react-native/examples/account/update-m-f-a-recovery-codes.md @@ -0,0 +1,11 @@ +import { Client, Account } from "react-native-appwrite"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const account = new Account(client); + +const result = await account.updateMFARecoveryCodes(); + +console.log(result); diff --git a/docs/examples/1.8.x/client-react-native/examples/tablesdb/create-row.md b/docs/examples/1.8.x/client-react-native/examples/tablesdb/create-row.md index b10cc9df25..c9332e53f1 100644 --- a/docs/examples/1.8.x/client-react-native/examples/tablesdb/create-row.md +++ b/docs/examples/1.8.x/client-react-native/examples/tablesdb/create-row.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "react-native-appwrite"; +import { Client, TablesDB } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.createRow({ databaseId: '', diff --git a/docs/examples/1.8.x/client-react-native/examples/tablesdb/decrement-row-column.md b/docs/examples/1.8.x/client-react-native/examples/tablesdb/decrement-row-column.md index 2524709613..f11eef4be8 100644 --- a/docs/examples/1.8.x/client-react-native/examples/tablesdb/decrement-row-column.md +++ b/docs/examples/1.8.x/client-react-native/examples/tablesdb/decrement-row-column.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "react-native-appwrite"; +import { Client, TablesDB } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.decrementRowColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/client-react-native/examples/tablesdb/delete-row.md b/docs/examples/1.8.x/client-react-native/examples/tablesdb/delete-row.md index 0963368e63..624f1a191f 100644 --- a/docs/examples/1.8.x/client-react-native/examples/tablesdb/delete-row.md +++ b/docs/examples/1.8.x/client-react-native/examples/tablesdb/delete-row.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "react-native-appwrite"; +import { Client, TablesDB } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.deleteRow({ databaseId: '', diff --git a/docs/examples/1.8.x/client-react-native/examples/tablesdb/get-row.md b/docs/examples/1.8.x/client-react-native/examples/tablesdb/get-row.md index aa7cc18d28..798298fe60 100644 --- a/docs/examples/1.8.x/client-react-native/examples/tablesdb/get-row.md +++ b/docs/examples/1.8.x/client-react-native/examples/tablesdb/get-row.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "react-native-appwrite"; +import { Client, TablesDB } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.getRow({ databaseId: '', diff --git a/docs/examples/1.8.x/client-react-native/examples/tablesdb/increment-row-column.md b/docs/examples/1.8.x/client-react-native/examples/tablesdb/increment-row-column.md index e7093e0942..b9126dd4c5 100644 --- a/docs/examples/1.8.x/client-react-native/examples/tablesdb/increment-row-column.md +++ b/docs/examples/1.8.x/client-react-native/examples/tablesdb/increment-row-column.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "react-native-appwrite"; +import { Client, TablesDB } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.incrementRowColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/client-react-native/examples/tablesdb/list-rows.md b/docs/examples/1.8.x/client-react-native/examples/tablesdb/list-rows.md index f54900e659..e6d2acfd24 100644 --- a/docs/examples/1.8.x/client-react-native/examples/tablesdb/list-rows.md +++ b/docs/examples/1.8.x/client-react-native/examples/tablesdb/list-rows.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "react-native-appwrite"; +import { Client, TablesDB } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.listRows({ databaseId: '', diff --git a/docs/examples/1.8.x/client-react-native/examples/tablesdb/update-row.md b/docs/examples/1.8.x/client-react-native/examples/tablesdb/update-row.md index e5c31bd3a6..6d026eb25a 100644 --- a/docs/examples/1.8.x/client-react-native/examples/tablesdb/update-row.md +++ b/docs/examples/1.8.x/client-react-native/examples/tablesdb/update-row.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "react-native-appwrite"; +import { Client, TablesDB } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.updateRow({ databaseId: '', diff --git a/docs/examples/1.8.x/client-react-native/examples/tablesdb/upsert-row.md b/docs/examples/1.8.x/client-react-native/examples/tablesdb/upsert-row.md index 443134dcf7..bf1589ae88 100644 --- a/docs/examples/1.8.x/client-react-native/examples/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/client-react-native/examples/tablesdb/upsert-row.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "react-native-appwrite"; +import { Client, TablesDB } from "react-native-appwrite"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.upsertRow({ databaseId: '', diff --git a/docs/examples/1.8.x/client-rest/examples/account/create-m-f-a-authenticator.md b/docs/examples/1.8.x/client-rest/examples/account/create-m-f-a-authenticator.md new file mode 100644 index 0000000000..62a068b6cf --- /dev/null +++ b/docs/examples/1.8.x/client-rest/examples/account/create-m-f-a-authenticator.md @@ -0,0 +1,8 @@ +POST /v1/account/mfa/authenticators/{type} HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: + diff --git a/docs/examples/1.8.x/client-rest/examples/account/create-m-f-a-challenge.md b/docs/examples/1.8.x/client-rest/examples/account/create-m-f-a-challenge.md new file mode 100644 index 0000000000..dd5ef4c731 --- /dev/null +++ b/docs/examples/1.8.x/client-rest/examples/account/create-m-f-a-challenge.md @@ -0,0 +1,9 @@ +POST /v1/account/mfa/challenge HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: + +{ + "factor": "email" +} diff --git a/docs/examples/1.8.x/client-rest/examples/account/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/client-rest/examples/account/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..f09323df0b --- /dev/null +++ b/docs/examples/1.8.x/client-rest/examples/account/create-m-f-a-recovery-codes.md @@ -0,0 +1,8 @@ +POST /v1/account/mfa/recovery-codes HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: + diff --git a/docs/examples/1.8.x/client-rest/examples/account/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/client-rest/examples/account/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..a0eb5a0869 --- /dev/null +++ b/docs/examples/1.8.x/client-rest/examples/account/delete-m-f-a-authenticator.md @@ -0,0 +1,8 @@ +DELETE /v1/account/mfa/authenticators/{type} HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: + diff --git a/docs/examples/1.8.x/client-rest/examples/account/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/client-rest/examples/account/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..2ab10a2475 --- /dev/null +++ b/docs/examples/1.8.x/client-rest/examples/account/get-m-f-a-recovery-codes.md @@ -0,0 +1,6 @@ +GET /v1/account/mfa/recovery-codes HTTP/1.1 +Host: cloud.appwrite.io +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/account/list-m-f-a-factors.md b/docs/examples/1.8.x/client-rest/examples/account/list-m-f-a-factors.md new file mode 100644 index 0000000000..c591143d4e --- /dev/null +++ b/docs/examples/1.8.x/client-rest/examples/account/list-m-f-a-factors.md @@ -0,0 +1,6 @@ +GET /v1/account/mfa/factors HTTP/1.1 +Host: cloud.appwrite.io +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/account/update-m-f-a-authenticator.md b/docs/examples/1.8.x/client-rest/examples/account/update-m-f-a-authenticator.md new file mode 100644 index 0000000000..780472291c --- /dev/null +++ b/docs/examples/1.8.x/client-rest/examples/account/update-m-f-a-authenticator.md @@ -0,0 +1,11 @@ +PUT /v1/account/mfa/authenticators/{type} HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: + +{ + "otp": "" +} diff --git a/docs/examples/1.8.x/client-rest/examples/account/update-m-f-a-challenge.md b/docs/examples/1.8.x/client-rest/examples/account/update-m-f-a-challenge.md new file mode 100644 index 0000000000..b6a7e92b28 --- /dev/null +++ b/docs/examples/1.8.x/client-rest/examples/account/update-m-f-a-challenge.md @@ -0,0 +1,12 @@ +PUT /v1/account/mfa/challenge HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: + +{ + "challengeId": "", + "otp": "" +} diff --git a/docs/examples/1.8.x/client-rest/examples/account/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/client-rest/examples/account/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..74e9225f3e --- /dev/null +++ b/docs/examples/1.8.x/client-rest/examples/account/update-m-f-a-recovery-codes.md @@ -0,0 +1,8 @@ +PATCH /v1/account/mfa/recovery-codes HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: + diff --git a/docs/examples/1.8.x/client-web/examples/account/create-m-f-a-authenticator.md b/docs/examples/1.8.x/client-web/examples/account/create-m-f-a-authenticator.md new file mode 100644 index 0000000000..154be4e185 --- /dev/null +++ b/docs/examples/1.8.x/client-web/examples/account/create-m-f-a-authenticator.md @@ -0,0 +1,13 @@ +import { Client, Account, AuthenticatorType } from "appwrite"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const account = new Account(client); + +const result = await account.createMFAAuthenticator({ + type: AuthenticatorType.Totp +}); + +console.log(result); diff --git a/docs/examples/1.8.x/client-web/examples/account/create-m-f-a-challenge.md b/docs/examples/1.8.x/client-web/examples/account/create-m-f-a-challenge.md new file mode 100644 index 0000000000..1328305538 --- /dev/null +++ b/docs/examples/1.8.x/client-web/examples/account/create-m-f-a-challenge.md @@ -0,0 +1,13 @@ +import { Client, Account, AuthenticationFactor } from "appwrite"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const account = new Account(client); + +const result = await account.createMFAChallenge({ + factor: AuthenticationFactor.Email +}); + +console.log(result); diff --git a/docs/examples/1.8.x/client-web/examples/account/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/client-web/examples/account/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..d9041f273d --- /dev/null +++ b/docs/examples/1.8.x/client-web/examples/account/create-m-f-a-recovery-codes.md @@ -0,0 +1,11 @@ +import { Client, Account } from "appwrite"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const account = new Account(client); + +const result = await account.createMFARecoveryCodes(); + +console.log(result); diff --git a/docs/examples/1.8.x/client-web/examples/account/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/client-web/examples/account/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..2b1a8785fd --- /dev/null +++ b/docs/examples/1.8.x/client-web/examples/account/delete-m-f-a-authenticator.md @@ -0,0 +1,13 @@ +import { Client, Account, AuthenticatorType } from "appwrite"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const account = new Account(client); + +const result = await account.deleteMFAAuthenticator({ + type: AuthenticatorType.Totp +}); + +console.log(result); diff --git a/docs/examples/1.8.x/client-web/examples/account/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/client-web/examples/account/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..527ebd9dab --- /dev/null +++ b/docs/examples/1.8.x/client-web/examples/account/get-m-f-a-recovery-codes.md @@ -0,0 +1,11 @@ +import { Client, Account } from "appwrite"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const account = new Account(client); + +const result = await account.getMFARecoveryCodes(); + +console.log(result); diff --git a/docs/examples/1.8.x/client-web/examples/account/list-m-f-a-factors.md b/docs/examples/1.8.x/client-web/examples/account/list-m-f-a-factors.md new file mode 100644 index 0000000000..80151d977c --- /dev/null +++ b/docs/examples/1.8.x/client-web/examples/account/list-m-f-a-factors.md @@ -0,0 +1,11 @@ +import { Client, Account } from "appwrite"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const account = new Account(client); + +const result = await account.listMFAFactors(); + +console.log(result); diff --git a/docs/examples/1.8.x/client-web/examples/account/update-m-f-a-authenticator.md b/docs/examples/1.8.x/client-web/examples/account/update-m-f-a-authenticator.md new file mode 100644 index 0000000000..f5ce65eeab --- /dev/null +++ b/docs/examples/1.8.x/client-web/examples/account/update-m-f-a-authenticator.md @@ -0,0 +1,14 @@ +import { Client, Account, AuthenticatorType } from "appwrite"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const account = new Account(client); + +const result = await account.updateMFAAuthenticator({ + type: AuthenticatorType.Totp, + otp: '' +}); + +console.log(result); diff --git a/docs/examples/1.8.x/client-web/examples/account/update-m-f-a-challenge.md b/docs/examples/1.8.x/client-web/examples/account/update-m-f-a-challenge.md new file mode 100644 index 0000000000..016533c09b --- /dev/null +++ b/docs/examples/1.8.x/client-web/examples/account/update-m-f-a-challenge.md @@ -0,0 +1,14 @@ +import { Client, Account } from "appwrite"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const account = new Account(client); + +const result = await account.updateMFAChallenge({ + challengeId: '', + otp: '' +}); + +console.log(result); diff --git a/docs/examples/1.8.x/client-web/examples/account/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/client-web/examples/account/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..3ab0385027 --- /dev/null +++ b/docs/examples/1.8.x/client-web/examples/account/update-m-f-a-recovery-codes.md @@ -0,0 +1,11 @@ +import { Client, Account } from "appwrite"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const account = new Account(client); + +const result = await account.updateMFARecoveryCodes(); + +console.log(result); diff --git a/docs/examples/1.8.x/client-web/examples/tablesdb/create-row.md b/docs/examples/1.8.x/client-web/examples/tablesdb/create-row.md index a91207fdc7..a055db59ab 100644 --- a/docs/examples/1.8.x/client-web/examples/tablesdb/create-row.md +++ b/docs/examples/1.8.x/client-web/examples/tablesdb/create-row.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "appwrite"; +import { Client, TablesDB } from "appwrite"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.createRow({ databaseId: '', diff --git a/docs/examples/1.8.x/client-web/examples/tablesdb/decrement-row-column.md b/docs/examples/1.8.x/client-web/examples/tablesdb/decrement-row-column.md index 2e9549fcee..0af7c25a78 100644 --- a/docs/examples/1.8.x/client-web/examples/tablesdb/decrement-row-column.md +++ b/docs/examples/1.8.x/client-web/examples/tablesdb/decrement-row-column.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "appwrite"; +import { Client, TablesDB } from "appwrite"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.decrementRowColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/client-web/examples/tablesdb/delete-row.md b/docs/examples/1.8.x/client-web/examples/tablesdb/delete-row.md index 8ea7e44283..637114d413 100644 --- a/docs/examples/1.8.x/client-web/examples/tablesdb/delete-row.md +++ b/docs/examples/1.8.x/client-web/examples/tablesdb/delete-row.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "appwrite"; +import { Client, TablesDB } from "appwrite"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.deleteRow({ databaseId: '', diff --git a/docs/examples/1.8.x/client-web/examples/tablesdb/get-row.md b/docs/examples/1.8.x/client-web/examples/tablesdb/get-row.md index 904d3693f0..ef2c8ec930 100644 --- a/docs/examples/1.8.x/client-web/examples/tablesdb/get-row.md +++ b/docs/examples/1.8.x/client-web/examples/tablesdb/get-row.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "appwrite"; +import { Client, TablesDB } from "appwrite"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.getRow({ databaseId: '', diff --git a/docs/examples/1.8.x/client-web/examples/tablesdb/increment-row-column.md b/docs/examples/1.8.x/client-web/examples/tablesdb/increment-row-column.md index 144944a214..0890f8d2ec 100644 --- a/docs/examples/1.8.x/client-web/examples/tablesdb/increment-row-column.md +++ b/docs/examples/1.8.x/client-web/examples/tablesdb/increment-row-column.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "appwrite"; +import { Client, TablesDB } from "appwrite"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.incrementRowColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/client-web/examples/tablesdb/list-rows.md b/docs/examples/1.8.x/client-web/examples/tablesdb/list-rows.md index 730eacc708..fb8218023b 100644 --- a/docs/examples/1.8.x/client-web/examples/tablesdb/list-rows.md +++ b/docs/examples/1.8.x/client-web/examples/tablesdb/list-rows.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "appwrite"; +import { Client, TablesDB } from "appwrite"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.listRows({ databaseId: '', diff --git a/docs/examples/1.8.x/client-web/examples/tablesdb/update-row.md b/docs/examples/1.8.x/client-web/examples/tablesdb/update-row.md index eaef81cc9c..31f1f3f24d 100644 --- a/docs/examples/1.8.x/client-web/examples/tablesdb/update-row.md +++ b/docs/examples/1.8.x/client-web/examples/tablesdb/update-row.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "appwrite"; +import { Client, TablesDB } from "appwrite"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.updateRow({ databaseId: '', diff --git a/docs/examples/1.8.x/client-web/examples/tablesdb/upsert-row.md b/docs/examples/1.8.x/client-web/examples/tablesdb/upsert-row.md index 2e415527cf..dc27e66785 100644 --- a/docs/examples/1.8.x/client-web/examples/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/client-web/examples/tablesdb/upsert-row.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "appwrite"; +import { Client, TablesDB } from "appwrite"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.upsertRow({ databaseId: '', diff --git a/docs/examples/1.8.x/console-cli/examples/account/create-m-f-a-authenticator.md b/docs/examples/1.8.x/console-cli/examples/account/create-m-f-a-authenticator.md new file mode 100644 index 0000000000..a976bc8247 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/account/create-m-f-a-authenticator.md @@ -0,0 +1,2 @@ +appwrite account createMFAAuthenticator \ + --type totp diff --git a/docs/examples/1.8.x/console-cli/examples/account/create-m-f-a-challenge.md b/docs/examples/1.8.x/console-cli/examples/account/create-m-f-a-challenge.md new file mode 100644 index 0000000000..13e38e8923 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/account/create-m-f-a-challenge.md @@ -0,0 +1,2 @@ +appwrite account createMFAChallenge \ + --factor email diff --git a/docs/examples/1.8.x/console-cli/examples/account/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/console-cli/examples/account/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..7c80d8877f --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/account/create-m-f-a-recovery-codes.md @@ -0,0 +1 @@ +appwrite account createMFARecoveryCodes diff --git a/docs/examples/1.8.x/console-cli/examples/account/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/console-cli/examples/account/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..67f278f8cb --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/account/delete-m-f-a-authenticator.md @@ -0,0 +1,2 @@ +appwrite account deleteMFAAuthenticator \ + --type totp diff --git a/docs/examples/1.8.x/console-cli/examples/account/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/console-cli/examples/account/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..d4e274c1b2 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/account/get-m-f-a-recovery-codes.md @@ -0,0 +1 @@ +appwrite account getMFARecoveryCodes diff --git a/docs/examples/1.8.x/console-cli/examples/account/list-m-f-a-factors.md b/docs/examples/1.8.x/console-cli/examples/account/list-m-f-a-factors.md new file mode 100644 index 0000000000..3f2b6d71ae --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/account/list-m-f-a-factors.md @@ -0,0 +1 @@ +appwrite account listMFAFactors diff --git a/docs/examples/1.8.x/console-cli/examples/account/update-m-f-a-authenticator.md b/docs/examples/1.8.x/console-cli/examples/account/update-m-f-a-authenticator.md new file mode 100644 index 0000000000..d38af3d2a0 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/account/update-m-f-a-authenticator.md @@ -0,0 +1,3 @@ +appwrite account updateMFAAuthenticator \ + --type totp \ + --otp diff --git a/docs/examples/1.8.x/console-cli/examples/account/update-m-f-a-challenge.md b/docs/examples/1.8.x/console-cli/examples/account/update-m-f-a-challenge.md new file mode 100644 index 0000000000..f6c3dcf919 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/account/update-m-f-a-challenge.md @@ -0,0 +1,3 @@ +appwrite account updateMFAChallenge \ + --challengeId \ + --otp diff --git a/docs/examples/1.8.x/console-cli/examples/account/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/console-cli/examples/account/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..d3b398ba96 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/account/update-m-f-a-recovery-codes.md @@ -0,0 +1 @@ +appwrite account updateMFARecoveryCodes diff --git a/docs/examples/1.8.x/console-cli/examples/messaging/create-a-p-n-s-provider.md b/docs/examples/1.8.x/console-cli/examples/messaging/create-a-p-n-s-provider.md new file mode 100644 index 0000000000..e49870ddb7 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/messaging/create-a-p-n-s-provider.md @@ -0,0 +1,9 @@ +appwrite messaging createAPNSProvider \ + --providerId \ + --name \ + + + + + + diff --git a/docs/examples/1.8.x/console-cli/examples/messaging/create-f-c-m-provider.md b/docs/examples/1.8.x/console-cli/examples/messaging/create-f-c-m-provider.md new file mode 100644 index 0000000000..897d1afe64 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/messaging/create-f-c-m-provider.md @@ -0,0 +1,5 @@ +appwrite messaging createFCMProvider \ + --providerId \ + --name \ + + diff --git a/docs/examples/1.8.x/console-cli/examples/messaging/create-s-m-s.md b/docs/examples/1.8.x/console-cli/examples/messaging/create-s-m-s.md new file mode 100644 index 0000000000..b1345cfe30 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/messaging/create-s-m-s.md @@ -0,0 +1,8 @@ +appwrite messaging createSMS \ + --messageId \ + --content \ + + + + + diff --git a/docs/examples/1.8.x/console-cli/examples/messaging/create-s-m-t-p-provider.md b/docs/examples/1.8.x/console-cli/examples/messaging/create-s-m-t-p-provider.md new file mode 100644 index 0000000000..3e4e7de14e --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/messaging/create-s-m-t-p-provider.md @@ -0,0 +1,15 @@ +appwrite messaging createSMTPProvider \ + --providerId \ + --name \ + --host \ + + + + + + + + + + + diff --git a/docs/examples/1.8.x/console-cli/examples/messaging/update-a-p-n-s-provider.md b/docs/examples/1.8.x/console-cli/examples/messaging/update-a-p-n-s-provider.md new file mode 100644 index 0000000000..1af2622a8d --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/messaging/update-a-p-n-s-provider.md @@ -0,0 +1,9 @@ +appwrite messaging updateAPNSProvider \ + --providerId \ + + + + + + + diff --git a/docs/examples/1.8.x/console-cli/examples/messaging/update-f-c-m-provider.md b/docs/examples/1.8.x/console-cli/examples/messaging/update-f-c-m-provider.md new file mode 100644 index 0000000000..529ad4cd11 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/messaging/update-f-c-m-provider.md @@ -0,0 +1,5 @@ +appwrite messaging updateFCMProvider \ + --providerId \ + + + diff --git a/docs/examples/1.8.x/console-cli/examples/messaging/update-s-m-s.md b/docs/examples/1.8.x/console-cli/examples/messaging/update-s-m-s.md new file mode 100644 index 0000000000..1db1abaff7 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/messaging/update-s-m-s.md @@ -0,0 +1,8 @@ +appwrite messaging updateSMS \ + --messageId \ + + + + + + diff --git a/docs/examples/1.8.x/console-cli/examples/messaging/update-s-m-t-p-provider.md b/docs/examples/1.8.x/console-cli/examples/messaging/update-s-m-t-p-provider.md new file mode 100644 index 0000000000..4cc7990394 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/messaging/update-s-m-t-p-provider.md @@ -0,0 +1,15 @@ +appwrite messaging updateSMTPProvider \ + --providerId \ + + + + + + + + + + + + + diff --git a/docs/examples/1.8.x/console-cli/examples/projects/create-s-m-t-p-test.md b/docs/examples/1.8.x/console-cli/examples/projects/create-s-m-t-p-test.md new file mode 100644 index 0000000000..9a4dd99592 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/projects/create-s-m-t-p-test.md @@ -0,0 +1,11 @@ +appwrite projects createSMTPTest \ + --projectId \ + --emails one two three \ + --senderName \ + --senderEmail email@example.com \ + --host '' \ + + + + + diff --git a/docs/examples/1.8.x/console-cli/examples/projects/delete-s-m-s-template.md b/docs/examples/1.8.x/console-cli/examples/projects/delete-s-m-s-template.md new file mode 100644 index 0000000000..69fa595d8b --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/projects/delete-s-m-s-template.md @@ -0,0 +1,4 @@ +appwrite projects deleteSMSTemplate \ + --projectId \ + --type verification \ + --locale af diff --git a/docs/examples/1.8.x/console-cli/examples/projects/get-s-m-s-template.md b/docs/examples/1.8.x/console-cli/examples/projects/get-s-m-s-template.md new file mode 100644 index 0000000000..c61ca6956f --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/projects/get-s-m-s-template.md @@ -0,0 +1,4 @@ +appwrite projects getSMSTemplate \ + --projectId \ + --type verification \ + --locale af diff --git a/docs/examples/1.8.x/console-cli/examples/projects/update-a-p-i-status-all.md b/docs/examples/1.8.x/console-cli/examples/projects/update-a-p-i-status-all.md new file mode 100644 index 0000000000..02adf9c13d --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/projects/update-a-p-i-status-all.md @@ -0,0 +1,3 @@ +appwrite projects updateAPIStatusAll \ + --projectId \ + --status false diff --git a/docs/examples/1.8.x/console-cli/examples/projects/update-a-p-i-status.md b/docs/examples/1.8.x/console-cli/examples/projects/update-a-p-i-status.md new file mode 100644 index 0000000000..de4261ead0 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/projects/update-a-p-i-status.md @@ -0,0 +1,4 @@ +appwrite projects updateAPIStatus \ + --projectId \ + --api rest \ + --status false diff --git a/docs/examples/1.8.x/console-cli/examples/projects/update-s-m-s-template.md b/docs/examples/1.8.x/console-cli/examples/projects/update-s-m-s-template.md new file mode 100644 index 0000000000..c69ac853f4 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/projects/update-s-m-s-template.md @@ -0,0 +1,5 @@ +appwrite projects updateSMSTemplate \ + --projectId \ + --type verification \ + --locale af \ + --message diff --git a/docs/examples/1.8.x/console-cli/examples/projects/update-s-m-t-p.md b/docs/examples/1.8.x/console-cli/examples/projects/update-s-m-t-p.md new file mode 100644 index 0000000000..e39a811c34 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/projects/update-s-m-t-p.md @@ -0,0 +1,11 @@ +appwrite projects updateSMTP \ + --projectId \ + --enabled false \ + + + + + + + + diff --git a/docs/examples/1.8.x/console-cli/examples/users/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/console-cli/examples/users/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..b85c627c32 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/users/create-m-f-a-recovery-codes.md @@ -0,0 +1,2 @@ +appwrite users createMFARecoveryCodes \ + --userId diff --git a/docs/examples/1.8.x/console-cli/examples/users/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/console-cli/examples/users/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..8ef5597a4c --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/users/delete-m-f-a-authenticator.md @@ -0,0 +1,3 @@ +appwrite users deleteMFAAuthenticator \ + --userId \ + --type totp diff --git a/docs/examples/1.8.x/console-cli/examples/users/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/console-cli/examples/users/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..6d5ccf3907 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/users/get-m-f-a-recovery-codes.md @@ -0,0 +1,2 @@ +appwrite users getMFARecoveryCodes \ + --userId diff --git a/docs/examples/1.8.x/console-cli/examples/users/list-m-f-a-factors.md b/docs/examples/1.8.x/console-cli/examples/users/list-m-f-a-factors.md new file mode 100644 index 0000000000..67a9c09b8c --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/users/list-m-f-a-factors.md @@ -0,0 +1,2 @@ +appwrite users listMFAFactors \ + --userId diff --git a/docs/examples/1.8.x/console-cli/examples/users/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/console-cli/examples/users/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..ac70d856bc --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/users/update-m-f-a-recovery-codes.md @@ -0,0 +1,2 @@ +appwrite users updateMFARecoveryCodes \ + --userId diff --git a/docs/examples/1.8.x/console-cli/examples/users/update-m-f-a.md b/docs/examples/1.8.x/console-cli/examples/users/update-m-f-a.md new file mode 100644 index 0000000000..2cf7b78539 --- /dev/null +++ b/docs/examples/1.8.x/console-cli/examples/users/update-m-f-a.md @@ -0,0 +1,3 @@ +appwrite users updateMFA \ + --userId \ + --mfa false diff --git a/docs/examples/1.8.x/console-web/examples/account/create-m-f-a-authenticator.md b/docs/examples/1.8.x/console-web/examples/account/create-m-f-a-authenticator.md new file mode 100644 index 0000000000..7d3a01011f --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/account/create-m-f-a-authenticator.md @@ -0,0 +1,13 @@ +import { Client, Account, AuthenticatorType } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const account = new Account(client); + +const result = await account.createMFAAuthenticator({ + type: AuthenticatorType.Totp +}); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/account/create-m-f-a-challenge.md b/docs/examples/1.8.x/console-web/examples/account/create-m-f-a-challenge.md new file mode 100644 index 0000000000..3bea832ffd --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/account/create-m-f-a-challenge.md @@ -0,0 +1,13 @@ +import { Client, Account, AuthenticationFactor } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const account = new Account(client); + +const result = await account.createMFAChallenge({ + factor: AuthenticationFactor.Email +}); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/account/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/console-web/examples/account/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..d5ec4aaffb --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/account/create-m-f-a-recovery-codes.md @@ -0,0 +1,11 @@ +import { Client, Account } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const account = new Account(client); + +const result = await account.createMFARecoveryCodes(); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/account/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/console-web/examples/account/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..5d6cfd9a3a --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/account/delete-m-f-a-authenticator.md @@ -0,0 +1,13 @@ +import { Client, Account, AuthenticatorType } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const account = new Account(client); + +const result = await account.deleteMFAAuthenticator({ + type: AuthenticatorType.Totp +}); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/account/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/console-web/examples/account/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..a8c7810d78 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/account/get-m-f-a-recovery-codes.md @@ -0,0 +1,11 @@ +import { Client, Account } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const account = new Account(client); + +const result = await account.getMFARecoveryCodes(); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/account/list-m-f-a-factors.md b/docs/examples/1.8.x/console-web/examples/account/list-m-f-a-factors.md new file mode 100644 index 0000000000..078503a678 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/account/list-m-f-a-factors.md @@ -0,0 +1,11 @@ +import { Client, Account } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const account = new Account(client); + +const result = await account.listMFAFactors(); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/account/update-m-f-a-authenticator.md b/docs/examples/1.8.x/console-web/examples/account/update-m-f-a-authenticator.md new file mode 100644 index 0000000000..b6aa383de3 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/account/update-m-f-a-authenticator.md @@ -0,0 +1,14 @@ +import { Client, Account, AuthenticatorType } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const account = new Account(client); + +const result = await account.updateMFAAuthenticator({ + type: AuthenticatorType.Totp, + otp: '' +}); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/account/update-m-f-a-challenge.md b/docs/examples/1.8.x/console-web/examples/account/update-m-f-a-challenge.md new file mode 100644 index 0000000000..d82e58326f --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/account/update-m-f-a-challenge.md @@ -0,0 +1,14 @@ +import { Client, Account } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const account = new Account(client); + +const result = await account.updateMFAChallenge({ + challengeId: '', + otp: '' +}); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/account/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/console-web/examples/account/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..d359a4ee3d --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/account/update-m-f-a-recovery-codes.md @@ -0,0 +1,11 @@ +import { Client, Account } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const account = new Account(client); + +const result = await account.updateMFARecoveryCodes(); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/messaging/create-a-p-n-s-provider.md b/docs/examples/1.8.x/console-web/examples/messaging/create-a-p-n-s-provider.md new file mode 100644 index 0000000000..8fc5b14c1c --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/messaging/create-a-p-n-s-provider.md @@ -0,0 +1,20 @@ +import { Client, Messaging } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const messaging = new Messaging(client); + +const result = await messaging.createAPNSProvider({ + providerId: '', + name: '', + authKey: '', + authKeyId: '', + teamId: '', + bundleId: '', + sandbox: false, + enabled: false +}); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/messaging/create-f-c-m-provider.md b/docs/examples/1.8.x/console-web/examples/messaging/create-f-c-m-provider.md new file mode 100644 index 0000000000..72224a1a69 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/messaging/create-f-c-m-provider.md @@ -0,0 +1,16 @@ +import { Client, Messaging } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const messaging = new Messaging(client); + +const result = await messaging.createFCMProvider({ + providerId: '', + name: '', + serviceAccountJSON: {}, + enabled: false +}); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/messaging/create-s-m-s.md b/docs/examples/1.8.x/console-web/examples/messaging/create-s-m-s.md new file mode 100644 index 0000000000..a539155c73 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/messaging/create-s-m-s.md @@ -0,0 +1,19 @@ +import { Client, Messaging } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const messaging = new Messaging(client); + +const result = await messaging.createSMS({ + messageId: '', + content: '', + topics: [], + users: [], + targets: [], + draft: false, + scheduledAt: '' +}); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/messaging/create-s-m-t-p-provider.md b/docs/examples/1.8.x/console-web/examples/messaging/create-s-m-t-p-provider.md new file mode 100644 index 0000000000..e4af5103bc --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/messaging/create-s-m-t-p-provider.md @@ -0,0 +1,26 @@ +import { Client, Messaging, SmtpEncryption } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const messaging = new Messaging(client); + +const result = await messaging.createSMTPProvider({ + providerId: '', + name: '', + host: '', + port: 1, + username: '', + password: '', + encryption: SmtpEncryption.None, + autoTLS: false, + mailer: '', + fromName: '', + fromEmail: 'email@example.com', + replyToName: '', + replyToEmail: 'email@example.com', + enabled: false +}); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/messaging/update-a-p-n-s-provider.md b/docs/examples/1.8.x/console-web/examples/messaging/update-a-p-n-s-provider.md new file mode 100644 index 0000000000..4f80e9c9b4 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/messaging/update-a-p-n-s-provider.md @@ -0,0 +1,20 @@ +import { Client, Messaging } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const messaging = new Messaging(client); + +const result = await messaging.updateAPNSProvider({ + providerId: '', + name: '', + enabled: false, + authKey: '', + authKeyId: '', + teamId: '', + bundleId: '', + sandbox: false +}); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/messaging/update-f-c-m-provider.md b/docs/examples/1.8.x/console-web/examples/messaging/update-f-c-m-provider.md new file mode 100644 index 0000000000..8baa95d444 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/messaging/update-f-c-m-provider.md @@ -0,0 +1,16 @@ +import { Client, Messaging } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const messaging = new Messaging(client); + +const result = await messaging.updateFCMProvider({ + providerId: '', + name: '', + enabled: false, + serviceAccountJSON: {} +}); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/messaging/update-s-m-s.md b/docs/examples/1.8.x/console-web/examples/messaging/update-s-m-s.md new file mode 100644 index 0000000000..5737aa5394 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/messaging/update-s-m-s.md @@ -0,0 +1,19 @@ +import { Client, Messaging } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const messaging = new Messaging(client); + +const result = await messaging.updateSMS({ + messageId: '', + topics: [], + users: [], + targets: [], + content: '', + draft: false, + scheduledAt: '' +}); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/messaging/update-s-m-t-p-provider.md b/docs/examples/1.8.x/console-web/examples/messaging/update-s-m-t-p-provider.md new file mode 100644 index 0000000000..28e25c7e5d --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/messaging/update-s-m-t-p-provider.md @@ -0,0 +1,26 @@ +import { Client, Messaging, SmtpEncryption } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const messaging = new Messaging(client); + +const result = await messaging.updateSMTPProvider({ + providerId: '', + name: '', + host: '', + port: 1, + username: '', + password: '', + encryption: SmtpEncryption.None, + autoTLS: false, + mailer: '', + fromName: '', + fromEmail: 'email@example.com', + replyToName: '', + replyToEmail: '', + enabled: false +}); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/projects/create-s-m-t-p-test.md b/docs/examples/1.8.x/console-web/examples/projects/create-s-m-t-p-test.md new file mode 100644 index 0000000000..0ab5cab580 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/projects/create-s-m-t-p-test.md @@ -0,0 +1,22 @@ +import { Client, Projects, SMTPSecure } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const projects = new Projects(client); + +const result = await projects.createSMTPTest({ + projectId: '', + emails: [], + senderName: '', + senderEmail: 'email@example.com', + host: '', + replyTo: 'email@example.com', + port: null, + username: '', + password: '', + secure: SMTPSecure.Tls +}); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/projects/delete-s-m-s-template.md b/docs/examples/1.8.x/console-web/examples/projects/delete-s-m-s-template.md new file mode 100644 index 0000000000..f89ae275e3 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/projects/delete-s-m-s-template.md @@ -0,0 +1,15 @@ +import { Client, Projects, SmsTemplateType, SmsTemplateLocale } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const projects = new Projects(client); + +const result = await projects.deleteSMSTemplate({ + projectId: '', + type: SmsTemplateType.Verification, + locale: SmsTemplateLocale.Af +}); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/projects/get-s-m-s-template.md b/docs/examples/1.8.x/console-web/examples/projects/get-s-m-s-template.md new file mode 100644 index 0000000000..f48722c2a5 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/projects/get-s-m-s-template.md @@ -0,0 +1,15 @@ +import { Client, Projects, SmsTemplateType, SmsTemplateLocale } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const projects = new Projects(client); + +const result = await projects.getSMSTemplate({ + projectId: '', + type: SmsTemplateType.Verification, + locale: SmsTemplateLocale.Af +}); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/projects/update-a-p-i-status-all.md b/docs/examples/1.8.x/console-web/examples/projects/update-a-p-i-status-all.md new file mode 100644 index 0000000000..02e0595130 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/projects/update-a-p-i-status-all.md @@ -0,0 +1,14 @@ +import { Client, Projects } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const projects = new Projects(client); + +const result = await projects.updateAPIStatusAll({ + projectId: '', + status: false +}); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/projects/update-a-p-i-status.md b/docs/examples/1.8.x/console-web/examples/projects/update-a-p-i-status.md new file mode 100644 index 0000000000..7ec06fee58 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/projects/update-a-p-i-status.md @@ -0,0 +1,15 @@ +import { Client, Projects, } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const projects = new Projects(client); + +const result = await projects.updateAPIStatus({ + projectId: '', + api: .Rest, + status: false +}); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/projects/update-s-m-s-template.md b/docs/examples/1.8.x/console-web/examples/projects/update-s-m-s-template.md new file mode 100644 index 0000000000..ab332c52e2 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/projects/update-s-m-s-template.md @@ -0,0 +1,16 @@ +import { Client, Projects, SmsTemplateType, SmsTemplateLocale } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const projects = new Projects(client); + +const result = await projects.updateSMSTemplate({ + projectId: '', + type: SmsTemplateType.Verification, + locale: SmsTemplateLocale.Af, + message: '' +}); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/projects/update-s-m-t-p.md b/docs/examples/1.8.x/console-web/examples/projects/update-s-m-t-p.md new file mode 100644 index 0000000000..6537148e1c --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/projects/update-s-m-t-p.md @@ -0,0 +1,22 @@ +import { Client, Projects, SMTPSecure } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const projects = new Projects(client); + +const result = await projects.updateSMTP({ + projectId: '', + enabled: false, + senderName: '', + senderEmail: 'email@example.com', + replyTo: 'email@example.com', + host: '', + port: null, + username: '', + password: '', + secure: SMTPSecure.Tls +}); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/create-boolean-column.md b/docs/examples/1.8.x/console-web/examples/tablesdb/create-boolean-column.md index 77adb1d036..c5bcd930b3 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/create-boolean-column.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/create-boolean-column.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.createBooleanColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/create-datetime-column.md b/docs/examples/1.8.x/console-web/examples/tablesdb/create-datetime-column.md index 9e3d045d88..2a0491dc47 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/create-datetime-column.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/create-datetime-column.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.createDatetimeColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/create-email-column.md b/docs/examples/1.8.x/console-web/examples/tablesdb/create-email-column.md index d2f6755e05..a58db243a8 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/create-email-column.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/create-email-column.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.createEmailColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/create-enum-column.md b/docs/examples/1.8.x/console-web/examples/tablesdb/create-enum-column.md index bd952252e9..5e1965f0fd 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/create-enum-column.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/create-enum-column.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.createEnumColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/create-float-column.md b/docs/examples/1.8.x/console-web/examples/tablesdb/create-float-column.md index edd016c926..40a6b20541 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/create-float-column.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/create-float-column.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.createFloatColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/create-index.md b/docs/examples/1.8.x/console-web/examples/tablesdb/create-index.md index eb987abeb4..af69661727 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/create-index.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/create-index.md @@ -1,10 +1,10 @@ -import { Client, TablesDb, IndexType } from "@appwrite.io/console"; +import { Client, TablesDB, IndexType } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.createIndex({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/create-integer-column.md b/docs/examples/1.8.x/console-web/examples/tablesdb/create-integer-column.md index eb702e9ca3..220c6a4687 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/create-integer-column.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/create-integer-column.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.createIntegerColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/create-ip-column.md b/docs/examples/1.8.x/console-web/examples/tablesdb/create-ip-column.md index bfa128cbb1..4d66c17abc 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/create-ip-column.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/create-ip-column.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.createIpColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/create-relationship-column.md b/docs/examples/1.8.x/console-web/examples/tablesdb/create-relationship-column.md index 4ba126a3b6..627d0f8ea1 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/create-relationship-column.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/create-relationship-column.md @@ -1,10 +1,10 @@ -import { Client, TablesDb, RelationshipType, RelationMutate } from "@appwrite.io/console"; +import { Client, TablesDB, RelationshipType, RelationMutate } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.createRelationshipColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/create-row.md b/docs/examples/1.8.x/console-web/examples/tablesdb/create-row.md index 7f8828e0ba..14a3d66ddc 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/create-row.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/create-row.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.createRow({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/create-rows.md b/docs/examples/1.8.x/console-web/examples/tablesdb/create-rows.md index 2ca61c2fc5..b827beb048 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/create-rows.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/create-rows.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.createRows({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/create-string-column.md b/docs/examples/1.8.x/console-web/examples/tablesdb/create-string-column.md index 2dbc2b4c24..e68ab5d0bb 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/create-string-column.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/create-string-column.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.createStringColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/create-table.md b/docs/examples/1.8.x/console-web/examples/tablesdb/create-table.md index 954c2926b6..7bc389c62d 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/create-table.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/create-table.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.createTable({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/create-url-column.md b/docs/examples/1.8.x/console-web/examples/tablesdb/create-url-column.md index a8b2de2a78..140be6028b 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/create-url-column.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/create-url-column.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.createUrlColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/create.md b/docs/examples/1.8.x/console-web/examples/tablesdb/create.md index ee22cd918e..345531e9b1 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/create.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/create.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.create({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/decrement-row-column.md b/docs/examples/1.8.x/console-web/examples/tablesdb/decrement-row-column.md index 94f8b4bdc3..8e7855237f 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/decrement-row-column.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/decrement-row-column.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.decrementRowColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/delete-column.md b/docs/examples/1.8.x/console-web/examples/tablesdb/delete-column.md index d56ee69744..868cd6e277 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/delete-column.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/delete-column.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.deleteColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/delete-index.md b/docs/examples/1.8.x/console-web/examples/tablesdb/delete-index.md index c3ec6b0d76..451dcc8a94 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/delete-index.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/delete-index.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.deleteIndex({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/delete-row.md b/docs/examples/1.8.x/console-web/examples/tablesdb/delete-row.md index 7cd13422c3..9b7def4f00 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/delete-row.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/delete-row.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.deleteRow({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/delete-rows.md b/docs/examples/1.8.x/console-web/examples/tablesdb/delete-rows.md index 922a5667b5..4a7bad8b97 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/delete-rows.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/delete-rows.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.deleteRows({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/delete-table.md b/docs/examples/1.8.x/console-web/examples/tablesdb/delete-table.md index 4b00cd4206..e3d453291d 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/delete-table.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/delete-table.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.deleteTable({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/delete.md b/docs/examples/1.8.x/console-web/examples/tablesdb/delete.md index 10e37d4859..a567ad5035 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/delete.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/delete.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.delete({ databaseId: '' diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/get-column.md b/docs/examples/1.8.x/console-web/examples/tablesdb/get-column.md index f47f88ce16..45d5c20531 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/get-column.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/get-column.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.getColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/get-index.md b/docs/examples/1.8.x/console-web/examples/tablesdb/get-index.md index be69012616..576702638d 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/get-index.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/get-index.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.getIndex({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/get-row.md b/docs/examples/1.8.x/console-web/examples/tablesdb/get-row.md index cc2e7bf269..425783b70d 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/get-row.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/get-row.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.getRow({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/get-table-usage.md b/docs/examples/1.8.x/console-web/examples/tablesdb/get-table-usage.md index b2d781464d..73ae1d153a 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/get-table-usage.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/get-table-usage.md @@ -1,10 +1,10 @@ -import { Client, TablesDb, UsageRange } from "@appwrite.io/console"; +import { Client, TablesDB, UsageRange } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.getTableUsage({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/get-table.md b/docs/examples/1.8.x/console-web/examples/tablesdb/get-table.md index 2c3efa9f60..47ca8b7e04 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/get-table.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/get-table.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.getTable({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/get-usage.md b/docs/examples/1.8.x/console-web/examples/tablesdb/get-usage.md index 3323b1870c..6f0031d64a 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/get-usage.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/get-usage.md @@ -1,10 +1,10 @@ -import { Client, TablesDb, UsageRange } from "@appwrite.io/console"; +import { Client, TablesDB, UsageRange } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.getUsage({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/get.md b/docs/examples/1.8.x/console-web/examples/tablesdb/get.md index 1efef449d7..fc408caa56 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/get.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/get.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.get({ databaseId: '' diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/increment-row-column.md b/docs/examples/1.8.x/console-web/examples/tablesdb/increment-row-column.md index d6a8fcd9bf..878e6a92a9 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/increment-row-column.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/increment-row-column.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.incrementRowColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/list-columns.md b/docs/examples/1.8.x/console-web/examples/tablesdb/list-columns.md index 8109b06183..b23f133175 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/list-columns.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/list-columns.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.listColumns({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/list-indexes.md b/docs/examples/1.8.x/console-web/examples/tablesdb/list-indexes.md index db45cfeae9..bb5efdd28c 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/list-indexes.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/list-indexes.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.listIndexes({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/list-row-logs.md b/docs/examples/1.8.x/console-web/examples/tablesdb/list-row-logs.md index bcbde9ebf3..811ccfb529 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/list-row-logs.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/list-row-logs.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.listRowLogs({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/list-rows.md b/docs/examples/1.8.x/console-web/examples/tablesdb/list-rows.md index 71feb2b507..dc4086a82e 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/list-rows.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/list-rows.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.listRows({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/list-table-logs.md b/docs/examples/1.8.x/console-web/examples/tablesdb/list-table-logs.md index 48d6f526fd..a19c80f204 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/list-table-logs.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/list-table-logs.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.listTableLogs({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/list-tables.md b/docs/examples/1.8.x/console-web/examples/tablesdb/list-tables.md index 117afe54df..737cdb158d 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/list-tables.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/list-tables.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.listTables({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/list-usage.md b/docs/examples/1.8.x/console-web/examples/tablesdb/list-usage.md index 5563dea6e5..7d65c40bd4 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/list-usage.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/list-usage.md @@ -1,10 +1,10 @@ -import { Client, TablesDb, UsageRange } from "@appwrite.io/console"; +import { Client, TablesDB, UsageRange } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.listUsage({ range: UsageRange.TwentyFourHours diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/list.md b/docs/examples/1.8.x/console-web/examples/tablesdb/list.md index cd88e84d51..d23c32efd4 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/list.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/list.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.list({ queries: [], diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/update-boolean-column.md b/docs/examples/1.8.x/console-web/examples/tablesdb/update-boolean-column.md index 1b44b10871..b16a85314d 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/update-boolean-column.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/update-boolean-column.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.updateBooleanColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/update-datetime-column.md b/docs/examples/1.8.x/console-web/examples/tablesdb/update-datetime-column.md index c6ba97cabf..93541fd38d 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/update-datetime-column.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/update-datetime-column.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.updateDatetimeColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/update-email-column.md b/docs/examples/1.8.x/console-web/examples/tablesdb/update-email-column.md index b975de18ed..089d98b3d7 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/update-email-column.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/update-email-column.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.updateEmailColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/update-enum-column.md b/docs/examples/1.8.x/console-web/examples/tablesdb/update-enum-column.md index 0bd0edf878..df2f1d1b69 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/update-enum-column.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/update-enum-column.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.updateEnumColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/update-float-column.md b/docs/examples/1.8.x/console-web/examples/tablesdb/update-float-column.md index 87e52ba251..ab7b97ce3f 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/update-float-column.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/update-float-column.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.updateFloatColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/update-integer-column.md b/docs/examples/1.8.x/console-web/examples/tablesdb/update-integer-column.md index 0cade112bd..d9e0c25704 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/update-integer-column.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/update-integer-column.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.updateIntegerColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/update-ip-column.md b/docs/examples/1.8.x/console-web/examples/tablesdb/update-ip-column.md index bf4561bb4d..e0e1fbda1c 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/update-ip-column.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/update-ip-column.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.updateIpColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/update-relationship-column.md b/docs/examples/1.8.x/console-web/examples/tablesdb/update-relationship-column.md index 1a416484e3..1cd51a8db3 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/update-relationship-column.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/update-relationship-column.md @@ -1,10 +1,10 @@ -import { Client, TablesDb, RelationMutate } from "@appwrite.io/console"; +import { Client, TablesDB, RelationMutate } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.updateRelationshipColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/update-row.md b/docs/examples/1.8.x/console-web/examples/tablesdb/update-row.md index 541a5f5b07..6913f462d8 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/update-row.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/update-row.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.updateRow({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/update-rows.md b/docs/examples/1.8.x/console-web/examples/tablesdb/update-rows.md index 65066f144f..54de8b847f 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/update-rows.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/update-rows.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.updateRows({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/update-string-column.md b/docs/examples/1.8.x/console-web/examples/tablesdb/update-string-column.md index 8e77bc68ba..8250578059 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/update-string-column.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/update-string-column.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.updateStringColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/update-table.md b/docs/examples/1.8.x/console-web/examples/tablesdb/update-table.md index 8dfc46ee1b..a8c7300ec7 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/update-table.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/update-table.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.updateTable({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/update-url-column.md b/docs/examples/1.8.x/console-web/examples/tablesdb/update-url-column.md index 202de5e087..1e6084a0f9 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/update-url-column.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/update-url-column.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.updateUrlColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/update.md b/docs/examples/1.8.x/console-web/examples/tablesdb/update.md index 1ea4f1e7b4..d51e589b1a 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/update.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/update.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.update({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/upsert-row.md b/docs/examples/1.8.x/console-web/examples/tablesdb/upsert-row.md index 1d5585eebb..bee81260b7 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/upsert-row.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.upsertRow({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/tablesdb/upsert-rows.md b/docs/examples/1.8.x/console-web/examples/tablesdb/upsert-rows.md index 0c4d0a46a4..05e78e3efa 100644 --- a/docs/examples/1.8.x/console-web/examples/tablesdb/upsert-rows.md +++ b/docs/examples/1.8.x/console-web/examples/tablesdb/upsert-rows.md @@ -1,10 +1,10 @@ -import { Client, TablesDb } from "@appwrite.io/console"; +import { Client, TablesDB } from "@appwrite.io/console"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const result = await tablesDB.upsertRows({ databaseId: '', diff --git a/docs/examples/1.8.x/console-web/examples/users/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/console-web/examples/users/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..f8669589af --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/users/create-m-f-a-recovery-codes.md @@ -0,0 +1,13 @@ +import { Client, Users } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const users = new Users(client); + +const result = await users.createMFARecoveryCodes({ + userId: '' +}); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/users/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/console-web/examples/users/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..eeba75ad32 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/users/delete-m-f-a-authenticator.md @@ -0,0 +1,14 @@ +import { Client, Users, AuthenticatorType } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const users = new Users(client); + +const result = await users.deleteMFAAuthenticator({ + userId: '', + type: AuthenticatorType.Totp +}); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/users/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/console-web/examples/users/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..082a2f8485 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/users/get-m-f-a-recovery-codes.md @@ -0,0 +1,13 @@ +import { Client, Users } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const users = new Users(client); + +const result = await users.getMFARecoveryCodes({ + userId: '' +}); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/users/list-m-f-a-factors.md b/docs/examples/1.8.x/console-web/examples/users/list-m-f-a-factors.md new file mode 100644 index 0000000000..4301971574 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/users/list-m-f-a-factors.md @@ -0,0 +1,13 @@ +import { Client, Users } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const users = new Users(client); + +const result = await users.listMFAFactors({ + userId: '' +}); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/users/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/console-web/examples/users/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..f9eecac66d --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/users/update-m-f-a-recovery-codes.md @@ -0,0 +1,13 @@ +import { Client, Users } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const users = new Users(client); + +const result = await users.updateMFARecoveryCodes({ + userId: '' +}); + +console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/users/update-m-f-a.md b/docs/examples/1.8.x/console-web/examples/users/update-m-f-a.md new file mode 100644 index 0000000000..bbb33e8a42 --- /dev/null +++ b/docs/examples/1.8.x/console-web/examples/users/update-m-f-a.md @@ -0,0 +1,14 @@ +import { Client, Users } from "@appwrite.io/console"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const users = new Users(client); + +const result = await users.updateMFA({ + userId: '', + mfa: false +}); + +console.log(result); diff --git a/docs/examples/1.8.x/server-dart/examples/account/create-m-f-a-authenticator.md b/docs/examples/1.8.x/server-dart/examples/account/create-m-f-a-authenticator.md new file mode 100644 index 0000000000..4dd2191ff2 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/account/create-m-f-a-authenticator.md @@ -0,0 +1,12 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +Account account = Account(client); + +MfaType result = await account.createMFAAuthenticator( + type: AuthenticatorType.totp, +); diff --git a/docs/examples/1.8.x/server-dart/examples/account/create-m-f-a-challenge.md b/docs/examples/1.8.x/server-dart/examples/account/create-m-f-a-challenge.md new file mode 100644 index 0000000000..5df3abadad --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/account/create-m-f-a-challenge.md @@ -0,0 +1,11 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +Account account = Account(client); + +MfaChallenge result = await account.createMFAChallenge( + factor: AuthenticationFactor.email, +); diff --git a/docs/examples/1.8.x/server-dart/examples/account/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-dart/examples/account/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..1e8d478887 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/account/create-m-f-a-recovery-codes.md @@ -0,0 +1,10 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +Account account = Account(client); + +MfaRecoveryCodes result = await account.createMFARecoveryCodes(); diff --git a/docs/examples/1.8.x/server-dart/examples/account/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/server-dart/examples/account/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..7f3f4ab1c8 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/account/delete-m-f-a-authenticator.md @@ -0,0 +1,12 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +Account account = Account(client); + +await account.deleteMFAAuthenticator( + type: AuthenticatorType.totp, +); diff --git a/docs/examples/1.8.x/server-dart/examples/account/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-dart/examples/account/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..5ff858fdaf --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/account/get-m-f-a-recovery-codes.md @@ -0,0 +1,10 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +Account account = Account(client); + +MfaRecoveryCodes result = await account.getMFARecoveryCodes(); diff --git a/docs/examples/1.8.x/server-dart/examples/account/list-m-f-a-factors.md b/docs/examples/1.8.x/server-dart/examples/account/list-m-f-a-factors.md new file mode 100644 index 0000000000..083b51d6c3 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/account/list-m-f-a-factors.md @@ -0,0 +1,10 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +Account account = Account(client); + +MfaFactors result = await account.listMFAFactors(); diff --git a/docs/examples/1.8.x/server-dart/examples/account/update-m-f-a-authenticator.md b/docs/examples/1.8.x/server-dart/examples/account/update-m-f-a-authenticator.md new file mode 100644 index 0000000000..c475d30e19 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/account/update-m-f-a-authenticator.md @@ -0,0 +1,13 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +Account account = Account(client); + +User result = await account.updateMFAAuthenticator( + type: AuthenticatorType.totp, + otp: '', +); diff --git a/docs/examples/1.8.x/server-dart/examples/account/update-m-f-a-challenge.md b/docs/examples/1.8.x/server-dart/examples/account/update-m-f-a-challenge.md new file mode 100644 index 0000000000..6cf3bb473e --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/account/update-m-f-a-challenge.md @@ -0,0 +1,13 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +Account account = Account(client); + +Session result = await account.updateMFAChallenge( + challengeId: '', + otp: '', +); diff --git a/docs/examples/1.8.x/server-dart/examples/account/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-dart/examples/account/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..10fc77d2f2 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/account/update-m-f-a-recovery-codes.md @@ -0,0 +1,10 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +Account account = Account(client); + +MfaRecoveryCodes result = await account.updateMFARecoveryCodes(); diff --git a/docs/examples/1.8.x/server-dart/examples/messaging/create-a-p-n-s-provider.md b/docs/examples/1.8.x/server-dart/examples/messaging/create-a-p-n-s-provider.md new file mode 100644 index 0000000000..a4faf2dacf --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/messaging/create-a-p-n-s-provider.md @@ -0,0 +1,19 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Messaging messaging = Messaging(client); + +Provider result = await messaging.createAPNSProvider( + providerId: '', + name: '', + authKey: '', // (optional) + authKeyId: '', // (optional) + teamId: '', // (optional) + bundleId: '', // (optional) + sandbox: false, // (optional) + enabled: false, // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/messaging/create-f-c-m-provider.md b/docs/examples/1.8.x/server-dart/examples/messaging/create-f-c-m-provider.md new file mode 100644 index 0000000000..ce4f810d5d --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/messaging/create-f-c-m-provider.md @@ -0,0 +1,15 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Messaging messaging = Messaging(client); + +Provider result = await messaging.createFCMProvider( + providerId: '', + name: '', + serviceAccountJSON: {}, // (optional) + enabled: false, // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/messaging/create-s-m-s.md b/docs/examples/1.8.x/server-dart/examples/messaging/create-s-m-s.md new file mode 100644 index 0000000000..ca90bc6011 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/messaging/create-s-m-s.md @@ -0,0 +1,18 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Messaging messaging = Messaging(client); + +Message result = await messaging.createSMS( + messageId: '', + content: '', + topics: [], // (optional) + users: [], // (optional) + targets: [], // (optional) + draft: false, // (optional) + scheduledAt: '', // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/messaging/create-s-m-t-p-provider.md b/docs/examples/1.8.x/server-dart/examples/messaging/create-s-m-t-p-provider.md new file mode 100644 index 0000000000..644d30faa7 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/messaging/create-s-m-t-p-provider.md @@ -0,0 +1,25 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Messaging messaging = Messaging(client); + +Provider result = await messaging.createSMTPProvider( + providerId: '', + name: '', + host: '', + port: 1, // (optional) + username: '', // (optional) + password: '', // (optional) + encryption: SmtpEncryption.none, // (optional) + autoTLS: false, // (optional) + mailer: '', // (optional) + fromName: '', // (optional) + fromEmail: 'email@example.com', // (optional) + replyToName: '', // (optional) + replyToEmail: 'email@example.com', // (optional) + enabled: false, // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/messaging/update-a-p-n-s-provider.md b/docs/examples/1.8.x/server-dart/examples/messaging/update-a-p-n-s-provider.md new file mode 100644 index 0000000000..7f3bc8340e --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/messaging/update-a-p-n-s-provider.md @@ -0,0 +1,19 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Messaging messaging = Messaging(client); + +Provider result = await messaging.updateAPNSProvider( + providerId: '', + name: '', // (optional) + enabled: false, // (optional) + authKey: '', // (optional) + authKeyId: '', // (optional) + teamId: '', // (optional) + bundleId: '', // (optional) + sandbox: false, // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/messaging/update-f-c-m-provider.md b/docs/examples/1.8.x/server-dart/examples/messaging/update-f-c-m-provider.md new file mode 100644 index 0000000000..65afba1fe2 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/messaging/update-f-c-m-provider.md @@ -0,0 +1,15 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Messaging messaging = Messaging(client); + +Provider result = await messaging.updateFCMProvider( + providerId: '', + name: '', // (optional) + enabled: false, // (optional) + serviceAccountJSON: {}, // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/messaging/update-s-m-s.md b/docs/examples/1.8.x/server-dart/examples/messaging/update-s-m-s.md new file mode 100644 index 0000000000..26e6649b57 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/messaging/update-s-m-s.md @@ -0,0 +1,18 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Messaging messaging = Messaging(client); + +Message result = await messaging.updateSMS( + messageId: '', + topics: [], // (optional) + users: [], // (optional) + targets: [], // (optional) + content: '', // (optional) + draft: false, // (optional) + scheduledAt: '', // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/messaging/update-s-m-t-p-provider.md b/docs/examples/1.8.x/server-dart/examples/messaging/update-s-m-t-p-provider.md new file mode 100644 index 0000000000..911fa14485 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/messaging/update-s-m-t-p-provider.md @@ -0,0 +1,25 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Messaging messaging = Messaging(client); + +Provider result = await messaging.updateSMTPProvider( + providerId: '', + name: '', // (optional) + host: '', // (optional) + port: 1, // (optional) + username: '', // (optional) + password: '', // (optional) + encryption: SmtpEncryption.none, // (optional) + autoTLS: false, // (optional) + mailer: '', // (optional) + fromName: '', // (optional) + fromEmail: 'email@example.com', // (optional) + replyToName: '', // (optional) + replyToEmail: '', // (optional) + enabled: false, // (optional) +); diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/create-boolean-column.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/create-boolean-column.md index c5cf470db9..aa7b7c592d 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/create-boolean-column.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/create-boolean-column.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); ColumnBoolean result = await tablesDB.createBooleanColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/create-datetime-column.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/create-datetime-column.md index d905fd7b45..10284ddf9a 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/create-datetime-column.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/create-datetime-column.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); ColumnDatetime result = await tablesDB.createDatetimeColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/create-email-column.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/create-email-column.md index e0ab5cc3df..ec36530e82 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/create-email-column.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/create-email-column.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); ColumnEmail result = await tablesDB.createEmailColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/create-enum-column.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/create-enum-column.md index fd8f2b0186..594376d72f 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/create-enum-column.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/create-enum-column.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); ColumnEnum result = await tablesDB.createEnumColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/create-float-column.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/create-float-column.md index d1a2fc3e8b..0b97073709 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/create-float-column.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/create-float-column.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); ColumnFloat result = await tablesDB.createFloatColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/create-index.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/create-index.md index 77e8066c66..64fea75726 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/create-index.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/create-index.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); ColumnIndex result = await tablesDB.createIndex( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/create-integer-column.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/create-integer-column.md index eca497aa93..d90dca56b7 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/create-integer-column.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/create-integer-column.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); ColumnInteger result = await tablesDB.createIntegerColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/create-ip-column.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/create-ip-column.md index 3969ef33e3..322776e64a 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/create-ip-column.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/create-ip-column.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); ColumnIp result = await tablesDB.createIpColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/create-relationship-column.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/create-relationship-column.md index 0f095afba3..3b2ea3d141 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/create-relationship-column.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/create-relationship-column.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); ColumnRelationship result = await tablesDB.createRelationshipColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/create-row.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/create-row.md index 8fc0b0b269..15e4f8ea8d 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/create-row.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/create-row.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setSession(''); // The user session to authenticate with -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); Row result = await tablesDB.createRow( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/create-rows.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/create-rows.md index 49e3dfff83..c22fdba506 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/create-rows.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/create-rows.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); RowList result = await tablesDB.createRows( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/create-string-column.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/create-string-column.md index 0123563ff2..6fd0e93a93 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/create-string-column.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/create-string-column.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); ColumnString result = await tablesDB.createStringColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/create-table.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/create-table.md index 39e68f6691..c055e93fec 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/create-table.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/create-table.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); Table result = await tablesDB.createTable( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/create-url-column.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/create-url-column.md index aa07ef6ce8..05c8da80f8 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/create-url-column.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/create-url-column.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); ColumnUrl result = await tablesDB.createUrlColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/create.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/create.md index e727009871..6991b910eb 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/create.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/create.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); Database result = await tablesDB.create( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/decrement-row-column.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/decrement-row-column.md index b2fe718f8c..8c376563d8 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/decrement-row-column.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/decrement-row-column.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setSession(''); // The user session to authenticate with -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); Row result = await tablesDB.decrementRowColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/delete-column.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/delete-column.md index 26ba26b9f0..ebee29e4c7 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/delete-column.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/delete-column.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); await tablesDB.deleteColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/delete-index.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/delete-index.md index b3693baf2c..2b73e25f0a 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/delete-index.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/delete-index.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); await tablesDB.deleteIndex( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/delete-row.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/delete-row.md index 54dd26d47e..f3966c0930 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/delete-row.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/delete-row.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setSession(''); // The user session to authenticate with -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); await tablesDB.deleteRow( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/delete-rows.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/delete-rows.md index f6e07bf537..eb2aebb3e6 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/delete-rows.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/delete-rows.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); await tablesDB.deleteRows( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/delete-table.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/delete-table.md index 1e3fed2409..d425cec160 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/delete-table.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/delete-table.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); await tablesDB.deleteTable( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/delete.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/delete.md index 62fdd7f702..565f4ef6c9 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/delete.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/delete.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); await tablesDB.delete( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/get-column.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/get-column.md index 47751ebbc0..437d72e621 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/get-column.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/get-column.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); result = await tablesDB.getColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/get-index.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/get-index.md index 6ac144a994..ef5f9a0ed6 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/get-index.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/get-index.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); ColumnIndex result = await tablesDB.getIndex( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/get-row.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/get-row.md index 28e5661781..0af17b612a 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/get-row.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/get-row.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setSession(''); // The user session to authenticate with -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); Row result = await tablesDB.getRow( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/get-table.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/get-table.md index 6bf94a6b31..c230f6a1df 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/get-table.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/get-table.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); Table result = await tablesDB.getTable( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/get.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/get.md index 2ba416d00c..d147fb1c3f 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/get.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/get.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); Database result = await tablesDB.get( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/increment-row-column.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/increment-row-column.md index 4bc376b4aa..bbe262e5c9 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/increment-row-column.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/increment-row-column.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setSession(''); // The user session to authenticate with -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); Row result = await tablesDB.incrementRowColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/list-columns.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/list-columns.md index de0f3e28a1..2665c0db2e 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/list-columns.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/list-columns.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); ColumnList result = await tablesDB.listColumns( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/list-indexes.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/list-indexes.md index 7ebc371d48..5028923db7 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/list-indexes.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/list-indexes.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); ColumnIndexList result = await tablesDB.listIndexes( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/list-rows.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/list-rows.md index 874cd8c7bc..83bbe38fca 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/list-rows.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/list-rows.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setSession(''); // The user session to authenticate with -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); RowList result = await tablesDB.listRows( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/list-tables.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/list-tables.md index 12e301b33f..ede3f5cd53 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/list-tables.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/list-tables.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); TableList result = await tablesDB.listTables( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/list.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/list.md index 80cb5623dd..e13187de67 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/list.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/list.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); DatabaseList result = await tablesDB.list( queries: [], // (optional) diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/update-boolean-column.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/update-boolean-column.md index 85353b1893..1e6c604a64 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/update-boolean-column.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/update-boolean-column.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); ColumnBoolean result = await tablesDB.updateBooleanColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/update-datetime-column.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/update-datetime-column.md index 99fbbbb3be..982d8d55f9 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/update-datetime-column.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/update-datetime-column.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); ColumnDatetime result = await tablesDB.updateDatetimeColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/update-email-column.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/update-email-column.md index 70690d898b..e2f075191c 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/update-email-column.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/update-email-column.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); ColumnEmail result = await tablesDB.updateEmailColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/update-enum-column.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/update-enum-column.md index 3c8e4f0652..b0ddd485bb 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/update-enum-column.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/update-enum-column.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); ColumnEnum result = await tablesDB.updateEnumColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/update-float-column.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/update-float-column.md index f07f8bc896..7239b48882 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/update-float-column.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/update-float-column.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); ColumnFloat result = await tablesDB.updateFloatColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/update-integer-column.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/update-integer-column.md index 6119d82c37..bb98ad27e7 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/update-integer-column.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/update-integer-column.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); ColumnInteger result = await tablesDB.updateIntegerColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/update-ip-column.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/update-ip-column.md index a62f1d6553..21c5f1bcd8 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/update-ip-column.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/update-ip-column.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); ColumnIp result = await tablesDB.updateIpColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/update-relationship-column.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/update-relationship-column.md index e23fb77aeb..95e09d38b2 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/update-relationship-column.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/update-relationship-column.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); ColumnRelationship result = await tablesDB.updateRelationshipColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/update-row.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/update-row.md index 63c0a26e35..d66c24f505 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/update-row.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/update-row.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setSession(''); // The user session to authenticate with -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); Row result = await tablesDB.updateRow( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/update-rows.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/update-rows.md index a12d63f3ab..a0973b47d1 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/update-rows.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/update-rows.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); RowList result = await tablesDB.updateRows( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/update-string-column.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/update-string-column.md index 01559318e8..bd390dfd4d 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/update-string-column.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/update-string-column.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); ColumnString result = await tablesDB.updateStringColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/update-table.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/update-table.md index 080370ce11..fd6646a01b 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/update-table.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/update-table.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); Table result = await tablesDB.updateTable( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/update-url-column.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/update-url-column.md index 1f2da1671c..fcfdfcd1d9 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/update-url-column.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/update-url-column.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); ColumnUrl result = await tablesDB.updateUrlColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/update.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/update.md index 3bf2d15c5b..81d3379911 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/update.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/update.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); Database result = await tablesDB.update( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/upsert-row.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/upsert-row.md index 7470ed55f7..fbe4d2928a 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/upsert-row.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setSession(''); // The user session to authenticate with -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); Row result = await tablesDB.upsertRow( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/tablesdb/upsert-rows.md b/docs/examples/1.8.x/server-dart/examples/tablesdb/upsert-rows.md index 1d0273b187..031aa50bea 100644 --- a/docs/examples/1.8.x/server-dart/examples/tablesdb/upsert-rows.md +++ b/docs/examples/1.8.x/server-dart/examples/tablesdb/upsert-rows.md @@ -5,7 +5,7 @@ Client client = Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -TablesDb tablesDB = TablesDb(client); +TablesDB tablesDB = TablesDB(client); RowList result = await tablesDB.upsertRows( databaseId: '', diff --git a/docs/examples/1.8.x/server-dart/examples/users/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-dart/examples/users/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..12a7e32f5a --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/users/create-m-f-a-recovery-codes.md @@ -0,0 +1,12 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Users users = Users(client); + +MfaRecoveryCodes result = await users.createMFARecoveryCodes( + userId: '', +); diff --git a/docs/examples/1.8.x/server-dart/examples/users/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/server-dart/examples/users/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..b5dcc6af55 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/users/delete-m-f-a-authenticator.md @@ -0,0 +1,13 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Users users = Users(client); + +await users.deleteMFAAuthenticator( + userId: '', + type: AuthenticatorType.totp, +); diff --git a/docs/examples/1.8.x/server-dart/examples/users/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-dart/examples/users/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..e16158bfda --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/users/get-m-f-a-recovery-codes.md @@ -0,0 +1,12 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Users users = Users(client); + +MfaRecoveryCodes result = await users.getMFARecoveryCodes( + userId: '', +); diff --git a/docs/examples/1.8.x/server-dart/examples/users/list-m-f-a-factors.md b/docs/examples/1.8.x/server-dart/examples/users/list-m-f-a-factors.md new file mode 100644 index 0000000000..290109d2ae --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/users/list-m-f-a-factors.md @@ -0,0 +1,12 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Users users = Users(client); + +MfaFactors result = await users.listMFAFactors( + userId: '', +); diff --git a/docs/examples/1.8.x/server-dart/examples/users/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-dart/examples/users/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..a2340ff8c1 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/users/update-m-f-a-recovery-codes.md @@ -0,0 +1,12 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Users users = Users(client); + +MfaRecoveryCodes result = await users.updateMFARecoveryCodes( + userId: '', +); diff --git a/docs/examples/1.8.x/server-dart/examples/users/update-m-f-a.md b/docs/examples/1.8.x/server-dart/examples/users/update-m-f-a.md new file mode 100644 index 0000000000..7d3b71d9c4 --- /dev/null +++ b/docs/examples/1.8.x/server-dart/examples/users/update-m-f-a.md @@ -0,0 +1,13 @@ +import 'package:dart_appwrite/dart_appwrite.dart'; + +Client client = Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +Users users = Users(client); + +User result = await users.updateMFA( + userId: '', + mfa: false, +); diff --git a/docs/examples/1.8.x/server-deno/examples/account/create-m-f-a-authenticator.md b/docs/examples/1.8.x/server-deno/examples/account/create-m-f-a-authenticator.md new file mode 100644 index 0000000000..0e496e0042 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/account/create-m-f-a-authenticator.md @@ -0,0 +1,12 @@ +import { Client, Account, AuthenticatorType } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +const account = new Account(client); + +const response = await account.createMFAAuthenticator({ + type: AuthenticatorType.Totp +}); diff --git a/docs/examples/1.8.x/server-deno/examples/account/create-m-f-a-challenge.md b/docs/examples/1.8.x/server-deno/examples/account/create-m-f-a-challenge.md new file mode 100644 index 0000000000..a36e286960 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/account/create-m-f-a-challenge.md @@ -0,0 +1,11 @@ +import { Client, Account, AuthenticationFactor } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const account = new Account(client); + +const response = await account.createMFAChallenge({ + factor: AuthenticationFactor.Email +}); diff --git a/docs/examples/1.8.x/server-deno/examples/account/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-deno/examples/account/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..5a8f6a3683 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/account/create-m-f-a-recovery-codes.md @@ -0,0 +1,10 @@ +import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +const account = new Account(client); + +const response = await account.createMFARecoveryCodes(); diff --git a/docs/examples/1.8.x/server-deno/examples/account/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/server-deno/examples/account/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..777347de98 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/account/delete-m-f-a-authenticator.md @@ -0,0 +1,12 @@ +import { Client, Account, AuthenticatorType } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +const account = new Account(client); + +const response = await account.deleteMFAAuthenticator({ + type: AuthenticatorType.Totp +}); diff --git a/docs/examples/1.8.x/server-deno/examples/account/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-deno/examples/account/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..6f631ac783 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/account/get-m-f-a-recovery-codes.md @@ -0,0 +1,10 @@ +import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +const account = new Account(client); + +const response = await account.getMFARecoveryCodes(); diff --git a/docs/examples/1.8.x/server-deno/examples/account/list-m-f-a-factors.md b/docs/examples/1.8.x/server-deno/examples/account/list-m-f-a-factors.md new file mode 100644 index 0000000000..0eb3d5db71 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/account/list-m-f-a-factors.md @@ -0,0 +1,10 @@ +import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +const account = new Account(client); + +const response = await account.listMFAFactors(); diff --git a/docs/examples/1.8.x/server-deno/examples/account/update-m-f-a-authenticator.md b/docs/examples/1.8.x/server-deno/examples/account/update-m-f-a-authenticator.md new file mode 100644 index 0000000000..1049f6a200 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/account/update-m-f-a-authenticator.md @@ -0,0 +1,13 @@ +import { Client, Account, AuthenticatorType } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +const account = new Account(client); + +const response = await account.updateMFAAuthenticator({ + type: AuthenticatorType.Totp, + otp: '' +}); diff --git a/docs/examples/1.8.x/server-deno/examples/account/update-m-f-a-challenge.md b/docs/examples/1.8.x/server-deno/examples/account/update-m-f-a-challenge.md new file mode 100644 index 0000000000..9ee0825c47 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/account/update-m-f-a-challenge.md @@ -0,0 +1,13 @@ +import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +const account = new Account(client); + +const response = await account.updateMFAChallenge({ + challengeId: '', + otp: '' +}); diff --git a/docs/examples/1.8.x/server-deno/examples/account/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-deno/examples/account/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..eae8560014 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/account/update-m-f-a-recovery-codes.md @@ -0,0 +1,10 @@ +import { Client, Account } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +const account = new Account(client); + +const response = await account.updateMFARecoveryCodes(); diff --git a/docs/examples/1.8.x/server-deno/examples/messaging/create-a-p-n-s-provider.md b/docs/examples/1.8.x/server-deno/examples/messaging/create-a-p-n-s-provider.md new file mode 100644 index 0000000000..b117888289 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/messaging/create-a-p-n-s-provider.md @@ -0,0 +1,19 @@ +import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const messaging = new Messaging(client); + +const response = await messaging.createAPNSProvider({ + providerId: '', + name: '', + authKey: '', + authKeyId: '', + teamId: '', + bundleId: '', + sandbox: false, + enabled: false +}); diff --git a/docs/examples/1.8.x/server-deno/examples/messaging/create-f-c-m-provider.md b/docs/examples/1.8.x/server-deno/examples/messaging/create-f-c-m-provider.md new file mode 100644 index 0000000000..5831f798e4 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/messaging/create-f-c-m-provider.md @@ -0,0 +1,15 @@ +import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const messaging = new Messaging(client); + +const response = await messaging.createFCMProvider({ + providerId: '', + name: '', + serviceAccountJSON: {}, + enabled: false +}); diff --git a/docs/examples/1.8.x/server-deno/examples/messaging/create-s-m-s.md b/docs/examples/1.8.x/server-deno/examples/messaging/create-s-m-s.md new file mode 100644 index 0000000000..8f4fefcab2 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/messaging/create-s-m-s.md @@ -0,0 +1,18 @@ +import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const messaging = new Messaging(client); + +const response = await messaging.createSMS({ + messageId: '', + content: '', + topics: [], + users: [], + targets: [], + draft: false, + scheduledAt: '' +}); diff --git a/docs/examples/1.8.x/server-deno/examples/messaging/create-s-m-t-p-provider.md b/docs/examples/1.8.x/server-deno/examples/messaging/create-s-m-t-p-provider.md new file mode 100644 index 0000000000..0a85e7c4c0 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/messaging/create-s-m-t-p-provider.md @@ -0,0 +1,25 @@ +import { Client, Messaging, SmtpEncryption } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const messaging = new Messaging(client); + +const response = await messaging.createSMTPProvider({ + providerId: '', + name: '', + host: '', + port: 1, + username: '', + password: '', + encryption: SmtpEncryption.None, + autoTLS: false, + mailer: '', + fromName: '', + fromEmail: 'email@example.com', + replyToName: '', + replyToEmail: 'email@example.com', + enabled: false +}); diff --git a/docs/examples/1.8.x/server-deno/examples/messaging/update-a-p-n-s-provider.md b/docs/examples/1.8.x/server-deno/examples/messaging/update-a-p-n-s-provider.md new file mode 100644 index 0000000000..a7b4236874 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/messaging/update-a-p-n-s-provider.md @@ -0,0 +1,19 @@ +import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const messaging = new Messaging(client); + +const response = await messaging.updateAPNSProvider({ + providerId: '', + name: '', + enabled: false, + authKey: '', + authKeyId: '', + teamId: '', + bundleId: '', + sandbox: false +}); diff --git a/docs/examples/1.8.x/server-deno/examples/messaging/update-f-c-m-provider.md b/docs/examples/1.8.x/server-deno/examples/messaging/update-f-c-m-provider.md new file mode 100644 index 0000000000..dafc6ce6e3 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/messaging/update-f-c-m-provider.md @@ -0,0 +1,15 @@ +import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const messaging = new Messaging(client); + +const response = await messaging.updateFCMProvider({ + providerId: '', + name: '', + enabled: false, + serviceAccountJSON: {} +}); diff --git a/docs/examples/1.8.x/server-deno/examples/messaging/update-s-m-s.md b/docs/examples/1.8.x/server-deno/examples/messaging/update-s-m-s.md new file mode 100644 index 0000000000..d2a3be05f3 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/messaging/update-s-m-s.md @@ -0,0 +1,18 @@ +import { Client, Messaging } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const messaging = new Messaging(client); + +const response = await messaging.updateSMS({ + messageId: '', + topics: [], + users: [], + targets: [], + content: '', + draft: false, + scheduledAt: '' +}); diff --git a/docs/examples/1.8.x/server-deno/examples/messaging/update-s-m-t-p-provider.md b/docs/examples/1.8.x/server-deno/examples/messaging/update-s-m-t-p-provider.md new file mode 100644 index 0000000000..ea192a778f --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/messaging/update-s-m-t-p-provider.md @@ -0,0 +1,25 @@ +import { Client, Messaging, SmtpEncryption } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const messaging = new Messaging(client); + +const response = await messaging.updateSMTPProvider({ + providerId: '', + name: '', + host: '', + port: 1, + username: '', + password: '', + encryption: SmtpEncryption.None, + autoTLS: false, + mailer: '', + fromName: '', + fromEmail: 'email@example.com', + replyToName: '', + replyToEmail: '', + enabled: false +}); diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/create-boolean-column.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/create-boolean-column.md index e387644a3b..336d7c00cc 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/create-boolean-column.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/create-boolean-column.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.createBooleanColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/create-datetime-column.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/create-datetime-column.md index beadae5380..8aaacadc52 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/create-datetime-column.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/create-datetime-column.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.createDatetimeColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/create-email-column.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/create-email-column.md index fdd828a3f8..bc94776a0f 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/create-email-column.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/create-email-column.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.createEmailColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/create-enum-column.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/create-enum-column.md index 6f387e61cb..aa14faee14 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/create-enum-column.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/create-enum-column.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.createEnumColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/create-float-column.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/create-float-column.md index e76fe8a0d6..0ac4222b2a 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/create-float-column.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/create-float-column.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.createFloatColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/create-index.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/create-index.md index 59ad847981..87deb2868f 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/create-index.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/create-index.md @@ -1,11 +1,11 @@ -import { Client, TablesDb, IndexType } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB, IndexType } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.createIndex({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/create-integer-column.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/create-integer-column.md index da917585fb..39de99a889 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/create-integer-column.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/create-integer-column.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.createIntegerColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/create-ip-column.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/create-ip-column.md index d60fb51c9e..c2e66bb434 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/create-ip-column.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/create-ip-column.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.createIpColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/create-relationship-column.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/create-relationship-column.md index bee1546c6b..ddd2bae6d2 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/create-relationship-column.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/create-relationship-column.md @@ -1,11 +1,11 @@ -import { Client, TablesDb, RelationshipType, RelationMutate } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB, RelationshipType, RelationMutate } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.createRelationshipColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/create-row.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/create-row.md index 7caf1de840..96b745692e 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/create-row.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/create-row.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setSession(''); // The user session to authenticate with -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.createRow({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/create-rows.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/create-rows.md index a61610268a..a3fafcfe94 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/create-rows.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/create-rows.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.createRows({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/create-string-column.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/create-string-column.md index b746a4a389..7656947d60 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/create-string-column.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/create-string-column.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.createStringColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/create-table.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/create-table.md index bcf47d5e98..a54a02cbd9 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/create-table.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/create-table.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.createTable({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/create-url-column.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/create-url-column.md index f0fca4d6da..124b978254 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/create-url-column.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/create-url-column.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.createUrlColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/create.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/create.md index 03d72c5d99..5c8f500cf7 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/create.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/create.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.create({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/decrement-row-column.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/decrement-row-column.md index 0084d8070b..375e324192 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/decrement-row-column.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/decrement-row-column.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setSession(''); // The user session to authenticate with -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.decrementRowColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/delete-column.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/delete-column.md index d327ea7983..63b567aacf 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/delete-column.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/delete-column.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.deleteColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/delete-index.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/delete-index.md index a80fa6084f..15a98fbe0f 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/delete-index.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/delete-index.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.deleteIndex({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/delete-row.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/delete-row.md index 55639a4782..2f63a91387 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/delete-row.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/delete-row.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setSession(''); // The user session to authenticate with -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.deleteRow({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/delete-rows.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/delete-rows.md index 8681dcc542..bffbf0ebfe 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/delete-rows.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/delete-rows.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.deleteRows({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/delete-table.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/delete-table.md index 0a20657346..3f36527998 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/delete-table.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/delete-table.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.deleteTable({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/delete.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/delete.md index 90dcc26f78..12249aba90 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/delete.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/delete.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.delete({ databaseId: '' diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/get-column.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/get-column.md index 25b591c3d3..16bb38a760 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/get-column.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/get-column.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.getColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/get-index.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/get-index.md index 5d7679fb44..47e7a61251 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/get-index.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/get-index.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.getIndex({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/get-row.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/get-row.md index b59cf5a419..a30bb2ae21 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/get-row.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/get-row.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setSession(''); // The user session to authenticate with -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.getRow({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/get-table.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/get-table.md index c0e0cd6b06..6a46bbde35 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/get-table.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/get-table.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.getTable({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/get.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/get.md index 24044880e7..4304258d6c 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/get.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/get.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.get({ databaseId: '' diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/increment-row-column.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/increment-row-column.md index a67416457e..140202737f 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/increment-row-column.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/increment-row-column.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setSession(''); // The user session to authenticate with -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.incrementRowColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/list-columns.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/list-columns.md index 6b04a95488..92e8ce87a2 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/list-columns.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/list-columns.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.listColumns({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/list-indexes.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/list-indexes.md index 4759fb7af7..d937e4c6e8 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/list-indexes.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/list-indexes.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.listIndexes({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/list-rows.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/list-rows.md index c614050e53..293fdbd964 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/list-rows.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/list-rows.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setSession(''); // The user session to authenticate with -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.listRows({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/list-tables.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/list-tables.md index 7d1605577e..30fe1c311a 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/list-tables.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/list-tables.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.listTables({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/list.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/list.md index 957fffca70..937e2021b2 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/list.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/list.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.list({ queries: [], diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/update-boolean-column.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/update-boolean-column.md index a4c2ff02bb..594903604d 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/update-boolean-column.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/update-boolean-column.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.updateBooleanColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/update-datetime-column.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/update-datetime-column.md index ae2316ee3c..f4df6bbe3d 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/update-datetime-column.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/update-datetime-column.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.updateDatetimeColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/update-email-column.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/update-email-column.md index 6d482ebdb8..ad1f9fc4c7 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/update-email-column.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/update-email-column.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.updateEmailColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/update-enum-column.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/update-enum-column.md index 7485d6d175..3b887f9155 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/update-enum-column.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/update-enum-column.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.updateEnumColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/update-float-column.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/update-float-column.md index ba32233413..443312745d 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/update-float-column.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/update-float-column.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.updateFloatColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/update-integer-column.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/update-integer-column.md index dd5ffe58a7..115897359b 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/update-integer-column.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/update-integer-column.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.updateIntegerColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/update-ip-column.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/update-ip-column.md index bb2b1e1d9d..f2f405aa63 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/update-ip-column.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/update-ip-column.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.updateIpColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/update-relationship-column.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/update-relationship-column.md index 36f387796f..97b86d76f5 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/update-relationship-column.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/update-relationship-column.md @@ -1,11 +1,11 @@ -import { Client, TablesDb, RelationMutate } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB, RelationMutate } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.updateRelationshipColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/update-row.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/update-row.md index 0449e63631..87e8be8e59 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/update-row.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/update-row.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setSession(''); // The user session to authenticate with -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.updateRow({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/update-rows.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/update-rows.md index 2b25e12064..852b7dbfff 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/update-rows.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/update-rows.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.updateRows({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/update-string-column.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/update-string-column.md index 716c6d4769..dab18a261b 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/update-string-column.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/update-string-column.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.updateStringColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/update-table.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/update-table.md index 4dc1178449..6a36b09e8f 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/update-table.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/update-table.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.updateTable({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/update-url-column.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/update-url-column.md index 0506553dc6..3ae1f04704 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/update-url-column.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/update-url-column.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.updateUrlColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/update.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/update.md index 569cd94848..59d58fb2b9 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/update.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/update.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.update({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/upsert-row.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/upsert-row.md index 5e9874ba0d..ec69e835fa 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/upsert-row.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setSession(''); // The user session to authenticate with -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.upsertRow({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/tablesdb/upsert-rows.md b/docs/examples/1.8.x/server-deno/examples/tablesdb/upsert-rows.md index b502f37e33..a5fa731fdc 100644 --- a/docs/examples/1.8.x/server-deno/examples/tablesdb/upsert-rows.md +++ b/docs/examples/1.8.x/server-deno/examples/tablesdb/upsert-rows.md @@ -1,11 +1,11 @@ -import { Client, TablesDb } from "https://deno.land/x/appwrite/mod.ts"; +import { Client, TablesDB } from "https://deno.land/x/appwrite/mod.ts"; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new TablesDb(client); +const tablesDB = new TablesDB(client); const response = await tablesDB.upsertRows({ databaseId: '', diff --git a/docs/examples/1.8.x/server-deno/examples/users/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-deno/examples/users/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..fe8a4af08e --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/users/create-m-f-a-recovery-codes.md @@ -0,0 +1,12 @@ +import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const users = new Users(client); + +const response = await users.createMFARecoveryCodes({ + userId: '' +}); diff --git a/docs/examples/1.8.x/server-deno/examples/users/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/server-deno/examples/users/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..5097cffdd7 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/users/delete-m-f-a-authenticator.md @@ -0,0 +1,13 @@ +import { Client, Users, AuthenticatorType } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const users = new Users(client); + +const response = await users.deleteMFAAuthenticator({ + userId: '', + type: AuthenticatorType.Totp +}); diff --git a/docs/examples/1.8.x/server-deno/examples/users/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-deno/examples/users/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..c2e4752a71 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/users/get-m-f-a-recovery-codes.md @@ -0,0 +1,12 @@ +import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const users = new Users(client); + +const response = await users.getMFARecoveryCodes({ + userId: '' +}); diff --git a/docs/examples/1.8.x/server-deno/examples/users/list-m-f-a-factors.md b/docs/examples/1.8.x/server-deno/examples/users/list-m-f-a-factors.md new file mode 100644 index 0000000000..c4130118ba --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/users/list-m-f-a-factors.md @@ -0,0 +1,12 @@ +import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const users = new Users(client); + +const response = await users.listMFAFactors({ + userId: '' +}); diff --git a/docs/examples/1.8.x/server-deno/examples/users/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-deno/examples/users/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..ce1b875b03 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/users/update-m-f-a-recovery-codes.md @@ -0,0 +1,12 @@ +import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const users = new Users(client); + +const response = await users.updateMFARecoveryCodes({ + userId: '' +}); diff --git a/docs/examples/1.8.x/server-deno/examples/users/update-m-f-a.md b/docs/examples/1.8.x/server-deno/examples/users/update-m-f-a.md new file mode 100644 index 0000000000..235357f818 --- /dev/null +++ b/docs/examples/1.8.x/server-deno/examples/users/update-m-f-a.md @@ -0,0 +1,13 @@ +import { Client, Users } from "https://deno.land/x/appwrite/mod.ts"; + +const client = new Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const users = new Users(client); + +const response = await users.updateMFA({ + userId: '', + mfa: false +}); diff --git a/docs/examples/1.8.x/server-dotnet/examples/account/create-m-f-a-authenticator.md b/docs/examples/1.8.x/server-dotnet/examples/account/create-m-f-a-authenticator.md new file mode 100644 index 0000000000..9076fcd069 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/account/create-m-f-a-authenticator.md @@ -0,0 +1,15 @@ +using Appwrite; +using Appwrite.Enums; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetSession(""); // The user session to authenticate with + +Account account = new Account(client); + +MfaType result = await account.CreateMFAAuthenticator( + type: AuthenticatorType.Totp +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/account/create-m-f-a-challenge.md b/docs/examples/1.8.x/server-dotnet/examples/account/create-m-f-a-challenge.md new file mode 100644 index 0000000000..32497b4ec3 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/account/create-m-f-a-challenge.md @@ -0,0 +1,14 @@ +using Appwrite; +using Appwrite.Enums; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject(""); // Your project ID + +Account account = new Account(client); + +MfaChallenge result = await account.CreateMFAChallenge( + factor: AuthenticationFactor.Email +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/account/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-dotnet/examples/account/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..406fd4493f --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/account/create-m-f-a-recovery-codes.md @@ -0,0 +1,12 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetSession(""); // The user session to authenticate with + +Account account = new Account(client); + +MfaRecoveryCodes result = await account.CreateMFARecoveryCodes(); diff --git a/docs/examples/1.8.x/server-dotnet/examples/account/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/server-dotnet/examples/account/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..c695de2956 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/account/delete-m-f-a-authenticator.md @@ -0,0 +1,15 @@ +using Appwrite; +using Appwrite.Enums; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetSession(""); // The user session to authenticate with + +Account account = new Account(client); + +await account.DeleteMFAAuthenticator( + type: AuthenticatorType.Totp +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/account/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-dotnet/examples/account/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..2e5468ad98 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/account/get-m-f-a-recovery-codes.md @@ -0,0 +1,12 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetSession(""); // The user session to authenticate with + +Account account = new Account(client); + +MfaRecoveryCodes result = await account.GetMFARecoveryCodes(); diff --git a/docs/examples/1.8.x/server-dotnet/examples/account/list-m-f-a-factors.md b/docs/examples/1.8.x/server-dotnet/examples/account/list-m-f-a-factors.md new file mode 100644 index 0000000000..f284f6f227 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/account/list-m-f-a-factors.md @@ -0,0 +1,12 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetSession(""); // The user session to authenticate with + +Account account = new Account(client); + +MfaFactors result = await account.ListMFAFactors(); diff --git a/docs/examples/1.8.x/server-dotnet/examples/account/update-m-f-a-authenticator.md b/docs/examples/1.8.x/server-dotnet/examples/account/update-m-f-a-authenticator.md new file mode 100644 index 0000000000..f5dd5c502f --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/account/update-m-f-a-authenticator.md @@ -0,0 +1,16 @@ +using Appwrite; +using Appwrite.Enums; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetSession(""); // The user session to authenticate with + +Account account = new Account(client); + +User result = await account.UpdateMFAAuthenticator( + type: AuthenticatorType.Totp, + otp: "" +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/account/update-m-f-a-challenge.md b/docs/examples/1.8.x/server-dotnet/examples/account/update-m-f-a-challenge.md new file mode 100644 index 0000000000..f9a9db465b --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/account/update-m-f-a-challenge.md @@ -0,0 +1,15 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetSession(""); // The user session to authenticate with + +Account account = new Account(client); + +Session result = await account.UpdateMFAChallenge( + challengeId: "", + otp: "" +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/account/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-dotnet/examples/account/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..bfc6c876f2 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/account/update-m-f-a-recovery-codes.md @@ -0,0 +1,12 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetSession(""); // The user session to authenticate with + +Account account = new Account(client); + +MfaRecoveryCodes result = await account.UpdateMFARecoveryCodes(); diff --git a/docs/examples/1.8.x/server-dotnet/examples/messaging/create-a-p-n-s-provider.md b/docs/examples/1.8.x/server-dotnet/examples/messaging/create-a-p-n-s-provider.md new file mode 100644 index 0000000000..74bfe5ec2f --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/messaging/create-a-p-n-s-provider.md @@ -0,0 +1,21 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Messaging messaging = new Messaging(client); + +Provider result = await messaging.CreateAPNSProvider( + providerId: "", + name: "", + authKey: "", // optional + authKeyId: "", // optional + teamId: "", // optional + bundleId: "", // optional + sandbox: false, // optional + enabled: false // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/messaging/create-f-c-m-provider.md b/docs/examples/1.8.x/server-dotnet/examples/messaging/create-f-c-m-provider.md new file mode 100644 index 0000000000..0b72bb3fea --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/messaging/create-f-c-m-provider.md @@ -0,0 +1,17 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Messaging messaging = new Messaging(client); + +Provider result = await messaging.CreateFCMProvider( + providerId: "", + name: "", + serviceAccountJSON: [object], // optional + enabled: false // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/messaging/create-s-m-s.md b/docs/examples/1.8.x/server-dotnet/examples/messaging/create-s-m-s.md new file mode 100644 index 0000000000..f67a43164f --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/messaging/create-s-m-s.md @@ -0,0 +1,20 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Messaging messaging = new Messaging(client); + +Message result = await messaging.CreateSMS( + messageId: "", + content: "", + topics: new List(), // optional + users: new List(), // optional + targets: new List(), // optional + draft: false, // optional + scheduledAt: "" // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/messaging/create-s-m-t-p-provider.md b/docs/examples/1.8.x/server-dotnet/examples/messaging/create-s-m-t-p-provider.md new file mode 100644 index 0000000000..d29826dd4a --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/messaging/create-s-m-t-p-provider.md @@ -0,0 +1,28 @@ +using Appwrite; +using Appwrite.Enums; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Messaging messaging = new Messaging(client); + +Provider result = await messaging.CreateSMTPProvider( + providerId: "", + name: "", + host: "", + port: 1, // optional + username: "", // optional + password: "", // optional + encryption: SmtpEncryption.None, // optional + autoTLS: false, // optional + mailer: "", // optional + fromName: "", // optional + fromEmail: "email@example.com", // optional + replyToName: "", // optional + replyToEmail: "email@example.com", // optional + enabled: false // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/messaging/update-a-p-n-s-provider.md b/docs/examples/1.8.x/server-dotnet/examples/messaging/update-a-p-n-s-provider.md new file mode 100644 index 0000000000..24cd49da16 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/messaging/update-a-p-n-s-provider.md @@ -0,0 +1,21 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Messaging messaging = new Messaging(client); + +Provider result = await messaging.UpdateAPNSProvider( + providerId: "", + name: "", // optional + enabled: false, // optional + authKey: "", // optional + authKeyId: "", // optional + teamId: "", // optional + bundleId: "", // optional + sandbox: false // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/messaging/update-f-c-m-provider.md b/docs/examples/1.8.x/server-dotnet/examples/messaging/update-f-c-m-provider.md new file mode 100644 index 0000000000..df1ce204f6 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/messaging/update-f-c-m-provider.md @@ -0,0 +1,17 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Messaging messaging = new Messaging(client); + +Provider result = await messaging.UpdateFCMProvider( + providerId: "", + name: "", // optional + enabled: false, // optional + serviceAccountJSON: [object] // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/messaging/update-s-m-s.md b/docs/examples/1.8.x/server-dotnet/examples/messaging/update-s-m-s.md new file mode 100644 index 0000000000..3216fcff03 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/messaging/update-s-m-s.md @@ -0,0 +1,20 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Messaging messaging = new Messaging(client); + +Message result = await messaging.UpdateSMS( + messageId: "", + topics: new List(), // optional + users: new List(), // optional + targets: new List(), // optional + content: "", // optional + draft: false, // optional + scheduledAt: "" // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/messaging/update-s-m-t-p-provider.md b/docs/examples/1.8.x/server-dotnet/examples/messaging/update-s-m-t-p-provider.md new file mode 100644 index 0000000000..29553887ff --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/messaging/update-s-m-t-p-provider.md @@ -0,0 +1,28 @@ +using Appwrite; +using Appwrite.Enums; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Messaging messaging = new Messaging(client); + +Provider result = await messaging.UpdateSMTPProvider( + providerId: "", + name: "", // optional + host: "", // optional + port: 1, // optional + username: "", // optional + password: "", // optional + encryption: SmtpEncryption.None, // optional + autoTLS: false, // optional + mailer: "", // optional + fromName: "", // optional + fromEmail: "email@example.com", // optional + replyToName: "", // optional + replyToEmail: "", // optional + enabled: false // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-boolean-column.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-boolean-column.md index e90609b1df..ff7b647fe6 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-boolean-column.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-boolean-column.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); ColumnBoolean result = await tablesDB.CreateBooleanColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-datetime-column.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-datetime-column.md index 542354b5d5..c03ba36156 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-datetime-column.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-datetime-column.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); ColumnDatetime result = await tablesDB.CreateDatetimeColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-email-column.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-email-column.md index f1bcacbbf2..309db62820 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-email-column.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-email-column.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); ColumnEmail result = await tablesDB.CreateEmailColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-enum-column.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-enum-column.md index 0c7b009b88..632bbef52b 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-enum-column.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-enum-column.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); ColumnEnum result = await tablesDB.CreateEnumColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-float-column.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-float-column.md index 251a479461..e7da5323f3 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-float-column.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-float-column.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); ColumnFloat result = await tablesDB.CreateFloatColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-index.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-index.md index 0b3acf96c1..3b19981ec6 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-index.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-index.md @@ -8,7 +8,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); ColumnIndex result = await tablesDB.CreateIndex( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-integer-column.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-integer-column.md index d234ad2b7c..7bdb971aca 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-integer-column.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-integer-column.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); ColumnInteger result = await tablesDB.CreateIntegerColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-ip-column.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-ip-column.md index 9fdca3f60b..9359b28983 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-ip-column.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-ip-column.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); ColumnIp result = await tablesDB.CreateIpColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-relationship-column.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-relationship-column.md index f19dc1d5ba..95b34d0265 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-relationship-column.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-relationship-column.md @@ -8,7 +8,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); ColumnRelationship result = await tablesDB.CreateRelationshipColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-row.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-row.md index 367f188992..ec6255a11a 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-row.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-row.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetSession(""); // The user session to authenticate with -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); Row result = await tablesDB.CreateRow( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-rows.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-rows.md index 60c0028ad6..c23e795a84 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-rows.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-rows.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); RowList result = await tablesDB.CreateRows( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-string-column.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-string-column.md index dd49081b5b..ab77d4da61 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-string-column.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-string-column.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); ColumnString result = await tablesDB.CreateStringColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-table.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-table.md index 5c34ff9412..7085b9a0f7 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-table.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-table.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); Table result = await tablesDB.CreateTable( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-url-column.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-url-column.md index a10ac7b801..bfae1ccd7e 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-url-column.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create-url-column.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); ColumnUrl result = await tablesDB.CreateUrlColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create.md index f3f2184a35..105d838d5f 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/create.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); Database result = await tablesDB.Create( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/decrement-row-column.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/decrement-row-column.md index 409929e04f..66d98b65b9 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/decrement-row-column.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/decrement-row-column.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetSession(""); // The user session to authenticate with -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); Row result = await tablesDB.DecrementRowColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/delete-column.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/delete-column.md index 36973875bd..4cc43f20e7 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/delete-column.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/delete-column.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); await tablesDB.DeleteColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/delete-index.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/delete-index.md index 3fc011edf6..46c899b7ee 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/delete-index.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/delete-index.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); await tablesDB.DeleteIndex( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/delete-row.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/delete-row.md index b4d2453f06..86d7fbf392 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/delete-row.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/delete-row.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetSession(""); // The user session to authenticate with -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); await tablesDB.DeleteRow( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/delete-rows.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/delete-rows.md index ee22665a8e..13d5758fdb 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/delete-rows.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/delete-rows.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); await tablesDB.DeleteRows( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/delete-table.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/delete-table.md index 17957d1942..4f772f3fb7 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/delete-table.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/delete-table.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); await tablesDB.DeleteTable( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/delete.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/delete.md index 108b87eee0..55395b0230 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/delete.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/delete.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); await tablesDB.Delete( databaseId: "" diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/get-column.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/get-column.md index 0ef6ed379c..70089aa019 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/get-column.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/get-column.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); result = await tablesDB.GetColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/get-index.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/get-index.md index cee86f05e0..b48ac846b8 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/get-index.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/get-index.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); ColumnIndex result = await tablesDB.GetIndex( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/get-row.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/get-row.md index 6416bed2b9..99d79ac3dd 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/get-row.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/get-row.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetSession(""); // The user session to authenticate with -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); Row result = await tablesDB.GetRow( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/get-table.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/get-table.md index 79e12b79b2..82311e8f55 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/get-table.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/get-table.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); Table result = await tablesDB.GetTable( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/get.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/get.md index 1fa6343edb..ace26de4fe 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/get.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/get.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); Database result = await tablesDB.Get( databaseId: "" diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/increment-row-column.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/increment-row-column.md index 5b83486483..48eabc34d4 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/increment-row-column.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/increment-row-column.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetSession(""); // The user session to authenticate with -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); Row result = await tablesDB.IncrementRowColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list-columns.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list-columns.md index ed3aba1d22..345ac00bf5 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list-columns.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list-columns.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); ColumnList result = await tablesDB.ListColumns( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list-indexes.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list-indexes.md index 282159658a..6074787f38 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list-indexes.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list-indexes.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); ColumnIndexList result = await tablesDB.ListIndexes( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list-rows.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list-rows.md index 0a7ee4ba3f..d3f860e869 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list-rows.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list-rows.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetSession(""); // The user session to authenticate with -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); RowList result = await tablesDB.ListRows( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list-tables.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list-tables.md index 171dfca464..9e94dc84ee 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list-tables.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list-tables.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); TableList result = await tablesDB.ListTables( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list.md index c2117f73b4..8b320eeb00 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/list.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); DatabaseList result = await tablesDB.List( queries: new List(), // optional diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-boolean-column.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-boolean-column.md index 6630d50050..b6c6d58438 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-boolean-column.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-boolean-column.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); ColumnBoolean result = await tablesDB.UpdateBooleanColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-datetime-column.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-datetime-column.md index fcef5a50b1..8236b6af7c 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-datetime-column.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-datetime-column.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); ColumnDatetime result = await tablesDB.UpdateDatetimeColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-email-column.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-email-column.md index 0794b67812..88567783a2 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-email-column.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-email-column.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); ColumnEmail result = await tablesDB.UpdateEmailColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-enum-column.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-enum-column.md index a64dc5071a..58c3c65d7b 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-enum-column.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-enum-column.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); ColumnEnum result = await tablesDB.UpdateEnumColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-float-column.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-float-column.md index fa76e5fb3a..057a076733 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-float-column.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-float-column.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); ColumnFloat result = await tablesDB.UpdateFloatColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-integer-column.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-integer-column.md index 36756b3427..2cc3b3614e 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-integer-column.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-integer-column.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); ColumnInteger result = await tablesDB.UpdateIntegerColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-ip-column.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-ip-column.md index dd51e10bf2..7e6d64f03c 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-ip-column.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-ip-column.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); ColumnIp result = await tablesDB.UpdateIpColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-relationship-column.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-relationship-column.md index 42cc022cc8..9a0a36b690 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-relationship-column.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-relationship-column.md @@ -8,7 +8,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); ColumnRelationship result = await tablesDB.UpdateRelationshipColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-row.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-row.md index 40cf66d46e..5eb5acdbd2 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-row.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-row.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetSession(""); // The user session to authenticate with -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); Row result = await tablesDB.UpdateRow( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-rows.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-rows.md index 53073776ea..401464d66a 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-rows.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-rows.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); RowList result = await tablesDB.UpdateRows( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-string-column.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-string-column.md index f3862692a1..df5308ddb3 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-string-column.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-string-column.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); ColumnString result = await tablesDB.UpdateStringColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-table.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-table.md index f3e7f7f07e..b2d52b755c 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-table.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-table.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); Table result = await tablesDB.UpdateTable( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-url-column.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-url-column.md index abc9479175..d342fc9476 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-url-column.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update-url-column.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); ColumnUrl result = await tablesDB.UpdateUrlColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update.md index fe05d09107..920866bad4 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/update.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); Database result = await tablesDB.Update( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/upsert-row.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/upsert-row.md index ddf7d611b4..e1f68a7dfb 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/upsert-row.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetSession(""); // The user session to authenticate with -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); Row result = await tablesDB.UpsertRow( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/upsert-rows.md b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/upsert-rows.md index 373ab6db80..199dc2ba85 100644 --- a/docs/examples/1.8.x/server-dotnet/examples/tablesdb/upsert-rows.md +++ b/docs/examples/1.8.x/server-dotnet/examples/tablesdb/upsert-rows.md @@ -7,7 +7,7 @@ Client client = new Client() .SetProject("") // Your project ID .SetKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); RowList result = await tablesDB.UpsertRows( databaseId: "", diff --git a/docs/examples/1.8.x/server-dotnet/examples/users/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-dotnet/examples/users/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..d0c0d95ad8 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/users/create-m-f-a-recovery-codes.md @@ -0,0 +1,14 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Users users = new Users(client); + +MfaRecoveryCodes result = await users.CreateMFARecoveryCodes( + userId: "" +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/users/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/server-dotnet/examples/users/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..b4cec73ae9 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/users/delete-m-f-a-authenticator.md @@ -0,0 +1,16 @@ +using Appwrite; +using Appwrite.Enums; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Users users = new Users(client); + +await users.DeleteMFAAuthenticator( + userId: "", + type: AuthenticatorType.Totp +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/users/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-dotnet/examples/users/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..ce9453119f --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/users/get-m-f-a-recovery-codes.md @@ -0,0 +1,14 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Users users = new Users(client); + +MfaRecoveryCodes result = await users.GetMFARecoveryCodes( + userId: "" +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/users/list-m-f-a-factors.md b/docs/examples/1.8.x/server-dotnet/examples/users/list-m-f-a-factors.md new file mode 100644 index 0000000000..956949d0a9 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/users/list-m-f-a-factors.md @@ -0,0 +1,14 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Users users = new Users(client); + +MfaFactors result = await users.ListMFAFactors( + userId: "" +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/users/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-dotnet/examples/users/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..ac14ccf932 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/users/update-m-f-a-recovery-codes.md @@ -0,0 +1,14 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Users users = new Users(client); + +MfaRecoveryCodes result = await users.UpdateMFARecoveryCodes( + userId: "" +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/users/update-m-f-a.md b/docs/examples/1.8.x/server-dotnet/examples/users/update-m-f-a.md new file mode 100644 index 0000000000..1114982333 --- /dev/null +++ b/docs/examples/1.8.x/server-dotnet/examples/users/update-m-f-a.md @@ -0,0 +1,15 @@ +using Appwrite; +using Appwrite.Models; +using Appwrite.Services; + +Client client = new Client() + .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .SetProject("") // Your project ID + .SetKey(""); // Your secret API key + +Users users = new Users(client); + +User result = await users.UpdateMFA( + userId: "", + mfa: false +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-go/examples/account/create-m-f-a-authenticator.md b/docs/examples/1.8.x/server-go/examples/account/create-m-f-a-authenticator.md new file mode 100644 index 0000000000..07c3ba8860 --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/account/create-m-f-a-authenticator.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithSession("") // The user session to authenticate with + ) + + service := account.New(client) + response, error := service.CreateMFAAuthenticator( + "totp", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/account/create-m-f-a-challenge.md b/docs/examples/1.8.x/server-go/examples/account/create-m-f-a-challenge.md new file mode 100644 index 0000000000..dd1cdff7f6 --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/account/create-m-f-a-challenge.md @@ -0,0 +1,25 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + ) + + service := account.New(client) + response, error := service.CreateMFAChallenge( + "email", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/account/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-go/examples/account/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..d5d4eb2e54 --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/account/create-m-f-a-recovery-codes.md @@ -0,0 +1,25 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithSession("") // The user session to authenticate with + ) + + service := account.New(client) + response, error := service.CreateMFARecoveryCodes( + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/account/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/server-go/examples/account/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..0bb0b028b8 --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/account/delete-m-f-a-authenticator.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithSession("") // The user session to authenticate with + ) + + service := account.New(client) + response, error := service.DeleteMFAAuthenticator( + "totp", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/account/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-go/examples/account/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..31c751546f --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/account/get-m-f-a-recovery-codes.md @@ -0,0 +1,25 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithSession("") // The user session to authenticate with + ) + + service := account.New(client) + response, error := service.GetMFARecoveryCodes( + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/account/list-m-f-a-factors.md b/docs/examples/1.8.x/server-go/examples/account/list-m-f-a-factors.md new file mode 100644 index 0000000000..8da13c72e8 --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/account/list-m-f-a-factors.md @@ -0,0 +1,25 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithSession("") // The user session to authenticate with + ) + + service := account.New(client) + response, error := service.ListMFAFactors( + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/account/update-m-f-a-authenticator.md b/docs/examples/1.8.x/server-go/examples/account/update-m-f-a-authenticator.md new file mode 100644 index 0000000000..4235c933b4 --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/account/update-m-f-a-authenticator.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithSession("") // The user session to authenticate with + ) + + service := account.New(client) + response, error := service.UpdateMFAAuthenticator( + "totp", + "", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/account/update-m-f-a-challenge.md b/docs/examples/1.8.x/server-go/examples/account/update-m-f-a-challenge.md new file mode 100644 index 0000000000..33ad5596d3 --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/account/update-m-f-a-challenge.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithSession("") // The user session to authenticate with + ) + + service := account.New(client) + response, error := service.UpdateMFAChallenge( + "", + "", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/account/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-go/examples/account/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..d96c43963e --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/account/update-m-f-a-recovery-codes.md @@ -0,0 +1,25 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/account" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithSession("") // The user session to authenticate with + ) + + service := account.New(client) + response, error := service.UpdateMFARecoveryCodes( + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/messaging/create-a-p-n-s-provider.md b/docs/examples/1.8.x/server-go/examples/messaging/create-a-p-n-s-provider.md new file mode 100644 index 0000000000..477b86546b --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/messaging/create-a-p-n-s-provider.md @@ -0,0 +1,33 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := messaging.New(client) + response, error := service.CreateAPNSProvider( + "", + "", + messaging.WithCreateAPNSProviderAuthKey(""), + messaging.WithCreateAPNSProviderAuthKeyId(""), + messaging.WithCreateAPNSProviderTeamId(""), + messaging.WithCreateAPNSProviderBundleId(""), + messaging.WithCreateAPNSProviderSandbox(false), + messaging.WithCreateAPNSProviderEnabled(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/messaging/create-f-c-m-provider.md b/docs/examples/1.8.x/server-go/examples/messaging/create-f-c-m-provider.md new file mode 100644 index 0000000000..01e18d11c6 --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/messaging/create-f-c-m-provider.md @@ -0,0 +1,29 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := messaging.New(client) + response, error := service.CreateFCMProvider( + "", + "", + messaging.WithCreateFCMProviderServiceAccountJSON(map[string]interface{}{}), + messaging.WithCreateFCMProviderEnabled(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/messaging/create-s-m-s.md b/docs/examples/1.8.x/server-go/examples/messaging/create-s-m-s.md new file mode 100644 index 0000000000..d22316017a --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/messaging/create-s-m-s.md @@ -0,0 +1,32 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := messaging.New(client) + response, error := service.CreateSMS( + "", + "", + messaging.WithCreateSMSTopics([]interface{}{}), + messaging.WithCreateSMSUsers([]interface{}{}), + messaging.WithCreateSMSTargets([]interface{}{}), + messaging.WithCreateSMSDraft(false), + messaging.WithCreateSMSScheduledAt(""), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/messaging/create-s-m-t-p-provider.md b/docs/examples/1.8.x/server-go/examples/messaging/create-s-m-t-p-provider.md new file mode 100644 index 0000000000..8eb41ad2da --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/messaging/create-s-m-t-p-provider.md @@ -0,0 +1,39 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := messaging.New(client) + response, error := service.CreateSMTPProvider( + "", + "", + "", + messaging.WithCreateSMTPProviderPort(1), + messaging.WithCreateSMTPProviderUsername(""), + messaging.WithCreateSMTPProviderPassword(""), + messaging.WithCreateSMTPProviderEncryption("none"), + messaging.WithCreateSMTPProviderAutoTLS(false), + messaging.WithCreateSMTPProviderMailer(""), + messaging.WithCreateSMTPProviderFromName(""), + messaging.WithCreateSMTPProviderFromEmail("email@example.com"), + messaging.WithCreateSMTPProviderReplyToName(""), + messaging.WithCreateSMTPProviderReplyToEmail("email@example.com"), + messaging.WithCreateSMTPProviderEnabled(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/messaging/update-a-p-n-s-provider.md b/docs/examples/1.8.x/server-go/examples/messaging/update-a-p-n-s-provider.md new file mode 100644 index 0000000000..1cf307bd78 --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/messaging/update-a-p-n-s-provider.md @@ -0,0 +1,33 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := messaging.New(client) + response, error := service.UpdateAPNSProvider( + "", + messaging.WithUpdateAPNSProviderName(""), + messaging.WithUpdateAPNSProviderEnabled(false), + messaging.WithUpdateAPNSProviderAuthKey(""), + messaging.WithUpdateAPNSProviderAuthKeyId(""), + messaging.WithUpdateAPNSProviderTeamId(""), + messaging.WithUpdateAPNSProviderBundleId(""), + messaging.WithUpdateAPNSProviderSandbox(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/messaging/update-f-c-m-provider.md b/docs/examples/1.8.x/server-go/examples/messaging/update-f-c-m-provider.md new file mode 100644 index 0000000000..3f9d615fa9 --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/messaging/update-f-c-m-provider.md @@ -0,0 +1,29 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := messaging.New(client) + response, error := service.UpdateFCMProvider( + "", + messaging.WithUpdateFCMProviderName(""), + messaging.WithUpdateFCMProviderEnabled(false), + messaging.WithUpdateFCMProviderServiceAccountJSON(map[string]interface{}{}), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/messaging/update-s-m-s.md b/docs/examples/1.8.x/server-go/examples/messaging/update-s-m-s.md new file mode 100644 index 0000000000..3c57e872a1 --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/messaging/update-s-m-s.md @@ -0,0 +1,32 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := messaging.New(client) + response, error := service.UpdateSMS( + "", + messaging.WithUpdateSMSTopics([]interface{}{}), + messaging.WithUpdateSMSUsers([]interface{}{}), + messaging.WithUpdateSMSTargets([]interface{}{}), + messaging.WithUpdateSMSContent(""), + messaging.WithUpdateSMSDraft(false), + messaging.WithUpdateSMSScheduledAt(""), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/messaging/update-s-m-t-p-provider.md b/docs/examples/1.8.x/server-go/examples/messaging/update-s-m-t-p-provider.md new file mode 100644 index 0000000000..61c961bb96 --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/messaging/update-s-m-t-p-provider.md @@ -0,0 +1,39 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/messaging" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := messaging.New(client) + response, error := service.UpdateSMTPProvider( + "", + messaging.WithUpdateSMTPProviderName(""), + messaging.WithUpdateSMTPProviderHost(""), + messaging.WithUpdateSMTPProviderPort(1), + messaging.WithUpdateSMTPProviderUsername(""), + messaging.WithUpdateSMTPProviderPassword(""), + messaging.WithUpdateSMTPProviderEncryption("none"), + messaging.WithUpdateSMTPProviderAutoTLS(false), + messaging.WithUpdateSMTPProviderMailer(""), + messaging.WithUpdateSMTPProviderFromName(""), + messaging.WithUpdateSMTPProviderFromEmail("email@example.com"), + messaging.WithUpdateSMTPProviderReplyToName(""), + messaging.WithUpdateSMTPProviderReplyToEmail(""), + messaging.WithUpdateSMTPProviderEnabled(false), + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/users/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-go/examples/users/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..bc85d3a21e --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/users/create-m-f-a-recovery-codes.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := users.New(client) + response, error := service.CreateMFARecoveryCodes( + "", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/users/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/server-go/examples/users/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..812858261d --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/users/delete-m-f-a-authenticator.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := users.New(client) + response, error := service.DeleteMFAAuthenticator( + "", + "totp", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/users/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-go/examples/users/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..9824241724 --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/users/get-m-f-a-recovery-codes.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := users.New(client) + response, error := service.GetMFARecoveryCodes( + "", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/users/list-m-f-a-factors.md b/docs/examples/1.8.x/server-go/examples/users/list-m-f-a-factors.md new file mode 100644 index 0000000000..3abb918307 --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/users/list-m-f-a-factors.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := users.New(client) + response, error := service.ListMFAFactors( + "", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/users/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-go/examples/users/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..618b51678e --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/users/update-m-f-a-recovery-codes.md @@ -0,0 +1,26 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := users.New(client) + response, error := service.UpdateMFARecoveryCodes( + "", + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-go/examples/users/update-m-f-a.md b/docs/examples/1.8.x/server-go/examples/users/update-m-f-a.md new file mode 100644 index 0000000000..6fefa02c77 --- /dev/null +++ b/docs/examples/1.8.x/server-go/examples/users/update-m-f-a.md @@ -0,0 +1,27 @@ +package main + +import ( + "fmt" + "github.com/appwrite/sdk-for-go/client" + "github.com/appwrite/sdk-for-go/users" +) + +func main() { + client := client.New( + client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + client.WithProject("") // Your project ID + client.WithKey("") // Your secret API key + ) + + service := users.New(client) + response, error := service.UpdateMFA( + "", + false, + ) + + if error != nil { + panic(error) + } + + fmt.Println(response) +} diff --git a/docs/examples/1.8.x/server-graphql/examples/account/create-m-f-a-authenticator.md b/docs/examples/1.8.x/server-graphql/examples/account/create-m-f-a-authenticator.md new file mode 100644 index 0000000000..8605340168 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/account/create-m-f-a-authenticator.md @@ -0,0 +1,8 @@ +mutation { + accountCreateMFAAuthenticator( + type: "totp" + ) { + secret + uri + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/account/create-m-f-a-challenge.md b/docs/examples/1.8.x/server-graphql/examples/account/create-m-f-a-challenge.md new file mode 100644 index 0000000000..aff5a10123 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/account/create-m-f-a-challenge.md @@ -0,0 +1,10 @@ +mutation { + accountCreateMFAChallenge( + factor: "email" + ) { + _id + _createdAt + userId + expire + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/account/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-graphql/examples/account/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..4cb6d36d42 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/account/create-m-f-a-recovery-codes.md @@ -0,0 +1,5 @@ +mutation { + accountCreateMFARecoveryCodes { + recoveryCodes + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/account/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/server-graphql/examples/account/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..03e876e3f9 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/account/delete-m-f-a-authenticator.md @@ -0,0 +1,7 @@ +mutation { + accountDeleteMFAAuthenticator( + type: "totp" + ) { + status + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/account/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-graphql/examples/account/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..e69de29bb2 diff --git a/docs/examples/1.8.x/server-graphql/examples/account/list-m-f-a-factors.md b/docs/examples/1.8.x/server-graphql/examples/account/list-m-f-a-factors.md new file mode 100644 index 0000000000..e69de29bb2 diff --git a/docs/examples/1.8.x/server-graphql/examples/account/update-m-f-a-authenticator.md b/docs/examples/1.8.x/server-graphql/examples/account/update-m-f-a-authenticator.md new file mode 100644 index 0000000000..b3021b70b8 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/account/update-m-f-a-authenticator.md @@ -0,0 +1,38 @@ +mutation { + accountUpdateMFAAuthenticator( + type: "totp", + otp: "" + ) { + _id + _createdAt + _updatedAt + name + password + hash + hashOptions + registration + status + labels + passwordUpdate + email + phone + emailVerification + phoneVerification + mfa + prefs { + data + } + targets { + _id + _createdAt + _updatedAt + name + userId + providerId + providerType + identifier + expired + } + accessedAt + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/account/update-m-f-a-challenge.md b/docs/examples/1.8.x/server-graphql/examples/account/update-m-f-a-challenge.md new file mode 100644 index 0000000000..bf389f1eff --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/account/update-m-f-a-challenge.md @@ -0,0 +1,36 @@ +mutation { + accountUpdateMFAChallenge( + challengeId: "", + otp: "" + ) { + _id + _createdAt + _updatedAt + userId + expire + provider + providerUid + providerAccessToken + providerAccessTokenExpiry + providerRefreshToken + ip + osCode + osName + osVersion + clientType + clientCode + clientName + clientVersion + clientEngine + clientEngineVersion + deviceName + deviceBrand + deviceModel + countryCode + countryName + current + factors + secret + mfaUpdatedAt + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/account/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-graphql/examples/account/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..dc46be71ad --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/account/update-m-f-a-recovery-codes.md @@ -0,0 +1,5 @@ +mutation { + accountUpdateMFARecoveryCodes { + recoveryCodes + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/functions/create-execution.md b/docs/examples/1.8.x/server-graphql/examples/functions/create-execution.md index 8979880723..ff0ecbe739 100644 --- a/docs/examples/1.8.x/server-graphql/examples/functions/create-execution.md +++ b/docs/examples/1.8.x/server-graphql/examples/functions/create-execution.md @@ -13,6 +13,7 @@ mutation { _updatedAt _permissions functionId + deploymentId trigger status requestMethod diff --git a/docs/examples/1.8.x/server-graphql/examples/messaging/create-a-p-n-s-provider.md b/docs/examples/1.8.x/server-graphql/examples/messaging/create-a-p-n-s-provider.md new file mode 100644 index 0000000000..7e2f1480e9 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/messaging/create-a-p-n-s-provider.md @@ -0,0 +1,22 @@ +mutation { + messagingCreateAPNSProvider( + providerId: "", + name: "", + authKey: "", + authKeyId: "", + teamId: "", + bundleId: "", + sandbox: false, + enabled: false + ) { + _id + _createdAt + _updatedAt + name + provider + enabled + type + credentials + options + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/messaging/create-f-c-m-provider.md b/docs/examples/1.8.x/server-graphql/examples/messaging/create-f-c-m-provider.md new file mode 100644 index 0000000000..b2e524536f --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/messaging/create-f-c-m-provider.md @@ -0,0 +1,18 @@ +mutation { + messagingCreateFCMProvider( + providerId: "", + name: "", + serviceAccountJSON: "{}", + enabled: false + ) { + _id + _createdAt + _updatedAt + name + provider + enabled + type + credentials + options + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/messaging/create-s-m-s.md b/docs/examples/1.8.x/server-graphql/examples/messaging/create-s-m-s.md new file mode 100644 index 0000000000..1adeff586f --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/messaging/create-s-m-s.md @@ -0,0 +1,25 @@ +mutation { + messagingCreateSMS( + messageId: "", + content: "", + topics: [], + users: [], + targets: [], + draft: false, + scheduledAt: "" + ) { + _id + _createdAt + _updatedAt + providerType + topics + users + targets + scheduledAt + deliveredAt + deliveryErrors + deliveredTotal + data + status + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/messaging/create-s-m-t-p-provider.md b/docs/examples/1.8.x/server-graphql/examples/messaging/create-s-m-t-p-provider.md new file mode 100644 index 0000000000..ea16765677 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/messaging/create-s-m-t-p-provider.md @@ -0,0 +1,28 @@ +mutation { + messagingCreateSMTPProvider( + providerId: "", + name: "", + host: "", + port: 1, + username: "", + password: "", + encryption: "none", + autoTLS: false, + mailer: "", + fromName: "", + fromEmail: "email@example.com", + replyToName: "", + replyToEmail: "email@example.com", + enabled: false + ) { + _id + _createdAt + _updatedAt + name + provider + enabled + type + credentials + options + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/messaging/update-a-p-n-s-provider.md b/docs/examples/1.8.x/server-graphql/examples/messaging/update-a-p-n-s-provider.md new file mode 100644 index 0000000000..c1eb27aaeb --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/messaging/update-a-p-n-s-provider.md @@ -0,0 +1,22 @@ +mutation { + messagingUpdateAPNSProvider( + providerId: "", + name: "", + enabled: false, + authKey: "", + authKeyId: "", + teamId: "", + bundleId: "", + sandbox: false + ) { + _id + _createdAt + _updatedAt + name + provider + enabled + type + credentials + options + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/messaging/update-f-c-m-provider.md b/docs/examples/1.8.x/server-graphql/examples/messaging/update-f-c-m-provider.md new file mode 100644 index 0000000000..db3be401ee --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/messaging/update-f-c-m-provider.md @@ -0,0 +1,18 @@ +mutation { + messagingUpdateFCMProvider( + providerId: "", + name: "", + enabled: false, + serviceAccountJSON: "{}" + ) { + _id + _createdAt + _updatedAt + name + provider + enabled + type + credentials + options + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/messaging/update-s-m-s.md b/docs/examples/1.8.x/server-graphql/examples/messaging/update-s-m-s.md new file mode 100644 index 0000000000..e056cd6d8a --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/messaging/update-s-m-s.md @@ -0,0 +1,25 @@ +mutation { + messagingUpdateSMS( + messageId: "", + topics: [], + users: [], + targets: [], + content: "", + draft: false, + scheduledAt: "" + ) { + _id + _createdAt + _updatedAt + providerType + topics + users + targets + scheduledAt + deliveredAt + deliveryErrors + deliveredTotal + data + status + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/messaging/update-s-m-t-p-provider.md b/docs/examples/1.8.x/server-graphql/examples/messaging/update-s-m-t-p-provider.md new file mode 100644 index 0000000000..dada7d3fb3 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/messaging/update-s-m-t-p-provider.md @@ -0,0 +1,28 @@ +mutation { + messagingUpdateSMTPProvider( + providerId: "", + name: "", + host: "", + port: 1, + username: "", + password: "", + encryption: "none", + autoTLS: false, + mailer: "", + fromName: "", + fromEmail: "email@example.com", + replyToName: "", + replyToEmail: "", + enabled: false + ) { + _id + _createdAt + _updatedAt + name + provider + enabled + type + credentials + options + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/users/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-graphql/examples/users/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..5c329f5e0b --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/users/create-m-f-a-recovery-codes.md @@ -0,0 +1,7 @@ +mutation { + usersCreateMFARecoveryCodes( + userId: "" + ) { + recoveryCodes + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/users/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/server-graphql/examples/users/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..2e7ea73733 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/users/delete-m-f-a-authenticator.md @@ -0,0 +1,8 @@ +mutation { + usersDeleteMFAAuthenticator( + userId: "", + type: "totp" + ) { + status + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/users/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-graphql/examples/users/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..e69de29bb2 diff --git a/docs/examples/1.8.x/server-graphql/examples/users/list-m-f-a-factors.md b/docs/examples/1.8.x/server-graphql/examples/users/list-m-f-a-factors.md new file mode 100644 index 0000000000..e69de29bb2 diff --git a/docs/examples/1.8.x/server-graphql/examples/users/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-graphql/examples/users/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..8881b1ad96 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/users/update-m-f-a-recovery-codes.md @@ -0,0 +1,7 @@ +mutation { + usersUpdateMFARecoveryCodes( + userId: "" + ) { + recoveryCodes + } +} diff --git a/docs/examples/1.8.x/server-graphql/examples/users/update-m-f-a.md b/docs/examples/1.8.x/server-graphql/examples/users/update-m-f-a.md new file mode 100644 index 0000000000..8c8f0a3787 --- /dev/null +++ b/docs/examples/1.8.x/server-graphql/examples/users/update-m-f-a.md @@ -0,0 +1,38 @@ +mutation { + usersUpdateMFA( + userId: "", + mfa: false + ) { + _id + _createdAt + _updatedAt + name + password + hash + hashOptions + registration + status + labels + passwordUpdate + email + phone + emailVerification + phoneVerification + mfa + prefs { + data + } + targets { + _id + _createdAt + _updatedAt + name + userId + providerId + providerType + identifier + expired + } + accessedAt + } +} diff --git a/docs/examples/1.8.x/server-kotlin/java/account/create-m-f-a-authenticator.md b/docs/examples/1.8.x/server-kotlin/java/account/create-m-f-a-authenticator.md new file mode 100644 index 0000000000..d38ddd3b44 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/account/create-m-f-a-authenticator.md @@ -0,0 +1,24 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Account; +import io.appwrite.enums.AuthenticatorType; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setSession(""); // The user session to authenticate with + +Account account = new Account(client); + +account.createMFAAuthenticator( + AuthenticatorType.TOTP, // type + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/account/create-m-f-a-challenge.md b/docs/examples/1.8.x/server-kotlin/java/account/create-m-f-a-challenge.md new file mode 100644 index 0000000000..5c048cbace --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/account/create-m-f-a-challenge.md @@ -0,0 +1,23 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Account; +import io.appwrite.enums.AuthenticationFactor; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject(""); // Your project ID + +Account account = new Account(client); + +account.createMFAChallenge( + AuthenticationFactor.EMAIL, // factor + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/account/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-kotlin/java/account/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..6a47a17729 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/account/create-m-f-a-recovery-codes.md @@ -0,0 +1,19 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Account; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setSession(""); // The user session to authenticate with + +Account account = new Account(client); + +account.createMFARecoveryCodes(new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); +})); diff --git a/docs/examples/1.8.x/server-kotlin/java/account/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/server-kotlin/java/account/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..20a6acda53 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/account/delete-m-f-a-authenticator.md @@ -0,0 +1,24 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Account; +import io.appwrite.enums.AuthenticatorType; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setSession(""); // The user session to authenticate with + +Account account = new Account(client); + +account.deleteMFAAuthenticator( + AuthenticatorType.TOTP, // type + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/account/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-kotlin/java/account/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..813a0a62c0 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/account/get-m-f-a-recovery-codes.md @@ -0,0 +1,19 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Account; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setSession(""); // The user session to authenticate with + +Account account = new Account(client); + +account.getMFARecoveryCodes(new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); +})); diff --git a/docs/examples/1.8.x/server-kotlin/java/account/list-m-f-a-factors.md b/docs/examples/1.8.x/server-kotlin/java/account/list-m-f-a-factors.md new file mode 100644 index 0000000000..0bdc378b08 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/account/list-m-f-a-factors.md @@ -0,0 +1,19 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Account; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setSession(""); // The user session to authenticate with + +Account account = new Account(client); + +account.listMFAFactors(new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); +})); diff --git a/docs/examples/1.8.x/server-kotlin/java/account/update-m-f-a-authenticator.md b/docs/examples/1.8.x/server-kotlin/java/account/update-m-f-a-authenticator.md new file mode 100644 index 0000000000..87e3852ccd --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/account/update-m-f-a-authenticator.md @@ -0,0 +1,25 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Account; +import io.appwrite.enums.AuthenticatorType; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setSession(""); // The user session to authenticate with + +Account account = new Account(client); + +account.updateMFAAuthenticator( + AuthenticatorType.TOTP, // type + "", // otp + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/account/update-m-f-a-challenge.md b/docs/examples/1.8.x/server-kotlin/java/account/update-m-f-a-challenge.md new file mode 100644 index 0000000000..5e1bebe629 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/account/update-m-f-a-challenge.md @@ -0,0 +1,24 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Account; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setSession(""); // The user session to authenticate with + +Account account = new Account(client); + +account.updateMFAChallenge( + "", // challengeId + "", // otp + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/account/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-kotlin/java/account/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..7c303ddc64 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/account/update-m-f-a-recovery-codes.md @@ -0,0 +1,19 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Account; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setSession(""); // The user session to authenticate with + +Account account = new Account(client); + +account.updateMFARecoveryCodes(new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); +})); diff --git a/docs/examples/1.8.x/server-kotlin/java/messaging/create-a-p-n-s-provider.md b/docs/examples/1.8.x/server-kotlin/java/messaging/create-a-p-n-s-provider.md new file mode 100644 index 0000000000..acae476a17 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/messaging/create-a-p-n-s-provider.md @@ -0,0 +1,30 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Messaging; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Messaging messaging = new Messaging(client); + +messaging.createAPNSProvider( + "", // providerId + "", // name + "", // authKey (optional) + "", // authKeyId (optional) + "", // teamId (optional) + "", // bundleId (optional) + false, // sandbox (optional) + false, // enabled (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/messaging/create-f-c-m-provider.md b/docs/examples/1.8.x/server-kotlin/java/messaging/create-f-c-m-provider.md new file mode 100644 index 0000000000..0d67e28cf0 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/messaging/create-f-c-m-provider.md @@ -0,0 +1,26 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Messaging; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Messaging messaging = new Messaging(client); + +messaging.createFCMProvider( + "", // providerId + "", // name + mapOf( "a" to "b" ), // serviceAccountJSON (optional) + false, // enabled (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/messaging/create-s-m-s.md b/docs/examples/1.8.x/server-kotlin/java/messaging/create-s-m-s.md new file mode 100644 index 0000000000..ca40cc33a8 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/messaging/create-s-m-s.md @@ -0,0 +1,29 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Messaging; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Messaging messaging = new Messaging(client); + +messaging.createSMS( + "", // messageId + "", // content + listOf(), // topics (optional) + listOf(), // users (optional) + listOf(), // targets (optional) + false, // draft (optional) + "", // scheduledAt (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/messaging/create-s-m-t-p-provider.md b/docs/examples/1.8.x/server-kotlin/java/messaging/create-s-m-t-p-provider.md new file mode 100644 index 0000000000..1f1a0f998f --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/messaging/create-s-m-t-p-provider.md @@ -0,0 +1,36 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Messaging; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Messaging messaging = new Messaging(client); + +messaging.createSMTPProvider( + "", // providerId + "", // name + "", // host + 1, // port (optional) + "", // username (optional) + "", // password (optional) + SmtpEncryption.NONE, // encryption (optional) + false, // autoTLS (optional) + "", // mailer (optional) + "", // fromName (optional) + "email@example.com", // fromEmail (optional) + "", // replyToName (optional) + "email@example.com", // replyToEmail (optional) + false, // enabled (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/messaging/update-a-p-n-s-provider.md b/docs/examples/1.8.x/server-kotlin/java/messaging/update-a-p-n-s-provider.md new file mode 100644 index 0000000000..c5da5ba819 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/messaging/update-a-p-n-s-provider.md @@ -0,0 +1,30 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Messaging; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Messaging messaging = new Messaging(client); + +messaging.updateAPNSProvider( + "", // providerId + "", // name (optional) + false, // enabled (optional) + "", // authKey (optional) + "", // authKeyId (optional) + "", // teamId (optional) + "", // bundleId (optional) + false, // sandbox (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/messaging/update-f-c-m-provider.md b/docs/examples/1.8.x/server-kotlin/java/messaging/update-f-c-m-provider.md new file mode 100644 index 0000000000..dd92f9321f --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/messaging/update-f-c-m-provider.md @@ -0,0 +1,26 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Messaging; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Messaging messaging = new Messaging(client); + +messaging.updateFCMProvider( + "", // providerId + "", // name (optional) + false, // enabled (optional) + mapOf( "a" to "b" ), // serviceAccountJSON (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/messaging/update-s-m-s.md b/docs/examples/1.8.x/server-kotlin/java/messaging/update-s-m-s.md new file mode 100644 index 0000000000..c59505b68a --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/messaging/update-s-m-s.md @@ -0,0 +1,29 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Messaging; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Messaging messaging = new Messaging(client); + +messaging.updateSMS( + "", // messageId + listOf(), // topics (optional) + listOf(), // users (optional) + listOf(), // targets (optional) + "", // content (optional) + false, // draft (optional) + "", // scheduledAt (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/messaging/update-s-m-t-p-provider.md b/docs/examples/1.8.x/server-kotlin/java/messaging/update-s-m-t-p-provider.md new file mode 100644 index 0000000000..36f120033a --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/messaging/update-s-m-t-p-provider.md @@ -0,0 +1,36 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Messaging; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Messaging messaging = new Messaging(client); + +messaging.updateSMTPProvider( + "", // providerId + "", // name (optional) + "", // host (optional) + 1, // port (optional) + "", // username (optional) + "", // password (optional) + SmtpEncryption.NONE, // encryption (optional) + false, // autoTLS (optional) + "", // mailer (optional) + "", // fromName (optional) + "email@example.com", // fromEmail (optional) + "", // replyToName (optional) + "", // replyToEmail (optional) + false, // enabled (optional) + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-boolean-column.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-boolean-column.md index c24a4d021b..14a96a1489 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-boolean-column.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-boolean-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.createBooleanColumn( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-datetime-column.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-datetime-column.md index 2f86b6e14f..6dd28b36c8 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-datetime-column.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-datetime-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.createDatetimeColumn( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-email-column.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-email-column.md index 9f3e329fd1..e9f3d36892 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-email-column.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-email-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.createEmailColumn( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-enum-column.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-enum-column.md index afdc266d64..bc31bbe79e 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-enum-column.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-enum-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.createEnumColumn( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-float-column.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-float-column.md index 7b434e7eee..51312d037a 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-float-column.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-float-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.createFloatColumn( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-index.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-index.md index fc2259ffd0..991bd3429b 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-index.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-index.md @@ -1,6 +1,6 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; import io.appwrite.enums.IndexType; Client client = new Client() @@ -8,7 +8,7 @@ Client client = new Client() .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.createIndex( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-integer-column.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-integer-column.md index 66dd17f162..1e0a3633a5 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-integer-column.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-integer-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.createIntegerColumn( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-ip-column.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-ip-column.md index c947200e42..a963cc10a5 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-ip-column.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-ip-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.createIpColumn( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-relationship-column.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-relationship-column.md index 7ae73a9c41..956c1fa516 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-relationship-column.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-relationship-column.md @@ -1,6 +1,6 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; import io.appwrite.enums.RelationshipType; Client client = new Client() @@ -8,7 +8,7 @@ Client client = new Client() .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.createRelationshipColumn( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-row.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-row.md index 38f4f045dd..4145022015 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-row.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-row.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setSession(""); // The user session to authenticate with -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.createRow( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-rows.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-rows.md index 928d64ed5a..21bdd21879 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-rows.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-rows.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.createRows( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-string-column.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-string-column.md index 87485627ad..3596340004 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-string-column.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-string-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.createStringColumn( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-table.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-table.md index 55efd6cc41..5bd3b6d0d9 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-table.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-table.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.createTable( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-url-column.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-url-column.md index 59e14b30b8..20c10e6296 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-url-column.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/create-url-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.createUrlColumn( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/create.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/create.md index 7ab45192a5..112e8e6d51 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/create.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/create.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.create( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/decrement-row-column.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/decrement-row-column.md index a01ddea9eb..b9f250f48f 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/decrement-row-column.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/decrement-row-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setSession(""); // The user session to authenticate with -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.decrementRowColumn( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/delete-column.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/delete-column.md index 1fdab510fe..25d94d2fd0 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/delete-column.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/delete-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.deleteColumn( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/delete-index.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/delete-index.md index 769ca5994d..aa40dd07d8 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/delete-index.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/delete-index.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.deleteIndex( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/delete-row.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/delete-row.md index 3fb738c7ad..fd66525a8d 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/delete-row.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/delete-row.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setSession(""); // The user session to authenticate with -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.deleteRow( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/delete-rows.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/delete-rows.md index 78120a1c60..43b772e1a3 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/delete-rows.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/delete-rows.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.deleteRows( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/delete-table.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/delete-table.md index 962b66025d..dcd6daa930 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/delete-table.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/delete-table.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.deleteTable( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/delete.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/delete.md index a7e8194c68..ea30c34411 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/delete.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/delete.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.delete( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/get-column.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/get-column.md index 4cec4f0d68..42ed7760a9 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/get-column.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/get-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.getColumn( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/get-index.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/get-index.md index 77ebe68a9b..d14579d24a 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/get-index.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/get-index.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.getIndex( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/get-row.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/get-row.md index 8c61ae480a..03cf3fb234 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/get-row.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/get-row.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setSession(""); // The user session to authenticate with -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.getRow( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/get-table.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/get-table.md index 12919607e9..44862492df 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/get-table.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/get-table.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.getTable( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/get.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/get.md index bc88b9d793..6480d62d46 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/get.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/get.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.get( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/increment-row-column.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/increment-row-column.md index 41c68a8818..db48d05c37 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/increment-row-column.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/increment-row-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setSession(""); // The user session to authenticate with -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.incrementRowColumn( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/list-columns.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/list-columns.md index 3284834dc9..f0e70d3dd4 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/list-columns.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/list-columns.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.listColumns( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/list-indexes.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/list-indexes.md index ff0b945845..1e5d1f9e11 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/list-indexes.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/list-indexes.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.listIndexes( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/list-rows.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/list-rows.md index 67e96fd0a4..52cf2a1670 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/list-rows.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/list-rows.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setSession(""); // The user session to authenticate with -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.listRows( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/list-tables.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/list-tables.md index 36cc47fde1..5e98cb60af 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/list-tables.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/list-tables.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.listTables( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/list.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/list.md index f9455e5e29..34dc9dae01 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/list.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/list.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.list( listOf(), // queries (optional) diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-boolean-column.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-boolean-column.md index 2d6846bc41..d31932f235 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-boolean-column.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-boolean-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.updateBooleanColumn( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-datetime-column.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-datetime-column.md index 1ad2b53ae2..b9fb3b23a3 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-datetime-column.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-datetime-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.updateDatetimeColumn( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-email-column.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-email-column.md index d8ecbe6931..ed6b93b196 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-email-column.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-email-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.updateEmailColumn( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-enum-column.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-enum-column.md index f12b957346..5a8036aebc 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-enum-column.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-enum-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.updateEnumColumn( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-float-column.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-float-column.md index 1546596d75..0487c06bf5 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-float-column.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-float-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.updateFloatColumn( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-integer-column.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-integer-column.md index 4ce82e8f65..a9ed33a926 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-integer-column.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-integer-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.updateIntegerColumn( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-ip-column.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-ip-column.md index 7790032de8..32509547c3 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-ip-column.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-ip-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.updateIpColumn( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-relationship-column.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-relationship-column.md index 43c1b5191e..45aea8ae41 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-relationship-column.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-relationship-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.updateRelationshipColumn( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-row.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-row.md index 8563de3064..bedc816f14 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-row.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-row.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setSession(""); // The user session to authenticate with -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.updateRow( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-rows.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-rows.md index 1f711466db..169b57c3e5 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-rows.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-rows.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.updateRows( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-string-column.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-string-column.md index 028cbde634..36a2ed5990 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-string-column.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-string-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.updateStringColumn( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-table.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-table.md index f7f506c5d8..e593a04641 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-table.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-table.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.updateTable( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-url-column.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-url-column.md index cce6be5727..d2273b9ef6 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-url-column.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/update-url-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.updateUrlColumn( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/update.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/update.md index de8a530052..3b1da0c107 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/update.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/update.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.update( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/upsert-row.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/upsert-row.md index d208f005c2..d6155fcd1b 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/upsert-row.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setSession(""); // The user session to authenticate with -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.upsertRow( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/tablesdb/upsert-rows.md b/docs/examples/1.8.x/server-kotlin/java/tablesdb/upsert-rows.md index 4467732374..da15f6a0db 100644 --- a/docs/examples/1.8.x/server-kotlin/java/tablesdb/upsert-rows.md +++ b/docs/examples/1.8.x/server-kotlin/java/tablesdb/upsert-rows.md @@ -1,13 +1,13 @@ import io.appwrite.Client; import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.TablesDb; +import io.appwrite.services.TablesDB; Client client = new Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey(""); // Your secret API key -TablesDb tablesDB = new TablesDb(client); +TablesDB tablesDB = new TablesDB(client); tablesDB.upsertRows( "", // databaseId diff --git a/docs/examples/1.8.x/server-kotlin/java/users/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-kotlin/java/users/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..167c92cbbd --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/users/create-m-f-a-recovery-codes.md @@ -0,0 +1,23 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Users; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Users users = new Users(client); + +users.createMFARecoveryCodes( + "", // userId + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/users/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/server-kotlin/java/users/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..c27b39ef53 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/users/delete-m-f-a-authenticator.md @@ -0,0 +1,25 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Users; +import io.appwrite.enums.AuthenticatorType; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Users users = new Users(client); + +users.deleteMFAAuthenticator( + "", // userId + AuthenticatorType.TOTP, // type + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/users/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-kotlin/java/users/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..e617355701 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/users/get-m-f-a-recovery-codes.md @@ -0,0 +1,23 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Users; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Users users = new Users(client); + +users.getMFARecoveryCodes( + "", // userId + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/users/list-m-f-a-factors.md b/docs/examples/1.8.x/server-kotlin/java/users/list-m-f-a-factors.md new file mode 100644 index 0000000000..c26f463b68 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/users/list-m-f-a-factors.md @@ -0,0 +1,23 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Users; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Users users = new Users(client); + +users.listMFAFactors( + "", // userId + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/users/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-kotlin/java/users/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..98522b6219 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/users/update-m-f-a-recovery-codes.md @@ -0,0 +1,23 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Users; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Users users = new Users(client); + +users.updateMFARecoveryCodes( + "", // userId + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/java/users/update-m-f-a.md b/docs/examples/1.8.x/server-kotlin/java/users/update-m-f-a.md new file mode 100644 index 0000000000..dbcded6d93 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/java/users/update-m-f-a.md @@ -0,0 +1,24 @@ +import io.appwrite.Client; +import io.appwrite.coroutines.CoroutineCallback; +import io.appwrite.services.Users; + +Client client = new Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey(""); // Your secret API key + +Users users = new Users(client); + +users.updateMFA( + "", // userId + false, // mfa + new CoroutineCallback<>((result, error) -> { + if (error != null) { + error.printStackTrace(); + return; + } + + System.out.println(result); + }) +); + diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/account/create-m-f-a-authenticator.md b/docs/examples/1.8.x/server-kotlin/kotlin/account/create-m-f-a-authenticator.md new file mode 100644 index 0000000000..fed90b4a7b --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/account/create-m-f-a-authenticator.md @@ -0,0 +1,15 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Account +import io.appwrite.enums.AuthenticatorType + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setSession("") // The user session to authenticate with + +val account = Account(client) + +val response = account.createMFAAuthenticator( + type = AuthenticatorType.TOTP +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/account/create-m-f-a-challenge.md b/docs/examples/1.8.x/server-kotlin/kotlin/account/create-m-f-a-challenge.md new file mode 100644 index 0000000000..7213142a45 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/account/create-m-f-a-challenge.md @@ -0,0 +1,14 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Account +import io.appwrite.enums.AuthenticationFactor + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + +val account = Account(client) + +val response = account.createMFAChallenge( + factor = AuthenticationFactor.EMAIL +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/account/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-kotlin/kotlin/account/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..c01499b04b --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/account/create-m-f-a-recovery-codes.md @@ -0,0 +1,12 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Account + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setSession("") // The user session to authenticate with + +val account = Account(client) + +val response = account.createMFARecoveryCodes() diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/account/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/server-kotlin/kotlin/account/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..9b06f8cd99 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/account/delete-m-f-a-authenticator.md @@ -0,0 +1,15 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Account +import io.appwrite.enums.AuthenticatorType + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setSession("") // The user session to authenticate with + +val account = Account(client) + +val response = account.deleteMFAAuthenticator( + type = AuthenticatorType.TOTP +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/account/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-kotlin/kotlin/account/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..96567f4ca5 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/account/get-m-f-a-recovery-codes.md @@ -0,0 +1,12 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Account + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setSession("") // The user session to authenticate with + +val account = Account(client) + +val response = account.getMFARecoveryCodes() diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/account/list-m-f-a-factors.md b/docs/examples/1.8.x/server-kotlin/kotlin/account/list-m-f-a-factors.md new file mode 100644 index 0000000000..0f073df3e9 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/account/list-m-f-a-factors.md @@ -0,0 +1,12 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Account + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setSession("") // The user session to authenticate with + +val account = Account(client) + +val response = account.listMFAFactors() diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/account/update-m-f-a-authenticator.md b/docs/examples/1.8.x/server-kotlin/kotlin/account/update-m-f-a-authenticator.md new file mode 100644 index 0000000000..99764f2f0d --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/account/update-m-f-a-authenticator.md @@ -0,0 +1,16 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Account +import io.appwrite.enums.AuthenticatorType + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setSession("") // The user session to authenticate with + +val account = Account(client) + +val response = account.updateMFAAuthenticator( + type = AuthenticatorType.TOTP, + otp = "" +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/account/update-m-f-a-challenge.md b/docs/examples/1.8.x/server-kotlin/kotlin/account/update-m-f-a-challenge.md new file mode 100644 index 0000000000..de90873650 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/account/update-m-f-a-challenge.md @@ -0,0 +1,15 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Account + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setSession("") // The user session to authenticate with + +val account = Account(client) + +val response = account.updateMFAChallenge( + challengeId = "", + otp = "" +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/account/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-kotlin/kotlin/account/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..05f6476e0f --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/account/update-m-f-a-recovery-codes.md @@ -0,0 +1,12 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Account + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setSession("") // The user session to authenticate with + +val account = Account(client) + +val response = account.updateMFARecoveryCodes() diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/messaging/create-a-p-n-s-provider.md b/docs/examples/1.8.x/server-kotlin/kotlin/messaging/create-a-p-n-s-provider.md new file mode 100644 index 0000000000..5104edf3e2 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/messaging/create-a-p-n-s-provider.md @@ -0,0 +1,21 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Messaging + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val messaging = Messaging(client) + +val response = messaging.createAPNSProvider( + providerId = "", + name = "", + authKey = "", // optional + authKeyId = "", // optional + teamId = "", // optional + bundleId = "", // optional + sandbox = false, // optional + enabled = false // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/messaging/create-f-c-m-provider.md b/docs/examples/1.8.x/server-kotlin/kotlin/messaging/create-f-c-m-provider.md new file mode 100644 index 0000000000..b1a2ef8314 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/messaging/create-f-c-m-provider.md @@ -0,0 +1,17 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Messaging + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val messaging = Messaging(client) + +val response = messaging.createFCMProvider( + providerId = "", + name = "", + serviceAccountJSON = mapOf( "a" to "b" ), // optional + enabled = false // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/messaging/create-s-m-s.md b/docs/examples/1.8.x/server-kotlin/kotlin/messaging/create-s-m-s.md new file mode 100644 index 0000000000..54c06eb3e2 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/messaging/create-s-m-s.md @@ -0,0 +1,20 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Messaging + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val messaging = Messaging(client) + +val response = messaging.createSMS( + messageId = "", + content = "", + topics = listOf(), // optional + users = listOf(), // optional + targets = listOf(), // optional + draft = false, // optional + scheduledAt = "" // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/messaging/create-s-m-t-p-provider.md b/docs/examples/1.8.x/server-kotlin/kotlin/messaging/create-s-m-t-p-provider.md new file mode 100644 index 0000000000..ce50130e80 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/messaging/create-s-m-t-p-provider.md @@ -0,0 +1,27 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Messaging + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val messaging = Messaging(client) + +val response = messaging.createSMTPProvider( + providerId = "", + name = "", + host = "", + port = 1, // optional + username = "", // optional + password = "", // optional + encryption = "none", // optional + autoTLS = false, // optional + mailer = "", // optional + fromName = "", // optional + fromEmail = "email@example.com", // optional + replyToName = "", // optional + replyToEmail = "email@example.com", // optional + enabled = false // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/messaging/update-a-p-n-s-provider.md b/docs/examples/1.8.x/server-kotlin/kotlin/messaging/update-a-p-n-s-provider.md new file mode 100644 index 0000000000..29b436e41d --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/messaging/update-a-p-n-s-provider.md @@ -0,0 +1,21 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Messaging + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val messaging = Messaging(client) + +val response = messaging.updateAPNSProvider( + providerId = "", + name = "", // optional + enabled = false, // optional + authKey = "", // optional + authKeyId = "", // optional + teamId = "", // optional + bundleId = "", // optional + sandbox = false // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/messaging/update-f-c-m-provider.md b/docs/examples/1.8.x/server-kotlin/kotlin/messaging/update-f-c-m-provider.md new file mode 100644 index 0000000000..84e5635fb2 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/messaging/update-f-c-m-provider.md @@ -0,0 +1,17 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Messaging + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val messaging = Messaging(client) + +val response = messaging.updateFCMProvider( + providerId = "", + name = "", // optional + enabled = false, // optional + serviceAccountJSON = mapOf( "a" to "b" ) // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/messaging/update-s-m-s.md b/docs/examples/1.8.x/server-kotlin/kotlin/messaging/update-s-m-s.md new file mode 100644 index 0000000000..534e9addfc --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/messaging/update-s-m-s.md @@ -0,0 +1,20 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Messaging + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val messaging = Messaging(client) + +val response = messaging.updateSMS( + messageId = "", + topics = listOf(), // optional + users = listOf(), // optional + targets = listOf(), // optional + content = "", // optional + draft = false, // optional + scheduledAt = "" // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/messaging/update-s-m-t-p-provider.md b/docs/examples/1.8.x/server-kotlin/kotlin/messaging/update-s-m-t-p-provider.md new file mode 100644 index 0000000000..7652e53166 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/messaging/update-s-m-t-p-provider.md @@ -0,0 +1,27 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Messaging + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val messaging = Messaging(client) + +val response = messaging.updateSMTPProvider( + providerId = "", + name = "", // optional + host = "", // optional + port = 1, // optional + username = "", // optional + password = "", // optional + encryption = "none", // optional + autoTLS = false, // optional + mailer = "", // optional + fromName = "", // optional + fromEmail = "email@example.com", // optional + replyToName = "", // optional + replyToEmail = "", // optional + enabled = false // optional +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-boolean-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-boolean-column.md index 6466b4a9d5..fac14d916f 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-boolean-column.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-boolean-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.createBooleanColumn( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-datetime-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-datetime-column.md index 339ad0116b..e40d8e4729 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-datetime-column.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-datetime-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.createDatetimeColumn( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-email-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-email-column.md index 95ec8c392f..e93e0b8907 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-email-column.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-email-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.createEmailColumn( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-enum-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-enum-column.md index 0a79dad848..1d19a589e0 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-enum-column.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-enum-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.createEnumColumn( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-float-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-float-column.md index 589911fc73..3c24b0d9fa 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-float-column.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-float-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.createFloatColumn( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-index.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-index.md index d6b2eb9225..2492f71537 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-index.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-index.md @@ -1,6 +1,6 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB import io.appwrite.enums.IndexType val client = Client() @@ -8,7 +8,7 @@ val client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.createIndex( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-integer-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-integer-column.md index bd22054c35..90c558c4dd 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-integer-column.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-integer-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.createIntegerColumn( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-ip-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-ip-column.md index 1169279219..81412c7ac0 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-ip-column.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-ip-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.createIpColumn( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-relationship-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-relationship-column.md index c07f99eedc..fbdf36532f 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-relationship-column.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-relationship-column.md @@ -1,6 +1,6 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB import io.appwrite.enums.RelationshipType val client = Client() @@ -8,7 +8,7 @@ val client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.createRelationshipColumn( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-row.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-row.md index 15914ef32e..6a5b188166 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-row.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-row.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setSession("") // The user session to authenticate with -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.createRow( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-rows.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-rows.md index 0e7627c38a..1da47b5c18 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-rows.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-rows.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.createRows( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-string-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-string-column.md index cbd96668dd..5b5d88db3c 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-string-column.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-string-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.createStringColumn( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-table.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-table.md index e1f2d16d17..88b50d22ad 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-table.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-table.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.createTable( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-url-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-url-column.md index b73dd29958..a0351e4f37 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-url-column.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create-url-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.createUrlColumn( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create.md index c9fcb5aa4e..4b025b853e 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/create.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.create( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/decrement-row-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/decrement-row-column.md index fe98e8ac6e..e284ec3980 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/decrement-row-column.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/decrement-row-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setSession("") // The user session to authenticate with -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.decrementRowColumn( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/delete-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/delete-column.md index d632c9f091..05d341d1b3 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/delete-column.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/delete-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.deleteColumn( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/delete-index.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/delete-index.md index 0057c39c47..b5f2330d60 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/delete-index.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/delete-index.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.deleteIndex( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/delete-row.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/delete-row.md index 652204753c..f24b9353e0 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/delete-row.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/delete-row.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setSession("") // The user session to authenticate with -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.deleteRow( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/delete-rows.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/delete-rows.md index 8bfe75e0ab..c915a5c55a 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/delete-rows.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/delete-rows.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.deleteRows( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/delete-table.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/delete-table.md index 94e9a44667..dce8e583ab 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/delete-table.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/delete-table.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.deleteTable( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/delete.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/delete.md index 9c121c9464..3e335fa264 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/delete.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/delete.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.delete( databaseId = "" diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/get-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/get-column.md index c21b7c9a0e..c4cf24dd1f 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/get-column.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/get-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.getColumn( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/get-index.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/get-index.md index 7986abb13e..4db254740a 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/get-index.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/get-index.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.getIndex( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/get-row.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/get-row.md index 039997c4e1..ec54631646 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/get-row.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/get-row.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setSession("") // The user session to authenticate with -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.getRow( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/get-table.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/get-table.md index 4b279bcae0..65afae84b3 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/get-table.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/get-table.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.getTable( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/get.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/get.md index 9e951cfad8..e58da26fdb 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/get.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/get.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.get( databaseId = "" diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/increment-row-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/increment-row-column.md index d88acda9bd..cac151e41b 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/increment-row-column.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/increment-row-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setSession("") // The user session to authenticate with -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.incrementRowColumn( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list-columns.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list-columns.md index 8b8f393c89..85a9aabb28 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list-columns.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list-columns.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.listColumns( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list-indexes.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list-indexes.md index 23d8590d1b..db5aad4e80 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list-indexes.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list-indexes.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.listIndexes( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list-rows.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list-rows.md index ebef0d72d2..b0f5df476b 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list-rows.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list-rows.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setSession("") // The user session to authenticate with -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.listRows( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list-tables.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list-tables.md index 7d6f72b9a4..1e8eb8f7c7 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list-tables.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list-tables.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.listTables( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list.md index 2c282dd50a..58b48a09ed 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/list.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.list( queries = listOf(), // optional diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-boolean-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-boolean-column.md index 9a4e9d19aa..43ab43bfea 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-boolean-column.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-boolean-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.updateBooleanColumn( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-datetime-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-datetime-column.md index 9ecfda822a..077cff7169 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-datetime-column.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-datetime-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.updateDatetimeColumn( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-email-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-email-column.md index 664c75842e..5becaa681d 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-email-column.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-email-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.updateEmailColumn( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-enum-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-enum-column.md index ae868a86c2..4351703edb 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-enum-column.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-enum-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.updateEnumColumn( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-float-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-float-column.md index b179fe7d8a..6d40c3f3a1 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-float-column.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-float-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.updateFloatColumn( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-integer-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-integer-column.md index 7bcd352f22..9d6bfaa635 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-integer-column.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-integer-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.updateIntegerColumn( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-ip-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-ip-column.md index 5a75824b12..fd04b98a13 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-ip-column.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-ip-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.updateIpColumn( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-relationship-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-relationship-column.md index f6660e5243..f69defd8ec 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-relationship-column.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-relationship-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.updateRelationshipColumn( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-row.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-row.md index 6040f503cd..9c5248f4e8 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-row.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-row.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setSession("") // The user session to authenticate with -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.updateRow( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-rows.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-rows.md index 0705cba6dc..c285d5b4fb 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-rows.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-rows.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.updateRows( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-string-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-string-column.md index aeaa5c1f54..acdd3ad5f9 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-string-column.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-string-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.updateStringColumn( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-table.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-table.md index 0f881f8beb..52389087e7 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-table.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-table.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.updateTable( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-url-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-url-column.md index 92c60e2ad3..fbe68c9a62 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-url-column.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update-url-column.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.updateUrlColumn( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update.md index a3239b847b..48d1a8e300 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/update.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.update( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/upsert-row.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/upsert-row.md index 88b4a48416..3fcbc61617 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/upsert-row.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setSession("") // The user session to authenticate with -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.upsertRow( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/upsert-rows.md b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/upsert-rows.md index 872737d72d..7059c6018b 100644 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/upsert-rows.md +++ b/docs/examples/1.8.x/server-kotlin/kotlin/tablesdb/upsert-rows.md @@ -1,13 +1,13 @@ import io.appwrite.Client import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.TablesDb +import io.appwrite.services.TablesDB val client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID .setKey("") // Your secret API key -val tablesDB = TablesDb(client) +val tablesDB = TablesDB(client) val response = tablesDB.upsertRows( databaseId = "", diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/users/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-kotlin/kotlin/users/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..7a0b1c61da --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/users/create-m-f-a-recovery-codes.md @@ -0,0 +1,14 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Users + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val users = Users(client) + +val response = users.createMFARecoveryCodes( + userId = "" +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/users/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/server-kotlin/kotlin/users/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..a7c80893bf --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/users/delete-m-f-a-authenticator.md @@ -0,0 +1,16 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Users +import io.appwrite.enums.AuthenticatorType + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val users = Users(client) + +val response = users.deleteMFAAuthenticator( + userId = "", + type = AuthenticatorType.TOTP +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/users/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-kotlin/kotlin/users/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..1ad9197585 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/users/get-m-f-a-recovery-codes.md @@ -0,0 +1,14 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Users + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val users = Users(client) + +val response = users.getMFARecoveryCodes( + userId = "" +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/users/list-m-f-a-factors.md b/docs/examples/1.8.x/server-kotlin/kotlin/users/list-m-f-a-factors.md new file mode 100644 index 0000000000..9d0791cf13 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/users/list-m-f-a-factors.md @@ -0,0 +1,14 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Users + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val users = Users(client) + +val response = users.listMFAFactors( + userId = "" +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/users/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-kotlin/kotlin/users/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..80b92b4565 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/users/update-m-f-a-recovery-codes.md @@ -0,0 +1,14 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Users + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val users = Users(client) + +val response = users.updateMFARecoveryCodes( + userId = "" +) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/users/update-m-f-a.md b/docs/examples/1.8.x/server-kotlin/kotlin/users/update-m-f-a.md new file mode 100644 index 0000000000..d2f448e086 --- /dev/null +++ b/docs/examples/1.8.x/server-kotlin/kotlin/users/update-m-f-a.md @@ -0,0 +1,15 @@ +import io.appwrite.Client +import io.appwrite.coroutines.CoroutineCallback +import io.appwrite.services.Users + +val client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +val users = Users(client) + +val response = users.updateMFA( + userId = "", + mfa = false +) diff --git a/docs/examples/1.8.x/server-nodejs/examples/account/create-m-f-a-authenticator.md b/docs/examples/1.8.x/server-nodejs/examples/account/create-m-f-a-authenticator.md new file mode 100644 index 0000000000..8dd6a599c0 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/account/create-m-f-a-authenticator.md @@ -0,0 +1,12 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +const account = new sdk.Account(client); + +const result = await account.createMFAAuthenticator({ + type: sdk.AuthenticatorType.Totp +}); diff --git a/docs/examples/1.8.x/server-nodejs/examples/account/create-m-f-a-challenge.md b/docs/examples/1.8.x/server-nodejs/examples/account/create-m-f-a-challenge.md new file mode 100644 index 0000000000..4195f46892 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/account/create-m-f-a-challenge.md @@ -0,0 +1,11 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject(''); // Your project ID + +const account = new sdk.Account(client); + +const result = await account.createMFAChallenge({ + factor: sdk.AuthenticationFactor.Email +}); diff --git a/docs/examples/1.8.x/server-nodejs/examples/account/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-nodejs/examples/account/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..1392f44399 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/account/create-m-f-a-recovery-codes.md @@ -0,0 +1,10 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +const account = new sdk.Account(client); + +const result = await account.createMFARecoveryCodes(); diff --git a/docs/examples/1.8.x/server-nodejs/examples/account/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/server-nodejs/examples/account/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..f3d8093ca2 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/account/delete-m-f-a-authenticator.md @@ -0,0 +1,12 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +const account = new sdk.Account(client); + +const result = await account.deleteMFAAuthenticator({ + type: sdk.AuthenticatorType.Totp +}); diff --git a/docs/examples/1.8.x/server-nodejs/examples/account/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-nodejs/examples/account/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..6461e6b586 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/account/get-m-f-a-recovery-codes.md @@ -0,0 +1,10 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +const account = new sdk.Account(client); + +const result = await account.getMFARecoveryCodes(); diff --git a/docs/examples/1.8.x/server-nodejs/examples/account/list-m-f-a-factors.md b/docs/examples/1.8.x/server-nodejs/examples/account/list-m-f-a-factors.md new file mode 100644 index 0000000000..97f7f5fbc7 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/account/list-m-f-a-factors.md @@ -0,0 +1,10 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +const account = new sdk.Account(client); + +const result = await account.listMFAFactors(); diff --git a/docs/examples/1.8.x/server-nodejs/examples/account/update-m-f-a-authenticator.md b/docs/examples/1.8.x/server-nodejs/examples/account/update-m-f-a-authenticator.md new file mode 100644 index 0000000000..18e15754bc --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/account/update-m-f-a-authenticator.md @@ -0,0 +1,13 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +const account = new sdk.Account(client); + +const result = await account.updateMFAAuthenticator({ + type: sdk.AuthenticatorType.Totp, + otp: '' +}); diff --git a/docs/examples/1.8.x/server-nodejs/examples/account/update-m-f-a-challenge.md b/docs/examples/1.8.x/server-nodejs/examples/account/update-m-f-a-challenge.md new file mode 100644 index 0000000000..4903e1e298 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/account/update-m-f-a-challenge.md @@ -0,0 +1,13 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +const account = new sdk.Account(client); + +const result = await account.updateMFAChallenge({ + challengeId: '', + otp: '' +}); diff --git a/docs/examples/1.8.x/server-nodejs/examples/account/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-nodejs/examples/account/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..fd5c1fd56d --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/account/update-m-f-a-recovery-codes.md @@ -0,0 +1,10 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setSession(''); // The user session to authenticate with + +const account = new sdk.Account(client); + +const result = await account.updateMFARecoveryCodes(); diff --git a/docs/examples/1.8.x/server-nodejs/examples/messaging/create-a-p-n-s-provider.md b/docs/examples/1.8.x/server-nodejs/examples/messaging/create-a-p-n-s-provider.md new file mode 100644 index 0000000000..a613b0b70e --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/messaging/create-a-p-n-s-provider.md @@ -0,0 +1,19 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const messaging = new sdk.Messaging(client); + +const result = await messaging.createAPNSProvider({ + providerId: '', + name: '', + authKey: '', + authKeyId: '', + teamId: '', + bundleId: '', + sandbox: false, + enabled: false +}); diff --git a/docs/examples/1.8.x/server-nodejs/examples/messaging/create-f-c-m-provider.md b/docs/examples/1.8.x/server-nodejs/examples/messaging/create-f-c-m-provider.md new file mode 100644 index 0000000000..8ae3cd919d --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/messaging/create-f-c-m-provider.md @@ -0,0 +1,15 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const messaging = new sdk.Messaging(client); + +const result = await messaging.createFCMProvider({ + providerId: '', + name: '', + serviceAccountJSON: {}, + enabled: false +}); diff --git a/docs/examples/1.8.x/server-nodejs/examples/messaging/create-s-m-s.md b/docs/examples/1.8.x/server-nodejs/examples/messaging/create-s-m-s.md new file mode 100644 index 0000000000..1180073ae3 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/messaging/create-s-m-s.md @@ -0,0 +1,18 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const messaging = new sdk.Messaging(client); + +const result = await messaging.createSMS({ + messageId: '', + content: '', + topics: [], + users: [], + targets: [], + draft: false, + scheduledAt: '' +}); diff --git a/docs/examples/1.8.x/server-nodejs/examples/messaging/create-s-m-t-p-provider.md b/docs/examples/1.8.x/server-nodejs/examples/messaging/create-s-m-t-p-provider.md new file mode 100644 index 0000000000..9a0094b579 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/messaging/create-s-m-t-p-provider.md @@ -0,0 +1,25 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const messaging = new sdk.Messaging(client); + +const result = await messaging.createSMTPProvider({ + providerId: '', + name: '', + host: '', + port: 1, + username: '', + password: '', + encryption: sdk.SmtpEncryption.None, + autoTLS: false, + mailer: '', + fromName: '', + fromEmail: 'email@example.com', + replyToName: '', + replyToEmail: 'email@example.com', + enabled: false +}); diff --git a/docs/examples/1.8.x/server-nodejs/examples/messaging/update-a-p-n-s-provider.md b/docs/examples/1.8.x/server-nodejs/examples/messaging/update-a-p-n-s-provider.md new file mode 100644 index 0000000000..47a83557db --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/messaging/update-a-p-n-s-provider.md @@ -0,0 +1,19 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const messaging = new sdk.Messaging(client); + +const result = await messaging.updateAPNSProvider({ + providerId: '', + name: '', + enabled: false, + authKey: '', + authKeyId: '', + teamId: '', + bundleId: '', + sandbox: false +}); diff --git a/docs/examples/1.8.x/server-nodejs/examples/messaging/update-f-c-m-provider.md b/docs/examples/1.8.x/server-nodejs/examples/messaging/update-f-c-m-provider.md new file mode 100644 index 0000000000..60e26b67ad --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/messaging/update-f-c-m-provider.md @@ -0,0 +1,15 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const messaging = new sdk.Messaging(client); + +const result = await messaging.updateFCMProvider({ + providerId: '', + name: '', + enabled: false, + serviceAccountJSON: {} +}); diff --git a/docs/examples/1.8.x/server-nodejs/examples/messaging/update-s-m-s.md b/docs/examples/1.8.x/server-nodejs/examples/messaging/update-s-m-s.md new file mode 100644 index 0000000000..fe9a52487d --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/messaging/update-s-m-s.md @@ -0,0 +1,18 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const messaging = new sdk.Messaging(client); + +const result = await messaging.updateSMS({ + messageId: '', + topics: [], + users: [], + targets: [], + content: '', + draft: false, + scheduledAt: '' +}); diff --git a/docs/examples/1.8.x/server-nodejs/examples/messaging/update-s-m-t-p-provider.md b/docs/examples/1.8.x/server-nodejs/examples/messaging/update-s-m-t-p-provider.md new file mode 100644 index 0000000000..254ef19d4e --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/messaging/update-s-m-t-p-provider.md @@ -0,0 +1,25 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const messaging = new sdk.Messaging(client); + +const result = await messaging.updateSMTPProvider({ + providerId: '', + name: '', + host: '', + port: 1, + username: '', + password: '', + encryption: sdk.SmtpEncryption.None, + autoTLS: false, + mailer: '', + fromName: '', + fromEmail: 'email@example.com', + replyToName: '', + replyToEmail: '', + enabled: false +}); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-boolean-column.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-boolean-column.md index 73afdbe7bb..c82083c4c7 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-boolean-column.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-boolean-column.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.createBooleanColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-datetime-column.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-datetime-column.md index 0bca502686..ed83c6c3f4 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-datetime-column.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-datetime-column.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.createDatetimeColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-email-column.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-email-column.md index 7c3c331f54..0732b1bcc7 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-email-column.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-email-column.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.createEmailColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-enum-column.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-enum-column.md index c0cefb661a..bd11c1ff48 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-enum-column.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-enum-column.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.createEnumColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-float-column.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-float-column.md index 2712e90986..119bfd1f49 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-float-column.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-float-column.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.createFloatColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-index.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-index.md index a845a1ff78..ee678b7fa7 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-index.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-index.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.createIndex({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-integer-column.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-integer-column.md index 78784908c1..fca25cde89 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-integer-column.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-integer-column.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.createIntegerColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-ip-column.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-ip-column.md index 9b6501fef1..f0e540ca47 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-ip-column.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-ip-column.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.createIpColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-relationship-column.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-relationship-column.md index 65b6e684cc..56c6666fbd 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-relationship-column.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-relationship-column.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.createRelationshipColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-row.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-row.md index 6b4f6612a4..c67399232a 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-row.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-row.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setSession(''); // The user session to authenticate with -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.createRow({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-rows.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-rows.md index f929495385..61eb1d1db8 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-rows.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-rows.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.createRows({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-string-column.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-string-column.md index 5ed0952e6d..2007f88d12 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-string-column.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-string-column.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.createStringColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-table.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-table.md index f84984dfaf..2820043e8b 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-table.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-table.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.createTable({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-url-column.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-url-column.md index 3ce201b846..fbe4191d42 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-url-column.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create-url-column.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.createUrlColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create.md index d5ca903039..75f8fb926a 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/create.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.create({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/decrement-row-column.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/decrement-row-column.md index 8b0bd92efa..dea448433e 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/decrement-row-column.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/decrement-row-column.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setSession(''); // The user session to authenticate with -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.decrementRowColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/delete-column.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/delete-column.md index 8e11795dc6..890393a252 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/delete-column.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/delete-column.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.deleteColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/delete-index.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/delete-index.md index 6e5ddab54c..472b5de8a1 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/delete-index.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/delete-index.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.deleteIndex({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/delete-row.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/delete-row.md index 7a8be24d58..9802f0d03e 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/delete-row.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/delete-row.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setSession(''); // The user session to authenticate with -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.deleteRow({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/delete-rows.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/delete-rows.md index ad5a8802d2..09e17fd742 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/delete-rows.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/delete-rows.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.deleteRows({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/delete-table.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/delete-table.md index 36f8153246..3c526e5d80 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/delete-table.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/delete-table.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.deleteTable({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/delete.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/delete.md index 910b0d7d61..351a40f518 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/delete.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/delete.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.delete({ databaseId: '' diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/get-column.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/get-column.md index 0d7492b8ca..66bde58144 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/get-column.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/get-column.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.getColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/get-index.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/get-index.md index 686531853a..6dfa7320b0 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/get-index.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/get-index.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.getIndex({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/get-row.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/get-row.md index 7b64b7fa2b..16006234ac 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/get-row.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/get-row.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setSession(''); // The user session to authenticate with -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.getRow({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/get-table.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/get-table.md index 5bf3ab9e43..6d14204d19 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/get-table.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/get-table.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.getTable({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/get.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/get.md index 4940ca8034..137296610b 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/get.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/get.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.get({ databaseId: '' diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/increment-row-column.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/increment-row-column.md index 9c995e4a44..748ef2bc04 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/increment-row-column.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/increment-row-column.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setSession(''); // The user session to authenticate with -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.incrementRowColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list-columns.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list-columns.md index 37d8c8d066..ff2b85ce07 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list-columns.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list-columns.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.listColumns({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list-indexes.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list-indexes.md index 02a1ec2611..44ff3b8c1c 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list-indexes.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list-indexes.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.listIndexes({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list-rows.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list-rows.md index 9d775bcdab..5f64243660 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list-rows.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list-rows.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setSession(''); // The user session to authenticate with -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.listRows({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list-tables.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list-tables.md index f7549ffe46..df14aa4c69 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list-tables.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list-tables.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.listTables({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list.md index a39515b114..16348c12ac 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/list.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.list({ queries: [], diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-boolean-column.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-boolean-column.md index aad425061a..f73740af6c 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-boolean-column.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-boolean-column.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.updateBooleanColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-datetime-column.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-datetime-column.md index c7a53661de..58ffe87316 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-datetime-column.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-datetime-column.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.updateDatetimeColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-email-column.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-email-column.md index 818ed49b6e..a56adef66f 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-email-column.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-email-column.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.updateEmailColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-enum-column.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-enum-column.md index b84deffd84..97d9b8e1a6 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-enum-column.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-enum-column.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.updateEnumColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-float-column.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-float-column.md index bb008a965a..c7259810b0 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-float-column.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-float-column.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.updateFloatColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-integer-column.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-integer-column.md index c0ce0a24e3..ee3a37a010 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-integer-column.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-integer-column.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.updateIntegerColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-ip-column.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-ip-column.md index 9a5c8bfc08..87d31f0861 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-ip-column.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-ip-column.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.updateIpColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-relationship-column.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-relationship-column.md index ba73767f31..848b1c3133 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-relationship-column.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-relationship-column.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.updateRelationshipColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-row.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-row.md index 58863d68b8..9b0c7ee1cf 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-row.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-row.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setSession(''); // The user session to authenticate with -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.updateRow({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-rows.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-rows.md index ade4de49fa..67f483150f 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-rows.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-rows.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.updateRows({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-string-column.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-string-column.md index 6e7de46061..fc73468009 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-string-column.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-string-column.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.updateStringColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-table.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-table.md index aa11cd890e..f4de8a5ada 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-table.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-table.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.updateTable({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-url-column.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-url-column.md index 3f40a47843..41eade2f56 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-url-column.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update-url-column.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.updateUrlColumn({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update.md index 1946a0b890..d4f17c3e8c 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/update.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.update({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/upsert-row.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/upsert-row.md index 7c826b98f1..20f33eff48 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/upsert-row.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setSession(''); // The user session to authenticate with -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.upsertRow({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/upsert-rows.md b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/upsert-rows.md index 598657e049..cca2b777bb 100644 --- a/docs/examples/1.8.x/server-nodejs/examples/tablesdb/upsert-rows.md +++ b/docs/examples/1.8.x/server-nodejs/examples/tablesdb/upsert-rows.md @@ -5,7 +5,7 @@ const client = new sdk.Client() .setProject('') // Your project ID .setKey(''); // Your secret API key -const tablesDB = new sdk.TablesDb(client); +const tablesDB = new sdk.TablesDB(client); const result = await tablesDB.upsertRows({ databaseId: '', diff --git a/docs/examples/1.8.x/server-nodejs/examples/users/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-nodejs/examples/users/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..5ebb6ac252 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/users/create-m-f-a-recovery-codes.md @@ -0,0 +1,12 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const users = new sdk.Users(client); + +const result = await users.createMFARecoveryCodes({ + userId: '' +}); diff --git a/docs/examples/1.8.x/server-nodejs/examples/users/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/server-nodejs/examples/users/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..16061c7aaa --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/users/delete-m-f-a-authenticator.md @@ -0,0 +1,13 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const users = new sdk.Users(client); + +const result = await users.deleteMFAAuthenticator({ + userId: '', + type: sdk.AuthenticatorType.Totp +}); diff --git a/docs/examples/1.8.x/server-nodejs/examples/users/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-nodejs/examples/users/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..25f4e0b34f --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/users/get-m-f-a-recovery-codes.md @@ -0,0 +1,12 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const users = new sdk.Users(client); + +const result = await users.getMFARecoveryCodes({ + userId: '' +}); diff --git a/docs/examples/1.8.x/server-nodejs/examples/users/list-m-f-a-factors.md b/docs/examples/1.8.x/server-nodejs/examples/users/list-m-f-a-factors.md new file mode 100644 index 0000000000..79ffcff7b2 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/users/list-m-f-a-factors.md @@ -0,0 +1,12 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const users = new sdk.Users(client); + +const result = await users.listMFAFactors({ + userId: '' +}); diff --git a/docs/examples/1.8.x/server-nodejs/examples/users/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-nodejs/examples/users/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..66513ae499 --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/users/update-m-f-a-recovery-codes.md @@ -0,0 +1,12 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const users = new sdk.Users(client); + +const result = await users.updateMFARecoveryCodes({ + userId: '' +}); diff --git a/docs/examples/1.8.x/server-nodejs/examples/users/update-m-f-a.md b/docs/examples/1.8.x/server-nodejs/examples/users/update-m-f-a.md new file mode 100644 index 0000000000..f867b0691b --- /dev/null +++ b/docs/examples/1.8.x/server-nodejs/examples/users/update-m-f-a.md @@ -0,0 +1,13 @@ +const sdk = require('node-appwrite'); + +const client = new sdk.Client() + .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + .setProject('') // Your project ID + .setKey(''); // Your secret API key + +const users = new sdk.Users(client); + +const result = await users.updateMFA({ + userId: '', + mfa: false +}); diff --git a/docs/examples/1.8.x/server-php/examples/account/create-m-f-a-authenticator.md b/docs/examples/1.8.x/server-php/examples/account/create-m-f-a-authenticator.md new file mode 100644 index 0000000000..2eb50c3f00 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/account/create-m-f-a-authenticator.md @@ -0,0 +1,16 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setSession(''); // The user session to authenticate with + +$account = new Account($client); + +$result = $account->createMFAAuthenticator( + type: AuthenticatorType::TOTP() +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/account/create-m-f-a-challenge.md b/docs/examples/1.8.x/server-php/examples/account/create-m-f-a-challenge.md new file mode 100644 index 0000000000..64471ef7e6 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/account/create-m-f-a-challenge.md @@ -0,0 +1,15 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject(''); // Your project ID + +$account = new Account($client); + +$result = $account->createMFAChallenge( + factor: AuthenticationFactor::EMAIL() +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/account/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-php/examples/account/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..031bc4dfa0 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/account/create-m-f-a-recovery-codes.md @@ -0,0 +1,13 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setSession(''); // The user session to authenticate with + +$account = new Account($client); + +$result = $account->createMFARecoveryCodes(); diff --git a/docs/examples/1.8.x/server-php/examples/account/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/server-php/examples/account/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..524b9b3ea5 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/account/delete-m-f-a-authenticator.md @@ -0,0 +1,16 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setSession(''); // The user session to authenticate with + +$account = new Account($client); + +$result = $account->deleteMFAAuthenticator( + type: AuthenticatorType::TOTP() +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/account/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-php/examples/account/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..fc5aef27b5 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/account/get-m-f-a-recovery-codes.md @@ -0,0 +1,13 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setSession(''); // The user session to authenticate with + +$account = new Account($client); + +$result = $account->getMFARecoveryCodes(); diff --git a/docs/examples/1.8.x/server-php/examples/account/list-m-f-a-factors.md b/docs/examples/1.8.x/server-php/examples/account/list-m-f-a-factors.md new file mode 100644 index 0000000000..f7b6e2620d --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/account/list-m-f-a-factors.md @@ -0,0 +1,13 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setSession(''); // The user session to authenticate with + +$account = new Account($client); + +$result = $account->listMFAFactors(); diff --git a/docs/examples/1.8.x/server-php/examples/account/update-m-f-a-authenticator.md b/docs/examples/1.8.x/server-php/examples/account/update-m-f-a-authenticator.md new file mode 100644 index 0000000000..8486e88cdd --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/account/update-m-f-a-authenticator.md @@ -0,0 +1,17 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setSession(''); // The user session to authenticate with + +$account = new Account($client); + +$result = $account->updateMFAAuthenticator( + type: AuthenticatorType::TOTP(), + otp: '' +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/account/update-m-f-a-challenge.md b/docs/examples/1.8.x/server-php/examples/account/update-m-f-a-challenge.md new file mode 100644 index 0000000000..e5821e55be --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/account/update-m-f-a-challenge.md @@ -0,0 +1,16 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setSession(''); // The user session to authenticate with + +$account = new Account($client); + +$result = $account->updateMFAChallenge( + challengeId: '', + otp: '' +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/account/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-php/examples/account/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..f57e490f3f --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/account/update-m-f-a-recovery-codes.md @@ -0,0 +1,13 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setSession(''); // The user session to authenticate with + +$account = new Account($client); + +$result = $account->updateMFARecoveryCodes(); diff --git a/docs/examples/1.8.x/server-php/examples/messaging/create-a-p-n-s-provider.md b/docs/examples/1.8.x/server-php/examples/messaging/create-a-p-n-s-provider.md new file mode 100644 index 0000000000..2ce4b7f95b --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/messaging/create-a-p-n-s-provider.md @@ -0,0 +1,22 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$messaging = new Messaging($client); + +$result = $messaging->createAPNSProvider( + providerId: '', + name: '', + authKey: '', // optional + authKeyId: '', // optional + teamId: '', // optional + bundleId: '', // optional + sandbox: false, // optional + enabled: false // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/messaging/create-f-c-m-provider.md b/docs/examples/1.8.x/server-php/examples/messaging/create-f-c-m-provider.md new file mode 100644 index 0000000000..8037c23197 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/messaging/create-f-c-m-provider.md @@ -0,0 +1,18 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$messaging = new Messaging($client); + +$result = $messaging->createFCMProvider( + providerId: '', + name: '', + serviceAccountJSON: [], // optional + enabled: false // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/messaging/create-s-m-s.md b/docs/examples/1.8.x/server-php/examples/messaging/create-s-m-s.md new file mode 100644 index 0000000000..50623b5b63 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/messaging/create-s-m-s.md @@ -0,0 +1,21 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$messaging = new Messaging($client); + +$result = $messaging->createSMS( + messageId: '', + content: '', + topics: [], // optional + users: [], // optional + targets: [], // optional + draft: false, // optional + scheduledAt: '' // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/messaging/create-s-m-t-p-provider.md b/docs/examples/1.8.x/server-php/examples/messaging/create-s-m-t-p-provider.md new file mode 100644 index 0000000000..017f20cc15 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/messaging/create-s-m-t-p-provider.md @@ -0,0 +1,28 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$messaging = new Messaging($client); + +$result = $messaging->createSMTPProvider( + providerId: '', + name: '', + host: '', + port: 1, // optional + username: '', // optional + password: '', // optional + encryption: SmtpEncryption::NONE(), // optional + autoTLS: false, // optional + mailer: '', // optional + fromName: '', // optional + fromEmail: 'email@example.com', // optional + replyToName: '', // optional + replyToEmail: 'email@example.com', // optional + enabled: false // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/messaging/update-a-p-n-s-provider.md b/docs/examples/1.8.x/server-php/examples/messaging/update-a-p-n-s-provider.md new file mode 100644 index 0000000000..161a148563 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/messaging/update-a-p-n-s-provider.md @@ -0,0 +1,22 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$messaging = new Messaging($client); + +$result = $messaging->updateAPNSProvider( + providerId: '', + name: '', // optional + enabled: false, // optional + authKey: '', // optional + authKeyId: '', // optional + teamId: '', // optional + bundleId: '', // optional + sandbox: false // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/messaging/update-f-c-m-provider.md b/docs/examples/1.8.x/server-php/examples/messaging/update-f-c-m-provider.md new file mode 100644 index 0000000000..0df2b93af6 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/messaging/update-f-c-m-provider.md @@ -0,0 +1,18 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$messaging = new Messaging($client); + +$result = $messaging->updateFCMProvider( + providerId: '', + name: '', // optional + enabled: false, // optional + serviceAccountJSON: [] // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/messaging/update-s-m-s.md b/docs/examples/1.8.x/server-php/examples/messaging/update-s-m-s.md new file mode 100644 index 0000000000..92d3ebbed7 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/messaging/update-s-m-s.md @@ -0,0 +1,21 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$messaging = new Messaging($client); + +$result = $messaging->updateSMS( + messageId: '', + topics: [], // optional + users: [], // optional + targets: [], // optional + content: '', // optional + draft: false, // optional + scheduledAt: '' // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/messaging/update-s-m-t-p-provider.md b/docs/examples/1.8.x/server-php/examples/messaging/update-s-m-t-p-provider.md new file mode 100644 index 0000000000..3bc80d2789 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/messaging/update-s-m-t-p-provider.md @@ -0,0 +1,28 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$messaging = new Messaging($client); + +$result = $messaging->updateSMTPProvider( + providerId: '', + name: '', // optional + host: '', // optional + port: 1, // optional + username: '', // optional + password: '', // optional + encryption: SmtpEncryption::NONE(), // optional + autoTLS: false, // optional + mailer: '', // optional + fromName: '', // optional + fromEmail: 'email@example.com', // optional + replyToName: '', // optional + replyToEmail: '', // optional + enabled: false // optional +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/create-boolean-column.md b/docs/examples/1.8.x/server-php/examples/tablesdb/create-boolean-column.md index bcf811dcce..5f0a2de34b 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/create-boolean-column.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/create-boolean-column.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->createBooleanColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/create-datetime-column.md b/docs/examples/1.8.x/server-php/examples/tablesdb/create-datetime-column.md index 9c0b99e3c5..9ea8e8f4d9 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/create-datetime-column.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/create-datetime-column.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->createDatetimeColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/create-email-column.md b/docs/examples/1.8.x/server-php/examples/tablesdb/create-email-column.md index 5237d75ff0..64f3a08299 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/create-email-column.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/create-email-column.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->createEmailColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/create-enum-column.md b/docs/examples/1.8.x/server-php/examples/tablesdb/create-enum-column.md index 2e318f2965..0506a3364a 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/create-enum-column.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/create-enum-column.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->createEnumColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/create-float-column.md b/docs/examples/1.8.x/server-php/examples/tablesdb/create-float-column.md index b2718f9e8a..65a7f00f8b 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/create-float-column.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/create-float-column.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->createFloatColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/create-index.md b/docs/examples/1.8.x/server-php/examples/tablesdb/create-index.md index 671d0b9913..1a3fd13007 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/create-index.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/create-index.md @@ -1,7 +1,7 @@ setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->createIndex( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/create-integer-column.md b/docs/examples/1.8.x/server-php/examples/tablesdb/create-integer-column.md index 845ef33dda..4bf96e8b93 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/create-integer-column.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/create-integer-column.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->createIntegerColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/create-ip-column.md b/docs/examples/1.8.x/server-php/examples/tablesdb/create-ip-column.md index f755d7f674..ab0032e449 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/create-ip-column.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/create-ip-column.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->createIpColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/create-relationship-column.md b/docs/examples/1.8.x/server-php/examples/tablesdb/create-relationship-column.md index fe79c9bb0b..031d1fd1aa 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/create-relationship-column.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/create-relationship-column.md @@ -1,7 +1,7 @@ setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->createRelationshipColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/create-row.md b/docs/examples/1.8.x/server-php/examples/tablesdb/create-row.md index 47cbd8460b..0002b79852 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/create-row.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/create-row.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setSession(''); // The user session to authenticate with -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->createRow( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/create-rows.md b/docs/examples/1.8.x/server-php/examples/tablesdb/create-rows.md index ab3a3132f7..011443859f 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/create-rows.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/create-rows.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->createRows( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/create-string-column.md b/docs/examples/1.8.x/server-php/examples/tablesdb/create-string-column.md index 4c666af8c7..22fc7ccf9d 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/create-string-column.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/create-string-column.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->createStringColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/create-table.md b/docs/examples/1.8.x/server-php/examples/tablesdb/create-table.md index ada0ba9287..46cf3885fb 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/create-table.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/create-table.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->createTable( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/create-url-column.md b/docs/examples/1.8.x/server-php/examples/tablesdb/create-url-column.md index 6ab42ca65c..fe25988a7e 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/create-url-column.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/create-url-column.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->createUrlColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/create.md b/docs/examples/1.8.x/server-php/examples/tablesdb/create.md index a11ea05cbd..c3c4faaf01 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/create.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/create.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->create( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/decrement-row-column.md b/docs/examples/1.8.x/server-php/examples/tablesdb/decrement-row-column.md index da58e364c9..a58bd71071 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/decrement-row-column.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/decrement-row-column.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setSession(''); // The user session to authenticate with -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->decrementRowColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/delete-column.md b/docs/examples/1.8.x/server-php/examples/tablesdb/delete-column.md index c1780eab52..dd99fabc09 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/delete-column.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/delete-column.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->deleteColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/delete-index.md b/docs/examples/1.8.x/server-php/examples/tablesdb/delete-index.md index bf9892af1f..1ef346fec3 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/delete-index.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/delete-index.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->deleteIndex( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/delete-row.md b/docs/examples/1.8.x/server-php/examples/tablesdb/delete-row.md index efc8ad43bc..4ffc112d66 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/delete-row.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/delete-row.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setSession(''); // The user session to authenticate with -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->deleteRow( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/delete-rows.md b/docs/examples/1.8.x/server-php/examples/tablesdb/delete-rows.md index 10bafa7f14..10a3c87ff2 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/delete-rows.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/delete-rows.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->deleteRows( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/delete-table.md b/docs/examples/1.8.x/server-php/examples/tablesdb/delete-table.md index 19f3affc24..3cbb35de68 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/delete-table.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/delete-table.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->deleteTable( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/delete.md b/docs/examples/1.8.x/server-php/examples/tablesdb/delete.md index 4fcb6a40bb..ea996e9b19 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/delete.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/delete.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->delete( databaseId: '' diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/get-column.md b/docs/examples/1.8.x/server-php/examples/tablesdb/get-column.md index 7bd8f75d54..d1705a4175 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/get-column.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/get-column.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->getColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/get-index.md b/docs/examples/1.8.x/server-php/examples/tablesdb/get-index.md index 006da829b1..0d67648151 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/get-index.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/get-index.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->getIndex( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/get-row.md b/docs/examples/1.8.x/server-php/examples/tablesdb/get-row.md index db4c6464cc..00ba9b65b5 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/get-row.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/get-row.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setSession(''); // The user session to authenticate with -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->getRow( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/get-table.md b/docs/examples/1.8.x/server-php/examples/tablesdb/get-table.md index 8fc5b580d4..ee8812f685 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/get-table.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/get-table.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->getTable( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/get.md b/docs/examples/1.8.x/server-php/examples/tablesdb/get.md index 5432f3e592..07f70987c5 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/get.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/get.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->get( databaseId: '' diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/increment-row-column.md b/docs/examples/1.8.x/server-php/examples/tablesdb/increment-row-column.md index 92b883fc71..d72a1e374f 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/increment-row-column.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/increment-row-column.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setSession(''); // The user session to authenticate with -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->incrementRowColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/list-columns.md b/docs/examples/1.8.x/server-php/examples/tablesdb/list-columns.md index 6df523260c..d12d52d4f8 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/list-columns.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/list-columns.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->listColumns( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/list-indexes.md b/docs/examples/1.8.x/server-php/examples/tablesdb/list-indexes.md index 0f53d8a711..cb51dbb5e3 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/list-indexes.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/list-indexes.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->listIndexes( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/list-rows.md b/docs/examples/1.8.x/server-php/examples/tablesdb/list-rows.md index 7cdc47cba7..c3b713703e 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/list-rows.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/list-rows.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setSession(''); // The user session to authenticate with -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->listRows( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/list-tables.md b/docs/examples/1.8.x/server-php/examples/tablesdb/list-tables.md index ca141f0f09..05f044bc72 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/list-tables.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/list-tables.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->listTables( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/list.md b/docs/examples/1.8.x/server-php/examples/tablesdb/list.md index ea320a05e4..c3f97c2330 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/list.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/list.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->list( queries: [], // optional diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/update-boolean-column.md b/docs/examples/1.8.x/server-php/examples/tablesdb/update-boolean-column.md index a219130bc8..0c735167cd 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/update-boolean-column.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/update-boolean-column.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->updateBooleanColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/update-datetime-column.md b/docs/examples/1.8.x/server-php/examples/tablesdb/update-datetime-column.md index f3bc01932a..52213c6e3c 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/update-datetime-column.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/update-datetime-column.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->updateDatetimeColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/update-email-column.md b/docs/examples/1.8.x/server-php/examples/tablesdb/update-email-column.md index 892d8b253c..d13de56b30 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/update-email-column.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/update-email-column.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->updateEmailColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/update-enum-column.md b/docs/examples/1.8.x/server-php/examples/tablesdb/update-enum-column.md index 9758c9e152..d54c0b38d0 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/update-enum-column.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/update-enum-column.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->updateEnumColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/update-float-column.md b/docs/examples/1.8.x/server-php/examples/tablesdb/update-float-column.md index 861301c25f..bb091abf94 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/update-float-column.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/update-float-column.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->updateFloatColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/update-integer-column.md b/docs/examples/1.8.x/server-php/examples/tablesdb/update-integer-column.md index 7bd361582a..2436bc2cee 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/update-integer-column.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/update-integer-column.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->updateIntegerColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/update-ip-column.md b/docs/examples/1.8.x/server-php/examples/tablesdb/update-ip-column.md index 08542a9741..aa97752a91 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/update-ip-column.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/update-ip-column.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->updateIpColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/update-relationship-column.md b/docs/examples/1.8.x/server-php/examples/tablesdb/update-relationship-column.md index db04a62542..834dc18cee 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/update-relationship-column.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/update-relationship-column.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->updateRelationshipColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/update-row.md b/docs/examples/1.8.x/server-php/examples/tablesdb/update-row.md index 8edfaea0f5..70e5d159fd 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/update-row.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/update-row.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setSession(''); // The user session to authenticate with -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->updateRow( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/update-rows.md b/docs/examples/1.8.x/server-php/examples/tablesdb/update-rows.md index 4fa6d6e25a..8a676289d2 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/update-rows.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/update-rows.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->updateRows( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/update-string-column.md b/docs/examples/1.8.x/server-php/examples/tablesdb/update-string-column.md index 956f57c8a9..eb1acc15ed 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/update-string-column.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/update-string-column.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->updateStringColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/update-table.md b/docs/examples/1.8.x/server-php/examples/tablesdb/update-table.md index 0fd306a1fd..294d8d6751 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/update-table.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/update-table.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->updateTable( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/update-url-column.md b/docs/examples/1.8.x/server-php/examples/tablesdb/update-url-column.md index 8379a2441a..b64b3024da 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/update-url-column.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/update-url-column.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->updateUrlColumn( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/update.md b/docs/examples/1.8.x/server-php/examples/tablesdb/update.md index 6b4039f880..106b75e2b2 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/update.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/update.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->update( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/upsert-row.md b/docs/examples/1.8.x/server-php/examples/tablesdb/upsert-row.md index 271f02d516..235f0e577b 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/upsert-row.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setSession(''); // The user session to authenticate with -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->upsertRow( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/tablesdb/upsert-rows.md b/docs/examples/1.8.x/server-php/examples/tablesdb/upsert-rows.md index 524fe7cf38..c1890f1ea3 100644 --- a/docs/examples/1.8.x/server-php/examples/tablesdb/upsert-rows.md +++ b/docs/examples/1.8.x/server-php/examples/tablesdb/upsert-rows.md @@ -1,14 +1,14 @@ setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key -$tablesDB = new TablesDb($client); +$tablesDB = new TablesDB($client); $result = $tablesDB->upsertRows( databaseId: '', diff --git a/docs/examples/1.8.x/server-php/examples/users/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-php/examples/users/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..ee96d2e277 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/users/create-m-f-a-recovery-codes.md @@ -0,0 +1,15 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$users = new Users($client); + +$result = $users->createMFARecoveryCodes( + userId: '' +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/users/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/server-php/examples/users/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..f2f08ec172 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/users/delete-m-f-a-authenticator.md @@ -0,0 +1,17 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$users = new Users($client); + +$result = $users->deleteMFAAuthenticator( + userId: '', + type: AuthenticatorType::TOTP() +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/users/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-php/examples/users/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..7937e6ad4b --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/users/get-m-f-a-recovery-codes.md @@ -0,0 +1,15 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$users = new Users($client); + +$result = $users->getMFARecoveryCodes( + userId: '' +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/users/list-m-f-a-factors.md b/docs/examples/1.8.x/server-php/examples/users/list-m-f-a-factors.md new file mode 100644 index 0000000000..5dae790c94 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/users/list-m-f-a-factors.md @@ -0,0 +1,15 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$users = new Users($client); + +$result = $users->listMFAFactors( + userId: '' +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/users/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-php/examples/users/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..8474755fd3 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/users/update-m-f-a-recovery-codes.md @@ -0,0 +1,15 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$users = new Users($client); + +$result = $users->updateMFARecoveryCodes( + userId: '' +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/users/update-m-f-a.md b/docs/examples/1.8.x/server-php/examples/users/update-m-f-a.md new file mode 100644 index 0000000000..c24916a680 --- /dev/null +++ b/docs/examples/1.8.x/server-php/examples/users/update-m-f-a.md @@ -0,0 +1,16 @@ +setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint + ->setProject('') // Your project ID + ->setKey(''); // Your secret API key + +$users = new Users($client); + +$result = $users->updateMFA( + userId: '', + mfa: false +); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-python/examples/account/create-m-f-a-authenticator.md b/docs/examples/1.8.x/server-python/examples/account/create-m-f-a-authenticator.md new file mode 100644 index 0000000000..70cee1d60c --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/account/create-m-f-a-authenticator.md @@ -0,0 +1,14 @@ +from appwrite.client import Client +from appwrite.services.account import Account +from appwrite.enums import AuthenticatorType + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_session('') # The user session to authenticate with + +account = Account(client) + +result = account.create_mfa_authenticator( + type = AuthenticatorType.TOTP +) diff --git a/docs/examples/1.8.x/server-python/examples/account/create-m-f-a-challenge.md b/docs/examples/1.8.x/server-python/examples/account/create-m-f-a-challenge.md new file mode 100644 index 0000000000..abd746c605 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/account/create-m-f-a-challenge.md @@ -0,0 +1,13 @@ +from appwrite.client import Client +from appwrite.services.account import Account +from appwrite.enums import AuthenticationFactor + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID + +account = Account(client) + +result = account.create_mfa_challenge( + factor = AuthenticationFactor.EMAIL +) diff --git a/docs/examples/1.8.x/server-python/examples/account/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-python/examples/account/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..69aaa6091f --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/account/create-m-f-a-recovery-codes.md @@ -0,0 +1,11 @@ +from appwrite.client import Client +from appwrite.services.account import Account + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_session('') # The user session to authenticate with + +account = Account(client) + +result = account.create_mfa_recovery_codes() diff --git a/docs/examples/1.8.x/server-python/examples/account/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/server-python/examples/account/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..83709c7aff --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/account/delete-m-f-a-authenticator.md @@ -0,0 +1,14 @@ +from appwrite.client import Client +from appwrite.services.account import Account +from appwrite.enums import AuthenticatorType + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_session('') # The user session to authenticate with + +account = Account(client) + +result = account.delete_mfa_authenticator( + type = AuthenticatorType.TOTP +) diff --git a/docs/examples/1.8.x/server-python/examples/account/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-python/examples/account/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..c8fe494d0f --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/account/get-m-f-a-recovery-codes.md @@ -0,0 +1,11 @@ +from appwrite.client import Client +from appwrite.services.account import Account + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_session('') # The user session to authenticate with + +account = Account(client) + +result = account.get_mfa_recovery_codes() diff --git a/docs/examples/1.8.x/server-python/examples/account/list-m-f-a-factors.md b/docs/examples/1.8.x/server-python/examples/account/list-m-f-a-factors.md new file mode 100644 index 0000000000..72a392465a --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/account/list-m-f-a-factors.md @@ -0,0 +1,11 @@ +from appwrite.client import Client +from appwrite.services.account import Account + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_session('') # The user session to authenticate with + +account = Account(client) + +result = account.list_mfa_factors() diff --git a/docs/examples/1.8.x/server-python/examples/account/update-m-f-a-authenticator.md b/docs/examples/1.8.x/server-python/examples/account/update-m-f-a-authenticator.md new file mode 100644 index 0000000000..d53607fe10 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/account/update-m-f-a-authenticator.md @@ -0,0 +1,15 @@ +from appwrite.client import Client +from appwrite.services.account import Account +from appwrite.enums import AuthenticatorType + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_session('') # The user session to authenticate with + +account = Account(client) + +result = account.update_mfa_authenticator( + type = AuthenticatorType.TOTP, + otp = '' +) diff --git a/docs/examples/1.8.x/server-python/examples/account/update-m-f-a-challenge.md b/docs/examples/1.8.x/server-python/examples/account/update-m-f-a-challenge.md new file mode 100644 index 0000000000..cfc58c58a2 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/account/update-m-f-a-challenge.md @@ -0,0 +1,14 @@ +from appwrite.client import Client +from appwrite.services.account import Account + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_session('') # The user session to authenticate with + +account = Account(client) + +result = account.update_mfa_challenge( + challenge_id = '', + otp = '' +) diff --git a/docs/examples/1.8.x/server-python/examples/account/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-python/examples/account/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..51718eb03a --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/account/update-m-f-a-recovery-codes.md @@ -0,0 +1,11 @@ +from appwrite.client import Client +from appwrite.services.account import Account + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_session('') # The user session to authenticate with + +account = Account(client) + +result = account.update_mfa_recovery_codes() diff --git a/docs/examples/1.8.x/server-python/examples/messaging/create-a-p-n-s-provider.md b/docs/examples/1.8.x/server-python/examples/messaging/create-a-p-n-s-provider.md new file mode 100644 index 0000000000..b57fa00f23 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/messaging/create-a-p-n-s-provider.md @@ -0,0 +1,20 @@ +from appwrite.client import Client +from appwrite.services.messaging import Messaging + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +messaging = Messaging(client) + +result = messaging.create_apns_provider( + provider_id = '', + name = '', + auth_key = '', # optional + auth_key_id = '', # optional + team_id = '', # optional + bundle_id = '', # optional + sandbox = False, # optional + enabled = False # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/messaging/create-f-c-m-provider.md b/docs/examples/1.8.x/server-python/examples/messaging/create-f-c-m-provider.md new file mode 100644 index 0000000000..9c40eb7828 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/messaging/create-f-c-m-provider.md @@ -0,0 +1,16 @@ +from appwrite.client import Client +from appwrite.services.messaging import Messaging + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +messaging = Messaging(client) + +result = messaging.create_fcm_provider( + provider_id = '', + name = '', + service_account_json = {}, # optional + enabled = False # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/messaging/create-s-m-s.md b/docs/examples/1.8.x/server-python/examples/messaging/create-s-m-s.md new file mode 100644 index 0000000000..d1c7b495b2 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/messaging/create-s-m-s.md @@ -0,0 +1,19 @@ +from appwrite.client import Client +from appwrite.services.messaging import Messaging + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +messaging = Messaging(client) + +result = messaging.create_sms( + message_id = '', + content = '', + topics = [], # optional + users = [], # optional + targets = [], # optional + draft = False, # optional + scheduled_at = '' # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/messaging/create-s-m-t-p-provider.md b/docs/examples/1.8.x/server-python/examples/messaging/create-s-m-t-p-provider.md new file mode 100644 index 0000000000..99914f0779 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/messaging/create-s-m-t-p-provider.md @@ -0,0 +1,26 @@ +from appwrite.client import Client +from appwrite.services.messaging import Messaging + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +messaging = Messaging(client) + +result = messaging.create_smtp_provider( + provider_id = '', + name = '', + host = '', + port = 1, # optional + username = '', # optional + password = '', # optional + encryption = SmtpEncryption.NONE, # optional + auto_tls = False, # optional + mailer = '', # optional + from_name = '', # optional + from_email = 'email@example.com', # optional + reply_to_name = '', # optional + reply_to_email = 'email@example.com', # optional + enabled = False # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/messaging/update-a-p-n-s-provider.md b/docs/examples/1.8.x/server-python/examples/messaging/update-a-p-n-s-provider.md new file mode 100644 index 0000000000..f695b61b8c --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/messaging/update-a-p-n-s-provider.md @@ -0,0 +1,20 @@ +from appwrite.client import Client +from appwrite.services.messaging import Messaging + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +messaging = Messaging(client) + +result = messaging.update_apns_provider( + provider_id = '', + name = '', # optional + enabled = False, # optional + auth_key = '', # optional + auth_key_id = '', # optional + team_id = '', # optional + bundle_id = '', # optional + sandbox = False # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/messaging/update-f-c-m-provider.md b/docs/examples/1.8.x/server-python/examples/messaging/update-f-c-m-provider.md new file mode 100644 index 0000000000..0119d71b4f --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/messaging/update-f-c-m-provider.md @@ -0,0 +1,16 @@ +from appwrite.client import Client +from appwrite.services.messaging import Messaging + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +messaging = Messaging(client) + +result = messaging.update_fcm_provider( + provider_id = '', + name = '', # optional + enabled = False, # optional + service_account_json = {} # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/messaging/update-s-m-s.md b/docs/examples/1.8.x/server-python/examples/messaging/update-s-m-s.md new file mode 100644 index 0000000000..2eec4e215b --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/messaging/update-s-m-s.md @@ -0,0 +1,19 @@ +from appwrite.client import Client +from appwrite.services.messaging import Messaging + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +messaging = Messaging(client) + +result = messaging.update_sms( + message_id = '', + topics = [], # optional + users = [], # optional + targets = [], # optional + content = '', # optional + draft = False, # optional + scheduled_at = '' # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/messaging/update-s-m-t-p-provider.md b/docs/examples/1.8.x/server-python/examples/messaging/update-s-m-t-p-provider.md new file mode 100644 index 0000000000..80019aad40 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/messaging/update-s-m-t-p-provider.md @@ -0,0 +1,26 @@ +from appwrite.client import Client +from appwrite.services.messaging import Messaging + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +messaging = Messaging(client) + +result = messaging.update_smtp_provider( + provider_id = '', + name = '', # optional + host = '', # optional + port = 1, # optional + username = '', # optional + password = '', # optional + encryption = SmtpEncryption.NONE, # optional + auto_tls = False, # optional + mailer = '', # optional + from_name = '', # optional + from_email = 'email@example.com', # optional + reply_to_name = '', # optional + reply_to_email = '', # optional + enabled = False # optional +) diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/create-boolean-column.md b/docs/examples/1.8.x/server-python/examples/tablesdb/create-boolean-column.md index bbcb2759b7..84702b4cac 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/create-boolean-column.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/create-boolean-column.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.create_boolean_column( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/create-datetime-column.md b/docs/examples/1.8.x/server-python/examples/tablesdb/create-datetime-column.md index 291f6cf4fa..d5d15905c5 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/create-datetime-column.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/create-datetime-column.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.create_datetime_column( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/create-email-column.md b/docs/examples/1.8.x/server-python/examples/tablesdb/create-email-column.md index 042ef85bb5..0e2ccb473a 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/create-email-column.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/create-email-column.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.create_email_column( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/create-enum-column.md b/docs/examples/1.8.x/server-python/examples/tablesdb/create-enum-column.md index c60fad94dd..c2268cb271 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/create-enum-column.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/create-enum-column.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.create_enum_column( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/create-float-column.md b/docs/examples/1.8.x/server-python/examples/tablesdb/create-float-column.md index b84b79cec5..9e35e838ca 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/create-float-column.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/create-float-column.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.create_float_column( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/create-index.md b/docs/examples/1.8.x/server-python/examples/tablesdb/create-index.md index 59f85315b6..e4aaa83e66 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/create-index.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/create-index.md @@ -1,5 +1,5 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB from appwrite.enums import IndexType client = Client() @@ -7,7 +7,7 @@ client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.create_index( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/create-integer-column.md b/docs/examples/1.8.x/server-python/examples/tablesdb/create-integer-column.md index d0701cd387..0cc20fcf83 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/create-integer-column.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/create-integer-column.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.create_integer_column( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/create-ip-column.md b/docs/examples/1.8.x/server-python/examples/tablesdb/create-ip-column.md index 0775c4ae4c..50aa028349 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/create-ip-column.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/create-ip-column.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.create_ip_column( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/create-relationship-column.md b/docs/examples/1.8.x/server-python/examples/tablesdb/create-relationship-column.md index bf77f479d9..16acbf8fb8 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/create-relationship-column.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/create-relationship-column.md @@ -1,5 +1,5 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB from appwrite.enums import RelationshipType client = Client() @@ -7,7 +7,7 @@ client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.create_relationship_column( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/create-row.md b/docs/examples/1.8.x/server-python/examples/tablesdb/create-row.md index 5cdb56993a..69fee14914 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/create-row.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/create-row.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_session('') # The user session to authenticate with -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.create_row( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/create-rows.md b/docs/examples/1.8.x/server-python/examples/tablesdb/create-rows.md index e6ecd3a33f..656a47aa0b 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/create-rows.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/create-rows.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.create_rows( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/create-string-column.md b/docs/examples/1.8.x/server-python/examples/tablesdb/create-string-column.md index 19e49f03fa..778a0b4e94 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/create-string-column.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/create-string-column.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.create_string_column( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/create-table.md b/docs/examples/1.8.x/server-python/examples/tablesdb/create-table.md index 3b3e5790b5..f258ed880c 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/create-table.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/create-table.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.create_table( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/create-url-column.md b/docs/examples/1.8.x/server-python/examples/tablesdb/create-url-column.md index 32d5eba5f1..b235cdfceb 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/create-url-column.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/create-url-column.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.create_url_column( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/create.md b/docs/examples/1.8.x/server-python/examples/tablesdb/create.md index 043ed4b471..9d64e9abf4 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/create.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/create.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.create( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/decrement-row-column.md b/docs/examples/1.8.x/server-python/examples/tablesdb/decrement-row-column.md index 1d5a03f029..096bc4dbaa 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/decrement-row-column.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/decrement-row-column.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_session('') # The user session to authenticate with -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.decrement_row_column( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/delete-column.md b/docs/examples/1.8.x/server-python/examples/tablesdb/delete-column.md index 1a134aff96..9014ccc93b 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/delete-column.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/delete-column.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.delete_column( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/delete-index.md b/docs/examples/1.8.x/server-python/examples/tablesdb/delete-index.md index 84045cfd4d..e19de0eba7 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/delete-index.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/delete-index.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.delete_index( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/delete-row.md b/docs/examples/1.8.x/server-python/examples/tablesdb/delete-row.md index 30fc8dcd03..569b607020 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/delete-row.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/delete-row.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_session('') # The user session to authenticate with -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.delete_row( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/delete-rows.md b/docs/examples/1.8.x/server-python/examples/tablesdb/delete-rows.md index 05eb0fcaf5..c3e836e7c6 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/delete-rows.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/delete-rows.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.delete_rows( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/delete-table.md b/docs/examples/1.8.x/server-python/examples/tablesdb/delete-table.md index b4728da8bb..a91b7bfb2c 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/delete-table.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/delete-table.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.delete_table( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/delete.md b/docs/examples/1.8.x/server-python/examples/tablesdb/delete.md index a56ce6fc07..5bdc7152d7 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/delete.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/delete.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.delete( database_id = '' diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/get-column.md b/docs/examples/1.8.x/server-python/examples/tablesdb/get-column.md index e3b76c6b12..57be1dfaa4 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/get-column.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/get-column.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.get_column( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/get-index.md b/docs/examples/1.8.x/server-python/examples/tablesdb/get-index.md index 5b7e6caca8..400bf71843 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/get-index.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/get-index.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.get_index( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/get-row.md b/docs/examples/1.8.x/server-python/examples/tablesdb/get-row.md index a18da4d05c..c806214297 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/get-row.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/get-row.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_session('') # The user session to authenticate with -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.get_row( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/get-table.md b/docs/examples/1.8.x/server-python/examples/tablesdb/get-table.md index 252df860ef..b28cd3d4b1 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/get-table.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/get-table.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.get_table( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/get.md b/docs/examples/1.8.x/server-python/examples/tablesdb/get.md index 93ce63c80a..6634350085 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/get.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/get.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.get( database_id = '' diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/increment-row-column.md b/docs/examples/1.8.x/server-python/examples/tablesdb/increment-row-column.md index af93969c1a..bcb88f7a31 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/increment-row-column.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/increment-row-column.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_session('') # The user session to authenticate with -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.increment_row_column( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/list-columns.md b/docs/examples/1.8.x/server-python/examples/tablesdb/list-columns.md index 207e367cba..a3179a9482 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/list-columns.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/list-columns.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.list_columns( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/list-indexes.md b/docs/examples/1.8.x/server-python/examples/tablesdb/list-indexes.md index 9f9f3e64b3..fe69041a34 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/list-indexes.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/list-indexes.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.list_indexes( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/list-rows.md b/docs/examples/1.8.x/server-python/examples/tablesdb/list-rows.md index 2ad2448a57..9ae7549fb0 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/list-rows.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/list-rows.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_session('') # The user session to authenticate with -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.list_rows( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/list-tables.md b/docs/examples/1.8.x/server-python/examples/tablesdb/list-tables.md index 8c61593c99..2fab0d3adb 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/list-tables.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/list-tables.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.list_tables( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/list.md b/docs/examples/1.8.x/server-python/examples/tablesdb/list.md index 27b2a36c51..43cee6a39a 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/list.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/list.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.list( queries = [], # optional diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/update-boolean-column.md b/docs/examples/1.8.x/server-python/examples/tablesdb/update-boolean-column.md index b343e67860..abe6b97b73 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/update-boolean-column.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/update-boolean-column.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.update_boolean_column( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/update-datetime-column.md b/docs/examples/1.8.x/server-python/examples/tablesdb/update-datetime-column.md index d6a8a7c210..1c150b50ac 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/update-datetime-column.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/update-datetime-column.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.update_datetime_column( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/update-email-column.md b/docs/examples/1.8.x/server-python/examples/tablesdb/update-email-column.md index 6150f3e7a8..96a56ec7ae 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/update-email-column.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/update-email-column.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.update_email_column( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/update-enum-column.md b/docs/examples/1.8.x/server-python/examples/tablesdb/update-enum-column.md index d856611112..f07b6286d4 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/update-enum-column.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/update-enum-column.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.update_enum_column( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/update-float-column.md b/docs/examples/1.8.x/server-python/examples/tablesdb/update-float-column.md index c6791f5a29..1dfcccde1b 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/update-float-column.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/update-float-column.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.update_float_column( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/update-integer-column.md b/docs/examples/1.8.x/server-python/examples/tablesdb/update-integer-column.md index 368c8a6f87..a38c4dadb5 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/update-integer-column.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/update-integer-column.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.update_integer_column( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/update-ip-column.md b/docs/examples/1.8.x/server-python/examples/tablesdb/update-ip-column.md index 9cefab7d10..780a2b027f 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/update-ip-column.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/update-ip-column.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.update_ip_column( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/update-relationship-column.md b/docs/examples/1.8.x/server-python/examples/tablesdb/update-relationship-column.md index e0c1545de6..1cb93dbdf2 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/update-relationship-column.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/update-relationship-column.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.update_relationship_column( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/update-row.md b/docs/examples/1.8.x/server-python/examples/tablesdb/update-row.md index 74f6a29232..86d0cf2b8a 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/update-row.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/update-row.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_session('') # The user session to authenticate with -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.update_row( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/update-rows.md b/docs/examples/1.8.x/server-python/examples/tablesdb/update-rows.md index 20dd803de7..386ddf8b88 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/update-rows.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/update-rows.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.update_rows( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/update-string-column.md b/docs/examples/1.8.x/server-python/examples/tablesdb/update-string-column.md index f2ec02e0c7..f5106ae7f0 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/update-string-column.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/update-string-column.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.update_string_column( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/update-table.md b/docs/examples/1.8.x/server-python/examples/tablesdb/update-table.md index b1c8718484..7e494f0c43 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/update-table.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/update-table.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.update_table( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/update-url-column.md b/docs/examples/1.8.x/server-python/examples/tablesdb/update-url-column.md index bd684f4436..6e6c722b9f 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/update-url-column.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/update-url-column.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.update_url_column( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/update.md b/docs/examples/1.8.x/server-python/examples/tablesdb/update.md index 7df2c022f9..15c4eb7b33 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/update.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/update.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.update( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/upsert-row.md b/docs/examples/1.8.x/server-python/examples/tablesdb/upsert-row.md index a1717b3154..068fded0c3 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/upsert-row.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_session('') # The user session to authenticate with -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.upsert_row( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/tablesdb/upsert-rows.md b/docs/examples/1.8.x/server-python/examples/tablesdb/upsert-rows.md index c4ee151b06..06436c0fa6 100644 --- a/docs/examples/1.8.x/server-python/examples/tablesdb/upsert-rows.md +++ b/docs/examples/1.8.x/server-python/examples/tablesdb/upsert-rows.md @@ -1,12 +1,12 @@ from appwrite.client import Client -from appwrite.services.tables_db import TablesDb +from appwrite.services.tables_db import TablesDB client = Client() client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key -tables_db = TablesDb(client) +tables_db = TablesDB(client) result = tables_db.upsert_rows( database_id = '', diff --git a/docs/examples/1.8.x/server-python/examples/users/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-python/examples/users/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..64a87c05ff --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/users/create-m-f-a-recovery-codes.md @@ -0,0 +1,13 @@ +from appwrite.client import Client +from appwrite.services.users import Users + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +users = Users(client) + +result = users.create_mfa_recovery_codes( + user_id = '' +) diff --git a/docs/examples/1.8.x/server-python/examples/users/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/server-python/examples/users/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..6472498344 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/users/delete-m-f-a-authenticator.md @@ -0,0 +1,15 @@ +from appwrite.client import Client +from appwrite.services.users import Users +from appwrite.enums import AuthenticatorType + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +users = Users(client) + +result = users.delete_mfa_authenticator( + user_id = '', + type = AuthenticatorType.TOTP +) diff --git a/docs/examples/1.8.x/server-python/examples/users/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-python/examples/users/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..bca43b08ec --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/users/get-m-f-a-recovery-codes.md @@ -0,0 +1,13 @@ +from appwrite.client import Client +from appwrite.services.users import Users + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +users = Users(client) + +result = users.get_mfa_recovery_codes( + user_id = '' +) diff --git a/docs/examples/1.8.x/server-python/examples/users/list-m-f-a-factors.md b/docs/examples/1.8.x/server-python/examples/users/list-m-f-a-factors.md new file mode 100644 index 0000000000..a2b59895e8 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/users/list-m-f-a-factors.md @@ -0,0 +1,13 @@ +from appwrite.client import Client +from appwrite.services.users import Users + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +users = Users(client) + +result = users.list_mfa_factors( + user_id = '' +) diff --git a/docs/examples/1.8.x/server-python/examples/users/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-python/examples/users/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..c0990e1ef7 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/users/update-m-f-a-recovery-codes.md @@ -0,0 +1,13 @@ +from appwrite.client import Client +from appwrite.services.users import Users + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +users = Users(client) + +result = users.update_mfa_recovery_codes( + user_id = '' +) diff --git a/docs/examples/1.8.x/server-python/examples/users/update-m-f-a.md b/docs/examples/1.8.x/server-python/examples/users/update-m-f-a.md new file mode 100644 index 0000000000..9b35701185 --- /dev/null +++ b/docs/examples/1.8.x/server-python/examples/users/update-m-f-a.md @@ -0,0 +1,14 @@ +from appwrite.client import Client +from appwrite.services.users import Users + +client = Client() +client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('') # Your project ID +client.set_key('') # Your secret API key + +users = Users(client) + +result = users.update_mfa( + user_id = '', + mfa = False +) diff --git a/docs/examples/1.8.x/server-rest/examples/account/create-m-f-a-authenticator.md b/docs/examples/1.8.x/server-rest/examples/account/create-m-f-a-authenticator.md new file mode 100644 index 0000000000..62a068b6cf --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/account/create-m-f-a-authenticator.md @@ -0,0 +1,8 @@ +POST /v1/account/mfa/authenticators/{type} HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: + diff --git a/docs/examples/1.8.x/server-rest/examples/account/create-m-f-a-challenge.md b/docs/examples/1.8.x/server-rest/examples/account/create-m-f-a-challenge.md new file mode 100644 index 0000000000..dd5ef4c731 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/account/create-m-f-a-challenge.md @@ -0,0 +1,9 @@ +POST /v1/account/mfa/challenge HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: + +{ + "factor": "email" +} diff --git a/docs/examples/1.8.x/server-rest/examples/account/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-rest/examples/account/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..f09323df0b --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/account/create-m-f-a-recovery-codes.md @@ -0,0 +1,8 @@ +POST /v1/account/mfa/recovery-codes HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: + diff --git a/docs/examples/1.8.x/server-rest/examples/account/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/server-rest/examples/account/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..a0eb5a0869 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/account/delete-m-f-a-authenticator.md @@ -0,0 +1,8 @@ +DELETE /v1/account/mfa/authenticators/{type} HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: + diff --git a/docs/examples/1.8.x/server-rest/examples/account/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-rest/examples/account/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..2ab10a2475 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/account/get-m-f-a-recovery-codes.md @@ -0,0 +1,6 @@ +GET /v1/account/mfa/recovery-codes HTTP/1.1 +Host: cloud.appwrite.io +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/server-rest/examples/account/list-m-f-a-factors.md b/docs/examples/1.8.x/server-rest/examples/account/list-m-f-a-factors.md new file mode 100644 index 0000000000..c591143d4e --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/account/list-m-f-a-factors.md @@ -0,0 +1,6 @@ +GET /v1/account/mfa/factors HTTP/1.1 +Host: cloud.appwrite.io +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/server-rest/examples/account/update-m-f-a-authenticator.md b/docs/examples/1.8.x/server-rest/examples/account/update-m-f-a-authenticator.md new file mode 100644 index 0000000000..780472291c --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/account/update-m-f-a-authenticator.md @@ -0,0 +1,11 @@ +PUT /v1/account/mfa/authenticators/{type} HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: + +{ + "otp": "" +} diff --git a/docs/examples/1.8.x/server-rest/examples/account/update-m-f-a-challenge.md b/docs/examples/1.8.x/server-rest/examples/account/update-m-f-a-challenge.md new file mode 100644 index 0000000000..b6a7e92b28 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/account/update-m-f-a-challenge.md @@ -0,0 +1,12 @@ +PUT /v1/account/mfa/challenge HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: + +{ + "challengeId": "", + "otp": "" +} diff --git a/docs/examples/1.8.x/server-rest/examples/account/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-rest/examples/account/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..74e9225f3e --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/account/update-m-f-a-recovery-codes.md @@ -0,0 +1,8 @@ +PATCH /v1/account/mfa/recovery-codes HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Session: +X-Appwrite-JWT: + diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/create-a-p-n-s-provider.md b/docs/examples/1.8.x/server-rest/examples/messaging/create-a-p-n-s-provider.md new file mode 100644 index 0000000000..47d3b98615 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/messaging/create-a-p-n-s-provider.md @@ -0,0 +1,17 @@ +POST /v1/messaging/providers/apns HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "providerId": "", + "name": "", + "authKey": "", + "authKeyId": "", + "teamId": "", + "bundleId": "", + "sandbox": false, + "enabled": false +} diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/create-f-c-m-provider.md b/docs/examples/1.8.x/server-rest/examples/messaging/create-f-c-m-provider.md new file mode 100644 index 0000000000..f234c80e6e --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/messaging/create-f-c-m-provider.md @@ -0,0 +1,13 @@ +POST /v1/messaging/providers/fcm HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "providerId": "", + "name": "", + "serviceAccountJSON": {}, + "enabled": false +} diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/create-s-m-s.md b/docs/examples/1.8.x/server-rest/examples/messaging/create-s-m-s.md new file mode 100644 index 0000000000..82926e2a82 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/messaging/create-s-m-s.md @@ -0,0 +1,16 @@ +POST /v1/messaging/messages/sms HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "messageId": "", + "content": "", + "topics": [], + "users": [], + "targets": [], + "draft": false, + "scheduledAt": +} diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/create-s-m-t-p-provider.md b/docs/examples/1.8.x/server-rest/examples/messaging/create-s-m-t-p-provider.md new file mode 100644 index 0000000000..5963ee474c --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/messaging/create-s-m-t-p-provider.md @@ -0,0 +1,23 @@ +POST /v1/messaging/providers/smtp HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "providerId": "", + "name": "", + "host": "", + "port": 1, + "username": "", + "password": "", + "encryption": "none", + "autoTLS": false, + "mailer": "", + "fromName": "", + "fromEmail": "email@example.com", + "replyToName": "", + "replyToEmail": "email@example.com", + "enabled": false +} diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/update-a-p-n-s-provider.md b/docs/examples/1.8.x/server-rest/examples/messaging/update-a-p-n-s-provider.md new file mode 100644 index 0000000000..a55c593039 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/messaging/update-a-p-n-s-provider.md @@ -0,0 +1,16 @@ +PATCH /v1/messaging/providers/apns/{providerId} HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "name": "", + "enabled": false, + "authKey": "", + "authKeyId": "", + "teamId": "", + "bundleId": "", + "sandbox": false +} diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/update-f-c-m-provider.md b/docs/examples/1.8.x/server-rest/examples/messaging/update-f-c-m-provider.md new file mode 100644 index 0000000000..d485981c5b --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/messaging/update-f-c-m-provider.md @@ -0,0 +1,12 @@ +PATCH /v1/messaging/providers/fcm/{providerId} HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "name": "", + "enabled": false, + "serviceAccountJSON": {} +} diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/update-s-m-s.md b/docs/examples/1.8.x/server-rest/examples/messaging/update-s-m-s.md new file mode 100644 index 0000000000..a917e270f7 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/messaging/update-s-m-s.md @@ -0,0 +1,15 @@ +PATCH /v1/messaging/messages/sms/{messageId} HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "topics": [], + "users": [], + "targets": [], + "content": "", + "draft": false, + "scheduledAt": +} diff --git a/docs/examples/1.8.x/server-rest/examples/messaging/update-s-m-t-p-provider.md b/docs/examples/1.8.x/server-rest/examples/messaging/update-s-m-t-p-provider.md new file mode 100644 index 0000000000..9fc45d6726 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/messaging/update-s-m-t-p-provider.md @@ -0,0 +1,22 @@ +PATCH /v1/messaging/providers/smtp/{providerId} HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "name": "", + "host": "", + "port": 1, + "username": "", + "password": "", + "encryption": "none", + "autoTLS": false, + "mailer": "", + "fromName": "", + "fromEmail": "email@example.com", + "replyToName": "", + "replyToEmail": "", + "enabled": false +} diff --git a/docs/examples/1.8.x/server-rest/examples/users/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-rest/examples/users/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..bef314b585 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/users/create-m-f-a-recovery-codes.md @@ -0,0 +1,7 @@ +PATCH /v1/users/{userId}/mfa/recovery-codes HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + diff --git a/docs/examples/1.8.x/server-rest/examples/users/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/server-rest/examples/users/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..92d51fefb5 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/users/delete-m-f-a-authenticator.md @@ -0,0 +1,7 @@ +DELETE /v1/users/{userId}/mfa/authenticators/{type} HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + diff --git a/docs/examples/1.8.x/server-rest/examples/users/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-rest/examples/users/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..1f561f02ad --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/users/get-m-f-a-recovery-codes.md @@ -0,0 +1,5 @@ +GET /v1/users/{userId}/mfa/recovery-codes HTTP/1.1 +Host: cloud.appwrite.io +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/list-m-f-a-factors.md b/docs/examples/1.8.x/server-rest/examples/users/list-m-f-a-factors.md new file mode 100644 index 0000000000..eb2d3691de --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/users/list-m-f-a-factors.md @@ -0,0 +1,5 @@ +GET /v1/users/{userId}/mfa/factors HTTP/1.1 +Host: cloud.appwrite.io +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/users/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-rest/examples/users/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..91e657aec7 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/users/update-m-f-a-recovery-codes.md @@ -0,0 +1,7 @@ +PUT /v1/users/{userId}/mfa/recovery-codes HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + diff --git a/docs/examples/1.8.x/server-rest/examples/users/update-m-f-a.md b/docs/examples/1.8.x/server-rest/examples/users/update-m-f-a.md new file mode 100644 index 0000000000..8a5d1f5052 --- /dev/null +++ b/docs/examples/1.8.x/server-rest/examples/users/update-m-f-a.md @@ -0,0 +1,10 @@ +PATCH /v1/users/{userId}/mfa HTTP/1.1 +Host: cloud.appwrite.io +Content-Type: application/json +X-Appwrite-Response-Format: 1.8.0 +X-Appwrite-Project: +X-Appwrite-Key: + +{ + "mfa": false +} diff --git a/docs/examples/1.8.x/server-ruby/examples/account/create-m-f-a-authenticator.md b/docs/examples/1.8.x/server-ruby/examples/account/create-m-f-a-authenticator.md new file mode 100644 index 0000000000..a3cc71cd8a --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/account/create-m-f-a-authenticator.md @@ -0,0 +1,15 @@ +require 'appwrite' + +include Appwrite +include Appwrite::Enums + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_session('') # The user session to authenticate with + +account = Account.new(client) + +result = account.create_mfa_authenticator( + type: AuthenticatorType::TOTP +) diff --git a/docs/examples/1.8.x/server-ruby/examples/account/create-m-f-a-challenge.md b/docs/examples/1.8.x/server-ruby/examples/account/create-m-f-a-challenge.md new file mode 100644 index 0000000000..ba34779ad2 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/account/create-m-f-a-challenge.md @@ -0,0 +1,14 @@ +require 'appwrite' + +include Appwrite +include Appwrite::Enums + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + +account = Account.new(client) + +result = account.create_mfa_challenge( + factor: AuthenticationFactor::EMAIL +) diff --git a/docs/examples/1.8.x/server-ruby/examples/account/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-ruby/examples/account/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..db91cf533d --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/account/create-m-f-a-recovery-codes.md @@ -0,0 +1,12 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_session('') # The user session to authenticate with + +account = Account.new(client) + +result = account.create_mfa_recovery_codes() diff --git a/docs/examples/1.8.x/server-ruby/examples/account/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/server-ruby/examples/account/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..832ff6ae13 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/account/delete-m-f-a-authenticator.md @@ -0,0 +1,15 @@ +require 'appwrite' + +include Appwrite +include Appwrite::Enums + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_session('') # The user session to authenticate with + +account = Account.new(client) + +result = account.delete_mfa_authenticator( + type: AuthenticatorType::TOTP +) diff --git a/docs/examples/1.8.x/server-ruby/examples/account/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-ruby/examples/account/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..26ffa9d61d --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/account/get-m-f-a-recovery-codes.md @@ -0,0 +1,12 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_session('') # The user session to authenticate with + +account = Account.new(client) + +result = account.get_mfa_recovery_codes() diff --git a/docs/examples/1.8.x/server-ruby/examples/account/list-m-f-a-factors.md b/docs/examples/1.8.x/server-ruby/examples/account/list-m-f-a-factors.md new file mode 100644 index 0000000000..460ac87ac1 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/account/list-m-f-a-factors.md @@ -0,0 +1,12 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_session('') # The user session to authenticate with + +account = Account.new(client) + +result = account.list_mfa_factors() diff --git a/docs/examples/1.8.x/server-ruby/examples/account/update-m-f-a-authenticator.md b/docs/examples/1.8.x/server-ruby/examples/account/update-m-f-a-authenticator.md new file mode 100644 index 0000000000..5ff2adcbdc --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/account/update-m-f-a-authenticator.md @@ -0,0 +1,16 @@ +require 'appwrite' + +include Appwrite +include Appwrite::Enums + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_session('') # The user session to authenticate with + +account = Account.new(client) + +result = account.update_mfa_authenticator( + type: AuthenticatorType::TOTP, + otp: '' +) diff --git a/docs/examples/1.8.x/server-ruby/examples/account/update-m-f-a-challenge.md b/docs/examples/1.8.x/server-ruby/examples/account/update-m-f-a-challenge.md new file mode 100644 index 0000000000..2f4b61d581 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/account/update-m-f-a-challenge.md @@ -0,0 +1,15 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_session('') # The user session to authenticate with + +account = Account.new(client) + +result = account.update_mfa_challenge( + challenge_id: '', + otp: '' +) diff --git a/docs/examples/1.8.x/server-ruby/examples/account/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-ruby/examples/account/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..ad1f2e5f0e --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/account/update-m-f-a-recovery-codes.md @@ -0,0 +1,12 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_session('') # The user session to authenticate with + +account = Account.new(client) + +result = account.update_mfa_recovery_codes() diff --git a/docs/examples/1.8.x/server-ruby/examples/messaging/create-a-p-n-s-provider.md b/docs/examples/1.8.x/server-ruby/examples/messaging/create-a-p-n-s-provider.md new file mode 100644 index 0000000000..a280340847 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/messaging/create-a-p-n-s-provider.md @@ -0,0 +1,21 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +messaging = Messaging.new(client) + +result = messaging.create_apns_provider( + provider_id: '', + name: '', + auth_key: '', # optional + auth_key_id: '', # optional + team_id: '', # optional + bundle_id: '', # optional + sandbox: false, # optional + enabled: false # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/messaging/create-f-c-m-provider.md b/docs/examples/1.8.x/server-ruby/examples/messaging/create-f-c-m-provider.md new file mode 100644 index 0000000000..a1e8b67b51 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/messaging/create-f-c-m-provider.md @@ -0,0 +1,17 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +messaging = Messaging.new(client) + +result = messaging.create_fcm_provider( + provider_id: '', + name: '', + service_account_json: {}, # optional + enabled: false # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/messaging/create-s-m-s.md b/docs/examples/1.8.x/server-ruby/examples/messaging/create-s-m-s.md new file mode 100644 index 0000000000..901ec40c05 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/messaging/create-s-m-s.md @@ -0,0 +1,20 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +messaging = Messaging.new(client) + +result = messaging.create_sms( + message_id: '', + content: '', + topics: [], # optional + users: [], # optional + targets: [], # optional + draft: false, # optional + scheduled_at: '' # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/messaging/create-s-m-t-p-provider.md b/docs/examples/1.8.x/server-ruby/examples/messaging/create-s-m-t-p-provider.md new file mode 100644 index 0000000000..b062e574b4 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/messaging/create-s-m-t-p-provider.md @@ -0,0 +1,27 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +messaging = Messaging.new(client) + +result = messaging.create_smtp_provider( + provider_id: '', + name: '', + host: '', + port: 1, # optional + username: '', # optional + password: '', # optional + encryption: SmtpEncryption::NONE, # optional + auto_tls: false, # optional + mailer: '', # optional + from_name: '', # optional + from_email: 'email@example.com', # optional + reply_to_name: '', # optional + reply_to_email: 'email@example.com', # optional + enabled: false # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/messaging/update-a-p-n-s-provider.md b/docs/examples/1.8.x/server-ruby/examples/messaging/update-a-p-n-s-provider.md new file mode 100644 index 0000000000..b19704aaed --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/messaging/update-a-p-n-s-provider.md @@ -0,0 +1,21 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +messaging = Messaging.new(client) + +result = messaging.update_apns_provider( + provider_id: '', + name: '', # optional + enabled: false, # optional + auth_key: '', # optional + auth_key_id: '', # optional + team_id: '', # optional + bundle_id: '', # optional + sandbox: false # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/messaging/update-f-c-m-provider.md b/docs/examples/1.8.x/server-ruby/examples/messaging/update-f-c-m-provider.md new file mode 100644 index 0000000000..44ea0d28de --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/messaging/update-f-c-m-provider.md @@ -0,0 +1,17 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +messaging = Messaging.new(client) + +result = messaging.update_fcm_provider( + provider_id: '', + name: '', # optional + enabled: false, # optional + service_account_json: {} # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/messaging/update-s-m-s.md b/docs/examples/1.8.x/server-ruby/examples/messaging/update-s-m-s.md new file mode 100644 index 0000000000..b31480c1a0 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/messaging/update-s-m-s.md @@ -0,0 +1,20 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +messaging = Messaging.new(client) + +result = messaging.update_sms( + message_id: '', + topics: [], # optional + users: [], # optional + targets: [], # optional + content: '', # optional + draft: false, # optional + scheduled_at: '' # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/messaging/update-s-m-t-p-provider.md b/docs/examples/1.8.x/server-ruby/examples/messaging/update-s-m-t-p-provider.md new file mode 100644 index 0000000000..bbaebf3c32 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/messaging/update-s-m-t-p-provider.md @@ -0,0 +1,27 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +messaging = Messaging.new(client) + +result = messaging.update_smtp_provider( + provider_id: '', + name: '', # optional + host: '', # optional + port: 1, # optional + username: '', # optional + password: '', # optional + encryption: SmtpEncryption::NONE, # optional + auto_tls: false, # optional + mailer: '', # optional + from_name: '', # optional + from_email: 'email@example.com', # optional + reply_to_name: '', # optional + reply_to_email: '', # optional + enabled: false # optional +) diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-boolean-column.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-boolean-column.md index b99f02afc1..99dfb41271 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-boolean-column.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-boolean-column.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.create_boolean_column( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-datetime-column.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-datetime-column.md index bf64312cbf..f53b5ef3c6 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-datetime-column.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-datetime-column.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.create_datetime_column( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-email-column.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-email-column.md index e1eb403c9d..0a1ea924a6 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-email-column.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-email-column.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.create_email_column( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-enum-column.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-enum-column.md index f3d35ea49c..0586dd8c58 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-enum-column.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-enum-column.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.create_enum_column( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-float-column.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-float-column.md index 9366125038..88a0384ceb 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-float-column.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-float-column.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.create_float_column( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-index.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-index.md index f1f2ab7262..f7c2d0e4e1 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-index.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-index.md @@ -8,7 +8,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.create_index( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-integer-column.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-integer-column.md index 3a569274cd..4b9690eb96 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-integer-column.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-integer-column.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.create_integer_column( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-ip-column.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-ip-column.md index 056c2fc417..1e32122706 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-ip-column.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-ip-column.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.create_ip_column( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-relationship-column.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-relationship-column.md index e73865be07..1c5a935e68 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-relationship-column.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-relationship-column.md @@ -8,7 +8,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.create_relationship_column( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-row.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-row.md index 02249a8a03..5b66bc4cf4 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-row.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-row.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_session('') # The user session to authenticate with -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.create_row( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-rows.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-rows.md index b3ece4679d..f258d4d36f 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-rows.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-rows.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.create_rows( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-string-column.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-string-column.md index 2824acf71a..8167289d30 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-string-column.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-string-column.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.create_string_column( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-table.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-table.md index c1bf18fcb6..c8fcf477b3 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-table.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-table.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.create_table( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-url-column.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-url-column.md index b6e16926d8..fc2159faf1 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-url-column.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/create-url-column.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.create_url_column( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/create.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/create.md index bc0b1b35ae..76346f5833 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/create.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/create.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.create( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/decrement-row-column.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/decrement-row-column.md index e4d2fafaa0..21439740ed 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/decrement-row-column.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/decrement-row-column.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_session('') # The user session to authenticate with -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.decrement_row_column( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/delete-column.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/delete-column.md index 4e161b072c..d9d9c2f0e9 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/delete-column.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/delete-column.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.delete_column( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/delete-index.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/delete-index.md index 46d8b14b3d..5998633cc5 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/delete-index.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/delete-index.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.delete_index( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/delete-row.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/delete-row.md index 39bb574399..704f52fc39 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/delete-row.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/delete-row.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_session('') # The user session to authenticate with -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.delete_row( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/delete-rows.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/delete-rows.md index 3a68fa6264..5b15c1748a 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/delete-rows.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/delete-rows.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.delete_rows( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/delete-table.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/delete-table.md index c73576cf21..2c955aed29 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/delete-table.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/delete-table.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.delete_table( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/delete.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/delete.md index eff1b61e93..3c4371c7fa 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/delete.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/delete.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.delete( database_id: '' diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/get-column.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/get-column.md index 7a07b65011..b231f2d91b 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/get-column.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/get-column.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.get_column( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/get-index.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/get-index.md index af4f38b93f..eb010e7111 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/get-index.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/get-index.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.get_index( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/get-row.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/get-row.md index 04910f45fe..621c2e12f6 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/get-row.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/get-row.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_session('') # The user session to authenticate with -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.get_row( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/get-table.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/get-table.md index 2f85cbf9e8..35843569f8 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/get-table.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/get-table.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.get_table( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/get.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/get.md index dbe10327b7..e8067bc0e3 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/get.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/get.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.get( database_id: '' diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/increment-row-column.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/increment-row-column.md index d913ecaed4..bf9b6cc230 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/increment-row-column.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/increment-row-column.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_session('') # The user session to authenticate with -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.increment_row_column( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/list-columns.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/list-columns.md index 84deaf4647..f3f0165289 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/list-columns.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/list-columns.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.list_columns( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/list-indexes.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/list-indexes.md index 0f171d9689..85e343fa22 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/list-indexes.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/list-indexes.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.list_indexes( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/list-rows.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/list-rows.md index cfe378f448..af971fbe10 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/list-rows.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/list-rows.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_session('') # The user session to authenticate with -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.list_rows( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/list-tables.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/list-tables.md index 29e3f519a0..a2ec4cda68 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/list-tables.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/list-tables.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.list_tables( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/list.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/list.md index 4f9ec05f82..ca0d4645e2 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/list.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/list.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.list( queries: [], # optional diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-boolean-column.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-boolean-column.md index 2864d58bf9..d048d76410 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-boolean-column.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-boolean-column.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.update_boolean_column( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-datetime-column.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-datetime-column.md index 96969f40d6..13bad26f00 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-datetime-column.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-datetime-column.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.update_datetime_column( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-email-column.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-email-column.md index 583c40e7b3..e5c97a5d10 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-email-column.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-email-column.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.update_email_column( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-enum-column.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-enum-column.md index 1603243081..4ae45749c4 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-enum-column.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-enum-column.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.update_enum_column( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-float-column.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-float-column.md index 5e2a76cf3d..5eb175fe6a 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-float-column.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-float-column.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.update_float_column( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-integer-column.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-integer-column.md index cc68bc8980..e32e1d4348 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-integer-column.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-integer-column.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.update_integer_column( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-ip-column.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-ip-column.md index b7d7e342c7..aae8ce9dc6 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-ip-column.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-ip-column.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.update_ip_column( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-relationship-column.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-relationship-column.md index 6436843417..3951cbc047 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-relationship-column.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-relationship-column.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.update_relationship_column( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-row.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-row.md index eeb4eecf71..7a48c5e3f6 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-row.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-row.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_session('') # The user session to authenticate with -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.update_row( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-rows.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-rows.md index 5084a70b73..7316241139 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-rows.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-rows.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.update_rows( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-string-column.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-string-column.md index 8546f091c5..331ce88ad9 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-string-column.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-string-column.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.update_string_column( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-table.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-table.md index a0f32ed59b..cb8706d0b4 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-table.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-table.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.update_table( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-url-column.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-url-column.md index 1043c74336..03034e9c07 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-url-column.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/update-url-column.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.update_url_column( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/update.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/update.md index 5d11ea89f6..787d5c11e8 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/update.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/update.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.update( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/upsert-row.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/upsert-row.md index 281945acdc..5eb4281002 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/upsert-row.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_session('') # The user session to authenticate with -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.upsert_row( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/tablesdb/upsert-rows.md b/docs/examples/1.8.x/server-ruby/examples/tablesdb/upsert-rows.md index 48632dc2a1..c48211dcc0 100644 --- a/docs/examples/1.8.x/server-ruby/examples/tablesdb/upsert-rows.md +++ b/docs/examples/1.8.x/server-ruby/examples/tablesdb/upsert-rows.md @@ -7,7 +7,7 @@ client = Client.new .set_project('') # Your project ID .set_key('') # Your secret API key -tables_db = TablesDb.new(client) +tables_db = TablesDB.new(client) result = tables_db.upsert_rows( database_id: '', diff --git a/docs/examples/1.8.x/server-ruby/examples/users/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-ruby/examples/users/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..0cdea46af3 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/users/create-m-f-a-recovery-codes.md @@ -0,0 +1,14 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +users = Users.new(client) + +result = users.create_mfa_recovery_codes( + user_id: '' +) diff --git a/docs/examples/1.8.x/server-ruby/examples/users/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/server-ruby/examples/users/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..50fcb0fa0d --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/users/delete-m-f-a-authenticator.md @@ -0,0 +1,16 @@ +require 'appwrite' + +include Appwrite +include Appwrite::Enums + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +users = Users.new(client) + +result = users.delete_mfa_authenticator( + user_id: '', + type: AuthenticatorType::TOTP +) diff --git a/docs/examples/1.8.x/server-ruby/examples/users/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-ruby/examples/users/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..f984517d26 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/users/get-m-f-a-recovery-codes.md @@ -0,0 +1,14 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +users = Users.new(client) + +result = users.get_mfa_recovery_codes( + user_id: '' +) diff --git a/docs/examples/1.8.x/server-ruby/examples/users/list-m-f-a-factors.md b/docs/examples/1.8.x/server-ruby/examples/users/list-m-f-a-factors.md new file mode 100644 index 0000000000..ca1e2b2b96 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/users/list-m-f-a-factors.md @@ -0,0 +1,14 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +users = Users.new(client) + +result = users.list_mfa_factors( + user_id: '' +) diff --git a/docs/examples/1.8.x/server-ruby/examples/users/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-ruby/examples/users/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..aaf5ba16c0 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/users/update-m-f-a-recovery-codes.md @@ -0,0 +1,14 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +users = Users.new(client) + +result = users.update_mfa_recovery_codes( + user_id: '' +) diff --git a/docs/examples/1.8.x/server-ruby/examples/users/update-m-f-a.md b/docs/examples/1.8.x/server-ruby/examples/users/update-m-f-a.md new file mode 100644 index 0000000000..3ebfb96116 --- /dev/null +++ b/docs/examples/1.8.x/server-ruby/examples/users/update-m-f-a.md @@ -0,0 +1,15 @@ +require 'appwrite' + +include Appwrite + +client = Client.new + .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint + .set_project('') # Your project ID + .set_key('') # Your secret API key + +users = Users.new(client) + +result = users.update_mfa( + user_id: '', + mfa: false +) diff --git a/docs/examples/1.8.x/server-swift/examples/account/create-m-f-a-authenticator.md b/docs/examples/1.8.x/server-swift/examples/account/create-m-f-a-authenticator.md new file mode 100644 index 0000000000..dd3a7d1201 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/account/create-m-f-a-authenticator.md @@ -0,0 +1,14 @@ +import Appwrite +import AppwriteEnums + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setSession("") // The user session to authenticate with + +let account = Account(client) + +let mfaType = try await account.createMFAAuthenticator( + type: .totp +) + diff --git a/docs/examples/1.8.x/server-swift/examples/account/create-m-f-a-challenge.md b/docs/examples/1.8.x/server-swift/examples/account/create-m-f-a-challenge.md new file mode 100644 index 0000000000..27f1bc1784 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/account/create-m-f-a-challenge.md @@ -0,0 +1,13 @@ +import Appwrite +import AppwriteEnums + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + +let account = Account(client) + +let mfaChallenge = try await account.createMFAChallenge( + factor: .email +) + diff --git a/docs/examples/1.8.x/server-swift/examples/account/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-swift/examples/account/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..3595cdae31 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/account/create-m-f-a-recovery-codes.md @@ -0,0 +1,11 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setSession("") // The user session to authenticate with + +let account = Account(client) + +let mfaRecoveryCodes = try await account.createMFARecoveryCodes() + diff --git a/docs/examples/1.8.x/server-swift/examples/account/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/server-swift/examples/account/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..5a85cdcad5 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/account/delete-m-f-a-authenticator.md @@ -0,0 +1,14 @@ +import Appwrite +import AppwriteEnums + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setSession("") // The user session to authenticate with + +let account = Account(client) + +let result = try await account.deleteMFAAuthenticator( + type: .totp +) + diff --git a/docs/examples/1.8.x/server-swift/examples/account/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-swift/examples/account/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..86c435d2cb --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/account/get-m-f-a-recovery-codes.md @@ -0,0 +1,11 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setSession("") // The user session to authenticate with + +let account = Account(client) + +let mfaRecoveryCodes = try await account.getMFARecoveryCodes() + diff --git a/docs/examples/1.8.x/server-swift/examples/account/list-m-f-a-factors.md b/docs/examples/1.8.x/server-swift/examples/account/list-m-f-a-factors.md new file mode 100644 index 0000000000..be41b2b2ff --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/account/list-m-f-a-factors.md @@ -0,0 +1,11 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setSession("") // The user session to authenticate with + +let account = Account(client) + +let mfaFactors = try await account.listMFAFactors() + diff --git a/docs/examples/1.8.x/server-swift/examples/account/update-m-f-a-authenticator.md b/docs/examples/1.8.x/server-swift/examples/account/update-m-f-a-authenticator.md new file mode 100644 index 0000000000..79f408e1d4 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/account/update-m-f-a-authenticator.md @@ -0,0 +1,15 @@ +import Appwrite +import AppwriteEnums + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setSession("") // The user session to authenticate with + +let account = Account(client) + +let user = try await account.updateMFAAuthenticator( + type: .totp, + otp: "" +) + diff --git a/docs/examples/1.8.x/server-swift/examples/account/update-m-f-a-challenge.md b/docs/examples/1.8.x/server-swift/examples/account/update-m-f-a-challenge.md new file mode 100644 index 0000000000..c595f1ebc0 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/account/update-m-f-a-challenge.md @@ -0,0 +1,14 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setSession("") // The user session to authenticate with + +let account = Account(client) + +let session = try await account.updateMFAChallenge( + challengeId: "", + otp: "" +) + diff --git a/docs/examples/1.8.x/server-swift/examples/account/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-swift/examples/account/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..ee6f9acb39 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/account/update-m-f-a-recovery-codes.md @@ -0,0 +1,11 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setSession("") // The user session to authenticate with + +let account = Account(client) + +let mfaRecoveryCodes = try await account.updateMFARecoveryCodes() + diff --git a/docs/examples/1.8.x/server-swift/examples/messaging/create-a-p-n-s-provider.md b/docs/examples/1.8.x/server-swift/examples/messaging/create-a-p-n-s-provider.md new file mode 100644 index 0000000000..772084dc44 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/messaging/create-a-p-n-s-provider.md @@ -0,0 +1,20 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let messaging = Messaging(client) + +let provider = try await messaging.createAPNSProvider( + providerId: "", + name: "", + authKey: "", // optional + authKeyId: "", // optional + teamId: "", // optional + bundleId: "", // optional + sandbox: false, // optional + enabled: false // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/messaging/create-f-c-m-provider.md b/docs/examples/1.8.x/server-swift/examples/messaging/create-f-c-m-provider.md new file mode 100644 index 0000000000..2b004507b6 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/messaging/create-f-c-m-provider.md @@ -0,0 +1,16 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let messaging = Messaging(client) + +let provider = try await messaging.createFCMProvider( + providerId: "", + name: "", + serviceAccountJSON: [:], // optional + enabled: false // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/messaging/create-s-m-s.md b/docs/examples/1.8.x/server-swift/examples/messaging/create-s-m-s.md new file mode 100644 index 0000000000..28a6ba7a63 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/messaging/create-s-m-s.md @@ -0,0 +1,19 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let messaging = Messaging(client) + +let message = try await messaging.createSMS( + messageId: "", + content: "", + topics: [], // optional + users: [], // optional + targets: [], // optional + draft: false, // optional + scheduledAt: "" // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/messaging/create-s-m-t-p-provider.md b/docs/examples/1.8.x/server-swift/examples/messaging/create-s-m-t-p-provider.md new file mode 100644 index 0000000000..ec9b92c8e1 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/messaging/create-s-m-t-p-provider.md @@ -0,0 +1,27 @@ +import Appwrite +import AppwriteEnums + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let messaging = Messaging(client) + +let provider = try await messaging.createSMTPProvider( + providerId: "", + name: "", + host: "", + port: 1, // optional + username: "", // optional + password: "", // optional + encryption: .none, // optional + autoTLS: false, // optional + mailer: "", // optional + fromName: "", // optional + fromEmail: "email@example.com", // optional + replyToName: "", // optional + replyToEmail: "email@example.com", // optional + enabled: false // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/messaging/update-a-p-n-s-provider.md b/docs/examples/1.8.x/server-swift/examples/messaging/update-a-p-n-s-provider.md new file mode 100644 index 0000000000..bed92ba11c --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/messaging/update-a-p-n-s-provider.md @@ -0,0 +1,20 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let messaging = Messaging(client) + +let provider = try await messaging.updateAPNSProvider( + providerId: "", + name: "", // optional + enabled: false, // optional + authKey: "", // optional + authKeyId: "", // optional + teamId: "", // optional + bundleId: "", // optional + sandbox: false // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/messaging/update-f-c-m-provider.md b/docs/examples/1.8.x/server-swift/examples/messaging/update-f-c-m-provider.md new file mode 100644 index 0000000000..efd7e1fb9d --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/messaging/update-f-c-m-provider.md @@ -0,0 +1,16 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let messaging = Messaging(client) + +let provider = try await messaging.updateFCMProvider( + providerId: "", + name: "", // optional + enabled: false, // optional + serviceAccountJSON: [:] // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/messaging/update-s-m-s.md b/docs/examples/1.8.x/server-swift/examples/messaging/update-s-m-s.md new file mode 100644 index 0000000000..d6dc207b02 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/messaging/update-s-m-s.md @@ -0,0 +1,19 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let messaging = Messaging(client) + +let message = try await messaging.updateSMS( + messageId: "", + topics: [], // optional + users: [], // optional + targets: [], // optional + content: "", // optional + draft: false, // optional + scheduledAt: "" // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/messaging/update-s-m-t-p-provider.md b/docs/examples/1.8.x/server-swift/examples/messaging/update-s-m-t-p-provider.md new file mode 100644 index 0000000000..402c2675d2 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/messaging/update-s-m-t-p-provider.md @@ -0,0 +1,27 @@ +import Appwrite +import AppwriteEnums + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let messaging = Messaging(client) + +let provider = try await messaging.updateSMTPProvider( + providerId: "", + name: "", // optional + host: "", // optional + port: 1, // optional + username: "", // optional + password: "", // optional + encryption: .none, // optional + autoTLS: false, // optional + mailer: "", // optional + fromName: "", // optional + fromEmail: "email@example.com", // optional + replyToName: "", // optional + replyToEmail: "", // optional + enabled: false // optional +) + diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/create-boolean-column.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/create-boolean-column.md index 170fa78a6e..af4b7bdf9d 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/create-boolean-column.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/create-boolean-column.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let columnBoolean = try await tablesDB.createBooleanColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/create-datetime-column.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/create-datetime-column.md index b93d982dea..ee1945d563 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/create-datetime-column.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/create-datetime-column.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let columnDatetime = try await tablesDB.createDatetimeColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/create-email-column.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/create-email-column.md index 96dade4d15..4ca0fe78aa 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/create-email-column.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/create-email-column.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let columnEmail = try await tablesDB.createEmailColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/create-enum-column.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/create-enum-column.md index 47df48eef4..ccddf5297b 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/create-enum-column.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/create-enum-column.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let columnEnum = try await tablesDB.createEnumColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/create-float-column.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/create-float-column.md index 657038ff78..c1c685bc02 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/create-float-column.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/create-float-column.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let columnFloat = try await tablesDB.createFloatColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/create-index.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/create-index.md index 8a46e58f40..3620c625eb 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/create-index.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/create-index.md @@ -6,7 +6,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let columnIndex = try await tablesDB.createIndex( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/create-integer-column.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/create-integer-column.md index cd59abc9c8..52ad14a592 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/create-integer-column.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/create-integer-column.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let columnInteger = try await tablesDB.createIntegerColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/create-ip-column.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/create-ip-column.md index 5608584079..d8801c5a24 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/create-ip-column.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/create-ip-column.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let columnIp = try await tablesDB.createIpColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/create-relationship-column.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/create-relationship-column.md index 6eb4225c91..4c464b5d70 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/create-relationship-column.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/create-relationship-column.md @@ -6,7 +6,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let columnRelationship = try await tablesDB.createRelationshipColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/create-row.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/create-row.md index 8110a11db0..31e0ea9bc1 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/create-row.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/create-row.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setSession("") // The user session to authenticate with -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let row = try await tablesDB.createRow( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/create-rows.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/create-rows.md index 06be899164..25ea512590 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/create-rows.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/create-rows.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let rowList = try await tablesDB.createRows( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/create-string-column.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/create-string-column.md index 20c63e6837..e38dcb8014 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/create-string-column.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/create-string-column.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let columnString = try await tablesDB.createStringColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/create-table.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/create-table.md index b3e5d5cb46..11d14e1881 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/create-table.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/create-table.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let table = try await tablesDB.createTable( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/create-url-column.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/create-url-column.md index 8d4b33cae9..083556f2a3 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/create-url-column.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/create-url-column.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let columnUrl = try await tablesDB.createUrlColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/create.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/create.md index 39c290d8f7..be88b5950d 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/create.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/create.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let database = try await tablesDB.create( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/decrement-row-column.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/decrement-row-column.md index fde6f82397..196289e994 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/decrement-row-column.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/decrement-row-column.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setSession("") // The user session to authenticate with -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let row = try await tablesDB.decrementRowColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/delete-column.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/delete-column.md index 431ec695ae..f9f2c5cf60 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/delete-column.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/delete-column.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let result = try await tablesDB.deleteColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/delete-index.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/delete-index.md index 9fe64a982a..0a413b6418 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/delete-index.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/delete-index.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let result = try await tablesDB.deleteIndex( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/delete-row.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/delete-row.md index 2011cbdb12..5449c74edb 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/delete-row.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/delete-row.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setSession("") // The user session to authenticate with -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let result = try await tablesDB.deleteRow( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/delete-rows.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/delete-rows.md index de5d6c44ef..85d8957f78 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/delete-rows.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/delete-rows.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let rowList = try await tablesDB.deleteRows( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/delete-table.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/delete-table.md index 88548f1bce..1986f3a19e 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/delete-table.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/delete-table.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let result = try await tablesDB.deleteTable( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/delete.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/delete.md index 90f86aad86..08e6ddc2d1 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/delete.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/delete.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let result = try await tablesDB.delete( databaseId: "" diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/get-column.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/get-column.md index 5778ed5587..2d88b03967 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/get-column.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/get-column.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let result = try await tablesDB.getColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/get-index.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/get-index.md index 81d283a010..6f65fdba2b 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/get-index.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/get-index.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let columnIndex = try await tablesDB.getIndex( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/get-row.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/get-row.md index e618909e23..17e6ccbb52 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/get-row.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/get-row.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setSession("") // The user session to authenticate with -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let row = try await tablesDB.getRow( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/get-table.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/get-table.md index 35f032c3d0..e9167d4d0a 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/get-table.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/get-table.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let table = try await tablesDB.getTable( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/get.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/get.md index 3b8398ba66..d670cf7a18 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/get.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/get.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let database = try await tablesDB.get( databaseId: "" diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/increment-row-column.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/increment-row-column.md index b8c02138ab..38aa7581c6 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/increment-row-column.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/increment-row-column.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setSession("") // The user session to authenticate with -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let row = try await tablesDB.incrementRowColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/list-columns.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/list-columns.md index 862da16c43..271a6d4afd 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/list-columns.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/list-columns.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let columnList = try await tablesDB.listColumns( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/list-indexes.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/list-indexes.md index e490623b88..a8e2770f8f 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/list-indexes.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/list-indexes.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let columnIndexList = try await tablesDB.listIndexes( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/list-rows.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/list-rows.md index 7db68865c2..7320147685 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/list-rows.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/list-rows.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setSession("") // The user session to authenticate with -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let rowList = try await tablesDB.listRows( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/list-tables.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/list-tables.md index f648c7b46e..46fcdcf0a6 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/list-tables.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/list-tables.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let tableList = try await tablesDB.listTables( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/list.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/list.md index b6b3943049..6923d8ade3 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/list.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/list.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let databaseList = try await tablesDB.list( queries: [], // optional diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/update-boolean-column.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/update-boolean-column.md index a53ad804a6..c8ca0fc499 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/update-boolean-column.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/update-boolean-column.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let columnBoolean = try await tablesDB.updateBooleanColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/update-datetime-column.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/update-datetime-column.md index 39f85e4923..67e411bd35 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/update-datetime-column.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/update-datetime-column.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let columnDatetime = try await tablesDB.updateDatetimeColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/update-email-column.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/update-email-column.md index f42925e834..56a7d074de 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/update-email-column.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/update-email-column.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let columnEmail = try await tablesDB.updateEmailColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/update-enum-column.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/update-enum-column.md index 091e6d3931..a86d114c0c 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/update-enum-column.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/update-enum-column.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let columnEnum = try await tablesDB.updateEnumColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/update-float-column.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/update-float-column.md index 2114ca4e55..10806aae70 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/update-float-column.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/update-float-column.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let columnFloat = try await tablesDB.updateFloatColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/update-integer-column.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/update-integer-column.md index bca78837ce..ba6bfa589a 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/update-integer-column.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/update-integer-column.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let columnInteger = try await tablesDB.updateIntegerColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/update-ip-column.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/update-ip-column.md index 4f95f0ba8b..5686e71016 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/update-ip-column.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/update-ip-column.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let columnIp = try await tablesDB.updateIpColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/update-relationship-column.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/update-relationship-column.md index 5133f5220a..0a021ff03e 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/update-relationship-column.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/update-relationship-column.md @@ -6,7 +6,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let columnRelationship = try await tablesDB.updateRelationshipColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/update-row.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/update-row.md index 68b0c5b5e0..e06338b3d6 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/update-row.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/update-row.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setSession("") // The user session to authenticate with -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let row = try await tablesDB.updateRow( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/update-rows.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/update-rows.md index d9e901af25..58894f5b85 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/update-rows.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/update-rows.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let rowList = try await tablesDB.updateRows( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/update-string-column.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/update-string-column.md index 0c62214540..55efca1c67 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/update-string-column.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/update-string-column.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let columnString = try await tablesDB.updateStringColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/update-table.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/update-table.md index 934eab37f9..278d6e6b4e 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/update-table.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/update-table.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let table = try await tablesDB.updateTable( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/update-url-column.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/update-url-column.md index e92c14699b..693fe52796 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/update-url-column.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/update-url-column.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let columnUrl = try await tablesDB.updateUrlColumn( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/update.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/update.md index f2e4ce66a2..4a7dcc8c53 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/update.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/update.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let database = try await tablesDB.update( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/upsert-row.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/upsert-row.md index e82ac5553a..dc133f6cd1 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/upsert-row.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/upsert-row.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setSession("") // The user session to authenticate with -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let row = try await tablesDB.upsertRow( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/tablesdb/upsert-rows.md b/docs/examples/1.8.x/server-swift/examples/tablesdb/upsert-rows.md index d320bd0251..fe35f0da91 100644 --- a/docs/examples/1.8.x/server-swift/examples/tablesdb/upsert-rows.md +++ b/docs/examples/1.8.x/server-swift/examples/tablesdb/upsert-rows.md @@ -5,7 +5,7 @@ let client = Client() .setProject("") // Your project ID .setKey("") // Your secret API key -let tablesDB = TablesDb(client) +let tablesDB = TablesDB(client) let rowList = try await tablesDB.upsertRows( databaseId: "", diff --git a/docs/examples/1.8.x/server-swift/examples/users/create-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-swift/examples/users/create-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..5f073d10e6 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/users/create-m-f-a-recovery-codes.md @@ -0,0 +1,13 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let users = Users(client) + +let mfaRecoveryCodes = try await users.createMFARecoveryCodes( + userId: "" +) + diff --git a/docs/examples/1.8.x/server-swift/examples/users/delete-m-f-a-authenticator.md b/docs/examples/1.8.x/server-swift/examples/users/delete-m-f-a-authenticator.md new file mode 100644 index 0000000000..be9f39529e --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/users/delete-m-f-a-authenticator.md @@ -0,0 +1,15 @@ +import Appwrite +import AppwriteEnums + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let users = Users(client) + +let result = try await users.deleteMFAAuthenticator( + userId: "", + type: .totp +) + diff --git a/docs/examples/1.8.x/server-swift/examples/users/get-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-swift/examples/users/get-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..874076c6ac --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/users/get-m-f-a-recovery-codes.md @@ -0,0 +1,13 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let users = Users(client) + +let mfaRecoveryCodes = try await users.getMFARecoveryCodes( + userId: "" +) + diff --git a/docs/examples/1.8.x/server-swift/examples/users/list-m-f-a-factors.md b/docs/examples/1.8.x/server-swift/examples/users/list-m-f-a-factors.md new file mode 100644 index 0000000000..4a58a07147 --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/users/list-m-f-a-factors.md @@ -0,0 +1,13 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let users = Users(client) + +let mfaFactors = try await users.listMFAFactors( + userId: "" +) + diff --git a/docs/examples/1.8.x/server-swift/examples/users/update-m-f-a-recovery-codes.md b/docs/examples/1.8.x/server-swift/examples/users/update-m-f-a-recovery-codes.md new file mode 100644 index 0000000000..7ebb34efcb --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/users/update-m-f-a-recovery-codes.md @@ -0,0 +1,13 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let users = Users(client) + +let mfaRecoveryCodes = try await users.updateMFARecoveryCodes( + userId: "" +) + diff --git a/docs/examples/1.8.x/server-swift/examples/users/update-m-f-a.md b/docs/examples/1.8.x/server-swift/examples/users/update-m-f-a.md new file mode 100644 index 0000000000..ca442b3a3b --- /dev/null +++ b/docs/examples/1.8.x/server-swift/examples/users/update-m-f-a.md @@ -0,0 +1,14 @@ +import Appwrite + +let client = Client() + .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint + .setProject("") // Your project ID + .setKey("") // Your secret API key + +let users = Users(client) + +let user = try await users.updateMFA( + userId: "", + mfa: false +) +