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,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 OAuth2Zoho(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
OAuth2Zoho
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
id : str
|
|
13
|
+
OAuth2 provider ID.
|
|
14
|
+
enabled : bool
|
|
15
|
+
OAuth2 provider is active and can be used to create sessions.
|
|
16
|
+
clientid : str
|
|
17
|
+
Zoho OAuth2 client ID.
|
|
18
|
+
clientsecret : str
|
|
19
|
+
Zoho OAuth2 client secret.
|
|
20
|
+
"""
|
|
21
|
+
id: str = Field(..., alias='$id')
|
|
22
|
+
enabled: bool = Field(..., alias='enabled')
|
|
23
|
+
clientid: str = Field(..., alias='clientId')
|
|
24
|
+
clientsecret: str = Field(..., alias='clientSecret')
|
|
@@ -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 OAuth2Zoom(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
OAuth2Zoom
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
id : str
|
|
13
|
+
OAuth2 provider ID.
|
|
14
|
+
enabled : bool
|
|
15
|
+
OAuth2 provider is active and can be used to create sessions.
|
|
16
|
+
clientid : str
|
|
17
|
+
Zoom OAuth2 client ID.
|
|
18
|
+
clientsecret : str
|
|
19
|
+
Zoom OAuth2 client secret.
|
|
20
|
+
"""
|
|
21
|
+
id: str = Field(..., alias='$id')
|
|
22
|
+
enabled: bool = Field(..., alias='enabled')
|
|
23
|
+
clientid: str = Field(..., alias='clientId')
|
|
24
|
+
clientsecret: str = Field(..., alias='clientSecret')
|
|
@@ -0,0 +1,15 @@
|
|
|
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 Oauth2Approve(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
OAuth2 Approve
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
redirecturl : str
|
|
13
|
+
URL the end user should be redirected to after the grant is approved, carrying the authorization `code` and/or `id_token` along with the original `state`.
|
|
14
|
+
"""
|
|
15
|
+
redirecturl: str = Field(..., alias='redirectUrl')
|
|
@@ -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 Oauth2Authorize(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
OAuth2 Authorize
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
grantid : str
|
|
13
|
+
OAuth2 grant ID. Set when the user must give explicit consent; pass it to the approve or reject endpoint. Empty when a redirect URL is returned instead.
|
|
14
|
+
redirecturl : str
|
|
15
|
+
URL the end user should be redirected to when the flow can complete without consent. Empty when consent is still required.
|
|
16
|
+
"""
|
|
17
|
+
grantid: str = Field(..., alias='grantId')
|
|
18
|
+
redirecturl: str = Field(..., alias='redirectUrl')
|
|
@@ -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 Oauth2Consent(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
OAuth2 Consent
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
id : str
|
|
13
|
+
Consent ID.
|
|
14
|
+
createdat : str
|
|
15
|
+
Consent creation time in ISO 8601 format.
|
|
16
|
+
updatedat : str
|
|
17
|
+
Consent update date in ISO 8601 format.
|
|
18
|
+
userid : str
|
|
19
|
+
ID of the user the consent belongs to.
|
|
20
|
+
appid : str
|
|
21
|
+
ID of the registered app the consent was given to. Empty for URL-form (CIMD) clients.
|
|
22
|
+
cimdurl : str
|
|
23
|
+
Client ID metadata document URL of the client the consent was given to. Empty for registered apps.
|
|
24
|
+
scopes : List[Any]
|
|
25
|
+
OAuth2 scopes the user consented to.
|
|
26
|
+
resources : List[Any]
|
|
27
|
+
RFC 8707 resource indicators the user consented to.
|
|
28
|
+
authorizationdetails : str
|
|
29
|
+
Authorization details the user consented to, as a JSON string. Each entry has a `type` plus project-defined fields.
|
|
30
|
+
expire : str
|
|
31
|
+
Consent expiration time in ISO 8601 format. Empty when the consent has no token-bound expiry yet.
|
|
32
|
+
"""
|
|
33
|
+
id: str = Field(..., alias='$id')
|
|
34
|
+
createdat: str = Field(..., alias='$createdAt')
|
|
35
|
+
updatedat: str = Field(..., alias='$updatedAt')
|
|
36
|
+
userid: str = Field(..., alias='userId')
|
|
37
|
+
appid: str = Field(..., alias='appId')
|
|
38
|
+
cimdurl: str = Field(..., alias='cimdUrl')
|
|
39
|
+
scopes: List[Any] = Field(..., alias='scopes')
|
|
40
|
+
resources: List[Any] = Field(..., alias='resources')
|
|
41
|
+
authorizationdetails: str = Field(..., alias='authorizationDetails')
|
|
42
|
+
expire: str = Field(..., alias='expire')
|
|
@@ -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 .oauth2_consent import Oauth2Consent
|
|
6
|
+
|
|
7
|
+
class Oauth2ConsentList(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
OAuth2 consents list
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
total : float
|
|
14
|
+
Total number of consents that matched your query.
|
|
15
|
+
consents : List[Oauth2Consent]
|
|
16
|
+
List of consents.
|
|
17
|
+
"""
|
|
18
|
+
total: float = Field(..., alias='total')
|
|
19
|
+
consents: List[Oauth2Consent] = Field(..., alias='consents')
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Optional, Union, cast
|
|
2
|
+
from pydantic import Field, PrivateAttr
|
|
3
|
+
|
|
4
|
+
from .base_model import AppwriteModel
|
|
5
|
+
|
|
6
|
+
class Oauth2ConsentToken(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
OAuth2 Consent Token
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
id : str
|
|
13
|
+
Token family ID.
|
|
14
|
+
createdat : str
|
|
15
|
+
Token creation time in ISO 8601 format.
|
|
16
|
+
updatedat : str
|
|
17
|
+
Token update date in ISO 8601 format. Refreshing the token family updates this.
|
|
18
|
+
consentid : str
|
|
19
|
+
ID of the consent the token family was issued under.
|
|
20
|
+
userid : str
|
|
21
|
+
ID of the user the token family belongs to.
|
|
22
|
+
appid : str
|
|
23
|
+
ID of the registered app the token family was issued to. Empty for URL-form (CIMD) clients.
|
|
24
|
+
cimdurl : str
|
|
25
|
+
Client ID metadata document URL of the client the token family was issued to. Empty for registered apps.
|
|
26
|
+
scopes : List[Any]
|
|
27
|
+
OAuth2 scopes granted on the token family.
|
|
28
|
+
resources : List[Any]
|
|
29
|
+
RFC 8707 resource indicators granted on the token family.
|
|
30
|
+
authorizationdetails : str
|
|
31
|
+
Authorization details granted on the token family, as a JSON string. Each entry has a `type` plus project-defined fields.
|
|
32
|
+
expire : str
|
|
33
|
+
Expiration time of the current access token of this family in ISO 8601 format.
|
|
34
|
+
"""
|
|
35
|
+
id: str = Field(..., alias='$id')
|
|
36
|
+
createdat: str = Field(..., alias='$createdAt')
|
|
37
|
+
updatedat: str = Field(..., alias='$updatedAt')
|
|
38
|
+
consentid: str = Field(..., alias='consentId')
|
|
39
|
+
userid: str = Field(..., alias='userId')
|
|
40
|
+
appid: str = Field(..., alias='appId')
|
|
41
|
+
cimdurl: str = Field(..., alias='cimdUrl')
|
|
42
|
+
scopes: List[Any] = Field(..., alias='scopes')
|
|
43
|
+
resources: List[Any] = Field(..., alias='resources')
|
|
44
|
+
authorizationdetails: str = Field(..., alias='authorizationDetails')
|
|
45
|
+
expire: str = Field(..., alias='expire')
|
|
@@ -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 .oauth2_consent_token import Oauth2ConsentToken
|
|
6
|
+
|
|
7
|
+
class Oauth2ConsentTokenList(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
OAuth2 consent tokens list
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
total : float
|
|
14
|
+
Total number of tokens that matched your query.
|
|
15
|
+
tokens : List[Oauth2ConsentToken]
|
|
16
|
+
List of tokens.
|
|
17
|
+
"""
|
|
18
|
+
total: float = Field(..., alias='total')
|
|
19
|
+
tokens: List[Oauth2ConsentToken] = Field(..., alias='tokens')
|
|
@@ -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 Oauth2DeviceAuthorization(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
OAuth2 Device Authorization
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
device_code : str
|
|
13
|
+
Device verification code used by the client to poll the token endpoint.
|
|
14
|
+
user_code : str
|
|
15
|
+
Short code the end user enters on the verification page.
|
|
16
|
+
verification_uri : str
|
|
17
|
+
URL where the end user enters the user code.
|
|
18
|
+
verification_uri_complete : str
|
|
19
|
+
Verification URL with the user code prefilled as a query parameter.
|
|
20
|
+
expires_in : float
|
|
21
|
+
Lifetime of the device code and user code in seconds.
|
|
22
|
+
interval : float
|
|
23
|
+
Minimum polling interval for the token endpoint in seconds.
|
|
24
|
+
"""
|
|
25
|
+
device_code: str = Field(..., alias='device_code')
|
|
26
|
+
user_code: str = Field(..., alias='user_code')
|
|
27
|
+
verification_uri: str = Field(..., alias='verification_uri')
|
|
28
|
+
verification_uri_complete: str = Field(..., alias='verification_uri_complete')
|
|
29
|
+
expires_in: float = Field(..., alias='expires_in')
|
|
30
|
+
interval: float = Field(..., alias='interval')
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Optional, Union, cast
|
|
2
|
+
from pydantic import Field, PrivateAttr
|
|
3
|
+
|
|
4
|
+
from .base_model import AppwriteModel
|
|
5
|
+
|
|
6
|
+
class Oauth2Grant(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
OAuth2 Grant
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
id : str
|
|
13
|
+
Grant ID.
|
|
14
|
+
createdat : str
|
|
15
|
+
Grant creation time in ISO 8601 format.
|
|
16
|
+
updatedat : str
|
|
17
|
+
Grant update date in ISO 8601 format.
|
|
18
|
+
userid : str
|
|
19
|
+
ID of the user the grant belongs to.
|
|
20
|
+
appid : str
|
|
21
|
+
ID of the OAuth2 client (app) the grant was requested for.
|
|
22
|
+
scopes : List[Any]
|
|
23
|
+
Requested OAuth2 scopes the user is being asked to consent to.
|
|
24
|
+
resources : List[Any]
|
|
25
|
+
Requested RFC 8707 resource indicators the user is being asked to consent to.
|
|
26
|
+
authorizationdetails : str
|
|
27
|
+
Requested authorization_details the user is being asked to consent to, as a JSON string. Each entry has a `type` plus project-defined fields.
|
|
28
|
+
prompt : str
|
|
29
|
+
OIDC prompt directive the consent screen should honor. Space-separated list of: login, consent, select_account.
|
|
30
|
+
redirecturi : str
|
|
31
|
+
Redirect URI the user will be sent to after the flow completes.
|
|
32
|
+
authtime : float
|
|
33
|
+
Unix timestamp of when the user last authenticated.
|
|
34
|
+
expire : str
|
|
35
|
+
Grant expiration time in ISO 8601 format.
|
|
36
|
+
"""
|
|
37
|
+
id: str = Field(..., alias='$id')
|
|
38
|
+
createdat: str = Field(..., alias='$createdAt')
|
|
39
|
+
updatedat: str = Field(..., alias='$updatedAt')
|
|
40
|
+
userid: str = Field(..., alias='userId')
|
|
41
|
+
appid: str = Field(..., alias='appId')
|
|
42
|
+
scopes: List[Any] = Field(..., alias='scopes')
|
|
43
|
+
resources: List[Any] = Field(..., alias='resources')
|
|
44
|
+
authorizationdetails: str = Field(..., alias='authorizationDetails')
|
|
45
|
+
prompt: str = Field(..., alias='prompt')
|
|
46
|
+
redirecturi: str = Field(..., alias='redirectUri')
|
|
47
|
+
authtime: float = Field(..., alias='authTime')
|
|
48
|
+
expire: str = Field(..., alias='expire')
|
|
@@ -0,0 +1,15 @@
|
|
|
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 Oauth2Organization(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
OAuth2 Organization
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
id : str
|
|
13
|
+
Organization ID.
|
|
14
|
+
"""
|
|
15
|
+
id: str = Field(..., alias='$id')
|
|
@@ -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 .oauth2_organization import Oauth2Organization
|
|
6
|
+
|
|
7
|
+
class Oauth2OrganizationList(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
OAuth2 accessible organizations list
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
total : float
|
|
14
|
+
Total number of organizations that matched your query.
|
|
15
|
+
organizations : List[Oauth2Organization]
|
|
16
|
+
List of organizations.
|
|
17
|
+
"""
|
|
18
|
+
total: float = Field(..., alias='total')
|
|
19
|
+
organizations: List[Oauth2Organization] = Field(..., alias='organizations')
|
|
@@ -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 Oauth2PAR(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
OAuth2 PAR
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
request_uri : str
|
|
13
|
+
Authorization request handle to pass to the authorize endpoint.
|
|
14
|
+
expires_in : float
|
|
15
|
+
Lifetime of the authorization request handle in seconds.
|
|
16
|
+
"""
|
|
17
|
+
request_uri: str = Field(..., alias='request_uri')
|
|
18
|
+
expires_in: float = Field(..., alias='expires_in')
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Optional, Union, cast
|
|
2
|
+
from pydantic import Field, PrivateAttr
|
|
3
|
+
|
|
4
|
+
from .base_model import AppwriteModel
|
|
5
|
+
|
|
6
|
+
class Oauth2Project(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
OAuth2 Project
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
id : str
|
|
13
|
+
Project ID.
|
|
14
|
+
region : str
|
|
15
|
+
Region ID the project is deployed in.
|
|
16
|
+
endpoint : str
|
|
17
|
+
API endpoint of the region the project is deployed in. Empty when the region has no public hostname configured.
|
|
18
|
+
"""
|
|
19
|
+
id: str = Field(..., alias='$id')
|
|
20
|
+
region: str = Field(..., alias='region')
|
|
21
|
+
endpoint: str = Field(..., alias='endpoint')
|
|
@@ -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 .oauth2_project import Oauth2Project
|
|
6
|
+
|
|
7
|
+
class Oauth2ProjectList(AppwriteModel):
|
|
8
|
+
"""
|
|
9
|
+
OAuth2 accessible projects list
|
|
10
|
+
|
|
11
|
+
Attributes
|
|
12
|
+
----------
|
|
13
|
+
total : float
|
|
14
|
+
Total number of projects that matched your query.
|
|
15
|
+
projects : List[Oauth2Project]
|
|
16
|
+
List of projects.
|
|
17
|
+
"""
|
|
18
|
+
total: float = Field(..., alias='total')
|
|
19
|
+
projects: List[Oauth2Project] = Field(..., alias='projects')
|
|
@@ -0,0 +1,15 @@
|
|
|
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 Oauth2Reject(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
OAuth2 Reject
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
redirecturl : str
|
|
13
|
+
URL the end user should be redirected to after the grant is rejected, carrying an `access_denied` error.
|
|
14
|
+
"""
|
|
15
|
+
redirecturl: str = Field(..., alias='redirectUrl')
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Optional, Union, cast
|
|
2
|
+
from pydantic import Field, PrivateAttr
|
|
3
|
+
|
|
4
|
+
from .base_model import AppwriteModel
|
|
5
|
+
|
|
6
|
+
class Oauth2Token(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
OAuth2 Token
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
access_token : str
|
|
13
|
+
OAuth2 access token.
|
|
14
|
+
token_type : str
|
|
15
|
+
OAuth2 token type.
|
|
16
|
+
expires_in : float
|
|
17
|
+
Access token lifetime in seconds.
|
|
18
|
+
refresh_token : str
|
|
19
|
+
OAuth2 refresh token.
|
|
20
|
+
scope : str
|
|
21
|
+
Space-separated scopes granted to the access token.
|
|
22
|
+
authorization_details : Optional[str]
|
|
23
|
+
Granted RFC 9396 authorization details as a JSON string.
|
|
24
|
+
id_token : Optional[str]
|
|
25
|
+
OpenID Connect ID token. Returned when the `openid` scope is granted.
|
|
26
|
+
"""
|
|
27
|
+
access_token: str = Field(..., alias='access_token')
|
|
28
|
+
token_type: str = Field(..., alias='token_type')
|
|
29
|
+
expires_in: float = Field(..., alias='expires_in')
|
|
30
|
+
refresh_token: str = Field(..., alias='refresh_token')
|
|
31
|
+
scope: str = Field(..., alias='scope')
|
|
32
|
+
authorization_details: Optional[str] = Field(default=None, alias='authorization_details')
|
|
33
|
+
id_token: Optional[str] = Field(default=None, alias='id_token')
|
|
@@ -0,0 +1,132 @@
|
|
|
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
|
+
from .billing_plan import BillingPlan
|
|
7
|
+
from .billing_limits import BillingLimits
|
|
8
|
+
|
|
9
|
+
T = TypeVar('T')
|
|
10
|
+
|
|
11
|
+
class Organization(AppwriteModel, Generic[T]):
|
|
12
|
+
"""
|
|
13
|
+
Organization
|
|
14
|
+
|
|
15
|
+
Attributes
|
|
16
|
+
----------
|
|
17
|
+
id : str
|
|
18
|
+
Team ID.
|
|
19
|
+
createdat : str
|
|
20
|
+
Team creation date in ISO 8601 format.
|
|
21
|
+
updatedat : str
|
|
22
|
+
Team update date in ISO 8601 format.
|
|
23
|
+
name : str
|
|
24
|
+
Team name.
|
|
25
|
+
total : float
|
|
26
|
+
Total number of team members.
|
|
27
|
+
prefs : Preferences[T]
|
|
28
|
+
Team preferences as a key-value object
|
|
29
|
+
billingbudget : float
|
|
30
|
+
Project budget limit
|
|
31
|
+
budgetalerts : List[Any]
|
|
32
|
+
Project budget limit
|
|
33
|
+
billingplan : str
|
|
34
|
+
Organization's billing plan ID.
|
|
35
|
+
billingplanid : str
|
|
36
|
+
Organization's billing plan ID.
|
|
37
|
+
billingplandetails : BillingPlan
|
|
38
|
+
Organization's billing plan.
|
|
39
|
+
billingemail : str
|
|
40
|
+
Billing email set for the organization.
|
|
41
|
+
billingstartdate : str
|
|
42
|
+
Billing cycle start date.
|
|
43
|
+
billingcurrentinvoicedate : str
|
|
44
|
+
Current invoice cycle start date.
|
|
45
|
+
billingnextinvoicedate : str
|
|
46
|
+
Next invoice cycle start date.
|
|
47
|
+
billingtrialstartdate : str
|
|
48
|
+
Start date of trial.
|
|
49
|
+
billingtrialdays : float
|
|
50
|
+
Number of trial days.
|
|
51
|
+
billingaggregationid : str
|
|
52
|
+
Current active aggregation id.
|
|
53
|
+
billinginvoiceid : str
|
|
54
|
+
Current active aggregation id.
|
|
55
|
+
paymentmethodid : str
|
|
56
|
+
Default payment method.
|
|
57
|
+
billingaddressid : str
|
|
58
|
+
Default payment method.
|
|
59
|
+
backuppaymentmethodid : str
|
|
60
|
+
Backup payment method.
|
|
61
|
+
status : str
|
|
62
|
+
Team status.
|
|
63
|
+
remarks : str
|
|
64
|
+
Remarks on team status.
|
|
65
|
+
agreementbaa : str
|
|
66
|
+
Organization agreements
|
|
67
|
+
programmanagername : str
|
|
68
|
+
Program manager's name.
|
|
69
|
+
programmanagercalendar : str
|
|
70
|
+
Program manager's calendar link.
|
|
71
|
+
programdiscordchannelname : str
|
|
72
|
+
Program's discord channel name.
|
|
73
|
+
programdiscordchannelurl : str
|
|
74
|
+
Program's discord channel URL.
|
|
75
|
+
billinglimits : Optional[BillingLimits]
|
|
76
|
+
Billing limits reached
|
|
77
|
+
billingplandowngrade : str
|
|
78
|
+
Billing plan selected for downgrade.
|
|
79
|
+
billingtaxid : str
|
|
80
|
+
Tax Id
|
|
81
|
+
markedfordeletion : bool
|
|
82
|
+
Marked for deletion
|
|
83
|
+
platform : str
|
|
84
|
+
Product with which the organization is associated (appwrite or imagine)
|
|
85
|
+
projects : List[Any]
|
|
86
|
+
Selected projects
|
|
87
|
+
"""
|
|
88
|
+
id: str = Field(..., alias='$id')
|
|
89
|
+
createdat: str = Field(..., alias='$createdAt')
|
|
90
|
+
updatedat: str = Field(..., alias='$updatedAt')
|
|
91
|
+
name: str = Field(..., alias='name')
|
|
92
|
+
total: float = Field(..., alias='total')
|
|
93
|
+
prefs: Preferences[T] = Field(..., alias='prefs')
|
|
94
|
+
billingbudget: float = Field(..., alias='billingBudget')
|
|
95
|
+
budgetalerts: List[Any] = Field(..., alias='budgetAlerts')
|
|
96
|
+
billingplan: str = Field(..., alias='billingPlan')
|
|
97
|
+
billingplanid: str = Field(..., alias='billingPlanId')
|
|
98
|
+
billingplandetails: BillingPlan = Field(..., alias='billingPlanDetails')
|
|
99
|
+
billingemail: str = Field(..., alias='billingEmail')
|
|
100
|
+
billingstartdate: str = Field(..., alias='billingStartDate')
|
|
101
|
+
billingcurrentinvoicedate: str = Field(..., alias='billingCurrentInvoiceDate')
|
|
102
|
+
billingnextinvoicedate: str = Field(..., alias='billingNextInvoiceDate')
|
|
103
|
+
billingtrialstartdate: str = Field(..., alias='billingTrialStartDate')
|
|
104
|
+
billingtrialdays: float = Field(..., alias='billingTrialDays')
|
|
105
|
+
billingaggregationid: str = Field(..., alias='billingAggregationId')
|
|
106
|
+
billinginvoiceid: str = Field(..., alias='billingInvoiceId')
|
|
107
|
+
paymentmethodid: str = Field(..., alias='paymentMethodId')
|
|
108
|
+
billingaddressid: str = Field(..., alias='billingAddressId')
|
|
109
|
+
backuppaymentmethodid: str = Field(..., alias='backupPaymentMethodId')
|
|
110
|
+
status: str = Field(..., alias='status')
|
|
111
|
+
remarks: str = Field(..., alias='remarks')
|
|
112
|
+
agreementbaa: str = Field(..., alias='agreementBAA')
|
|
113
|
+
programmanagername: str = Field(..., alias='programManagerName')
|
|
114
|
+
programmanagercalendar: str = Field(..., alias='programManagerCalendar')
|
|
115
|
+
programdiscordchannelname: str = Field(..., alias='programDiscordChannelName')
|
|
116
|
+
programdiscordchannelurl: str = Field(..., alias='programDiscordChannelUrl')
|
|
117
|
+
billinglimits: Optional[BillingLimits] = Field(default=None, alias='billingLimits')
|
|
118
|
+
billingplandowngrade: str = Field(..., alias='billingPlanDowngrade')
|
|
119
|
+
billingtaxid: str = Field(..., alias='billingTaxId')
|
|
120
|
+
markedfordeletion: bool = Field(..., alias='markedForDeletion')
|
|
121
|
+
platform: str = Field(..., alias='platform')
|
|
122
|
+
projects: List[Any] = Field(..., alias='projects')
|
|
123
|
+
|
|
124
|
+
@classmethod
|
|
125
|
+
def with_data(cls, data: Dict[str, Any], model_type: Type[T] = dict) -> 'Organization[T]':
|
|
126
|
+
"""Create Organization instance with typed data."""
|
|
127
|
+
instance = cls.model_validate(data)
|
|
128
|
+
if 'prefs' in data and data['prefs'] is not None:
|
|
129
|
+
instance.prefs = Preferences.with_data(
|
|
130
|
+
data['prefs'], model_type
|
|
131
|
+
)
|
|
132
|
+
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 .organization import Organization
|
|
6
|
+
|
|
7
|
+
T = TypeVar('T')
|
|
8
|
+
|
|
9
|
+
class OrganizationList(AppwriteModel, Generic[T]):
|
|
10
|
+
"""
|
|
11
|
+
Organizations list
|
|
12
|
+
|
|
13
|
+
Attributes
|
|
14
|
+
----------
|
|
15
|
+
total : float
|
|
16
|
+
Total number of teams that matched your query.
|
|
17
|
+
teams : List[Organization[T]]
|
|
18
|
+
List of teams.
|
|
19
|
+
"""
|
|
20
|
+
total: float = Field(..., alias='total')
|
|
21
|
+
teams: List[Organization[T]] = Field(..., alias='teams')
|
|
22
|
+
|
|
23
|
+
@classmethod
|
|
24
|
+
def with_data(cls, data: Dict[str, Any], model_type: Type[T] = dict) -> 'OrganizationList[T]':
|
|
25
|
+
"""Create OrganizationList 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
|
+
Organization.with_data(row, model_type)
|
|
30
|
+
for row in data['teams']
|
|
31
|
+
]
|
|
32
|
+
return instance
|
|
@@ -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 PaymentAuthentication(AppwriteModel):
|
|
7
|
+
"""
|
|
8
|
+
PaymentAuthentication
|
|
9
|
+
|
|
10
|
+
Attributes
|
|
11
|
+
----------
|
|
12
|
+
message : str
|
|
13
|
+
Message for the end user to show on Console.
|
|
14
|
+
clientsecret : str
|
|
15
|
+
Stripe client secret to use for validation.
|
|
16
|
+
organizationid : str
|
|
17
|
+
Organization ID for which the payment authentication is needed.
|
|
18
|
+
invoiceid : str
|
|
19
|
+
Invoice ID against which the payment needs to be validated.
|
|
20
|
+
addonid : str
|
|
21
|
+
Addon ID to use when calling the addon validate endpoint. Empty when authentication is not for an addon.
|
|
22
|
+
projectid : str
|
|
23
|
+
Project ID for project-level addon payments. Empty for organization-level addons.
|
|
24
|
+
"""
|
|
25
|
+
message: str = Field(..., alias='message')
|
|
26
|
+
clientsecret: str = Field(..., alias='clientSecret')
|
|
27
|
+
organizationid: str = Field(..., alias='organizationId')
|
|
28
|
+
invoiceid: str = Field(..., alias='invoiceId')
|
|
29
|
+
addonid: str = Field(..., alias='addonId')
|
|
30
|
+
projectid: str = Field(..., alias='projectId')
|