@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
|
@@ -21,7 +21,7 @@ export class Messaging {
|
|
|
21
21
|
* @throws {AppwriteException}
|
|
22
22
|
* @returns {Promise<Models.MessageList>}
|
|
23
23
|
*/
|
|
24
|
-
listMessages(params?: { queries?: string[], search?: string, total?: boolean
|
|
24
|
+
listMessages(params?: { queries?: string[], search?: string, total?: boolean }): Promise<Models.MessageList>;
|
|
25
25
|
/**
|
|
26
26
|
* Get a list of all messages from the current Appwrite project.
|
|
27
27
|
*
|
|
@@ -96,7 +96,7 @@ export class Messaging {
|
|
|
96
96
|
* @throws {AppwriteException}
|
|
97
97
|
* @returns {Promise<Models.Message>}
|
|
98
98
|
*/
|
|
99
|
-
createEmail(params: { messageId: string, subject: string, content: string, topics?: string[], users?: string[], targets?: string[], cc?: string[], bcc?: string[], attachments?: string[], draft?: boolean, html?: boolean, scheduledAt?: string
|
|
99
|
+
createEmail(params: { 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>;
|
|
100
100
|
/**
|
|
101
101
|
* Create a new email message.
|
|
102
102
|
*
|
|
@@ -236,7 +236,7 @@ export class Messaging {
|
|
|
236
236
|
* @throws {AppwriteException}
|
|
237
237
|
* @returns {Promise<Models.Message>}
|
|
238
238
|
*/
|
|
239
|
-
updateEmail(params: { messageId: string, topics?: string[], users?: string[], targets?: string[], subject?: string, content?: string, draft?: boolean, html?: boolean, cc?: string[], bcc?: string[], scheduledAt?: string, attachments?: string[]
|
|
239
|
+
updateEmail(params: { 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>;
|
|
240
240
|
/**
|
|
241
241
|
* 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.
|
|
242
242
|
*
|
|
@@ -374,7 +374,7 @@ export class Messaging {
|
|
|
374
374
|
* @throws {AppwriteException}
|
|
375
375
|
* @returns {Promise<Models.Message>}
|
|
376
376
|
*/
|
|
377
|
-
createPush(params: { 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
|
|
377
|
+
createPush(params: { 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>;
|
|
378
378
|
/**
|
|
379
379
|
* Create a new push notification.
|
|
380
380
|
*
|
|
@@ -557,7 +557,7 @@ export class Messaging {
|
|
|
557
557
|
* @throws {AppwriteException}
|
|
558
558
|
* @returns {Promise<Models.Message>}
|
|
559
559
|
*/
|
|
560
|
-
updatePush(params: { 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
|
|
560
|
+
updatePush(params: { 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>;
|
|
561
561
|
/**
|
|
562
562
|
* 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.
|
|
563
563
|
*
|
|
@@ -726,7 +726,7 @@ export class Messaging {
|
|
|
726
726
|
* @returns {Promise<Models.Message>}
|
|
727
727
|
* @deprecated This API has been deprecated since 1.8.0. Please use `Messaging.createSMS` instead.
|
|
728
728
|
*/
|
|
729
|
-
createSms(params: { messageId: string, content: string, topics?: string[], users?: string[], targets?: string[], draft?: boolean, scheduledAt?: string
|
|
729
|
+
createSms(params: { messageId: string, content: string, topics?: string[], users?: string[], targets?: string[], draft?: boolean, scheduledAt?: string }): Promise<Models.Message>;
|
|
730
730
|
/**
|
|
731
731
|
* Create a new SMS message.
|
|
732
732
|
*
|
|
@@ -827,7 +827,7 @@ export class Messaging {
|
|
|
827
827
|
* @throws {AppwriteException}
|
|
828
828
|
* @returns {Promise<Models.Message>}
|
|
829
829
|
*/
|
|
830
|
-
createSMS(params: { messageId: string, content: string, topics?: string[], users?: string[], targets?: string[], draft?: boolean, scheduledAt?: string
|
|
830
|
+
createSMS(params: { messageId: string, content: string, topics?: string[], users?: string[], targets?: string[], draft?: boolean, scheduledAt?: string }): Promise<Models.Message>;
|
|
831
831
|
/**
|
|
832
832
|
* Create a new SMS message.
|
|
833
833
|
*
|
|
@@ -930,7 +930,7 @@ export class Messaging {
|
|
|
930
930
|
* @returns {Promise<Models.Message>}
|
|
931
931
|
* @deprecated This API has been deprecated since 1.8.0. Please use `Messaging.updateSMS` instead.
|
|
932
932
|
*/
|
|
933
|
-
updateSms(params: { messageId: string, topics?: string[], users?: string[], targets?: string[], content?: string, draft?: boolean, scheduledAt?: string
|
|
933
|
+
updateSms(params: { messageId: string, topics?: string[], users?: string[], targets?: string[], content?: string, draft?: boolean, scheduledAt?: string }): Promise<Models.Message>;
|
|
934
934
|
/**
|
|
935
935
|
* 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.
|
|
936
936
|
*
|
|
@@ -1027,7 +1027,7 @@ export class Messaging {
|
|
|
1027
1027
|
* @throws {AppwriteException}
|
|
1028
1028
|
* @returns {Promise<Models.Message>}
|
|
1029
1029
|
*/
|
|
1030
|
-
updateSMS(params: { messageId: string, topics?: string[], users?: string[], targets?: string[], content?: string, draft?: boolean, scheduledAt?: string
|
|
1030
|
+
updateSMS(params: { messageId: string, topics?: string[], users?: string[], targets?: string[], content?: string, draft?: boolean, scheduledAt?: string }): Promise<Models.Message>;
|
|
1031
1031
|
/**
|
|
1032
1032
|
* 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.
|
|
1033
1033
|
*
|
|
@@ -1118,7 +1118,7 @@ export class Messaging {
|
|
|
1118
1118
|
* @throws {AppwriteException}
|
|
1119
1119
|
* @returns {Promise<Models.Message>}
|
|
1120
1120
|
*/
|
|
1121
|
-
getMessage(params: { messageId: string
|
|
1121
|
+
getMessage(params: { messageId: string }): Promise<Models.Message>;
|
|
1122
1122
|
/**
|
|
1123
1123
|
* Get a message by its unique ID.
|
|
1124
1124
|
*
|
|
@@ -1170,7 +1170,7 @@ export class Messaging {
|
|
|
1170
1170
|
* @throws {AppwriteException}
|
|
1171
1171
|
* @returns {Promise<{}>}
|
|
1172
1172
|
*/
|
|
1173
|
-
delete(params: { messageId: string
|
|
1173
|
+
delete(params: { messageId: string }): Promise<{}>;
|
|
1174
1174
|
/**
|
|
1175
1175
|
* Delete a message. If the message is not a draft or scheduled, but has been sent, this will not recall the message.
|
|
1176
1176
|
*
|
|
@@ -1224,7 +1224,7 @@ export class Messaging {
|
|
|
1224
1224
|
* @throws {AppwriteException}
|
|
1225
1225
|
* @returns {Promise<Models.LogList>}
|
|
1226
1226
|
*/
|
|
1227
|
-
listMessageLogs(params: { messageId: string, queries?: string[], total?: boolean
|
|
1227
|
+
listMessageLogs(params: { messageId: string, queries?: string[], total?: boolean }): Promise<Models.LogList>;
|
|
1228
1228
|
/**
|
|
1229
1229
|
* Get the message activity logs listed by its unique ID.
|
|
1230
1230
|
*
|
|
@@ -1290,7 +1290,7 @@ export class Messaging {
|
|
|
1290
1290
|
* @throws {AppwriteException}
|
|
1291
1291
|
* @returns {Promise<Models.TargetList>}
|
|
1292
1292
|
*/
|
|
1293
|
-
listTargets(params: { messageId: string, queries?: string[], total?: boolean
|
|
1293
|
+
listTargets(params: { messageId: string, queries?: string[], total?: boolean }): Promise<Models.TargetList>;
|
|
1294
1294
|
/**
|
|
1295
1295
|
* Get a list of the targets associated with a message.
|
|
1296
1296
|
*
|
|
@@ -1356,7 +1356,7 @@ export class Messaging {
|
|
|
1356
1356
|
* @throws {AppwriteException}
|
|
1357
1357
|
* @returns {Promise<Models.ProviderList>}
|
|
1358
1358
|
*/
|
|
1359
|
-
listProviders(params?: { queries?: string[], search?: string, total?: boolean
|
|
1359
|
+
listProviders(params?: { queries?: string[], search?: string, total?: boolean }): Promise<Models.ProviderList>;
|
|
1360
1360
|
/**
|
|
1361
1361
|
* Get a list of all providers from the current Appwrite project.
|
|
1362
1362
|
*
|
|
@@ -1428,7 +1428,7 @@ export class Messaging {
|
|
|
1428
1428
|
* @returns {Promise<Models.Provider>}
|
|
1429
1429
|
* @deprecated This API has been deprecated since 1.8.0. Please use `Messaging.createAPNSProvider` instead.
|
|
1430
1430
|
*/
|
|
1431
|
-
createApnsProvider(params: { providerId: string, name: string, authKey?: string, authKeyId?: string, teamId?: string, bundleId?: string, sandbox?: boolean, enabled?: boolean
|
|
1431
|
+
createApnsProvider(params: { providerId: string, name: string, authKey?: string, authKeyId?: string, teamId?: string, bundleId?: string, sandbox?: boolean, enabled?: boolean }): Promise<Models.Provider>;
|
|
1432
1432
|
/**
|
|
1433
1433
|
* Create a new Apple Push Notification service provider.
|
|
1434
1434
|
*
|
|
@@ -1536,7 +1536,7 @@ export class Messaging {
|
|
|
1536
1536
|
* @throws {AppwriteException}
|
|
1537
1537
|
* @returns {Promise<Models.Provider>}
|
|
1538
1538
|
*/
|
|
1539
|
-
createAPNSProvider(params: { providerId: string, name: string, authKey?: string, authKeyId?: string, teamId?: string, bundleId?: string, sandbox?: boolean, enabled?: boolean
|
|
1539
|
+
createAPNSProvider(params: { providerId: string, name: string, authKey?: string, authKeyId?: string, teamId?: string, bundleId?: string, sandbox?: boolean, enabled?: boolean }): Promise<Models.Provider>;
|
|
1540
1540
|
/**
|
|
1541
1541
|
* Create a new Apple Push Notification service provider.
|
|
1542
1542
|
*
|
|
@@ -1645,7 +1645,7 @@ export class Messaging {
|
|
|
1645
1645
|
* @returns {Promise<Models.Provider>}
|
|
1646
1646
|
* @deprecated This API has been deprecated since 1.8.0. Please use `Messaging.updateAPNSProvider` instead.
|
|
1647
1647
|
*/
|
|
1648
|
-
updateApnsProvider(params: { providerId: string, name?: string, enabled?: boolean, authKey?: string, authKeyId?: string, teamId?: string, bundleId?: string, sandbox?: boolean
|
|
1648
|
+
updateApnsProvider(params: { providerId: string, name?: string, enabled?: boolean, authKey?: string, authKeyId?: string, teamId?: string, bundleId?: string, sandbox?: boolean }): Promise<Models.Provider>;
|
|
1649
1649
|
/**
|
|
1650
1650
|
* Update a Apple Push Notification service provider by its unique ID.
|
|
1651
1651
|
*
|
|
@@ -1747,7 +1747,7 @@ export class Messaging {
|
|
|
1747
1747
|
* @throws {AppwriteException}
|
|
1748
1748
|
* @returns {Promise<Models.Provider>}
|
|
1749
1749
|
*/
|
|
1750
|
-
updateAPNSProvider(params: { providerId: string, name?: string, enabled?: boolean, authKey?: string, authKeyId?: string, teamId?: string, bundleId?: string, sandbox?: boolean
|
|
1750
|
+
updateAPNSProvider(params: { providerId: string, name?: string, enabled?: boolean, authKey?: string, authKeyId?: string, teamId?: string, bundleId?: string, sandbox?: boolean }): Promise<Models.Provider>;
|
|
1751
1751
|
/**
|
|
1752
1752
|
* Update a Apple Push Notification service provider by its unique ID.
|
|
1753
1753
|
*
|
|
@@ -1846,7 +1846,7 @@ export class Messaging {
|
|
|
1846
1846
|
* @returns {Promise<Models.Provider>}
|
|
1847
1847
|
* @deprecated This API has been deprecated since 1.8.0. Please use `Messaging.createFCMProvider` instead.
|
|
1848
1848
|
*/
|
|
1849
|
-
createFcmProvider(params: { providerId: string, name: string, serviceAccountJSON?: object, enabled?: boolean
|
|
1849
|
+
createFcmProvider(params: { providerId: string, name: string, serviceAccountJSON?: object, enabled?: boolean }): Promise<Models.Provider>;
|
|
1850
1850
|
/**
|
|
1851
1851
|
* Create a new Firebase Cloud Messaging provider.
|
|
1852
1852
|
*
|
|
@@ -1926,7 +1926,7 @@ export class Messaging {
|
|
|
1926
1926
|
* @throws {AppwriteException}
|
|
1927
1927
|
* @returns {Promise<Models.Provider>}
|
|
1928
1928
|
*/
|
|
1929
|
-
createFCMProvider(params: { providerId: string, name: string, serviceAccountJSON?: object, enabled?: boolean
|
|
1929
|
+
createFCMProvider(params: { providerId: string, name: string, serviceAccountJSON?: object, enabled?: boolean }): Promise<Models.Provider>;
|
|
1930
1930
|
/**
|
|
1931
1931
|
* Create a new Firebase Cloud Messaging provider.
|
|
1932
1932
|
*
|
|
@@ -2007,7 +2007,7 @@ export class Messaging {
|
|
|
2007
2007
|
* @returns {Promise<Models.Provider>}
|
|
2008
2008
|
* @deprecated This API has been deprecated since 1.8.0. Please use `Messaging.updateFCMProvider` instead.
|
|
2009
2009
|
*/
|
|
2010
|
-
updateFcmProvider(params: { providerId: string, name?: string, enabled?: boolean, serviceAccountJSON?: object
|
|
2010
|
+
updateFcmProvider(params: { providerId: string, name?: string, enabled?: boolean, serviceAccountJSON?: object }): Promise<Models.Provider>;
|
|
2011
2011
|
/**
|
|
2012
2012
|
* Update a Firebase Cloud Messaging provider by its unique ID.
|
|
2013
2013
|
*
|
|
@@ -2081,7 +2081,7 @@ export class Messaging {
|
|
|
2081
2081
|
* @throws {AppwriteException}
|
|
2082
2082
|
* @returns {Promise<Models.Provider>}
|
|
2083
2083
|
*/
|
|
2084
|
-
updateFCMProvider(params: { providerId: string, name?: string, enabled?: boolean, serviceAccountJSON?: object
|
|
2084
|
+
updateFCMProvider(params: { providerId: string, name?: string, enabled?: boolean, serviceAccountJSON?: object }): Promise<Models.Provider>;
|
|
2085
2085
|
/**
|
|
2086
2086
|
* Update a Firebase Cloud Messaging provider by its unique ID.
|
|
2087
2087
|
*
|
|
@@ -2161,7 +2161,7 @@ export class Messaging {
|
|
|
2161
2161
|
* @throws {AppwriteException}
|
|
2162
2162
|
* @returns {Promise<Models.Provider>}
|
|
2163
2163
|
*/
|
|
2164
|
-
createMailgunProvider(params: { providerId: string, name: string, apiKey?: string, domain?: string, isEuRegion?: boolean, fromName?: string, fromEmail?: string, replyToName?: string, replyToEmail?: string, enabled?: boolean
|
|
2164
|
+
createMailgunProvider(params: { providerId: string, name: string, apiKey?: string, domain?: string, isEuRegion?: boolean, fromName?: string, fromEmail?: string, replyToName?: string, replyToEmail?: string, enabled?: boolean }): Promise<Models.Provider>;
|
|
2165
2165
|
/**
|
|
2166
2166
|
* Create a new Mailgun provider.
|
|
2167
2167
|
*
|
|
@@ -2283,7 +2283,7 @@ export class Messaging {
|
|
|
2283
2283
|
* @throws {AppwriteException}
|
|
2284
2284
|
* @returns {Promise<Models.Provider>}
|
|
2285
2285
|
*/
|
|
2286
|
-
updateMailgunProvider(params: { providerId: string, name?: string, apiKey?: string, domain?: string, isEuRegion?: boolean, enabled?: boolean, fromName?: string, fromEmail?: string, replyToName?: string, replyToEmail?: string
|
|
2286
|
+
updateMailgunProvider(params: { providerId: string, name?: string, apiKey?: string, domain?: string, isEuRegion?: boolean, enabled?: boolean, fromName?: string, fromEmail?: string, replyToName?: string, replyToEmail?: string }): Promise<Models.Provider>;
|
|
2287
2287
|
/**
|
|
2288
2288
|
* Update a Mailgun provider by its unique ID.
|
|
2289
2289
|
*
|
|
@@ -2395,7 +2395,7 @@ export class Messaging {
|
|
|
2395
2395
|
* @throws {AppwriteException}
|
|
2396
2396
|
* @returns {Promise<Models.Provider>}
|
|
2397
2397
|
*/
|
|
2398
|
-
createMsg91Provider(params: { providerId: string, name: string, templateId?: string, senderId?: string, authKey?: string, enabled?: boolean
|
|
2398
|
+
createMsg91Provider(params: { providerId: string, name: string, templateId?: string, senderId?: string, authKey?: string, enabled?: boolean }): Promise<Models.Provider>;
|
|
2399
2399
|
/**
|
|
2400
2400
|
* Create a new MSG91 provider.
|
|
2401
2401
|
*
|
|
@@ -2489,7 +2489,7 @@ export class Messaging {
|
|
|
2489
2489
|
* @throws {AppwriteException}
|
|
2490
2490
|
* @returns {Promise<Models.Provider>}
|
|
2491
2491
|
*/
|
|
2492
|
-
updateMsg91Provider(params: { providerId: string, name?: string, enabled?: boolean, templateId?: string, senderId?: string, authKey?: string
|
|
2492
|
+
updateMsg91Provider(params: { providerId: string, name?: string, enabled?: boolean, templateId?: string, senderId?: string, authKey?: string }): Promise<Models.Provider>;
|
|
2493
2493
|
/**
|
|
2494
2494
|
* Update a MSG91 provider by its unique ID.
|
|
2495
2495
|
*
|
|
@@ -2579,7 +2579,7 @@ export class Messaging {
|
|
|
2579
2579
|
* @throws {AppwriteException}
|
|
2580
2580
|
* @returns {Promise<Models.Provider>}
|
|
2581
2581
|
*/
|
|
2582
|
-
createResendProvider(params: { providerId: string, name: string, apiKey?: string, fromName?: string, fromEmail?: string, replyToName?: string, replyToEmail?: string, enabled?: boolean
|
|
2582
|
+
createResendProvider(params: { providerId: string, name: string, apiKey?: string, fromName?: string, fromEmail?: string, replyToName?: string, replyToEmail?: string, enabled?: boolean }): Promise<Models.Provider>;
|
|
2583
2583
|
/**
|
|
2584
2584
|
* Create a new Resend provider.
|
|
2585
2585
|
*
|
|
@@ -2687,7 +2687,7 @@ export class Messaging {
|
|
|
2687
2687
|
* @throws {AppwriteException}
|
|
2688
2688
|
* @returns {Promise<Models.Provider>}
|
|
2689
2689
|
*/
|
|
2690
|
-
updateResendProvider(params: { providerId: string, name?: string, enabled?: boolean, apiKey?: string, fromName?: string, fromEmail?: string, replyToName?: string, replyToEmail?: string
|
|
2690
|
+
updateResendProvider(params: { providerId: string, name?: string, enabled?: boolean, apiKey?: string, fromName?: string, fromEmail?: string, replyToName?: string, replyToEmail?: string }): Promise<Models.Provider>;
|
|
2691
2691
|
/**
|
|
2692
2692
|
* Update a Resend provider by its unique ID.
|
|
2693
2693
|
*
|
|
@@ -2789,7 +2789,7 @@ export class Messaging {
|
|
|
2789
2789
|
* @throws {AppwriteException}
|
|
2790
2790
|
* @returns {Promise<Models.Provider>}
|
|
2791
2791
|
*/
|
|
2792
|
-
createSendgridProvider(params: { providerId: string, name: string, apiKey?: string, fromName?: string, fromEmail?: string, replyToName?: string, replyToEmail?: string, enabled?: boolean
|
|
2792
|
+
createSendgridProvider(params: { providerId: string, name: string, apiKey?: string, fromName?: string, fromEmail?: string, replyToName?: string, replyToEmail?: string, enabled?: boolean }): Promise<Models.Provider>;
|
|
2793
2793
|
/**
|
|
2794
2794
|
* Create a new Sendgrid provider.
|
|
2795
2795
|
*
|
|
@@ -2897,7 +2897,7 @@ export class Messaging {
|
|
|
2897
2897
|
* @throws {AppwriteException}
|
|
2898
2898
|
* @returns {Promise<Models.Provider>}
|
|
2899
2899
|
*/
|
|
2900
|
-
updateSendgridProvider(params: { providerId: string, name?: string, enabled?: boolean, apiKey?: string, fromName?: string, fromEmail?: string, replyToName?: string, replyToEmail?: string
|
|
2900
|
+
updateSendgridProvider(params: { providerId: string, name?: string, enabled?: boolean, apiKey?: string, fromName?: string, fromEmail?: string, replyToName?: string, replyToEmail?: string }): Promise<Models.Provider>;
|
|
2901
2901
|
/**
|
|
2902
2902
|
* Update a Sendgrid provider by its unique ID.
|
|
2903
2903
|
*
|
|
@@ -3006,7 +3006,7 @@ export class Messaging {
|
|
|
3006
3006
|
* @returns {Promise<Models.Provider>}
|
|
3007
3007
|
* @deprecated This API has been deprecated since 1.8.0. Please use `Messaging.createSMTPProvider` instead.
|
|
3008
3008
|
*/
|
|
3009
|
-
createSmtpProvider(params: { 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
|
|
3009
|
+
createSmtpProvider(params: { 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>;
|
|
3010
3010
|
/**
|
|
3011
3011
|
* Create a new SMTP provider.
|
|
3012
3012
|
*
|
|
@@ -3159,7 +3159,7 @@ export class Messaging {
|
|
|
3159
3159
|
* @throws {AppwriteException}
|
|
3160
3160
|
* @returns {Promise<Models.Provider>}
|
|
3161
3161
|
*/
|
|
3162
|
-
createSMTPProvider(params: { 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
|
|
3162
|
+
createSMTPProvider(params: { 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>;
|
|
3163
3163
|
/**
|
|
3164
3164
|
* Create a new SMTP provider.
|
|
3165
3165
|
*
|
|
@@ -3313,7 +3313,7 @@ export class Messaging {
|
|
|
3313
3313
|
* @returns {Promise<Models.Provider>}
|
|
3314
3314
|
* @deprecated This API has been deprecated since 1.8.0. Please use `Messaging.updateSMTPProvider` instead.
|
|
3315
3315
|
*/
|
|
3316
|
-
updateSmtpProvider(params: { 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
|
|
3316
|
+
updateSmtpProvider(params: { 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>;
|
|
3317
3317
|
/**
|
|
3318
3318
|
* Update a SMTP provider by its unique ID.
|
|
3319
3319
|
*
|
|
@@ -3457,7 +3457,7 @@ export class Messaging {
|
|
|
3457
3457
|
* @throws {AppwriteException}
|
|
3458
3458
|
* @returns {Promise<Models.Provider>}
|
|
3459
3459
|
*/
|
|
3460
|
-
updateSMTPProvider(params: { 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
|
|
3460
|
+
updateSMTPProvider(params: { 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>;
|
|
3461
3461
|
/**
|
|
3462
3462
|
* Update a SMTP provider by its unique ID.
|
|
3463
3463
|
*
|
|
@@ -3593,7 +3593,7 @@ export class Messaging {
|
|
|
3593
3593
|
* @throws {AppwriteException}
|
|
3594
3594
|
* @returns {Promise<Models.Provider>}
|
|
3595
3595
|
*/
|
|
3596
|
-
createTelesignProvider(params: { providerId: string, name: string, from?: string, customerId?: string, apiKey?: string, enabled?: boolean
|
|
3596
|
+
createTelesignProvider(params: { providerId: string, name: string, from?: string, customerId?: string, apiKey?: string, enabled?: boolean }): Promise<Models.Provider>;
|
|
3597
3597
|
/**
|
|
3598
3598
|
* Create a new Telesign provider.
|
|
3599
3599
|
*
|
|
@@ -3687,7 +3687,7 @@ export class Messaging {
|
|
|
3687
3687
|
* @throws {AppwriteException}
|
|
3688
3688
|
* @returns {Promise<Models.Provider>}
|
|
3689
3689
|
*/
|
|
3690
|
-
updateTelesignProvider(params: { providerId: string, name?: string, enabled?: boolean, customerId?: string, apiKey?: string, from?: string
|
|
3690
|
+
updateTelesignProvider(params: { providerId: string, name?: string, enabled?: boolean, customerId?: string, apiKey?: string, from?: string }): Promise<Models.Provider>;
|
|
3691
3691
|
/**
|
|
3692
3692
|
* Update a Telesign provider by its unique ID.
|
|
3693
3693
|
*
|
|
@@ -3775,7 +3775,7 @@ export class Messaging {
|
|
|
3775
3775
|
* @throws {AppwriteException}
|
|
3776
3776
|
* @returns {Promise<Models.Provider>}
|
|
3777
3777
|
*/
|
|
3778
|
-
createTextmagicProvider(params: { providerId: string, name: string, from?: string, username?: string, apiKey?: string, enabled?: boolean
|
|
3778
|
+
createTextmagicProvider(params: { providerId: string, name: string, from?: string, username?: string, apiKey?: string, enabled?: boolean }): Promise<Models.Provider>;
|
|
3779
3779
|
/**
|
|
3780
3780
|
* Create a new Textmagic provider.
|
|
3781
3781
|
*
|
|
@@ -3869,7 +3869,7 @@ export class Messaging {
|
|
|
3869
3869
|
* @throws {AppwriteException}
|
|
3870
3870
|
* @returns {Promise<Models.Provider>}
|
|
3871
3871
|
*/
|
|
3872
|
-
updateTextmagicProvider(params: { providerId: string, name?: string, enabled?: boolean, username?: string, apiKey?: string, from?: string
|
|
3872
|
+
updateTextmagicProvider(params: { providerId: string, name?: string, enabled?: boolean, username?: string, apiKey?: string, from?: string }): Promise<Models.Provider>;
|
|
3873
3873
|
/**
|
|
3874
3874
|
* Update a Textmagic provider by its unique ID.
|
|
3875
3875
|
*
|
|
@@ -3957,7 +3957,7 @@ export class Messaging {
|
|
|
3957
3957
|
* @throws {AppwriteException}
|
|
3958
3958
|
* @returns {Promise<Models.Provider>}
|
|
3959
3959
|
*/
|
|
3960
|
-
createTwilioProvider(params: { providerId: string, name: string, from?: string, accountSid?: string, authToken?: string, enabled?: boolean
|
|
3960
|
+
createTwilioProvider(params: { providerId: string, name: string, from?: string, accountSid?: string, authToken?: string, enabled?: boolean }): Promise<Models.Provider>;
|
|
3961
3961
|
/**
|
|
3962
3962
|
* Create a new Twilio provider.
|
|
3963
3963
|
*
|
|
@@ -4051,7 +4051,7 @@ export class Messaging {
|
|
|
4051
4051
|
* @throws {AppwriteException}
|
|
4052
4052
|
* @returns {Promise<Models.Provider>}
|
|
4053
4053
|
*/
|
|
4054
|
-
updateTwilioProvider(params: { providerId: string, name?: string, enabled?: boolean, accountSid?: string, authToken?: string, from?: string
|
|
4054
|
+
updateTwilioProvider(params: { providerId: string, name?: string, enabled?: boolean, accountSid?: string, authToken?: string, from?: string }): Promise<Models.Provider>;
|
|
4055
4055
|
/**
|
|
4056
4056
|
* Update a Twilio provider by its unique ID.
|
|
4057
4057
|
*
|
|
@@ -4139,7 +4139,7 @@ export class Messaging {
|
|
|
4139
4139
|
* @throws {AppwriteException}
|
|
4140
4140
|
* @returns {Promise<Models.Provider>}
|
|
4141
4141
|
*/
|
|
4142
|
-
createVonageProvider(params: { providerId: string, name: string, from?: string, apiKey?: string, apiSecret?: string, enabled?: boolean
|
|
4142
|
+
createVonageProvider(params: { providerId: string, name: string, from?: string, apiKey?: string, apiSecret?: string, enabled?: boolean }): Promise<Models.Provider>;
|
|
4143
4143
|
/**
|
|
4144
4144
|
* Create a new Vonage provider.
|
|
4145
4145
|
*
|
|
@@ -4233,7 +4233,7 @@ export class Messaging {
|
|
|
4233
4233
|
* @throws {AppwriteException}
|
|
4234
4234
|
* @returns {Promise<Models.Provider>}
|
|
4235
4235
|
*/
|
|
4236
|
-
updateVonageProvider(params: { providerId: string, name?: string, enabled?: boolean, apiKey?: string, apiSecret?: string, from?: string
|
|
4236
|
+
updateVonageProvider(params: { providerId: string, name?: string, enabled?: boolean, apiKey?: string, apiSecret?: string, from?: string }): Promise<Models.Provider>;
|
|
4237
4237
|
/**
|
|
4238
4238
|
* Update a Vonage provider by its unique ID.
|
|
4239
4239
|
*
|
|
@@ -4317,7 +4317,7 @@ export class Messaging {
|
|
|
4317
4317
|
* @throws {AppwriteException}
|
|
4318
4318
|
* @returns {Promise<Models.Provider>}
|
|
4319
4319
|
*/
|
|
4320
|
-
getProvider(params: { providerId: string
|
|
4320
|
+
getProvider(params: { providerId: string }): Promise<Models.Provider>;
|
|
4321
4321
|
/**
|
|
4322
4322
|
* Get a provider by its unique ID.
|
|
4323
4323
|
*
|
|
@@ -4369,7 +4369,7 @@ export class Messaging {
|
|
|
4369
4369
|
* @throws {AppwriteException}
|
|
4370
4370
|
* @returns {Promise<{}>}
|
|
4371
4371
|
*/
|
|
4372
|
-
deleteProvider(params: { providerId: string
|
|
4372
|
+
deleteProvider(params: { providerId: string }): Promise<{}>;
|
|
4373
4373
|
/**
|
|
4374
4374
|
* Delete a provider by its unique ID.
|
|
4375
4375
|
*
|
|
@@ -4423,7 +4423,7 @@ export class Messaging {
|
|
|
4423
4423
|
* @throws {AppwriteException}
|
|
4424
4424
|
* @returns {Promise<Models.LogList>}
|
|
4425
4425
|
*/
|
|
4426
|
-
listProviderLogs(params: { providerId: string, queries?: string[], total?: boolean
|
|
4426
|
+
listProviderLogs(params: { providerId: string, queries?: string[], total?: boolean }): Promise<Models.LogList>;
|
|
4427
4427
|
/**
|
|
4428
4428
|
* Get the provider activity logs listed by its unique ID.
|
|
4429
4429
|
*
|
|
@@ -4489,7 +4489,7 @@ export class Messaging {
|
|
|
4489
4489
|
* @throws {AppwriteException}
|
|
4490
4490
|
* @returns {Promise<Models.LogList>}
|
|
4491
4491
|
*/
|
|
4492
|
-
listSubscriberLogs(params: { subscriberId: string, queries?: string[], total?: boolean
|
|
4492
|
+
listSubscriberLogs(params: { subscriberId: string, queries?: string[], total?: boolean }): Promise<Models.LogList>;
|
|
4493
4493
|
/**
|
|
4494
4494
|
* Get the subscriber activity logs listed by its unique ID.
|
|
4495
4495
|
*
|
|
@@ -4555,7 +4555,7 @@ export class Messaging {
|
|
|
4555
4555
|
* @throws {AppwriteException}
|
|
4556
4556
|
* @returns {Promise<Models.TopicList>}
|
|
4557
4557
|
*/
|
|
4558
|
-
listTopics(params?: { queries?: string[], search?: string, total?: boolean
|
|
4558
|
+
listTopics(params?: { queries?: string[], search?: string, total?: boolean }): Promise<Models.TopicList>;
|
|
4559
4559
|
/**
|
|
4560
4560
|
* Get a list of all topics from the current Appwrite project.
|
|
4561
4561
|
*
|
|
@@ -4621,7 +4621,7 @@ export class Messaging {
|
|
|
4621
4621
|
* @throws {AppwriteException}
|
|
4622
4622
|
* @returns {Promise<Models.Topic>}
|
|
4623
4623
|
*/
|
|
4624
|
-
createTopic(params: { topicId: string, name: string, subscribe?: string[]
|
|
4624
|
+
createTopic(params: { topicId: string, name: string, subscribe?: string[] }): Promise<Models.Topic>;
|
|
4625
4625
|
/**
|
|
4626
4626
|
* Create a new topic.
|
|
4627
4627
|
*
|
|
@@ -4693,7 +4693,7 @@ export class Messaging {
|
|
|
4693
4693
|
* @throws {AppwriteException}
|
|
4694
4694
|
* @returns {Promise<Models.Topic>}
|
|
4695
4695
|
*/
|
|
4696
|
-
getTopic(params: { topicId: string
|
|
4696
|
+
getTopic(params: { topicId: string }): Promise<Models.Topic>;
|
|
4697
4697
|
/**
|
|
4698
4698
|
* Get a topic by its unique ID.
|
|
4699
4699
|
*
|
|
@@ -4748,7 +4748,7 @@ export class Messaging {
|
|
|
4748
4748
|
* @throws {AppwriteException}
|
|
4749
4749
|
* @returns {Promise<Models.Topic>}
|
|
4750
4750
|
*/
|
|
4751
|
-
updateTopic(params: { topicId: string, name?: string, subscribe?: string[]
|
|
4751
|
+
updateTopic(params: { topicId: string, name?: string, subscribe?: string[] }): Promise<Models.Topic>;
|
|
4752
4752
|
/**
|
|
4753
4753
|
* Update a topic by its unique ID.
|
|
4754
4754
|
*
|
|
@@ -4814,7 +4814,7 @@ export class Messaging {
|
|
|
4814
4814
|
* @throws {AppwriteException}
|
|
4815
4815
|
* @returns {Promise<{}>}
|
|
4816
4816
|
*/
|
|
4817
|
-
deleteTopic(params: { topicId: string
|
|
4817
|
+
deleteTopic(params: { topicId: string }): Promise<{}>;
|
|
4818
4818
|
/**
|
|
4819
4819
|
* Delete a topic by its unique ID.
|
|
4820
4820
|
*
|
|
@@ -4868,7 +4868,7 @@ export class Messaging {
|
|
|
4868
4868
|
* @throws {AppwriteException}
|
|
4869
4869
|
* @returns {Promise<Models.LogList>}
|
|
4870
4870
|
*/
|
|
4871
|
-
listTopicLogs(params: { topicId: string, queries?: string[], total?: boolean
|
|
4871
|
+
listTopicLogs(params: { topicId: string, queries?: string[], total?: boolean }): Promise<Models.LogList>;
|
|
4872
4872
|
/**
|
|
4873
4873
|
* Get the topic activity logs listed by its unique ID.
|
|
4874
4874
|
*
|
|
@@ -4935,7 +4935,7 @@ export class Messaging {
|
|
|
4935
4935
|
* @throws {AppwriteException}
|
|
4936
4936
|
* @returns {Promise<Models.SubscriberList>}
|
|
4937
4937
|
*/
|
|
4938
|
-
listSubscribers(params: { topicId: string, queries?: string[], search?: string, total?: boolean
|
|
4938
|
+
listSubscribers(params: { topicId: string, queries?: string[], search?: string, total?: boolean }): Promise<Models.SubscriberList>;
|
|
4939
4939
|
/**
|
|
4940
4940
|
* Get a list of all subscribers from the current Appwrite project.
|
|
4941
4941
|
*
|
|
@@ -5007,7 +5007,7 @@ export class Messaging {
|
|
|
5007
5007
|
* @throws {AppwriteException}
|
|
5008
5008
|
* @returns {Promise<Models.Subscriber>}
|
|
5009
5009
|
*/
|
|
5010
|
-
createSubscriber(params: { topicId: string, subscriberId: string, targetId: string
|
|
5010
|
+
createSubscriber(params: { topicId: string, subscriberId: string, targetId: string }): Promise<Models.Subscriber>;
|
|
5011
5011
|
/**
|
|
5012
5012
|
* Create a new subscriber.
|
|
5013
5013
|
*
|
|
@@ -5080,7 +5080,7 @@ export class Messaging {
|
|
|
5080
5080
|
* @throws {AppwriteException}
|
|
5081
5081
|
* @returns {Promise<Models.Subscriber>}
|
|
5082
5082
|
*/
|
|
5083
|
-
getSubscriber(params: { topicId: string, subscriberId: string
|
|
5083
|
+
getSubscriber(params: { topicId: string, subscriberId: string }): Promise<Models.Subscriber>;
|
|
5084
5084
|
/**
|
|
5085
5085
|
* Get a subscriber by its unique ID.
|
|
5086
5086
|
*
|
|
@@ -5140,7 +5140,7 @@ export class Messaging {
|
|
|
5140
5140
|
* @throws {AppwriteException}
|
|
5141
5141
|
* @returns {Promise<{}>}
|
|
5142
5142
|
*/
|
|
5143
|
-
deleteSubscriber(params: { topicId: string, subscriberId: string
|
|
5143
|
+
deleteSubscriber(params: { topicId: string, subscriberId: string }): Promise<{}>;
|
|
5144
5144
|
/**
|
|
5145
5145
|
* Delete a subscriber by its unique ID.
|
|
5146
5146
|
*
|