@appwrite.io/console 0.6.0-rc.8 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.travis.yml +32 -0
- package/README.md +6 -6
- package/dist/cjs/sdk.js +1839 -338
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +1840 -339
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +1839 -338
- package/docs/examples/account/create-anonymous-session.md +5 -12
- package/docs/examples/account/create-email-password-session.md +8 -12
- package/docs/examples/account/create-email-token.md +9 -12
- package/docs/examples/account/create-j-w-t.md +5 -12
- package/docs/examples/account/create-magic-u-r-l-token.md +10 -12
- package/docs/examples/account/create-mfa-authenticator.md +13 -0
- package/docs/examples/account/create-mfa-challenge.md +13 -0
- package/docs/examples/account/create-mfa-recovery-codes.md +11 -0
- package/docs/examples/account/create-o-auth2session.md +10 -9
- package/docs/examples/account/create-o-auth2token.md +15 -0
- package/docs/examples/account/create-phone-token.md +8 -12
- package/docs/examples/account/create-phone-verification.md +5 -12
- package/docs/examples/account/create-push-target.md +9 -12
- package/docs/examples/account/create-recovery.md +8 -12
- package/docs/examples/account/create-session.md +8 -12
- package/docs/examples/account/create-verification.md +7 -12
- package/docs/examples/account/create.md +10 -12
- package/docs/examples/account/delete-identity.md +7 -12
- package/docs/examples/account/delete-mfa-authenticator.md +14 -0
- package/docs/examples/account/delete-push-target.md +13 -0
- package/docs/examples/account/delete-session.md +7 -12
- package/docs/examples/account/delete-sessions.md +5 -12
- package/docs/examples/account/delete.md +5 -12
- package/docs/examples/account/get-mfa-recovery-codes.md +11 -0
- package/docs/examples/account/get-prefs.md +5 -12
- package/docs/examples/account/get-session.md +7 -12
- package/docs/examples/account/get.md +5 -12
- package/docs/examples/account/list-identities.md +7 -12
- package/docs/examples/account/list-logs.md +7 -12
- package/docs/examples/account/list-mfa-factors.md +11 -0
- package/docs/examples/account/list-sessions.md +5 -12
- package/docs/examples/account/update-email.md +8 -12
- package/docs/examples/account/update-m-f-a.md +7 -12
- package/docs/examples/account/update-magic-u-r-l-session.md +8 -12
- package/docs/examples/account/update-mfa-authenticator.md +14 -0
- package/docs/examples/account/update-mfa-challenge.md +14 -0
- package/docs/examples/account/update-mfa-recovery-codes.md +11 -0
- package/docs/examples/account/update-name.md +7 -12
- package/docs/examples/account/update-password.md +8 -12
- package/docs/examples/account/update-phone-session.md +14 -0
- package/docs/examples/account/update-phone-verification.md +8 -12
- package/docs/examples/account/update-phone.md +8 -12
- package/docs/examples/account/update-prefs.md +7 -12
- package/docs/examples/account/update-push-target.md +8 -12
- package/docs/examples/account/update-recovery.md +9 -12
- package/docs/examples/account/update-session.md +7 -12
- package/docs/examples/account/update-status.md +5 -12
- package/docs/examples/account/update-verification.md +8 -12
- package/docs/examples/assistant/chat.md +7 -12
- package/docs/examples/avatars/get-browser.md +11 -9
- package/docs/examples/avatars/get-credit-card.md +11 -9
- package/docs/examples/avatars/get-favicon.md +7 -8
- package/docs/examples/avatars/get-flag.md +11 -9
- package/docs/examples/avatars/get-image.md +9 -8
- package/docs/examples/avatars/get-initials.md +10 -8
- package/docs/examples/avatars/get-q-r.md +10 -8
- package/docs/examples/console/variables.md +5 -12
- package/docs/examples/databases/create-boolean-attribute.md +12 -12
- package/docs/examples/databases/create-collection.md +12 -12
- package/docs/examples/databases/create-datetime-attribute.md +12 -12
- package/docs/examples/databases/create-document.md +11 -12
- package/docs/examples/databases/create-email-attribute.md +12 -12
- package/docs/examples/databases/create-enum-attribute.md +13 -12
- package/docs/examples/databases/create-float-attribute.md +14 -12
- package/docs/examples/databases/create-index.md +13 -13
- package/docs/examples/databases/create-integer-attribute.md +14 -12
- package/docs/examples/databases/create-ip-attribute.md +12 -12
- package/docs/examples/databases/create-relationship-attribute.md +15 -13
- package/docs/examples/databases/create-string-attribute.md +14 -12
- package/docs/examples/databases/create-url-attribute.md +12 -12
- package/docs/examples/databases/create.md +9 -12
- package/docs/examples/databases/delete-attribute.md +9 -12
- package/docs/examples/databases/delete-collection.md +8 -12
- package/docs/examples/databases/delete-document.md +9 -12
- package/docs/examples/databases/delete-index.md +9 -12
- package/docs/examples/databases/delete.md +7 -12
- package/docs/examples/databases/get-attribute.md +9 -12
- package/docs/examples/databases/get-collection-usage.md +10 -13
- package/docs/examples/databases/get-collection.md +8 -12
- package/docs/examples/databases/get-database-usage.md +9 -13
- package/docs/examples/databases/get-document.md +10 -12
- package/docs/examples/databases/get-index.md +9 -12
- package/docs/examples/databases/get-usage.md +8 -13
- package/docs/examples/databases/get.md +7 -12
- package/docs/examples/databases/list-attributes.md +9 -12
- package/docs/examples/databases/list-collection-logs.md +9 -12
- package/docs/examples/databases/list-collections.md +9 -12
- package/docs/examples/databases/list-document-logs.md +10 -12
- package/docs/examples/databases/list-documents.md +9 -12
- package/docs/examples/databases/list-indexes.md +9 -12
- package/docs/examples/databases/list-logs.md +8 -12
- package/docs/examples/databases/list.md +8 -12
- package/docs/examples/databases/update-boolean-attribute.md +11 -12
- package/docs/examples/databases/update-collection.md +12 -12
- package/docs/examples/databases/update-datetime-attribute.md +11 -12
- package/docs/examples/databases/update-document.md +11 -12
- package/docs/examples/databases/update-email-attribute.md +11 -12
- package/docs/examples/databases/update-enum-attribute.md +12 -12
- package/docs/examples/databases/update-float-attribute.md +13 -12
- package/docs/examples/databases/update-integer-attribute.md +13 -12
- package/docs/examples/databases/update-ip-attribute.md +11 -12
- package/docs/examples/databases/update-relationship-attribute.md +11 -13
- package/docs/examples/databases/update-string-attribute.md +11 -12
- package/docs/examples/databases/update-url-attribute.md +11 -12
- package/docs/examples/databases/update.md +9 -12
- package/docs/examples/functions/create-build.md +9 -12
- package/docs/examples/functions/create-deployment.md +11 -12
- package/docs/examples/functions/create-execution.md +13 -13
- package/docs/examples/functions/create-variable.md +9 -12
- package/docs/examples/functions/create.md +27 -13
- package/docs/examples/functions/delete-deployment.md +8 -12
- package/docs/examples/functions/delete-variable.md +8 -12
- package/docs/examples/functions/delete.md +7 -12
- package/docs/examples/functions/download-deployment.md +8 -8
- package/docs/examples/functions/get-deployment.md +8 -12
- package/docs/examples/functions/get-execution.md +8 -12
- package/docs/examples/functions/get-function-usage.md +9 -13
- package/docs/examples/functions/get-usage.md +8 -13
- package/docs/examples/functions/get-variable.md +8 -12
- package/docs/examples/functions/get.md +7 -12
- package/docs/examples/functions/list-deployments.md +9 -12
- package/docs/examples/functions/list-executions.md +9 -12
- package/docs/examples/functions/list-runtimes.md +5 -12
- package/docs/examples/functions/list-variables.md +7 -12
- package/docs/examples/functions/list.md +8 -12
- package/docs/examples/functions/update-deployment.md +8 -12
- package/docs/examples/functions/update-variable.md +10 -12
- package/docs/examples/functions/update.md +23 -13
- package/docs/examples/graphql/mutation.md +7 -12
- package/docs/examples/graphql/query.md +7 -12
- package/docs/examples/health/get-antivirus.md +5 -12
- package/docs/examples/health/get-cache.md +5 -12
- package/docs/examples/health/get-certificate.md +13 -0
- package/docs/examples/health/get-d-b.md +5 -12
- package/docs/examples/health/get-failed-jobs.md +14 -0
- package/docs/examples/health/get-pub-sub.md +5 -12
- package/docs/examples/health/get-queue-builds.md +7 -12
- package/docs/examples/health/get-queue-certificates.md +7 -12
- package/docs/examples/health/get-queue-databases.md +8 -12
- package/docs/examples/health/get-queue-deletes.md +7 -12
- package/docs/examples/health/get-queue-functions.md +7 -12
- package/docs/examples/health/get-queue-logs.md +7 -12
- package/docs/examples/health/get-queue-mails.md +7 -12
- package/docs/examples/health/get-queue-messaging.md +7 -12
- package/docs/examples/health/get-queue-migrations.md +7 -12
- package/docs/examples/health/get-queue-usage-dump.md +13 -0
- package/docs/examples/health/get-queue-usage.md +13 -0
- package/docs/examples/health/get-queue-webhooks.md +7 -12
- package/docs/examples/health/get-queue.md +5 -12
- package/docs/examples/health/get-storage-local.md +5 -12
- package/docs/examples/health/get-storage.md +11 -0
- package/docs/examples/health/get-time.md +5 -12
- package/docs/examples/health/get.md +5 -12
- package/docs/examples/locale/get.md +5 -12
- package/docs/examples/locale/list-codes.md +5 -12
- package/docs/examples/locale/list-continents.md +5 -12
- package/docs/examples/locale/list-countries-e-u.md +5 -12
- package/docs/examples/locale/list-countries-phones.md +5 -12
- package/docs/examples/locale/list-countries.md +5 -12
- package/docs/examples/locale/list-currencies.md +5 -12
- package/docs/examples/locale/list-languages.md +5 -12
- package/docs/examples/messaging/create-apns-provider.md +20 -0
- package/docs/examples/messaging/create-email.md +18 -12
- package/docs/examples/messaging/create-fcm-provider.md +16 -0
- package/docs/examples/messaging/create-mailgun-provider.md +16 -12
- package/docs/examples/messaging/create-msg91provider.md +12 -12
- package/docs/examples/messaging/create-push.md +22 -12
- package/docs/examples/messaging/create-sendgrid-provider.md +14 -12
- package/docs/examples/messaging/create-sms.md +19 -0
- package/docs/examples/messaging/create-smtp-provider.md +26 -0
- package/docs/examples/messaging/create-subscriber.md +9 -12
- package/docs/examples/messaging/create-telesign-provider.md +12 -12
- package/docs/examples/messaging/create-textmagic-provider.md +12 -12
- package/docs/examples/messaging/create-topic.md +9 -12
- package/docs/examples/messaging/create-twilio-provider.md +12 -12
- package/docs/examples/messaging/create-vonage-provider.md +12 -12
- package/docs/examples/messaging/delete-provider.md +7 -12
- package/docs/examples/messaging/delete-subscriber.md +8 -12
- package/docs/examples/messaging/delete-topic.md +7 -12
- package/docs/examples/messaging/delete.md +13 -0
- package/docs/examples/messaging/get-message.md +7 -12
- package/docs/examples/messaging/get-provider.md +7 -12
- package/docs/examples/messaging/get-subscriber.md +8 -12
- package/docs/examples/messaging/get-topic.md +7 -12
- package/docs/examples/messaging/list-message-logs.md +8 -12
- package/docs/examples/messaging/list-messages.md +8 -12
- package/docs/examples/messaging/list-provider-logs.md +8 -12
- package/docs/examples/messaging/list-providers.md +8 -12
- package/docs/examples/messaging/list-subscriber-logs.md +8 -12
- package/docs/examples/messaging/list-subscribers.md +9 -12
- package/docs/examples/messaging/list-targets.md +8 -12
- package/docs/examples/messaging/list-topic-logs.md +8 -12
- package/docs/examples/messaging/list-topics.md +8 -12
- package/docs/examples/messaging/update-apns-provider.md +20 -0
- package/docs/examples/messaging/update-email.md +17 -12
- package/docs/examples/messaging/update-fcm-provider.md +16 -0
- package/docs/examples/messaging/update-mailgun-provider.md +16 -12
- package/docs/examples/messaging/update-msg91provider.md +12 -12
- package/docs/examples/messaging/update-push.md +28 -0
- package/docs/examples/messaging/update-sendgrid-provider.md +14 -12
- package/docs/examples/messaging/update-sms.md +19 -0
- package/docs/examples/messaging/update-smtp-provider.md +26 -0
- package/docs/examples/messaging/update-telesign-provider.md +12 -12
- package/docs/examples/messaging/update-textmagic-provider.md +12 -12
- package/docs/examples/messaging/update-topic.md +9 -12
- package/docs/examples/messaging/update-twilio-provider.md +12 -12
- package/docs/examples/messaging/update-vonage-provider.md +12 -12
- package/docs/examples/migrations/create-appwrite-migration.md +10 -12
- package/docs/examples/migrations/create-firebase-migration.md +8 -12
- package/docs/examples/migrations/create-firebase-o-auth-migration.md +8 -12
- package/docs/examples/migrations/create-n-host-migration.md +14 -12
- package/docs/examples/migrations/create-supabase-migration.md +13 -12
- package/docs/examples/migrations/delete-firebase-auth.md +5 -12
- package/docs/examples/migrations/delete.md +7 -12
- package/docs/examples/migrations/get-appwrite-report.md +10 -12
- package/docs/examples/migrations/get-firebase-report-o-auth.md +8 -12
- package/docs/examples/migrations/get-firebase-report.md +8 -12
- package/docs/examples/migrations/get-n-host-report.md +14 -12
- package/docs/examples/migrations/get-supabase-report.md +13 -12
- package/docs/examples/migrations/get.md +7 -12
- package/docs/examples/migrations/list-firebase-projects.md +5 -12
- package/docs/examples/migrations/list.md +8 -12
- package/docs/examples/migrations/retry.md +7 -12
- package/docs/examples/project/create-variable.md +8 -12
- package/docs/examples/project/delete-variable.md +7 -12
- package/docs/examples/project/get-usage.md +10 -13
- package/docs/examples/project/get-variable.md +7 -12
- package/docs/examples/project/list-variables.md +5 -12
- package/docs/examples/project/update-variable.md +9 -12
- package/docs/examples/projects/create-key.md +10 -12
- package/docs/examples/projects/create-platform.md +13 -13
- package/docs/examples/projects/create-smtp-test.md +17 -13
- package/docs/examples/projects/create-webhook.md +14 -12
- package/docs/examples/projects/create.md +20 -13
- package/docs/examples/projects/delete-email-template.md +10 -13
- package/docs/examples/projects/delete-key.md +8 -12
- package/docs/examples/projects/delete-platform.md +8 -12
- package/docs/examples/projects/delete-sms-template.md +10 -13
- package/docs/examples/projects/delete-webhook.md +8 -12
- package/docs/examples/projects/delete.md +7 -12
- package/docs/examples/projects/get-email-template.md +10 -13
- package/docs/examples/projects/get-key.md +8 -12
- package/docs/examples/projects/get-platform.md +8 -12
- package/docs/examples/projects/get-sms-template.md +10 -13
- package/docs/examples/projects/get-webhook.md +8 -12
- package/docs/examples/projects/get.md +7 -12
- package/docs/examples/projects/list-keys.md +7 -12
- package/docs/examples/projects/list-platforms.md +7 -12
- package/docs/examples/projects/list-webhooks.md +7 -12
- package/docs/examples/projects/list.md +8 -12
- package/docs/examples/projects/update-api-status-all.md +14 -0
- package/docs/examples/projects/update-api-status.md +15 -0
- package/docs/examples/projects/update-auth-duration.md +8 -12
- package/docs/examples/projects/update-auth-limit.md +8 -12
- package/docs/examples/projects/update-auth-password-dictionary.md +8 -12
- package/docs/examples/projects/update-auth-password-history.md +8 -12
- package/docs/examples/projects/update-auth-sessions-limit.md +8 -12
- package/docs/examples/projects/update-auth-status.md +10 -13
- package/docs/examples/projects/update-email-template.md +15 -13
- package/docs/examples/projects/update-key.md +11 -12
- package/docs/examples/projects/update-o-auth2.md +12 -13
- package/docs/examples/projects/update-personal-data-check.md +8 -12
- package/docs/examples/projects/update-platform.md +12 -12
- package/docs/examples/projects/update-service-status-all.md +8 -12
- package/docs/examples/projects/update-service-status.md +10 -13
- package/docs/examples/projects/update-sms-template.md +11 -13
- package/docs/examples/projects/update-smtp.md +17 -13
- package/docs/examples/projects/update-team.md +8 -12
- package/docs/examples/projects/update-webhook-signature.md +8 -12
- package/docs/examples/projects/update-webhook.md +15 -12
- package/docs/examples/projects/update.md +17 -12
- package/docs/examples/proxy/create-rule.md +10 -13
- package/docs/examples/proxy/delete-rule.md +7 -12
- package/docs/examples/proxy/get-rule.md +7 -12
- package/docs/examples/proxy/list-rules.md +8 -12
- package/docs/examples/proxy/update-rule-verification.md +7 -12
- package/docs/examples/storage/create-bucket.md +17 -13
- package/docs/examples/storage/create-file.md +10 -12
- package/docs/examples/storage/delete-bucket.md +7 -12
- package/docs/examples/storage/delete-file.md +8 -12
- package/docs/examples/storage/get-bucket-usage.md +9 -13
- package/docs/examples/storage/get-bucket.md +7 -12
- package/docs/examples/storage/get-file-download.md +8 -8
- package/docs/examples/storage/get-file-preview.md +20 -9
- package/docs/examples/storage/get-file-view.md +8 -8
- package/docs/examples/storage/get-file.md +8 -12
- package/docs/examples/storage/get-usage.md +8 -13
- package/docs/examples/storage/list-buckets.md +8 -12
- package/docs/examples/storage/list-files.md +9 -12
- package/docs/examples/storage/update-bucket.md +17 -13
- package/docs/examples/storage/update-file.md +10 -12
- package/docs/examples/teams/create-membership.md +13 -12
- package/docs/examples/teams/create.md +9 -12
- package/docs/examples/teams/delete-membership.md +8 -12
- package/docs/examples/teams/delete.md +7 -12
- package/docs/examples/teams/get-membership.md +8 -12
- package/docs/examples/teams/get-prefs.md +7 -12
- package/docs/examples/teams/get.md +7 -12
- package/docs/examples/teams/list-logs.md +8 -12
- package/docs/examples/teams/list-memberships.md +9 -12
- package/docs/examples/teams/list.md +8 -12
- package/docs/examples/teams/update-membership-status.md +10 -12
- package/docs/examples/teams/update-membership.md +9 -12
- package/docs/examples/teams/update-name.md +8 -12
- package/docs/examples/teams/update-prefs.md +8 -12
- package/docs/examples/users/create-argon2user.md +10 -12
- package/docs/examples/users/create-bcrypt-user.md +10 -12
- package/docs/examples/users/create-m-d5user.md +10 -12
- package/docs/examples/users/create-mfa-recovery-codes.md +13 -0
- package/docs/examples/users/create-p-h-pass-user.md +10 -12
- package/docs/examples/users/create-s-h-a-user.md +12 -13
- package/docs/examples/users/create-scrypt-modified-user.md +13 -12
- package/docs/examples/users/create-scrypt-user.md +15 -12
- package/docs/examples/users/create-session.md +7 -12
- package/docs/examples/users/create-target.md +13 -13
- package/docs/examples/users/create-token.md +9 -12
- package/docs/examples/users/create.md +11 -12
- package/docs/examples/users/delete-identity.md +7 -12
- package/docs/examples/users/delete-mfa-authenticator.md +14 -0
- package/docs/examples/users/delete-session.md +8 -12
- package/docs/examples/users/delete-sessions.md +7 -12
- package/docs/examples/users/delete-target.md +8 -12
- package/docs/examples/users/delete.md +7 -12
- package/docs/examples/users/get-mfa-recovery-codes.md +13 -0
- package/docs/examples/users/get-prefs.md +7 -12
- package/docs/examples/users/get-target.md +8 -12
- package/docs/examples/users/get-usage.md +8 -13
- package/docs/examples/users/get.md +7 -12
- package/docs/examples/users/list-identities.md +8 -12
- package/docs/examples/users/list-logs.md +8 -12
- package/docs/examples/users/list-memberships.md +7 -12
- package/docs/examples/users/list-mfa-factors.md +13 -0
- package/docs/examples/users/list-sessions.md +7 -12
- package/docs/examples/users/list-targets.md +8 -12
- package/docs/examples/users/list.md +8 -12
- package/docs/examples/users/update-email-verification.md +8 -12
- package/docs/examples/users/update-email.md +8 -12
- package/docs/examples/users/update-labels.md +8 -12
- package/docs/examples/users/update-mfa-recovery-codes.md +13 -0
- package/docs/examples/users/update-mfa.md +8 -12
- package/docs/examples/users/update-name.md +8 -12
- package/docs/examples/users/update-password.md +8 -12
- package/docs/examples/users/update-phone-verification.md +8 -12
- package/docs/examples/users/update-phone.md +8 -12
- package/docs/examples/users/update-prefs.md +8 -12
- package/docs/examples/users/update-status.md +8 -12
- package/docs/examples/users/update-target.md +11 -12
- package/docs/examples/vcs/create-repository-detection.md +9 -12
- package/docs/examples/vcs/create-repository.md +9 -12
- package/docs/examples/vcs/delete-installation.md +7 -12
- package/docs/examples/vcs/get-installation.md +7 -12
- package/docs/examples/vcs/get-repository.md +8 -12
- package/docs/examples/vcs/list-installations.md +8 -12
- package/docs/examples/vcs/list-repositories.md +8 -12
- package/docs/examples/vcs/list-repository-branches.md +8 -12
- package/docs/examples/vcs/update-external-deployments.md +9 -12
- package/package.json +1 -1
- package/src/client.ts +3 -3
- package/src/enums/api-service.ts +13 -0
- package/src/enums/api.ts +5 -0
- package/src/enums/auth-method.ts +9 -0
- package/src/enums/authentication-factor.ts +6 -0
- package/src/enums/authenticator-type.ts +3 -0
- package/src/enums/browser.ts +16 -0
- package/src/enums/compression.ts +5 -0
- package/src/enums/credit-card.ts +18 -0
- package/src/enums/database-usage-range.ts +5 -0
- package/src/enums/email-template-locale.ts +133 -0
- package/src/enums/email-template-type.ts +7 -0
- package/src/enums/execution-method.ts +8 -0
- package/src/enums/flag.ts +196 -0
- package/src/enums/function-usage-range.ts +5 -0
- package/src/enums/image-format.ts +7 -0
- package/src/enums/image-gravity.ts +11 -0
- package/src/enums/index-type.ts +5 -0
- package/src/enums/messaging-provider-type.ts +5 -0
- package/src/enums/name.ts +15 -0
- package/src/enums/o-auth-provider.ts +41 -0
- package/src/enums/password-hash.ts +13 -0
- package/src/enums/platform-type.ts +15 -0
- package/src/enums/project-usage-range.ts +4 -0
- package/src/enums/region.ts +4 -0
- package/src/enums/relation-mutate.ts +5 -0
- package/src/enums/relationship-type.ts +6 -0
- package/src/enums/resource-type.ts +4 -0
- package/src/enums/runtime.ts +46 -0
- package/src/enums/s-m-t-p-secure.ts +3 -0
- package/src/enums/sms-template-locale.ts +133 -0
- package/src/enums/sms-template-type.ts +6 -0
- package/src/enums/smtp-encryption.ts +5 -0
- package/src/enums/storage-usage-range.ts +5 -0
- package/src/enums/user-usage-range.ts +5 -0
- package/src/index.ts +35 -1
- package/src/models.ts +61 -23
- package/src/query.ts +61 -34
- package/src/service.ts +4 -7
- package/src/services/account.ts +274 -75
- package/src/services/avatars.ts +9 -6
- package/src/services/databases.ts +37 -16
- package/src/services/functions.ts +13 -10
- package/src/services/health.ts +121 -0
- package/src/services/messaging.ts +374 -117
- package/src/services/migrations.ts +2 -2
- package/src/services/project.ts +4 -3
- package/src/services/projects.ts +110 -59
- package/src/services/proxy.ts +3 -2
- package/src/services/storage.ts +17 -13
- package/src/services/users.ts +125 -44
- package/types/enums/api-service.d.ts +13 -0
- package/types/enums/api.d.ts +5 -0
- package/types/enums/auth-method.d.ts +9 -0
- package/types/enums/authentication-factor.d.ts +6 -0
- package/types/enums/authenticator-type.d.ts +3 -0
- package/types/enums/browser.d.ts +16 -0
- package/types/enums/compression.d.ts +5 -0
- package/types/enums/credit-card.d.ts +18 -0
- package/types/enums/database-usage-range.d.ts +5 -0
- package/types/enums/email-template-locale.d.ts +133 -0
- package/types/enums/email-template-type.d.ts +7 -0
- package/types/enums/execution-method.d.ts +8 -0
- package/types/enums/flag.d.ts +196 -0
- package/types/enums/function-usage-range.d.ts +5 -0
- package/types/enums/image-format.d.ts +7 -0
- package/types/enums/image-gravity.d.ts +11 -0
- package/types/enums/index-type.d.ts +5 -0
- package/types/enums/messaging-provider-type.d.ts +5 -0
- package/types/enums/name.d.ts +15 -0
- package/types/enums/o-auth-provider.d.ts +41 -0
- package/types/enums/password-hash.d.ts +13 -0
- package/types/enums/platform-type.d.ts +15 -0
- package/types/enums/project-usage-range.d.ts +4 -0
- package/types/enums/region.d.ts +4 -0
- package/types/enums/relation-mutate.d.ts +5 -0
- package/types/enums/relationship-type.d.ts +6 -0
- package/types/enums/resource-type.d.ts +4 -0
- package/types/enums/runtime.d.ts +46 -0
- package/types/enums/s-m-t-p-secure.d.ts +3 -0
- package/types/enums/sms-template-locale.d.ts +133 -0
- package/types/enums/sms-template-type.d.ts +6 -0
- package/types/enums/smtp-encryption.d.ts +5 -0
- package/types/enums/storage-usage-range.d.ts +5 -0
- package/types/enums/user-usage-range.d.ts +5 -0
- package/types/index.d.ts +34 -0
- package/types/models.d.ts +61 -23
- package/types/query.d.ts +10 -3
- package/types/services/account.d.ts +138 -33
- package/types/services/avatars.d.ts +9 -6
- package/types/services/databases.d.ts +37 -16
- package/types/services/functions.d.ts +13 -10
- package/types/services/health.d.ts +56 -0
- package/types/services/messaging.d.ts +170 -64
- package/types/services/migrations.d.ts +2 -2
- package/types/services/project.d.ts +4 -3
- package/types/services/projects.d.ts +64 -42
- package/types/services/proxy.d.ts +3 -2
- package/types/services/storage.d.ts +17 -13
- package/types/services/users.d.ts +73 -23
- package/docs/examples/account/add-authenticator.md +0 -18
- package/docs/examples/account/create-challenge.md +0 -18
- package/docs/examples/account/delete-authenticator.md +0 -18
- package/docs/examples/account/list-providers.md +0 -18
- package/docs/examples/account/update-challenge.md +0 -18
- package/docs/examples/account/verify-authenticator.md +0 -18
- package/docs/examples/messaging/create-a-p-n-s-provider.md +0 -18
- package/docs/examples/messaging/create-f-c-m-provider.md +0 -18
- package/docs/examples/messaging/create-s-m-s.md +0 -18
- package/docs/examples/messaging/update-a-p-n-s-provider.md +0 -18
- package/docs/examples/messaging/update-f-c-m-provider.md +0 -18
- package/docs/examples/messaging/update-push-notification.md +0 -18
- package/docs/examples/messaging/update-s-m-s.md +0 -18
- package/docs/examples/projects/update-auth-mfa-factors.md +0 -18
- package/docs/examples/users/delete-authenticator.md +0 -18
- package/docs/examples/users/list-providers.md +0 -18
package/src/services/users.ts
CHANGED
|
@@ -2,6 +2,10 @@ import { Service } from '../service';
|
|
|
2
2
|
import { AppwriteException, Client } from '../client';
|
|
3
3
|
import type { Models } from '../models';
|
|
4
4
|
import type { UploadProgress, Payload } from '../client';
|
|
5
|
+
import { PasswordHash } from '../enums/password-hash';
|
|
6
|
+
import { UserUsageRange } from '../enums/user-usage-range';
|
|
7
|
+
import { AuthenticatorType } from '../enums/authenticator-type';
|
|
8
|
+
import { MessagingProviderType } from '../enums/messaging-provider-type';
|
|
5
9
|
|
|
6
10
|
export class Users extends Service {
|
|
7
11
|
|
|
@@ -197,12 +201,12 @@ export class Users extends Service {
|
|
|
197
201
|
*
|
|
198
202
|
* Get identities for all users.
|
|
199
203
|
*
|
|
200
|
-
* @param {string} queries
|
|
204
|
+
* @param {string[]} queries
|
|
201
205
|
* @param {string} search
|
|
202
206
|
* @throws {AppwriteException}
|
|
203
207
|
* @returns {Promise}
|
|
204
208
|
*/
|
|
205
|
-
async listIdentities(queries?: string, search?: string): Promise<Models.IdentityList> {
|
|
209
|
+
async listIdentities(queries?: string[], search?: string): Promise<Models.IdentityList> {
|
|
206
210
|
const apiPath = '/users/identities';
|
|
207
211
|
const payload: Payload = {};
|
|
208
212
|
|
|
@@ -539,12 +543,12 @@ export class Users extends Service {
|
|
|
539
543
|
* @param {string} userId
|
|
540
544
|
* @param {string} email
|
|
541
545
|
* @param {string} password
|
|
542
|
-
* @param {
|
|
546
|
+
* @param {PasswordHash} passwordVersion
|
|
543
547
|
* @param {string} name
|
|
544
548
|
* @throws {AppwriteException}
|
|
545
549
|
* @returns {Promise}
|
|
546
550
|
*/
|
|
547
|
-
async createSHAUser<Preferences extends Models.Preferences>(userId: string, email: string, password: string, passwordVersion?:
|
|
551
|
+
async createSHAUser<Preferences extends Models.Preferences>(userId: string, email: string, password: string, passwordVersion?: PasswordHash, name?: string): Promise<Models.User<Preferences>> {
|
|
548
552
|
if (typeof userId === 'undefined') {
|
|
549
553
|
throw new AppwriteException('Missing required parameter: "userId"');
|
|
550
554
|
}
|
|
@@ -587,14 +591,14 @@ export class Users extends Service {
|
|
|
587
591
|
}
|
|
588
592
|
|
|
589
593
|
/**
|
|
590
|
-
* Get usage stats
|
|
594
|
+
* Get users usage stats
|
|
591
595
|
*
|
|
592
596
|
*
|
|
593
|
-
* @param {
|
|
597
|
+
* @param {UserUsageRange} range
|
|
594
598
|
* @throws {AppwriteException}
|
|
595
599
|
* @returns {Promise}
|
|
596
600
|
*/
|
|
597
|
-
async getUsage(range?:
|
|
601
|
+
async getUsage(range?: UserUsageRange): Promise<Models.UsageUsers> {
|
|
598
602
|
const apiPath = '/users/usage';
|
|
599
603
|
const payload: Payload = {};
|
|
600
604
|
|
|
@@ -782,6 +786,7 @@ export class Users extends Service {
|
|
|
782
786
|
/**
|
|
783
787
|
* Update MFA
|
|
784
788
|
*
|
|
789
|
+
* Enable or disable MFA on a user account.
|
|
785
790
|
*
|
|
786
791
|
* @param {string} userId
|
|
787
792
|
* @param {boolean} mfa
|
|
@@ -813,35 +818,128 @@ export class Users extends Service {
|
|
|
813
818
|
/**
|
|
814
819
|
* Delete Authenticator
|
|
815
820
|
*
|
|
821
|
+
* Delete an authenticator app.
|
|
816
822
|
*
|
|
817
823
|
* @param {string} userId
|
|
818
|
-
* @param {
|
|
819
|
-
* @param {string} otp
|
|
824
|
+
* @param {AuthenticatorType} type
|
|
820
825
|
* @throws {AppwriteException}
|
|
821
826
|
* @returns {Promise}
|
|
822
827
|
*/
|
|
823
|
-
async
|
|
828
|
+
async deleteMfaAuthenticator<Preferences extends Models.Preferences>(userId: string, type: AuthenticatorType): Promise<Models.User<Preferences>> {
|
|
824
829
|
if (typeof userId === 'undefined') {
|
|
825
830
|
throw new AppwriteException('Missing required parameter: "userId"');
|
|
826
831
|
}
|
|
827
832
|
|
|
828
|
-
if (typeof
|
|
829
|
-
throw new AppwriteException('Missing required parameter: "
|
|
833
|
+
if (typeof type === 'undefined') {
|
|
834
|
+
throw new AppwriteException('Missing required parameter: "type"');
|
|
830
835
|
}
|
|
831
836
|
|
|
832
|
-
|
|
833
|
-
|
|
837
|
+
const apiPath = '/users/{userId}/mfa/authenticators/{type}'.replace('{userId}', userId).replace('{type}', type);
|
|
838
|
+
const payload: Payload = {};
|
|
839
|
+
|
|
840
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
841
|
+
return await this.client.call('delete', uri, {
|
|
842
|
+
'content-type': 'application/json',
|
|
843
|
+
}, payload);
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
/**
|
|
847
|
+
* List Factors
|
|
848
|
+
*
|
|
849
|
+
* List the factors available on the account to be used as a MFA challange.
|
|
850
|
+
*
|
|
851
|
+
* @param {string} userId
|
|
852
|
+
* @throws {AppwriteException}
|
|
853
|
+
* @returns {Promise}
|
|
854
|
+
*/
|
|
855
|
+
async listMfaFactors(userId: string): Promise<Models.MfaFactors> {
|
|
856
|
+
if (typeof userId === 'undefined') {
|
|
857
|
+
throw new AppwriteException('Missing required parameter: "userId"');
|
|
834
858
|
}
|
|
835
859
|
|
|
836
|
-
const apiPath = '/users/{userId}/mfa/
|
|
860
|
+
const apiPath = '/users/{userId}/mfa/factors'.replace('{userId}', userId);
|
|
837
861
|
const payload: Payload = {};
|
|
838
862
|
|
|
839
|
-
|
|
840
|
-
|
|
863
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
864
|
+
return await this.client.call('get', uri, {
|
|
865
|
+
'content-type': 'application/json',
|
|
866
|
+
}, payload);
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
/**
|
|
870
|
+
* Get MFA Recovery Codes
|
|
871
|
+
*
|
|
872
|
+
* Get recovery codes that can be used as backup for MFA flow by User ID.
|
|
873
|
+
* Before getting codes, they must be generated using
|
|
874
|
+
* [createMfaRecoveryCodes](/docs/references/cloud/client-web/account#createMfaRecoveryCodes)
|
|
875
|
+
* method.
|
|
876
|
+
*
|
|
877
|
+
* @param {string} userId
|
|
878
|
+
* @throws {AppwriteException}
|
|
879
|
+
* @returns {Promise}
|
|
880
|
+
*/
|
|
881
|
+
async getMfaRecoveryCodes(userId: string): Promise<Models.MfaRecoveryCodes> {
|
|
882
|
+
if (typeof userId === 'undefined') {
|
|
883
|
+
throw new AppwriteException('Missing required parameter: "userId"');
|
|
841
884
|
}
|
|
842
885
|
|
|
886
|
+
const apiPath = '/users/{userId}/mfa/recovery-codes'.replace('{userId}', userId);
|
|
887
|
+
const payload: Payload = {};
|
|
888
|
+
|
|
843
889
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
844
|
-
return await this.client.call('
|
|
890
|
+
return await this.client.call('get', uri, {
|
|
891
|
+
'content-type': 'application/json',
|
|
892
|
+
}, payload);
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
/**
|
|
896
|
+
* Regenerate MFA Recovery Codes
|
|
897
|
+
*
|
|
898
|
+
* Regenerate recovery codes that can be used as backup for MFA flow by User
|
|
899
|
+
* ID. Before regenerating codes, they must be first generated using
|
|
900
|
+
* [createMfaRecoveryCodes](/docs/references/cloud/client-web/account#createMfaRecoveryCodes)
|
|
901
|
+
* method.
|
|
902
|
+
*
|
|
903
|
+
* @param {string} userId
|
|
904
|
+
* @throws {AppwriteException}
|
|
905
|
+
* @returns {Promise}
|
|
906
|
+
*/
|
|
907
|
+
async updateMfaRecoveryCodes(userId: string): Promise<Models.MfaRecoveryCodes> {
|
|
908
|
+
if (typeof userId === 'undefined') {
|
|
909
|
+
throw new AppwriteException('Missing required parameter: "userId"');
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
const apiPath = '/users/{userId}/mfa/recovery-codes'.replace('{userId}', userId);
|
|
913
|
+
const payload: Payload = {};
|
|
914
|
+
|
|
915
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
916
|
+
return await this.client.call('put', uri, {
|
|
917
|
+
'content-type': 'application/json',
|
|
918
|
+
}, payload);
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
/**
|
|
922
|
+
* Create MFA Recovery Codes
|
|
923
|
+
*
|
|
924
|
+
* Generate recovery codes used as backup for MFA flow for User ID. Recovery
|
|
925
|
+
* codes can be used as a MFA verification type in
|
|
926
|
+
* [createMfaChallenge](/docs/references/cloud/client-web/account#createMfaChallenge)
|
|
927
|
+
* method by client SDK.
|
|
928
|
+
*
|
|
929
|
+
* @param {string} userId
|
|
930
|
+
* @throws {AppwriteException}
|
|
931
|
+
* @returns {Promise}
|
|
932
|
+
*/
|
|
933
|
+
async createMfaRecoveryCodes(userId: string): Promise<Models.MfaRecoveryCodes> {
|
|
934
|
+
if (typeof userId === 'undefined') {
|
|
935
|
+
throw new AppwriteException('Missing required parameter: "userId"');
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
const apiPath = '/users/{userId}/mfa/recovery-codes'.replace('{userId}', userId);
|
|
939
|
+
const payload: Payload = {};
|
|
940
|
+
|
|
941
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
942
|
+
return await this.client.call('patch', uri, {
|
|
845
943
|
'content-type': 'application/json',
|
|
846
944
|
}, payload);
|
|
847
945
|
}
|
|
@@ -999,28 +1097,6 @@ export class Users extends Service {
|
|
|
999
1097
|
}, payload);
|
|
1000
1098
|
}
|
|
1001
1099
|
|
|
1002
|
-
/**
|
|
1003
|
-
* List Providers
|
|
1004
|
-
*
|
|
1005
|
-
*
|
|
1006
|
-
* @param {string} userId
|
|
1007
|
-
* @throws {AppwriteException}
|
|
1008
|
-
* @returns {Promise}
|
|
1009
|
-
*/
|
|
1010
|
-
async listProviders(userId: string): Promise<Models.MfaProviders> {
|
|
1011
|
-
if (typeof userId === 'undefined') {
|
|
1012
|
-
throw new AppwriteException('Missing required parameter: "userId"');
|
|
1013
|
-
}
|
|
1014
|
-
|
|
1015
|
-
const apiPath = '/users/{userId}/providers'.replace('{userId}', userId);
|
|
1016
|
-
const payload: Payload = {};
|
|
1017
|
-
|
|
1018
|
-
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
1019
|
-
return await this.client.call('get', uri, {
|
|
1020
|
-
'content-type': 'application/json',
|
|
1021
|
-
}, payload);
|
|
1022
|
-
}
|
|
1023
|
-
|
|
1024
1100
|
/**
|
|
1025
1101
|
* List user sessions
|
|
1026
1102
|
*
|
|
@@ -1159,13 +1235,14 @@ export class Users extends Service {
|
|
|
1159
1235
|
/**
|
|
1160
1236
|
* List User Targets
|
|
1161
1237
|
*
|
|
1238
|
+
* List the messaging targets that are associated with a user.
|
|
1162
1239
|
*
|
|
1163
1240
|
* @param {string} userId
|
|
1164
|
-
* @param {string} queries
|
|
1241
|
+
* @param {string[]} queries
|
|
1165
1242
|
* @throws {AppwriteException}
|
|
1166
1243
|
* @returns {Promise}
|
|
1167
1244
|
*/
|
|
1168
|
-
async listTargets(userId: string, queries?: string): Promise<Models.TargetList> {
|
|
1245
|
+
async listTargets(userId: string, queries?: string[]): Promise<Models.TargetList> {
|
|
1169
1246
|
if (typeof userId === 'undefined') {
|
|
1170
1247
|
throw new AppwriteException('Missing required parameter: "userId"');
|
|
1171
1248
|
}
|
|
@@ -1186,17 +1263,18 @@ export class Users extends Service {
|
|
|
1186
1263
|
/**
|
|
1187
1264
|
* Create User Target
|
|
1188
1265
|
*
|
|
1266
|
+
* Create a messaging target.
|
|
1189
1267
|
*
|
|
1190
1268
|
* @param {string} userId
|
|
1191
1269
|
* @param {string} targetId
|
|
1192
|
-
* @param {
|
|
1270
|
+
* @param {MessagingProviderType} providerType
|
|
1193
1271
|
* @param {string} identifier
|
|
1194
1272
|
* @param {string} providerId
|
|
1195
1273
|
* @param {string} name
|
|
1196
1274
|
* @throws {AppwriteException}
|
|
1197
1275
|
* @returns {Promise}
|
|
1198
1276
|
*/
|
|
1199
|
-
async createTarget(userId: string, targetId: string, providerType:
|
|
1277
|
+
async createTarget(userId: string, targetId: string, providerType: MessagingProviderType, identifier: string, providerId?: string, name?: string): Promise<Models.Target> {
|
|
1200
1278
|
if (typeof userId === 'undefined') {
|
|
1201
1279
|
throw new AppwriteException('Missing required parameter: "userId"');
|
|
1202
1280
|
}
|
|
@@ -1245,6 +1323,7 @@ export class Users extends Service {
|
|
|
1245
1323
|
/**
|
|
1246
1324
|
* Get User Target
|
|
1247
1325
|
*
|
|
1326
|
+
* Get a user's push notification target by ID.
|
|
1248
1327
|
*
|
|
1249
1328
|
* @param {string} userId
|
|
1250
1329
|
* @param {string} targetId
|
|
@@ -1272,6 +1351,7 @@ export class Users extends Service {
|
|
|
1272
1351
|
/**
|
|
1273
1352
|
* Update User target
|
|
1274
1353
|
*
|
|
1354
|
+
* Update a messaging target.
|
|
1275
1355
|
*
|
|
1276
1356
|
* @param {string} userId
|
|
1277
1357
|
* @param {string} targetId
|
|
@@ -1314,6 +1394,7 @@ export class Users extends Service {
|
|
|
1314
1394
|
/**
|
|
1315
1395
|
* Delete user target
|
|
1316
1396
|
*
|
|
1397
|
+
* Delete a messaging target.
|
|
1317
1398
|
*
|
|
1318
1399
|
* @param {string} userId
|
|
1319
1400
|
* @param {string} targetId
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare enum ApiService {
|
|
2
|
+
Account = "account",
|
|
3
|
+
Avatars = "avatars",
|
|
4
|
+
Databases = "databases",
|
|
5
|
+
Locale = "locale",
|
|
6
|
+
Health = "health",
|
|
7
|
+
Storage = "storage",
|
|
8
|
+
Teams = "teams",
|
|
9
|
+
Users = "users",
|
|
10
|
+
Functions = "functions",
|
|
11
|
+
Graphql = "graphql",
|
|
12
|
+
Messaging = "messaging"
|
|
13
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare enum Browser {
|
|
2
|
+
AvantBrowser = "aa",
|
|
3
|
+
AndroidWebViewBeta = "an",
|
|
4
|
+
GoogleChrome = "ch",
|
|
5
|
+
GoogleChromeIOS = "ci",
|
|
6
|
+
GoogleChromeMobile = "cm",
|
|
7
|
+
Chromium = "cr",
|
|
8
|
+
MozillaFirefox = "ff",
|
|
9
|
+
Safari = "sf",
|
|
10
|
+
MobileSafari = "mf",
|
|
11
|
+
MicrosoftEdge = "ps",
|
|
12
|
+
MicrosoftEdgeIOS = "oi",
|
|
13
|
+
OperaMini = "om",
|
|
14
|
+
Opera = "op",
|
|
15
|
+
OperaNext = "on"
|
|
16
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare enum CreditCard {
|
|
2
|
+
AmericanExpress = "amex",
|
|
3
|
+
Argencard = "argencard",
|
|
4
|
+
Cabal = "cabal",
|
|
5
|
+
Consosud = "censosud",
|
|
6
|
+
DinersClub = "diners",
|
|
7
|
+
Discover = "discover",
|
|
8
|
+
Elo = "elo",
|
|
9
|
+
Hipercard = "hipercard",
|
|
10
|
+
JCB = "jcb",
|
|
11
|
+
Mastercard = "mastercard",
|
|
12
|
+
Naranja = "naranja",
|
|
13
|
+
TarjetaShopping = "targeta-shopping",
|
|
14
|
+
UnionChinaPay = "union-china-pay",
|
|
15
|
+
Visa = "visa",
|
|
16
|
+
MIR = "mir",
|
|
17
|
+
Maestro = "maestro"
|
|
18
|
+
}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
export declare enum EmailTemplateLocale {
|
|
2
|
+
Af = "af",
|
|
3
|
+
Arae = "ar-ae",
|
|
4
|
+
Arbh = "ar-bh",
|
|
5
|
+
Ardz = "ar-dz",
|
|
6
|
+
Areg = "ar-eg",
|
|
7
|
+
Ariq = "ar-iq",
|
|
8
|
+
Arjo = "ar-jo",
|
|
9
|
+
Arkw = "ar-kw",
|
|
10
|
+
Arlb = "ar-lb",
|
|
11
|
+
Arly = "ar-ly",
|
|
12
|
+
Arma = "ar-ma",
|
|
13
|
+
Arom = "ar-om",
|
|
14
|
+
Arqa = "ar-qa",
|
|
15
|
+
Arsa = "ar-sa",
|
|
16
|
+
Arsy = "ar-sy",
|
|
17
|
+
Artn = "ar-tn",
|
|
18
|
+
Arye = "ar-ye",
|
|
19
|
+
As = "as",
|
|
20
|
+
Az = "az",
|
|
21
|
+
Be = "be",
|
|
22
|
+
Bg = "bg",
|
|
23
|
+
Bh = "bh",
|
|
24
|
+
Bn = "bn",
|
|
25
|
+
Bs = "bs",
|
|
26
|
+
Ca = "ca",
|
|
27
|
+
Cs = "cs",
|
|
28
|
+
Cy = "cy",
|
|
29
|
+
Da = "da",
|
|
30
|
+
De = "de",
|
|
31
|
+
Deat = "de-at",
|
|
32
|
+
Dech = "de-ch",
|
|
33
|
+
Deli = "de-li",
|
|
34
|
+
Delu = "de-lu",
|
|
35
|
+
El = "el",
|
|
36
|
+
En = "en",
|
|
37
|
+
Enau = "en-au",
|
|
38
|
+
Enbz = "en-bz",
|
|
39
|
+
Enca = "en-ca",
|
|
40
|
+
Engb = "en-gb",
|
|
41
|
+
Enie = "en-ie",
|
|
42
|
+
Enjm = "en-jm",
|
|
43
|
+
Ennz = "en-nz",
|
|
44
|
+
Entt = "en-tt",
|
|
45
|
+
Enus = "en-us",
|
|
46
|
+
Enza = "en-za",
|
|
47
|
+
Eo = "eo",
|
|
48
|
+
Es = "es",
|
|
49
|
+
Esar = "es-ar",
|
|
50
|
+
Esbo = "es-bo",
|
|
51
|
+
Escl = "es-cl",
|
|
52
|
+
Esco = "es-co",
|
|
53
|
+
Escr = "es-cr",
|
|
54
|
+
Esdo = "es-do",
|
|
55
|
+
Esec = "es-ec",
|
|
56
|
+
Esgt = "es-gt",
|
|
57
|
+
Eshn = "es-hn",
|
|
58
|
+
Esmx = "es-mx",
|
|
59
|
+
Esni = "es-ni",
|
|
60
|
+
Espa = "es-pa",
|
|
61
|
+
Espe = "es-pe",
|
|
62
|
+
Espr = "es-pr",
|
|
63
|
+
Espy = "es-py",
|
|
64
|
+
Essv = "es-sv",
|
|
65
|
+
Esuy = "es-uy",
|
|
66
|
+
Esve = "es-ve",
|
|
67
|
+
Et = "et",
|
|
68
|
+
Eu = "eu",
|
|
69
|
+
Fa = "fa",
|
|
70
|
+
Fi = "fi",
|
|
71
|
+
Fo = "fo",
|
|
72
|
+
Fr = "fr",
|
|
73
|
+
Frbe = "fr-be",
|
|
74
|
+
Frca = "fr-ca",
|
|
75
|
+
Frch = "fr-ch",
|
|
76
|
+
Frlu = "fr-lu",
|
|
77
|
+
Ga = "ga",
|
|
78
|
+
Gd = "gd",
|
|
79
|
+
He = "he",
|
|
80
|
+
Hi = "hi",
|
|
81
|
+
Hr = "hr",
|
|
82
|
+
Hu = "hu",
|
|
83
|
+
Id = "id",
|
|
84
|
+
Is = "is",
|
|
85
|
+
It = "it",
|
|
86
|
+
Itch = "it-ch",
|
|
87
|
+
Ja = "ja",
|
|
88
|
+
Ji = "ji",
|
|
89
|
+
Ko = "ko",
|
|
90
|
+
Ku = "ku",
|
|
91
|
+
Lt = "lt",
|
|
92
|
+
Lv = "lv",
|
|
93
|
+
Mk = "mk",
|
|
94
|
+
Ml = "ml",
|
|
95
|
+
Ms = "ms",
|
|
96
|
+
Mt = "mt",
|
|
97
|
+
Nb = "nb",
|
|
98
|
+
Ne = "ne",
|
|
99
|
+
Nl = "nl",
|
|
100
|
+
Nlbe = "nl-be",
|
|
101
|
+
Nn = "nn",
|
|
102
|
+
No = "no",
|
|
103
|
+
Pa = "pa",
|
|
104
|
+
Pl = "pl",
|
|
105
|
+
Pt = "pt",
|
|
106
|
+
Ptbr = "pt-br",
|
|
107
|
+
Rm = "rm",
|
|
108
|
+
Ro = "ro",
|
|
109
|
+
Romd = "ro-md",
|
|
110
|
+
Ru = "ru",
|
|
111
|
+
Rumd = "ru-md",
|
|
112
|
+
Sb = "sb",
|
|
113
|
+
Sk = "sk",
|
|
114
|
+
Sl = "sl",
|
|
115
|
+
Sq = "sq",
|
|
116
|
+
Sr = "sr",
|
|
117
|
+
Sv = "sv",
|
|
118
|
+
Svfi = "sv-fi",
|
|
119
|
+
Th = "th",
|
|
120
|
+
Tn = "tn",
|
|
121
|
+
Tr = "tr",
|
|
122
|
+
Ts = "ts",
|
|
123
|
+
Ua = "ua",
|
|
124
|
+
Ur = "ur",
|
|
125
|
+
Ve = "ve",
|
|
126
|
+
Vi = "vi",
|
|
127
|
+
Xh = "xh",
|
|
128
|
+
Zhcn = "zh-cn",
|
|
129
|
+
Zhhk = "zh-hk",
|
|
130
|
+
Zhsg = "zh-sg",
|
|
131
|
+
Zhtw = "zh-tw",
|
|
132
|
+
Zu = "zu"
|
|
133
|
+
}
|