appwrite-console 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (552) hide show
  1. appwrite_console/__init__.py +1 -0
  2. appwrite_console/client.py +371 -0
  3. appwrite_console/encoders/__init__.py +1 -0
  4. appwrite_console/encoders/value_class_encoder.py +373 -0
  5. appwrite_console/enums/__init__.py +1 -0
  6. appwrite_console/enums/account_key_scopes.py +6 -0
  7. appwrite_console/enums/adapter.py +5 -0
  8. appwrite_console/enums/addon.py +7 -0
  9. appwrite_console/enums/appwrite_migration_resource.py +42 -0
  10. appwrite_console/enums/attribute_status.py +8 -0
  11. appwrite_console/enums/authentication_factor.py +7 -0
  12. appwrite_console/enums/authenticator_type.py +4 -0
  13. appwrite_console/enums/backup_services.py +10 -0
  14. appwrite_console/enums/billing_plan_group.py +6 -0
  15. appwrite_console/enums/block_mode.py +5 -0
  16. appwrite_console/enums/block_resource_type.py +12 -0
  17. appwrite_console/enums/browser.py +17 -0
  18. appwrite_console/enums/browser_permission.py +23 -0
  19. appwrite_console/enums/browser_theme.py +5 -0
  20. appwrite_console/enums/build_runtime.py +95 -0
  21. appwrite_console/enums/cache_database.py +6 -0
  22. appwrite_console/enums/cache_target.py +9 -0
  23. appwrite_console/enums/column_status.py +8 -0
  24. appwrite_console/enums/compression.py +6 -0
  25. appwrite_console/enums/console_resource_type.py +4 -0
  26. appwrite_console/enums/credit_card.py +20 -0
  27. appwrite_console/enums/database_status.py +17 -0
  28. appwrite_console/enums/database_type.py +10 -0
  29. appwrite_console/enums/databases_index_type.py +7 -0
  30. appwrite_console/enums/deployment_download_type.py +5 -0
  31. appwrite_console/enums/deployment_status.py +9 -0
  32. appwrite_console/enums/detection_framework_type.py +4 -0
  33. appwrite_console/enums/detection_runtime_type.py +4 -0
  34. appwrite_console/enums/documents_db_index_type.py +6 -0
  35. appwrite_console/enums/domain_purchase_status.py +7 -0
  36. appwrite_console/enums/domain_registration_type.py +7 -0
  37. appwrite_console/enums/domain_suggestion_type.py +5 -0
  38. appwrite_console/enums/domain_transfer_status_enum.py +11 -0
  39. appwrite_console/enums/embedding_model.py +7 -0
  40. appwrite_console/enums/execution_method.py +10 -0
  41. appwrite_console/enums/execution_status.py +8 -0
  42. appwrite_console/enums/execution_trigger.py +6 -0
  43. appwrite_console/enums/firebase_migration_resource.py +13 -0
  44. appwrite_console/enums/flag.py +198 -0
  45. appwrite_console/enums/framework.py +18 -0
  46. appwrite_console/enums/function_template_use_case.py +10 -0
  47. appwrite_console/enums/image_format.py +10 -0
  48. appwrite_console/enums/image_gravity.py +12 -0
  49. appwrite_console/enums/index_status.py +8 -0
  50. appwrite_console/enums/message_priority.py +5 -0
  51. appwrite_console/enums/message_status.py +8 -0
  52. appwrite_console/enums/messaging_provider_type.py +6 -0
  53. appwrite_console/enums/n_host_migration_resource.py +14 -0
  54. appwrite_console/enums/o_auth2_google_prompt.py +6 -0
  55. appwrite_console/enums/o_auth2_oidc_prompt.py +7 -0
  56. appwrite_console/enums/o_auth_provider.py +47 -0
  57. appwrite_console/enums/on_duplicate.py +6 -0
  58. appwrite_console/enums/order_by.py +5 -0
  59. appwrite_console/enums/organization_key_scopes.py +19 -0
  60. appwrite_console/enums/password_hash.py +14 -0
  61. appwrite_console/enums/platform.py +5 -0
  62. appwrite_console/enums/platform_type.py +8 -0
  63. appwrite_console/enums/project_auth_method_id.py +10 -0
  64. appwrite_console/enums/project_email_template_id.py +10 -0
  65. appwrite_console/enums/project_email_template_locale.py +134 -0
  66. appwrite_console/enums/project_key_scopes.py +107 -0
  67. appwrite_console/enums/project_o_auth2_google_prompt.py +6 -0
  68. appwrite_console/enums/project_o_auth2_oidc_prompt.py +7 -0
  69. appwrite_console/enums/project_o_auth_provider_id.py +47 -0
  70. appwrite_console/enums/project_policy_id.py +17 -0
  71. appwrite_console/enums/project_protocol_id.py +6 -0
  72. appwrite_console/enums/project_service_id.py +22 -0
  73. appwrite_console/enums/project_smtp_secure.py +5 -0
  74. appwrite_console/enums/project_usage_range.py +5 -0
  75. appwrite_console/enums/proxy_resource_type.py +5 -0
  76. appwrite_console/enums/proxy_rule_deployment_resource_type.py +5 -0
  77. appwrite_console/enums/proxy_rule_status.py +6 -0
  78. appwrite_console/enums/query_suggestion_resource.py +97 -0
  79. appwrite_console/enums/region.py +9 -0
  80. appwrite_console/enums/relation_mutate.py +6 -0
  81. appwrite_console/enums/relationship_type.py +7 -0
  82. appwrite_console/enums/runtime.py +95 -0
  83. appwrite_console/enums/schedule_resource_type.py +7 -0
  84. appwrite_console/enums/site_template_use_case.py +12 -0
  85. appwrite_console/enums/smtp_encryption.py +6 -0
  86. appwrite_console/enums/status.py +4 -0
  87. appwrite_console/enums/status_code.py +7 -0
  88. appwrite_console/enums/supabase_migration_resource.py +14 -0
  89. appwrite_console/enums/tables_db_index_type.py +7 -0
  90. appwrite_console/enums/template_reference_type.py +6 -0
  91. appwrite_console/enums/timezone.py +422 -0
  92. appwrite_console/enums/usage_range.py +6 -0
  93. appwrite_console/enums/vcs_detection_type.py +5 -0
  94. appwrite_console/enums/vcs_reference_type.py +6 -0
  95. appwrite_console/enums/vectors_db_index_type.py +9 -0
  96. appwrite_console/enums/waf_rule_action.py +8 -0
  97. appwrite_console/exception.py +7 -0
  98. appwrite_console/id.py +26 -0
  99. appwrite_console/input_file.py +21 -0
  100. appwrite_console/models/__init__.py +803 -0
  101. appwrite_console/models/activity_event.py +99 -0
  102. appwrite_console/models/activity_event_list.py +19 -0
  103. appwrite_console/models/additional_resource.py +30 -0
  104. appwrite_console/models/addon.py +42 -0
  105. appwrite_console/models/addon_list.py +19 -0
  106. appwrite_console/models/addon_price.py +36 -0
  107. appwrite_console/models/aggregation_breakdown.py +28 -0
  108. appwrite_console/models/aggregation_team.py +101 -0
  109. appwrite_console/models/aggregation_team_list.py +19 -0
  110. appwrite_console/models/algo_argon2.py +24 -0
  111. appwrite_console/models/algo_bcrypt.py +15 -0
  112. appwrite_console/models/algo_md5.py +15 -0
  113. appwrite_console/models/algo_phpass.py +15 -0
  114. appwrite_console/models/algo_scrypt.py +27 -0
  115. appwrite_console/models/algo_scrypt_modified.py +24 -0
  116. appwrite_console/models/algo_sha.py +15 -0
  117. appwrite_console/models/app.py +91 -0
  118. appwrite_console/models/app_installation.py +42 -0
  119. appwrite_console/models/app_installation_list.py +19 -0
  120. appwrite_console/models/app_key.py +39 -0
  121. appwrite_console/models/app_key_list.py +19 -0
  122. appwrite_console/models/app_scope.py +27 -0
  123. appwrite_console/models/app_scope_list.py +19 -0
  124. appwrite_console/models/app_secret.py +39 -0
  125. appwrite_console/models/app_secret_list.py +19 -0
  126. appwrite_console/models/app_secret_plaintext.py +39 -0
  127. appwrite_console/models/apps_list.py +19 -0
  128. appwrite_console/models/attribute_bigint.py +46 -0
  129. appwrite_console/models/attribute_boolean.py +40 -0
  130. appwrite_console/models/attribute_datetime.py +43 -0
  131. appwrite_console/models/attribute_email.py +43 -0
  132. appwrite_console/models/attribute_enum.py +46 -0
  133. appwrite_console/models/attribute_float.py +46 -0
  134. appwrite_console/models/attribute_integer.py +46 -0
  135. appwrite_console/models/attribute_ip.py +43 -0
  136. appwrite_console/models/attribute_line.py +40 -0
  137. appwrite_console/models/attribute_list.py +36 -0
  138. appwrite_console/models/attribute_longtext.py +43 -0
  139. appwrite_console/models/attribute_mediumtext.py +43 -0
  140. appwrite_console/models/attribute_object.py +37 -0
  141. appwrite_console/models/attribute_point.py +40 -0
  142. appwrite_console/models/attribute_polygon.py +40 -0
  143. appwrite_console/models/attribute_relationship.py +55 -0
  144. appwrite_console/models/attribute_string.py +46 -0
  145. appwrite_console/models/attribute_text.py +43 -0
  146. appwrite_console/models/attribute_url.py +43 -0
  147. appwrite_console/models/attribute_varchar.py +46 -0
  148. appwrite_console/models/attribute_vector.py +40 -0
  149. appwrite_console/models/backup_archive.py +48 -0
  150. appwrite_console/models/backup_archive_list.py +19 -0
  151. appwrite_console/models/backup_policy.py +48 -0
  152. appwrite_console/models/backup_policy_list.py +19 -0
  153. appwrite_console/models/backup_restoration.py +45 -0
  154. appwrite_console/models/backup_restoration_list.py +19 -0
  155. appwrite_console/models/base_model.py +27 -0
  156. appwrite_console/models/billing_address.py +36 -0
  157. appwrite_console/models/billing_address_list.py +19 -0
  158. appwrite_console/models/billing_limits.py +36 -0
  159. appwrite_console/models/billing_plan.py +226 -0
  160. appwrite_console/models/billing_plan_addon.py +19 -0
  161. appwrite_console/models/billing_plan_addon_details.py +36 -0
  162. appwrite_console/models/billing_plan_dedicated_database_limits.py +69 -0
  163. appwrite_console/models/billing_plan_limits.py +18 -0
  164. appwrite_console/models/billing_plan_list.py +19 -0
  165. appwrite_console/models/billing_plan_supported_addons.py +21 -0
  166. appwrite_console/models/block.py +45 -0
  167. appwrite_console/models/block_delete.py +19 -0
  168. appwrite_console/models/block_list.py +19 -0
  169. appwrite_console/models/branch.py +15 -0
  170. appwrite_console/models/branch_list.py +19 -0
  171. appwrite_console/models/bucket.py +54 -0
  172. appwrite_console/models/bucket_list.py +19 -0
  173. appwrite_console/models/campaign.py +49 -0
  174. appwrite_console/models/collection.py +67 -0
  175. appwrite_console/models/collection_list.py +19 -0
  176. appwrite_console/models/column_bigint.py +46 -0
  177. appwrite_console/models/column_boolean.py +40 -0
  178. appwrite_console/models/column_datetime.py +43 -0
  179. appwrite_console/models/column_email.py +43 -0
  180. appwrite_console/models/column_enum.py +46 -0
  181. appwrite_console/models/column_float.py +46 -0
  182. appwrite_console/models/column_index.py +42 -0
  183. appwrite_console/models/column_index_list.py +19 -0
  184. appwrite_console/models/column_integer.py +46 -0
  185. appwrite_console/models/column_ip.py +43 -0
  186. appwrite_console/models/column_line.py +40 -0
  187. appwrite_console/models/column_list.py +36 -0
  188. appwrite_console/models/column_longtext.py +43 -0
  189. appwrite_console/models/column_mediumtext.py +43 -0
  190. appwrite_console/models/column_point.py +40 -0
  191. appwrite_console/models/column_polygon.py +40 -0
  192. appwrite_console/models/column_relationship.py +55 -0
  193. appwrite_console/models/column_string.py +46 -0
  194. appwrite_console/models/column_text.py +43 -0
  195. appwrite_console/models/column_url.py +43 -0
  196. appwrite_console/models/column_varchar.py +46 -0
  197. appwrite_console/models/console_key_scope.py +24 -0
  198. appwrite_console/models/console_key_scope_list.py +19 -0
  199. appwrite_console/models/console_o_auth2_provider.py +19 -0
  200. appwrite_console/models/console_o_auth2_provider_list.py +19 -0
  201. appwrite_console/models/console_o_auth2_provider_parameter.py +24 -0
  202. appwrite_console/models/console_region.py +30 -0
  203. appwrite_console/models/console_region_list.py +19 -0
  204. appwrite_console/models/console_variables.py +96 -0
  205. appwrite_console/models/continent.py +18 -0
  206. appwrite_console/models/continent_list.py +19 -0
  207. appwrite_console/models/country.py +18 -0
  208. appwrite_console/models/country_list.py +19 -0
  209. appwrite_console/models/coupon.py +36 -0
  210. appwrite_console/models/credit.py +45 -0
  211. appwrite_console/models/credit_available.py +15 -0
  212. appwrite_console/models/credit_list.py +22 -0
  213. appwrite_console/models/currency.py +33 -0
  214. appwrite_console/models/currency_list.py +19 -0
  215. appwrite_console/models/database.py +52 -0
  216. appwrite_console/models/database_list.py +19 -0
  217. appwrite_console/models/database_migration.py +57 -0
  218. appwrite_console/models/database_migration_list.py +19 -0
  219. appwrite_console/models/database_status.py +57 -0
  220. appwrite_console/models/database_status_connections.py +18 -0
  221. appwrite_console/models/database_status_replica.py +24 -0
  222. appwrite_console/models/database_status_volume.py +24 -0
  223. appwrite_console/models/dedicated_database.py +159 -0
  224. appwrite_console/models/dedicated_database_backup.py +63 -0
  225. appwrite_console/models/dedicated_database_backup_list.py +19 -0
  226. appwrite_console/models/dedicated_database_backup_storage.py +27 -0
  227. appwrite_console/models/dedicated_database_branch.py +48 -0
  228. appwrite_console/models/dedicated_database_branch_list.py +16 -0
  229. appwrite_console/models/dedicated_database_execution.py +31 -0
  230. appwrite_console/models/dedicated_database_execution_column.py +18 -0
  231. appwrite_console/models/dedicated_database_extensions.py +22 -0
  232. appwrite_console/models/dedicated_database_list.py +19 -0
  233. appwrite_console/models/dedicated_database_member.py +24 -0
  234. appwrite_console/models/dedicated_database_operation.py +45 -0
  235. appwrite_console/models/dedicated_database_operation_list.py +19 -0
  236. appwrite_console/models/dedicated_database_pitr_windows.py +18 -0
  237. appwrite_console/models/dedicated_database_pooler.py +42 -0
  238. appwrite_console/models/dedicated_database_replicas.py +37 -0
  239. appwrite_console/models/dedicated_database_restoration.py +45 -0
  240. appwrite_console/models/dedicated_database_restoration_list.py +19 -0
  241. appwrite_console/models/dedicated_database_specification.py +39 -0
  242. appwrite_console/models/dedicated_database_specification_list.py +23 -0
  243. appwrite_console/models/dedicated_database_specification_pricing.py +27 -0
  244. appwrite_console/models/deployment.py +94 -0
  245. appwrite_console/models/deployment_list.py +19 -0
  246. appwrite_console/models/detection_framework.py +32 -0
  247. appwrite_console/models/detection_runtime.py +29 -0
  248. appwrite_console/models/detection_variable.py +18 -0
  249. appwrite_console/models/dev_key.py +36 -0
  250. appwrite_console/models/dev_key_list.py +19 -0
  251. appwrite_console/models/dns_record.py +48 -0
  252. appwrite_console/models/dns_records_list.py +19 -0
  253. appwrite_console/models/document.py +80 -0
  254. appwrite_console/models/document_list.py +32 -0
  255. appwrite_console/models/domain.py +53 -0
  256. appwrite_console/models/domain_price.py +30 -0
  257. appwrite_console/models/domain_purchase.py +43 -0
  258. appwrite_console/models/domain_suggestion.py +24 -0
  259. appwrite_console/models/domain_suggestions_list.py +19 -0
  260. appwrite_console/models/domain_transfer_out.py +15 -0
  261. appwrite_console/models/domain_transfer_status.py +22 -0
  262. appwrite_console/models/domains_list.py +19 -0
  263. appwrite_console/models/downgrade_feedback.py +42 -0
  264. appwrite_console/models/email_template.py +36 -0
  265. appwrite_console/models/email_template_list.py +19 -0
  266. appwrite_console/models/embedding.py +24 -0
  267. appwrite_console/models/embedding_list.py +19 -0
  268. appwrite_console/models/ephemeral_key.py +39 -0
  269. appwrite_console/models/estimation.py +37 -0
  270. appwrite_console/models/estimation_delete_organization.py +16 -0
  271. appwrite_console/models/estimation_item.py +18 -0
  272. appwrite_console/models/estimation_plan_change.py +29 -0
  273. appwrite_console/models/estimation_update_plan.py +40 -0
  274. appwrite_console/models/execution.py +69 -0
  275. appwrite_console/models/execution_list.py +19 -0
  276. appwrite_console/models/file.py +60 -0
  277. appwrite_console/models/file_list.py +19 -0
  278. appwrite_console/models/framework.py +28 -0
  279. appwrite_console/models/framework_adapter.py +27 -0
  280. appwrite_console/models/framework_list.py +19 -0
  281. appwrite_console/models/function.py +109 -0
  282. appwrite_console/models/function_list.py +19 -0
  283. appwrite_console/models/headers.py +18 -0
  284. appwrite_console/models/identity.py +42 -0
  285. appwrite_console/models/identity_list.py +19 -0
  286. appwrite_console/models/index.py +43 -0
  287. appwrite_console/models/index_list.py +19 -0
  288. appwrite_console/models/insight.py +64 -0
  289. appwrite_console/models/insight_cta.py +24 -0
  290. appwrite_console/models/insight_list.py +19 -0
  291. appwrite_console/models/installation.py +30 -0
  292. appwrite_console/models/installation_list.py +19 -0
  293. appwrite_console/models/invoice.py +82 -0
  294. appwrite_console/models/invoice_list.py +19 -0
  295. appwrite_console/models/jwt.py +15 -0
  296. appwrite_console/models/key.py +39 -0
  297. appwrite_console/models/key_list.py +19 -0
  298. appwrite_console/models/language.py +21 -0
  299. appwrite_console/models/language_list.py +19 -0
  300. appwrite_console/models/locale.py +66 -0
  301. appwrite_console/models/locale_code.py +18 -0
  302. appwrite_console/models/locale_code_list.py +19 -0
  303. appwrite_console/models/log.py +78 -0
  304. appwrite_console/models/log_list.py +19 -0
  305. appwrite_console/models/membership.py +57 -0
  306. appwrite_console/models/membership_list.py +19 -0
  307. appwrite_console/models/message.py +52 -0
  308. appwrite_console/models/message_list.py +19 -0
  309. appwrite_console/models/metric.py +18 -0
  310. appwrite_console/models/metric_breakdown.py +24 -0
  311. appwrite_console/models/mfa_challenge.py +24 -0
  312. appwrite_console/models/mfa_factors.py +24 -0
  313. appwrite_console/models/mfa_recovery_codes.py +15 -0
  314. appwrite_console/models/mfa_type.py +18 -0
  315. appwrite_console/models/migration.py +75 -0
  316. appwrite_console/models/migration_list.py +19 -0
  317. appwrite_console/models/migration_report.py +96 -0
  318. appwrite_console/models/mock_number.py +24 -0
  319. appwrite_console/models/mock_number_list.py +19 -0
  320. appwrite_console/models/notification.py +60 -0
  321. appwrite_console/models/notification_list.py +19 -0
  322. appwrite_console/models/o_auth2_amazon.py +24 -0
  323. appwrite_console/models/o_auth2_apple.py +30 -0
  324. appwrite_console/models/o_auth2_appwrite.py +24 -0
  325. appwrite_console/models/o_auth2_auth0.py +27 -0
  326. appwrite_console/models/o_auth2_authentik.py +27 -0
  327. appwrite_console/models/o_auth2_autodesk.py +24 -0
  328. appwrite_console/models/o_auth2_bitbucket.py +24 -0
  329. appwrite_console/models/o_auth2_bitly.py +24 -0
  330. appwrite_console/models/o_auth2_box.py +24 -0
  331. appwrite_console/models/o_auth2_dailymotion.py +24 -0
  332. appwrite_console/models/o_auth2_discord.py +24 -0
  333. appwrite_console/models/o_auth2_disqus.py +24 -0
  334. appwrite_console/models/o_auth2_dropbox.py +24 -0
  335. appwrite_console/models/o_auth2_etsy.py +24 -0
  336. appwrite_console/models/o_auth2_facebook.py +24 -0
  337. appwrite_console/models/o_auth2_figma.py +24 -0
  338. appwrite_console/models/o_auth2_fusion_auth.py +27 -0
  339. appwrite_console/models/o_auth2_github.py +24 -0
  340. appwrite_console/models/o_auth2_gitlab.py +27 -0
  341. appwrite_console/models/o_auth2_google.py +28 -0
  342. appwrite_console/models/o_auth2_keycloak.py +30 -0
  343. appwrite_console/models/o_auth2_kick.py +24 -0
  344. appwrite_console/models/o_auth2_linkedin.py +24 -0
  345. appwrite_console/models/o_auth2_microsoft.py +27 -0
  346. appwrite_console/models/o_auth2_notion.py +24 -0
  347. appwrite_console/models/o_auth2_oidc.py +43 -0
  348. appwrite_console/models/o_auth2_okta.py +30 -0
  349. appwrite_console/models/o_auth2_paypal.py +24 -0
  350. appwrite_console/models/o_auth2_podio.py +24 -0
  351. appwrite_console/models/o_auth2_provider_list.py +59 -0
  352. appwrite_console/models/o_auth2_salesforce.py +24 -0
  353. appwrite_console/models/o_auth2_slack.py +24 -0
  354. appwrite_console/models/o_auth2_spotify.py +24 -0
  355. appwrite_console/models/o_auth2_stripe.py +24 -0
  356. appwrite_console/models/o_auth2_tradeshift.py +24 -0
  357. appwrite_console/models/o_auth2_twitch.py +24 -0
  358. appwrite_console/models/o_auth2_word_press.py +24 -0
  359. appwrite_console/models/o_auth2_x.py +24 -0
  360. appwrite_console/models/o_auth2_yahoo.py +24 -0
  361. appwrite_console/models/o_auth2_yandex.py +24 -0
  362. appwrite_console/models/o_auth2_zoho.py +24 -0
  363. appwrite_console/models/o_auth2_zoom.py +24 -0
  364. appwrite_console/models/oauth2_approve.py +15 -0
  365. appwrite_console/models/oauth2_authorize.py +18 -0
  366. appwrite_console/models/oauth2_consent.py +42 -0
  367. appwrite_console/models/oauth2_consent_list.py +19 -0
  368. appwrite_console/models/oauth2_consent_token.py +45 -0
  369. appwrite_console/models/oauth2_consent_token_list.py +19 -0
  370. appwrite_console/models/oauth2_device_authorization.py +30 -0
  371. appwrite_console/models/oauth2_grant.py +48 -0
  372. appwrite_console/models/oauth2_organization.py +15 -0
  373. appwrite_console/models/oauth2_organization_list.py +19 -0
  374. appwrite_console/models/oauth2_par.py +18 -0
  375. appwrite_console/models/oauth2_project.py +21 -0
  376. appwrite_console/models/oauth2_project_list.py +19 -0
  377. appwrite_console/models/oauth2_reject.py +15 -0
  378. appwrite_console/models/oauth2_token.py +33 -0
  379. appwrite_console/models/organization.py +132 -0
  380. appwrite_console/models/organization_list.py +32 -0
  381. appwrite_console/models/payment_authentication.py +30 -0
  382. appwrite_console/models/payment_method.py +72 -0
  383. appwrite_console/models/payment_method_list.py +19 -0
  384. appwrite_console/models/phone.py +21 -0
  385. appwrite_console/models/phone_list.py +19 -0
  386. appwrite_console/models/plan_change_estimation_details.py +39 -0
  387. appwrite_console/models/plan_change_limits.py +28 -0
  388. appwrite_console/models/plan_change_project_compliance.py +28 -0
  389. appwrite_console/models/plan_change_resource_compliance.py +30 -0
  390. appwrite_console/models/platform_android.py +31 -0
  391. appwrite_console/models/platform_apple.py +31 -0
  392. appwrite_console/models/platform_linux.py +31 -0
  393. appwrite_console/models/platform_list.py +23 -0
  394. appwrite_console/models/platform_web.py +31 -0
  395. appwrite_console/models/platform_windows.py +31 -0
  396. appwrite_console/models/policy_deny_aliased_email.py +18 -0
  397. appwrite_console/models/policy_deny_corporate_email.py +18 -0
  398. appwrite_console/models/policy_deny_disposable_email.py +18 -0
  399. appwrite_console/models/policy_deny_free_email.py +18 -0
  400. appwrite_console/models/policy_list.py +32 -0
  401. appwrite_console/models/policy_membership_privacy.py +33 -0
  402. appwrite_console/models/policy_password_dictionary.py +18 -0
  403. appwrite_console/models/policy_password_history.py +18 -0
  404. appwrite_console/models/policy_password_personal_data.py +18 -0
  405. appwrite_console/models/policy_password_strength.py +30 -0
  406. appwrite_console/models/policy_session_alert.py +18 -0
  407. appwrite_console/models/policy_session_duration.py +18 -0
  408. appwrite_console/models/policy_session_invalidation.py +18 -0
  409. appwrite_console/models/policy_session_limit.py +18 -0
  410. appwrite_console/models/policy_user_limit.py +18 -0
  411. appwrite_console/models/postgres_extension.py +24 -0
  412. appwrite_console/models/postgres_extension_list.py +19 -0
  413. appwrite_console/models/preferences.py +52 -0
  414. appwrite_console/models/presence.py +39 -0
  415. appwrite_console/models/presence_list.py +19 -0
  416. appwrite_console/models/program.py +39 -0
  417. appwrite_console/models/project.py +153 -0
  418. appwrite_console/models/project_auth_method.py +19 -0
  419. appwrite_console/models/project_list.py +19 -0
  420. appwrite_console/models/project_protocol.py +19 -0
  421. appwrite_console/models/project_service.py +19 -0
  422. appwrite_console/models/provider.py +39 -0
  423. appwrite_console/models/provider_list.py +19 -0
  424. appwrite_console/models/provider_repository.py +42 -0
  425. appwrite_console/models/provider_repository_framework.py +45 -0
  426. appwrite_console/models/provider_repository_framework_list.py +22 -0
  427. appwrite_console/models/provider_repository_runtime.py +45 -0
  428. appwrite_console/models/provider_repository_runtime_list.py +22 -0
  429. appwrite_console/models/proxy_rule.py +59 -0
  430. appwrite_console/models/proxy_rule_list.py +19 -0
  431. appwrite_console/models/report.py +49 -0
  432. appwrite_console/models/report_list.py +19 -0
  433. appwrite_console/models/resource_token.py +33 -0
  434. appwrite_console/models/resource_token_list.py +19 -0
  435. appwrite_console/models/review.py +24 -0
  436. appwrite_console/models/roles.py +18 -0
  437. appwrite_console/models/row.py +80 -0
  438. appwrite_console/models/row_list.py +32 -0
  439. appwrite_console/models/runtime.py +36 -0
  440. appwrite_console/models/runtime_list.py +19 -0
  441. appwrite_console/models/schedule.py +45 -0
  442. appwrite_console/models/schedule_list.py +19 -0
  443. appwrite_console/models/session.py +99 -0
  444. appwrite_console/models/session_list.py +19 -0
  445. appwrite_console/models/site.py +115 -0
  446. appwrite_console/models/site_list.py +19 -0
  447. appwrite_console/models/specification.py +24 -0
  448. appwrite_console/models/specification_list.py +19 -0
  449. appwrite_console/models/stage.py +27 -0
  450. appwrite_console/models/stage_list.py +16 -0
  451. appwrite_console/models/subscriber.py +40 -0
  452. appwrite_console/models/subscriber_list.py +19 -0
  453. appwrite_console/models/table.py +67 -0
  454. appwrite_console/models/table_list.py +19 -0
  455. appwrite_console/models/target.py +39 -0
  456. appwrite_console/models/target_list.py +19 -0
  457. appwrite_console/models/team.py +43 -0
  458. appwrite_console/models/team_list.py +32 -0
  459. appwrite_console/models/template_framework.py +39 -0
  460. appwrite_console/models/template_function.py +65 -0
  461. appwrite_console/models/template_function_list.py +19 -0
  462. appwrite_console/models/template_runtime.py +24 -0
  463. appwrite_console/models/template_site.py +53 -0
  464. appwrite_console/models/template_site_list.py +19 -0
  465. appwrite_console/models/template_variable.py +33 -0
  466. appwrite_console/models/token.py +30 -0
  467. appwrite_console/models/topic.py +36 -0
  468. appwrite_console/models/topic_list.py +19 -0
  469. appwrite_console/models/transaction.py +30 -0
  470. appwrite_console/models/transaction_list.py +19 -0
  471. appwrite_console/models/usage_billing_plan.py +46 -0
  472. appwrite_console/models/usage_data_point.py +99 -0
  473. appwrite_console/models/usage_event_list.py +19 -0
  474. appwrite_console/models/usage_gauge_list.py +19 -0
  475. appwrite_console/models/usage_metric.py +19 -0
  476. appwrite_console/models/usage_organization.py +104 -0
  477. appwrite_console/models/usage_organization_project.py +73 -0
  478. appwrite_console/models/usage_presence.py +22 -0
  479. appwrite_console/models/usage_project.py +218 -0
  480. appwrite_console/models/usage_resources.py +36 -0
  481. appwrite_console/models/usage_users.py +28 -0
  482. appwrite_console/models/user.py +111 -0
  483. appwrite_console/models/user_list.py +32 -0
  484. appwrite_console/models/variable.py +36 -0
  485. appwrite_console/models/variable_list.py +19 -0
  486. appwrite_console/models/vcs_content.py +21 -0
  487. appwrite_console/models/vcs_content_list.py +19 -0
  488. appwrite_console/models/vcs_namespace.py +27 -0
  489. appwrite_console/models/vcs_namespace_list.py +19 -0
  490. appwrite_console/models/vectorsdb_collection.py +54 -0
  491. appwrite_console/models/vectorsdb_collection_list.py +19 -0
  492. appwrite_console/models/waf_rule.py +55 -0
  493. appwrite_console/models/waf_rule_bypass.py +55 -0
  494. appwrite_console/models/waf_rule_challenge.py +64 -0
  495. appwrite_console/models/waf_rule_deny.py +55 -0
  496. appwrite_console/models/waf_rule_list.py +19 -0
  497. appwrite_console/models/waf_rule_rate_limit.py +64 -0
  498. appwrite_console/models/waf_rule_redirect.py +61 -0
  499. appwrite_console/models/webhook.py +51 -0
  500. appwrite_console/models/webhook_list.py +19 -0
  501. appwrite_console/operator.py +150 -0
  502. appwrite_console/permission.py +21 -0
  503. appwrite_console/query.py +293 -0
  504. appwrite_console/role.py +111 -0
  505. appwrite_console/service.py +50 -0
  506. appwrite_console/services/__init__.py +1 -0
  507. appwrite_console/services/account.py +3328 -0
  508. appwrite_console/services/activities.py +89 -0
  509. appwrite_console/services/advisor.py +234 -0
  510. appwrite_console/services/apps.py +1156 -0
  511. appwrite_console/services/assistant.py +50 -0
  512. appwrite_console/services/avatars.py +531 -0
  513. appwrite_console/services/backups.py +572 -0
  514. appwrite_console/services/console.py +807 -0
  515. appwrite_console/services/databases.py +4976 -0
  516. appwrite_console/services/documents_db.py +2052 -0
  517. appwrite_console/services/domains.py +3047 -0
  518. appwrite_console/services/functions.py +1659 -0
  519. appwrite_console/services/graphql.py +92 -0
  520. appwrite_console/services/locale.py +243 -0
  521. appwrite_console/services/manager.py +301 -0
  522. appwrite_console/services/messaging.py +3137 -0
  523. appwrite_console/services/migrations.py +1036 -0
  524. appwrite_console/services/mongo.py +1683 -0
  525. appwrite_console/services/mysql.py +1861 -0
  526. appwrite_console/services/notifications.py +98 -0
  527. appwrite_console/services/oauth2.py +914 -0
  528. appwrite_console/services/organization.py +1039 -0
  529. appwrite_console/services/organizations.py +2245 -0
  530. appwrite_console/services/postgresql.py +1995 -0
  531. appwrite_console/services/presences.py +309 -0
  532. appwrite_console/services/project.py +5271 -0
  533. appwrite_console/services/projects.py +885 -0
  534. appwrite_console/services/proxy.py +394 -0
  535. appwrite_console/services/sites.py +1593 -0
  536. appwrite_console/services/storage.py +818 -0
  537. appwrite_console/services/tables_db.py +5189 -0
  538. appwrite_console/services/teams.py +993 -0
  539. appwrite_console/services/tokens.py +243 -0
  540. appwrite_console/services/usage.py +194 -0
  541. appwrite_console/services/users.py +2314 -0
  542. appwrite_console/services/vcs.py +599 -0
  543. appwrite_console/services/vectors_db.py +2054 -0
  544. appwrite_console/services/waf.py +1014 -0
  545. appwrite_console/services/webhooks.py +344 -0
  546. appwrite_console/utils/__init__.py +1 -0
  547. appwrite_console/utils/deprecated.py +51 -0
  548. appwrite_console-0.1.0.dist-info/METADATA +189 -0
  549. appwrite_console-0.1.0.dist-info/RECORD +552 -0
  550. appwrite_console-0.1.0.dist-info/WHEEL +5 -0
  551. appwrite_console-0.1.0.dist-info/licenses/LICENSE +12 -0
  552. appwrite_console-0.1.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,19 @@
