appwrite 27.0.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.0.0 → appwrite-27.2.0}/PKG-INFO +14 -4
  2. {appwrite-27.0.0 → appwrite-27.2.0}/README.md +12 -2
  3. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/client.py +24 -5
  4. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/encoders/value_class_encoder.py +24 -0
  5. appwrite-27.2.0/appwrite/enums/appwrite_migration_resource.py +45 -0
  6. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/build_runtime.py +4 -0
  7. appwrite-27.2.0/appwrite/enums/environment_resource.py +38 -0
  8. appwrite-27.2.0/appwrite/enums/firebase_migration_resource.py +14 -0
  9. appwrite-27.2.0/appwrite/enums/n_host_migration_resource.py +15 -0
  10. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/o_auth_provider.py +2 -0
  11. appwrite-27.2.0/appwrite/enums/on_duplicate.py +7 -0
  12. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/project_key_scopes.py +6 -0
  13. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/project_o_auth_provider_id.py +2 -0
  14. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/project_policy_id.py +2 -0
  15. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/runtime.py +4 -0
  16. appwrite-27.2.0/appwrite/enums/supabase_migration_resource.py +15 -0
  17. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/__init__.py +16 -0
  18. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/activity_event.py +5 -0
  19. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/billing_plan.py +9 -0
  20. appwrite-27.2.0/appwrite/models/device.py +59 -0
  21. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/dns_record.py +1 -1
  22. appwrite-27.2.0/appwrite/models/environment.py +48 -0
  23. appwrite-27.2.0/appwrite/models/environment_list.py +34 -0
  24. appwrite-27.2.0/appwrite/models/migration.py +128 -0
  25. appwrite-27.2.0/appwrite/models/migration_list.py +34 -0
  26. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_provider_list.py +3 -1
  27. appwrite-27.2.0/appwrite/models/o_auth2_vipps.py +43 -0
  28. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/organization.py +13 -0
  29. appwrite-27.2.0/appwrite/models/policy_account_devices.py +33 -0
  30. appwrite-27.2.0/appwrite/models/policy_deny_realtime_guests.py +33 -0
  31. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/policy_list.py +5 -1
  32. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/project.py +19 -2
  33. appwrite-27.2.0/appwrite/models/project_list.py +44 -0
  34. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/provider.py +1 -1
  35. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/proxy_rule.py +10 -0
  36. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/session.py +5 -0
  37. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/waf_rule_bypass.py +3 -0
  38. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/waf_rule_challenge.py +3 -0
  39. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/waf_rule_deny.py +3 -0
  40. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/waf_rule_rate_limit.py +3 -0
  41. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/waf_rule_redirect.py +3 -0
  42. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/service.py +9 -0
  43. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/services/account.py +188 -21
  44. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/services/activities.py +1 -1
  45. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/services/advisor.py +5 -5
  46. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/services/apps.py +25 -25
  47. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/services/avatars.py +3 -3
  48. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/services/backups.py +6 -6
  49. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/services/databases.py +157 -157
  50. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/services/documents_db.py +63 -63
  51. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/services/domains.py +76 -76
  52. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/services/functions.py +33 -33
  53. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/services/messaging.py +30 -30
  54. appwrite-27.2.0/appwrite/services/migrations.py +752 -0
  55. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/services/mongo.py +37 -37
  56. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/services/mysql.py +40 -40
  57. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/services/oauth2.py +14 -14
  58. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/services/organization.py +45 -29
  59. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/services/postgresql.py +44 -44
  60. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/services/presences.py +4 -4
  61. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/services/project.py +563 -123
  62. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/services/proxy.py +173 -4
  63. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/services/sites.py +32 -32
  64. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/services/storage.py +19 -19
  65. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/services/tables_db.py +169 -169
  66. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/services/teams.py +23 -23
  67. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/services/tokens.py +7 -7
  68. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/services/users.py +50 -50
  69. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/services/vectors_db.py +55 -55
  70. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/services/waf.py +67 -17
  71. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/services/webhooks.py +4 -4
  72. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite.egg-info/PKG-INFO +14 -4
  73. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite.egg-info/SOURCES.txt +15 -0
  74. {appwrite-27.0.0 → appwrite-27.2.0}/pyproject.toml +1 -1
  75. {appwrite-27.0.0 → appwrite-27.2.0}/setup.py +2 -2
  76. appwrite-27.0.0/appwrite/models/project_list.py +0 -34
  77. {appwrite-27.0.0 → appwrite-27.2.0}/LICENSE +0 -0
  78. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/__init__.py +0 -0
  79. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/encoders/__init__.py +0 -0
  80. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/__init__.py +0 -0
  81. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/adapter.py +0 -0
  82. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/attribute_status.py +0 -0
  83. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/authentication_factor.py +0 -0
  84. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/authenticator_type.py +0 -0
  85. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/backup_services.py +0 -0
  86. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/billing_plan_group.py +0 -0
  87. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/browser.py +0 -0
  88. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/browser_permission.py +0 -0
  89. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/browser_theme.py +0 -0
  90. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/column_status.py +0 -0
  91. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/compression.py +0 -0
  92. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/credit_card.py +0 -0
  93. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/database_status.py +0 -0
  94. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/database_type.py +0 -0
  95. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/databases_index_type.py +0 -0
  96. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/deployment_download_type.py +0 -0
  97. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/deployment_status.py +0 -0
  98. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/documents_db_index_type.py +0 -0
  99. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/domain_registration_type.py +0 -0
  100. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/domain_transfer_status_enum.py +0 -0
  101. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/embedding_model.py +0 -0
  102. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/execution_method.py +0 -0
  103. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/execution_resource_type.py +0 -0
  104. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/execution_status.py +0 -0
  105. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/execution_trigger.py +0 -0
  106. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/flag.py +0 -0
  107. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/framework.py +0 -0
  108. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/id_token_provider.py +0 -0
  109. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/image_format.py +0 -0
  110. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/image_gravity.py +0 -0
  111. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/index_status.py +0 -0
  112. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/invalidation_type.py +0 -0
  113. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/message_priority.py +0 -0
  114. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/message_status.py +0 -0
  115. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/messaging_provider_type.py +0 -0
  116. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/o_auth2_auth0_prompt.py +0 -0
  117. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/o_auth2_discord_prompt.py +0 -0
  118. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/o_auth2_github_prompt.py +0 -0
  119. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/o_auth2_google_prompt.py +0 -0
  120. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/o_auth2_kakao_prompt.py +0 -0
  121. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/o_auth2_microsoft_prompt.py +0 -0
  122. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/o_auth2_oidc_prompt.py +0 -0
  123. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/o_auth2_okta_prompt.py +0 -0
  124. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/o_auth2_salesforce_prompt.py +0 -0
  125. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/o_auth2_zoho_prompt.py +0 -0
  126. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/order_by.py +0 -0
  127. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/password_hash.py +0 -0
  128. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/platform_type.py +0 -0
  129. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/project_auth_method_id.py +0 -0
  130. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/project_email_template_id.py +0 -0
  131. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/project_email_template_locale.py +0 -0
  132. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/project_o_auth2_auth0_prompt.py +0 -0
  133. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/project_o_auth2_discord_prompt.py +0 -0
  134. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/project_o_auth2_git_hub_prompt.py +0 -0
  135. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/project_o_auth2_google_prompt.py +0 -0
  136. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/project_o_auth2_kakao_prompt.py +0 -0
  137. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/project_o_auth2_microsoft_prompt.py +0 -0
  138. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/project_o_auth2_oidc_prompt.py +0 -0
  139. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/project_o_auth2_okta_prompt.py +0 -0
  140. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/project_o_auth2_salesforce_prompt.py +0 -0
  141. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/project_o_auth2_zoho_prompt.py +0 -0
  142. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/project_protocol_id.py +0 -0
  143. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/project_service_id.py +0 -0
  144. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/project_smtp_secure.py +0 -0
  145. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/proxy_resource_type.py +0 -0
  146. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/proxy_rule_deployment_resource_type.py +0 -0
  147. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/proxy_rule_protocol.py +0 -0
  148. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/proxy_rule_status.py +0 -0
  149. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/region.py +0 -0
  150. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/relation_mutate.py +0 -0
  151. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/relationship_type.py +0 -0
  152. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/smtp_encryption.py +0 -0
  153. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/status_code.py +0 -0
  154. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/tables_db_index_type.py +0 -0
  155. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/template_reference_type.py +0 -0
  156. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/timezone.py +0 -0
  157. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/vcs_reference_type.py +0 -0
  158. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/vectors_db_index_type.py +0 -0
  159. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/enums/waf_rule_action.py +0 -0
  160. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/exception.py +0 -0
  161. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/id.py +0 -0
  162. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/input_file.py +0 -0
  163. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/account.py +0 -0
  164. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/activity_event_list.py +0 -0
  165. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/additional_resource.py +0 -0
  166. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/algo_argon2.py +0 -0
  167. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/algo_bcrypt.py +0 -0
  168. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/algo_md5.py +0 -0
  169. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/algo_phpass.py +0 -0
  170. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/algo_scrypt.py +0 -0
  171. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/algo_scrypt_modified.py +0 -0
  172. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/algo_sha.py +0 -0
  173. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/app.py +0 -0
  174. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/app_installation.py +0 -0
  175. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/app_installation_list.py +0 -0
  176. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/app_key.py +0 -0
  177. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/app_key_list.py +0 -0
  178. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/app_scope.py +0 -0
  179. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/app_scope_list.py +0 -0
  180. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/app_secret.py +0 -0
  181. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/app_secret_list.py +0 -0
  182. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/app_secret_plaintext.py +0 -0
  183. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/apps_list.py +0 -0
  184. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/attribute_bigint.py +0 -0
  185. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/attribute_boolean.py +0 -0
  186. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/attribute_datetime.py +0 -0
  187. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/attribute_email.py +0 -0
  188. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/attribute_enum.py +0 -0
  189. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/attribute_float.py +0 -0
  190. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/attribute_integer.py +0 -0
  191. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/attribute_ip.py +0 -0
  192. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/attribute_line.py +0 -0
  193. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/attribute_list.py +0 -0
  194. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/attribute_longtext.py +0 -0
  195. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/attribute_mediumtext.py +0 -0
  196. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/attribute_object.py +0 -0
  197. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/attribute_point.py +0 -0
  198. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/attribute_polygon.py +0 -0
  199. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/attribute_relationship.py +0 -0
  200. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/attribute_string.py +0 -0
  201. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/attribute_text.py +0 -0
  202. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/attribute_url.py +0 -0
  203. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/attribute_varchar.py +0 -0
  204. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/attribute_vector.py +0 -0
  205. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/backup_archive.py +0 -0
  206. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/backup_archive_list.py +0 -0
  207. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/backup_policy.py +0 -0
  208. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/backup_policy_list.py +0 -0
  209. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/backup_restoration.py +0 -0
  210. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/backup_restoration_list.py +0 -0
  211. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/base_model.py +0 -0
  212. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/billing_limits.py +0 -0
  213. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/billing_plan_addon.py +0 -0
  214. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/billing_plan_addon_details.py +0 -0
  215. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/billing_plan_dedicated_database_limits.py +0 -0
  216. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/billing_plan_limits.py +0 -0
  217. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/billing_plan_supported_addons.py +0 -0
  218. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/block.py +0 -0
  219. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/bucket.py +0 -0
  220. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/bucket_list.py +0 -0
  221. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/collection.py +0 -0
  222. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/collection_list.py +0 -0
  223. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/column_bigint.py +0 -0
  224. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/column_boolean.py +0 -0
  225. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/column_datetime.py +0 -0
  226. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/column_email.py +0 -0
  227. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/column_enum.py +0 -0
  228. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/column_float.py +0 -0
  229. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/column_index.py +0 -0
  230. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/column_index_list.py +0 -0
  231. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/column_integer.py +0 -0
  232. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/column_ip.py +0 -0
  233. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/column_line.py +0 -0
  234. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/column_list.py +0 -0
  235. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/column_longtext.py +0 -0
  236. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/column_mediumtext.py +0 -0
  237. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/column_point.py +0 -0
  238. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/column_polygon.py +0 -0
  239. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/column_relationship.py +0 -0
  240. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/column_string.py +0 -0
  241. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/column_text.py +0 -0
  242. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/column_url.py +0 -0
  243. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/column_varchar.py +0 -0
  244. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/continent.py +0 -0
  245. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/continent_list.py +0 -0
  246. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/country.py +0 -0
  247. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/country_list.py +0 -0
  248. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/currency.py +0 -0
  249. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/currency_list.py +0 -0
  250. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/database.py +0 -0
  251. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/database_list.py +0 -0
  252. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/database_migration.py +0 -0
  253. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/database_migration_list.py +0 -0
  254. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/database_status.py +0 -0
  255. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/database_status_connections.py +0 -0
  256. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/database_status_replica.py +0 -0
  257. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/database_status_volume.py +0 -0
  258. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/dedicated_database.py +0 -0
  259. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_backup.py +0 -0
  260. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_backup_list.py +0 -0
  261. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_backup_storage.py +0 -0
  262. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_branch.py +0 -0
  263. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_branch_list.py +0 -0
  264. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_execution.py +0 -0
  265. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_execution_column.py +0 -0
  266. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_extensions.py +0 -0
  267. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_list.py +0 -0
  268. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_member.py +0 -0
  269. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_operation.py +0 -0
  270. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_operation_list.py +0 -0
  271. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_pitr_windows.py +0 -0
  272. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_pooler.py +0 -0
  273. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_replicas.py +0 -0
  274. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_restoration.py +0 -0
  275. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_restoration_list.py +0 -0
  276. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_specification.py +0 -0
  277. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/dedicated_database_specification_list.py +0 -0
  278. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/deployment.py +0 -0
  279. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/deployment_list.py +0 -0
  280. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/dns_records_list.py +0 -0
  281. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/document.py +0 -0
  282. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/document_list.py +0 -0
  283. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/domain.py +0 -0
  284. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/domain_price.py +0 -0
  285. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/domain_prices_list.py +0 -0
  286. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/domain_transfer_status.py +0 -0
  287. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/domains_list.py +0 -0
  288. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/email_template.py +0 -0
  289. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/email_template_list.py +0 -0
  290. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/embedding.py +0 -0
  291. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/embedding_list.py +0 -0
  292. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/ephemeral_key.py +0 -0
  293. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/execution.py +0 -0
  294. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/execution_list.py +0 -0
  295. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/file.py +0 -0
  296. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/file_list.py +0 -0
  297. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/framework.py +0 -0
  298. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/framework_adapter.py +0 -0
  299. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/framework_list.py +0 -0
  300. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/function.py +0 -0
  301. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/function_list.py +0 -0
  302. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/headers.py +0 -0
  303. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/identity.py +0 -0
  304. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/identity_list.py +0 -0
  305. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/index.py +0 -0
  306. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/index_list.py +0 -0
  307. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/insight.py +0 -0
  308. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/insight_cta.py +0 -0
  309. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/insight_list.py +0 -0
  310. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/jwt.py +0 -0
  311. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/key.py +0 -0
  312. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/key_list.py +0 -0
  313. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/language.py +0 -0
  314. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/language_list.py +0 -0
  315. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/locale.py +0 -0
  316. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/locale_code.py +0 -0
  317. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/locale_code_list.py +0 -0
  318. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/membership.py +0 -0
  319. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/membership_list.py +0 -0
  320. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/message.py +0 -0
  321. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/message_list.py +0 -0
  322. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/mfa_challenge.py +0 -0
  323. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/mfa_challenge_secret.py +0 -0
  324. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/mfa_factors.py +0 -0
  325. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/mfa_recovery_codes.py +0 -0
  326. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/mfa_type.py +0 -0
  327. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/mock_number.py +0 -0
  328. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/mock_number_list.py +0 -0
  329. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_amazon.py +0 -0
  330. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_apple.py +0 -0
  331. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_appwrite.py +0 -0
  332. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_auth0.py +0 -0
  333. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_authentik.py +0 -0
  334. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_autodesk.py +0 -0
  335. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_bitbucket.py +0 -0
  336. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_bitly.py +0 -0
  337. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_box.py +0 -0
  338. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_cloudflare.py +0 -0
  339. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_dailymotion.py +0 -0
  340. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_discord.py +0 -0
  341. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_disqus.py +0 -0
  342. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_dropbox.py +0 -0
  343. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_etsy.py +0 -0
  344. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_facebook.py +0 -0
  345. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_figma.py +0 -0
  346. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_fusion_auth.py +0 -0
  347. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_github.py +0 -0
  348. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_gitlab.py +0 -0
  349. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_google.py +0 -0
  350. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_hugging_face.py +0 -0
  351. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_kakao.py +0 -0
  352. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_keycloak.py +0 -0
  353. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_kick.py +0 -0
  354. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_linkedin.py +0 -0
  355. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_microsoft.py +0 -0
  356. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_notion.py +0 -0
  357. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_oidc.py +0 -0
  358. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_okta.py +0 -0
  359. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_paypal.py +0 -0
  360. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_podio.py +0 -0
  361. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_resend.py +0 -0
  362. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_salesforce.py +0 -0
  363. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_slack.py +0 -0
  364. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_spotify.py +0 -0
  365. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_stripe.py +0 -0
  366. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_tik_tok.py +0 -0
  367. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_tradeshift.py +0 -0
  368. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_twitch.py +0 -0
  369. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_webflow.py +0 -0
  370. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_word_press.py +0 -0
  371. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_x.py +0 -0
  372. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_yahoo.py +0 -0
  373. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_yandex.py +0 -0
  374. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_zoho.py +0 -0
  375. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/o_auth2_zoom.py +0 -0
  376. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/oauth2_approve.py +0 -0
  377. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/oauth2_authorize.py +0 -0
  378. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/oauth2_consent.py +0 -0
  379. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/oauth2_consent_list.py +0 -0
  380. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/oauth2_consent_token.py +0 -0
  381. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/oauth2_consent_token_list.py +0 -0
  382. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/oauth2_device_authorization.py +0 -0
  383. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/oauth2_grant.py +0 -0
  384. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/oauth2_introspection.py +0 -0
  385. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/oauth2_organization.py +0 -0
  386. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/oauth2_organization_list.py +0 -0
  387. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/oauth2_par.py +0 -0
  388. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/oauth2_project.py +0 -0
  389. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/oauth2_project_list.py +0 -0
  390. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/oauth2_reject.py +0 -0
  391. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/oauth2_token.py +0 -0
  392. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/passkey.py +0 -0
  393. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/passkey_challenge.py +0 -0
  394. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/passkey_list.py +0 -0
  395. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/phone.py +0 -0
  396. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/phone_list.py +0 -0
  397. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/platform_android.py +0 -0
  398. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/platform_apple.py +0 -0
  399. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/platform_linux.py +0 -0
  400. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/platform_list.py +0 -0
  401. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/platform_web.py +0 -0
  402. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/platform_windows.py +0 -0
  403. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/policy_deny_aliased_email.py +0 -0
  404. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/policy_deny_corporate_email.py +0 -0
  405. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/policy_deny_disposable_email.py +0 -0
  406. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/policy_deny_free_email.py +0 -0
  407. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/policy_membership_privacy.py +0 -0
  408. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/policy_mfa_factors.py +0 -0
  409. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/policy_passkey.py +0 -0
  410. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/policy_password_dictionary.py +0 -0
  411. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/policy_password_history.py +0 -0
  412. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/policy_password_personal_data.py +0 -0
  413. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/policy_password_pwned.py +0 -0
  414. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/policy_password_rotation.py +0 -0
  415. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/policy_password_strength.py +0 -0
  416. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/policy_session_alert.py +0 -0
  417. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/policy_session_duration.py +0 -0
  418. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/policy_session_invalidation.py +0 -0
  419. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/policy_session_limit.py +0 -0
  420. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/policy_user_limit.py +0 -0
  421. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/postgres_extension.py +0 -0
  422. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/preferences.py +0 -0
  423. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/presence.py +0 -0
  424. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/presence_list.py +0 -0
  425. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/program.py +0 -0
  426. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/project_auth_method.py +0 -0
  427. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/project_protocol.py +0 -0
  428. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/project_service.py +0 -0
  429. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/provider_list.py +0 -0
  430. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/proxy_invalidation.py +0 -0
  431. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/proxy_rule_list.py +0 -0
  432. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/report.py +0 -0
  433. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/report_list.py +0 -0
  434. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/resource_token.py +0 -0
  435. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/resource_token_list.py +0 -0
  436. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/row.py +0 -0
  437. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/row_list.py +0 -0
  438. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/runtime.py +0 -0
  439. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/runtime_list.py +0 -0
  440. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/session_list.py +0 -0
  441. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/site.py +0 -0
  442. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/site_list.py +0 -0
  443. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/specification.py +0 -0
  444. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/specification_list.py +0 -0
  445. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/subscriber.py +0 -0
  446. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/subscriber_list.py +0 -0
  447. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/table.py +0 -0
  448. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/table_list.py +0 -0
  449. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/target.py +0 -0
  450. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/target_list.py +0 -0
  451. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/team.py +0 -0
  452. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/team_list.py +0 -0
  453. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/token.py +0 -0
  454. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/token_secret.py +0 -0
  455. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/topic.py +0 -0
  456. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/topic_list.py +0 -0
  457. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/transaction.py +0 -0
  458. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/transaction_list.py +0 -0
  459. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/usage_billing_plan.py +0 -0
  460. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/user.py +0 -0
  461. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/user_list.py +0 -0
  462. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/variable.py +0 -0
  463. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/variable_list.py +0 -0
  464. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/vectorsdb_collection.py +0 -0
  465. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/vectorsdb_collection_list.py +0 -0
  466. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/waf_rule_list.py +0 -0
  467. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/webhook.py +0 -0
  468. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/models/webhook_list.py +0 -0
  469. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/operator.py +0 -0
  470. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/permission.py +0 -0
  471. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/query.py +0 -0
  472. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/role.py +0 -0
  473. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/services/__init__.py +0 -0
  474. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/services/embeddings.py +0 -0
  475. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/services/graphql.py +0 -0
  476. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/services/locale.py +0 -0
  477. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/topic.py +0 -0
  478. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/utils/__init__.py +0 -0
  479. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite/utils/deprecated.py +0 -0
  480. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite.egg-info/dependency_links.txt +0 -0
  481. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite.egg-info/requires.txt +0 -0
  482. {appwrite-27.0.0 → appwrite-27.2.0}/appwrite.egg-info/top_level.txt +0 -0
  483. {appwrite-27.0.0 → appwrite-27.2.0}/setup.cfg +0 -0
  484. {appwrite-27.0.0 → appwrite-27.2.0}/test/test_id.py +0 -0
  485. {appwrite-27.0.0 → appwrite-27.2.0}/test/test_operator.py +0 -0
  486. {appwrite-27.0.0 → appwrite-27.2.0}/test/test_permission.py +0 -0
  487. {appwrite-27.0.0 → appwrite-27.2.0}/test/test_query.py +0 -0
  488. {appwrite-27.0.0 → appwrite-27.2.0}/test/test_role.py +0 -0
  489. {appwrite-27.0.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.0.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.0.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.5.0-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.5.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
 
@@ -66,6 +66,16 @@ uv add appwrite
66
66
 
67
67
  ## Getting started
68
68
 
69
+ ### Requirements and installation
70
+
71
+ Use Python 3.10 or later. Create and activate a virtual environment with that interpreter, then install the SDK:
72
+
73
+ ```sh
74
+ python -m pip install --upgrade appwrite
75
+ ```
76
+
77
+ The SDK requires `requests>=2.34.2,<3` and `urllib3>=2.8.0,<3`. Update application pins or constraints that exclude these versions.
78
+
69
79
  ### Initialize the client
70
80
 
71
81
  Create a client with your Appwrite endpoint, project ID and an [API key](https://appwrite.io/docs/partners/project/api-keys). Find the endpoint and project ID in your project's **Settings** page, and create an API key with only the scopes you need under **API keys** in the project sidebar.
@@ -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.5.0-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.5.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
 
@@ -27,6 +27,16 @@ uv add appwrite
27
27
 
28
28
  ## Getting started
29
29
 
30
+ ### Requirements and installation
31
+
32
+ Use Python 3.10 or later. Create and activate a virtual environment with that interpreter, then install the SDK:
33
+
34
+ ```sh
35
+ python -m pip install --upgrade appwrite
36
+ ```
37
+
38
+ The SDK requires `requests>=2.34.2,<3` and `urllib3>=2.8.0,<3`. Update application pins or constraints that exclude these versions.
39
+
30
40
  ### Initialize the client
31
41
 
32
42
  Create a client with your Appwrite endpoint, project ID and an [API key](https://appwrite.io/docs/partners/project/api-keys). Find the endpoint and project ID in your project's **Settings** page, and create an API key with only the scopes you need under **API keys** in the project sidebar.
@@ -6,6 +6,7 @@ import sys
6
6
  import requests
7
7
  from concurrent.futures import ThreadPoolExecutor, as_completed
8
8
  from threading import Lock
9
+ from urllib.parse import quote
9
10
  from .input_file import InputFile
10
11
  from .exception import AppwriteException
11
12
  from .encoders.value_class_encoder import ValueClassEncoder
@@ -19,12 +20,12 @@ class Client:
19
20
  self._endpoint = 'https://cloud.appwrite.io/v1'
20
21
  self._global_headers = {
21
22
  'content-type': '',
22
- 'user-agent': f'AppwritePythonSDK/27.0.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})',
23
24
  'x-sdk-name': 'Python',
24
25
  'x-sdk-platform': 'server',
25
26
  'x-sdk-language': 'python',
26
- 'x-sdk-version': '27.0.0',
27
- 'X-Appwrite-Response-Format': '2.5.0',
27
+ 'x-sdk-version': '27.2.0',
28
+ 'X-Appwrite-Response-Format': '2.7.1',
28
29
  }
29
30
  self._config = {}
30
31
 
@@ -88,6 +89,13 @@ class Client:
88
89
  self._config['locale'] = value
89
90
  return self
90
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
+
91
99
  def set_session(self, value):
92
100
  """The user session to authenticate with"""
93
101
 
@@ -180,11 +188,18 @@ class Client:
180
188
  files=files,
181
189
  headers=headers,
182
190
  verify=(not self._self_signed),
183
- allow_redirects=False if response_type == 'location' else True,
191
+ # A redirect would carry the API key to wherever it points, possibly another host.
192
+ allow_redirects=False,
184
193
  )
185
194
 
186
195
  response.raise_for_status()
187
196
 
197
+ if response_type != 'location' and 300 <= response.status_code < 400:
198
+ location = response.headers.get('Location', '')
199
+ raise AppwriteException(
200
+ f'Redirect to {location} not followed', response.status_code, None, response.text
201
+ )
202
+
188
203
  warnings = response.headers.get('x-appwrite-warning')
189
204
  if warnings:
190
205
  for warning in warnings.split(';'):
@@ -202,6 +217,8 @@ class Client:
202
217
  return response.json()
203
218
 
204
219
  return response._content
220
+ except AppwriteException:
221
+ raise
205
222
  except Exception as e:
206
223
  if response != None:
207
224
  content_type = response.headers['Content-Type']
@@ -249,8 +266,10 @@ class Client:
249
266
  counter = 0
250
267
 
251
268
  if upload_id:
269
+ if upload_id in ('.', '..'):
270
+ raise AppwriteException('Path parameter cannot be "." or ".."')
252
271
  try:
253
- result = self.call('get', path + '/' + upload_id, headers)
272
+ result = self.call('get', path + '/' + quote(upload_id, safe="!*'()"), headers)
254
273
  counter = result['chunksUploaded']
255
274
  except:
256
275
  pass
@@ -27,8 +27,14 @@ from ..enums.deployment_download_type import DeploymentDownloadType
27
27
  from ..enums.execution_method import ExecutionMethod
28
28
  from ..enums.message_priority import MessagePriority
29
29
  from ..enums.smtp_encryption import SmtpEncryption
30
+ from ..enums.appwrite_migration_resource import AppwriteMigrationResource
31
+ from ..enums.on_duplicate import OnDuplicate
32
+ from ..enums.firebase_migration_resource import FirebaseMigrationResource
33
+ from ..enums.n_host_migration_resource import NHostMigrationResource
34
+ from ..enums.supabase_migration_resource import SupabaseMigrationResource
30
35
  from ..enums.region import Region
31
36
  from ..enums.project_auth_method_id import ProjectAuthMethodId
37
+ from ..enums.environment_resource import EnvironmentResource
32
38
  from ..enums.project_o_auth2_auth0_prompt import ProjectOAuth2Auth0Prompt
33
39
  from ..enums.project_o_auth2_discord_prompt import ProjectOAuth2DiscordPrompt
34
40
  from ..enums.project_o_auth2_git_hub_prompt import ProjectOAuth2GitHubPrompt
@@ -173,12 +179,30 @@ class ValueClassEncoder(json.JSONEncoder):
173
179
  if isinstance(o, SmtpEncryption):
174
180
  return o.value
175
181
 
182
+ if isinstance(o, AppwriteMigrationResource):
183
+ return o.value
184
+
185
+ if isinstance(o, OnDuplicate):
186
+ return o.value
187
+
188
+ if isinstance(o, FirebaseMigrationResource):
189
+ return o.value
190
+
191
+ if isinstance(o, NHostMigrationResource):
192
+ return o.value
193
+
194
+ if isinstance(o, SupabaseMigrationResource):
195
+ return o.value
196
+
176
197
  if isinstance(o, Region):
177
198
  return o.value
178
199
 
179
200
  if isinstance(o, ProjectAuthMethodId):
180
201
  return o.value
181
202
 
203
+ if isinstance(o, EnvironmentResource):
204
+ return o.value
205
+
182
206
  if isinstance(o, ProjectOAuth2Auth0Prompt):
183
207
  return o.value
184
208
 
@@ -0,0 +1,45 @@
1
+ from enum import Enum
2
+
3
+
4
+ class AppwriteMigrationResource(Enum):
5
+ USER = "user"
6
+ TEAM = "team"
7
+ MEMBERSHIP = "membership"
8
+ AUTH_METHODS = "auth-methods"
9
+ POLICIES = "policies"
10
+ OAUTH2_PROVIDER = "oauth2-provider"
11
+ DATABASE = "database"
12
+ TABLE = "table"
13
+ COLUMN = "column"
14
+ INDEX = "index"
15
+ ROW = "row"
16
+ DOCUMENT = "document"
17
+ ATTRIBUTE = "attribute"
18
+ COLLECTION = "collection"
19
+ DOCUMENTSDB = "documentsdb"
20
+ VECTORSDB = "vectorsdb"
21
+ BUCKET = "bucket"
22
+ FILE = "file"
23
+ FUNCTION = "function"
24
+ DEPLOYMENT = "deployment"
25
+ ENVIRONMENT_VARIABLE = "environment-variable"
26
+ PROVIDER = "provider"
27
+ TOPIC = "topic"
28
+ SUBSCRIBER = "subscriber"
29
+ MESSAGE = "message"
30
+ SITE = "site"
31
+ SITE_DEPLOYMENT = "site-deployment"
32
+ SITE_VARIABLE = "site-variable"
33
+ PLATFORM = "platform"
34
+ API_KEY = "api-key"
35
+ WEBHOOK = "webhook"
36
+ SMTP = "smtp"
37
+ BACKUP_POLICY = "backup-policy"
38
+ PROJECT_VARIABLE = "project-variable"
39
+ PROJECT_PROTOCOLS = "project-protocols"
40
+ PROJECT_LABELS = "project-labels"
41
+ PROJECT_PREFERENCES = "project-preferences"
42
+ PROJECT_SERVICES = "project-services"
43
+ PROJECT_EMAIL_TEMPLATE = "project-email-template"
44
+ PROJECT_ENVIRONMENT = "project-environment"
45
+ RULE = "rule"
@@ -31,6 +31,7 @@ class BuildRuntime(Enum):
31
31
  PYTHON_3_12 = "python-3.12"
32
32
  PYTHON_3_13 = "python-3.13"
33
33
  PYTHON_3_14 = "python-3.14"
34
+ PYTHON_3_15 = "python-3.15"
34
35
  PYTHON_ML_3_11 = "python-ml-3.11"
35
36
  PYTHON_ML_3_12 = "python-ml-3.12"
36
37
  PYTHON_ML_3_13 = "python-ml-3.13"
@@ -39,6 +40,7 @@ class BuildRuntime(Enum):
39
40
  DENO_2_0 = "deno-2.0"
40
41
  DENO_2_5 = "deno-2.5"
41
42
  DENO_2_6 = "deno-2.6"
43
+ DENO_2_9 = "deno-2.9"
42
44
  DART_2_15 = "dart-2.15"
43
45
  DART_2_16 = "dart-2.16"
44
46
  DART_2_17 = "dart-2.17"
@@ -86,7 +88,9 @@ class BuildRuntime(Enum):
86
88
  GO_1_24 = "go-1.24"
87
89
  GO_1_25 = "go-1.25"
88
90
  GO_1_26 = "go-1.26"
91
+ GO_1_27 = "go-1.27"
89
92
  RUST_1_83 = "rust-1.83"
93
+ RUST_1_99 = "rust-1.99"
90
94
  STATIC_1 = "static-1"
91
95
  FLUTTER_3_24 = "flutter-3.24"
92
96
  FLUTTER_3_27 = "flutter-3.27"
@@ -0,0 +1,38 @@
1
+ from enum import Enum
2
+
3
+
4
+ class EnvironmentResource(Enum):
5
+ USER = "user"
6
+ TEAM = "team"
7
+ MEMBERSHIP = "membership"
8
+ AUTH_METHODS = "auth-methods"
9
+ POLICIES = "policies"
10
+ OAUTH2_PROVIDER = "oauth2-provider"
11
+ DATABASE = "database"
12
+ DOCUMENTSDB = "documentsdb"
13
+ VECTORSDB = "vectorsdb"
14
+ TABLE = "table"
15
+ COLLECTION = "collection"
16
+ COLUMN = "column"
17
+ ATTRIBUTE = "attribute"
18
+ INDEX = "index"
19
+ ROW = "row"
20
+ DOCUMENT = "document"
21
+ BUCKET = "bucket"
22
+ FILE = "file"
23
+ FUNCTION = "function"
24
+ ENVIRONMENT_VARIABLE = "environment-variable"
25
+ DEPLOYMENT = "deployment"
26
+ SITE = "site"
27
+ SITE_VARIABLE = "site-variable"
28
+ SITE_DEPLOYMENT = "site-deployment"
29
+ PROVIDER = "provider"
30
+ TOPIC = "topic"
31
+ SUBSCRIBER = "subscriber"
32
+ PLATFORM = "platform"
33
+ SMTP = "smtp"
34
+ PROJECT_VARIABLE = "project-variable"
35
+ PROJECT_PROTOCOLS = "project-protocols"
36
+ PROJECT_LABELS = "project-labels"
37
+ PROJECT_SERVICES = "project-services"
38
+ PROJECT_EMAIL_TEMPLATE = "project-email-template"
@@ -0,0 +1,14 @@
1
+ from enum import Enum
2
+
3
+
4
+ class FirebaseMigrationResource(Enum):
5
+ USER = "user"
6
+ DATABASE = "database"
7
+ TABLE = "table"
8
+ COLUMN = "column"
9
+ ROW = "row"
10
+ DOCUMENT = "document"
11
+ ATTRIBUTE = "attribute"
12
+ COLLECTION = "collection"
13
+ BUCKET = "bucket"
14
+ FILE = "file"
@@ -0,0 +1,15 @@
1
+ from enum import Enum
2
+
3
+
4
+ class NHostMigrationResource(Enum):
5
+ USER = "user"
6
+ DATABASE = "database"
7
+ TABLE = "table"
8
+ COLUMN = "column"
9
+ INDEX = "index"
10
+ ROW = "row"
11
+ DOCUMENT = "document"
12
+ ATTRIBUTE = "attribute"
13
+ COLLECTION = "collection"
14
+ BUCKET = "bucket"
15
+ FILE = "file"
@@ -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"
@@ -0,0 +1,7 @@
1
+ from enum import Enum
2
+
3
+
4
+ class OnDuplicate(Enum):
5
+ FAIL = "fail"
6
+ SKIP = "skip"
7
+ OVERWRITE = "overwrite"
@@ -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"
@@ -19,4 +19,6 @@ class ProjectPolicyId(Enum):
19
19
  DENY_DISPOSABLE_EMAIL = "deny-disposable-email"
20
20
  DENY_FREE_EMAIL = "deny-free-email"
21
21
  DENY_CORPORATE_EMAIL = "deny-corporate-email"
22
+ DENY_REALTIME_GUESTS = "deny-realtime-guests"
22
23
  PASSKEY = "passkey"
24
+ ACCOUNT_DEVICES = "account-devices"
@@ -31,6 +31,7 @@ class Runtime(Enum):
31
31
  PYTHON_3_12 = "python-3.12"
32
32
  PYTHON_3_13 = "python-3.13"
33
33
  PYTHON_3_14 = "python-3.14"
34
+ PYTHON_3_15 = "python-3.15"
34
35
  PYTHON_ML_3_11 = "python-ml-3.11"
35
36
  PYTHON_ML_3_12 = "python-ml-3.12"
36
37
  PYTHON_ML_3_13 = "python-ml-3.13"
@@ -39,6 +40,7 @@ class Runtime(Enum):
39
40
  DENO_2_0 = "deno-2.0"
40
41
  DENO_2_5 = "deno-2.5"
41
42
  DENO_2_6 = "deno-2.6"
43
+ DENO_2_9 = "deno-2.9"
42
44
  DART_2_15 = "dart-2.15"
43
45
  DART_2_16 = "dart-2.16"
44
46
  DART_2_17 = "dart-2.17"
@@ -86,7 +88,9 @@ class Runtime(Enum):
86
88
  GO_1_24 = "go-1.24"
87
89
  GO_1_25 = "go-1.25"
88
90
  GO_1_26 = "go-1.26"
91
+ GO_1_27 = "go-1.27"
89
92
  RUST_1_83 = "rust-1.83"
93
+ RUST_1_99 = "rust-1.99"
90
94
  STATIC_1 = "static-1"
91
95
  FLUTTER_3_24 = "flutter-3.24"
92
96
  FLUTTER_3_27 = "flutter-3.27"
@@ -0,0 +1,15 @@
1
+ from enum import Enum
2
+
3
+
4
+ class SupabaseMigrationResource(Enum):
5
+ USER = "user"
6
+ DATABASE = "database"
7
+ TABLE = "table"
8
+ COLUMN = "column"
9
+ INDEX = "index"
10
+ ROW = "row"
11
+ DOCUMENT = "document"
12
+ ATTRIBUTE = "attribute"
13
+ COLLECTION = "collection"
14
+ BUCKET = "bucket"
15
+ FILE = "file"
@@ -41,6 +41,7 @@ from .topic_list import TopicList
41
41
  from .subscriber_list import SubscriberList
42
42
  from .target_list import TargetList
43
43
  from .transaction_list import TransactionList
44
+ from .migration_list import MigrationList
44
45
  from .specification_list import SpecificationList
45
46
  from .vectorsdb_collection_list import VectorsdbCollectionList
46
47
  from .embedding_list import EmbeddingList
@@ -107,6 +108,7 @@ from .algo_argon2 import AlgoArgon2
107
108
  from .account import Account
108
109
  from .preferences import Preferences
109
110
  from .session import Session
111
+ from .device import Device
110
112
  from .identity import Identity
111
113
  from .token import Token
112
114
  from .jwt import Jwt
@@ -174,6 +176,7 @@ from .o_auth2_keycloak import OAuth2Keycloak
174
176
  from .o_auth2_oidc import OAuth2Oidc
175
177
  from .o_auth2_okta import OAuth2Okta
176
178
  from .o_auth2_kick import OAuth2Kick
179
+ from .o_auth2_vipps import OAuth2Vipps
177
180
  from .o_auth2_apple import OAuth2Apple
178
181
  from .o_auth2_microsoft import OAuth2Microsoft
179
182
  from .o_auth2_resend import OAuth2Resend
@@ -198,6 +201,8 @@ from .policy_deny_aliased_email import PolicyDenyAliasedEmail
198
201
  from .policy_deny_disposable_email import PolicyDenyDisposableEmail
199
202
  from .policy_deny_free_email import PolicyDenyFreeEmail
200
203
  from .policy_deny_corporate_email import PolicyDenyCorporateEmail
204
+ from .policy_deny_realtime_guests import PolicyDenyRealtimeGuests
205
+ from .policy_account_devices import PolicyAccountDevices
201
206
  from .platform_web import PlatformWeb
202
207
  from .platform_apple import PlatformApple
203
208
  from .platform_android import PlatformAndroid
@@ -229,6 +234,7 @@ from .topic import Topic
229
234
  from .transaction import Transaction
230
235
  from .subscriber import Subscriber
231
236
  from .target import Target
237
+ from .migration import Migration
232
238
  from .insight import Insight
233
239
  from .insight_cta import InsightCTA
234
240
  from .report import Report
@@ -270,6 +276,8 @@ from .backup_policy import BackupPolicy
270
276
  from .dedicated_database_pooler import DedicatedDatabasePooler
271
277
  from .postgres_extension import PostgresExtension
272
278
  from .program import Program
279
+ from .environment import Environment
280
+ from .environment_list import EnvironmentList
273
281
  from .backup_restoration import BackupRestoration
274
282
  from .dedicated_database_restoration_list import DedicatedDatabaseRestorationList
275
283
  from .dedicated_database_specification import DedicatedDatabaseSpecification
@@ -365,6 +373,7 @@ __all__ = [
365
373
  'SubscriberList',
366
374
  'TargetList',
367
375
  'TransactionList',
376
+ 'MigrationList',
368
377
  'SpecificationList',
369
378
  'VectorsdbCollectionList',
370
379
  'EmbeddingList',
@@ -431,6 +440,7 @@ __all__ = [
431
440
  'Account',
432
441
  'Preferences',
433
442
  'Session',
443
+ 'Device',
434
444
  'Identity',
435
445
  'Token',
436
446
  'Jwt',
@@ -498,6 +508,7 @@ __all__ = [
498
508
  'OAuth2Oidc',
499
509
  'OAuth2Okta',
500
510
  'OAuth2Kick',
511
+ 'OAuth2Vipps',
501
512
  'OAuth2Apple',
502
513
  'OAuth2Microsoft',
503
514
  'OAuth2Resend',
@@ -522,6 +533,8 @@ __all__ = [
522
533
  'PolicyDenyDisposableEmail',
523
534
  'PolicyDenyFreeEmail',
524
535
  'PolicyDenyCorporateEmail',
536
+ 'PolicyDenyRealtimeGuests',
537
+ 'PolicyAccountDevices',
525
538
  'PlatformWeb',
526
539
  'PlatformApple',
527
540
  'PlatformAndroid',
@@ -553,6 +566,7 @@ __all__ = [
553
566
  'Transaction',
554
567
  'Subscriber',
555
568
  'Target',
569
+ 'Migration',
556
570
  'Insight',
557
571
  'InsightCTA',
558
572
  'Report',
@@ -594,6 +608,8 @@ __all__ = [
594
608
  'DedicatedDatabasePooler',
595
609
  'PostgresExtension',
596
610
  'Program',
611
+ 'Environment',
612
+ 'EnvironmentList',
597
613
  'BackupRestoration',
598
614
  'DedicatedDatabaseRestorationList',
599
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
@@ -73,6 +73,12 @@ class BillingPlan(AppwriteModel):
73
73
  Function executions
74
74
  executionsretentioncount : float
75
75
  Rolling max executions retained per function/site
76
+ deploymentretention : Optional[float]
77
+ Days non-active deployments are kept when a function or site sets no retention.
78
+ deploymentretentionmax : Optional[float]
79
+ Maximum deployment retention in days a function or site can set. 0 means unlimited.
80
+ deploymentsretentioncount : Optional[float]
81
+ Non-active deployments kept per function or site. 0 means unlimited.
76
82
  gbhours : float
77
83
  GB hours for functions
78
84
  realtime : float
@@ -199,6 +205,9 @@ class BillingPlan(AppwriteModel):
199
205
  sites: float = Field(..., alias='sites')
200
206
  executions: float = Field(..., alias='executions')
201
207
  executionsretentioncount: float = Field(..., alias='executionsRetentionCount')
208
+ deploymentretention: Optional[float] = Field(default=None, alias='deploymentRetention')
209
+ deploymentretentionmax: Optional[float] = Field(default=None, alias='deploymentRetentionMax')
210
+ deploymentsretentioncount: Optional[float] = Field(default=None, alias='deploymentsRetentionCount')
202
211
  gbhours: float = Field(..., alias='GBHours')
203
212
  realtime: float = Field(..., alias='realtime')
204
213
  realtimemessages: float = Field(..., alias='realtimeMessages')
@@ -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
@@ -19,7 +19,7 @@ class DnsRecord(AppwriteModel):
19
19
  type : str
20
20
  DNS record type (e.g. A, CNAME, MX).
21
21
  name : str
22
- Record name or subdomain.
22
+ Record name relative to the domain, or `@` for the domain itself.
23
23
  value : str
24
24
  Value of the record (IP address, domain, etc.).
25
25
  ttl : float