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,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 PolicyPasswordStrength(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
Policy Password Strength
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
id : str
|
|
13
|
+
Policy ID.
|
|
14
|
+
min : float
|
|
15
|
+
Minimum password length required for user passwords.
|
|
16
|
+
uppercase : bool
|
|
17
|
+
Whether passwords must include at least one uppercase letter.
|
|
18
|
+
lowercase : bool
|
|
19
|
+
Whether passwords must include at least one lowercase letter.
|
|
20
|
+
number : bool
|
|
21
|
+
Whether passwords must include at least one number.
|
|
22
|
+
symbols : bool
|
|
23
|
+
Whether passwords must include at least one symbol.
|
|
24
|
+
"""
|
|
25
|
+
id: str = Field(..., alias='$id')
|
|
26
|
+
min: float = Field(..., alias='min')
|
|
27
|
+
uppercase: bool = Field(..., alias='uppercase')
|
|
28
|
+
lowercase: bool = Field(..., alias='lowercase')
|
|
29
|
+
number: bool = Field(..., alias='number')
|
|
30
|
+
symbols: bool = Field(..., alias='symbols')
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Optional, Union, cast
|
|
2
|
+
from pydantic import Field, PrivateAttr
|
|
3
|
+
|
|
4
|
+
from .base_model import AppwriteModel
|
|
5
|
+
|
|
6
|
+
class PolicySessionAlert(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
Policy Session Alert
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
id : str
|
|
13
|
+
Policy ID.
|
|
14
|
+
enabled : bool
|
|
15
|
+
Whether session alert policy is enabled.
|
|
16
|
+
"""
|
|
17
|
+
id: str = Field(..., alias='$id')
|
|
18
|
+
enabled: bool = Field(..., alias='enabled')
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Optional, Union, cast
|
|
2
|
+
from pydantic import Field, PrivateAttr
|
|
3
|
+
|
|
4
|
+
from .base_model import AppwriteModel
|
|
5
|
+
|
|
6
|
+
class PolicySessionDuration(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
Policy Session Duration
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
id : str
|
|
13
|
+
Policy ID.
|
|
14
|
+
duration : float
|
|
15
|
+
Session duration in seconds.
|
|
16
|
+
"""
|
|
17
|
+
id: str = Field(..., alias='$id')
|
|
18
|
+
duration: float = Field(..., alias='duration')
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Optional, Union, cast
|
|
2
|
+
from pydantic import Field, PrivateAttr
|
|
3
|
+
|
|
4
|
+
from .base_model import AppwriteModel
|
|
5
|
+
|
|
6
|
+
class PolicySessionInvalidation(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
Policy Session Invalidation
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
id : str
|
|
13
|
+
Policy ID.
|
|
14
|
+
enabled : bool
|
|
15
|
+
Whether session invalidation policy is enabled.
|
|
16
|
+
"""
|
|
17
|
+
id: str = Field(..., alias='$id')
|
|
18
|
+
enabled: bool = Field(..., alias='enabled')
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Optional, Union, cast
|
|
2
|
+
from pydantic import Field, PrivateAttr
|
|
3
|
+
|
|
4
|
+
from .base_model import AppwriteModel
|
|
5
|
+
|
|
6
|
+
class PolicySessionLimit(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
Policy Session Limit
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
id : str
|
|
13
|
+
Policy ID.
|
|
14
|
+
total : float
|
|
15
|
+
Maximum number of sessions allowed per user. A value of 0 means the policy is disabled.
|
|
16
|
+
"""
|
|
17
|
+
id: str = Field(..., alias='$id')
|
|
18
|
+
total: float = Field(..., alias='total')
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Optional, Union, cast
|
|
2
|
+
from pydantic import Field, PrivateAttr
|
|
3
|
+
|
|
4
|
+
from .base_model import AppwriteModel
|
|
5
|
+
|
|
6
|
+
class PolicyUserLimit(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
Policy User Limit
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
id : str
|
|
13
|
+
Policy ID.
|
|
14
|
+
total : float
|
|
15
|
+
Maximum number of users allowed in the project. A value of 0 means the policy is disabled.
|
|
16
|
+
"""
|
|
17
|
+
id: str = Field(..., alias='$id')
|
|
18
|
+
total: float = Field(..., alias='total')
|
|
@@ -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 PostgresExtension(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
Postgres extension
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
key : str
|
|
13
|
+
Extension key used with CREATE EXTENSION.
|
|
14
|
+
name : str
|
|
15
|
+
Human-readable extension name.
|
|
16
|
+
description : str
|
|
17
|
+
Short description of what the extension provides.
|
|
18
|
+
category : str
|
|
19
|
+
Category the extension belongs to.
|
|
20
|
+
"""
|
|
21
|
+
key: str = Field(..., alias='key')
|
|
22
|
+
name: str = Field(..., alias='name')
|
|
23
|
+
description: str = Field(..., alias='description')
|
|
24
|
+
category: str = Field(..., alias='category')
|
|
@@ -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 .postgres_extension import PostgresExtension
|
|
6
|
+
|
|
7
|
+
class PostgresExtensionList(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
Postgres extensions list
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
total : float
|
|
14
|
+
Total number of extensions that matched your query.
|
|
15
|
+
extensions : List[PostgresExtension]
|
|
16
|
+
List of extensions.
|
|
17
|
+
"""
|
|
18
|
+
total: float = Field(..., alias='total')
|
|
19
|
+
extensions: List[PostgresExtension] = Field(..., alias='extensions')
|
|
@@ -0,0 +1,52 @@
|
|
|
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
|
+
|
|
6
|
+
T = TypeVar('T')
|
|
7
|
+
|
|
8
|
+
class Preferences(AppwriteModel, Generic[T]):
|
|
9
|
+
"""
|
|
10
|
+
Preferences
|
|
11
|
+
"""
|
|
12
|
+
pass
|
|
13
|
+
|
|
14
|
+
@classmethod
|
|
15
|
+
def with_data(cls, data: Dict[str, Any], model_type: Type[T] = dict) -> 'Preferences[T]':
|
|
16
|
+
"""Create Preferences instance with typed data."""
|
|
17
|
+
user_data = dict(data)
|
|
18
|
+
instance = cls.model_validate({})
|
|
19
|
+
instance._data = model_type(**user_data) if model_type is not dict else user_data
|
|
20
|
+
return instance
|
|
21
|
+
|
|
22
|
+
_data: Any = PrivateAttr(default_factory=dict)
|
|
23
|
+
|
|
24
|
+
@property
|
|
25
|
+
def data(self) -> T:
|
|
26
|
+
return cast(T, self._data)
|
|
27
|
+
|
|
28
|
+
@data.setter
|
|
29
|
+
def data(self, value: T) -> None:
|
|
30
|
+
object.__setattr__(self, '_data', value)
|
|
31
|
+
|
|
32
|
+
def model_dump(self, **kwargs) -> Dict[str, Any]:
|
|
33
|
+
result = super().model_dump(**kwargs)
|
|
34
|
+
if hasattr(self, '_data'):
|
|
35
|
+
if isinstance(self._data, dict):
|
|
36
|
+
result['data'] = self._data
|
|
37
|
+
elif hasattr(self._data, 'model_dump'):
|
|
38
|
+
result['data'] = self._data.model_dump(**kwargs)
|
|
39
|
+
else:
|
|
40
|
+
result['data'] = self._data
|
|
41
|
+
return result
|
|
42
|
+
|
|
43
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
44
|
+
result = super().to_dict()
|
|
45
|
+
if hasattr(self, '_data'):
|
|
46
|
+
if isinstance(self._data, dict):
|
|
47
|
+
result['data'] = self._data
|
|
48
|
+
elif hasattr(self._data, 'model_dump'):
|
|
49
|
+
result['data'] = self._data.model_dump(mode='json')
|
|
50
|
+
else:
|
|
51
|
+
result['data'] = self._data
|
|
52
|
+
return result
|
|
@@ -0,0 +1,39 @@
|
|
|
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 Presence(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
Presence
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
id : str
|
|
13
|
+
Presence ID.
|
|
14
|
+
createdat : str
|
|
15
|
+
Presence creation date in ISO 8601 format.
|
|
16
|
+
updatedat : str
|
|
17
|
+
Presence update date in ISO 8601 format.
|
|
18
|
+
permissions : List[Any]
|
|
19
|
+
Presence permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).
|
|
20
|
+
userid : str
|
|
21
|
+
User ID.
|
|
22
|
+
status : Optional[str]
|
|
23
|
+
Presence status.
|
|
24
|
+
source : str
|
|
25
|
+
Presence source.
|
|
26
|
+
expiresat : Optional[str]
|
|
27
|
+
Presence expiry date in ISO 8601 format.
|
|
28
|
+
metadata : Optional[Dict[str, Any]]
|
|
29
|
+
Presence metadata.
|
|
30
|
+
"""
|
|
31
|
+
id: str = Field(..., alias='$id')
|
|
32
|
+
createdat: str = Field(..., alias='$createdAt')
|
|
33
|
+
updatedat: str = Field(..., alias='$updatedAt')
|
|
34
|
+
permissions: List[Any] = Field(..., alias='$permissions')
|
|
35
|
+
userid: str = Field(..., alias='userId')
|
|
36
|
+
status: Optional[str] = Field(default=None, alias='status')
|
|
37
|
+
source: str = Field(..., alias='source')
|
|
38
|
+
expiresat: Optional[str] = Field(default=None, alias='expiresAt')
|
|
39
|
+
metadata: Optional[Dict[str, Any]] = Field(default=None, alias='metadata')
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Optional, Union, cast
|
|
2
|
+
from pydantic import Field, PrivateAttr
|
|
3
|
+
|
|
4
|
+
from .base_model import AppwriteModel
|
|
5
|
+
from .presence import Presence
|
|
6
|
+
|
|
7
|
+
class PresenceList(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
Presences List
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
total : float
|
|
14
|
+
Total number of presences that matched your query.
|
|
15
|
+
presences : List[Presence]
|
|
16
|
+
List of presences.
|
|
17
|
+
"""
|
|
18
|
+
total: float = Field(..., alias='total')
|
|
19
|
+
presences: List[Presence] = Field(..., alias='presences')
|
|
@@ -0,0 +1,39 @@
|
|
|
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 Program(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
Program
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
id : str
|
|
13
|
+
Program ID
|
|
14
|
+
title : str
|
|
15
|
+
Program title
|
|
16
|
+
description : str
|
|
17
|
+
Program description
|
|
18
|
+
tag : str
|
|
19
|
+
Program tag for highlighting on console
|
|
20
|
+
icon : str
|
|
21
|
+
Program icon for highlighting on console
|
|
22
|
+
url : str
|
|
23
|
+
URL for more information on this program
|
|
24
|
+
active : bool
|
|
25
|
+
Whether this program is active
|
|
26
|
+
external : bool
|
|
27
|
+
Whether this program is external
|
|
28
|
+
billingplanid : str
|
|
29
|
+
Billing plan ID that this is program is associated with.
|
|
30
|
+
"""
|
|
31
|
+
id: str = Field(..., alias='$id')
|
|
32
|
+
title: str = Field(..., alias='title')
|
|
33
|
+
description: str = Field(..., alias='description')
|
|
34
|
+
tag: str = Field(..., alias='tag')
|
|
35
|
+
icon: str = Field(..., alias='icon')
|
|
36
|
+
url: str = Field(..., alias='url')
|
|
37
|
+
active: bool = Field(..., alias='active')
|
|
38
|
+
external: bool = Field(..., alias='external')
|
|
39
|
+
billingplanid: str = Field(..., alias='billingPlanId')
|
|
@@ -0,0 +1,153 @@
|
|
|
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 .dev_key import DevKey
|
|
6
|
+
from .project_auth_method import ProjectAuthMethod
|
|
7
|
+
from .project_service import ProjectService
|
|
8
|
+
from .project_protocol import ProjectProtocol
|
|
9
|
+
from .block import Block
|
|
10
|
+
from .billing_limits import BillingLimits
|
|
11
|
+
|
|
12
|
+
class Project(AppwriteModel):
|
|
13
|
+
"""
|
|
14
|
+
Project
|
|
15
|
+
|
|
16
|
+
Attributes
|
|
17
|
+
----------
|
|
18
|
+
id : str
|
|
19
|
+
Project ID.
|
|
20
|
+
createdat : str
|
|
21
|
+
Project creation date in ISO 8601 format.
|
|
22
|
+
updatedat : str
|
|
23
|
+
Project update date in ISO 8601 format.
|
|
24
|
+
name : str
|
|
25
|
+
Project name.
|
|
26
|
+
teamid : str
|
|
27
|
+
Project team ID.
|
|
28
|
+
region : str
|
|
29
|
+
Project region
|
|
30
|
+
devkeys : List[DevKey]
|
|
31
|
+
Deprecated since 1.9.5: List of dev keys.
|
|
32
|
+
smtpenabled : bool
|
|
33
|
+
Status for custom SMTP
|
|
34
|
+
smtpsendername : str
|
|
35
|
+
SMTP sender name
|
|
36
|
+
smtpsenderemail : str
|
|
37
|
+
SMTP sender email
|
|
38
|
+
smtpreplytoname : str
|
|
39
|
+
SMTP reply to name
|
|
40
|
+
smtpreplytoemail : str
|
|
41
|
+
SMTP reply to email
|
|
42
|
+
smtphost : str
|
|
43
|
+
SMTP server host name
|
|
44
|
+
smtpport : float
|
|
45
|
+
SMTP server port
|
|
46
|
+
smtpusername : str
|
|
47
|
+
SMTP server username
|
|
48
|
+
smtppassword : str
|
|
49
|
+
SMTP server password. This property is write-only and always returned empty.
|
|
50
|
+
smtpsecure : str
|
|
51
|
+
SMTP server secure protocol
|
|
52
|
+
pingcount : float
|
|
53
|
+
Number of times the ping was received for this project.
|
|
54
|
+
pingedat : str
|
|
55
|
+
Last ping datetime in ISO 8601 format.
|
|
56
|
+
labels : List[Any]
|
|
57
|
+
Labels for the project.
|
|
58
|
+
status : str
|
|
59
|
+
Project status
|
|
60
|
+
onboarding : Dict[str, Any]
|
|
61
|
+
Stage progress (completed or skipped) with timestamps and actor types, keyed by stage id.
|
|
62
|
+
authmethods : List[ProjectAuthMethod]
|
|
63
|
+
List of auth methods.
|
|
64
|
+
services : List[ProjectService]
|
|
65
|
+
List of services.
|
|
66
|
+
protocols : List[ProjectProtocol]
|
|
67
|
+
List of protocols.
|
|
68
|
+
blocks : List[Block]
|
|
69
|
+
Project blocks information
|
|
70
|
+
consoleaccessedat : str
|
|
71
|
+
Last time the project was accessed via console. Used with plan's projectInactivityDays to determine if project is paused.
|
|
72
|
+
wafenabled : bool
|
|
73
|
+
Whether WAF enforcement is enabled for the project.
|
|
74
|
+
billinglimits : Optional[BillingLimits]
|
|
75
|
+
Billing limits reached
|
|
76
|
+
oauth2serverenabled : Optional[bool]
|
|
77
|
+
OAuth2 server status
|
|
78
|
+
oauth2serverauthorizationurl : Optional[str]
|
|
79
|
+
OAuth2 server authorization URL
|
|
80
|
+
oauth2serverscopes : Optional[List[Any]]
|
|
81
|
+
OAuth2 server allowed scopes
|
|
82
|
+
oauth2serverdefaultscopes : Optional[List[Any]]
|
|
83
|
+
OAuth2 server scopes used when an authorization request omits the scope parameter
|
|
84
|
+
oauth2serverauthorizationdetailstypes : Optional[List[Any]]
|
|
85
|
+
OAuth2 server accepted RFC 9396 authorization_details types
|
|
86
|
+
oauth2serveraccesstokenduration : Optional[float]
|
|
87
|
+
OAuth2 server access token duration in seconds for confidential clients
|
|
88
|
+
oauth2serverrefreshtokenduration : Optional[float]
|
|
89
|
+
OAuth2 server refresh token duration in seconds for confidential clients
|
|
90
|
+
oauth2serverpublicaccesstokenduration : Optional[float]
|
|
91
|
+
OAuth2 server access token duration in seconds for public clients (SPAs, mobile, native)
|
|
92
|
+
oauth2serverpublicrefreshtokenduration : Optional[float]
|
|
93
|
+
OAuth2 server refresh token duration in seconds for public clients (SPAs, mobile, native)
|
|
94
|
+
oauth2serverinstallationaccesstokenduration : Optional[float]
|
|
95
|
+
OAuth2 server access token duration in seconds for app installation access tokens
|
|
96
|
+
oauth2serverconfidentialpkce : Optional[bool]
|
|
97
|
+
When enabled, PKCE is required for confidential clients (server-side flows using client_secret). PKCE is always required for public clients regardless of this setting.
|
|
98
|
+
oauth2serververificationurl : Optional[str]
|
|
99
|
+
URL to your application page where users enter the device flow user code. Empty when the Device Authorization Grant is not configured.
|
|
100
|
+
oauth2serverusercodelength : Optional[float]
|
|
101
|
+
Number of characters in the device flow user code, excluding the formatting separator.
|
|
102
|
+
oauth2serverusercodeformat : Optional[str]
|
|
103
|
+
Character set for device flow user codes: `numeric`, `alphabetic`, or `alphanumeric`.
|
|
104
|
+
oauth2serverdevicecodeduration : Optional[float]
|
|
105
|
+
Lifetime in seconds of device flow device codes and user codes.
|
|
106
|
+
oauth2serverdiscoveryurl : Optional[str]
|
|
107
|
+
OAuth2 server discovery URL
|
|
108
|
+
"""
|
|
109
|
+
id: str = Field(..., alias='$id')
|
|
110
|
+
createdat: str = Field(..., alias='$createdAt')
|
|
111
|
+
updatedat: str = Field(..., alias='$updatedAt')
|
|
112
|
+
name: str = Field(..., alias='name')
|
|
113
|
+
teamid: str = Field(..., alias='teamId')
|
|
114
|
+
region: str = Field(..., alias='region')
|
|
115
|
+
devkeys: List[DevKey] = Field(..., alias='devKeys')
|
|
116
|
+
smtpenabled: bool = Field(..., alias='smtpEnabled')
|
|
117
|
+
smtpsendername: str = Field(..., alias='smtpSenderName')
|
|
118
|
+
smtpsenderemail: str = Field(..., alias='smtpSenderEmail')
|
|
119
|
+
smtpreplytoname: str = Field(..., alias='smtpReplyToName')
|
|
120
|
+
smtpreplytoemail: str = Field(..., alias='smtpReplyToEmail')
|
|
121
|
+
smtphost: str = Field(..., alias='smtpHost')
|
|
122
|
+
smtpport: float = Field(..., alias='smtpPort')
|
|
123
|
+
smtpusername: str = Field(..., alias='smtpUsername')
|
|
124
|
+
smtppassword: str = Field(..., alias='smtpPassword')
|
|
125
|
+
smtpsecure: str = Field(..., alias='smtpSecure')
|
|
126
|
+
pingcount: float = Field(..., alias='pingCount')
|
|
127
|
+
pingedat: str = Field(..., alias='pingedAt')
|
|
128
|
+
labels: List[Any] = Field(..., alias='labels')
|
|
129
|
+
status: str = Field(..., alias='status')
|
|
130
|
+
onboarding: Dict[str, Any] = Field(..., alias='onboarding')
|
|
131
|
+
authmethods: List[ProjectAuthMethod] = Field(..., alias='authMethods')
|
|
132
|
+
services: List[ProjectService] = Field(..., alias='services')
|
|
133
|
+
protocols: List[ProjectProtocol] = Field(..., alias='protocols')
|
|
134
|
+
blocks: List[Block] = Field(..., alias='blocks')
|
|
135
|
+
consoleaccessedat: str = Field(..., alias='consoleAccessedAt')
|
|
136
|
+
wafenabled: bool = Field(..., alias='wafEnabled')
|
|
137
|
+
billinglimits: Optional[BillingLimits] = Field(default=None, alias='billingLimits')
|
|
138
|
+
oauth2serverenabled: Optional[bool] = Field(default=None, alias='oAuth2ServerEnabled')
|
|
139
|
+
oauth2serverauthorizationurl: Optional[str] = Field(default=None, alias='oAuth2ServerAuthorizationUrl')
|
|
140
|
+
oauth2serverscopes: Optional[List[Any]] = Field(default=None, alias='oAuth2ServerScopes')
|
|
141
|
+
oauth2serverdefaultscopes: Optional[List[Any]] = Field(default=None, alias='oAuth2ServerDefaultScopes')
|
|
142
|
+
oauth2serverauthorizationdetailstypes: Optional[List[Any]] = Field(default=None, alias='oAuth2ServerAuthorizationDetailsTypes')
|
|
143
|
+
oauth2serveraccesstokenduration: Optional[float] = Field(default=None, alias='oAuth2ServerAccessTokenDuration')
|
|
144
|
+
oauth2serverrefreshtokenduration: Optional[float] = Field(default=None, alias='oAuth2ServerRefreshTokenDuration')
|
|
145
|
+
oauth2serverpublicaccesstokenduration: Optional[float] = Field(default=None, alias='oAuth2ServerPublicAccessTokenDuration')
|
|
146
|
+
oauth2serverpublicrefreshtokenduration: Optional[float] = Field(default=None, alias='oAuth2ServerPublicRefreshTokenDuration')
|
|
147
|
+
oauth2serverinstallationaccesstokenduration: Optional[float] = Field(default=None, alias='oAuth2ServerInstallationAccessTokenDuration')
|
|
148
|
+
oauth2serverconfidentialpkce: Optional[bool] = Field(default=None, alias='oAuth2ServerConfidentialPkce')
|
|
149
|
+
oauth2serververificationurl: Optional[str] = Field(default=None, alias='oAuth2ServerVerificationUrl')
|
|
150
|
+
oauth2serverusercodelength: Optional[float] = Field(default=None, alias='oAuth2ServerUserCodeLength')
|
|
151
|
+
oauth2serverusercodeformat: Optional[str] = Field(default=None, alias='oAuth2ServerUserCodeFormat')
|
|
152
|
+
oauth2serverdevicecodeduration: Optional[float] = Field(default=None, alias='oAuth2ServerDeviceCodeDuration')
|
|
153
|
+
oauth2serverdiscoveryurl: Optional[str] = Field(default=None, alias='oAuth2ServerDiscoveryUrl')
|
|
@@ -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 ..enums.project_auth_method_id import ProjectAuthMethodId
|
|
6
|
+
|
|
7
|
+
class ProjectAuthMethod(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
ProjectAuthMethod
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
id : ProjectAuthMethodId
|
|
14
|
+
Auth method ID.
|
|
15
|
+
enabled : bool
|
|
16
|
+
Auth method status.
|
|
17
|
+
"""
|
|
18
|
+
id: ProjectAuthMethodId = Field(..., alias='$id')
|
|
19
|
+
enabled: bool = Field(..., alias='enabled')
|
|
@@ -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 .project import Project
|
|
6
|
+
|
|
7
|
+
class ProjectList(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
Projects List
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
total : float
|
|
14
|
+
Total number of projects that matched your query.
|
|
15
|
+
projects : List[Project]
|
|
16
|
+
List of projects.
|
|
17
|
+
"""
|
|
18
|
+
total: float = Field(..., alias='total')
|
|
19
|
+
projects: List[Project] = Field(..., alias='projects')
|
|
@@ -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 ..enums.project_protocol_id import ProjectProtocolId
|
|
6
|
+
|
|
7
|
+
class ProjectProtocol(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
ProjectProtocol
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
id : ProjectProtocolId
|
|
14
|
+
Protocol ID.
|
|
15
|
+
enabled : bool
|
|
16
|
+
Protocol status.
|
|
17
|
+
"""
|
|
18
|
+
id: ProjectProtocolId = Field(..., alias='$id')
|
|
19
|
+
enabled: bool = Field(..., alias='enabled')
|
|
@@ -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 ..enums.project_service_id import ProjectServiceId
|
|
6
|
+
|
|
7
|
+
class ProjectService(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
ProjectService
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
id : ProjectServiceId
|
|
14
|
+
Service ID.
|
|
15
|
+
enabled : bool
|
|
16
|
+
Service status.
|
|
17
|
+
"""
|
|
18
|
+
id: ProjectServiceId = Field(..., alias='$id')
|
|
19
|
+
enabled: bool = Field(..., alias='enabled')
|
|
@@ -0,0 +1,39 @@
|
|
|
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 Provider(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
Provider
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
id : str
|
|
13
|
+
Provider ID.
|
|
14
|
+
createdat : str
|
|
15
|
+
Provider creation time in ISO 8601 format.
|
|
16
|
+
updatedat : str
|
|
17
|
+
Provider update date in ISO 8601 format.
|
|
18
|
+
name : str
|
|
19
|
+
The name for the provider instance.
|
|
20
|
+
provider : str
|
|
21
|
+
The name of the provider service.
|
|
22
|
+
enabled : bool
|
|
23
|
+
Is provider enabled?
|
|
24
|
+
type : str
|
|
25
|
+
Type of provider.
|
|
26
|
+
credentials : Dict[str, Any]
|
|
27
|
+
Provider credentials.
|
|
28
|
+
options : Optional[Dict[str, Any]]
|
|
29
|
+
Provider options.
|
|
30
|
+
"""
|
|
31
|
+
id: str = Field(..., alias='$id')
|
|
32
|
+
createdat: str = Field(..., alias='$createdAt')
|
|
33
|
+
updatedat: str = Field(..., alias='$updatedAt')
|
|
34
|
+
name: str = Field(..., alias='name')
|
|
35
|
+
provider: str = Field(..., alias='provider')
|
|
36
|
+
enabled: bool = Field(..., alias='enabled')
|
|
37
|
+
type: str = Field(..., alias='type')
|
|
38
|
+
credentials: Dict[str, Any] = Field(..., alias='credentials')
|
|
39
|
+
options: Optional[Dict[str, Any]] = Field(default=None, alias='options')
|
|
@@ -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 .provider import Provider
|
|
6
|
+
|
|
7
|
+
class ProviderList(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
Provider list
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
total : float
|
|
14
|
+
Total number of providers that matched your query.
|
|
15
|
+
providers : List[Provider]
|
|
16
|
+
List of providers.
|
|
17
|
+
"""
|
|
18
|
+
total: float = Field(..., alias='total')
|
|
19
|
+
providers: List[Provider] = Field(..., alias='providers')
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Optional, Union, cast
|
|
2
|
+
from pydantic import Field, PrivateAttr
|
|
3
|
+
|
|
4
|
+
from .base_model import AppwriteModel
|
|
5
|
+
|
|
6
|
+
class ProviderRepository(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
ProviderRepository
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
id : str
|
|
13
|
+
VCS (Version Control System) repository ID.
|
|
14
|
+
name : str
|
|
15
|
+
VCS (Version Control System) repository name.
|
|
16
|
+
organization : str
|
|
17
|
+
VCS (Version Control System) organization name
|
|
18
|
+
provider : str
|
|
19
|
+
VCS (Version Control System) provider name.
|
|
20
|
+
private : bool
|
|
21
|
+
Is VCS (Version Control System) repository private?
|
|
22
|
+
defaultbranch : str
|
|
23
|
+
VCS (Version Control System) repository's default branch name.
|
|
24
|
+
providerinstallationid : str
|
|
25
|
+
VCS (Version Control System) installation ID.
|
|
26
|
+
authorized : bool
|
|
27
|
+
Is VCS (Version Control System) repository authorized for the installation?
|
|
28
|
+
pushedat : str
|
|
29
|
+
Last commit date in ISO 8601 format.
|
|
30
|
+
variables : List[Any]
|
|
31
|
+
Environment variables found in .env files
|
|
32
|
+
"""
|
|
33
|
+
id: str = Field(..., alias='id')
|
|
34
|
+
name: str = Field(..., alias='name')
|
|
35
|
+
organization: str = Field(..., alias='organization')
|
|
36
|
+
provider: str = Field(..., alias='provider')
|
|
37
|
+
private: bool = Field(..., alias='private')
|
|
38
|
+
defaultbranch: str = Field(..., alias='defaultBranch')
|
|
39
|
+
providerinstallationid: str = Field(..., alias='providerInstallationId')
|
|
40
|
+
authorized: bool = Field(..., alias='authorized')
|
|
41
|
+
pushedat: str = Field(..., alias='pushedAt')
|
|
42
|
+
variables: List[Any] = Field(..., alias='variables')
|