@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
|
@@ -6,8 +6,6 @@ export declare class Messaging {
|
|
|
6
6
|
client: Client;
|
|
7
7
|
constructor(client: Client);
|
|
8
8
|
/**
|
|
9
|
-
* List messages
|
|
10
|
-
*
|
|
11
9
|
* Get a list of all messages from the current Appwrite project.
|
|
12
10
|
*
|
|
13
11
|
* @param {string[]} queries
|
|
@@ -17,8 +15,6 @@ export declare class Messaging {
|
|
|
17
15
|
*/
|
|
18
16
|
listMessages(queries?: string[], search?: string): Promise<Models.MessageList>;
|
|
19
17
|
/**
|
|
20
|
-
* Create email
|
|
21
|
-
*
|
|
22
18
|
* Create a new email message.
|
|
23
19
|
*
|
|
24
20
|
* @param {string} messageId
|
|
@@ -38,8 +34,6 @@ export declare class Messaging {
|
|
|
38
34
|
*/
|
|
39
35
|
createEmail(messageId: string, subject: string, content: string, topics?: string[], users?: string[], targets?: string[], cc?: string[], bcc?: string[], attachments?: string[], draft?: boolean, html?: boolean, scheduledAt?: string): Promise<Models.Message>;
|
|
40
36
|
/**
|
|
41
|
-
* Update email
|
|
42
|
-
*
|
|
43
37
|
* Update an email message by its unique ID. This endpoint only works on messages that are in draft status. Messages that are already processing, sent, or failed cannot be updated.
|
|
44
38
|
|
|
45
39
|
*
|
|
@@ -60,8 +54,6 @@ export declare class Messaging {
|
|
|
60
54
|
*/
|
|
61
55
|
updateEmail(messageId: string, topics?: string[], users?: string[], targets?: string[], subject?: string, content?: string, draft?: boolean, html?: boolean, cc?: string[], bcc?: string[], scheduledAt?: string, attachments?: string[]): Promise<Models.Message>;
|
|
62
56
|
/**
|
|
63
|
-
* Create push notification
|
|
64
|
-
*
|
|
65
57
|
* Create a new push notification.
|
|
66
58
|
*
|
|
67
59
|
* @param {string} messageId
|
|
@@ -88,8 +80,6 @@ export declare class Messaging {
|
|
|
88
80
|
*/
|
|
89
81
|
createPush(messageId: string, title?: string, body?: string, topics?: string[], users?: string[], targets?: string[], data?: object, action?: string, image?: string, icon?: string, sound?: string, color?: string, tag?: string, badge?: number, draft?: boolean, scheduledAt?: string, contentAvailable?: boolean, critical?: boolean, priority?: MessagePriority): Promise<Models.Message>;
|
|
90
82
|
/**
|
|
91
|
-
* Update push notification
|
|
92
|
-
*
|
|
93
83
|
* Update a push notification by its unique ID. This endpoint only works on messages that are in draft status. Messages that are already processing, sent, or failed cannot be updated.
|
|
94
84
|
|
|
95
85
|
*
|
|
@@ -117,8 +107,6 @@ export declare class Messaging {
|
|
|
117
107
|
*/
|
|
118
108
|
updatePush(messageId: string, topics?: string[], users?: string[], targets?: string[], title?: string, body?: string, data?: object, action?: string, image?: string, icon?: string, sound?: string, color?: string, tag?: string, badge?: number, draft?: boolean, scheduledAt?: string, contentAvailable?: boolean, critical?: boolean, priority?: MessagePriority): Promise<Models.Message>;
|
|
119
109
|
/**
|
|
120
|
-
* Create SMS
|
|
121
|
-
*
|
|
122
110
|
* Create a new SMS message.
|
|
123
111
|
*
|
|
124
112
|
* @param {string} messageId
|
|
@@ -133,8 +121,6 @@ export declare class Messaging {
|
|
|
133
121
|
*/
|
|
134
122
|
createSms(messageId: string, content: string, topics?: string[], users?: string[], targets?: string[], draft?: boolean, scheduledAt?: string): Promise<Models.Message>;
|
|
135
123
|
/**
|
|
136
|
-
* Update SMS
|
|
137
|
-
*
|
|
138
124
|
* Update an SMS message by its unique ID. This endpoint only works on messages that are in draft status. Messages that are already processing, sent, or failed cannot be updated.
|
|
139
125
|
|
|
140
126
|
*
|
|
@@ -150,8 +136,6 @@ export declare class Messaging {
|
|
|
150
136
|
*/
|
|
151
137
|
updateSms(messageId: string, topics?: string[], users?: string[], targets?: string[], content?: string, draft?: boolean, scheduledAt?: string): Promise<Models.Message>;
|
|
152
138
|
/**
|
|
153
|
-
* Get message
|
|
154
|
-
*
|
|
155
139
|
* Get a message by its unique ID.
|
|
156
140
|
|
|
157
141
|
*
|
|
@@ -161,8 +145,6 @@ export declare class Messaging {
|
|
|
161
145
|
*/
|
|
162
146
|
getMessage(messageId: string): Promise<Models.Message>;
|
|
163
147
|
/**
|
|
164
|
-
* Delete message
|
|
165
|
-
*
|
|
166
148
|
* Delete a message. If the message is not a draft or scheduled, but has been sent, this will not recall the message.
|
|
167
149
|
*
|
|
168
150
|
* @param {string} messageId
|
|
@@ -171,8 +153,6 @@ export declare class Messaging {
|
|
|
171
153
|
*/
|
|
172
154
|
delete(messageId: string): Promise<{}>;
|
|
173
155
|
/**
|
|
174
|
-
* List message logs
|
|
175
|
-
*
|
|
176
156
|
* Get the message activity logs listed by its unique ID.
|
|
177
157
|
*
|
|
178
158
|
* @param {string} messageId
|
|
@@ -182,8 +162,6 @@ export declare class Messaging {
|
|
|
182
162
|
*/
|
|
183
163
|
listMessageLogs(messageId: string, queries?: string[]): Promise<Models.LogList>;
|
|
184
164
|
/**
|
|
185
|
-
* List message targets
|
|
186
|
-
*
|
|
187
165
|
* Get a list of the targets associated with a message.
|
|
188
166
|
*
|
|
189
167
|
* @param {string} messageId
|
|
@@ -193,8 +171,6 @@ export declare class Messaging {
|
|
|
193
171
|
*/
|
|
194
172
|
listTargets(messageId: string, queries?: string[]): Promise<Models.TargetList>;
|
|
195
173
|
/**
|
|
196
|
-
* List providers
|
|
197
|
-
*
|
|
198
174
|
* Get a list of all providers from the current Appwrite project.
|
|
199
175
|
*
|
|
200
176
|
* @param {string[]} queries
|
|
@@ -204,8 +180,6 @@ export declare class Messaging {
|
|
|
204
180
|
*/
|
|
205
181
|
listProviders(queries?: string[], search?: string): Promise<Models.ProviderList>;
|
|
206
182
|
/**
|
|
207
|
-
* Create APNS provider
|
|
208
|
-
*
|
|
209
183
|
* Create a new Apple Push Notification service provider.
|
|
210
184
|
*
|
|
211
185
|
* @param {string} providerId
|
|
@@ -221,8 +195,6 @@ export declare class Messaging {
|
|
|
221
195
|
*/
|
|
222
196
|
createApnsProvider(providerId: string, name: string, authKey?: string, authKeyId?: string, teamId?: string, bundleId?: string, sandbox?: boolean, enabled?: boolean): Promise<Models.Provider>;
|
|
223
197
|
/**
|
|
224
|
-
* Update APNS provider
|
|
225
|
-
*
|
|
226
198
|
* Update a Apple Push Notification service provider by its unique ID.
|
|
227
199
|
*
|
|
228
200
|
* @param {string} providerId
|
|
@@ -238,8 +210,6 @@ export declare class Messaging {
|
|
|
238
210
|
*/
|
|
239
211
|
updateApnsProvider(providerId: string, name?: string, enabled?: boolean, authKey?: string, authKeyId?: string, teamId?: string, bundleId?: string, sandbox?: boolean): Promise<Models.Provider>;
|
|
240
212
|
/**
|
|
241
|
-
* Create FCM provider
|
|
242
|
-
*
|
|
243
213
|
* Create a new Firebase Cloud Messaging provider.
|
|
244
214
|
*
|
|
245
215
|
* @param {string} providerId
|
|
@@ -251,8 +221,6 @@ export declare class Messaging {
|
|
|
251
221
|
*/
|
|
252
222
|
createFcmProvider(providerId: string, name: string, serviceAccountJSON?: object, enabled?: boolean): Promise<Models.Provider>;
|
|
253
223
|
/**
|
|
254
|
-
* Update FCM provider
|
|
255
|
-
*
|
|
256
224
|
* Update a Firebase Cloud Messaging provider by its unique ID.
|
|
257
225
|
*
|
|
258
226
|
* @param {string} providerId
|
|
@@ -264,8 +232,6 @@ export declare class Messaging {
|
|
|
264
232
|
*/
|
|
265
233
|
updateFcmProvider(providerId: string, name?: string, enabled?: boolean, serviceAccountJSON?: object): Promise<Models.Provider>;
|
|
266
234
|
/**
|
|
267
|
-
* Create Mailgun provider
|
|
268
|
-
*
|
|
269
235
|
* Create a new Mailgun provider.
|
|
270
236
|
*
|
|
271
237
|
* @param {string} providerId
|
|
@@ -283,8 +249,6 @@ export declare class Messaging {
|
|
|
283
249
|
*/
|
|
284
250
|
createMailgunProvider(providerId: string, name: string, apiKey?: string, domain?: string, isEuRegion?: boolean, fromName?: string, fromEmail?: string, replyToName?: string, replyToEmail?: string, enabled?: boolean): Promise<Models.Provider>;
|
|
285
251
|
/**
|
|
286
|
-
* Update Mailgun provider
|
|
287
|
-
*
|
|
288
252
|
* Update a Mailgun provider by its unique ID.
|
|
289
253
|
*
|
|
290
254
|
* @param {string} providerId
|
|
@@ -302,8 +266,6 @@ export declare class Messaging {
|
|
|
302
266
|
*/
|
|
303
267
|
updateMailgunProvider(providerId: string, name?: string, apiKey?: string, domain?: string, isEuRegion?: boolean, enabled?: boolean, fromName?: string, fromEmail?: string, replyToName?: string, replyToEmail?: string): Promise<Models.Provider>;
|
|
304
268
|
/**
|
|
305
|
-
* Create Msg91 provider
|
|
306
|
-
*
|
|
307
269
|
* Create a new MSG91 provider.
|
|
308
270
|
*
|
|
309
271
|
* @param {string} providerId
|
|
@@ -317,8 +279,6 @@ export declare class Messaging {
|
|
|
317
279
|
*/
|
|
318
280
|
createMsg91Provider(providerId: string, name: string, templateId?: string, senderId?: string, authKey?: string, enabled?: boolean): Promise<Models.Provider>;
|
|
319
281
|
/**
|
|
320
|
-
* Update Msg91 provider
|
|
321
|
-
*
|
|
322
282
|
* Update a MSG91 provider by its unique ID.
|
|
323
283
|
*
|
|
324
284
|
* @param {string} providerId
|
|
@@ -332,8 +292,6 @@ export declare class Messaging {
|
|
|
332
292
|
*/
|
|
333
293
|
updateMsg91Provider(providerId: string, name?: string, enabled?: boolean, templateId?: string, senderId?: string, authKey?: string): Promise<Models.Provider>;
|
|
334
294
|
/**
|
|
335
|
-
* Create Sendgrid provider
|
|
336
|
-
*
|
|
337
295
|
* Create a new Sendgrid provider.
|
|
338
296
|
*
|
|
339
297
|
* @param {string} providerId
|
|
@@ -349,8 +307,6 @@ export declare class Messaging {
|
|
|
349
307
|
*/
|
|
350
308
|
createSendgridProvider(providerId: string, name: string, apiKey?: string, fromName?: string, fromEmail?: string, replyToName?: string, replyToEmail?: string, enabled?: boolean): Promise<Models.Provider>;
|
|
351
309
|
/**
|
|
352
|
-
* Update Sendgrid provider
|
|
353
|
-
*
|
|
354
310
|
* Update a Sendgrid provider by its unique ID.
|
|
355
311
|
*
|
|
356
312
|
* @param {string} providerId
|
|
@@ -366,8 +322,6 @@ export declare class Messaging {
|
|
|
366
322
|
*/
|
|
367
323
|
updateSendgridProvider(providerId: string, name?: string, enabled?: boolean, apiKey?: string, fromName?: string, fromEmail?: string, replyToName?: string, replyToEmail?: string): Promise<Models.Provider>;
|
|
368
324
|
/**
|
|
369
|
-
* Create SMTP provider
|
|
370
|
-
*
|
|
371
325
|
* Create a new SMTP provider.
|
|
372
326
|
*
|
|
373
327
|
* @param {string} providerId
|
|
@@ -389,8 +343,6 @@ export declare class Messaging {
|
|
|
389
343
|
*/
|
|
390
344
|
createSmtpProvider(providerId: string, name: string, host: string, port?: number, username?: string, password?: string, encryption?: SmtpEncryption, autoTLS?: boolean, mailer?: string, fromName?: string, fromEmail?: string, replyToName?: string, replyToEmail?: string, enabled?: boolean): Promise<Models.Provider>;
|
|
391
345
|
/**
|
|
392
|
-
* Update SMTP provider
|
|
393
|
-
*
|
|
394
346
|
* Update a SMTP provider by its unique ID.
|
|
395
347
|
*
|
|
396
348
|
* @param {string} providerId
|
|
@@ -412,8 +364,6 @@ export declare class Messaging {
|
|
|
412
364
|
*/
|
|
413
365
|
updateSmtpProvider(providerId: string, name?: string, host?: string, port?: number, username?: string, password?: string, encryption?: SmtpEncryption, autoTLS?: boolean, mailer?: string, fromName?: string, fromEmail?: string, replyToName?: string, replyToEmail?: string, enabled?: boolean): Promise<Models.Provider>;
|
|
414
366
|
/**
|
|
415
|
-
* Create Telesign provider
|
|
416
|
-
*
|
|
417
367
|
* Create a new Telesign provider.
|
|
418
368
|
*
|
|
419
369
|
* @param {string} providerId
|
|
@@ -427,8 +377,6 @@ export declare class Messaging {
|
|
|
427
377
|
*/
|
|
428
378
|
createTelesignProvider(providerId: string, name: string, from?: string, customerId?: string, apiKey?: string, enabled?: boolean): Promise<Models.Provider>;
|
|
429
379
|
/**
|
|
430
|
-
* Update Telesign provider
|
|
431
|
-
*
|
|
432
380
|
* Update a Telesign provider by its unique ID.
|
|
433
381
|
*
|
|
434
382
|
* @param {string} providerId
|
|
@@ -442,8 +390,6 @@ export declare class Messaging {
|
|
|
442
390
|
*/
|
|
443
391
|
updateTelesignProvider(providerId: string, name?: string, enabled?: boolean, customerId?: string, apiKey?: string, from?: string): Promise<Models.Provider>;
|
|
444
392
|
/**
|
|
445
|
-
* Create Textmagic provider
|
|
446
|
-
*
|
|
447
393
|
* Create a new Textmagic provider.
|
|
448
394
|
*
|
|
449
395
|
* @param {string} providerId
|
|
@@ -457,8 +403,6 @@ export declare class Messaging {
|
|
|
457
403
|
*/
|
|
458
404
|
createTextmagicProvider(providerId: string, name: string, from?: string, username?: string, apiKey?: string, enabled?: boolean): Promise<Models.Provider>;
|
|
459
405
|
/**
|
|
460
|
-
* Update Textmagic provider
|
|
461
|
-
*
|
|
462
406
|
* Update a Textmagic provider by its unique ID.
|
|
463
407
|
*
|
|
464
408
|
* @param {string} providerId
|
|
@@ -472,8 +416,6 @@ export declare class Messaging {
|
|
|
472
416
|
*/
|
|
473
417
|
updateTextmagicProvider(providerId: string, name?: string, enabled?: boolean, username?: string, apiKey?: string, from?: string): Promise<Models.Provider>;
|
|
474
418
|
/**
|
|
475
|
-
* Create Twilio provider
|
|
476
|
-
*
|
|
477
419
|
* Create a new Twilio provider.
|
|
478
420
|
*
|
|
479
421
|
* @param {string} providerId
|
|
@@ -487,8 +429,6 @@ export declare class Messaging {
|
|
|
487
429
|
*/
|
|
488
430
|
createTwilioProvider(providerId: string, name: string, from?: string, accountSid?: string, authToken?: string, enabled?: boolean): Promise<Models.Provider>;
|
|
489
431
|
/**
|
|
490
|
-
* Update Twilio provider
|
|
491
|
-
*
|
|
492
432
|
* Update a Twilio provider by its unique ID.
|
|
493
433
|
*
|
|
494
434
|
* @param {string} providerId
|
|
@@ -502,8 +442,6 @@ export declare class Messaging {
|
|
|
502
442
|
*/
|
|
503
443
|
updateTwilioProvider(providerId: string, name?: string, enabled?: boolean, accountSid?: string, authToken?: string, from?: string): Promise<Models.Provider>;
|
|
504
444
|
/**
|
|
505
|
-
* Create Vonage provider
|
|
506
|
-
*
|
|
507
445
|
* Create a new Vonage provider.
|
|
508
446
|
*
|
|
509
447
|
* @param {string} providerId
|
|
@@ -517,8 +455,6 @@ export declare class Messaging {
|
|
|
517
455
|
*/
|
|
518
456
|
createVonageProvider(providerId: string, name: string, from?: string, apiKey?: string, apiSecret?: string, enabled?: boolean): Promise<Models.Provider>;
|
|
519
457
|
/**
|
|
520
|
-
* Update Vonage provider
|
|
521
|
-
*
|
|
522
458
|
* Update a Vonage provider by its unique ID.
|
|
523
459
|
*
|
|
524
460
|
* @param {string} providerId
|
|
@@ -532,8 +468,6 @@ export declare class Messaging {
|
|
|
532
468
|
*/
|
|
533
469
|
updateVonageProvider(providerId: string, name?: string, enabled?: boolean, apiKey?: string, apiSecret?: string, from?: string): Promise<Models.Provider>;
|
|
534
470
|
/**
|
|
535
|
-
* Get provider
|
|
536
|
-
*
|
|
537
471
|
* Get a provider by its unique ID.
|
|
538
472
|
|
|
539
473
|
*
|
|
@@ -543,8 +477,6 @@ export declare class Messaging {
|
|
|
543
477
|
*/
|
|
544
478
|
getProvider(providerId: string): Promise<Models.Provider>;
|
|
545
479
|
/**
|
|
546
|
-
* Delete provider
|
|
547
|
-
*
|
|
548
480
|
* Delete a provider by its unique ID.
|
|
549
481
|
*
|
|
550
482
|
* @param {string} providerId
|
|
@@ -553,8 +485,6 @@ export declare class Messaging {
|
|
|
553
485
|
*/
|
|
554
486
|
deleteProvider(providerId: string): Promise<{}>;
|
|
555
487
|
/**
|
|
556
|
-
* List provider logs
|
|
557
|
-
*
|
|
558
488
|
* Get the provider activity logs listed by its unique ID.
|
|
559
489
|
*
|
|
560
490
|
* @param {string} providerId
|
|
@@ -564,8 +494,6 @@ export declare class Messaging {
|
|
|
564
494
|
*/
|
|
565
495
|
listProviderLogs(providerId: string, queries?: string[]): Promise<Models.LogList>;
|
|
566
496
|
/**
|
|
567
|
-
* List subscriber logs
|
|
568
|
-
*
|
|
569
497
|
* Get the subscriber activity logs listed by its unique ID.
|
|
570
498
|
*
|
|
571
499
|
* @param {string} subscriberId
|
|
@@ -575,8 +503,6 @@ export declare class Messaging {
|
|
|
575
503
|
*/
|
|
576
504
|
listSubscriberLogs(subscriberId: string, queries?: string[]): Promise<Models.LogList>;
|
|
577
505
|
/**
|
|
578
|
-
* List topics
|
|
579
|
-
*
|
|
580
506
|
* Get a list of all topics from the current Appwrite project.
|
|
581
507
|
*
|
|
582
508
|
* @param {string[]} queries
|
|
@@ -586,8 +512,6 @@ export declare class Messaging {
|
|
|
586
512
|
*/
|
|
587
513
|
listTopics(queries?: string[], search?: string): Promise<Models.TopicList>;
|
|
588
514
|
/**
|
|
589
|
-
* Create topic
|
|
590
|
-
*
|
|
591
515
|
* Create a new topic.
|
|
592
516
|
*
|
|
593
517
|
* @param {string} topicId
|
|
@@ -598,8 +522,6 @@ export declare class Messaging {
|
|
|
598
522
|
*/
|
|
599
523
|
createTopic(topicId: string, name: string, subscribe?: string[]): Promise<Models.Topic>;
|
|
600
524
|
/**
|
|
601
|
-
* Get topic
|
|
602
|
-
*
|
|
603
525
|
* Get a topic by its unique ID.
|
|
604
526
|
|
|
605
527
|
*
|
|
@@ -609,8 +531,6 @@ export declare class Messaging {
|
|
|
609
531
|
*/
|
|
610
532
|
getTopic(topicId: string): Promise<Models.Topic>;
|
|
611
533
|
/**
|
|
612
|
-
* Update topic
|
|
613
|
-
*
|
|
614
534
|
* Update a topic by its unique ID.
|
|
615
535
|
|
|
616
536
|
*
|
|
@@ -622,8 +542,6 @@ export declare class Messaging {
|
|
|
622
542
|
*/
|
|
623
543
|
updateTopic(topicId: string, name?: string, subscribe?: string[]): Promise<Models.Topic>;
|
|
624
544
|
/**
|
|
625
|
-
* Delete topic
|
|
626
|
-
*
|
|
627
545
|
* Delete a topic by its unique ID.
|
|
628
546
|
*
|
|
629
547
|
* @param {string} topicId
|
|
@@ -632,8 +550,6 @@ export declare class Messaging {
|
|
|
632
550
|
*/
|
|
633
551
|
deleteTopic(topicId: string): Promise<{}>;
|
|
634
552
|
/**
|
|
635
|
-
* List topic logs
|
|
636
|
-
*
|
|
637
553
|
* Get the topic activity logs listed by its unique ID.
|
|
638
554
|
*
|
|
639
555
|
* @param {string} topicId
|
|
@@ -643,8 +559,6 @@ export declare class Messaging {
|
|
|
643
559
|
*/
|
|
644
560
|
listTopicLogs(topicId: string, queries?: string[]): Promise<Models.LogList>;
|
|
645
561
|
/**
|
|
646
|
-
* List subscribers
|
|
647
|
-
*
|
|
648
562
|
* Get a list of all subscribers from the current Appwrite project.
|
|
649
563
|
*
|
|
650
564
|
* @param {string} topicId
|
|
@@ -655,8 +569,6 @@ export declare class Messaging {
|
|
|
655
569
|
*/
|
|
656
570
|
listSubscribers(topicId: string, queries?: string[], search?: string): Promise<Models.SubscriberList>;
|
|
657
571
|
/**
|
|
658
|
-
* Create subscriber
|
|
659
|
-
*
|
|
660
572
|
* Create a new subscriber.
|
|
661
573
|
*
|
|
662
574
|
* @param {string} topicId
|
|
@@ -667,8 +579,6 @@ export declare class Messaging {
|
|
|
667
579
|
*/
|
|
668
580
|
createSubscriber(topicId: string, subscriberId: string, targetId: string): Promise<Models.Subscriber>;
|
|
669
581
|
/**
|
|
670
|
-
* Get subscriber
|
|
671
|
-
*
|
|
672
582
|
* Get a subscriber by its unique ID.
|
|
673
583
|
|
|
674
584
|
*
|
|
@@ -679,8 +589,6 @@ export declare class Messaging {
|
|
|
679
589
|
*/
|
|
680
590
|
getSubscriber(topicId: string, subscriberId: string): Promise<Models.Subscriber>;
|
|
681
591
|
/**
|
|
682
|
-
* Delete subscriber
|
|
683
|
-
*
|
|
684
592
|
* Delete a subscriber by its unique ID.
|
|
685
593
|
*
|
|
686
594
|
* @param {string} topicId
|
|
@@ -4,8 +4,6 @@ export declare class Migrations {
|
|
|
4
4
|
client: Client;
|
|
5
5
|
constructor(client: Client);
|
|
6
6
|
/**
|
|
7
|
-
* List migrations
|
|
8
|
-
*
|
|
9
7
|
* List all migrations in the current project. This endpoint returns a list of all migrations including their status, progress, and any errors that occurred during the migration process.
|
|
10
8
|
*
|
|
11
9
|
* @param {string[]} queries
|
|
@@ -15,8 +13,6 @@ export declare class Migrations {
|
|
|
15
13
|
*/
|
|
16
14
|
list(queries?: string[], search?: string): Promise<Models.MigrationList>;
|
|
17
15
|
/**
|
|
18
|
-
* Migrate Appwrite data
|
|
19
|
-
*
|
|
20
16
|
* Migrate data from another Appwrite project to your current project. This endpoint allows you to migrate resources like databases, collections, documents, users, and files from an existing Appwrite project.
|
|
21
17
|
*
|
|
22
18
|
* @param {string[]} resources
|
|
@@ -28,8 +24,6 @@ export declare class Migrations {
|
|
|
28
24
|
*/
|
|
29
25
|
createAppwriteMigration(resources: string[], endpoint: string, projectId: string, apiKey: string): Promise<Models.Migration>;
|
|
30
26
|
/**
|
|
31
|
-
* Generate a report on Appwrite data
|
|
32
|
-
*
|
|
33
27
|
* Generate a report of the data in an Appwrite project before migrating. This endpoint analyzes the source project and returns information about the resources that can be migrated.
|
|
34
28
|
*
|
|
35
29
|
* @param {string[]} resources
|
|
@@ -41,8 +35,16 @@ export declare class Migrations {
|
|
|
41
35
|
*/
|
|
42
36
|
getAppwriteReport(resources: string[], endpoint: string, projectID: string, key: string): Promise<Models.MigrationReport>;
|
|
43
37
|
/**
|
|
44
|
-
*
|
|
38
|
+
* Import documents from a CSV file into your Appwrite database. This endpoint allows you to import documents from a CSV file uploaded to Appwrite Storage bucket.
|
|
45
39
|
*
|
|
40
|
+
* @param {string} bucketId
|
|
41
|
+
* @param {string} fileId
|
|
42
|
+
* @param {string} resourceId
|
|
43
|
+
* @throws {AppwriteException}
|
|
44
|
+
* @returns {Promise<Models.Migration>}
|
|
45
|
+
*/
|
|
46
|
+
createCsvMigration(bucketId: string, fileId: string, resourceId: string): Promise<Models.Migration>;
|
|
47
|
+
/**
|
|
46
48
|
* Migrate data from a Firebase project to your Appwrite project. This endpoint allows you to migrate resources like authentication and other supported services from a Firebase project.
|
|
47
49
|
*
|
|
48
50
|
* @param {string[]} resources
|
|
@@ -52,8 +54,6 @@ export declare class Migrations {
|
|
|
52
54
|
*/
|
|
53
55
|
createFirebaseMigration(resources: string[], serviceAccount: string): Promise<Models.Migration>;
|
|
54
56
|
/**
|
|
55
|
-
* Generate a report on Firebase data
|
|
56
|
-
*
|
|
57
57
|
* Generate a report of the data in a Firebase project before migrating. This endpoint analyzes the source project and returns information about the resources that can be migrated.
|
|
58
58
|
*
|
|
59
59
|
* @param {string[]} resources
|
|
@@ -63,8 +63,6 @@ export declare class Migrations {
|
|
|
63
63
|
*/
|
|
64
64
|
getFirebaseReport(resources: string[], serviceAccount: string): Promise<Models.MigrationReport>;
|
|
65
65
|
/**
|
|
66
|
-
* Migrate NHost data
|
|
67
|
-
*
|
|
68
66
|
* Migrate data from an NHost project to your Appwrite project. This endpoint allows you to migrate resources like authentication, databases, and other supported services from an NHost project.
|
|
69
67
|
*
|
|
70
68
|
* @param {string[]} resources
|
|
@@ -80,8 +78,6 @@ export declare class Migrations {
|
|
|
80
78
|
*/
|
|
81
79
|
createNHostMigration(resources: string[], subdomain: string, region: string, adminSecret: string, database: string, username: string, password: string, port?: number): Promise<Models.Migration>;
|
|
82
80
|
/**
|
|
83
|
-
* Generate a report on NHost Data
|
|
84
|
-
*
|
|
85
81
|
* Generate a detailed report of the data in an NHost project before migrating. This endpoint analyzes the source project and returns information about the resources that can be migrated.
|
|
86
82
|
*
|
|
87
83
|
* @param {string[]} resources
|
|
@@ -97,8 +93,6 @@ export declare class Migrations {
|
|
|
97
93
|
*/
|
|
98
94
|
getNHostReport(resources: string[], subdomain: string, region: string, adminSecret: string, database: string, username: string, password: string, port?: number): Promise<Models.MigrationReport>;
|
|
99
95
|
/**
|
|
100
|
-
* Migrate Supabase data
|
|
101
|
-
*
|
|
102
96
|
* Migrate data from a Supabase project to your Appwrite project. This endpoint allows you to migrate resources like authentication, databases, and other supported services from a Supabase project.
|
|
103
97
|
*
|
|
104
98
|
* @param {string[]} resources
|
|
@@ -113,8 +107,6 @@ export declare class Migrations {
|
|
|
113
107
|
*/
|
|
114
108
|
createSupabaseMigration(resources: string[], endpoint: string, apiKey: string, databaseHost: string, username: string, password: string, port?: number): Promise<Models.Migration>;
|
|
115
109
|
/**
|
|
116
|
-
* Generate a report on Supabase Data
|
|
117
|
-
*
|
|
118
110
|
* Generate a report of the data in a Supabase project before migrating. This endpoint analyzes the source project and returns information about the resources that can be migrated.
|
|
119
111
|
*
|
|
120
112
|
* @param {string[]} resources
|
|
@@ -129,8 +121,6 @@ export declare class Migrations {
|
|
|
129
121
|
*/
|
|
130
122
|
getSupabaseReport(resources: string[], endpoint: string, apiKey: string, databaseHost: string, username: string, password: string, port?: number): Promise<Models.MigrationReport>;
|
|
131
123
|
/**
|
|
132
|
-
* Get migration
|
|
133
|
-
*
|
|
134
124
|
* Get a migration by its unique ID. This endpoint returns detailed information about a specific migration including its current status, progress, and any errors that occurred during the migration process.
|
|
135
125
|
*
|
|
136
126
|
* @param {string} migrationId
|
|
@@ -139,8 +129,6 @@ export declare class Migrations {
|
|
|
139
129
|
*/
|
|
140
130
|
get(migrationId: string): Promise<Models.Migration>;
|
|
141
131
|
/**
|
|
142
|
-
* Retry migration
|
|
143
|
-
*
|
|
144
132
|
* Retry a failed migration. This endpoint allows you to retry a migration that has previously failed.
|
|
145
133
|
*
|
|
146
134
|
* @param {string} migrationId
|
|
@@ -149,8 +137,6 @@ export declare class Migrations {
|
|
|
149
137
|
*/
|
|
150
138
|
retry(migrationId: string): Promise<Models.Migration>;
|
|
151
139
|
/**
|
|
152
|
-
* Delete migration
|
|
153
|
-
*
|
|
154
140
|
* Delete a migration by its unique ID. This endpoint allows you to remove a migration from your project's migration history.
|
|
155
141
|
*
|
|
156
142
|
* @param {string} migrationId
|