1
+ from typing import Any, Dict, List, Optional, Union, cast
2
+ from pydantic import Field, PrivateAttr
3
+
4
+ from .base_model import AppwriteModel
5
+ from .key import Key
6
+
7
+ class KeyList(AppwriteModel):
8
+ """
9
+ API Keys List
10
+
11
+ Attributes
12
+ ----------
13
+ total : float
14
+ Total number of keys that matched your query.
15
+ keys : List[Key]
16
+ List of keys.
17
+ """
18
+ total: float = Field(..., alias='total')
19
+ keys: List[Key] = Field(..., alias='keys')
@@ -0,0 +1,21 @@
1
+ from typing import Any, Dict, List, Optional, Union, cast
2
+ from pydantic import Field, PrivateAttr
3
+
4
+ from .base_model import AppwriteModel
5
+
6
+ class Language(AppwriteModel):
7
+ """
8
+ Language
9
+
10
+ Attributes
11
+ ----------
12
+ name : str
13
+ Language name.
14
+ code : str
15
+ Language two-character ISO 639-1 codes.
16
+ nativename : str
17
+ Language native name.
18
+ """
19
+ name: str = Field(..., alias='name')
20
+ code: str = Field(..., alias='code')
21
+ nativename: str = Field(..., alias='nativeName')
@@ -0,0 +1,19 @@
1
+ from typing import Any, Dict, List, Optional, Union, cast
2
+ from pydantic import Field, PrivateAttr
3
+
4
+ from .base_model import AppwriteModel
5
+ from .language import Language
6
+
7
+ class LanguageList(AppwriteModel):
8
+ """
9
+ Languages List
10
+
11
+ Attributes
12
+ ----------
13
+ total : float
14
+ Total number of languages that matched your query.
15
+ languages : List[Language]
16
+ List of languages.
17
+ """
18
+ total: float = Field(..., alias='total')
19
+ languages: List[Language] = Field(..., alias='languages')
@@ -0,0 +1,66 @@
1
+ from typing import Any, Dict, List, Optional, Union, cast
2
+ from pydantic import Field, PrivateAttr
3
+
4
+ from .base_model import AppwriteModel
5
+
6
+ class Locale(AppwriteModel):
7
+ """
8
+ Locale
9
+
10
+ Attributes
11
+ ----------
12
+ ip : str
13
+ User IP address.
14
+ countrycode : str
15
+ Country code in [ISO 3166-1](http://en.wikipedia.org/wiki/ISO_3166-1) two-character format
16
+ country : str
17
+ Country name. This field support localization.
18
+ continentcode : str
19
+ Continent code. A two character continent code "AF" for Africa, "AN" for Antarctica, "AS" for Asia, "EU" for Europe, "NA" for North America, "OC" for Oceania, and "SA" for South America.
20
+ continent : str
21
+ Continent name. This field support localization.
22
+ eu : bool
23
+ True if country is part of the European Union.
24
+ currency : str
25
+ Currency code in [ISO 4217-1](http://en.wikipedia.org/wiki/ISO_4217) three-character format
26
+ city : Optional[str]
27
+ City
28
+ timezone : Optional[str]
29
+ Name of timezone
30
+ postalcode : Optional[str]
31
+ Postal code
32
+ latitude : Optional[float]
33
+ Latitude
34
+ longitude : Optional[float]
35
+ Longitude
36
+ autonomoussystemnumber : Optional[str]
37
+ Autonomous System Number (ASN) of the IP
38
+ autonomoussystemorganization : Optional[str]
39
+ Organization that owns the ASN
40
+ isp : Optional[str]
41
+ Internet service provider of the IP
42
+ connectiontype : Optional[str]
43
+ Connection type of the IP (e.g. cable, cellular, corporate)
44
+ connectionusagetype : Optional[str]
45
+ User type classification of the IP (e.g. residential, business, hosting)
46
+ connectionorganization : Optional[str]
47
+ Registered organization of the IP
48
+ """
49
+ ip: str = Field(..., alias='ip')
50
+ countrycode: str = Field(..., alias='countryCode')
51
+ country: str = Field(..., alias='country')
52
+ continentcode: str = Field(..., alias='continentCode')
53
+ continent: str = Field(..., alias='continent')
54
+ eu: bool = Field(..., alias='eu')
55
+ currency: str = Field(..., alias='currency')
56
+ city: Optional[str] = Field(default=None, alias='city')
57
+ timezone: Optional[str] = Field(default=None, alias='timeZone')
58
+ postalcode: Optional[str] = Field(default=None, alias='postalCode')
59
+ latitude: Optional[float] = Field(default=None, alias='latitude')
60
+ longitude: Optional[float] = Field(default=None, alias='longitude')
61
+ autonomoussystemnumber: Optional[str] = Field(default=None, alias='autonomousSystemNumber')
62
+ autonomoussystemorganization: Optional[str] = Field(default=None, alias='autonomousSystemOrganization')
63
+ isp: Optional[str] = Field(default=None, alias='isp')
64
+ connectiontype: Optional[str] = Field(default=None, alias='connectionType')
65
+ connectionusagetype: Optional[str] = Field(default=None, alias='connectionUsageType')
66
+ connectionorganization: Optional[str] = Field(default=None, alias='connectionOrganization')
@@ -0,0 +1,18 @@
1
+ from typing import Any, Dict, List, Optional, Union, cast
2
+ from pydantic import Field, PrivateAttr
3
+
4
+ from .base_model import AppwriteModel
5
+
6
+ class LocaleCode(AppwriteModel):
7
+ """
8
+ LocaleCode
9
+
10
+ Attributes
11
+ ----------
12
+ code : str
13
+ Locale codes in [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes)
14
+ name : str
15
+ Locale name
16
+ """
17
+ code: str = Field(..., alias='code')
18
+ name: str = Field(..., alias='name')
@@ -0,0 +1,19 @@
1
+ from typing import Any, Dict, List, Optional, Union, cast
2
+ from pydantic import Field, PrivateAttr
3
+
4
+ from .base_model import AppwriteModel
5
+ from .locale_code import LocaleCode
6
+
7
+ class LocaleCodeList(AppwriteModel):
8
+ """
9
+ Locale codes list
10
+
11
+ Attributes
12
+ ----------
13
+ total : float
14
+ Total number of localeCodes that matched your query.
15
+ localecodes : List[LocaleCode]
16
+ List of localeCodes.
17
+ """
18
+ total: float = Field(..., alias='total')
19
+ localecodes: List[LocaleCode] = Field(..., alias='localeCodes')
@@ -0,0 +1,78 @@
1
+ from typing import Any, Dict, List, Optional, Union, cast
2
+ from pydantic import Field, PrivateAttr
3
+
4
+ from .base_model import AppwriteModel
5
+
6
+ class Log(AppwriteModel):
7
+ """
8
+ Log
9
+
10
+ Attributes
11
+ ----------
12
+ event : str
13
+ Event name.
14
+ userid : str
15
+ User ID of the actor recorded for this log. During impersonation, this is the original impersonator, not the impersonated target user.
16
+ useremail : str
17
+ User email of the actor recorded for this log. During impersonation, this is the original impersonator.
18
+ username : str
19
+ User name of the actor recorded for this log. During impersonation, this is the original impersonator.
20
+ mode : str
21
+ API mode when event triggered.
22
+ usertype : str
23
+ User type who triggered the audit log. Possible values: user, admin, guest, hidden, keyProject, keyAccount, keyOrganization.
24
+ ip : str
25
+ IP session in use when the session was created.
26
+ time : str
27
+ Log creation date in ISO 8601 format.
28
+ oscode : str
29
+ Operating system code name. View list of [available options](https://github.com/appwrite/appwrite/blob/master/docs/lists/os.json).
30
+ osname : str
31
+ Operating system name.
32
+ osversion : str
33
+ Operating system version.
34
+ clienttype : str
35
+ Client type.
36
+ clientcode : str
37
+ Client code name. View list of [available options](https://github.com/appwrite/appwrite/blob/master/docs/lists/clients.json).
38
+ clientname : str
39
+ Client name.
40
+ clientversion : str
41
+ Client version.
42
+ clientengine : str
43
+ Client engine name.
44
+ clientengineversion : str
45
+ Client engine name.
46
+ devicename : str
47
+ Device name.
48
+ devicebrand : str
49
+ Device brand name.
50
+ devicemodel : str
51
+ Device model name.
52
+ countrycode : str
53
+ Country two-character ISO 3166-1 alpha code.
54
+ countryname : str
55
+ Country name.
56
+ """
57
+ event: str = Field(..., alias='event')
58
+ userid: str = Field(..., alias='userId')
59
+ useremail: str = Field(..., alias='userEmail')
60
+ username: str = Field(..., alias='userName')
61
+ mode: str = Field(..., alias='mode')
62
+ usertype: str = Field(..., alias='userType')
63
+ ip: str = Field(..., alias='ip')
64
+ time: str = Field(..., alias='time')
65
+ oscode: str = Field(..., alias='osCode')
66
+ osname: str = Field(..., alias='osName')
67
+ osversion: str = Field(..., alias='osVersion')
68
+ clienttype: str = Field(..., alias='clientType')
69
+ clientcode: str = Field(..., alias='clientCode')
70
+ clientname: str = Field(..., alias='clientName')
71
+ clientversion: str = Field(..., alias='clientVersion')
72
+ clientengine: str = Field(..., alias='clientEngine')
73
+ clientengineversion: str = Field(..., alias='clientEngineVersion')
74
+ devicename: str = Field(..., alias='deviceName')
75
+ devicebrand: str = Field(..., alias='deviceBrand')
76
+ devicemodel: str = Field(..., alias='deviceModel')
77
+ countrycode: str = Field(..., alias='countryCode')
78
+ countryname: str = Field(..., alias='countryName')
@@ -0,0 +1,19 @@
1
+ from typing import Any, Dict, List, Optional, Union, cast
2
+ from pydantic import Field, PrivateAttr
3
+
4
+ from .base_model import AppwriteModel
5
+ from .log import Log
6
+
7
+ class LogList(AppwriteModel):
8
+ """
9
+ Logs List
10
+
11
+ Attributes
12
+ ----------
13
+ total : float
14
+ Total number of logs that matched your query.
15
+ logs : List[Log]
16
+ List of logs.
17
+ """
18
+ total: float = Field(..., alias='total')
19
+ logs: List[Log] = Field(..., alias='logs')
@@ -0,0 +1,57 @@
1
+ from typing import Any, Dict, List, Optional, Union, cast
2
+ from pydantic import Field, PrivateAttr
3
+
4
+ from .base_model import AppwriteModel
5
+
6
+ class Membership(AppwriteModel):
7
+ """
8
+ Membership
9
+
10
+ Attributes
11
+ ----------
12
+ id : str
13
+ Membership ID.
14
+ createdat : str
15
+ Membership creation date in ISO 8601 format.
16
+ updatedat : str
17
+ Membership update date in ISO 8601 format.
18
+ userid : str
19
+ User ID.
20
+ username : str
21
+ User name. Hide this attribute by toggling membership privacy in the Console.
22
+ useremail : str
23
+ User email address. Hide this attribute by toggling membership privacy in the Console.
24
+ userphone : str
25
+ User phone number. Hide this attribute by toggling membership privacy in the Console.
26
+ teamid : str
27
+ Team ID.
28
+ teamname : str
29
+ Team name.
30
+ invited : str
31
+ Date, the user has been invited to join the team in ISO 8601 format.
32
+ joined : str
33
+ Date, the user has accepted the invitation to join the team in ISO 8601 format.
34
+ confirm : bool
35
+ User confirmation status, true if the user has joined the team or false otherwise.
36
+ mfa : bool
37
+ Multi factor authentication status, true if the user has MFA enabled or false otherwise. Hide this attribute by toggling membership privacy in the Console.
38
+ useraccessedat : str
39
+ Most recent access date in ISO 8601 format. Show this attribute by toggling membership privacy in the Console.
40
+ roles : List[Any]
41
+ User list of roles
42
+ """
43
+ id: str = Field(..., alias='$id')
44
+ createdat: str = Field(..., alias='$createdAt')
45
+ updatedat: str = Field(..., alias='$updatedAt')
46
+ userid: str = Field(..., alias='userId')
47
+ username: str = Field(..., alias='userName')
48
+ useremail: str = Field(..., alias='userEmail')
49
+ userphone: str = Field(..., alias='userPhone')
50
+ teamid: str = Field(..., alias='teamId')
51
+ teamname: str = Field(..., alias='teamName')
52
+ invited: str = Field(..., alias='invited')
53
+ joined: str = Field(..., alias='joined')
54
+ confirm: bool = Field(..., alias='confirm')
55
+ mfa: bool = Field(..., alias='mfa')
56
+ useraccessedat: str = Field(..., alias='userAccessedAt')
57
+ roles: List[Any] = Field(..., alias='roles')
@@ -0,0 +1,19 @@
1
+ from typing import Any, Dict, List, Optional, Union, cast
2
+ from pydantic import Field, PrivateAttr
3
+
4
+ from .base_model import AppwriteModel
5
+ from .membership import Membership
6
+
7
+ class MembershipList(AppwriteModel):
8
+ """
9
+ Memberships List
10
+
11
+ Attributes
12
+ ----------
13
+ total : float
14
+ Total number of memberships that matched your query.
15
+ memberships : List[Membership]
16
+ List of memberships.
17
+ """
18
+ total: float = Field(..., alias='total')
19
+ memberships: List[Membership] = Field(..., alias='memberships')
@@ -0,0 +1,52 @@
1
+ from typing import Any, Dict, List, Optional, Union, cast
2
+ from pydantic import Field, PrivateAttr
3
+
4
+ from .base_model import AppwriteModel
5
+ from ..enums.message_status import MessageStatus
6
+
7
+ class Message(AppwriteModel):
8
+ """
9
+ Message
10
+
11
+ Attributes
12
+ ----------
13
+ id : str
14
+ Message ID.
15
+ createdat : str
16
+ Message creation time in ISO 8601 format.
17
+ updatedat : str
18
+ Message update date in ISO 8601 format.
19
+ providertype : str
20
+ Message provider type.
21
+ topics : List[Any]
22
+ Topic IDs set as recipients.
23
+ users : List[Any]
24
+ User IDs set as recipients.
25
+ targets : List[Any]
26
+ Target IDs set as recipients.
27
+ scheduledat : Optional[str]
28
+ The scheduled time for message.
29
+ deliveredat : Optional[str]
30
+ The time when the message was delivered.
31
+ deliveryerrors : Optional[List[Any]]
32
+ Delivery errors if any.
33
+ deliveredtotal : float
34
+ Number of recipients the message was delivered to.
35
+ data : Dict[str, Any]
36
+ Data of the message.
37
+ status : MessageStatus
38
+ Status of delivery.
39
+ """
40
+ id: str = Field(..., alias='$id')
41
+ createdat: str = Field(..., alias='$createdAt')
42
+ updatedat: str = Field(..., alias='$updatedAt')
43
+ providertype: str = Field(..., alias='providerType')
44
+ topics: List[Any] = Field(..., alias='topics')
45
+ users: List[Any] = Field(..., alias='users')
46
+ targets: List[Any] = Field(..., alias='targets')
47
+ scheduledat: Optional[str] = Field(default=None, alias='scheduledAt')
48
+ deliveredat: Optional[str] = Field(default=None, alias='deliveredAt')
49
+ deliveryerrors: Optional[List[Any]] = Field(default=None, alias='deliveryErrors')
50
+ deliveredtotal: float = Field(..., alias='deliveredTotal')
51
+ data: Dict[str, Any] = Field(..., alias='data')
52
+ status: MessageStatus = Field(..., alias='status')
@@ -0,0 +1,19 @@
1
+ from typing import Any, Dict, List, Optional, Union, cast
2
+ from pydantic import Field, PrivateAttr
3
+
4
+ from .base_model import AppwriteModel
5
+ from .message import Message
6
+
7
+ class MessageList(AppwriteModel):
8
+ """
9
+ Message list
10
+
11
+ Attributes
12
+ ----------
13
+ total : float
14
+ Total number of messages that matched your query.
15
+ messages : List[Message]
16
+ List of messages.
17
+ """
18
+ total: float = Field(..., alias='total')
19
+ messages: List[Message] = Field(..., alias='messages')
@@ -0,0 +1,18 @@
1
+ from typing import Any, Dict, List, Optional, Union, cast
2
+ from pydantic import Field, PrivateAttr
3
+
4
+ from .base_model import AppwriteModel
5
+
6
+ class Metric(AppwriteModel):
7
+ """
8
+ Metric
9
+
10
+ Attributes
11
+ ----------
12
+ value : float
13
+ The value of this metric at the timestamp.
14
+ date : str
15
+ The date at which this metric was aggregated in ISO 8601 format.
16
+ """
17
+ value: float = Field(..., alias='value')
18
+ date: str = Field(..., alias='date')
@@ -0,0 +1,24 @@
1
+ from typing import Any, Dict, List, Optional, Union, cast
2
+ from pydantic import Field, PrivateAttr
3
+
4
+ from .base_model import AppwriteModel
5
+
6
+ class MetricBreakdown(AppwriteModel):
7
+ """
8
+ Metric Breakdown
9
+
10
+ Attributes
11
+ ----------
12
+ resourceid : Optional[str]
13
+ Resource ID.
14
+ name : str
15
+ Resource name.
16
+ value : float
17
+ The value of this metric at the timestamp.
18
+ estimate : Optional[float]
19
+ The estimated value of this metric at the end of the period.
20
+ """
21
+ resourceid: Optional[str] = Field(default=None, alias='resourceId')
22
+ name: str = Field(..., alias='name')
23
+ value: float = Field(..., alias='value')
24
+ estimate: Optional[float] = Field(default=None, alias='estimate')
@@ -0,0 +1,24 @@
1
+ from typing import Any, Dict, List, Optional, Union, cast
2
+ from pydantic import Field, PrivateAttr
3
+
4
+ from .base_model import AppwriteModel
5
+
6
+ class MfaChallenge(AppwriteModel):
7
+ """
8
+ MFA Challenge
9
+
10
+ Attributes
11
+ ----------
12
+ id : str
13
+ Token ID.
14
+ createdat : str
15
+ Token creation date in ISO 8601 format.
16
+ userid : str
17
+ User ID.
18
+ expire : str
19
+ Token expiration date in ISO 8601 format.
20
+ """
21
+ id: str = Field(..., alias='$id')
22
+ createdat: str = Field(..., alias='$createdAt')
23
+ userid: str = Field(..., alias='userId')
24
+ expire: str = Field(..., alias='expire')
@@ -0,0 +1,24 @@
1
+ from typing import Any, Dict, List, Optional, Union, cast
2
+ from pydantic import Field, PrivateAttr
3
+
4
+ from .base_model import AppwriteModel
5
+
6
+ class MfaFactors(AppwriteModel):
7
+ """
8
+ MFAFactors
9
+
10
+ Attributes
11
+ ----------
12
+ totp : bool
13
+ Can TOTP be used for MFA challenge for this account.
14
+ phone : bool
15
+ Can phone (SMS) be used for MFA challenge for this account.
16
+ email : bool
17
+ Can email be used for MFA challenge for this account.
18
+ recoverycode : bool
19
+ Can recovery code be used for MFA challenge for this account.
20
+ """
21
+ totp: bool = Field(..., alias='totp')
22
+ phone: bool = Field(..., alias='phone')
23
+ email: bool = Field(..., alias='email')
24
+ recoverycode: bool = Field(..., alias='recoveryCode')
@@ -0,0 +1,15 @@
1
+ from typing import Any, Dict, List, Optional, Union, cast
2
+ from pydantic import Field, PrivateAttr
3
+
4
+ from .base_model import AppwriteModel
5
+
6
+ class MfaRecoveryCodes(AppwriteModel):
7
+ """
8
+ MFA Recovery Codes
9
+
10
+ Attributes
11
+ ----------
12
+ recoverycodes : List[Any]
13
+ Recovery codes.
14
+ """
15
+ recoverycodes: List[Any] = Field(..., alias='recoveryCodes')
@@ -0,0 +1,18 @@
1
+ from typing import Any, Dict, List, Optional, Union, cast
2
+ from pydantic import Field, PrivateAttr
3
+
4
+ from .base_model import AppwriteModel
5
+
6
+ class MfaType(AppwriteModel):
7
+ """
8
+ MFAType
9
+
10
+ Attributes
11
+ ----------
12
+ secret : str
13
+ Secret token used for TOTP factor.
14
+ uri : str
15
+ URI for authenticator apps.
16
+ """
17
+ secret: str = Field(..., alias='secret')
18
+ uri: str = Field(..., alias='uri')
@@ -0,0 +1,75 @@
1
+ from typing import Any, Dict, List, Optional, Union, cast
2
+ from pydantic import Field, PrivateAttr
3
+
4
+ from .base_model import AppwriteModel
5
+
6
+ class Migration(AppwriteModel):
7
+ """
8
+ Migration
9
+
10
+ Attributes
11
+ ----------
12
+ id : str
13
+ Migration ID.
14
+ createdat : str
15
+ Migration creation date in ISO 8601 format.
16
+ updatedat : str
17
+ Variable creation date in ISO 8601 format.
18
+ status : str
19
+ Migration status ( pending, processing, failed, completed )
20
+ stage : str
21
+ Migration stage ( init, processing, source-check, destination-check, migrating, finished )
22
+ source : str
23
+ A string containing the type of source of the migration.
24
+ destination : str
25
+ A string containing the type of destination of the migration.
26
+ resources : List[Any]
27
+ Resources to migrate.
28
+ resourceid : str
29
+ ID of the resource being migrated.
30
+ resourceinternalid : str
31
+ Internal ID of the resource being migrated.
32
+ resourcetype : str
33
+ Type of the resource being migrated.
34
+ parentresourceid : str
35
+ ID of the parent resource that contains the migrated resource.
36
+ parentresourceinternalid : str
37
+ Internal ID of the parent resource that contains the migrated resource.
38
+ parentresourcetype : str
39
+ Type of the parent resource that contains the migrated resource.
40
+ destinationresourceid : str
41
+ ID of the destination resource created or overwritten by the migration.
42
+ destinationresourceinternalid : str
43
+ Internal ID of the destination resource created or overwritten by the migration.
44
+ destinationresourcetype : str
45
+ Type of the destination resource created or overwritten by the migration.
46
+ statuscounters : Dict[str, Any]
47
+ A group of counters that represent the total progress of the migration.
48
+ resourcedata : Dict[str, Any]
49
+ An array of objects containing the report data of the resources that were migrated.
50
+ errors : List[Any]
51
+ All errors that occurred during the migration process.
52
+ options : Dict[str, Any]
53
+ Migration options used during the migration process.
54
+ """
55
+ id: str = Field(..., alias='$id')
56
+ createdat: str = Field(..., alias='$createdAt')
57
+ updatedat: str = Field(..., alias='$updatedAt')
58
+ status: str = Field(..., alias='status')
59
+ stage: str = Field(..., alias='stage')
60
+ source: str = Field(..., alias='source')
61
+ destination: str = Field(..., alias='destination')
62
+ resources: List[Any] = Field(..., alias='resources')
63
+ resourceid: str = Field(..., alias='resourceId')
64
+ resourceinternalid: str = Field(..., alias='resourceInternalId')
65
+ resourcetype: str = Field(..., alias='resourceType')
66
+ parentresourceid: str = Field(..., alias='parentResourceId')
67
+ parentresourceinternalid: str = Field(..., alias='parentResourceInternalId')
68
+ parentresourcetype: str = Field(..., alias='parentResourceType')
69
+ destinationresourceid: str = Field(..., alias='destinationResourceId')
70
+ destinationresourceinternalid: str = Field(..., alias='destinationResourceInternalId')
71
+ destinationresourcetype: str = Field(..., alias='destinationResourceType')
72
+ statuscounters: Dict[str, Any] = Field(..., alias='statusCounters')
73
+ resourcedata: Dict[str, Any] = Field(..., alias='resourceData')
74
+ errors: List[Any] = Field(..., alias='errors')
75
+ options: Dict[str, Any] = Field(..., alias='options')
@@ -0,0 +1,19 @@
1
+ from typing import Any, Dict, List, Optional, Union, cast
2
+ from pydantic import Field, PrivateAttr
3
+
4
+ from .base_model import AppwriteModel
5
+ from .migration import Migration
6
+
7
+ class MigrationList(AppwriteModel):
8
+ """
9
+ Migrations List
10
+
11
+ Attributes
12
+ ----------
13
+ total : float
14
+ Total number of migrations that matched your query.
15
+ migrations : List[Migration]
16
+ List of migrations.
17
+ """
18
+ total: float = Field(..., alias='total')
19
+ migrations: List[Migration] = Field(..., alias='migrations')