@appwrite.io/console 1.6.0 → 1.8.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 +6807 -3959
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +6805 -3960
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +6807 -3959
- 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-document.md +17 -0
- 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 +1 -5
- 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 +16 -3
- 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 +1100 -217
- 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 +194 -18
- package/src/services/domains.ts +1821 -0
- package/src/services/functions.ts +170 -81
- 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 +1100 -217
- package/types/services/console.d.ts +10 -0
- package/types/services/databases.d.ts +56 -2
- package/types/services/domains.d.ts +524 -0
- package/types/services/functions.d.ts +59 -33
- 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
|
*/
|
|
@@ -657,6 +735,10 @@ export namespace Models {
|
|
|
657
735
|
* Default value for attribute when not provided. Cannot be set when attribute is required.
|
|
658
736
|
*/
|
|
659
737
|
default?: string;
|
|
738
|
+
/**
|
|
739
|
+
* Defines whether this attribute is encrypted or not.
|
|
740
|
+
*/
|
|
741
|
+
encrypt?: boolean;
|
|
660
742
|
}
|
|
661
743
|
/**
|
|
662
744
|
* AttributeInteger
|
|
@@ -1111,6 +1193,10 @@ export namespace Models {
|
|
|
1111
1193
|
* Index attributes.
|
|
1112
1194
|
*/
|
|
1113
1195
|
attributes: string[];
|
|
1196
|
+
/**
|
|
1197
|
+
* Index attributes length.
|
|
1198
|
+
*/
|
|
1199
|
+
lengths: number[];
|
|
1114
1200
|
/**
|
|
1115
1201
|
* Index orders.
|
|
1116
1202
|
*/
|
|
@@ -1785,6 +1871,39 @@ export namespace Models {
|
|
|
1785
1871
|
*/
|
|
1786
1872
|
antivirus: boolean;
|
|
1787
1873
|
}
|
|
1874
|
+
/**
|
|
1875
|
+
* ResourceToken
|
|
1876
|
+
*/
|
|
1877
|
+
export type ResourceToken = {
|
|
1878
|
+
/**
|
|
1879
|
+
* Token ID.
|
|
1880
|
+
*/
|
|
1881
|
+
$id: string;
|
|
1882
|
+
/**
|
|
1883
|
+
* Token creation date in ISO 8601 format.
|
|
1884
|
+
*/
|
|
1885
|
+
$createdAt: string;
|
|
1886
|
+
/**
|
|
1887
|
+
* Resource ID.
|
|
1888
|
+
*/
|
|
1889
|
+
resourceId: string;
|
|
1890
|
+
/**
|
|
1891
|
+
* Resource type.
|
|
1892
|
+
*/
|
|
1893
|
+
resourceType: string;
|
|
1894
|
+
/**
|
|
1895
|
+
* Token expiration date in ISO 8601 format.
|
|
1896
|
+
*/
|
|
1897
|
+
expire: string;
|
|
1898
|
+
/**
|
|
1899
|
+
* JWT encoded string.
|
|
1900
|
+
*/
|
|
1901
|
+
secret: string;
|
|
1902
|
+
/**
|
|
1903
|
+
* Most recent access date in ISO 8601 format. This attribute is only updated again after 24 hours.
|
|
1904
|
+
*/
|
|
1905
|
+
accessedAt: string;
|
|
1906
|
+
}
|
|
1788
1907
|
/**
|
|
1789
1908
|
* Team
|
|
1790
1909
|
*/
|
|
@@ -1871,6 +1990,225 @@ export namespace Models {
|
|
|
1871
1990
|
*/
|
|
1872
1991
|
roles: string[];
|
|
1873
1992
|
}
|
|
1993
|
+
/**
|
|
1994
|
+
* Site
|
|
1995
|
+
*/
|
|
1996
|
+
export type Site = {
|
|
1997
|
+
/**
|
|
1998
|
+
* Site ID.
|
|
1999
|
+
*/
|
|
2000
|
+
$id: string;
|
|
2001
|
+
/**
|
|
2002
|
+
* Site creation date in ISO 8601 format.
|
|
2003
|
+
*/
|
|
2004
|
+
$createdAt: string;
|
|
2005
|
+
/**
|
|
2006
|
+
* Site update date in ISO 8601 format.
|
|
2007
|
+
*/
|
|
2008
|
+
$updatedAt: string;
|
|
2009
|
+
/**
|
|
2010
|
+
* Site name.
|
|
2011
|
+
*/
|
|
2012
|
+
name: string;
|
|
2013
|
+
/**
|
|
2014
|
+
* Site enabled.
|
|
2015
|
+
*/
|
|
2016
|
+
enabled: boolean;
|
|
2017
|
+
/**
|
|
2018
|
+
* 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.
|
|
2019
|
+
*/
|
|
2020
|
+
live: boolean;
|
|
2021
|
+
/**
|
|
2022
|
+
* When disabled, request logs will exclude logs and errors, and site responses will be slightly faster.
|
|
2023
|
+
*/
|
|
2024
|
+
logging: boolean;
|
|
2025
|
+
/**
|
|
2026
|
+
* Site framework.
|
|
2027
|
+
*/
|
|
2028
|
+
framework: string;
|
|
2029
|
+
/**
|
|
2030
|
+
* Site's active deployment ID.
|
|
2031
|
+
*/
|
|
2032
|
+
deploymentId: string;
|
|
2033
|
+
/**
|
|
2034
|
+
* Active deployment creation date in ISO 8601 format.
|
|
2035
|
+
*/
|
|
2036
|
+
deploymentCreatedAt: string;
|
|
2037
|
+
/**
|
|
2038
|
+
* Screenshot of active deployment with light theme preference file ID.
|
|
2039
|
+
*/
|
|
2040
|
+
deploymentScreenshotLight: string;
|
|
2041
|
+
/**
|
|
2042
|
+
* Screenshot of active deployment with dark theme preference file ID.
|
|
2043
|
+
*/
|
|
2044
|
+
deploymentScreenshotDark: string;
|
|
2045
|
+
/**
|
|
2046
|
+
* Site's latest deployment ID.
|
|
2047
|
+
*/
|
|
2048
|
+
latestDeploymentId: string;
|
|
2049
|
+
/**
|
|
2050
|
+
* Latest deployment creation date in ISO 8601 format.
|
|
2051
|
+
*/
|
|
2052
|
+
latestDeploymentCreatedAt: string;
|
|
2053
|
+
/**
|
|
2054
|
+
* Status of latest deployment. Possible values are "waiting", "processing", "building", "ready", and "failed".
|
|
2055
|
+
*/
|
|
2056
|
+
latestDeploymentStatus: string;
|
|
2057
|
+
/**
|
|
2058
|
+
* Site variables.
|
|
2059
|
+
*/
|
|
2060
|
+
vars: Variable[];
|
|
2061
|
+
/**
|
|
2062
|
+
* Site request timeout in seconds.
|
|
2063
|
+
*/
|
|
2064
|
+
timeout: number;
|
|
2065
|
+
/**
|
|
2066
|
+
* The install command used to install the site dependencies.
|
|
2067
|
+
*/
|
|
2068
|
+
installCommand: string;
|
|
2069
|
+
/**
|
|
2070
|
+
* The build command used to build the site.
|
|
2071
|
+
*/
|
|
2072
|
+
buildCommand: string;
|
|
2073
|
+
/**
|
|
2074
|
+
* The directory where the site build output is located.
|
|
2075
|
+
*/
|
|
2076
|
+
outputDirectory: string;
|
|
2077
|
+
/**
|
|
2078
|
+
* Site VCS (Version Control System) installation id.
|
|
2079
|
+
*/
|
|
2080
|
+
installationId: string;
|
|
2081
|
+
/**
|
|
2082
|
+
* VCS (Version Control System) Repository ID
|
|
2083
|
+
*/
|
|
2084
|
+
providerRepositoryId: string;
|
|
2085
|
+
/**
|
|
2086
|
+
* VCS (Version Control System) branch name
|
|
2087
|
+
*/
|
|
2088
|
+
providerBranch: string;
|
|
2089
|
+
/**
|
|
2090
|
+
* Path to site in VCS (Version Control System) repository
|
|
2091
|
+
*/
|
|
2092
|
+
providerRootDirectory: string;
|
|
2093
|
+
/**
|
|
2094
|
+
* 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
|
|
2095
|
+
*/
|
|
2096
|
+
providerSilentMode: boolean;
|
|
2097
|
+
/**
|
|
2098
|
+
* Machine specification for builds and executions.
|
|
2099
|
+
*/
|
|
2100
|
+
specification: string;
|
|
2101
|
+
/**
|
|
2102
|
+
* Site build runtime.
|
|
2103
|
+
*/
|
|
2104
|
+
buildRuntime: string;
|
|
2105
|
+
/**
|
|
2106
|
+
* Site framework adapter.
|
|
2107
|
+
*/
|
|
2108
|
+
adapter: string;
|
|
2109
|
+
/**
|
|
2110
|
+
* Name of fallback file to use instead of 404 page. If null, Appwrite 404 page will be displayed.
|
|
2111
|
+
*/
|
|
2112
|
+
fallbackFile: string;
|
|
2113
|
+
}
|
|
2114
|
+
/**
|
|
2115
|
+
* Template Site
|
|
2116
|
+
*/
|
|
2117
|
+
export type TemplateSite = {
|
|
2118
|
+
/**
|
|
2119
|
+
* Site Template ID.
|
|
2120
|
+
*/
|
|
2121
|
+
key: string;
|
|
2122
|
+
/**
|
|
2123
|
+
* Site Template Name.
|
|
2124
|
+
*/
|
|
2125
|
+
name: string;
|
|
2126
|
+
/**
|
|
2127
|
+
* Short description of template
|
|
2128
|
+
*/
|
|
2129
|
+
tagline: string;
|
|
2130
|
+
/**
|
|
2131
|
+
* URL hosting a template demo.
|
|
2132
|
+
*/
|
|
2133
|
+
demoUrl: string;
|
|
2134
|
+
/**
|
|
2135
|
+
* File URL with preview screenshot in dark theme preference.
|
|
2136
|
+
*/
|
|
2137
|
+
screenshotDark: string;
|
|
2138
|
+
/**
|
|
2139
|
+
* File URL with preview screenshot in light theme preference.
|
|
2140
|
+
*/
|
|
2141
|
+
screenshotLight: string;
|
|
2142
|
+
/**
|
|
2143
|
+
* Site use cases.
|
|
2144
|
+
*/
|
|
2145
|
+
useCases: string[];
|
|
2146
|
+
/**
|
|
2147
|
+
* List of frameworks that can be used with this template.
|
|
2148
|
+
*/
|
|
2149
|
+
frameworks: TemplateFramework[];
|
|
2150
|
+
/**
|
|
2151
|
+
* VCS (Version Control System) Provider.
|
|
2152
|
+
*/
|
|
2153
|
+
vcsProvider: string;
|
|
2154
|
+
/**
|
|
2155
|
+
* VCS (Version Control System) Repository ID
|
|
2156
|
+
*/
|
|
2157
|
+
providerRepositoryId: string;
|
|
2158
|
+
/**
|
|
2159
|
+
* VCS (Version Control System) Owner.
|
|
2160
|
+
*/
|
|
2161
|
+
providerOwner: string;
|
|
2162
|
+
/**
|
|
2163
|
+
* VCS (Version Control System) branch version (tag).
|
|
2164
|
+
*/
|
|
2165
|
+
providerVersion: string;
|
|
2166
|
+
/**
|
|
2167
|
+
* Site variables.
|
|
2168
|
+
*/
|
|
2169
|
+
variables: TemplateVariable[];
|
|
2170
|
+
}
|
|
2171
|
+
/**
|
|
2172
|
+
* Template Framework
|
|
2173
|
+
*/
|
|
2174
|
+
export type TemplateFramework = {
|
|
2175
|
+
/**
|
|
2176
|
+
* Parent framework key.
|
|
2177
|
+
*/
|
|
2178
|
+
key: string;
|
|
2179
|
+
/**
|
|
2180
|
+
* Framework Name.
|
|
2181
|
+
*/
|
|
2182
|
+
name: string;
|
|
2183
|
+
/**
|
|
2184
|
+
* The install command used to install the dependencies.
|
|
2185
|
+
*/
|
|
2186
|
+
installCommand: string;
|
|
2187
|
+
/**
|
|
2188
|
+
* The build command used to build the deployment.
|
|
2189
|
+
*/
|
|
2190
|
+
buildCommand: string;
|
|
2191
|
+
/**
|
|
2192
|
+
* The output directory to store the build output.
|
|
2193
|
+
*/
|
|
2194
|
+
outputDirectory: string;
|
|
2195
|
+
/**
|
|
2196
|
+
* Path to site in VCS (Version Control System) repository
|
|
2197
|
+
*/
|
|
2198
|
+
providerRootDirectory: string;
|
|
2199
|
+
/**
|
|
2200
|
+
* Runtime used during build step of template.
|
|
2201
|
+
*/
|
|
2202
|
+
buildRuntime: string;
|
|
2203
|
+
/**
|
|
2204
|
+
* Site framework runtime
|
|
2205
|
+
*/
|
|
2206
|
+
adapter: string;
|
|
2207
|
+
/**
|
|
2208
|
+
* Fallback file for SPA. Only relevant for static serve runtime.
|
|
2209
|
+
*/
|
|
2210
|
+
fallbackFile: string;
|
|
2211
|
+
}
|
|
1874
2212
|
/**
|
|
1875
2213
|
* Function
|
|
1876
2214
|
*/
|
|
@@ -1904,17 +2242,33 @@ export namespace Models {
|
|
|
1904
2242
|
*/
|
|
1905
2243
|
live: boolean;
|
|
1906
2244
|
/**
|
|
1907
|
-
*
|
|
2245
|
+
* When disabled, executions will exclude logs and errors, and will be slightly faster.
|
|
1908
2246
|
*/
|
|
1909
2247
|
logging: boolean;
|
|
1910
2248
|
/**
|
|
1911
|
-
* Function execution runtime.
|
|
2249
|
+
* Function execution and build runtime.
|
|
1912
2250
|
*/
|
|
1913
2251
|
runtime: string;
|
|
1914
2252
|
/**
|
|
1915
2253
|
* Function's active deployment ID.
|
|
1916
2254
|
*/
|
|
1917
|
-
|
|
2255
|
+
deploymentId: string;
|
|
2256
|
+
/**
|
|
2257
|
+
* Active deployment creation date in ISO 8601 format.
|
|
2258
|
+
*/
|
|
2259
|
+
deploymentCreatedAt: string;
|
|
2260
|
+
/**
|
|
2261
|
+
* Function's latest deployment ID.
|
|
2262
|
+
*/
|
|
2263
|
+
latestDeploymentId: string;
|
|
2264
|
+
/**
|
|
2265
|
+
* Latest deployment creation date in ISO 8601 format.
|
|
2266
|
+
*/
|
|
2267
|
+
latestDeploymentCreatedAt: string;
|
|
2268
|
+
/**
|
|
2269
|
+
* Status of latest deployment. Possible values are "waiting", "processing", "building", "ready", and "failed".
|
|
2270
|
+
*/
|
|
2271
|
+
latestDeploymentStatus: string;
|
|
1918
2272
|
/**
|
|
1919
2273
|
* Allowed permission scopes.
|
|
1920
2274
|
*/
|
|
@@ -2082,6 +2436,10 @@ export namespace Models {
|
|
|
2082
2436
|
* Variable Value.
|
|
2083
2437
|
*/
|
|
2084
2438
|
value: string;
|
|
2439
|
+
/**
|
|
2440
|
+
* Variable secret flag. Secret variables can only be updated or deleted, but never read.
|
|
2441
|
+
*/
|
|
2442
|
+
secret: boolean;
|
|
2085
2443
|
/**
|
|
2086
2444
|
* Variable Placeholder.
|
|
2087
2445
|
*/
|
|
@@ -2148,28 +2506,119 @@ export namespace Models {
|
|
|
2148
2506
|
* Is VCS (Version Control System) repository private?
|
|
2149
2507
|
*/
|
|
2150
2508
|
private: boolean;
|
|
2151
|
-
/**
|
|
2152
|
-
* Auto-detected runtime suggestion. Empty if getting response of getRuntime().
|
|
2153
|
-
*/
|
|
2154
|
-
runtime: string;
|
|
2155
2509
|
/**
|
|
2156
2510
|
* Last commit date in ISO 8601 format.
|
|
2157
2511
|
*/
|
|
2158
2512
|
pushedAt: string;
|
|
2159
2513
|
}
|
|
2160
2514
|
/**
|
|
2161
|
-
*
|
|
2515
|
+
* ProviderRepositoryFramework
|
|
2162
2516
|
*/
|
|
2163
|
-
export type
|
|
2517
|
+
export type ProviderRepositoryFramework = {
|
|
2164
2518
|
/**
|
|
2165
|
-
*
|
|
2519
|
+
* VCS (Version Control System) repository ID.
|
|
2166
2520
|
*/
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2521
|
+
id: string;
|
|
2522
|
+
/**
|
|
2523
|
+
* VCS (Version Control System) repository name.
|
|
2524
|
+
*/
|
|
2525
|
+
name: string;
|
|
2526
|
+
/**
|
|
2527
|
+
* VCS (Version Control System) organization name
|
|
2528
|
+
*/
|
|
2529
|
+
organization: string;
|
|
2530
|
+
/**
|
|
2531
|
+
* VCS (Version Control System) provider name.
|
|
2532
|
+
*/
|
|
2533
|
+
provider: string;
|
|
2534
|
+
/**
|
|
2535
|
+
* Is VCS (Version Control System) repository private?
|
|
2536
|
+
*/
|
|
2537
|
+
private: boolean;
|
|
2538
|
+
/**
|
|
2539
|
+
* Last commit date in ISO 8601 format.
|
|
2540
|
+
*/
|
|
2541
|
+
pushedAt: string;
|
|
2542
|
+
/**
|
|
2543
|
+
* Auto-detected framework. Empty if type is not "framework".
|
|
2544
|
+
*/
|
|
2545
|
+
framework: string;
|
|
2546
|
+
}
|
|
2547
|
+
/**
|
|
2548
|
+
* ProviderRepositoryRuntime
|
|
2549
|
+
*/
|
|
2550
|
+
export type ProviderRepositoryRuntime = {
|
|
2551
|
+
/**
|
|
2552
|
+
* VCS (Version Control System) repository ID.
|
|
2553
|
+
*/
|
|
2554
|
+
id: string;
|
|
2555
|
+
/**
|
|
2556
|
+
* VCS (Version Control System) repository name.
|
|
2557
|
+
*/
|
|
2558
|
+
name: string;
|
|
2559
|
+
/**
|
|
2560
|
+
* VCS (Version Control System) organization name
|
|
2561
|
+
*/
|
|
2562
|
+
organization: string;
|
|
2563
|
+
/**
|
|
2564
|
+
* VCS (Version Control System) provider name.
|
|
2565
|
+
*/
|
|
2566
|
+
provider: string;
|
|
2567
|
+
/**
|
|
2568
|
+
* Is VCS (Version Control System) repository private?
|
|
2569
|
+
*/
|
|
2570
|
+
private: boolean;
|
|
2571
|
+
/**
|
|
2572
|
+
* Last commit date in ISO 8601 format.
|
|
2573
|
+
*/
|
|
2574
|
+
pushedAt: string;
|
|
2575
|
+
/**
|
|
2576
|
+
* Auto-detected runtime. Empty if type is not "runtime".
|
|
2577
|
+
*/
|
|
2578
|
+
runtime: string;
|
|
2579
|
+
}
|
|
2580
|
+
/**
|
|
2581
|
+
* DetectionFramework
|
|
2582
|
+
*/
|
|
2583
|
+
export type DetectionFramework = {
|
|
2584
|
+
/**
|
|
2585
|
+
* Framework
|
|
2586
|
+
*/
|
|
2587
|
+
framework: string;
|
|
2588
|
+
/**
|
|
2589
|
+
* Site Install Command
|
|
2590
|
+
*/
|
|
2591
|
+
installCommand: string;
|
|
2592
|
+
/**
|
|
2593
|
+
* Site Build Command
|
|
2594
|
+
*/
|
|
2595
|
+
buildCommand: string;
|
|
2596
|
+
/**
|
|
2597
|
+
* Site Output Directory
|
|
2598
|
+
*/
|
|
2599
|
+
outputDirectory: string;
|
|
2600
|
+
}
|
|
2601
|
+
/**
|
|
2602
|
+
* DetectionRuntime
|
|
2603
|
+
*/
|
|
2604
|
+
export type DetectionRuntime = {
|
|
2605
|
+
/**
|
|
2606
|
+
* Runtime
|
|
2607
|
+
*/
|
|
2608
|
+
runtime: string;
|
|
2609
|
+
/**
|
|
2610
|
+
* Function Entrypoint
|
|
2611
|
+
*/
|
|
2612
|
+
entrypoint: string;
|
|
2613
|
+
/**
|
|
2614
|
+
* Function install and build commands
|
|
2615
|
+
*/
|
|
2616
|
+
commands: string;
|
|
2617
|
+
}
|
|
2618
|
+
/**
|
|
2619
|
+
* VcsContents
|
|
2620
|
+
*/
|
|
2621
|
+
export type VcsContent = {
|
|
2173
2622
|
/**
|
|
2174
2623
|
* Content size in bytes. Only files have size, and for directories, 0 is returned.
|
|
2175
2624
|
*/
|
|
@@ -2229,6 +2678,56 @@ export namespace Models {
|
|
|
2229
2678
|
*/
|
|
2230
2679
|
supports: string[];
|
|
2231
2680
|
}
|
|
2681
|
+
/**
|
|
2682
|
+
* Framework
|
|
2683
|
+
*/
|
|
2684
|
+
export type Framework = {
|
|
2685
|
+
/**
|
|
2686
|
+
* Framework key.
|
|
2687
|
+
*/
|
|
2688
|
+
key: string;
|
|
2689
|
+
/**
|
|
2690
|
+
* Framework Name.
|
|
2691
|
+
*/
|
|
2692
|
+
name: string;
|
|
2693
|
+
/**
|
|
2694
|
+
* Default runtime version.
|
|
2695
|
+
*/
|
|
2696
|
+
buildRuntime: string;
|
|
2697
|
+
/**
|
|
2698
|
+
* List of supported runtime versions.
|
|
2699
|
+
*/
|
|
2700
|
+
runtimes: string[];
|
|
2701
|
+
/**
|
|
2702
|
+
* List of supported adapters.
|
|
2703
|
+
*/
|
|
2704
|
+
adapters: FrameworkAdapter[];
|
|
2705
|
+
}
|
|
2706
|
+
/**
|
|
2707
|
+
* Framework Adapter
|
|
2708
|
+
*/
|
|
2709
|
+
export type FrameworkAdapter = {
|
|
2710
|
+
/**
|
|
2711
|
+
* Adapter key.
|
|
2712
|
+
*/
|
|
2713
|
+
key: string;
|
|
2714
|
+
/**
|
|
2715
|
+
* Default command to download dependencies.
|
|
2716
|
+
*/
|
|
2717
|
+
installCommand: string;
|
|
2718
|
+
/**
|
|
2719
|
+
* Default command to build site into output directory.
|
|
2720
|
+
*/
|
|
2721
|
+
buildCommand: string;
|
|
2722
|
+
/**
|
|
2723
|
+
* Default output directory of build.
|
|
2724
|
+
*/
|
|
2725
|
+
outputDirectory: string;
|
|
2726
|
+
/**
|
|
2727
|
+
* Name of fallback file to use instead of 404 page. If null, Appwrite 404 page will be displayed.
|
|
2728
|
+
*/
|
|
2729
|
+
fallbackFile: string;
|
|
2730
|
+
}
|
|
2232
2731
|
/**
|
|
2233
2732
|
* Deployment
|
|
2234
2733
|
*/
|
|
@@ -2264,11 +2763,15 @@ export namespace Models {
|
|
|
2264
2763
|
/**
|
|
2265
2764
|
* The code size in bytes.
|
|
2266
2765
|
*/
|
|
2267
|
-
|
|
2766
|
+
sourceSize: number;
|
|
2268
2767
|
/**
|
|
2269
2768
|
* The build output size in bytes.
|
|
2270
2769
|
*/
|
|
2271
2770
|
buildSize: number;
|
|
2771
|
+
/**
|
|
2772
|
+
* The total size in bytes (source and build output).
|
|
2773
|
+
*/
|
|
2774
|
+
totalSize: number;
|
|
2272
2775
|
/**
|
|
2273
2776
|
* The current build ID.
|
|
2274
2777
|
*/
|
|
@@ -2278,7 +2781,15 @@ export namespace Models {
|
|
|
2278
2781
|
*/
|
|
2279
2782
|
activate: boolean;
|
|
2280
2783
|
/**
|
|
2281
|
-
*
|
|
2784
|
+
* Screenshot with light theme preference file ID.
|
|
2785
|
+
*/
|
|
2786
|
+
screenshotLight: string;
|
|
2787
|
+
/**
|
|
2788
|
+
* Screenshot with dark theme preference file ID.
|
|
2789
|
+
*/
|
|
2790
|
+
screenshotDark: string;
|
|
2791
|
+
/**
|
|
2792
|
+
* The deployment status. Possible values are "waiting", "processing", "building", "ready", and "failed".
|
|
2282
2793
|
*/
|
|
2283
2794
|
status: string;
|
|
2284
2795
|
/**
|
|
@@ -2288,7 +2799,7 @@ export namespace Models {
|
|
|
2288
2799
|
/**
|
|
2289
2800
|
* The current build time in seconds.
|
|
2290
2801
|
*/
|
|
2291
|
-
|
|
2802
|
+
buildDuration: number;
|
|
2292
2803
|
/**
|
|
2293
2804
|
* The name of the vcs provider repository
|
|
2294
2805
|
*/
|
|
@@ -2395,7 +2906,7 @@ export namespace Models {
|
|
|
2395
2906
|
*/
|
|
2396
2907
|
errors: string;
|
|
2397
2908
|
/**
|
|
2398
|
-
*
|
|
2909
|
+
* Resource(function/site) execution duration in seconds.
|
|
2399
2910
|
*/
|
|
2400
2911
|
duration: number;
|
|
2401
2912
|
/**
|
|
@@ -2403,47 +2914,6 @@ export namespace Models {
|
|
|
2403
2914
|
*/
|
|
2404
2915
|
scheduledAt?: string;
|
|
2405
2916
|
}
|
|
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
2917
|
/**
|
|
2448
2918
|
* Project
|
|
2449
2919
|
*/
|
|
@@ -2564,6 +3034,10 @@ export namespace Models {
|
|
|
2564
3034
|
* List of API Keys.
|
|
2565
3035
|
*/
|
|
2566
3036
|
keys: Key[];
|
|
3037
|
+
/**
|
|
3038
|
+
* List of dev keys.
|
|
3039
|
+
*/
|
|
3040
|
+
devKeys: DevKey[];
|
|
2567
3041
|
/**
|
|
2568
3042
|
* Status for custom SMTP
|
|
2569
3043
|
*/
|
|
@@ -2668,6 +3142,10 @@ export namespace Models {
|
|
|
2668
3142
|
* Users service status
|
|
2669
3143
|
*/
|
|
2670
3144
|
serviceStatusForUsers: boolean;
|
|
3145
|
+
/**
|
|
3146
|
+
* Sites service status
|
|
3147
|
+
*/
|
|
3148
|
+
serviceStatusForSites: boolean;
|
|
2671
3149
|
/**
|
|
2672
3150
|
* Functions service status
|
|
2673
3151
|
*/
|
|
@@ -2783,6 +3261,43 @@ export namespace Models {
|
|
|
2783
3261
|
*/
|
|
2784
3262
|
sdks: string[];
|
|
2785
3263
|
}
|
|
3264
|
+
/**
|
|
3265
|
+
* DevKey
|
|
3266
|
+
*/
|
|
3267
|
+
export type DevKey = {
|
|
3268
|
+
/**
|
|
3269
|
+
* Key ID.
|
|
3270
|
+
*/
|
|
3271
|
+
$id: string;
|
|
3272
|
+
/**
|
|
3273
|
+
* Key creation date in ISO 8601 format.
|
|
3274
|
+
*/
|
|
3275
|
+
$createdAt: string;
|
|
3276
|
+
/**
|
|
3277
|
+
* Key update date in ISO 8601 format.
|
|
3278
|
+
*/
|
|
3279
|
+
$updatedAt: string;
|
|
3280
|
+
/**
|
|
3281
|
+
* Key name.
|
|
3282
|
+
*/
|
|
3283
|
+
name: string;
|
|
3284
|
+
/**
|
|
3285
|
+
* Key expiration date in ISO 8601 format.
|
|
3286
|
+
*/
|
|
3287
|
+
expire: string;
|
|
3288
|
+
/**
|
|
3289
|
+
* Secret key.
|
|
3290
|
+
*/
|
|
3291
|
+
secret: string;
|
|
3292
|
+
/**
|
|
3293
|
+
* Most recent access date in ISO 8601 format. This attribute is only updated again after 24 hours.
|
|
3294
|
+
*/
|
|
3295
|
+
accessedAt: string;
|
|
3296
|
+
/**
|
|
3297
|
+
* List of SDK user agents that used this key.
|
|
3298
|
+
*/
|
|
3299
|
+
sdks: string[];
|
|
3300
|
+
}
|
|
2786
3301
|
/**
|
|
2787
3302
|
* Mock Number
|
|
2788
3303
|
*/
|
|
@@ -2890,6 +3405,10 @@ export namespace Models {
|
|
|
2890
3405
|
* Variable value.
|
|
2891
3406
|
*/
|
|
2892
3407
|
value: string;
|
|
3408
|
+
/**
|
|
3409
|
+
* Variable secret flag. Secret variables can only be updated or deleted, but never read.
|
|
3410
|
+
*/
|
|
3411
|
+
secret: boolean;
|
|
2893
3412
|
/**
|
|
2894
3413
|
* Service to which the variable belongs. Possible values are "project", "function"
|
|
2895
3414
|
*/
|
|
@@ -3253,90 +3772,292 @@ export namespace Models {
|
|
|
3253
3772
|
/**
|
|
3254
3773
|
* Aggregated number of users per period.
|
|
3255
3774
|
*/
|
|
3256
|
-
users: Metric[];
|
|
3775
|
+
users: Metric[];
|
|
3776
|
+
/**
|
|
3777
|
+
* Aggregated number of active sessions per period.
|
|
3778
|
+
*/
|
|
3779
|
+
sessions: Metric[];
|
|
3780
|
+
}
|
|
3781
|
+
/**
|
|
3782
|
+
* StorageUsage
|
|
3783
|
+
*/
|
|
3784
|
+
export type UsageStorage = {
|
|
3785
|
+
/**
|
|
3786
|
+
* Time range of the usage stats.
|
|
3787
|
+
*/
|
|
3788
|
+
range: string;
|
|
3789
|
+
/**
|
|
3790
|
+
* Total aggregated number of buckets
|
|
3791
|
+
*/
|
|
3792
|
+
bucketsTotal: number;
|
|
3793
|
+
/**
|
|
3794
|
+
* Total aggregated number of files.
|
|
3795
|
+
*/
|
|
3796
|
+
filesTotal: number;
|
|
3797
|
+
/**
|
|
3798
|
+
* Total aggregated number of files storage (in bytes).
|
|
3799
|
+
*/
|
|
3800
|
+
filesStorageTotal: number;
|
|
3801
|
+
/**
|
|
3802
|
+
* Aggregated number of buckets per period.
|
|
3803
|
+
*/
|
|
3804
|
+
buckets: Metric[];
|
|
3805
|
+
/**
|
|
3806
|
+
* Aggregated number of files per period.
|
|
3807
|
+
*/
|
|
3808
|
+
files: Metric[];
|
|
3809
|
+
/**
|
|
3810
|
+
* Aggregated number of files storage (in bytes) per period .
|
|
3811
|
+
*/
|
|
3812
|
+
storage: Metric[];
|
|
3813
|
+
}
|
|
3814
|
+
/**
|
|
3815
|
+
* UsageBuckets
|
|
3816
|
+
*/
|
|
3817
|
+
export type UsageBuckets = {
|
|
3818
|
+
/**
|
|
3819
|
+
* Time range of the usage stats.
|
|
3820
|
+
*/
|
|
3821
|
+
range: string;
|
|
3822
|
+
/**
|
|
3823
|
+
* Total aggregated number of bucket files.
|
|
3824
|
+
*/
|
|
3825
|
+
filesTotal: number;
|
|
3826
|
+
/**
|
|
3827
|
+
* Total aggregated number of bucket files storage (in bytes).
|
|
3828
|
+
*/
|
|
3829
|
+
filesStorageTotal: number;
|
|
3830
|
+
/**
|
|
3831
|
+
* Aggregated number of bucket files per period.
|
|
3832
|
+
*/
|
|
3833
|
+
files: Metric[];
|
|
3834
|
+
/**
|
|
3835
|
+
* Aggregated number of bucket storage files (in bytes) per period.
|
|
3836
|
+
*/
|
|
3837
|
+
storage: Metric[];
|
|
3838
|
+
/**
|
|
3839
|
+
* Aggregated number of files transformations per period.
|
|
3840
|
+
*/
|
|
3841
|
+
imageTransformations: Metric[];
|
|
3842
|
+
/**
|
|
3843
|
+
* Total aggregated number of files transformations.
|
|
3844
|
+
*/
|
|
3845
|
+
imageTransformationsTotal: number;
|
|
3846
|
+
}
|
|
3847
|
+
/**
|
|
3848
|
+
* UsageFunctions
|
|
3849
|
+
*/
|
|
3850
|
+
export type UsageFunctions = {
|
|
3851
|
+
/**
|
|
3852
|
+
* Time range of the usage stats.
|
|
3853
|
+
*/
|
|
3854
|
+
range: string;
|
|
3855
|
+
/**
|
|
3856
|
+
* Total aggregated number of functions.
|
|
3857
|
+
*/
|
|
3858
|
+
functionsTotal: number;
|
|
3859
|
+
/**
|
|
3860
|
+
* Total aggregated number of functions deployments.
|
|
3861
|
+
*/
|
|
3862
|
+
deploymentsTotal: number;
|
|
3863
|
+
/**
|
|
3864
|
+
* Total aggregated sum of functions deployment storage.
|
|
3865
|
+
*/
|
|
3866
|
+
deploymentsStorageTotal: number;
|
|
3867
|
+
/**
|
|
3868
|
+
* Total aggregated number of functions build.
|
|
3869
|
+
*/
|
|
3870
|
+
buildsTotal: number;
|
|
3871
|
+
/**
|
|
3872
|
+
* total aggregated sum of functions build storage.
|
|
3873
|
+
*/
|
|
3874
|
+
buildsStorageTotal: number;
|
|
3875
|
+
/**
|
|
3876
|
+
* Total aggregated sum of functions build compute time.
|
|
3877
|
+
*/
|
|
3878
|
+
buildsTimeTotal: number;
|
|
3879
|
+
/**
|
|
3880
|
+
* Total aggregated sum of functions build mbSeconds.
|
|
3881
|
+
*/
|
|
3882
|
+
buildsMbSecondsTotal: number;
|
|
3883
|
+
/**
|
|
3884
|
+
* Total aggregated number of functions execution.
|
|
3885
|
+
*/
|
|
3886
|
+
executionsTotal: number;
|
|
3887
|
+
/**
|
|
3888
|
+
* Total aggregated sum of functions execution compute time.
|
|
3889
|
+
*/
|
|
3890
|
+
executionsTimeTotal: number;
|
|
3891
|
+
/**
|
|
3892
|
+
* Total aggregated sum of functions execution mbSeconds.
|
|
3893
|
+
*/
|
|
3894
|
+
executionsMbSecondsTotal: number;
|
|
3895
|
+
/**
|
|
3896
|
+
* Aggregated number of functions per period.
|
|
3897
|
+
*/
|
|
3898
|
+
functions: Metric[];
|
|
3899
|
+
/**
|
|
3900
|
+
* Aggregated number of functions deployment per period.
|
|
3901
|
+
*/
|
|
3902
|
+
deployments: Metric[];
|
|
3903
|
+
/**
|
|
3904
|
+
* Aggregated number of functions deployment storage per period.
|
|
3905
|
+
*/
|
|
3906
|
+
deploymentsStorage: Metric[];
|
|
3907
|
+
/**
|
|
3908
|
+
* Total aggregated number of successful function builds.
|
|
3909
|
+
*/
|
|
3910
|
+
buildsSuccessTotal: number;
|
|
3911
|
+
/**
|
|
3912
|
+
* Total aggregated number of failed function builds.
|
|
3913
|
+
*/
|
|
3914
|
+
buildsFailedTotal: number;
|
|
3915
|
+
/**
|
|
3916
|
+
* Aggregated number of functions build per period.
|
|
3917
|
+
*/
|
|
3918
|
+
builds: Metric[];
|
|
3919
|
+
/**
|
|
3920
|
+
* Aggregated sum of functions build storage per period.
|
|
3921
|
+
*/
|
|
3922
|
+
buildsStorage: Metric[];
|
|
3923
|
+
/**
|
|
3924
|
+
* Aggregated sum of functions build compute time per period.
|
|
3925
|
+
*/
|
|
3926
|
+
buildsTime: Metric[];
|
|
3927
|
+
/**
|
|
3928
|
+
* Aggregated sum of functions build mbSeconds per period.
|
|
3929
|
+
*/
|
|
3930
|
+
buildsMbSeconds: Metric[];
|
|
3931
|
+
/**
|
|
3932
|
+
* Aggregated number of functions execution per period.
|
|
3933
|
+
*/
|
|
3934
|
+
executions: Metric[];
|
|
3935
|
+
/**
|
|
3936
|
+
* Aggregated number of functions execution compute time per period.
|
|
3937
|
+
*/
|
|
3938
|
+
executionsTime: Metric[];
|
|
3939
|
+
/**
|
|
3940
|
+
* Aggregated number of functions mbSeconds per period.
|
|
3941
|
+
*/
|
|
3942
|
+
executionsMbSeconds: Metric[];
|
|
3943
|
+
/**
|
|
3944
|
+
* Aggregated number of successful function builds per period.
|
|
3945
|
+
*/
|
|
3946
|
+
buildsSuccess: Metric[];
|
|
3947
|
+
/**
|
|
3948
|
+
* Aggregated number of failed function builds per period.
|
|
3949
|
+
*/
|
|
3950
|
+
buildsFailed: Metric[];
|
|
3951
|
+
}
|
|
3952
|
+
/**
|
|
3953
|
+
* UsageFunction
|
|
3954
|
+
*/
|
|
3955
|
+
export type UsageFunction = {
|
|
3956
|
+
/**
|
|
3957
|
+
* The time range of the usage stats.
|
|
3958
|
+
*/
|
|
3959
|
+
range: string;
|
|
3960
|
+
/**
|
|
3961
|
+
* Total aggregated number of function deployments.
|
|
3962
|
+
*/
|
|
3963
|
+
deploymentsTotal: number;
|
|
3964
|
+
/**
|
|
3965
|
+
* Total aggregated sum of function deployments storage.
|
|
3966
|
+
*/
|
|
3967
|
+
deploymentsStorageTotal: number;
|
|
3968
|
+
/**
|
|
3969
|
+
* Total aggregated number of function builds.
|
|
3970
|
+
*/
|
|
3971
|
+
buildsTotal: number;
|
|
3972
|
+
/**
|
|
3973
|
+
* Total aggregated number of successful function builds.
|
|
3974
|
+
*/
|
|
3975
|
+
buildsSuccessTotal: number;
|
|
3976
|
+
/**
|
|
3977
|
+
* Total aggregated number of failed function builds.
|
|
3978
|
+
*/
|
|
3979
|
+
buildsFailedTotal: number;
|
|
3980
|
+
/**
|
|
3981
|
+
* total aggregated sum of function builds storage.
|
|
3982
|
+
*/
|
|
3983
|
+
buildsStorageTotal: number;
|
|
3984
|
+
/**
|
|
3985
|
+
* Total aggregated sum of function builds compute time.
|
|
3986
|
+
*/
|
|
3987
|
+
buildsTimeTotal: number;
|
|
3988
|
+
/**
|
|
3989
|
+
* Average builds compute time.
|
|
3990
|
+
*/
|
|
3991
|
+
buildsTimeAverage: number;
|
|
3257
3992
|
/**
|
|
3258
|
-
*
|
|
3993
|
+
* Total aggregated sum of function builds mbSeconds.
|
|
3259
3994
|
*/
|
|
3260
|
-
|
|
3261
|
-
}
|
|
3262
|
-
/**
|
|
3263
|
-
* StorageUsage
|
|
3264
|
-
*/
|
|
3265
|
-
export type UsageStorage = {
|
|
3995
|
+
buildsMbSecondsTotal: number;
|
|
3266
3996
|
/**
|
|
3267
|
-
*
|
|
3997
|
+
* Total aggregated number of function executions.
|
|
3268
3998
|
*/
|
|
3269
|
-
|
|
3999
|
+
executionsTotal: number;
|
|
3270
4000
|
/**
|
|
3271
|
-
* Total aggregated
|
|
4001
|
+
* Total aggregated sum of function executions compute time.
|
|
3272
4002
|
*/
|
|
3273
|
-
|
|
4003
|
+
executionsTimeTotal: number;
|
|
3274
4004
|
/**
|
|
3275
|
-
* Total aggregated
|
|
4005
|
+
* Total aggregated sum of function executions mbSeconds.
|
|
3276
4006
|
*/
|
|
3277
|
-
|
|
4007
|
+
executionsMbSecondsTotal: number;
|
|
3278
4008
|
/**
|
|
3279
|
-
*
|
|
4009
|
+
* Aggregated number of function deployments per period.
|
|
3280
4010
|
*/
|
|
3281
|
-
|
|
4011
|
+
deployments: Metric[];
|
|
3282
4012
|
/**
|
|
3283
|
-
* Aggregated number of
|
|
4013
|
+
* Aggregated number of function deployments storage per period.
|
|
3284
4014
|
*/
|
|
3285
|
-
|
|
4015
|
+
deploymentsStorage: Metric[];
|
|
3286
4016
|
/**
|
|
3287
|
-
* Aggregated number of
|
|
4017
|
+
* Aggregated number of function builds per period.
|
|
3288
4018
|
*/
|
|
3289
|
-
|
|
4019
|
+
builds: Metric[];
|
|
3290
4020
|
/**
|
|
3291
|
-
* Aggregated
|
|
4021
|
+
* Aggregated sum of function builds storage per period.
|
|
3292
4022
|
*/
|
|
3293
|
-
|
|
3294
|
-
}
|
|
3295
|
-
/**
|
|
3296
|
-
* UsageBuckets
|
|
3297
|
-
*/
|
|
3298
|
-
export type UsageBuckets = {
|
|
4023
|
+
buildsStorage: Metric[];
|
|
3299
4024
|
/**
|
|
3300
|
-
*
|
|
4025
|
+
* Aggregated sum of function builds compute time per period.
|
|
3301
4026
|
*/
|
|
3302
|
-
|
|
4027
|
+
buildsTime: Metric[];
|
|
3303
4028
|
/**
|
|
3304
|
-
*
|
|
4029
|
+
* Aggregated number of function builds mbSeconds per period.
|
|
3305
4030
|
*/
|
|
3306
|
-
|
|
4031
|
+
buildsMbSeconds: Metric[];
|
|
3307
4032
|
/**
|
|
3308
|
-
*
|
|
4033
|
+
* Aggregated number of function executions per period.
|
|
3309
4034
|
*/
|
|
3310
|
-
|
|
4035
|
+
executions: Metric[];
|
|
3311
4036
|
/**
|
|
3312
|
-
* Aggregated
|
|
4037
|
+
* Aggregated number of function executions compute time per period.
|
|
3313
4038
|
*/
|
|
3314
|
-
|
|
4039
|
+
executionsTime: Metric[];
|
|
3315
4040
|
/**
|
|
3316
|
-
* Aggregated
|
|
4041
|
+
* Aggregated number of function mbSeconds per period.
|
|
3317
4042
|
*/
|
|
3318
|
-
|
|
4043
|
+
executionsMbSeconds: Metric[];
|
|
3319
4044
|
/**
|
|
3320
|
-
* Aggregated number of
|
|
4045
|
+
* Aggregated number of successful builds per period.
|
|
3321
4046
|
*/
|
|
3322
|
-
|
|
4047
|
+
buildsSuccess: Metric[];
|
|
3323
4048
|
/**
|
|
3324
|
-
*
|
|
4049
|
+
* Aggregated number of failed builds per period.
|
|
3325
4050
|
*/
|
|
3326
|
-
|
|
4051
|
+
buildsFailed: Metric[];
|
|
3327
4052
|
}
|
|
3328
4053
|
/**
|
|
3329
|
-
*
|
|
4054
|
+
* UsageSites
|
|
3330
4055
|
*/
|
|
3331
|
-
export type
|
|
4056
|
+
export type UsageSites = {
|
|
3332
4057
|
/**
|
|
3333
4058
|
* Time range of the usage stats.
|
|
3334
4059
|
*/
|
|
3335
4060
|
range: string;
|
|
3336
|
-
/**
|
|
3337
|
-
* Total aggregated number of functions.
|
|
3338
|
-
*/
|
|
3339
|
-
functionsTotal: number;
|
|
3340
4061
|
/**
|
|
3341
4062
|
* Total aggregated number of functions deployments.
|
|
3342
4063
|
*/
|
|
@@ -3373,10 +4094,6 @@ export namespace Models {
|
|
|
3373
4094
|
* Total aggregated sum of functions execution mbSeconds.
|
|
3374
4095
|
*/
|
|
3375
4096
|
executionsMbSecondsTotal: number;
|
|
3376
|
-
/**
|
|
3377
|
-
* Aggregated number of functions per period.
|
|
3378
|
-
*/
|
|
3379
|
-
functions: Metric[];
|
|
3380
4097
|
/**
|
|
3381
4098
|
* Aggregated number of functions deployment per period.
|
|
3382
4099
|
*/
|
|
@@ -3385,6 +4102,14 @@ export namespace Models {
|
|
|
3385
4102
|
* Aggregated number of functions deployment storage per period.
|
|
3386
4103
|
*/
|
|
3387
4104
|
deploymentsStorage: Metric[];
|
|
4105
|
+
/**
|
|
4106
|
+
* Total aggregated number of successful function builds.
|
|
4107
|
+
*/
|
|
4108
|
+
buildsSuccessTotal: number;
|
|
4109
|
+
/**
|
|
4110
|
+
* Total aggregated number of failed function builds.
|
|
4111
|
+
*/
|
|
4112
|
+
buildsFailedTotal: number;
|
|
3388
4113
|
/**
|
|
3389
4114
|
* Aggregated number of functions build per period.
|
|
3390
4115
|
*/
|
|
@@ -3413,11 +4138,51 @@ export namespace Models {
|
|
|
3413
4138
|
* Aggregated number of functions mbSeconds per period.
|
|
3414
4139
|
*/
|
|
3415
4140
|
executionsMbSeconds: Metric[];
|
|
4141
|
+
/**
|
|
4142
|
+
* Aggregated number of successful function builds per period.
|
|
4143
|
+
*/
|
|
4144
|
+
buildsSuccess: Metric[];
|
|
4145
|
+
/**
|
|
4146
|
+
* Aggregated number of failed function builds per period.
|
|
4147
|
+
*/
|
|
4148
|
+
buildsFailed: Metric[];
|
|
4149
|
+
/**
|
|
4150
|
+
* Total aggregated number of sites.
|
|
4151
|
+
*/
|
|
4152
|
+
sitesTotal: number;
|
|
4153
|
+
/**
|
|
4154
|
+
* Aggregated number of sites per period.
|
|
4155
|
+
*/
|
|
4156
|
+
sites: Metric[];
|
|
4157
|
+
/**
|
|
4158
|
+
* Total aggregated number of requests.
|
|
4159
|
+
*/
|
|
4160
|
+
requestsTotal: number;
|
|
4161
|
+
/**
|
|
4162
|
+
* Aggregated number of requests per period.
|
|
4163
|
+
*/
|
|
4164
|
+
requests: Metric[];
|
|
4165
|
+
/**
|
|
4166
|
+
* Total aggregated inbound bandwidth.
|
|
4167
|
+
*/
|
|
4168
|
+
inboundTotal: number;
|
|
4169
|
+
/**
|
|
4170
|
+
* Aggregated number of inbound bandwidth per period.
|
|
4171
|
+
*/
|
|
4172
|
+
inbound: Metric[];
|
|
4173
|
+
/**
|
|
4174
|
+
* Total aggregated outbound bandwidth.
|
|
4175
|
+
*/
|
|
4176
|
+
outboundTotal: number;
|
|
4177
|
+
/**
|
|
4178
|
+
* Aggregated number of outbound bandwidth per period.
|
|
4179
|
+
*/
|
|
4180
|
+
outbound: Metric[];
|
|
3416
4181
|
}
|
|
3417
4182
|
/**
|
|
3418
|
-
*
|
|
4183
|
+
* UsageSite
|
|
3419
4184
|
*/
|
|
3420
|
-
export type
|
|
4185
|
+
export type UsageSite = {
|
|
3421
4186
|
/**
|
|
3422
4187
|
* The time range of the usage stats.
|
|
3423
4188
|
*/
|
|
@@ -3434,6 +4199,14 @@ export namespace Models {
|
|
|
3434
4199
|
* Total aggregated number of function builds.
|
|
3435
4200
|
*/
|
|
3436
4201
|
buildsTotal: number;
|
|
4202
|
+
/**
|
|
4203
|
+
* Total aggregated number of successful function builds.
|
|
4204
|
+
*/
|
|
4205
|
+
buildsSuccessTotal: number;
|
|
4206
|
+
/**
|
|
4207
|
+
* Total aggregated number of failed function builds.
|
|
4208
|
+
*/
|
|
4209
|
+
buildsFailedTotal: number;
|
|
3437
4210
|
/**
|
|
3438
4211
|
* total aggregated sum of function builds storage.
|
|
3439
4212
|
*/
|
|
@@ -3442,6 +4215,10 @@ export namespace Models {
|
|
|
3442
4215
|
* Total aggregated sum of function builds compute time.
|
|
3443
4216
|
*/
|
|
3444
4217
|
buildsTimeTotal: number;
|
|
4218
|
+
/**
|
|
4219
|
+
* Average builds compute time.
|
|
4220
|
+
*/
|
|
4221
|
+
buildsTimeAverage: number;
|
|
3445
4222
|
/**
|
|
3446
4223
|
* Total aggregated sum of function builds mbSeconds.
|
|
3447
4224
|
*/
|
|
@@ -3494,6 +4271,38 @@ export namespace Models {
|
|
|
3494
4271
|
* Aggregated number of function mbSeconds per period.
|
|
3495
4272
|
*/
|
|
3496
4273
|
executionsMbSeconds: Metric[];
|
|
4274
|
+
/**
|
|
4275
|
+
* Aggregated number of successful builds per period.
|
|
4276
|
+
*/
|
|
4277
|
+
buildsSuccess: Metric[];
|
|
4278
|
+
/**
|
|
4279
|
+
* Aggregated number of failed builds per period.
|
|
4280
|
+
*/
|
|
4281
|
+
buildsFailed: Metric[];
|
|
4282
|
+
/**
|
|
4283
|
+
* Total aggregated number of requests.
|
|
4284
|
+
*/
|
|
4285
|
+
requestsTotal: number;
|
|
4286
|
+
/**
|
|
4287
|
+
* Aggregated number of requests per period.
|
|
4288
|
+
*/
|
|
4289
|
+
requests: Metric[];
|
|
4290
|
+
/**
|
|
4291
|
+
* Total aggregated inbound bandwidth.
|
|
4292
|
+
*/
|
|
4293
|
+
inboundTotal: number;
|
|
4294
|
+
/**
|
|
4295
|
+
* Aggregated number of inbound bandwidth per period.
|
|
4296
|
+
*/
|
|
4297
|
+
inbound: Metric[];
|
|
4298
|
+
/**
|
|
4299
|
+
* Total aggregated outbound bandwidth.
|
|
4300
|
+
*/
|
|
4301
|
+
outboundTotal: number;
|
|
4302
|
+
/**
|
|
4303
|
+
* Aggregated number of outbound bandwidth per period.
|
|
4304
|
+
*/
|
|
4305
|
+
outbound: Metric[];
|
|
3497
4306
|
}
|
|
3498
4307
|
/**
|
|
3499
4308
|
* UsageProject
|
|
@@ -3548,11 +4357,11 @@ export namespace Models {
|
|
|
3548
4357
|
*/
|
|
3549
4358
|
buildsMbSecondsTotal: number;
|
|
3550
4359
|
/**
|
|
3551
|
-
*
|
|
4360
|
+
* Aggregated stats for total databases reads.
|
|
3552
4361
|
*/
|
|
3553
4362
|
databasesReadsTotal: number;
|
|
3554
4363
|
/**
|
|
3555
|
-
*
|
|
4364
|
+
* Aggregated stats for total databases writes.
|
|
3556
4365
|
*/
|
|
3557
4366
|
databasesWritesTotal: number;
|
|
3558
4367
|
/**
|
|
@@ -3596,11 +4405,11 @@ export namespace Models {
|
|
|
3596
4405
|
*/
|
|
3597
4406
|
functionsStorageBreakdown: MetricBreakdown[];
|
|
3598
4407
|
/**
|
|
3599
|
-
*
|
|
4408
|
+
* Aggregated stats for total auth phone.
|
|
3600
4409
|
*/
|
|
3601
4410
|
authPhoneTotal: number;
|
|
3602
4411
|
/**
|
|
3603
|
-
*
|
|
4412
|
+
* Aggregated stats for total auth phone estimation.
|
|
3604
4413
|
*/
|
|
3605
4414
|
authPhoneEstimate: number;
|
|
3606
4415
|
/**
|
|
@@ -3608,11 +4417,11 @@ export namespace Models {
|
|
|
3608
4417
|
*/
|
|
3609
4418
|
authPhoneCountryBreakdown: MetricBreakdown[];
|
|
3610
4419
|
/**
|
|
3611
|
-
*
|
|
4420
|
+
* Aggregated stats for database reads.
|
|
3612
4421
|
*/
|
|
3613
4422
|
databasesReads: Metric[];
|
|
3614
4423
|
/**
|
|
3615
|
-
*
|
|
4424
|
+
* Aggregated stats for database writes.
|
|
3616
4425
|
*/
|
|
3617
4426
|
databasesWrites: Metric[];
|
|
3618
4427
|
/**
|
|
@@ -3623,6 +4432,14 @@ export namespace Models {
|
|
|
3623
4432
|
* Total aggregated number of image transformations.
|
|
3624
4433
|
*/
|
|
3625
4434
|
imageTransformationsTotal: number;
|
|
4435
|
+
/**
|
|
4436
|
+
* Aggregated stats for total network bandwidth.
|
|
4437
|
+
*/
|
|
4438
|
+
networkTotal: number;
|
|
4439
|
+
/**
|
|
4440
|
+
* Aggregated stats for total backups storage.
|
|
4441
|
+
*/
|
|
4442
|
+
backupsStorageTotal: number;
|
|
3626
4443
|
}
|
|
3627
4444
|
/**
|
|
3628
4445
|
* Headers
|
|
@@ -3679,13 +4496,37 @@ export namespace Models {
|
|
|
3679
4496
|
*/
|
|
3680
4497
|
domain: string;
|
|
3681
4498
|
/**
|
|
3682
|
-
* Action definition for the rule. Possible values are "api", "
|
|
4499
|
+
* Action definition for the rule. Possible values are "api", "deployment", or "redirect"
|
|
3683
4500
|
*/
|
|
3684
|
-
|
|
4501
|
+
type: string;
|
|
3685
4502
|
/**
|
|
3686
|
-
*
|
|
4503
|
+
* Defines how the rule was created. Possible values are "manual" or "deployment"
|
|
3687
4504
|
*/
|
|
3688
|
-
|
|
4505
|
+
trigger: string;
|
|
4506
|
+
/**
|
|
4507
|
+
* URL to redirect to. Used if type is "redirect"
|
|
4508
|
+
*/
|
|
4509
|
+
redirectUrl: string;
|
|
4510
|
+
/**
|
|
4511
|
+
* Status code to apply during redirect. Used if type is "redirect"
|
|
4512
|
+
*/
|
|
4513
|
+
redirectStatusCode: number;
|
|
4514
|
+
/**
|
|
4515
|
+
* ID of deployment. Used if type is "deployment"
|
|
4516
|
+
*/
|
|
4517
|
+
deploymentId: string;
|
|
4518
|
+
/**
|
|
4519
|
+
* Type of deployment. Possible values are "function", "site". Used if rule's type is "deployment".
|
|
4520
|
+
*/
|
|
4521
|
+
deploymentResourceType: string;
|
|
4522
|
+
/**
|
|
4523
|
+
* ID deployment's resource. Used if type is "deployment"
|
|
4524
|
+
*/
|
|
4525
|
+
deploymentResourceId: string;
|
|
4526
|
+
/**
|
|
4527
|
+
* Name of Git branch that updates rule. Used if type is "deployment"
|
|
4528
|
+
*/
|
|
4529
|
+
deploymentVcsProviderBranch: string;
|
|
3689
4530
|
/**
|
|
3690
4531
|
* Domain verification status. Possible values are "created", "verifying", "verified" and "unverified"
|
|
3691
4532
|
*/
|
|
@@ -3756,7 +4597,15 @@ export namespace Models {
|
|
|
3756
4597
|
/**
|
|
3757
4598
|
* CNAME target for your Appwrite custom domains.
|
|
3758
4599
|
*/
|
|
3759
|
-
|
|
4600
|
+
_APP_DOMAIN_TARGET_CNAME: string;
|
|
4601
|
+
/**
|
|
4602
|
+
* A target for your Appwrite custom domains.
|
|
4603
|
+
*/
|
|
4604
|
+
_APP_DOMAIN_TARGET_A: string;
|
|
4605
|
+
/**
|
|
4606
|
+
* AAAA target for your Appwrite custom domains.
|
|
4607
|
+
*/
|
|
4608
|
+
_APP_DOMAIN_TARGET_AAAA: string;
|
|
3760
4609
|
/**
|
|
3761
4610
|
* Maximum file size allowed for file upload in bytes.
|
|
3762
4611
|
*/
|
|
@@ -3764,7 +4613,7 @@ export namespace Models {
|
|
|
3764
4613
|
/**
|
|
3765
4614
|
* Maximum file size allowed for deployment in bytes.
|
|
3766
4615
|
*/
|
|
3767
|
-
|
|
4616
|
+
_APP_COMPUTE_SIZE_LIMIT: number;
|
|
3768
4617
|
/**
|
|
3769
4618
|
* 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
4619
|
*/
|
|
@@ -3781,6 +4630,22 @@ export namespace Models {
|
|
|
3781
4630
|
* Defines if AI assistant is enabled.
|
|
3782
4631
|
*/
|
|
3783
4632
|
_APP_ASSISTANT_ENABLED: boolean;
|
|
4633
|
+
/**
|
|
4634
|
+
* A domain to use for site URLs.
|
|
4635
|
+
*/
|
|
4636
|
+
_APP_DOMAIN_SITES: string;
|
|
4637
|
+
/**
|
|
4638
|
+
* A domain to use for function URLs.
|
|
4639
|
+
*/
|
|
4640
|
+
_APP_DOMAIN_FUNCTIONS: string;
|
|
4641
|
+
/**
|
|
4642
|
+
* Defines if HTTPS is enforced for all requests.
|
|
4643
|
+
*/
|
|
4644
|
+
_APP_OPTIONS_FORCE_HTTPS: string;
|
|
4645
|
+
/**
|
|
4646
|
+
* Comma-separated list of nameservers.
|
|
4647
|
+
*/
|
|
4648
|
+
_APP_DOMAINS_NAMESERVERS: string;
|
|
3784
4649
|
}
|
|
3785
4650
|
/**
|
|
3786
4651
|
* MFA Challenge
|
|
@@ -4099,6 +4964,10 @@ export namespace Models {
|
|
|
4099
4964
|
* Resources to migrate.
|
|
4100
4965
|
*/
|
|
4101
4966
|
resources: string[];
|
|
4967
|
+
/**
|
|
4968
|
+
* Id of the resource to migrate.
|
|
4969
|
+
*/
|
|
4970
|
+
resourceId: string;
|
|
4102
4971
|
/**
|
|
4103
4972
|
* A group of counters that represent the total progress of the migration.
|
|
4104
4973
|
*/
|
|
@@ -4465,6 +5334,10 @@ export namespace Models {
|
|
|
4465
5334
|
* Addons
|
|
4466
5335
|
*/
|
|
4467
5336
|
addons: BillingPlanAddon;
|
|
5337
|
+
/**
|
|
5338
|
+
* Budget cap enabled or disabled.
|
|
5339
|
+
*/
|
|
5340
|
+
budgetCapEnabled: boolean;
|
|
4468
5341
|
/**
|
|
4469
5342
|
* Custom SMTP
|
|
4470
5343
|
*/
|
|
@@ -4513,6 +5386,14 @@ export namespace Models {
|
|
|
4513
5386
|
* How many policies does plan support
|
|
4514
5387
|
*/
|
|
4515
5388
|
backupPolicies: number;
|
|
5389
|
+
/**
|
|
5390
|
+
* Maximum function and site deployment size in MB
|
|
5391
|
+
*/
|
|
5392
|
+
deploymentSize: number;
|
|
5393
|
+
/**
|
|
5394
|
+
* Maximum function and site deployment size in MB
|
|
5395
|
+
*/
|
|
5396
|
+
buildSize: number;
|
|
4516
5397
|
}
|
|
4517
5398
|
/**
|
|
4518
5399
|
* BillingPlanAddon
|
|
@@ -5106,7 +5987,11 @@ export namespace Models {
|
|
|
5106
5987
|
*/
|
|
5107
5988
|
name: string;
|
|
5108
5989
|
/**
|
|
5109
|
-
*
|
|
5990
|
+
* Does the organization have access to this region.
|
|
5991
|
+
*/
|
|
5992
|
+
available: boolean;
|
|
5993
|
+
/**
|
|
5994
|
+
* Does the backend support this region.
|
|
5110
5995
|
*/
|
|
5111
5996
|
disabled: boolean;
|
|
5112
5997
|
/**
|
|
@@ -5202,138 +6087,110 @@ export namespace Models {
|
|
|
5202
6087
|
roles: string[];
|
|
5203
6088
|
}
|
|
5204
6089
|
/**
|
|
5205
|
-
*
|
|
6090
|
+
* Domain
|
|
5206
6091
|
*/
|
|
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[];
|
|
6092
|
+
export type Domain = {
|
|
5224
6093
|
/**
|
|
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.
|
|
6094
|
+
* Domain ID.
|
|
5238
6095
|
*/
|
|
5239
|
-
|
|
6096
|
+
$id: string;
|
|
5240
6097
|
/**
|
|
5241
|
-
*
|
|
6098
|
+
* Domain creation time in ISO 8601 format.
|
|
5242
6099
|
*/
|
|
5243
|
-
|
|
6100
|
+
$createdAt: string;
|
|
5244
6101
|
/**
|
|
5245
|
-
*
|
|
6102
|
+
* Domain update date in ISO 8601 format.
|
|
5246
6103
|
*/
|
|
5247
|
-
|
|
6104
|
+
$updatedAt: string;
|
|
5248
6105
|
/**
|
|
5249
|
-
*
|
|
6106
|
+
* Domain name.
|
|
5250
6107
|
*/
|
|
5251
|
-
|
|
6108
|
+
domain: string;
|
|
5252
6109
|
/**
|
|
5253
|
-
*
|
|
6110
|
+
* Domain registrar (e.g. "appwrite" or "third_party").
|
|
5254
6111
|
*/
|
|
5255
|
-
|
|
6112
|
+
registrar: string;
|
|
5256
6113
|
/**
|
|
5257
|
-
*
|
|
6114
|
+
* Nameservers setting. "Appwrite" or empty string.
|
|
5258
6115
|
*/
|
|
5259
|
-
|
|
6116
|
+
nameservers: string;
|
|
5260
6117
|
/**
|
|
5261
|
-
*
|
|
6118
|
+
* Domain expiry date in ISO 8601 format.
|
|
5262
6119
|
*/
|
|
5263
|
-
|
|
6120
|
+
expire: string;
|
|
5264
6121
|
/**
|
|
5265
|
-
*
|
|
6122
|
+
* Domain renewal date in ISO 8601 format.
|
|
5266
6123
|
*/
|
|
5267
|
-
|
|
6124
|
+
renewal: string;
|
|
5268
6125
|
/**
|
|
5269
|
-
*
|
|
6126
|
+
* If set to true, the domain will automatically renew.
|
|
5270
6127
|
*/
|
|
5271
|
-
|
|
6128
|
+
autoRenewal: boolean;
|
|
5272
6129
|
/**
|
|
5273
|
-
*
|
|
6130
|
+
* Renewal price (in USD).
|
|
5274
6131
|
*/
|
|
5275
|
-
|
|
6132
|
+
renewalPrice: number;
|
|
5276
6133
|
/**
|
|
5277
|
-
*
|
|
6134
|
+
* Team ID.
|
|
5278
6135
|
*/
|
|
5279
|
-
|
|
6136
|
+
teamId: string;
|
|
5280
6137
|
/**
|
|
5281
|
-
*
|
|
6138
|
+
* Dns records
|
|
5282
6139
|
*/
|
|
5283
|
-
|
|
6140
|
+
dnsRecords: DnsRecord[];
|
|
6141
|
+
}
|
|
6142
|
+
/**
|
|
6143
|
+
* DNSRecord
|
|
6144
|
+
*/
|
|
6145
|
+
export type DnsRecord = {
|
|
5284
6146
|
/**
|
|
5285
|
-
*
|
|
6147
|
+
* DNS Record ID.
|
|
5286
6148
|
*/
|
|
5287
|
-
|
|
6149
|
+
$id: string;
|
|
5288
6150
|
/**
|
|
5289
|
-
*
|
|
6151
|
+
* DNS Record creation time in ISO 8601 format.
|
|
5290
6152
|
*/
|
|
5291
|
-
|
|
6153
|
+
$createdAt: string;
|
|
5292
6154
|
/**
|
|
5293
|
-
*
|
|
6155
|
+
* DNS Record update date in ISO 8601 format.
|
|
5294
6156
|
*/
|
|
5295
|
-
|
|
5296
|
-
}
|
|
5297
|
-
/**
|
|
5298
|
-
* UsageOrganizationProject
|
|
5299
|
-
*/
|
|
5300
|
-
export type UsageOrganizationProject = {
|
|
6157
|
+
$updatedAt: string;
|
|
5301
6158
|
/**
|
|
5302
|
-
*
|
|
6159
|
+
* DNS record type (e.g. A, CNAME, MX).
|
|
5303
6160
|
*/
|
|
5304
|
-
|
|
6161
|
+
type: string;
|
|
5305
6162
|
/**
|
|
5306
|
-
*
|
|
6163
|
+
* Record name or subdomain.
|
|
5307
6164
|
*/
|
|
5308
|
-
|
|
6165
|
+
name: string;
|
|
5309
6166
|
/**
|
|
5310
|
-
*
|
|
6167
|
+
* Value of the record (IP address, domain, etc.).
|
|
5311
6168
|
*/
|
|
5312
|
-
|
|
6169
|
+
value: string;
|
|
5313
6170
|
/**
|
|
5314
|
-
*
|
|
6171
|
+
* Time to live (in seconds).
|
|
5315
6172
|
*/
|
|
5316
|
-
|
|
6173
|
+
ttl: number;
|
|
5317
6174
|
/**
|
|
5318
|
-
*
|
|
6175
|
+
* Record priority (commonly used for MX).
|
|
5319
6176
|
*/
|
|
5320
|
-
|
|
6177
|
+
priority: number;
|
|
5321
6178
|
/**
|
|
5322
|
-
*
|
|
6179
|
+
* Whether this record is locked (read-only).
|
|
5323
6180
|
*/
|
|
5324
|
-
|
|
6181
|
+
lock: boolean;
|
|
5325
6182
|
/**
|
|
5326
|
-
*
|
|
6183
|
+
* Record weight (used for SRV records).
|
|
5327
6184
|
*/
|
|
5328
|
-
|
|
6185
|
+
weight: number;
|
|
5329
6186
|
/**
|
|
5330
|
-
*
|
|
6187
|
+
* Target port (used for SRV records).
|
|
5331
6188
|
*/
|
|
5332
|
-
|
|
6189
|
+
port: number;
|
|
5333
6190
|
/**
|
|
5334
|
-
*
|
|
6191
|
+
* Comment for the DNS record.
|
|
5335
6192
|
*/
|
|
5336
|
-
|
|
6193
|
+
comment: string;
|
|
5337
6194
|
}
|
|
5338
6195
|
/**
|
|
5339
6196
|
* UsageInvoice
|
|
@@ -5450,7 +6307,7 @@ export namespace Models {
|
|
|
5450
6307
|
restorations: BackupRestoration[];
|
|
5451
6308
|
}
|
|
5452
6309
|
/**
|
|
5453
|
-
* Billing
|
|
6310
|
+
* Billing invoices list
|
|
5454
6311
|
*/
|
|
5455
6312
|
export type InvoiceList = {
|
|
5456
6313
|
/**
|
|
@@ -5502,7 +6359,7 @@ export namespace Models {
|
|
|
5502
6359
|
teams: Organization<Preferences>[];
|
|
5503
6360
|
}
|
|
5504
6361
|
/**
|
|
5505
|
-
* Payment
|
|
6362
|
+
* Payment methods list
|
|
5506
6363
|
*/
|
|
5507
6364
|
export type PaymentMethodList = {
|
|
5508
6365
|
/**
|
|
@@ -5527,4 +6384,30 @@ export namespace Models {
|
|
|
5527
6384
|
*/
|
|
5528
6385
|
regions: ConsoleRegion[];
|
|
5529
6386
|
}
|
|
6387
|
+
/**
|
|
6388
|
+
* Domains list
|
|
6389
|
+
*/
|
|
6390
|
+
export type DomainsList = {
|
|
6391
|
+
/**
|
|
6392
|
+
* Total number of domains documents that matched your query.
|
|
6393
|
+
*/
|
|
6394
|
+
total: number;
|
|
6395
|
+
/**
|
|
6396
|
+
* List of domains.
|
|
6397
|
+
*/
|
|
6398
|
+
domains: Domain[];
|
|
6399
|
+
}
|
|
6400
|
+
/**
|
|
6401
|
+
* DNS records list
|
|
6402
|
+
*/
|
|
6403
|
+
export type DnsRecordsList = {
|
|
6404
|
+
/**
|
|
6405
|
+
* Total number of dnsRecords documents that matched your query.
|
|
6406
|
+
*/
|
|
6407
|
+
total: number;
|
|
6408
|
+
/**
|
|
6409
|
+
* List of dnsRecords.
|
|
6410
|
+
*/
|
|
6411
|
+
dnsRecords: DnsRecord[];
|
|
6412
|
+
}
|
|
5530
6413
|
}
|