@appwrite.io/console 2.1.3 → 2.3.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 +18 -0
- package/README.md +1 -1
- package/dist/cjs/sdk.js +2201 -692
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +2202 -693
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +2201 -692
- package/docs/examples/account/create-anonymous-session.md +2 -0
- package/docs/examples/account/create-billing-address.md +2 -0
- package/docs/examples/account/create-email-password-session.md +2 -0
- package/docs/examples/account/create-email-token.md +2 -0
- package/docs/examples/account/create-email-verification.md +2 -0
- package/docs/examples/account/create-jwt.md +2 -0
- package/docs/examples/account/create-key.md +17 -0
- package/docs/examples/account/create-magic-url-token.md +2 -0
- package/docs/examples/account/create-mfa-authenticator.md +2 -0
- package/docs/examples/account/create-mfa-challenge.md +2 -0
- package/docs/examples/account/create-mfa-recovery-codes.md +2 -0
- package/docs/examples/account/create-o-auth-2-session.md +2 -0
- package/docs/examples/account/create-o-auth-2-token.md +2 -0
- package/docs/examples/account/create-payment-method.md +2 -0
- package/docs/examples/account/create-phone-token.md +2 -0
- package/docs/examples/account/create-phone-verification.md +2 -0
- package/docs/examples/account/create-push-target.md +2 -0
- package/docs/examples/account/create-recovery.md +2 -0
- package/docs/examples/account/create-session.md +2 -0
- package/docs/examples/account/create-verification.md +2 -0
- package/docs/examples/account/create.md +2 -0
- package/docs/examples/account/delete-billing-address.md +2 -0
- package/docs/examples/account/delete-identity.md +2 -0
- package/docs/examples/account/delete-key.md +15 -0
- package/docs/examples/account/delete-mfa-authenticator.md +2 -0
- package/docs/examples/account/delete-payment-method.md +2 -0
- package/docs/examples/account/delete-push-target.md +2 -0
- package/docs/examples/account/delete-session.md +2 -0
- package/docs/examples/account/delete-sessions.md +2 -0
- package/docs/examples/account/delete.md +2 -0
- package/docs/examples/account/get-billing-address.md +2 -0
- package/docs/examples/account/get-coupon.md +2 -0
- package/docs/examples/account/get-key.md +15 -0
- package/docs/examples/account/get-mfa-recovery-codes.md +2 -0
- package/docs/examples/account/get-payment-method.md +2 -0
- package/docs/examples/account/get-prefs.md +2 -0
- package/docs/examples/account/get-session.md +2 -0
- package/docs/examples/account/get.md +2 -0
- package/docs/examples/account/list-billing-addresses.md +2 -0
- package/docs/examples/account/list-identities.md +2 -0
- package/docs/examples/account/list-invoices.md +2 -0
- package/docs/examples/account/list-keys.md +15 -0
- package/docs/examples/account/list-logs.md +2 -0
- package/docs/examples/account/list-mfa-factors.md +2 -0
- package/docs/examples/account/list-payment-methods.md +2 -0
- package/docs/examples/account/list-sessions.md +2 -0
- package/docs/examples/account/update-billing-address.md +2 -0
- package/docs/examples/account/update-email-verification.md +2 -0
- package/docs/examples/account/update-email.md +2 -0
- package/docs/examples/account/update-key.md +18 -0
- package/docs/examples/account/update-magic-url-session.md +2 -0
- package/docs/examples/account/update-mfa-authenticator.md +2 -0
- package/docs/examples/account/update-mfa-challenge.md +2 -0
- package/docs/examples/account/update-mfa-recovery-codes.md +2 -0
- package/docs/examples/account/update-mfa.md +2 -0
- package/docs/examples/account/update-name.md +2 -0
- package/docs/examples/account/update-password.md +2 -0
- package/docs/examples/account/update-payment-method-mandate-options.md +2 -0
- package/docs/examples/account/update-payment-method-provider.md +2 -0
- package/docs/examples/account/update-payment-method.md +2 -0
- package/docs/examples/account/update-phone-session.md +2 -0
- package/docs/examples/account/update-phone-verification.md +2 -0
- package/docs/examples/account/update-phone.md +2 -0
- package/docs/examples/account/update-prefs.md +2 -0
- package/docs/examples/account/update-push-target.md +2 -0
- package/docs/examples/account/update-recovery.md +2 -0
- package/docs/examples/account/update-session.md +2 -0
- package/docs/examples/account/update-status.md +2 -0
- package/docs/examples/account/update-verification.md +2 -0
- package/docs/examples/assistant/chat.md +2 -0
- package/docs/examples/avatars/get-browser.md +2 -0
- package/docs/examples/avatars/get-credit-card.md +2 -0
- package/docs/examples/avatars/get-favicon.md +2 -0
- package/docs/examples/avatars/get-flag.md +2 -0
- package/docs/examples/avatars/get-image.md +2 -0
- package/docs/examples/avatars/get-initials.md +2 -0
- package/docs/examples/avatars/get-qr.md +2 -0
- package/docs/examples/avatars/get-screenshot.md +7 -5
- package/docs/examples/backups/create-archive.md +4 -2
- package/docs/examples/backups/create-policy.md +4 -2
- package/docs/examples/backups/create-restoration.md +4 -2
- package/docs/examples/backups/delete-archive.md +2 -0
- package/docs/examples/backups/delete-policy.md +2 -0
- package/docs/examples/backups/get-archive.md +2 -0
- package/docs/examples/backups/get-policy.md +2 -0
- package/docs/examples/backups/get-restoration.md +2 -0
- package/docs/examples/backups/list-archives.md +2 -0
- package/docs/examples/backups/list-policies.md +2 -0
- package/docs/examples/backups/list-restorations.md +2 -0
- package/docs/examples/backups/update-policy.md +2 -0
- package/docs/examples/console/create-program-membership.md +2 -0
- package/docs/examples/console/create-source.md +2 -0
- package/docs/examples/console/get-campaign.md +2 -0
- package/docs/examples/console/get-coupon.md +2 -0
- package/docs/examples/console/get-plan.md +2 -0
- package/docs/examples/console/get-plans.md +2 -0
- package/docs/examples/console/get-program.md +2 -0
- package/docs/examples/console/get-resource.md +2 -0
- package/docs/examples/console/{get-regions.md → list-regions.md} +3 -3
- package/docs/examples/console/suggest-columns.md +2 -0
- package/docs/examples/console/suggest-indexes.md +2 -0
- package/docs/examples/console/variables.md +2 -0
- package/docs/examples/databases/create-boolean-attribute.md +2 -0
- package/docs/examples/databases/create-collection.md +2 -0
- package/docs/examples/databases/create-datetime-attribute.md +2 -0
- package/docs/examples/databases/create-document.md +2 -0
- package/docs/examples/databases/create-documents.md +2 -0
- package/docs/examples/databases/create-email-attribute.md +2 -0
- package/docs/examples/databases/create-enum-attribute.md +2 -0
- package/docs/examples/databases/create-float-attribute.md +2 -0
- package/docs/examples/databases/create-index.md +4 -2
- package/docs/examples/databases/create-integer-attribute.md +2 -0
- package/docs/examples/databases/create-ip-attribute.md +2 -0
- package/docs/examples/databases/create-line-attribute.md +2 -0
- package/docs/examples/databases/create-longtext-attribute.md +20 -0
- package/docs/examples/databases/create-mediumtext-attribute.md +20 -0
- package/docs/examples/databases/create-operations.md +2 -0
- package/docs/examples/databases/create-point-attribute.md +2 -0
- package/docs/examples/databases/create-polygon-attribute.md +2 -0
- package/docs/examples/databases/create-relationship-attribute.md +2 -0
- package/docs/examples/databases/create-string-attribute.md +2 -0
- package/docs/examples/databases/create-text-attribute.md +20 -0
- package/docs/examples/databases/create-transaction.md +2 -0
- package/docs/examples/databases/create-url-attribute.md +2 -0
- package/docs/examples/databases/create-varchar-attribute.md +21 -0
- package/docs/examples/databases/create.md +2 -0
- package/docs/examples/databases/decrement-document-attribute.md +2 -0
- package/docs/examples/databases/delete-attribute.md +2 -0
- package/docs/examples/databases/delete-collection.md +2 -0
- package/docs/examples/databases/delete-document.md +2 -0
- package/docs/examples/databases/delete-documents.md +2 -0
- package/docs/examples/databases/delete-index.md +2 -0
- package/docs/examples/databases/delete-transaction.md +2 -0
- package/docs/examples/databases/delete.md +2 -0
- package/docs/examples/databases/get-attribute.md +2 -0
- package/docs/examples/databases/get-collection-usage.md +2 -0
- package/docs/examples/databases/get-collection.md +2 -0
- package/docs/examples/databases/get-document.md +2 -0
- package/docs/examples/databases/get-index.md +2 -0
- package/docs/examples/databases/get-transaction.md +2 -0
- package/docs/examples/databases/get-usage.md +2 -0
- package/docs/examples/databases/get.md +2 -0
- package/docs/examples/databases/increment-document-attribute.md +2 -0
- package/docs/examples/databases/list-attributes.md +2 -0
- package/docs/examples/databases/list-collection-logs.md +2 -0
- package/docs/examples/databases/list-collections.md +2 -0
- package/docs/examples/databases/list-document-logs.md +2 -0
- package/docs/examples/databases/list-documents.md +2 -0
- package/docs/examples/databases/list-indexes.md +2 -0
- package/docs/examples/databases/list-logs.md +2 -0
- package/docs/examples/databases/list-transactions.md +2 -0
- package/docs/examples/databases/list-usage.md +2 -0
- package/docs/examples/databases/list.md +2 -0
- package/docs/examples/databases/update-boolean-attribute.md +2 -0
- package/docs/examples/databases/update-collection.md +3 -1
- package/docs/examples/databases/update-datetime-attribute.md +2 -0
- package/docs/examples/databases/update-document.md +2 -0
- package/docs/examples/databases/update-documents.md +2 -0
- package/docs/examples/databases/update-email-attribute.md +2 -0
- package/docs/examples/databases/update-enum-attribute.md +2 -0
- package/docs/examples/databases/update-float-attribute.md +2 -0
- package/docs/examples/databases/update-integer-attribute.md +2 -0
- package/docs/examples/databases/update-ip-attribute.md +2 -0
- package/docs/examples/databases/update-line-attribute.md +2 -0
- package/docs/examples/databases/update-longtext-attribute.md +20 -0
- package/docs/examples/databases/update-mediumtext-attribute.md +20 -0
- package/docs/examples/databases/update-point-attribute.md +2 -0
- package/docs/examples/databases/update-polygon-attribute.md +2 -0
- package/docs/examples/databases/update-relationship-attribute.md +2 -0
- package/docs/examples/databases/update-string-attribute.md +2 -0
- package/docs/examples/databases/update-text-attribute.md +20 -0
- package/docs/examples/databases/update-transaction.md +2 -0
- package/docs/examples/databases/update-url-attribute.md +2 -0
- package/docs/examples/databases/update-varchar-attribute.md +21 -0
- package/docs/examples/databases/update.md +3 -1
- package/docs/examples/databases/upsert-document.md +2 -0
- package/docs/examples/databases/upsert-documents.md +2 -0
- package/docs/examples/domains/create-preset-google-workspace.md +2 -0
- package/docs/examples/domains/create-preset-i-cloud.md +2 -0
- package/docs/examples/domains/create-preset-mailgun.md +2 -0
- package/docs/examples/domains/create-preset-outlook.md +2 -0
- package/docs/examples/domains/create-preset-proton-mail.md +2 -0
- package/docs/examples/domains/create-preset-zoho.md +2 -0
- package/docs/examples/domains/create-record-a.md +2 -0
- package/docs/examples/domains/create-record-aaaa.md +2 -0
- package/docs/examples/domains/create-record-alias.md +2 -0
- package/docs/examples/domains/create-record-caa.md +2 -0
- package/docs/examples/domains/create-record-cname.md +2 -0
- package/docs/examples/domains/create-record-https.md +2 -0
- package/docs/examples/domains/create-record-mx.md +2 -0
- package/docs/examples/domains/create-record-ns.md +2 -0
- package/docs/examples/domains/create-record-srv.md +2 -0
- package/docs/examples/domains/create-record-txt.md +2 -0
- package/docs/examples/domains/create.md +2 -0
- package/docs/examples/domains/delete-record.md +2 -0
- package/docs/examples/domains/delete.md +2 -0
- package/docs/examples/domains/get-preset-google-workspace.md +2 -0
- package/docs/examples/domains/get-preset-i-cloud.md +2 -0
- package/docs/examples/domains/get-preset-mailgun.md +2 -0
- package/docs/examples/domains/get-preset-outlook.md +2 -0
- package/docs/examples/domains/get-preset-proton-mail.md +2 -0
- package/docs/examples/domains/get-preset-zoho.md +2 -0
- package/docs/examples/domains/get-price.md +17 -0
- package/docs/examples/domains/get-record.md +2 -0
- package/docs/examples/domains/get-zone.md +2 -0
- package/docs/examples/domains/get.md +2 -0
- package/docs/examples/domains/list-records.md +2 -0
- package/docs/examples/domains/list-suggestions.md +2 -0
- package/docs/examples/domains/list.md +2 -0
- package/docs/examples/domains/update-nameservers.md +2 -0
- package/docs/examples/domains/update-record-a.md +2 -0
- package/docs/examples/domains/update-record-aaaa.md +2 -0
- package/docs/examples/domains/update-record-alias.md +2 -0
- package/docs/examples/domains/update-record-caa.md +2 -0
- package/docs/examples/domains/update-record-cname.md +2 -0
- package/docs/examples/domains/update-record-https.md +2 -0
- package/docs/examples/domains/update-record-mx.md +2 -0
- package/docs/examples/domains/update-record-ns.md +2 -0
- package/docs/examples/domains/update-record-srv.md +2 -0
- package/docs/examples/domains/update-record-txt.md +2 -0
- package/docs/examples/domains/update-team.md +2 -0
- package/docs/examples/domains/update-zone.md +2 -0
- package/docs/examples/functions/create-deployment.md +2 -0
- package/docs/examples/functions/create-duplicate-deployment.md +2 -0
- package/docs/examples/functions/create-execution.md +2 -0
- package/docs/examples/functions/create-template-deployment.md +2 -0
- package/docs/examples/functions/create-variable.md +2 -0
- package/docs/examples/functions/create-vcs-deployment.md +2 -0
- package/docs/examples/functions/create.md +4 -2
- package/docs/examples/functions/delete-deployment.md +2 -0
- package/docs/examples/functions/delete-execution.md +2 -0
- package/docs/examples/functions/delete-variable.md +2 -0
- package/docs/examples/functions/delete.md +2 -0
- package/docs/examples/functions/get-deployment-download.md +2 -0
- package/docs/examples/functions/get-deployment.md +2 -0
- package/docs/examples/functions/get-execution.md +2 -0
- package/docs/examples/functions/get-template.md +2 -0
- package/docs/examples/functions/get-usage.md +2 -0
- package/docs/examples/functions/get-variable.md +2 -0
- package/docs/examples/functions/get.md +2 -0
- package/docs/examples/functions/list-deployments.md +2 -0
- package/docs/examples/functions/list-executions.md +2 -0
- package/docs/examples/functions/list-runtimes.md +2 -0
- package/docs/examples/functions/list-specifications.md +2 -0
- package/docs/examples/functions/list-templates.md +5 -3
- package/docs/examples/functions/list-usage.md +2 -0
- package/docs/examples/functions/list-variables.md +2 -0
- package/docs/examples/functions/list.md +2 -0
- package/docs/examples/functions/update-deployment-status.md +2 -0
- package/docs/examples/functions/update-function-deployment.md +2 -0
- package/docs/examples/functions/update-variable.md +2 -0
- package/docs/examples/functions/update.md +4 -2
- package/docs/examples/graphql/mutation.md +2 -0
- package/docs/examples/graphql/query.md +2 -0
- package/docs/examples/health/get-antivirus.md +2 -0
- package/docs/examples/health/get-cache.md +2 -0
- package/docs/examples/health/get-certificate.md +2 -0
- package/docs/examples/health/get-db.md +2 -0
- package/docs/examples/health/get-failed-jobs.md +2 -0
- package/docs/examples/health/get-pub-sub.md +2 -0
- package/docs/examples/health/get-queue-audits.md +2 -0
- package/docs/examples/health/get-queue-billing-project-aggregation.md +2 -0
- package/docs/examples/health/get-queue-billing-team-aggregation.md +2 -0
- package/docs/examples/health/get-queue-builds.md +2 -0
- package/docs/examples/health/get-queue-certificates.md +2 -0
- package/docs/examples/health/get-queue-databases.md +2 -0
- package/docs/examples/health/get-queue-deletes.md +2 -0
- package/docs/examples/health/get-queue-functions.md +2 -0
- package/docs/examples/health/get-queue-logs.md +2 -0
- package/docs/examples/health/get-queue-mails.md +2 -0
- package/docs/examples/health/get-queue-messaging.md +2 -0
- package/docs/examples/health/get-queue-migrations.md +2 -0
- package/docs/examples/health/get-queue-priority-builds.md +2 -0
- package/docs/examples/health/get-queue-region-manager.md +2 -0
- package/docs/examples/health/get-queue-stats-resources.md +2 -0
- package/docs/examples/health/get-queue-threats.md +2 -0
- package/docs/examples/health/get-queue-usage.md +2 -0
- package/docs/examples/health/get-queue-webhooks.md +2 -0
- package/docs/examples/health/get-storage-local.md +2 -0
- package/docs/examples/health/get-storage.md +2 -0
- package/docs/examples/health/get-time.md +2 -0
- package/docs/examples/health/get.md +2 -0
- package/docs/examples/locale/get.md +2 -0
- package/docs/examples/locale/list-codes.md +2 -0
- package/docs/examples/locale/list-continents.md +2 -0
- package/docs/examples/locale/list-countries-eu.md +2 -0
- package/docs/examples/locale/list-countries-phones.md +2 -0
- package/docs/examples/locale/list-countries.md +2 -0
- package/docs/examples/locale/list-currencies.md +2 -0
- package/docs/examples/locale/list-languages.md +2 -0
- package/docs/examples/messaging/create-apns-provider.md +2 -0
- package/docs/examples/messaging/create-email.md +2 -0
- package/docs/examples/messaging/create-fcm-provider.md +2 -0
- package/docs/examples/messaging/create-mailgun-provider.md +2 -0
- package/docs/examples/messaging/create-msg-91-provider.md +2 -0
- package/docs/examples/messaging/create-push.md +2 -0
- package/docs/examples/messaging/create-resend-provider.md +2 -0
- package/docs/examples/messaging/create-sendgrid-provider.md +2 -0
- package/docs/examples/messaging/create-sms.md +2 -0
- package/docs/examples/messaging/create-smtp-provider.md +2 -0
- package/docs/examples/messaging/create-subscriber.md +2 -0
- package/docs/examples/messaging/create-telesign-provider.md +2 -0
- package/docs/examples/messaging/create-textmagic-provider.md +2 -0
- package/docs/examples/messaging/create-topic.md +2 -0
- package/docs/examples/messaging/create-twilio-provider.md +2 -0
- package/docs/examples/messaging/create-vonage-provider.md +2 -0
- package/docs/examples/messaging/delete-provider.md +2 -0
- package/docs/examples/messaging/delete-subscriber.md +2 -0
- package/docs/examples/messaging/delete-topic.md +2 -0
- package/docs/examples/messaging/delete.md +2 -0
- package/docs/examples/messaging/get-message.md +2 -0
- package/docs/examples/messaging/get-provider.md +2 -0
- package/docs/examples/messaging/get-subscriber.md +2 -0
- package/docs/examples/messaging/get-topic.md +2 -0
- package/docs/examples/messaging/list-message-logs.md +2 -0
- package/docs/examples/messaging/list-messages.md +2 -0
- package/docs/examples/messaging/list-provider-logs.md +2 -0
- package/docs/examples/messaging/list-providers.md +2 -0
- package/docs/examples/messaging/list-subscriber-logs.md +2 -0
- package/docs/examples/messaging/list-subscribers.md +2 -0
- package/docs/examples/messaging/list-targets.md +2 -0
- package/docs/examples/messaging/list-topic-logs.md +2 -0
- package/docs/examples/messaging/list-topics.md +2 -0
- package/docs/examples/messaging/update-apns-provider.md +2 -0
- package/docs/examples/messaging/update-email.md +2 -0
- package/docs/examples/messaging/update-fcm-provider.md +2 -0
- package/docs/examples/messaging/update-mailgun-provider.md +2 -0
- package/docs/examples/messaging/update-msg-91-provider.md +2 -0
- package/docs/examples/messaging/update-push.md +2 -0
- package/docs/examples/messaging/update-resend-provider.md +2 -0
- package/docs/examples/messaging/update-sendgrid-provider.md +2 -0
- package/docs/examples/messaging/update-sms.md +2 -0
- package/docs/examples/messaging/update-smtp-provider.md +2 -0
- package/docs/examples/messaging/update-telesign-provider.md +2 -0
- package/docs/examples/messaging/update-textmagic-provider.md +2 -0
- package/docs/examples/messaging/update-topic.md +2 -0
- package/docs/examples/messaging/update-twilio-provider.md +2 -0
- package/docs/examples/messaging/update-vonage-provider.md +2 -0
- package/docs/examples/migrations/create-appwrite-migration.md +4 -2
- package/docs/examples/migrations/create-csv-export.md +2 -0
- package/docs/examples/migrations/create-csv-import.md +2 -0
- package/docs/examples/migrations/create-firebase-migration.md +4 -2
- package/docs/examples/migrations/create-n-host-migration.md +4 -2
- package/docs/examples/migrations/create-supabase-migration.md +4 -2
- package/docs/examples/migrations/delete.md +2 -0
- package/docs/examples/migrations/get-appwrite-report.md +4 -2
- package/docs/examples/migrations/get-firebase-report.md +4 -2
- package/docs/examples/migrations/get-n-host-report.md +4 -2
- package/docs/examples/migrations/get-supabase-report.md +4 -2
- package/docs/examples/migrations/get.md +2 -0
- package/docs/examples/migrations/list.md +2 -0
- package/docs/examples/migrations/retry.md +2 -0
- package/docs/examples/organizations/add-credit.md +2 -0
- package/docs/examples/organizations/cancel-downgrade.md +2 -0
- package/docs/examples/organizations/create-downgrade-feedback.md +2 -0
- package/docs/examples/organizations/create-invoice-payment.md +2 -0
- package/docs/examples/organizations/create-key.md +18 -0
- package/docs/examples/organizations/create.md +4 -2
- package/docs/examples/organizations/delete-backup-payment-method.md +2 -0
- package/docs/examples/organizations/delete-billing-address.md +2 -0
- package/docs/examples/organizations/delete-default-payment-method.md +2 -0
- package/docs/examples/organizations/delete-key.md +16 -0
- package/docs/examples/organizations/delete.md +2 -0
- package/docs/examples/organizations/estimation-create-organization.md +4 -2
- package/docs/examples/organizations/estimation-delete-organization.md +2 -0
- package/docs/examples/organizations/estimation-update-plan.md +4 -2
- package/docs/examples/organizations/get-aggregation.md +2 -0
- package/docs/examples/organizations/get-available-credits.md +2 -0
- package/docs/examples/organizations/get-billing-address.md +2 -0
- package/docs/examples/organizations/get-credit.md +2 -0
- package/docs/examples/organizations/get-invoice-download.md +2 -0
- package/docs/examples/organizations/get-invoice-view.md +2 -0
- package/docs/examples/organizations/get-invoice.md +2 -0
- package/docs/examples/organizations/{update-projects.md → get-key.md} +4 -2
- package/docs/examples/organizations/get-payment-method.md +2 -0
- package/docs/examples/organizations/get-plan.md +2 -0
- package/docs/examples/organizations/get-scopes.md +2 -0
- package/docs/examples/organizations/get-usage.md +2 -0
- package/docs/examples/organizations/list-aggregations.md +2 -0
- package/docs/examples/organizations/list-credits.md +2 -0
- package/docs/examples/organizations/list-invoices.md +2 -0
- package/docs/examples/organizations/list-keys.md +16 -0
- package/docs/examples/organizations/list-regions.md +15 -0
- package/docs/examples/organizations/list.md +2 -0
- package/docs/examples/organizations/set-backup-payment-method.md +2 -0
- package/docs/examples/organizations/set-billing-address.md +2 -0
- package/docs/examples/organizations/set-billing-email.md +2 -0
- package/docs/examples/organizations/set-billing-tax-id.md +2 -0
- package/docs/examples/organizations/set-default-payment-method.md +2 -0
- package/docs/examples/organizations/update-budget.md +2 -0
- package/docs/examples/organizations/update-key.md +19 -0
- package/docs/examples/organizations/update-plan.md +4 -2
- package/docs/examples/organizations/validate-invoice.md +2 -0
- package/docs/examples/organizations/validate-payment.md +2 -0
- package/docs/examples/project/create-variable.md +2 -0
- package/docs/examples/project/delete-variable.md +2 -0
- package/docs/examples/project/get-usage.md +2 -0
- package/docs/examples/project/get-variable.md +2 -0
- package/docs/examples/project/list-variables.md +2 -0
- package/docs/examples/project/update-variable.md +2 -0
- package/docs/examples/projects/create-dev-key.md +2 -0
- package/docs/examples/projects/create-jwt.md +4 -2
- package/docs/examples/projects/create-key.md +5 -2
- package/docs/examples/projects/create-platform.md +2 -0
- package/docs/examples/projects/create-smtp-test.md +2 -0
- package/docs/examples/projects/create-webhook.md +2 -0
- package/docs/examples/projects/create.md +2 -0
- package/docs/examples/projects/delete-dev-key.md +2 -0
- package/docs/examples/projects/delete-email-template.md +2 -0
- package/docs/examples/projects/delete-key.md +2 -0
- package/docs/examples/projects/delete-platform.md +2 -0
- package/docs/examples/projects/delete-sms-template.md +2 -0
- package/docs/examples/projects/delete-webhook.md +2 -0
- package/docs/examples/projects/delete.md +2 -0
- package/docs/examples/projects/get-dev-key.md +2 -0
- package/docs/examples/projects/get-email-template.md +2 -0
- package/docs/examples/projects/get-key.md +2 -0
- package/docs/examples/projects/get-platform.md +2 -0
- package/docs/examples/projects/get-sms-template.md +2 -0
- package/docs/examples/projects/get-webhook.md +2 -0
- package/docs/examples/projects/get.md +2 -0
- package/docs/examples/projects/list-dev-keys.md +2 -0
- package/docs/examples/projects/list-keys.md +3 -0
- package/docs/examples/projects/list-platforms.md +2 -0
- package/docs/examples/projects/list-webhooks.md +2 -0
- package/docs/examples/projects/list.md +2 -0
- package/docs/examples/projects/update-api-status-all.md +2 -0
- package/docs/examples/projects/update-api-status.md +2 -0
- package/docs/examples/projects/update-auth-duration.md +2 -0
- package/docs/examples/projects/update-auth-limit.md +2 -0
- package/docs/examples/projects/update-auth-password-dictionary.md +2 -0
- package/docs/examples/projects/update-auth-password-history.md +2 -0
- package/docs/examples/projects/update-auth-sessions-limit.md +2 -0
- package/docs/examples/projects/update-auth-status.md +2 -0
- package/docs/examples/projects/update-dev-key.md +2 -0
- package/docs/examples/projects/update-email-template.md +2 -0
- package/docs/examples/projects/update-key.md +4 -2
- package/docs/examples/projects/update-labels.md +2 -0
- package/docs/examples/projects/update-memberships-privacy.md +2 -0
- package/docs/examples/projects/update-mock-numbers.md +2 -0
- package/docs/examples/projects/update-o-auth-2.md +2 -0
- package/docs/examples/projects/update-personal-data-check.md +2 -0
- package/docs/examples/projects/update-platform.md +2 -0
- package/docs/examples/projects/update-service-status-all.md +2 -0
- package/docs/examples/projects/update-service-status.md +2 -0
- package/docs/examples/projects/update-session-alerts.md +2 -0
- package/docs/examples/projects/update-session-invalidation.md +2 -0
- package/docs/examples/projects/update-sms-template.md +2 -0
- package/docs/examples/projects/update-smtp.md +2 -0
- package/docs/examples/projects/update-team.md +2 -0
- package/docs/examples/projects/update-webhook-signature.md +2 -0
- package/docs/examples/projects/update-webhook.md +2 -0
- package/docs/examples/projects/update.md +2 -0
- package/docs/examples/proxy/create-api-rule.md +2 -0
- package/docs/examples/proxy/create-function-rule.md +2 -0
- package/docs/examples/proxy/create-redirect-rule.md +2 -0
- package/docs/examples/proxy/create-site-rule.md +2 -0
- package/docs/examples/proxy/delete-rule.md +2 -0
- package/docs/examples/proxy/get-rule.md +2 -0
- package/docs/examples/proxy/list-rules.md +2 -0
- package/docs/examples/proxy/update-rule-verification.md +2 -0
- package/docs/examples/sites/create-deployment.md +2 -0
- package/docs/examples/sites/create-duplicate-deployment.md +2 -0
- package/docs/examples/sites/create-template-deployment.md +2 -0
- package/docs/examples/sites/create-variable.md +2 -0
- package/docs/examples/sites/create-vcs-deployment.md +2 -0
- package/docs/examples/sites/create.md +2 -0
- package/docs/examples/sites/delete-deployment.md +2 -0
- package/docs/examples/sites/delete-log.md +2 -0
- package/docs/examples/sites/delete-variable.md +2 -0
- package/docs/examples/sites/delete.md +2 -0
- package/docs/examples/sites/get-deployment-download.md +2 -0
- package/docs/examples/sites/get-deployment.md +2 -0
- package/docs/examples/sites/get-log.md +2 -0
- package/docs/examples/sites/get-template.md +2 -0
- package/docs/examples/sites/get-usage.md +2 -0
- package/docs/examples/sites/get-variable.md +2 -0
- package/docs/examples/sites/get.md +2 -0
- package/docs/examples/sites/list-deployments.md +2 -0
- package/docs/examples/sites/list-frameworks.md +2 -0
- package/docs/examples/sites/list-logs.md +2 -0
- package/docs/examples/sites/list-specifications.md +2 -0
- package/docs/examples/sites/list-templates.md +5 -3
- package/docs/examples/sites/list-usage.md +2 -0
- package/docs/examples/sites/list-variables.md +2 -0
- package/docs/examples/sites/list.md +2 -0
- package/docs/examples/sites/update-deployment-status.md +2 -0
- package/docs/examples/sites/update-site-deployment.md +2 -0
- package/docs/examples/sites/update-variable.md +2 -0
- package/docs/examples/sites/update.md +2 -0
- package/docs/examples/storage/create-bucket.md +2 -0
- package/docs/examples/storage/create-file.md +2 -0
- package/docs/examples/storage/delete-bucket.md +2 -0
- package/docs/examples/storage/delete-file.md +2 -0
- package/docs/examples/storage/get-bucket-usage.md +2 -0
- package/docs/examples/storage/get-bucket.md +2 -0
- package/docs/examples/storage/get-file-download.md +2 -0
- package/docs/examples/storage/get-file-preview.md +2 -0
- package/docs/examples/storage/get-file-view.md +2 -0
- package/docs/examples/storage/get-file.md +2 -0
- package/docs/examples/storage/get-usage.md +2 -0
- package/docs/examples/storage/list-buckets.md +2 -0
- package/docs/examples/storage/list-files.md +2 -0
- package/docs/examples/storage/update-bucket.md +2 -0
- package/docs/examples/storage/update-file.md +2 -0
- package/docs/examples/tablesdb/create-boolean-column.md +2 -0
- package/docs/examples/tablesdb/create-datetime-column.md +2 -0
- package/docs/examples/tablesdb/create-email-column.md +2 -0
- package/docs/examples/tablesdb/create-enum-column.md +2 -0
- package/docs/examples/tablesdb/create-float-column.md +2 -0
- package/docs/examples/tablesdb/create-index.md +4 -2
- package/docs/examples/tablesdb/create-integer-column.md +2 -0
- package/docs/examples/tablesdb/create-ip-column.md +2 -0
- package/docs/examples/tablesdb/create-line-column.md +2 -0
- package/docs/examples/tablesdb/create-longtext-column.md +20 -0
- package/docs/examples/tablesdb/create-mediumtext-column.md +20 -0
- package/docs/examples/tablesdb/create-operations.md +2 -0
- package/docs/examples/tablesdb/create-point-column.md +2 -0
- package/docs/examples/tablesdb/create-polygon-column.md +2 -0
- package/docs/examples/tablesdb/create-relationship-column.md +2 -0
- package/docs/examples/tablesdb/create-row.md +2 -0
- package/docs/examples/tablesdb/create-rows.md +2 -0
- package/docs/examples/tablesdb/create-string-column.md +2 -0
- package/docs/examples/tablesdb/create-table.md +2 -0
- package/docs/examples/tablesdb/create-text-column.md +20 -0
- package/docs/examples/tablesdb/create-transaction.md +2 -0
- package/docs/examples/tablesdb/create-url-column.md +2 -0
- package/docs/examples/tablesdb/create-varchar-column.md +21 -0
- package/docs/examples/tablesdb/create.md +2 -0
- package/docs/examples/tablesdb/decrement-row-column.md +2 -0
- package/docs/examples/tablesdb/delete-column.md +2 -0
- package/docs/examples/tablesdb/delete-index.md +2 -0
- package/docs/examples/tablesdb/delete-row.md +2 -0
- package/docs/examples/tablesdb/delete-rows.md +2 -0
- package/docs/examples/tablesdb/delete-table.md +2 -0
- package/docs/examples/tablesdb/delete-transaction.md +2 -0
- package/docs/examples/tablesdb/delete.md +2 -0
- package/docs/examples/tablesdb/get-column.md +2 -0
- package/docs/examples/tablesdb/get-index.md +2 -0
- package/docs/examples/tablesdb/get-row.md +2 -0
- package/docs/examples/tablesdb/get-table-usage.md +2 -0
- package/docs/examples/tablesdb/get-table.md +2 -0
- package/docs/examples/tablesdb/get-transaction.md +2 -0
- package/docs/examples/tablesdb/get-usage.md +2 -0
- package/docs/examples/tablesdb/get.md +2 -0
- package/docs/examples/tablesdb/increment-row-column.md +2 -0
- package/docs/examples/tablesdb/list-columns.md +2 -0
- package/docs/examples/tablesdb/list-indexes.md +2 -0
- package/docs/examples/tablesdb/list-row-logs.md +2 -0
- package/docs/examples/tablesdb/list-rows.md +2 -0
- package/docs/examples/tablesdb/list-table-logs.md +2 -0
- package/docs/examples/tablesdb/list-tables.md +2 -0
- package/docs/examples/tablesdb/list-transactions.md +2 -0
- package/docs/examples/tablesdb/list-usage.md +2 -0
- package/docs/examples/tablesdb/list.md +2 -0
- package/docs/examples/tablesdb/update-boolean-column.md +2 -0
- package/docs/examples/tablesdb/update-datetime-column.md +2 -0
- package/docs/examples/tablesdb/update-email-column.md +2 -0
- package/docs/examples/tablesdb/update-enum-column.md +2 -0
- package/docs/examples/tablesdb/update-float-column.md +2 -0
- package/docs/examples/tablesdb/update-integer-column.md +2 -0
- package/docs/examples/tablesdb/update-ip-column.md +2 -0
- package/docs/examples/tablesdb/update-line-column.md +2 -0
- package/docs/examples/tablesdb/update-longtext-column.md +20 -0
- package/docs/examples/tablesdb/update-mediumtext-column.md +20 -0
- package/docs/examples/tablesdb/update-point-column.md +2 -0
- package/docs/examples/tablesdb/update-polygon-column.md +2 -0
- package/docs/examples/tablesdb/update-relationship-column.md +2 -0
- package/docs/examples/tablesdb/update-row.md +2 -0
- package/docs/examples/tablesdb/update-rows.md +2 -0
- package/docs/examples/tablesdb/update-string-column.md +2 -0
- package/docs/examples/tablesdb/update-table.md +3 -1
- package/docs/examples/tablesdb/update-text-column.md +20 -0
- package/docs/examples/tablesdb/update-transaction.md +2 -0
- package/docs/examples/tablesdb/update-url-column.md +2 -0
- package/docs/examples/tablesdb/update-varchar-column.md +21 -0
- package/docs/examples/tablesdb/update.md +3 -1
- package/docs/examples/tablesdb/upsert-row.md +2 -0
- package/docs/examples/tablesdb/upsert-rows.md +2 -0
- package/docs/examples/teams/create-membership.md +2 -0
- package/docs/examples/teams/create.md +2 -0
- package/docs/examples/teams/delete-membership.md +2 -0
- package/docs/examples/teams/delete.md +2 -0
- package/docs/examples/teams/get-membership.md +2 -0
- package/docs/examples/teams/get-prefs.md +2 -0
- package/docs/examples/teams/get.md +2 -0
- package/docs/examples/teams/list-logs.md +2 -0
- package/docs/examples/teams/list-memberships.md +2 -0
- package/docs/examples/teams/list.md +2 -0
- package/docs/examples/teams/update-membership-status.md +2 -0
- package/docs/examples/teams/update-membership.md +2 -0
- package/docs/examples/teams/update-name.md +2 -0
- package/docs/examples/teams/update-prefs.md +2 -0
- package/docs/examples/tokens/create-file-token.md +2 -0
- package/docs/examples/tokens/delete.md +2 -0
- package/docs/examples/tokens/get.md +2 -0
- package/docs/examples/tokens/list.md +2 -0
- package/docs/examples/tokens/update.md +2 -0
- package/docs/examples/users/create-argon-2-user.md +2 -0
- package/docs/examples/users/create-bcrypt-user.md +2 -0
- package/docs/examples/users/create-jwt.md +2 -0
- package/docs/examples/users/create-md-5-user.md +2 -0
- package/docs/examples/users/create-mfa-recovery-codes.md +2 -0
- package/docs/examples/users/create-ph-pass-user.md +2 -0
- package/docs/examples/users/create-scrypt-modified-user.md +2 -0
- package/docs/examples/users/create-scrypt-user.md +2 -0
- package/docs/examples/users/create-session.md +2 -0
- package/docs/examples/users/create-sha-user.md +2 -0
- package/docs/examples/users/create-target.md +2 -0
- package/docs/examples/users/create-token.md +2 -0
- package/docs/examples/users/create.md +2 -0
- package/docs/examples/users/delete-identity.md +2 -0
- package/docs/examples/users/delete-mfa-authenticator.md +2 -0
- package/docs/examples/users/delete-session.md +2 -0
- package/docs/examples/users/delete-sessions.md +2 -0
- package/docs/examples/users/delete-target.md +2 -0
- package/docs/examples/users/delete.md +2 -0
- package/docs/examples/users/get-mfa-recovery-codes.md +2 -0
- package/docs/examples/users/get-prefs.md +2 -0
- package/docs/examples/users/get-target.md +2 -0
- package/docs/examples/users/get-usage.md +2 -0
- package/docs/examples/users/get.md +2 -0
- package/docs/examples/users/list-identities.md +2 -0
- package/docs/examples/users/list-logs.md +2 -0
- package/docs/examples/users/list-memberships.md +2 -0
- package/docs/examples/users/list-mfa-factors.md +2 -0
- package/docs/examples/users/list-sessions.md +2 -0
- package/docs/examples/users/list-targets.md +2 -0
- package/docs/examples/users/list.md +2 -0
- package/docs/examples/users/update-email-verification.md +2 -0
- package/docs/examples/users/update-email.md +2 -0
- package/docs/examples/users/update-labels.md +2 -0
- package/docs/examples/users/update-mfa-recovery-codes.md +2 -0
- package/docs/examples/users/update-mfa.md +2 -0
- package/docs/examples/users/update-name.md +2 -0
- package/docs/examples/users/update-password.md +2 -0
- package/docs/examples/users/update-phone-verification.md +2 -0
- package/docs/examples/users/update-phone.md +2 -0
- package/docs/examples/users/update-prefs.md +2 -0
- package/docs/examples/users/update-status.md +2 -0
- package/docs/examples/users/update-target.md +2 -0
- package/docs/examples/vcs/create-repository-detection.md +2 -0
- package/docs/examples/vcs/create-repository.md +2 -0
- package/docs/examples/vcs/delete-installation.md +2 -0
- package/docs/examples/vcs/get-installation.md +2 -0
- package/docs/examples/vcs/get-repository-contents.md +2 -0
- package/docs/examples/vcs/get-repository.md +2 -0
- package/docs/examples/vcs/list-installations.md +2 -0
- package/docs/examples/vcs/list-repositories.md +2 -0
- package/docs/examples/vcs/list-repository-branches.md +2 -0
- package/docs/examples/vcs/update-external-deployments.md +2 -0
- package/package.json +1 -1
- package/src/channel.ts +38 -22
- package/src/client.ts +110 -49
- package/src/enums/backup-services.ts +5 -0
- package/src/enums/browser-permission.ts +22 -0
- package/src/enums/build-runtime.ts +5 -0
- package/src/enums/deployment-status.ts +1 -0
- package/src/enums/frameworks.ts +17 -0
- package/src/enums/order-by.ts +4 -0
- package/src/enums/registration-type.ts +6 -0
- package/src/enums/resources.ts +13 -0
- package/src/enums/runtime.ts +5 -0
- package/src/enums/runtimes.ts +71 -0
- package/src/enums/scopes.ts +66 -0
- package/src/enums/use-cases.ts +11 -0
- package/src/index.ts +9 -2
- package/src/models.ts +394 -4
- package/src/services/account.ts +375 -67
- package/src/services/assistant.ts +1 -1
- package/src/services/avatars.ts +20 -19
- package/src/services/backups.ts +37 -36
- package/src/services/console.ts +12 -43
- package/src/services/databases.ts +1061 -281
- package/src/services/domains.ts +114 -44
- package/src/services/functions.ts +61 -58
- package/src/services/graphql.ts +4 -4
- package/src/services/health.ts +23 -21
- package/src/services/messaging.ts +56 -56
- package/src/services/migrations.ts +79 -78
- package/src/services/organizations.ts +430 -94
- package/src/services/project.ts +5 -5
- package/src/services/projects.ts +106 -155
- package/src/services/proxy.ts +8 -8
- package/src/services/realtime.ts +135 -58
- package/src/services/sites.ts +43 -41
- package/src/services/storage.ts +17 -17
- package/src/services/tables-db.ts +1051 -269
- package/src/services/teams.ts +14 -14
- package/src/services/tokens.ts +5 -5
- package/src/services/users.ts +50 -50
- package/src/services/vcs.ts +10 -10
- package/types/channel.d.ts +9 -7
- package/types/client.d.ts +7 -2
- package/types/enums/backup-services.d.ts +5 -0
- package/types/enums/browser-permission.d.ts +22 -0
- package/types/enums/build-runtime.d.ts +6 -1
- package/types/enums/deployment-status.d.ts +1 -0
- package/types/enums/frameworks.d.ts +17 -0
- package/types/enums/order-by.d.ts +4 -0
- package/types/enums/registration-type.d.ts +6 -0
- package/types/enums/resources.d.ts +13 -0
- package/types/enums/runtime.d.ts +6 -1
- package/types/enums/runtimes.d.ts +71 -0
- package/types/enums/scopes.d.ts +66 -0
- package/types/enums/use-cases.d.ts +11 -0
- package/types/index.d.ts +9 -2
- package/types/models.d.ts +385 -4
- package/types/services/account.d.ts +111 -0
- package/types/services/avatars.d.ts +5 -4
- package/types/services/backups.d.ts +13 -12
- package/types/services/console.d.ts +1 -13
- package/types/services/databases.d.ts +303 -8
- package/types/services/domains.d.ts +26 -0
- package/types/services/functions.d.ts +18 -15
- package/types/services/health.d.ts +2 -0
- package/types/services/migrations.d.ts +33 -32
- package/types/services/organizations.d.ts +151 -29
- package/types/services/projects.d.ts +20 -36
- package/types/services/realtime.d.ts +13 -6
- package/types/services/sites.d.ts +9 -7
- package/types/services/tables-db.d.ts +305 -8
- package/docs/examples/projects/update-status.md +0 -14
- package/src/enums/billing-plan.ts +0 -17
- package/src/enums/status.ts +0 -4
- package/types/enums/billing-plan.d.ts +0 -17
- package/types/enums/status.d.ts +0 -4
package/types/models.d.ts
CHANGED
|
@@ -761,6 +761,14 @@ export declare namespace Models {
|
|
|
761
761
|
* Collection indexes.
|
|
762
762
|
*/
|
|
763
763
|
indexes: Index[];
|
|
764
|
+
/**
|
|
765
|
+
* Maximum document size in bytes. Returns 0 when no limit applies.
|
|
766
|
+
*/
|
|
767
|
+
bytesMax: number;
|
|
768
|
+
/**
|
|
769
|
+
* Currently used document size in bytes based on defined attributes.
|
|
770
|
+
*/
|
|
771
|
+
bytesUsed: number;
|
|
764
772
|
};
|
|
765
773
|
/**
|
|
766
774
|
* Attributes List
|
|
@@ -1376,6 +1384,174 @@ export declare namespace Models {
|
|
|
1376
1384
|
*/
|
|
1377
1385
|
default?: any[];
|
|
1378
1386
|
};
|
|
1387
|
+
/**
|
|
1388
|
+
* AttributeVarchar
|
|
1389
|
+
*/
|
|
1390
|
+
export type AttributeVarchar = {
|
|
1391
|
+
/**
|
|
1392
|
+
* Attribute Key.
|
|
1393
|
+
*/
|
|
1394
|
+
key: string;
|
|
1395
|
+
/**
|
|
1396
|
+
* Attribute type.
|
|
1397
|
+
*/
|
|
1398
|
+
type: string;
|
|
1399
|
+
/**
|
|
1400
|
+
* Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1401
|
+
*/
|
|
1402
|
+
status: AttributeStatus;
|
|
1403
|
+
/**
|
|
1404
|
+
* Error message. Displays error generated on failure of creating or deleting an attribute.
|
|
1405
|
+
*/
|
|
1406
|
+
error: string;
|
|
1407
|
+
/**
|
|
1408
|
+
* Is attribute required?
|
|
1409
|
+
*/
|
|
1410
|
+
required: boolean;
|
|
1411
|
+
/**
|
|
1412
|
+
* Is attribute an array?
|
|
1413
|
+
*/
|
|
1414
|
+
array?: boolean;
|
|
1415
|
+
/**
|
|
1416
|
+
* Attribute creation date in ISO 8601 format.
|
|
1417
|
+
*/
|
|
1418
|
+
$createdAt: string;
|
|
1419
|
+
/**
|
|
1420
|
+
* Attribute update date in ISO 8601 format.
|
|
1421
|
+
*/
|
|
1422
|
+
$updatedAt: string;
|
|
1423
|
+
/**
|
|
1424
|
+
* Attribute size.
|
|
1425
|
+
*/
|
|
1426
|
+
size: number;
|
|
1427
|
+
/**
|
|
1428
|
+
* Default value for attribute when not provided. Cannot be set when attribute is required.
|
|
1429
|
+
*/
|
|
1430
|
+
default?: string;
|
|
1431
|
+
};
|
|
1432
|
+
/**
|
|
1433
|
+
* AttributeText
|
|
1434
|
+
*/
|
|
1435
|
+
export type AttributeText = {
|
|
1436
|
+
/**
|
|
1437
|
+
* Attribute Key.
|
|
1438
|
+
*/
|
|
1439
|
+
key: string;
|
|
1440
|
+
/**
|
|
1441
|
+
* Attribute type.
|
|
1442
|
+
*/
|
|
1443
|
+
type: string;
|
|
1444
|
+
/**
|
|
1445
|
+
* Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1446
|
+
*/
|
|
1447
|
+
status: AttributeStatus;
|
|
1448
|
+
/**
|
|
1449
|
+
* Error message. Displays error generated on failure of creating or deleting an attribute.
|
|
1450
|
+
*/
|
|
1451
|
+
error: string;
|
|
1452
|
+
/**
|
|
1453
|
+
* Is attribute required?
|
|
1454
|
+
*/
|
|
1455
|
+
required: boolean;
|
|
1456
|
+
/**
|
|
1457
|
+
* Is attribute an array?
|
|
1458
|
+
*/
|
|
1459
|
+
array?: boolean;
|
|
1460
|
+
/**
|
|
1461
|
+
* Attribute creation date in ISO 8601 format.
|
|
1462
|
+
*/
|
|
1463
|
+
$createdAt: string;
|
|
1464
|
+
/**
|
|
1465
|
+
* Attribute update date in ISO 8601 format.
|
|
1466
|
+
*/
|
|
1467
|
+
$updatedAt: string;
|
|
1468
|
+
/**
|
|
1469
|
+
* Default value for attribute when not provided. Cannot be set when attribute is required.
|
|
1470
|
+
*/
|
|
1471
|
+
default?: string;
|
|
1472
|
+
};
|
|
1473
|
+
/**
|
|
1474
|
+
* AttributeMediumtext
|
|
1475
|
+
*/
|
|
1476
|
+
export type AttributeMediumtext = {
|
|
1477
|
+
/**
|
|
1478
|
+
* Attribute Key.
|
|
1479
|
+
*/
|
|
1480
|
+
key: string;
|
|
1481
|
+
/**
|
|
1482
|
+
* Attribute type.
|
|
1483
|
+
*/
|
|
1484
|
+
type: string;
|
|
1485
|
+
/**
|
|
1486
|
+
* Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1487
|
+
*/
|
|
1488
|
+
status: AttributeStatus;
|
|
1489
|
+
/**
|
|
1490
|
+
* Error message. Displays error generated on failure of creating or deleting an attribute.
|
|
1491
|
+
*/
|
|
1492
|
+
error: string;
|
|
1493
|
+
/**
|
|
1494
|
+
* Is attribute required?
|
|
1495
|
+
*/
|
|
1496
|
+
required: boolean;
|
|
1497
|
+
/**
|
|
1498
|
+
* Is attribute an array?
|
|
1499
|
+
*/
|
|
1500
|
+
array?: boolean;
|
|
1501
|
+
/**
|
|
1502
|
+
* Attribute creation date in ISO 8601 format.
|
|
1503
|
+
*/
|
|
1504
|
+
$createdAt: string;
|
|
1505
|
+
/**
|
|
1506
|
+
* Attribute update date in ISO 8601 format.
|
|
1507
|
+
*/
|
|
1508
|
+
$updatedAt: string;
|
|
1509
|
+
/**
|
|
1510
|
+
* Default value for attribute when not provided. Cannot be set when attribute is required.
|
|
1511
|
+
*/
|
|
1512
|
+
default?: string;
|
|
1513
|
+
};
|
|
1514
|
+
/**
|
|
1515
|
+
* AttributeLongtext
|
|
1516
|
+
*/
|
|
1517
|
+
export type AttributeLongtext = {
|
|
1518
|
+
/**
|
|
1519
|
+
* Attribute Key.
|
|
1520
|
+
*/
|
|
1521
|
+
key: string;
|
|
1522
|
+
/**
|
|
1523
|
+
* Attribute type.
|
|
1524
|
+
*/
|
|
1525
|
+
type: string;
|
|
1526
|
+
/**
|
|
1527
|
+
* Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1528
|
+
*/
|
|
1529
|
+
status: AttributeStatus;
|
|
1530
|
+
/**
|
|
1531
|
+
* Error message. Displays error generated on failure of creating or deleting an attribute.
|
|
1532
|
+
*/
|
|
1533
|
+
error: string;
|
|
1534
|
+
/**
|
|
1535
|
+
* Is attribute required?
|
|
1536
|
+
*/
|
|
1537
|
+
required: boolean;
|
|
1538
|
+
/**
|
|
1539
|
+
* Is attribute an array?
|
|
1540
|
+
*/
|
|
1541
|
+
array?: boolean;
|
|
1542
|
+
/**
|
|
1543
|
+
* Attribute creation date in ISO 8601 format.
|
|
1544
|
+
*/
|
|
1545
|
+
$createdAt: string;
|
|
1546
|
+
/**
|
|
1547
|
+
* Attribute update date in ISO 8601 format.
|
|
1548
|
+
*/
|
|
1549
|
+
$updatedAt: string;
|
|
1550
|
+
/**
|
|
1551
|
+
* Default value for attribute when not provided. Cannot be set when attribute is required.
|
|
1552
|
+
*/
|
|
1553
|
+
default?: string;
|
|
1554
|
+
};
|
|
1379
1555
|
/**
|
|
1380
1556
|
* Table
|
|
1381
1557
|
*/
|
|
@@ -1415,11 +1591,19 @@ export declare namespace Models {
|
|
|
1415
1591
|
/**
|
|
1416
1592
|
* Table columns.
|
|
1417
1593
|
*/
|
|
1418
|
-
columns: (Models.ColumnBoolean | Models.ColumnInteger | Models.ColumnFloat | Models.ColumnEmail | Models.ColumnEnum | Models.ColumnUrl | Models.ColumnIp | Models.ColumnDatetime | Models.ColumnRelationship | Models.ColumnPoint | Models.ColumnLine | Models.ColumnPolygon | Models.ColumnString)[];
|
|
1594
|
+
columns: (Models.ColumnBoolean | Models.ColumnInteger | Models.ColumnFloat | Models.ColumnEmail | Models.ColumnEnum | Models.ColumnUrl | Models.ColumnIp | Models.ColumnDatetime | Models.ColumnRelationship | Models.ColumnPoint | Models.ColumnLine | Models.ColumnPolygon | Models.ColumnVarchar | Models.ColumnText | Models.ColumnMediumtext | Models.ColumnLongtext | Models.ColumnString)[];
|
|
1419
1595
|
/**
|
|
1420
1596
|
* Table indexes.
|
|
1421
1597
|
*/
|
|
1422
1598
|
indexes: ColumnIndex[];
|
|
1599
|
+
/**
|
|
1600
|
+
* Maximum row size in bytes. Returns 0 when no limit applies.
|
|
1601
|
+
*/
|
|
1602
|
+
bytesMax: number;
|
|
1603
|
+
/**
|
|
1604
|
+
* Currently used row size in bytes based on defined columns.
|
|
1605
|
+
*/
|
|
1606
|
+
bytesUsed: number;
|
|
1423
1607
|
};
|
|
1424
1608
|
/**
|
|
1425
1609
|
* Columns List
|
|
@@ -1432,7 +1616,7 @@ export declare namespace Models {
|
|
|
1432
1616
|
/**
|
|
1433
1617
|
* List of columns.
|
|
1434
1618
|
*/
|
|
1435
|
-
columns: (Models.ColumnBoolean | Models.ColumnInteger | Models.ColumnFloat | Models.ColumnEmail | Models.ColumnEnum | Models.ColumnUrl | Models.ColumnIp | Models.ColumnDatetime | Models.ColumnRelationship | Models.ColumnPoint | Models.ColumnLine | Models.ColumnPolygon | Models.ColumnString)[];
|
|
1619
|
+
columns: (Models.ColumnBoolean | Models.ColumnInteger | Models.ColumnFloat | Models.ColumnEmail | Models.ColumnEnum | Models.ColumnUrl | Models.ColumnIp | Models.ColumnDatetime | Models.ColumnRelationship | Models.ColumnPoint | Models.ColumnLine | Models.ColumnPolygon | Models.ColumnVarchar | Models.ColumnText | Models.ColumnMediumtext | Models.ColumnLongtext | Models.ColumnString)[];
|
|
1436
1620
|
};
|
|
1437
1621
|
/**
|
|
1438
1622
|
* ColumnString
|
|
@@ -2035,6 +2219,174 @@ export declare namespace Models {
|
|
|
2035
2219
|
*/
|
|
2036
2220
|
default?: any[];
|
|
2037
2221
|
};
|
|
2222
|
+
/**
|
|
2223
|
+
* ColumnVarchar
|
|
2224
|
+
*/
|
|
2225
|
+
export type ColumnVarchar = {
|
|
2226
|
+
/**
|
|
2227
|
+
* Column Key.
|
|
2228
|
+
*/
|
|
2229
|
+
key: string;
|
|
2230
|
+
/**
|
|
2231
|
+
* Column type.
|
|
2232
|
+
*/
|
|
2233
|
+
type: string;
|
|
2234
|
+
/**
|
|
2235
|
+
* Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
2236
|
+
*/
|
|
2237
|
+
status: ColumnStatus;
|
|
2238
|
+
/**
|
|
2239
|
+
* Error message. Displays error generated on failure of creating or deleting an column.
|
|
2240
|
+
*/
|
|
2241
|
+
error: string;
|
|
2242
|
+
/**
|
|
2243
|
+
* Is column required?
|
|
2244
|
+
*/
|
|
2245
|
+
required: boolean;
|
|
2246
|
+
/**
|
|
2247
|
+
* Is column an array?
|
|
2248
|
+
*/
|
|
2249
|
+
array?: boolean;
|
|
2250
|
+
/**
|
|
2251
|
+
* Column creation date in ISO 8601 format.
|
|
2252
|
+
*/
|
|
2253
|
+
$createdAt: string;
|
|
2254
|
+
/**
|
|
2255
|
+
* Column update date in ISO 8601 format.
|
|
2256
|
+
*/
|
|
2257
|
+
$updatedAt: string;
|
|
2258
|
+
/**
|
|
2259
|
+
* Column size.
|
|
2260
|
+
*/
|
|
2261
|
+
size: number;
|
|
2262
|
+
/**
|
|
2263
|
+
* Default value for column when not provided. Cannot be set when column is required.
|
|
2264
|
+
*/
|
|
2265
|
+
default?: string;
|
|
2266
|
+
};
|
|
2267
|
+
/**
|
|
2268
|
+
* ColumnText
|
|
2269
|
+
*/
|
|
2270
|
+
export type ColumnText = {
|
|
2271
|
+
/**
|
|
2272
|
+
* Column Key.
|
|
2273
|
+
*/
|
|
2274
|
+
key: string;
|
|
2275
|
+
/**
|
|
2276
|
+
* Column type.
|
|
2277
|
+
*/
|
|
2278
|
+
type: string;
|
|
2279
|
+
/**
|
|
2280
|
+
* Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
2281
|
+
*/
|
|
2282
|
+
status: ColumnStatus;
|
|
2283
|
+
/**
|
|
2284
|
+
* Error message. Displays error generated on failure of creating or deleting an column.
|
|
2285
|
+
*/
|
|
2286
|
+
error: string;
|
|
2287
|
+
/**
|
|
2288
|
+
* Is column required?
|
|
2289
|
+
*/
|
|
2290
|
+
required: boolean;
|
|
2291
|
+
/**
|
|
2292
|
+
* Is column an array?
|
|
2293
|
+
*/
|
|
2294
|
+
array?: boolean;
|
|
2295
|
+
/**
|
|
2296
|
+
* Column creation date in ISO 8601 format.
|
|
2297
|
+
*/
|
|
2298
|
+
$createdAt: string;
|
|
2299
|
+
/**
|
|
2300
|
+
* Column update date in ISO 8601 format.
|
|
2301
|
+
*/
|
|
2302
|
+
$updatedAt: string;
|
|
2303
|
+
/**
|
|
2304
|
+
* Default value for column when not provided. Cannot be set when column is required.
|
|
2305
|
+
*/
|
|
2306
|
+
default?: string;
|
|
2307
|
+
};
|
|
2308
|
+
/**
|
|
2309
|
+
* ColumnMediumtext
|
|
2310
|
+
*/
|
|
2311
|
+
export type ColumnMediumtext = {
|
|
2312
|
+
/**
|
|
2313
|
+
* Column Key.
|
|
2314
|
+
*/
|
|
2315
|
+
key: string;
|
|
2316
|
+
/**
|
|
2317
|
+
* Column type.
|
|
2318
|
+
*/
|
|
2319
|
+
type: string;
|
|
2320
|
+
/**
|
|
2321
|
+
* Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
2322
|
+
*/
|
|
2323
|
+
status: ColumnStatus;
|
|
2324
|
+
/**
|
|
2325
|
+
* Error message. Displays error generated on failure of creating or deleting an column.
|
|
2326
|
+
*/
|
|
2327
|
+
error: string;
|
|
2328
|
+
/**
|
|
2329
|
+
* Is column required?
|
|
2330
|
+
*/
|
|
2331
|
+
required: boolean;
|
|
2332
|
+
/**
|
|
2333
|
+
* Is column an array?
|
|
2334
|
+
*/
|
|
2335
|
+
array?: boolean;
|
|
2336
|
+
/**
|
|
2337
|
+
* Column creation date in ISO 8601 format.
|
|
2338
|
+
*/
|
|
2339
|
+
$createdAt: string;
|
|
2340
|
+
/**
|
|
2341
|
+
* Column update date in ISO 8601 format.
|
|
2342
|
+
*/
|
|
2343
|
+
$updatedAt: string;
|
|
2344
|
+
/**
|
|
2345
|
+
* Default value for column when not provided. Cannot be set when column is required.
|
|
2346
|
+
*/
|
|
2347
|
+
default?: string;
|
|
2348
|
+
};
|
|
2349
|
+
/**
|
|
2350
|
+
* ColumnLongtext
|
|
2351
|
+
*/
|
|
2352
|
+
export type ColumnLongtext = {
|
|
2353
|
+
/**
|
|
2354
|
+
* Column Key.
|
|
2355
|
+
*/
|
|
2356
|
+
key: string;
|
|
2357
|
+
/**
|
|
2358
|
+
* Column type.
|
|
2359
|
+
*/
|
|
2360
|
+
type: string;
|
|
2361
|
+
/**
|
|
2362
|
+
* Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
2363
|
+
*/
|
|
2364
|
+
status: ColumnStatus;
|
|
2365
|
+
/**
|
|
2366
|
+
* Error message. Displays error generated on failure of creating or deleting an column.
|
|
2367
|
+
*/
|
|
2368
|
+
error: string;
|
|
2369
|
+
/**
|
|
2370
|
+
* Is column required?
|
|
2371
|
+
*/
|
|
2372
|
+
required: boolean;
|
|
2373
|
+
/**
|
|
2374
|
+
* Is column an array?
|
|
2375
|
+
*/
|
|
2376
|
+
array?: boolean;
|
|
2377
|
+
/**
|
|
2378
|
+
* Column creation date in ISO 8601 format.
|
|
2379
|
+
*/
|
|
2380
|
+
$createdAt: string;
|
|
2381
|
+
/**
|
|
2382
|
+
* Column update date in ISO 8601 format.
|
|
2383
|
+
*/
|
|
2384
|
+
$updatedAt: string;
|
|
2385
|
+
/**
|
|
2386
|
+
* Default value for column when not provided. Cannot be set when column is required.
|
|
2387
|
+
*/
|
|
2388
|
+
default?: string;
|
|
2389
|
+
};
|
|
2038
2390
|
/**
|
|
2039
2391
|
* Index
|
|
2040
2392
|
*/
|
|
@@ -3811,7 +4163,7 @@ export declare namespace Models {
|
|
|
3811
4163
|
*/
|
|
3812
4164
|
screenshotDark: string;
|
|
3813
4165
|
/**
|
|
3814
|
-
* The deployment status. Possible values are "waiting", "processing", "building", "ready", and "failed".
|
|
4166
|
+
* The deployment status. Possible values are "waiting", "processing", "building", "ready", "canceled" and "failed".
|
|
3815
4167
|
*/
|
|
3816
4168
|
status: DeploymentStatus;
|
|
3817
4169
|
/**
|
|
@@ -5758,7 +6110,7 @@ export declare namespace Models {
|
|
|
5758
6110
|
*/
|
|
5759
6111
|
_APP_ASSISTANT_ENABLED: boolean;
|
|
5760
6112
|
/**
|
|
5761
|
-
* A
|
|
6113
|
+
* A comma separated list of domains to use for site URLs.
|
|
5762
6114
|
*/
|
|
5763
6115
|
_APP_DOMAIN_SITES: string;
|
|
5764
6116
|
/**
|
|
@@ -6479,6 +6831,10 @@ export declare namespace Models {
|
|
|
6479
6831
|
* Image Transformations
|
|
6480
6832
|
*/
|
|
6481
6833
|
imageTransformations: number;
|
|
6834
|
+
/**
|
|
6835
|
+
* Screenshots generated
|
|
6836
|
+
*/
|
|
6837
|
+
screenshotsGenerated: number;
|
|
6482
6838
|
/**
|
|
6483
6839
|
* Members
|
|
6484
6840
|
*/
|
|
@@ -8011,6 +8367,31 @@ export declare namespace Models {
|
|
|
8011
8367
|
*/
|
|
8012
8368
|
value: number;
|
|
8013
8369
|
};
|
|
8370
|
+
/**
|
|
8371
|
+
* DomainPrice
|
|
8372
|
+
*/
|
|
8373
|
+
export type DomainPrice = {
|
|
8374
|
+
/**
|
|
8375
|
+
* Domain name.
|
|
8376
|
+
*/
|
|
8377
|
+
domain: string;
|
|
8378
|
+
/**
|
|
8379
|
+
* Top-level domain for the requested domain.
|
|
8380
|
+
*/
|
|
8381
|
+
tld: string;
|
|
8382
|
+
/**
|
|
8383
|
+
* Whether the domain is currently available for registration.
|
|
8384
|
+
*/
|
|
8385
|
+
available: boolean;
|
|
8386
|
+
/**
|
|
8387
|
+
* Domain registration price.
|
|
8388
|
+
*/
|
|
8389
|
+
price: number;
|
|
8390
|
+
/**
|
|
8391
|
+
* Price period in years.
|
|
8392
|
+
*/
|
|
8393
|
+
periodYears: number;
|
|
8394
|
+
};
|
|
8014
8395
|
/**
|
|
8015
8396
|
* DomainSuggestion
|
|
8016
8397
|
*/
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Client } from '../client';
|
|
2
2
|
import type { Models } from '../models';
|
|
3
|
+
import { Scopes } from '../enums/scopes';
|
|
3
4
|
import { AuthenticatorType } from '../enums/authenticator-type';
|
|
4
5
|
import { AuthenticationFactor } from '../enums/authentication-factor';
|
|
5
6
|
import { OAuthProvider } from '../enums/o-auth-provider';
|
|
@@ -300,6 +301,116 @@ export declare class Account {
|
|
|
300
301
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
301
302
|
*/
|
|
302
303
|
createJWT(duration?: number): Promise<Models.Jwt>;
|
|
304
|
+
/**
|
|
305
|
+
* Get a list of all API keys from the current account.
|
|
306
|
+
*
|
|
307
|
+
* @param {boolean} params.total - When set to false, the total count returned will be 0 and will not be calculated.
|
|
308
|
+
* @throws {AppwriteException}
|
|
309
|
+
* @returns {Promise<Models.KeyList>}
|
|
310
|
+
*/
|
|
311
|
+
listKeys(params?: {
|
|
312
|
+
total?: boolean;
|
|
313
|
+
}): Promise<Models.KeyList>;
|
|
314
|
+
/**
|
|
315
|
+
* Get a list of all API keys from the current account.
|
|
316
|
+
*
|
|
317
|
+
* @param {boolean} total - When set to false, the total count returned will be 0 and will not be calculated.
|
|
318
|
+
* @throws {AppwriteException}
|
|
319
|
+
* @returns {Promise<Models.KeyList>}
|
|
320
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
321
|
+
*/
|
|
322
|
+
listKeys(total?: boolean): Promise<Models.KeyList>;
|
|
323
|
+
/**
|
|
324
|
+
* Create a new account API key.
|
|
325
|
+
*
|
|
326
|
+
* @param {string} params.name - Key name. Max length: 128 chars.
|
|
327
|
+
* @param {Scopes[]} params.scopes - Key scopes list. Maximum of 100 scopes are allowed.
|
|
328
|
+
* @param {string} params.expire - Expiration time in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Use null for unlimited expiration.
|
|
329
|
+
* @throws {AppwriteException}
|
|
330
|
+
* @returns {Promise<Models.Key>}
|
|
331
|
+
*/
|
|
332
|
+
createKey(params: {
|
|
333
|
+
name: string;
|
|
334
|
+
scopes: Scopes[];
|
|
335
|
+
expire?: string;
|
|
336
|
+
}): Promise<Models.Key>;
|
|
337
|
+
/**
|
|
338
|
+
* Create a new account API key.
|
|
339
|
+
*
|
|
340
|
+
* @param {string} name - Key name. Max length: 128 chars.
|
|
341
|
+
* @param {Scopes[]} scopes - Key scopes list. Maximum of 100 scopes are allowed.
|
|
342
|
+
* @param {string} expire - Expiration time in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Use null for unlimited expiration.
|
|
343
|
+
* @throws {AppwriteException}
|
|
344
|
+
* @returns {Promise<Models.Key>}
|
|
345
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
346
|
+
*/
|
|
347
|
+
createKey(name: string, scopes: Scopes[], expire?: string): Promise<Models.Key>;
|
|
348
|
+
/**
|
|
349
|
+
* Get a key by its unique ID. This endpoint returns details about a specific API key in your account including it's scopes.
|
|
350
|
+
*
|
|
351
|
+
* @param {string} params.keyId - Key unique ID.
|
|
352
|
+
* @throws {AppwriteException}
|
|
353
|
+
* @returns {Promise<Models.Key>}
|
|
354
|
+
*/
|
|
355
|
+
getKey(params: {
|
|
356
|
+
keyId: string;
|
|
357
|
+
}): Promise<Models.Key>;
|
|
358
|
+
/**
|
|
359
|
+
* Get a key by its unique ID. This endpoint returns details about a specific API key in your account including it's scopes.
|
|
360
|
+
*
|
|
361
|
+
* @param {string} keyId - Key unique ID.
|
|
362
|
+
* @throws {AppwriteException}
|
|
363
|
+
* @returns {Promise<Models.Key>}
|
|
364
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
365
|
+
*/
|
|
366
|
+
getKey(keyId: string): Promise<Models.Key>;
|
|
367
|
+
/**
|
|
368
|
+
* Update a key by its unique ID. Use this endpoint to update the name, scopes, or expiration time of an API key.
|
|
369
|
+
*
|
|
370
|
+
* @param {string} params.keyId - Key unique ID.
|
|
371
|
+
* @param {string} params.name - Key name. Max length: 128 chars.
|
|
372
|
+
* @param {Scopes[]} params.scopes - Key scopes list. Maximum of 100 scopes are allowed.
|
|
373
|
+
* @param {string} params.expire - Expiration time in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Use null for unlimited expiration.
|
|
374
|
+
* @throws {AppwriteException}
|
|
375
|
+
* @returns {Promise<Models.Key>}
|
|
376
|
+
*/
|
|
377
|
+
updateKey(params: {
|
|
378
|
+
keyId: string;
|
|
379
|
+
name: string;
|
|
380
|
+
scopes: Scopes[];
|
|
381
|
+
expire?: string;
|
|
382
|
+
}): Promise<Models.Key>;
|
|
383
|
+
/**
|
|
384
|
+
* Update a key by its unique ID. Use this endpoint to update the name, scopes, or expiration time of an API key.
|
|
385
|
+
*
|
|
386
|
+
* @param {string} keyId - Key unique ID.
|
|
387
|
+
* @param {string} name - Key name. Max length: 128 chars.
|
|
388
|
+
* @param {Scopes[]} scopes - Key scopes list. Maximum of 100 scopes are allowed.
|
|
389
|
+
* @param {string} expire - Expiration time in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Use null for unlimited expiration.
|
|
390
|
+
* @throws {AppwriteException}
|
|
391
|
+
* @returns {Promise<Models.Key>}
|
|
392
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
393
|
+
*/
|
|
394
|
+
updateKey(keyId: string, name: string, scopes: Scopes[], expire?: string): Promise<Models.Key>;
|
|
395
|
+
/**
|
|
396
|
+
* Delete a key by its unique ID. Once deleted, the key can no longer be used to authenticate API calls.
|
|
397
|
+
*
|
|
398
|
+
* @param {string} params.keyId - Key unique ID.
|
|
399
|
+
* @throws {AppwriteException}
|
|
400
|
+
* @returns {Promise<{}>}
|
|
401
|
+
*/
|
|
402
|
+
deleteKey(params: {
|
|
403
|
+
keyId: string;
|
|
404
|
+
}): Promise<{}>;
|
|
405
|
+
/**
|
|
406
|
+
* Delete a key by its unique ID. Once deleted, the key can no longer be used to authenticate API calls.
|
|
407
|
+
*
|
|
408
|
+
* @param {string} keyId - Key unique ID.
|
|
409
|
+
* @throws {AppwriteException}
|
|
410
|
+
* @returns {Promise<{}>}
|
|
411
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
412
|
+
*/
|
|
413
|
+
deleteKey(keyId: string): Promise<{}>;
|
|
303
414
|
/**
|
|
304
415
|
* Get the list of latest security activity logs for the currently logged in user. Each log returns user IP address, location and date and time of log.
|
|
305
416
|
*
|
|
@@ -4,6 +4,7 @@ import { CreditCard } from '../enums/credit-card';
|
|
|
4
4
|
import { Flag } from '../enums/flag';
|
|
5
5
|
import { Theme } from '../enums/theme';
|
|
6
6
|
import { Timezone } from '../enums/timezone';
|
|
7
|
+
import { BrowserPermission } from '../enums/browser-permission';
|
|
7
8
|
import { ImageFormat } from '../enums/image-format';
|
|
8
9
|
export declare class Avatars {
|
|
9
10
|
client: Client;
|
|
@@ -253,7 +254,7 @@ export declare class Avatars {
|
|
|
253
254
|
* @param {number} params.longitude - Geolocation longitude. Pass a number between -180 to 180. Defaults to 0.
|
|
254
255
|
* @param {number} params.accuracy - Geolocation accuracy in meters. Pass a number between 0 to 100000. Defaults to 0.
|
|
255
256
|
* @param {boolean} params.touch - Enable touch support. Pass 0 for no touch, or 1 for touch enabled. Defaults to 0.
|
|
256
|
-
* @param {
|
|
257
|
+
* @param {BrowserPermission[]} params.permissions - Browser permissions to grant. Pass an array of permission names like ["geolocation", "camera", "microphone"]. Defaults to empty.
|
|
257
258
|
* @param {number} params.sleep - Wait time in seconds before taking the screenshot. Pass an integer between 0 to 10. Defaults to 0.
|
|
258
259
|
* @param {number} params.width - Output image width. Pass 0 to use original width, or an integer between 1 to 2000. Defaults to 0 (original width).
|
|
259
260
|
* @param {number} params.height - Output image height. Pass 0 to use original height, or an integer between 1 to 2000. Defaults to 0 (original height).
|
|
@@ -277,7 +278,7 @@ export declare class Avatars {
|
|
|
277
278
|
longitude?: number;
|
|
278
279
|
accuracy?: number;
|
|
279
280
|
touch?: boolean;
|
|
280
|
-
permissions?:
|
|
281
|
+
permissions?: BrowserPermission[];
|
|
281
282
|
sleep?: number;
|
|
282
283
|
width?: number;
|
|
283
284
|
height?: number;
|
|
@@ -305,7 +306,7 @@ export declare class Avatars {
|
|
|
305
306
|
* @param {number} longitude - Geolocation longitude. Pass a number between -180 to 180. Defaults to 0.
|
|
306
307
|
* @param {number} accuracy - Geolocation accuracy in meters. Pass a number between 0 to 100000. Defaults to 0.
|
|
307
308
|
* @param {boolean} touch - Enable touch support. Pass 0 for no touch, or 1 for touch enabled. Defaults to 0.
|
|
308
|
-
* @param {
|
|
309
|
+
* @param {BrowserPermission[]} permissions - Browser permissions to grant. Pass an array of permission names like ["geolocation", "camera", "microphone"]. Defaults to empty.
|
|
309
310
|
* @param {number} sleep - Wait time in seconds before taking the screenshot. Pass an integer between 0 to 10. Defaults to 0.
|
|
310
311
|
* @param {number} width - Output image width. Pass 0 to use original width, or an integer between 1 to 2000. Defaults to 0 (original width).
|
|
311
312
|
* @param {number} height - Output image height. Pass 0 to use original height, or an integer between 1 to 2000. Defaults to 0 (original height).
|
|
@@ -315,5 +316,5 @@ export declare class Avatars {
|
|
|
315
316
|
* @returns {string}
|
|
316
317
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
317
318
|
*/
|
|
318
|
-
getScreenshot(url: string, headers?: object, viewportWidth?: number, viewportHeight?: number, scale?: number, theme?: Theme, userAgent?: string, fullpage?: boolean, locale?: string, timezone?: Timezone, latitude?: number, longitude?: number, accuracy?: number, touch?: boolean, permissions?:
|
|
319
|
+
getScreenshot(url: string, headers?: object, viewportWidth?: number, viewportHeight?: number, scale?: number, theme?: Theme, userAgent?: string, fullpage?: boolean, locale?: string, timezone?: Timezone, latitude?: number, longitude?: number, accuracy?: number, touch?: boolean, permissions?: BrowserPermission[], sleep?: number, width?: number, height?: number, quality?: number, output?: ImageFormat): string;
|
|
319
320
|
}
|