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,65 @@
|
|
|
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 .template_runtime import TemplateRuntime
|
|
6
|
+
from .template_variable import TemplateVariable
|
|
7
|
+
|
|
8
|
+
class TemplateFunction(AppwriteModel):
|
|
9
|
+
"""
|
|
10
|
+
Template Function
|
|
11
|
+
|
|
12
|
+
Attributes
|
|
13
|
+
----------
|
|
14
|
+
icon : str
|
|
15
|
+
Function Template Icon.
|
|
16
|
+
id : str
|
|
17
|
+
Function Template ID.
|
|
18
|
+
name : str
|
|
19
|
+
Function Template Name.
|
|
20
|
+
tagline : str
|
|
21
|
+
Function Template Tagline.
|
|
22
|
+
permissions : List[Any]
|
|
23
|
+
Execution permissions.
|
|
24
|
+
events : List[Any]
|
|
25
|
+
Function trigger events.
|
|
26
|
+
cron : str
|
|
27
|
+
Function execution schedult in CRON format.
|
|
28
|
+
timeout : float
|
|
29
|
+
Function execution timeout in seconds.
|
|
30
|
+
usecases : List[Any]
|
|
31
|
+
Function use cases.
|
|
32
|
+
runtimes : List[TemplateRuntime]
|
|
33
|
+
List of runtimes that can be used with this template.
|
|
34
|
+
instructions : str
|
|
35
|
+
Function Template Instructions.
|
|
36
|
+
vcsprovider : str
|
|
37
|
+
VCS (Version Control System) Provider.
|
|
38
|
+
providerrepositoryid : str
|
|
39
|
+
VCS (Version Control System) Repository ID
|
|
40
|
+
providerowner : str
|
|
41
|
+
VCS (Version Control System) Owner.
|
|
42
|
+
providerversion : str
|
|
43
|
+
VCS (Version Control System) branch version (tag).
|
|
44
|
+
variables : List[TemplateVariable]
|
|
45
|
+
Function variables.
|
|
46
|
+
scopes : List[Any]
|
|
47
|
+
Function scopes.
|
|
48
|
+
"""
|
|
49
|
+
icon: str = Field(..., alias='icon')
|
|
50
|
+
id: str = Field(..., alias='id')
|
|
51
|
+
name: str = Field(..., alias='name')
|
|
52
|
+
tagline: str = Field(..., alias='tagline')
|
|
53
|
+
permissions: List[Any] = Field(..., alias='permissions')
|
|
54
|
+
events: List[Any] = Field(..., alias='events')
|
|
55
|
+
cron: str = Field(..., alias='cron')
|
|
56
|
+
timeout: float = Field(..., alias='timeout')
|
|
57
|
+
usecases: List[Any] = Field(..., alias='useCases')
|
|
58
|
+
runtimes: List[TemplateRuntime] = Field(..., alias='runtimes')
|
|
59
|
+
instructions: str = Field(..., alias='instructions')
|
|
60
|
+
vcsprovider: str = Field(..., alias='vcsProvider')
|
|
61
|
+
providerrepositoryid: str = Field(..., alias='providerRepositoryId')
|
|
62
|
+
providerowner: str = Field(..., alias='providerOwner')
|
|
63
|
+
providerversion: str = Field(..., alias='providerVersion')
|
|
64
|
+
variables: List[TemplateVariable] = Field(..., alias='variables')
|
|
65
|
+
scopes: List[Any] = Field(..., alias='scopes')
|
|
@@ -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 .template_function import TemplateFunction
|
|
6
|
+
|
|
7
|
+
class TemplateFunctionList(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
Function Templates List
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
total : float
|
|
14
|
+
Total number of templates that matched your query.
|
|
15
|
+
templates : List[TemplateFunction]
|
|
16
|
+
List of templates.
|
|
17
|
+
"""
|
|
18
|
+
total: float = Field(..., alias='total')
|
|
19
|
+
templates: List[TemplateFunction] = Field(..., alias='templates')
|
|
@@ -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 TemplateRuntime(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
Template Runtime
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
name : str
|
|
13
|
+
Runtime Name.
|
|
14
|
+
commands : str
|
|
15
|
+
The build command used to build the deployment.
|
|
16
|
+
entrypoint : str
|
|
17
|
+
The entrypoint file used to execute the deployment.
|
|
18
|
+
providerrootdirectory : str
|
|
19
|
+
Path to function in VCS (Version Control System) repository
|
|
20
|
+
"""
|
|
21
|
+
name: str = Field(..., alias='name')
|
|
22
|
+
commands: str = Field(..., alias='commands')
|
|
23
|
+
entrypoint: str = Field(..., alias='entrypoint')
|
|
24
|
+
providerrootdirectory: str = Field(..., alias='providerRootDirectory')
|
|
@@ -0,0 +1,53 @@
|
|
|
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 .template_framework import TemplateFramework
|
|
6
|
+
from .template_variable import TemplateVariable
|
|
7
|
+
|
|
8
|
+
class TemplateSite(AppwriteModel):
|
|
9
|
+
"""
|
|
10
|
+
Template Site
|
|
11
|
+
|
|
12
|
+
Attributes
|
|
13
|
+
----------
|
|
14
|
+
key : str
|
|
15
|
+
Site Template ID.
|
|
16
|
+
name : str
|
|
17
|
+
Site Template Name.
|
|
18
|
+
tagline : str
|
|
19
|
+
Short description of template
|
|
20
|
+
demourl : str
|
|
21
|
+
URL hosting a template demo.
|
|
22
|
+
screenshotdark : str
|
|
23
|
+
File URL with preview screenshot in dark theme preference.
|
|
24
|
+
screenshotlight : str
|
|
25
|
+
File URL with preview screenshot in light theme preference.
|
|
26
|
+
usecases : List[Any]
|
|
27
|
+
Site use cases.
|
|
28
|
+
frameworks : List[TemplateFramework]
|
|
29
|
+
List of frameworks that can be used with this template.
|
|
30
|
+
vcsprovider : str
|
|
31
|
+
VCS (Version Control System) Provider.
|
|
32
|
+
providerrepositoryid : str
|
|
33
|
+
VCS (Version Control System) Repository ID
|
|
34
|
+
providerowner : str
|
|
35
|
+
VCS (Version Control System) Owner.
|
|
36
|
+
providerversion : str
|
|
37
|
+
VCS (Version Control System) branch version (tag).
|
|
38
|
+
variables : List[TemplateVariable]
|
|
39
|
+
Site variables.
|
|
40
|
+
"""
|
|
41
|
+
key: str = Field(..., alias='key')
|
|
42
|
+
name: str = Field(..., alias='name')
|
|
43
|
+
tagline: str = Field(..., alias='tagline')
|
|
44
|
+
demourl: str = Field(..., alias='demoUrl')
|
|
45
|
+
screenshotdark: str = Field(..., alias='screenshotDark')
|
|
46
|
+
screenshotlight: str = Field(..., alias='screenshotLight')
|
|
47
|
+
usecases: List[Any] = Field(..., alias='useCases')
|
|
48
|
+
frameworks: List[TemplateFramework] = Field(..., alias='frameworks')
|
|
49
|
+
vcsprovider: str = Field(..., alias='vcsProvider')
|
|
50
|
+
providerrepositoryid: str = Field(..., alias='providerRepositoryId')
|
|
51
|
+
providerowner: str = Field(..., alias='providerOwner')
|
|
52
|
+
providerversion: str = Field(..., alias='providerVersion')
|
|
53
|
+
variables: List[TemplateVariable] = Field(..., alias='variables')
|
|
@@ -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 .template_site import TemplateSite
|
|
6
|
+
|
|
7
|
+
class TemplateSiteList(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
Site Templates List
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
total : float
|
|
14
|
+
Total number of templates that matched your query.
|
|
15
|
+
templates : List[TemplateSite]
|
|
16
|
+
List of templates.
|
|
17
|
+
"""
|
|
18
|
+
total: float = Field(..., alias='total')
|
|
19
|
+
templates: List[TemplateSite] = Field(..., alias='templates')
|
|
@@ -0,0 +1,33 @@
|
|
|
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 TemplateVariable(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
Template Variable
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
name : str
|
|
13
|
+
Variable Name.
|
|
14
|
+
description : str
|
|
15
|
+
Variable Description.
|
|
16
|
+
value : str
|
|
17
|
+
Variable Value.
|
|
18
|
+
secret : bool
|
|
19
|
+
Variable secret flag. Secret variables can only be updated or deleted, but never read.
|
|
20
|
+
placeholder : str
|
|
21
|
+
Variable Placeholder.
|
|
22
|
+
required : bool
|
|
23
|
+
Is the variable required?
|
|
24
|
+
type : str
|
|
25
|
+
Variable Type.
|
|
26
|
+
"""
|
|
27
|
+
name: str = Field(..., alias='name')
|
|
28
|
+
description: str = Field(..., alias='description')
|
|
29
|
+
value: str = Field(..., alias='value')
|
|
30
|
+
secret: bool = Field(..., alias='secret')
|
|
31
|
+
placeholder: str = Field(..., alias='placeholder')
|
|
32
|
+
required: bool = Field(..., alias='required')
|
|
33
|
+
type: str = Field(..., alias='type')
|
|
@@ -0,0 +1,30 @@
|
|
|
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 Token(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
Token
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
id : str
|
|
13
|
+
Token ID.
|
|
14
|
+
createdat : str
|
|
15
|
+
Token creation date in ISO 8601 format.
|
|
16
|
+
userid : str
|
|
17
|
+
User ID.
|
|
18
|
+
secret : str
|
|
19
|
+
Token secret key. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.
|
|
20
|
+
expire : str
|
|
21
|
+
Token expiration date in ISO 8601 format.
|
|
22
|
+
phrase : str
|
|
23
|
+
Security phrase of a token. Empty if security phrase was not requested when creating a token. It includes randomly generated phrase which is also sent in the external resource such as email.
|
|
24
|
+
"""
|
|
25
|
+
id: str = Field(..., alias='$id')
|
|
26
|
+
createdat: str = Field(..., alias='$createdAt')
|
|
27
|
+
userid: str = Field(..., alias='userId')
|
|
28
|
+
secret: str = Field(..., alias='secret')
|
|
29
|
+
expire: str = Field(..., alias='expire')
|
|
30
|
+
phrase: str = Field(..., alias='phrase')
|
|
@@ -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 Topic(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
Topic
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
id : str
|
|
13
|
+
Topic ID.
|
|
14
|
+
createdat : str
|
|
15
|
+
Topic creation time in ISO 8601 format.
|
|
16
|
+
updatedat : str
|
|
17
|
+
Topic update date in ISO 8601 format.
|
|
18
|
+
name : str
|
|
19
|
+
The name of the topic.
|
|
20
|
+
emailtotal : float
|
|
21
|
+
Total count of email subscribers subscribed to the topic.
|
|
22
|
+
smstotal : float
|
|
23
|
+
Total count of SMS subscribers subscribed to the topic.
|
|
24
|
+
pushtotal : float
|
|
25
|
+
Total count of push subscribers subscribed to the topic.
|
|
26
|
+
subscribe : List[Any]
|
|
27
|
+
Subscribe permissions.
|
|
28
|
+
"""
|
|
29
|
+
id: str = Field(..., alias='$id')
|
|
30
|
+
createdat: str = Field(..., alias='$createdAt')
|
|
31
|
+
updatedat: str = Field(..., alias='$updatedAt')
|
|
32
|
+
name: str = Field(..., alias='name')
|
|
33
|
+
emailtotal: float = Field(..., alias='emailTotal')
|
|
34
|
+
smstotal: float = Field(..., alias='smsTotal')
|
|
35
|
+
pushtotal: float = Field(..., alias='pushTotal')
|
|
36
|
+
subscribe: List[Any] = Field(..., alias='subscribe')
|
|
@@ -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 .topic import Topic
|
|
6
|
+
|
|
7
|
+
class TopicList(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
Topic list
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
total : float
|
|
14
|
+
Total number of topics that matched your query.
|
|
15
|
+
topics : List[Topic]
|
|
16
|
+
List of topics.
|
|
17
|
+
"""
|
|
18
|
+
total: float = Field(..., alias='total')
|
|
19
|
+
topics: List[Topic] = Field(..., alias='topics')
|
|
@@ -0,0 +1,30 @@
|
|
|
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 Transaction(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
Transaction
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
id : str
|
|
13
|
+
Transaction ID.
|
|
14
|
+
createdat : str
|
|
15
|
+
Transaction creation time in ISO 8601 format.
|
|
16
|
+
updatedat : str
|
|
17
|
+
Transaction update date in ISO 8601 format.
|
|
18
|
+
status : str
|
|
19
|
+
Current status of the transaction. One of: pending, committing, committed, rolled_back, failed.
|
|
20
|
+
operations : float
|
|
21
|
+
Number of operations in the transaction.
|
|
22
|
+
expiresat : str
|
|
23
|
+
Expiration time in ISO 8601 format.
|
|
24
|
+
"""
|
|
25
|
+
id: str = Field(..., alias='$id')
|
|
26
|
+
createdat: str = Field(..., alias='$createdAt')
|
|
27
|
+
updatedat: str = Field(..., alias='$updatedAt')
|
|
28
|
+
status: str = Field(..., alias='status')
|
|
29
|
+
operations: float = Field(..., alias='operations')
|
|
30
|
+
expiresat: str = Field(..., alias='expiresAt')
|
|
@@ -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 .transaction import Transaction
|
|
6
|
+
|
|
7
|
+
class TransactionList(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
Transaction List
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
total : float
|
|
14
|
+
Total number of transactions that matched your query.
|
|
15
|
+
transactions : List[Transaction]
|
|
16
|
+
List of transactions.
|
|
17
|
+
"""
|
|
18
|
+
total: float = Field(..., alias='total')
|
|
19
|
+
transactions: List[Transaction] = Field(..., alias='transactions')
|
|
@@ -0,0 +1,46 @@
|
|
|
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 .additional_resource import AdditionalResource
|
|
6
|
+
|
|
7
|
+
class UsageBillingPlan(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
usageBillingPlan
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
bandwidth : AdditionalResource
|
|
14
|
+
Bandwidth additional resources
|
|
15
|
+
executions : AdditionalResource
|
|
16
|
+
Executions additional resources
|
|
17
|
+
member : AdditionalResource
|
|
18
|
+
Member additional resources
|
|
19
|
+
realtime : AdditionalResource
|
|
20
|
+
Realtime additional resources
|
|
21
|
+
realtimemessages : AdditionalResource
|
|
22
|
+
Realtime messages additional resources
|
|
23
|
+
realtimebandwidth : AdditionalResource
|
|
24
|
+
Realtime bandwidth additional resources
|
|
25
|
+
storage : AdditionalResource
|
|
26
|
+
Storage additional resources
|
|
27
|
+
users : AdditionalResource
|
|
28
|
+
User additional resources
|
|
29
|
+
gbhours : AdditionalResource
|
|
30
|
+
GBHour additional resources
|
|
31
|
+
imagetransformations : AdditionalResource
|
|
32
|
+
Image transformation additional resources
|
|
33
|
+
credits : AdditionalResource
|
|
34
|
+
Credits additional resources
|
|
35
|
+
"""
|
|
36
|
+
bandwidth: AdditionalResource = Field(..., alias='bandwidth')
|
|
37
|
+
executions: AdditionalResource = Field(..., alias='executions')
|
|
38
|
+
member: AdditionalResource = Field(..., alias='member')
|
|
39
|
+
realtime: AdditionalResource = Field(..., alias='realtime')
|
|
40
|
+
realtimemessages: AdditionalResource = Field(..., alias='realtimeMessages')
|
|
41
|
+
realtimebandwidth: AdditionalResource = Field(..., alias='realtimeBandwidth')
|
|
42
|
+
storage: AdditionalResource = Field(..., alias='storage')
|
|
43
|
+
users: AdditionalResource = Field(..., alias='users')
|
|
44
|
+
gbhours: AdditionalResource = Field(..., alias='GBHours')
|
|
45
|
+
imagetransformations: AdditionalResource = Field(..., alias='imageTransformations')
|
|
46
|
+
credits: AdditionalResource = Field(..., alias='credits')
|
|
@@ -0,0 +1,99 @@
|
|
|
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 UsageDataPoint(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
usageDataPoint
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
time : str
|
|
13
|
+
Bucket start timestamp (ISO 8601). When `interval` is omitted this is the request end time, marking the aggregate as-of moment.
|
|
14
|
+
value : float
|
|
15
|
+
Aggregated value for the bucket. Counters are whole numbers; gauge rates (e.g. queries per second) may be fractional.
|
|
16
|
+
path : Optional[str]
|
|
17
|
+
API endpoint path when broken down by `path`.
|
|
18
|
+
method : Optional[str]
|
|
19
|
+
HTTP method when broken down by `method`.
|
|
20
|
+
status : Optional[str]
|
|
21
|
+
HTTP status code when broken down by `status`.
|
|
22
|
+
service : Optional[str]
|
|
23
|
+
API service segment when broken down by `service`.
|
|
24
|
+
country : Optional[str]
|
|
25
|
+
Country code when broken down by `country`.
|
|
26
|
+
continentcode : Optional[str]
|
|
27
|
+
Continent code when broken down by `continentCode`.
|
|
28
|
+
city : Optional[str]
|
|
29
|
+
City name when broken down by `city`.
|
|
30
|
+
subdivisions : Optional[str]
|
|
31
|
+
Region/state chain when broken down by `subdivisions`.
|
|
32
|
+
isp : Optional[str]
|
|
33
|
+
Internet service provider when broken down by `isp`.
|
|
34
|
+
autonomoussystemnumber : Optional[str]
|
|
35
|
+
Autonomous System Number (ASN) when broken down by `autonomousSystemNumber`.
|
|
36
|
+
autonomoussystemorganization : Optional[str]
|
|
37
|
+
Organization owning the ASN when broken down by `autonomousSystemOrganization`.
|
|
38
|
+
connectiontype : Optional[str]
|
|
39
|
+
Connection type (e.g. cable, cellular, corporate) when broken down by `connectionType`.
|
|
40
|
+
connectionusagetype : Optional[str]
|
|
41
|
+
User type (e.g. residential, business, hosting) when broken down by `connectionUsageType`.
|
|
42
|
+
connectionorganization : Optional[str]
|
|
43
|
+
Registered organization of the IP when broken down by `connectionOrganization`.
|
|
44
|
+
region : Optional[str]
|
|
45
|
+
Appwrite region when broken down by `region`.
|
|
46
|
+
hostname : Optional[str]
|
|
47
|
+
Caller origin hostname when broken down by `hostname`.
|
|
48
|
+
ip : Optional[str]
|
|
49
|
+
Caller IP address when broken down by `ip`.
|
|
50
|
+
osname : Optional[str]
|
|
51
|
+
Operating system name when broken down by `osName`.
|
|
52
|
+
clienttype : Optional[str]
|
|
53
|
+
Client type when broken down by `clientType`.
|
|
54
|
+
clientname : Optional[str]
|
|
55
|
+
Client name when broken down by `clientName`.
|
|
56
|
+
sdk : Optional[str]
|
|
57
|
+
SDK name when broken down by `sdk`.
|
|
58
|
+
sdkversion : Optional[str]
|
|
59
|
+
SDK version when broken down by `sdkVersion`.
|
|
60
|
+
devicename : Optional[str]
|
|
61
|
+
Device classification when broken down by `deviceName`.
|
|
62
|
+
teamid : Optional[str]
|
|
63
|
+
Owning team ID when broken down by `teamId`.
|
|
64
|
+
resourceid : Optional[str]
|
|
65
|
+
External resource ID when broken down by `resourceId`.
|
|
66
|
+
resourcetype : Optional[str]
|
|
67
|
+
Resource type when broken down by `resourceType`.
|
|
68
|
+
ordinal : Optional[str]
|
|
69
|
+
Node ordinal when broken down by `ordinal`. A stable per-node identity, not a role: ordinal 0 is the first member created, and a failover can leave the primary on any ordinal. Read the role from the database's replicas endpoint.
|
|
70
|
+
"""
|
|
71
|
+
time: str = Field(..., alias='time')
|
|
72
|
+
value: float = Field(..., alias='value')
|
|
73
|
+
path: Optional[str] = Field(default=None, alias='path')
|
|
74
|
+
method: Optional[str] = Field(default=None, alias='method')
|
|
75
|
+
status: Optional[str] = Field(default=None, alias='status')
|
|
76
|
+
service: Optional[str] = Field(default=None, alias='service')
|
|
77
|
+
country: Optional[str] = Field(default=None, alias='country')
|
|
78
|
+
continentcode: Optional[str] = Field(default=None, alias='continentCode')
|
|
79
|
+
city: Optional[str] = Field(default=None, alias='city')
|
|
80
|
+
subdivisions: Optional[str] = Field(default=None, alias='subdivisions')
|
|
81
|
+
isp: Optional[str] = Field(default=None, alias='isp')
|
|
82
|
+
autonomoussystemnumber: Optional[str] = Field(default=None, alias='autonomousSystemNumber')
|
|
83
|
+
autonomoussystemorganization: Optional[str] = Field(default=None, alias='autonomousSystemOrganization')
|
|
84
|
+
connectiontype: Optional[str] = Field(default=None, alias='connectionType')
|
|
85
|
+
connectionusagetype: Optional[str] = Field(default=None, alias='connectionUsageType')
|
|
86
|
+
connectionorganization: Optional[str] = Field(default=None, alias='connectionOrganization')
|
|
87
|
+
region: Optional[str] = Field(default=None, alias='region')
|
|
88
|
+
hostname: Optional[str] = Field(default=None, alias='hostname')
|
|
89
|
+
ip: Optional[str] = Field(default=None, alias='ip')
|
|
90
|
+
osname: Optional[str] = Field(default=None, alias='osName')
|
|
91
|
+
clienttype: Optional[str] = Field(default=None, alias='clientType')
|
|
92
|
+
clientname: Optional[str] = Field(default=None, alias='clientName')
|
|
93
|
+
sdk: Optional[str] = Field(default=None, alias='sdk')
|
|
94
|
+
sdkversion: Optional[str] = Field(default=None, alias='sdkVersion')
|
|
95
|
+
devicename: Optional[str] = Field(default=None, alias='deviceName')
|
|
96
|
+
teamid: Optional[str] = Field(default=None, alias='teamId')
|
|
97
|
+
resourceid: Optional[str] = Field(default=None, alias='resourceId')
|
|
98
|
+
resourcetype: Optional[str] = Field(default=None, alias='resourceType')
|
|
99
|
+
ordinal: Optional[str] = Field(default=None, alias='ordinal')
|
|
@@ -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 .usage_metric import UsageMetric
|
|
6
|
+
|
|
7
|
+
class UsageEventList(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
usageEventList
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
interval : str
|
|
14
|
+
Time interval size (1h or 1d). Empty when the request omits `interval` — points then carry the request end time as their as-of marker.
|
|
15
|
+
metrics : List[UsageMetric]
|
|
16
|
+
One entry per requested metric, each carrying its own points[] time series (sums per bucket / dimension over time).
|
|
17
|
+
"""
|
|
18
|
+
interval: str = Field(..., alias='interval')
|
|
19
|
+
metrics: List[UsageMetric] = Field(..., alias='metrics')
|
|
@@ -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 .usage_metric import UsageMetric
|
|
6
|
+
|
|
7
|
+
class UsageGaugeList(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
usageGaugeList
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
interval : str
|
|
14
|
+
Time interval size (1h or 1d). Empty when the request omits `interval` — points then carry the request end time as their as-of marker.
|
|
15
|
+
metrics : List[UsageMetric]
|
|
16
|
+
One entry per requested metric, each carrying its own points[] time series (latest-snapshot per bucket / dimension via argMax over time).
|
|
17
|
+
"""
|
|
18
|
+
interval: str = Field(..., alias='interval')
|
|
19
|
+
metrics: List[UsageMetric] = Field(..., alias='metrics')
|
|
@@ -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 .usage_data_point import UsageDataPoint
|
|
6
|
+
|
|
7
|
+
class UsageMetric(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
usageMetric
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
metric : str
|
|
14
|
+
Metric key this series describes.
|
|
15
|
+
points : List[UsageDataPoint]
|
|
16
|
+
Data points for this metric, ordered by time ascending. With `interval`, each entry is one bucket; without, each entry is one row of the dimensional or aggregate breakdown.
|
|
17
|
+
"""
|
|
18
|
+
metric: str = Field(..., alias='metric')
|
|
19
|
+
points: List[UsageDataPoint] = Field(..., alias='points')
|
|
@@ -0,0 +1,104 @@
|
|
|
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 .usage_organization_project import UsageOrganizationProject
|
|
7
|
+
|
|
8
|
+
class UsageOrganization(AppwriteModel):
|
|
9
|
+
"""
|
|
10
|
+
Organization
|
|
11
|
+
|
|
12
|
+
Attributes
|
|
13
|
+
----------
|
|
14
|
+
bandwidth : List[Metric]
|
|
15
|
+
Aggregated stats for number of requests.
|
|
16
|
+
users : List[Metric]
|
|
17
|
+
Aggregated stats for consumed bandwidth.
|
|
18
|
+
executions : List[Metric]
|
|
19
|
+
Aggregated stats for function executions.
|
|
20
|
+
databasesreads : List[Metric]
|
|
21
|
+
Aggregated stats for database reads.
|
|
22
|
+
databaseswrites : List[Metric]
|
|
23
|
+
Aggregated stats for database writes.
|
|
24
|
+
imagetransformations : List[Metric]
|
|
25
|
+
Aggregated stats for file transformations.
|
|
26
|
+
imagetransformationstotal : float
|
|
27
|
+
Aggregated stats for total file transformations.
|
|
28
|
+
screenshotsgenerated : List[Metric]
|
|
29
|
+
Aggregated stats for file transformations.
|
|
30
|
+
screenshotsgeneratedtotal : float
|
|
31
|
+
Aggregated stats for total file transformations.
|
|
32
|
+
userstotal : float
|
|
33
|
+
Aggregated stats for total users.
|
|
34
|
+
executionstotal : float
|
|
35
|
+
Aggregated stats for total executions.
|
|
36
|
+
executionsmbsecondstotal : float
|
|
37
|
+
Aggregated stats for function executions in mb seconds.
|
|
38
|
+
buildsmbsecondstotal : float
|
|
39
|
+
Aggregated stats for function builds in mb seconds.
|
|
40
|
+
filesstoragetotal : float
|
|
41
|
+
Aggregated stats for total file storage.
|
|
42
|
+
buildsstoragetotal : float
|
|
43
|
+
Aggregated stats for total builds storage.
|
|
44
|
+
deploymentsstoragetotal : float
|
|
45
|
+
Aggregated stats for total deployments storage.
|
|
46
|
+
databasesstoragetotal : float
|
|
47
|
+
Aggregated stats for total databases storage.
|
|
48
|
+
databasesreadstotal : float
|
|
49
|
+
Aggregated stats for total databases reads.
|
|
50
|
+
databaseswritestotal : float
|
|
51
|
+
Aggregated stats for total databases writes.
|
|
52
|
+
backupsstoragetotal : float
|
|
53
|
+
Aggregated stats for total backups storage.
|
|
54
|
+
storagetotal : float
|
|
55
|
+
Aggregated stats for total storage.
|
|
56
|
+
authphonetotal : float
|
|
57
|
+
Aggregated stats for total auth phone.
|
|
58
|
+
authphoneestimate : float
|
|
59
|
+
Aggregated stats for total auth phone estimation.
|
|
60
|
+
projects : List[UsageOrganizationProject]
|
|
61
|
+
Aggregated stats for each projects.
|
|
62
|
+
realtimeconnections : List[Metric]
|
|
63
|
+
Aggregated stats for realtime connections.
|
|
64
|
+
realtimeconnectionstotal : float
|
|
65
|
+
Aggregated stats for total realtime connections.
|
|
66
|
+
realtimemessages : List[Metric]
|
|
67
|
+
Aggregated stats for realtime messages.
|
|
68
|
+
realtimemessagestotal : float
|
|
69
|
+
Aggregated stats for total realtime messages.
|
|
70
|
+
realtimebandwidth : List[Metric]
|
|
71
|
+
Aggregated stats for realtime bandwidth.
|
|
72
|
+
realtimebandwidthtotal : float
|
|
73
|
+
Aggregated stats for total realtime bandwidth.
|
|
74
|
+
"""
|
|
75
|
+
bandwidth: List[Metric] = Field(..., alias='bandwidth')
|
|
76
|
+
users: List[Metric] = Field(..., alias='users')
|
|
77
|
+
executions: List[Metric] = Field(..., alias='executions')
|
|
78
|
+
databasesreads: List[Metric] = Field(..., alias='databasesReads')
|
|
79
|
+
databaseswrites: List[Metric] = Field(..., alias='databasesWrites')
|
|
80
|
+
imagetransformations: List[Metric] = Field(..., alias='imageTransformations')
|
|
81
|
+
imagetransformationstotal: float = Field(..., alias='imageTransformationsTotal')
|
|
82
|
+
screenshotsgenerated: List[Metric] = Field(..., alias='screenshotsGenerated')
|
|
83
|
+
screenshotsgeneratedtotal: float = Field(..., alias='screenshotsGeneratedTotal')
|
|
84
|
+
userstotal: float = Field(..., alias='usersTotal')
|
|
85
|
+
executionstotal: float = Field(..., alias='executionsTotal')
|
|
86
|
+
executionsmbsecondstotal: float = Field(..., alias='executionsMBSecondsTotal')
|
|
87
|
+
buildsmbsecondstotal: float = Field(..., alias='buildsMBSecondsTotal')
|
|
88
|
+
filesstoragetotal: float = Field(..., alias='filesStorageTotal')
|
|
89
|
+
buildsstoragetotal: float = Field(..., alias='buildsStorageTotal')
|
|
90
|
+
deploymentsstoragetotal: float = Field(..., alias='deploymentsStorageTotal')
|
|
91
|
+
databasesstoragetotal: float = Field(..., alias='databasesStorageTotal')
|
|
92
|
+
databasesreadstotal: float = Field(..., alias='databasesReadsTotal')
|
|
93
|
+
databaseswritestotal: float = Field(..., alias='databasesWritesTotal')
|
|
94
|
+
backupsstoragetotal: float = Field(..., alias='backupsStorageTotal')
|
|
95
|
+
storagetotal: float = Field(..., alias='storageTotal')
|
|
96
|
+
authphonetotal: float = Field(..., alias='authPhoneTotal')
|
|
97
|
+
authphoneestimate: float = Field(..., alias='authPhoneEstimate')
|
|
98
|
+
projects: List[UsageOrganizationProject] = Field(..., alias='projects')
|
|
99
|
+
realtimeconnections: List[Metric] = Field(..., alias='realtimeConnections')
|
|
100
|
+
realtimeconnectionstotal: float = Field(..., alias='realtimeConnectionsTotal')
|
|
101
|
+
realtimemessages: List[Metric] = Field(..., alias='realtimeMessages')
|
|
102
|
+
realtimemessagestotal: float = Field(..., alias='realtimeMessagesTotal')
|
|
103
|
+
realtimebandwidth: List[Metric] = Field(..., alias='realtimeBandwidth')
|
|
104
|
+
realtimebandwidthtotal: float = Field(..., alias='realtimeBandwidthTotal')
|