@appwrite.io/console 0.6.4 → 0.7.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/cjs/sdk.js +2508 -2351
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +2508 -2351
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +2508 -2351
- package/docs/examples/account/create-anonymous-session.md +1 -1
- package/docs/examples/account/create-email-password-session.md +1 -1
- package/docs/examples/account/create-email-token.md +1 -1
- package/docs/examples/account/create-j-w-t.md +1 -1
- package/docs/examples/account/create-magic-u-r-l-token.md +1 -1
- package/docs/examples/account/create-mfa-authenticator.md +1 -1
- package/docs/examples/account/create-mfa-challenge.md +1 -1
- package/docs/examples/account/create-mfa-recovery-codes.md +1 -1
- package/docs/examples/account/create-phone-token.md +1 -1
- package/docs/examples/account/create-phone-verification.md +1 -1
- package/docs/examples/account/create-push-target.md +1 -1
- package/docs/examples/account/create-recovery.md +1 -1
- package/docs/examples/account/create-session.md +1 -1
- package/docs/examples/account/create-verification.md +1 -1
- package/docs/examples/account/create.md +1 -1
- package/docs/examples/account/delete-identity.md +1 -1
- package/docs/examples/account/delete-mfa-authenticator.md +2 -3
- package/docs/examples/account/delete-push-target.md +1 -1
- package/docs/examples/account/delete-session.md +1 -1
- package/docs/examples/account/delete-sessions.md +1 -1
- package/docs/examples/account/delete.md +1 -1
- package/docs/examples/account/get-mfa-recovery-codes.md +1 -1
- package/docs/examples/account/get-prefs.md +1 -1
- package/docs/examples/account/get-session.md +1 -1
- package/docs/examples/account/get.md +1 -1
- package/docs/examples/account/list-identities.md +1 -1
- package/docs/examples/account/list-logs.md +1 -1
- package/docs/examples/account/list-mfa-factors.md +1 -1
- package/docs/examples/account/list-sessions.md +1 -1
- package/docs/examples/account/update-email.md +1 -1
- package/docs/examples/account/update-m-f-a.md +1 -1
- package/docs/examples/account/update-magic-u-r-l-session.md +1 -1
- package/docs/examples/account/update-mfa-authenticator.md +1 -1
- package/docs/examples/account/update-mfa-challenge.md +1 -1
- package/docs/examples/account/update-mfa-recovery-codes.md +1 -1
- package/docs/examples/account/update-name.md +1 -1
- package/docs/examples/account/update-password.md +1 -1
- package/docs/examples/account/update-phone-session.md +1 -1
- package/docs/examples/account/update-phone-verification.md +1 -1
- package/docs/examples/account/update-phone.md +1 -1
- package/docs/examples/account/update-prefs.md +1 -1
- package/docs/examples/account/update-push-target.md +1 -1
- package/docs/examples/account/update-recovery.md +1 -1
- package/docs/examples/account/update-session.md +1 -1
- package/docs/examples/account/update-status.md +1 -1
- package/docs/examples/account/update-verification.md +1 -1
- package/docs/examples/assistant/chat.md +1 -1
- package/docs/examples/console/variables.md +1 -1
- package/docs/examples/databases/create-boolean-attribute.md +1 -1
- package/docs/examples/databases/create-collection.md +1 -1
- package/docs/examples/databases/create-datetime-attribute.md +1 -1
- package/docs/examples/databases/create-document.md +1 -1
- package/docs/examples/databases/create-email-attribute.md +1 -1
- package/docs/examples/databases/create-enum-attribute.md +1 -1
- package/docs/examples/databases/create-float-attribute.md +1 -1
- package/docs/examples/databases/create-index.md +1 -1
- package/docs/examples/databases/create-integer-attribute.md +1 -1
- package/docs/examples/databases/create-ip-attribute.md +1 -1
- package/docs/examples/databases/create-relationship-attribute.md +1 -1
- package/docs/examples/databases/create-string-attribute.md +1 -1
- package/docs/examples/databases/create-url-attribute.md +1 -1
- package/docs/examples/databases/create.md +1 -1
- package/docs/examples/databases/delete-attribute.md +1 -1
- package/docs/examples/databases/delete-collection.md +1 -1
- package/docs/examples/databases/delete-document.md +1 -1
- package/docs/examples/databases/delete-index.md +1 -1
- package/docs/examples/databases/delete.md +1 -1
- package/docs/examples/databases/get-attribute.md +1 -1
- package/docs/examples/databases/get-collection-usage.md +1 -1
- package/docs/examples/databases/get-collection.md +1 -1
- package/docs/examples/databases/get-database-usage.md +1 -1
- package/docs/examples/databases/get-document.md +1 -1
- package/docs/examples/databases/get-index.md +1 -1
- package/docs/examples/databases/get-usage.md +1 -1
- package/docs/examples/databases/get.md +1 -1
- package/docs/examples/databases/list-attributes.md +1 -1
- package/docs/examples/databases/list-collection-logs.md +1 -1
- package/docs/examples/databases/list-collections.md +1 -1
- package/docs/examples/databases/list-document-logs.md +1 -1
- package/docs/examples/databases/list-documents.md +1 -1
- package/docs/examples/databases/list-indexes.md +1 -1
- package/docs/examples/databases/list-logs.md +1 -1
- package/docs/examples/databases/list.md +1 -1
- package/docs/examples/databases/update-boolean-attribute.md +1 -1
- package/docs/examples/databases/update-collection.md +1 -1
- package/docs/examples/databases/update-datetime-attribute.md +1 -1
- package/docs/examples/databases/update-document.md +1 -1
- package/docs/examples/databases/update-email-attribute.md +1 -1
- package/docs/examples/databases/update-enum-attribute.md +1 -1
- package/docs/examples/databases/update-float-attribute.md +1 -1
- package/docs/examples/databases/update-integer-attribute.md +1 -1
- package/docs/examples/databases/update-ip-attribute.md +1 -1
- package/docs/examples/databases/update-relationship-attribute.md +1 -1
- package/docs/examples/databases/update-string-attribute.md +1 -1
- package/docs/examples/databases/update-url-attribute.md +1 -1
- package/docs/examples/databases/update.md +1 -1
- package/docs/examples/functions/create-build.md +2 -2
- package/docs/examples/functions/create-deployment.md +1 -1
- package/docs/examples/functions/create-execution.md +3 -2
- package/docs/examples/functions/create-variable.md +1 -1
- package/docs/examples/functions/create.md +3 -3
- package/docs/examples/functions/delete-deployment.md +1 -1
- package/docs/examples/functions/delete-execution.md +14 -0
- package/docs/examples/functions/delete-variable.md +1 -1
- package/docs/examples/functions/delete.md +1 -1
- package/docs/examples/functions/{download-deployment.md → get-deployment-download.md} +1 -1
- package/docs/examples/functions/get-deployment.md +1 -1
- package/docs/examples/functions/get-execution.md +1 -1
- package/docs/examples/functions/get-function-usage.md +1 -1
- package/docs/examples/functions/{get-specifications.md → get-template.md} +4 -2
- package/docs/examples/functions/get-usage.md +1 -1
- package/docs/examples/functions/get-variable.md +1 -1
- package/docs/examples/functions/get.md +1 -1
- package/docs/examples/functions/list-deployments.md +1 -1
- package/docs/examples/functions/list-executions.md +1 -1
- package/docs/examples/functions/list-runtimes.md +1 -1
- package/docs/examples/functions/list-templates.md +16 -0
- package/docs/examples/functions/list-variables.md +1 -1
- package/docs/examples/functions/list.md +1 -1
- package/docs/examples/functions/update-deployment-build.md +14 -0
- package/docs/examples/functions/update-deployment.md +1 -1
- package/docs/examples/functions/update-variable.md +1 -1
- package/docs/examples/functions/update.md +3 -3
- package/docs/examples/graphql/mutation.md +1 -1
- package/docs/examples/graphql/query.md +1 -1
- package/docs/examples/health/get-antivirus.md +1 -1
- package/docs/examples/health/get-cache.md +1 -1
- package/docs/examples/health/get-certificate.md +1 -1
- package/docs/examples/health/get-d-b.md +1 -1
- package/docs/examples/health/get-failed-jobs.md +1 -1
- package/docs/examples/health/get-pub-sub.md +1 -1
- package/docs/examples/health/get-queue-builds.md +1 -1
- package/docs/examples/health/get-queue-certificates.md +1 -1
- package/docs/examples/health/get-queue-databases.md +1 -1
- package/docs/examples/health/get-queue-deletes.md +1 -1
- package/docs/examples/health/get-queue-functions.md +1 -1
- package/docs/examples/health/get-queue-logs.md +1 -1
- package/docs/examples/health/get-queue-mails.md +1 -1
- package/docs/examples/health/get-queue-messaging.md +1 -1
- package/docs/examples/health/get-queue-migrations.md +1 -1
- package/docs/examples/health/get-queue-usage-dump.md +1 -1
- package/docs/examples/health/get-queue-usage.md +1 -1
- package/docs/examples/health/get-queue-webhooks.md +1 -1
- package/docs/examples/health/get-queue.md +1 -1
- package/docs/examples/health/get-storage-local.md +1 -1
- package/docs/examples/health/get-storage.md +1 -1
- package/docs/examples/health/get-time.md +1 -1
- package/docs/examples/health/get.md +1 -1
- package/docs/examples/locale/get.md +1 -1
- package/docs/examples/locale/list-codes.md +1 -1
- package/docs/examples/locale/list-continents.md +1 -1
- package/docs/examples/locale/list-countries-e-u.md +1 -1
- package/docs/examples/locale/list-countries-phones.md +1 -1
- package/docs/examples/locale/list-countries.md +1 -1
- package/docs/examples/locale/list-currencies.md +1 -1
- package/docs/examples/locale/list-languages.md +1 -1
- package/docs/examples/messaging/create-apns-provider.md +1 -1
- package/docs/examples/messaging/create-email.md +1 -1
- package/docs/examples/messaging/create-fcm-provider.md +1 -1
- package/docs/examples/messaging/create-mailgun-provider.md +1 -1
- package/docs/examples/messaging/create-msg91provider.md +1 -1
- package/docs/examples/messaging/create-push.md +1 -1
- package/docs/examples/messaging/create-sendgrid-provider.md +1 -1
- package/docs/examples/messaging/create-sms.md +1 -1
- package/docs/examples/messaging/create-smtp-provider.md +1 -1
- package/docs/examples/messaging/create-subscriber.md +1 -1
- package/docs/examples/messaging/create-telesign-provider.md +1 -1
- package/docs/examples/messaging/create-textmagic-provider.md +1 -1
- package/docs/examples/messaging/create-topic.md +1 -1
- package/docs/examples/messaging/create-twilio-provider.md +1 -1
- package/docs/examples/messaging/create-vonage-provider.md +1 -1
- package/docs/examples/messaging/delete-provider.md +1 -1
- package/docs/examples/messaging/delete-subscriber.md +1 -1
- package/docs/examples/messaging/delete-topic.md +1 -1
- package/docs/examples/messaging/delete.md +1 -1
- package/docs/examples/messaging/get-message.md +1 -1
- package/docs/examples/messaging/get-provider.md +1 -1
- package/docs/examples/messaging/get-subscriber.md +1 -1
- package/docs/examples/messaging/get-topic.md +1 -1
- package/docs/examples/messaging/list-message-logs.md +1 -1
- package/docs/examples/messaging/list-messages.md +1 -1
- package/docs/examples/messaging/list-provider-logs.md +1 -1
- package/docs/examples/messaging/list-providers.md +1 -1
- package/docs/examples/messaging/list-subscriber-logs.md +1 -1
- package/docs/examples/messaging/list-subscribers.md +1 -1
- package/docs/examples/messaging/list-targets.md +1 -1
- package/docs/examples/messaging/list-topic-logs.md +1 -1
- package/docs/examples/messaging/list-topics.md +1 -1
- package/docs/examples/messaging/update-apns-provider.md +1 -1
- package/docs/examples/messaging/update-email.md +1 -1
- package/docs/examples/messaging/update-fcm-provider.md +1 -1
- package/docs/examples/messaging/update-mailgun-provider.md +1 -1
- package/docs/examples/messaging/update-msg91provider.md +1 -1
- package/docs/examples/messaging/update-push.md +1 -1
- package/docs/examples/messaging/update-sendgrid-provider.md +1 -1
- package/docs/examples/messaging/update-sms.md +1 -1
- package/docs/examples/messaging/update-smtp-provider.md +1 -1
- package/docs/examples/messaging/update-telesign-provider.md +1 -1
- package/docs/examples/messaging/update-textmagic-provider.md +1 -1
- package/docs/examples/messaging/update-topic.md +1 -1
- package/docs/examples/messaging/update-twilio-provider.md +1 -1
- package/docs/examples/messaging/update-vonage-provider.md +1 -1
- package/docs/examples/migrations/create-appwrite-migration.md +1 -1
- package/docs/examples/migrations/create-firebase-migration.md +1 -1
- package/docs/examples/migrations/create-firebase-o-auth-migration.md +1 -1
- package/docs/examples/migrations/create-n-host-migration.md +1 -1
- package/docs/examples/migrations/create-supabase-migration.md +1 -1
- package/docs/examples/migrations/delete-firebase-auth.md +1 -1
- package/docs/examples/migrations/delete.md +1 -1
- package/docs/examples/migrations/get-appwrite-report.md +1 -1
- package/docs/examples/migrations/get-firebase-report-o-auth.md +1 -1
- package/docs/examples/migrations/get-firebase-report.md +1 -1
- package/docs/examples/migrations/get-n-host-report.md +1 -1
- package/docs/examples/migrations/get-supabase-report.md +1 -1
- package/docs/examples/migrations/get.md +1 -1
- package/docs/examples/migrations/list-firebase-projects.md +1 -1
- package/docs/examples/migrations/list.md +1 -1
- package/docs/examples/migrations/retry.md +1 -1
- package/docs/examples/project/create-variable.md +1 -1
- package/docs/examples/project/delete-variable.md +1 -1
- package/docs/examples/project/get-usage.md +1 -1
- package/docs/examples/project/get-variable.md +1 -1
- package/docs/examples/project/list-variables.md +1 -1
- package/docs/examples/project/update-variable.md +1 -1
- package/docs/examples/projects/create-j-w-t.md +15 -0
- package/docs/examples/projects/create-key.md +1 -1
- package/docs/examples/projects/create-platform.md +1 -1
- package/docs/examples/projects/create-smtp-test.md +1 -1
- package/docs/examples/projects/create-webhook.md +1 -1
- package/docs/examples/projects/create.md +1 -1
- package/docs/examples/projects/delete-email-template.md +1 -1
- package/docs/examples/projects/delete-key.md +1 -1
- package/docs/examples/projects/delete-platform.md +1 -1
- package/docs/examples/projects/delete-sms-template.md +1 -1
- package/docs/examples/projects/delete-webhook.md +1 -1
- package/docs/examples/projects/delete.md +1 -1
- package/docs/examples/projects/get-email-template.md +1 -1
- package/docs/examples/projects/get-key.md +1 -1
- package/docs/examples/projects/get-platform.md +1 -1
- package/docs/examples/projects/get-sms-template.md +1 -1
- package/docs/examples/projects/get-webhook.md +1 -1
- package/docs/examples/projects/get.md +1 -1
- package/docs/examples/projects/list-keys.md +1 -1
- package/docs/examples/projects/list-platforms.md +1 -1
- package/docs/examples/projects/list-webhooks.md +1 -1
- package/docs/examples/projects/list.md +1 -1
- package/docs/examples/projects/update-api-status-all.md +1 -1
- package/docs/examples/projects/update-api-status.md +1 -1
- package/docs/examples/projects/update-auth-duration.md +1 -1
- package/docs/examples/projects/update-auth-limit.md +1 -1
- package/docs/examples/projects/update-auth-password-dictionary.md +1 -1
- package/docs/examples/projects/update-auth-password-history.md +1 -1
- package/docs/examples/projects/update-auth-sessions-limit.md +1 -1
- package/docs/examples/projects/update-auth-status.md +1 -1
- package/docs/examples/projects/update-email-template.md +1 -1
- package/docs/examples/projects/update-key.md +1 -1
- package/docs/examples/projects/update-mock-numbers.md +14 -0
- package/docs/examples/projects/update-o-auth2.md +1 -1
- package/docs/examples/projects/update-personal-data-check.md +1 -1
- package/docs/examples/projects/update-platform.md +1 -1
- package/docs/examples/projects/update-service-status-all.md +1 -1
- package/docs/examples/projects/update-service-status.md +1 -1
- package/docs/examples/projects/update-session-alerts.md +14 -0
- package/docs/examples/projects/update-sms-template.md +1 -1
- package/docs/examples/projects/update-smtp.md +1 -1
- package/docs/examples/projects/update-team.md +1 -1
- package/docs/examples/projects/update-webhook-signature.md +1 -1
- package/docs/examples/projects/update-webhook.md +1 -1
- package/docs/examples/projects/update.md +1 -1
- package/docs/examples/proxy/create-rule.md +1 -1
- package/docs/examples/proxy/delete-rule.md +1 -1
- package/docs/examples/proxy/get-rule.md +1 -1
- package/docs/examples/proxy/list-rules.md +1 -1
- package/docs/examples/proxy/update-rule-verification.md +1 -1
- package/docs/examples/storage/create-bucket.md +1 -1
- package/docs/examples/storage/create-file.md +1 -1
- package/docs/examples/storage/delete-bucket.md +1 -1
- package/docs/examples/storage/delete-file.md +1 -1
- package/docs/examples/storage/get-bucket-usage.md +1 -1
- package/docs/examples/storage/get-bucket.md +1 -1
- package/docs/examples/storage/get-file.md +1 -1
- package/docs/examples/storage/get-usage.md +1 -1
- package/docs/examples/storage/list-buckets.md +1 -1
- package/docs/examples/storage/list-files.md +1 -1
- package/docs/examples/storage/update-bucket.md +1 -1
- package/docs/examples/storage/update-file.md +1 -1
- package/docs/examples/teams/create-membership.md +1 -1
- package/docs/examples/teams/create.md +1 -1
- package/docs/examples/teams/delete-membership.md +1 -1
- package/docs/examples/teams/delete.md +1 -1
- package/docs/examples/teams/get-membership.md +1 -1
- package/docs/examples/teams/get-prefs.md +1 -1
- package/docs/examples/teams/get.md +1 -1
- package/docs/examples/teams/list-logs.md +1 -1
- package/docs/examples/teams/list-memberships.md +1 -1
- package/docs/examples/teams/list.md +1 -1
- package/docs/examples/teams/update-membership-status.md +1 -1
- package/docs/examples/teams/update-membership.md +1 -1
- package/docs/examples/teams/update-name.md +1 -1
- package/docs/examples/teams/update-prefs.md +1 -1
- package/docs/examples/users/create-argon2user.md +1 -1
- package/docs/examples/users/create-bcrypt-user.md +1 -1
- package/docs/examples/users/create-j-w-t.md +15 -0
- package/docs/examples/users/create-m-d5user.md +1 -1
- package/docs/examples/users/create-mfa-recovery-codes.md +1 -1
- package/docs/examples/users/create-p-h-pass-user.md +1 -1
- package/docs/examples/users/create-s-h-a-user.md +1 -1
- package/docs/examples/users/create-scrypt-modified-user.md +1 -1
- package/docs/examples/users/create-scrypt-user.md +1 -1
- package/docs/examples/users/create-session.md +1 -1
- package/docs/examples/users/create-target.md +1 -1
- package/docs/examples/users/create-token.md +1 -1
- package/docs/examples/users/create.md +1 -1
- package/docs/examples/users/delete-identity.md +1 -1
- package/docs/examples/users/delete-mfa-authenticator.md +1 -1
- package/docs/examples/users/delete-session.md +1 -1
- package/docs/examples/users/delete-sessions.md +1 -1
- package/docs/examples/users/delete-target.md +1 -1
- package/docs/examples/users/delete.md +1 -1
- package/docs/examples/users/get-mfa-recovery-codes.md +1 -1
- package/docs/examples/users/get-prefs.md +1 -1
- package/docs/examples/users/get-target.md +1 -1
- package/docs/examples/users/get-usage.md +1 -1
- package/docs/examples/users/get.md +1 -1
- package/docs/examples/users/list-identities.md +1 -1
- package/docs/examples/users/list-logs.md +1 -1
- package/docs/examples/users/list-memberships.md +1 -1
- package/docs/examples/users/list-mfa-factors.md +1 -1
- package/docs/examples/users/list-sessions.md +1 -1
- package/docs/examples/users/list-targets.md +1 -1
- package/docs/examples/users/list.md +1 -1
- package/docs/examples/users/update-email-verification.md +1 -1
- package/docs/examples/users/update-email.md +1 -1
- package/docs/examples/users/update-labels.md +1 -1
- package/docs/examples/users/update-mfa-recovery-codes.md +1 -1
- package/docs/examples/users/update-mfa.md +1 -1
- package/docs/examples/users/update-name.md +1 -1
- package/docs/examples/users/update-password.md +1 -1
- package/docs/examples/users/update-phone-verification.md +1 -1
- package/docs/examples/users/update-phone.md +1 -1
- package/docs/examples/users/update-prefs.md +1 -1
- package/docs/examples/users/update-status.md +1 -1
- package/docs/examples/users/update-target.md +1 -1
- package/docs/examples/vcs/create-repository-detection.md +1 -1
- package/docs/examples/vcs/create-repository.md +1 -1
- package/docs/examples/vcs/delete-installation.md +1 -1
- package/docs/examples/vcs/get-installation.md +1 -1
- package/docs/examples/vcs/get-repository-contents.md +15 -0
- package/docs/examples/vcs/get-repository.md +1 -1
- package/docs/examples/vcs/list-installations.md +1 -1
- package/docs/examples/vcs/list-repositories.md +1 -1
- package/docs/examples/vcs/list-repository-branches.md +1 -1
- package/docs/examples/vcs/update-external-deployments.md +1 -1
- package/package.json +1 -1
- package/src/client.ts +119 -68
- package/src/enums/email-template-type.ts +2 -0
- package/src/enums/platform-type.ts +2 -0
- package/src/enums/runtime.ts +1 -0
- package/src/index.ts +1 -1
- package/src/models.ts +230 -28
- package/src/services/account.ts +651 -644
- package/src/services/assistant.ts +19 -16
- package/src/services/avatars.ts +111 -152
- package/src/services/console.ts +19 -14
- package/src/services/databases.ts +628 -638
- package/src/services/functions.ts +435 -339
- package/src/services/graphql.ts +31 -24
- package/src/services/health.ts +299 -199
- package/src/services/locale.ts +113 -77
- package/src/services/messaging.ts +568 -583
- package/src/services/migrations.ts +199 -197
- package/src/services/project.ts +82 -65
- package/src/services/projects.ts +615 -459
- package/src/services/proxy.ts +68 -50
- package/src/services/storage.ts +198 -253
- package/src/services/teams.ts +198 -188
- package/src/services/users.ts +568 -478
- package/src/services/vcs.ts +149 -83
- package/types/client.d.ts +13 -17
- package/types/enums/email-template-type.d.ts +3 -1
- package/types/enums/platform-type.d.ts +3 -1
- package/types/enums/runtime.d.ts +2 -1
- package/types/index.d.ts +1 -1
- package/types/models.d.ts +230 -28
- package/types/services/account.d.ts +162 -317
- package/types/services/assistant.d.ts +4 -4
- package/types/services/avatars.d.ts +50 -84
- package/types/services/console.d.ts +4 -4
- package/types/services/databases.d.ts +143 -173
- package/types/services/functions.d.ts +112 -97
- package/types/services/graphql.d.ts +6 -6
- package/types/services/health.d.ts +64 -85
- package/types/services/locale.d.ts +28 -39
- package/types/services/messaging.d.ts +103 -104
- package/types/services/migrations.d.ts +34 -34
- package/types/services/project.d.ts +17 -20
- package/types/services/projects.d.ts +118 -87
- package/types/services/proxy.d.ts +13 -14
- package/types/services/storage.d.ts +53 -78
- package/types/services/teams.d.ts +53 -83
- package/types/services/users.d.ts +120 -157
- package/types/services/vcs.d.ts +31 -20
package/src/models.ts
CHANGED
|
@@ -171,6 +171,19 @@ export namespace Models {
|
|
|
171
171
|
*/
|
|
172
172
|
functions: Function[];
|
|
173
173
|
}
|
|
174
|
+
/**
|
|
175
|
+
* Function Templates List
|
|
176
|
+
*/
|
|
177
|
+
export type TemplateFunctionList = {
|
|
178
|
+
/**
|
|
179
|
+
* Total number of templates documents that matched your query.
|
|
180
|
+
*/
|
|
181
|
+
total: number;
|
|
182
|
+
/**
|
|
183
|
+
* List of templates.
|
|
184
|
+
*/
|
|
185
|
+
templates: TemplateFunction[];
|
|
186
|
+
}
|
|
174
187
|
/**
|
|
175
188
|
* Installations List
|
|
176
189
|
*/
|
|
@@ -497,17 +510,17 @@ export namespace Models {
|
|
|
497
510
|
projects: FirebaseProject[];
|
|
498
511
|
}
|
|
499
512
|
/**
|
|
500
|
-
*
|
|
513
|
+
* VCS Content List
|
|
501
514
|
*/
|
|
502
|
-
export type
|
|
515
|
+
export type VcsContentList = {
|
|
503
516
|
/**
|
|
504
|
-
* Total number of
|
|
517
|
+
* Total number of contents documents that matched your query.
|
|
505
518
|
*/
|
|
506
519
|
total: number;
|
|
507
520
|
/**
|
|
508
|
-
* List of
|
|
521
|
+
* List of contents.
|
|
509
522
|
*/
|
|
510
|
-
|
|
523
|
+
contents: VcsContent[];
|
|
511
524
|
}
|
|
512
525
|
/**
|
|
513
526
|
* Database
|
|
@@ -1806,6 +1819,10 @@ export namespace Models {
|
|
|
1806
1819
|
* Function's active deployment ID.
|
|
1807
1820
|
*/
|
|
1808
1821
|
deployment: string;
|
|
1822
|
+
/**
|
|
1823
|
+
* Allowed permission scopes.
|
|
1824
|
+
*/
|
|
1825
|
+
scopes: string[];
|
|
1809
1826
|
/**
|
|
1810
1827
|
* Function variables.
|
|
1811
1828
|
*/
|
|
@@ -1854,10 +1871,129 @@ export namespace Models {
|
|
|
1854
1871
|
* Is VCS (Version Control System) connection is in silent mode? When in silence mode, no comments will be posted on the repository pull or merge requests
|
|
1855
1872
|
*/
|
|
1856
1873
|
providerSilentMode: boolean;
|
|
1874
|
+
}
|
|
1875
|
+
/**
|
|
1876
|
+
* Template Function
|
|
1877
|
+
*/
|
|
1878
|
+
export type TemplateFunction = {
|
|
1879
|
+
/**
|
|
1880
|
+
* Function Template Icon.
|
|
1881
|
+
*/
|
|
1882
|
+
icon: string;
|
|
1883
|
+
/**
|
|
1884
|
+
* Function Template ID.
|
|
1885
|
+
*/
|
|
1886
|
+
id: string;
|
|
1887
|
+
/**
|
|
1888
|
+
* Function Template Name.
|
|
1889
|
+
*/
|
|
1890
|
+
name: string;
|
|
1891
|
+
/**
|
|
1892
|
+
* Function Template Tagline.
|
|
1893
|
+
*/
|
|
1894
|
+
tagline: string;
|
|
1895
|
+
/**
|
|
1896
|
+
* Execution permissions.
|
|
1897
|
+
*/
|
|
1898
|
+
permissions: string[];
|
|
1899
|
+
/**
|
|
1900
|
+
* Function trigger events.
|
|
1901
|
+
*/
|
|
1902
|
+
events: string[];
|
|
1903
|
+
/**
|
|
1904
|
+
* Function execution schedult in CRON format.
|
|
1905
|
+
*/
|
|
1906
|
+
cron: string;
|
|
1907
|
+
/**
|
|
1908
|
+
* Function execution timeout in seconds.
|
|
1909
|
+
*/
|
|
1910
|
+
timeout: number;
|
|
1911
|
+
/**
|
|
1912
|
+
* Function use cases.
|
|
1913
|
+
*/
|
|
1914
|
+
useCases: string[];
|
|
1915
|
+
/**
|
|
1916
|
+
* List of runtimes that can be used with this template.
|
|
1917
|
+
*/
|
|
1918
|
+
runtimes: TemplateRuntime[];
|
|
1919
|
+
/**
|
|
1920
|
+
* Function Template Instructions.
|
|
1921
|
+
*/
|
|
1922
|
+
instructions: string;
|
|
1923
|
+
/**
|
|
1924
|
+
* VCS (Version Control System) Provider.
|
|
1925
|
+
*/
|
|
1926
|
+
vcsProvider: string;
|
|
1927
|
+
/**
|
|
1928
|
+
* VCS (Version Control System) Repository ID
|
|
1929
|
+
*/
|
|
1930
|
+
providerRepositoryId: string;
|
|
1931
|
+
/**
|
|
1932
|
+
* VCS (Version Control System) Owner.
|
|
1933
|
+
*/
|
|
1934
|
+
providerOwner: string;
|
|
1935
|
+
/**
|
|
1936
|
+
* VCS (Version Control System) branch version (tag).
|
|
1937
|
+
*/
|
|
1938
|
+
providerVersion: string;
|
|
1939
|
+
/**
|
|
1940
|
+
* Function variables.
|
|
1941
|
+
*/
|
|
1942
|
+
variables: TemplateVariable[];
|
|
1943
|
+
/**
|
|
1944
|
+
* Function scopes.
|
|
1945
|
+
*/
|
|
1946
|
+
scopes: string[];
|
|
1947
|
+
}
|
|
1948
|
+
/**
|
|
1949
|
+
* Template Runtime
|
|
1950
|
+
*/
|
|
1951
|
+
export type TemplateRuntime = {
|
|
1952
|
+
/**
|
|
1953
|
+
* Runtime Name.
|
|
1954
|
+
*/
|
|
1955
|
+
name: string;
|
|
1956
|
+
/**
|
|
1957
|
+
* The build command used to build the deployment.
|
|
1958
|
+
*/
|
|
1959
|
+
commands: string;
|
|
1960
|
+
/**
|
|
1961
|
+
* The entrypoint file used to execute the deployment.
|
|
1962
|
+
*/
|
|
1963
|
+
entrypoint: string;
|
|
1964
|
+
/**
|
|
1965
|
+
* Path to function in VCS (Version Control System) repository
|
|
1966
|
+
*/
|
|
1967
|
+
providerRootDirectory: string;
|
|
1968
|
+
}
|
|
1969
|
+
/**
|
|
1970
|
+
* Template Variable
|
|
1971
|
+
*/
|
|
1972
|
+
export type TemplateVariable = {
|
|
1973
|
+
/**
|
|
1974
|
+
* Variable Name.
|
|
1975
|
+
*/
|
|
1976
|
+
name: string;
|
|
1857
1977
|
/**
|
|
1858
|
-
*
|
|
1978
|
+
* Variable Description.
|
|
1859
1979
|
*/
|
|
1860
|
-
|
|
1980
|
+
description: string;
|
|
1981
|
+
/**
|
|
1982
|
+
* Variable Value.
|
|
1983
|
+
*/
|
|
1984
|
+
value: string;
|
|
1985
|
+
/**
|
|
1986
|
+
* Variable Placeholder.
|
|
1987
|
+
*/
|
|
1988
|
+
placeholder: string;
|
|
1989
|
+
/**
|
|
1990
|
+
* Is the variable required?
|
|
1991
|
+
*/
|
|
1992
|
+
required: boolean;
|
|
1993
|
+
/**
|
|
1994
|
+
* Variable Type.
|
|
1995
|
+
*/
|
|
1996
|
+
type: string;
|
|
1861
1997
|
}
|
|
1862
1998
|
/**
|
|
1863
1999
|
* Installation
|
|
@@ -1930,6 +2066,23 @@ export namespace Models {
|
|
|
1930
2066
|
*/
|
|
1931
2067
|
runtime: string;
|
|
1932
2068
|
}
|
|
2069
|
+
/**
|
|
2070
|
+
* VcsContents
|
|
2071
|
+
*/
|
|
2072
|
+
export type VcsContent = {
|
|
2073
|
+
/**
|
|
2074
|
+
* Content size in bytes. Only files have size, and for directories, 0 is returned.
|
|
2075
|
+
*/
|
|
2076
|
+
size?: number;
|
|
2077
|
+
/**
|
|
2078
|
+
* If a content is a directory. Directories can be used to check nested contents.
|
|
2079
|
+
*/
|
|
2080
|
+
isDirectory?: boolean;
|
|
2081
|
+
/**
|
|
2082
|
+
* Name of directory or file.
|
|
2083
|
+
*/
|
|
2084
|
+
name: string;
|
|
2085
|
+
}
|
|
1933
2086
|
/**
|
|
1934
2087
|
* Branch
|
|
1935
2088
|
*/
|
|
@@ -1947,6 +2100,10 @@ export namespace Models {
|
|
|
1947
2100
|
* Runtime ID.
|
|
1948
2101
|
*/
|
|
1949
2102
|
$id: string;
|
|
2103
|
+
/**
|
|
2104
|
+
* Parent runtime key.
|
|
2105
|
+
*/
|
|
2106
|
+
key: string;
|
|
1950
2107
|
/**
|
|
1951
2108
|
* Runtime Name.
|
|
1952
2109
|
*/
|
|
@@ -2137,6 +2294,51 @@ export namespace Models {
|
|
|
2137
2294
|
* Function execution duration in seconds.
|
|
2138
2295
|
*/
|
|
2139
2296
|
duration: number;
|
|
2297
|
+
/**
|
|
2298
|
+
* The scheduled time for execution. If left empty, execution will be queued immediately.
|
|
2299
|
+
*/
|
|
2300
|
+
scheduledAt?: string;
|
|
2301
|
+
}
|
|
2302
|
+
/**
|
|
2303
|
+
* Build
|
|
2304
|
+
*/
|
|
2305
|
+
export type Build = {
|
|
2306
|
+
/**
|
|
2307
|
+
* Build ID.
|
|
2308
|
+
*/
|
|
2309
|
+
$id: string;
|
|
2310
|
+
/**
|
|
2311
|
+
* The deployment that created this build.
|
|
2312
|
+
*/
|
|
2313
|
+
deploymentId: string;
|
|
2314
|
+
/**
|
|
2315
|
+
* The build status. There are a few different types and each one means something different. \nFailed - The deployment build has failed. More details can usually be found in buildStderr\nReady - The deployment build was successful and the deployment is ready to be deployed\nProcessing - The deployment is currently waiting to have a build triggered\nBuilding - The deployment is currently being built
|
|
2316
|
+
*/
|
|
2317
|
+
status: string;
|
|
2318
|
+
/**
|
|
2319
|
+
* The stdout of the build.
|
|
2320
|
+
*/
|
|
2321
|
+
stdout: string;
|
|
2322
|
+
/**
|
|
2323
|
+
* The stderr of the build.
|
|
2324
|
+
*/
|
|
2325
|
+
stderr: string;
|
|
2326
|
+
/**
|
|
2327
|
+
* The deployment creation date in ISO 8601 format.
|
|
2328
|
+
*/
|
|
2329
|
+
startTime: string;
|
|
2330
|
+
/**
|
|
2331
|
+
* The time the build was finished in ISO 8601 format.
|
|
2332
|
+
*/
|
|
2333
|
+
endTime: string;
|
|
2334
|
+
/**
|
|
2335
|
+
* The build duration in seconds.
|
|
2336
|
+
*/
|
|
2337
|
+
duration: number;
|
|
2338
|
+
/**
|
|
2339
|
+
* The code size in bytes.
|
|
2340
|
+
*/
|
|
2341
|
+
size: number;
|
|
2140
2342
|
}
|
|
2141
2343
|
/**
|
|
2142
2344
|
* Project
|
|
@@ -2222,6 +2424,14 @@ export namespace Models {
|
|
|
2222
2424
|
* Whether or not to check the user password for similarity with their personal data.
|
|
2223
2425
|
*/
|
|
2224
2426
|
authPersonalDataCheck: boolean;
|
|
2427
|
+
/**
|
|
2428
|
+
* An array of mock numbers and their corresponding verification codes (OTPs).
|
|
2429
|
+
*/
|
|
2430
|
+
authMockNumbers: MockNumber[];
|
|
2431
|
+
/**
|
|
2432
|
+
* Whether or not to send session alert emails to users.
|
|
2433
|
+
*/
|
|
2434
|
+
authSessionAlerts: boolean;
|
|
2225
2435
|
/**
|
|
2226
2436
|
* List of Auth Providers.
|
|
2227
2437
|
*/
|
|
@@ -2445,6 +2655,19 @@ export namespace Models {
|
|
|
2445
2655
|
*/
|
|
2446
2656
|
sdks: string[];
|
|
2447
2657
|
}
|
|
2658
|
+
/**
|
|
2659
|
+
* Mock Number
|
|
2660
|
+
*/
|
|
2661
|
+
export type MockNumber = {
|
|
2662
|
+
/**
|
|
2663
|
+
* Mock phone number for testing phone authentication. Useful for testing phone authentication without sending an SMS.
|
|
2664
|
+
*/
|
|
2665
|
+
phone: string;
|
|
2666
|
+
/**
|
|
2667
|
+
* Mock OTP for the number.
|
|
2668
|
+
*/
|
|
2669
|
+
otp: string;
|
|
2670
|
+
}
|
|
2448
2671
|
/**
|
|
2449
2672
|
* AuthProvider
|
|
2450
2673
|
*/
|
|
@@ -3174,27 +3397,6 @@ export namespace Models {
|
|
|
3174
3397
|
*/
|
|
3175
3398
|
value: string;
|
|
3176
3399
|
}
|
|
3177
|
-
/**
|
|
3178
|
-
* Specification
|
|
3179
|
-
*/
|
|
3180
|
-
export type Specification = {
|
|
3181
|
-
/**
|
|
3182
|
-
* Memory size in MB.
|
|
3183
|
-
*/
|
|
3184
|
-
memory: number;
|
|
3185
|
-
/**
|
|
3186
|
-
* Number of CPUs.
|
|
3187
|
-
*/
|
|
3188
|
-
cpus: number;
|
|
3189
|
-
/**
|
|
3190
|
-
* Is size enabled.
|
|
3191
|
-
*/
|
|
3192
|
-
enabled: boolean;
|
|
3193
|
-
/**
|
|
3194
|
-
* Size slug.
|
|
3195
|
-
*/
|
|
3196
|
-
slug: string;
|
|
3197
|
-
}
|
|
3198
3400
|
/**
|
|
3199
3401
|
* Rule
|
|
3200
3402
|
*/
|