appwrite 27.1.0__tar.gz → 27.2.0__tar.gz

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.
Files changed (489) hide show
  1. {appwrite-27.1.0 → appwrite-27.2.0}/PKG-INFO +4 -4
  2. {appwrite-27.1.0 → appwrite-27.2.0}/README.md +2 -2
  3. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/client.py +10 -3
  4. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/appwrite_migration_resource.py +1 -0
  5. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/o_auth_provider.py +2 -0
  6. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/project_key_scopes.py +6 -0
  7. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/project_o_auth_provider_id.py +2 -0
  8. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/project_policy_id.py +1 -0
  9. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/__init__.py +10 -0
  10. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/activity_event.py +5 -0
  11. appwrite-27.2.0/appwrite/models/device.py +59 -0
  12. appwrite-27.2.0/appwrite/models/environment.py +48 -0
  13. appwrite-27.2.0/appwrite/models/environment_list.py +34 -0
  14. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_provider_list.py +3 -1
  15. appwrite-27.2.0/appwrite/models/o_auth2_vipps.py +43 -0
  16. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/organization.py +13 -0
  17. appwrite-27.2.0/appwrite/models/policy_account_devices.py +33 -0
  18. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/policy_list.py +3 -1
  19. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/project.py +19 -2
  20. appwrite-27.2.0/appwrite/models/project_list.py +44 -0
  21. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/proxy_rule.py +10 -0
  22. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/session.py +5 -0
  23. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/waf_rule_bypass.py +3 -0
  24. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/waf_rule_challenge.py +3 -0
  25. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/waf_rule_deny.py +3 -0
  26. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/waf_rule_rate_limit.py +3 -0
  27. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/waf_rule_redirect.py +3 -0
  28. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/services/account.py +169 -2
  29. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/services/domains.py +2 -2
  30. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/services/organization.py +28 -12
  31. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/services/project.py +455 -101
  32. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/services/proxy.py +170 -1
  33. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/services/storage.py +2 -2
  34. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/services/waf.py +50 -0
  35. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite.egg-info/PKG-INFO +4 -4
  36. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite.egg-info/SOURCES.txt +5 -0
  37. {appwrite-27.1.0 → appwrite-27.2.0}/pyproject.toml +1 -1
  38. {appwrite-27.1.0 → appwrite-27.2.0}/setup.py +2 -2
  39. appwrite-27.1.0/appwrite/models/project_list.py +0 -34
  40. {appwrite-27.1.0 → appwrite-27.2.0}/LICENSE +0 -0
  41. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/__init__.py +0 -0
  42. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/encoders/__init__.py +0 -0
  43. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/encoders/value_class_encoder.py +0 -0
  44. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/__init__.py +0 -0
  45. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/adapter.py +0 -0
  46. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/attribute_status.py +0 -0
  47. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/authentication_factor.py +0 -0
  48. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/authenticator_type.py +0 -0
  49. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/backup_services.py +0 -0
  50. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/billing_plan_group.py +0 -0
  51. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/browser.py +0 -0
  52. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/browser_permission.py +0 -0
  53. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/browser_theme.py +0 -0
  54. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/build_runtime.py +0 -0
  55. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/column_status.py +0 -0
  56. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/compression.py +0 -0
  57. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/credit_card.py +0 -0
  58. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/database_status.py +0 -0
  59. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/database_type.py +0 -0
  60. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/databases_index_type.py +0 -0
  61. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/deployment_download_type.py +0 -0
  62. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/deployment_status.py +0 -0
  63. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/documents_db_index_type.py +0 -0
  64. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/domain_registration_type.py +0 -0
  65. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/domain_transfer_status_enum.py +0 -0
  66. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/embedding_model.py +0 -0
  67. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/environment_resource.py +0 -0
  68. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/execution_method.py +0 -0
  69. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/execution_resource_type.py +0 -0
  70. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/execution_status.py +0 -0
  71. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/execution_trigger.py +0 -0
  72. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/firebase_migration_resource.py +0 -0
  73. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/flag.py +0 -0
  74. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/framework.py +0 -0
  75. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/id_token_provider.py +0 -0
  76. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/image_format.py +0 -0
  77. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/image_gravity.py +0 -0
  78. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/index_status.py +0 -0
  79. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/invalidation_type.py +0 -0
  80. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/message_priority.py +0 -0
  81. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/message_status.py +0 -0
  82. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/messaging_provider_type.py +0 -0
  83. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/n_host_migration_resource.py +0 -0
  84. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/o_auth2_auth0_prompt.py +0 -0
  85. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/o_auth2_discord_prompt.py +0 -0
  86. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/o_auth2_github_prompt.py +0 -0
  87. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/o_auth2_google_prompt.py +0 -0
  88. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/o_auth2_kakao_prompt.py +0 -0
  89. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/o_auth2_microsoft_prompt.py +0 -0
  90. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/o_auth2_oidc_prompt.py +0 -0
  91. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/o_auth2_okta_prompt.py +0 -0
  92. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/o_auth2_salesforce_prompt.py +0 -0
  93. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/o_auth2_zoho_prompt.py +0 -0
  94. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/on_duplicate.py +0 -0
  95. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/order_by.py +0 -0
  96. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/password_hash.py +0 -0
  97. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/platform_type.py +0 -0
  98. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/project_auth_method_id.py +0 -0
  99. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/project_email_template_id.py +0 -0
  100. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/project_email_template_locale.py +0 -0
  101. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/project_o_auth2_auth0_prompt.py +0 -0
  102. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/project_o_auth2_discord_prompt.py +0 -0
  103. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/project_o_auth2_git_hub_prompt.py +0 -0
  104. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/project_o_auth2_google_prompt.py +0 -0
  105. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/project_o_auth2_kakao_prompt.py +0 -0
  106. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/project_o_auth2_microsoft_prompt.py +0 -0
  107. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/project_o_auth2_oidc_prompt.py +0 -0
  108. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/project_o_auth2_okta_prompt.py +0 -0
  109. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/project_o_auth2_salesforce_prompt.py +0 -0
  110. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/project_o_auth2_zoho_prompt.py +0 -0
  111. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/project_protocol_id.py +0 -0
  112. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/project_service_id.py +0 -0
  113. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/project_smtp_secure.py +0 -0
  114. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/proxy_resource_type.py +0 -0
  115. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/proxy_rule_deployment_resource_type.py +0 -0
  116. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/proxy_rule_protocol.py +0 -0
  117. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/proxy_rule_status.py +0 -0
  118. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/region.py +0 -0
  119. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/relation_mutate.py +0 -0
  120. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/relationship_type.py +0 -0
  121. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/runtime.py +0 -0
  122. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/smtp_encryption.py +0 -0
  123. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/status_code.py +0 -0
  124. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/supabase_migration_resource.py +0 -0
  125. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/tables_db_index_type.py +0 -0
  126. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/template_reference_type.py +0 -0
  127. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/timezone.py +0 -0
  128. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/vcs_reference_type.py +0 -0
  129. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/vectors_db_index_type.py +0 -0
  130. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/enums/waf_rule_action.py +0 -0
  131. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/exception.py +0 -0
  132. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/id.py +0 -0
  133. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/input_file.py +0 -0
  134. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/account.py +0 -0
  135. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/activity_event_list.py +0 -0
  136. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/additional_resource.py +0 -0
  137. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/algo_argon2.py +0 -0
  138. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/algo_bcrypt.py +0 -0
  139. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/algo_md5.py +0 -0
  140. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/algo_phpass.py +0 -0
  141. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/algo_scrypt.py +0 -0
  142. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/algo_scrypt_modified.py +0 -0
  143. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/algo_sha.py +0 -0
  144. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/app.py +0 -0
  145. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/app_installation.py +0 -0
  146. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/app_installation_list.py +0 -0
  147. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/app_key.py +0 -0
  148. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/app_key_list.py +0 -0
  149. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/app_scope.py +0 -0
  150. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/app_scope_list.py +0 -0
  151. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/app_secret.py +0 -0
  152. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/app_secret_list.py +0 -0
  153. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/app_secret_plaintext.py +0 -0
  154. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/apps_list.py +0 -0
  155. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/attribute_bigint.py +0 -0
  156. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/attribute_boolean.py +0 -0
  157. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/attribute_datetime.py +0 -0
  158. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/attribute_email.py +0 -0
  159. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/attribute_enum.py +0 -0
  160. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/attribute_float.py +0 -0
  161. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/attribute_integer.py +0 -0
  162. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/attribute_ip.py +0 -0
  163. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/attribute_line.py +0 -0
  164. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/attribute_list.py +0 -0
  165. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/attribute_longtext.py +0 -0
  166. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/attribute_mediumtext.py +0 -0
  167. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/attribute_object.py +0 -0
  168. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/attribute_point.py +0 -0
  169. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/attribute_polygon.py +0 -0
  170. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/attribute_relationship.py +0 -0
  171. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/attribute_string.py +0 -0
  172. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/attribute_text.py +0 -0
  173. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/attribute_url.py +0 -0
  174. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/attribute_varchar.py +0 -0
  175. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/attribute_vector.py +0 -0
  176. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/backup_archive.py +0 -0
  177. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/backup_archive_list.py +0 -0
  178. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/backup_policy.py +0 -0
  179. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/backup_policy_list.py +0 -0
  180. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/backup_restoration.py +0 -0
  181. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/backup_restoration_list.py +0 -0
  182. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/base_model.py +0 -0
  183. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/billing_limits.py +0 -0
  184. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/billing_plan.py +0 -0
  185. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/billing_plan_addon.py +0 -0
  186. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/billing_plan_addon_details.py +0 -0
  187. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/billing_plan_dedicated_database_limits.py +0 -0
  188. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/billing_plan_limits.py +0 -0
  189. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/billing_plan_supported_addons.py +0 -0
  190. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/block.py +0 -0
  191. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/bucket.py +0 -0
  192. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/bucket_list.py +0 -0
  193. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/collection.py +0 -0
  194. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/collection_list.py +0 -0
  195. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/column_bigint.py +0 -0
  196. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/column_boolean.py +0 -0
  197. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/column_datetime.py +0 -0
  198. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/column_email.py +0 -0
  199. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/column_enum.py +0 -0
  200. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/column_float.py +0 -0
  201. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/column_index.py +0 -0
  202. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/column_index_list.py +0 -0
  203. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/column_integer.py +0 -0
  204. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/column_ip.py +0 -0
  205. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/column_line.py +0 -0
  206. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/column_list.py +0 -0
  207. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/column_longtext.py +0 -0
  208. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/column_mediumtext.py +0 -0
  209. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/column_point.py +0 -0
  210. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/column_polygon.py +0 -0
  211. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/column_relationship.py +0 -0
  212. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/column_string.py +0 -0
  213. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/column_text.py +0 -0
  214. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/column_url.py +0 -0
  215. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/column_varchar.py +0 -0
  216. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/continent.py +0 -0
  217. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/continent_list.py +0 -0
  218. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/country.py +0 -0
  219. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/country_list.py +0 -0
  220. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/currency.py +0 -0
  221. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/currency_list.py +0 -0
  222. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/database.py +0 -0
  223. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/database_list.py +0 -0
  224. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/database_migration.py +0 -0
  225. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/database_migration_list.py +0 -0
  226. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/database_status.py +0 -0
  227. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/database_status_connections.py +0 -0
  228. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/database_status_replica.py +0 -0
  229. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/database_status_volume.py +0 -0
  230. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/dedicated_database.py +0 -0
  231. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_backup.py +0 -0
  232. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_backup_list.py +0 -0
  233. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_backup_storage.py +0 -0
  234. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_branch.py +0 -0
  235. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_branch_list.py +0 -0
  236. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_execution.py +0 -0
  237. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_execution_column.py +0 -0
  238. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_extensions.py +0 -0
  239. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_list.py +0 -0
  240. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_member.py +0 -0
  241. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_operation.py +0 -0
  242. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_operation_list.py +0 -0
  243. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_pitr_windows.py +0 -0
  244. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_pooler.py +0 -0
  245. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_replicas.py +0 -0
  246. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_restoration.py +0 -0
  247. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_restoration_list.py +0 -0
  248. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_specification.py +0 -0
  249. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_specification_list.py +0 -0
  250. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/deployment.py +0 -0
  251. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/deployment_list.py +0 -0
  252. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/dns_record.py +0 -0
  253. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/dns_records_list.py +0 -0
  254. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/document.py +0 -0
  255. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/document_list.py +0 -0
  256. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/domain.py +0 -0
  257. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/domain_price.py +0 -0
  258. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/domain_prices_list.py +0 -0
  259. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/domain_transfer_status.py +0 -0
  260. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/domains_list.py +0 -0
  261. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/email_template.py +0 -0
  262. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/email_template_list.py +0 -0
  263. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/embedding.py +0 -0
  264. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/embedding_list.py +0 -0
  265. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/ephemeral_key.py +0 -0
  266. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/execution.py +0 -0
  267. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/execution_list.py +0 -0
  268. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/file.py +0 -0
  269. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/file_list.py +0 -0
  270. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/framework.py +0 -0
  271. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/framework_adapter.py +0 -0
  272. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/framework_list.py +0 -0
  273. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/function.py +0 -0
  274. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/function_list.py +0 -0
  275. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/headers.py +0 -0
  276. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/identity.py +0 -0
  277. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/identity_list.py +0 -0
  278. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/index.py +0 -0
  279. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/index_list.py +0 -0
  280. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/insight.py +0 -0
  281. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/insight_cta.py +0 -0
  282. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/insight_list.py +0 -0
  283. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/jwt.py +0 -0
  284. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/key.py +0 -0
  285. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/key_list.py +0 -0
  286. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/language.py +0 -0
  287. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/language_list.py +0 -0
  288. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/locale.py +0 -0
  289. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/locale_code.py +0 -0
  290. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/locale_code_list.py +0 -0
  291. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/membership.py +0 -0
  292. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/membership_list.py +0 -0
  293. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/message.py +0 -0
  294. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/message_list.py +0 -0
  295. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/mfa_challenge.py +0 -0
  296. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/mfa_challenge_secret.py +0 -0
  297. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/mfa_factors.py +0 -0
  298. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/mfa_recovery_codes.py +0 -0
  299. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/mfa_type.py +0 -0
  300. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/migration.py +0 -0
  301. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/migration_list.py +0 -0
  302. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/mock_number.py +0 -0
  303. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/mock_number_list.py +0 -0
  304. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_amazon.py +0 -0
  305. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_apple.py +0 -0
  306. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_appwrite.py +0 -0
  307. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_auth0.py +0 -0
  308. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_authentik.py +0 -0
  309. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_autodesk.py +0 -0
  310. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_bitbucket.py +0 -0
  311. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_bitly.py +0 -0
  312. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_box.py +0 -0
  313. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_cloudflare.py +0 -0
  314. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_dailymotion.py +0 -0
  315. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_discord.py +0 -0
  316. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_disqus.py +0 -0
  317. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_dropbox.py +0 -0
  318. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_etsy.py +0 -0
  319. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_facebook.py +0 -0
  320. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_figma.py +0 -0
  321. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_fusion_auth.py +0 -0
  322. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_github.py +0 -0
  323. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_gitlab.py +0 -0
  324. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_google.py +0 -0
  325. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_hugging_face.py +0 -0
  326. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_kakao.py +0 -0
  327. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_keycloak.py +0 -0
  328. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_kick.py +0 -0
  329. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_linkedin.py +0 -0
  330. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_microsoft.py +0 -0
  331. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_notion.py +0 -0
  332. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_oidc.py +0 -0
  333. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_okta.py +0 -0
  334. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_paypal.py +0 -0
  335. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_podio.py +0 -0
  336. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_resend.py +0 -0
  337. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_salesforce.py +0 -0
  338. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_slack.py +0 -0
  339. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_spotify.py +0 -0
  340. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_stripe.py +0 -0
  341. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_tik_tok.py +0 -0
  342. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_tradeshift.py +0 -0
  343. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_twitch.py +0 -0
  344. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_webflow.py +0 -0
  345. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_word_press.py +0 -0
  346. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_x.py +0 -0
  347. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_yahoo.py +0 -0
  348. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_yandex.py +0 -0
  349. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_zoho.py +0 -0
  350. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/o_auth2_zoom.py +0 -0
  351. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/oauth2_approve.py +0 -0
  352. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/oauth2_authorize.py +0 -0
  353. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/oauth2_consent.py +0 -0
  354. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/oauth2_consent_list.py +0 -0
  355. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/oauth2_consent_token.py +0 -0
  356. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/oauth2_consent_token_list.py +0 -0
  357. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/oauth2_device_authorization.py +0 -0
  358. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/oauth2_grant.py +0 -0
  359. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/oauth2_introspection.py +0 -0
  360. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/oauth2_organization.py +0 -0
  361. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/oauth2_organization_list.py +0 -0
  362. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/oauth2_par.py +0 -0
  363. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/oauth2_project.py +0 -0
  364. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/oauth2_project_list.py +0 -0
  365. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/oauth2_reject.py +0 -0
  366. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/oauth2_token.py +0 -0
  367. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/passkey.py +0 -0
  368. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/passkey_challenge.py +0 -0
  369. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/passkey_list.py +0 -0
  370. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/phone.py +0 -0
  371. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/phone_list.py +0 -0
  372. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/platform_android.py +0 -0
  373. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/platform_apple.py +0 -0
  374. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/platform_linux.py +0 -0
  375. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/platform_list.py +0 -0
  376. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/platform_web.py +0 -0
  377. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/platform_windows.py +0 -0
  378. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/policy_deny_aliased_email.py +0 -0
  379. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/policy_deny_corporate_email.py +0 -0
  380. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/policy_deny_disposable_email.py +0 -0
  381. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/policy_deny_free_email.py +0 -0
  382. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/policy_deny_realtime_guests.py +0 -0
  383. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/policy_membership_privacy.py +0 -0
  384. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/policy_mfa_factors.py +0 -0
  385. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/policy_passkey.py +0 -0
  386. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/policy_password_dictionary.py +0 -0
  387. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/policy_password_history.py +0 -0
  388. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/policy_password_personal_data.py +0 -0
  389. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/policy_password_pwned.py +0 -0
  390. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/policy_password_rotation.py +0 -0
  391. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/policy_password_strength.py +0 -0
  392. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/policy_session_alert.py +0 -0
  393. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/policy_session_duration.py +0 -0
  394. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/policy_session_invalidation.py +0 -0
  395. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/policy_session_limit.py +0 -0
  396. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/policy_user_limit.py +0 -0
  397. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/postgres_extension.py +0 -0
  398. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/preferences.py +0 -0
  399. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/presence.py +0 -0
  400. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/presence_list.py +0 -0
  401. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/program.py +0 -0
  402. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/project_auth_method.py +0 -0
  403. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/project_protocol.py +0 -0
  404. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/project_service.py +0 -0
  405. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/provider.py +0 -0
  406. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/provider_list.py +0 -0
  407. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/proxy_invalidation.py +0 -0
  408. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/proxy_rule_list.py +0 -0
  409. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/report.py +0 -0
  410. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/report_list.py +0 -0
  411. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/resource_token.py +0 -0
  412. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/resource_token_list.py +0 -0
  413. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/row.py +0 -0
  414. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/row_list.py +0 -0
  415. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/runtime.py +0 -0
  416. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/runtime_list.py +0 -0
  417. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/session_list.py +0 -0
  418. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/site.py +0 -0
  419. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/site_list.py +0 -0
  420. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/specification.py +0 -0
  421. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/specification_list.py +0 -0
  422. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/subscriber.py +0 -0
  423. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/subscriber_list.py +0 -0
  424. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/table.py +0 -0
  425. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/table_list.py +0 -0
  426. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/target.py +0 -0
  427. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/target_list.py +0 -0
  428. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/team.py +0 -0
  429. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/team_list.py +0 -0
  430. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/token.py +0 -0
  431. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/token_secret.py +0 -0
  432. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/topic.py +0 -0
  433. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/topic_list.py +0 -0
  434. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/transaction.py +0 -0
  435. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/transaction_list.py +0 -0
  436. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/usage_billing_plan.py +0 -0
  437. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/user.py +0 -0
  438. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/user_list.py +0 -0
  439. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/variable.py +0 -0
  440. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/variable_list.py +0 -0
  441. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/vectorsdb_collection.py +0 -0
  442. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/vectorsdb_collection_list.py +0 -0
  443. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/waf_rule_list.py +0 -0
  444. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/webhook.py +0 -0
  445. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/models/webhook_list.py +0 -0
  446. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/operator.py +0 -0
  447. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/permission.py +0 -0
  448. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/query.py +0 -0
  449. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/role.py +0 -0
  450. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/service.py +0 -0
  451. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/services/__init__.py +0 -0
  452. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/services/activities.py +0 -0
  453. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/services/advisor.py +0 -0
  454. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/services/apps.py +0 -0
  455. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/services/avatars.py +0 -0
  456. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/services/backups.py +0 -0
  457. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/services/databases.py +0 -0
  458. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/services/documents_db.py +0 -0
  459. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/services/embeddings.py +0 -0
  460. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/services/functions.py +0 -0
  461. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/services/graphql.py +0 -0
  462. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/services/locale.py +0 -0
  463. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/services/messaging.py +0 -0
  464. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/services/migrations.py +0 -0
  465. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/services/mongo.py +0 -0
  466. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/services/mysql.py +0 -0
  467. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/services/oauth2.py +0 -0
  468. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/services/postgresql.py +0 -0
  469. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/services/presences.py +0 -0
  470. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/services/sites.py +0 -0
  471. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/services/tables_db.py +0 -0
  472. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/services/teams.py +0 -0
  473. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/services/tokens.py +0 -0
  474. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/services/users.py +0 -0
  475. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/services/vectors_db.py +0 -0
  476. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/services/webhooks.py +0 -0
  477. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/topic.py +0 -0
  478. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/utils/__init__.py +0 -0
  479. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite/utils/deprecated.py +0 -0
  480. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite.egg-info/dependency_links.txt +0 -0
  481. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite.egg-info/requires.txt +0 -0
  482. {appwrite-27.1.0 → appwrite-27.2.0}/appwrite.egg-info/top_level.txt +0 -0
  483. {appwrite-27.1.0 → appwrite-27.2.0}/setup.cfg +0 -0
  484. {appwrite-27.1.0 → appwrite-27.2.0}/test/test_id.py +0 -0
  485. {appwrite-27.1.0 → appwrite-27.2.0}/test/test_operator.py +0 -0
  486. {appwrite-27.1.0 → appwrite-27.2.0}/test/test_permission.py +0 -0
  487. {appwrite-27.1.0 → appwrite-27.2.0}/test/test_query.py +0 -0
  488. {appwrite-27.1.0 → appwrite-27.2.0}/test/test_role.py +0 -0
  489. {appwrite-27.1.0 → appwrite-27.2.0}/test/test_topic.py +0 -0
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: appwrite
3
- Version: 27.1.0
3
+ Version: 27.2.0
4
4
  Summary: Appwrite is an open-source self-hosted backend server that abstracts and simplifies complex and repetitive development tasks behind a very simple REST API
