@appwrite.io/console 1.5.2 → 1.7.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/CHANGELOG.md +9 -1
- package/README.md +3 -3
- package/dist/cjs/sdk.js +11874 -11100
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +11872 -11101
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +11874 -11100
- package/docs/examples/account/create-anonymous-session.md +1 -1
- package/docs/examples/account/create-billing-address.md +1 -1
- package/docs/examples/account/create-email-password-session.md +1 -1
- package/docs/examples/account/create-email-token.md +1 -1
- package/docs/examples/account/create-j-w-t.md +1 -1
- package/docs/examples/account/create-magic-u-r-l-token.md +1 -1
- package/docs/examples/account/create-mfa-authenticator.md +1 -1
- package/docs/examples/account/create-mfa-challenge.md +1 -1
- package/docs/examples/account/create-mfa-recovery-codes.md +1 -1
- package/docs/examples/account/create-o-auth2session.md +1 -1
- package/docs/examples/account/create-o-auth2token.md +1 -1
- package/docs/examples/account/create-payment-method.md +1 -1
- package/docs/examples/account/create-phone-token.md +1 -1
- package/docs/examples/account/create-phone-verification.md +1 -1
- package/docs/examples/account/create-push-target.md +1 -1
- package/docs/examples/account/create-recovery.md +1 -1
- package/docs/examples/account/create-session.md +1 -1
- package/docs/examples/account/create-verification.md +1 -1
- package/docs/examples/account/create.md +1 -1
- package/docs/examples/account/delete-billing-address.md +1 -1
- package/docs/examples/account/delete-identity.md +1 -1
- package/docs/examples/account/delete-mfa-authenticator.md +1 -1
- package/docs/examples/account/delete-payment-method.md +1 -1
- package/docs/examples/account/delete-push-target.md +1 -1
- package/docs/examples/account/delete-session.md +1 -1
- package/docs/examples/account/delete-sessions.md +1 -1
- package/docs/examples/account/delete.md +1 -1
- package/docs/examples/account/get-billing-address.md +1 -1
- package/docs/examples/account/get-coupon.md +1 -1
- package/docs/examples/account/get-mfa-recovery-codes.md +1 -1
- package/docs/examples/account/get-payment-method.md +1 -1
- package/docs/examples/account/get-prefs.md +1 -1
- package/docs/examples/account/get-session.md +1 -1
- package/docs/examples/account/get.md +1 -1
- package/docs/examples/account/list-billing-addresses.md +1 -1
- package/docs/examples/account/list-identities.md +1 -1
- package/docs/examples/account/list-invoices.md +1 -1
- package/docs/examples/account/list-logs.md +1 -1
- package/docs/examples/account/list-mfa-factors.md +1 -1
- package/docs/examples/account/list-payment-methods.md +1 -1
- package/docs/examples/account/list-sessions.md +1 -1
- package/docs/examples/account/update-billing-address.md +1 -1
- package/docs/examples/account/update-email.md +1 -1
- package/docs/examples/account/update-m-f-a.md +1 -1
- package/docs/examples/account/update-magic-u-r-l-session.md +1 -1
- package/docs/examples/account/update-mfa-authenticator.md +1 -1
- package/docs/examples/account/update-mfa-challenge.md +1 -1
- package/docs/examples/account/update-mfa-recovery-codes.md +1 -1
- package/docs/examples/account/update-name.md +1 -1
- package/docs/examples/account/update-password.md +1 -1
- package/docs/examples/account/update-payment-method-mandate-options.md +1 -1
- package/docs/examples/account/update-payment-method-provider.md +1 -1
- package/docs/examples/account/update-payment-method.md +1 -1
- package/docs/examples/account/update-phone-session.md +1 -1
- package/docs/examples/account/update-phone-verification.md +1 -1
- package/docs/examples/account/update-phone.md +1 -1
- package/docs/examples/account/update-prefs.md +1 -1
- package/docs/examples/account/update-push-target.md +1 -1
- package/docs/examples/account/update-recovery.md +1 -1
- package/docs/examples/account/update-session.md +1 -1
- package/docs/examples/account/update-status.md +1 -1
- package/docs/examples/account/update-verification.md +1 -1
- package/docs/examples/assistant/chat.md +1 -1
- package/docs/examples/avatars/get-browser.md +2 -2
- package/docs/examples/avatars/get-credit-card.md +2 -2
- package/docs/examples/avatars/get-favicon.md +1 -1
- package/docs/examples/avatars/get-flag.md +2 -2
- package/docs/examples/avatars/get-image.md +1 -1
- package/docs/examples/avatars/get-initials.md +1 -1
- package/docs/examples/avatars/get-q-r.md +1 -1
- package/docs/examples/backups/create-archive.md +1 -1
- package/docs/examples/backups/create-policy.md +1 -1
- package/docs/examples/backups/create-restoration.md +1 -1
- package/docs/examples/backups/delete-archive.md +1 -1
- package/docs/examples/backups/delete-policy.md +1 -1
- package/docs/examples/backups/get-archive.md +1 -1
- package/docs/examples/backups/get-policy.md +1 -1
- package/docs/examples/backups/get-restoration.md +1 -1
- package/docs/examples/backups/list-archives.md +1 -1
- package/docs/examples/backups/list-policies.md +1 -1
- package/docs/examples/backups/list-restorations.md +1 -1
- package/docs/examples/backups/update-policy.md +1 -1
- package/docs/examples/console/create-program-membership.md +1 -1
- package/docs/examples/console/create-source.md +1 -1
- package/docs/examples/console/get-campaign.md +1 -1
- package/docs/examples/console/get-coupon.md +1 -1
- package/docs/examples/console/get-resource.md +14 -0
- package/docs/examples/console/plans.md +1 -1
- package/docs/examples/console/regions.md +1 -1
- package/docs/examples/console/variables.md +1 -1
- package/docs/examples/databases/create-boolean-attribute.md +1 -1
- package/docs/examples/databases/create-collection.md +1 -1
- package/docs/examples/databases/create-datetime-attribute.md +1 -1
- package/docs/examples/databases/create-document.md +4 -2
- package/docs/examples/databases/create-documents.md +15 -0
- package/docs/examples/databases/create-email-attribute.md +1 -1
- package/docs/examples/databases/create-enum-attribute.md +1 -1
- package/docs/examples/databases/create-float-attribute.md +1 -1
- package/docs/examples/databases/create-index.md +3 -2
- package/docs/examples/databases/create-integer-attribute.md +1 -1
- package/docs/examples/databases/create-ip-attribute.md +1 -1
- package/docs/examples/databases/create-relationship-attribute.md +1 -1
- package/docs/examples/databases/create-string-attribute.md +1 -1
- package/docs/examples/databases/create-url-attribute.md +1 -1
- package/docs/examples/databases/create.md +1 -1
- package/docs/examples/databases/delete-attribute.md +1 -1
- package/docs/examples/databases/delete-collection.md +1 -1
- package/docs/examples/databases/delete-document.md +1 -1
- package/docs/examples/databases/delete-documents.md +15 -0
- package/docs/examples/databases/delete-index.md +1 -1
- package/docs/examples/databases/delete.md +1 -1
- package/docs/examples/databases/get-attribute.md +1 -1
- package/docs/examples/databases/get-collection-usage.md +1 -1
- package/docs/examples/databases/get-collection.md +1 -1
- package/docs/examples/databases/get-database-usage.md +1 -1
- package/docs/examples/databases/get-document.md +1 -1
- package/docs/examples/databases/get-index.md +1 -1
- package/docs/examples/databases/get-usage.md +1 -1
- package/docs/examples/databases/get.md +1 -1
- package/docs/examples/databases/list-attributes.md +1 -1
- package/docs/examples/databases/list-collection-logs.md +1 -1
- package/docs/examples/databases/list-collections.md +1 -1
- package/docs/examples/databases/list-document-logs.md +1 -1
- package/docs/examples/databases/list-documents.md +1 -1
- package/docs/examples/databases/list-indexes.md +1 -1
- package/docs/examples/databases/list-logs.md +1 -1
- package/docs/examples/databases/list.md +1 -1
- package/docs/examples/databases/update-boolean-attribute.md +1 -1
- package/docs/examples/databases/update-collection.md +1 -1
- package/docs/examples/databases/update-datetime-attribute.md +1 -1
- package/docs/examples/databases/update-document.md +1 -1
- package/docs/examples/databases/update-documents.md +16 -0
- package/docs/examples/databases/update-email-attribute.md +1 -1
- package/docs/examples/databases/update-enum-attribute.md +1 -1
- package/docs/examples/databases/update-float-attribute.md +1 -1
- package/docs/examples/databases/update-integer-attribute.md +1 -1
- package/docs/examples/databases/update-ip-attribute.md +1 -1
- package/docs/examples/databases/update-relationship-attribute.md +1 -1
- package/docs/examples/databases/update-string-attribute.md +1 -1
- package/docs/examples/databases/update-url-attribute.md +1 -1
- package/docs/examples/databases/update.md +1 -1
- package/docs/examples/databases/upsert-documents.md +15 -0
- package/docs/examples/domains/create-preset-google-workspace.md +13 -0
- package/docs/examples/domains/create-preset-i-cloud.md +13 -0
- package/docs/examples/domains/create-preset-mailgun.md +13 -0
- package/docs/examples/domains/create-preset-outlook.md +13 -0
- package/docs/examples/domains/create-preset-proton-mail.md +13 -0
- package/docs/examples/domains/create-preset-zoho.md +13 -0
- package/docs/examples/domains/create-record-a-a-a-a.md +17 -0
- package/docs/examples/domains/create-record-a.md +17 -0
- package/docs/examples/domains/create-record-alias.md +17 -0
- package/docs/examples/domains/create-record-c-a-a.md +17 -0
- package/docs/examples/domains/create-record-c-n-a-m-e.md +17 -0
- package/docs/examples/domains/create-record-h-t-t-p-s.md +17 -0
- package/docs/examples/domains/create-record-m-x.md +18 -0
- package/docs/examples/domains/create-record-n-s.md +17 -0
- package/docs/examples/domains/create-record-s-r-v.md +20 -0
- package/docs/examples/domains/create-record-t-x-t.md +17 -0
- package/docs/examples/domains/create.md +14 -0
- package/docs/examples/domains/delete-record.md +14 -0
- package/docs/examples/domains/delete.md +13 -0
- package/docs/examples/domains/get-preset-google-workspace.md +13 -0
- package/docs/examples/domains/get-preset-i-cloud.md +13 -0
- package/docs/examples/domains/get-preset-mailgun.md +13 -0
- package/docs/examples/domains/get-preset-outlook.md +13 -0
- package/docs/examples/domains/get-preset-proton-mail.md +13 -0
- package/docs/examples/domains/get-preset-zoho.md +13 -0
- package/docs/examples/domains/get-record.md +14 -0
- package/docs/examples/domains/get-zone.md +13 -0
- package/docs/examples/domains/get.md +13 -0
- package/docs/examples/domains/list-records.md +14 -0
- package/docs/examples/domains/list.md +14 -0
- package/docs/examples/domains/update-nameservers.md +13 -0
- package/docs/examples/domains/update-record-a-a-a-a.md +18 -0
- package/docs/examples/domains/update-record-a.md +18 -0
- package/docs/examples/domains/update-record-alias.md +18 -0
- package/docs/examples/domains/update-record-c-a-a.md +18 -0
- package/docs/examples/domains/update-record-c-n-a-m-e.md +18 -0
- package/docs/examples/domains/update-record-h-t-t-p-s.md +18 -0
- package/docs/examples/domains/update-record-m-x.md +19 -0
- package/docs/examples/domains/update-record-n-s.md +18 -0
- package/docs/examples/domains/update-record-s-r-v.md +21 -0
- package/docs/examples/domains/update-record-t-x-t.md +18 -0
- package/docs/examples/domains/update-team.md +14 -0
- package/docs/examples/domains/update-zone.md +14 -0
- package/docs/examples/functions/create-deployment.md +1 -1
- package/docs/examples/functions/create-duplicate-deployment.md +15 -0
- package/docs/examples/functions/create-execution.md +1 -1
- package/docs/examples/functions/create-template-deployment.md +18 -0
- package/docs/examples/functions/create-variable.md +3 -2
- package/docs/examples/functions/create-vcs-deployment.md +16 -0
- package/docs/examples/functions/create.md +3 -3
- package/docs/examples/functions/delete-deployment.md +1 -1
- package/docs/examples/functions/delete-execution.md +1 -1
- package/docs/examples/functions/delete-variable.md +1 -1
- package/docs/examples/functions/delete.md +1 -1
- package/docs/examples/functions/get-deployment-download.md +4 -3
- package/docs/examples/functions/get-deployment.md +1 -1
- package/docs/examples/functions/get-execution.md +1 -1
- package/docs/examples/functions/get-template.md +1 -1
- package/docs/examples/functions/get-usage.md +2 -1
- package/docs/examples/functions/get-variable.md +1 -1
- package/docs/examples/functions/get.md +1 -1
- package/docs/examples/functions/list-deployments.md +1 -1
- package/docs/examples/functions/list-executions.md +2 -3
- package/docs/examples/functions/list-runtimes.md +1 -1
- package/docs/examples/functions/list-specifications.md +1 -1
- package/docs/examples/functions/list-templates.md +1 -1
- package/docs/examples/functions/list-usage.md +13 -0
- package/docs/examples/functions/list-variables.md +1 -1
- package/docs/examples/functions/list.md +1 -1
- package/docs/examples/functions/update-deployment-status.md +14 -0
- package/docs/examples/functions/update-function-deployment.md +14 -0
- package/docs/examples/functions/update-variable.md +3 -2
- package/docs/examples/functions/update.md +1 -1
- package/docs/examples/graphql/mutation.md +1 -1
- package/docs/examples/graphql/query.md +1 -1
- package/docs/examples/health/get-antivirus.md +1 -1
- package/docs/examples/health/get-cache.md +1 -1
- package/docs/examples/health/get-certificate.md +1 -1
- package/docs/examples/health/get-d-b.md +1 -1
- package/docs/examples/health/get-failed-jobs.md +1 -1
- package/docs/examples/health/get-pub-sub.md +1 -1
- package/docs/examples/health/get-queue-billing-aggregation.md +1 -1
- package/docs/examples/health/get-queue-builds.md +1 -1
- package/docs/examples/health/get-queue-certificates.md +1 -1
- package/docs/examples/health/get-queue-databases.md +1 -1
- package/docs/examples/health/get-queue-deletes.md +1 -1
- package/docs/examples/health/get-queue-functions.md +1 -1
- package/docs/examples/health/get-queue-logs.md +1 -1
- package/docs/examples/health/get-queue-mails.md +1 -1
- package/docs/examples/health/get-queue-messaging.md +1 -1
- package/docs/examples/health/get-queue-migrations.md +1 -1
- package/docs/examples/health/get-queue-priority-builds.md +1 -1
- package/docs/examples/health/get-queue-region-manager.md +13 -0
- package/docs/examples/health/get-queue-stats-resources.md +1 -1
- package/docs/examples/health/get-queue-usage.md +1 -1
- package/docs/examples/health/get-queue-webhooks.md +1 -1
- package/docs/examples/health/get-storage-local.md +1 -1
- package/docs/examples/health/get-storage.md +1 -1
- package/docs/examples/health/get-time.md +1 -1
- package/docs/examples/health/get.md +1 -1
- package/docs/examples/locale/get.md +1 -1
- package/docs/examples/locale/list-codes.md +1 -1
- package/docs/examples/locale/list-continents.md +1 -1
- package/docs/examples/locale/list-countries-e-u.md +1 -1
- package/docs/examples/locale/list-countries-phones.md +1 -1
- package/docs/examples/locale/list-countries.md +1 -1
- package/docs/examples/locale/list-currencies.md +1 -1
- package/docs/examples/locale/list-languages.md +1 -1
- package/docs/examples/messaging/create-apns-provider.md +1 -1
- package/docs/examples/messaging/create-email.md +1 -1
- package/docs/examples/messaging/create-fcm-provider.md +1 -1
- package/docs/examples/messaging/create-mailgun-provider.md +1 -1
- package/docs/examples/messaging/create-msg91provider.md +1 -1
- package/docs/examples/messaging/create-push.md +1 -1
- package/docs/examples/messaging/create-sendgrid-provider.md +1 -1
- package/docs/examples/messaging/create-sms.md +1 -1
- package/docs/examples/messaging/create-smtp-provider.md +1 -1
- package/docs/examples/messaging/create-subscriber.md +1 -1
- package/docs/examples/messaging/create-telesign-provider.md +1 -1
- package/docs/examples/messaging/create-textmagic-provider.md +1 -1
- package/docs/examples/messaging/create-topic.md +1 -1
- package/docs/examples/messaging/create-twilio-provider.md +1 -1
- package/docs/examples/messaging/create-vonage-provider.md +1 -1
- package/docs/examples/messaging/delete-provider.md +1 -1
- package/docs/examples/messaging/delete-subscriber.md +1 -1
- package/docs/examples/messaging/delete-topic.md +1 -1
- package/docs/examples/messaging/delete.md +1 -1
- package/docs/examples/messaging/get-message.md +1 -1
- package/docs/examples/messaging/get-provider.md +1 -1
- package/docs/examples/messaging/get-subscriber.md +1 -1
- package/docs/examples/messaging/get-topic.md +1 -1
- package/docs/examples/messaging/list-message-logs.md +1 -1
- package/docs/examples/messaging/list-messages.md +1 -1
- package/docs/examples/messaging/list-provider-logs.md +1 -1
- package/docs/examples/messaging/list-providers.md +1 -1
- package/docs/examples/messaging/list-subscriber-logs.md +1 -1
- package/docs/examples/messaging/list-subscribers.md +1 -1
- package/docs/examples/messaging/list-targets.md +1 -1
- package/docs/examples/messaging/list-topic-logs.md +1 -1
- package/docs/examples/messaging/list-topics.md +1 -1
- package/docs/examples/messaging/update-apns-provider.md +1 -1
- package/docs/examples/messaging/update-email.md +1 -1
- package/docs/examples/messaging/update-fcm-provider.md +1 -1
- package/docs/examples/messaging/update-mailgun-provider.md +1 -1
- package/docs/examples/messaging/update-msg91provider.md +1 -1
- package/docs/examples/messaging/update-push.md +1 -1
- package/docs/examples/messaging/update-sendgrid-provider.md +1 -1
- package/docs/examples/messaging/update-sms.md +1 -1
- package/docs/examples/messaging/update-smtp-provider.md +1 -1
- package/docs/examples/messaging/update-telesign-provider.md +1 -1
- package/docs/examples/messaging/update-textmagic-provider.md +1 -1
- package/docs/examples/messaging/update-topic.md +1 -1
- package/docs/examples/messaging/update-twilio-provider.md +1 -1
- package/docs/examples/messaging/update-vonage-provider.md +1 -1
- package/docs/examples/migrations/create-appwrite-migration.md +1 -1
- package/docs/examples/migrations/create-csv-migration.md +15 -0
- package/docs/examples/migrations/create-firebase-migration.md +1 -1
- package/docs/examples/migrations/create-n-host-migration.md +1 -1
- package/docs/examples/migrations/create-supabase-migration.md +1 -1
- package/docs/examples/migrations/delete.md +1 -1
- package/docs/examples/migrations/get-appwrite-report.md +1 -1
- package/docs/examples/migrations/get-firebase-report.md +1 -1
- package/docs/examples/migrations/get-n-host-report.md +1 -1
- package/docs/examples/migrations/get-supabase-report.md +1 -1
- package/docs/examples/migrations/get.md +1 -1
- package/docs/examples/migrations/list.md +1 -1
- package/docs/examples/migrations/retry.md +1 -1
- package/docs/examples/organizations/add-credit.md +1 -1
- package/docs/examples/organizations/create-invoice-payment.md +1 -1
- package/docs/examples/organizations/create.md +1 -1
- package/docs/examples/organizations/delete-backup-payment-method.md +1 -1
- package/docs/examples/organizations/delete-billing-address.md +1 -1
- package/docs/examples/organizations/delete-default-payment-method.md +1 -1
- package/docs/examples/organizations/delete.md +1 -1
- package/docs/examples/organizations/get-aggregation.md +1 -1
- package/docs/examples/organizations/get-billing-address.md +1 -1
- package/docs/examples/organizations/get-credit.md +1 -1
- package/docs/examples/organizations/get-invoice-download.md +1 -1
- package/docs/examples/organizations/get-invoice-view.md +1 -1
- package/docs/examples/organizations/get-invoice.md +1 -1
- package/docs/examples/organizations/get-payment-method.md +1 -1
- package/docs/examples/organizations/get-plan.md +1 -1
- package/docs/examples/organizations/get-scopes.md +1 -1
- package/docs/examples/organizations/list-aggregations.md +1 -1
- package/docs/examples/organizations/list-credits.md +1 -1
- package/docs/examples/organizations/list-invoices.md +1 -1
- package/docs/examples/organizations/list.md +1 -1
- package/docs/examples/organizations/set-backup-payment-method.md +1 -1
- package/docs/examples/organizations/set-billing-address.md +1 -1
- package/docs/examples/organizations/set-billing-email.md +1 -1
- package/docs/examples/organizations/set-billing-tax-id.md +1 -1
- package/docs/examples/organizations/set-default-payment-method.md +1 -1
- package/docs/examples/organizations/update-budget.md +1 -1
- package/docs/examples/organizations/update-plan.md +1 -1
- package/docs/examples/organizations/validate-invoice.md +14 -0
- package/docs/examples/project/create-variable.md +3 -2
- package/docs/examples/project/delete-variable.md +1 -1
- package/docs/examples/project/get-usage.md +1 -1
- package/docs/examples/project/get-variable.md +1 -1
- package/docs/examples/project/list-variables.md +1 -1
- package/docs/examples/project/update-variable.md +3 -2
- package/docs/examples/projects/create-dev-key.md +15 -0
- package/docs/examples/projects/create-j-w-t.md +1 -1
- package/docs/examples/projects/create-key.md +1 -1
- package/docs/examples/projects/create-platform.md +1 -1
- package/docs/examples/projects/create-smtp-test.md +1 -1
- package/docs/examples/projects/create-webhook.md +1 -1
- package/docs/examples/projects/create.md +2 -2
- package/docs/examples/projects/delete-dev-key.md +14 -0
- package/docs/examples/projects/delete-email-template.md +1 -1
- package/docs/examples/projects/delete-key.md +1 -1
- package/docs/examples/projects/delete-platform.md +1 -1
- package/docs/examples/projects/delete-sms-template.md +1 -1
- package/docs/examples/projects/delete-webhook.md +1 -1
- package/docs/examples/projects/delete.md +1 -1
- package/docs/examples/projects/get-dev-key.md +14 -0
- package/docs/examples/projects/get-email-template.md +1 -1
- package/docs/examples/projects/get-key.md +1 -1
- package/docs/examples/projects/get-platform.md +1 -1
- package/docs/examples/projects/get-sms-template.md +1 -1
- package/docs/examples/projects/get-webhook.md +1 -1
- package/docs/examples/projects/get.md +1 -1
- package/docs/examples/projects/list-dev-keys.md +14 -0
- package/docs/examples/projects/list-keys.md +1 -1
- package/docs/examples/projects/list-platforms.md +1 -1
- package/docs/examples/projects/list-webhooks.md +1 -1
- package/docs/examples/projects/list.md +1 -1
- package/docs/examples/projects/update-api-status-all.md +1 -1
- package/docs/examples/projects/update-api-status.md +1 -1
- package/docs/examples/projects/update-auth-duration.md +1 -1
- package/docs/examples/projects/update-auth-limit.md +1 -1
- package/docs/examples/projects/update-auth-password-dictionary.md +1 -1
- package/docs/examples/projects/update-auth-password-history.md +1 -1
- package/docs/examples/projects/update-auth-sessions-limit.md +1 -1
- package/docs/examples/projects/update-auth-status.md +1 -1
- package/docs/examples/projects/update-dev-key.md +16 -0
- package/docs/examples/projects/update-email-template.md +1 -1
- package/docs/examples/projects/update-key.md +1 -1
- package/docs/examples/projects/update-memberships-privacy.md +1 -1
- package/docs/examples/projects/update-mock-numbers.md +1 -1
- package/docs/examples/projects/update-o-auth2.md +1 -1
- package/docs/examples/projects/update-personal-data-check.md +1 -1
- package/docs/examples/projects/update-platform.md +1 -1
- package/docs/examples/projects/update-service-status-all.md +1 -1
- package/docs/examples/projects/update-service-status.md +1 -1
- package/docs/examples/projects/update-session-alerts.md +1 -1
- package/docs/examples/projects/update-sms-template.md +1 -1
- package/docs/examples/projects/update-smtp.md +1 -1
- package/docs/examples/projects/update-team.md +1 -1
- package/docs/examples/projects/update-webhook-signature.md +1 -1
- package/docs/examples/projects/update-webhook.md +1 -1
- package/docs/examples/projects/update.md +1 -1
- package/docs/examples/proxy/create-a-p-i-rule.md +13 -0
- package/docs/examples/proxy/create-function-rule.md +15 -0
- package/docs/examples/proxy/create-redirect-rule.md +15 -0
- package/docs/examples/proxy/create-site-rule.md +15 -0
- package/docs/examples/proxy/delete-rule.md +1 -1
- package/docs/examples/proxy/get-rule.md +1 -1
- package/docs/examples/proxy/list-rules.md +1 -1
- package/docs/examples/proxy/update-rule-verification.md +1 -1
- package/docs/examples/sites/create-deployment.md +18 -0
- package/docs/examples/sites/create-duplicate-deployment.md +14 -0
- package/docs/examples/sites/create-template-deployment.md +18 -0
- package/docs/examples/sites/create-variable.md +16 -0
- package/docs/examples/sites/create-vcs-deployment.md +16 -0
- package/docs/examples/sites/create.md +30 -0
- package/docs/examples/sites/delete-deployment.md +14 -0
- package/docs/examples/sites/delete-log.md +14 -0
- package/docs/examples/sites/delete-variable.md +14 -0
- package/docs/examples/sites/delete.md +13 -0
- package/docs/examples/sites/get-deployment-download.md +15 -0
- package/docs/examples/sites/get-deployment.md +14 -0
- package/docs/examples/sites/get-log.md +14 -0
- package/docs/examples/sites/get-template.md +13 -0
- package/docs/examples/sites/get-usage.md +14 -0
- package/docs/examples/sites/get-variable.md +14 -0
- package/docs/examples/sites/get.md +13 -0
- package/docs/examples/sites/list-deployments.md +15 -0
- package/docs/examples/sites/list-frameworks.md +11 -0
- package/docs/examples/sites/list-logs.md +14 -0
- package/docs/examples/sites/list-specifications.md +11 -0
- package/docs/examples/sites/list-templates.md +16 -0
- package/docs/examples/sites/list-usage.md +13 -0
- package/docs/examples/sites/list-variables.md +13 -0
- package/docs/examples/sites/list.md +14 -0
- package/docs/examples/sites/update-deployment-status.md +14 -0
- package/docs/examples/sites/update-site-deployment.md +14 -0
- package/docs/examples/sites/update-variable.md +17 -0
- package/docs/examples/sites/update.md +30 -0
- package/docs/examples/storage/create-bucket.md +1 -1
- package/docs/examples/storage/create-file.md +1 -1
- package/docs/examples/storage/delete-bucket.md +1 -1
- package/docs/examples/storage/delete-file.md +1 -1
- package/docs/examples/storage/get-bucket-usage.md +1 -1
- package/docs/examples/storage/get-bucket.md +1 -1
- package/docs/examples/storage/get-file-download.md +3 -2
- package/docs/examples/storage/get-file-preview.md +4 -3
- package/docs/examples/storage/get-file-view.md +3 -2
- package/docs/examples/storage/get-file.md +1 -1
- package/docs/examples/storage/get-usage.md +1 -1
- package/docs/examples/storage/list-buckets.md +1 -1
- package/docs/examples/storage/list-files.md +1 -1
- package/docs/examples/storage/update-bucket.md +1 -1
- package/docs/examples/storage/update-file.md +1 -1
- package/docs/examples/teams/create-membership.md +1 -1
- package/docs/examples/teams/create.md +1 -1
- package/docs/examples/teams/delete-membership.md +1 -1
- package/docs/examples/teams/delete.md +1 -1
- package/docs/examples/teams/get-membership.md +1 -1
- package/docs/examples/teams/get-prefs.md +1 -1
- package/docs/examples/teams/get.md +1 -1
- package/docs/examples/teams/list-logs.md +1 -1
- package/docs/examples/teams/list-memberships.md +1 -1
- package/docs/examples/teams/list.md +1 -1
- package/docs/examples/teams/update-membership-status.md +1 -1
- package/docs/examples/teams/update-membership.md +1 -1
- package/docs/examples/teams/update-name.md +1 -1
- package/docs/examples/teams/update-prefs.md +1 -1
- package/docs/examples/tokens/create-file-token.md +15 -0
- package/docs/examples/tokens/delete.md +13 -0
- package/docs/examples/tokens/get.md +13 -0
- package/docs/examples/tokens/list.md +15 -0
- package/docs/examples/tokens/update.md +14 -0
- package/docs/examples/users/create-argon2user.md +1 -1
- package/docs/examples/users/create-bcrypt-user.md +1 -1
- package/docs/examples/users/create-j-w-t.md +1 -1
- package/docs/examples/users/create-m-d5user.md +1 -1
- package/docs/examples/users/create-mfa-recovery-codes.md +1 -1
- package/docs/examples/users/create-p-h-pass-user.md +1 -1
- package/docs/examples/users/create-s-h-a-user.md +1 -1
- package/docs/examples/users/create-scrypt-modified-user.md +1 -1
- package/docs/examples/users/create-scrypt-user.md +1 -1
- package/docs/examples/users/create-session.md +1 -1
- package/docs/examples/users/create-target.md +1 -1
- package/docs/examples/users/create-token.md +1 -1
- package/docs/examples/users/create.md +1 -1
- package/docs/examples/users/delete-identity.md +1 -1
- package/docs/examples/users/delete-mfa-authenticator.md +1 -1
- package/docs/examples/users/delete-session.md +1 -1
- package/docs/examples/users/delete-sessions.md +1 -1
- package/docs/examples/users/delete-target.md +1 -1
- package/docs/examples/users/delete.md +1 -1
- package/docs/examples/users/get-mfa-recovery-codes.md +1 -1
- package/docs/examples/users/get-prefs.md +1 -1
- package/docs/examples/users/get-target.md +1 -1
- package/docs/examples/users/get-usage.md +1 -1
- package/docs/examples/users/get.md +1 -1
- package/docs/examples/users/list-identities.md +1 -1
- package/docs/examples/users/list-logs.md +1 -1
- package/docs/examples/users/list-memberships.md +4 -2
- package/docs/examples/users/list-mfa-factors.md +1 -1
- package/docs/examples/users/list-sessions.md +1 -1
- package/docs/examples/users/list-targets.md +1 -1
- package/docs/examples/users/list.md +1 -1
- package/docs/examples/users/update-email-verification.md +1 -1
- package/docs/examples/users/update-email.md +1 -1
- package/docs/examples/users/update-labels.md +1 -1
- package/docs/examples/users/update-mfa-recovery-codes.md +1 -1
- package/docs/examples/users/update-mfa.md +1 -1
- package/docs/examples/users/update-name.md +1 -1
- package/docs/examples/users/update-password.md +1 -1
- package/docs/examples/users/update-phone-verification.md +1 -1
- package/docs/examples/users/update-phone.md +1 -1
- package/docs/examples/users/update-prefs.md +1 -1
- package/docs/examples/users/update-status.md +1 -1
- package/docs/examples/users/update-target.md +1 -1
- package/docs/examples/vcs/create-repository-detection.md +3 -2
- package/docs/examples/vcs/create-repository.md +1 -1
- package/docs/examples/vcs/delete-installation.md +1 -1
- package/docs/examples/vcs/get-installation.md +1 -1
- package/docs/examples/vcs/get-repository-contents.md +1 -1
- package/docs/examples/vcs/get-repository.md +1 -1
- package/docs/examples/vcs/list-installations.md +1 -1
- package/docs/examples/vcs/list-repositories.md +3 -2
- package/docs/examples/vcs/list-repository-branches.md +1 -1
- package/docs/examples/vcs/update-external-deployments.md +1 -1
- package/package.json +1 -1
- package/src/client.ts +32 -5
- package/src/enums/adapter.ts +4 -0
- package/src/enums/api-service.ts +1 -0
- package/src/enums/build-runtime.ts +62 -0
- package/src/enums/console-resource-type.ts +3 -0
- package/src/enums/deployment-download-type.ts +4 -0
- package/src/enums/framework.ts +16 -0
- package/src/enums/image-format.ts +0 -1
- package/src/enums/name.ts +0 -1
- package/src/enums/o-auth-provider.ts +1 -0
- package/src/enums/region.ts +2 -1
- package/src/enums/runtime.ts +4 -3
- package/src/enums/site-usage-range.ts +5 -0
- package/src/enums/status-code.ts +6 -0
- package/src/enums/v-c-s-deployment-type.ts +5 -0
- package/src/enums/v-c-s-detection-type.ts +4 -0
- package/src/index.ts +13 -2
- package/src/models.ts +1171 -188
- package/src/services/account.ts +126 -446
- package/src/services/assistant.ts +2 -7
- package/src/services/avatars.ts +7 -28
- package/src/services/backups.ts +24 -90
- package/src/services/console.ts +48 -52
- package/src/services/databases.ts +241 -350
- package/src/services/domains.ts +1821 -0
- package/src/services/functions.ts +216 -248
- package/src/services/graphql.ts +4 -14
- package/src/services/health.ts +56 -206
- package/src/services/locale.ts +16 -64
- package/src/services/messaging.ts +92 -335
- package/src/services/migrations.ts +66 -89
- package/src/services/organizations.ts +84 -241
- package/src/services/project.ts +20 -45
- package/src/services/projects.ts +262 -330
- package/src/services/proxy.ts +129 -44
- package/src/services/sites.ts +1104 -0
- package/src/services/storage.ts +42 -105
- package/src/services/teams.ts +28 -104
- package/src/services/tokens.ts +160 -0
- package/src/services/users.ts +94 -313
- package/src/services/vcs.ts +70 -108
- package/types/enums/adapter.d.ts +4 -0
- package/types/enums/api-service.d.ts +1 -0
- package/types/enums/build-runtime.d.ts +62 -0
- package/types/enums/console-resource-type.d.ts +3 -0
- package/types/enums/deployment-download-type.d.ts +4 -0
- package/types/enums/framework.d.ts +16 -0
- package/types/enums/image-format.d.ts +0 -1
- package/types/enums/name.d.ts +0 -1
- package/types/enums/o-auth-provider.d.ts +1 -0
- package/types/enums/region.d.ts +3 -2
- package/types/enums/runtime.d.ts +5 -4
- package/types/enums/site-usage-range.d.ts +5 -0
- package/types/enums/status-code.d.ts +6 -0
- package/types/enums/v-c-s-deployment-type.d.ts +5 -0
- package/types/enums/v-c-s-detection-type.d.ts +4 -0
- package/types/index.d.ts +13 -2
- package/types/models.d.ts +1171 -188
- package/types/services/account.d.ts +4 -128
- package/types/services/assistant.d.ts +0 -2
- package/types/services/avatars.d.ts +0 -14
- package/types/services/backups.d.ts +0 -24
- package/types/services/console.d.ts +9 -13
- package/types/services/databases.d.ts +43 -97
- package/types/services/domains.d.ts +524 -0
- package/types/services/functions.d.ts +58 -84
- package/types/services/graphql.d.ts +0 -4
- package/types/services/health.d.ts +6 -56
- package/types/services/locale.d.ts +0 -16
- package/types/services/messaging.d.ts +0 -92
- package/types/services/migrations.d.ts +9 -23
- package/types/services/organizations.d.ts +11 -68
- package/types/services/project.d.ts +4 -14
- package/types/services/projects.d.ts +47 -91
- package/types/services/proxy.d.ts +31 -13
- package/types/services/sites.d.ts +319 -0
- package/types/services/storage.d.ts +6 -33
- package/types/services/teams.d.ts +0 -28
- package/types/services/tokens.d.ts +51 -0
- package/types/services/users.d.ts +3 -87
- package/types/services/vcs.d.ts +14 -31
|
@@ -2,13 +2,13 @@ import { Client, UploadProgress } from '../client';
|
|
|
2
2
|
import type { Models } from '../models';
|
|
3
3
|
import { Runtime } from '../enums/runtime';
|
|
4
4
|
import { FunctionUsageRange } from '../enums/function-usage-range';
|
|
5
|
+
import { VCSDeploymentType } from '../enums/v-c-s-deployment-type';
|
|
6
|
+
import { DeploymentDownloadType } from '../enums/deployment-download-type';
|
|
5
7
|
import { ExecutionMethod } from '../enums/execution-method';
|
|
6
8
|
export declare class Functions {
|
|
7
9
|
client: Client;
|
|
8
10
|
constructor(client: Client);
|
|
9
11
|
/**
|
|
10
|
-
* List functions
|
|
11
|
-
*
|
|
12
12
|
* Get a list of all the project's functions. You can use the query params to filter your results.
|
|
13
13
|
*
|
|
14
14
|
* @param {string[]} queries
|
|
@@ -18,8 +18,6 @@ export declare class Functions {
|
|
|
18
18
|
*/
|
|
19
19
|
list(queries?: string[], search?: string): Promise<Models.FunctionList>;
|
|
20
20
|
/**
|
|
21
|
-
* Create function
|
|
22
|
-
*
|
|
23
21
|
* Create a new function. You can pass a list of [permissions](https://appwrite.io/docs/permissions) to allow different project users or team with access to execute the function using the client API.
|
|
24
22
|
*
|
|
25
23
|
* @param {string} functionId
|
|
@@ -39,18 +37,16 @@ export declare class Functions {
|
|
|
39
37
|
* @param {string} providerBranch
|
|
40
38
|
* @param {boolean} providerSilentMode
|
|
41
39
|
* @param {string} providerRootDirectory
|
|
40
|
+
* @param {string} specification
|
|
42
41
|
* @param {string} templateRepository
|
|
43
42
|
* @param {string} templateOwner
|
|
44
43
|
* @param {string} templateRootDirectory
|
|
45
44
|
* @param {string} templateVersion
|
|
46
|
-
* @param {string} specification
|
|
47
45
|
* @throws {AppwriteException}
|
|
48
46
|
* @returns {Promise<Models.Function>}
|
|
49
47
|
*/
|
|
50
|
-
create(functionId: string, name: string, runtime: Runtime, execute?: string[], events?: string[], schedule?: string, timeout?: number, enabled?: boolean, logging?: boolean, entrypoint?: string, commands?: string, scopes?: string[], installationId?: string, providerRepositoryId?: string, providerBranch?: string, providerSilentMode?: boolean, providerRootDirectory?: string,
|
|
48
|
+
create(functionId: string, name: string, runtime: Runtime, execute?: string[], events?: string[], schedule?: string, timeout?: number, enabled?: boolean, logging?: boolean, entrypoint?: string, commands?: string, scopes?: string[], installationId?: string, providerRepositoryId?: string, providerBranch?: string, providerSilentMode?: boolean, providerRootDirectory?: string, specification?: string, templateRepository?: string, templateOwner?: string, templateRootDirectory?: string, templateVersion?: string): Promise<Models.Function>;
|
|
51
49
|
/**
|
|
52
|
-
* List runtimes
|
|
53
|
-
*
|
|
54
50
|
* Get a list of all runtimes that are currently active on your instance.
|
|
55
51
|
*
|
|
56
52
|
* @throws {AppwriteException}
|
|
@@ -58,18 +54,13 @@ export declare class Functions {
|
|
|
58
54
|
*/
|
|
59
55
|
listRuntimes(): Promise<Models.RuntimeList>;
|
|
60
56
|
/**
|
|
61
|
-
* List available function runtime specifications
|
|
62
|
-
*
|
|
63
57
|
* List allowed function specifications for this instance.
|
|
64
|
-
|
|
65
58
|
*
|
|
66
59
|
* @throws {AppwriteException}
|
|
67
60
|
* @returns {Promise<Models.SpecificationList>}
|
|
68
61
|
*/
|
|
69
62
|
listSpecifications(): Promise<Models.SpecificationList>;
|
|
70
63
|
/**
|
|
71
|
-
* List function templates
|
|
72
|
-
*
|
|
73
64
|
* List available function templates. You can use template details in [createFunction](/docs/references/cloud/server-nodejs/functions#create) method.
|
|
74
65
|
*
|
|
75
66
|
* @param {string[]} runtimes
|
|
@@ -81,8 +72,6 @@ export declare class Functions {
|
|
|
81
72
|
*/
|
|
82
73
|
listTemplates(runtimes?: string[], useCases?: string[], limit?: number, offset?: number): Promise<Models.TemplateFunctionList>;
|
|
83
74
|
/**
|
|
84
|
-
* Get function template
|
|
85
|
-
*
|
|
86
75
|
* Get a function template using ID. You can use template details in [createFunction](/docs/references/cloud/server-nodejs/functions#create) method.
|
|
87
76
|
*
|
|
88
77
|
* @param {string} templateId
|
|
@@ -91,18 +80,14 @@ export declare class Functions {
|
|
|
91
80
|
*/
|
|
92
81
|
getTemplate(templateId: string): Promise<Models.TemplateFunction>;
|
|
93
82
|
/**
|
|
94
|
-
* Get functions usage
|
|
95
|
-
*
|
|
96
|
-
* Get usage metrics and statistics for a for all functions. View statistics including total functions, deployments, builds, executions, storage usage, and compute time. The response includes both current totals and historical data for each metric. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, defaults to 30 days.
|
|
83
|
+
* Get usage metrics and statistics for all functions in the project. View statistics including total deployments, builds, logs, storage usage, and compute time. The response includes both current totals and historical data for each metric. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, defaults to 30 days.
|
|
97
84
|
*
|
|
98
85
|
* @param {FunctionUsageRange} range
|
|
99
86
|
* @throws {AppwriteException}
|
|
100
87
|
* @returns {Promise<Models.UsageFunctions>}
|
|
101
88
|
*/
|
|
102
|
-
|
|
89
|
+
listUsage(range?: FunctionUsageRange): Promise<Models.UsageFunctions>;
|
|
103
90
|
/**
|
|
104
|
-
* Get function
|
|
105
|
-
*
|
|
106
91
|
* Get a function by its unique ID.
|
|
107
92
|
*
|
|
108
93
|
* @param {string} functionId
|
|
@@ -111,8 +96,6 @@ export declare class Functions {
|
|
|
111
96
|
*/
|
|
112
97
|
get(functionId: string): Promise<Models.Function>;
|
|
113
98
|
/**
|
|
114
|
-
* Update function
|
|
115
|
-
*
|
|
116
99
|
* Update function by its unique ID.
|
|
117
100
|
*
|
|
118
101
|
* @param {string} functionId
|
|
@@ -138,8 +121,6 @@ export declare class Functions {
|
|
|
138
121
|
*/
|
|
139
122
|
update(functionId: string, name: string, runtime?: Runtime, execute?: string[], events?: string[], schedule?: string, timeout?: number, enabled?: boolean, logging?: boolean, entrypoint?: string, commands?: string, scopes?: string[], installationId?: string, providerRepositoryId?: string, providerBranch?: string, providerSilentMode?: boolean, providerRootDirectory?: string, specification?: string): Promise<Models.Function>;
|
|
140
123
|
/**
|
|
141
|
-
* Delete function
|
|
142
|
-
*
|
|
143
124
|
* Delete a function by its unique ID.
|
|
144
125
|
*
|
|
145
126
|
* @param {string} functionId
|
|
@@ -148,9 +129,16 @@ export declare class Functions {
|
|
|
148
129
|
*/
|
|
149
130
|
delete(functionId: string): Promise<{}>;
|
|
150
131
|
/**
|
|
151
|
-
*
|
|
132
|
+
* Update the function active deployment. Use this endpoint to switch the code deployment that should be used when visitor opens your function.
|
|
152
133
|
*
|
|
153
|
-
*
|
|
134
|
+
* @param {string} functionId
|
|
135
|
+
* @param {string} deploymentId
|
|
136
|
+
* @throws {AppwriteException}
|
|
137
|
+
* @returns {Promise<Models.Function>}
|
|
138
|
+
*/
|
|
139
|
+
updateFunctionDeployment(functionId: string, deploymentId: string): Promise<Models.Function>;
|
|
140
|
+
/**
|
|
141
|
+
* Get a list of all the function's code deployments. You can use the query params to filter your results.
|
|
154
142
|
*
|
|
155
143
|
* @param {string} functionId
|
|
156
144
|
* @param {string[]} queries
|
|
@@ -160,8 +148,6 @@ export declare class Functions {
|
|
|
160
148
|
*/
|
|
161
149
|
listDeployments(functionId: string, queries?: string[], search?: string): Promise<Models.DeploymentList>;
|
|
162
150
|
/**
|
|
163
|
-
* Create deployment
|
|
164
|
-
*
|
|
165
151
|
* Create a new function code deployment. Use this endpoint to upload a new version of your code function. To execute your newly uploaded code, you'll need to update the function's deployment to use your new deployment UID.
|
|
166
152
|
|
|
167
153
|
This endpoint accepts a tar.gz file compressed with your code. Make sure to include any dependencies your code has within the compressed file. You can learn more about code packaging in the [Appwrite Cloud Functions tutorial](https://appwrite.io/docs/functions).
|
|
@@ -178,87 +164,90 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
|
178
164
|
*/
|
|
179
165
|
createDeployment(functionId: string, code: File, activate: boolean, entrypoint?: string, commands?: string, onProgress?: (progress: UploadProgress) => void): Promise<Models.Deployment>;
|
|
180
166
|
/**
|
|
181
|
-
*
|
|
182
|
-
*
|
|
183
|
-
* Get a code deployment by its unique ID.
|
|
167
|
+
* Create a new build for an existing function deployment. This endpoint allows you to rebuild a deployment with the updated function configuration, including its entrypoint and build commands if they have been modified. The build process will be queued and executed asynchronously. The original deployment's code will be preserved and used for the new build.
|
|
184
168
|
*
|
|
185
169
|
* @param {string} functionId
|
|
186
170
|
* @param {string} deploymentId
|
|
171
|
+
* @param {string} buildId
|
|
187
172
|
* @throws {AppwriteException}
|
|
188
173
|
* @returns {Promise<Models.Deployment>}
|
|
189
174
|
*/
|
|
190
|
-
|
|
175
|
+
createDuplicateDeployment(functionId: string, deploymentId: string, buildId?: string): Promise<Models.Deployment>;
|
|
191
176
|
/**
|
|
192
|
-
*
|
|
193
|
-
|
|
194
|
-
|
|
177
|
+
* Create a deployment based on a template.
|
|
178
|
+
|
|
179
|
+
Use this endpoint with combination of [listTemplates](https://appwrite.io/docs/server/functions#listTemplates) to find the template details.
|
|
195
180
|
*
|
|
196
181
|
* @param {string} functionId
|
|
197
|
-
* @param {string}
|
|
182
|
+
* @param {string} repository
|
|
183
|
+
* @param {string} owner
|
|
184
|
+
* @param {string} rootDirectory
|
|
185
|
+
* @param {string} version
|
|
186
|
+
* @param {boolean} activate
|
|
198
187
|
* @throws {AppwriteException}
|
|
199
|
-
* @returns {Promise<Models.
|
|
188
|
+
* @returns {Promise<Models.Deployment>}
|
|
200
189
|
*/
|
|
201
|
-
|
|
190
|
+
createTemplateDeployment(functionId: string, repository: string, owner: string, rootDirectory: string, version: string, activate?: boolean): Promise<Models.Deployment>;
|
|
202
191
|
/**
|
|
203
|
-
*
|
|
192
|
+
* Create a deployment when a function is connected to VCS.
|
|
193
|
+
|
|
194
|
+
This endpoint lets you create deployment from a branch, commit, or a tag.
|
|
204
195
|
*
|
|
205
|
-
*
|
|
196
|
+
* @param {string} functionId
|
|
197
|
+
* @param {VCSDeploymentType} type
|
|
198
|
+
* @param {string} reference
|
|
199
|
+
* @param {boolean} activate
|
|
200
|
+
* @throws {AppwriteException}
|
|
201
|
+
* @returns {Promise<Models.Deployment>}
|
|
202
|
+
*/
|
|
203
|
+
createVcsDeployment(functionId: string, type: VCSDeploymentType, reference: string, activate?: boolean): Promise<Models.Deployment>;
|
|
204
|
+
/**
|
|
205
|
+
* Get a function deployment by its unique ID.
|
|
206
206
|
*
|
|
207
207
|
* @param {string} functionId
|
|
208
208
|
* @param {string} deploymentId
|
|
209
209
|
* @throws {AppwriteException}
|
|
210
|
-
* @returns {Promise<
|
|
210
|
+
* @returns {Promise<Models.Deployment>}
|
|
211
211
|
*/
|
|
212
|
-
|
|
212
|
+
getDeployment(functionId: string, deploymentId: string): Promise<Models.Deployment>;
|
|
213
213
|
/**
|
|
214
|
-
*
|
|
215
|
-
*
|
|
216
|
-
* Create a new build for an existing function deployment. This endpoint allows you to rebuild a deployment with the updated function configuration, including its entrypoint and build commands if they have been modified The build process will be queued and executed asynchronously. The original deployment's code will be preserved and used for the new build.
|
|
214
|
+
* Delete a code deployment by its unique ID.
|
|
217
215
|
*
|
|
218
216
|
* @param {string} functionId
|
|
219
217
|
* @param {string} deploymentId
|
|
220
|
-
* @param {string} buildId
|
|
221
218
|
* @throws {AppwriteException}
|
|
222
219
|
* @returns {Promise<{}>}
|
|
223
220
|
*/
|
|
224
|
-
|
|
221
|
+
deleteDeployment(functionId: string, deploymentId: string): Promise<{}>;
|
|
225
222
|
/**
|
|
226
|
-
*
|
|
227
|
-
*
|
|
228
|
-
* Cancel an ongoing function deployment build. If the build is already in progress, it will be stopped and marked as canceled. If the build hasn't started yet, it will be marked as canceled without executing. You cannot cancel builds that have already completed (status 'ready') or failed. The response includes the final build status and details.
|
|
223
|
+
* Get a function deployment content by its unique ID. The endpoint response return with a 'Content-Disposition: attachment' header that tells the browser to start downloading the file to user downloads directory.
|
|
229
224
|
*
|
|
230
225
|
* @param {string} functionId
|
|
231
226
|
* @param {string} deploymentId
|
|
227
|
+
* @param {DeploymentDownloadType} type
|
|
232
228
|
* @throws {AppwriteException}
|
|
233
|
-
* @returns {
|
|
229
|
+
* @returns {string}
|
|
234
230
|
*/
|
|
235
|
-
|
|
231
|
+
getDeploymentDownload(functionId: string, deploymentId: string, type?: DeploymentDownloadType): string;
|
|
236
232
|
/**
|
|
237
|
-
*
|
|
238
|
-
*
|
|
239
|
-
* Get a Deployment's contents by its unique ID. This endpoint supports range requests for partial or streaming file download.
|
|
233
|
+
* Cancel an ongoing function deployment build. If the build is already in progress, it will be stopped and marked as canceled. If the build hasn't started yet, it will be marked as canceled without executing. You cannot cancel builds that have already completed (status 'ready') or failed. The response includes the final build status and details.
|
|
240
234
|
*
|
|
241
235
|
* @param {string} functionId
|
|
242
236
|
* @param {string} deploymentId
|
|
243
237
|
* @throws {AppwriteException}
|
|
244
|
-
* @returns {
|
|
238
|
+
* @returns {Promise<Models.Deployment>}
|
|
245
239
|
*/
|
|
246
|
-
|
|
240
|
+
updateDeploymentStatus(functionId: string, deploymentId: string): Promise<Models.Deployment>;
|
|
247
241
|
/**
|
|
248
|
-
* List executions
|
|
249
|
-
*
|
|
250
242
|
* Get a list of all the current user function execution logs. You can use the query params to filter your results.
|
|
251
243
|
*
|
|
252
244
|
* @param {string} functionId
|
|
253
245
|
* @param {string[]} queries
|
|
254
|
-
* @param {string} search
|
|
255
246
|
* @throws {AppwriteException}
|
|
256
247
|
* @returns {Promise<Models.ExecutionList>}
|
|
257
248
|
*/
|
|
258
|
-
listExecutions(functionId: string, queries?: string[]
|
|
249
|
+
listExecutions(functionId: string, queries?: string[]): Promise<Models.ExecutionList>;
|
|
259
250
|
/**
|
|
260
|
-
* Create execution
|
|
261
|
-
*
|
|
262
251
|
* Trigger a function execution. The returned object will return you the current execution status. You can ping the `Get Execution` endpoint to get updates on the current execution status. Once this endpoint is called, your function execution process will start asynchronously.
|
|
263
252
|
*
|
|
264
253
|
* @param {string} functionId
|
|
@@ -273,8 +262,6 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
|
273
262
|
*/
|
|
274
263
|
createExecution(functionId: string, body?: string, async?: boolean, xpath?: string, method?: ExecutionMethod, headers?: object, scheduledAt?: string): Promise<Models.Execution>;
|
|
275
264
|
/**
|
|
276
|
-
* Get execution
|
|
277
|
-
*
|
|
278
265
|
* Get a function execution log by its unique ID.
|
|
279
266
|
*
|
|
280
267
|
* @param {string} functionId
|
|
@@ -284,10 +271,7 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
|
284
271
|
*/
|
|
285
272
|
getExecution(functionId: string, executionId: string): Promise<Models.Execution>;
|
|
286
273
|
/**
|
|
287
|
-
* Delete execution
|
|
288
|
-
*
|
|
289
274
|
* Delete a function execution by its unique ID.
|
|
290
|
-
|
|
291
275
|
*
|
|
292
276
|
* @param {string} functionId
|
|
293
277
|
* @param {string} executionId
|
|
@@ -296,8 +280,6 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
|
296
280
|
*/
|
|
297
281
|
deleteExecution(functionId: string, executionId: string): Promise<{}>;
|
|
298
282
|
/**
|
|
299
|
-
* Get function usage
|
|
300
|
-
*
|
|
301
283
|
* Get usage metrics and statistics for a for a specific function. View statistics including total deployments, builds, executions, storage usage, and compute time. The response includes both current totals and historical data for each metric. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, defaults to 30 days.
|
|
302
284
|
*
|
|
303
285
|
* @param {string} functionId
|
|
@@ -305,10 +287,8 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
|
305
287
|
* @throws {AppwriteException}
|
|
306
288
|
* @returns {Promise<Models.UsageFunction>}
|
|
307
289
|
*/
|
|
308
|
-
|
|
290
|
+
getUsage(functionId: string, range?: FunctionUsageRange): Promise<Models.UsageFunction>;
|
|
309
291
|
/**
|
|
310
|
-
* List variables
|
|
311
|
-
*
|
|
312
292
|
* Get a list of all variables of a specific function.
|
|
313
293
|
*
|
|
314
294
|
* @param {string} functionId
|
|
@@ -317,20 +297,17 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
|
317
297
|
*/
|
|
318
298
|
listVariables(functionId: string): Promise<Models.VariableList>;
|
|
319
299
|
/**
|
|
320
|
-
* Create variable
|
|
321
|
-
*
|
|
322
300
|
* Create a new function environment variable. These variables can be accessed in the function at runtime as environment variables.
|
|
323
301
|
*
|
|
324
302
|
* @param {string} functionId
|
|
325
303
|
* @param {string} key
|
|
326
304
|
* @param {string} value
|
|
305
|
+
* @param {boolean} secret
|
|
327
306
|
* @throws {AppwriteException}
|
|
328
307
|
* @returns {Promise<Models.Variable>}
|
|
329
308
|
*/
|
|
330
|
-
createVariable(functionId: string, key: string, value: string): Promise<Models.Variable>;
|
|
309
|
+
createVariable(functionId: string, key: string, value: string, secret?: boolean): Promise<Models.Variable>;
|
|
331
310
|
/**
|
|
332
|
-
* Get variable
|
|
333
|
-
*
|
|
334
311
|
* Get a variable by its unique ID.
|
|
335
312
|
*
|
|
336
313
|
* @param {string} functionId
|
|
@@ -340,21 +317,18 @@ Use the "command" param to set the entrypoint used to execute your cod
|
|
|
340
317
|
*/
|
|
341
318
|
getVariable(functionId: string, variableId: string): Promise<Models.Variable>;
|
|
342
319
|
/**
|
|
343
|
-
* Update variable
|
|
344
|
-
*
|
|
345
320
|
* Update variable by its unique ID.
|
|
346
321
|
*
|
|
347
322
|
* @param {string} functionId
|
|
348
323
|
* @param {string} variableId
|
|
349
324
|
* @param {string} key
|
|
350
325
|
* @param {string} value
|
|
326
|
+
* @param {boolean} secret
|
|
351
327
|
* @throws {AppwriteException}
|
|
352
328
|
* @returns {Promise<Models.Variable>}
|
|
353
329
|
*/
|
|
354
|
-
updateVariable(functionId: string, variableId: string, key: string, value?: string): Promise<Models.Variable>;
|
|
330
|
+
updateVariable(functionId: string, variableId: string, key: string, value?: string, secret?: boolean): Promise<Models.Variable>;
|
|
355
331
|
/**
|
|
356
|
-
* Delete variable
|
|
357
|
-
*
|
|
358
332
|
* Delete a variable by its unique ID.
|
|
359
333
|
*
|
|
360
334
|
* @param {string} functionId
|
|
@@ -3,8 +3,6 @@ export declare class Graphql {
|
|
|
3
3
|
client: Client;
|
|
4
4
|
constructor(client: Client);
|
|
5
5
|
/**
|
|
6
|
-
* GraphQL endpoint
|
|
7
|
-
*
|
|
8
6
|
* Execute a GraphQL mutation.
|
|
9
7
|
*
|
|
10
8
|
* @param {object} query
|
|
@@ -13,8 +11,6 @@ export declare class Graphql {
|
|
|
13
11
|
*/
|
|
14
12
|
query(query: object): Promise<{}>;
|
|
15
13
|
/**
|
|
16
|
-
* GraphQL endpoint
|
|
17
|
-
*
|
|
18
14
|
* Execute a GraphQL mutation.
|
|
19
15
|
*
|
|
20
16
|
* @param {object} query
|
|
@@ -5,8 +5,6 @@ export declare class Health {
|
|
|
5
5
|
client: Client;
|
|
6
6
|
constructor(client: Client);
|
|
7
7
|
/**
|
|
8
|
-
* Get HTTP
|
|
9
|
-
*
|
|
10
8
|
* Check the Appwrite HTTP server is up and responsive.
|
|
11
9
|
*
|
|
12
10
|
* @throws {AppwriteException}
|
|
@@ -14,8 +12,6 @@ export declare class Health {
|
|
|
14
12
|
*/
|
|
15
13
|
get(): Promise<Models.HealthStatus>;
|
|
16
14
|
/**
|
|
17
|
-
* Get antivirus
|
|
18
|
-
*
|
|
19
15
|
* Check the Appwrite Antivirus server is up and connection is successful.
|
|
20
16
|
*
|
|
21
17
|
* @throws {AppwriteException}
|
|
@@ -23,8 +19,6 @@ export declare class Health {
|
|
|
23
19
|
*/
|
|
24
20
|
getAntivirus(): Promise<Models.HealthAntivirus>;
|
|
25
21
|
/**
|
|
26
|
-
* Get cache
|
|
27
|
-
*
|
|
28
22
|
* Check the Appwrite in-memory cache servers are up and connection is successful.
|
|
29
23
|
*
|
|
30
24
|
* @throws {AppwriteException}
|
|
@@ -32,8 +26,6 @@ export declare class Health {
|
|
|
32
26
|
*/
|
|
33
27
|
getCache(): Promise<Models.HealthStatus>;
|
|
34
28
|
/**
|
|
35
|
-
* Get the SSL certificate for a domain
|
|
36
|
-
*
|
|
37
29
|
* Get the SSL certificate for a domain
|
|
38
30
|
*
|
|
39
31
|
* @param {string} domain
|
|
@@ -42,8 +34,6 @@ export declare class Health {
|
|
|
42
34
|
*/
|
|
43
35
|
getCertificate(domain?: string): Promise<Models.HealthCertificate>;
|
|
44
36
|
/**
|
|
45
|
-
* Get DB
|
|
46
|
-
*
|
|
47
37
|
* Check the Appwrite database servers are up and connection is successful.
|
|
48
38
|
*
|
|
49
39
|
* @throws {AppwriteException}
|
|
@@ -51,8 +41,6 @@ export declare class Health {
|
|
|
51
41
|
*/
|
|
52
42
|
getDB(): Promise<Models.HealthStatus>;
|
|
53
43
|
/**
|
|
54
|
-
* Get pubsub
|
|
55
|
-
*
|
|
56
44
|
* Check the Appwrite pub-sub servers are up and connection is successful.
|
|
57
45
|
*
|
|
58
46
|
* @throws {AppwriteException}
|
|
@@ -60,8 +48,6 @@ export declare class Health {
|
|
|
60
48
|
*/
|
|
61
49
|
getPubSub(): Promise<Models.HealthStatus>;
|
|
62
50
|
/**
|
|
63
|
-
* Get billing aggregation queue
|
|
64
|
-
*
|
|
65
51
|
* Get billing aggregation queue
|
|
66
52
|
*
|
|
67
53
|
* @param {number} threshold
|
|
@@ -70,8 +56,6 @@ export declare class Health {
|
|
|
70
56
|
*/
|
|
71
57
|
getQueueBillingAggregation(threshold?: number): Promise<Models.HealthQueue>;
|
|
72
58
|
/**
|
|
73
|
-
* Get builds queue
|
|
74
|
-
*
|
|
75
59
|
* Get the number of builds that are waiting to be processed in the Appwrite internal queue server.
|
|
76
60
|
*
|
|
77
61
|
* @param {number} threshold
|
|
@@ -80,8 +64,6 @@ export declare class Health {
|
|
|
80
64
|
*/
|
|
81
65
|
getQueueBuilds(threshold?: number): Promise<Models.HealthQueue>;
|
|
82
66
|
/**
|
|
83
|
-
* Get billing aggregation queue
|
|
84
|
-
*
|
|
85
67
|
* Get the priority builds queue size.
|
|
86
68
|
*
|
|
87
69
|
* @param {number} threshold
|
|
@@ -90,8 +72,6 @@ export declare class Health {
|
|
|
90
72
|
*/
|
|
91
73
|
getQueuePriorityBuilds(threshold?: number): Promise<Models.HealthQueue>;
|
|
92
74
|
/**
|
|
93
|
-
* Get certificates queue
|
|
94
|
-
*
|
|
95
75
|
* Get the number of certificates that are waiting to be issued against [Letsencrypt](https://letsencrypt.org/) in the Appwrite internal queue server.
|
|
96
76
|
*
|
|
97
77
|
* @param {number} threshold
|
|
@@ -100,8 +80,6 @@ export declare class Health {
|
|
|
100
80
|
*/
|
|
101
81
|
getQueueCertificates(threshold?: number): Promise<Models.HealthQueue>;
|
|
102
82
|
/**
|
|
103
|
-
* Get databases queue
|
|
104
|
-
*
|
|
105
83
|
* Get the number of database changes that are waiting to be processed in the Appwrite internal queue server.
|
|
106
84
|
*
|
|
107
85
|
* @param {string} name
|
|
@@ -111,8 +89,6 @@ export declare class Health {
|
|
|
111
89
|
*/
|
|
112
90
|
getQueueDatabases(name?: string, threshold?: number): Promise<Models.HealthQueue>;
|
|
113
91
|
/**
|
|
114
|
-
* Get deletes queue
|
|
115
|
-
*
|
|
116
92
|
* Get the number of background destructive changes that are waiting to be processed in the Appwrite internal queue server.
|
|
117
93
|
*
|
|
118
94
|
* @param {number} threshold
|
|
@@ -121,8 +97,6 @@ export declare class Health {
|
|
|
121
97
|
*/
|
|
122
98
|
getQueueDeletes(threshold?: number): Promise<Models.HealthQueue>;
|
|
123
99
|
/**
|
|
124
|
-
* Get number of failed queue jobs
|
|
125
|
-
*
|
|
126
100
|
* Returns the amount of failed jobs in a given queue.
|
|
127
101
|
|
|
128
102
|
*
|
|
@@ -133,8 +107,6 @@ export declare class Health {
|
|
|
133
107
|
*/
|
|
134
108
|
getFailedJobs(name: Name, threshold?: number): Promise<Models.HealthQueue>;
|
|
135
109
|
/**
|
|
136
|
-
* Get functions queue
|
|
137
|
-
*
|
|
138
110
|
* Get the number of function executions that are waiting to be processed in the Appwrite internal queue server.
|
|
139
111
|
*
|
|
140
112
|
* @param {number} threshold
|
|
@@ -143,8 +115,6 @@ export declare class Health {
|
|
|
143
115
|
*/
|
|
144
116
|
getQueueFunctions(threshold?: number): Promise<Models.HealthQueue>;
|
|
145
117
|
/**
|
|
146
|
-
* Get logs queue
|
|
147
|
-
*
|
|
148
118
|
* Get the number of logs that are waiting to be processed in the Appwrite internal queue server.
|
|
149
119
|
*
|
|
150
120
|
* @param {number} threshold
|
|
@@ -153,8 +123,6 @@ export declare class Health {
|
|
|
153
123
|
*/
|
|
154
124
|
getQueueLogs(threshold?: number): Promise<Models.HealthQueue>;
|
|
155
125
|
/**
|
|
156
|
-
* Get mails queue
|
|
157
|
-
*
|
|
158
126
|
* Get the number of mails that are waiting to be processed in the Appwrite internal queue server.
|
|
159
127
|
*
|
|
160
128
|
* @param {number} threshold
|
|
@@ -163,8 +131,6 @@ export declare class Health {
|
|
|
163
131
|
*/
|
|
164
132
|
getQueueMails(threshold?: number): Promise<Models.HealthQueue>;
|
|
165
133
|
/**
|
|
166
|
-
* Get messaging queue
|
|
167
|
-
*
|
|
168
134
|
* Get the number of messages that are waiting to be processed in the Appwrite internal queue server.
|
|
169
135
|
*
|
|
170
136
|
* @param {number} threshold
|
|
@@ -173,8 +139,6 @@ export declare class Health {
|
|
|
173
139
|
*/
|
|
174
140
|
getQueueMessaging(threshold?: number): Promise<Models.HealthQueue>;
|
|
175
141
|
/**
|
|
176
|
-
* Get migrations queue
|
|
177
|
-
*
|
|
178
142
|
* Get the number of migrations that are waiting to be processed in the Appwrite internal queue server.
|
|
179
143
|
*
|
|
180
144
|
* @param {number} threshold
|
|
@@ -183,38 +147,30 @@ export declare class Health {
|
|
|
183
147
|
*/
|
|
184
148
|
getQueueMigrations(threshold?: number): Promise<Models.HealthQueue>;
|
|
185
149
|
/**
|
|
186
|
-
* Get
|
|
187
|
-
*
|
|
188
|
-
* Get the number of metrics that are waiting to be processed in the Appwrite stats resources queue.
|
|
150
|
+
* Get region manager queue
|
|
189
151
|
*
|
|
190
152
|
* @param {number} threshold
|
|
191
153
|
* @throws {AppwriteException}
|
|
192
154
|
* @returns {Promise<Models.HealthQueue>}
|
|
193
155
|
*/
|
|
194
|
-
|
|
156
|
+
getQueueRegionManager(threshold?: number): Promise<Models.HealthQueue>;
|
|
195
157
|
/**
|
|
196
|
-
* Get stats
|
|
197
|
-
*
|
|
198
|
-
* Get the number of metrics that are waiting to be processed in the Appwrite internal queue server.
|
|
158
|
+
* Get the number of metrics that are waiting to be processed in the Appwrite stats resources queue.
|
|
199
159
|
*
|
|
200
160
|
* @param {number} threshold
|
|
201
161
|
* @throws {AppwriteException}
|
|
202
162
|
* @returns {Promise<Models.HealthQueue>}
|
|
203
163
|
*/
|
|
204
|
-
|
|
164
|
+
getQueueStatsResources(threshold?: number): Promise<Models.HealthQueue>;
|
|
205
165
|
/**
|
|
206
|
-
* Get
|
|
207
|
-
*
|
|
208
|
-
* Get the number of projects containing metrics that are waiting to be processed in the Appwrite internal queue server.
|
|
166
|
+
* Get the number of metrics that are waiting to be processed in the Appwrite internal queue server.
|
|
209
167
|
*
|
|
210
168
|
* @param {number} threshold
|
|
211
169
|
* @throws {AppwriteException}
|
|
212
170
|
* @returns {Promise<Models.HealthQueue>}
|
|
213
171
|
*/
|
|
214
|
-
|
|
172
|
+
getQueueUsage(threshold?: number): Promise<Models.HealthQueue>;
|
|
215
173
|
/**
|
|
216
|
-
* Get webhooks queue
|
|
217
|
-
*
|
|
218
174
|
* Get the number of webhooks that are waiting to be processed in the Appwrite internal queue server.
|
|
219
175
|
*
|
|
220
176
|
* @param {number} threshold
|
|
@@ -223,8 +179,6 @@ export declare class Health {
|
|
|
223
179
|
*/
|
|
224
180
|
getQueueWebhooks(threshold?: number): Promise<Models.HealthQueue>;
|
|
225
181
|
/**
|
|
226
|
-
* Get storage
|
|
227
|
-
*
|
|
228
182
|
* Check the Appwrite storage device is up and connection is successful.
|
|
229
183
|
*
|
|
230
184
|
* @throws {AppwriteException}
|
|
@@ -232,8 +186,6 @@ export declare class Health {
|
|
|
232
186
|
*/
|
|
233
187
|
getStorage(): Promise<Models.HealthStatus>;
|
|
234
188
|
/**
|
|
235
|
-
* Get local storage
|
|
236
|
-
*
|
|
237
189
|
* Check the Appwrite local storage device is up and connection is successful.
|
|
238
190
|
*
|
|
239
191
|
* @throws {AppwriteException}
|
|
@@ -241,8 +193,6 @@ export declare class Health {
|
|
|
241
193
|
*/
|
|
242
194
|
getStorageLocal(): Promise<Models.HealthStatus>;
|
|
243
195
|
/**
|
|
244
|
-
* Get time
|
|
245
|
-
*
|
|
246
196
|
* Check the Appwrite server time is synced with Google remote NTP server. We use this technology to smoothly handle leap seconds with no disruptive events. The [Network Time Protocol](https://en.wikipedia.org/wiki/Network_Time_Protocol) (NTP) is used by hundreds of millions of computers and devices to synchronize their clocks over the Internet. If your computer sets its own clock, it likely uses NTP.
|
|
247
197
|
*
|
|
248
198
|
* @throws {AppwriteException}
|
|
@@ -4,8 +4,6 @@ export declare class Locale {
|
|
|
4
4
|
client: Client;
|
|
5
5
|
constructor(client: Client);
|
|
6
6
|
/**
|
|
7
|
-
* Get user locale
|
|
8
|
-
*
|
|
9
7
|
* Get the current user location based on IP. Returns an object with user country code, country name, continent name, continent code, ip address and suggested currency. You can use the locale header to get the data in a supported language.
|
|
10
8
|
|
|
11
9
|
([IP Geolocation by DB-IP](https://db-ip.com))
|
|
@@ -15,8 +13,6 @@ export declare class Locale {
|
|
|
15
13
|
*/
|
|
16
14
|
get(): Promise<Models.Locale>;
|
|
17
15
|
/**
|
|
18
|
-
* List locale codes
|
|
19
|
-
*
|
|
20
16
|
* List of all locale codes in [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes).
|
|
21
17
|
*
|
|
22
18
|
* @throws {AppwriteException}
|
|
@@ -24,8 +20,6 @@ export declare class Locale {
|
|
|
24
20
|
*/
|
|
25
21
|
listCodes(): Promise<Models.LocaleCodeList>;
|
|
26
22
|
/**
|
|
27
|
-
* List continents
|
|
28
|
-
*
|
|
29
23
|
* List of all continents. You can use the locale header to get the data in a supported language.
|
|
30
24
|
*
|
|
31
25
|
* @throws {AppwriteException}
|
|
@@ -33,8 +27,6 @@ export declare class Locale {
|
|
|
33
27
|
*/
|
|
34
28
|
listContinents(): Promise<Models.ContinentList>;
|
|
35
29
|
/**
|
|
36
|
-
* List countries
|
|
37
|
-
*
|
|
38
30
|
* List of all countries. You can use the locale header to get the data in a supported language.
|
|
39
31
|
*
|
|
40
32
|
* @throws {AppwriteException}
|
|
@@ -42,8 +34,6 @@ export declare class Locale {
|
|
|
42
34
|
*/
|
|
43
35
|
listCountries(): Promise<Models.CountryList>;
|
|
44
36
|
/**
|
|
45
|
-
* List EU countries
|
|
46
|
-
*
|
|
47
37
|
* List of all countries that are currently members of the EU. You can use the locale header to get the data in a supported language.
|
|
48
38
|
*
|
|
49
39
|
* @throws {AppwriteException}
|
|
@@ -51,8 +41,6 @@ export declare class Locale {
|
|
|
51
41
|
*/
|
|
52
42
|
listCountriesEU(): Promise<Models.CountryList>;
|
|
53
43
|
/**
|
|
54
|
-
* List countries phone codes
|
|
55
|
-
*
|
|
56
44
|
* List of all countries phone codes. You can use the locale header to get the data in a supported language.
|
|
57
45
|
*
|
|
58
46
|
* @throws {AppwriteException}
|
|
@@ -60,8 +48,6 @@ export declare class Locale {
|
|
|
60
48
|
*/
|
|
61
49
|
listCountriesPhones(): Promise<Models.PhoneList>;
|
|
62
50
|
/**
|
|
63
|
-
* List currencies
|
|
64
|
-
*
|
|
65
51
|
* List of all currencies, including currency symbol, name, plural, and decimal digits for all major and minor currencies. You can use the locale header to get the data in a supported language.
|
|
66
52
|
*
|
|
67
53
|
* @throws {AppwriteException}
|
|
@@ -69,8 +55,6 @@ export declare class Locale {
|
|
|
69
55
|
*/
|
|
70
56
|
listCurrencies(): Promise<Models.CurrencyList>;
|
|
71
57
|
/**
|
|
72
|
-
* List languages
|
|
73
|
-
*
|
|
74
58
|
* List of all languages classified by ISO 639-1 including 2-letter code, name in English, and name in the respective language.
|
|
75
59
|
*
|
|
76
60
|
* @throws {AppwriteException}
|