@appwrite.io/console 0.6.4 → 0.7.0-rc.2
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/README.md +3 -3
- package/dist/cjs/sdk.js +2513 -2350
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +2513 -2350
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +2513 -2350
- package/docs/examples/account/create-anonymous-session.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-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-identity.md +1 -1
- package/docs/examples/account/delete-mfa-authenticator.md +2 -3
- 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-mfa-recovery-codes.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-identities.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-sessions.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-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/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 +1 -1
- 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 +1 -1
- 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-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-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/functions/create-build.md +2 -2
- package/docs/examples/functions/create-deployment.md +1 -1
- package/docs/examples/functions/create-execution.md +3 -2
- package/docs/examples/functions/create-variable.md +1 -1
- package/docs/examples/functions/create.md +3 -3
- package/docs/examples/functions/delete-deployment.md +1 -1
- package/docs/examples/functions/delete-execution.md +14 -0
- package/docs/examples/functions/delete-variable.md +1 -1
- package/docs/examples/functions/delete.md +1 -1
- package/docs/examples/functions/{download-deployment.md → get-deployment-download.md} +1 -1
- package/docs/examples/functions/get-deployment.md +1 -1
- package/docs/examples/functions/get-execution.md +1 -1
- package/docs/examples/functions/get-function-usage.md +1 -1
- package/docs/examples/functions/{get-specifications.md → get-template.md} +4 -2
- package/docs/examples/functions/get-usage.md +1 -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 +1 -1
- package/docs/examples/functions/list-runtimes.md +1 -1
- package/docs/examples/functions/list-templates.md +16 -0
- package/docs/examples/functions/list-variables.md +1 -1
- package/docs/examples/functions/list.md +1 -1
- package/docs/examples/functions/update-deployment-build.md +14 -0
- package/docs/examples/functions/update-deployment.md +1 -1
- package/docs/examples/functions/update-variable.md +1 -1
- package/docs/examples/functions/update.md +3 -3
- 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-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-usage-dump.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-queue.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-firebase-migration.md +1 -1
- package/docs/examples/migrations/create-firebase-o-auth-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-firebase-auth.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-o-auth.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-firebase-projects.md +1 -1
- package/docs/examples/migrations/list.md +1 -1
- package/docs/examples/migrations/retry.md +1 -1
- package/docs/examples/project/create-variable.md +1 -1
- 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 +1 -1
- package/docs/examples/projects/create-j-w-t.md +15 -0
- 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 +1 -1
- 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-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-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-email-template.md +1 -1
- package/docs/examples/projects/update-key.md +1 -1
- package/docs/examples/projects/update-mock-numbers.md +14 -0
- 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 +14 -0
- 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-rule.md +1 -1
- 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/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.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/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 +15 -0
- 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 +1 -1
- 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 +1 -1
- 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 +15 -0
- 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 +1 -1
- 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 +124 -66
- package/src/enums/email-template-type.ts +2 -0
- package/src/enums/platform-type.ts +2 -0
- package/src/enums/runtime.ts +1 -0
- package/src/index.ts +1 -1
- package/src/models.ts +230 -28
- package/src/services/account.ts +651 -644
- package/src/services/assistant.ts +19 -16
- package/src/services/avatars.ts +111 -152
- package/src/services/console.ts +19 -14
- package/src/services/databases.ts +628 -638
- package/src/services/functions.ts +435 -339
- package/src/services/graphql.ts +31 -24
- package/src/services/health.ts +299 -199
- package/src/services/locale.ts +113 -77
- package/src/services/messaging.ts +568 -583
- package/src/services/migrations.ts +199 -197
- package/src/services/project.ts +82 -65
- package/src/services/projects.ts +615 -459
- package/src/services/proxy.ts +68 -50
- package/src/services/storage.ts +198 -253
- package/src/services/teams.ts +198 -188
- package/src/services/users.ts +568 -478
- package/src/services/vcs.ts +149 -83
- package/types/client.d.ts +13 -17
- package/types/enums/email-template-type.d.ts +3 -1
- package/types/enums/platform-type.d.ts +3 -1
- package/types/enums/runtime.d.ts +2 -1
- package/types/index.d.ts +1 -1
- package/types/models.d.ts +230 -28
- package/types/services/account.d.ts +162 -317
- package/types/services/assistant.d.ts +4 -4
- package/types/services/avatars.d.ts +50 -84
- package/types/services/console.d.ts +4 -4
- package/types/services/databases.d.ts +143 -173
- package/types/services/functions.d.ts +112 -97
- package/types/services/graphql.d.ts +6 -6
- package/types/services/health.d.ts +64 -85
- package/types/services/locale.d.ts +28 -39
- package/types/services/messaging.d.ts +103 -104
- package/types/services/migrations.d.ts +34 -34
- package/types/services/project.d.ts +17 -20
- package/types/services/projects.d.ts +118 -87
- package/types/services/proxy.d.ts +13 -14
- package/types/services/storage.d.ts +53 -78
- package/types/services/teams.d.ts +53 -83
- package/types/services/users.d.ts +120 -157
- package/types/services/vcs.d.ts +31 -20
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Service } from '../service';
|
|
2
1
|
import { Client } from '../client';
|
|
3
2
|
import type { Models } from '../models';
|
|
4
|
-
export declare class Migrations
|
|
3
|
+
export declare class Migrations {
|
|
4
|
+
client: Client;
|
|
5
5
|
constructor(client: Client);
|
|
6
6
|
/**
|
|
7
7
|
* List Migrations
|
|
@@ -10,8 +10,8 @@ export declare class Migrations extends Service {
|
|
|
10
10
|
* @param {string[]} queries
|
|
11
11
|
* @param {string} search
|
|
12
12
|
* @throws {AppwriteException}
|
|
13
|
-
* @returns {Promise}
|
|
14
|
-
|
|
13
|
+
* @returns {Promise<Models.MigrationList>}
|
|
14
|
+
*/
|
|
15
15
|
list(queries?: string[], search?: string): Promise<Models.MigrationList>;
|
|
16
16
|
/**
|
|
17
17
|
* Migrate Appwrite Data
|
|
@@ -22,8 +22,8 @@ export declare class Migrations extends Service {
|
|
|
22
22
|
* @param {string} projectId
|
|
23
23
|
* @param {string} apiKey
|
|
24
24
|
* @throws {AppwriteException}
|
|
25
|
-
* @returns {Promise}
|
|
26
|
-
|
|
25
|
+
* @returns {Promise<Models.Migration>}
|
|
26
|
+
*/
|
|
27
27
|
createAppwriteMigration(resources: string[], endpoint: string, projectId: string, apiKey: string): Promise<Models.Migration>;
|
|
28
28
|
/**
|
|
29
29
|
* Generate a report on Appwrite Data
|
|
@@ -34,8 +34,8 @@ export declare class Migrations extends Service {
|
|
|
34
34
|
* @param {string} projectID
|
|
35
35
|
* @param {string} key
|
|
36
36
|
* @throws {AppwriteException}
|
|
37
|
-
* @returns {Promise}
|
|
38
|
-
|
|
37
|
+
* @returns {Promise<Models.MigrationReport>}
|
|
38
|
+
*/
|
|
39
39
|
getAppwriteReport(resources: string[], endpoint: string, projectID: string, key: string): Promise<Models.MigrationReport>;
|
|
40
40
|
/**
|
|
41
41
|
* Migrate Firebase Data (Service Account)
|
|
@@ -44,16 +44,16 @@ export declare class Migrations extends Service {
|
|
|
44
44
|
* @param {string[]} resources
|
|
45
45
|
* @param {string} serviceAccount
|
|
46
46
|
* @throws {AppwriteException}
|
|
47
|
-
* @returns {Promise}
|
|
48
|
-
|
|
47
|
+
* @returns {Promise<Models.Migration>}
|
|
48
|
+
*/
|
|
49
49
|
createFirebaseMigration(resources: string[], serviceAccount: string): Promise<Models.Migration>;
|
|
50
50
|
/**
|
|
51
51
|
* Revoke Appwrite's authorization to access Firebase Projects
|
|
52
52
|
*
|
|
53
53
|
*
|
|
54
54
|
* @throws {AppwriteException}
|
|
55
|
-
* @returns {Promise}
|
|
56
|
-
|
|
55
|
+
* @returns {Promise<{}>}
|
|
56
|
+
*/
|
|
57
57
|
deleteFirebaseAuth(): Promise<{}>;
|
|
58
58
|
/**
|
|
59
59
|
* Migrate Firebase Data (OAuth)
|
|
@@ -62,16 +62,16 @@ export declare class Migrations extends Service {
|
|
|
62
62
|
* @param {string[]} resources
|
|
63
63
|
* @param {string} projectId
|
|
64
64
|
* @throws {AppwriteException}
|
|
65
|
-
* @returns {Promise}
|
|
66
|
-
|
|
65
|
+
* @returns {Promise<Models.Migration>}
|
|
66
|
+
*/
|
|
67
67
|
createFirebaseOAuthMigration(resources: string[], projectId: string): Promise<Models.Migration>;
|
|
68
68
|
/**
|
|
69
69
|
* List Firebase Projects
|
|
70
70
|
*
|
|
71
71
|
*
|
|
72
72
|
* @throws {AppwriteException}
|
|
73
|
-
* @returns {Promise}
|
|
74
|
-
|
|
73
|
+
* @returns {Promise<Models.FirebaseProjectList>}
|
|
74
|
+
*/
|
|
75
75
|
listFirebaseProjects(): Promise<Models.FirebaseProjectList>;
|
|
76
76
|
/**
|
|
77
77
|
* Generate a report on Firebase Data
|
|
@@ -80,8 +80,8 @@ export declare class Migrations extends Service {
|
|
|
80
80
|
* @param {string[]} resources
|
|
81
81
|
* @param {string} serviceAccount
|
|
82
82
|
* @throws {AppwriteException}
|
|
83
|
-
* @returns {Promise}
|
|
84
|
-
|
|
83
|
+
* @returns {Promise<Models.MigrationReport>}
|
|
84
|
+
*/
|
|
85
85
|
getFirebaseReport(resources: string[], serviceAccount: string): Promise<Models.MigrationReport>;
|
|
86
86
|
/**
|
|
87
87
|
* Generate a report on Firebase Data using OAuth
|
|
@@ -90,8 +90,8 @@ export declare class Migrations extends Service {
|
|
|
90
90
|
* @param {string[]} resources
|
|
91
91
|
* @param {string} projectId
|
|
92
92
|
* @throws {AppwriteException}
|
|
93
|
-
* @returns {Promise}
|
|
94
|
-
|
|
93
|
+
* @returns {Promise<Models.MigrationReport>}
|
|
94
|
+
*/
|
|
95
95
|
getFirebaseReportOAuth(resources: string[], projectId: string): Promise<Models.MigrationReport>;
|
|
96
96
|
/**
|
|
97
97
|
* Migrate NHost Data
|
|
@@ -106,8 +106,8 @@ export declare class Migrations extends Service {
|
|
|
106
106
|
* @param {string} password
|
|
107
107
|
* @param {number} port
|
|
108
108
|
* @throws {AppwriteException}
|
|
109
|
-
* @returns {Promise}
|
|
110
|
-
|
|
109
|
+
* @returns {Promise<Models.Migration>}
|
|
110
|
+
*/
|
|
111
111
|
createNHostMigration(resources: string[], subdomain: string, region: string, adminSecret: string, database: string, username: string, password: string, port?: number): Promise<Models.Migration>;
|
|
112
112
|
/**
|
|
113
113
|
* Generate a report on NHost Data
|
|
@@ -122,8 +122,8 @@ export declare class Migrations extends Service {
|
|
|
122
122
|
* @param {string} password
|
|
123
123
|
* @param {number} port
|
|
124
124
|
* @throws {AppwriteException}
|
|
125
|
-
* @returns {Promise}
|
|
126
|
-
|
|
125
|
+
* @returns {Promise<Models.MigrationReport>}
|
|
126
|
+
*/
|
|
127
127
|
getNHostReport(resources: string[], subdomain: string, region: string, adminSecret: string, database: string, username: string, password: string, port?: number): Promise<Models.MigrationReport>;
|
|
128
128
|
/**
|
|
129
129
|
* Migrate Supabase Data
|
|
@@ -137,8 +137,8 @@ export declare class Migrations extends Service {
|
|
|
137
137
|
* @param {string} password
|
|
138
138
|
* @param {number} port
|
|
139
139
|
* @throws {AppwriteException}
|
|
140
|
-
* @returns {Promise}
|
|
141
|
-
|
|
140
|
+
* @returns {Promise<Models.Migration>}
|
|
141
|
+
*/
|
|
142
142
|
createSupabaseMigration(resources: string[], endpoint: string, apiKey: string, databaseHost: string, username: string, password: string, port?: number): Promise<Models.Migration>;
|
|
143
143
|
/**
|
|
144
144
|
* Generate a report on Supabase Data
|
|
@@ -152,8 +152,8 @@ export declare class Migrations extends Service {
|
|
|
152
152
|
* @param {string} password
|
|
153
153
|
* @param {number} port
|
|
154
154
|
* @throws {AppwriteException}
|
|
155
|
-
* @returns {Promise}
|
|
156
|
-
|
|
155
|
+
* @returns {Promise<Models.MigrationReport>}
|
|
156
|
+
*/
|
|
157
157
|
getSupabaseReport(resources: string[], endpoint: string, apiKey: string, databaseHost: string, username: string, password: string, port?: number): Promise<Models.MigrationReport>;
|
|
158
158
|
/**
|
|
159
159
|
* Get Migration
|
|
@@ -161,8 +161,8 @@ export declare class Migrations extends Service {
|
|
|
161
161
|
*
|
|
162
162
|
* @param {string} migrationId
|
|
163
163
|
* @throws {AppwriteException}
|
|
164
|
-
* @returns {Promise}
|
|
165
|
-
|
|
164
|
+
* @returns {Promise<Models.Migration>}
|
|
165
|
+
*/
|
|
166
166
|
get(migrationId: string): Promise<Models.Migration>;
|
|
167
167
|
/**
|
|
168
168
|
* Retry Migration
|
|
@@ -170,8 +170,8 @@ export declare class Migrations extends Service {
|
|
|
170
170
|
*
|
|
171
171
|
* @param {string} migrationId
|
|
172
172
|
* @throws {AppwriteException}
|
|
173
|
-
* @returns {Promise}
|
|
174
|
-
|
|
173
|
+
* @returns {Promise<Models.Migration>}
|
|
174
|
+
*/
|
|
175
175
|
retry(migrationId: string): Promise<Models.Migration>;
|
|
176
176
|
/**
|
|
177
177
|
* Delete Migration
|
|
@@ -179,7 +179,7 @@ export declare class Migrations extends Service {
|
|
|
179
179
|
*
|
|
180
180
|
* @param {string} migrationId
|
|
181
181
|
* @throws {AppwriteException}
|
|
182
|
-
* @returns {Promise}
|
|
183
|
-
|
|
182
|
+
* @returns {Promise<{}>}
|
|
183
|
+
*/
|
|
184
184
|
delete(migrationId: string): Promise<{}>;
|
|
185
185
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Service } from '../service';
|
|
2
1
|
import { Client } from '../client';
|
|
3
2
|
import type { Models } from '../models';
|
|
4
3
|
import { ProjectUsageRange } from '../enums/project-usage-range';
|
|
5
|
-
export declare class Project
|
|
4
|
+
export declare class Project {
|
|
5
|
+
client: Client;
|
|
6
6
|
constructor(client: Client);
|
|
7
7
|
/**
|
|
8
8
|
* Get project usage stats
|
|
@@ -12,30 +12,28 @@ export declare class Project extends Service {
|
|
|
12
12
|
* @param {string} endDate
|
|
13
13
|
* @param {ProjectUsageRange} period
|
|
14
14
|
* @throws {AppwriteException}
|
|
15
|
-
* @returns {Promise}
|
|
16
|
-
|
|
15
|
+
* @returns {Promise<Models.UsageProject>}
|
|
16
|
+
*/
|
|
17
17
|
getUsage(startDate: string, endDate: string, period?: ProjectUsageRange): Promise<Models.UsageProject>;
|
|
18
18
|
/**
|
|
19
19
|
* List Variables
|
|
20
20
|
*
|
|
21
|
-
* Get a list of all project variables. These variables will be accessible in
|
|
22
|
-
* all Appwrite Functions at runtime.
|
|
21
|
+
* Get a list of all project variables. These variables will be accessible in all Appwrite Functions at runtime.
|
|
23
22
|
*
|
|
24
23
|
* @throws {AppwriteException}
|
|
25
|
-
* @returns {Promise}
|
|
26
|
-
|
|
24
|
+
* @returns {Promise<Models.VariableList>}
|
|
25
|
+
*/
|
|
27
26
|
listVariables(): Promise<Models.VariableList>;
|
|
28
27
|
/**
|
|
29
28
|
* Create Variable
|
|
30
29
|
*
|
|
31
|
-
* Create a new project variable. This variable will be accessible in all
|
|
32
|
-
* Appwrite Functions at runtime.
|
|
30
|
+
* Create a new project variable. This variable will be accessible in all Appwrite Functions at runtime.
|
|
33
31
|
*
|
|
34
32
|
* @param {string} key
|
|
35
33
|
* @param {string} value
|
|
36
34
|
* @throws {AppwriteException}
|
|
37
|
-
* @returns {Promise}
|
|
38
|
-
|
|
35
|
+
* @returns {Promise<Models.Variable>}
|
|
36
|
+
*/
|
|
39
37
|
createVariable(key: string, value: string): Promise<Models.Variable>;
|
|
40
38
|
/**
|
|
41
39
|
* Get Variable
|
|
@@ -44,21 +42,20 @@ export declare class Project extends Service {
|
|
|
44
42
|
*
|
|
45
43
|
* @param {string} variableId
|
|
46
44
|
* @throws {AppwriteException}
|
|
47
|
-
* @returns {Promise}
|
|
48
|
-
|
|
45
|
+
* @returns {Promise<Models.Variable>}
|
|
46
|
+
*/
|
|
49
47
|
getVariable(variableId: string): Promise<Models.Variable>;
|
|
50
48
|
/**
|
|
51
49
|
* Update Variable
|
|
52
50
|
*
|
|
53
|
-
* Update project variable by its unique ID. This variable will be accessible
|
|
54
|
-
* in all Appwrite Functions at runtime.
|
|
51
|
+
* Update project variable by its unique ID. This variable will be accessible in all Appwrite Functions at runtime.
|
|
55
52
|
*
|
|
56
53
|
* @param {string} variableId
|
|
57
54
|
* @param {string} key
|
|
58
55
|
* @param {string} value
|
|
59
56
|
* @throws {AppwriteException}
|
|
60
|
-
* @returns {Promise}
|
|
61
|
-
|
|
57
|
+
* @returns {Promise<Models.Variable>}
|
|
58
|
+
*/
|
|
62
59
|
updateVariable(variableId: string, key: string, value?: string): Promise<Models.Variable>;
|
|
63
60
|
/**
|
|
64
61
|
* Delete Variable
|
|
@@ -67,7 +64,7 @@ export declare class Project extends Service {
|
|
|
67
64
|
*
|
|
68
65
|
* @param {string} variableId
|
|
69
66
|
* @throws {AppwriteException}
|
|
70
|
-
* @returns {Promise}
|
|
71
|
-
|
|
67
|
+
* @returns {Promise<{}>}
|
|
68
|
+
*/
|
|
72
69
|
deleteVariable(variableId: string): Promise<{}>;
|
|
73
70
|
}
|