@appwrite.io/console 1.9.0 → 2.0.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/.github/workflows/publish.yml +9 -8
- package/CHANGELOG.md +51 -6
- package/LICENSE +1 -1
- package/README.md +84 -4
- package/dist/cjs/sdk.js +15258 -6036
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +15256 -6037
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +15258 -6036
- package/docs/examples/account/create-billing-address.md +8 -8
- package/docs/examples/account/create-email-password-session.md +4 -4
- package/docs/examples/account/create-email-token.md +5 -5
- package/docs/examples/account/{update-magic-u-r-l-session.md → create-email-verification.md} +3 -4
- package/docs/examples/account/{update-m-f-a.md → create-jwt.md} +3 -3
- package/docs/examples/account/{create-magic-u-r-l-token.md → create-magic-url-token.md} +6 -6
- package/docs/examples/account/create-mfa-authenticator.md +3 -3
- package/docs/examples/account/create-mfa-challenge.md +3 -3
- package/docs/examples/account/create-mfa-recovery-codes.md +1 -1
- package/docs/examples/account/{create-o-auth2token.md → create-o-auth-2-session.md} +6 -6
- package/docs/examples/account/{create-o-auth2session.md → create-o-auth-2-token.md} +6 -6
- package/docs/examples/account/create-phone-token.md +4 -4
- package/docs/examples/account/create-push-target.md +5 -5
- package/docs/examples/account/create-recovery.md +4 -4
- package/docs/examples/account/create-session.md +4 -4
- package/docs/examples/account/create-verification.md +3 -3
- package/docs/examples/account/create.md +6 -6
- package/docs/examples/account/delete-billing-address.md +3 -3
- package/docs/examples/account/delete-identity.md +3 -3
- package/docs/examples/account/delete-mfa-authenticator.md +3 -3
- package/docs/examples/account/delete-payment-method.md +3 -3
- package/docs/examples/account/delete-push-target.md +3 -3
- package/docs/examples/account/delete-session.md +3 -3
- package/docs/examples/account/get-billing-address.md +3 -3
- package/docs/examples/account/get-coupon.md +3 -3
- package/docs/examples/account/get-mfa-recovery-codes.md +1 -1
- package/docs/examples/account/get-payment-method.md +3 -3
- package/docs/examples/account/get-session.md +3 -3
- package/docs/examples/account/list-billing-addresses.md +3 -3
- package/docs/examples/account/list-identities.md +4 -3
- package/docs/examples/account/list-invoices.md +3 -3
- package/docs/examples/account/list-logs.md +4 -3
- package/docs/examples/account/list-mfa-factors.md +1 -1
- package/docs/examples/account/list-payment-methods.md +3 -3
- package/docs/examples/account/update-billing-address.md +9 -9
- package/docs/examples/account/update-email-verification.md +14 -0
- package/docs/examples/account/update-email.md +4 -4
- package/docs/examples/account/update-magic-url-session.md +14 -0
- package/docs/examples/account/update-mfa-authenticator.md +4 -4
- package/docs/examples/account/update-mfa-challenge.md +4 -4
- package/docs/examples/account/update-mfa-recovery-codes.md +1 -1
- package/docs/examples/account/{create-j-w-t.md → update-mfa.md} +3 -1
- package/docs/examples/account/update-name.md +3 -3
- package/docs/examples/account/update-password.md +4 -4
- package/docs/examples/account/update-payment-method-mandate-options.md +3 -3
- package/docs/examples/account/update-payment-method-provider.md +6 -5
- package/docs/examples/account/update-payment-method.md +6 -5
- package/docs/examples/account/update-phone-session.md +4 -4
- package/docs/examples/account/update-phone-verification.md +4 -4
- package/docs/examples/account/update-phone.md +4 -4
- package/docs/examples/account/update-prefs.md +7 -3
- package/docs/examples/account/update-push-target.md +4 -4
- package/docs/examples/account/update-recovery.md +5 -5
- package/docs/examples/account/update-session.md +3 -3
- package/docs/examples/account/update-verification.md +4 -4
- package/docs/examples/assistant/chat.md +3 -3
- package/docs/examples/avatars/get-browser.md +6 -6
- package/docs/examples/avatars/get-credit-card.md +6 -6
- package/docs/examples/avatars/get-favicon.md +3 -3
- package/docs/examples/avatars/get-flag.md +6 -6
- package/docs/examples/avatars/get-image.md +5 -5
- package/docs/examples/avatars/get-initials.md +6 -6
- package/docs/examples/avatars/{get-q-r.md → get-qr.md} +6 -6
- package/docs/examples/avatars/get-screenshot.md +35 -0
- package/docs/examples/backups/create-archive.md +4 -4
- package/docs/examples/backups/create-policy.md +9 -9
- package/docs/examples/backups/create-restoration.md +6 -6
- package/docs/examples/backups/delete-archive.md +3 -3
- package/docs/examples/backups/delete-policy.md +3 -3
- package/docs/examples/backups/get-archive.md +3 -3
- package/docs/examples/backups/get-policy.md +3 -3
- package/docs/examples/backups/get-restoration.md +3 -3
- package/docs/examples/backups/list-archives.md +3 -3
- package/docs/examples/backups/list-policies.md +3 -3
- package/docs/examples/backups/list-restorations.md +3 -3
- package/docs/examples/backups/update-policy.md +7 -7
- package/docs/examples/console/create-program-membership.md +3 -3
- package/docs/examples/console/create-source.md +7 -7
- package/docs/examples/console/get-campaign.md +3 -3
- package/docs/examples/console/get-coupon.md +3 -3
- package/docs/examples/console/{plans.md → get-plan.md} +3 -1
- package/docs/examples/console/get-plans.md +13 -0
- package/docs/examples/console/{regions.md → get-program.md} +3 -1
- package/docs/examples/console/get-regions.md +13 -0
- package/docs/examples/console/get-resource.md +4 -4
- package/docs/examples/console/suggest-columns.md +17 -0
- package/docs/examples/console/suggest-indexes.md +16 -0
- package/docs/examples/databases/create-boolean-attribute.md +8 -8
- package/docs/examples/databases/create-collection.md +11 -9
- package/docs/examples/databases/create-datetime-attribute.md +8 -8
- package/docs/examples/databases/create-document.md +16 -11
- package/docs/examples/databases/create-documents.md +7 -6
- package/docs/examples/databases/create-email-attribute.md +8 -8
- package/docs/examples/databases/create-enum-attribute.md +9 -9
- package/docs/examples/databases/create-float-attribute.md +10 -10
- package/docs/examples/databases/create-index.md +9 -9
- package/docs/examples/databases/create-integer-attribute.md +10 -10
- package/docs/examples/databases/create-ip-attribute.md +8 -8
- package/docs/examples/databases/create-line-attribute.md +17 -0
- package/docs/examples/databases/create-operations.md +24 -0
- package/docs/examples/databases/create-point-attribute.md +17 -0
- package/docs/examples/databases/create-polygon-attribute.md +17 -0
- package/docs/examples/databases/create-relationship-attribute.md +10 -10
- package/docs/examples/databases/create-string-attribute.md +10 -10
- package/docs/examples/databases/create-transaction.md +13 -0
- package/docs/examples/databases/create-url-attribute.md +8 -8
- package/docs/examples/databases/create.md +5 -5
- package/docs/examples/databases/decrement-document-attribute.md +9 -8
- package/docs/examples/databases/delete-attribute.md +5 -5
- package/docs/examples/databases/delete-collection.md +4 -4
- package/docs/examples/databases/delete-document.md +6 -5
- package/docs/examples/databases/delete-documents.md +6 -5
- package/docs/examples/databases/delete-index.md +5 -5
- package/docs/examples/databases/{get-database-usage.md → delete-transaction.md} +4 -5
- package/docs/examples/databases/delete.md +3 -3
- package/docs/examples/databases/get-attribute.md +5 -5
- package/docs/examples/databases/get-collection-usage.md +6 -6
- package/docs/examples/databases/get-collection.md +4 -4
- package/docs/examples/databases/get-document.md +7 -6
- package/docs/examples/databases/get-index.md +5 -5
- package/docs/examples/databases/get-transaction.md +13 -0
- package/docs/examples/databases/get-usage.md +5 -4
- package/docs/examples/databases/get.md +3 -3
- package/docs/examples/databases/increment-document-attribute.md +9 -8
- package/docs/examples/databases/list-attributes.md +6 -5
- package/docs/examples/databases/list-collection-logs.md +5 -5
- package/docs/examples/databases/list-collections.md +6 -5
- package/docs/examples/databases/list-document-logs.md +6 -6
- package/docs/examples/databases/list-documents.md +7 -5
- package/docs/examples/databases/list-indexes.md +6 -5
- package/docs/examples/databases/list-logs.md +4 -4
- package/docs/examples/databases/list-transactions.md +13 -0
- package/docs/examples/databases/list-usage.md +13 -0
- package/docs/examples/databases/list.md +5 -4
- package/docs/examples/databases/update-boolean-attribute.md +8 -8
- package/docs/examples/databases/update-collection.md +9 -9
- package/docs/examples/databases/update-datetime-attribute.md +8 -8
- package/docs/examples/databases/update-document.md +15 -8
- package/docs/examples/databases/update-documents.md +13 -6
- package/docs/examples/databases/update-email-attribute.md +8 -8
- package/docs/examples/databases/update-enum-attribute.md +9 -9
- package/docs/examples/databases/update-float-attribute.md +10 -10
- package/docs/examples/databases/update-integer-attribute.md +10 -10
- package/docs/examples/databases/update-ip-attribute.md +8 -8
- package/docs/examples/databases/update-line-attribute.md +18 -0
- package/docs/examples/databases/update-point-attribute.md +18 -0
- package/docs/examples/databases/update-polygon-attribute.md +18 -0
- package/docs/examples/databases/update-relationship-attribute.md +7 -7
- package/docs/examples/databases/update-string-attribute.md +9 -9
- package/docs/examples/databases/update-transaction.md +15 -0
- package/docs/examples/databases/update-url-attribute.md +8 -8
- package/docs/examples/databases/update.md +5 -5
- package/docs/examples/databases/upsert-document.md +15 -8
- package/docs/examples/databases/upsert-documents.md +6 -5
- package/docs/examples/domains/create-preset-google-workspace.md +3 -3
- package/docs/examples/domains/create-preset-i-cloud.md +3 -3
- package/docs/examples/domains/create-preset-mailgun.md +3 -3
- package/docs/examples/domains/create-preset-outlook.md +3 -3
- package/docs/examples/domains/create-preset-proton-mail.md +3 -3
- package/docs/examples/domains/create-preset-zoho.md +3 -3
- package/docs/examples/domains/create-record-a.md +7 -7
- package/docs/examples/domains/{create-record-a-a-a-a.md → create-record-aaaa.md} +7 -7
- package/docs/examples/domains/create-record-alias.md +7 -7
- package/docs/examples/domains/{create-record-n-s.md → create-record-caa.md} +7 -7
- package/docs/examples/domains/{create-record-c-a-a.md → create-record-cname.md} +7 -7
- package/docs/examples/domains/{create-record-h-t-t-p-s.md → create-record-https.md} +7 -7
- package/docs/examples/domains/create-record-mx.md +18 -0
- package/docs/examples/domains/create-record-ns.md +17 -0
- package/docs/examples/domains/create-record-srv.md +20 -0
- package/docs/examples/domains/{create-record-c-n-a-m-e.md → create-record-txt.md} +7 -7
- package/docs/examples/domains/create.md +4 -4
- package/docs/examples/domains/delete-record.md +4 -4
- package/docs/examples/domains/delete.md +3 -3
- package/docs/examples/domains/get-preset-google-workspace.md +3 -3
- package/docs/examples/domains/get-preset-i-cloud.md +3 -3
- package/docs/examples/domains/get-preset-mailgun.md +3 -3
- package/docs/examples/domains/get-preset-outlook.md +3 -3
- package/docs/examples/domains/get-preset-proton-mail.md +3 -3
- package/docs/examples/domains/get-preset-zoho.md +3 -3
- package/docs/examples/domains/get-record.md +4 -4
- package/docs/examples/domains/get-zone.md +3 -3
- package/docs/examples/domains/get.md +3 -3
- package/docs/examples/domains/list-records.md +4 -4
- package/docs/examples/domains/list.md +4 -4
- package/docs/examples/domains/update-nameservers.md +3 -3
- package/docs/examples/domains/update-record-a.md +8 -8
- package/docs/examples/domains/update-record-aaaa.md +18 -0
- package/docs/examples/domains/update-record-alias.md +8 -8
- package/docs/examples/domains/update-record-caa.md +18 -0
- package/docs/examples/domains/update-record-cname.md +18 -0
- package/docs/examples/domains/update-record-https.md +18 -0
- package/docs/examples/domains/update-record-mx.md +19 -0
- package/docs/examples/domains/update-record-ns.md +18 -0
- package/docs/examples/domains/update-record-srv.md +21 -0
- package/docs/examples/domains/update-record-txt.md +18 -0
- package/docs/examples/domains/update-team.md +4 -4
- package/docs/examples/domains/update-zone.md +4 -4
- package/docs/examples/functions/create-deployment.md +7 -7
- package/docs/examples/functions/create-duplicate-deployment.md +5 -5
- package/docs/examples/functions/create-execution.md +9 -9
- package/docs/examples/functions/create-template-deployment.md +10 -9
- package/docs/examples/functions/create-variable.md +6 -6
- package/docs/examples/functions/create-vcs-deployment.md +7 -7
- package/docs/examples/functions/create.md +21 -21
- package/docs/examples/functions/delete-deployment.md +4 -4
- package/docs/examples/functions/delete-execution.md +4 -4
- package/docs/examples/functions/delete-variable.md +4 -4
- package/docs/examples/functions/delete.md +3 -3
- package/docs/examples/functions/get-deployment-download.md +5 -5
- package/docs/examples/functions/get-deployment.md +4 -4
- package/docs/examples/functions/get-execution.md +4 -4
- package/docs/examples/functions/get-template.md +3 -3
- package/docs/examples/functions/get-usage.md +5 -5
- package/docs/examples/functions/get-variable.md +4 -4
- package/docs/examples/functions/get.md +3 -3
- package/docs/examples/functions/list-deployments.md +6 -5
- package/docs/examples/functions/list-executions.md +5 -4
- package/docs/examples/functions/list-templates.md +7 -6
- package/docs/examples/functions/list-usage.md +4 -4
- package/docs/examples/functions/list-variables.md +3 -3
- package/docs/examples/functions/list.md +5 -4
- package/docs/examples/functions/update-deployment-status.md +4 -4
- package/docs/examples/functions/update-function-deployment.md +4 -4
- package/docs/examples/functions/update-variable.md +7 -7
- package/docs/examples/functions/update.md +21 -21
- package/docs/examples/graphql/mutation.md +3 -3
- package/docs/examples/graphql/query.md +3 -3
- package/docs/examples/health/get-certificate.md +3 -3
- package/docs/examples/health/get-failed-jobs.md +5 -5
- package/docs/examples/health/get-queue-billing-project-aggregation.md +3 -3
- package/docs/examples/health/get-queue-billing-team-aggregation.md +3 -3
- package/docs/examples/health/get-queue-builds.md +3 -3
- package/docs/examples/health/get-queue-certificates.md +3 -3
- package/docs/examples/health/get-queue-databases.md +4 -4
- package/docs/examples/health/get-queue-deletes.md +3 -3
- package/docs/examples/health/get-queue-functions.md +3 -3
- package/docs/examples/health/get-queue-logs.md +3 -3
- package/docs/examples/health/get-queue-mails.md +3 -3
- package/docs/examples/health/get-queue-messaging.md +3 -3
- package/docs/examples/health/get-queue-migrations.md +3 -3
- package/docs/examples/health/get-queue-priority-builds.md +3 -3
- package/docs/examples/health/get-queue-region-manager.md +3 -3
- package/docs/examples/health/get-queue-stats-resources.md +3 -3
- package/docs/examples/health/get-queue-threats.md +13 -0
- package/docs/examples/health/get-queue-usage.md +3 -3
- package/docs/examples/health/get-queue-webhooks.md +3 -3
- package/docs/examples/messaging/create-apns-provider.md +10 -10
- package/docs/examples/messaging/create-email.md +14 -14
- package/docs/examples/messaging/create-fcm-provider.md +6 -6
- package/docs/examples/messaging/create-mailgun-provider.md +12 -12
- package/docs/examples/messaging/{create-msg91provider.md → create-msg-91-provider.md} +8 -8
- package/docs/examples/messaging/create-push.md +21 -21
- package/docs/examples/messaging/create-resend-provider.md +20 -0
- package/docs/examples/messaging/create-sendgrid-provider.md +10 -10
- package/docs/examples/messaging/create-sms.md +9 -9
- package/docs/examples/messaging/create-smtp-provider.md +16 -16
- package/docs/examples/messaging/create-subscriber.md +5 -5
- package/docs/examples/messaging/create-telesign-provider.md +8 -8
- package/docs/examples/messaging/create-textmagic-provider.md +8 -8
- package/docs/examples/messaging/create-topic.md +5 -5
- package/docs/examples/messaging/create-twilio-provider.md +8 -8
- package/docs/examples/messaging/create-vonage-provider.md +8 -8
- package/docs/examples/messaging/delete-provider.md +3 -3
- package/docs/examples/messaging/delete-subscriber.md +4 -4
- package/docs/examples/messaging/delete-topic.md +3 -3
- package/docs/examples/messaging/delete.md +3 -3
- package/docs/examples/messaging/get-message.md +3 -3
- package/docs/examples/messaging/get-provider.md +3 -3
- package/docs/examples/messaging/get-subscriber.md +4 -4
- package/docs/examples/messaging/get-topic.md +3 -3
- package/docs/examples/messaging/list-message-logs.md +5 -4
- package/docs/examples/messaging/list-messages.md +5 -4
- package/docs/examples/messaging/list-provider-logs.md +5 -4
- package/docs/examples/messaging/list-providers.md +5 -4
- package/docs/examples/messaging/list-subscriber-logs.md +5 -4
- package/docs/examples/messaging/list-subscribers.md +6 -5
- package/docs/examples/messaging/list-targets.md +5 -4
- package/docs/examples/messaging/list-topic-logs.md +5 -4
- package/docs/examples/messaging/list-topics.md +5 -4
- package/docs/examples/messaging/update-apns-provider.md +10 -10
- package/docs/examples/messaging/update-email.md +14 -14
- package/docs/examples/messaging/update-fcm-provider.md +6 -6
- package/docs/examples/messaging/update-mailgun-provider.md +12 -12
- package/docs/examples/messaging/{update-msg91provider.md → update-msg-91-provider.md} +8 -8
- package/docs/examples/messaging/update-push.md +21 -21
- package/docs/examples/messaging/update-resend-provider.md +20 -0
- package/docs/examples/messaging/update-sendgrid-provider.md +10 -10
- package/docs/examples/messaging/update-sms.md +9 -9
- package/docs/examples/messaging/update-smtp-provider.md +16 -16
- package/docs/examples/messaging/update-telesign-provider.md +8 -8
- package/docs/examples/messaging/update-textmagic-provider.md +8 -8
- package/docs/examples/messaging/update-topic.md +5 -5
- package/docs/examples/messaging/update-twilio-provider.md +8 -8
- package/docs/examples/messaging/update-vonage-provider.md +8 -8
- package/docs/examples/migrations/create-appwrite-migration.md +6 -6
- package/docs/examples/migrations/create-csv-export.md +21 -0
- package/docs/examples/migrations/{create-csv-migration.md → create-csv-import.md} +6 -5
- package/docs/examples/migrations/create-firebase-migration.md +4 -4
- package/docs/examples/migrations/create-n-host-migration.md +10 -10
- package/docs/examples/migrations/create-supabase-migration.md +9 -9
- package/docs/examples/migrations/delete.md +3 -3
- package/docs/examples/migrations/get-appwrite-report.md +6 -6
- package/docs/examples/migrations/get-firebase-report.md +4 -4
- package/docs/examples/migrations/get-n-host-report.md +10 -10
- package/docs/examples/migrations/get-supabase-report.md +9 -9
- package/docs/examples/migrations/get.md +3 -3
- package/docs/examples/migrations/list.md +5 -4
- package/docs/examples/migrations/retry.md +3 -3
- package/docs/examples/organizations/add-credit.md +4 -4
- package/docs/examples/organizations/cancel-downgrade.md +3 -3
- package/docs/examples/organizations/create-downgrade-feedback.md +17 -0
- package/docs/examples/organizations/create-invoice-payment.md +5 -5
- package/docs/examples/organizations/create.md +13 -12
- package/docs/examples/organizations/delete-backup-payment-method.md +3 -3
- package/docs/examples/organizations/delete-billing-address.md +3 -3
- package/docs/examples/organizations/delete-default-payment-method.md +3 -3
- package/docs/examples/organizations/delete.md +3 -3
- package/docs/examples/organizations/estimation-create-organization.md +8 -7
- package/docs/examples/organizations/estimation-delete-organization.md +3 -3
- package/docs/examples/organizations/estimation-update-plan.md +7 -7
- package/docs/examples/organizations/get-aggregation.md +6 -4
- package/docs/examples/organizations/get-available-credits.md +13 -0
- package/docs/examples/organizations/get-billing-address.md +4 -4
- package/docs/examples/organizations/get-credit.md +4 -4
- package/docs/examples/organizations/get-invoice-download.md +4 -4
- package/docs/examples/organizations/get-invoice-view.md +4 -4
- package/docs/examples/organizations/get-invoice.md +4 -4
- package/docs/examples/organizations/get-payment-method.md +4 -4
- package/docs/examples/organizations/get-plan.md +3 -3
- package/docs/examples/organizations/get-scopes.md +3 -3
- package/docs/examples/organizations/get-usage.md +5 -5
- package/docs/examples/organizations/list-aggregations.md +4 -4
- package/docs/examples/organizations/list-credits.md +4 -4
- package/docs/examples/organizations/list-invoices.md +4 -4
- package/docs/examples/organizations/list.md +4 -4
- package/docs/examples/organizations/set-backup-payment-method.md +4 -4
- package/docs/examples/organizations/set-billing-address.md +4 -4
- package/docs/examples/organizations/set-billing-email.md +4 -4
- package/docs/examples/organizations/set-billing-tax-id.md +4 -4
- package/docs/examples/organizations/set-default-payment-method.md +4 -4
- package/docs/examples/organizations/update-budget.md +5 -5
- package/docs/examples/organizations/update-plan.md +11 -11
- package/docs/examples/organizations/update-projects.md +14 -0
- package/docs/examples/organizations/validate-invoice.md +4 -4
- package/docs/examples/organizations/validate-payment.md +4 -4
- package/docs/examples/project/create-variable.md +5 -5
- package/docs/examples/project/delete-variable.md +3 -3
- package/docs/examples/project/get-usage.md +5 -5
- package/docs/examples/project/get-variable.md +3 -3
- package/docs/examples/project/update-variable.md +6 -6
- package/docs/examples/projects/create-dev-key.md +5 -5
- package/docs/examples/projects/{create-j-w-t.md → create-jwt.md} +5 -5
- package/docs/examples/projects/create-key.md +6 -6
- package/docs/examples/projects/create-platform.md +8 -8
- package/docs/examples/projects/create-smtp-test.md +12 -12
- package/docs/examples/projects/create-webhook.md +10 -10
- package/docs/examples/projects/create.md +16 -16
- package/docs/examples/projects/delete-dev-key.md +4 -4
- package/docs/examples/projects/delete-email-template.md +5 -5
- package/docs/examples/projects/delete-key.md +4 -4
- package/docs/examples/projects/delete-platform.md +4 -4
- package/docs/examples/projects/delete-sms-template.md +5 -5
- package/docs/examples/projects/delete-webhook.md +4 -4
- package/docs/examples/projects/delete.md +3 -3
- package/docs/examples/projects/get-dev-key.md +4 -4
- package/docs/examples/projects/get-email-template.md +5 -5
- package/docs/examples/projects/get-key.md +4 -4
- package/docs/examples/projects/get-platform.md +4 -4
- package/docs/examples/projects/get-sms-template.md +5 -5
- package/docs/examples/projects/get-webhook.md +4 -4
- package/docs/examples/projects/get.md +3 -3
- package/docs/examples/projects/list-dev-keys.md +4 -4
- package/docs/examples/projects/list-keys.md +4 -3
- package/docs/examples/projects/list-platforms.md +4 -3
- package/docs/examples/projects/list-webhooks.md +4 -3
- package/docs/examples/projects/list.md +5 -4
- package/docs/examples/projects/update-api-status-all.md +4 -4
- package/docs/examples/projects/update-api-status.md +6 -6
- package/docs/examples/projects/update-auth-duration.md +4 -4
- package/docs/examples/projects/update-auth-limit.md +4 -4
- package/docs/examples/projects/update-auth-password-dictionary.md +4 -4
- package/docs/examples/projects/update-auth-password-history.md +4 -4
- package/docs/examples/projects/update-auth-sessions-limit.md +4 -4
- package/docs/examples/projects/update-auth-status.md +5 -5
- package/docs/examples/projects/update-dev-key.md +6 -6
- package/docs/examples/projects/update-email-template.md +10 -10
- package/docs/examples/projects/update-key.md +7 -7
- package/docs/examples/projects/update-memberships-privacy.md +6 -6
- package/docs/examples/projects/update-mock-numbers.md +4 -4
- package/docs/examples/projects/{update-o-auth2.md → update-o-auth-2.md} +7 -7
- package/docs/examples/projects/update-personal-data-check.md +4 -4
- package/docs/examples/projects/update-platform.md +8 -8
- package/docs/examples/projects/update-service-status-all.md +4 -4
- package/docs/examples/projects/update-service-status.md +5 -5
- package/docs/examples/projects/update-session-alerts.md +4 -4
- package/docs/examples/projects/update-session-invalidation.md +14 -0
- package/docs/examples/projects/update-sms-template.md +6 -6
- package/docs/examples/projects/update-smtp.md +12 -12
- package/docs/examples/projects/update-status.md +14 -0
- package/docs/examples/projects/update-team.md +4 -4
- package/docs/examples/projects/update-webhook-signature.md +4 -4
- package/docs/examples/projects/update-webhook.md +11 -11
- package/docs/examples/projects/update.md +13 -13
- package/docs/examples/proxy/{create-a-p-i-rule.md → create-api-rule.md} +3 -3
- package/docs/examples/proxy/create-function-rule.md +5 -5
- package/docs/examples/proxy/create-redirect-rule.md +8 -8
- package/docs/examples/proxy/create-site-rule.md +5 -5
- package/docs/examples/proxy/delete-rule.md +3 -3
- package/docs/examples/proxy/get-rule.md +3 -3
- package/docs/examples/proxy/list-rules.md +5 -4
- package/docs/examples/proxy/update-rule-verification.md +3 -3
- package/docs/examples/sites/create-deployment.md +8 -8
- package/docs/examples/sites/create-duplicate-deployment.md +4 -4
- package/docs/examples/sites/create-template-deployment.md +10 -9
- package/docs/examples/sites/create-variable.md +6 -6
- package/docs/examples/sites/create-vcs-deployment.md +7 -7
- package/docs/examples/sites/create.md +21 -21
- package/docs/examples/sites/delete-deployment.md +4 -4
- package/docs/examples/sites/delete-log.md +4 -4
- package/docs/examples/sites/delete-variable.md +4 -4
- package/docs/examples/sites/delete.md +3 -3
- package/docs/examples/sites/get-deployment-download.md +5 -5
- package/docs/examples/sites/get-deployment.md +4 -4
- package/docs/examples/sites/get-log.md +4 -4
- package/docs/examples/sites/get-template.md +3 -3
- package/docs/examples/sites/get-usage.md +5 -5
- package/docs/examples/sites/get-variable.md +4 -4
- package/docs/examples/sites/get.md +3 -3
- package/docs/examples/sites/list-deployments.md +6 -5
- package/docs/examples/sites/list-logs.md +5 -4
- package/docs/examples/sites/list-templates.md +6 -6
- package/docs/examples/sites/list-usage.md +4 -4
- package/docs/examples/sites/list-variables.md +3 -3
- package/docs/examples/sites/list.md +5 -4
- package/docs/examples/sites/update-deployment-status.md +4 -4
- package/docs/examples/sites/update-site-deployment.md +4 -4
- package/docs/examples/sites/update-variable.md +7 -7
- package/docs/examples/sites/update.md +21 -21
- package/docs/examples/storage/create-bucket.md +14 -13
- package/docs/examples/storage/create-file.md +7 -7
- package/docs/examples/storage/delete-bucket.md +3 -3
- package/docs/examples/storage/delete-file.md +4 -4
- package/docs/examples/storage/get-bucket-usage.md +5 -5
- package/docs/examples/storage/get-bucket.md +3 -3
- package/docs/examples/storage/get-file-download.md +5 -5
- package/docs/examples/storage/get-file-preview.md +16 -16
- package/docs/examples/storage/get-file-view.md +5 -5
- package/docs/examples/storage/get-file.md +4 -4
- package/docs/examples/storage/get-usage.md +4 -4
- package/docs/examples/storage/list-buckets.md +5 -4
- package/docs/examples/storage/list-files.md +6 -5
- package/docs/examples/storage/update-bucket.md +14 -13
- package/docs/examples/storage/update-file.md +7 -7
- package/docs/examples/tablesdb/create-boolean-column.md +18 -0
- package/docs/examples/tablesdb/create-datetime-column.md +18 -0
- package/docs/examples/tablesdb/create-email-column.md +18 -0
- package/docs/examples/tablesdb/create-enum-column.md +19 -0
- package/docs/examples/tablesdb/create-float-column.md +20 -0
- package/docs/examples/tablesdb/create-index.md +19 -0
- package/docs/examples/tablesdb/create-integer-column.md +20 -0
- package/docs/examples/tablesdb/create-ip-column.md +18 -0
- package/docs/examples/tablesdb/create-line-column.md +17 -0
- package/docs/examples/tablesdb/create-operations.md +24 -0
- package/docs/examples/tablesdb/create-point-column.md +17 -0
- package/docs/examples/tablesdb/create-polygon-column.md +17 -0
- package/docs/examples/tablesdb/create-relationship-column.md +20 -0
- package/docs/examples/tablesdb/create-row.md +24 -0
- package/docs/examples/tablesdb/create-rows.md +16 -0
- package/docs/examples/tablesdb/create-string-column.md +20 -0
- package/docs/examples/tablesdb/create-table.md +20 -0
- package/docs/examples/tablesdb/create-transaction.md +13 -0
- package/docs/examples/tablesdb/create-url-column.md +18 -0
- package/docs/examples/tablesdb/create.md +15 -0
- package/docs/examples/tablesdb/decrement-row-column.md +19 -0
- package/docs/examples/tablesdb/delete-column.md +15 -0
- package/docs/examples/tablesdb/delete-index.md +15 -0
- package/docs/examples/tablesdb/delete-row.md +16 -0
- package/docs/examples/tablesdb/delete-rows.md +16 -0
- package/docs/examples/tablesdb/delete-table.md +14 -0
- package/docs/examples/tablesdb/delete-transaction.md +13 -0
- package/docs/examples/tablesdb/delete.md +13 -0
- package/docs/examples/tablesdb/get-column.md +15 -0
- package/docs/examples/tablesdb/get-index.md +15 -0
- package/docs/examples/tablesdb/get-row.md +17 -0
- package/docs/examples/tablesdb/get-table-usage.md +15 -0
- package/docs/examples/tablesdb/get-table.md +14 -0
- package/docs/examples/tablesdb/get-transaction.md +13 -0
- package/docs/examples/tablesdb/get-usage.md +14 -0
- package/docs/examples/tablesdb/get.md +13 -0
- package/docs/examples/tablesdb/increment-row-column.md +19 -0
- package/docs/examples/tablesdb/list-columns.md +16 -0
- package/docs/examples/tablesdb/list-indexes.md +16 -0
- package/docs/examples/tablesdb/list-row-logs.md +16 -0
- package/docs/examples/tablesdb/list-rows.md +17 -0
- package/docs/examples/tablesdb/list-table-logs.md +15 -0
- package/docs/examples/tablesdb/list-tables.md +16 -0
- package/docs/examples/tablesdb/list-transactions.md +13 -0
- package/docs/examples/tablesdb/list-usage.md +13 -0
- package/docs/examples/tablesdb/list.md +15 -0
- package/docs/examples/tablesdb/update-boolean-column.md +18 -0
- package/docs/examples/tablesdb/update-datetime-column.md +18 -0
- package/docs/examples/tablesdb/update-email-column.md +18 -0
- package/docs/examples/tablesdb/update-enum-column.md +19 -0
- package/docs/examples/tablesdb/update-float-column.md +20 -0
- package/docs/examples/tablesdb/update-integer-column.md +20 -0
- package/docs/examples/tablesdb/update-ip-column.md +18 -0
- package/docs/examples/tablesdb/update-line-column.md +18 -0
- package/docs/examples/tablesdb/update-point-column.md +18 -0
- package/docs/examples/tablesdb/update-polygon-column.md +18 -0
- package/docs/examples/tablesdb/update-relationship-column.md +17 -0
- package/docs/examples/tablesdb/update-row.md +24 -0
- package/docs/examples/tablesdb/update-rows.md +23 -0
- package/docs/examples/tablesdb/update-string-column.md +19 -0
- package/docs/examples/tablesdb/update-table.md +18 -0
- package/docs/examples/tablesdb/update-transaction.md +15 -0
- package/docs/examples/tablesdb/update-url-column.md +18 -0
- package/docs/examples/tablesdb/update.md +15 -0
- package/docs/examples/tablesdb/upsert-row.md +24 -0
- package/docs/examples/tablesdb/upsert-rows.md +16 -0
- package/docs/examples/teams/create-membership.md +9 -9
- package/docs/examples/teams/create.md +5 -5
- package/docs/examples/teams/delete-membership.md +4 -4
- package/docs/examples/teams/delete.md +3 -3
- package/docs/examples/teams/get-membership.md +4 -4
- package/docs/examples/teams/get-prefs.md +3 -3
- package/docs/examples/teams/get.md +3 -3
- package/docs/examples/teams/list-logs.md +5 -4
- package/docs/examples/teams/list-memberships.md +6 -5
- package/docs/examples/teams/list.md +5 -4
- package/docs/examples/teams/update-membership-status.md +6 -6
- package/docs/examples/teams/update-membership.md +5 -5
- package/docs/examples/teams/update-name.md +4 -4
- package/docs/examples/teams/update-prefs.md +4 -4
- package/docs/examples/tokens/create-file-token.md +5 -5
- package/docs/examples/tokens/delete.md +3 -3
- package/docs/examples/tokens/get.md +3 -3
- package/docs/examples/tokens/list.md +6 -5
- package/docs/examples/tokens/update.md +4 -4
- package/docs/examples/users/{create-m-d5user.md → create-argon-2-user.md} +6 -6
- package/docs/examples/users/create-bcrypt-user.md +6 -6
- package/docs/examples/users/{create-j-w-t.md → create-jwt.md} +5 -5
- package/docs/examples/users/{create-argon2user.md → create-md-5-user.md} +6 -6
- package/docs/examples/users/create-mfa-recovery-codes.md +3 -3
- package/docs/examples/users/{create-p-h-pass-user.md → create-ph-pass-user.md} +6 -6
- package/docs/examples/users/create-scrypt-modified-user.md +9 -9
- package/docs/examples/users/create-scrypt-user.md +11 -11
- package/docs/examples/users/create-session.md +3 -3
- package/docs/examples/users/{create-s-h-a-user.md → create-sha-user.md} +7 -7
- package/docs/examples/users/create-target.md +8 -8
- package/docs/examples/users/create-token.md +5 -5
- package/docs/examples/users/create.md +7 -7
- package/docs/examples/users/delete-identity.md +3 -3
- package/docs/examples/users/delete-mfa-authenticator.md +4 -4
- package/docs/examples/users/delete-session.md +4 -4
- package/docs/examples/users/delete-sessions.md +3 -3
- package/docs/examples/users/delete-target.md +4 -4
- package/docs/examples/users/delete.md +3 -3
- package/docs/examples/users/get-mfa-recovery-codes.md +3 -3
- package/docs/examples/users/get-prefs.md +3 -3
- package/docs/examples/users/get-target.md +4 -4
- package/docs/examples/users/get-usage.md +4 -4
- package/docs/examples/users/get.md +3 -3
- package/docs/examples/users/list-identities.md +5 -4
- package/docs/examples/users/list-logs.md +5 -4
- package/docs/examples/users/list-memberships.md +6 -5
- package/docs/examples/users/list-mfa-factors.md +3 -3
- package/docs/examples/users/list-sessions.md +4 -3
- package/docs/examples/users/list-targets.md +5 -4
- package/docs/examples/users/list.md +5 -4
- package/docs/examples/users/update-email-verification.md +4 -4
- package/docs/examples/users/update-email.md +4 -4
- package/docs/examples/users/update-labels.md +4 -4
- package/docs/examples/users/update-mfa-recovery-codes.md +3 -3
- package/docs/examples/users/update-mfa.md +4 -4
- package/docs/examples/users/update-name.md +4 -4
- package/docs/examples/users/update-password.md +4 -4
- package/docs/examples/users/update-phone-verification.md +4 -4
- package/docs/examples/users/update-phone.md +4 -4
- package/docs/examples/users/update-prefs.md +4 -4
- package/docs/examples/users/update-status.md +4 -4
- package/docs/examples/users/update-target.md +7 -7
- package/docs/examples/vcs/create-repository-detection.md +6 -6
- package/docs/examples/vcs/create-repository.md +5 -5
- package/docs/examples/vcs/delete-installation.md +3 -3
- package/docs/examples/vcs/get-installation.md +3 -3
- package/docs/examples/vcs/get-repository-contents.md +6 -5
- package/docs/examples/vcs/get-repository.md +4 -4
- package/docs/examples/vcs/list-installations.md +5 -4
- package/docs/examples/vcs/list-repositories.md +6 -5
- package/docs/examples/vcs/list-repository-branches.md +4 -4
- package/docs/examples/vcs/update-external-deployments.md +5 -5
- package/package.json +4 -4
- package/src/client.ts +42 -7
- package/src/enums/api-service.ts +1 -0
- package/src/enums/attribute-status.ts +7 -0
- package/src/enums/billing-plan-group.ts +5 -0
- package/src/enums/build-runtime.ts +2 -0
- package/src/enums/column-status.ts +7 -0
- package/src/enums/credit-card.ts +1 -1
- package/src/enums/database-type.ts +4 -0
- package/src/enums/deployment-status.ts +7 -0
- package/src/enums/execution-method.ts +1 -0
- package/src/enums/execution-status.ts +7 -0
- package/src/enums/execution-trigger.ts +5 -0
- package/src/enums/framework.ts +1 -0
- package/src/enums/health-antivirus-status.ts +5 -0
- package/src/enums/health-check-status.ts +4 -0
- package/src/enums/index-status.ts +7 -0
- package/src/enums/index-type.ts +1 -0
- package/src/enums/message-status.ts +7 -0
- package/src/enums/o-auth-provider.ts +3 -0
- package/src/enums/platform.ts +4 -0
- package/src/enums/proxy-rule-deployment-resource-type.ts +4 -0
- package/src/enums/proxy-rule-status.ts +6 -0
- package/src/enums/region.ts +3 -0
- package/src/enums/runtime.ts +2 -0
- package/src/enums/status.ts +4 -0
- package/src/enums/template-reference-type.ts +5 -0
- package/src/enums/theme.ts +4 -0
- package/src/enums/timezone.ts +421 -0
- package/src/enums/{user-usage-range.ts → usage-range.ts} +1 -1
- package/src/enums/{v-c-s-deployment-type.ts → vcs-reference-type.ts} +1 -1
- package/src/index.ts +27 -11
- package/src/models.ts +1925 -239
- package/src/operator.ts +308 -0
- package/src/query.ts +246 -2
- package/src/services/account.ts +2278 -235
- package/src/services/assistant.ts +29 -3
- package/src/services/avatars.ts +511 -52
- package/src/services/backups.ts +400 -42
- package/src/services/console.ts +499 -19
- package/src/services/databases.ts +3584 -430
- package/src/services/domains.ts +1795 -266
- package/src/services/functions.ts +1197 -155
- package/src/services/graphql.ts +56 -4
- package/src/services/health.ts +586 -42
- package/src/services/locale.ts +18 -2
- package/src/services/messaging.ts +3418 -386
- package/src/services/migrations.ts +653 -65
- package/src/services/organizations.ts +1411 -126
- package/src/services/project.ts +173 -17
- package/src/services/projects.ts +2808 -282
- package/src/services/proxy.ts +272 -26
- package/src/services/realtime.ts +437 -0
- package/src/services/sites.ts +1129 -143
- package/src/services/storage.ts +672 -89
- package/src/services/tables-db.ts +5439 -0
- package/src/services/teams.ts +535 -65
- package/src/services/tokens.ts +171 -16
- package/src/services/users.ts +1916 -182
- package/src/services/vcs.ts +373 -41
- package/types/client.d.ts +14 -5
- package/types/enums/api-service.d.ts +1 -0
- package/types/enums/attribute-status.d.ts +7 -0
- package/types/enums/billing-plan-group.d.ts +5 -0
- package/types/enums/build-runtime.d.ts +3 -1
- package/types/enums/column-status.d.ts +7 -0
- package/types/enums/credit-card.d.ts +1 -1
- package/types/enums/database-type.d.ts +4 -0
- package/types/enums/deployment-status.d.ts +7 -0
- package/types/enums/execution-method.d.ts +2 -1
- package/types/enums/execution-status.d.ts +7 -0
- package/types/enums/execution-trigger.d.ts +5 -0
- package/types/enums/framework.d.ts +1 -0
- package/types/enums/health-antivirus-status.d.ts +5 -0
- package/types/enums/health-check-status.d.ts +4 -0
- package/types/enums/index-status.d.ts +7 -0
- package/types/enums/index-type.d.ts +2 -1
- package/types/enums/message-status.d.ts +7 -0
- package/types/enums/o-auth-provider.d.ts +4 -1
- package/types/enums/platform.d.ts +4 -0
- package/types/enums/proxy-rule-deployment-resource-type.d.ts +4 -0
- package/types/enums/proxy-rule-status.d.ts +6 -0
- package/types/enums/region.d.ts +4 -1
- package/types/enums/runtime.d.ts +3 -1
- package/types/enums/status.d.ts +4 -0
- package/types/enums/template-reference-type.d.ts +5 -0
- package/types/enums/theme.d.ts +4 -0
- package/types/enums/timezone.d.ts +421 -0
- package/types/enums/{site-usage-range.d.ts → usage-range.d.ts} +1 -1
- package/types/enums/{v-c-s-deployment-type.d.ts → vcs-reference-type.d.ts} +1 -1
- package/types/index.d.ts +27 -11
- package/types/models.d.ts +1877 -422
- package/types/operator.d.ts +180 -0
- package/types/query.d.ts +198 -2
- package/types/services/account.d.ts +1020 -158
- package/types/services/assistant.d.ts +13 -2
- package/types/services/avatars.d.ts +263 -45
- package/types/services/backups.d.ts +190 -30
- package/types/services/console.d.ts +202 -15
- package/types/services/databases.d.ts +1756 -299
- package/types/services/domains.d.ts +971 -219
- package/types/services/functions.d.ts +622 -131
- package/types/services/graphql.d.ts +24 -2
- package/types/services/health.d.ts +246 -24
- package/types/services/locale.d.ts +2 -2
- package/types/services/messaging.d.ts +1670 -281
- package/types/services/migrations.d.ts +319 -53
- package/types/services/organizations.d.ts +664 -109
- package/types/services/project.d.ts +81 -12
- package/types/services/projects.d.ts +1308 -202
- package/types/services/proxy.d.ts +128 -19
- package/types/services/realtime.d.ts +118 -0
- package/types/services/sites.d.ts +580 -119
- package/types/services/storage.d.ts +362 -81
- package/types/services/tables-db.d.ts +2040 -0
- package/types/services/teams.d.ts +277 -61
- package/types/services/tokens.d.ts +80 -12
- package/types/services/users.d.ts +906 -149
- package/types/services/vcs.d.ts +182 -34
- package/docs/examples/domains/create-record-m-x.md +0 -18
- package/docs/examples/domains/create-record-s-r-v.md +0 -20
- package/docs/examples/domains/create-record-t-x-t.md +0 -17
- package/docs/examples/domains/update-record-a-a-a-a.md +0 -18
- package/docs/examples/domains/update-record-c-a-a.md +0 -18
- package/docs/examples/domains/update-record-c-n-a-m-e.md +0 -18
- package/docs/examples/domains/update-record-h-t-t-p-s.md +0 -18
- package/docs/examples/domains/update-record-m-x.md +0 -19
- package/docs/examples/domains/update-record-n-s.md +0 -18
- package/docs/examples/domains/update-record-s-r-v.md +0 -21
- package/docs/examples/domains/update-record-t-x-t.md +0 -18
- package/src/enums/billing-plan.ts +0 -5
- package/src/enums/database-usage-range.ts +0 -5
- package/src/enums/function-usage-range.ts +0 -5
- package/src/enums/site-usage-range.ts +0 -5
- package/src/enums/storage-usage-range.ts +0 -5
- package/types/enums/billing-plan.d.ts +0 -5
- package/types/enums/database-usage-range.d.ts +0 -5
- package/types/enums/function-usage-range.d.ts +0 -5
- package/types/enums/storage-usage-range.d.ts +0 -5
- package/types/enums/user-usage-range.d.ts +0 -5
- /package/docs/examples/health/{get-d-b.md → get-db.md} +0 -0
- /package/docs/examples/locale/{list-countries-e-u.md → list-countries-eu.md} +0 -0
- /package/src/enums/{s-m-t-p-secure.ts → smtp-secure.ts} +0 -0
- /package/src/enums/{v-c-s-detection-type.ts → vcs-detection-type.ts} +0 -0
- /package/types/enums/{s-m-t-p-secure.d.ts → smtp-secure.d.ts} +0 -0
- /package/types/enums/{v-c-s-detection-type.d.ts → vcs-detection-type.d.ts} +0 -0
package/src/models.ts
CHANGED
|
@@ -1,13 +1,45 @@
|
|
|
1
|
+
import { DatabaseType } from "./enums/database-type"
|
|
2
|
+
import { AttributeStatus } from "./enums/attribute-status"
|
|
3
|
+
import { ColumnStatus } from "./enums/column-status"
|
|
4
|
+
import { IndexStatus } from "./enums/index-status"
|
|
5
|
+
import { DeploymentStatus } from "./enums/deployment-status"
|
|
6
|
+
import { ExecutionTrigger } from "./enums/execution-trigger"
|
|
7
|
+
import { ExecutionStatus } from "./enums/execution-status"
|
|
8
|
+
import { PlatformType } from "./enums/platform-type"
|
|
9
|
+
import { HealthAntivirusStatus } from "./enums/health-antivirus-status"
|
|
10
|
+
import { HealthCheckStatus } from "./enums/health-check-status"
|
|
11
|
+
import { ProxyRuleDeploymentResourceType } from "./enums/proxy-rule-deployment-resource-type"
|
|
12
|
+
import { ProxyRuleStatus } from "./enums/proxy-rule-status"
|
|
13
|
+
import { MessageStatus } from "./enums/message-status"
|
|
14
|
+
import { BillingPlanGroup } from "./enums/billing-plan-group"
|
|
15
|
+
|
|
1
16
|
/**
|
|
2
17
|
* Appwrite Models
|
|
3
18
|
*/
|
|
4
19
|
export namespace Models {
|
|
20
|
+
|
|
21
|
+
declare const __default: unique symbol;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Rows List
|
|
25
|
+
*/
|
|
26
|
+
export type RowList<Row extends Models.Row = Models.DefaultRow> = {
|
|
27
|
+
/**
|
|
28
|
+
* Total number of rows that matched your query.
|
|
29
|
+
*/
|
|
30
|
+
total: number;
|
|
31
|
+
/**
|
|
32
|
+
* List of rows.
|
|
33
|
+
*/
|
|
34
|
+
rows: Row[];
|
|
35
|
+
}
|
|
36
|
+
|
|
5
37
|
/**
|
|
6
38
|
* Documents List
|
|
7
39
|
*/
|
|
8
|
-
export type DocumentList<Document extends Models.Document> = {
|
|
40
|
+
export type DocumentList<Document extends Models.Document = Models.DefaultDocument> = {
|
|
9
41
|
/**
|
|
10
|
-
* Total number of documents
|
|
42
|
+
* Total number of documents that matched your query.
|
|
11
43
|
*/
|
|
12
44
|
total: number;
|
|
13
45
|
/**
|
|
@@ -15,12 +47,27 @@ export namespace Models {
|
|
|
15
47
|
*/
|
|
16
48
|
documents: Document[];
|
|
17
49
|
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Tables List
|
|
53
|
+
*/
|
|
54
|
+
export type TableList = {
|
|
55
|
+
/**
|
|
56
|
+
* Total number of tables that matched your query.
|
|
57
|
+
*/
|
|
58
|
+
total: number;
|
|
59
|
+
/**
|
|
60
|
+
* List of tables.
|
|
61
|
+
*/
|
|
62
|
+
tables: Table[];
|
|
63
|
+
}
|
|
64
|
+
|
|
18
65
|
/**
|
|
19
66
|
* Collections List
|
|
20
67
|
*/
|
|
21
68
|
export type CollectionList = {
|
|
22
69
|
/**
|
|
23
|
-
* Total number of collections
|
|
70
|
+
* Total number of collections that matched your query.
|
|
24
71
|
*/
|
|
25
72
|
total: number;
|
|
26
73
|
/**
|
|
@@ -28,12 +75,13 @@ export namespace Models {
|
|
|
28
75
|
*/
|
|
29
76
|
collections: Collection[];
|
|
30
77
|
}
|
|
78
|
+
|
|
31
79
|
/**
|
|
32
80
|
* Databases List
|
|
33
81
|
*/
|
|
34
82
|
export type DatabaseList = {
|
|
35
83
|
/**
|
|
36
|
-
* Total number of databases
|
|
84
|
+
* Total number of databases that matched your query.
|
|
37
85
|
*/
|
|
38
86
|
total: number;
|
|
39
87
|
/**
|
|
@@ -41,12 +89,13 @@ export namespace Models {
|
|
|
41
89
|
*/
|
|
42
90
|
databases: Database[];
|
|
43
91
|
}
|
|
92
|
+
|
|
44
93
|
/**
|
|
45
94
|
* Indexes List
|
|
46
95
|
*/
|
|
47
96
|
export type IndexList = {
|
|
48
97
|
/**
|
|
49
|
-
* Total number of indexes
|
|
98
|
+
* Total number of indexes that matched your query.
|
|
50
99
|
*/
|
|
51
100
|
total: number;
|
|
52
101
|
/**
|
|
@@ -54,12 +103,27 @@ export namespace Models {
|
|
|
54
103
|
*/
|
|
55
104
|
indexes: Index[];
|
|
56
105
|
}
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Column Indexes List
|
|
109
|
+
*/
|
|
110
|
+
export type ColumnIndexList = {
|
|
111
|
+
/**
|
|
112
|
+
* Total number of indexes that matched your query.
|
|
113
|
+
*/
|
|
114
|
+
total: number;
|
|
115
|
+
/**
|
|
116
|
+
* List of indexes.
|
|
117
|
+
*/
|
|
118
|
+
indexes: ColumnIndex[];
|
|
119
|
+
}
|
|
120
|
+
|
|
57
121
|
/**
|
|
58
122
|
* Users List
|
|
59
123
|
*/
|
|
60
|
-
export type UserList<Preferences extends Models.Preferences> = {
|
|
124
|
+
export type UserList<Preferences extends Models.Preferences = Models.DefaultPreferences> = {
|
|
61
125
|
/**
|
|
62
|
-
* Total number of users
|
|
126
|
+
* Total number of users that matched your query.
|
|
63
127
|
*/
|
|
64
128
|
total: number;
|
|
65
129
|
/**
|
|
@@ -67,12 +131,13 @@ export namespace Models {
|
|
|
67
131
|
*/
|
|
68
132
|
users: User<Preferences>[];
|
|
69
133
|
}
|
|
134
|
+
|
|
70
135
|
/**
|
|
71
136
|
* Sessions List
|
|
72
137
|
*/
|
|
73
138
|
export type SessionList = {
|
|
74
139
|
/**
|
|
75
|
-
* Total number of sessions
|
|
140
|
+
* Total number of sessions that matched your query.
|
|
76
141
|
*/
|
|
77
142
|
total: number;
|
|
78
143
|
/**
|
|
@@ -80,12 +145,13 @@ export namespace Models {
|
|
|
80
145
|
*/
|
|
81
146
|
sessions: Session[];
|
|
82
147
|
}
|
|
148
|
+
|
|
83
149
|
/**
|
|
84
150
|
* Identities List
|
|
85
151
|
*/
|
|
86
152
|
export type IdentityList = {
|
|
87
153
|
/**
|
|
88
|
-
* Total number of identities
|
|
154
|
+
* Total number of identities that matched your query.
|
|
89
155
|
*/
|
|
90
156
|
total: number;
|
|
91
157
|
/**
|
|
@@ -93,12 +159,13 @@ export namespace Models {
|
|
|
93
159
|
*/
|
|
94
160
|
identities: Identity[];
|
|
95
161
|
}
|
|
162
|
+
|
|
96
163
|
/**
|
|
97
164
|
* Logs List
|
|
98
165
|
*/
|
|
99
166
|
export type LogList = {
|
|
100
167
|
/**
|
|
101
|
-
* Total number of logs
|
|
168
|
+
* Total number of logs that matched your query.
|
|
102
169
|
*/
|
|
103
170
|
total: number;
|
|
104
171
|
/**
|
|
@@ -106,12 +173,13 @@ export namespace Models {
|
|
|
106
173
|
*/
|
|
107
174
|
logs: Log[];
|
|
108
175
|
}
|
|
176
|
+
|
|
109
177
|
/**
|
|
110
178
|
* Files List
|
|
111
179
|
*/
|
|
112
180
|
export type FileList = {
|
|
113
181
|
/**
|
|
114
|
-
* Total number of files
|
|
182
|
+
* Total number of files that matched your query.
|
|
115
183
|
*/
|
|
116
184
|
total: number;
|
|
117
185
|
/**
|
|
@@ -119,12 +187,13 @@ export namespace Models {
|
|
|
119
187
|
*/
|
|
120
188
|
files: File[];
|
|
121
189
|
}
|
|
190
|
+
|
|
122
191
|
/**
|
|
123
192
|
* Buckets List
|
|
124
193
|
*/
|
|
125
194
|
export type BucketList = {
|
|
126
195
|
/**
|
|
127
|
-
* Total number of buckets
|
|
196
|
+
* Total number of buckets that matched your query.
|
|
128
197
|
*/
|
|
129
198
|
total: number;
|
|
130
199
|
/**
|
|
@@ -132,12 +201,13 @@ export namespace Models {
|
|
|
132
201
|
*/
|
|
133
202
|
buckets: Bucket[];
|
|
134
203
|
}
|
|
204
|
+
|
|
135
205
|
/**
|
|
136
206
|
* Resource Tokens List
|
|
137
207
|
*/
|
|
138
208
|
export type ResourceTokenList = {
|
|
139
209
|
/**
|
|
140
|
-
* Total number of tokens
|
|
210
|
+
* Total number of tokens that matched your query.
|
|
141
211
|
*/
|
|
142
212
|
total: number;
|
|
143
213
|
/**
|
|
@@ -145,12 +215,13 @@ export namespace Models {
|
|
|
145
215
|
*/
|
|
146
216
|
tokens: ResourceToken[];
|
|
147
217
|
}
|
|
218
|
+
|
|
148
219
|
/**
|
|
149
220
|
* Teams List
|
|
150
221
|
*/
|
|
151
|
-
export type TeamList<Preferences extends Models.Preferences> = {
|
|
222
|
+
export type TeamList<Preferences extends Models.Preferences = Models.DefaultPreferences> = {
|
|
152
223
|
/**
|
|
153
|
-
* Total number of teams
|
|
224
|
+
* Total number of teams that matched your query.
|
|
154
225
|
*/
|
|
155
226
|
total: number;
|
|
156
227
|
/**
|
|
@@ -158,12 +229,13 @@ export namespace Models {
|
|
|
158
229
|
*/
|
|
159
230
|
teams: Team<Preferences>[];
|
|
160
231
|
}
|
|
232
|
+
|
|
161
233
|
/**
|
|
162
234
|
* Memberships List
|
|
163
235
|
*/
|
|
164
236
|
export type MembershipList = {
|
|
165
237
|
/**
|
|
166
|
-
* Total number of memberships
|
|
238
|
+
* Total number of memberships that matched your query.
|
|
167
239
|
*/
|
|
168
240
|
total: number;
|
|
169
241
|
/**
|
|
@@ -171,12 +243,13 @@ export namespace Models {
|
|
|
171
243
|
*/
|
|
172
244
|
memberships: Membership[];
|
|
173
245
|
}
|
|
246
|
+
|
|
174
247
|
/**
|
|
175
248
|
* Sites List
|
|
176
249
|
*/
|
|
177
250
|
export type SiteList = {
|
|
178
251
|
/**
|
|
179
|
-
* Total number of sites
|
|
252
|
+
* Total number of sites that matched your query.
|
|
180
253
|
*/
|
|
181
254
|
total: number;
|
|
182
255
|
/**
|
|
@@ -184,12 +257,13 @@ export namespace Models {
|
|
|
184
257
|
*/
|
|
185
258
|
sites: Site[];
|
|
186
259
|
}
|
|
260
|
+
|
|
187
261
|
/**
|
|
188
262
|
* Site Templates List
|
|
189
263
|
*/
|
|
190
264
|
export type TemplateSiteList = {
|
|
191
265
|
/**
|
|
192
|
-
* Total number of templates
|
|
266
|
+
* Total number of templates that matched your query.
|
|
193
267
|
*/
|
|
194
268
|
total: number;
|
|
195
269
|
/**
|
|
@@ -197,12 +271,13 @@ export namespace Models {
|
|
|
197
271
|
*/
|
|
198
272
|
templates: TemplateSite[];
|
|
199
273
|
}
|
|
274
|
+
|
|
200
275
|
/**
|
|
201
276
|
* Functions List
|
|
202
277
|
*/
|
|
203
278
|
export type FunctionList = {
|
|
204
279
|
/**
|
|
205
|
-
* Total number of functions
|
|
280
|
+
* Total number of functions that matched your query.
|
|
206
281
|
*/
|
|
207
282
|
total: number;
|
|
208
283
|
/**
|
|
@@ -210,12 +285,13 @@ export namespace Models {
|
|
|
210
285
|
*/
|
|
211
286
|
functions: Function[];
|
|
212
287
|
}
|
|
288
|
+
|
|
213
289
|
/**
|
|
214
290
|
* Function Templates List
|
|
215
291
|
*/
|
|
216
292
|
export type TemplateFunctionList = {
|
|
217
293
|
/**
|
|
218
|
-
* Total number of templates
|
|
294
|
+
* Total number of templates that matched your query.
|
|
219
295
|
*/
|
|
220
296
|
total: number;
|
|
221
297
|
/**
|
|
@@ -223,12 +299,13 @@ export namespace Models {
|
|
|
223
299
|
*/
|
|
224
300
|
templates: TemplateFunction[];
|
|
225
301
|
}
|
|
302
|
+
|
|
226
303
|
/**
|
|
227
304
|
* Installations List
|
|
228
305
|
*/
|
|
229
306
|
export type InstallationList = {
|
|
230
307
|
/**
|
|
231
|
-
* Total number of installations
|
|
308
|
+
* Total number of installations that matched your query.
|
|
232
309
|
*/
|
|
233
310
|
total: number;
|
|
234
311
|
/**
|
|
@@ -236,12 +313,13 @@ export namespace Models {
|
|
|
236
313
|
*/
|
|
237
314
|
installations: Installation[];
|
|
238
315
|
}
|
|
316
|
+
|
|
239
317
|
/**
|
|
240
318
|
* Framework Provider Repositories List
|
|
241
319
|
*/
|
|
242
320
|
export type ProviderRepositoryFrameworkList = {
|
|
243
321
|
/**
|
|
244
|
-
* Total number of frameworkProviderRepositories
|
|
322
|
+
* Total number of frameworkProviderRepositories that matched your query.
|
|
245
323
|
*/
|
|
246
324
|
total: number;
|
|
247
325
|
/**
|
|
@@ -249,12 +327,13 @@ export namespace Models {
|
|
|
249
327
|
*/
|
|
250
328
|
frameworkProviderRepositories: ProviderRepositoryFramework[];
|
|
251
329
|
}
|
|
330
|
+
|
|
252
331
|
/**
|
|
253
332
|
* Runtime Provider Repositories List
|
|
254
333
|
*/
|
|
255
334
|
export type ProviderRepositoryRuntimeList = {
|
|
256
335
|
/**
|
|
257
|
-
* Total number of runtimeProviderRepositories
|
|
336
|
+
* Total number of runtimeProviderRepositories that matched your query.
|
|
258
337
|
*/
|
|
259
338
|
total: number;
|
|
260
339
|
/**
|
|
@@ -262,12 +341,13 @@ export namespace Models {
|
|
|
262
341
|
*/
|
|
263
342
|
runtimeProviderRepositories: ProviderRepositoryRuntime[];
|
|
264
343
|
}
|
|
344
|
+
|
|
265
345
|
/**
|
|
266
346
|
* Branches List
|
|
267
347
|
*/
|
|
268
348
|
export type BranchList = {
|
|
269
349
|
/**
|
|
270
|
-
* Total number of branches
|
|
350
|
+
* Total number of branches that matched your query.
|
|
271
351
|
*/
|
|
272
352
|
total: number;
|
|
273
353
|
/**
|
|
@@ -275,12 +355,13 @@ export namespace Models {
|
|
|
275
355
|
*/
|
|
276
356
|
branches: Branch[];
|
|
277
357
|
}
|
|
358
|
+
|
|
278
359
|
/**
|
|
279
360
|
* Frameworks List
|
|
280
361
|
*/
|
|
281
362
|
export type FrameworkList = {
|
|
282
363
|
/**
|
|
283
|
-
* Total number of frameworks
|
|
364
|
+
* Total number of frameworks that matched your query.
|
|
284
365
|
*/
|
|
285
366
|
total: number;
|
|
286
367
|
/**
|
|
@@ -288,12 +369,13 @@ export namespace Models {
|
|
|
288
369
|
*/
|
|
289
370
|
frameworks: Framework[];
|
|
290
371
|
}
|
|
372
|
+
|
|
291
373
|
/**
|
|
292
374
|
* Runtimes List
|
|
293
375
|
*/
|
|
294
376
|
export type RuntimeList = {
|
|
295
377
|
/**
|
|
296
|
-
* Total number of runtimes
|
|
378
|
+
* Total number of runtimes that matched your query.
|
|
297
379
|
*/
|
|
298
380
|
total: number;
|
|
299
381
|
/**
|
|
@@ -301,12 +383,13 @@ export namespace Models {
|
|
|
301
383
|
*/
|
|
302
384
|
runtimes: Runtime[];
|
|
303
385
|
}
|
|
386
|
+
|
|
304
387
|
/**
|
|
305
388
|
* Deployments List
|
|
306
389
|
*/
|
|
307
390
|
export type DeploymentList = {
|
|
308
391
|
/**
|
|
309
|
-
* Total number of deployments
|
|
392
|
+
* Total number of deployments that matched your query.
|
|
310
393
|
*/
|
|
311
394
|
total: number;
|
|
312
395
|
/**
|
|
@@ -314,12 +397,13 @@ export namespace Models {
|
|
|
314
397
|
*/
|
|
315
398
|
deployments: Deployment[];
|
|
316
399
|
}
|
|
400
|
+
|
|
317
401
|
/**
|
|
318
402
|
* Executions List
|
|
319
403
|
*/
|
|
320
404
|
export type ExecutionList = {
|
|
321
405
|
/**
|
|
322
|
-
* Total number of executions
|
|
406
|
+
* Total number of executions that matched your query.
|
|
323
407
|
*/
|
|
324
408
|
total: number;
|
|
325
409
|
/**
|
|
@@ -327,12 +411,13 @@ export namespace Models {
|
|
|
327
411
|
*/
|
|
328
412
|
executions: Execution[];
|
|
329
413
|
}
|
|
414
|
+
|
|
330
415
|
/**
|
|
331
416
|
* Projects List
|
|
332
417
|
*/
|
|
333
418
|
export type ProjectList = {
|
|
334
419
|
/**
|
|
335
|
-
* Total number of projects
|
|
420
|
+
* Total number of projects that matched your query.
|
|
336
421
|
*/
|
|
337
422
|
total: number;
|
|
338
423
|
/**
|
|
@@ -340,12 +425,13 @@ export namespace Models {
|
|
|
340
425
|
*/
|
|
341
426
|
projects: Project[];
|
|
342
427
|
}
|
|
428
|
+
|
|
343
429
|
/**
|
|
344
430
|
* Webhooks List
|
|
345
431
|
*/
|
|
346
432
|
export type WebhookList = {
|
|
347
433
|
/**
|
|
348
|
-
* Total number of webhooks
|
|
434
|
+
* Total number of webhooks that matched your query.
|
|
349
435
|
*/
|
|
350
436
|
total: number;
|
|
351
437
|
/**
|
|
@@ -353,12 +439,13 @@ export namespace Models {
|
|
|
353
439
|
*/
|
|
354
440
|
webhooks: Webhook[];
|
|
355
441
|
}
|
|
442
|
+
|
|
356
443
|
/**
|
|
357
444
|
* API Keys List
|
|
358
445
|
*/
|
|
359
446
|
export type KeyList = {
|
|
360
447
|
/**
|
|
361
|
-
* Total number of keys
|
|
448
|
+
* Total number of keys that matched your query.
|
|
362
449
|
*/
|
|
363
450
|
total: number;
|
|
364
451
|
/**
|
|
@@ -366,12 +453,13 @@ export namespace Models {
|
|
|
366
453
|
*/
|
|
367
454
|
keys: Key[];
|
|
368
455
|
}
|
|
456
|
+
|
|
369
457
|
/**
|
|
370
458
|
* Dev Keys List
|
|
371
459
|
*/
|
|
372
460
|
export type DevKeyList = {
|
|
373
461
|
/**
|
|
374
|
-
* Total number of devKeys
|
|
462
|
+
* Total number of devKeys that matched your query.
|
|
375
463
|
*/
|
|
376
464
|
total: number;
|
|
377
465
|
/**
|
|
@@ -379,12 +467,13 @@ export namespace Models {
|
|
|
379
467
|
*/
|
|
380
468
|
devKeys: DevKey[];
|
|
381
469
|
}
|
|
470
|
+
|
|
382
471
|
/**
|
|
383
472
|
* Platforms List
|
|
384
473
|
*/
|
|
385
474
|
export type PlatformList = {
|
|
386
475
|
/**
|
|
387
|
-
* Total number of platforms
|
|
476
|
+
* Total number of platforms that matched your query.
|
|
388
477
|
*/
|
|
389
478
|
total: number;
|
|
390
479
|
/**
|
|
@@ -392,12 +481,13 @@ export namespace Models {
|
|
|
392
481
|
*/
|
|
393
482
|
platforms: Platform[];
|
|
394
483
|
}
|
|
484
|
+
|
|
395
485
|
/**
|
|
396
486
|
* Countries List
|
|
397
487
|
*/
|
|
398
488
|
export type CountryList = {
|
|
399
489
|
/**
|
|
400
|
-
* Total number of countries
|
|
490
|
+
* Total number of countries that matched your query.
|
|
401
491
|
*/
|
|
402
492
|
total: number;
|
|
403
493
|
/**
|
|
@@ -405,12 +495,13 @@ export namespace Models {
|
|
|
405
495
|
*/
|
|
406
496
|
countries: Country[];
|
|
407
497
|
}
|
|
498
|
+
|
|
408
499
|
/**
|
|
409
500
|
* Continents List
|
|
410
501
|
*/
|
|
411
502
|
export type ContinentList = {
|
|
412
503
|
/**
|
|
413
|
-
* Total number of continents
|
|
504
|
+
* Total number of continents that matched your query.
|
|
414
505
|
*/
|
|
415
506
|
total: number;
|
|
416
507
|
/**
|
|
@@ -418,12 +509,13 @@ export namespace Models {
|
|
|
418
509
|
*/
|
|
419
510
|
continents: Continent[];
|
|
420
511
|
}
|
|
512
|
+
|
|
421
513
|
/**
|
|
422
514
|
* Languages List
|
|
423
515
|
*/
|
|
424
516
|
export type LanguageList = {
|
|
425
517
|
/**
|
|
426
|
-
* Total number of languages
|
|
518
|
+
* Total number of languages that matched your query.
|
|
427
519
|
*/
|
|
428
520
|
total: number;
|
|
429
521
|
/**
|
|
@@ -431,12 +523,13 @@ export namespace Models {
|
|
|
431
523
|
*/
|
|
432
524
|
languages: Language[];
|
|
433
525
|
}
|
|
526
|
+
|
|
434
527
|
/**
|
|
435
528
|
* Currencies List
|
|
436
529
|
*/
|
|
437
530
|
export type CurrencyList = {
|
|
438
531
|
/**
|
|
439
|
-
* Total number of currencies
|
|
532
|
+
* Total number of currencies that matched your query.
|
|
440
533
|
*/
|
|
441
534
|
total: number;
|
|
442
535
|
/**
|
|
@@ -444,12 +537,13 @@ export namespace Models {
|
|
|
444
537
|
*/
|
|
445
538
|
currencies: Currency[];
|
|
446
539
|
}
|
|
540
|
+
|
|
447
541
|
/**
|
|
448
542
|
* Phones List
|
|
449
543
|
*/
|
|
450
544
|
export type PhoneList = {
|
|
451
545
|
/**
|
|
452
|
-
* Total number of phones
|
|
546
|
+
* Total number of phones that matched your query.
|
|
453
547
|
*/
|
|
454
548
|
total: number;
|
|
455
549
|
/**
|
|
@@ -457,12 +551,13 @@ export namespace Models {
|
|
|
457
551
|
*/
|
|
458
552
|
phones: Phone[];
|
|
459
553
|
}
|
|
554
|
+
|
|
460
555
|
/**
|
|
461
556
|
* Variables List
|
|
462
557
|
*/
|
|
463
558
|
export type VariableList = {
|
|
464
559
|
/**
|
|
465
|
-
* Total number of variables
|
|
560
|
+
* Total number of variables that matched your query.
|
|
466
561
|
*/
|
|
467
562
|
total: number;
|
|
468
563
|
/**
|
|
@@ -470,12 +565,13 @@ export namespace Models {
|
|
|
470
565
|
*/
|
|
471
566
|
variables: Variable[];
|
|
472
567
|
}
|
|
568
|
+
|
|
473
569
|
/**
|
|
474
570
|
* Rule List
|
|
475
571
|
*/
|
|
476
572
|
export type ProxyRuleList = {
|
|
477
573
|
/**
|
|
478
|
-
* Total number of rules
|
|
574
|
+
* Total number of rules that matched your query.
|
|
479
575
|
*/
|
|
480
576
|
total: number;
|
|
481
577
|
/**
|
|
@@ -483,12 +579,13 @@ export namespace Models {
|
|
|
483
579
|
*/
|
|
484
580
|
rules: ProxyRule[];
|
|
485
581
|
}
|
|
582
|
+
|
|
486
583
|
/**
|
|
487
584
|
* Locale codes list
|
|
488
585
|
*/
|
|
489
586
|
export type LocaleCodeList = {
|
|
490
587
|
/**
|
|
491
|
-
* Total number of localeCodes
|
|
588
|
+
* Total number of localeCodes that matched your query.
|
|
492
589
|
*/
|
|
493
590
|
total: number;
|
|
494
591
|
/**
|
|
@@ -496,12 +593,13 @@ export namespace Models {
|
|
|
496
593
|
*/
|
|
497
594
|
localeCodes: LocaleCode[];
|
|
498
595
|
}
|
|
596
|
+
|
|
499
597
|
/**
|
|
500
598
|
* Provider list
|
|
501
599
|
*/
|
|
502
600
|
export type ProviderList = {
|
|
503
601
|
/**
|
|
504
|
-
* Total number of providers
|
|
602
|
+
* Total number of providers that matched your query.
|
|
505
603
|
*/
|
|
506
604
|
total: number;
|
|
507
605
|
/**
|
|
@@ -509,12 +607,13 @@ export namespace Models {
|
|
|
509
607
|
*/
|
|
510
608
|
providers: Provider[];
|
|
511
609
|
}
|
|
610
|
+
|
|
512
611
|
/**
|
|
513
612
|
* Message list
|
|
514
613
|
*/
|
|
515
614
|
export type MessageList = {
|
|
516
615
|
/**
|
|
517
|
-
* Total number of messages
|
|
616
|
+
* Total number of messages that matched your query.
|
|
518
617
|
*/
|
|
519
618
|
total: number;
|
|
520
619
|
/**
|
|
@@ -522,12 +621,13 @@ export namespace Models {
|
|
|
522
621
|
*/
|
|
523
622
|
messages: Message[];
|
|
524
623
|
}
|
|
624
|
+
|
|
525
625
|
/**
|
|
526
626
|
* Topic list
|
|
527
627
|
*/
|
|
528
628
|
export type TopicList = {
|
|
529
629
|
/**
|
|
530
|
-
* Total number of topics
|
|
630
|
+
* Total number of topics that matched your query.
|
|
531
631
|
*/
|
|
532
632
|
total: number;
|
|
533
633
|
/**
|
|
@@ -535,12 +635,13 @@ export namespace Models {
|
|
|
535
635
|
*/
|
|
536
636
|
topics: Topic[];
|
|
537
637
|
}
|
|
638
|
+
|
|
538
639
|
/**
|
|
539
640
|
* Subscriber list
|
|
540
641
|
*/
|
|
541
642
|
export type SubscriberList = {
|
|
542
643
|
/**
|
|
543
|
-
* Total number of subscribers
|
|
644
|
+
* Total number of subscribers that matched your query.
|
|
544
645
|
*/
|
|
545
646
|
total: number;
|
|
546
647
|
/**
|
|
@@ -548,12 +649,13 @@ export namespace Models {
|
|
|
548
649
|
*/
|
|
549
650
|
subscribers: Subscriber[];
|
|
550
651
|
}
|
|
652
|
+
|
|
551
653
|
/**
|
|
552
654
|
* Target list
|
|
553
655
|
*/
|
|
554
656
|
export type TargetList = {
|
|
555
657
|
/**
|
|
556
|
-
* Total number of targets
|
|
658
|
+
* Total number of targets that matched your query.
|
|
557
659
|
*/
|
|
558
660
|
total: number;
|
|
559
661
|
/**
|
|
@@ -561,12 +663,27 @@ export namespace Models {
|
|
|
561
663
|
*/
|
|
562
664
|
targets: Target[];
|
|
563
665
|
}
|
|
666
|
+
|
|
667
|
+
/**
|
|
668
|
+
* Transaction List
|
|
669
|
+
*/
|
|
670
|
+
export type TransactionList = {
|
|
671
|
+
/**
|
|
672
|
+
* Total number of transactions that matched your query.
|
|
673
|
+
*/
|
|
674
|
+
total: number;
|
|
675
|
+
/**
|
|
676
|
+
* List of transactions.
|
|
677
|
+
*/
|
|
678
|
+
transactions: Transaction[];
|
|
679
|
+
}
|
|
680
|
+
|
|
564
681
|
/**
|
|
565
682
|
* Migrations List
|
|
566
683
|
*/
|
|
567
684
|
export type MigrationList = {
|
|
568
685
|
/**
|
|
569
|
-
* Total number of migrations
|
|
686
|
+
* Total number of migrations that matched your query.
|
|
570
687
|
*/
|
|
571
688
|
total: number;
|
|
572
689
|
/**
|
|
@@ -574,12 +691,13 @@ export namespace Models {
|
|
|
574
691
|
*/
|
|
575
692
|
migrations: Migration[];
|
|
576
693
|
}
|
|
694
|
+
|
|
577
695
|
/**
|
|
578
696
|
* Specifications List
|
|
579
697
|
*/
|
|
580
698
|
export type SpecificationList = {
|
|
581
699
|
/**
|
|
582
|
-
* Total number of specifications
|
|
700
|
+
* Total number of specifications that matched your query.
|
|
583
701
|
*/
|
|
584
702
|
total: number;
|
|
585
703
|
/**
|
|
@@ -587,12 +705,13 @@ export namespace Models {
|
|
|
587
705
|
*/
|
|
588
706
|
specifications: Specification[];
|
|
589
707
|
}
|
|
708
|
+
|
|
590
709
|
/**
|
|
591
710
|
* VCS Content List
|
|
592
711
|
*/
|
|
593
712
|
export type VcsContentList = {
|
|
594
713
|
/**
|
|
595
|
-
* Total number of contents
|
|
714
|
+
* Total number of contents that matched your query.
|
|
596
715
|
*/
|
|
597
716
|
total: number;
|
|
598
717
|
/**
|
|
@@ -600,6 +719,7 @@ export namespace Models {
|
|
|
600
719
|
*/
|
|
601
720
|
contents: VcsContent[];
|
|
602
721
|
}
|
|
722
|
+
|
|
603
723
|
/**
|
|
604
724
|
* Database
|
|
605
725
|
*/
|
|
@@ -621,9 +741,13 @@ export namespace Models {
|
|
|
621
741
|
*/
|
|
622
742
|
$updatedAt: string;
|
|
623
743
|
/**
|
|
624
|
-
* If database is enabled. Can be
|
|
744
|
+
* If database is enabled. Can be 'enabled' or 'disabled'. When disabled, the database is inaccessible to users, but remains accessible to Server SDKs using API keys.
|
|
625
745
|
*/
|
|
626
746
|
enabled: boolean;
|
|
747
|
+
/**
|
|
748
|
+
* Database type.
|
|
749
|
+
*/
|
|
750
|
+
type: DatabaseType;
|
|
627
751
|
/**
|
|
628
752
|
* Database backup policies.
|
|
629
753
|
*/
|
|
@@ -633,6 +757,7 @@ export namespace Models {
|
|
|
633
757
|
*/
|
|
634
758
|
archives: Collection[];
|
|
635
759
|
}
|
|
760
|
+
|
|
636
761
|
/**
|
|
637
762
|
* Collection
|
|
638
763
|
*/
|
|
@@ -662,7 +787,7 @@ export namespace Models {
|
|
|
662
787
|
*/
|
|
663
788
|
name: string;
|
|
664
789
|
/**
|
|
665
|
-
* Collection enabled. Can be
|
|
790
|
+
* Collection enabled. Can be 'enabled' or 'disabled'. When disabled, the collection is inaccessible to users, but remains accessible to Server SDKs using API keys.
|
|
666
791
|
*/
|
|
667
792
|
enabled: boolean;
|
|
668
793
|
/**
|
|
@@ -672,12 +797,13 @@ export namespace Models {
|
|
|
672
797
|
/**
|
|
673
798
|
* Collection attributes.
|
|
674
799
|
*/
|
|
675
|
-
attributes: (Models.AttributeBoolean | Models.AttributeInteger | Models.AttributeFloat | Models.AttributeEmail | Models.AttributeEnum | Models.AttributeUrl | Models.AttributeIp | Models.AttributeDatetime | Models.AttributeRelationship | Models.AttributeString)[];
|
|
800
|
+
attributes: (Models.AttributeBoolean | Models.AttributeInteger | Models.AttributeFloat | Models.AttributeEmail | Models.AttributeEnum | Models.AttributeUrl | Models.AttributeIp | Models.AttributeDatetime | Models.AttributeRelationship | Models.AttributePoint | Models.AttributeLine | Models.AttributePolygon | Models.AttributeString)[];
|
|
676
801
|
/**
|
|
677
802
|
* Collection indexes.
|
|
678
803
|
*/
|
|
679
804
|
indexes: Index[];
|
|
680
805
|
}
|
|
806
|
+
|
|
681
807
|
/**
|
|
682
808
|
* Attributes List
|
|
683
809
|
*/
|
|
@@ -689,8 +815,9 @@ export namespace Models {
|
|
|
689
815
|
/**
|
|
690
816
|
* List of attributes.
|
|
691
817
|
*/
|
|
692
|
-
attributes: (Models.AttributeBoolean | Models.AttributeInteger | Models.AttributeFloat | Models.AttributeEmail | Models.AttributeEnum | Models.AttributeUrl | Models.AttributeIp | Models.AttributeDatetime | Models.AttributeRelationship | Models.AttributeString)[];
|
|
818
|
+
attributes: (Models.AttributeBoolean | Models.AttributeInteger | Models.AttributeFloat | Models.AttributeEmail | Models.AttributeEnum | Models.AttributeUrl | Models.AttributeIp | Models.AttributeDatetime | Models.AttributeRelationship | Models.AttributePoint | Models.AttributeLine | Models.AttributePolygon | Models.AttributeString)[];
|
|
693
819
|
}
|
|
820
|
+
|
|
694
821
|
/**
|
|
695
822
|
* AttributeString
|
|
696
823
|
*/
|
|
@@ -706,7 +833,7 @@ export namespace Models {
|
|
|
706
833
|
/**
|
|
707
834
|
* Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
708
835
|
*/
|
|
709
|
-
status:
|
|
836
|
+
status: AttributeStatus;
|
|
710
837
|
/**
|
|
711
838
|
* Error message. Displays error generated on failure of creating or deleting an attribute.
|
|
712
839
|
*/
|
|
@@ -740,6 +867,7 @@ export namespace Models {
|
|
|
740
867
|
*/
|
|
741
868
|
encrypt?: boolean;
|
|
742
869
|
}
|
|
870
|
+
|
|
743
871
|
/**
|
|
744
872
|
* AttributeInteger
|
|
745
873
|
*/
|
|
@@ -755,7 +883,7 @@ export namespace Models {
|
|
|
755
883
|
/**
|
|
756
884
|
* Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
757
885
|
*/
|
|
758
|
-
status:
|
|
886
|
+
status: AttributeStatus;
|
|
759
887
|
/**
|
|
760
888
|
* Error message. Displays error generated on failure of creating or deleting an attribute.
|
|
761
889
|
*/
|
|
@@ -789,6 +917,7 @@ export namespace Models {
|
|
|
789
917
|
*/
|
|
790
918
|
default?: number;
|
|
791
919
|
}
|
|
920
|
+
|
|
792
921
|
/**
|
|
793
922
|
* AttributeFloat
|
|
794
923
|
*/
|
|
@@ -804,7 +933,7 @@ export namespace Models {
|
|
|
804
933
|
/**
|
|
805
934
|
* Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
806
935
|
*/
|
|
807
|
-
status:
|
|
936
|
+
status: AttributeStatus;
|
|
808
937
|
/**
|
|
809
938
|
* Error message. Displays error generated on failure of creating or deleting an attribute.
|
|
810
939
|
*/
|
|
@@ -838,6 +967,7 @@ export namespace Models {
|
|
|
838
967
|
*/
|
|
839
968
|
default?: number;
|
|
840
969
|
}
|
|
970
|
+
|
|
841
971
|
/**
|
|
842
972
|
* AttributeBoolean
|
|
843
973
|
*/
|
|
@@ -853,7 +983,7 @@ export namespace Models {
|
|
|
853
983
|
/**
|
|
854
984
|
* Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
855
985
|
*/
|
|
856
|
-
status:
|
|
986
|
+
status: AttributeStatus;
|
|
857
987
|
/**
|
|
858
988
|
* Error message. Displays error generated on failure of creating or deleting an attribute.
|
|
859
989
|
*/
|
|
@@ -879,6 +1009,7 @@ export namespace Models {
|
|
|
879
1009
|
*/
|
|
880
1010
|
default?: boolean;
|
|
881
1011
|
}
|
|
1012
|
+
|
|
882
1013
|
/**
|
|
883
1014
|
* AttributeEmail
|
|
884
1015
|
*/
|
|
@@ -894,25 +1025,841 @@ export namespace Models {
|
|
|
894
1025
|
/**
|
|
895
1026
|
* Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
896
1027
|
*/
|
|
897
|
-
status:
|
|
1028
|
+
status: AttributeStatus;
|
|
1029
|
+
/**
|
|
1030
|
+
* Error message. Displays error generated on failure of creating or deleting an attribute.
|
|
1031
|
+
*/
|
|
1032
|
+
error: string;
|
|
1033
|
+
/**
|
|
1034
|
+
* Is attribute required?
|
|
1035
|
+
*/
|
|
1036
|
+
required: boolean;
|
|
1037
|
+
/**
|
|
1038
|
+
* Is attribute an array?
|
|
1039
|
+
*/
|
|
1040
|
+
array?: boolean;
|
|
1041
|
+
/**
|
|
1042
|
+
* Attribute creation date in ISO 8601 format.
|
|
1043
|
+
*/
|
|
1044
|
+
$createdAt: string;
|
|
1045
|
+
/**
|
|
1046
|
+
* Attribute update date in ISO 8601 format.
|
|
1047
|
+
*/
|
|
1048
|
+
$updatedAt: string;
|
|
1049
|
+
/**
|
|
1050
|
+
* String format.
|
|
1051
|
+
*/
|
|
1052
|
+
format: string;
|
|
1053
|
+
/**
|
|
1054
|
+
* Default value for attribute when not provided. Cannot be set when attribute is required.
|
|
1055
|
+
*/
|
|
1056
|
+
default?: string;
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
/**
|
|
1060
|
+
* AttributeEnum
|
|
1061
|
+
*/
|
|
1062
|
+
export type AttributeEnum = {
|
|
1063
|
+
/**
|
|
1064
|
+
* Attribute Key.
|
|
1065
|
+
*/
|
|
1066
|
+
key: string;
|
|
1067
|
+
/**
|
|
1068
|
+
* Attribute type.
|
|
1069
|
+
*/
|
|
1070
|
+
type: string;
|
|
1071
|
+
/**
|
|
1072
|
+
* Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1073
|
+
*/
|
|
1074
|
+
status: AttributeStatus;
|
|
1075
|
+
/**
|
|
1076
|
+
* Error message. Displays error generated on failure of creating or deleting an attribute.
|
|
1077
|
+
*/
|
|
1078
|
+
error: string;
|
|
1079
|
+
/**
|
|
1080
|
+
* Is attribute required?
|
|
1081
|
+
*/
|
|
1082
|
+
required: boolean;
|
|
1083
|
+
/**
|
|
1084
|
+
* Is attribute an array?
|
|
1085
|
+
*/
|
|
1086
|
+
array?: boolean;
|
|
1087
|
+
/**
|
|
1088
|
+
* Attribute creation date in ISO 8601 format.
|
|
1089
|
+
*/
|
|
1090
|
+
$createdAt: string;
|
|
1091
|
+
/**
|
|
1092
|
+
* Attribute update date in ISO 8601 format.
|
|
1093
|
+
*/
|
|
1094
|
+
$updatedAt: string;
|
|
1095
|
+
/**
|
|
1096
|
+
* Array of elements in enumerated type.
|
|
1097
|
+
*/
|
|
1098
|
+
elements: string[];
|
|
1099
|
+
/**
|
|
1100
|
+
* String format.
|
|
1101
|
+
*/
|
|
1102
|
+
format: string;
|
|
1103
|
+
/**
|
|
1104
|
+
* Default value for attribute when not provided. Cannot be set when attribute is required.
|
|
1105
|
+
*/
|
|
1106
|
+
default?: string;
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
/**
|
|
1110
|
+
* AttributeIP
|
|
1111
|
+
*/
|
|
1112
|
+
export type AttributeIp = {
|
|
1113
|
+
/**
|
|
1114
|
+
* Attribute Key.
|
|
1115
|
+
*/
|
|
1116
|
+
key: string;
|
|
1117
|
+
/**
|
|
1118
|
+
* Attribute type.
|
|
1119
|
+
*/
|
|
1120
|
+
type: string;
|
|
1121
|
+
/**
|
|
1122
|
+
* Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1123
|
+
*/
|
|
1124
|
+
status: AttributeStatus;
|
|
1125
|
+
/**
|
|
1126
|
+
* Error message. Displays error generated on failure of creating or deleting an attribute.
|
|
1127
|
+
*/
|
|
1128
|
+
error: string;
|
|
1129
|
+
/**
|
|
1130
|
+
* Is attribute required?
|
|
1131
|
+
*/
|
|
1132
|
+
required: boolean;
|
|
1133
|
+
/**
|
|
1134
|
+
* Is attribute an array?
|
|
1135
|
+
*/
|
|
1136
|
+
array?: boolean;
|
|
1137
|
+
/**
|
|
1138
|
+
* Attribute creation date in ISO 8601 format.
|
|
1139
|
+
*/
|
|
1140
|
+
$createdAt: string;
|
|
1141
|
+
/**
|
|
1142
|
+
* Attribute update date in ISO 8601 format.
|
|
1143
|
+
*/
|
|
1144
|
+
$updatedAt: string;
|
|
1145
|
+
/**
|
|
1146
|
+
* String format.
|
|
1147
|
+
*/
|
|
1148
|
+
format: string;
|
|
1149
|
+
/**
|
|
1150
|
+
* Default value for attribute when not provided. Cannot be set when attribute is required.
|
|
1151
|
+
*/
|
|
1152
|
+
default?: string;
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
/**
|
|
1156
|
+
* AttributeURL
|
|
1157
|
+
*/
|
|
1158
|
+
export type AttributeUrl = {
|
|
1159
|
+
/**
|
|
1160
|
+
* Attribute Key.
|
|
1161
|
+
*/
|
|
1162
|
+
key: string;
|
|
1163
|
+
/**
|
|
1164
|
+
* Attribute type.
|
|
1165
|
+
*/
|
|
1166
|
+
type: string;
|
|
1167
|
+
/**
|
|
1168
|
+
* Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1169
|
+
*/
|
|
1170
|
+
status: AttributeStatus;
|
|
1171
|
+
/**
|
|
1172
|
+
* Error message. Displays error generated on failure of creating or deleting an attribute.
|
|
1173
|
+
*/
|
|
1174
|
+
error: string;
|
|
1175
|
+
/**
|
|
1176
|
+
* Is attribute required?
|
|
1177
|
+
*/
|
|
1178
|
+
required: boolean;
|
|
1179
|
+
/**
|
|
1180
|
+
* Is attribute an array?
|
|
1181
|
+
*/
|
|
1182
|
+
array?: boolean;
|
|
1183
|
+
/**
|
|
1184
|
+
* Attribute creation date in ISO 8601 format.
|
|
1185
|
+
*/
|
|
1186
|
+
$createdAt: string;
|
|
1187
|
+
/**
|
|
1188
|
+
* Attribute update date in ISO 8601 format.
|
|
1189
|
+
*/
|
|
1190
|
+
$updatedAt: string;
|
|
1191
|
+
/**
|
|
1192
|
+
* String format.
|
|
1193
|
+
*/
|
|
1194
|
+
format: string;
|
|
1195
|
+
/**
|
|
1196
|
+
* Default value for attribute when not provided. Cannot be set when attribute is required.
|
|
1197
|
+
*/
|
|
1198
|
+
default?: string;
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
/**
|
|
1202
|
+
* AttributeDatetime
|
|
1203
|
+
*/
|
|
1204
|
+
export type AttributeDatetime = {
|
|
1205
|
+
/**
|
|
1206
|
+
* Attribute Key.
|
|
1207
|
+
*/
|
|
1208
|
+
key: string;
|
|
1209
|
+
/**
|
|
1210
|
+
* Attribute type.
|
|
1211
|
+
*/
|
|
1212
|
+
type: string;
|
|
1213
|
+
/**
|
|
1214
|
+
* Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1215
|
+
*/
|
|
1216
|
+
status: AttributeStatus;
|
|
898
1217
|
/**
|
|
899
1218
|
* Error message. Displays error generated on failure of creating or deleting an attribute.
|
|
900
1219
|
*/
|
|
901
1220
|
error: string;
|
|
902
1221
|
/**
|
|
903
|
-
* Is attribute required?
|
|
1222
|
+
* Is attribute required?
|
|
1223
|
+
*/
|
|
1224
|
+
required: boolean;
|
|
1225
|
+
/**
|
|
1226
|
+
* Is attribute an array?
|
|
1227
|
+
*/
|
|
1228
|
+
array?: boolean;
|
|
1229
|
+
/**
|
|
1230
|
+
* Attribute creation date in ISO 8601 format.
|
|
1231
|
+
*/
|
|
1232
|
+
$createdAt: string;
|
|
1233
|
+
/**
|
|
1234
|
+
* Attribute update date in ISO 8601 format.
|
|
1235
|
+
*/
|
|
1236
|
+
$updatedAt: string;
|
|
1237
|
+
/**
|
|
1238
|
+
* ISO 8601 format.
|
|
1239
|
+
*/
|
|
1240
|
+
format: string;
|
|
1241
|
+
/**
|
|
1242
|
+
* Default value for attribute when not provided. Only null is optional
|
|
1243
|
+
*/
|
|
1244
|
+
default?: string;
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
|
+
/**
|
|
1248
|
+
* AttributeRelationship
|
|
1249
|
+
*/
|
|
1250
|
+
export type AttributeRelationship = {
|
|
1251
|
+
/**
|
|
1252
|
+
* Attribute Key.
|
|
1253
|
+
*/
|
|
1254
|
+
key: string;
|
|
1255
|
+
/**
|
|
1256
|
+
* Attribute type.
|
|
1257
|
+
*/
|
|
1258
|
+
type: string;
|
|
1259
|
+
/**
|
|
1260
|
+
* Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1261
|
+
*/
|
|
1262
|
+
status: AttributeStatus;
|
|
1263
|
+
/**
|
|
1264
|
+
* Error message. Displays error generated on failure of creating or deleting an attribute.
|
|
1265
|
+
*/
|
|
1266
|
+
error: string;
|
|
1267
|
+
/**
|
|
1268
|
+
* Is attribute required?
|
|
1269
|
+
*/
|
|
1270
|
+
required: boolean;
|
|
1271
|
+
/**
|
|
1272
|
+
* Is attribute an array?
|
|
1273
|
+
*/
|
|
1274
|
+
array?: boolean;
|
|
1275
|
+
/**
|
|
1276
|
+
* Attribute creation date in ISO 8601 format.
|
|
1277
|
+
*/
|
|
1278
|
+
$createdAt: string;
|
|
1279
|
+
/**
|
|
1280
|
+
* Attribute update date in ISO 8601 format.
|
|
1281
|
+
*/
|
|
1282
|
+
$updatedAt: string;
|
|
1283
|
+
/**
|
|
1284
|
+
* The ID of the related collection.
|
|
1285
|
+
*/
|
|
1286
|
+
relatedCollection: string;
|
|
1287
|
+
/**
|
|
1288
|
+
* The type of the relationship.
|
|
1289
|
+
*/
|
|
1290
|
+
relationType: string;
|
|
1291
|
+
/**
|
|
1292
|
+
* Is the relationship two-way?
|
|
1293
|
+
*/
|
|
1294
|
+
twoWay: boolean;
|
|
1295
|
+
/**
|
|
1296
|
+
* The key of the two-way relationship.
|
|
1297
|
+
*/
|
|
1298
|
+
twoWayKey: string;
|
|
1299
|
+
/**
|
|
1300
|
+
* How deleting the parent document will propagate to child documents.
|
|
1301
|
+
*/
|
|
1302
|
+
onDelete: string;
|
|
1303
|
+
/**
|
|
1304
|
+
* Whether this is the parent or child side of the relationship
|
|
1305
|
+
*/
|
|
1306
|
+
side: string;
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1309
|
+
/**
|
|
1310
|
+
* AttributePoint
|
|
1311
|
+
*/
|
|
1312
|
+
export type AttributePoint = {
|
|
1313
|
+
/**
|
|
1314
|
+
* Attribute Key.
|
|
1315
|
+
*/
|
|
1316
|
+
key: string;
|
|
1317
|
+
/**
|
|
1318
|
+
* Attribute type.
|
|
1319
|
+
*/
|
|
1320
|
+
type: string;
|
|
1321
|
+
/**
|
|
1322
|
+
* Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1323
|
+
*/
|
|
1324
|
+
status: AttributeStatus;
|
|
1325
|
+
/**
|
|
1326
|
+
* Error message. Displays error generated on failure of creating or deleting an attribute.
|
|
1327
|
+
*/
|
|
1328
|
+
error: string;
|
|
1329
|
+
/**
|
|
1330
|
+
* Is attribute required?
|
|
1331
|
+
*/
|
|
1332
|
+
required: boolean;
|
|
1333
|
+
/**
|
|
1334
|
+
* Is attribute an array?
|
|
1335
|
+
*/
|
|
1336
|
+
array?: boolean;
|
|
1337
|
+
/**
|
|
1338
|
+
* Attribute creation date in ISO 8601 format.
|
|
1339
|
+
*/
|
|
1340
|
+
$createdAt: string;
|
|
1341
|
+
/**
|
|
1342
|
+
* Attribute update date in ISO 8601 format.
|
|
1343
|
+
*/
|
|
1344
|
+
$updatedAt: string;
|
|
1345
|
+
/**
|
|
1346
|
+
* Default value for attribute when not provided. Cannot be set when attribute is required.
|
|
1347
|
+
*/
|
|
1348
|
+
default?: any[];
|
|
1349
|
+
}
|
|
1350
|
+
|
|
1351
|
+
/**
|
|
1352
|
+
* AttributeLine
|
|
1353
|
+
*/
|
|
1354
|
+
export type AttributeLine = {
|
|
1355
|
+
/**
|
|
1356
|
+
* Attribute Key.
|
|
1357
|
+
*/
|
|
1358
|
+
key: string;
|
|
1359
|
+
/**
|
|
1360
|
+
* Attribute type.
|
|
1361
|
+
*/
|
|
1362
|
+
type: string;
|
|
1363
|
+
/**
|
|
1364
|
+
* Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1365
|
+
*/
|
|
1366
|
+
status: AttributeStatus;
|
|
1367
|
+
/**
|
|
1368
|
+
* Error message. Displays error generated on failure of creating or deleting an attribute.
|
|
1369
|
+
*/
|
|
1370
|
+
error: string;
|
|
1371
|
+
/**
|
|
1372
|
+
* Is attribute required?
|
|
1373
|
+
*/
|
|
1374
|
+
required: boolean;
|
|
1375
|
+
/**
|
|
1376
|
+
* Is attribute an array?
|
|
1377
|
+
*/
|
|
1378
|
+
array?: boolean;
|
|
1379
|
+
/**
|
|
1380
|
+
* Attribute creation date in ISO 8601 format.
|
|
1381
|
+
*/
|
|
1382
|
+
$createdAt: string;
|
|
1383
|
+
/**
|
|
1384
|
+
* Attribute update date in ISO 8601 format.
|
|
1385
|
+
*/
|
|
1386
|
+
$updatedAt: string;
|
|
1387
|
+
/**
|
|
1388
|
+
* Default value for attribute when not provided. Cannot be set when attribute is required.
|
|
1389
|
+
*/
|
|
1390
|
+
default?: any[];
|
|
1391
|
+
}
|
|
1392
|
+
|
|
1393
|
+
/**
|
|
1394
|
+
* AttributePolygon
|
|
1395
|
+
*/
|
|
1396
|
+
export type AttributePolygon = {
|
|
1397
|
+
/**
|
|
1398
|
+
* Attribute Key.
|
|
1399
|
+
*/
|
|
1400
|
+
key: string;
|
|
1401
|
+
/**
|
|
1402
|
+
* Attribute type.
|
|
1403
|
+
*/
|
|
1404
|
+
type: string;
|
|
1405
|
+
/**
|
|
1406
|
+
* Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1407
|
+
*/
|
|
1408
|
+
status: AttributeStatus;
|
|
1409
|
+
/**
|
|
1410
|
+
* Error message. Displays error generated on failure of creating or deleting an attribute.
|
|
1411
|
+
*/
|
|
1412
|
+
error: string;
|
|
1413
|
+
/**
|
|
1414
|
+
* Is attribute required?
|
|
1415
|
+
*/
|
|
1416
|
+
required: boolean;
|
|
1417
|
+
/**
|
|
1418
|
+
* Is attribute an array?
|
|
1419
|
+
*/
|
|
1420
|
+
array?: boolean;
|
|
1421
|
+
/**
|
|
1422
|
+
* Attribute creation date in ISO 8601 format.
|
|
1423
|
+
*/
|
|
1424
|
+
$createdAt: string;
|
|
1425
|
+
/**
|
|
1426
|
+
* Attribute update date in ISO 8601 format.
|
|
1427
|
+
*/
|
|
1428
|
+
$updatedAt: string;
|
|
1429
|
+
/**
|
|
1430
|
+
* Default value for attribute when not provided. Cannot be set when attribute is required.
|
|
1431
|
+
*/
|
|
1432
|
+
default?: any[];
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
/**
|
|
1436
|
+
* Table
|
|
1437
|
+
*/
|
|
1438
|
+
export type Table = {
|
|
1439
|
+
/**
|
|
1440
|
+
* Table ID.
|
|
1441
|
+
*/
|
|
1442
|
+
$id: string;
|
|
1443
|
+
/**
|
|
1444
|
+
* Table creation date in ISO 8601 format.
|
|
1445
|
+
*/
|
|
1446
|
+
$createdAt: string;
|
|
1447
|
+
/**
|
|
1448
|
+
* Table update date in ISO 8601 format.
|
|
1449
|
+
*/
|
|
1450
|
+
$updatedAt: string;
|
|
1451
|
+
/**
|
|
1452
|
+
* Table permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).
|
|
1453
|
+
*/
|
|
1454
|
+
$permissions: string[];
|
|
1455
|
+
/**
|
|
1456
|
+
* Database ID.
|
|
1457
|
+
*/
|
|
1458
|
+
databaseId: string;
|
|
1459
|
+
/**
|
|
1460
|
+
* Table name.
|
|
1461
|
+
*/
|
|
1462
|
+
name: string;
|
|
1463
|
+
/**
|
|
1464
|
+
* Table enabled. Can be 'enabled' or 'disabled'. When disabled, the table is inaccessible to users, but remains accessible to Server SDKs using API keys.
|
|
1465
|
+
*/
|
|
1466
|
+
enabled: boolean;
|
|
1467
|
+
/**
|
|
1468
|
+
* Whether row-level permissions are enabled. [Learn more about permissions](https://appwrite.io/docs/permissions).
|
|
1469
|
+
*/
|
|
1470
|
+
rowSecurity: boolean;
|
|
1471
|
+
/**
|
|
1472
|
+
* Table columns.
|
|
1473
|
+
*/
|
|
1474
|
+
columns: (Models.ColumnBoolean | Models.ColumnInteger | Models.ColumnFloat | Models.ColumnEmail | Models.ColumnEnum | Models.ColumnUrl | Models.ColumnIp | Models.ColumnDatetime | Models.ColumnRelationship | Models.ColumnPoint | Models.ColumnLine | Models.ColumnPolygon | Models.ColumnString)[];
|
|
1475
|
+
/**
|
|
1476
|
+
* Table indexes.
|
|
1477
|
+
*/
|
|
1478
|
+
indexes: ColumnIndex[];
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
/**
|
|
1482
|
+
* Columns List
|
|
1483
|
+
*/
|
|
1484
|
+
export type ColumnList = {
|
|
1485
|
+
/**
|
|
1486
|
+
* Total number of columns in the given table.
|
|
1487
|
+
*/
|
|
1488
|
+
total: number;
|
|
1489
|
+
/**
|
|
1490
|
+
* List of columns.
|
|
1491
|
+
*/
|
|
1492
|
+
columns: (Models.ColumnBoolean | Models.ColumnInteger | Models.ColumnFloat | Models.ColumnEmail | Models.ColumnEnum | Models.ColumnUrl | Models.ColumnIp | Models.ColumnDatetime | Models.ColumnRelationship | Models.ColumnPoint | Models.ColumnLine | Models.ColumnPolygon | Models.ColumnString)[];
|
|
1493
|
+
}
|
|
1494
|
+
|
|
1495
|
+
/**
|
|
1496
|
+
* ColumnString
|
|
1497
|
+
*/
|
|
1498
|
+
export type ColumnString = {
|
|
1499
|
+
/**
|
|
1500
|
+
* Column Key.
|
|
1501
|
+
*/
|
|
1502
|
+
key: string;
|
|
1503
|
+
/**
|
|
1504
|
+
* Column type.
|
|
1505
|
+
*/
|
|
1506
|
+
type: string;
|
|
1507
|
+
/**
|
|
1508
|
+
* Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1509
|
+
*/
|
|
1510
|
+
status: ColumnStatus;
|
|
1511
|
+
/**
|
|
1512
|
+
* Error message. Displays error generated on failure of creating or deleting an column.
|
|
1513
|
+
*/
|
|
1514
|
+
error: string;
|
|
1515
|
+
/**
|
|
1516
|
+
* Is column required?
|
|
1517
|
+
*/
|
|
1518
|
+
required: boolean;
|
|
1519
|
+
/**
|
|
1520
|
+
* Is column an array?
|
|
1521
|
+
*/
|
|
1522
|
+
array?: boolean;
|
|
1523
|
+
/**
|
|
1524
|
+
* Column creation date in ISO 8601 format.
|
|
1525
|
+
*/
|
|
1526
|
+
$createdAt: string;
|
|
1527
|
+
/**
|
|
1528
|
+
* Column update date in ISO 8601 format.
|
|
1529
|
+
*/
|
|
1530
|
+
$updatedAt: string;
|
|
1531
|
+
/**
|
|
1532
|
+
* Column size.
|
|
1533
|
+
*/
|
|
1534
|
+
size: number;
|
|
1535
|
+
/**
|
|
1536
|
+
* Default value for column when not provided. Cannot be set when column is required.
|
|
1537
|
+
*/
|
|
1538
|
+
default?: string;
|
|
1539
|
+
/**
|
|
1540
|
+
* Defines whether this column is encrypted or not.
|
|
1541
|
+
*/
|
|
1542
|
+
encrypt?: boolean;
|
|
1543
|
+
}
|
|
1544
|
+
|
|
1545
|
+
/**
|
|
1546
|
+
* ColumnInteger
|
|
1547
|
+
*/
|
|
1548
|
+
export type ColumnInteger = {
|
|
1549
|
+
/**
|
|
1550
|
+
* Column Key.
|
|
1551
|
+
*/
|
|
1552
|
+
key: string;
|
|
1553
|
+
/**
|
|
1554
|
+
* Column type.
|
|
1555
|
+
*/
|
|
1556
|
+
type: string;
|
|
1557
|
+
/**
|
|
1558
|
+
* Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1559
|
+
*/
|
|
1560
|
+
status: ColumnStatus;
|
|
1561
|
+
/**
|
|
1562
|
+
* Error message. Displays error generated on failure of creating or deleting an column.
|
|
1563
|
+
*/
|
|
1564
|
+
error: string;
|
|
1565
|
+
/**
|
|
1566
|
+
* Is column required?
|
|
1567
|
+
*/
|
|
1568
|
+
required: boolean;
|
|
1569
|
+
/**
|
|
1570
|
+
* Is column an array?
|
|
1571
|
+
*/
|
|
1572
|
+
array?: boolean;
|
|
1573
|
+
/**
|
|
1574
|
+
* Column creation date in ISO 8601 format.
|
|
1575
|
+
*/
|
|
1576
|
+
$createdAt: string;
|
|
1577
|
+
/**
|
|
1578
|
+
* Column update date in ISO 8601 format.
|
|
1579
|
+
*/
|
|
1580
|
+
$updatedAt: string;
|
|
1581
|
+
/**
|
|
1582
|
+
* Minimum value to enforce for new documents.
|
|
1583
|
+
*/
|
|
1584
|
+
min?: number;
|
|
1585
|
+
/**
|
|
1586
|
+
* Maximum value to enforce for new documents.
|
|
1587
|
+
*/
|
|
1588
|
+
max?: number;
|
|
1589
|
+
/**
|
|
1590
|
+
* Default value for column when not provided. Cannot be set when column is required.
|
|
1591
|
+
*/
|
|
1592
|
+
default?: number;
|
|
1593
|
+
}
|
|
1594
|
+
|
|
1595
|
+
/**
|
|
1596
|
+
* ColumnFloat
|
|
1597
|
+
*/
|
|
1598
|
+
export type ColumnFloat = {
|
|
1599
|
+
/**
|
|
1600
|
+
* Column Key.
|
|
1601
|
+
*/
|
|
1602
|
+
key: string;
|
|
1603
|
+
/**
|
|
1604
|
+
* Column type.
|
|
1605
|
+
*/
|
|
1606
|
+
type: string;
|
|
1607
|
+
/**
|
|
1608
|
+
* Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1609
|
+
*/
|
|
1610
|
+
status: ColumnStatus;
|
|
1611
|
+
/**
|
|
1612
|
+
* Error message. Displays error generated on failure of creating or deleting an column.
|
|
1613
|
+
*/
|
|
1614
|
+
error: string;
|
|
1615
|
+
/**
|
|
1616
|
+
* Is column required?
|
|
1617
|
+
*/
|
|
1618
|
+
required: boolean;
|
|
1619
|
+
/**
|
|
1620
|
+
* Is column an array?
|
|
1621
|
+
*/
|
|
1622
|
+
array?: boolean;
|
|
1623
|
+
/**
|
|
1624
|
+
* Column creation date in ISO 8601 format.
|
|
1625
|
+
*/
|
|
1626
|
+
$createdAt: string;
|
|
1627
|
+
/**
|
|
1628
|
+
* Column update date in ISO 8601 format.
|
|
1629
|
+
*/
|
|
1630
|
+
$updatedAt: string;
|
|
1631
|
+
/**
|
|
1632
|
+
* Minimum value to enforce for new documents.
|
|
1633
|
+
*/
|
|
1634
|
+
min?: number;
|
|
1635
|
+
/**
|
|
1636
|
+
* Maximum value to enforce for new documents.
|
|
1637
|
+
*/
|
|
1638
|
+
max?: number;
|
|
1639
|
+
/**
|
|
1640
|
+
* Default value for column when not provided. Cannot be set when column is required.
|
|
1641
|
+
*/
|
|
1642
|
+
default?: number;
|
|
1643
|
+
}
|
|
1644
|
+
|
|
1645
|
+
/**
|
|
1646
|
+
* ColumnBoolean
|
|
1647
|
+
*/
|
|
1648
|
+
export type ColumnBoolean = {
|
|
1649
|
+
/**
|
|
1650
|
+
* Column Key.
|
|
1651
|
+
*/
|
|
1652
|
+
key: string;
|
|
1653
|
+
/**
|
|
1654
|
+
* Column type.
|
|
1655
|
+
*/
|
|
1656
|
+
type: string;
|
|
1657
|
+
/**
|
|
1658
|
+
* Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1659
|
+
*/
|
|
1660
|
+
status: ColumnStatus;
|
|
1661
|
+
/**
|
|
1662
|
+
* Error message. Displays error generated on failure of creating or deleting an column.
|
|
1663
|
+
*/
|
|
1664
|
+
error: string;
|
|
1665
|
+
/**
|
|
1666
|
+
* Is column required?
|
|
1667
|
+
*/
|
|
1668
|
+
required: boolean;
|
|
1669
|
+
/**
|
|
1670
|
+
* Is column an array?
|
|
1671
|
+
*/
|
|
1672
|
+
array?: boolean;
|
|
1673
|
+
/**
|
|
1674
|
+
* Column creation date in ISO 8601 format.
|
|
1675
|
+
*/
|
|
1676
|
+
$createdAt: string;
|
|
1677
|
+
/**
|
|
1678
|
+
* Column update date in ISO 8601 format.
|
|
1679
|
+
*/
|
|
1680
|
+
$updatedAt: string;
|
|
1681
|
+
/**
|
|
1682
|
+
* Default value for column when not provided. Cannot be set when column is required.
|
|
1683
|
+
*/
|
|
1684
|
+
default?: boolean;
|
|
1685
|
+
}
|
|
1686
|
+
|
|
1687
|
+
/**
|
|
1688
|
+
* ColumnEmail
|
|
1689
|
+
*/
|
|
1690
|
+
export type ColumnEmail = {
|
|
1691
|
+
/**
|
|
1692
|
+
* Column Key.
|
|
1693
|
+
*/
|
|
1694
|
+
key: string;
|
|
1695
|
+
/**
|
|
1696
|
+
* Column type.
|
|
1697
|
+
*/
|
|
1698
|
+
type: string;
|
|
1699
|
+
/**
|
|
1700
|
+
* Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1701
|
+
*/
|
|
1702
|
+
status: ColumnStatus;
|
|
1703
|
+
/**
|
|
1704
|
+
* Error message. Displays error generated on failure of creating or deleting an column.
|
|
1705
|
+
*/
|
|
1706
|
+
error: string;
|
|
1707
|
+
/**
|
|
1708
|
+
* Is column required?
|
|
1709
|
+
*/
|
|
1710
|
+
required: boolean;
|
|
1711
|
+
/**
|
|
1712
|
+
* Is column an array?
|
|
1713
|
+
*/
|
|
1714
|
+
array?: boolean;
|
|
1715
|
+
/**
|
|
1716
|
+
* Column creation date in ISO 8601 format.
|
|
1717
|
+
*/
|
|
1718
|
+
$createdAt: string;
|
|
1719
|
+
/**
|
|
1720
|
+
* Column update date in ISO 8601 format.
|
|
1721
|
+
*/
|
|
1722
|
+
$updatedAt: string;
|
|
1723
|
+
/**
|
|
1724
|
+
* String format.
|
|
1725
|
+
*/
|
|
1726
|
+
format: string;
|
|
1727
|
+
/**
|
|
1728
|
+
* Default value for column when not provided. Cannot be set when column is required.
|
|
1729
|
+
*/
|
|
1730
|
+
default?: string;
|
|
1731
|
+
}
|
|
1732
|
+
|
|
1733
|
+
/**
|
|
1734
|
+
* ColumnEnum
|
|
1735
|
+
*/
|
|
1736
|
+
export type ColumnEnum = {
|
|
1737
|
+
/**
|
|
1738
|
+
* Column Key.
|
|
1739
|
+
*/
|
|
1740
|
+
key: string;
|
|
1741
|
+
/**
|
|
1742
|
+
* Column type.
|
|
1743
|
+
*/
|
|
1744
|
+
type: string;
|
|
1745
|
+
/**
|
|
1746
|
+
* Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1747
|
+
*/
|
|
1748
|
+
status: ColumnStatus;
|
|
1749
|
+
/**
|
|
1750
|
+
* Error message. Displays error generated on failure of creating or deleting an column.
|
|
1751
|
+
*/
|
|
1752
|
+
error: string;
|
|
1753
|
+
/**
|
|
1754
|
+
* Is column required?
|
|
1755
|
+
*/
|
|
1756
|
+
required: boolean;
|
|
1757
|
+
/**
|
|
1758
|
+
* Is column an array?
|
|
1759
|
+
*/
|
|
1760
|
+
array?: boolean;
|
|
1761
|
+
/**
|
|
1762
|
+
* Column creation date in ISO 8601 format.
|
|
1763
|
+
*/
|
|
1764
|
+
$createdAt: string;
|
|
1765
|
+
/**
|
|
1766
|
+
* Column update date in ISO 8601 format.
|
|
1767
|
+
*/
|
|
1768
|
+
$updatedAt: string;
|
|
1769
|
+
/**
|
|
1770
|
+
* Array of elements in enumerated type.
|
|
1771
|
+
*/
|
|
1772
|
+
elements: string[];
|
|
1773
|
+
/**
|
|
1774
|
+
* String format.
|
|
1775
|
+
*/
|
|
1776
|
+
format: string;
|
|
1777
|
+
/**
|
|
1778
|
+
* Default value for column when not provided. Cannot be set when column is required.
|
|
1779
|
+
*/
|
|
1780
|
+
default?: string;
|
|
1781
|
+
}
|
|
1782
|
+
|
|
1783
|
+
/**
|
|
1784
|
+
* ColumnIP
|
|
1785
|
+
*/
|
|
1786
|
+
export type ColumnIp = {
|
|
1787
|
+
/**
|
|
1788
|
+
* Column Key.
|
|
1789
|
+
*/
|
|
1790
|
+
key: string;
|
|
1791
|
+
/**
|
|
1792
|
+
* Column type.
|
|
1793
|
+
*/
|
|
1794
|
+
type: string;
|
|
1795
|
+
/**
|
|
1796
|
+
* Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1797
|
+
*/
|
|
1798
|
+
status: ColumnStatus;
|
|
1799
|
+
/**
|
|
1800
|
+
* Error message. Displays error generated on failure of creating or deleting an column.
|
|
1801
|
+
*/
|
|
1802
|
+
error: string;
|
|
1803
|
+
/**
|
|
1804
|
+
* Is column required?
|
|
1805
|
+
*/
|
|
1806
|
+
required: boolean;
|
|
1807
|
+
/**
|
|
1808
|
+
* Is column an array?
|
|
1809
|
+
*/
|
|
1810
|
+
array?: boolean;
|
|
1811
|
+
/**
|
|
1812
|
+
* Column creation date in ISO 8601 format.
|
|
1813
|
+
*/
|
|
1814
|
+
$createdAt: string;
|
|
1815
|
+
/**
|
|
1816
|
+
* Column update date in ISO 8601 format.
|
|
1817
|
+
*/
|
|
1818
|
+
$updatedAt: string;
|
|
1819
|
+
/**
|
|
1820
|
+
* String format.
|
|
1821
|
+
*/
|
|
1822
|
+
format: string;
|
|
1823
|
+
/**
|
|
1824
|
+
* Default value for column when not provided. Cannot be set when column is required.
|
|
1825
|
+
*/
|
|
1826
|
+
default?: string;
|
|
1827
|
+
}
|
|
1828
|
+
|
|
1829
|
+
/**
|
|
1830
|
+
* ColumnURL
|
|
1831
|
+
*/
|
|
1832
|
+
export type ColumnUrl = {
|
|
1833
|
+
/**
|
|
1834
|
+
* Column Key.
|
|
1835
|
+
*/
|
|
1836
|
+
key: string;
|
|
1837
|
+
/**
|
|
1838
|
+
* Column type.
|
|
1839
|
+
*/
|
|
1840
|
+
type: string;
|
|
1841
|
+
/**
|
|
1842
|
+
* Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1843
|
+
*/
|
|
1844
|
+
status: ColumnStatus;
|
|
1845
|
+
/**
|
|
1846
|
+
* Error message. Displays error generated on failure of creating or deleting an column.
|
|
1847
|
+
*/
|
|
1848
|
+
error: string;
|
|
1849
|
+
/**
|
|
1850
|
+
* Is column required?
|
|
904
1851
|
*/
|
|
905
1852
|
required: boolean;
|
|
906
1853
|
/**
|
|
907
|
-
* Is
|
|
1854
|
+
* Is column an array?
|
|
908
1855
|
*/
|
|
909
1856
|
array?: boolean;
|
|
910
1857
|
/**
|
|
911
|
-
*
|
|
1858
|
+
* Column creation date in ISO 8601 format.
|
|
912
1859
|
*/
|
|
913
1860
|
$createdAt: string;
|
|
914
1861
|
/**
|
|
915
|
-
*
|
|
1862
|
+
* Column update date in ISO 8601 format.
|
|
916
1863
|
*/
|
|
917
1864
|
$updatedAt: string;
|
|
918
1865
|
/**
|
|
@@ -920,259 +1867,307 @@ export namespace Models {
|
|
|
920
1867
|
*/
|
|
921
1868
|
format: string;
|
|
922
1869
|
/**
|
|
923
|
-
* Default value for
|
|
1870
|
+
* Default value for column when not provided. Cannot be set when column is required.
|
|
924
1871
|
*/
|
|
925
1872
|
default?: string;
|
|
926
1873
|
}
|
|
1874
|
+
|
|
927
1875
|
/**
|
|
928
|
-
*
|
|
1876
|
+
* ColumnDatetime
|
|
929
1877
|
*/
|
|
930
|
-
export type
|
|
1878
|
+
export type ColumnDatetime = {
|
|
931
1879
|
/**
|
|
932
|
-
*
|
|
1880
|
+
* Column Key.
|
|
933
1881
|
*/
|
|
934
1882
|
key: string;
|
|
935
1883
|
/**
|
|
936
|
-
*
|
|
1884
|
+
* Column type.
|
|
937
1885
|
*/
|
|
938
1886
|
type: string;
|
|
939
1887
|
/**
|
|
940
|
-
*
|
|
1888
|
+
* Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
941
1889
|
*/
|
|
942
|
-
status:
|
|
1890
|
+
status: ColumnStatus;
|
|
943
1891
|
/**
|
|
944
|
-
* Error message. Displays error generated on failure of creating or deleting an
|
|
1892
|
+
* Error message. Displays error generated on failure of creating or deleting an column.
|
|
945
1893
|
*/
|
|
946
1894
|
error: string;
|
|
947
1895
|
/**
|
|
948
|
-
* Is
|
|
1896
|
+
* Is column required?
|
|
949
1897
|
*/
|
|
950
1898
|
required: boolean;
|
|
951
1899
|
/**
|
|
952
|
-
* Is
|
|
1900
|
+
* Is column an array?
|
|
953
1901
|
*/
|
|
954
1902
|
array?: boolean;
|
|
955
1903
|
/**
|
|
956
|
-
*
|
|
1904
|
+
* Column creation date in ISO 8601 format.
|
|
957
1905
|
*/
|
|
958
1906
|
$createdAt: string;
|
|
959
1907
|
/**
|
|
960
|
-
*
|
|
1908
|
+
* Column update date in ISO 8601 format.
|
|
961
1909
|
*/
|
|
962
1910
|
$updatedAt: string;
|
|
963
1911
|
/**
|
|
964
|
-
*
|
|
965
|
-
*/
|
|
966
|
-
elements: string[];
|
|
967
|
-
/**
|
|
968
|
-
* String format.
|
|
1912
|
+
* ISO 8601 format.
|
|
969
1913
|
*/
|
|
970
1914
|
format: string;
|
|
971
1915
|
/**
|
|
972
|
-
* Default value for
|
|
1916
|
+
* Default value for column when not provided. Only null is optional
|
|
973
1917
|
*/
|
|
974
1918
|
default?: string;
|
|
975
1919
|
}
|
|
1920
|
+
|
|
976
1921
|
/**
|
|
977
|
-
*
|
|
1922
|
+
* ColumnRelationship
|
|
978
1923
|
*/
|
|
979
|
-
export type
|
|
1924
|
+
export type ColumnRelationship = {
|
|
980
1925
|
/**
|
|
981
|
-
*
|
|
1926
|
+
* Column Key.
|
|
982
1927
|
*/
|
|
983
1928
|
key: string;
|
|
984
1929
|
/**
|
|
985
|
-
*
|
|
1930
|
+
* Column type.
|
|
986
1931
|
*/
|
|
987
1932
|
type: string;
|
|
988
1933
|
/**
|
|
989
|
-
*
|
|
1934
|
+
* Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
990
1935
|
*/
|
|
991
|
-
status:
|
|
1936
|
+
status: ColumnStatus;
|
|
992
1937
|
/**
|
|
993
|
-
* Error message. Displays error generated on failure of creating or deleting an
|
|
1938
|
+
* Error message. Displays error generated on failure of creating or deleting an column.
|
|
994
1939
|
*/
|
|
995
1940
|
error: string;
|
|
996
1941
|
/**
|
|
997
|
-
* Is
|
|
1942
|
+
* Is column required?
|
|
998
1943
|
*/
|
|
999
1944
|
required: boolean;
|
|
1000
1945
|
/**
|
|
1001
|
-
* Is
|
|
1946
|
+
* Is column an array?
|
|
1002
1947
|
*/
|
|
1003
1948
|
array?: boolean;
|
|
1004
1949
|
/**
|
|
1005
|
-
*
|
|
1950
|
+
* Column creation date in ISO 8601 format.
|
|
1006
1951
|
*/
|
|
1007
1952
|
$createdAt: string;
|
|
1008
1953
|
/**
|
|
1009
|
-
*
|
|
1954
|
+
* Column update date in ISO 8601 format.
|
|
1010
1955
|
*/
|
|
1011
1956
|
$updatedAt: string;
|
|
1012
1957
|
/**
|
|
1013
|
-
*
|
|
1958
|
+
* The ID of the related table.
|
|
1014
1959
|
*/
|
|
1015
|
-
|
|
1960
|
+
relatedTable: string;
|
|
1016
1961
|
/**
|
|
1017
|
-
*
|
|
1962
|
+
* The type of the relationship.
|
|
1018
1963
|
*/
|
|
1019
|
-
|
|
1964
|
+
relationType: string;
|
|
1965
|
+
/**
|
|
1966
|
+
* Is the relationship two-way?
|
|
1967
|
+
*/
|
|
1968
|
+
twoWay: boolean;
|
|
1969
|
+
/**
|
|
1970
|
+
* The key of the two-way relationship.
|
|
1971
|
+
*/
|
|
1972
|
+
twoWayKey: string;
|
|
1973
|
+
/**
|
|
1974
|
+
* How deleting the parent document will propagate to child documents.
|
|
1975
|
+
*/
|
|
1976
|
+
onDelete: string;
|
|
1977
|
+
/**
|
|
1978
|
+
* Whether this is the parent or child side of the relationship
|
|
1979
|
+
*/
|
|
1980
|
+
side: string;
|
|
1020
1981
|
}
|
|
1982
|
+
|
|
1021
1983
|
/**
|
|
1022
|
-
*
|
|
1984
|
+
* ColumnPoint
|
|
1023
1985
|
*/
|
|
1024
|
-
export type
|
|
1986
|
+
export type ColumnPoint = {
|
|
1025
1987
|
/**
|
|
1026
|
-
*
|
|
1988
|
+
* Column Key.
|
|
1027
1989
|
*/
|
|
1028
1990
|
key: string;
|
|
1029
1991
|
/**
|
|
1030
|
-
*
|
|
1992
|
+
* Column type.
|
|
1031
1993
|
*/
|
|
1032
1994
|
type: string;
|
|
1033
1995
|
/**
|
|
1034
|
-
*
|
|
1996
|
+
* Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1035
1997
|
*/
|
|
1036
|
-
status:
|
|
1998
|
+
status: ColumnStatus;
|
|
1037
1999
|
/**
|
|
1038
|
-
* Error message. Displays error generated on failure of creating or deleting an
|
|
2000
|
+
* Error message. Displays error generated on failure of creating or deleting an column.
|
|
1039
2001
|
*/
|
|
1040
2002
|
error: string;
|
|
1041
2003
|
/**
|
|
1042
|
-
* Is
|
|
2004
|
+
* Is column required?
|
|
1043
2005
|
*/
|
|
1044
2006
|
required: boolean;
|
|
1045
2007
|
/**
|
|
1046
|
-
* Is
|
|
2008
|
+
* Is column an array?
|
|
1047
2009
|
*/
|
|
1048
2010
|
array?: boolean;
|
|
1049
2011
|
/**
|
|
1050
|
-
*
|
|
2012
|
+
* Column creation date in ISO 8601 format.
|
|
1051
2013
|
*/
|
|
1052
2014
|
$createdAt: string;
|
|
1053
2015
|
/**
|
|
1054
|
-
*
|
|
2016
|
+
* Column update date in ISO 8601 format.
|
|
1055
2017
|
*/
|
|
1056
2018
|
$updatedAt: string;
|
|
1057
2019
|
/**
|
|
1058
|
-
*
|
|
1059
|
-
*/
|
|
1060
|
-
format: string;
|
|
1061
|
-
/**
|
|
1062
|
-
* Default value for attribute when not provided. Cannot be set when attribute is required.
|
|
2020
|
+
* Default value for column when not provided. Cannot be set when column is required.
|
|
1063
2021
|
*/
|
|
1064
|
-
default?:
|
|
2022
|
+
default?: any[];
|
|
1065
2023
|
}
|
|
2024
|
+
|
|
1066
2025
|
/**
|
|
1067
|
-
*
|
|
2026
|
+
* ColumnLine
|
|
1068
2027
|
*/
|
|
1069
|
-
export type
|
|
2028
|
+
export type ColumnLine = {
|
|
1070
2029
|
/**
|
|
1071
|
-
*
|
|
2030
|
+
* Column Key.
|
|
1072
2031
|
*/
|
|
1073
2032
|
key: string;
|
|
1074
2033
|
/**
|
|
1075
|
-
*
|
|
2034
|
+
* Column type.
|
|
1076
2035
|
*/
|
|
1077
2036
|
type: string;
|
|
1078
2037
|
/**
|
|
1079
|
-
*
|
|
2038
|
+
* Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1080
2039
|
*/
|
|
1081
|
-
status:
|
|
2040
|
+
status: ColumnStatus;
|
|
1082
2041
|
/**
|
|
1083
|
-
* Error message. Displays error generated on failure of creating or deleting an
|
|
2042
|
+
* Error message. Displays error generated on failure of creating or deleting an column.
|
|
1084
2043
|
*/
|
|
1085
2044
|
error: string;
|
|
1086
2045
|
/**
|
|
1087
|
-
* Is
|
|
2046
|
+
* Is column required?
|
|
1088
2047
|
*/
|
|
1089
2048
|
required: boolean;
|
|
1090
2049
|
/**
|
|
1091
|
-
* Is
|
|
2050
|
+
* Is column an array?
|
|
1092
2051
|
*/
|
|
1093
2052
|
array?: boolean;
|
|
1094
2053
|
/**
|
|
1095
|
-
*
|
|
2054
|
+
* Column creation date in ISO 8601 format.
|
|
1096
2055
|
*/
|
|
1097
2056
|
$createdAt: string;
|
|
1098
2057
|
/**
|
|
1099
|
-
*
|
|
2058
|
+
* Column update date in ISO 8601 format.
|
|
1100
2059
|
*/
|
|
1101
2060
|
$updatedAt: string;
|
|
1102
2061
|
/**
|
|
1103
|
-
*
|
|
1104
|
-
*/
|
|
1105
|
-
format: string;
|
|
1106
|
-
/**
|
|
1107
|
-
* Default value for attribute when not provided. Only null is optional
|
|
2062
|
+
* Default value for column when not provided. Cannot be set when column is required.
|
|
1108
2063
|
*/
|
|
1109
|
-
default?:
|
|
2064
|
+
default?: any[];
|
|
1110
2065
|
}
|
|
2066
|
+
|
|
1111
2067
|
/**
|
|
1112
|
-
*
|
|
2068
|
+
* ColumnPolygon
|
|
1113
2069
|
*/
|
|
1114
|
-
export type
|
|
2070
|
+
export type ColumnPolygon = {
|
|
1115
2071
|
/**
|
|
1116
|
-
*
|
|
2072
|
+
* Column Key.
|
|
1117
2073
|
*/
|
|
1118
2074
|
key: string;
|
|
1119
2075
|
/**
|
|
1120
|
-
*
|
|
2076
|
+
* Column type.
|
|
1121
2077
|
*/
|
|
1122
2078
|
type: string;
|
|
1123
2079
|
/**
|
|
1124
|
-
*
|
|
2080
|
+
* Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1125
2081
|
*/
|
|
1126
|
-
status:
|
|
2082
|
+
status: ColumnStatus;
|
|
1127
2083
|
/**
|
|
1128
|
-
* Error message. Displays error generated on failure of creating or deleting an
|
|
2084
|
+
* Error message. Displays error generated on failure of creating or deleting an column.
|
|
1129
2085
|
*/
|
|
1130
2086
|
error: string;
|
|
1131
2087
|
/**
|
|
1132
|
-
* Is
|
|
2088
|
+
* Is column required?
|
|
1133
2089
|
*/
|
|
1134
2090
|
required: boolean;
|
|
1135
2091
|
/**
|
|
1136
|
-
* Is
|
|
2092
|
+
* Is column an array?
|
|
1137
2093
|
*/
|
|
1138
2094
|
array?: boolean;
|
|
1139
2095
|
/**
|
|
1140
|
-
*
|
|
2096
|
+
* Column creation date in ISO 8601 format.
|
|
1141
2097
|
*/
|
|
1142
2098
|
$createdAt: string;
|
|
1143
2099
|
/**
|
|
1144
|
-
*
|
|
2100
|
+
* Column update date in ISO 8601 format.
|
|
1145
2101
|
*/
|
|
1146
2102
|
$updatedAt: string;
|
|
1147
2103
|
/**
|
|
1148
|
-
*
|
|
2104
|
+
* Default value for column when not provided. Cannot be set when column is required.
|
|
1149
2105
|
*/
|
|
1150
|
-
|
|
2106
|
+
default?: any[];
|
|
2107
|
+
}
|
|
2108
|
+
|
|
2109
|
+
/**
|
|
2110
|
+
* Index
|
|
2111
|
+
*/
|
|
2112
|
+
export type Index = {
|
|
1151
2113
|
/**
|
|
1152
|
-
*
|
|
2114
|
+
* Index ID.
|
|
1153
2115
|
*/
|
|
1154
|
-
|
|
2116
|
+
$id: string;
|
|
1155
2117
|
/**
|
|
1156
|
-
*
|
|
2118
|
+
* Index creation date in ISO 8601 format.
|
|
1157
2119
|
*/
|
|
1158
|
-
|
|
2120
|
+
$createdAt: string;
|
|
1159
2121
|
/**
|
|
1160
|
-
*
|
|
2122
|
+
* Index update date in ISO 8601 format.
|
|
1161
2123
|
*/
|
|
1162
|
-
|
|
2124
|
+
$updatedAt: string;
|
|
1163
2125
|
/**
|
|
1164
|
-
*
|
|
2126
|
+
* Index key.
|
|
1165
2127
|
*/
|
|
1166
|
-
|
|
2128
|
+
key: string;
|
|
1167
2129
|
/**
|
|
1168
|
-
*
|
|
2130
|
+
* Index type.
|
|
1169
2131
|
*/
|
|
1170
|
-
|
|
2132
|
+
type: string;
|
|
2133
|
+
/**
|
|
2134
|
+
* Index status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
2135
|
+
*/
|
|
2136
|
+
status: IndexStatus;
|
|
2137
|
+
/**
|
|
2138
|
+
* Error message. Displays error generated on failure of creating or deleting an index.
|
|
2139
|
+
*/
|
|
2140
|
+
error: string;
|
|
2141
|
+
/**
|
|
2142
|
+
* Index attributes.
|
|
2143
|
+
*/
|
|
2144
|
+
attributes: string[];
|
|
2145
|
+
/**
|
|
2146
|
+
* Index attributes length.
|
|
2147
|
+
*/
|
|
2148
|
+
lengths: number[];
|
|
2149
|
+
/**
|
|
2150
|
+
* Index orders.
|
|
2151
|
+
*/
|
|
2152
|
+
orders?: string[];
|
|
1171
2153
|
}
|
|
2154
|
+
|
|
1172
2155
|
/**
|
|
1173
2156
|
* Index
|
|
1174
2157
|
*/
|
|
1175
|
-
export type
|
|
2158
|
+
export type ColumnIndex = {
|
|
2159
|
+
/**
|
|
2160
|
+
* Index ID.
|
|
2161
|
+
*/
|
|
2162
|
+
$id: string;
|
|
2163
|
+
/**
|
|
2164
|
+
* Index creation date in ISO 8601 format.
|
|
2165
|
+
*/
|
|
2166
|
+
$createdAt: string;
|
|
2167
|
+
/**
|
|
2168
|
+
* Index update date in ISO 8601 format.
|
|
2169
|
+
*/
|
|
2170
|
+
$updatedAt: string;
|
|
1176
2171
|
/**
|
|
1177
2172
|
* Index Key.
|
|
1178
2173
|
*/
|
|
@@ -1190,26 +2185,58 @@ export namespace Models {
|
|
|
1190
2185
|
*/
|
|
1191
2186
|
error: string;
|
|
1192
2187
|
/**
|
|
1193
|
-
* Index
|
|
2188
|
+
* Index columns.
|
|
1194
2189
|
*/
|
|
1195
|
-
|
|
2190
|
+
columns: string[];
|
|
1196
2191
|
/**
|
|
1197
|
-
* Index
|
|
2192
|
+
* Index columns length.
|
|
1198
2193
|
*/
|
|
1199
2194
|
lengths: number[];
|
|
1200
2195
|
/**
|
|
1201
2196
|
* Index orders.
|
|
1202
2197
|
*/
|
|
1203
2198
|
orders?: string[];
|
|
2199
|
+
}
|
|
2200
|
+
|
|
2201
|
+
/**
|
|
2202
|
+
* Row
|
|
2203
|
+
*/
|
|
2204
|
+
export type Row = {
|
|
1204
2205
|
/**
|
|
1205
|
-
*
|
|
2206
|
+
* Row ID.
|
|
2207
|
+
*/
|
|
2208
|
+
$id: string;
|
|
2209
|
+
/**
|
|
2210
|
+
* Row automatically incrementing ID.
|
|
2211
|
+
*/
|
|
2212
|
+
$sequence: number;
|
|
2213
|
+
/**
|
|
2214
|
+
* Table ID.
|
|
2215
|
+
*/
|
|
2216
|
+
$tableId: string;
|
|
2217
|
+
/**
|
|
2218
|
+
* Database ID.
|
|
2219
|
+
*/
|
|
2220
|
+
$databaseId: string;
|
|
2221
|
+
/**
|
|
2222
|
+
* Row creation date in ISO 8601 format.
|
|
1206
2223
|
*/
|
|
1207
2224
|
$createdAt: string;
|
|
1208
2225
|
/**
|
|
1209
|
-
*
|
|
2226
|
+
* Row update date in ISO 8601 format.
|
|
1210
2227
|
*/
|
|
1211
2228
|
$updatedAt: string;
|
|
2229
|
+
/**
|
|
2230
|
+
* Row permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).
|
|
2231
|
+
*/
|
|
2232
|
+
$permissions: string[];
|
|
1212
2233
|
}
|
|
2234
|
+
|
|
2235
|
+
export type DefaultRow = Row & {
|
|
2236
|
+
[key: string]: any;
|
|
2237
|
+
[__default]: true;
|
|
2238
|
+
};
|
|
2239
|
+
|
|
1213
2240
|
/**
|
|
1214
2241
|
* Document
|
|
1215
2242
|
*/
|
|
@@ -1242,8 +2269,13 @@ export namespace Models {
|
|
|
1242
2269
|
* Document permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).
|
|
1243
2270
|
*/
|
|
1244
2271
|
$permissions: string[];
|
|
1245
|
-
[key: string]: any;
|
|
1246
2272
|
}
|
|
2273
|
+
|
|
2274
|
+
export type DefaultDocument = Document & {
|
|
2275
|
+
[key: string]: any;
|
|
2276
|
+
[__default]: true;
|
|
2277
|
+
};
|
|
2278
|
+
|
|
1247
2279
|
/**
|
|
1248
2280
|
* Log
|
|
1249
2281
|
*/
|
|
@@ -1333,10 +2365,11 @@ export namespace Models {
|
|
|
1333
2365
|
*/
|
|
1334
2366
|
countryName: string;
|
|
1335
2367
|
}
|
|
2368
|
+
|
|
1336
2369
|
/**
|
|
1337
2370
|
* User
|
|
1338
2371
|
*/
|
|
1339
|
-
export type User<Preferences extends Models.Preferences> = {
|
|
2372
|
+
export type User<Preferences extends Models.Preferences = Models.DefaultPreferences> = {
|
|
1340
2373
|
/**
|
|
1341
2374
|
* User ID.
|
|
1342
2375
|
*/
|
|
@@ -1414,6 +2447,7 @@ export namespace Models {
|
|
|
1414
2447
|
*/
|
|
1415
2448
|
accessedAt: string;
|
|
1416
2449
|
}
|
|
2450
|
+
|
|
1417
2451
|
/**
|
|
1418
2452
|
* AlgoMD5
|
|
1419
2453
|
*/
|
|
@@ -1423,6 +2457,7 @@ export namespace Models {
|
|
|
1423
2457
|
*/
|
|
1424
2458
|
type: string;
|
|
1425
2459
|
}
|
|
2460
|
+
|
|
1426
2461
|
/**
|
|
1427
2462
|
* AlgoSHA
|
|
1428
2463
|
*/
|
|
@@ -1432,6 +2467,7 @@ export namespace Models {
|
|
|
1432
2467
|
*/
|
|
1433
2468
|
type: string;
|
|
1434
2469
|
}
|
|
2470
|
+
|
|
1435
2471
|
/**
|
|
1436
2472
|
* AlgoPHPass
|
|
1437
2473
|
*/
|
|
@@ -1441,6 +2477,7 @@ export namespace Models {
|
|
|
1441
2477
|
*/
|
|
1442
2478
|
type: string;
|
|
1443
2479
|
}
|
|
2480
|
+
|
|
1444
2481
|
/**
|
|
1445
2482
|
* AlgoBcrypt
|
|
1446
2483
|
*/
|
|
@@ -1450,6 +2487,7 @@ export namespace Models {
|
|
|
1450
2487
|
*/
|
|
1451
2488
|
type: string;
|
|
1452
2489
|
}
|
|
2490
|
+
|
|
1453
2491
|
/**
|
|
1454
2492
|
* AlgoScrypt
|
|
1455
2493
|
*/
|
|
@@ -1475,6 +2513,7 @@ export namespace Models {
|
|
|
1475
2513
|
*/
|
|
1476
2514
|
length: number;
|
|
1477
2515
|
}
|
|
2516
|
+
|
|
1478
2517
|
/**
|
|
1479
2518
|
* AlgoScryptModified
|
|
1480
2519
|
*/
|
|
@@ -1496,6 +2535,7 @@ export namespace Models {
|
|
|
1496
2535
|
*/
|
|
1497
2536
|
signerKey: string;
|
|
1498
2537
|
}
|
|
2538
|
+
|
|
1499
2539
|
/**
|
|
1500
2540
|
* AlgoArgon2
|
|
1501
2541
|
*/
|
|
@@ -1517,12 +2557,18 @@ export namespace Models {
|
|
|
1517
2557
|
*/
|
|
1518
2558
|
threads: number;
|
|
1519
2559
|
}
|
|
2560
|
+
|
|
1520
2561
|
/**
|
|
1521
2562
|
* Preferences
|
|
1522
2563
|
*/
|
|
1523
2564
|
export type Preferences = {
|
|
1524
|
-
[key: string]: any;
|
|
1525
2565
|
}
|
|
2566
|
+
|
|
2567
|
+
export type DefaultPreferences = Preferences & {
|
|
2568
|
+
[key: string]: any;
|
|
2569
|
+
[__default]: true;
|
|
2570
|
+
};
|
|
2571
|
+
|
|
1526
2572
|
/**
|
|
1527
2573
|
* Session
|
|
1528
2574
|
*/
|
|
@@ -1644,6 +2690,7 @@ export namespace Models {
|
|
|
1644
2690
|
*/
|
|
1645
2691
|
mfaUpdatedAt: string;
|
|
1646
2692
|
}
|
|
2693
|
+
|
|
1647
2694
|
/**
|
|
1648
2695
|
* Identity
|
|
1649
2696
|
*/
|
|
@@ -1689,6 +2736,7 @@ export namespace Models {
|
|
|
1689
2736
|
*/
|
|
1690
2737
|
providerRefreshToken: string;
|
|
1691
2738
|
}
|
|
2739
|
+
|
|
1692
2740
|
/**
|
|
1693
2741
|
* Token
|
|
1694
2742
|
*/
|
|
@@ -1718,6 +2766,7 @@ export namespace Models {
|
|
|
1718
2766
|
*/
|
|
1719
2767
|
phrase: string;
|
|
1720
2768
|
}
|
|
2769
|
+
|
|
1721
2770
|
/**
|
|
1722
2771
|
* JWT
|
|
1723
2772
|
*/
|
|
@@ -1727,6 +2776,7 @@ export namespace Models {
|
|
|
1727
2776
|
*/
|
|
1728
2777
|
jwt: string;
|
|
1729
2778
|
}
|
|
2779
|
+
|
|
1730
2780
|
/**
|
|
1731
2781
|
* Locale
|
|
1732
2782
|
*/
|
|
@@ -1744,7 +2794,7 @@ export namespace Models {
|
|
|
1744
2794
|
*/
|
|
1745
2795
|
country: string;
|
|
1746
2796
|
/**
|
|
1747
|
-
* Continent code. A two character continent code
|
|
2797
|
+
* Continent code. A two character continent code "AF" for Africa, "AN" for Antarctica, "AS" for Asia, "EU" for Europe, "NA" for North America, "OC" for Oceania, and "SA" for South America.
|
|
1748
2798
|
*/
|
|
1749
2799
|
continentCode: string;
|
|
1750
2800
|
/**
|
|
@@ -1760,6 +2810,7 @@ export namespace Models {
|
|
|
1760
2810
|
*/
|
|
1761
2811
|
currency: string;
|
|
1762
2812
|
}
|
|
2813
|
+
|
|
1763
2814
|
/**
|
|
1764
2815
|
* LocaleCode
|
|
1765
2816
|
*/
|
|
@@ -1773,6 +2824,7 @@ export namespace Models {
|
|
|
1773
2824
|
*/
|
|
1774
2825
|
name: string;
|
|
1775
2826
|
}
|
|
2827
|
+
|
|
1776
2828
|
/**
|
|
1777
2829
|
* File
|
|
1778
2830
|
*/
|
|
@@ -1822,6 +2874,7 @@ export namespace Models {
|
|
|
1822
2874
|
*/
|
|
1823
2875
|
chunksUploaded: number;
|
|
1824
2876
|
}
|
|
2877
|
+
|
|
1825
2878
|
/**
|
|
1826
2879
|
* Bucket
|
|
1827
2880
|
*/
|
|
@@ -1874,7 +2927,12 @@ export namespace Models {
|
|
|
1874
2927
|
* Virus scanning is enabled.
|
|
1875
2928
|
*/
|
|
1876
2929
|
antivirus: boolean;
|
|
2930
|
+
/**
|
|
2931
|
+
* Image transformations are enabled.
|
|
2932
|
+
*/
|
|
2933
|
+
transformations: boolean;
|
|
1877
2934
|
}
|
|
2935
|
+
|
|
1878
2936
|
/**
|
|
1879
2937
|
* ResourceToken
|
|
1880
2938
|
*/
|
|
@@ -1908,10 +2966,11 @@ export namespace Models {
|
|
|
1908
2966
|
*/
|
|
1909
2967
|
accessedAt: string;
|
|
1910
2968
|
}
|
|
2969
|
+
|
|
1911
2970
|
/**
|
|
1912
2971
|
* Team
|
|
1913
2972
|
*/
|
|
1914
|
-
export type Team<Preferences extends Models.Preferences> = {
|
|
2973
|
+
export type Team<Preferences extends Models.Preferences = Models.DefaultPreferences> = {
|
|
1915
2974
|
/**
|
|
1916
2975
|
* Team ID.
|
|
1917
2976
|
*/
|
|
@@ -1937,6 +2996,7 @@ export namespace Models {
|
|
|
1937
2996
|
*/
|
|
1938
2997
|
prefs: Preferences;
|
|
1939
2998
|
}
|
|
2999
|
+
|
|
1940
3000
|
/**
|
|
1941
3001
|
* Membership
|
|
1942
3002
|
*/
|
|
@@ -1994,6 +3054,7 @@ export namespace Models {
|
|
|
1994
3054
|
*/
|
|
1995
3055
|
roles: string[];
|
|
1996
3056
|
}
|
|
3057
|
+
|
|
1997
3058
|
/**
|
|
1998
3059
|
* Site
|
|
1999
3060
|
*/
|
|
@@ -2019,7 +3080,7 @@ export namespace Models {
|
|
|
2019
3080
|
*/
|
|
2020
3081
|
enabled: boolean;
|
|
2021
3082
|
/**
|
|
2022
|
-
* Is the site deployed with the latest configuration? This is set to false if you
|
|
3083
|
+
* 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.
|
|
2023
3084
|
*/
|
|
2024
3085
|
live: boolean;
|
|
2025
3086
|
/**
|
|
@@ -2031,7 +3092,7 @@ export namespace Models {
|
|
|
2031
3092
|
*/
|
|
2032
3093
|
framework: string;
|
|
2033
3094
|
/**
|
|
2034
|
-
* Site
|
|
3095
|
+
* Site's active deployment ID.
|
|
2035
3096
|
*/
|
|
2036
3097
|
deploymentId: string;
|
|
2037
3098
|
/**
|
|
@@ -2047,7 +3108,7 @@ export namespace Models {
|
|
|
2047
3108
|
*/
|
|
2048
3109
|
deploymentScreenshotDark: string;
|
|
2049
3110
|
/**
|
|
2050
|
-
* Site
|
|
3111
|
+
* Site's latest deployment ID.
|
|
2051
3112
|
*/
|
|
2052
3113
|
latestDeploymentId: string;
|
|
2053
3114
|
/**
|
|
@@ -2055,7 +3116,7 @@ export namespace Models {
|
|
|
2055
3116
|
*/
|
|
2056
3117
|
latestDeploymentCreatedAt: string;
|
|
2057
3118
|
/**
|
|
2058
|
-
* Status of latest deployment. Possible values are
|
|
3119
|
+
* Status of latest deployment. Possible values are "waiting", "processing", "building", "ready", and "failed".
|
|
2059
3120
|
*/
|
|
2060
3121
|
latestDeploymentStatus: string;
|
|
2061
3122
|
/**
|
|
@@ -2115,6 +3176,7 @@ export namespace Models {
|
|
|
2115
3176
|
*/
|
|
2116
3177
|
fallbackFile: string;
|
|
2117
3178
|
}
|
|
3179
|
+
|
|
2118
3180
|
/**
|
|
2119
3181
|
* Template Site
|
|
2120
3182
|
*/
|
|
@@ -2172,6 +3234,7 @@ export namespace Models {
|
|
|
2172
3234
|
*/
|
|
2173
3235
|
variables: TemplateVariable[];
|
|
2174
3236
|
}
|
|
3237
|
+
|
|
2175
3238
|
/**
|
|
2176
3239
|
* Template Framework
|
|
2177
3240
|
*/
|
|
@@ -2213,6 +3276,7 @@ export namespace Models {
|
|
|
2213
3276
|
*/
|
|
2214
3277
|
fallbackFile: string;
|
|
2215
3278
|
}
|
|
3279
|
+
|
|
2216
3280
|
/**
|
|
2217
3281
|
* Function
|
|
2218
3282
|
*/
|
|
@@ -2242,7 +3306,7 @@ export namespace Models {
|
|
|
2242
3306
|
*/
|
|
2243
3307
|
enabled: boolean;
|
|
2244
3308
|
/**
|
|
2245
|
-
* Is the function deployed with the latest configuration? This is set to false if you
|
|
3309
|
+
* Is the function 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 function to update it with the latest configuration.
|
|
2246
3310
|
*/
|
|
2247
3311
|
live: boolean;
|
|
2248
3312
|
/**
|
|
@@ -2254,7 +3318,7 @@ export namespace Models {
|
|
|
2254
3318
|
*/
|
|
2255
3319
|
runtime: string;
|
|
2256
3320
|
/**
|
|
2257
|
-
* Function
|
|
3321
|
+
* Function's active deployment ID.
|
|
2258
3322
|
*/
|
|
2259
3323
|
deploymentId: string;
|
|
2260
3324
|
/**
|
|
@@ -2262,7 +3326,7 @@ export namespace Models {
|
|
|
2262
3326
|
*/
|
|
2263
3327
|
deploymentCreatedAt: string;
|
|
2264
3328
|
/**
|
|
2265
|
-
* Function
|
|
3329
|
+
* Function's latest deployment ID.
|
|
2266
3330
|
*/
|
|
2267
3331
|
latestDeploymentId: string;
|
|
2268
3332
|
/**
|
|
@@ -2270,7 +3334,7 @@ export namespace Models {
|
|
|
2270
3334
|
*/
|
|
2271
3335
|
latestDeploymentCreatedAt: string;
|
|
2272
3336
|
/**
|
|
2273
|
-
* Status of latest deployment. Possible values are
|
|
3337
|
+
* Status of latest deployment. Possible values are "waiting", "processing", "building", "ready", and "failed".
|
|
2274
3338
|
*/
|
|
2275
3339
|
latestDeploymentStatus: string;
|
|
2276
3340
|
/**
|
|
@@ -2330,6 +3394,7 @@ export namespace Models {
|
|
|
2330
3394
|
*/
|
|
2331
3395
|
specification: string;
|
|
2332
3396
|
}
|
|
3397
|
+
|
|
2333
3398
|
/**
|
|
2334
3399
|
* Template Function
|
|
2335
3400
|
*/
|
|
@@ -2403,6 +3468,7 @@ export namespace Models {
|
|
|
2403
3468
|
*/
|
|
2404
3469
|
scopes: string[];
|
|
2405
3470
|
}
|
|
3471
|
+
|
|
2406
3472
|
/**
|
|
2407
3473
|
* Template Runtime
|
|
2408
3474
|
*/
|
|
@@ -2424,6 +3490,7 @@ export namespace Models {
|
|
|
2424
3490
|
*/
|
|
2425
3491
|
providerRootDirectory: string;
|
|
2426
3492
|
}
|
|
3493
|
+
|
|
2427
3494
|
/**
|
|
2428
3495
|
* Template Variable
|
|
2429
3496
|
*/
|
|
@@ -2457,6 +3524,7 @@ export namespace Models {
|
|
|
2457
3524
|
*/
|
|
2458
3525
|
type: string;
|
|
2459
3526
|
}
|
|
3527
|
+
|
|
2460
3528
|
/**
|
|
2461
3529
|
* Installation
|
|
2462
3530
|
*/
|
|
@@ -2486,6 +3554,7 @@ export namespace Models {
|
|
|
2486
3554
|
*/
|
|
2487
3555
|
providerInstallationId: string;
|
|
2488
3556
|
}
|
|
3557
|
+
|
|
2489
3558
|
/**
|
|
2490
3559
|
* ProviderRepository
|
|
2491
3560
|
*/
|
|
@@ -2510,11 +3579,20 @@ export namespace Models {
|
|
|
2510
3579
|
* Is VCS (Version Control System) repository private?
|
|
2511
3580
|
*/
|
|
2512
3581
|
private: boolean;
|
|
3582
|
+
/**
|
|
3583
|
+
* VCS (Version Control System) repository's default branch name.
|
|
3584
|
+
*/
|
|
3585
|
+
defaultBranch: string;
|
|
2513
3586
|
/**
|
|
2514
3587
|
* Last commit date in ISO 8601 format.
|
|
2515
3588
|
*/
|
|
2516
3589
|
pushedAt: string;
|
|
3590
|
+
/**
|
|
3591
|
+
* Environment variables found in .env files
|
|
3592
|
+
*/
|
|
3593
|
+
variables: string[];
|
|
2517
3594
|
}
|
|
3595
|
+
|
|
2518
3596
|
/**
|
|
2519
3597
|
* ProviderRepositoryFramework
|
|
2520
3598
|
*/
|
|
@@ -2539,15 +3617,24 @@ export namespace Models {
|
|
|
2539
3617
|
* Is VCS (Version Control System) repository private?
|
|
2540
3618
|
*/
|
|
2541
3619
|
private: boolean;
|
|
3620
|
+
/**
|
|
3621
|
+
* VCS (Version Control System) repository's default branch name.
|
|
3622
|
+
*/
|
|
3623
|
+
defaultBranch: string;
|
|
2542
3624
|
/**
|
|
2543
3625
|
* Last commit date in ISO 8601 format.
|
|
2544
3626
|
*/
|
|
2545
3627
|
pushedAt: string;
|
|
2546
3628
|
/**
|
|
2547
|
-
*
|
|
3629
|
+
* Environment variables found in .env files
|
|
3630
|
+
*/
|
|
3631
|
+
variables: string[];
|
|
3632
|
+
/**
|
|
3633
|
+
* Auto-detected framework. Empty if type is not "framework".
|
|
2548
3634
|
*/
|
|
2549
3635
|
framework: string;
|
|
2550
3636
|
}
|
|
3637
|
+
|
|
2551
3638
|
/**
|
|
2552
3639
|
* ProviderRepositoryRuntime
|
|
2553
3640
|
*/
|
|
@@ -2572,19 +3659,32 @@ export namespace Models {
|
|
|
2572
3659
|
* Is VCS (Version Control System) repository private?
|
|
2573
3660
|
*/
|
|
2574
3661
|
private: boolean;
|
|
3662
|
+
/**
|
|
3663
|
+
* VCS (Version Control System) repository's default branch name.
|
|
3664
|
+
*/
|
|
3665
|
+
defaultBranch: string;
|
|
2575
3666
|
/**
|
|
2576
3667
|
* Last commit date in ISO 8601 format.
|
|
2577
3668
|
*/
|
|
2578
3669
|
pushedAt: string;
|
|
2579
3670
|
/**
|
|
2580
|
-
*
|
|
3671
|
+
* Environment variables found in .env files
|
|
3672
|
+
*/
|
|
3673
|
+
variables: string[];
|
|
3674
|
+
/**
|
|
3675
|
+
* Auto-detected runtime. Empty if type is not "runtime".
|
|
2581
3676
|
*/
|
|
2582
3677
|
runtime: string;
|
|
2583
3678
|
}
|
|
3679
|
+
|
|
2584
3680
|
/**
|
|
2585
3681
|
* DetectionFramework
|
|
2586
3682
|
*/
|
|
2587
3683
|
export type DetectionFramework = {
|
|
3684
|
+
/**
|
|
3685
|
+
* Environment variables found in .env files
|
|
3686
|
+
*/
|
|
3687
|
+
variables?: DetectionVariable[];
|
|
2588
3688
|
/**
|
|
2589
3689
|
* Framework
|
|
2590
3690
|
*/
|
|
@@ -2602,10 +3702,15 @@ export namespace Models {
|
|
|
2602
3702
|
*/
|
|
2603
3703
|
outputDirectory: string;
|
|
2604
3704
|
}
|
|
3705
|
+
|
|
2605
3706
|
/**
|
|
2606
3707
|
* DetectionRuntime
|
|
2607
3708
|
*/
|
|
2608
3709
|
export type DetectionRuntime = {
|
|
3710
|
+
/**
|
|
3711
|
+
* Environment variables found in .env files
|
|
3712
|
+
*/
|
|
3713
|
+
variables?: DetectionVariable[];
|
|
2609
3714
|
/**
|
|
2610
3715
|
* Runtime
|
|
2611
3716
|
*/
|
|
@@ -2619,6 +3724,21 @@ export namespace Models {
|
|
|
2619
3724
|
*/
|
|
2620
3725
|
commands: string;
|
|
2621
3726
|
}
|
|
3727
|
+
|
|
3728
|
+
/**
|
|
3729
|
+
* DetectionVariable
|
|
3730
|
+
*/
|
|
3731
|
+
export type DetectionVariable = {
|
|
3732
|
+
/**
|
|
3733
|
+
* Name of environment variable
|
|
3734
|
+
*/
|
|
3735
|
+
name: string;
|
|
3736
|
+
/**
|
|
3737
|
+
* Value of environment variable
|
|
3738
|
+
*/
|
|
3739
|
+
value: string;
|
|
3740
|
+
}
|
|
3741
|
+
|
|
2622
3742
|
/**
|
|
2623
3743
|
* VcsContents
|
|
2624
3744
|
*/
|
|
@@ -2636,6 +3756,7 @@ export namespace Models {
|
|
|
2636
3756
|
*/
|
|
2637
3757
|
name: string;
|
|
2638
3758
|
}
|
|
3759
|
+
|
|
2639
3760
|
/**
|
|
2640
3761
|
* Branch
|
|
2641
3762
|
*/
|
|
@@ -2645,6 +3766,7 @@ export namespace Models {
|
|
|
2645
3766
|
*/
|
|
2646
3767
|
name: string;
|
|
2647
3768
|
}
|
|
3769
|
+
|
|
2648
3770
|
/**
|
|
2649
3771
|
* Runtime
|
|
2650
3772
|
*/
|
|
@@ -2682,6 +3804,7 @@ export namespace Models {
|
|
|
2682
3804
|
*/
|
|
2683
3805
|
supports: string[];
|
|
2684
3806
|
}
|
|
3807
|
+
|
|
2685
3808
|
/**
|
|
2686
3809
|
* Framework
|
|
2687
3810
|
*/
|
|
@@ -2707,6 +3830,7 @@ export namespace Models {
|
|
|
2707
3830
|
*/
|
|
2708
3831
|
adapters: FrameworkAdapter[];
|
|
2709
3832
|
}
|
|
3833
|
+
|
|
2710
3834
|
/**
|
|
2711
3835
|
* Framework Adapter
|
|
2712
3836
|
*/
|
|
@@ -2732,6 +3856,7 @@ export namespace Models {
|
|
|
2732
3856
|
*/
|
|
2733
3857
|
fallbackFile: string;
|
|
2734
3858
|
}
|
|
3859
|
+
|
|
2735
3860
|
/**
|
|
2736
3861
|
* Deployment
|
|
2737
3862
|
*/
|
|
@@ -2793,9 +3918,9 @@ export namespace Models {
|
|
|
2793
3918
|
*/
|
|
2794
3919
|
screenshotDark: string;
|
|
2795
3920
|
/**
|
|
2796
|
-
* The deployment status. Possible values are
|
|
3921
|
+
* The deployment status. Possible values are "waiting", "processing", "building", "ready", and "failed".
|
|
2797
3922
|
*/
|
|
2798
|
-
status:
|
|
3923
|
+
status: DeploymentStatus;
|
|
2799
3924
|
/**
|
|
2800
3925
|
* The build logs.
|
|
2801
3926
|
*/
|
|
@@ -2816,10 +3941,6 @@ export namespace Models {
|
|
|
2816
3941
|
* The url of the vcs provider repository
|
|
2817
3942
|
*/
|
|
2818
3943
|
providerRepositoryUrl: string;
|
|
2819
|
-
/**
|
|
2820
|
-
* The branch of the vcs repository
|
|
2821
|
-
*/
|
|
2822
|
-
providerBranch: string;
|
|
2823
3944
|
/**
|
|
2824
3945
|
* The commit hash of the vcs commit
|
|
2825
3946
|
*/
|
|
@@ -2840,11 +3961,16 @@ export namespace Models {
|
|
|
2840
3961
|
* The url of the vcs commit
|
|
2841
3962
|
*/
|
|
2842
3963
|
providerCommitUrl: string;
|
|
3964
|
+
/**
|
|
3965
|
+
* The branch of the vcs repository
|
|
3966
|
+
*/
|
|
3967
|
+
providerBranch: string;
|
|
2843
3968
|
/**
|
|
2844
3969
|
* The branch of the vcs repository
|
|
2845
3970
|
*/
|
|
2846
3971
|
providerBranchUrl: string;
|
|
2847
3972
|
}
|
|
3973
|
+
|
|
2848
3974
|
/**
|
|
2849
3975
|
* Execution
|
|
2850
3976
|
*/
|
|
@@ -2858,7 +3984,7 @@ export namespace Models {
|
|
|
2858
3984
|
*/
|
|
2859
3985
|
$createdAt: string;
|
|
2860
3986
|
/**
|
|
2861
|
-
* Execution
|
|
3987
|
+
* Execution update date in ISO 8601 format.
|
|
2862
3988
|
*/
|
|
2863
3989
|
$updatedAt: string;
|
|
2864
3990
|
/**
|
|
@@ -2869,14 +3995,18 @@ export namespace Models {
|
|
|
2869
3995
|
* Function ID.
|
|
2870
3996
|
*/
|
|
2871
3997
|
functionId: string;
|
|
3998
|
+
/**
|
|
3999
|
+
* Function's deployment ID used to create the execution.
|
|
4000
|
+
*/
|
|
4001
|
+
deploymentId: string;
|
|
2872
4002
|
/**
|
|
2873
4003
|
* The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`.
|
|
2874
4004
|
*/
|
|
2875
|
-
trigger:
|
|
4005
|
+
trigger: ExecutionTrigger;
|
|
2876
4006
|
/**
|
|
2877
|
-
* The status of the function execution. Possible values can be: `waiting`, `processing`, `completed`, or `
|
|
4007
|
+
* The status of the function execution. Possible values can be: `waiting`, `processing`, `completed`, `failed`, or `scheduled`.
|
|
2878
4008
|
*/
|
|
2879
|
-
status:
|
|
4009
|
+
status: ExecutionStatus;
|
|
2880
4010
|
/**
|
|
2881
4011
|
* HTTP request method type.
|
|
2882
4012
|
*/
|
|
@@ -2886,7 +4016,7 @@ export namespace Models {
|
|
|
2886
4016
|
*/
|
|
2887
4017
|
requestPath: string;
|
|
2888
4018
|
/**
|
|
2889
|
-
* HTTP
|
|
4019
|
+
* HTTP request headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.
|
|
2890
4020
|
*/
|
|
2891
4021
|
requestHeaders: Headers[];
|
|
2892
4022
|
/**
|
|
@@ -2918,6 +4048,7 @@ export namespace Models {
|
|
|
2918
4048
|
*/
|
|
2919
4049
|
scheduledAt?: string;
|
|
2920
4050
|
}
|
|
4051
|
+
|
|
2921
4052
|
/**
|
|
2922
4053
|
* Project
|
|
2923
4054
|
*/
|
|
@@ -2995,7 +4126,7 @@ export namespace Models {
|
|
|
2995
4126
|
*/
|
|
2996
4127
|
authPasswordHistory: number;
|
|
2997
4128
|
/**
|
|
2998
|
-
* Whether or not to check user
|
|
4129
|
+
* Whether or not to check user's password against most commonly used passwords.
|
|
2999
4130
|
*/
|
|
3000
4131
|
authPasswordDictionary: boolean;
|
|
3001
4132
|
/**
|
|
@@ -3022,6 +4153,10 @@ export namespace Models {
|
|
|
3022
4153
|
* Whether or not to show user MFA status in the teams membership response.
|
|
3023
4154
|
*/
|
|
3024
4155
|
authMembershipsMfa: boolean;
|
|
4156
|
+
/**
|
|
4157
|
+
* Whether or not all existing sessions should be invalidated on password change
|
|
4158
|
+
*/
|
|
4159
|
+
authInvalidateSessions: boolean;
|
|
3025
4160
|
/**
|
|
3026
4161
|
* List of Auth Providers.
|
|
3027
4162
|
*/
|
|
@@ -3123,9 +4258,13 @@ export namespace Models {
|
|
|
3123
4258
|
*/
|
|
3124
4259
|
serviceStatusForAvatars: boolean;
|
|
3125
4260
|
/**
|
|
3126
|
-
* Databases service status
|
|
4261
|
+
* Databases (legacy) service status
|
|
3127
4262
|
*/
|
|
3128
4263
|
serviceStatusForDatabases: boolean;
|
|
4264
|
+
/**
|
|
4265
|
+
* TablesDB service status
|
|
4266
|
+
*/
|
|
4267
|
+
serviceStatusForTablesdb: boolean;
|
|
3129
4268
|
/**
|
|
3130
4269
|
* Locale service status
|
|
3131
4270
|
*/
|
|
@@ -3166,7 +4305,20 @@ export namespace Models {
|
|
|
3166
4305
|
* Project region
|
|
3167
4306
|
*/
|
|
3168
4307
|
region: string;
|
|
4308
|
+
/**
|
|
4309
|
+
* Project status
|
|
4310
|
+
*/
|
|
4311
|
+
status: string;
|
|
4312
|
+
/**
|
|
4313
|
+
* Billing limits reached
|
|
4314
|
+
*/
|
|
4315
|
+
billingLimits: BillingLimits;
|
|
4316
|
+
/**
|
|
4317
|
+
* Project blocks information
|
|
4318
|
+
*/
|
|
4319
|
+
blocks: Block[];
|
|
3169
4320
|
}
|
|
4321
|
+
|
|
3170
4322
|
/**
|
|
3171
4323
|
* Webhook
|
|
3172
4324
|
*/
|
|
@@ -3224,6 +4376,7 @@ export namespace Models {
|
|
|
3224
4376
|
*/
|
|
3225
4377
|
attempts: number;
|
|
3226
4378
|
}
|
|
4379
|
+
|
|
3227
4380
|
/**
|
|
3228
4381
|
* Key
|
|
3229
4382
|
*/
|
|
@@ -3265,6 +4418,7 @@ export namespace Models {
|
|
|
3265
4418
|
*/
|
|
3266
4419
|
sdks: string[];
|
|
3267
4420
|
}
|
|
4421
|
+
|
|
3268
4422
|
/**
|
|
3269
4423
|
* DevKey
|
|
3270
4424
|
*/
|
|
@@ -3302,6 +4456,7 @@ export namespace Models {
|
|
|
3302
4456
|
*/
|
|
3303
4457
|
sdks: string[];
|
|
3304
4458
|
}
|
|
4459
|
+
|
|
3305
4460
|
/**
|
|
3306
4461
|
* Mock Number
|
|
3307
4462
|
*/
|
|
@@ -3315,6 +4470,7 @@ export namespace Models {
|
|
|
3315
4470
|
*/
|
|
3316
4471
|
otp: string;
|
|
3317
4472
|
}
|
|
4473
|
+
|
|
3318
4474
|
/**
|
|
3319
4475
|
* AuthProvider
|
|
3320
4476
|
*/
|
|
@@ -3340,6 +4496,7 @@ export namespace Models {
|
|
|
3340
4496
|
*/
|
|
3341
4497
|
enabled: boolean;
|
|
3342
4498
|
}
|
|
4499
|
+
|
|
3343
4500
|
/**
|
|
3344
4501
|
* Platform
|
|
3345
4502
|
*/
|
|
@@ -3361,9 +4518,9 @@ export namespace Models {
|
|
|
3361
4518
|
*/
|
|
3362
4519
|
name: string;
|
|
3363
4520
|
/**
|
|
3364
|
-
* Platform type. Possible values are: web, flutter-web, flutter-ios, flutter-android, ios, android,
|
|
4521
|
+
* Platform type. Possible values are: web, flutter-web, flutter-ios, flutter-android, flutter-linux, flutter-macos, flutter-windows, apple-ios, apple-macos, apple-watchos, apple-tvos, android, unity, react-native-ios, react-native-android.
|
|
3365
4522
|
*/
|
|
3366
|
-
type:
|
|
4523
|
+
type: PlatformType;
|
|
3367
4524
|
/**
|
|
3368
4525
|
* Platform Key. iOS bundle ID or Android package name. Empty string for other platforms.
|
|
3369
4526
|
*/
|
|
@@ -3385,6 +4542,7 @@ export namespace Models {
|
|
|
3385
4542
|
*/
|
|
3386
4543
|
httpPass: string;
|
|
3387
4544
|
}
|
|
4545
|
+
|
|
3388
4546
|
/**
|
|
3389
4547
|
* Variable
|
|
3390
4548
|
*/
|
|
@@ -3414,14 +4572,15 @@ export namespace Models {
|
|
|
3414
4572
|
*/
|
|
3415
4573
|
secret: boolean;
|
|
3416
4574
|
/**
|
|
3417
|
-
* Service to which the variable belongs. Possible values are
|
|
4575
|
+
* Service to which the variable belongs. Possible values are "project", "function"
|
|
3418
4576
|
*/
|
|
3419
4577
|
resourceType: string;
|
|
3420
4578
|
/**
|
|
3421
|
-
* ID of resource to which the variable belongs. If resourceType is
|
|
4579
|
+
* ID of resource to which the variable belongs. If resourceType is "project", it is empty. If resourceType is "function", it is ID of the function.
|
|
3422
4580
|
*/
|
|
3423
4581
|
resourceId: string;
|
|
3424
4582
|
}
|
|
4583
|
+
|
|
3425
4584
|
/**
|
|
3426
4585
|
* Country
|
|
3427
4586
|
*/
|
|
@@ -3435,6 +4594,7 @@ export namespace Models {
|
|
|
3435
4594
|
*/
|
|
3436
4595
|
code: string;
|
|
3437
4596
|
}
|
|
4597
|
+
|
|
3438
4598
|
/**
|
|
3439
4599
|
* Continent
|
|
3440
4600
|
*/
|
|
@@ -3448,6 +4608,7 @@ export namespace Models {
|
|
|
3448
4608
|
*/
|
|
3449
4609
|
code: string;
|
|
3450
4610
|
}
|
|
4611
|
+
|
|
3451
4612
|
/**
|
|
3452
4613
|
* Language
|
|
3453
4614
|
*/
|
|
@@ -3465,6 +4626,7 @@ export namespace Models {
|
|
|
3465
4626
|
*/
|
|
3466
4627
|
nativeName: string;
|
|
3467
4628
|
}
|
|
4629
|
+
|
|
3468
4630
|
/**
|
|
3469
4631
|
* Currency
|
|
3470
4632
|
*/
|
|
@@ -3498,6 +4660,7 @@ export namespace Models {
|
|
|
3498
4660
|
*/
|
|
3499
4661
|
namePlural: string;
|
|
3500
4662
|
}
|
|
4663
|
+
|
|
3501
4664
|
/**
|
|
3502
4665
|
* Phone
|
|
3503
4666
|
*/
|
|
@@ -3515,6 +4678,7 @@ export namespace Models {
|
|
|
3515
4678
|
*/
|
|
3516
4679
|
countryName: string;
|
|
3517
4680
|
}
|
|
4681
|
+
|
|
3518
4682
|
/**
|
|
3519
4683
|
* Health Antivirus
|
|
3520
4684
|
*/
|
|
@@ -3524,10 +4688,11 @@ export namespace Models {
|
|
|
3524
4688
|
*/
|
|
3525
4689
|
version: string;
|
|
3526
4690
|
/**
|
|
3527
|
-
* Antivirus status. Possible values
|
|
4691
|
+
* Antivirus status. Possible values are: `disabled`, `offline`, `online`
|
|
3528
4692
|
*/
|
|
3529
|
-
status:
|
|
4693
|
+
status: HealthAntivirusStatus;
|
|
3530
4694
|
}
|
|
4695
|
+
|
|
3531
4696
|
/**
|
|
3532
4697
|
* Health Queue
|
|
3533
4698
|
*/
|
|
@@ -3537,6 +4702,7 @@ export namespace Models {
|
|
|
3537
4702
|
*/
|
|
3538
4703
|
size: number;
|
|
3539
4704
|
}
|
|
4705
|
+
|
|
3540
4706
|
/**
|
|
3541
4707
|
* Health Status
|
|
3542
4708
|
*/
|
|
@@ -3550,10 +4716,11 @@ export namespace Models {
|
|
|
3550
4716
|
*/
|
|
3551
4717
|
ping: number;
|
|
3552
4718
|
/**
|
|
3553
|
-
* Service status. Possible values
|
|
4719
|
+
* Service status. Possible values are: `pass`, `fail`
|
|
3554
4720
|
*/
|
|
3555
|
-
status:
|
|
4721
|
+
status: HealthCheckStatus;
|
|
3556
4722
|
}
|
|
4723
|
+
|
|
3557
4724
|
/**
|
|
3558
4725
|
* Health Certificate
|
|
3559
4726
|
*/
|
|
@@ -3583,6 +4750,7 @@ export namespace Models {
|
|
|
3583
4750
|
*/
|
|
3584
4751
|
signatureTypeSN: string;
|
|
3585
4752
|
}
|
|
4753
|
+
|
|
3586
4754
|
/**
|
|
3587
4755
|
* Health Time
|
|
3588
4756
|
*/
|
|
@@ -3600,6 +4768,7 @@ export namespace Models {
|
|
|
3600
4768
|
*/
|
|
3601
4769
|
diff: number;
|
|
3602
4770
|
}
|
|
4771
|
+
|
|
3603
4772
|
/**
|
|
3604
4773
|
* Metric
|
|
3605
4774
|
*/
|
|
@@ -3613,6 +4782,7 @@ export namespace Models {
|
|
|
3613
4782
|
*/
|
|
3614
4783
|
date: string;
|
|
3615
4784
|
}
|
|
4785
|
+
|
|
3616
4786
|
/**
|
|
3617
4787
|
* Metric Breakdown
|
|
3618
4788
|
*/
|
|
@@ -3634,6 +4804,7 @@ export namespace Models {
|
|
|
3634
4804
|
*/
|
|
3635
4805
|
estimate?: number;
|
|
3636
4806
|
}
|
|
4807
|
+
|
|
3637
4808
|
/**
|
|
3638
4809
|
* UsageDatabases
|
|
3639
4810
|
*/
|
|
@@ -3650,10 +4821,18 @@ export namespace Models {
|
|
|
3650
4821
|
* Total aggregated number of collections.
|
|
3651
4822
|
*/
|
|
3652
4823
|
collectionsTotal: number;
|
|
4824
|
+
/**
|
|
4825
|
+
* Total aggregated number of tables.
|
|
4826
|
+
*/
|
|
4827
|
+
tablesTotal: number;
|
|
3653
4828
|
/**
|
|
3654
4829
|
* Total aggregated number of documents.
|
|
3655
4830
|
*/
|
|
3656
4831
|
documentsTotal: number;
|
|
4832
|
+
/**
|
|
4833
|
+
* Total aggregated number of rows.
|
|
4834
|
+
*/
|
|
4835
|
+
rowsTotal: number;
|
|
3657
4836
|
/**
|
|
3658
4837
|
* Total aggregated number of total databases storage in bytes.
|
|
3659
4838
|
*/
|
|
@@ -3674,10 +4853,18 @@ export namespace Models {
|
|
|
3674
4853
|
* Aggregated number of collections per period.
|
|
3675
4854
|
*/
|
|
3676
4855
|
collections: Metric[];
|
|
4856
|
+
/**
|
|
4857
|
+
* Aggregated number of tables per period.
|
|
4858
|
+
*/
|
|
4859
|
+
tables: Metric[];
|
|
3677
4860
|
/**
|
|
3678
4861
|
* Aggregated number of documents per period.
|
|
3679
4862
|
*/
|
|
3680
4863
|
documents: Metric[];
|
|
4864
|
+
/**
|
|
4865
|
+
* Aggregated number of rows per period.
|
|
4866
|
+
*/
|
|
4867
|
+
rows: Metric[];
|
|
3681
4868
|
/**
|
|
3682
4869
|
* An array of the aggregated number of databases storage in bytes per period.
|
|
3683
4870
|
*/
|
|
@@ -3691,6 +4878,7 @@ export namespace Models {
|
|
|
3691
4878
|
*/
|
|
3692
4879
|
databasesWrites: Metric[];
|
|
3693
4880
|
}
|
|
4881
|
+
|
|
3694
4882
|
/**
|
|
3695
4883
|
* UsageDatabase
|
|
3696
4884
|
*/
|
|
@@ -3703,10 +4891,18 @@ export namespace Models {
|
|
|
3703
4891
|
* Total aggregated number of collections.
|
|
3704
4892
|
*/
|
|
3705
4893
|
collectionsTotal: number;
|
|
4894
|
+
/**
|
|
4895
|
+
* Total aggregated number of tables.
|
|
4896
|
+
*/
|
|
4897
|
+
tablesTotal: number;
|
|
3706
4898
|
/**
|
|
3707
4899
|
* Total aggregated number of documents.
|
|
3708
4900
|
*/
|
|
3709
|
-
documentsTotal: number;
|
|
4901
|
+
documentsTotal: number;
|
|
4902
|
+
/**
|
|
4903
|
+
* Total aggregated number of rows.
|
|
4904
|
+
*/
|
|
4905
|
+
rowsTotal: number;
|
|
3710
4906
|
/**
|
|
3711
4907
|
* Total aggregated number of total storage used in bytes.
|
|
3712
4908
|
*/
|
|
@@ -3723,10 +4919,18 @@ export namespace Models {
|
|
|
3723
4919
|
* Aggregated number of collections per period.
|
|
3724
4920
|
*/
|
|
3725
4921
|
collections: Metric[];
|
|
4922
|
+
/**
|
|
4923
|
+
* Aggregated number of tables per period.
|
|
4924
|
+
*/
|
|
4925
|
+
tables: Metric[];
|
|
3726
4926
|
/**
|
|
3727
4927
|
* Aggregated number of documents per period.
|
|
3728
4928
|
*/
|
|
3729
4929
|
documents: Metric[];
|
|
4930
|
+
/**
|
|
4931
|
+
* Aggregated number of rows per period.
|
|
4932
|
+
*/
|
|
4933
|
+
rows: Metric[];
|
|
3730
4934
|
/**
|
|
3731
4935
|
* Aggregated storage used in bytes per period.
|
|
3732
4936
|
*/
|
|
@@ -3740,6 +4944,25 @@ export namespace Models {
|
|
|
3740
4944
|
*/
|
|
3741
4945
|
databaseWrites: Metric[];
|
|
3742
4946
|
}
|
|
4947
|
+
|
|
4948
|
+
/**
|
|
4949
|
+
* UsageTable
|
|
4950
|
+
*/
|
|
4951
|
+
export type UsageTable = {
|
|
4952
|
+
/**
|
|
4953
|
+
* Time range of the usage stats.
|
|
4954
|
+
*/
|
|
4955
|
+
range: string;
|
|
4956
|
+
/**
|
|
4957
|
+
* Total aggregated number of of rows.
|
|
4958
|
+
*/
|
|
4959
|
+
rowsTotal: number;
|
|
4960
|
+
/**
|
|
4961
|
+
* Aggregated number of rows per period.
|
|
4962
|
+
*/
|
|
4963
|
+
rows: Metric[];
|
|
4964
|
+
}
|
|
4965
|
+
|
|
3743
4966
|
/**
|
|
3744
4967
|
* UsageCollection
|
|
3745
4968
|
*/
|
|
@@ -3757,6 +4980,7 @@ export namespace Models {
|
|
|
3757
4980
|
*/
|
|
3758
4981
|
documents: Metric[];
|
|
3759
4982
|
}
|
|
4983
|
+
|
|
3760
4984
|
/**
|
|
3761
4985
|
* UsageUsers
|
|
3762
4986
|
*/
|
|
@@ -3782,6 +5006,7 @@ export namespace Models {
|
|
|
3782
5006
|
*/
|
|
3783
5007
|
sessions: Metric[];
|
|
3784
5008
|
}
|
|
5009
|
+
|
|
3785
5010
|
/**
|
|
3786
5011
|
* StorageUsage
|
|
3787
5012
|
*/
|
|
@@ -3815,6 +5040,7 @@ export namespace Models {
|
|
|
3815
5040
|
*/
|
|
3816
5041
|
storage: Metric[];
|
|
3817
5042
|
}
|
|
5043
|
+
|
|
3818
5044
|
/**
|
|
3819
5045
|
* UsageBuckets
|
|
3820
5046
|
*/
|
|
@@ -3848,6 +5074,7 @@ export namespace Models {
|
|
|
3848
5074
|
*/
|
|
3849
5075
|
imageTransformationsTotal: number;
|
|
3850
5076
|
}
|
|
5077
|
+
|
|
3851
5078
|
/**
|
|
3852
5079
|
* UsageFunctions
|
|
3853
5080
|
*/
|
|
@@ -3953,6 +5180,7 @@ export namespace Models {
|
|
|
3953
5180
|
*/
|
|
3954
5181
|
buildsFailed: Metric[];
|
|
3955
5182
|
}
|
|
5183
|
+
|
|
3956
5184
|
/**
|
|
3957
5185
|
* UsageFunction
|
|
3958
5186
|
*/
|
|
@@ -4054,6 +5282,7 @@ export namespace Models {
|
|
|
4054
5282
|
*/
|
|
4055
5283
|
buildsFailed: Metric[];
|
|
4056
5284
|
}
|
|
5285
|
+
|
|
4057
5286
|
/**
|
|
4058
5287
|
* UsageSites
|
|
4059
5288
|
*/
|
|
@@ -4183,6 +5412,7 @@ export namespace Models {
|
|
|
4183
5412
|
*/
|
|
4184
5413
|
outbound: Metric[];
|
|
4185
5414
|
}
|
|
5415
|
+
|
|
4186
5416
|
/**
|
|
4187
5417
|
* UsageSite
|
|
4188
5418
|
*/
|
|
@@ -4308,6 +5538,7 @@ export namespace Models {
|
|
|
4308
5538
|
*/
|
|
4309
5539
|
outbound: Metric[];
|
|
4310
5540
|
}
|
|
5541
|
+
|
|
4311
5542
|
/**
|
|
4312
5543
|
* UsageProject
|
|
4313
5544
|
*/
|
|
@@ -4320,6 +5551,10 @@ export namespace Models {
|
|
|
4320
5551
|
* Total aggregated number of documents.
|
|
4321
5552
|
*/
|
|
4322
5553
|
documentsTotal: number;
|
|
5554
|
+
/**
|
|
5555
|
+
* Total aggregated number of rows.
|
|
5556
|
+
*/
|
|
5557
|
+
rowsTotal: number;
|
|
4323
5558
|
/**
|
|
4324
5559
|
* Total aggregated number of databases.
|
|
4325
5560
|
*/
|
|
@@ -4444,7 +5679,24 @@ export namespace Models {
|
|
|
4444
5679
|
* Aggregated stats for total backups storage.
|
|
4445
5680
|
*/
|
|
4446
5681
|
backupsStorageTotal: number;
|
|
5682
|
+
/**
|
|
5683
|
+
* An array of aggregated number of screenshots generated.
|
|
5684
|
+
*/
|
|
5685
|
+
screenshotsGenerated: Metric[];
|
|
5686
|
+
/**
|
|
5687
|
+
* Total aggregated number of screenshots generated.
|
|
5688
|
+
*/
|
|
5689
|
+
screenshotsGeneratedTotal: number;
|
|
5690
|
+
/**
|
|
5691
|
+
* An array of aggregated number of Imagine credits in the given period.
|
|
5692
|
+
*/
|
|
5693
|
+
imagineCredits: Metric[];
|
|
5694
|
+
/**
|
|
5695
|
+
* Total aggregated number of Imagine credits.
|
|
5696
|
+
*/
|
|
5697
|
+
imagineCreditsTotal: number;
|
|
4447
5698
|
}
|
|
5699
|
+
|
|
4448
5700
|
/**
|
|
4449
5701
|
* Headers
|
|
4450
5702
|
*/
|
|
@@ -4458,6 +5710,7 @@ export namespace Models {
|
|
|
4458
5710
|
*/
|
|
4459
5711
|
value: string;
|
|
4460
5712
|
}
|
|
5713
|
+
|
|
4461
5714
|
/**
|
|
4462
5715
|
* Specification
|
|
4463
5716
|
*/
|
|
@@ -4479,6 +5732,7 @@ export namespace Models {
|
|
|
4479
5732
|
*/
|
|
4480
5733
|
slug: string;
|
|
4481
5734
|
}
|
|
5735
|
+
|
|
4482
5736
|
/**
|
|
4483
5737
|
* Rule
|
|
4484
5738
|
*/
|
|
@@ -4500,43 +5754,43 @@ export namespace Models {
|
|
|
4500
5754
|
*/
|
|
4501
5755
|
domain: string;
|
|
4502
5756
|
/**
|
|
4503
|
-
* Action definition for the rule. Possible values are
|
|
5757
|
+
* Action definition for the rule. Possible values are "api", "deployment", or "redirect"
|
|
4504
5758
|
*/
|
|
4505
5759
|
type: string;
|
|
4506
5760
|
/**
|
|
4507
|
-
* Defines how the rule was created. Possible values are
|
|
5761
|
+
* Defines how the rule was created. Possible values are "manual" or "deployment"
|
|
4508
5762
|
*/
|
|
4509
5763
|
trigger: string;
|
|
4510
5764
|
/**
|
|
4511
|
-
* URL to redirect to. Used if type is
|
|
5765
|
+
* URL to redirect to. Used if type is "redirect"
|
|
4512
5766
|
*/
|
|
4513
5767
|
redirectUrl: string;
|
|
4514
5768
|
/**
|
|
4515
|
-
* Status code to apply during redirect. Used if type is
|
|
5769
|
+
* Status code to apply during redirect. Used if type is "redirect"
|
|
4516
5770
|
*/
|
|
4517
5771
|
redirectStatusCode: number;
|
|
4518
5772
|
/**
|
|
4519
|
-
* ID of deployment. Used if type is
|
|
5773
|
+
* ID of deployment. Used if type is "deployment"
|
|
4520
5774
|
*/
|
|
4521
5775
|
deploymentId: string;
|
|
4522
5776
|
/**
|
|
4523
|
-
* Type of deployment. Possible values are
|
|
5777
|
+
* Type of deployment. Possible values are "function", "site". Used if rule's type is "deployment".
|
|
4524
5778
|
*/
|
|
4525
|
-
deploymentResourceType:
|
|
5779
|
+
deploymentResourceType: ProxyRuleDeploymentResourceType;
|
|
4526
5780
|
/**
|
|
4527
|
-
* ID deployment
|
|
5781
|
+
* ID deployment's resource. Used if type is "deployment"
|
|
4528
5782
|
*/
|
|
4529
5783
|
deploymentResourceId: string;
|
|
4530
5784
|
/**
|
|
4531
|
-
* Name of Git branch that updates rule. Used if type is
|
|
5785
|
+
* Name of Git branch that updates rule. Used if type is "deployment"
|
|
4532
5786
|
*/
|
|
4533
5787
|
deploymentVcsProviderBranch: string;
|
|
4534
5788
|
/**
|
|
4535
|
-
* Domain verification status. Possible values are
|
|
5789
|
+
* Domain verification status. Possible values are "created", "verifying", "verified" and "unverified"
|
|
4536
5790
|
*/
|
|
4537
|
-
status:
|
|
5791
|
+
status: ProxyRuleStatus;
|
|
4538
5792
|
/**
|
|
4539
|
-
*
|
|
5793
|
+
* Logs from rule verification or certificate generation. Certificate generation logs are prioritized if both are available.
|
|
4540
5794
|
*/
|
|
4541
5795
|
logs: string;
|
|
4542
5796
|
/**
|
|
@@ -4544,6 +5798,7 @@ export namespace Models {
|
|
|
4544
5798
|
*/
|
|
4545
5799
|
renewAt: string;
|
|
4546
5800
|
}
|
|
5801
|
+
|
|
4547
5802
|
/**
|
|
4548
5803
|
* SmsTemplate
|
|
4549
5804
|
*/
|
|
@@ -4561,6 +5816,7 @@ export namespace Models {
|
|
|
4561
5816
|
*/
|
|
4562
5817
|
message: string;
|
|
4563
5818
|
}
|
|
5819
|
+
|
|
4564
5820
|
/**
|
|
4565
5821
|
* EmailTemplate
|
|
4566
5822
|
*/
|
|
@@ -4594,6 +5850,7 @@ export namespace Models {
|
|
|
4594
5850
|
*/
|
|
4595
5851
|
subject: string;
|
|
4596
5852
|
}
|
|
5853
|
+
|
|
4597
5854
|
/**
|
|
4598
5855
|
* Console Variables
|
|
4599
5856
|
*/
|
|
@@ -4606,10 +5863,18 @@ export namespace Models {
|
|
|
4606
5863
|
* A target for your Appwrite custom domains.
|
|
4607
5864
|
*/
|
|
4608
5865
|
_APP_DOMAIN_TARGET_A: string;
|
|
5866
|
+
/**
|
|
5867
|
+
* Maximum build timeout in seconds.
|
|
5868
|
+
*/
|
|
5869
|
+
_APP_COMPUTE_BUILD_TIMEOUT: number;
|
|
4609
5870
|
/**
|
|
4610
5871
|
* AAAA target for your Appwrite custom domains.
|
|
4611
5872
|
*/
|
|
4612
5873
|
_APP_DOMAIN_TARGET_AAAA: string;
|
|
5874
|
+
/**
|
|
5875
|
+
* CAA target for your Appwrite custom domains.
|
|
5876
|
+
*/
|
|
5877
|
+
_APP_DOMAIN_TARGET_CAA: string;
|
|
4613
5878
|
/**
|
|
4614
5879
|
* Maximum file size allowed for file upload in bytes.
|
|
4615
5880
|
*/
|
|
@@ -4619,7 +5884,7 @@ export namespace Models {
|
|
|
4619
5884
|
*/
|
|
4620
5885
|
_APP_COMPUTE_SIZE_LIMIT: number;
|
|
4621
5886
|
/**
|
|
4622
|
-
* Defines if usage stats are enabled. This value is set to
|
|
5887
|
+
* Defines if usage stats are enabled. This value is set to 'enabled' by default, to disable the usage stats set the value to 'disabled'.
|
|
4623
5888
|
*/
|
|
4624
5889
|
_APP_USAGE_STATS: string;
|
|
4625
5890
|
/**
|
|
@@ -4651,6 +5916,7 @@ export namespace Models {
|
|
|
4651
5916
|
*/
|
|
4652
5917
|
_APP_DOMAINS_NAMESERVERS: string;
|
|
4653
5918
|
}
|
|
5919
|
+
|
|
4654
5920
|
/**
|
|
4655
5921
|
* MFA Challenge
|
|
4656
5922
|
*/
|
|
@@ -4672,6 +5938,7 @@ export namespace Models {
|
|
|
4672
5938
|
*/
|
|
4673
5939
|
expire: string;
|
|
4674
5940
|
}
|
|
5941
|
+
|
|
4675
5942
|
/**
|
|
4676
5943
|
* MFA Recovery Codes
|
|
4677
5944
|
*/
|
|
@@ -4681,6 +5948,7 @@ export namespace Models {
|
|
|
4681
5948
|
*/
|
|
4682
5949
|
recoveryCodes: string[];
|
|
4683
5950
|
}
|
|
5951
|
+
|
|
4684
5952
|
/**
|
|
4685
5953
|
* MFAType
|
|
4686
5954
|
*/
|
|
@@ -4694,6 +5962,7 @@ export namespace Models {
|
|
|
4694
5962
|
*/
|
|
4695
5963
|
uri: string;
|
|
4696
5964
|
}
|
|
5965
|
+
|
|
4697
5966
|
/**
|
|
4698
5967
|
* MFAFactors
|
|
4699
5968
|
*/
|
|
@@ -4715,6 +5984,7 @@ export namespace Models {
|
|
|
4715
5984
|
*/
|
|
4716
5985
|
recoveryCode: boolean;
|
|
4717
5986
|
}
|
|
5987
|
+
|
|
4718
5988
|
/**
|
|
4719
5989
|
* Provider
|
|
4720
5990
|
*/
|
|
@@ -4756,6 +6026,7 @@ export namespace Models {
|
|
|
4756
6026
|
*/
|
|
4757
6027
|
options?: object;
|
|
4758
6028
|
}
|
|
6029
|
+
|
|
4759
6030
|
/**
|
|
4760
6031
|
* Message
|
|
4761
6032
|
*/
|
|
@@ -4811,8 +6082,9 @@ export namespace Models {
|
|
|
4811
6082
|
/**
|
|
4812
6083
|
* Status of delivery.
|
|
4813
6084
|
*/
|
|
4814
|
-
status:
|
|
6085
|
+
status: MessageStatus;
|
|
4815
6086
|
}
|
|
6087
|
+
|
|
4816
6088
|
/**
|
|
4817
6089
|
* Topic
|
|
4818
6090
|
*/
|
|
@@ -4850,6 +6122,37 @@ export namespace Models {
|
|
|
4850
6122
|
*/
|
|
4851
6123
|
subscribe: string[];
|
|
4852
6124
|
}
|
|
6125
|
+
|
|
6126
|
+
/**
|
|
6127
|
+
* Transaction
|
|
6128
|
+
*/
|
|
6129
|
+
export type Transaction = {
|
|
6130
|
+
/**
|
|
6131
|
+
* Transaction ID.
|
|
6132
|
+
*/
|
|
6133
|
+
$id: string;
|
|
6134
|
+
/**
|
|
6135
|
+
* Transaction creation time in ISO 8601 format.
|
|
6136
|
+
*/
|
|
6137
|
+
$createdAt: string;
|
|
6138
|
+
/**
|
|
6139
|
+
* Transaction update date in ISO 8601 format.
|
|
6140
|
+
*/
|
|
6141
|
+
$updatedAt: string;
|
|
6142
|
+
/**
|
|
6143
|
+
* Current status of the transaction. One of: pending, committing, committed, rolled_back, failed.
|
|
6144
|
+
*/
|
|
6145
|
+
status: string;
|
|
6146
|
+
/**
|
|
6147
|
+
* Number of operations in the transaction.
|
|
6148
|
+
*/
|
|
6149
|
+
operations: number;
|
|
6150
|
+
/**
|
|
6151
|
+
* Expiration time in ISO 8601 format.
|
|
6152
|
+
*/
|
|
6153
|
+
expiresAt: string;
|
|
6154
|
+
}
|
|
6155
|
+
|
|
4853
6156
|
/**
|
|
4854
6157
|
* Subscriber
|
|
4855
6158
|
*/
|
|
@@ -4891,6 +6194,7 @@ export namespace Models {
|
|
|
4891
6194
|
*/
|
|
4892
6195
|
providerType: string;
|
|
4893
6196
|
}
|
|
6197
|
+
|
|
4894
6198
|
/**
|
|
4895
6199
|
* Target
|
|
4896
6200
|
*/
|
|
@@ -4932,6 +6236,7 @@ export namespace Models {
|
|
|
4932
6236
|
*/
|
|
4933
6237
|
expired: boolean;
|
|
4934
6238
|
}
|
|
6239
|
+
|
|
4935
6240
|
/**
|
|
4936
6241
|
* Migration
|
|
4937
6242
|
*/
|
|
@@ -4984,7 +6289,12 @@ export namespace Models {
|
|
|
4984
6289
|
* All errors that occurred during the migration process.
|
|
4985
6290
|
*/
|
|
4986
6291
|
errors: string[];
|
|
6292
|
+
/**
|
|
6293
|
+
* Migration options used during the migration process.
|
|
6294
|
+
*/
|
|
6295
|
+
options: object;
|
|
4987
6296
|
}
|
|
6297
|
+
|
|
4988
6298
|
/**
|
|
4989
6299
|
* Migration Report
|
|
4990
6300
|
*/
|
|
@@ -5002,9 +6312,9 @@ export namespace Models {
|
|
|
5002
6312
|
*/
|
|
5003
6313
|
database: number;
|
|
5004
6314
|
/**
|
|
5005
|
-
* Number of
|
|
6315
|
+
* Number of rows to be migrated.
|
|
5006
6316
|
*/
|
|
5007
|
-
|
|
6317
|
+
row: number;
|
|
5008
6318
|
/**
|
|
5009
6319
|
* Number of files to be migrated.
|
|
5010
6320
|
*/
|
|
@@ -5026,10 +6336,15 @@ export namespace Models {
|
|
|
5026
6336
|
*/
|
|
5027
6337
|
version: string;
|
|
5028
6338
|
}
|
|
6339
|
+
|
|
5029
6340
|
/**
|
|
5030
6341
|
* AdditionalResource
|
|
5031
6342
|
*/
|
|
5032
6343
|
export type AdditionalResource = {
|
|
6344
|
+
/**
|
|
6345
|
+
* Resource name
|
|
6346
|
+
*/
|
|
6347
|
+
name: string;
|
|
5033
6348
|
/**
|
|
5034
6349
|
* Resource unit
|
|
5035
6350
|
*/
|
|
@@ -5046,7 +6361,12 @@ export namespace Models {
|
|
|
5046
6361
|
* Resource value
|
|
5047
6362
|
*/
|
|
5048
6363
|
value: number;
|
|
6364
|
+
/**
|
|
6365
|
+
* Description on invoice
|
|
6366
|
+
*/
|
|
6367
|
+
invoiceDesc: string;
|
|
5049
6368
|
}
|
|
6369
|
+
|
|
5050
6370
|
/**
|
|
5051
6371
|
* AggregationTeam
|
|
5052
6372
|
*/
|
|
@@ -5151,7 +6471,42 @@ export namespace Models {
|
|
|
5151
6471
|
* Aggregated amount
|
|
5152
6472
|
*/
|
|
5153
6473
|
amount: number;
|
|
6474
|
+
/**
|
|
6475
|
+
* Aggregation project breakdown
|
|
6476
|
+
*/
|
|
6477
|
+
breakdown: AggregationBreakdown[];
|
|
6478
|
+
/**
|
|
6479
|
+
* Usage resources
|
|
6480
|
+
*/
|
|
6481
|
+
resources: UsageResources[];
|
|
6482
|
+
}
|
|
6483
|
+
|
|
6484
|
+
/**
|
|
6485
|
+
* AggregationBreakdown
|
|
6486
|
+
*/
|
|
6487
|
+
export type AggregationBreakdown = {
|
|
6488
|
+
/**
|
|
6489
|
+
* Aggregation ID.
|
|
6490
|
+
*/
|
|
6491
|
+
$id: string;
|
|
6492
|
+
/**
|
|
6493
|
+
* Project name
|
|
6494
|
+
*/
|
|
6495
|
+
name: string;
|
|
6496
|
+
/**
|
|
6497
|
+
* Project region
|
|
6498
|
+
*/
|
|
6499
|
+
region: string;
|
|
6500
|
+
/**
|
|
6501
|
+
* Aggregated amount
|
|
6502
|
+
*/
|
|
6503
|
+
amount: number;
|
|
6504
|
+
/**
|
|
6505
|
+
*
|
|
6506
|
+
*/
|
|
6507
|
+
resources: UsageResources[];
|
|
5154
6508
|
}
|
|
6509
|
+
|
|
5155
6510
|
/**
|
|
5156
6511
|
* Archive
|
|
5157
6512
|
*/
|
|
@@ -5205,6 +6560,7 @@ export namespace Models {
|
|
|
5205
6560
|
*/
|
|
5206
6561
|
resourceType?: string;
|
|
5207
6562
|
}
|
|
6563
|
+
|
|
5208
6564
|
/**
|
|
5209
6565
|
* BillingAddress
|
|
5210
6566
|
*/
|
|
@@ -5242,6 +6598,7 @@ export namespace Models {
|
|
|
5242
6598
|
*/
|
|
5243
6599
|
postalCode: string;
|
|
5244
6600
|
}
|
|
6601
|
+
|
|
5245
6602
|
/**
|
|
5246
6603
|
* billingPlan
|
|
5247
6604
|
*/
|
|
@@ -5291,7 +6648,11 @@ export namespace Models {
|
|
|
5291
6648
|
*/
|
|
5292
6649
|
webhooks: number;
|
|
5293
6650
|
/**
|
|
5294
|
-
*
|
|
6651
|
+
* Projects
|
|
6652
|
+
*/
|
|
6653
|
+
projects: number;
|
|
6654
|
+
/**
|
|
6655
|
+
* Platforms
|
|
5295
6656
|
*/
|
|
5296
6657
|
platforms: number;
|
|
5297
6658
|
/**
|
|
@@ -5306,6 +6667,18 @@ export namespace Models {
|
|
|
5306
6667
|
* Databases
|
|
5307
6668
|
*/
|
|
5308
6669
|
databases: number;
|
|
6670
|
+
/**
|
|
6671
|
+
* Database reads per month
|
|
6672
|
+
*/
|
|
6673
|
+
databasesReads: number;
|
|
6674
|
+
/**
|
|
6675
|
+
* Database writes per month
|
|
6676
|
+
*/
|
|
6677
|
+
databasesWrites: number;
|
|
6678
|
+
/**
|
|
6679
|
+
* Database batch size limit
|
|
6680
|
+
*/
|
|
6681
|
+
databasesBatchSize: number;
|
|
5309
6682
|
/**
|
|
5310
6683
|
* Buckets
|
|
5311
6684
|
*/
|
|
@@ -5318,18 +6691,46 @@ export namespace Models {
|
|
|
5318
6691
|
* Functions
|
|
5319
6692
|
*/
|
|
5320
6693
|
functions: number;
|
|
6694
|
+
/**
|
|
6695
|
+
* Sites
|
|
6696
|
+
*/
|
|
6697
|
+
sites: number;
|
|
5321
6698
|
/**
|
|
5322
6699
|
* Function executions
|
|
5323
6700
|
*/
|
|
5324
6701
|
executions: number;
|
|
6702
|
+
/**
|
|
6703
|
+
* GB hours for functions
|
|
6704
|
+
*/
|
|
6705
|
+
GBHours: number;
|
|
5325
6706
|
/**
|
|
5326
6707
|
* Realtime connections
|
|
5327
6708
|
*/
|
|
5328
6709
|
realtime: number;
|
|
6710
|
+
/**
|
|
6711
|
+
* Messages per month
|
|
6712
|
+
*/
|
|
6713
|
+
messages: number;
|
|
6714
|
+
/**
|
|
6715
|
+
* Topics for messaging
|
|
6716
|
+
*/
|
|
6717
|
+
topics: number;
|
|
6718
|
+
/**
|
|
6719
|
+
* SMS authentications per month
|
|
6720
|
+
*/
|
|
6721
|
+
authPhone: number;
|
|
6722
|
+
/**
|
|
6723
|
+
* Custom domains
|
|
6724
|
+
*/
|
|
6725
|
+
domains: number;
|
|
5329
6726
|
/**
|
|
5330
6727
|
* Log days
|
|
5331
6728
|
*/
|
|
5332
6729
|
logs: number;
|
|
6730
|
+
/**
|
|
6731
|
+
* Alert threshold percentage
|
|
6732
|
+
*/
|
|
6733
|
+
alertLimit: number;
|
|
5333
6734
|
/**
|
|
5334
6735
|
* Additional resources
|
|
5335
6736
|
*/
|
|
@@ -5390,6 +6791,10 @@ export namespace Models {
|
|
|
5390
6791
|
* Does plan support backup policies.
|
|
5391
6792
|
*/
|
|
5392
6793
|
backupsEnabled: boolean;
|
|
6794
|
+
/**
|
|
6795
|
+
* Whether usage addons are calculated per project.
|
|
6796
|
+
*/
|
|
6797
|
+
usagePerProject: boolean;
|
|
5393
6798
|
/**
|
|
5394
6799
|
* How many policies does plan support
|
|
5395
6800
|
*/
|
|
@@ -5406,7 +6811,20 @@ export namespace Models {
|
|
|
5406
6811
|
* Does the plan support encrypted string attributes or not.
|
|
5407
6812
|
*/
|
|
5408
6813
|
databasesAllowEncrypt: boolean;
|
|
6814
|
+
/**
|
|
6815
|
+
* Plan specific limits
|
|
6816
|
+
*/
|
|
6817
|
+
limits?: BillingPlanLimits;
|
|
6818
|
+
/**
|
|
6819
|
+
* Group of this billing plan for variants
|
|
6820
|
+
*/
|
|
6821
|
+
group: BillingPlanGroup;
|
|
6822
|
+
/**
|
|
6823
|
+
* Details of the program this plan is a part of.
|
|
6824
|
+
*/
|
|
6825
|
+
program?: Program;
|
|
5409
6826
|
}
|
|
6827
|
+
|
|
5410
6828
|
/**
|
|
5411
6829
|
* BillingPlanAddon
|
|
5412
6830
|
*/
|
|
@@ -5415,7 +6833,12 @@ export namespace Models {
|
|
|
5415
6833
|
* Addon seats
|
|
5416
6834
|
*/
|
|
5417
6835
|
seats: BillingPlanAddonDetails;
|
|
6836
|
+
/**
|
|
6837
|
+
* Addon projects
|
|
6838
|
+
*/
|
|
6839
|
+
projects: BillingPlanAddonDetails;
|
|
5418
6840
|
}
|
|
6841
|
+
|
|
5419
6842
|
/**
|
|
5420
6843
|
* BillingPlanAddonDetails
|
|
5421
6844
|
*/
|
|
@@ -5424,6 +6847,10 @@ export namespace Models {
|
|
|
5424
6847
|
* Is the addon supported in the plan?
|
|
5425
6848
|
*/
|
|
5426
6849
|
supported: boolean;
|
|
6850
|
+
/**
|
|
6851
|
+
* Addon plan included value
|
|
6852
|
+
*/
|
|
6853
|
+
planIncluded: number;
|
|
5427
6854
|
/**
|
|
5428
6855
|
* Addon limit
|
|
5429
6856
|
*/
|
|
@@ -5444,7 +6871,26 @@ export namespace Models {
|
|
|
5444
6871
|
* Resource value
|
|
5445
6872
|
*/
|
|
5446
6873
|
value: number;
|
|
6874
|
+
/**
|
|
6875
|
+
* Description on invoice
|
|
6876
|
+
*/
|
|
6877
|
+
invoiceDesc: string;
|
|
5447
6878
|
}
|
|
6879
|
+
|
|
6880
|
+
/**
|
|
6881
|
+
* BillingPlanLimits
|
|
6882
|
+
*/
|
|
6883
|
+
export type BillingPlanLimits = {
|
|
6884
|
+
/**
|
|
6885
|
+
* Credits limit per billing cycle
|
|
6886
|
+
*/
|
|
6887
|
+
credits?: number;
|
|
6888
|
+
/**
|
|
6889
|
+
* Daily credits limit (if applicable)
|
|
6890
|
+
*/
|
|
6891
|
+
dailyCredits?: number;
|
|
6892
|
+
}
|
|
6893
|
+
|
|
5448
6894
|
/**
|
|
5449
6895
|
* BillingLimits
|
|
5450
6896
|
*/
|
|
@@ -5477,7 +6923,38 @@ export namespace Models {
|
|
|
5477
6923
|
* Auth phone limit
|
|
5478
6924
|
*/
|
|
5479
6925
|
authPhone: number;
|
|
6926
|
+
/**
|
|
6927
|
+
* Budget limit percentage
|
|
6928
|
+
*/
|
|
6929
|
+
budgetLimit: number;
|
|
6930
|
+
}
|
|
6931
|
+
|
|
6932
|
+
/**
|
|
6933
|
+
* Block
|
|
6934
|
+
*/
|
|
6935
|
+
export type Block = {
|
|
6936
|
+
/**
|
|
6937
|
+
* Block creation date in ISO 8601 format.
|
|
6938
|
+
*/
|
|
6939
|
+
$createdAt: string;
|
|
6940
|
+
/**
|
|
6941
|
+
* Resource type that is blocked
|
|
6942
|
+
*/
|
|
6943
|
+
resourceType: string;
|
|
6944
|
+
/**
|
|
6945
|
+
* Resource identifier that is blocked
|
|
6946
|
+
*/
|
|
6947
|
+
resourceId: string;
|
|
6948
|
+
/**
|
|
6949
|
+
* Reason for the block
|
|
6950
|
+
*/
|
|
6951
|
+
reason: string;
|
|
6952
|
+
/**
|
|
6953
|
+
* Block expiration date in ISO 8601 format.
|
|
6954
|
+
*/
|
|
6955
|
+
expiredAt: string;
|
|
5480
6956
|
}
|
|
6957
|
+
|
|
5481
6958
|
/**
|
|
5482
6959
|
* Campaign
|
|
5483
6960
|
*/
|
|
@@ -5531,6 +7008,49 @@ export namespace Models {
|
|
|
5531
7008
|
*/
|
|
5532
7009
|
footer?: boolean;
|
|
5533
7010
|
}
|
|
7011
|
+
|
|
7012
|
+
/**
|
|
7013
|
+
* Program
|
|
7014
|
+
*/
|
|
7015
|
+
export type Program = {
|
|
7016
|
+
/**
|
|
7017
|
+
* Program ID
|
|
7018
|
+
*/
|
|
7019
|
+
$id: string;
|
|
7020
|
+
/**
|
|
7021
|
+
* Program title
|
|
7022
|
+
*/
|
|
7023
|
+
title: string;
|
|
7024
|
+
/**
|
|
7025
|
+
* Program description
|
|
7026
|
+
*/
|
|
7027
|
+
description: string;
|
|
7028
|
+
/**
|
|
7029
|
+
* Program tag for highlighting on console
|
|
7030
|
+
*/
|
|
7031
|
+
tag: string;
|
|
7032
|
+
/**
|
|
7033
|
+
* Program icon for highlighting on console
|
|
7034
|
+
*/
|
|
7035
|
+
icon: string;
|
|
7036
|
+
/**
|
|
7037
|
+
* URL for more information on this program
|
|
7038
|
+
*/
|
|
7039
|
+
url: string;
|
|
7040
|
+
/**
|
|
7041
|
+
* Whether this program is active
|
|
7042
|
+
*/
|
|
7043
|
+
active: boolean;
|
|
7044
|
+
/**
|
|
7045
|
+
* Whether this program is external
|
|
7046
|
+
*/
|
|
7047
|
+
external: boolean;
|
|
7048
|
+
/**
|
|
7049
|
+
* Billing plan ID that this is program is associated with.
|
|
7050
|
+
*/
|
|
7051
|
+
billingPlanId: string;
|
|
7052
|
+
}
|
|
7053
|
+
|
|
5534
7054
|
/**
|
|
5535
7055
|
* Coupon
|
|
5536
7056
|
*/
|
|
@@ -5568,6 +7088,7 @@ export namespace Models {
|
|
|
5568
7088
|
*/
|
|
5569
7089
|
onlyNewOrgs: boolean;
|
|
5570
7090
|
}
|
|
7091
|
+
|
|
5571
7092
|
/**
|
|
5572
7093
|
* Credit
|
|
5573
7094
|
*/
|
|
@@ -5617,6 +7138,17 @@ export namespace Models {
|
|
|
5617
7138
|
*/
|
|
5618
7139
|
status: string;
|
|
5619
7140
|
}
|
|
7141
|
+
|
|
7142
|
+
/**
|
|
7143
|
+
* CreditAvailable
|
|
7144
|
+
*/
|
|
7145
|
+
export type CreditAvailable = {
|
|
7146
|
+
/**
|
|
7147
|
+
* Total available credits for the organization.
|
|
7148
|
+
*/
|
|
7149
|
+
available: number;
|
|
7150
|
+
}
|
|
7151
|
+
|
|
5620
7152
|
/**
|
|
5621
7153
|
* CreditList
|
|
5622
7154
|
*/
|
|
@@ -5634,6 +7166,53 @@ export namespace Models {
|
|
|
5634
7166
|
*/
|
|
5635
7167
|
available: number;
|
|
5636
7168
|
}
|
|
7169
|
+
|
|
7170
|
+
/**
|
|
7171
|
+
* Downgrade Feedback
|
|
7172
|
+
*/
|
|
7173
|
+
export type DowngradeFeedback = {
|
|
7174
|
+
/**
|
|
7175
|
+
* Feedback ID.
|
|
7176
|
+
*/
|
|
7177
|
+
$id: string;
|
|
7178
|
+
/**
|
|
7179
|
+
* Feedback creation date in ISO 8601 format.
|
|
7180
|
+
*/
|
|
7181
|
+
$createdAt: string;
|
|
7182
|
+
/**
|
|
7183
|
+
* Feedback update date in ISO 8601 format.
|
|
7184
|
+
*/
|
|
7185
|
+
$updatedAt: string;
|
|
7186
|
+
/**
|
|
7187
|
+
* Feedback reason
|
|
7188
|
+
*/
|
|
7189
|
+
title: string;
|
|
7190
|
+
/**
|
|
7191
|
+
* Feedback message
|
|
7192
|
+
*/
|
|
7193
|
+
message: string;
|
|
7194
|
+
/**
|
|
7195
|
+
* Plan ID downgrading from
|
|
7196
|
+
*/
|
|
7197
|
+
fromPlanId: string;
|
|
7198
|
+
/**
|
|
7199
|
+
* Plan ID downgrading to
|
|
7200
|
+
*/
|
|
7201
|
+
toPlanId: string;
|
|
7202
|
+
/**
|
|
7203
|
+
* Organization ID
|
|
7204
|
+
*/
|
|
7205
|
+
teamId: string;
|
|
7206
|
+
/**
|
|
7207
|
+
* User ID who submitted feedback
|
|
7208
|
+
*/
|
|
7209
|
+
userId: string;
|
|
7210
|
+
/**
|
|
7211
|
+
* Console version
|
|
7212
|
+
*/
|
|
7213
|
+
version: string;
|
|
7214
|
+
}
|
|
7215
|
+
|
|
5637
7216
|
/**
|
|
5638
7217
|
* Invoice
|
|
5639
7218
|
*/
|
|
@@ -5669,7 +7248,7 @@ export namespace Models {
|
|
|
5669
7248
|
/**
|
|
5670
7249
|
* Usage breakdown per resource
|
|
5671
7250
|
*/
|
|
5672
|
-
usage:
|
|
7251
|
+
usage: UsageResources[];
|
|
5673
7252
|
/**
|
|
5674
7253
|
* Invoice Amount
|
|
5675
7254
|
*/
|
|
@@ -5727,10 +7306,11 @@ export namespace Models {
|
|
|
5727
7306
|
*/
|
|
5728
7307
|
to: string;
|
|
5729
7308
|
}
|
|
7309
|
+
|
|
5730
7310
|
/**
|
|
5731
7311
|
* Organization
|
|
5732
7312
|
*/
|
|
5733
|
-
export type Organization<Preferences extends Models.Preferences> = {
|
|
7313
|
+
export type Organization<Preferences extends Models.Preferences = Models.DefaultPreferences> = {
|
|
5734
7314
|
/**
|
|
5735
7315
|
* Team ID.
|
|
5736
7316
|
*/
|
|
@@ -5764,9 +7344,17 @@ export namespace Models {
|
|
|
5764
7344
|
*/
|
|
5765
7345
|
budgetAlerts: number[];
|
|
5766
7346
|
/**
|
|
5767
|
-
*
|
|
7347
|
+
* Organization's billing plan ID.
|
|
5768
7348
|
*/
|
|
5769
7349
|
billingPlan: string;
|
|
7350
|
+
/**
|
|
7351
|
+
* Organization's billing plan ID.
|
|
7352
|
+
*/
|
|
7353
|
+
billingPlanId: string;
|
|
7354
|
+
/**
|
|
7355
|
+
* Organization's billing plan.
|
|
7356
|
+
*/
|
|
7357
|
+
billingPlanDetails: BillingPlan;
|
|
5770
7358
|
/**
|
|
5771
7359
|
* Billing email set for the organization.
|
|
5772
7360
|
*/
|
|
@@ -5824,19 +7412,19 @@ export namespace Models {
|
|
|
5824
7412
|
*/
|
|
5825
7413
|
agreementBAA: string;
|
|
5826
7414
|
/**
|
|
5827
|
-
* Program manager
|
|
7415
|
+
* Program manager's name.
|
|
5828
7416
|
*/
|
|
5829
7417
|
programManagerName: string;
|
|
5830
7418
|
/**
|
|
5831
|
-
* Program manager
|
|
7419
|
+
* Program manager's calendar link.
|
|
5832
7420
|
*/
|
|
5833
7421
|
programManagerCalendar: string;
|
|
5834
7422
|
/**
|
|
5835
|
-
* Program
|
|
7423
|
+
* Program's discord channel name.
|
|
5836
7424
|
*/
|
|
5837
7425
|
programDiscordChannelName: string;
|
|
5838
7426
|
/**
|
|
5839
|
-
* Program
|
|
7427
|
+
* Program's discord channel URL.
|
|
5840
7428
|
*/
|
|
5841
7429
|
programDiscordChannelUrl: string;
|
|
5842
7430
|
/**
|
|
@@ -5855,7 +7443,38 @@ export namespace Models {
|
|
|
5855
7443
|
* Marked for deletion
|
|
5856
7444
|
*/
|
|
5857
7445
|
markedForDeletion: boolean;
|
|
7446
|
+
/**
|
|
7447
|
+
* Product with which the organization is associated (appwrite or imagine)
|
|
7448
|
+
*/
|
|
7449
|
+
platform: string;
|
|
7450
|
+
/**
|
|
7451
|
+
* Selected projects
|
|
7452
|
+
*/
|
|
7453
|
+
projects: string[];
|
|
7454
|
+
}
|
|
7455
|
+
|
|
7456
|
+
/**
|
|
7457
|
+
* PaymentAuthentication
|
|
7458
|
+
*/
|
|
7459
|
+
export type PaymentAuthentication = {
|
|
7460
|
+
/**
|
|
7461
|
+
* Message for the end user to show on Console.
|
|
7462
|
+
*/
|
|
7463
|
+
message: string;
|
|
7464
|
+
/**
|
|
7465
|
+
* Stripe client secret to use for validation.
|
|
7466
|
+
*/
|
|
7467
|
+
clientSecret: string;
|
|
7468
|
+
/**
|
|
7469
|
+
* Organization ID for which the payment authentication is needed.
|
|
7470
|
+
*/
|
|
7471
|
+
organizationId: string;
|
|
7472
|
+
/**
|
|
7473
|
+
* Invoice ID against which the payment needs to be validated.
|
|
7474
|
+
*/
|
|
7475
|
+
invoiceId: string;
|
|
5858
7476
|
}
|
|
7477
|
+
|
|
5859
7478
|
/**
|
|
5860
7479
|
* paymentMethod
|
|
5861
7480
|
*/
|
|
@@ -5920,12 +7539,16 @@ export namespace Models {
|
|
|
5920
7539
|
* Country of the payment method
|
|
5921
7540
|
*/
|
|
5922
7541
|
country: string;
|
|
7542
|
+
/**
|
|
7543
|
+
* State of the payment method
|
|
7544
|
+
*/
|
|
7545
|
+
state: string;
|
|
5923
7546
|
/**
|
|
5924
7547
|
* Last payment error associated with the payment method.
|
|
5925
7548
|
*/
|
|
5926
7549
|
lastError: string;
|
|
5927
7550
|
/**
|
|
5928
|
-
* True when it
|
|
7551
|
+
* True when it's the default payment method.
|
|
5929
7552
|
*/
|
|
5930
7553
|
default: boolean;
|
|
5931
7554
|
/**
|
|
@@ -5937,6 +7560,7 @@ export namespace Models {
|
|
|
5937
7560
|
*/
|
|
5938
7561
|
failed: boolean;
|
|
5939
7562
|
}
|
|
7563
|
+
|
|
5940
7564
|
/**
|
|
5941
7565
|
* backup
|
|
5942
7566
|
*/
|
|
@@ -5986,6 +7610,7 @@ export namespace Models {
|
|
|
5986
7610
|
*/
|
|
5987
7611
|
enabled: boolean;
|
|
5988
7612
|
}
|
|
7613
|
+
|
|
5989
7614
|
/**
|
|
5990
7615
|
* Region
|
|
5991
7616
|
*/
|
|
@@ -6015,6 +7640,7 @@ export namespace Models {
|
|
|
6015
7640
|
*/
|
|
6016
7641
|
flag: string;
|
|
6017
7642
|
}
|
|
7643
|
+
|
|
6018
7644
|
/**
|
|
6019
7645
|
* Restoration
|
|
6020
7646
|
*/
|
|
@@ -6064,6 +7690,7 @@ export namespace Models {
|
|
|
6064
7690
|
*/
|
|
6065
7691
|
options: string;
|
|
6066
7692
|
}
|
|
7693
|
+
|
|
6067
7694
|
/**
|
|
6068
7695
|
* Review
|
|
6069
7696
|
*/
|
|
@@ -6085,6 +7712,7 @@ export namespace Models {
|
|
|
6085
7712
|
*/
|
|
6086
7713
|
review: string;
|
|
6087
7714
|
}
|
|
7715
|
+
|
|
6088
7716
|
/**
|
|
6089
7717
|
* Roles
|
|
6090
7718
|
*/
|
|
@@ -6098,6 +7726,7 @@ export namespace Models {
|
|
|
6098
7726
|
*/
|
|
6099
7727
|
roles: string[];
|
|
6100
7728
|
}
|
|
7729
|
+
|
|
6101
7730
|
/**
|
|
6102
7731
|
* UsageOrganization
|
|
6103
7732
|
*/
|
|
@@ -6130,6 +7759,22 @@ export namespace Models {
|
|
|
6130
7759
|
* Aggregated stats for total file transformations.
|
|
6131
7760
|
*/
|
|
6132
7761
|
imageTransformationsTotal: number;
|
|
7762
|
+
/**
|
|
7763
|
+
* Aggregated stats for file transformations.
|
|
7764
|
+
*/
|
|
7765
|
+
screenshotsGenerated: Metric[];
|
|
7766
|
+
/**
|
|
7767
|
+
* Aggregated stats for total file transformations.
|
|
7768
|
+
*/
|
|
7769
|
+
screenshotsGeneratedTotal: number;
|
|
7770
|
+
/**
|
|
7771
|
+
* Aggregated stats for imagine credits.
|
|
7772
|
+
*/
|
|
7773
|
+
imagineCredits: Metric[];
|
|
7774
|
+
/**
|
|
7775
|
+
* Aggregated stats for total imagine credits.
|
|
7776
|
+
*/
|
|
7777
|
+
imagineCreditsTotal: number;
|
|
6133
7778
|
/**
|
|
6134
7779
|
* Aggregated stats for total users.
|
|
6135
7780
|
*/
|
|
@@ -6191,6 +7836,7 @@ export namespace Models {
|
|
|
6191
7836
|
*/
|
|
6192
7837
|
projects: UsageOrganizationProject[];
|
|
6193
7838
|
}
|
|
7839
|
+
|
|
6194
7840
|
/**
|
|
6195
7841
|
* UsageOrganizationProject
|
|
6196
7842
|
*/
|
|
@@ -6255,7 +7901,20 @@ export namespace Models {
|
|
|
6255
7901
|
* Aggregated stats for total file transformations.
|
|
6256
7902
|
*/
|
|
6257
7903
|
imageTransformationsTotal: number;
|
|
7904
|
+
/**
|
|
7905
|
+
* Aggregated stats for file transformations.
|
|
7906
|
+
*/
|
|
7907
|
+
screenshotsGenerated: Metric[];
|
|
7908
|
+
/**
|
|
7909
|
+
* Aggregated stats for total file transformations.
|
|
7910
|
+
*/
|
|
7911
|
+
screenshotsGeneratedTotal: number;
|
|
7912
|
+
/**
|
|
7913
|
+
* Aggregated stats for imagine credits.
|
|
7914
|
+
*/
|
|
7915
|
+
imagineCredits: number;
|
|
6258
7916
|
}
|
|
7917
|
+
|
|
6259
7918
|
/**
|
|
6260
7919
|
* Domain
|
|
6261
7920
|
*/
|
|
@@ -6277,11 +7936,11 @@ export namespace Models {
|
|
|
6277
7936
|
*/
|
|
6278
7937
|
domain: string;
|
|
6279
7938
|
/**
|
|
6280
|
-
* Domain registrar (e.g.
|
|
7939
|
+
* Domain registrar (e.g. "appwrite" or "third_party").
|
|
6281
7940
|
*/
|
|
6282
7941
|
registrar: string;
|
|
6283
7942
|
/**
|
|
6284
|
-
* Nameservers setting.
|
|
7943
|
+
* Nameservers setting. "Appwrite" or empty string.
|
|
6285
7944
|
*/
|
|
6286
7945
|
nameservers: string;
|
|
6287
7946
|
/**
|
|
@@ -6309,6 +7968,7 @@ export namespace Models {
|
|
|
6309
7968
|
*/
|
|
6310
7969
|
dnsRecords: DnsRecord[];
|
|
6311
7970
|
}
|
|
7971
|
+
|
|
6312
7972
|
/**
|
|
6313
7973
|
* DNSRecord
|
|
6314
7974
|
*/
|
|
@@ -6362,10 +8022,11 @@ export namespace Models {
|
|
|
6362
8022
|
*/
|
|
6363
8023
|
comment: string;
|
|
6364
8024
|
}
|
|
8025
|
+
|
|
6365
8026
|
/**
|
|
6366
|
-
*
|
|
8027
|
+
* UsageResource
|
|
6367
8028
|
*/
|
|
6368
|
-
export type
|
|
8029
|
+
export type UsageResources = {
|
|
6369
8030
|
/**
|
|
6370
8031
|
* Invoice name
|
|
6371
8032
|
*/
|
|
@@ -6386,7 +8047,12 @@ export namespace Models {
|
|
|
6386
8047
|
* Invoice description
|
|
6387
8048
|
*/
|
|
6388
8049
|
desc: string;
|
|
8050
|
+
/**
|
|
8051
|
+
* Resource ID
|
|
8052
|
+
*/
|
|
8053
|
+
resourceId: string;
|
|
6389
8054
|
}
|
|
8055
|
+
|
|
6390
8056
|
/**
|
|
6391
8057
|
* usageBillingPlan
|
|
6392
8058
|
*/
|
|
@@ -6423,7 +8089,12 @@ export namespace Models {
|
|
|
6423
8089
|
* Image transformation additional resources
|
|
6424
8090
|
*/
|
|
6425
8091
|
imageTransformations: AdditionalResource;
|
|
8092
|
+
/**
|
|
8093
|
+
* Credits additional resources
|
|
8094
|
+
*/
|
|
8095
|
+
credits: AdditionalResource;
|
|
6426
8096
|
}
|
|
8097
|
+
|
|
6427
8098
|
/**
|
|
6428
8099
|
* Estimation
|
|
6429
8100
|
*/
|
|
@@ -6461,6 +8132,7 @@ export namespace Models {
|
|
|
6461
8132
|
*/
|
|
6462
8133
|
trialEndDate?: string;
|
|
6463
8134
|
}
|
|
8135
|
+
|
|
6464
8136
|
/**
|
|
6465
8137
|
* EstimationUpdatePlan
|
|
6466
8138
|
*/
|
|
@@ -6498,10 +8170,11 @@ export namespace Models {
|
|
|
6498
8170
|
*/
|
|
6499
8171
|
trialEndDate?: string;
|
|
6500
8172
|
/**
|
|
6501
|
-
* Organization
|
|
8173
|
+
* Organization's existing credits
|
|
6502
8174
|
*/
|
|
6503
8175
|
organizationCredits: number;
|
|
6504
8176
|
}
|
|
8177
|
+
|
|
6505
8178
|
/**
|
|
6506
8179
|
* EstimationDeleteOrganization
|
|
6507
8180
|
*/
|
|
@@ -6511,6 +8184,7 @@ export namespace Models {
|
|
|
6511
8184
|
*/
|
|
6512
8185
|
unpaidInvoices: Invoice[];
|
|
6513
8186
|
}
|
|
8187
|
+
|
|
6514
8188
|
/**
|
|
6515
8189
|
* EstimationItem
|
|
6516
8190
|
*/
|
|
@@ -6524,12 +8198,13 @@ export namespace Models {
|
|
|
6524
8198
|
*/
|
|
6525
8199
|
value: number;
|
|
6526
8200
|
}
|
|
8201
|
+
|
|
6527
8202
|
/**
|
|
6528
8203
|
* Aggregation team list
|
|
6529
8204
|
*/
|
|
6530
8205
|
export type AggregationTeamList = {
|
|
6531
8206
|
/**
|
|
6532
|
-
* Total number of aggregations
|
|
8207
|
+
* Total number of aggregations that matched your query.
|
|
6533
8208
|
*/
|
|
6534
8209
|
total: number;
|
|
6535
8210
|
/**
|
|
@@ -6537,12 +8212,13 @@ export namespace Models {
|
|
|
6537
8212
|
*/
|
|
6538
8213
|
aggregations: AggregationTeam[];
|
|
6539
8214
|
}
|
|
8215
|
+
|
|
6540
8216
|
/**
|
|
6541
8217
|
* Backup archive list
|
|
6542
8218
|
*/
|
|
6543
8219
|
export type BackupArchiveList = {
|
|
6544
8220
|
/**
|
|
6545
|
-
* Total number of archives
|
|
8221
|
+
* Total number of archives that matched your query.
|
|
6546
8222
|
*/
|
|
6547
8223
|
total: number;
|
|
6548
8224
|
/**
|
|
@@ -6550,12 +8226,13 @@ export namespace Models {
|
|
|
6550
8226
|
*/
|
|
6551
8227
|
archives: BackupArchive[];
|
|
6552
8228
|
}
|
|
8229
|
+
|
|
6553
8230
|
/**
|
|
6554
8231
|
* Backup policy list
|
|
6555
8232
|
*/
|
|
6556
8233
|
export type BackupPolicyList = {
|
|
6557
8234
|
/**
|
|
6558
|
-
* Total number of policies
|
|
8235
|
+
* Total number of policies that matched your query.
|
|
6559
8236
|
*/
|
|
6560
8237
|
total: number;
|
|
6561
8238
|
/**
|
|
@@ -6563,12 +8240,13 @@ export namespace Models {
|
|
|
6563
8240
|
*/
|
|
6564
8241
|
policies: BackupPolicy[];
|
|
6565
8242
|
}
|
|
8243
|
+
|
|
6566
8244
|
/**
|
|
6567
8245
|
* Backup restoration list
|
|
6568
8246
|
*/
|
|
6569
8247
|
export type BackupRestorationList = {
|
|
6570
8248
|
/**
|
|
6571
|
-
* Total number of restorations
|
|
8249
|
+
* Total number of restorations that matched your query.
|
|
6572
8250
|
*/
|
|
6573
8251
|
total: number;
|
|
6574
8252
|
/**
|
|
@@ -6576,12 +8254,13 @@ export namespace Models {
|
|
|
6576
8254
|
*/
|
|
6577
8255
|
restorations: BackupRestoration[];
|
|
6578
8256
|
}
|
|
8257
|
+
|
|
6579
8258
|
/**
|
|
6580
8259
|
* Billing invoices list
|
|
6581
8260
|
*/
|
|
6582
8261
|
export type InvoiceList = {
|
|
6583
8262
|
/**
|
|
6584
|
-
* Total number of invoices
|
|
8263
|
+
* Total number of invoices that matched your query.
|
|
6585
8264
|
*/
|
|
6586
8265
|
total: number;
|
|
6587
8266
|
/**
|
|
@@ -6589,12 +8268,13 @@ export namespace Models {
|
|
|
6589
8268
|
*/
|
|
6590
8269
|
invoices: Invoice[];
|
|
6591
8270
|
}
|
|
8271
|
+
|
|
6592
8272
|
/**
|
|
6593
8273
|
* Billing address list
|
|
6594
8274
|
*/
|
|
6595
8275
|
export type BillingAddressList = {
|
|
6596
8276
|
/**
|
|
6597
|
-
* Total number of billingAddresses
|
|
8277
|
+
* Total number of billingAddresses that matched your query.
|
|
6598
8278
|
*/
|
|
6599
8279
|
total: number;
|
|
6600
8280
|
/**
|
|
@@ -6602,12 +8282,13 @@ export namespace Models {
|
|
|
6602
8282
|
*/
|
|
6603
8283
|
billingAddresses: BillingAddress[];
|
|
6604
8284
|
}
|
|
8285
|
+
|
|
6605
8286
|
/**
|
|
6606
8287
|
* Billing plan list
|
|
6607
8288
|
*/
|
|
6608
8289
|
export type BillingPlanList = {
|
|
6609
8290
|
/**
|
|
6610
|
-
* Total number of plans
|
|
8291
|
+
* Total number of plans that matched your query.
|
|
6611
8292
|
*/
|
|
6612
8293
|
total: number;
|
|
6613
8294
|
/**
|
|
@@ -6615,12 +8296,13 @@ export namespace Models {
|
|
|
6615
8296
|
*/
|
|
6616
8297
|
plans: BillingPlan[];
|
|
6617
8298
|
}
|
|
8299
|
+
|
|
6618
8300
|
/**
|
|
6619
|
-
* Organizations
|
|
8301
|
+
* Organizations list
|
|
6620
8302
|
*/
|
|
6621
|
-
export type OrganizationList<Preferences extends Models.Preferences> = {
|
|
8303
|
+
export type OrganizationList<Preferences extends Models.Preferences = Models.DefaultPreferences> = {
|
|
6622
8304
|
/**
|
|
6623
|
-
* Total number of teams
|
|
8305
|
+
* Total number of teams that matched your query.
|
|
6624
8306
|
*/
|
|
6625
8307
|
total: number;
|
|
6626
8308
|
/**
|
|
@@ -6628,12 +8310,13 @@ export namespace Models {
|
|
|
6628
8310
|
*/
|
|
6629
8311
|
teams: Organization<Preferences>[];
|
|
6630
8312
|
}
|
|
8313
|
+
|
|
6631
8314
|
/**
|
|
6632
8315
|
* Payment methods list
|
|
6633
8316
|
*/
|
|
6634
8317
|
export type PaymentMethodList = {
|
|
6635
8318
|
/**
|
|
6636
|
-
* Total number of paymentMethods
|
|
8319
|
+
* Total number of paymentMethods that matched your query.
|
|
6637
8320
|
*/
|
|
6638
8321
|
total: number;
|
|
6639
8322
|
/**
|
|
@@ -6641,12 +8324,13 @@ export namespace Models {
|
|
|
6641
8324
|
*/
|
|
6642
8325
|
paymentMethods: PaymentMethod[];
|
|
6643
8326
|
}
|
|
8327
|
+
|
|
6644
8328
|
/**
|
|
6645
8329
|
* Regions list
|
|
6646
8330
|
*/
|
|
6647
8331
|
export type ConsoleRegionList = {
|
|
6648
8332
|
/**
|
|
6649
|
-
* Total number of regions
|
|
8333
|
+
* Total number of regions that matched your query.
|
|
6650
8334
|
*/
|
|
6651
8335
|
total: number;
|
|
6652
8336
|
/**
|
|
@@ -6654,12 +8338,13 @@ export namespace Models {
|
|
|
6654
8338
|
*/
|
|
6655
8339
|
regions: ConsoleRegion[];
|
|
6656
8340
|
}
|
|
8341
|
+
|
|
6657
8342
|
/**
|
|
6658
8343
|
* Domains list
|
|
6659
8344
|
*/
|
|
6660
8345
|
export type DomainsList = {
|
|
6661
8346
|
/**
|
|
6662
|
-
* Total number of domains
|
|
8347
|
+
* Total number of domains that matched your query.
|
|
6663
8348
|
*/
|
|
6664
8349
|
total: number;
|
|
6665
8350
|
/**
|
|
@@ -6667,12 +8352,13 @@ export namespace Models {
|
|
|
6667
8352
|
*/
|
|
6668
8353
|
domains: Domain[];
|
|
6669
8354
|
}
|
|
8355
|
+
|
|
6670
8356
|
/**
|
|
6671
8357
|
* DNS records list
|
|
6672
8358
|
*/
|
|
6673
8359
|
export type DnsRecordsList = {
|
|
6674
8360
|
/**
|
|
6675
|
-
* Total number of dnsRecords
|
|
8361
|
+
* Total number of dnsRecords that matched your query.
|
|
6676
8362
|
*/
|
|
6677
8363
|
total: number;
|
|
6678
8364
|
/**
|