appwrite-console 0.1.0__py3-none-any.whl
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.
- appwrite_console/__init__.py +1 -0
- appwrite_console/client.py +371 -0
- appwrite_console/encoders/__init__.py +1 -0
- appwrite_console/encoders/value_class_encoder.py +373 -0
- appwrite_console/enums/__init__.py +1 -0
- appwrite_console/enums/account_key_scopes.py +6 -0
- appwrite_console/enums/adapter.py +5 -0
- appwrite_console/enums/addon.py +7 -0
- appwrite_console/enums/appwrite_migration_resource.py +42 -0
- appwrite_console/enums/attribute_status.py +8 -0
- appwrite_console/enums/authentication_factor.py +7 -0
- appwrite_console/enums/authenticator_type.py +4 -0
- appwrite_console/enums/backup_services.py +10 -0
- appwrite_console/enums/billing_plan_group.py +6 -0
- appwrite_console/enums/block_mode.py +5 -0
- appwrite_console/enums/block_resource_type.py +12 -0
- appwrite_console/enums/browser.py +17 -0
- appwrite_console/enums/browser_permission.py +23 -0
- appwrite_console/enums/browser_theme.py +5 -0
- appwrite_console/enums/build_runtime.py +95 -0
- appwrite_console/enums/cache_database.py +6 -0
- appwrite_console/enums/cache_target.py +9 -0
- appwrite_console/enums/column_status.py +8 -0
- appwrite_console/enums/compression.py +6 -0
- appwrite_console/enums/console_resource_type.py +4 -0
- appwrite_console/enums/credit_card.py +20 -0
- appwrite_console/enums/database_status.py +17 -0
- appwrite_console/enums/database_type.py +10 -0
- appwrite_console/enums/databases_index_type.py +7 -0
- appwrite_console/enums/deployment_download_type.py +5 -0
- appwrite_console/enums/deployment_status.py +9 -0
- appwrite_console/enums/detection_framework_type.py +4 -0
- appwrite_console/enums/detection_runtime_type.py +4 -0
- appwrite_console/enums/documents_db_index_type.py +6 -0
- appwrite_console/enums/domain_purchase_status.py +7 -0
- appwrite_console/enums/domain_registration_type.py +7 -0
- appwrite_console/enums/domain_suggestion_type.py +5 -0
- appwrite_console/enums/domain_transfer_status_enum.py +11 -0
- appwrite_console/enums/embedding_model.py +7 -0
- appwrite_console/enums/execution_method.py +10 -0
- appwrite_console/enums/execution_status.py +8 -0
- appwrite_console/enums/execution_trigger.py +6 -0
- appwrite_console/enums/firebase_migration_resource.py +13 -0
- appwrite_console/enums/flag.py +198 -0
- appwrite_console/enums/framework.py +18 -0
- appwrite_console/enums/function_template_use_case.py +10 -0
- appwrite_console/enums/image_format.py +10 -0
- appwrite_console/enums/image_gravity.py +12 -0
- appwrite_console/enums/index_status.py +8 -0
- appwrite_console/enums/message_priority.py +5 -0
- appwrite_console/enums/message_status.py +8 -0
- appwrite_console/enums/messaging_provider_type.py +6 -0
- appwrite_console/enums/n_host_migration_resource.py +14 -0
- appwrite_console/enums/o_auth2_google_prompt.py +6 -0
- appwrite_console/enums/o_auth2_oidc_prompt.py +7 -0
- appwrite_console/enums/o_auth_provider.py +47 -0
- appwrite_console/enums/on_duplicate.py +6 -0
- appwrite_console/enums/order_by.py +5 -0
- appwrite_console/enums/organization_key_scopes.py +19 -0
- appwrite_console/enums/password_hash.py +14 -0
- appwrite_console/enums/platform.py +5 -0
- appwrite_console/enums/platform_type.py +8 -0
- appwrite_console/enums/project_auth_method_id.py +10 -0
- appwrite_console/enums/project_email_template_id.py +10 -0
- appwrite_console/enums/project_email_template_locale.py +134 -0
- appwrite_console/enums/project_key_scopes.py +107 -0
- appwrite_console/enums/project_o_auth2_google_prompt.py +6 -0
- appwrite_console/enums/project_o_auth2_oidc_prompt.py +7 -0
- appwrite_console/enums/project_o_auth_provider_id.py +47 -0
- appwrite_console/enums/project_policy_id.py +17 -0
- appwrite_console/enums/project_protocol_id.py +6 -0
- appwrite_console/enums/project_service_id.py +22 -0
- appwrite_console/enums/project_smtp_secure.py +5 -0
- appwrite_console/enums/project_usage_range.py +5 -0
- appwrite_console/enums/proxy_resource_type.py +5 -0
- appwrite_console/enums/proxy_rule_deployment_resource_type.py +5 -0
- appwrite_console/enums/proxy_rule_status.py +6 -0
- appwrite_console/enums/query_suggestion_resource.py +97 -0
- appwrite_console/enums/region.py +9 -0
- appwrite_console/enums/relation_mutate.py +6 -0
- appwrite_console/enums/relationship_type.py +7 -0
- appwrite_console/enums/runtime.py +95 -0
- appwrite_console/enums/schedule_resource_type.py +7 -0
- appwrite_console/enums/site_template_use_case.py +12 -0
- appwrite_console/enums/smtp_encryption.py +6 -0
- appwrite_console/enums/status.py +4 -0
- appwrite_console/enums/status_code.py +7 -0
- appwrite_console/enums/supabase_migration_resource.py +14 -0
- appwrite_console/enums/tables_db_index_type.py +7 -0
- appwrite_console/enums/template_reference_type.py +6 -0
- appwrite_console/enums/timezone.py +422 -0
- appwrite_console/enums/usage_range.py +6 -0
- appwrite_console/enums/vcs_detection_type.py +5 -0
- appwrite_console/enums/vcs_reference_type.py +6 -0
- appwrite_console/enums/vectors_db_index_type.py +9 -0
- appwrite_console/enums/waf_rule_action.py +8 -0
- appwrite_console/exception.py +7 -0
- appwrite_console/id.py +26 -0
- appwrite_console/input_file.py +21 -0
- appwrite_console/models/__init__.py +803 -0
- appwrite_console/models/activity_event.py +99 -0
- appwrite_console/models/activity_event_list.py +19 -0
- appwrite_console/models/additional_resource.py +30 -0
- appwrite_console/models/addon.py +42 -0
- appwrite_console/models/addon_list.py +19 -0
- appwrite_console/models/addon_price.py +36 -0
- appwrite_console/models/aggregation_breakdown.py +28 -0
- appwrite_console/models/aggregation_team.py +101 -0
- appwrite_console/models/aggregation_team_list.py +19 -0
- appwrite_console/models/algo_argon2.py +24 -0
- appwrite_console/models/algo_bcrypt.py +15 -0
- appwrite_console/models/algo_md5.py +15 -0
- appwrite_console/models/algo_phpass.py +15 -0
- appwrite_console/models/algo_scrypt.py +27 -0
- appwrite_console/models/algo_scrypt_modified.py +24 -0
- appwrite_console/models/algo_sha.py +15 -0
- appwrite_console/models/app.py +91 -0
- appwrite_console/models/app_installation.py +42 -0
- appwrite_console/models/app_installation_list.py +19 -0
- appwrite_console/models/app_key.py +39 -0
- appwrite_console/models/app_key_list.py +19 -0
- appwrite_console/models/app_scope.py +27 -0
- appwrite_console/models/app_scope_list.py +19 -0
- appwrite_console/models/app_secret.py +39 -0
- appwrite_console/models/app_secret_list.py +19 -0
- appwrite_console/models/app_secret_plaintext.py +39 -0
- appwrite_console/models/apps_list.py +19 -0
- appwrite_console/models/attribute_bigint.py +46 -0
- appwrite_console/models/attribute_boolean.py +40 -0
- appwrite_console/models/attribute_datetime.py +43 -0
- appwrite_console/models/attribute_email.py +43 -0
- appwrite_console/models/attribute_enum.py +46 -0
- appwrite_console/models/attribute_float.py +46 -0
- appwrite_console/models/attribute_integer.py +46 -0
- appwrite_console/models/attribute_ip.py +43 -0
- appwrite_console/models/attribute_line.py +40 -0
- appwrite_console/models/attribute_list.py +36 -0
- appwrite_console/models/attribute_longtext.py +43 -0
- appwrite_console/models/attribute_mediumtext.py +43 -0
- appwrite_console/models/attribute_object.py +37 -0
- appwrite_console/models/attribute_point.py +40 -0
- appwrite_console/models/attribute_polygon.py +40 -0
- appwrite_console/models/attribute_relationship.py +55 -0
- appwrite_console/models/attribute_string.py +46 -0
- appwrite_console/models/attribute_text.py +43 -0
- appwrite_console/models/attribute_url.py +43 -0
- appwrite_console/models/attribute_varchar.py +46 -0
- appwrite_console/models/attribute_vector.py +40 -0
- appwrite_console/models/backup_archive.py +48 -0
- appwrite_console/models/backup_archive_list.py +19 -0
- appwrite_console/models/backup_policy.py +48 -0
- appwrite_console/models/backup_policy_list.py +19 -0
- appwrite_console/models/backup_restoration.py +45 -0
- appwrite_console/models/backup_restoration_list.py +19 -0
- appwrite_console/models/base_model.py +27 -0
- appwrite_console/models/billing_address.py +36 -0
- appwrite_console/models/billing_address_list.py +19 -0
- appwrite_console/models/billing_limits.py +36 -0
- appwrite_console/models/billing_plan.py +226 -0
- appwrite_console/models/billing_plan_addon.py +19 -0
- appwrite_console/models/billing_plan_addon_details.py +36 -0
- appwrite_console/models/billing_plan_dedicated_database_limits.py +69 -0
- appwrite_console/models/billing_plan_limits.py +18 -0
- appwrite_console/models/billing_plan_list.py +19 -0
- appwrite_console/models/billing_plan_supported_addons.py +21 -0
- appwrite_console/models/block.py +45 -0
- appwrite_console/models/block_delete.py +19 -0
- appwrite_console/models/block_list.py +19 -0
- appwrite_console/models/branch.py +15 -0
- appwrite_console/models/branch_list.py +19 -0
- appwrite_console/models/bucket.py +54 -0
- appwrite_console/models/bucket_list.py +19 -0
- appwrite_console/models/campaign.py +49 -0
- appwrite_console/models/collection.py +67 -0
- appwrite_console/models/collection_list.py +19 -0
- appwrite_console/models/column_bigint.py +46 -0
- appwrite_console/models/column_boolean.py +40 -0
- appwrite_console/models/column_datetime.py +43 -0
- appwrite_console/models/column_email.py +43 -0
- appwrite_console/models/column_enum.py +46 -0
- appwrite_console/models/column_float.py +46 -0
- appwrite_console/models/column_index.py +42 -0
- appwrite_console/models/column_index_list.py +19 -0
- appwrite_console/models/column_integer.py +46 -0
- appwrite_console/models/column_ip.py +43 -0
- appwrite_console/models/column_line.py +40 -0
- appwrite_console/models/column_list.py +36 -0
- appwrite_console/models/column_longtext.py +43 -0
- appwrite_console/models/column_mediumtext.py +43 -0
- appwrite_console/models/column_point.py +40 -0
- appwrite_console/models/column_polygon.py +40 -0
- appwrite_console/models/column_relationship.py +55 -0
- appwrite_console/models/column_string.py +46 -0
- appwrite_console/models/column_text.py +43 -0
- appwrite_console/models/column_url.py +43 -0
- appwrite_console/models/column_varchar.py +46 -0
- appwrite_console/models/console_key_scope.py +24 -0
- appwrite_console/models/console_key_scope_list.py +19 -0
- appwrite_console/models/console_o_auth2_provider.py +19 -0
- appwrite_console/models/console_o_auth2_provider_list.py +19 -0
- appwrite_console/models/console_o_auth2_provider_parameter.py +24 -0
- appwrite_console/models/console_region.py +30 -0
- appwrite_console/models/console_region_list.py +19 -0
- appwrite_console/models/console_variables.py +96 -0
- appwrite_console/models/continent.py +18 -0
- appwrite_console/models/continent_list.py +19 -0
- appwrite_console/models/country.py +18 -0
- appwrite_console/models/country_list.py +19 -0
- appwrite_console/models/coupon.py +36 -0
- appwrite_console/models/credit.py +45 -0
- appwrite_console/models/credit_available.py +15 -0
- appwrite_console/models/credit_list.py +22 -0
- appwrite_console/models/currency.py +33 -0
- appwrite_console/models/currency_list.py +19 -0
- appwrite_console/models/database.py +52 -0
- appwrite_console/models/database_list.py +19 -0
- appwrite_console/models/database_migration.py +57 -0
- appwrite_console/models/database_migration_list.py +19 -0
- appwrite_console/models/database_status.py +57 -0
- appwrite_console/models/database_status_connections.py +18 -0
- appwrite_console/models/database_status_replica.py +24 -0
- appwrite_console/models/database_status_volume.py +24 -0
- appwrite_console/models/dedicated_database.py +159 -0
- appwrite_console/models/dedicated_database_backup.py +63 -0
- appwrite_console/models/dedicated_database_backup_list.py +19 -0
- appwrite_console/models/dedicated_database_backup_storage.py +27 -0
- appwrite_console/models/dedicated_database_branch.py +48 -0
- appwrite_console/models/dedicated_database_branch_list.py +16 -0
- appwrite_console/models/dedicated_database_execution.py +31 -0
- appwrite_console/models/dedicated_database_execution_column.py +18 -0
- appwrite_console/models/dedicated_database_extensions.py +22 -0
- appwrite_console/models/dedicated_database_list.py +19 -0
- appwrite_console/models/dedicated_database_member.py +24 -0
- appwrite_console/models/dedicated_database_operation.py +45 -0
- appwrite_console/models/dedicated_database_operation_list.py +19 -0
- appwrite_console/models/dedicated_database_pitr_windows.py +18 -0
- appwrite_console/models/dedicated_database_pooler.py +42 -0
- appwrite_console/models/dedicated_database_replicas.py +37 -0
- appwrite_console/models/dedicated_database_restoration.py +45 -0
- appwrite_console/models/dedicated_database_restoration_list.py +19 -0
- appwrite_console/models/dedicated_database_specification.py +39 -0
- appwrite_console/models/dedicated_database_specification_list.py +23 -0
- appwrite_console/models/dedicated_database_specification_pricing.py +27 -0
- appwrite_console/models/deployment.py +94 -0
- appwrite_console/models/deployment_list.py +19 -0
- appwrite_console/models/detection_framework.py +32 -0
- appwrite_console/models/detection_runtime.py +29 -0
- appwrite_console/models/detection_variable.py +18 -0
- appwrite_console/models/dev_key.py +36 -0
- appwrite_console/models/dev_key_list.py +19 -0
- appwrite_console/models/dns_record.py +48 -0
- appwrite_console/models/dns_records_list.py +19 -0
- appwrite_console/models/document.py +80 -0
- appwrite_console/models/document_list.py +32 -0
- appwrite_console/models/domain.py +53 -0
- appwrite_console/models/domain_price.py +30 -0
- appwrite_console/models/domain_purchase.py +43 -0
- appwrite_console/models/domain_suggestion.py +24 -0
- appwrite_console/models/domain_suggestions_list.py +19 -0
- appwrite_console/models/domain_transfer_out.py +15 -0
- appwrite_console/models/domain_transfer_status.py +22 -0
- appwrite_console/models/domains_list.py +19 -0
- appwrite_console/models/downgrade_feedback.py +42 -0
- appwrite_console/models/email_template.py +36 -0
- appwrite_console/models/email_template_list.py +19 -0
- appwrite_console/models/embedding.py +24 -0
- appwrite_console/models/embedding_list.py +19 -0
- appwrite_console/models/ephemeral_key.py +39 -0
- appwrite_console/models/estimation.py +37 -0
- appwrite_console/models/estimation_delete_organization.py +16 -0
- appwrite_console/models/estimation_item.py +18 -0
- appwrite_console/models/estimation_plan_change.py +29 -0
- appwrite_console/models/estimation_update_plan.py +40 -0
- appwrite_console/models/execution.py +69 -0
- appwrite_console/models/execution_list.py +19 -0
- appwrite_console/models/file.py +60 -0
- appwrite_console/models/file_list.py +19 -0
- appwrite_console/models/framework.py +28 -0
- appwrite_console/models/framework_adapter.py +27 -0
- appwrite_console/models/framework_list.py +19 -0
- appwrite_console/models/function.py +109 -0
- appwrite_console/models/function_list.py +19 -0
- appwrite_console/models/headers.py +18 -0
- appwrite_console/models/identity.py +42 -0
- appwrite_console/models/identity_list.py +19 -0
- appwrite_console/models/index.py +43 -0
- appwrite_console/models/index_list.py +19 -0
- appwrite_console/models/insight.py +64 -0
- appwrite_console/models/insight_cta.py +24 -0
- appwrite_console/models/insight_list.py +19 -0
- appwrite_console/models/installation.py +30 -0
- appwrite_console/models/installation_list.py +19 -0
- appwrite_console/models/invoice.py +82 -0
- appwrite_console/models/invoice_list.py +19 -0
- appwrite_console/models/jwt.py +15 -0
- appwrite_console/models/key.py +39 -0
- appwrite_console/models/key_list.py +19 -0
- appwrite_console/models/language.py +21 -0
- appwrite_console/models/language_list.py +19 -0
- appwrite_console/models/locale.py +66 -0
- appwrite_console/models/locale_code.py +18 -0
- appwrite_console/models/locale_code_list.py +19 -0
- appwrite_console/models/log.py +78 -0
- appwrite_console/models/log_list.py +19 -0
- appwrite_console/models/membership.py +57 -0
- appwrite_console/models/membership_list.py +19 -0
- appwrite_console/models/message.py +52 -0
- appwrite_console/models/message_list.py +19 -0
- appwrite_console/models/metric.py +18 -0
- appwrite_console/models/metric_breakdown.py +24 -0
- appwrite_console/models/mfa_challenge.py +24 -0
- appwrite_console/models/mfa_factors.py +24 -0
- appwrite_console/models/mfa_recovery_codes.py +15 -0
- appwrite_console/models/mfa_type.py +18 -0
- appwrite_console/models/migration.py +75 -0
- appwrite_console/models/migration_list.py +19 -0
- appwrite_console/models/migration_report.py +96 -0
- appwrite_console/models/mock_number.py +24 -0
- appwrite_console/models/mock_number_list.py +19 -0
- appwrite_console/models/notification.py +60 -0
- appwrite_console/models/notification_list.py +19 -0
- appwrite_console/models/o_auth2_amazon.py +24 -0
- appwrite_console/models/o_auth2_apple.py +30 -0
- appwrite_console/models/o_auth2_appwrite.py +24 -0
- appwrite_console/models/o_auth2_auth0.py +27 -0
- appwrite_console/models/o_auth2_authentik.py +27 -0
- appwrite_console/models/o_auth2_autodesk.py +24 -0
- appwrite_console/models/o_auth2_bitbucket.py +24 -0
- appwrite_console/models/o_auth2_bitly.py +24 -0
- appwrite_console/models/o_auth2_box.py +24 -0
- appwrite_console/models/o_auth2_dailymotion.py +24 -0
- appwrite_console/models/o_auth2_discord.py +24 -0
- appwrite_console/models/o_auth2_disqus.py +24 -0
- appwrite_console/models/o_auth2_dropbox.py +24 -0
- appwrite_console/models/o_auth2_etsy.py +24 -0
- appwrite_console/models/o_auth2_facebook.py +24 -0
- appwrite_console/models/o_auth2_figma.py +24 -0
- appwrite_console/models/o_auth2_fusion_auth.py +27 -0
- appwrite_console/models/o_auth2_github.py +24 -0
- appwrite_console/models/o_auth2_gitlab.py +27 -0
- appwrite_console/models/o_auth2_google.py +28 -0
- appwrite_console/models/o_auth2_keycloak.py +30 -0
- appwrite_console/models/o_auth2_kick.py +24 -0
- appwrite_console/models/o_auth2_linkedin.py +24 -0
- appwrite_console/models/o_auth2_microsoft.py +27 -0
- appwrite_console/models/o_auth2_notion.py +24 -0
- appwrite_console/models/o_auth2_oidc.py +43 -0
- appwrite_console/models/o_auth2_okta.py +30 -0
- appwrite_console/models/o_auth2_paypal.py +24 -0
- appwrite_console/models/o_auth2_podio.py +24 -0
- appwrite_console/models/o_auth2_provider_list.py +59 -0
- appwrite_console/models/o_auth2_salesforce.py +24 -0
- appwrite_console/models/o_auth2_slack.py +24 -0
- appwrite_console/models/o_auth2_spotify.py +24 -0
- appwrite_console/models/o_auth2_stripe.py +24 -0
- appwrite_console/models/o_auth2_tradeshift.py +24 -0
- appwrite_console/models/o_auth2_twitch.py +24 -0
- appwrite_console/models/o_auth2_word_press.py +24 -0
- appwrite_console/models/o_auth2_x.py +24 -0
- appwrite_console/models/o_auth2_yahoo.py +24 -0
- appwrite_console/models/o_auth2_yandex.py +24 -0
- appwrite_console/models/o_auth2_zoho.py +24 -0
- appwrite_console/models/o_auth2_zoom.py +24 -0
- appwrite_console/models/oauth2_approve.py +15 -0
- appwrite_console/models/oauth2_authorize.py +18 -0
- appwrite_console/models/oauth2_consent.py +42 -0
- appwrite_console/models/oauth2_consent_list.py +19 -0
- appwrite_console/models/oauth2_consent_token.py +45 -0
- appwrite_console/models/oauth2_consent_token_list.py +19 -0
- appwrite_console/models/oauth2_device_authorization.py +30 -0
- appwrite_console/models/oauth2_grant.py +48 -0
- appwrite_console/models/oauth2_organization.py +15 -0
- appwrite_console/models/oauth2_organization_list.py +19 -0
- appwrite_console/models/oauth2_par.py +18 -0
- appwrite_console/models/oauth2_project.py +21 -0
- appwrite_console/models/oauth2_project_list.py +19 -0
- appwrite_console/models/oauth2_reject.py +15 -0
- appwrite_console/models/oauth2_token.py +33 -0
- appwrite_console/models/organization.py +132 -0
- appwrite_console/models/organization_list.py +32 -0
- appwrite_console/models/payment_authentication.py +30 -0
- appwrite_console/models/payment_method.py +72 -0
- appwrite_console/models/payment_method_list.py +19 -0
- appwrite_console/models/phone.py +21 -0
- appwrite_console/models/phone_list.py +19 -0
- appwrite_console/models/plan_change_estimation_details.py +39 -0
- appwrite_console/models/plan_change_limits.py +28 -0
- appwrite_console/models/plan_change_project_compliance.py +28 -0
- appwrite_console/models/plan_change_resource_compliance.py +30 -0
- appwrite_console/models/platform_android.py +31 -0
- appwrite_console/models/platform_apple.py +31 -0
- appwrite_console/models/platform_linux.py +31 -0
- appwrite_console/models/platform_list.py +23 -0
- appwrite_console/models/platform_web.py +31 -0
- appwrite_console/models/platform_windows.py +31 -0
- appwrite_console/models/policy_deny_aliased_email.py +18 -0
- appwrite_console/models/policy_deny_corporate_email.py +18 -0
- appwrite_console/models/policy_deny_disposable_email.py +18 -0
- appwrite_console/models/policy_deny_free_email.py +18 -0
- appwrite_console/models/policy_list.py +32 -0
- appwrite_console/models/policy_membership_privacy.py +33 -0
- appwrite_console/models/policy_password_dictionary.py +18 -0
- appwrite_console/models/policy_password_history.py +18 -0
- appwrite_console/models/policy_password_personal_data.py +18 -0
- appwrite_console/models/policy_password_strength.py +30 -0
- appwrite_console/models/policy_session_alert.py +18 -0
- appwrite_console/models/policy_session_duration.py +18 -0
- appwrite_console/models/policy_session_invalidation.py +18 -0
- appwrite_console/models/policy_session_limit.py +18 -0
- appwrite_console/models/policy_user_limit.py +18 -0
- appwrite_console/models/postgres_extension.py +24 -0
- appwrite_console/models/postgres_extension_list.py +19 -0
- appwrite_console/models/preferences.py +52 -0
- appwrite_console/models/presence.py +39 -0
- appwrite_console/models/presence_list.py +19 -0
- appwrite_console/models/program.py +39 -0
- appwrite_console/models/project.py +153 -0
- appwrite_console/models/project_auth_method.py +19 -0
- appwrite_console/models/project_list.py +19 -0
- appwrite_console/models/project_protocol.py +19 -0
- appwrite_console/models/project_service.py +19 -0
- appwrite_console/models/provider.py +39 -0
- appwrite_console/models/provider_list.py +19 -0
- appwrite_console/models/provider_repository.py +42 -0
- appwrite_console/models/provider_repository_framework.py +45 -0
- appwrite_console/models/provider_repository_framework_list.py +22 -0
- appwrite_console/models/provider_repository_runtime.py +45 -0
- appwrite_console/models/provider_repository_runtime_list.py +22 -0
- appwrite_console/models/proxy_rule.py +59 -0
- appwrite_console/models/proxy_rule_list.py +19 -0
- appwrite_console/models/report.py +49 -0
- appwrite_console/models/report_list.py +19 -0
- appwrite_console/models/resource_token.py +33 -0
- appwrite_console/models/resource_token_list.py +19 -0
- appwrite_console/models/review.py +24 -0
- appwrite_console/models/roles.py +18 -0
- appwrite_console/models/row.py +80 -0
- appwrite_console/models/row_list.py +32 -0
- appwrite_console/models/runtime.py +36 -0
- appwrite_console/models/runtime_list.py +19 -0
- appwrite_console/models/schedule.py +45 -0
- appwrite_console/models/schedule_list.py +19 -0
- appwrite_console/models/session.py +99 -0
- appwrite_console/models/session_list.py +19 -0
- appwrite_console/models/site.py +115 -0
- appwrite_console/models/site_list.py +19 -0
- appwrite_console/models/specification.py +24 -0
- appwrite_console/models/specification_list.py +19 -0
- appwrite_console/models/stage.py +27 -0
- appwrite_console/models/stage_list.py +16 -0
- appwrite_console/models/subscriber.py +40 -0
- appwrite_console/models/subscriber_list.py +19 -0
- appwrite_console/models/table.py +67 -0
- appwrite_console/models/table_list.py +19 -0
- appwrite_console/models/target.py +39 -0
- appwrite_console/models/target_list.py +19 -0
- appwrite_console/models/team.py +43 -0
- appwrite_console/models/team_list.py +32 -0
- appwrite_console/models/template_framework.py +39 -0
- appwrite_console/models/template_function.py +65 -0
- appwrite_console/models/template_function_list.py +19 -0
- appwrite_console/models/template_runtime.py +24 -0
- appwrite_console/models/template_site.py +53 -0
- appwrite_console/models/template_site_list.py +19 -0
- appwrite_console/models/template_variable.py +33 -0
- appwrite_console/models/token.py +30 -0
- appwrite_console/models/topic.py +36 -0
- appwrite_console/models/topic_list.py +19 -0
- appwrite_console/models/transaction.py +30 -0
- appwrite_console/models/transaction_list.py +19 -0
- appwrite_console/models/usage_billing_plan.py +46 -0
- appwrite_console/models/usage_data_point.py +99 -0
- appwrite_console/models/usage_event_list.py +19 -0
- appwrite_console/models/usage_gauge_list.py +19 -0
- appwrite_console/models/usage_metric.py +19 -0
- appwrite_console/models/usage_organization.py +104 -0
- appwrite_console/models/usage_organization_project.py +73 -0
- appwrite_console/models/usage_presence.py +22 -0
- appwrite_console/models/usage_project.py +218 -0
- appwrite_console/models/usage_resources.py +36 -0
- appwrite_console/models/usage_users.py +28 -0
- appwrite_console/models/user.py +111 -0
- appwrite_console/models/user_list.py +32 -0
- appwrite_console/models/variable.py +36 -0
- appwrite_console/models/variable_list.py +19 -0
- appwrite_console/models/vcs_content.py +21 -0
- appwrite_console/models/vcs_content_list.py +19 -0
- appwrite_console/models/vcs_namespace.py +27 -0
- appwrite_console/models/vcs_namespace_list.py +19 -0
- appwrite_console/models/vectorsdb_collection.py +54 -0
- appwrite_console/models/vectorsdb_collection_list.py +19 -0
- appwrite_console/models/waf_rule.py +55 -0
- appwrite_console/models/waf_rule_bypass.py +55 -0
- appwrite_console/models/waf_rule_challenge.py +64 -0
- appwrite_console/models/waf_rule_deny.py +55 -0
- appwrite_console/models/waf_rule_list.py +19 -0
- appwrite_console/models/waf_rule_rate_limit.py +64 -0
- appwrite_console/models/waf_rule_redirect.py +61 -0
- appwrite_console/models/webhook.py +51 -0
- appwrite_console/models/webhook_list.py +19 -0
- appwrite_console/operator.py +150 -0
- appwrite_console/permission.py +21 -0
- appwrite_console/query.py +293 -0
- appwrite_console/role.py +111 -0
- appwrite_console/service.py +50 -0
- appwrite_console/services/__init__.py +1 -0
- appwrite_console/services/account.py +3328 -0
- appwrite_console/services/activities.py +89 -0
- appwrite_console/services/advisor.py +234 -0
- appwrite_console/services/apps.py +1156 -0
- appwrite_console/services/assistant.py +50 -0
- appwrite_console/services/avatars.py +531 -0
- appwrite_console/services/backups.py +572 -0
- appwrite_console/services/console.py +807 -0
- appwrite_console/services/databases.py +4976 -0
- appwrite_console/services/documents_db.py +2052 -0
- appwrite_console/services/domains.py +3047 -0
- appwrite_console/services/functions.py +1659 -0
- appwrite_console/services/graphql.py +92 -0
- appwrite_console/services/locale.py +243 -0
- appwrite_console/services/manager.py +301 -0
- appwrite_console/services/messaging.py +3137 -0
- appwrite_console/services/migrations.py +1036 -0
- appwrite_console/services/mongo.py +1683 -0
- appwrite_console/services/mysql.py +1861 -0
- appwrite_console/services/notifications.py +98 -0
- appwrite_console/services/oauth2.py +914 -0
- appwrite_console/services/organization.py +1039 -0
- appwrite_console/services/organizations.py +2245 -0
- appwrite_console/services/postgresql.py +1995 -0
- appwrite_console/services/presences.py +309 -0
- appwrite_console/services/project.py +5271 -0
- appwrite_console/services/projects.py +885 -0
- appwrite_console/services/proxy.py +394 -0
- appwrite_console/services/sites.py +1593 -0
- appwrite_console/services/storage.py +818 -0
- appwrite_console/services/tables_db.py +5189 -0
- appwrite_console/services/teams.py +993 -0
- appwrite_console/services/tokens.py +243 -0
- appwrite_console/services/usage.py +194 -0
- appwrite_console/services/users.py +2314 -0
- appwrite_console/services/vcs.py +599 -0
- appwrite_console/services/vectors_db.py +2054 -0
- appwrite_console/services/waf.py +1014 -0
- appwrite_console/services/webhooks.py +344 -0
- appwrite_console/utils/__init__.py +1 -0
- appwrite_console/utils/deprecated.py +51 -0
- appwrite_console-0.1.0.dist-info/METADATA +189 -0
- appwrite_console-0.1.0.dist-info/RECORD +552 -0
- appwrite_console-0.1.0.dist-info/WHEEL +5 -0
- appwrite_console-0.1.0.dist-info/licenses/LICENSE +12 -0
- appwrite_console-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Optional, Union, cast
|
|
2
|
+
from pydantic import Field, PrivateAttr
|
|
3
|
+
|
|
4
|
+
from .base_model import AppwriteModel
|
|
5
|
+
|
|
6
|
+
class DedicatedDatabase(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
DedicatedDatabase
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
id : str
|
|
13
|
+
Dedicated database ID.
|
|
14
|
+
createdat : str
|
|
15
|
+
Database creation time in ISO 8601 format.
|
|
16
|
+
updatedat : str
|
|
17
|
+
Database update date in ISO 8601 format.
|
|
18
|
+
projectid : str
|
|
19
|
+
Project ID that owns this database.
|
|
20
|
+
name : str
|
|
21
|
+
Database display name.
|
|
22
|
+
api : str
|
|
23
|
+
Product API that owns this database: tablesdb, documentsdb, vectorsdb, mysql, postgresql, or mongodb.
|
|
24
|
+
engine : str
|
|
25
|
+
Database engine: postgresql, mysql, or mongodb. Null until the backing reports one.
|
|
26
|
+
version : str
|
|
27
|
+
Database engine version.
|
|
28
|
+
specification : str
|
|
29
|
+
Specification identifier.
|
|
30
|
+
backend : str
|
|
31
|
+
Database backend provider. Possible values: prisma, edge.
|
|
32
|
+
hostname : str
|
|
33
|
+
Database hostname for connections.
|
|
34
|
+
connectionport : float
|
|
35
|
+
Database port for connections. Derived from the engine when the backing has not reported one yet.
|
|
36
|
+
connectionuser : str
|
|
37
|
+
Database username for connections.
|
|
38
|
+
connectionpassword : str
|
|
39
|
+
Database password for connections.
|
|
40
|
+
connectionstring : str
|
|
41
|
+
Full database connection string (URI format).
|
|
42
|
+
ssl : bool
|
|
43
|
+
Whether SSL/TLS is required for client connections.
|
|
44
|
+
status : str
|
|
45
|
+
Database status. Possible values: provisioning, ready, inactive, paused, failed, deleted, restoring, scaling.
|
|
46
|
+
containerstatus : str
|
|
47
|
+
Container status for lifecycle-managed database runtimes: active or inactive.
|
|
48
|
+
lastaccessedat : Optional[str]
|
|
49
|
+
Last activity timestamp in ISO 8601 format.
|
|
50
|
+
idleuntil : Optional[str]
|
|
51
|
+
Display-only timestamp when the database is expected to be considered idle (ISO 8601 format). Derived from last activity; lifecycle transitions are driven by lifecycleState.
|
|
52
|
+
lifecyclestate : str
|
|
53
|
+
Idle-lifecycle state of the database. Possible values: active, warm, cold, hibernated.
|
|
54
|
+
idletimeoutminutes : float
|
|
55
|
+
Minutes of inactivity before container scales to zero.
|
|
56
|
+
cpu : float
|
|
57
|
+
CPU allocated in millicores.
|
|
58
|
+
memory : float
|
|
59
|
+
Memory allocated in MB.
|
|
60
|
+
storage : float
|
|
61
|
+
Storage allocated in GB.
|
|
62
|
+
storageclass : str
|
|
63
|
+
Storage class. Currently always 'ssd'; DigitalOcean exposes a single block-storage class.
|
|
64
|
+
storagemaxgb : float
|
|
65
|
+
Maximum storage allowed in GB. 0 means use system default.
|
|
66
|
+
nodepool : str
|
|
67
|
+
Kubernetes node pool where the database is scheduled.
|
|
68
|
+
replicas : float
|
|
69
|
+
Number of high availability replicas. High availability is enabled when greater than 0.
|
|
70
|
+
syncmode : str
|
|
71
|
+
Replication sync mode: async, sync, or quorum.
|
|
72
|
+
crossregionreplicas : float
|
|
73
|
+
Number of cross-region replicas. Cross-region availability is enabled when greater than 0.
|
|
74
|
+
networkmaxconnections : float
|
|
75
|
+
Maximum concurrent client connections. This is the limit a client pool may reach; the engine's own max_connections reported by the status endpoint is a smaller backend limit the pooler multiplexes onto and does not constrain a client pool.
|
|
76
|
+
networkidletimeoutseconds : float
|
|
77
|
+
Connection idle timeout in seconds.
|
|
78
|
+
networkipallowlist : List[Any]
|
|
79
|
+
IP addresses/CIDR ranges allowed to connect.
|
|
80
|
+
backupenabled : bool
|
|
81
|
+
Whether automatic backups are enabled.
|
|
82
|
+
pitr : bool
|
|
83
|
+
Whether point-in-time recovery is enabled.
|
|
84
|
+
pitrretentiondays : float
|
|
85
|
+
Number of days to retain PITR data.
|
|
86
|
+
storageautoscaling : bool
|
|
87
|
+
Whether automatic storage expansion is enabled.
|
|
88
|
+
storageautoscalingthresholdpercent : float
|
|
89
|
+
Storage usage percentage that triggers automatic expansion.
|
|
90
|
+
storageautoscalingmaxgb : float
|
|
91
|
+
Maximum storage size in GB for autoscaling. 0 means no limit.
|
|
92
|
+
maintenancewindowday : str
|
|
93
|
+
Day of the week for the maintenance window. Possible values: sun, mon, tue, wed, thu, fri, sat.
|
|
94
|
+
maintenancewindowhourutc : float
|
|
95
|
+
Hour in UTC (0-23) when the maintenance window starts.
|
|
96
|
+
metricsenabled : bool
|
|
97
|
+
Whether metrics collection is enabled.
|
|
98
|
+
sqlapienabled : bool
|
|
99
|
+
Whether the SQL API sidecar is enabled for this database.
|
|
100
|
+
sqlapiallowedstatements : List[Any]
|
|
101
|
+
Statement types accepted by the SQL API. Defaults to read/write DML only; DDL/DCL types (CREATE, ALTER, DROP, TRUNCATE, GRANT, REVOKE) are opt-in per database. Allowed values: SELECT, INSERT, UPDATE, DELETE, CREATE, ALTER, DROP, TRUNCATE, GRANT, REVOKE.
|
|
102
|
+
sqlapimaxrows : float
|
|
103
|
+
Maximum rows returned per SQL API execution. Results larger than this are truncated.
|
|
104
|
+
sqlapimaxbytes : float
|
|
105
|
+
Maximum serialised SQL API result payload in bytes. Results larger than this are truncated.
|
|
106
|
+
sqlapitimeoutseconds : float
|
|
107
|
+
Maximum server-side SQL API execution time in seconds before the query is cancelled.
|
|
108
|
+
error : str
|
|
109
|
+
Error message if status is failed.
|
|
110
|
+
"""
|
|
111
|
+
id: str = Field(..., alias='$id')
|
|
112
|
+
createdat: str = Field(..., alias='$createdAt')
|
|
113
|
+
updatedat: str = Field(..., alias='$updatedAt')
|
|
114
|
+
projectid: str = Field(..., alias='projectId')
|
|
115
|
+
name: str = Field(..., alias='name')
|
|
116
|
+
api: str = Field(..., alias='api')
|
|
117
|
+
engine: str = Field(..., alias='engine')
|
|
118
|
+
version: str = Field(..., alias='version')
|
|
119
|
+
specification: str = Field(..., alias='specification')
|
|
120
|
+
backend: str = Field(..., alias='backend')
|
|
121
|
+
hostname: str = Field(..., alias='hostname')
|
|
122
|
+
connectionport: float = Field(..., alias='connectionPort')
|
|
123
|
+
connectionuser: str = Field(..., alias='connectionUser')
|
|
124
|
+
connectionpassword: str = Field(..., alias='connectionPassword')
|
|
125
|
+
connectionstring: str = Field(..., alias='connectionString')
|
|
126
|
+
ssl: bool = Field(..., alias='ssl')
|
|
127
|
+
status: str = Field(..., alias='status')
|
|
128
|
+
containerstatus: str = Field(..., alias='containerStatus')
|
|
129
|
+
lastaccessedat: Optional[str] = Field(default=None, alias='lastAccessedAt')
|
|
130
|
+
idleuntil: Optional[str] = Field(default=None, alias='idleUntil')
|
|
131
|
+
lifecyclestate: str = Field(..., alias='lifecycleState')
|
|
132
|
+
idletimeoutminutes: float = Field(..., alias='idleTimeoutMinutes')
|
|
133
|
+
cpu: float = Field(..., alias='cpu')
|
|
134
|
+
memory: float = Field(..., alias='memory')
|
|
135
|
+
storage: float = Field(..., alias='storage')
|
|
136
|
+
storageclass: str = Field(..., alias='storageClass')
|
|
137
|
+
storagemaxgb: float = Field(..., alias='storageMaxGb')
|
|
138
|
+
nodepool: str = Field(..., alias='nodePool')
|
|
139
|
+
replicas: float = Field(..., alias='replicas')
|
|
140
|
+
syncmode: str = Field(..., alias='syncMode')
|
|
141
|
+
crossregionreplicas: float = Field(..., alias='crossRegionReplicas')
|
|
142
|
+
networkmaxconnections: float = Field(..., alias='networkMaxConnections')
|
|
143
|
+
networkidletimeoutseconds: float = Field(..., alias='networkIdleTimeoutSeconds')
|
|
144
|
+
networkipallowlist: List[Any] = Field(..., alias='networkIPAllowlist')
|
|
145
|
+
backupenabled: bool = Field(..., alias='backupEnabled')
|
|
146
|
+
pitr: bool = Field(..., alias='pitr')
|
|
147
|
+
pitrretentiondays: float = Field(..., alias='pitrRetentionDays')
|
|
148
|
+
storageautoscaling: bool = Field(..., alias='storageAutoscaling')
|
|
149
|
+
storageautoscalingthresholdpercent: float = Field(..., alias='storageAutoscalingThresholdPercent')
|
|
150
|
+
storageautoscalingmaxgb: float = Field(..., alias='storageAutoscalingMaxGb')
|
|
151
|
+
maintenancewindowday: str = Field(..., alias='maintenanceWindowDay')
|
|
152
|
+
maintenancewindowhourutc: float = Field(..., alias='maintenanceWindowHourUtc')
|
|
153
|
+
metricsenabled: bool = Field(..., alias='metricsEnabled')
|
|
154
|
+
sqlapienabled: bool = Field(..., alias='sqlApiEnabled')
|
|
155
|
+
sqlapiallowedstatements: List[Any] = Field(..., alias='sqlApiAllowedStatements')
|
|
156
|
+
sqlapimaxrows: float = Field(..., alias='sqlApiMaxRows')
|
|
157
|
+
sqlapimaxbytes: float = Field(..., alias='sqlApiMaxBytes')
|
|
158
|
+
sqlapitimeoutseconds: float = Field(..., alias='sqlApiTimeoutSeconds')
|
|
159
|
+
error: str = Field(..., alias='error')
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Optional, Union, cast
|
|
2
|
+
from pydantic import Field, PrivateAttr
|
|
3
|
+
|
|
4
|
+
from .base_model import AppwriteModel
|
|
5
|
+
|
|
6
|
+
class DedicatedDatabaseBackup(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
Backup
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
id : str
|
|
13
|
+
Backup ID.
|
|
14
|
+
createdat : str
|
|
15
|
+
Backup creation time in ISO 8601 format.
|
|
16
|
+
databaseid : str
|
|
17
|
+
Database ID this backup belongs to.
|
|
18
|
+
projectid : str
|
|
19
|
+
Project ID.
|
|
20
|
+
policyid : str
|
|
21
|
+
Backup policy ID when the backup was created by a schedule.
|
|
22
|
+
trigger : str
|
|
23
|
+
Backup trigger. Possible values: manual, schedule.
|
|
24
|
+
type : str
|
|
25
|
+
Backup type. Possible values: full (complete database snapshot), incremental (changes since last backup), wal (write-ahead log continuous archival).
|
|
26
|
+
requestedtype : str
|
|
27
|
+
Backup type that was requested. Differs from `type` when the backend could not run the requested type and took a different one instead, in which case `fallbackReason` explains why. Empty for backups taken before the requested type was recorded.
|
|
28
|
+
fallbackreason : str
|
|
29
|
+
Why the backend ran a different backup type than the one requested. Empty when the backup ran as requested.
|
|
30
|
+
status : str
|
|
31
|
+
Backup status. Possible values: pending (queued for processing), running (currently in progress), completed (successfully finished), failed (encountered an error), verified (integrity check passed).
|
|
32
|
+
sizebytes : float
|
|
33
|
+
Backup size in bytes.
|
|
34
|
+
startedat : Optional[str]
|
|
35
|
+
Backup start time in ISO 8601 format.
|
|
36
|
+
completedat : Optional[str]
|
|
37
|
+
Backup completion time in ISO 8601 format.
|
|
38
|
+
verifiedat : Optional[str]
|
|
39
|
+
Backup verification time in ISO 8601 format.
|
|
40
|
+
expiresat : Optional[str]
|
|
41
|
+
Backup expiration time in ISO 8601 format.
|
|
42
|
+
logposition : Optional[str]
|
|
43
|
+
Transaction-log position the backup anchors at, in the engine's own notation: PostgreSQL `{walSegment}|{lsn}`, MySQL and MariaDB `{binlogFile}|{offset}`, MongoDB `{seconds}|{increment}`. Empty when the backup recorded no position, which is the case for backup types that carry none.
|
|
44
|
+
error : str
|
|
45
|
+
Error message if backup failed.
|
|
46
|
+
"""
|
|
47
|
+
id: str = Field(..., alias='$id')
|
|
48
|
+
createdat: str = Field(..., alias='$createdAt')
|
|
49
|
+
databaseid: str = Field(..., alias='databaseId')
|
|
50
|
+
projectid: str = Field(..., alias='projectId')
|
|
51
|
+
policyid: str = Field(..., alias='policyId')
|
|
52
|
+
trigger: str = Field(..., alias='trigger')
|
|
53
|
+
type: str = Field(..., alias='type')
|
|
54
|
+
requestedtype: str = Field(..., alias='requestedType')
|
|
55
|
+
fallbackreason: str = Field(..., alias='fallbackReason')
|
|
56
|
+
status: str = Field(..., alias='status')
|
|
57
|
+
sizebytes: float = Field(..., alias='sizeBytes')
|
|
58
|
+
startedat: Optional[str] = Field(default=None, alias='startedAt')
|
|
59
|
+
completedat: Optional[str] = Field(default=None, alias='completedAt')
|
|
60
|
+
verifiedat: Optional[str] = Field(default=None, alias='verifiedAt')
|
|
61
|
+
expiresat: Optional[str] = Field(default=None, alias='expiresAt')
|
|
62
|
+
logposition: Optional[str] = Field(default=None, alias='logPosition')
|
|
63
|
+
error: str = Field(..., alias='error')
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Optional, Union, cast
|
|
2
|
+
from pydantic import Field, PrivateAttr
|
|
3
|
+
|
|
4
|
+
from .base_model import AppwriteModel
|
|
5
|
+
from .dedicated_database_backup import DedicatedDatabaseBackup
|
|
6
|
+
|
|
7
|
+
class DedicatedDatabaseBackupList(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
BackupList
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
total : float
|
|
14
|
+
Total number of backups.
|
|
15
|
+
backups : List[DedicatedDatabaseBackup]
|
|
16
|
+
List of backups.
|
|
17
|
+
"""
|
|
18
|
+
total: float = Field(..., alias='total')
|
|
19
|
+
backups: List[DedicatedDatabaseBackup] = Field(..., alias='backups')
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Optional, Union, cast
|
|
2
|
+
from pydantic import Field, PrivateAttr
|
|
3
|
+
|
|
4
|
+
from .base_model import AppwriteModel
|
|
5
|
+
|
|
6
|
+
class DedicatedDatabaseBackupStorage(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
BackupStorageConfig
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
provider : str
|
|
13
|
+
Storage provider. Possible values: s3 (Amazon S3 or S3-compatible), gcs (Google Cloud Storage), azure (Azure Blob Storage).
|
|
14
|
+
bucket : str
|
|
15
|
+
Storage bucket or container name.
|
|
16
|
+
region : str
|
|
17
|
+
Storage region.
|
|
18
|
+
prefix : str
|
|
19
|
+
Object key prefix for backups.
|
|
20
|
+
endpoint : str
|
|
21
|
+
Custom endpoint for S3-compatible storage.
|
|
22
|
+
"""
|
|
23
|
+
provider: str = Field(..., alias='provider')
|
|
24
|
+
bucket: str = Field(..., alias='bucket')
|
|
25
|
+
region: str = Field(..., alias='region')
|
|
26
|
+
prefix: str = Field(..., alias='prefix')
|
|
27
|
+
endpoint: str = Field(..., alias='endpoint')
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Optional, Union, cast
|
|
2
|
+
from pydantic import Field, PrivateAttr
|
|
3
|
+
|
|
4
|
+
from .base_model import AppwriteModel
|
|
5
|
+
|
|
6
|
+
class DedicatedDatabaseBranch(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
Branch
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
branchid : str
|
|
13
|
+
Branch identifier.
|
|
14
|
+
branchname : str
|
|
15
|
+
Branch name.
|
|
16
|
+
namespace : str
|
|
17
|
+
Kubernetes namespace where the branch is deployed.
|
|
18
|
+
expiresat : float
|
|
19
|
+
Unix timestamp when the branch expires.
|
|
20
|
+
host : str
|
|
21
|
+
Branch hostname for direct connections.
|
|
22
|
+
port : float
|
|
23
|
+
Branch port. Null until the backing reports one.
|
|
24
|
+
database : str
|
|
25
|
+
Database name the client sends for routing to the branch.
|
|
26
|
+
username : str
|
|
27
|
+
Database username. Shared with the parent database.
|
|
28
|
+
password : str
|
|
29
|
+
Database password. Shared with the parent database.
|
|
30
|
+
ssl : bool
|
|
31
|
+
Whether SSL is required.
|
|
32
|
+
engine : str
|
|
33
|
+
Database engine. Possible values: postgresql, mysql, mongodb.
|
|
34
|
+
connectionstring : str
|
|
35
|
+
Full connection string for the branch.
|
|
36
|
+
"""
|
|
37
|
+
branchid: str = Field(..., alias='branchId')
|
|
38
|
+
branchname: str = Field(..., alias='branchName')
|
|
39
|
+
namespace: str = Field(..., alias='namespace')
|
|
40
|
+
expiresat: float = Field(..., alias='expiresAt')
|
|
41
|
+
host: str = Field(..., alias='host')
|
|
42
|
+
port: float = Field(..., alias='port')
|
|
43
|
+
database: str = Field(..., alias='database')
|
|
44
|
+
username: str = Field(..., alias='username')
|
|
45
|
+
password: str = Field(..., alias='password')
|
|
46
|
+
ssl: bool = Field(..., alias='ssl')
|
|
47
|
+
engine: str = Field(..., alias='engine')
|
|
48
|
+
connectionstring: str = Field(..., alias='connectionString')
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Optional, Union, cast
|
|
2
|
+
from pydantic import Field, PrivateAttr
|
|
3
|
+
|
|
4
|
+
from .base_model import AppwriteModel
|
|
5
|
+
from .dedicated_database_branch import DedicatedDatabaseBranch
|
|
6
|
+
|
|
7
|
+
class DedicatedDatabaseBranchList(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
BranchList
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
branches : List[DedicatedDatabaseBranch]
|
|
14
|
+
List of branches.
|
|
15
|
+
"""
|
|
16
|
+
branches: List[DedicatedDatabaseBranch] = Field(..., alias='branches')
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Optional, Union, cast
|
|
2
|
+
from pydantic import Field, PrivateAttr
|
|
3
|
+
|
|
4
|
+
from .base_model import AppwriteModel
|
|
5
|
+
from .dedicated_database_execution_column import DedicatedDatabaseExecutionColumn
|
|
6
|
+
|
|
7
|
+
class DedicatedDatabaseExecution(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
Execution
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
rows : Dict[str, Any]
|
|
14
|
+
Result rows as a list of column-name => value maps. Empty for non-returning statements.
|
|
15
|
+
rowcount : float
|
|
16
|
+
Number of rows returned (for SELECT) or affected (for INSERT/UPDATE/DELETE).
|
|
17
|
+
columns : List[DedicatedDatabaseExecutionColumn]
|
|
18
|
+
Column metadata in result-set order.
|
|
19
|
+
durationms : float
|
|
20
|
+
Server-side execution time in milliseconds.
|
|
21
|
+
truncated : bool
|
|
22
|
+
True when the configured row or byte cap was hit and the result was truncated.
|
|
23
|
+
bytes : float
|
|
24
|
+
Serialised payload size in bytes.
|
|
25
|
+
"""
|
|
26
|
+
rows: Dict[str, Any] = Field(..., alias='rows')
|
|
27
|
+
rowcount: float = Field(..., alias='rowCount')
|
|
28
|
+
columns: List[DedicatedDatabaseExecutionColumn] = Field(..., alias='columns')
|
|
29
|
+
durationms: float = Field(..., alias='durationMs')
|
|
30
|
+
truncated: bool = Field(..., alias='truncated')
|
|
31
|
+
bytes: float = Field(..., alias='bytes')
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Optional, Union, cast
|
|
2
|
+
from pydantic import Field, PrivateAttr
|
|
3
|
+
|
|
4
|
+
from .base_model import AppwriteModel
|
|
5
|
+
|
|
6
|
+
class DedicatedDatabaseExecutionColumn(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
ExecutionColumn
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
name : str
|
|
13
|
+
Column name as returned by the database.
|
|
14
|
+
type : str
|
|
15
|
+
Engine-specific column type (e.g. int4, text, timestamptz).
|
|
16
|
+
"""
|
|
17
|
+
name: str = Field(..., alias='name')
|
|
18
|
+
type: str = Field(..., alias='type')
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Optional, Union, cast
|
|
2
|
+
from pydantic import Field, PrivateAttr
|
|
3
|
+
|
|
4
|
+
from .base_model import AppwriteModel
|
|
5
|
+
from .postgres_extension import PostgresExtension
|
|
6
|
+
|
|
7
|
+
class DedicatedDatabaseExtensions(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
Extensions
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
installed : List[Any]
|
|
14
|
+
List of installed extensions.
|
|
15
|
+
available : List[Any]
|
|
16
|
+
List of available extensions that can be installed.
|
|
17
|
+
metadata : List[PostgresExtension]
|
|
18
|
+
Curated metadata (display name, description, category) for each available extension.
|
|
19
|
+
"""
|
|
20
|
+
installed: List[Any] = Field(..., alias='installed')
|
|
21
|
+
available: List[Any] = Field(..., alias='available')
|
|
22
|
+
metadata: List[PostgresExtension] = Field(..., alias='metadata')
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Optional, Union, cast
|
|
2
|
+
from pydantic import Field, PrivateAttr
|
|
3
|
+
|
|
4
|
+
from .base_model import AppwriteModel
|
|
5
|
+
from .dedicated_database import DedicatedDatabase
|
|
6
|
+
|
|
7
|
+
class DedicatedDatabaseList(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
Dedicated databases list
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
total : float
|
|
14
|
+
Total number of databases that matched your query.
|
|
15
|
+
databases : List[DedicatedDatabase]
|
|
16
|
+
List of databases.
|
|
17
|
+
"""
|
|
18
|
+
total: float = Field(..., alias='total')
|
|
19
|
+
databases: List[DedicatedDatabase] = Field(..., alias='databases')
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Optional, Union, cast
|
|
2
|
+
from pydantic import Field, PrivateAttr
|
|
3
|
+
|
|
4
|
+
from .base_model import AppwriteModel
|
|
5
|
+
|
|
6
|
+
class DedicatedDatabaseMember(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
Member
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
id : str
|
|
13
|
+
Member identifier.
|
|
14
|
+
role : str
|
|
15
|
+
Member role. Possible values: primary (accepts reads and writes), replica (read-only follower), unknown (placement not established; reported while a transition is moving or restarting the topology and this member has not been probed, so no member can be named the write target).
|
|
16
|
+
status : str
|
|
17
|
+
Member pod status. Possible values: pending (configured but absent from the backend topology, so nothing is bringing it up), provisioning (pod missing or Pending), starting (Running but not Ready), active (Running and Ready), failed (Failed phase or CrashLoopBackOff container), or the lowercased pod phase reported by the cluster.
|
|
18
|
+
lagseconds : Optional[float]
|
|
19
|
+
Replication lag in seconds. Null when the lag is not known: a primary has none to report, and a member the backend has not probed has none yet.
|
|
20
|
+
"""
|
|
21
|
+
id: str = Field(..., alias='$id')
|
|
22
|
+
role: str = Field(..., alias='role')
|
|
23
|
+
status: str = Field(..., alias='status')
|
|
24
|
+
lagseconds: Optional[float] = Field(default=None, alias='lagSeconds')
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Optional, Union, cast
|
|
2
|
+
from pydantic import Field, PrivateAttr
|
|
3
|
+
|
|
4
|
+
from .base_model import AppwriteModel
|
|
5
|
+
|
|
6
|
+
class DedicatedDatabaseOperation(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
Operation
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
id : str
|
|
13
|
+
Operation ID.
|
|
14
|
+
createdat : str
|
|
15
|
+
Operation creation time in ISO 8601 format.
|
|
16
|
+
databaseid : str
|
|
17
|
+
Database ID the operation ran against.
|
|
18
|
+
type : str
|
|
19
|
+
Operation type, such as provision, update, restore, pausing, resuming, failover, backup-create or cross-region-enable.
|
|
20
|
+
status : str
|
|
21
|
+
Operation status. Possible values: running (in progress), completed (finished successfully), failed (ended in an error).
|
|
22
|
+
attempts : float
|
|
23
|
+
Number of times this operation has been attempted.
|
|
24
|
+
requestedat : Optional[str]
|
|
25
|
+
Time the operation was requested, in ISO 8601 format.
|
|
26
|
+
startedat : Optional[str]
|
|
27
|
+
Time the operation started, in ISO 8601 format.
|
|
28
|
+
completedat : Optional[str]
|
|
29
|
+
Time the operation reached a terminal state, in ISO 8601 format.
|
|
30
|
+
errorcode : str
|
|
31
|
+
Machine-readable failure code. `LockLost` marks an attempt that was fenced and abandoned because another worker took over the database.
|
|
32
|
+
errormessage : str
|
|
33
|
+
Failure message if the operation failed.
|
|
34
|
+
"""
|
|
35
|
+
id: str = Field(..., alias='$id')
|
|
36
|
+
createdat: str = Field(..., alias='$createdAt')
|
|
37
|
+
databaseid: str = Field(..., alias='databaseId')
|
|
38
|
+
type: str = Field(..., alias='type')
|
|
39
|
+
status: str = Field(..., alias='status')
|
|
40
|
+
attempts: float = Field(..., alias='attempts')
|
|
41
|
+
requestedat: Optional[str] = Field(default=None, alias='requestedAt')
|
|
42
|
+
startedat: Optional[str] = Field(default=None, alias='startedAt')
|
|
43
|
+
completedat: Optional[str] = Field(default=None, alias='completedAt')
|
|
44
|
+
errorcode: str = Field(..., alias='errorCode')
|
|
45
|
+
errormessage: str = Field(..., alias='errorMessage')
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Optional, Union, cast
|
|
2
|
+
from pydantic import Field, PrivateAttr
|
|
3
|
+
|
|
4
|
+
from .base_model import AppwriteModel
|
|
5
|
+
from .dedicated_database_operation import DedicatedDatabaseOperation
|
|
6
|
+
|
|
7
|
+
class DedicatedDatabaseOperationList(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
OperationList
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
total : float
|
|
14
|
+
Total number of operations.
|
|
15
|
+
operations : List[DedicatedDatabaseOperation]
|
|
16
|
+
List of operations.
|
|
17
|
+
"""
|
|
18
|
+
total: float = Field(..., alias='total')
|
|
19
|
+
operations: List[DedicatedDatabaseOperation] = Field(..., alias='operations')
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Optional, Union, cast
|
|
2
|
+
from pydantic import Field, PrivateAttr
|
|
3
|
+
|
|
4
|
+
from .base_model import AppwriteModel
|
|
5
|
+
|
|
6
|
+
class DedicatedDatabasePITRWindows(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
PITRWindows
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
earliest : str
|
|
13
|
+
Earliest available recovery point.
|
|
14
|
+
latest : str
|
|
15
|
+
Latest available recovery point.
|
|
16
|
+
"""
|
|
17
|
+
earliest: str = Field(..., alias='earliest')
|
|
18
|
+
latest: str = Field(..., alias='latest')
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Optional, Union, cast
|
|
2
|
+
from pydantic import Field, PrivateAttr
|
|
3
|
+
|
|
4
|
+
from .base_model import AppwriteModel
|
|
5
|
+
|
|
6
|
+
class DedicatedDatabasePooler(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
PoolerConfig
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
enabled : bool
|
|
13
|
+
Whether connection pooling is enabled.
|
|
14
|
+
mode : str
|
|
15
|
+
Connection pool mode. Possible values: transaction (releases connections back to pool after each transaction), session (holds connections for the entire client session).
|
|
16
|
+
maxconnections : float
|
|
17
|
+
Client-connection ceiling the pooler accepts. Enforced on MySQL and MariaDB; on PostgreSQL the pooler has no client cap, so this reports the database's advertised networkMaxConnections and cannot be set here.
|
|
18
|
+
defaultpoolsize : float
|
|
19
|
+
Default pool size per user.
|
|
20
|
+
port : float
|
|
21
|
+
Pooler listening port.
|
|
22
|
+
readwritesplitting : bool
|
|
23
|
+
Whether SELECTs are routed to HA replicas while writes and locked reads stay on the primary. Active only when HA is enabled.
|
|
24
|
+
poolercpurequest : str
|
|
25
|
+
Effective CPU request applied to the pooler sidecar container (Kubernetes quantity). Returns the proportional default (5% of DB CPU, floor 100m) unless overridden.
|
|
26
|
+
poolercpulimit : str
|
|
27
|
+
Effective CPU limit applied to the pooler sidecar container (Kubernetes quantity). Returns the proportional default (10% of DB CPU, floor 200m) unless overridden.
|
|
28
|
+
poolermemoryrequest : str
|
|
29
|
+
Effective memory request applied to the pooler sidecar container (Kubernetes quantity). Returns the proportional default (7.5% of DB memory, floor 64Mi) unless overridden.
|
|
30
|
+
poolermemorylimit : str
|
|
31
|
+
Effective memory limit applied to the pooler sidecar container (Kubernetes quantity). Returns the proportional default (15% of DB memory, floor 128Mi) unless overridden.
|
|
32
|
+
"""
|
|
33
|
+
enabled: bool = Field(..., alias='enabled')
|
|
34
|
+
mode: str = Field(..., alias='mode')
|
|
35
|
+
maxconnections: float = Field(..., alias='maxConnections')
|
|
36
|
+
defaultpoolsize: float = Field(..., alias='defaultPoolSize')
|
|
37
|
+
port: float = Field(..., alias='port')
|
|
38
|
+
readwritesplitting: bool = Field(..., alias='readWriteSplitting')
|
|
39
|
+
poolercpurequest: str = Field(..., alias='poolerCpuRequest')
|
|
40
|
+
poolercpulimit: str = Field(..., alias='poolerCpuLimit')
|
|
41
|
+
poolermemoryrequest: str = Field(..., alias='poolerMemoryRequest')
|
|
42
|
+
poolermemorylimit: str = Field(..., alias='poolerMemoryLimit')
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Optional, Union, cast
|
|
2
|
+
from pydantic import Field, PrivateAttr
|
|
3
|
+
|
|
4
|
+
from .base_model import AppwriteModel
|
|
5
|
+
from .dedicated_database_member import DedicatedDatabaseMember
|
|
6
|
+
|
|
7
|
+
class DedicatedDatabaseReplicas(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
Replicas
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
replicas : float
|
|
14
|
+
Number of configured replicas. Zero means high availability is disabled.
|
|
15
|
+
syncmode : str
|
|
16
|
+
Requested replication sync mode. Possible values: async (asynchronous, fastest), sync (synchronous, strong consistency), quorum (quorum-based, majority of replicas must confirm). This is what was asked for; compare it with effectiveSyncMode for what the primary is enforcing.
|
|
17
|
+
effectivesyncmode : Optional[str]
|
|
18
|
+
Replication sync mode the primary is actually enforcing. Null when high availability is disabled or the state could not be read. A value below the requested syncMode means writes are being acknowledged with weaker durability than configured.
|
|
19
|
+
syncdegraded : bool
|
|
20
|
+
Whether the enforced replication is weaker than the requested syncMode.
|
|
21
|
+
syncacknowledgements : float
|
|
22
|
+
Number of standby acknowledgements the primary waits for before a write is committed. Zero means writes are acknowledged locally.
|
|
23
|
+
syncstandbycount : float
|
|
24
|
+
Number of standbys registered with the primary for synchronous replication.
|
|
25
|
+
syncstateconfirmed : bool
|
|
26
|
+
Whether the reported sync state was read from the engine. When false the state could not be confirmed and the other sync fields carry no reading.
|
|
27
|
+
members : List[DedicatedDatabaseMember]
|
|
28
|
+
Per-pod statuses for the primary and every replica.
|
|
29
|
+
"""
|
|
30
|
+
replicas: float = Field(..., alias='replicas')
|
|
31
|
+
syncmode: str = Field(..., alias='syncMode')
|
|
32
|
+
effectivesyncmode: Optional[str] = Field(default=None, alias='effectiveSyncMode')
|
|
33
|
+
syncdegraded: bool = Field(..., alias='syncDegraded')
|
|
34
|
+
syncacknowledgements: float = Field(..., alias='syncAcknowledgements')
|
|
35
|
+
syncstandbycount: float = Field(..., alias='syncStandbyCount')
|
|
36
|
+
syncstateconfirmed: bool = Field(..., alias='syncStateConfirmed')
|
|
37
|
+
members: List[DedicatedDatabaseMember] = Field(..., alias='members')
|