5
5
  Home-page: https://appwrite.io/support
6
- Download-URL: https://github.com/appwrite/sdk-for-python/archive/27.1.0.tar.gz
6
+ Download-URL: https://github.com/appwrite/sdk-for-python/archive/27.2.0.tar.gz
7
7
  Author: Appwrite Team
8
8
  Author-email: Appwrite Team <team@appwrite.io>
9
9
  Maintainer: Appwrite Team
@@ -40,11 +40,11 @@ Dynamic: requires-python
40
40
  # Appwrite Python SDK
41
41
 
42
42
  ![License](https://img.shields.io/badge/license-BSD--3--Clause-blue.svg?style=flat-square)
43
- ![Version](https://img.shields.io/badge/api%20version-2.6.2-blue.svg?style=flat-square)
43
+ ![Version](https://img.shields.io/badge/api%20version-2.7.1-blue.svg?style=flat-square)
44
44
  [![X Account](https://img.shields.io/badge/follow-%40appwrite-000000?logo=x&style=flat-square)](https://x.com/appwrite)
45
45
  [![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)
46
46
 
47
- **This SDK targets Appwrite server version 2.6.x as shipped on Appwrite Cloud.** Self-hosted releases can lag behind Cloud — if you run an older self-hosted build, use a matching older SDK from [previous releases](https://github.com/appwrite/sdk-for-python/releases) when APIs differ.
47
+ **This SDK targets Appwrite server version 2.7.x as shipped on Appwrite Cloud.** Self-hosted releases can lag behind Cloud — if you run an older self-hosted build, use a matching older SDK from [previous releases](https://github.com/appwrite/sdk-for-python/releases) when APIs differ.
48
48
 
49
49
  Appwrite is an open-source backend as a service server that abstracts and simplifies complex and repetitive development tasks behind a very simple to use REST API. Appwrite aims to help you develop your apps faster and in a more secure way. Use the Python SDK to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools. For full API documentation and tutorials go to [https://appwrite.io/docs](https://appwrite.io/docs)
50
50
 
@@ -1,11 +1,11 @@
1
1
  # Appwrite Python SDK
2
2
 
3
3
  ![License](https://img.shields.io/badge/license-BSD--3--Clause-blue.svg?style=flat-square)
4
- ![Version](https://img.shields.io/badge/api%20version-2.6.2-blue.svg?style=flat-square)
4
+ ![Version](https://img.shields.io/badge/api%20version-2.7.1-blue.svg?style=flat-square)
5
5
  [![X Account](https://img.shields.io/badge/follow-%40appwrite-000000?logo=x&style=flat-square)](https://x.com/appwrite)
6
6
  [![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)
7
7
 
8
- **This SDK targets Appwrite server version 2.6.x as shipped on Appwrite Cloud.** Self-hosted releases can lag behind Cloud — if you run an older self-hosted build, use a matching older SDK from [previous releases](https://github.com/appwrite/sdk-for-python/releases) when APIs differ.
8
+ **This SDK targets Appwrite server version 2.7.x as shipped on Appwrite Cloud.** Self-hosted releases can lag behind Cloud — if you run an older self-hosted build, use a matching older SDK from [previous releases](https://github.com/appwrite/sdk-for-python/releases) when APIs differ.
9
9
 
10
10
  Appwrite is an open-source backend as a service server that abstracts and simplifies complex and repetitive development tasks behind a very simple to use REST API. Appwrite aims to help you develop your apps faster and in a more secure way. Use the Python SDK to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools. For full API documentation and tutorials go to [https://appwrite.io/docs](https://appwrite.io/docs)
11
11
 
@@ -20,12 +20,12 @@ class Client:
20
20
  self._endpoint = 'https://cloud.appwrite.io/v1'
21
21
  self._global_headers = {
22
22
  'content-type': '',
23
- 'user-agent': f'AppwritePythonSDK/27.1.0 ({platform.uname().system}; {platform.uname().version}; {platform.uname().machine})',
23
+ 'user-agent': f'AppwritePythonSDK/27.2.0 ({platform.uname().system}; {platform.uname().version}; {platform.uname().machine})',
24
24
  'x-sdk-name': 'Python',
25
25
  'x-sdk-platform': 'server',
26
26
  'x-sdk-language': 'python',
27
- 'x-sdk-version': '27.1.0',
28
- 'X-Appwrite-Response-Format': '2.6.2',
27
+ 'x-sdk-version': '27.2.0',
28
+ 'X-Appwrite-Response-Format': '2.7.1',
29
29
  }
30
30
  self._config = {}
31
31
 
@@ -89,6 +89,13 @@ class Client:
89
89
  self._config['locale'] = value
90
90
  return self
91
91
 
92
+ def set_environment(self, value):
93
+ """The ID of the project environment to act in, alongside the project ID. Used with Appwrite Cloud projects that have environments."""
94
+
95
+ self._global_headers['x-appwrite-environment'] = value
96
+ self._config['environment'] = value
97
+ return self
98
+
92
99
  def set_session(self, value):
93
100
  """The user session to authenticate with"""
94
101
 
@@ -38,6 +38,7 @@ class AppwriteMigrationResource(Enum):
38
38
  PROJECT_VARIABLE = "project-variable"
39
39
  PROJECT_PROTOCOLS = "project-protocols"
40
40
  PROJECT_LABELS = "project-labels"
41
+ PROJECT_PREFERENCES = "project-preferences"
41
42
  PROJECT_SERVICES = "project-services"
42
43
  PROJECT_EMAIL_TEMPLATE = "project-email-template"
43
44
  PROJECT_ENVIRONMENT = "project-environment"
@@ -44,6 +44,8 @@ class OAuthProvider(Enum):
44
44
  TRADESHIFT = "tradeshift"
45
45
  TRADESHIFTBOX = "tradeshiftBox"
46
46
  TWITCH = "twitch"
47
+ VIPPS = "vipps"
48
+ VIPPSSANDBOX = "vippsSandbox"
47
49
  WEBFLOW = "webflow"
48
50
  WORDPRESS = "wordpress"
49
51
  X = "x"
@@ -90,6 +90,10 @@ class ProjectKeyScopes(Enum):
90
90
  RULES_WRITE = "rules.write"
91
91
  WEBHOOKS_READ = "webhooks.read"
92
92
  WEBHOOKS_WRITE = "webhooks.write"
93
+ MONITORS_READ = "monitors.read"
94
+ MONITORS_WRITE = "monitors.write"
95
+ ALERTS_READ = "alerts.read"
96
+ ALERTS_WRITE = "alerts.write"
93
97
  LOCALE_READ = "locale.read"
94
98
  AVATARS_READ = "avatars.read"
95
99
  AVATARS_WRITE = "avatars.write"
@@ -105,6 +109,8 @@ class ProjectKeyScopes(Enum):
105
109
  INSIGHTS_WRITE = "insights.write"
106
110
  REPORTS_READ = "reports.read"
107
111
  REPORTS_WRITE = "reports.write"
112
+ REVIEWS_READ = "reviews.read"
113
+ REVIEWS_WRITE = "reviews.write"
108
114
  PRESENCES_READ = "presences.read"
109
115
  PRESENCES_WRITE = "presences.write"
110
116
  DEDICATEDDATABASES_EXECUTE = "dedicatedDatabases.execute"
@@ -44,6 +44,8 @@ class ProjectOAuthProviderId(Enum):
44
44
  TRADESHIFT = "tradeshift"
45
45
  TRADESHIFTBOX = "tradeshiftBox"
46
46
  TWITCH = "twitch"
47
+ VIPPS = "vipps"
48
+ VIPPSSANDBOX = "vippsSandbox"
47
49
  WEBFLOW = "webflow"
48
50
  WORDPRESS = "wordpress"
49
51
  X = "x"
@@ -21,3 +21,4 @@ class ProjectPolicyId(Enum):
21
21
  DENY_CORPORATE_EMAIL = "deny-corporate-email"
22
22
  DENY_REALTIME_GUESTS = "deny-realtime-guests"
23
23
  PASSKEY = "passkey"
24
+ ACCOUNT_DEVICES = "account-devices"
@@ -108,6 +108,7 @@ from .algo_argon2 import AlgoArgon2
108
108
  from .account import Account
109
109
  from .preferences import Preferences
110
110
  from .session import Session
111
+ from .device import Device
111
112
  from .identity import Identity
112
113
  from .token import Token
113
114
  from .jwt import Jwt
@@ -175,6 +176,7 @@ from .o_auth2_keycloak import OAuth2Keycloak
175
176
  from .o_auth2_oidc import OAuth2Oidc
176
177
  from .o_auth2_okta import OAuth2Okta
177
178
  from .o_auth2_kick import OAuth2Kick
179
+ from .o_auth2_vipps import OAuth2Vipps
178
180
  from .o_auth2_apple import OAuth2Apple
179
181
  from .o_auth2_microsoft import OAuth2Microsoft
180
182
  from .o_auth2_resend import OAuth2Resend
@@ -200,6 +202,7 @@ from .policy_deny_disposable_email import PolicyDenyDisposableEmail
200
202
  from .policy_deny_free_email import PolicyDenyFreeEmail
201
203
  from .policy_deny_corporate_email import PolicyDenyCorporateEmail
202
204
  from .policy_deny_realtime_guests import PolicyDenyRealtimeGuests
205
+ from .policy_account_devices import PolicyAccountDevices
203
206
  from .platform_web import PlatformWeb
204
207
  from .platform_apple import PlatformApple
205
208
  from .platform_android import PlatformAndroid
@@ -273,6 +276,8 @@ from .backup_policy import BackupPolicy
273
276
  from .dedicated_database_pooler import DedicatedDatabasePooler
274
277
  from .postgres_extension import PostgresExtension
275
278
  from .program import Program
279
+ from .environment import Environment
280
+ from .environment_list import EnvironmentList
276
281
  from .backup_restoration import BackupRestoration
277
282
  from .dedicated_database_restoration_list import DedicatedDatabaseRestorationList
278
283
  from .dedicated_database_specification import DedicatedDatabaseSpecification
@@ -435,6 +440,7 @@ __all__ = [
435
440
  'Account',
436
441
  'Preferences',
437
442
  'Session',
443
+ 'Device',
438
444
  'Identity',
439
445
  'Token',
440
446
  'Jwt',
@@ -502,6 +508,7 @@ __all__ = [
502
508
  'OAuth2Oidc',
503
509
  'OAuth2Okta',
504
510
  'OAuth2Kick',
511
+ 'OAuth2Vipps',
505
512
  'OAuth2Apple',
506
513
  'OAuth2Microsoft',
507
514
  'OAuth2Resend',
@@ -527,6 +534,7 @@ __all__ = [
527
534
  'PolicyDenyFreeEmail',
528
535
  'PolicyDenyCorporateEmail',
529
536
  'PolicyDenyRealtimeGuests',
537
+ 'PolicyAccountDevices',
530
538
  'PlatformWeb',
531
539
  'PlatformApple',
532
540
  'PlatformAndroid',
@@ -600,6 +608,8 @@ __all__ = [
600
608
  'DedicatedDatabasePooler',
601
609
  'PostgresExtension',
602
610
  'Program',
611
+ 'Environment',
612
+ 'EnvironmentList',
603
613
  'BackupRestoration',
604
614
  'DedicatedDatabaseRestorationList',
605
615
  'DedicatedDatabaseSpecification',
@@ -68,6 +68,8 @@ class ActivityEvent(AppwriteModel):
68
68
  Name of the SDK that triggered the event.
69
69
  sdkversion : str
70
70
  Version of the SDK that triggered the event.
71
+ reason : str
72
+ Why the actor made the request, as sent in the `X-Appwrite-Reason` header. Empty when no reason was given.
71
73
  """
72
74
 
73
75
  id: str = Field(..., alias='$id')
@@ -99,6 +101,7 @@ class ActivityEvent(AppwriteModel):
99
101
  hostname: str = Field(..., alias='hostname')
100
102
  sdk: str = Field(..., alias='sdk')
101
103
  sdkversion: str = Field(..., alias='sdkVersion')
104
+ reason: str = Field(..., alias='reason')
102
105
 
103
106
  @model_validator(mode='before')
104
107
  @classmethod
@@ -165,4 +168,6 @@ class ActivityEvent(AppwriteModel):
165
168
  data['sdk'] = ''
166
169
  if 'sdkVersion' not in data and 'sdkversion' not in data:
167
170
  data['sdkVersion'] = ''
171
+ if 'reason' not in data:
172
+ data['reason'] = ''
168
173
  return data
@@ -0,0 +1,59 @@
1
+ from typing import Any, Dict, List, Optional, Union, cast
2
+ from pydantic import Field, PrivateAttr, model_validator
3
+
4
+ from .base_model import AppwriteModel
5
+ from .session import Session
6
+
7
+
8
+ class Device(AppwriteModel):
9
+ """
10
+ Device
11
+
12
+ Attributes
13
+ ----------
14
+ id : str
15
+ Device ID.
16
+ createdat : str
17
+ Device creation date in ISO 8601 format.
18
+ updatedat : str
19
+ Device update date in ISO 8601 format.
20
+ expire : str
21
+ Device expiration date in ISO 8601 format.
22
+ activesessionid : str
23
+ ID of the session that is currently active on the device. Empty when no session is active, for example right after the active session was deleted.
24
+ sessions : List[Session]
25
+ List of sessions the device holds. Switch between them to change the active account.
26
+ secret : str
27
+ Secret used to authenticate the device. Carried by the device cookie; only included in the response if the request was made with an API key.
28
+ """
29
+
30
+ id: str = Field(..., alias='$id')
31
+ createdat: str = Field(..., alias='$createdAt')
32
+ updatedat: str = Field(..., alias='$updatedAt')
33
+ expire: str = Field(..., alias='expire')
34
+ activesessionid: str = Field(..., alias='activeSessionId')
35
+ sessions: List[Session] = Field(..., alias='sessions')
36
+ secret: str = Field(..., alias='secret')
37
+
38
+ @model_validator(mode='before')
39
+ @classmethod
40
+ def _apply_defaults(cls, data: Any) -> Any:
41
+ if not isinstance(data, dict):
42
+ return data
43
+
44
+ data = dict(data)
45
+ if '$id' not in data and 'id' not in data:
46
+ data['$id'] = ''
47
+ if '$createdAt' not in data and 'createdat' not in data:
48
+ data['$createdAt'] = ''
49
+ if '$updatedAt' not in data and 'updatedat' not in data:
50
+ data['$updatedAt'] = ''
51
+ if 'expire' not in data:
52
+ data['expire'] = ''
53
+ if 'activeSessionId' not in data and 'activesessionid' not in data:
54
+ data['activeSessionId'] = ''
55
+ if 'sessions' not in data:
56
+ data['sessions'] = []
57
+ if 'secret' not in data:
58
+ data['secret'] = ''
59
+ return data
@@ -0,0 +1,48 @@
1
+ from typing import Any, Dict, List, Optional, Union, cast
2
+ from pydantic import Field, PrivateAttr, model_validator
3
+
4
+ from .base_model import AppwriteModel
5
+
6
+
7
+ class Environment(AppwriteModel):
8
+ """
9
+ Environment
10
+
11
+ Attributes
12
+ ----------
13
+ id : str
14
+ Environment ID, as passed in the X-Appwrite-Environment header.
15
+ createdat : str
16
+ Environment creation date in ISO 8601 format.
17
+ updatedat : str
18
+ Environment update date in ISO 8601 format.
19
+ projectid : str
20
+ ID of the project the environment belongs to, as passed in the X-Appwrite-Project header.
21
+ name : str
22
+ Environment name.
23
+ """
24
+
25
+ id: str = Field(..., alias='$id')
26
+ createdat: str = Field(..., alias='$createdAt')
27
+ updatedat: str = Field(..., alias='$updatedAt')
28
+ projectid: str = Field(..., alias='projectId')
29
+ name: str = Field(..., alias='name')
30
+
31
+ @model_validator(mode='before')
32
+ @classmethod
33
+ def _apply_defaults(cls, data: Any) -> Any:
34
+ if not isinstance(data, dict):
35
+ return data
36
+
37
+ data = dict(data)
38
+ if '$id' not in data and 'id' not in data:
39
+ data['$id'] = ''
40
+ if '$createdAt' not in data and 'createdat' not in data:
41
+ data['$createdAt'] = ''
42
+ if '$updatedAt' not in data and 'updatedat' not in data:
43
+ data['$updatedAt'] = ''
44
+ if 'projectId' not in data and 'projectid' not in data:
45
+ data['projectId'] = ''
46
+ if 'name' not in data:
47
+ data['name'] = ''
48
+ return data
@@ -0,0 +1,34 @@
1
+ from typing import Any, Dict, List, Optional, Union, cast
2
+ from pydantic import Field, PrivateAttr, model_validator
3
+
4
+ from .base_model import AppwriteModel
5
+ from .environment import Environment
6
+
7
+
8
+ class EnvironmentList(AppwriteModel):
9
+ """
10
+ Environments list
11
+
12
+ Attributes
13
+ ----------
14
+ total : float
15
+ Total number of environments that matched your query.
16
+ environments : List[Environment]
17
+ List of environments.
18
+ """
19
+
20
+ total: float = Field(..., alias='total')
21
+ environments: List[Environment] = Field(..., alias='environments')
22
+
23
+ @model_validator(mode='before')
24
+ @classmethod
25
+ def _apply_defaults(cls, data: Any) -> Any:
26
+ if not isinstance(data, dict):
27
+ return data
28
+
29
+ data = dict(data)
30
+ if 'total' not in data:
31
+ data['total'] = 0
32
+ if 'environments' not in data:
33
+ data['environments'] = []
34
+ return data
@@ -49,6 +49,7 @@ from .o_auth2_resend import OAuth2Resend
49
49
  from .o_auth2_cloudflare import OAuth2Cloudflare
50
50
  from .o_auth2_tik_tok import OAuth2TikTok
51
51
  from .o_auth2_kakao import OAuth2Kakao
52
+ from .o_auth2_vipps import OAuth2Vipps
52
53
 
53
54
 
54
55
  class OAuth2ProviderList(AppwriteModel):
@@ -59,7 +60,7 @@ class OAuth2ProviderList(AppwriteModel):
59
60
  ----------
60
61
  total : float
61
62
  Total number of OAuth2 providers in the given project.
62
- providers : List[Union[OAuth2Github, OAuth2Discord, OAuth2Figma, OAuth2Dropbox, OAuth2Dailymotion, OAuth2Bitbucket, OAuth2Bitly, OAuth2Box, OAuth2Autodesk, OAuth2Google, OAuth2Zoom, OAuth2Zoho, OAuth2Yandex, OAuth2X, OAuth2WordPress, OAuth2Webflow, OAuth2Twitch, OAuth2Stripe, OAuth2Spotify, OAuth2Slack, OAuth2Podio, OAuth2Notion, OAuth2Salesforce, OAuth2Yahoo, OAuth2Linkedin, OAuth2Disqus, OAuth2Amazon, OAuth2Etsy, OAuth2Facebook, OAuth2Tradeshift, OAuth2Paypal, OAuth2Gitlab, OAuth2Appwrite, OAuth2Authentik, OAuth2Auth0, OAuth2FusionAuth, OAuth2Keycloak, OAuth2Oidc, OAuth2Apple, OAuth2Okta, OAuth2Kick, OAuth2Microsoft, OAuth2HuggingFace, OAuth2Resend, OAuth2Cloudflare, OAuth2TikTok, OAuth2Kakao]]
63
+ providers : List[Union[OAuth2Github, OAuth2Discord, OAuth2Figma, OAuth2Dropbox, OAuth2Dailymotion, OAuth2Bitbucket, OAuth2Bitly, OAuth2Box, OAuth2Autodesk, OAuth2Google, OAuth2Zoom, OAuth2Zoho, OAuth2Yandex, OAuth2X, OAuth2WordPress, OAuth2Webflow, OAuth2Twitch, OAuth2Stripe, OAuth2Spotify, OAuth2Slack, OAuth2Podio, OAuth2Notion, OAuth2Salesforce, OAuth2Yahoo, OAuth2Linkedin, OAuth2Disqus, OAuth2Amazon, OAuth2Etsy, OAuth2Facebook, OAuth2Tradeshift, OAuth2Paypal, OAuth2Gitlab, OAuth2Appwrite, OAuth2Authentik, OAuth2Auth0, OAuth2FusionAuth, OAuth2Keycloak, OAuth2Oidc, OAuth2Apple, OAuth2Okta, OAuth2Kick, OAuth2Microsoft, OAuth2HuggingFace, OAuth2Resend, OAuth2Cloudflare, OAuth2TikTok, OAuth2Kakao, OAuth2Vipps]]
63
64
  List of OAuth2 providers.
64
65
  """
65
66
 
@@ -113,6 +114,7 @@ class OAuth2ProviderList(AppwriteModel):
113
114
  OAuth2Cloudflare,
114
115
  OAuth2TikTok,
115
116
  OAuth2Kakao,
117
+ OAuth2Vipps,
116
118
  ]
117
119
  ] = Field(..., alias='providers')
118
120
 
@@ -0,0 +1,43 @@
1
+ from typing import Any, Dict, List, Optional, Union, cast
2
+ from pydantic import Field, PrivateAttr, model_validator
3
+
4
+ from .base_model import AppwriteModel
5
+
6
+
7
+ class OAuth2Vipps(AppwriteModel):
8
+ """
9
+ OAuth2Vipps
10
+
11
+ Attributes
12
+ ----------
13
+ id : str
14
+ OAuth2 provider ID.
15
+ enabled : bool
16
+ OAuth2 provider is active and can be used to create sessions.
17
+ clientid : str
18
+ Vipps MobilePay OAuth2 client ID.
19
+ clientsecret : str
20
+ Vipps MobilePay OAuth2 client secret.
21
+ """
22
+
23
+ id: str = Field(..., alias='$id')
24
+ enabled: bool = Field(..., alias='enabled')
25
+ clientid: str = Field(..., alias='clientId')
26
+ clientsecret: str = Field(..., alias='clientSecret')
27
+
28
+ @model_validator(mode='before')
29
+ @classmethod
30
+ def _apply_defaults(cls, data: Any) -> Any:
31
+ if not isinstance(data, dict):
32
+ return data
33
+
34
+ data = dict(data)
35
+ if '$id' not in data and 'id' not in data:
36
+ data['$id'] = ''
37
+ if 'enabled' not in data:
38
+ data['enabled'] = False
39
+ if 'clientId' not in data and 'clientid' not in data:
40
+ data['clientId'] = ''
41
+ if 'clientSecret' not in data and 'clientsecret' not in data:
42
+ data['clientSecret'] = ''
43
+ return data
@@ -31,6 +31,10 @@ class Organization(AppwriteModel, Generic[T]):
31
31
  Project budget limit. Null when no budget is set.
32
32
  budgetalerts : List[Any]
33
33
  Project budget limit
34
+ budgetnotify : List[Any]
35
+ Organization roles whose confirmed members are emailed when a budget alert fires.
36
+ budgetcritical : List[Any]
37
+ Budget alert percentages whose push notifications are critical.
34
38
  billingplan : str
35
39
  Organization&#039;s billing plan ID.
36
40
  billingplanid : str
@@ -73,6 +77,8 @@ class Organization(AppwriteModel, Generic[T]):
73
77
  Program&#039;s discord channel name.
74
78
  programdiscordchannelurl : Optional[str]
75
79
  Program&#039;s discord channel URL.
80
+ educationexpiresat : Optional[str]
81
+ When the education plan ends, for an organization on it.
76
82
  billinglimits : Optional[BillingLimits]
77
83
  Billing limits reached
78
84
  billingplandowngrade : Optional[str]
@@ -95,6 +101,8 @@ class Organization(AppwriteModel, Generic[T]):
95
101
  prefs: Preferences[T] = Field(..., alias='prefs')
96
102
  billingbudget: Optional[float] = Field(default=None, alias='billingBudget')
97
103
  budgetalerts: List[Any] = Field(..., alias='budgetAlerts')
104
+ budgetnotify: List[Any] = Field(..., alias='budgetNotify')
105
+ budgetcritical: List[Any] = Field(..., alias='budgetCritical')
98
106
  billingplan: str = Field(..., alias='billingPlan')
99
107
  billingplanid: str = Field(..., alias='billingPlanId')
100
108
  billingplandetails: BillingPlan = Field(..., alias='billingPlanDetails')
@@ -116,6 +124,7 @@ class Organization(AppwriteModel, Generic[T]):
116
124
  programmanagercalendar: Optional[str] = Field(default=None, alias='programManagerCalendar')
117
125
  programdiscordchannelname: Optional[str] = Field(default=None, alias='programDiscordChannelName')
118
126
  programdiscordchannelurl: Optional[str] = Field(default=None, alias='programDiscordChannelUrl')
127
+ educationexpiresat: Optional[str] = Field(default=None, alias='educationExpiresAt')
119
128
  billinglimits: Optional[BillingLimits] = Field(default=None, alias='billingLimits')
120
129
  billingplandowngrade: Optional[str] = Field(default=None, alias='billingPlanDowngrade')
121
130
  billingtaxid: Optional[str] = Field(default=None, alias='billingTaxId')
@@ -142,6 +151,10 @@ class Organization(AppwriteModel, Generic[T]):
142
151
  data['total'] = 0
143
152
  if 'budgetAlerts' not in data and 'budgetalerts' not in data:
144
153
  data['budgetAlerts'] = [75]
154
+ if 'budgetNotify' not in data and 'budgetnotify' not in data:
155
+ data['budgetNotify'] = ['owner', 'billing']
156
+ if 'budgetCritical' not in data and 'budgetcritical' not in data:
157
+ data['budgetCritical'] = []
145
158
  if 'billingPlan' not in data and 'billingplan' not in data:
146
159
  data['billingPlan'] = 'tier-0'
147
160
  if 'billingPlanId' not in data and 'billingplanid' not in data:
@@ -0,0 +1,33 @@
1
+ from typing import Any, Dict, List, Optional, Union, cast
2
+ from pydantic import Field, PrivateAttr, model_validator
3
+
4
+ from .base_model import AppwriteModel
5
+
6
+
7
+ class PolicyAccountDevices(AppwriteModel):
8
+ """
9
+ Policy Account Devices
10
+
11
+ Attributes
12
+ ----------
13
+ id : str
14
+ Policy ID.
15
+ enabled : bool
16
+ Whether account devices are enabled. When disabled, new account devices can no longer be created.
17
+ """
18
+
19
+ id: str = Field(..., alias='$id')
20
+ enabled: bool = Field(..., alias='enabled')
21
+
22
+ @model_validator(mode='before')
23
+ @classmethod
24
+ def _apply_defaults(cls, data: Any) -> Any:
25
+ if not isinstance(data, dict):
26
+ return data
27
+
28
+ data = dict(data)
29
+ if '$id' not in data and 'id' not in data:
30
+ data['$id'] = ''
31
+ if 'enabled' not in data:
32
+ data['enabled'] = True
33
+ return data
@@ -21,6 +21,7 @@ from .policy_deny_free_email import PolicyDenyFreeEmail
21
21
  from .policy_deny_corporate_email import PolicyDenyCorporateEmail
22
22
  from .policy_deny_realtime_guests import PolicyDenyRealtimeGuests
23
23
  from .policy_passkey import PolicyPasskey
24
+ from .policy_account_devices import PolicyAccountDevices
24
25
 
25
26
 
26
27
  class PolicyList(AppwriteModel):
@@ -31,7 +32,7 @@ class PolicyList(AppwriteModel):
31
32
  ----------
32
33
  total : float
33
34
  Total number of policies in the given project.
34
- policies : List[Union[PolicyPasswordDictionary, PolicyPasswordHistory, PolicyPasswordStrength, PolicyPasswordPersonalData, PolicyPasswordPwned, PolicyPasswordRotation, PolicySessionAlert, PolicySessionDuration, PolicySessionInvalidation, PolicySessionLimit, PolicyUserLimit, PolicyMembershipPrivacy, PolicyMfaFactors, PolicyDenyAliasedEmail, PolicyDenyDisposableEmail, PolicyDenyFreeEmail, PolicyDenyCorporateEmail, PolicyDenyRealtimeGuests, PolicyPasskey]]
35
+ policies : List[Union[PolicyPasswordDictionary, PolicyPasswordHistory, PolicyPasswordStrength, PolicyPasswordPersonalData, PolicyPasswordPwned, PolicyPasswordRotation, PolicySessionAlert, PolicySessionDuration, PolicySessionInvalidation, PolicySessionLimit, PolicyUserLimit, PolicyMembershipPrivacy, PolicyMfaFactors, PolicyDenyAliasedEmail, PolicyDenyDisposableEmail, PolicyDenyFreeEmail, PolicyDenyCorporateEmail, PolicyDenyRealtimeGuests, PolicyPasskey, PolicyAccountDevices]]
35
36
  List of policies.
36
37
  """
37
38
 
@@ -57,6 +58,7 @@ class PolicyList(AppwriteModel):
57
58
  PolicyDenyCorporateEmail,
58
59
  PolicyDenyRealtimeGuests,
59
60
  PolicyPasskey,
61
+ PolicyAccountDevices,
60
62
  ]
61
63
  ] = Field(..., alias='policies')
62
64
 
@@ -1,15 +1,18 @@
1
- from typing import Any, Dict, List, Optional, Union, cast
1
+ from typing import Any, Dict, List, Optional, Union, cast, Generic, TypeVar, Type
2
2
  from pydantic import Field, PrivateAttr, model_validator
3
3
 
4
4
  from .base_model import AppwriteModel
5
+ from .preferences import Preferences
5
6
  from .project_auth_method import ProjectAuthMethod
6
7
  from .project_service import ProjectService
7
8
  from .project_protocol import ProjectProtocol
8
9
  from .block import Block
9
10
  from .billing_limits import BillingLimits
10
11
 
12
+ T = TypeVar('T')
11
13
 
12
- class Project(AppwriteModel):
14
+
15
+ class Project(AppwriteModel, Generic[T]):
13
16
  """
14
17
  Project
15
18
 
@@ -53,6 +56,8 @@ class Project(AppwriteModel):
53
56
  Last ping datetime in ISO 8601 format.
54
57
  labels : List[Any]
55
58
  Labels for the project.
59
+ prefs : Optional[Preferences[T]]
60
+ Project preferences as a key-value object
56
61
  status : str
57
62
  Project status
58
63
  onboarding : Dict[str, Any]
@@ -71,6 +76,8 @@ class Project(AppwriteModel):
71
76
  Whether WAF enforcement is enabled for the project.
72
77
  parentid : Optional[str]
73
78
  ID of the project this environment belongs to. Null when the project is not an environment.
79
+ environmentid : Optional[str]
80
+ ID of the environment, as passed in the X-Appwrite-Environment header, when the project is accessed as one. Null when the project is not an environment.
74
81
  billinglimits : Optional[BillingLimits]
75
82
  Billing limits reached
76
83
  firstaccessedat : Optional[str]
@@ -132,6 +139,7 @@ class Project(AppwriteModel):
132
139
  pingcount: float = Field(..., alias='pingCount')
133
140
  pingedat: str = Field(..., alias='pingedAt')
134
141
  labels: List[Any] = Field(..., alias='labels')
142
+ prefs: Optional[Preferences[T]] = Field(default=None, alias='prefs')
135
143
  status: str = Field(..., alias='status')
136
144
  onboarding: Dict[str, Any] = Field(..., alias='onboarding')
137
145
  authmethods: List[ProjectAuthMethod] = Field(..., alias='authMethods')
@@ -141,6 +149,7 @@ class Project(AppwriteModel):
141
149
  consoleaccessedat: str = Field(..., alias='consoleAccessedAt')
142
150
  wafenabled: Optional[bool] = Field(default=None, alias='wafEnabled')
143
151
  parentid: Optional[str] = Field(default=None, alias='parentId')
152
+ environmentid: Optional[str] = Field(default=None, alias='environmentId')
144
153
  billinglimits: Optional[BillingLimits] = Field(default=None, alias='billingLimits')
145
154
  firstaccessedat: Optional[str] = Field(default=None, alias='firstAccessedAt')
146
155
  mcpaccessedat: Optional[str] = Field(default=None, alias='mcpAccessedAt')
@@ -234,3 +243,11 @@ class Project(AppwriteModel):
234
243
  if 'consoleAccessedAt' not in data and 'consoleaccessedat' not in data:
235
244
  data['consoleAccessedAt'] = ''
236
245
  return data
246
+
247
+ @classmethod
248
+ def with_data(cls, data: Dict[str, Any], model_type: Type[T] = dict) -> 'Project[T]':
249
+ """Create Project instance with typed data."""
250
+ instance = cls.model_validate(data)
251
+ if 'prefs' in data and data['prefs'] is not None:
252
+ instance.prefs = Preferences.with_data(data['prefs'], model_type)
253
+ return instance
@@ -0,0 +1,44 @@
1
+ from typing import Any, Dict, List, Optional, Union, cast, Generic, TypeVar, Type
2
+ from pydantic import Field, PrivateAttr, model_validator
3
+
4
+ from .base_model import AppwriteModel
5
+ from .project import Project
6
+
7
+ T = TypeVar('T')
8
+
9
+
10
+ class ProjectList(AppwriteModel, Generic[T]):
11
+ """
12
+ Projects List
13
+
14
+ Attributes
15
+ ----------
16
+ total : float
17
+ Total number of projects that matched your query.
18
+ projects : List[Project[T]]
19
+ List of projects.
20
+ """
21
+
22
+ total: float = Field(..., alias='total')
23
+ projects: List[Project[T]] = Field(..., alias='projects')
24
+
25
+ @model_validator(mode='before')
26
+ @classmethod
27
+ def _apply_defaults(cls, data: Any) -> Any:
28
+ if not isinstance(data, dict):
29
+ return data
30
+
31
+ data = dict(data)
32
+ if 'total' not in data:
33
+ data['total'] = 0
34
+ if 'projects' not in data:
35
+ data['projects'] = []
36
+ return data
37
+
38
+ @classmethod
39
+ def with_data(cls, data: Dict[str, Any], model_type: Type[T] = dict) -> 'ProjectList[T]':
40
+ """Create ProjectList instance with typed data."""
41
+ instance = cls.model_validate(data)
42
+ if 'projects' in data and data['projects'] is not None:
43
+ instance.projects = [Project.with_data(row, model_type) for row in data['projects']]
44
+ return instance