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,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 Session(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
Session
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
id : str
|
|
13
|
+
Session ID.
|
|
14
|
+
createdat : str
|
|
15
|
+
Session creation date in ISO 8601 format.
|
|
16
|
+
updatedat : str
|
|
17
|
+
Session update date in ISO 8601 format.
|
|
18
|
+
userid : str
|
|
19
|
+
User ID.
|
|
20
|
+
expire : str
|
|
21
|
+
Session expiration date in ISO 8601 format.
|
|
22
|
+
provider : str
|
|
23
|
+
Session Provider.
|
|
24
|
+
provideruid : str
|
|
25
|
+
Session Provider User ID.
|
|
26
|
+
provideraccesstoken : str
|
|
27
|
+
Session Provider Access Token.
|
|
28
|
+
provideraccesstokenexpiry : str
|
|
29
|
+
The date of when the access token expires in ISO 8601 format.
|
|
30
|
+
providerrefreshtoken : str
|
|
31
|
+
Session Provider Refresh Token.
|
|
32
|
+
ip : str
|
|
33
|
+
IP in use when the session was created.
|
|
34
|
+
oscode : str
|
|
35
|
+
Operating system code name. View list of [available options](https://github.com/appwrite/appwrite/blob/master/docs/lists/os.json).
|
|
36
|
+
osname : str
|
|
37
|
+
Operating system name.
|
|
38
|
+
osversion : str
|
|
39
|
+
Operating system version.
|
|
40
|
+
clienttype : str
|
|
41
|
+
Client type.
|
|
42
|
+
clientcode : str
|
|
43
|
+
Client code name. View list of [available options](https://github.com/appwrite/appwrite/blob/master/docs/lists/clients.json).
|
|
44
|
+
clientname : str
|
|
45
|
+
Client name.
|
|
46
|
+
clientversion : str
|
|
47
|
+
Client version.
|
|
48
|
+
clientengine : str
|
|
49
|
+
Client engine name.
|
|
50
|
+
clientengineversion : str
|
|
51
|
+
Client engine name.
|
|
52
|
+
devicename : str
|
|
53
|
+
Device name.
|
|
54
|
+
devicebrand : str
|
|
55
|
+
Device brand name.
|
|
56
|
+
devicemodel : str
|
|
57
|
+
Device model name.
|
|
58
|
+
countrycode : str
|
|
59
|
+
Country two-character ISO 3166-1 alpha code.
|
|
60
|
+
countryname : str
|
|
61
|
+
Country name.
|
|
62
|
+
current : bool
|
|
63
|
+
Returns true if this the current user session.
|
|
64
|
+
factors : List[Any]
|
|
65
|
+
Returns a list of active session factors.
|
|
66
|
+
secret : str
|
|
67
|
+
Secret used to authenticate the user. Only included if the request was made with an API key
|
|
68
|
+
mfaupdatedat : str
|
|
69
|
+
Most recent date in ISO 8601 format when the session successfully passed MFA challenge.
|
|
70
|
+
"""
|
|
71
|
+
id: str = Field(..., alias='$id')
|
|
72
|
+
createdat: str = Field(..., alias='$createdAt')
|
|
73
|
+
updatedat: str = Field(..., alias='$updatedAt')
|
|
74
|
+
userid: str = Field(..., alias='userId')
|
|
75
|
+
expire: str = Field(..., alias='expire')
|
|
76
|
+
provider: str = Field(..., alias='provider')
|
|
77
|
+
provideruid: str = Field(..., alias='providerUid')
|
|
78
|
+
provideraccesstoken: str = Field(..., alias='providerAccessToken')
|
|
79
|
+
provideraccesstokenexpiry: str = Field(..., alias='providerAccessTokenExpiry')
|
|
80
|
+
providerrefreshtoken: str = Field(..., alias='providerRefreshToken')
|
|
81
|
+
ip: str = Field(..., alias='ip')
|
|
82
|
+
oscode: str = Field(..., alias='osCode')
|
|
83
|
+
osname: str = Field(..., alias='osName')
|
|
84
|
+
osversion: str = Field(..., alias='osVersion')
|
|
85
|
+
clienttype: str = Field(..., alias='clientType')
|
|
86
|
+
clientcode: str = Field(..., alias='clientCode')
|
|
87
|
+
clientname: str = Field(..., alias='clientName')
|
|
88
|
+
clientversion: str = Field(..., alias='clientVersion')
|
|
89
|
+
clientengine: str = Field(..., alias='clientEngine')
|
|
90
|
+
clientengineversion: str = Field(..., alias='clientEngineVersion')
|
|
91
|
+
devicename: str = Field(..., alias='deviceName')
|
|
92
|
+
devicebrand: str = Field(..., alias='deviceBrand')
|
|
93
|
+
devicemodel: str = Field(..., alias='deviceModel')
|
|
94
|
+
countrycode: str = Field(..., alias='countryCode')
|
|
95
|
+
countryname: str = Field(..., alias='countryName')
|
|
96
|
+
current: bool = Field(..., alias='current')
|
|
97
|
+
factors: List[Any] = Field(..., alias='factors')
|
|
98
|
+
secret: str = Field(..., alias='secret')
|
|
99
|
+
mfaupdatedat: str = Field(..., alias='mfaUpdatedAt')
|
|
@@ -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 .session import Session
|
|
6
|
+
|
|
7
|
+
class SessionList(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
Sessions List
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
total : float
|
|
14
|
+
Total number of sessions that matched your query.
|
|
15
|
+
sessions : List[Session]
|
|
16
|
+
List of sessions.
|
|
17
|
+
"""
|
|
18
|
+
total: float = Field(..., alias='total')
|
|
19
|
+
sessions: List[Session] = Field(..., alias='sessions')
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Optional, Union, cast
|
|
2
|
+
from pydantic import Field, PrivateAttr
|
|
3
|
+
|
|
4
|
+
from .base_model import AppwriteModel
|
|
5
|
+
from .variable import Variable
|
|
6
|
+
|
|
7
|
+
class Site(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
Site
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
id : str
|
|
14
|
+
Site ID.
|
|
15
|
+
createdat : str
|
|
16
|
+
Site creation date in ISO 8601 format.
|
|
17
|
+
updatedat : str
|
|
18
|
+
Site update date in ISO 8601 format.
|
|
19
|
+
name : str
|
|
20
|
+
Site name.
|
|
21
|
+
enabled : bool
|
|
22
|
+
Site enabled.
|
|
23
|
+
live : bool
|
|
24
|
+
Is the site deployed with the latest configuration? This is set to false if you've changed an environment variables, entrypoint, commands, or other settings that needs redeploy to be applied. When the value is false, redeploy the site to update it with the latest configuration.
|
|
25
|
+
logging : bool
|
|
26
|
+
When disabled, request logs will exclude logs and errors, and site responses will be slightly faster.
|
|
27
|
+
framework : str
|
|
28
|
+
Site framework.
|
|
29
|
+
deploymentretention : float
|
|
30
|
+
How many days to keep the non-active deployments before they will be automatically deleted.
|
|
31
|
+
deploymentid : str
|
|
32
|
+
Site's active deployment ID.
|
|
33
|
+
deploymentcreatedat : str
|
|
34
|
+
Active deployment creation date in ISO 8601 format.
|
|
35
|
+
deploymentscreenshotlight : str
|
|
36
|
+
Screenshot of active deployment with light theme preference file ID.
|
|
37
|
+
deploymentscreenshotdark : str
|
|
38
|
+
Screenshot of active deployment with dark theme preference file ID.
|
|
39
|
+
latestdeploymentid : str
|
|
40
|
+
Site's latest deployment ID.
|
|
41
|
+
latestdeploymentcreatedat : str
|
|
42
|
+
Latest deployment creation date in ISO 8601 format.
|
|
43
|
+
latestdeploymentstatus : str
|
|
44
|
+
Status of latest deployment. Possible values are "waiting", "processing", "building", "ready", and "failed".
|
|
45
|
+
vars : List[Variable]
|
|
46
|
+
Site variables.
|
|
47
|
+
timeout : float
|
|
48
|
+
Site request timeout in seconds.
|
|
49
|
+
installcommand : str
|
|
50
|
+
The install command used to install the site dependencies.
|
|
51
|
+
buildcommand : str
|
|
52
|
+
The build command used to build the site.
|
|
53
|
+
startcommand : str
|
|
54
|
+
Custom command to use when starting site runtime.
|
|
55
|
+
outputdirectory : str
|
|
56
|
+
The directory where the site build output is located.
|
|
57
|
+
installationid : str
|
|
58
|
+
Site VCS (Version Control System) installation id.
|
|
59
|
+
providerrepositoryid : str
|
|
60
|
+
VCS (Version Control System) Repository ID
|
|
61
|
+
providerbranch : str
|
|
62
|
+
VCS (Version Control System) branch name
|
|
63
|
+
providerrootdirectory : str
|
|
64
|
+
Path to site in VCS (Version Control System) repository
|
|
65
|
+
providersilentmode : bool
|
|
66
|
+
Is VCS (Version Control System) connection is in silent mode? When in silence mode, no comments will be posted on the repository pull or merge requests
|
|
67
|
+
providerbranches : List[Any]
|
|
68
|
+
List of branch name patterns that trigger automatic deployments. Supports glob wildcards. Empty list deploys on all branches.
|
|
69
|
+
providerpaths : List[Any]
|
|
70
|
+
List of file path patterns that trigger automatic deployments. Supports glob wildcards. Empty list deploys on all file changes.
|
|
71
|
+
buildspecification : str
|
|
72
|
+
Machine specification for deployment builds.
|
|
73
|
+
runtimespecification : str
|
|
74
|
+
Machine specification for SSR executions.
|
|
75
|
+
buildruntime : str
|
|
76
|
+
Site build runtime.
|
|
77
|
+
adapter : str
|
|
78
|
+
Site framework adapter.
|
|
79
|
+
fallbackfile : str
|
|
80
|
+
Name of fallback file to use instead of 404 page. If null, Appwrite 404 page will be displayed.
|
|
81
|
+
"""
|
|
82
|
+
id: str = Field(..., alias='$id')
|
|
83
|
+
createdat: str = Field(..., alias='$createdAt')
|
|
84
|
+
updatedat: str = Field(..., alias='$updatedAt')
|
|
85
|
+
name: str = Field(..., alias='name')
|
|
86
|
+
enabled: bool = Field(..., alias='enabled')
|
|
87
|
+
live: bool = Field(..., alias='live')
|
|
88
|
+
logging: bool = Field(..., alias='logging')
|
|
89
|
+
framework: str = Field(..., alias='framework')
|
|
90
|
+
deploymentretention: float = Field(..., alias='deploymentRetention')
|
|
91
|
+
deploymentid: str = Field(..., alias='deploymentId')
|
|
92
|
+
deploymentcreatedat: str = Field(..., alias='deploymentCreatedAt')
|
|
93
|
+
deploymentscreenshotlight: str = Field(..., alias='deploymentScreenshotLight')
|
|
94
|
+
deploymentscreenshotdark: str = Field(..., alias='deploymentScreenshotDark')
|
|
95
|
+
latestdeploymentid: str = Field(..., alias='latestDeploymentId')
|
|
96
|
+
latestdeploymentcreatedat: str = Field(..., alias='latestDeploymentCreatedAt')
|
|
97
|
+
latestdeploymentstatus: str = Field(..., alias='latestDeploymentStatus')
|
|
98
|
+
vars: List[Variable] = Field(..., alias='vars')
|
|
99
|
+
timeout: float = Field(..., alias='timeout')
|
|
100
|
+
installcommand: str = Field(..., alias='installCommand')
|
|
101
|
+
buildcommand: str = Field(..., alias='buildCommand')
|
|
102
|
+
startcommand: str = Field(..., alias='startCommand')
|
|
103
|
+
outputdirectory: str = Field(..., alias='outputDirectory')
|
|
104
|
+
installationid: str = Field(..., alias='installationId')
|
|
105
|
+
providerrepositoryid: str = Field(..., alias='providerRepositoryId')
|
|
106
|
+
providerbranch: str = Field(..., alias='providerBranch')
|
|
107
|
+
providerrootdirectory: str = Field(..., alias='providerRootDirectory')
|
|
108
|
+
providersilentmode: bool = Field(..., alias='providerSilentMode')
|
|
109
|
+
providerbranches: List[Any] = Field(..., alias='providerBranches')
|
|
110
|
+
providerpaths: List[Any] = Field(..., alias='providerPaths')
|
|
111
|
+
buildspecification: str = Field(..., alias='buildSpecification')
|
|
112
|
+
runtimespecification: str = Field(..., alias='runtimeSpecification')
|
|
113
|
+
buildruntime: str = Field(..., alias='buildRuntime')
|
|
114
|
+
adapter: str = Field(..., alias='adapter')
|
|
115
|
+
fallbackfile: str = Field(..., alias='fallbackFile')
|
|
@@ -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 .site import Site
|
|
6
|
+
|
|
7
|
+
class SiteList(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
Sites List
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
total : float
|
|
14
|
+
Total number of sites that matched your query.
|
|
15
|
+
sites : List[Site]
|
|
16
|
+
List of sites.
|
|
17
|
+
"""
|
|
18
|
+
total: float = Field(..., alias='total')
|
|
19
|
+
sites: List[Site] = Field(..., alias='sites')
|
|
@@ -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 Specification(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
Specification
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
memory : float
|
|
13
|
+
Memory size in MB.
|
|
14
|
+
cpus : float
|
|
15
|
+
Number of CPUs.
|
|
16
|
+
enabled : bool
|
|
17
|
+
Is size enabled.
|
|
18
|
+
slug : str
|
|
19
|
+
Size slug.
|
|
20
|
+
"""
|
|
21
|
+
memory: float = Field(..., alias='memory')
|
|
22
|
+
cpus: float = Field(..., alias='cpus')
|
|
23
|
+
enabled: bool = Field(..., alias='enabled')
|
|
24
|
+
slug: str = Field(..., alias='slug')
|
|
@@ -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 .specification import Specification
|
|
6
|
+
|
|
7
|
+
class SpecificationList(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
Specifications List
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
total : float
|
|
14
|
+
Total number of specifications that matched your query.
|
|
15
|
+
specifications : List[Specification]
|
|
16
|
+
List of specifications.
|
|
17
|
+
"""
|
|
18
|
+
total: float = Field(..., alias='total')
|
|
19
|
+
specifications: List[Specification] = Field(..., alias='specifications')
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Optional, Union, cast
|
|
2
|
+
from pydantic import Field, PrivateAttr
|
|
3
|
+
|
|
4
|
+
from .base_model import AppwriteModel
|
|
5
|
+
|
|
6
|
+
class Stage(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
Stage
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
id : str
|
|
13
|
+
Stage ID.
|
|
14
|
+
sdk : str
|
|
15
|
+
SDK method key (namespace.name) for this stage.
|
|
16
|
+
status : str
|
|
17
|
+
Stage status.
|
|
18
|
+
at : str
|
|
19
|
+
When the stage was completed or skipped, in ISO 8601 format.
|
|
20
|
+
actortype : str
|
|
21
|
+
Actor type when the stage was recorded.
|
|
22
|
+
"""
|
|
23
|
+
id: str = Field(..., alias='id')
|
|
24
|
+
sdk: str = Field(..., alias='sdk')
|
|
25
|
+
status: str = Field(..., alias='status')
|
|
26
|
+
at: str = Field(..., alias='at')
|
|
27
|
+
actortype: str = Field(..., alias='actorType')
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Optional, Union, cast
|
|
2
|
+
from pydantic import Field, PrivateAttr
|
|
3
|
+
|
|
4
|
+
from .base_model import AppwriteModel
|
|
5
|
+
from .stage import Stage
|
|
6
|
+
|
|
7
|
+
class StageList(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
Stages List
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
stages : List[Stage]
|
|
14
|
+
List of stages.
|
|
15
|
+
"""
|
|
16
|
+
stages: List[Stage] = Field(..., alias='stages')
|
|
@@ -0,0 +1,40 @@
|
|
|
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 .target import Target
|
|
6
|
+
|
|
7
|
+
class Subscriber(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
Subscriber
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
id : str
|
|
14
|
+
Subscriber ID.
|
|
15
|
+
createdat : str
|
|
16
|
+
Subscriber creation time in ISO 8601 format.
|
|
17
|
+
updatedat : str
|
|
18
|
+
Subscriber update date in ISO 8601 format.
|
|
19
|
+
targetid : str
|
|
20
|
+
Target ID.
|
|
21
|
+
target : Target
|
|
22
|
+
Target.
|
|
23
|
+
userid : str
|
|
24
|
+
Topic ID.
|
|
25
|
+
username : str
|
|
26
|
+
User Name.
|
|
27
|
+
topicid : str
|
|
28
|
+
Topic ID.
|
|
29
|
+
providertype : str
|
|
30
|
+
The target provider type. Can be one of the following: `email`, `sms` or `push`.
|
|
31
|
+
"""
|
|
32
|
+
id: str = Field(..., alias='$id')
|
|
33
|
+
createdat: str = Field(..., alias='$createdAt')
|
|
34
|
+
updatedat: str = Field(..., alias='$updatedAt')
|
|
35
|
+
targetid: str = Field(..., alias='targetId')
|
|
36
|
+
target: Target = Field(..., alias='target')
|
|
37
|
+
userid: str = Field(..., alias='userId')
|
|
38
|
+
username: str = Field(..., alias='userName')
|
|
39
|
+
topicid: str = Field(..., alias='topicId')
|
|
40
|
+
providertype: str = Field(..., alias='providerType')
|
|
@@ -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 .subscriber import Subscriber
|
|
6
|
+
|
|
7
|
+
class SubscriberList(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
Subscriber list
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
total : float
|
|
14
|
+
Total number of subscribers that matched your query.
|
|
15
|
+
subscribers : List[Subscriber]
|
|
16
|
+
List of subscribers.
|
|
17
|
+
"""
|
|
18
|
+
total: float = Field(..., alias='total')
|
|
19
|
+
subscribers: List[Subscriber] = Field(..., alias='subscribers')
|
|
@@ -0,0 +1,67 @@
|
|
|
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 .column_boolean import ColumnBoolean
|
|
6
|
+
from .column_bigint import ColumnBigint
|
|
7
|
+
from .column_integer import ColumnInteger
|
|
8
|
+
from .column_float import ColumnFloat
|
|
9
|
+
from .column_email import ColumnEmail
|
|
10
|
+
from .column_enum import ColumnEnum
|
|
11
|
+
from .column_url import ColumnUrl
|
|
12
|
+
from .column_ip import ColumnIp
|
|
13
|
+
from .column_datetime import ColumnDatetime
|
|
14
|
+
from .column_relationship import ColumnRelationship
|
|
15
|
+
from .column_point import ColumnPoint
|
|
16
|
+
from .column_line import ColumnLine
|
|
17
|
+
from .column_polygon import ColumnPolygon
|
|
18
|
+
from .column_varchar import ColumnVarchar
|
|
19
|
+
from .column_text import ColumnText
|
|
20
|
+
from .column_mediumtext import ColumnMediumtext
|
|
21
|
+
from .column_longtext import ColumnLongtext
|
|
22
|
+
from .column_string import ColumnString
|
|
23
|
+
from .column_index import ColumnIndex
|
|
24
|
+
|
|
25
|
+
class Table(AppwriteModel):
|
|
26
|
+
"""
|
|
27
|
+
Table
|
|
28
|
+
|
|
29
|
+
Attributes
|
|
30
|
+
----------
|
|
31
|
+
id : str
|
|
32
|
+
Table ID.
|
|
33
|
+
createdat : str
|
|
34
|
+
Table creation date in ISO 8601 format.
|
|
35
|
+
updatedat : str
|
|
36
|
+
Table update date in ISO 8601 format.
|
|
37
|
+
permissions : List[Any]
|
|
38
|
+
Table permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).
|
|
39
|
+
databaseid : str
|
|
40
|
+
Database ID.
|
|
41
|
+
name : str
|
|
42
|
+
Table name.
|
|
43
|
+
enabled : bool
|
|
44
|
+
Table enabled. Can be 'enabled' or 'disabled'. When disabled, the table is inaccessible to users, but remains accessible to Server SDKs using API keys.
|
|
45
|
+
rowsecurity : bool
|
|
46
|
+
Whether row-level permissions are enabled. [Learn more about permissions](https://appwrite.io/docs/permissions).
|
|
47
|
+
columns : List[Union[ColumnBoolean, ColumnBigint, ColumnInteger, ColumnFloat, ColumnEmail, ColumnEnum, ColumnUrl, ColumnIp, ColumnDatetime, ColumnRelationship, ColumnPoint, ColumnLine, ColumnPolygon, ColumnVarchar, ColumnText, ColumnMediumtext, ColumnLongtext, ColumnString]]
|
|
48
|
+
Table columns.
|
|
49
|
+
indexes : List[ColumnIndex]
|
|
50
|
+
Table indexes.
|
|
51
|
+
bytesmax : float
|
|
52
|
+
Maximum row size in bytes. Returns 0 when no limit applies.
|
|
53
|
+
bytesused : float
|
|
54
|
+
Currently used row size in bytes based on defined columns.
|
|
55
|
+
"""
|
|
56
|
+
id: str = Field(..., alias='$id')
|
|
57
|
+
createdat: str = Field(..., alias='$createdAt')
|
|
58
|
+
updatedat: str = Field(..., alias='$updatedAt')
|
|
59
|
+
permissions: List[Any] = Field(..., alias='$permissions')
|
|
60
|
+
databaseid: str = Field(..., alias='databaseId')
|
|
61
|
+
name: str = Field(..., alias='name')
|
|
62
|
+
enabled: bool = Field(..., alias='enabled')
|
|
63
|
+
rowsecurity: bool = Field(..., alias='rowSecurity')
|
|
64
|
+
columns: List[Union[ColumnBoolean, ColumnBigint, ColumnInteger, ColumnFloat, ColumnEmail, ColumnEnum, ColumnUrl, ColumnIp, ColumnDatetime, ColumnRelationship, ColumnPoint, ColumnLine, ColumnPolygon, ColumnVarchar, ColumnText, ColumnMediumtext, ColumnLongtext, ColumnString]] = Field(..., alias='columns')
|
|
65
|
+
indexes: List[ColumnIndex] = Field(..., alias='indexes')
|
|
66
|
+
bytesmax: float = Field(..., alias='bytesMax')
|
|
67
|
+
bytesused: float = Field(..., alias='bytesUsed')
|
|
@@ -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 .table import Table
|
|
6
|
+
|
|
7
|
+
class TableList(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
Tables List
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
total : float
|
|
14
|
+
Total number of tables that matched your query.
|
|
15
|
+
tables : List[Table]
|
|
16
|
+
List of tables.
|
|
17
|
+
"""
|
|
18
|
+
total: float = Field(..., alias='total')
|
|
19
|
+
tables: List[Table] = Field(..., alias='tables')
|
|
@@ -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 Target(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
Target
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
id : str
|
|
13
|
+
Target ID.
|
|
14
|
+
createdat : str
|
|
15
|
+
Target creation time in ISO 8601 format.
|
|
16
|
+
updatedat : str
|
|
17
|
+
Target update date in ISO 8601 format.
|
|
18
|
+
name : str
|
|
19
|
+
Target Name.
|
|
20
|
+
userid : str
|
|
21
|
+
User ID.
|
|
22
|
+
providerid : Optional[str]
|
|
23
|
+
Provider ID.
|
|
24
|
+
providertype : str
|
|
25
|
+
The target provider type. Can be one of the following: `email`, `sms` or `push`.
|
|
26
|
+
identifier : str
|
|
27
|
+
The target identifier.
|
|
28
|
+
expired : bool
|
|
29
|
+
Is the target expired.
|
|
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
|
+
userid: str = Field(..., alias='userId')
|
|
36
|
+
providerid: Optional[str] = Field(default=None, alias='providerId')
|
|
37
|
+
providertype: str = Field(..., alias='providerType')
|
|
38
|
+
identifier: str = Field(..., alias='identifier')
|
|
39
|
+
expired: bool = Field(..., alias='expired')
|
|
@@ -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 .target import Target
|
|
6
|
+
|
|
7
|
+
class TargetList(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
Target list
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
total : float
|
|
14
|
+
Total number of targets that matched your query.
|
|
15
|
+
targets : List[Target]
|
|
16
|
+
List of targets.
|
|
17
|
+
"""
|
|
18
|
+
total: float = Field(..., alias='total')
|
|
19
|
+
targets: List[Target] = Field(..., alias='targets')
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Optional, Union, cast, Generic, TypeVar, Type
|
|
2
|
+
from pydantic import Field, PrivateAttr
|
|
3
|
+
|
|
4
|
+
from .base_model import AppwriteModel
|
|
5
|
+
from .preferences import Preferences
|
|
6
|
+
|
|
7
|
+
T = TypeVar('T')
|
|
8
|
+
|
|
9
|
+
class Team(AppwriteModel, Generic[T]):
|
|
10
|
+
"""
|
|
11
|
+
Team
|
|
12
|
+
|
|
13
|
+
Attributes
|
|
14
|
+
----------
|
|
15
|
+
id : str
|
|
16
|
+
Team ID.
|
|
17
|
+
createdat : str
|
|
18
|
+
Team creation date in ISO 8601 format.
|
|
19
|
+
updatedat : str
|
|
20
|
+
Team update date in ISO 8601 format.
|
|
21
|
+
name : str
|
|
22
|
+
Team name.
|
|
23
|
+
total : float
|
|
24
|
+
Total number of team members.
|
|
25
|
+
prefs : Preferences[T]
|
|
26
|
+
Team preferences as a key-value object
|
|
27
|
+
"""
|
|
28
|
+
id: str = Field(..., alias='$id')
|
|
29
|
+
createdat: str = Field(..., alias='$createdAt')
|
|
30
|
+
updatedat: str = Field(..., alias='$updatedAt')
|
|
31
|
+
name: str = Field(..., alias='name')
|
|
32
|
+
total: float = Field(..., alias='total')
|
|
33
|
+
prefs: Preferences[T] = Field(..., alias='prefs')
|
|
34
|
+
|
|
35
|
+
@classmethod
|
|
36
|
+
def with_data(cls, data: Dict[str, Any], model_type: Type[T] = dict) -> 'Team[T]':
|
|
37
|
+
"""Create Team instance with typed data."""
|
|
38
|
+
instance = cls.model_validate(data)
|
|
39
|
+
if 'prefs' in data and data['prefs'] is not None:
|
|
40
|
+
instance.prefs = Preferences.with_data(
|
|
41
|
+
data['prefs'], model_type
|
|
42
|
+
)
|
|
43
|
+
return instance
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Optional, Union, cast, Generic, TypeVar, Type
|
|
2
|
+
from pydantic import Field, PrivateAttr
|
|
3
|
+
|
|
4
|
+
from .base_model import AppwriteModel
|
|
5
|
+
from .team import Team
|
|
6
|
+
|
|
7
|
+
T = TypeVar('T')
|
|
8
|
+
|
|
9
|
+
class TeamList(AppwriteModel, Generic[T]):
|
|
10
|
+
"""
|
|
11
|
+
Teams List
|
|
12
|
+
|
|
13
|
+
Attributes
|
|
14
|
+
----------
|
|
15
|
+
total : float
|
|
16
|
+
Total number of teams that matched your query.
|
|
17
|
+
teams : List[Team[T]]
|
|
18
|
+
List of teams.
|
|
19
|
+
"""
|
|
20
|
+
total: float = Field(..., alias='total')
|
|
21
|
+
teams: List[Team[T]] = Field(..., alias='teams')
|
|
22
|
+
|
|
23
|
+
@classmethod
|
|
24
|
+
def with_data(cls, data: Dict[str, Any], model_type: Type[T] = dict) -> 'TeamList[T]':
|
|
25
|
+
"""Create TeamList instance with typed data."""
|
|
26
|
+
instance = cls.model_validate(data)
|
|
27
|
+
if 'teams' in data and data['teams'] is not None:
|
|
28
|
+
instance.teams = [
|
|
29
|
+
Team.with_data(row, model_type)
|
|
30
|
+
for row in data['teams']
|
|
31
|
+
]
|
|
32
|
+
return instance
|
|
@@ -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 TemplateFramework(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
Template Framework
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
key : str
|
|
13
|
+
Parent framework key.
|
|
14
|
+
name : str
|
|
15
|
+
Framework Name.
|
|
16
|
+
installcommand : str
|
|
17
|
+
The install command used to install the dependencies.
|
|
18
|
+
buildcommand : str
|
|
19
|
+
The build command used to build the deployment.
|
|
20
|
+
outputdirectory : str
|
|
21
|
+
The output directory to store the build output.
|
|
22
|
+
providerrootdirectory : str
|
|
23
|
+
Path to site in VCS (Version Control System) repository
|
|
24
|
+
buildruntime : str
|
|
25
|
+
Runtime used during build step of template.
|
|
26
|
+
adapter : str
|
|
27
|
+
Site framework runtime
|
|
28
|
+
fallbackfile : str
|
|
29
|
+
Fallback file for SPA. Only relevant for static serve runtime.
|
|
30
|
+
"""
|
|
31
|
+
key: str = Field(..., alias='key')
|
|
32
|
+
name: str = Field(..., alias='name')
|
|
33
|
+
installcommand: str = Field(..., alias='installCommand')
|
|
34
|
+
buildcommand: str = Field(..., alias='buildCommand')
|
|
35
|
+
outputdirectory: str = Field(..., alias='outputDirectory')
|
|
36
|
+
providerrootdirectory: str = Field(..., alias='providerRootDirectory')
|
|
37
|
+
buildruntime: str = Field(..., alias='buildRuntime')
|
|
38
|
+
adapter: str = Field(..., alias='adapter')
|
|
39
|
+
fallbackfile: str = Field(..., alias='fallbackFile')
|