@appwrite.io/console 1.6.0 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -1
- package/README.md +3 -3
- package/dist/cjs/sdk.js +6731 -3907
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +6729 -3908
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +6731 -3907
- package/docs/examples/account/create-anonymous-session.md +1 -1
- package/docs/examples/account/create-billing-address.md +1 -1
- package/docs/examples/account/create-email-password-session.md +1 -1
- package/docs/examples/account/create-email-token.md +1 -1
- package/docs/examples/account/create-j-w-t.md +1 -1
- package/docs/examples/account/create-magic-u-r-l-token.md +1 -1
- package/docs/examples/account/create-mfa-authenticator.md +1 -1
- package/docs/examples/account/create-mfa-challenge.md +1 -1
- package/docs/examples/account/create-mfa-recovery-codes.md +1 -1
- package/docs/examples/account/create-o-auth2session.md +1 -1
- package/docs/examples/account/create-o-auth2token.md +1 -1
- package/docs/examples/account/create-payment-method.md +1 -1
- package/docs/examples/account/create-phone-token.md +1 -1
- package/docs/examples/account/create-phone-verification.md +1 -1
- package/docs/examples/account/create-push-target.md +1 -1
- package/docs/examples/account/create-recovery.md +1 -1
- package/docs/examples/account/create-session.md +1 -1
- package/docs/examples/account/create-verification.md +1 -1
- package/docs/examples/account/create.md +1 -1
- package/docs/examples/account/delete-billing-address.md +1 -1
- package/docs/examples/account/delete-identity.md +1 -1
- package/docs/examples/account/delete-mfa-authenticator.md +1 -1
- package/docs/examples/account/delete-payment-method.md +1 -1
- package/docs/examples/account/delete-push-target.md +1 -1
- package/docs/examples/account/delete-session.md +1 -1
- package/docs/examples/account/delete-sessions.md +1 -1
- package/docs/examples/account/delete.md +1 -1
- package/docs/examples/account/get-billing-address.md +1 -1
- package/docs/examples/account/get-coupon.md +1 -1
- package/docs/examples/account/get-mfa-recovery-codes.md +1 -1
- package/docs/examples/account/get-payment-method.md +1 -1
- package/docs/examples/account/get-prefs.md +1 -1
- package/docs/examples/account/get-session.md +1 -1
- package/docs/examples/account/get.md +1 -1
- package/docs/examples/account/list-billing-addresses.md +1 -1
- package/docs/examples/account/list-identities.md +1 -1
- package/docs/examples/account/list-invoices.md +1 -1
- package/docs/examples/account/list-logs.md +1 -1
- package/docs/examples/account/list-mfa-factors.md +1 -1
- package/docs/examples/account/list-payment-methods.md +1 -1
- package/docs/examples/account/list-sessions.md +1 -1
- package/docs/examples/account/update-billing-address.md +1 -1
- package/docs/examples/account/update-email.md +1 -1
- package/docs/examples/account/update-m-f-a.md +1 -1
- package/docs/examples/account/update-magic-u-r-l-session.md +1 -1
- package/docs/examples/account/update-mfa-authenticator.md +1 -1
- package/docs/examples/account/update-mfa-challenge.md +1 -1
- package/docs/examples/account/update-mfa-recovery-codes.md +1 -1
- package/docs/examples/account/update-name.md +1 -1
- package/docs/examples/account/update-password.md +1 -1
- package/docs/examples/account/update-payment-method-mandate-options.md +1 -1
- package/docs/examples/account/update-payment-method-provider.md +1 -1
- package/docs/examples/account/update-payment-method.md +1 -1
- package/docs/examples/account/update-phone-session.md +1 -1
- package/docs/examples/account/update-phone-verification.md +1 -1
- package/docs/examples/account/update-phone.md +1 -1
- package/docs/examples/account/update-prefs.md +1 -1
- package/docs/examples/account/update-push-target.md +1 -1
- package/docs/examples/account/update-recovery.md +1 -1
- package/docs/examples/account/update-session.md +1 -1
- package/docs/examples/account/update-status.md +1 -1
- package/docs/examples/account/update-verification.md +1 -1
- package/docs/examples/assistant/chat.md +1 -1
- package/docs/examples/avatars/get-browser.md +2 -2
- package/docs/examples/avatars/get-credit-card.md +2 -2
- package/docs/examples/avatars/get-favicon.md +1 -1
- package/docs/examples/avatars/get-flag.md +2 -2
- package/docs/examples/avatars/get-image.md +1 -1
- package/docs/examples/avatars/get-initials.md +1 -1
- package/docs/examples/avatars/get-q-r.md +1 -1
- package/docs/examples/backups/create-archive.md +1 -1
- package/docs/examples/backups/create-policy.md +1 -1
- package/docs/examples/backups/create-restoration.md +1 -1
- package/docs/examples/backups/delete-archive.md +1 -1
- package/docs/examples/backups/delete-policy.md +1 -1
- package/docs/examples/backups/get-archive.md +1 -1
- package/docs/examples/backups/get-policy.md +1 -1
- package/docs/examples/backups/get-restoration.md +1 -1
- package/docs/examples/backups/list-archives.md +1 -1
- package/docs/examples/backups/list-policies.md +1 -1
- package/docs/examples/backups/list-restorations.md +1 -1
- package/docs/examples/backups/update-policy.md +1 -1
- package/docs/examples/console/create-program-membership.md +1 -1
- package/docs/examples/console/create-source.md +1 -1
- package/docs/examples/console/get-campaign.md +1 -1
- package/docs/examples/console/get-coupon.md +1 -1
- package/docs/examples/console/get-resource.md +14 -0
- package/docs/examples/console/plans.md +1 -1
- package/docs/examples/console/regions.md +1 -1
- package/docs/examples/console/variables.md +1 -1
- package/docs/examples/databases/create-boolean-attribute.md +1 -1
- package/docs/examples/databases/create-collection.md +1 -1
- package/docs/examples/databases/create-datetime-attribute.md +1 -1
- package/docs/examples/databases/create-document.md +4 -2
- package/docs/examples/databases/create-documents.md +15 -0
- package/docs/examples/databases/create-email-attribute.md +1 -1
- package/docs/examples/databases/create-enum-attribute.md +1 -1
- package/docs/examples/databases/create-float-attribute.md +1 -1
- package/docs/examples/databases/create-index.md +3 -2
- package/docs/examples/databases/create-integer-attribute.md +1 -1
- package/docs/examples/databases/create-ip-attribute.md +1 -1
- package/docs/examples/databases/create-relationship-attribute.md +1 -1
- package/docs/examples/databases/create-string-attribute.md +1 -1
- package/docs/examples/databases/create-url-attribute.md +1 -1
- package/docs/examples/databases/create.md +1 -1
- package/docs/examples/databases/delete-attribute.md +1 -1
- package/docs/examples/databases/delete-collection.md +1 -1
- package/docs/examples/databases/delete-document.md +1 -1
- package/docs/examples/databases/delete-documents.md +15 -0
- package/docs/examples/databases/delete-index.md +1 -1
- package/docs/examples/databases/delete.md +1 -1
- package/docs/examples/databases/get-attribute.md +1 -1
- package/docs/examples/databases/get-collection-usage.md +1 -1
- package/docs/examples/databases/get-collection.md +1 -1
- package/docs/examples/databases/get-database-usage.md +1 -1
- package/docs/examples/databases/get-document.md +1 -1
- package/docs/examples/databases/get-index.md +1 -1
- package/docs/examples/databases/get-usage.md +1 -1
- package/docs/examples/databases/get.md +1 -1
- package/docs/examples/databases/list-attributes.md +1 -1
- package/docs/examples/databases/list-collection-logs.md +1 -1
- package/docs/examples/databases/list-collections.md +1 -1
- package/docs/examples/databases/list-document-logs.md +1 -1
- package/docs/examples/databases/list-documents.md +1 -1
- package/docs/examples/databases/list-indexes.md +1 -1
- package/docs/examples/databases/list-logs.md +1 -1
- package/docs/examples/databases/list.md +1 -1
- package/docs/examples/databases/update-boolean-attribute.md +1 -1
- package/docs/examples/databases/update-collection.md +1 -1
- package/docs/examples/databases/update-datetime-attribute.md +1 -1
- package/docs/examples/databases/update-document.md +1 -1
- package/docs/examples/databases/update-documents.md +16 -0
- package/docs/examples/databases/update-email-attribute.md +1 -1
- package/docs/examples/databases/update-enum-attribute.md +1 -1
- package/docs/examples/databases/update-float-attribute.md +1 -1
- package/docs/examples/databases/update-integer-attribute.md +1 -1
- package/docs/examples/databases/update-ip-attribute.md +1 -1
- package/docs/examples/databases/update-relationship-attribute.md +1 -1
- package/docs/examples/databases/update-string-attribute.md +1 -1
- package/docs/examples/databases/update-url-attribute.md +1 -1
- package/docs/examples/databases/update.md +1 -1
- package/docs/examples/databases/upsert-documents.md +15 -0
- package/docs/examples/domains/create-preset-google-workspace.md +13 -0
- package/docs/examples/domains/create-preset-i-cloud.md +13 -0
- package/docs/examples/domains/create-preset-mailgun.md +13 -0
- package/docs/examples/domains/create-preset-outlook.md +13 -0
- package/docs/examples/domains/create-preset-proton-mail.md +13 -0
- package/docs/examples/domains/create-preset-zoho.md +13 -0
- package/docs/examples/domains/create-record-a-a-a-a.md +17 -0
- package/docs/examples/domains/create-record-a.md +17 -0
- package/docs/examples/domains/create-record-alias.md +17 -0
- package/docs/examples/domains/create-record-c-a-a.md +17 -0
- package/docs/examples/domains/create-record-c-n-a-m-e.md +17 -0
- package/docs/examples/domains/create-record-h-t-t-p-s.md +17 -0
- package/docs/examples/domains/create-record-m-x.md +18 -0
- package/docs/examples/domains/create-record-n-s.md +17 -0
- package/docs/examples/domains/create-record-s-r-v.md +20 -0
- package/docs/examples/domains/create-record-t-x-t.md +17 -0
- package/docs/examples/domains/create.md +14 -0
- package/docs/examples/domains/delete-record.md +14 -0
- package/docs/examples/domains/delete.md +13 -0
- package/docs/examples/domains/get-preset-google-workspace.md +13 -0
- package/docs/examples/domains/get-preset-i-cloud.md +13 -0
- package/docs/examples/domains/get-preset-mailgun.md +13 -0
- package/docs/examples/domains/get-preset-outlook.md +13 -0
- package/docs/examples/domains/get-preset-proton-mail.md +13 -0
- package/docs/examples/domains/get-preset-zoho.md +13 -0
- package/docs/examples/domains/get-record.md +14 -0
- package/docs/examples/domains/get-zone.md +13 -0
- package/docs/examples/domains/get.md +13 -0
- package/docs/examples/domains/list-records.md +14 -0
- package/docs/examples/domains/list.md +14 -0
- package/docs/examples/domains/update-nameservers.md +13 -0
- package/docs/examples/domains/update-record-a-a-a-a.md +18 -0
- package/docs/examples/domains/update-record-a.md +18 -0
- package/docs/examples/domains/update-record-alias.md +18 -0
- package/docs/examples/domains/update-record-c-a-a.md +18 -0
- package/docs/examples/domains/update-record-c-n-a-m-e.md +18 -0
- package/docs/examples/domains/update-record-h-t-t-p-s.md +18 -0
- package/docs/examples/domains/update-record-m-x.md +19 -0
- package/docs/examples/domains/update-record-n-s.md +18 -0
- package/docs/examples/domains/update-record-s-r-v.md +21 -0
- package/docs/examples/domains/update-record-t-x-t.md +18 -0
- package/docs/examples/domains/update-team.md +14 -0
- package/docs/examples/domains/update-zone.md +14 -0
- package/docs/examples/functions/create-deployment.md +1 -1
- package/docs/examples/functions/create-duplicate-deployment.md +15 -0
- package/docs/examples/functions/create-execution.md +1 -1
- package/docs/examples/functions/create-template-deployment.md +18 -0
- package/docs/examples/functions/create-variable.md +3 -2
- package/docs/examples/functions/create-vcs-deployment.md +16 -0
- package/docs/examples/functions/create.md +3 -3
- package/docs/examples/functions/delete-deployment.md +1 -1
- package/docs/examples/functions/delete-execution.md +1 -1
- package/docs/examples/functions/delete-variable.md +1 -1
- package/docs/examples/functions/delete.md +1 -1
- package/docs/examples/functions/get-deployment-download.md +4 -3
- package/docs/examples/functions/get-deployment.md +1 -1
- package/docs/examples/functions/get-execution.md +1 -1
- package/docs/examples/functions/get-template.md +1 -1
- package/docs/examples/functions/get-usage.md +2 -1
- package/docs/examples/functions/get-variable.md +1 -1
- package/docs/examples/functions/get.md +1 -1
- package/docs/examples/functions/list-deployments.md +1 -1
- package/docs/examples/functions/list-executions.md +2 -3
- package/docs/examples/functions/list-runtimes.md +1 -1
- package/docs/examples/functions/list-specifications.md +1 -1
- package/docs/examples/functions/list-templates.md +1 -1
- package/docs/examples/functions/list-usage.md +13 -0
- package/docs/examples/functions/list-variables.md +1 -1
- package/docs/examples/functions/list.md +1 -1
- package/docs/examples/functions/update-deployment-status.md +14 -0
- package/docs/examples/functions/update-function-deployment.md +14 -0
- package/docs/examples/functions/update-variable.md +3 -2
- package/docs/examples/functions/update.md +1 -1
- package/docs/examples/graphql/mutation.md +1 -1
- package/docs/examples/graphql/query.md +1 -1
- package/docs/examples/health/get-antivirus.md +1 -1
- package/docs/examples/health/get-cache.md +1 -1
- package/docs/examples/health/get-certificate.md +1 -1
- package/docs/examples/health/get-d-b.md +1 -1
- package/docs/examples/health/get-failed-jobs.md +1 -1
- package/docs/examples/health/get-pub-sub.md +1 -1
- package/docs/examples/health/get-queue-billing-aggregation.md +1 -1
- package/docs/examples/health/get-queue-builds.md +1 -1
- package/docs/examples/health/get-queue-certificates.md +1 -1
- package/docs/examples/health/get-queue-databases.md +1 -1
- package/docs/examples/health/get-queue-deletes.md +1 -1
- package/docs/examples/health/get-queue-functions.md +1 -1
- package/docs/examples/health/get-queue-logs.md +1 -1
- package/docs/examples/health/get-queue-mails.md +1 -1
- package/docs/examples/health/get-queue-messaging.md +1 -1
- package/docs/examples/health/get-queue-migrations.md +1 -1
- package/docs/examples/health/get-queue-priority-builds.md +1 -1
- package/docs/examples/health/get-queue-region-manager.md +13 -0
- package/docs/examples/health/get-queue-stats-resources.md +1 -1
- package/docs/examples/health/get-queue-usage.md +1 -1
- package/docs/examples/health/get-queue-webhooks.md +1 -1
- package/docs/examples/health/get-storage-local.md +1 -1
- package/docs/examples/health/get-storage.md +1 -1
- package/docs/examples/health/get-time.md +1 -1
- package/docs/examples/health/get.md +1 -1
- package/docs/examples/locale/get.md +1 -1
- package/docs/examples/locale/list-codes.md +1 -1
- package/docs/examples/locale/list-continents.md +1 -1
- package/docs/examples/locale/list-countries-e-u.md +1 -1
- package/docs/examples/locale/list-countries-phones.md +1 -1
- package/docs/examples/locale/list-countries.md +1 -1
- package/docs/examples/locale/list-currencies.md +1 -1
- package/docs/examples/locale/list-languages.md +1 -1
- package/docs/examples/messaging/create-apns-provider.md +1 -1
- package/docs/examples/messaging/create-email.md +1 -1
- package/docs/examples/messaging/create-fcm-provider.md +1 -1
- package/docs/examples/messaging/create-mailgun-provider.md +1 -1
- package/docs/examples/messaging/create-msg91provider.md +1 -1
- package/docs/examples/messaging/create-push.md +1 -1
- package/docs/examples/messaging/create-sendgrid-provider.md +1 -1
- package/docs/examples/messaging/create-sms.md +1 -1
- package/docs/examples/messaging/create-smtp-provider.md +1 -1
- package/docs/examples/messaging/create-subscriber.md +1 -1
- package/docs/examples/messaging/create-telesign-provider.md +1 -1
- package/docs/examples/messaging/create-textmagic-provider.md +1 -1
- package/docs/examples/messaging/create-topic.md +1 -1
- package/docs/examples/messaging/create-twilio-provider.md +1 -1
- package/docs/examples/messaging/create-vonage-provider.md +1 -1
- package/docs/examples/messaging/delete-provider.md +1 -1
- package/docs/examples/messaging/delete-subscriber.md +1 -1
- package/docs/examples/messaging/delete-topic.md +1 -1
- package/docs/examples/messaging/delete.md +1 -1
- package/docs/examples/messaging/get-message.md +1 -1
- package/docs/examples/messaging/get-provider.md +1 -1
- package/docs/examples/messaging/get-subscriber.md +1 -1
- package/docs/examples/messaging/get-topic.md +1 -1
- package/docs/examples/messaging/list-message-logs.md +1 -1
- package/docs/examples/messaging/list-messages.md +1 -1
- package/docs/examples/messaging/list-provider-logs.md +1 -1
- package/docs/examples/messaging/list-providers.md +1 -1
- package/docs/examples/messaging/list-subscriber-logs.md +1 -1
- package/docs/examples/messaging/list-subscribers.md +1 -1
- package/docs/examples/messaging/list-targets.md +1 -1
- package/docs/examples/messaging/list-topic-logs.md +1 -1
- package/docs/examples/messaging/list-topics.md +1 -1
- package/docs/examples/messaging/update-apns-provider.md +1 -1
- package/docs/examples/messaging/update-email.md +1 -1
- package/docs/examples/messaging/update-fcm-provider.md +1 -1
- package/docs/examples/messaging/update-mailgun-provider.md +1 -1
- package/docs/examples/messaging/update-msg91provider.md +1 -1
- package/docs/examples/messaging/update-push.md +1 -1
- package/docs/examples/messaging/update-sendgrid-provider.md +1 -1
- package/docs/examples/messaging/update-sms.md +1 -1
- package/docs/examples/messaging/update-smtp-provider.md +1 -1
- package/docs/examples/messaging/update-telesign-provider.md +1 -1
- package/docs/examples/messaging/update-textmagic-provider.md +1 -1
- package/docs/examples/messaging/update-topic.md +1 -1
- package/docs/examples/messaging/update-twilio-provider.md +1 -1
- package/docs/examples/messaging/update-vonage-provider.md +1 -1
- package/docs/examples/migrations/create-appwrite-migration.md +1 -1
- package/docs/examples/migrations/create-csv-migration.md +15 -0
- package/docs/examples/migrations/create-firebase-migration.md +1 -1
- package/docs/examples/migrations/create-n-host-migration.md +1 -1
- package/docs/examples/migrations/create-supabase-migration.md +1 -1
- package/docs/examples/migrations/delete.md +1 -1
- package/docs/examples/migrations/get-appwrite-report.md +1 -1
- package/docs/examples/migrations/get-firebase-report.md +1 -1
- package/docs/examples/migrations/get-n-host-report.md +1 -1
- package/docs/examples/migrations/get-supabase-report.md +1 -1
- package/docs/examples/migrations/get.md +1 -1
- package/docs/examples/migrations/list.md +1 -1
- package/docs/examples/migrations/retry.md +1 -1
- package/docs/examples/organizations/add-credit.md +1 -1
- package/docs/examples/organizations/create-invoice-payment.md +1 -1
- package/docs/examples/organizations/create.md +1 -1
- package/docs/examples/organizations/delete-backup-payment-method.md +1 -1
- package/docs/examples/organizations/delete-billing-address.md +1 -1
- package/docs/examples/organizations/delete-default-payment-method.md +1 -1
- package/docs/examples/organizations/delete.md +1 -1
- package/docs/examples/organizations/get-aggregation.md +1 -1
- package/docs/examples/organizations/get-billing-address.md +1 -1
- package/docs/examples/organizations/get-credit.md +1 -1
- package/docs/examples/organizations/get-invoice-download.md +1 -1
- package/docs/examples/organizations/get-invoice-view.md +1 -1
- package/docs/examples/organizations/get-invoice.md +1 -1
- package/docs/examples/organizations/get-payment-method.md +1 -1
- package/docs/examples/organizations/get-plan.md +1 -1
- package/docs/examples/organizations/get-scopes.md +1 -1
- package/docs/examples/organizations/list-aggregations.md +1 -1
- package/docs/examples/organizations/list-credits.md +1 -1
- package/docs/examples/organizations/list-invoices.md +1 -1
- package/docs/examples/organizations/list.md +1 -1
- package/docs/examples/organizations/set-backup-payment-method.md +1 -1
- package/docs/examples/organizations/set-billing-address.md +1 -1
- package/docs/examples/organizations/set-billing-email.md +1 -1
- package/docs/examples/organizations/set-billing-tax-id.md +1 -1
- package/docs/examples/organizations/set-default-payment-method.md +1 -1
- package/docs/examples/organizations/update-budget.md +1 -1
- package/docs/examples/organizations/update-plan.md +1 -1
- package/docs/examples/organizations/validate-invoice.md +1 -1
- package/docs/examples/project/create-variable.md +3 -2
- package/docs/examples/project/delete-variable.md +1 -1
- package/docs/examples/project/get-usage.md +1 -1
- package/docs/examples/project/get-variable.md +1 -1
- package/docs/examples/project/list-variables.md +1 -1
- package/docs/examples/project/update-variable.md +3 -2
- package/docs/examples/projects/create-dev-key.md +15 -0
- package/docs/examples/projects/create-j-w-t.md +1 -1
- package/docs/examples/projects/create-key.md +1 -1
- package/docs/examples/projects/create-platform.md +1 -1
- package/docs/examples/projects/create-smtp-test.md +1 -1
- package/docs/examples/projects/create-webhook.md +1 -1
- package/docs/examples/projects/create.md +2 -2
- package/docs/examples/projects/delete-dev-key.md +14 -0
- package/docs/examples/projects/delete-email-template.md +1 -1
- package/docs/examples/projects/delete-key.md +1 -1
- package/docs/examples/projects/delete-platform.md +1 -1
- package/docs/examples/projects/delete-sms-template.md +1 -1
- package/docs/examples/projects/delete-webhook.md +1 -1
- package/docs/examples/projects/delete.md +1 -1
- package/docs/examples/projects/get-dev-key.md +14 -0
- package/docs/examples/projects/get-email-template.md +1 -1
- package/docs/examples/projects/get-key.md +1 -1
- package/docs/examples/projects/get-platform.md +1 -1
- package/docs/examples/projects/get-sms-template.md +1 -1
- package/docs/examples/projects/get-webhook.md +1 -1
- package/docs/examples/projects/get.md +1 -1
- package/docs/examples/projects/list-dev-keys.md +14 -0
- package/docs/examples/projects/list-keys.md +1 -1
- package/docs/examples/projects/list-platforms.md +1 -1
- package/docs/examples/projects/list-webhooks.md +1 -1
- package/docs/examples/projects/list.md +1 -1
- package/docs/examples/projects/update-api-status-all.md +1 -1
- package/docs/examples/projects/update-api-status.md +1 -1
- package/docs/examples/projects/update-auth-duration.md +1 -1
- package/docs/examples/projects/update-auth-limit.md +1 -1
- package/docs/examples/projects/update-auth-password-dictionary.md +1 -1
- package/docs/examples/projects/update-auth-password-history.md +1 -1
- package/docs/examples/projects/update-auth-sessions-limit.md +1 -1
- package/docs/examples/projects/update-auth-status.md +1 -1
- package/docs/examples/projects/update-dev-key.md +16 -0
- package/docs/examples/projects/update-email-template.md +1 -1
- package/docs/examples/projects/update-key.md +1 -1
- package/docs/examples/projects/update-memberships-privacy.md +1 -1
- package/docs/examples/projects/update-mock-numbers.md +1 -1
- package/docs/examples/projects/update-o-auth2.md +1 -1
- package/docs/examples/projects/update-personal-data-check.md +1 -1
- package/docs/examples/projects/update-platform.md +1 -1
- package/docs/examples/projects/update-service-status-all.md +1 -1
- package/docs/examples/projects/update-service-status.md +1 -1
- package/docs/examples/projects/update-session-alerts.md +1 -1
- package/docs/examples/projects/update-sms-template.md +1 -1
- package/docs/examples/projects/update-smtp.md +1 -1
- package/docs/examples/projects/update-team.md +1 -1
- package/docs/examples/projects/update-webhook-signature.md +1 -1
- package/docs/examples/projects/update-webhook.md +1 -1
- package/docs/examples/projects/update.md +1 -1
- package/docs/examples/proxy/create-a-p-i-rule.md +13 -0
- package/docs/examples/proxy/create-function-rule.md +15 -0
- package/docs/examples/proxy/create-redirect-rule.md +15 -0
- package/docs/examples/proxy/create-site-rule.md +15 -0
- package/docs/examples/proxy/delete-rule.md +1 -1
- package/docs/examples/proxy/get-rule.md +1 -1
- package/docs/examples/proxy/list-rules.md +1 -1
- package/docs/examples/proxy/update-rule-verification.md +1 -1
- package/docs/examples/sites/create-deployment.md +18 -0
- package/docs/examples/sites/create-duplicate-deployment.md +14 -0
- package/docs/examples/sites/create-template-deployment.md +18 -0
- package/docs/examples/sites/create-variable.md +16 -0
- package/docs/examples/sites/create-vcs-deployment.md +16 -0
- package/docs/examples/sites/create.md +30 -0
- package/docs/examples/sites/delete-deployment.md +14 -0
- package/docs/examples/sites/delete-log.md +14 -0
- package/docs/examples/sites/delete-variable.md +14 -0
- package/docs/examples/sites/delete.md +13 -0
- package/docs/examples/sites/get-deployment-download.md +15 -0
- package/docs/examples/sites/get-deployment.md +14 -0
- package/docs/examples/sites/get-log.md +14 -0
- package/docs/examples/sites/get-template.md +13 -0
- package/docs/examples/sites/get-usage.md +14 -0
- package/docs/examples/sites/get-variable.md +14 -0
- package/docs/examples/sites/get.md +13 -0
- package/docs/examples/sites/list-deployments.md +15 -0
- package/docs/examples/sites/list-frameworks.md +11 -0
- package/docs/examples/sites/list-logs.md +14 -0
- package/docs/examples/sites/list-specifications.md +11 -0
- package/docs/examples/sites/list-templates.md +16 -0
- package/docs/examples/sites/list-usage.md +13 -0
- package/docs/examples/sites/list-variables.md +13 -0
- package/docs/examples/sites/list.md +14 -0
- package/docs/examples/sites/update-deployment-status.md +14 -0
- package/docs/examples/sites/update-site-deployment.md +14 -0
- package/docs/examples/sites/update-variable.md +17 -0
- package/docs/examples/sites/update.md +30 -0
- package/docs/examples/storage/create-bucket.md +1 -1
- package/docs/examples/storage/create-file.md +1 -1
- package/docs/examples/storage/delete-bucket.md +1 -1
- package/docs/examples/storage/delete-file.md +1 -1
- package/docs/examples/storage/get-bucket-usage.md +1 -1
- package/docs/examples/storage/get-bucket.md +1 -1
- package/docs/examples/storage/get-file-download.md +3 -2
- package/docs/examples/storage/get-file-preview.md +4 -3
- package/docs/examples/storage/get-file-view.md +3 -2
- package/docs/examples/storage/get-file.md +1 -1
- package/docs/examples/storage/get-usage.md +1 -1
- package/docs/examples/storage/list-buckets.md +1 -1
- package/docs/examples/storage/list-files.md +1 -1
- package/docs/examples/storage/update-bucket.md +1 -1
- package/docs/examples/storage/update-file.md +1 -1
- package/docs/examples/teams/create-membership.md +1 -1
- package/docs/examples/teams/create.md +1 -1
- package/docs/examples/teams/delete-membership.md +1 -1
- package/docs/examples/teams/delete.md +1 -1
- package/docs/examples/teams/get-membership.md +1 -1
- package/docs/examples/teams/get-prefs.md +1 -1
- package/docs/examples/teams/get.md +1 -1
- package/docs/examples/teams/list-logs.md +1 -1
- package/docs/examples/teams/list-memberships.md +1 -1
- package/docs/examples/teams/list.md +1 -1
- package/docs/examples/teams/update-membership-status.md +1 -1
- package/docs/examples/teams/update-membership.md +1 -1
- package/docs/examples/teams/update-name.md +1 -1
- package/docs/examples/teams/update-prefs.md +1 -1
- package/docs/examples/tokens/create-file-token.md +15 -0
- package/docs/examples/tokens/delete.md +13 -0
- package/docs/examples/tokens/get.md +13 -0
- package/docs/examples/tokens/list.md +15 -0
- package/docs/examples/tokens/update.md +14 -0
- package/docs/examples/users/create-argon2user.md +1 -1
- package/docs/examples/users/create-bcrypt-user.md +1 -1
- package/docs/examples/users/create-j-w-t.md +1 -1
- package/docs/examples/users/create-m-d5user.md +1 -1
- package/docs/examples/users/create-mfa-recovery-codes.md +1 -1
- package/docs/examples/users/create-p-h-pass-user.md +1 -1
- package/docs/examples/users/create-s-h-a-user.md +1 -1
- package/docs/examples/users/create-scrypt-modified-user.md +1 -1
- package/docs/examples/users/create-scrypt-user.md +1 -1
- package/docs/examples/users/create-session.md +1 -1
- package/docs/examples/users/create-target.md +1 -1
- package/docs/examples/users/create-token.md +1 -1
- package/docs/examples/users/create.md +1 -1
- package/docs/examples/users/delete-identity.md +1 -1
- package/docs/examples/users/delete-mfa-authenticator.md +1 -1
- package/docs/examples/users/delete-session.md +1 -1
- package/docs/examples/users/delete-sessions.md +1 -1
- package/docs/examples/users/delete-target.md +1 -1
- package/docs/examples/users/delete.md +1 -1
- package/docs/examples/users/get-mfa-recovery-codes.md +1 -1
- package/docs/examples/users/get-prefs.md +1 -1
- package/docs/examples/users/get-target.md +1 -1
- package/docs/examples/users/get-usage.md +1 -1
- package/docs/examples/users/get.md +1 -1
- package/docs/examples/users/list-identities.md +1 -1
- package/docs/examples/users/list-logs.md +1 -1
- package/docs/examples/users/list-memberships.md +4 -2
- package/docs/examples/users/list-mfa-factors.md +1 -1
- package/docs/examples/users/list-sessions.md +1 -1
- package/docs/examples/users/list-targets.md +1 -1
- package/docs/examples/users/list.md +1 -1
- package/docs/examples/users/update-email-verification.md +1 -1
- package/docs/examples/users/update-email.md +1 -1
- package/docs/examples/users/update-labels.md +1 -1
- package/docs/examples/users/update-mfa-recovery-codes.md +1 -1
- package/docs/examples/users/update-mfa.md +1 -1
- package/docs/examples/users/update-name.md +1 -1
- package/docs/examples/users/update-password.md +1 -1
- package/docs/examples/users/update-phone-verification.md +1 -1
- package/docs/examples/users/update-phone.md +1 -1
- package/docs/examples/users/update-prefs.md +1 -1
- package/docs/examples/users/update-status.md +1 -1
- package/docs/examples/users/update-target.md +1 -1
- package/docs/examples/vcs/create-repository-detection.md +3 -2
- package/docs/examples/vcs/create-repository.md +1 -1
- package/docs/examples/vcs/delete-installation.md +1 -1
- package/docs/examples/vcs/get-installation.md +1 -1
- package/docs/examples/vcs/get-repository-contents.md +1 -1
- package/docs/examples/vcs/get-repository.md +1 -1
- package/docs/examples/vcs/list-installations.md +1 -1
- package/docs/examples/vcs/list-repositories.md +3 -2
- package/docs/examples/vcs/list-repository-branches.md +1 -1
- package/docs/examples/vcs/update-external-deployments.md +1 -1
- package/package.json +1 -1
- package/src/client.ts +12 -2
- package/src/enums/adapter.ts +4 -0
- package/src/enums/api-service.ts +1 -0
- package/src/enums/build-runtime.ts +62 -0
- package/src/enums/console-resource-type.ts +3 -0
- package/src/enums/deployment-download-type.ts +4 -0
- package/src/enums/framework.ts +16 -0
- package/src/enums/image-format.ts +0 -1
- package/src/enums/name.ts +0 -1
- package/src/enums/region.ts +2 -1
- package/src/enums/runtime.ts +4 -3
- package/src/enums/site-usage-range.ts +5 -0
- package/src/enums/status-code.ts +6 -0
- package/src/enums/v-c-s-deployment-type.ts +5 -0
- package/src/enums/v-c-s-detection-type.ts +4 -0
- package/src/index.ts +13 -2
- package/src/models.ts +1092 -221
- package/src/services/account.ts +0 -16
- package/src/services/avatars.ts +0 -7
- package/src/services/backups.ts +0 -6
- package/src/services/console.ts +36 -5
- package/src/services/databases.ts +149 -18
- package/src/services/domains.ts +1821 -0
- package/src/services/functions.ts +174 -69
- package/src/services/health.ts +9 -34
- package/src/services/locale.ts +0 -8
- package/src/services/messaging.ts +0 -13
- package/src/services/migrations.ts +43 -6
- package/src/services/organizations.ts +0 -47
- package/src/services/project.ts +10 -5
- package/src/services/projects.ts +172 -10
- package/src/services/proxy.ts +124 -14
- package/src/services/sites.ts +1104 -0
- package/src/services/storage.ts +15 -12
- package/src/services/teams.ts +0 -6
- package/src/services/tokens.ts +160 -0
- package/src/services/users.ts +9 -13
- package/src/services/vcs.ts +54 -42
- package/types/enums/adapter.d.ts +4 -0
- package/types/enums/api-service.d.ts +1 -0
- package/types/enums/build-runtime.d.ts +62 -0
- package/types/enums/console-resource-type.d.ts +3 -0
- package/types/enums/deployment-download-type.d.ts +4 -0
- package/types/enums/framework.d.ts +16 -0
- package/types/enums/image-format.d.ts +0 -1
- package/types/enums/name.d.ts +0 -1
- package/types/enums/region.d.ts +3 -2
- package/types/enums/runtime.d.ts +5 -4
- package/types/enums/site-usage-range.d.ts +5 -0
- package/types/enums/status-code.d.ts +6 -0
- package/types/enums/v-c-s-deployment-type.d.ts +5 -0
- package/types/enums/v-c-s-detection-type.d.ts +4 -0
- package/types/index.d.ts +13 -2
- package/types/models.d.ts +1092 -221
- package/types/services/console.d.ts +10 -0
- package/types/services/databases.d.ts +44 -2
- package/types/services/domains.d.ts +524 -0
- package/types/services/functions.d.ts +60 -30
- package/types/services/health.d.ts +6 -6
- package/types/services/migrations.d.ts +10 -0
- package/types/services/organizations.d.ts +0 -10
- package/types/services/project.d.ts +4 -2
- package/types/services/projects.d.ts +48 -0
- package/types/services/proxy.d.ts +33 -5
- package/types/services/sites.d.ts +319 -0
- package/types/services/storage.d.ts +6 -3
- package/types/services/tokens.d.ts +51 -0
- package/types/services/users.d.ts +3 -1
- package/types/services/vcs.d.ts +15 -12
package/src/models.ts
CHANGED
|
@@ -132,6 +132,19 @@ export namespace Models {
|
|
|
132
132
|
*/
|
|
133
133
|
buckets: Bucket[];
|
|
134
134
|
}
|
|
135
|
+
/**
|
|
136
|
+
* Resource Tokens List
|
|
137
|
+
*/
|
|
138
|
+
export type ResourceTokenList = {
|
|
139
|
+
/**
|
|
140
|
+
* Total number of tokens documents that matched your query.
|
|
141
|
+
*/
|
|
142
|
+
total: number;
|
|
143
|
+
/**
|
|
144
|
+
* List of tokens.
|
|
145
|
+
*/
|
|
146
|
+
tokens: ResourceToken[];
|
|
147
|
+
}
|
|
135
148
|
/**
|
|
136
149
|
* Teams List
|
|
137
150
|
*/
|
|
@@ -158,6 +171,32 @@ export namespace Models {
|
|
|
158
171
|
*/
|
|
159
172
|
memberships: Membership[];
|
|
160
173
|
}
|
|
174
|
+
/**
|
|
175
|
+
* Sites List
|
|
176
|
+
*/
|
|
177
|
+
export type SiteList = {
|
|
178
|
+
/**
|
|
179
|
+
* Total number of sites documents that matched your query.
|
|
180
|
+
*/
|
|
181
|
+
total: number;
|
|
182
|
+
/**
|
|
183
|
+
* List of sites.
|
|
184
|
+
*/
|
|
185
|
+
sites: Site[];
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* Site Templates List
|
|
189
|
+
*/
|
|
190
|
+
export type TemplateSiteList = {
|
|
191
|
+
/**
|
|
192
|
+
* Total number of templates documents that matched your query.
|
|
193
|
+
*/
|
|
194
|
+
total: number;
|
|
195
|
+
/**
|
|
196
|
+
* List of templates.
|
|
197
|
+
*/
|
|
198
|
+
templates: TemplateSite[];
|
|
199
|
+
}
|
|
161
200
|
/**
|
|
162
201
|
* Functions List
|
|
163
202
|
*/
|
|
@@ -198,17 +237,30 @@ export namespace Models {
|
|
|
198
237
|
installations: Installation[];
|
|
199
238
|
}
|
|
200
239
|
/**
|
|
201
|
-
* Provider Repositories List
|
|
240
|
+
* Framework Provider Repositories List
|
|
241
|
+
*/
|
|
242
|
+
export type ProviderRepositoryFrameworkList = {
|
|
243
|
+
/**
|
|
244
|
+
* Total number of frameworkProviderRepositories documents that matched your query.
|
|
245
|
+
*/
|
|
246
|
+
total: number;
|
|
247
|
+
/**
|
|
248
|
+
* List of frameworkProviderRepositories.
|
|
249
|
+
*/
|
|
250
|
+
frameworkProviderRepositories: ProviderRepositoryFramework[];
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
* Runtime Provider Repositories List
|
|
202
254
|
*/
|
|
203
|
-
export type
|
|
255
|
+
export type ProviderRepositoryRuntimeList = {
|
|
204
256
|
/**
|
|
205
|
-
* Total number of
|
|
257
|
+
* Total number of runtimeProviderRepositories documents that matched your query.
|
|
206
258
|
*/
|
|
207
259
|
total: number;
|
|
208
260
|
/**
|
|
209
|
-
* List of
|
|
261
|
+
* List of runtimeProviderRepositories.
|
|
210
262
|
*/
|
|
211
|
-
|
|
263
|
+
runtimeProviderRepositories: ProviderRepositoryRuntime[];
|
|
212
264
|
}
|
|
213
265
|
/**
|
|
214
266
|
* Branches List
|
|
@@ -223,6 +275,19 @@ export namespace Models {
|
|
|
223
275
|
*/
|
|
224
276
|
branches: Branch[];
|
|
225
277
|
}
|
|
278
|
+
/**
|
|
279
|
+
* Frameworks List
|
|
280
|
+
*/
|
|
281
|
+
export type FrameworkList = {
|
|
282
|
+
/**
|
|
283
|
+
* Total number of frameworks documents that matched your query.
|
|
284
|
+
*/
|
|
285
|
+
total: number;
|
|
286
|
+
/**
|
|
287
|
+
* List of frameworks.
|
|
288
|
+
*/
|
|
289
|
+
frameworks: Framework[];
|
|
290
|
+
}
|
|
226
291
|
/**
|
|
227
292
|
* Runtimes List
|
|
228
293
|
*/
|
|
@@ -301,6 +366,19 @@ export namespace Models {
|
|
|
301
366
|
*/
|
|
302
367
|
keys: Key[];
|
|
303
368
|
}
|
|
369
|
+
/**
|
|
370
|
+
* Dev Keys List
|
|
371
|
+
*/
|
|
372
|
+
export type DevKeyList = {
|
|
373
|
+
/**
|
|
374
|
+
* Total number of devKeys documents that matched your query.
|
|
375
|
+
*/
|
|
376
|
+
total: number;
|
|
377
|
+
/**
|
|
378
|
+
* List of devKeys.
|
|
379
|
+
*/
|
|
380
|
+
devKeys: DevKey[];
|
|
381
|
+
}
|
|
304
382
|
/**
|
|
305
383
|
* Platforms List
|
|
306
384
|
*/
|
|
@@ -1111,6 +1189,10 @@ export namespace Models {
|
|
|
1111
1189
|
* Index attributes.
|
|
1112
1190
|
*/
|
|
1113
1191
|
attributes: string[];
|
|
1192
|
+
/**
|
|
1193
|
+
* Index attributes length.
|
|
1194
|
+
*/
|
|
1195
|
+
lengths: number[];
|
|
1114
1196
|
/**
|
|
1115
1197
|
* Index orders.
|
|
1116
1198
|
*/
|
|
@@ -1785,6 +1867,39 @@ export namespace Models {
|
|
|
1785
1867
|
*/
|
|
1786
1868
|
antivirus: boolean;
|
|
1787
1869
|
}
|
|
1870
|
+
/**
|
|
1871
|
+
* ResourceToken
|
|
1872
|
+
*/
|
|
1873
|
+
export type ResourceToken = {
|
|
1874
|
+
/**
|
|
1875
|
+
* Token ID.
|
|
1876
|
+
*/
|
|
1877
|
+
$id: string;
|
|
1878
|
+
/**
|
|
1879
|
+
* Token creation date in ISO 8601 format.
|
|
1880
|
+
*/
|
|
1881
|
+
$createdAt: string;
|
|
1882
|
+
/**
|
|
1883
|
+
* Resource ID.
|
|
1884
|
+
*/
|
|
1885
|
+
resourceId: string;
|
|
1886
|
+
/**
|
|
1887
|
+
* Resource type.
|
|
1888
|
+
*/
|
|
1889
|
+
resourceType: string;
|
|
1890
|
+
/**
|
|
1891
|
+
* Token expiration date in ISO 8601 format.
|
|
1892
|
+
*/
|
|
1893
|
+
expire: string;
|
|
1894
|
+
/**
|
|
1895
|
+
* JWT encoded string.
|
|
1896
|
+
*/
|
|
1897
|
+
secret: string;
|
|
1898
|
+
/**
|
|
1899
|
+
* Most recent access date in ISO 8601 format. This attribute is only updated again after 24 hours.
|
|
1900
|
+
*/
|
|
1901
|
+
accessedAt: string;
|
|
1902
|
+
}
|
|
1788
1903
|
/**
|
|
1789
1904
|
* Team
|
|
1790
1905
|
*/
|
|
@@ -1871,6 +1986,225 @@ export namespace Models {
|
|
|
1871
1986
|
*/
|
|
1872
1987
|
roles: string[];
|
|
1873
1988
|
}
|
|
1989
|
+
/**
|
|
1990
|
+
* Site
|
|
1991
|
+
*/
|
|
1992
|
+
export type Site = {
|
|
1993
|
+
/**
|
|
1994
|
+
* Site ID.
|
|
1995
|
+
*/
|
|
1996
|
+
$id: string;
|
|
1997
|
+
/**
|
|
1998
|
+
* Site creation date in ISO 8601 format.
|
|
1999
|
+
*/
|
|
2000
|
+
$createdAt: string;
|
|
2001
|
+
/**
|
|
2002
|
+
* Site update date in ISO 8601 format.
|
|
2003
|
+
*/
|
|
2004
|
+
$updatedAt: string;
|
|
2005
|
+
/**
|
|
2006
|
+
* Site name.
|
|
2007
|
+
*/
|
|
2008
|
+
name: string;
|
|
2009
|
+
/**
|
|
2010
|
+
* Site enabled.
|
|
2011
|
+
*/
|
|
2012
|
+
enabled: boolean;
|
|
2013
|
+
/**
|
|
2014
|
+
* Is the site deployed with the latest configuration? This is set to false if you've changed an environment variables, entrypoint, commands, or other settings that needs redeploy to be applied. When the value is false, redeploy the site to update it with the latest configuration.
|
|
2015
|
+
*/
|
|
2016
|
+
live: boolean;
|
|
2017
|
+
/**
|
|
2018
|
+
* When disabled, request logs will exclude logs and errors, and site responses will be slightly faster.
|
|
2019
|
+
*/
|
|
2020
|
+
logging: boolean;
|
|
2021
|
+
/**
|
|
2022
|
+
* Site framework.
|
|
2023
|
+
*/
|
|
2024
|
+
framework: string;
|
|
2025
|
+
/**
|
|
2026
|
+
* Site's active deployment ID.
|
|
2027
|
+
*/
|
|
2028
|
+
deploymentId: string;
|
|
2029
|
+
/**
|
|
2030
|
+
* Active deployment creation date in ISO 8601 format.
|
|
2031
|
+
*/
|
|
2032
|
+
deploymentCreatedAt: string;
|
|
2033
|
+
/**
|
|
2034
|
+
* Screenshot of active deployment with light theme preference file ID.
|
|
2035
|
+
*/
|
|
2036
|
+
deploymentScreenshotLight: string;
|
|
2037
|
+
/**
|
|
2038
|
+
* Screenshot of active deployment with dark theme preference file ID.
|
|
2039
|
+
*/
|
|
2040
|
+
deploymentScreenshotDark: string;
|
|
2041
|
+
/**
|
|
2042
|
+
* Site's latest deployment ID.
|
|
2043
|
+
*/
|
|
2044
|
+
latestDeploymentId: string;
|
|
2045
|
+
/**
|
|
2046
|
+
* Latest deployment creation date in ISO 8601 format.
|
|
2047
|
+
*/
|
|
2048
|
+
latestDeploymentCreatedAt: string;
|
|
2049
|
+
/**
|
|
2050
|
+
* Status of latest deployment. Possible values are "waiting", "processing", "building", "ready", and "failed".
|
|
2051
|
+
*/
|
|
2052
|
+
latestDeploymentStatus: string;
|
|
2053
|
+
/**
|
|
2054
|
+
* Site variables.
|
|
2055
|
+
*/
|
|
2056
|
+
vars: Variable[];
|
|
2057
|
+
/**
|
|
2058
|
+
* Site request timeout in seconds.
|
|
2059
|
+
*/
|
|
2060
|
+
timeout: number;
|
|
2061
|
+
/**
|
|
2062
|
+
* The install command used to install the site dependencies.
|
|
2063
|
+
*/
|
|
2064
|
+
installCommand: string;
|
|
2065
|
+
/**
|
|
2066
|
+
* The build command used to build the site.
|
|
2067
|
+
*/
|
|
2068
|
+
buildCommand: string;
|
|
2069
|
+
/**
|
|
2070
|
+
* The directory where the site build output is located.
|
|
2071
|
+
*/
|
|
2072
|
+
outputDirectory: string;
|
|
2073
|
+
/**
|
|
2074
|
+
* Site VCS (Version Control System) installation id.
|
|
2075
|
+
*/
|
|
2076
|
+
installationId: string;
|
|
2077
|
+
/**
|
|
2078
|
+
* VCS (Version Control System) Repository ID
|
|
2079
|
+
*/
|
|
2080
|
+
providerRepositoryId: string;
|
|
2081
|
+
/**
|
|
2082
|
+
* VCS (Version Control System) branch name
|
|
2083
|
+
*/
|
|
2084
|
+
providerBranch: string;
|
|
2085
|
+
/**
|
|
2086
|
+
* Path to site in VCS (Version Control System) repository
|
|
2087
|
+
*/
|
|
2088
|
+
providerRootDirectory: string;
|
|
2089
|
+
/**
|
|
2090
|
+
* Is VCS (Version Control System) connection is in silent mode? When in silence mode, no comments will be posted on the repository pull or merge requests
|
|
2091
|
+
*/
|
|
2092
|
+
providerSilentMode: boolean;
|
|
2093
|
+
/**
|
|
2094
|
+
* Machine specification for builds and executions.
|
|
2095
|
+
*/
|
|
2096
|
+
specification: string;
|
|
2097
|
+
/**
|
|
2098
|
+
* Site build runtime.
|
|
2099
|
+
*/
|
|
2100
|
+
buildRuntime: string;
|
|
2101
|
+
/**
|
|
2102
|
+
* Site framework adapter.
|
|
2103
|
+
*/
|
|
2104
|
+
adapter: string;
|
|
2105
|
+
/**
|
|
2106
|
+
* Name of fallback file to use instead of 404 page. If null, Appwrite 404 page will be displayed.
|
|
2107
|
+
*/
|
|
2108
|
+
fallbackFile: string;
|
|
2109
|
+
}
|
|
2110
|
+
/**
|
|
2111
|
+
* Template Site
|
|
2112
|
+
*/
|
|
2113
|
+
export type TemplateSite = {
|
|
2114
|
+
/**
|
|
2115
|
+
* Site Template ID.
|
|
2116
|
+
*/
|
|
2117
|
+
key: string;
|
|
2118
|
+
/**
|
|
2119
|
+
* Site Template Name.
|
|
2120
|
+
*/
|
|
2121
|
+
name: string;
|
|
2122
|
+
/**
|
|
2123
|
+
* Short description of template
|
|
2124
|
+
*/
|
|
2125
|
+
tagline: string;
|
|
2126
|
+
/**
|
|
2127
|
+
* URL hosting a template demo.
|
|
2128
|
+
*/
|
|
2129
|
+
demoUrl: string;
|
|
2130
|
+
/**
|
|
2131
|
+
* File URL with preview screenshot in dark theme preference.
|
|
2132
|
+
*/
|
|
2133
|
+
screenshotDark: string;
|
|
2134
|
+
/**
|
|
2135
|
+
* File URL with preview screenshot in light theme preference.
|
|
2136
|
+
*/
|
|
2137
|
+
screenshotLight: string;
|
|
2138
|
+
/**
|
|
2139
|
+
* Site use cases.
|
|
2140
|
+
*/
|
|
2141
|
+
useCases: string[];
|
|
2142
|
+
/**
|
|
2143
|
+
* List of frameworks that can be used with this template.
|
|
2144
|
+
*/
|
|
2145
|
+
frameworks: TemplateFramework[];
|
|
2146
|
+
/**
|
|
2147
|
+
* VCS (Version Control System) Provider.
|
|
2148
|
+
*/
|
|
2149
|
+
vcsProvider: string;
|
|
2150
|
+
/**
|
|
2151
|
+
* VCS (Version Control System) Repository ID
|
|
2152
|
+
*/
|
|
2153
|
+
providerRepositoryId: string;
|
|
2154
|
+
/**
|
|
2155
|
+
* VCS (Version Control System) Owner.
|
|
2156
|
+
*/
|
|
2157
|
+
providerOwner: string;
|
|
2158
|
+
/**
|
|
2159
|
+
* VCS (Version Control System) branch version (tag).
|
|
2160
|
+
*/
|
|
2161
|
+
providerVersion: string;
|
|
2162
|
+
/**
|
|
2163
|
+
* Site variables.
|
|
2164
|
+
*/
|
|
2165
|
+
variables: TemplateVariable[];
|
|
2166
|
+
}
|
|
2167
|
+
/**
|
|
2168
|
+
* Template Framework
|
|
2169
|
+
*/
|
|
2170
|
+
export type TemplateFramework = {
|
|
2171
|
+
/**
|
|
2172
|
+
* Parent framework key.
|
|
2173
|
+
*/
|
|
2174
|
+
key: string;
|
|
2175
|
+
/**
|
|
2176
|
+
* Framework Name.
|
|
2177
|
+
*/
|
|
2178
|
+
name: string;
|
|
2179
|
+
/**
|
|
2180
|
+
* The install command used to install the dependencies.
|
|
2181
|
+
*/
|
|
2182
|
+
installCommand: string;
|
|
2183
|
+
/**
|
|
2184
|
+
* The build command used to build the deployment.
|
|
2185
|
+
*/
|
|
2186
|
+
buildCommand: string;
|
|
2187
|
+
/**
|
|
2188
|
+
* The output directory to store the build output.
|
|
2189
|
+
*/
|
|
2190
|
+
outputDirectory: string;
|
|
2191
|
+
/**
|
|
2192
|
+
* Path to site in VCS (Version Control System) repository
|
|
2193
|
+
*/
|
|
2194
|
+
providerRootDirectory: string;
|
|
2195
|
+
/**
|
|
2196
|
+
* Runtime used during build step of template.
|
|
2197
|
+
*/
|
|
2198
|
+
buildRuntime: string;
|
|
2199
|
+
/**
|
|
2200
|
+
* Site framework runtime
|
|
2201
|
+
*/
|
|
2202
|
+
adapter: string;
|
|
2203
|
+
/**
|
|
2204
|
+
* Fallback file for SPA. Only relevant for static serve runtime.
|
|
2205
|
+
*/
|
|
2206
|
+
fallbackFile: string;
|
|
2207
|
+
}
|
|
1874
2208
|
/**
|
|
1875
2209
|
* Function
|
|
1876
2210
|
*/
|
|
@@ -1904,17 +2238,33 @@ export namespace Models {
|
|
|
1904
2238
|
*/
|
|
1905
2239
|
live: boolean;
|
|
1906
2240
|
/**
|
|
1907
|
-
*
|
|
2241
|
+
* When disabled, executions will exclude logs and errors, and will be slightly faster.
|
|
1908
2242
|
*/
|
|
1909
2243
|
logging: boolean;
|
|
1910
2244
|
/**
|
|
1911
|
-
* Function execution runtime.
|
|
2245
|
+
* Function execution and build runtime.
|
|
1912
2246
|
*/
|
|
1913
2247
|
runtime: string;
|
|
1914
2248
|
/**
|
|
1915
2249
|
* Function's active deployment ID.
|
|
1916
2250
|
*/
|
|
1917
|
-
|
|
2251
|
+
deploymentId: string;
|
|
2252
|
+
/**
|
|
2253
|
+
* Active deployment creation date in ISO 8601 format.
|
|
2254
|
+
*/
|
|
2255
|
+
deploymentCreatedAt: string;
|
|
2256
|
+
/**
|
|
2257
|
+
* Function's latest deployment ID.
|
|
2258
|
+
*/
|
|
2259
|
+
latestDeploymentId: string;
|
|
2260
|
+
/**
|
|
2261
|
+
* Latest deployment creation date in ISO 8601 format.
|
|
2262
|
+
*/
|
|
2263
|
+
latestDeploymentCreatedAt: string;
|
|
2264
|
+
/**
|
|
2265
|
+
* Status of latest deployment. Possible values are "waiting", "processing", "building", "ready", and "failed".
|
|
2266
|
+
*/
|
|
2267
|
+
latestDeploymentStatus: string;
|
|
1918
2268
|
/**
|
|
1919
2269
|
* Allowed permission scopes.
|
|
1920
2270
|
*/
|
|
@@ -2082,6 +2432,10 @@ export namespace Models {
|
|
|
2082
2432
|
* Variable Value.
|
|
2083
2433
|
*/
|
|
2084
2434
|
value: string;
|
|
2435
|
+
/**
|
|
2436
|
+
* Variable secret flag. Secret variables can only be updated or deleted, but never read.
|
|
2437
|
+
*/
|
|
2438
|
+
secret: boolean;
|
|
2085
2439
|
/**
|
|
2086
2440
|
* Variable Placeholder.
|
|
2087
2441
|
*/
|
|
@@ -2148,30 +2502,121 @@ export namespace Models {
|
|
|
2148
2502
|
* Is VCS (Version Control System) repository private?
|
|
2149
2503
|
*/
|
|
2150
2504
|
private: boolean;
|
|
2151
|
-
/**
|
|
2152
|
-
* Auto-detected runtime suggestion. Empty if getting response of getRuntime().
|
|
2153
|
-
*/
|
|
2154
|
-
runtime: string;
|
|
2155
2505
|
/**
|
|
2156
2506
|
* Last commit date in ISO 8601 format.
|
|
2157
2507
|
*/
|
|
2158
2508
|
pushedAt: string;
|
|
2159
2509
|
}
|
|
2160
2510
|
/**
|
|
2161
|
-
*
|
|
2511
|
+
* ProviderRepositoryFramework
|
|
2162
2512
|
*/
|
|
2163
|
-
export type
|
|
2513
|
+
export type ProviderRepositoryFramework = {
|
|
2164
2514
|
/**
|
|
2165
|
-
*
|
|
2515
|
+
* VCS (Version Control System) repository ID.
|
|
2166
2516
|
*/
|
|
2167
|
-
|
|
2168
|
-
}
|
|
2169
|
-
/**
|
|
2170
|
-
* VcsContents
|
|
2171
|
-
*/
|
|
2172
|
-
export type VcsContent = {
|
|
2517
|
+
id: string;
|
|
2173
2518
|
/**
|
|
2174
|
-
*
|
|
2519
|
+
* VCS (Version Control System) repository name.
|
|
2520
|
+
*/
|
|
2521
|
+
name: string;
|
|
2522
|
+
/**
|
|
2523
|
+
* VCS (Version Control System) organization name
|
|
2524
|
+
*/
|
|
2525
|
+
organization: string;
|
|
2526
|
+
/**
|
|
2527
|
+
* VCS (Version Control System) provider name.
|
|
2528
|
+
*/
|
|
2529
|
+
provider: string;
|
|
2530
|
+
/**
|
|
2531
|
+
* Is VCS (Version Control System) repository private?
|
|
2532
|
+
*/
|
|
2533
|
+
private: boolean;
|
|
2534
|
+
/**
|
|
2535
|
+
* Last commit date in ISO 8601 format.
|
|
2536
|
+
*/
|
|
2537
|
+
pushedAt: string;
|
|
2538
|
+
/**
|
|
2539
|
+
* Auto-detected framework. Empty if type is not "framework".
|
|
2540
|
+
*/
|
|
2541
|
+
framework: string;
|
|
2542
|
+
}
|
|
2543
|
+
/**
|
|
2544
|
+
* ProviderRepositoryRuntime
|
|
2545
|
+
*/
|
|
2546
|
+
export type ProviderRepositoryRuntime = {
|
|
2547
|
+
/**
|
|
2548
|
+
* VCS (Version Control System) repository ID.
|
|
2549
|
+
*/
|
|
2550
|
+
id: string;
|
|
2551
|
+
/**
|
|
2552
|
+
* VCS (Version Control System) repository name.
|
|
2553
|
+
*/
|
|
2554
|
+
name: string;
|
|
2555
|
+
/**
|
|
2556
|
+
* VCS (Version Control System) organization name
|
|
2557
|
+
*/
|
|
2558
|
+
organization: string;
|
|
2559
|
+
/**
|
|
2560
|
+
* VCS (Version Control System) provider name.
|
|
2561
|
+
*/
|
|
2562
|
+
provider: string;
|
|
2563
|
+
/**
|
|
2564
|
+
* Is VCS (Version Control System) repository private?
|
|
2565
|
+
*/
|
|
2566
|
+
private: boolean;
|
|
2567
|
+
/**
|
|
2568
|
+
* Last commit date in ISO 8601 format.
|
|
2569
|
+
*/
|
|
2570
|
+
pushedAt: string;
|
|
2571
|
+
/**
|
|
2572
|
+
* Auto-detected runtime. Empty if type is not "runtime".
|
|
2573
|
+
*/
|
|
2574
|
+
runtime: string;
|
|
2575
|
+
}
|
|
2576
|
+
/**
|
|
2577
|
+
* DetectionFramework
|
|
2578
|
+
*/
|
|
2579
|
+
export type DetectionFramework = {
|
|
2580
|
+
/**
|
|
2581
|
+
* Framework
|
|
2582
|
+
*/
|
|
2583
|
+
framework: string;
|
|
2584
|
+
/**
|
|
2585
|
+
* Site Install Command
|
|
2586
|
+
*/
|
|
2587
|
+
installCommand: string;
|
|
2588
|
+
/**
|
|
2589
|
+
* Site Build Command
|
|
2590
|
+
*/
|
|
2591
|
+
buildCommand: string;
|
|
2592
|
+
/**
|
|
2593
|
+
* Site Output Directory
|
|
2594
|
+
*/
|
|
2595
|
+
outputDirectory: string;
|
|
2596
|
+
}
|
|
2597
|
+
/**
|
|
2598
|
+
* DetectionRuntime
|
|
2599
|
+
*/
|
|
2600
|
+
export type DetectionRuntime = {
|
|
2601
|
+
/**
|
|
2602
|
+
* Runtime
|
|
2603
|
+
*/
|
|
2604
|
+
runtime: string;
|
|
2605
|
+
/**
|
|
2606
|
+
* Function Entrypoint
|
|
2607
|
+
*/
|
|
2608
|
+
entrypoint: string;
|
|
2609
|
+
/**
|
|
2610
|
+
* Function install and build commands
|
|
2611
|
+
*/
|
|
2612
|
+
commands: string;
|
|
2613
|
+
}
|
|
2614
|
+
/**
|
|
2615
|
+
* VcsContents
|
|
2616
|
+
*/
|
|
2617
|
+
export type VcsContent = {
|
|
2618
|
+
/**
|
|
2619
|
+
* Content size in bytes. Only files have size, and for directories, 0 is returned.
|
|
2175
2620
|
*/
|
|
2176
2621
|
size?: number;
|
|
2177
2622
|
/**
|
|
@@ -2229,6 +2674,56 @@ export namespace Models {
|
|
|
2229
2674
|
*/
|
|
2230
2675
|
supports: string[];
|
|
2231
2676
|
}
|
|
2677
|
+
/**
|
|
2678
|
+
* Framework
|
|
2679
|
+
*/
|
|
2680
|
+
export type Framework = {
|
|
2681
|
+
/**
|
|
2682
|
+
* Framework key.
|
|
2683
|
+
*/
|
|
2684
|
+
key: string;
|
|
2685
|
+
/**
|
|
2686
|
+
* Framework Name.
|
|
2687
|
+
*/
|
|
2688
|
+
name: string;
|
|
2689
|
+
/**
|
|
2690
|
+
* Default runtime version.
|
|
2691
|
+
*/
|
|
2692
|
+
buildRuntime: string;
|
|
2693
|
+
/**
|
|
2694
|
+
* List of supported runtime versions.
|
|
2695
|
+
*/
|
|
2696
|
+
runtimes: string[];
|
|
2697
|
+
/**
|
|
2698
|
+
* List of supported adapters.
|
|
2699
|
+
*/
|
|
2700
|
+
adapters: FrameworkAdapter[];
|
|
2701
|
+
}
|
|
2702
|
+
/**
|
|
2703
|
+
* Framework Adapter
|
|
2704
|
+
*/
|
|
2705
|
+
export type FrameworkAdapter = {
|
|
2706
|
+
/**
|
|
2707
|
+
* Adapter key.
|
|
2708
|
+
*/
|
|
2709
|
+
key: string;
|
|
2710
|
+
/**
|
|
2711
|
+
* Default command to download dependencies.
|
|
2712
|
+
*/
|
|
2713
|
+
installCommand: string;
|
|
2714
|
+
/**
|
|
2715
|
+
* Default command to build site into output directory.
|
|
2716
|
+
*/
|
|
2717
|
+
buildCommand: string;
|
|
2718
|
+
/**
|
|
2719
|
+
* Default output directory of build.
|
|
2720
|
+
*/
|
|
2721
|
+
outputDirectory: string;
|
|
2722
|
+
/**
|
|
2723
|
+
* Name of fallback file to use instead of 404 page. If null, Appwrite 404 page will be displayed.
|
|
2724
|
+
*/
|
|
2725
|
+
fallbackFile: string;
|
|
2726
|
+
}
|
|
2232
2727
|
/**
|
|
2233
2728
|
* Deployment
|
|
2234
2729
|
*/
|
|
@@ -2264,11 +2759,15 @@ export namespace Models {
|
|
|
2264
2759
|
/**
|
|
2265
2760
|
* The code size in bytes.
|
|
2266
2761
|
*/
|
|
2267
|
-
|
|
2762
|
+
sourceSize: number;
|
|
2268
2763
|
/**
|
|
2269
2764
|
* The build output size in bytes.
|
|
2270
2765
|
*/
|
|
2271
2766
|
buildSize: number;
|
|
2767
|
+
/**
|
|
2768
|
+
* The total size in bytes (source and build output).
|
|
2769
|
+
*/
|
|
2770
|
+
totalSize: number;
|
|
2272
2771
|
/**
|
|
2273
2772
|
* The current build ID.
|
|
2274
2773
|
*/
|
|
@@ -2278,7 +2777,15 @@ export namespace Models {
|
|
|
2278
2777
|
*/
|
|
2279
2778
|
activate: boolean;
|
|
2280
2779
|
/**
|
|
2281
|
-
*
|
|
2780
|
+
* Screenshot with light theme preference file ID.
|
|
2781
|
+
*/
|
|
2782
|
+
screenshotLight: string;
|
|
2783
|
+
/**
|
|
2784
|
+
* Screenshot with dark theme preference file ID.
|
|
2785
|
+
*/
|
|
2786
|
+
screenshotDark: string;
|
|
2787
|
+
/**
|
|
2788
|
+
* The deployment status. Possible values are "waiting", "processing", "building", "ready", and "failed".
|
|
2282
2789
|
*/
|
|
2283
2790
|
status: string;
|
|
2284
2791
|
/**
|
|
@@ -2288,7 +2795,7 @@ export namespace Models {
|
|
|
2288
2795
|
/**
|
|
2289
2796
|
* The current build time in seconds.
|
|
2290
2797
|
*/
|
|
2291
|
-
|
|
2798
|
+
buildDuration: number;
|
|
2292
2799
|
/**
|
|
2293
2800
|
* The name of the vcs provider repository
|
|
2294
2801
|
*/
|
|
@@ -2395,7 +2902,7 @@ export namespace Models {
|
|
|
2395
2902
|
*/
|
|
2396
2903
|
errors: string;
|
|
2397
2904
|
/**
|
|
2398
|
-
*
|
|
2905
|
+
* Resource(function/site) execution duration in seconds.
|
|
2399
2906
|
*/
|
|
2400
2907
|
duration: number;
|
|
2401
2908
|
/**
|
|
@@ -2403,47 +2910,6 @@ export namespace Models {
|
|
|
2403
2910
|
*/
|
|
2404
2911
|
scheduledAt?: string;
|
|
2405
2912
|
}
|
|
2406
|
-
/**
|
|
2407
|
-
* Build
|
|
2408
|
-
*/
|
|
2409
|
-
export type Build = {
|
|
2410
|
-
/**
|
|
2411
|
-
* Build ID.
|
|
2412
|
-
*/
|
|
2413
|
-
$id: string;
|
|
2414
|
-
/**
|
|
2415
|
-
* The deployment that created this build.
|
|
2416
|
-
*/
|
|
2417
|
-
deploymentId: string;
|
|
2418
|
-
/**
|
|
2419
|
-
* The build status. There are a few different types and each one means something different. \nFailed - The deployment build has failed. More details can usually be found in buildStderr\nReady - The deployment build was successful and the deployment is ready to be deployed\nProcessing - The deployment is currently waiting to have a build triggered\nBuilding - The deployment is currently being built
|
|
2420
|
-
*/
|
|
2421
|
-
status: string;
|
|
2422
|
-
/**
|
|
2423
|
-
* The stdout of the build.
|
|
2424
|
-
*/
|
|
2425
|
-
stdout: string;
|
|
2426
|
-
/**
|
|
2427
|
-
* The stderr of the build.
|
|
2428
|
-
*/
|
|
2429
|
-
stderr: string;
|
|
2430
|
-
/**
|
|
2431
|
-
* The deployment creation date in ISO 8601 format.
|
|
2432
|
-
*/
|
|
2433
|
-
startTime: string;
|
|
2434
|
-
/**
|
|
2435
|
-
* The time the build was finished in ISO 8601 format.
|
|
2436
|
-
*/
|
|
2437
|
-
endTime: string;
|
|
2438
|
-
/**
|
|
2439
|
-
* The build duration in seconds.
|
|
2440
|
-
*/
|
|
2441
|
-
duration: number;
|
|
2442
|
-
/**
|
|
2443
|
-
* The code size in bytes.
|
|
2444
|
-
*/
|
|
2445
|
-
size: number;
|
|
2446
|
-
}
|
|
2447
2913
|
/**
|
|
2448
2914
|
* Project
|
|
2449
2915
|
*/
|
|
@@ -2564,6 +3030,10 @@ export namespace Models {
|
|
|
2564
3030
|
* List of API Keys.
|
|
2565
3031
|
*/
|
|
2566
3032
|
keys: Key[];
|
|
3033
|
+
/**
|
|
3034
|
+
* List of dev keys.
|
|
3035
|
+
*/
|
|
3036
|
+
devKeys: DevKey[];
|
|
2567
3037
|
/**
|
|
2568
3038
|
* Status for custom SMTP
|
|
2569
3039
|
*/
|
|
@@ -2668,6 +3138,10 @@ export namespace Models {
|
|
|
2668
3138
|
* Users service status
|
|
2669
3139
|
*/
|
|
2670
3140
|
serviceStatusForUsers: boolean;
|
|
3141
|
+
/**
|
|
3142
|
+
* Sites service status
|
|
3143
|
+
*/
|
|
3144
|
+
serviceStatusForSites: boolean;
|
|
2671
3145
|
/**
|
|
2672
3146
|
* Functions service status
|
|
2673
3147
|
*/
|
|
@@ -2783,6 +3257,43 @@ export namespace Models {
|
|
|
2783
3257
|
*/
|
|
2784
3258
|
sdks: string[];
|
|
2785
3259
|
}
|
|
3260
|
+
/**
|
|
3261
|
+
* DevKey
|
|
3262
|
+
*/
|
|
3263
|
+
export type DevKey = {
|
|
3264
|
+
/**
|
|
3265
|
+
* Key ID.
|
|
3266
|
+
*/
|
|
3267
|
+
$id: string;
|
|
3268
|
+
/**
|
|
3269
|
+
* Key creation date in ISO 8601 format.
|
|
3270
|
+
*/
|
|
3271
|
+
$createdAt: string;
|
|
3272
|
+
/**
|
|
3273
|
+
* Key update date in ISO 8601 format.
|
|
3274
|
+
*/
|
|
3275
|
+
$updatedAt: string;
|
|
3276
|
+
/**
|
|
3277
|
+
* Key name.
|
|
3278
|
+
*/
|
|
3279
|
+
name: string;
|
|
3280
|
+
/**
|
|
3281
|
+
* Key expiration date in ISO 8601 format.
|
|
3282
|
+
*/
|
|
3283
|
+
expire: string;
|
|
3284
|
+
/**
|
|
3285
|
+
* Secret key.
|
|
3286
|
+
*/
|
|
3287
|
+
secret: string;
|
|
3288
|
+
/**
|
|
3289
|
+
* Most recent access date in ISO 8601 format. This attribute is only updated again after 24 hours.
|
|
3290
|
+
*/
|
|
3291
|
+
accessedAt: string;
|
|
3292
|
+
/**
|
|
3293
|
+
* List of SDK user agents that used this key.
|
|
3294
|
+
*/
|
|
3295
|
+
sdks: string[];
|
|
3296
|
+
}
|
|
2786
3297
|
/**
|
|
2787
3298
|
* Mock Number
|
|
2788
3299
|
*/
|
|
@@ -2890,6 +3401,10 @@ export namespace Models {
|
|
|
2890
3401
|
* Variable value.
|
|
2891
3402
|
*/
|
|
2892
3403
|
value: string;
|
|
3404
|
+
/**
|
|
3405
|
+
* Variable secret flag. Secret variables can only be updated or deleted, but never read.
|
|
3406
|
+
*/
|
|
3407
|
+
secret: boolean;
|
|
2893
3408
|
/**
|
|
2894
3409
|
* Service to which the variable belongs. Possible values are "project", "function"
|
|
2895
3410
|
*/
|
|
@@ -3247,96 +3762,298 @@ export namespace Models {
|
|
|
3247
3762
|
*/
|
|
3248
3763
|
usersTotal: number;
|
|
3249
3764
|
/**
|
|
3250
|
-
* Total aggregated number of active sessions.
|
|
3765
|
+
* Total aggregated number of active sessions.
|
|
3766
|
+
*/
|
|
3767
|
+
sessionsTotal: number;
|
|
3768
|
+
/**
|
|
3769
|
+
* Aggregated number of users per period.
|
|
3770
|
+
*/
|
|
3771
|
+
users: Metric[];
|
|
3772
|
+
/**
|
|
3773
|
+
* Aggregated number of active sessions per period.
|
|
3774
|
+
*/
|
|
3775
|
+
sessions: Metric[];
|
|
3776
|
+
}
|
|
3777
|
+
/**
|
|
3778
|
+
* StorageUsage
|
|
3779
|
+
*/
|
|
3780
|
+
export type UsageStorage = {
|
|
3781
|
+
/**
|
|
3782
|
+
* Time range of the usage stats.
|
|
3783
|
+
*/
|
|
3784
|
+
range: string;
|
|
3785
|
+
/**
|
|
3786
|
+
* Total aggregated number of buckets
|
|
3787
|
+
*/
|
|
3788
|
+
bucketsTotal: number;
|
|
3789
|
+
/**
|
|
3790
|
+
* Total aggregated number of files.
|
|
3791
|
+
*/
|
|
3792
|
+
filesTotal: number;
|
|
3793
|
+
/**
|
|
3794
|
+
* Total aggregated number of files storage (in bytes).
|
|
3795
|
+
*/
|
|
3796
|
+
filesStorageTotal: number;
|
|
3797
|
+
/**
|
|
3798
|
+
* Aggregated number of buckets per period.
|
|
3799
|
+
*/
|
|
3800
|
+
buckets: Metric[];
|
|
3801
|
+
/**
|
|
3802
|
+
* Aggregated number of files per period.
|
|
3803
|
+
*/
|
|
3804
|
+
files: Metric[];
|
|
3805
|
+
/**
|
|
3806
|
+
* Aggregated number of files storage (in bytes) per period .
|
|
3807
|
+
*/
|
|
3808
|
+
storage: Metric[];
|
|
3809
|
+
}
|
|
3810
|
+
/**
|
|
3811
|
+
* UsageBuckets
|
|
3812
|
+
*/
|
|
3813
|
+
export type UsageBuckets = {
|
|
3814
|
+
/**
|
|
3815
|
+
* Time range of the usage stats.
|
|
3816
|
+
*/
|
|
3817
|
+
range: string;
|
|
3818
|
+
/**
|
|
3819
|
+
* Total aggregated number of bucket files.
|
|
3820
|
+
*/
|
|
3821
|
+
filesTotal: number;
|
|
3822
|
+
/**
|
|
3823
|
+
* Total aggregated number of bucket files storage (in bytes).
|
|
3824
|
+
*/
|
|
3825
|
+
filesStorageTotal: number;
|
|
3826
|
+
/**
|
|
3827
|
+
* Aggregated number of bucket files per period.
|
|
3828
|
+
*/
|
|
3829
|
+
files: Metric[];
|
|
3830
|
+
/**
|
|
3831
|
+
* Aggregated number of bucket storage files (in bytes) per period.
|
|
3832
|
+
*/
|
|
3833
|
+
storage: Metric[];
|
|
3834
|
+
/**
|
|
3835
|
+
* Aggregated number of files transformations per period.
|
|
3836
|
+
*/
|
|
3837
|
+
imageTransformations: Metric[];
|
|
3838
|
+
/**
|
|
3839
|
+
* Total aggregated number of files transformations.
|
|
3840
|
+
*/
|
|
3841
|
+
imageTransformationsTotal: number;
|
|
3842
|
+
}
|
|
3843
|
+
/**
|
|
3844
|
+
* UsageFunctions
|
|
3845
|
+
*/
|
|
3846
|
+
export type UsageFunctions = {
|
|
3847
|
+
/**
|
|
3848
|
+
* Time range of the usage stats.
|
|
3849
|
+
*/
|
|
3850
|
+
range: string;
|
|
3851
|
+
/**
|
|
3852
|
+
* Total aggregated number of functions.
|
|
3853
|
+
*/
|
|
3854
|
+
functionsTotal: number;
|
|
3855
|
+
/**
|
|
3856
|
+
* Total aggregated number of functions deployments.
|
|
3857
|
+
*/
|
|
3858
|
+
deploymentsTotal: number;
|
|
3859
|
+
/**
|
|
3860
|
+
* Total aggregated sum of functions deployment storage.
|
|
3861
|
+
*/
|
|
3862
|
+
deploymentsStorageTotal: number;
|
|
3863
|
+
/**
|
|
3864
|
+
* Total aggregated number of functions build.
|
|
3865
|
+
*/
|
|
3866
|
+
buildsTotal: number;
|
|
3867
|
+
/**
|
|
3868
|
+
* total aggregated sum of functions build storage.
|
|
3869
|
+
*/
|
|
3870
|
+
buildsStorageTotal: number;
|
|
3871
|
+
/**
|
|
3872
|
+
* Total aggregated sum of functions build compute time.
|
|
3873
|
+
*/
|
|
3874
|
+
buildsTimeTotal: number;
|
|
3875
|
+
/**
|
|
3876
|
+
* Total aggregated sum of functions build mbSeconds.
|
|
3877
|
+
*/
|
|
3878
|
+
buildsMbSecondsTotal: number;
|
|
3879
|
+
/**
|
|
3880
|
+
* Total aggregated number of functions execution.
|
|
3881
|
+
*/
|
|
3882
|
+
executionsTotal: number;
|
|
3883
|
+
/**
|
|
3884
|
+
* Total aggregated sum of functions execution compute time.
|
|
3885
|
+
*/
|
|
3886
|
+
executionsTimeTotal: number;
|
|
3887
|
+
/**
|
|
3888
|
+
* Total aggregated sum of functions execution mbSeconds.
|
|
3889
|
+
*/
|
|
3890
|
+
executionsMbSecondsTotal: number;
|
|
3891
|
+
/**
|
|
3892
|
+
* Aggregated number of functions per period.
|
|
3893
|
+
*/
|
|
3894
|
+
functions: Metric[];
|
|
3895
|
+
/**
|
|
3896
|
+
* Aggregated number of functions deployment per period.
|
|
3897
|
+
*/
|
|
3898
|
+
deployments: Metric[];
|
|
3899
|
+
/**
|
|
3900
|
+
* Aggregated number of functions deployment storage per period.
|
|
3901
|
+
*/
|
|
3902
|
+
deploymentsStorage: Metric[];
|
|
3903
|
+
/**
|
|
3904
|
+
* Total aggregated number of successful function builds.
|
|
3905
|
+
*/
|
|
3906
|
+
buildsSuccessTotal: number;
|
|
3907
|
+
/**
|
|
3908
|
+
* Total aggregated number of failed function builds.
|
|
3909
|
+
*/
|
|
3910
|
+
buildsFailedTotal: number;
|
|
3911
|
+
/**
|
|
3912
|
+
* Aggregated number of functions build per period.
|
|
3913
|
+
*/
|
|
3914
|
+
builds: Metric[];
|
|
3915
|
+
/**
|
|
3916
|
+
* Aggregated sum of functions build storage per period.
|
|
3917
|
+
*/
|
|
3918
|
+
buildsStorage: Metric[];
|
|
3919
|
+
/**
|
|
3920
|
+
* Aggregated sum of functions build compute time per period.
|
|
3921
|
+
*/
|
|
3922
|
+
buildsTime: Metric[];
|
|
3923
|
+
/**
|
|
3924
|
+
* Aggregated sum of functions build mbSeconds per period.
|
|
3925
|
+
*/
|
|
3926
|
+
buildsMbSeconds: Metric[];
|
|
3927
|
+
/**
|
|
3928
|
+
* Aggregated number of functions execution per period.
|
|
3929
|
+
*/
|
|
3930
|
+
executions: Metric[];
|
|
3931
|
+
/**
|
|
3932
|
+
* Aggregated number of functions execution compute time per period.
|
|
3933
|
+
*/
|
|
3934
|
+
executionsTime: Metric[];
|
|
3935
|
+
/**
|
|
3936
|
+
* Aggregated number of functions mbSeconds per period.
|
|
3937
|
+
*/
|
|
3938
|
+
executionsMbSeconds: Metric[];
|
|
3939
|
+
/**
|
|
3940
|
+
* Aggregated number of successful function builds per period.
|
|
3941
|
+
*/
|
|
3942
|
+
buildsSuccess: Metric[];
|
|
3943
|
+
/**
|
|
3944
|
+
* Aggregated number of failed function builds per period.
|
|
3945
|
+
*/
|
|
3946
|
+
buildsFailed: Metric[];
|
|
3947
|
+
}
|
|
3948
|
+
/**
|
|
3949
|
+
* UsageFunction
|
|
3950
|
+
*/
|
|
3951
|
+
export type UsageFunction = {
|
|
3952
|
+
/**
|
|
3953
|
+
* The time range of the usage stats.
|
|
3954
|
+
*/
|
|
3955
|
+
range: string;
|
|
3956
|
+
/**
|
|
3957
|
+
* Total aggregated number of function deployments.
|
|
3958
|
+
*/
|
|
3959
|
+
deploymentsTotal: number;
|
|
3960
|
+
/**
|
|
3961
|
+
* Total aggregated sum of function deployments storage.
|
|
3962
|
+
*/
|
|
3963
|
+
deploymentsStorageTotal: number;
|
|
3964
|
+
/**
|
|
3965
|
+
* Total aggregated number of function builds.
|
|
3966
|
+
*/
|
|
3967
|
+
buildsTotal: number;
|
|
3968
|
+
/**
|
|
3969
|
+
* Total aggregated number of successful function builds.
|
|
3970
|
+
*/
|
|
3971
|
+
buildsSuccessTotal: number;
|
|
3972
|
+
/**
|
|
3973
|
+
* Total aggregated number of failed function builds.
|
|
3974
|
+
*/
|
|
3975
|
+
buildsFailedTotal: number;
|
|
3976
|
+
/**
|
|
3977
|
+
* total aggregated sum of function builds storage.
|
|
3978
|
+
*/
|
|
3979
|
+
buildsStorageTotal: number;
|
|
3980
|
+
/**
|
|
3981
|
+
* Total aggregated sum of function builds compute time.
|
|
3251
3982
|
*/
|
|
3252
|
-
|
|
3983
|
+
buildsTimeTotal: number;
|
|
3253
3984
|
/**
|
|
3254
|
-
*
|
|
3985
|
+
* Average builds compute time.
|
|
3255
3986
|
*/
|
|
3256
|
-
|
|
3987
|
+
buildsTimeAverage: number;
|
|
3257
3988
|
/**
|
|
3258
|
-
*
|
|
3989
|
+
* Total aggregated sum of function builds mbSeconds.
|
|
3259
3990
|
*/
|
|
3260
|
-
|
|
3261
|
-
}
|
|
3262
|
-
/**
|
|
3263
|
-
* StorageUsage
|
|
3264
|
-
*/
|
|
3265
|
-
export type UsageStorage = {
|
|
3991
|
+
buildsMbSecondsTotal: number;
|
|
3266
3992
|
/**
|
|
3267
|
-
*
|
|
3993
|
+
* Total aggregated number of function executions.
|
|
3268
3994
|
*/
|
|
3269
|
-
|
|
3995
|
+
executionsTotal: number;
|
|
3270
3996
|
/**
|
|
3271
|
-
* Total aggregated
|
|
3997
|
+
* Total aggregated sum of function executions compute time.
|
|
3272
3998
|
*/
|
|
3273
|
-
|
|
3999
|
+
executionsTimeTotal: number;
|
|
3274
4000
|
/**
|
|
3275
|
-
* Total aggregated
|
|
4001
|
+
* Total aggregated sum of function executions mbSeconds.
|
|
3276
4002
|
*/
|
|
3277
|
-
|
|
4003
|
+
executionsMbSecondsTotal: number;
|
|
3278
4004
|
/**
|
|
3279
|
-
*
|
|
4005
|
+
* Aggregated number of function deployments per period.
|
|
3280
4006
|
*/
|
|
3281
|
-
|
|
4007
|
+
deployments: Metric[];
|
|
3282
4008
|
/**
|
|
3283
|
-
* Aggregated number of
|
|
4009
|
+
* Aggregated number of function deployments storage per period.
|
|
3284
4010
|
*/
|
|
3285
|
-
|
|
4011
|
+
deploymentsStorage: Metric[];
|
|
3286
4012
|
/**
|
|
3287
|
-
* Aggregated number of
|
|
4013
|
+
* Aggregated number of function builds per period.
|
|
3288
4014
|
*/
|
|
3289
|
-
|
|
4015
|
+
builds: Metric[];
|
|
3290
4016
|
/**
|
|
3291
|
-
* Aggregated
|
|
4017
|
+
* Aggregated sum of function builds storage per period.
|
|
3292
4018
|
*/
|
|
3293
|
-
|
|
3294
|
-
}
|
|
3295
|
-
/**
|
|
3296
|
-
* UsageBuckets
|
|
3297
|
-
*/
|
|
3298
|
-
export type UsageBuckets = {
|
|
4019
|
+
buildsStorage: Metric[];
|
|
3299
4020
|
/**
|
|
3300
|
-
*
|
|
4021
|
+
* Aggregated sum of function builds compute time per period.
|
|
3301
4022
|
*/
|
|
3302
|
-
|
|
4023
|
+
buildsTime: Metric[];
|
|
3303
4024
|
/**
|
|
3304
|
-
*
|
|
4025
|
+
* Aggregated number of function builds mbSeconds per period.
|
|
3305
4026
|
*/
|
|
3306
|
-
|
|
4027
|
+
buildsMbSeconds: Metric[];
|
|
3307
4028
|
/**
|
|
3308
|
-
*
|
|
4029
|
+
* Aggregated number of function executions per period.
|
|
3309
4030
|
*/
|
|
3310
|
-
|
|
4031
|
+
executions: Metric[];
|
|
3311
4032
|
/**
|
|
3312
|
-
* Aggregated
|
|
4033
|
+
* Aggregated number of function executions compute time per period.
|
|
3313
4034
|
*/
|
|
3314
|
-
|
|
4035
|
+
executionsTime: Metric[];
|
|
3315
4036
|
/**
|
|
3316
|
-
* Aggregated
|
|
4037
|
+
* Aggregated number of function mbSeconds per period.
|
|
3317
4038
|
*/
|
|
3318
|
-
|
|
4039
|
+
executionsMbSeconds: Metric[];
|
|
3319
4040
|
/**
|
|
3320
|
-
* Aggregated number of
|
|
4041
|
+
* Aggregated number of successful builds per period.
|
|
3321
4042
|
*/
|
|
3322
|
-
|
|
4043
|
+
buildsSuccess: Metric[];
|
|
3323
4044
|
/**
|
|
3324
|
-
*
|
|
4045
|
+
* Aggregated number of failed builds per period.
|
|
3325
4046
|
*/
|
|
3326
|
-
|
|
4047
|
+
buildsFailed: Metric[];
|
|
3327
4048
|
}
|
|
3328
4049
|
/**
|
|
3329
|
-
*
|
|
4050
|
+
* UsageSites
|
|
3330
4051
|
*/
|
|
3331
|
-
export type
|
|
4052
|
+
export type UsageSites = {
|
|
3332
4053
|
/**
|
|
3333
4054
|
* Time range of the usage stats.
|
|
3334
4055
|
*/
|
|
3335
4056
|
range: string;
|
|
3336
|
-
/**
|
|
3337
|
-
* Total aggregated number of functions.
|
|
3338
|
-
*/
|
|
3339
|
-
functionsTotal: number;
|
|
3340
4057
|
/**
|
|
3341
4058
|
* Total aggregated number of functions deployments.
|
|
3342
4059
|
*/
|
|
@@ -3373,10 +4090,6 @@ export namespace Models {
|
|
|
3373
4090
|
* Total aggregated sum of functions execution mbSeconds.
|
|
3374
4091
|
*/
|
|
3375
4092
|
executionsMbSecondsTotal: number;
|
|
3376
|
-
/**
|
|
3377
|
-
* Aggregated number of functions per period.
|
|
3378
|
-
*/
|
|
3379
|
-
functions: Metric[];
|
|
3380
4093
|
/**
|
|
3381
4094
|
* Aggregated number of functions deployment per period.
|
|
3382
4095
|
*/
|
|
@@ -3385,6 +4098,14 @@ export namespace Models {
|
|
|
3385
4098
|
* Aggregated number of functions deployment storage per period.
|
|
3386
4099
|
*/
|
|
3387
4100
|
deploymentsStorage: Metric[];
|
|
4101
|
+
/**
|
|
4102
|
+
* Total aggregated number of successful function builds.
|
|
4103
|
+
*/
|
|
4104
|
+
buildsSuccessTotal: number;
|
|
4105
|
+
/**
|
|
4106
|
+
* Total aggregated number of failed function builds.
|
|
4107
|
+
*/
|
|
4108
|
+
buildsFailedTotal: number;
|
|
3388
4109
|
/**
|
|
3389
4110
|
* Aggregated number of functions build per period.
|
|
3390
4111
|
*/
|
|
@@ -3413,11 +4134,51 @@ export namespace Models {
|
|
|
3413
4134
|
* Aggregated number of functions mbSeconds per period.
|
|
3414
4135
|
*/
|
|
3415
4136
|
executionsMbSeconds: Metric[];
|
|
4137
|
+
/**
|
|
4138
|
+
* Aggregated number of successful function builds per period.
|
|
4139
|
+
*/
|
|
4140
|
+
buildsSuccess: Metric[];
|
|
4141
|
+
/**
|
|
4142
|
+
* Aggregated number of failed function builds per period.
|
|
4143
|
+
*/
|
|
4144
|
+
buildsFailed: Metric[];
|
|
4145
|
+
/**
|
|
4146
|
+
* Total aggregated number of sites.
|
|
4147
|
+
*/
|
|
4148
|
+
sitesTotal: number;
|
|
4149
|
+
/**
|
|
4150
|
+
* Aggregated number of sites per period.
|
|
4151
|
+
*/
|
|
4152
|
+
sites: Metric[];
|
|
4153
|
+
/**
|
|
4154
|
+
* Total aggregated number of requests.
|
|
4155
|
+
*/
|
|
4156
|
+
requestsTotal: number;
|
|
4157
|
+
/**
|
|
4158
|
+
* Aggregated number of requests per period.
|
|
4159
|
+
*/
|
|
4160
|
+
requests: Metric[];
|
|
4161
|
+
/**
|
|
4162
|
+
* Total aggregated inbound bandwidth.
|
|
4163
|
+
*/
|
|
4164
|
+
inboundTotal: number;
|
|
4165
|
+
/**
|
|
4166
|
+
* Aggregated number of inbound bandwidth per period.
|
|
4167
|
+
*/
|
|
4168
|
+
inbound: Metric[];
|
|
4169
|
+
/**
|
|
4170
|
+
* Total aggregated outbound bandwidth.
|
|
4171
|
+
*/
|
|
4172
|
+
outboundTotal: number;
|
|
4173
|
+
/**
|
|
4174
|
+
* Aggregated number of outbound bandwidth per period.
|
|
4175
|
+
*/
|
|
4176
|
+
outbound: Metric[];
|
|
3416
4177
|
}
|
|
3417
4178
|
/**
|
|
3418
|
-
*
|
|
4179
|
+
* UsageSite
|
|
3419
4180
|
*/
|
|
3420
|
-
export type
|
|
4181
|
+
export type UsageSite = {
|
|
3421
4182
|
/**
|
|
3422
4183
|
* The time range of the usage stats.
|
|
3423
4184
|
*/
|
|
@@ -3434,6 +4195,14 @@ export namespace Models {
|
|
|
3434
4195
|
* Total aggregated number of function builds.
|
|
3435
4196
|
*/
|
|
3436
4197
|
buildsTotal: number;
|
|
4198
|
+
/**
|
|
4199
|
+
* Total aggregated number of successful function builds.
|
|
4200
|
+
*/
|
|
4201
|
+
buildsSuccessTotal: number;
|
|
4202
|
+
/**
|
|
4203
|
+
* Total aggregated number of failed function builds.
|
|
4204
|
+
*/
|
|
4205
|
+
buildsFailedTotal: number;
|
|
3437
4206
|
/**
|
|
3438
4207
|
* total aggregated sum of function builds storage.
|
|
3439
4208
|
*/
|
|
@@ -3442,6 +4211,10 @@ export namespace Models {
|
|
|
3442
4211
|
* Total aggregated sum of function builds compute time.
|
|
3443
4212
|
*/
|
|
3444
4213
|
buildsTimeTotal: number;
|
|
4214
|
+
/**
|
|
4215
|
+
* Average builds compute time.
|
|
4216
|
+
*/
|
|
4217
|
+
buildsTimeAverage: number;
|
|
3445
4218
|
/**
|
|
3446
4219
|
* Total aggregated sum of function builds mbSeconds.
|
|
3447
4220
|
*/
|
|
@@ -3494,6 +4267,38 @@ export namespace Models {
|
|
|
3494
4267
|
* Aggregated number of function mbSeconds per period.
|
|
3495
4268
|
*/
|
|
3496
4269
|
executionsMbSeconds: Metric[];
|
|
4270
|
+
/**
|
|
4271
|
+
* Aggregated number of successful builds per period.
|
|
4272
|
+
*/
|
|
4273
|
+
buildsSuccess: Metric[];
|
|
4274
|
+
/**
|
|
4275
|
+
* Aggregated number of failed builds per period.
|
|
4276
|
+
*/
|
|
4277
|
+
buildsFailed: Metric[];
|
|
4278
|
+
/**
|
|
4279
|
+
* Total aggregated number of requests.
|
|
4280
|
+
*/
|
|
4281
|
+
requestsTotal: number;
|
|
4282
|
+
/**
|
|
4283
|
+
* Aggregated number of requests per period.
|
|
4284
|
+
*/
|
|
4285
|
+
requests: Metric[];
|
|
4286
|
+
/**
|
|
4287
|
+
* Total aggregated inbound bandwidth.
|
|
4288
|
+
*/
|
|
4289
|
+
inboundTotal: number;
|
|
4290
|
+
/**
|
|
4291
|
+
* Aggregated number of inbound bandwidth per period.
|
|
4292
|
+
*/
|
|
4293
|
+
inbound: Metric[];
|
|
4294
|
+
/**
|
|
4295
|
+
* Total aggregated outbound bandwidth.
|
|
4296
|
+
*/
|
|
4297
|
+
outboundTotal: number;
|
|
4298
|
+
/**
|
|
4299
|
+
* Aggregated number of outbound bandwidth per period.
|
|
4300
|
+
*/
|
|
4301
|
+
outbound: Metric[];
|
|
3497
4302
|
}
|
|
3498
4303
|
/**
|
|
3499
4304
|
* UsageProject
|
|
@@ -3548,11 +4353,11 @@ export namespace Models {
|
|
|
3548
4353
|
*/
|
|
3549
4354
|
buildsMbSecondsTotal: number;
|
|
3550
4355
|
/**
|
|
3551
|
-
*
|
|
4356
|
+
* Aggregated stats for total databases reads.
|
|
3552
4357
|
*/
|
|
3553
4358
|
databasesReadsTotal: number;
|
|
3554
4359
|
/**
|
|
3555
|
-
*
|
|
4360
|
+
* Aggregated stats for total databases writes.
|
|
3556
4361
|
*/
|
|
3557
4362
|
databasesWritesTotal: number;
|
|
3558
4363
|
/**
|
|
@@ -3596,11 +4401,11 @@ export namespace Models {
|
|
|
3596
4401
|
*/
|
|
3597
4402
|
functionsStorageBreakdown: MetricBreakdown[];
|
|
3598
4403
|
/**
|
|
3599
|
-
*
|
|
4404
|
+
* Aggregated stats for total auth phone.
|
|
3600
4405
|
*/
|
|
3601
4406
|
authPhoneTotal: number;
|
|
3602
4407
|
/**
|
|
3603
|
-
*
|
|
4408
|
+
* Aggregated stats for total auth phone estimation.
|
|
3604
4409
|
*/
|
|
3605
4410
|
authPhoneEstimate: number;
|
|
3606
4411
|
/**
|
|
@@ -3608,11 +4413,11 @@ export namespace Models {
|
|
|
3608
4413
|
*/
|
|
3609
4414
|
authPhoneCountryBreakdown: MetricBreakdown[];
|
|
3610
4415
|
/**
|
|
3611
|
-
*
|
|
4416
|
+
* Aggregated stats for database reads.
|
|
3612
4417
|
*/
|
|
3613
4418
|
databasesReads: Metric[];
|
|
3614
4419
|
/**
|
|
3615
|
-
*
|
|
4420
|
+
* Aggregated stats for database writes.
|
|
3616
4421
|
*/
|
|
3617
4422
|
databasesWrites: Metric[];
|
|
3618
4423
|
/**
|
|
@@ -3623,6 +4428,14 @@ export namespace Models {
|
|
|
3623
4428
|
* Total aggregated number of image transformations.
|
|
3624
4429
|
*/
|
|
3625
4430
|
imageTransformationsTotal: number;
|
|
4431
|
+
/**
|
|
4432
|
+
* Aggregated stats for total network bandwidth.
|
|
4433
|
+
*/
|
|
4434
|
+
networkTotal: number;
|
|
4435
|
+
/**
|
|
4436
|
+
* Aggregated stats for total backups storage.
|
|
4437
|
+
*/
|
|
4438
|
+
backupsStorageTotal: number;
|
|
3626
4439
|
}
|
|
3627
4440
|
/**
|
|
3628
4441
|
* Headers
|
|
@@ -3679,13 +4492,37 @@ export namespace Models {
|
|
|
3679
4492
|
*/
|
|
3680
4493
|
domain: string;
|
|
3681
4494
|
/**
|
|
3682
|
-
* Action definition for the rule. Possible values are "api", "
|
|
4495
|
+
* Action definition for the rule. Possible values are "api", "deployment", or "redirect"
|
|
3683
4496
|
*/
|
|
3684
|
-
|
|
4497
|
+
type: string;
|
|
3685
4498
|
/**
|
|
3686
|
-
*
|
|
4499
|
+
* Defines how the rule was created. Possible values are "manual" or "deployment"
|
|
3687
4500
|
*/
|
|
3688
|
-
|
|
4501
|
+
trigger: string;
|
|
4502
|
+
/**
|
|
4503
|
+
* URL to redirect to. Used if type is "redirect"
|
|
4504
|
+
*/
|
|
4505
|
+
redirectUrl: string;
|
|
4506
|
+
/**
|
|
4507
|
+
* Status code to apply during redirect. Used if type is "redirect"
|
|
4508
|
+
*/
|
|
4509
|
+
redirectStatusCode: number;
|
|
4510
|
+
/**
|
|
4511
|
+
* ID of deployment. Used if type is "deployment"
|
|
4512
|
+
*/
|
|
4513
|
+
deploymentId: string;
|
|
4514
|
+
/**
|
|
4515
|
+
* Type of deployment. Possible values are "function", "site". Used if rule's type is "deployment".
|
|
4516
|
+
*/
|
|
4517
|
+
deploymentResourceType: string;
|
|
4518
|
+
/**
|
|
4519
|
+
* ID deployment's resource. Used if type is "deployment"
|
|
4520
|
+
*/
|
|
4521
|
+
deploymentResourceId: string;
|
|
4522
|
+
/**
|
|
4523
|
+
* Name of Git branch that updates rule. Used if type is "deployment"
|
|
4524
|
+
*/
|
|
4525
|
+
deploymentVcsProviderBranch: string;
|
|
3689
4526
|
/**
|
|
3690
4527
|
* Domain verification status. Possible values are "created", "verifying", "verified" and "unverified"
|
|
3691
4528
|
*/
|
|
@@ -3756,7 +4593,15 @@ export namespace Models {
|
|
|
3756
4593
|
/**
|
|
3757
4594
|
* CNAME target for your Appwrite custom domains.
|
|
3758
4595
|
*/
|
|
3759
|
-
|
|
4596
|
+
_APP_DOMAIN_TARGET_CNAME: string;
|
|
4597
|
+
/**
|
|
4598
|
+
* A target for your Appwrite custom domains.
|
|
4599
|
+
*/
|
|
4600
|
+
_APP_DOMAIN_TARGET_A: string;
|
|
4601
|
+
/**
|
|
4602
|
+
* AAAA target for your Appwrite custom domains.
|
|
4603
|
+
*/
|
|
4604
|
+
_APP_DOMAIN_TARGET_AAAA: string;
|
|
3760
4605
|
/**
|
|
3761
4606
|
* Maximum file size allowed for file upload in bytes.
|
|
3762
4607
|
*/
|
|
@@ -3764,7 +4609,7 @@ export namespace Models {
|
|
|
3764
4609
|
/**
|
|
3765
4610
|
* Maximum file size allowed for deployment in bytes.
|
|
3766
4611
|
*/
|
|
3767
|
-
|
|
4612
|
+
_APP_COMPUTE_SIZE_LIMIT: number;
|
|
3768
4613
|
/**
|
|
3769
4614
|
* Defines if usage stats are enabled. This value is set to 'enabled' by default, to disable the usage stats set the value to 'disabled'.
|
|
3770
4615
|
*/
|
|
@@ -3781,6 +4626,22 @@ export namespace Models {
|
|
|
3781
4626
|
* Defines if AI assistant is enabled.
|
|
3782
4627
|
*/
|
|
3783
4628
|
_APP_ASSISTANT_ENABLED: boolean;
|
|
4629
|
+
/**
|
|
4630
|
+
* A domain to use for site URLs.
|
|
4631
|
+
*/
|
|
4632
|
+
_APP_DOMAIN_SITES: string;
|
|
4633
|
+
/**
|
|
4634
|
+
* A domain to use for function URLs.
|
|
4635
|
+
*/
|
|
4636
|
+
_APP_DOMAIN_FUNCTIONS: string;
|
|
4637
|
+
/**
|
|
4638
|
+
* Defines if HTTPS is enforced for all requests.
|
|
4639
|
+
*/
|
|
4640
|
+
_APP_OPTIONS_FORCE_HTTPS: string;
|
|
4641
|
+
/**
|
|
4642
|
+
* Comma-separated list of nameservers.
|
|
4643
|
+
*/
|
|
4644
|
+
_APP_DOMAINS_NAMESERVERS: string;
|
|
3784
4645
|
}
|
|
3785
4646
|
/**
|
|
3786
4647
|
* MFA Challenge
|
|
@@ -4099,6 +4960,10 @@ export namespace Models {
|
|
|
4099
4960
|
* Resources to migrate.
|
|
4100
4961
|
*/
|
|
4101
4962
|
resources: string[];
|
|
4963
|
+
/**
|
|
4964
|
+
* Id of the resource to migrate.
|
|
4965
|
+
*/
|
|
4966
|
+
resourceId: string;
|
|
4102
4967
|
/**
|
|
4103
4968
|
* A group of counters that represent the total progress of the migration.
|
|
4104
4969
|
*/
|
|
@@ -4465,6 +5330,10 @@ export namespace Models {
|
|
|
4465
5330
|
* Addons
|
|
4466
5331
|
*/
|
|
4467
5332
|
addons: BillingPlanAddon;
|
|
5333
|
+
/**
|
|
5334
|
+
* Budget cap enabled or disabled.
|
|
5335
|
+
*/
|
|
5336
|
+
budgetCapEnabled: boolean;
|
|
4468
5337
|
/**
|
|
4469
5338
|
* Custom SMTP
|
|
4470
5339
|
*/
|
|
@@ -5106,7 +5975,11 @@ export namespace Models {
|
|
|
5106
5975
|
*/
|
|
5107
5976
|
name: string;
|
|
5108
5977
|
/**
|
|
5109
|
-
*
|
|
5978
|
+
* Does the organization have access to this region.
|
|
5979
|
+
*/
|
|
5980
|
+
available: boolean;
|
|
5981
|
+
/**
|
|
5982
|
+
* Does the backend support this region.
|
|
5110
5983
|
*/
|
|
5111
5984
|
disabled: boolean;
|
|
5112
5985
|
/**
|
|
@@ -5202,138 +6075,110 @@ export namespace Models {
|
|
|
5202
6075
|
roles: string[];
|
|
5203
6076
|
}
|
|
5204
6077
|
/**
|
|
5205
|
-
*
|
|
6078
|
+
* Domain
|
|
5206
6079
|
*/
|
|
5207
|
-
export type
|
|
5208
|
-
/**
|
|
5209
|
-
* Aggregated stats for number of requests.
|
|
5210
|
-
*/
|
|
5211
|
-
bandwidth: Metric[];
|
|
5212
|
-
/**
|
|
5213
|
-
* Aggregated stats for consumed bandwidth.
|
|
5214
|
-
*/
|
|
5215
|
-
users: Metric[];
|
|
5216
|
-
/**
|
|
5217
|
-
* Aggregated stats for function executions.
|
|
5218
|
-
*/
|
|
5219
|
-
executions: Metric[];
|
|
5220
|
-
/**
|
|
5221
|
-
* Aggregated stats for database reads.
|
|
5222
|
-
*/
|
|
5223
|
-
databasesReads: Metric[];
|
|
6080
|
+
export type Domain = {
|
|
5224
6081
|
/**
|
|
5225
|
-
*
|
|
5226
|
-
*/
|
|
5227
|
-
databasesWrites: Metric[];
|
|
5228
|
-
/**
|
|
5229
|
-
* Aggregated stats for file transformations.
|
|
5230
|
-
*/
|
|
5231
|
-
imageTransformations: Metric[];
|
|
5232
|
-
/**
|
|
5233
|
-
* Aggregated stats for total file transformations.
|
|
5234
|
-
*/
|
|
5235
|
-
imageTransformationsTotal: number;
|
|
5236
|
-
/**
|
|
5237
|
-
* Aggregated stats for total users.
|
|
6082
|
+
* Domain ID.
|
|
5238
6083
|
*/
|
|
5239
|
-
|
|
6084
|
+
$id: string;
|
|
5240
6085
|
/**
|
|
5241
|
-
*
|
|
6086
|
+
* Domain creation time in ISO 8601 format.
|
|
5242
6087
|
*/
|
|
5243
|
-
|
|
6088
|
+
$createdAt: string;
|
|
5244
6089
|
/**
|
|
5245
|
-
*
|
|
6090
|
+
* Domain update date in ISO 8601 format.
|
|
5246
6091
|
*/
|
|
5247
|
-
|
|
6092
|
+
$updatedAt: string;
|
|
5248
6093
|
/**
|
|
5249
|
-
*
|
|
6094
|
+
* Domain name.
|
|
5250
6095
|
*/
|
|
5251
|
-
|
|
6096
|
+
domain: string;
|
|
5252
6097
|
/**
|
|
5253
|
-
*
|
|
6098
|
+
* Domain registrar (e.g. "appwrite" or "third_party").
|
|
5254
6099
|
*/
|
|
5255
|
-
|
|
6100
|
+
registrar: string;
|
|
5256
6101
|
/**
|
|
5257
|
-
*
|
|
6102
|
+
* Nameservers setting. "Appwrite" or empty string.
|
|
5258
6103
|
*/
|
|
5259
|
-
|
|
6104
|
+
nameservers: string;
|
|
5260
6105
|
/**
|
|
5261
|
-
*
|
|
6106
|
+
* Domain expiry date in ISO 8601 format.
|
|
5262
6107
|
*/
|
|
5263
|
-
|
|
6108
|
+
expire: string;
|
|
5264
6109
|
/**
|
|
5265
|
-
*
|
|
6110
|
+
* Domain renewal date in ISO 8601 format.
|
|
5266
6111
|
*/
|
|
5267
|
-
|
|
6112
|
+
renewal: string;
|
|
5268
6113
|
/**
|
|
5269
|
-
*
|
|
6114
|
+
* If set to true, the domain will automatically renew.
|
|
5270
6115
|
*/
|
|
5271
|
-
|
|
6116
|
+
autoRenewal: boolean;
|
|
5272
6117
|
/**
|
|
5273
|
-
*
|
|
6118
|
+
* Renewal price (in USD).
|
|
5274
6119
|
*/
|
|
5275
|
-
|
|
6120
|
+
renewalPrice: number;
|
|
5276
6121
|
/**
|
|
5277
|
-
*
|
|
6122
|
+
* Team ID.
|
|
5278
6123
|
*/
|
|
5279
|
-
|
|
6124
|
+
teamId: string;
|
|
5280
6125
|
/**
|
|
5281
|
-
*
|
|
6126
|
+
* Dns records
|
|
5282
6127
|
*/
|
|
5283
|
-
|
|
6128
|
+
dnsRecords: DnsRecord[];
|
|
6129
|
+
}
|
|
6130
|
+
/**
|
|
6131
|
+
* DNSRecord
|
|
6132
|
+
*/
|
|
6133
|
+
export type DnsRecord = {
|
|
5284
6134
|
/**
|
|
5285
|
-
*
|
|
6135
|
+
* DNS Record ID.
|
|
5286
6136
|
*/
|
|
5287
|
-
|
|
6137
|
+
$id: string;
|
|
5288
6138
|
/**
|
|
5289
|
-
*
|
|
6139
|
+
* DNS Record creation time in ISO 8601 format.
|
|
5290
6140
|
*/
|
|
5291
|
-
|
|
6141
|
+
$createdAt: string;
|
|
5292
6142
|
/**
|
|
5293
|
-
*
|
|
6143
|
+
* DNS Record update date in ISO 8601 format.
|
|
5294
6144
|
*/
|
|
5295
|
-
|
|
5296
|
-
}
|
|
5297
|
-
/**
|
|
5298
|
-
* UsageOrganizationProject
|
|
5299
|
-
*/
|
|
5300
|
-
export type UsageOrganizationProject = {
|
|
6145
|
+
$updatedAt: string;
|
|
5301
6146
|
/**
|
|
5302
|
-
*
|
|
6147
|
+
* DNS record type (e.g. A, CNAME, MX).
|
|
5303
6148
|
*/
|
|
5304
|
-
|
|
6149
|
+
type: string;
|
|
5305
6150
|
/**
|
|
5306
|
-
*
|
|
6151
|
+
* Record name or subdomain.
|
|
5307
6152
|
*/
|
|
5308
|
-
|
|
6153
|
+
name: string;
|
|
5309
6154
|
/**
|
|
5310
|
-
*
|
|
6155
|
+
* Value of the record (IP address, domain, etc.).
|
|
5311
6156
|
*/
|
|
5312
|
-
|
|
6157
|
+
value: string;
|
|
5313
6158
|
/**
|
|
5314
|
-
*
|
|
6159
|
+
* Time to live (in seconds).
|
|
5315
6160
|
*/
|
|
5316
|
-
|
|
6161
|
+
ttl: number;
|
|
5317
6162
|
/**
|
|
5318
|
-
*
|
|
6163
|
+
* Record priority (commonly used for MX).
|
|
5319
6164
|
*/
|
|
5320
|
-
|
|
6165
|
+
priority: number;
|
|
5321
6166
|
/**
|
|
5322
|
-
*
|
|
6167
|
+
* Whether this record is locked (read-only).
|
|
5323
6168
|
*/
|
|
5324
|
-
|
|
6169
|
+
lock: boolean;
|
|
5325
6170
|
/**
|
|
5326
|
-
*
|
|
6171
|
+
* Record weight (used for SRV records).
|
|
5327
6172
|
*/
|
|
5328
|
-
|
|
6173
|
+
weight: number;
|
|
5329
6174
|
/**
|
|
5330
|
-
*
|
|
6175
|
+
* Target port (used for SRV records).
|
|
5331
6176
|
*/
|
|
5332
|
-
|
|
6177
|
+
port: number;
|
|
5333
6178
|
/**
|
|
5334
|
-
*
|
|
6179
|
+
* Comment for the DNS record.
|
|
5335
6180
|
*/
|
|
5336
|
-
|
|
6181
|
+
comment: string;
|
|
5337
6182
|
}
|
|
5338
6183
|
/**
|
|
5339
6184
|
* UsageInvoice
|
|
@@ -5450,7 +6295,7 @@ export namespace Models {
|
|
|
5450
6295
|
restorations: BackupRestoration[];
|
|
5451
6296
|
}
|
|
5452
6297
|
/**
|
|
5453
|
-
* Billing
|
|
6298
|
+
* Billing invoices list
|
|
5454
6299
|
*/
|
|
5455
6300
|
export type InvoiceList = {
|
|
5456
6301
|
/**
|
|
@@ -5502,7 +6347,7 @@ export namespace Models {
|
|
|
5502
6347
|
teams: Organization<Preferences>[];
|
|
5503
6348
|
}
|
|
5504
6349
|
/**
|
|
5505
|
-
* Payment
|
|
6350
|
+
* Payment methods list
|
|
5506
6351
|
*/
|
|
5507
6352
|
export type PaymentMethodList = {
|
|
5508
6353
|
/**
|
|
@@ -5527,4 +6372,30 @@ export namespace Models {
|
|
|
5527
6372
|
*/
|
|
5528
6373
|
regions: ConsoleRegion[];
|
|
5529
6374
|
}
|
|
6375
|
+
/**
|
|
6376
|
+
* Domains list
|
|
6377
|
+
*/
|
|
6378
|
+
export type DomainsList = {
|
|
6379
|
+
/**
|
|
6380
|
+
* Total number of domains documents that matched your query.
|
|
6381
|
+
*/
|
|
6382
|
+
total: number;
|
|
6383
|
+
/**
|
|
6384
|
+
* List of domains.
|
|
6385
|
+
*/
|
|
6386
|
+
domains: Domain[];
|
|
6387
|
+
}
|
|
6388
|
+
/**
|
|
6389
|
+
* DNS records list
|
|
6390
|
+
*/
|
|
6391
|
+
export type DnsRecordsList = {
|
|
6392
|
+
/**
|
|
6393
|
+
* Total number of dnsRecords documents that matched your query.
|
|
6394
|
+
*/
|
|
6395
|
+
total: number;
|
|
6396
|
+
/**
|
|
6397
|
+
* List of dnsRecords.
|
|
6398
|
+
*/
|
|
6399
|
+
dnsRecords: DnsRecord[];
|
|
6400
|
+
}
|
|
5530
6401
|
}
|