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,73 @@
|
|
|
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 .metric import Metric
|
|
6
|
+
|
|
7
|
+
class UsageOrganizationProject(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
OrganizationProject
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
projectid : str
|
|
14
|
+
projectId
|
|
15
|
+
bandwidth : List[Metric]
|
|
16
|
+
Aggregated stats for number of requests.
|
|
17
|
+
users : List[Metric]
|
|
18
|
+
Aggregated stats for consumed bandwidth.
|
|
19
|
+
executions : float
|
|
20
|
+
Aggregated stats for function executions.
|
|
21
|
+
databasesreads : List[Metric]
|
|
22
|
+
Aggregated stats for database reads.
|
|
23
|
+
databaseswrites : List[Metric]
|
|
24
|
+
Aggregated stats for database writes.
|
|
25
|
+
executionsmbseconds : float
|
|
26
|
+
Aggregated stats for function executions in mb seconds.
|
|
27
|
+
buildsmbseconds : float
|
|
28
|
+
Aggregated stats for function builds in mb seconds.
|
|
29
|
+
storage : float
|
|
30
|
+
Aggregated stats for number of documents.
|
|
31
|
+
authphonetotal : float
|
|
32
|
+
Aggregated stats for phone authentication.
|
|
33
|
+
authphoneestimate : float
|
|
34
|
+
Aggregated stats for phone authentication estimated cost.
|
|
35
|
+
databasesreadstotal : float
|
|
36
|
+
Aggregated stats for total databases reads.
|
|
37
|
+
databaseswritestotal : float
|
|
38
|
+
Aggregated stats for total databases writes.
|
|
39
|
+
imagetransformations : List[Metric]
|
|
40
|
+
Aggregated stats for file transformations.
|
|
41
|
+
imagetransformationstotal : float
|
|
42
|
+
Aggregated stats for total file transformations.
|
|
43
|
+
screenshotsgenerated : List[Metric]
|
|
44
|
+
Aggregated stats for file transformations.
|
|
45
|
+
screenshotsgeneratedtotal : float
|
|
46
|
+
Aggregated stats for total file transformations.
|
|
47
|
+
realtimeconnections : float
|
|
48
|
+
Aggregated stats for realtime connections.
|
|
49
|
+
realtimemessages : float
|
|
50
|
+
Aggregated stats for realtime messages.
|
|
51
|
+
realtimebandwidth : float
|
|
52
|
+
Aggregated stats for realtime bandwidth.
|
|
53
|
+
"""
|
|
54
|
+
projectid: str = Field(..., alias='projectId')
|
|
55
|
+
bandwidth: List[Metric] = Field(..., alias='bandwidth')
|
|
56
|
+
users: List[Metric] = Field(..., alias='users')
|
|
57
|
+
executions: float = Field(..., alias='executions')
|
|
58
|
+
databasesreads: List[Metric] = Field(..., alias='databasesReads')
|
|
59
|
+
databaseswrites: List[Metric] = Field(..., alias='databasesWrites')
|
|
60
|
+
executionsmbseconds: float = Field(..., alias='executionsMBSeconds')
|
|
61
|
+
buildsmbseconds: float = Field(..., alias='buildsMBSeconds')
|
|
62
|
+
storage: float = Field(..., alias='storage')
|
|
63
|
+
authphonetotal: float = Field(..., alias='authPhoneTotal')
|
|
64
|
+
authphoneestimate: float = Field(..., alias='authPhoneEstimate')
|
|
65
|
+
databasesreadstotal: float = Field(..., alias='databasesReadsTotal')
|
|
66
|
+
databaseswritestotal: float = Field(..., alias='databasesWritesTotal')
|
|
67
|
+
imagetransformations: List[Metric] = Field(..., alias='imageTransformations')
|
|
68
|
+
imagetransformationstotal: float = Field(..., alias='imageTransformationsTotal')
|
|
69
|
+
screenshotsgenerated: List[Metric] = Field(..., alias='screenshotsGenerated')
|
|
70
|
+
screenshotsgeneratedtotal: float = Field(..., alias='screenshotsGeneratedTotal')
|
|
71
|
+
realtimeconnections: float = Field(..., alias='realtimeConnections')
|
|
72
|
+
realtimemessages: float = Field(..., alias='realtimeMessages')
|
|
73
|
+
realtimebandwidth: float = Field(..., alias='realtimeBandwidth')
|
|
@@ -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 .metric import Metric
|
|
6
|
+
|
|
7
|
+
class UsagePresence(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
UsagePresence
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
range : str
|
|
14
|
+
Time range of the usage stats.
|
|
15
|
+
usersonlinetotal : float
|
|
16
|
+
Current total number of online users.
|
|
17
|
+
presences : List[Metric]
|
|
18
|
+
Aggregated number of online users per period.
|
|
19
|
+
"""
|
|
20
|
+
range: str = Field(..., alias='range')
|
|
21
|
+
usersonlinetotal: float = Field(..., alias='usersOnlineTotal')
|
|
22
|
+
presences: List[Metric] = Field(..., alias='presences')
|
|
@@ -0,0 +1,218 @@
|
|
|
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 .metric import Metric
|
|
6
|
+
from .metric_breakdown import MetricBreakdown
|
|
7
|
+
|
|
8
|
+
class UsageProject(AppwriteModel):
|
|
9
|
+
"""
|
|
10
|
+
Project
|
|
11
|
+
|
|
12
|
+
Attributes
|
|
13
|
+
----------
|
|
14
|
+
executionstotal : float
|
|
15
|
+
Total aggregated number of function executions.
|
|
16
|
+
documentstotal : float
|
|
17
|
+
Total aggregated number of documents in legacy/tablesdb.
|
|
18
|
+
documentsdbdocumentstotal : float
|
|
19
|
+
Total aggregated number of documents in documentsdb.
|
|
20
|
+
rowstotal : float
|
|
21
|
+
Total aggregated number of rows.
|
|
22
|
+
databasestotal : float
|
|
23
|
+
Total aggregated number of databases.
|
|
24
|
+
documentsdbtotal : float
|
|
25
|
+
Total aggregated number of documentsdb.
|
|
26
|
+
databasesstoragetotal : float
|
|
27
|
+
Total aggregated sum of databases storage size (in bytes).
|
|
28
|
+
documentsdbdatabasesstoragetotal : float
|
|
29
|
+
Total aggregated sum of documentsdb databases storage size (in bytes).
|
|
30
|
+
userstotal : float
|
|
31
|
+
Total aggregated number of users.
|
|
32
|
+
filesstoragetotal : float
|
|
33
|
+
Total aggregated sum of files storage size (in bytes).
|
|
34
|
+
functionsstoragetotal : float
|
|
35
|
+
Total aggregated sum of functions storage size (in bytes).
|
|
36
|
+
buildsstoragetotal : float
|
|
37
|
+
Total aggregated sum of builds storage size (in bytes).
|
|
38
|
+
deploymentsstoragetotal : float
|
|
39
|
+
Total aggregated sum of deployments storage size (in bytes).
|
|
40
|
+
bucketstotal : float
|
|
41
|
+
Total aggregated number of buckets.
|
|
42
|
+
executionsmbsecondstotal : float
|
|
43
|
+
Total aggregated number of function executions mbSeconds.
|
|
44
|
+
buildsmbsecondstotal : float
|
|
45
|
+
Total aggregated number of function builds mbSeconds.
|
|
46
|
+
databasesreadstotal : float
|
|
47
|
+
Aggregated stats for total databases reads.
|
|
48
|
+
databaseswritestotal : float
|
|
49
|
+
Aggregated stats for total databases writes.
|
|
50
|
+
documentsdbdatabasesreadstotal : float
|
|
51
|
+
Total number of documentsdb databases reads.
|
|
52
|
+
documentsdbdatabaseswritestotal : float
|
|
53
|
+
Total number of documentsdb databases writes.
|
|
54
|
+
requests : List[Metric]
|
|
55
|
+
Aggregated number of requests per period.
|
|
56
|
+
network : List[Metric]
|
|
57
|
+
Aggregated number of consumed bandwidth per period.
|
|
58
|
+
users : List[Metric]
|
|
59
|
+
Aggregated number of users per period.
|
|
60
|
+
executions : List[Metric]
|
|
61
|
+
Aggregated number of executions per period.
|
|
62
|
+
authphonetotal : float
|
|
63
|
+
Aggregated stats for total auth phone.
|
|
64
|
+
authphoneestimate : float
|
|
65
|
+
Aggregated stats for total auth phone estimation.
|
|
66
|
+
authphonecountrybreakdown : List[MetricBreakdown]
|
|
67
|
+
Aggregated breakdown in totals of phone auth by country.
|
|
68
|
+
databasesreads : List[Metric]
|
|
69
|
+
Aggregated stats for database reads.
|
|
70
|
+
databaseswrites : List[Metric]
|
|
71
|
+
Aggregated stats for database writes.
|
|
72
|
+
documentsdbdatabasesreads : List[Metric]
|
|
73
|
+
An array of aggregated number of documentsdb database reads.
|
|
74
|
+
documentsdbdatabaseswrites : List[Metric]
|
|
75
|
+
An array of aggregated number of documentsdb database writes.
|
|
76
|
+
documentsdbdatabasesstorage : List[Metric]
|
|
77
|
+
An array of aggregated sum of documentsdb databases storage size (in bytes) per period.
|
|
78
|
+
imagetransformations : List[Metric]
|
|
79
|
+
An array of aggregated number of image transformations.
|
|
80
|
+
imagetransformationstotal : float
|
|
81
|
+
Total aggregated number of image transformations.
|
|
82
|
+
vectorsdbdatabasestotal : float
|
|
83
|
+
Total aggregated number of VectorsDB databases.
|
|
84
|
+
vectorsdbcollectionstotal : float
|
|
85
|
+
Total aggregated number of VectorsDB collections.
|
|
86
|
+
vectorsdbdocumentstotal : float
|
|
87
|
+
Total aggregated number of VectorsDB documents.
|
|
88
|
+
vectorsdbdatabasesstoragetotal : float
|
|
89
|
+
Total aggregated VectorsDB storage (bytes).
|
|
90
|
+
vectorsdbdatabasesreadstotal : float
|
|
91
|
+
Total aggregated number of VectorsDB reads.
|
|
92
|
+
vectorsdbdatabaseswritestotal : float
|
|
93
|
+
Total aggregated number of VectorsDB writes.
|
|
94
|
+
vectorsdbdatabases : List[Metric]
|
|
95
|
+
Aggregated VectorsDB databases per period.
|
|
96
|
+
vectorsdbcollections : List[Metric]
|
|
97
|
+
Aggregated VectorsDB collections per period.
|
|
98
|
+
vectorsdbdocuments : List[Metric]
|
|
99
|
+
Aggregated VectorsDB documents per period.
|
|
100
|
+
vectorsdbdatabasesstorage : List[Metric]
|
|
101
|
+
Aggregated VectorsDB storage per period.
|
|
102
|
+
vectorsdbdatabasesreads : List[Metric]
|
|
103
|
+
Aggregated VectorsDB reads per period.
|
|
104
|
+
vectorsdbdatabaseswrites : List[Metric]
|
|
105
|
+
Aggregated VectorsDB writes per period.
|
|
106
|
+
embeddingstext : Metric
|
|
107
|
+
Aggregated number of text embedding calls per period.
|
|
108
|
+
embeddingstexttokens : Metric
|
|
109
|
+
Aggregated number of tokens processed by text embeddings per period.
|
|
110
|
+
embeddingstextduration : Metric
|
|
111
|
+
Aggregated duration spent generating text embeddings per period.
|
|
112
|
+
embeddingstexterrors : Metric
|
|
113
|
+
Aggregated number of errors while generating text embeddings per period.
|
|
114
|
+
embeddingstexttotal : Metric
|
|
115
|
+
Total aggregated number of text embedding calls.
|
|
116
|
+
embeddingstexttokenstotal : Metric
|
|
117
|
+
Total aggregated number of tokens processed by text.
|
|
118
|
+
embeddingstextdurationtotal : Metric
|
|
119
|
+
Total aggregated duration spent generating text embeddings.
|
|
120
|
+
embeddingstexterrorstotal : Metric
|
|
121
|
+
Total aggregated number of errors while generating text embeddings.
|
|
122
|
+
functionsexecutions : List[Metric]
|
|
123
|
+
Aggregated number of function executions per period.
|
|
124
|
+
functionsexecutionstotal : float
|
|
125
|
+
Total aggregated number of function executions.
|
|
126
|
+
sitesexecutions : List[Metric]
|
|
127
|
+
Aggregated number of site executions per period.
|
|
128
|
+
sitesexecutionstotal : float
|
|
129
|
+
Total aggregated number of site executions.
|
|
130
|
+
networktotal : float
|
|
131
|
+
Aggregated stats for total network bandwidth.
|
|
132
|
+
backupsstoragetotal : float
|
|
133
|
+
Aggregated stats for total backups storage.
|
|
134
|
+
screenshotsgenerated : List[Metric]
|
|
135
|
+
An array of aggregated number of screenshots generated.
|
|
136
|
+
screenshotsgeneratedtotal : float
|
|
137
|
+
Total aggregated number of screenshots generated.
|
|
138
|
+
realtimeconnectionstotal : float
|
|
139
|
+
Current aggregated number of open Realtime connections.
|
|
140
|
+
realtimemessagestotal : float
|
|
141
|
+
Total number of Realtime messages sent to clients.
|
|
142
|
+
realtimebandwidthtotal : float
|
|
143
|
+
Total consumed Realtime bandwidth (in bytes).
|
|
144
|
+
realtimeconnections : List[Metric]
|
|
145
|
+
Aggregated number of open Realtime connections per period.
|
|
146
|
+
realtimemessages : List[Metric]
|
|
147
|
+
Aggregated number of Realtime messages sent to clients per period.
|
|
148
|
+
realtimebandwidth : List[Metric]
|
|
149
|
+
Aggregated consumed Realtime bandwidth (in bytes) per period.
|
|
150
|
+
"""
|
|
151
|
+
executionstotal: float = Field(..., alias='executionsTotal')
|
|
152
|
+
documentstotal: float = Field(..., alias='documentsTotal')
|
|
153
|
+
documentsdbdocumentstotal: float = Field(..., alias='documentsdbDocumentsTotal')
|
|
154
|
+
rowstotal: float = Field(..., alias='rowsTotal')
|
|
155
|
+
databasestotal: float = Field(..., alias='databasesTotal')
|
|
156
|
+
documentsdbtotal: float = Field(..., alias='documentsdbTotal')
|
|
157
|
+
databasesstoragetotal: float = Field(..., alias='databasesStorageTotal')
|
|
158
|
+
documentsdbdatabasesstoragetotal: float = Field(..., alias='documentsdbDatabasesStorageTotal')
|
|
159
|
+
userstotal: float = Field(..., alias='usersTotal')
|
|
160
|
+
filesstoragetotal: float = Field(..., alias='filesStorageTotal')
|
|
161
|
+
functionsstoragetotal: float = Field(..., alias='functionsStorageTotal')
|
|
162
|
+
buildsstoragetotal: float = Field(..., alias='buildsStorageTotal')
|
|
163
|
+
deploymentsstoragetotal: float = Field(..., alias='deploymentsStorageTotal')
|
|
164
|
+
bucketstotal: float = Field(..., alias='bucketsTotal')
|
|
165
|
+
executionsmbsecondstotal: float = Field(..., alias='executionsMbSecondsTotal')
|
|
166
|
+
buildsmbsecondstotal: float = Field(..., alias='buildsMbSecondsTotal')
|
|
167
|
+
databasesreadstotal: float = Field(..., alias='databasesReadsTotal')
|
|
168
|
+
databaseswritestotal: float = Field(..., alias='databasesWritesTotal')
|
|
169
|
+
documentsdbdatabasesreadstotal: float = Field(..., alias='documentsdbDatabasesReadsTotal')
|
|
170
|
+
documentsdbdatabaseswritestotal: float = Field(..., alias='documentsdbDatabasesWritesTotal')
|
|
171
|
+
requests: List[Metric] = Field(..., alias='requests')
|
|
172
|
+
network: List[Metric] = Field(..., alias='network')
|
|
173
|
+
users: List[Metric] = Field(..., alias='users')
|
|
174
|
+
executions: List[Metric] = Field(..., alias='executions')
|
|
175
|
+
authphonetotal: float = Field(..., alias='authPhoneTotal')
|
|
176
|
+
authphoneestimate: float = Field(..., alias='authPhoneEstimate')
|
|
177
|
+
authphonecountrybreakdown: List[MetricBreakdown] = Field(..., alias='authPhoneCountryBreakdown')
|
|
178
|
+
databasesreads: List[Metric] = Field(..., alias='databasesReads')
|
|
179
|
+
databaseswrites: List[Metric] = Field(..., alias='databasesWrites')
|
|
180
|
+
documentsdbdatabasesreads: List[Metric] = Field(..., alias='documentsdbDatabasesReads')
|
|
181
|
+
documentsdbdatabaseswrites: List[Metric] = Field(..., alias='documentsdbDatabasesWrites')
|
|
182
|
+
documentsdbdatabasesstorage: List[Metric] = Field(..., alias='documentsdbDatabasesStorage')
|
|
183
|
+
imagetransformations: List[Metric] = Field(..., alias='imageTransformations')
|
|
184
|
+
imagetransformationstotal: float = Field(..., alias='imageTransformationsTotal')
|
|
185
|
+
vectorsdbdatabasestotal: float = Field(..., alias='vectorsdbDatabasesTotal')
|
|
186
|
+
vectorsdbcollectionstotal: float = Field(..., alias='vectorsdbCollectionsTotal')
|
|
187
|
+
vectorsdbdocumentstotal: float = Field(..., alias='vectorsdbDocumentsTotal')
|
|
188
|
+
vectorsdbdatabasesstoragetotal: float = Field(..., alias='vectorsdbDatabasesStorageTotal')
|
|
189
|
+
vectorsdbdatabasesreadstotal: float = Field(..., alias='vectorsdbDatabasesReadsTotal')
|
|
190
|
+
vectorsdbdatabaseswritestotal: float = Field(..., alias='vectorsdbDatabasesWritesTotal')
|
|
191
|
+
vectorsdbdatabases: List[Metric] = Field(..., alias='vectorsdbDatabases')
|
|
192
|
+
vectorsdbcollections: List[Metric] = Field(..., alias='vectorsdbCollections')
|
|
193
|
+
vectorsdbdocuments: List[Metric] = Field(..., alias='vectorsdbDocuments')
|
|
194
|
+
vectorsdbdatabasesstorage: List[Metric] = Field(..., alias='vectorsdbDatabasesStorage')
|
|
195
|
+
vectorsdbdatabasesreads: List[Metric] = Field(..., alias='vectorsdbDatabasesReads')
|
|
196
|
+
vectorsdbdatabaseswrites: List[Metric] = Field(..., alias='vectorsdbDatabasesWrites')
|
|
197
|
+
embeddingstext: Metric = Field(..., alias='embeddingsText')
|
|
198
|
+
embeddingstexttokens: Metric = Field(..., alias='embeddingsTextTokens')
|
|
199
|
+
embeddingstextduration: Metric = Field(..., alias='embeddingsTextDuration')
|
|
200
|
+
embeddingstexterrors: Metric = Field(..., alias='embeddingsTextErrors')
|
|
201
|
+
embeddingstexttotal: Metric = Field(..., alias='embeddingsTextTotal')
|
|
202
|
+
embeddingstexttokenstotal: Metric = Field(..., alias='embeddingsTextTokensTotal')
|
|
203
|
+
embeddingstextdurationtotal: Metric = Field(..., alias='embeddingsTextDurationTotal')
|
|
204
|
+
embeddingstexterrorstotal: Metric = Field(..., alias='embeddingsTextErrorsTotal')
|
|
205
|
+
functionsexecutions: List[Metric] = Field(..., alias='functionsExecutions')
|
|
206
|
+
functionsexecutionstotal: float = Field(..., alias='functionsExecutionsTotal')
|
|
207
|
+
sitesexecutions: List[Metric] = Field(..., alias='sitesExecutions')
|
|
208
|
+
sitesexecutionstotal: float = Field(..., alias='sitesExecutionsTotal')
|
|
209
|
+
networktotal: float = Field(..., alias='networkTotal')
|
|
210
|
+
backupsstoragetotal: float = Field(..., alias='backupsStorageTotal')
|
|
211
|
+
screenshotsgenerated: List[Metric] = Field(..., alias='screenshotsGenerated')
|
|
212
|
+
screenshotsgeneratedtotal: float = Field(..., alias='screenshotsGeneratedTotal')
|
|
213
|
+
realtimeconnectionstotal: float = Field(..., alias='realtimeConnectionsTotal')
|
|
214
|
+
realtimemessagestotal: float = Field(..., alias='realtimeMessagesTotal')
|
|
215
|
+
realtimebandwidthtotal: float = Field(..., alias='realtimeBandwidthTotal')
|
|
216
|
+
realtimeconnections: List[Metric] = Field(..., alias='realtimeConnections')
|
|
217
|
+
realtimemessages: List[Metric] = Field(..., alias='realtimeMessages')
|
|
218
|
+
realtimebandwidth: List[Metric] = Field(..., alias='realtimeBandwidth')
|
|
@@ -0,0 +1,36 @@
|
|
|
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 UsageResources(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
Resource
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
name : str
|
|
13
|
+
Invoice name
|
|
14
|
+
value : float
|
|
15
|
+
Invoice value
|
|
16
|
+
amount : float
|
|
17
|
+
Invoice amount
|
|
18
|
+
rate : float
|
|
19
|
+
Invoice rate
|
|
20
|
+
desc : str
|
|
21
|
+
Invoice description
|
|
22
|
+
resourceid : str
|
|
23
|
+
Resource ID
|
|
24
|
+
type : str
|
|
25
|
+
Dedicated database engine type for per-database line items (e.g. postgresql). Empty for other resources.
|
|
26
|
+
specification : str
|
|
27
|
+
Dedicated database specification slug for per-database line items (e.g. s-2vcpu-2gb). Empty for other resources.
|
|
28
|
+
"""
|
|
29
|
+
name: str = Field(..., alias='name')
|
|
30
|
+
value: float = Field(..., alias='value')
|
|
31
|
+
amount: float = Field(..., alias='amount')
|
|
32
|
+
rate: float = Field(..., alias='rate')
|
|
33
|
+
desc: str = Field(..., alias='desc')
|
|
34
|
+
resourceid: str = Field(..., alias='resourceId')
|
|
35
|
+
type: str = Field(..., alias='type')
|
|
36
|
+
specification: str = Field(..., alias='specification')
|
|
@@ -0,0 +1,28 @@
|
|
|
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 .metric import Metric
|
|
6
|
+
|
|
7
|
+
class UsageUsers(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
UsageUsers
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
range : str
|
|
14
|
+
Time range of the usage stats.
|
|
15
|
+
userstotal : float
|
|
16
|
+
Total aggregated number of statistics of users.
|
|
17
|
+
sessionstotal : float
|
|
18
|
+
Total aggregated number of active sessions.
|
|
19
|
+
users : List[Metric]
|
|
20
|
+
Aggregated number of users per period.
|
|
21
|
+
sessions : List[Metric]
|
|
22
|
+
Aggregated number of active sessions per period.
|
|
23
|
+
"""
|
|
24
|
+
range: str = Field(..., alias='range')
|
|
25
|
+
userstotal: float = Field(..., alias='usersTotal')
|
|
26
|
+
sessionstotal: float = Field(..., alias='sessionsTotal')
|
|
27
|
+
users: List[Metric] = Field(..., alias='users')
|
|
28
|
+
sessions: List[Metric] = Field(..., alias='sessions')
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Optional, Union, cast, Generic, TypeVar, Type
|
|
2
|
+
from pydantic import Field, PrivateAttr
|
|
3
|
+
|
|
4
|
+
from .base_model import AppwriteModel
|
|
5
|
+
from .algo_argon2 import AlgoArgon2
|
|
6
|
+
from .algo_scrypt import AlgoScrypt
|
|
7
|
+
from .algo_scrypt_modified import AlgoScryptModified
|
|
8
|
+
from .algo_bcrypt import AlgoBcrypt
|
|
9
|
+
from .algo_phpass import AlgoPhpass
|
|
10
|
+
from .algo_sha import AlgoSha
|
|
11
|
+
from .algo_md5 import AlgoMd5
|
|
12
|
+
from .preferences import Preferences
|
|
13
|
+
from .target import Target
|
|
14
|
+
|
|
15
|
+
T = TypeVar('T')
|
|
16
|
+
|
|
17
|
+
class User(AppwriteModel, Generic[T]):
|
|
18
|
+
"""
|
|
19
|
+
User
|
|
20
|
+
|
|
21
|
+
Attributes
|
|
22
|
+
----------
|
|
23
|
+
id : str
|
|
24
|
+
User ID.
|
|
25
|
+
createdat : str
|
|
26
|
+
User creation date in ISO 8601 format.
|
|
27
|
+
updatedat : str
|
|
28
|
+
User update date in ISO 8601 format.
|
|
29
|
+
name : str
|
|
30
|
+
User name.
|
|
31
|
+
password : Optional[str]
|
|
32
|
+
Hashed user password.
|
|
33
|
+
hash : Optional[str]
|
|
34
|
+
Password hashing algorithm.
|
|
35
|
+
hashoptions : Optional[Union[AlgoArgon2, AlgoScrypt, AlgoScryptModified, AlgoBcrypt, AlgoPhpass, AlgoSha, AlgoMd5]]
|
|
36
|
+
Password hashing algorithm configuration.
|
|
37
|
+
registration : str
|
|
38
|
+
User registration date in ISO 8601 format.
|
|
39
|
+
status : bool
|
|
40
|
+
User status. Pass `true` for enabled and `false` for disabled.
|
|
41
|
+
labels : List[Any]
|
|
42
|
+
Labels for the user.
|
|
43
|
+
passwordupdate : str
|
|
44
|
+
Password update time in ISO 8601 format.
|
|
45
|
+
email : str
|
|
46
|
+
User email address.
|
|
47
|
+
phone : str
|
|
48
|
+
User phone number in E.164 format.
|
|
49
|
+
emailverification : bool
|
|
50
|
+
Email verification status.
|
|
51
|
+
emailcanonical : Optional[str]
|
|
52
|
+
Canonical form of the user email address.
|
|
53
|
+
emailisfree : Optional[bool]
|
|
54
|
+
Whether the user email is from a free email provider.
|
|
55
|
+
emailisdisposable : Optional[bool]
|
|
56
|
+
Whether the user email is from a disposable email provider.
|
|
57
|
+
emailiscorporate : Optional[bool]
|
|
58
|
+
Whether the user email is from a corporate domain.
|
|
59
|
+
emailiscanonical : Optional[bool]
|
|
60
|
+
Whether the user email is in its canonical form.
|
|
61
|
+
phoneverification : bool
|
|
62
|
+
Phone verification status.
|
|
63
|
+
mfa : bool
|
|
64
|
+
Multi factor authentication status.
|
|
65
|
+
prefs : Preferences[T]
|
|
66
|
+
User preferences as a key-value object
|
|
67
|
+
targets : List[Target]
|
|
68
|
+
A user-owned message receiver. A single user may have multiple e.g. emails, phones, and a browser. Each target is registered with a single provider.
|
|
69
|
+
accessedat : str
|
|
70
|
+
Most recent access date in ISO 8601 format. This attribute is only updated again after 24 hours.
|
|
71
|
+
impersonator : Optional[bool]
|
|
72
|
+
Whether the user can impersonate other users.
|
|
73
|
+
impersonatoruserid : Optional[str]
|
|
74
|
+
ID of the original actor performing the impersonation. Present only when the current request is impersonating another user. Internal audit logs attribute the action to this user, while the impersonated target is recorded only in internal audit payload data.
|
|
75
|
+
"""
|
|
76
|
+
id: str = Field(..., alias='$id')
|
|
77
|
+
createdat: str = Field(..., alias='$createdAt')
|
|
78
|
+
updatedat: str = Field(..., alias='$updatedAt')
|
|
79
|
+
name: str = Field(..., alias='name')
|
|
80
|
+
password: Optional[str] = Field(default=None, alias='password')
|
|
81
|
+
hash: Optional[str] = Field(default=None, alias='hash')
|
|
82
|
+
hashoptions: Optional[Union[AlgoArgon2, AlgoScrypt, AlgoScryptModified, AlgoBcrypt, AlgoPhpass, AlgoSha, AlgoMd5]] = Field(default=None, alias='hashOptions')
|
|
83
|
+
registration: str = Field(..., alias='registration')
|
|
84
|
+
status: bool = Field(..., alias='status')
|
|
85
|
+
labels: List[Any] = Field(..., alias='labels')
|
|
86
|
+
passwordupdate: str = Field(..., alias='passwordUpdate')
|
|
87
|
+
email: str = Field(..., alias='email')
|
|
88
|
+
phone: str = Field(..., alias='phone')
|
|
89
|
+
emailverification: bool = Field(..., alias='emailVerification')
|
|
90
|
+
emailcanonical: Optional[str] = Field(default=None, alias='emailCanonical')
|
|
91
|
+
emailisfree: Optional[bool] = Field(default=None, alias='emailIsFree')
|
|
92
|
+
emailisdisposable: Optional[bool] = Field(default=None, alias='emailIsDisposable')
|
|
93
|
+
emailiscorporate: Optional[bool] = Field(default=None, alias='emailIsCorporate')
|
|
94
|
+
emailiscanonical: Optional[bool] = Field(default=None, alias='emailIsCanonical')
|
|
95
|
+
phoneverification: bool = Field(..., alias='phoneVerification')
|
|
96
|
+
mfa: bool = Field(..., alias='mfa')
|
|
97
|
+
prefs: Preferences[T] = Field(..., alias='prefs')
|
|
98
|
+
targets: List[Target] = Field(..., alias='targets')
|
|
99
|
+
accessedat: str = Field(..., alias='accessedAt')
|
|
100
|
+
impersonator: Optional[bool] = Field(default=None, alias='impersonator')
|
|
101
|
+
impersonatoruserid: Optional[str] = Field(default=None, alias='impersonatorUserId')
|
|
102
|
+
|
|
103
|
+
@classmethod
|
|
104
|
+
def with_data(cls, data: Dict[str, Any], model_type: Type[T] = dict) -> 'User[T]':
|
|
105
|
+
"""Create User instance with typed data."""
|
|
106
|
+
instance = cls.model_validate(data)
|
|
107
|
+
if 'prefs' in data and data['prefs'] is not None:
|
|
108
|
+
instance.prefs = Preferences.with_data(
|
|
109
|
+
data['prefs'], model_type
|
|
110
|
+
)
|
|
111
|
+
return instance
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Optional, Union, cast, Generic, TypeVar, Type
|
|
2
|
+
from pydantic import Field, PrivateAttr
|
|
3
|
+
|
|
4
|
+
from .base_model import AppwriteModel
|
|
5
|
+
from .user import User
|
|
6
|
+
|
|
7
|
+
T = TypeVar('T')
|
|
8
|
+
|
|
9
|
+
class UserList(AppwriteModel, Generic[T]):
|
|
10
|
+
"""
|
|
11
|
+
Users List
|
|
12
|
+
|
|
13
|
+
Attributes
|
|
14
|
+
----------
|
|
15
|
+
total : float
|
|
16
|
+
Total number of users that matched your query.
|
|
17
|
+
users : List[User[T]]
|
|
18
|
+
List of users.
|
|
19
|
+
"""
|
|
20
|
+
total: float = Field(..., alias='total')
|
|
21
|
+
users: List[User[T]] = Field(..., alias='users')
|
|
22
|
+
|
|
23
|
+
@classmethod
|
|
24
|
+
def with_data(cls, data: Dict[str, Any], model_type: Type[T] = dict) -> 'UserList[T]':
|
|
25
|
+
"""Create UserList instance with typed data."""
|
|
26
|
+
instance = cls.model_validate(data)
|
|
27
|
+
if 'users' in data and data['users'] is not None:
|
|
28
|
+
instance.users = [
|
|
29
|
+
User.with_data(row, model_type)
|
|
30
|
+
for row in data['users']
|
|
31
|
+
]
|
|
32
|
+
return instance
|
|
@@ -0,0 +1,36 @@
|
|
|
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 Variable(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
Variable
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
id : str
|
|
13
|
+
Variable ID.
|
|
14
|
+
createdat : str
|
|
15
|
+
Variable creation date in ISO 8601 format.
|
|
16
|
+
updatedat : str
|
|
17
|
+
Variable creation date in ISO 8601 format.
|
|
18
|
+
key : str
|
|
19
|
+
Variable key.
|
|
20
|
+
value : str
|
|
21
|
+
Variable value.
|
|
22
|
+
secret : bool
|
|
23
|
+
Variable secret flag. Secret variables can only be updated or deleted, but never read.
|
|
24
|
+
resourcetype : str
|
|
25
|
+
Service to which the variable belongs. Possible values are "project", "function"
|
|
26
|
+
resourceid : str
|
|
27
|
+
ID of resource to which the variable belongs. If resourceType is "project", it is empty. If resourceType is "function", it is ID of the function.
|
|
28
|
+
"""
|
|
29
|
+
id: str = Field(..., alias='$id')
|
|
30
|
+
createdat: str = Field(..., alias='$createdAt')
|
|
31
|
+
updatedat: str = Field(..., alias='$updatedAt')
|
|
32
|
+
key: str = Field(..., alias='key')
|
|
33
|
+
value: str = Field(..., alias='value')
|
|
34
|
+
secret: bool = Field(..., alias='secret')
|
|
35
|
+
resourcetype: str = Field(..., alias='resourceType')
|
|
36
|
+
resourceid: str = Field(..., alias='resourceId')
|
|
@@ -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 .variable import Variable
|
|
6
|
+
|
|
7
|
+
class VariableList(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
Variables List
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
total : float
|
|
14
|
+
Total number of variables that matched your query.
|
|
15
|
+
variables : List[Variable]
|
|
16
|
+
List of variables.
|
|
17
|
+
"""
|
|
18
|
+
total: float = Field(..., alias='total')
|
|
19
|
+
variables: List[Variable] = Field(..., alias='variables')
|
|
@@ -0,0 +1,21 @@
|
|
|
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 VcsContent(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
VcsContents
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
size : Optional[float]
|
|
13
|
+
Content size in bytes. Only files have size, and for directories, 0 is returned.
|
|
14
|
+
isdirectory : Optional[bool]
|
|
15
|
+
If a content is a directory. Directories can be used to check nested contents.
|
|
16
|
+
name : str
|
|
17
|
+
Name of directory or file.
|
|
18
|
+
"""
|
|
19
|
+
size: Optional[float] = Field(default=None, alias='size')
|
|
20
|
+
isdirectory: Optional[bool] = Field(default=None, alias='isDirectory')
|
|
21
|
+
name: str = Field(..., alias='name')
|
|
@@ -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 .vcs_content import VcsContent
|
|
6
|
+
|
|
7
|
+
class VcsContentList(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
VCS Content List
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
total : float
|
|
14
|
+
Total number of contents that matched your query.
|
|
15
|
+
contents : List[VcsContent]
|
|
16
|
+
List of contents.
|
|
17
|
+
"""
|
|
18
|
+
total: float = Field(..., alias='total')
|
|
19
|
+
contents: List[VcsContent] = Field(..., alias='contents')
|
|
@@ -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 VcsNamespace(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
VcsNamespace
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
id : str
|
|
13
|
+
VCS (Version Control System) namespace ID.
|
|
14
|
+
name : str
|
|
15
|
+
VCS (Version Control System) namespace display name.
|
|
16
|
+
path : str
|
|
17
|
+
VCS (Version Control System) namespace path, used to filter repositories by namespace.
|
|
18
|
+
type : str
|
|
19
|
+
Namespace type. Either the user's personal namespace or a group/organization.
|
|
20
|
+
avatarurl : str
|
|
21
|
+
Namespace avatar URL.
|
|
22
|
+
"""
|
|
23
|
+
id: str = Field(..., alias='$id')
|
|
24
|
+
name: str = Field(..., alias='name')
|
|
25
|
+
path: str = Field(..., alias='path')
|
|
26
|
+
type: str = Field(..., alias='type')
|
|
27
|
+
avatarurl: str = Field(..., alias='avatarUrl')
|
|
@@ -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 .vcs_namespace import VcsNamespace
|
|
6
|
+
|
|
7
|
+
class VcsNamespaceList(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
VCS Namespaces List
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
total : float
|
|
14
|
+
Total number of namespaces that matched your query.
|
|
15
|
+
namespaces : List[VcsNamespace]
|
|
16
|
+
List of namespaces.
|
|
17
|
+
"""
|
|
18
|
+
total: float = Field(..., alias='total')
|
|
19
|
+
namespaces: List[VcsNamespace] = Field(..., alias='namespaces')
|