mattermost-api-reference-client 0.0.0.dev0__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 (1048) hide show
  1. mattermost_api_reference_client/__init__.py +8 -0
  2. mattermost_api_reference_client/api/__init__.py +1 -0
  3. mattermost_api_reference_client/api/access_control/__init__.py +1 -0
  4. mattermost_api_reference_client/api/access_control/assign_access_control_policy_to_channels.py +215 -0
  5. mattermost_api_reference_client/api/access_control/check_access_control_policy_expression.py +202 -0
  6. mattermost_api_reference_client/api/access_control/create_access_control_policy.py +196 -0
  7. mattermost_api_reference_client/api/access_control/delete_access_control_policy.py +193 -0
  8. mattermost_api_reference_client/api/access_control/get_access_control_policy.py +193 -0
  9. mattermost_api_reference_client/api/access_control/get_access_control_policy_autocomplete_fields.py +215 -0
  10. mattermost_api_reference_client/api/access_control/get_cel_visual_ast.py +197 -0
  11. mattermost_api_reference_client/api/access_control/get_channel_access_control_attributes.py +201 -0
  12. mattermost_api_reference_client/api/access_control/get_channels_for_access_control_policy.py +229 -0
  13. mattermost_api_reference_client/api/access_control/search_access_control_policies.py +197 -0
  14. mattermost_api_reference_client/api/access_control/search_channels_for_access_control_policy.py +215 -0
  15. mattermost_api_reference_client/api/access_control/test_access_control_policy_expression.py +197 -0
  16. mattermost_api_reference_client/api/access_control/unassign_access_control_policy_from_channels.py +215 -0
  17. mattermost_api_reference_client/api/access_control/update_access_control_policy_active_status.py +214 -0
  18. mattermost_api_reference_client/api/audit_logs/__init__.py +1 -0
  19. mattermost_api_reference_client/api/audit_logs/add_audit_log_certificate.py +212 -0
  20. mattermost_api_reference_client/api/audit_logs/remove_audit_log_certificate.py +171 -0
  21. mattermost_api_reference_client/api/bleve/__init__.py +1 -0
  22. mattermost_api_reference_client/api/bleve/purge_bleve_indexes.py +162 -0
  23. mattermost_api_reference_client/api/bookmarks/__init__.py +1 -0
  24. mattermost_api_reference_client/api/bookmarks/create_channel_bookmark.py +229 -0
  25. mattermost_api_reference_client/api/bookmarks/delete_channel_bookmark.py +229 -0
  26. mattermost_api_reference_client/api/bookmarks/list_channel_bookmarks_for_channel.py +201 -0
  27. mattermost_api_reference_client/api/bookmarks/update_channel_bookmark.py +259 -0
  28. mattermost_api_reference_client/api/bookmarks/update_channel_bookmark_sort_order.py +254 -0
  29. mattermost_api_reference_client/api/bots/__init__.py +1 -0
  30. mattermost_api_reference_client/api/bots/assign_bot.py +200 -0
  31. mattermost_api_reference_client/api/bots/convert_bot_to_user.py +242 -0
  32. mattermost_api_reference_client/api/bots/convert_user_to_bot.py +200 -0
  33. mattermost_api_reference_client/api/bots/create_bot.py +196 -0
  34. mattermost_api_reference_client/api/bots/delete_bot_icon_image.py +202 -0
  35. mattermost_api_reference_client/api/bots/disable_bot.py +187 -0
  36. mattermost_api_reference_client/api/bots/enable_bot.py +187 -0
  37. mattermost_api_reference_client/api/bots/get_bot.py +212 -0
  38. mattermost_api_reference_client/api/bots/get_bot_icon_image.py +200 -0
  39. mattermost_api_reference_client/api/bots/get_bots.py +249 -0
  40. mattermost_api_reference_client/api/bots/patch_bot.py +217 -0
  41. mattermost_api_reference_client/api/bots/set_bot_icon_image.py +226 -0
  42. mattermost_api_reference_client/api/brand/__init__.py +1 -0
  43. mattermost_api_reference_client/api/brand/delete_brand_image.py +163 -0
  44. mattermost_api_reference_client/api/brand/get_brand_image.py +152 -0
  45. mattermost_api_reference_client/api/brand/upload_brand_image.py +200 -0
  46. mattermost_api_reference_client/api/channels/__init__.py +1 -0
  47. mattermost_api_reference_client/api/channels/add_channel_member.py +197 -0
  48. mattermost_api_reference_client/api/channels/autocomplete_channels_for_team.py +226 -0
  49. mattermost_api_reference_client/api/channels/autocomplete_channels_for_team_for_search.py +226 -0
  50. mattermost_api_reference_client/api/channels/channel_members_minus_group_members.py +264 -0
  51. mattermost_api_reference_client/api/channels/create_channel.py +196 -0
  52. mattermost_api_reference_client/api/channels/create_direct_channel.py +195 -0
  53. mattermost_api_reference_client/api/channels/create_group_channel.py +195 -0
  54. mattermost_api_reference_client/api/channels/create_sidebar_category_for_team_for_user.py +226 -0
  55. mattermost_api_reference_client/api/channels/delete_channel.py +227 -0
  56. mattermost_api_reference_client/api/channels/get_all_channels.py +284 -0
  57. mattermost_api_reference_client/api/channels/get_channel.py +183 -0
  58. mattermost_api_reference_client/api/channels/get_channel_by_name.py +217 -0
  59. mattermost_api_reference_client/api/channels/get_channel_by_name_for_team_name.py +217 -0
  60. mattermost_api_reference_client/api/channels/get_channel_member.py +196 -0
  61. mattermost_api_reference_client/api/channels/get_channel_member_counts_by_group.py +210 -0
  62. mattermost_api_reference_client/api/channels/get_channel_members.py +224 -0
  63. mattermost_api_reference_client/api/channels/get_channel_members_by_ids.py +214 -0
  64. mattermost_api_reference_client/api/channels/get_channel_members_for_user.py +209 -0
  65. mattermost_api_reference_client/api/channels/get_channel_members_timezones.py +194 -0
  66. mattermost_api_reference_client/api/channels/get_channel_moderations.py +192 -0
  67. mattermost_api_reference_client/api/channels/get_channel_stats.py +183 -0
  68. mattermost_api_reference_client/api/channels/get_channel_unread.py +205 -0
  69. mattermost_api_reference_client/api/channels/get_channels_for_team_for_user.py +246 -0
  70. mattermost_api_reference_client/api/channels/get_channels_for_user.py +245 -0
  71. mattermost_api_reference_client/api/channels/get_deleted_channels_for_team.py +233 -0
  72. mattermost_api_reference_client/api/channels/get_pinned_posts.py +175 -0
  73. mattermost_api_reference_client/api/channels/get_private_channels_for_team.py +245 -0
  74. mattermost_api_reference_client/api/channels/get_public_channels_by_ids_for_team.py +209 -0
  75. mattermost_api_reference_client/api/channels/get_public_channels_for_team.py +229 -0
  76. mattermost_api_reference_client/api/channels/get_shared_channel_remotes.py +205 -0
  77. mattermost_api_reference_client/api/channels/get_sidebar_categories_for_team_for_user.py +214 -0
  78. mattermost_api_reference_client/api/channels/get_sidebar_category_for_team_for_user.py +218 -0
  79. mattermost_api_reference_client/api/channels/get_sidebar_category_order_for_team_for_user.py +204 -0
  80. mattermost_api_reference_client/api/channels/move_channel.py +226 -0
  81. mattermost_api_reference_client/api/channels/patch_channel.py +222 -0
  82. mattermost_api_reference_client/api/channels/patch_channel_moderations.py +214 -0
  83. mattermost_api_reference_client/api/channels/remove_sidebar_category_for_team_for_user.py +222 -0
  84. mattermost_api_reference_client/api/channels/remove_user_from_channel.py +212 -0
  85. mattermost_api_reference_client/api/channels/restore_channel.py +195 -0
  86. mattermost_api_reference_client/api/channels/search_all_channels.py +235 -0
  87. mattermost_api_reference_client/api/channels/search_archived_channels.py +239 -0
  88. mattermost_api_reference_client/api/channels/search_channels.py +227 -0
  89. mattermost_api_reference_client/api/channels/search_group_channels.py +192 -0
  90. mattermost_api_reference_client/api/channels/update_channel.py +218 -0
  91. mattermost_api_reference_client/api/channels/update_channel_member_scheme_roles.py +235 -0
  92. mattermost_api_reference_client/api/channels/update_channel_notify_props.py +223 -0
  93. mattermost_api_reference_client/api/channels/update_channel_privacy.py +234 -0
  94. mattermost_api_reference_client/api/channels/update_channel_roles.py +218 -0
  95. mattermost_api_reference_client/api/channels/update_channel_scheme.py +222 -0
  96. mattermost_api_reference_client/api/channels/update_sidebar_categories_for_team_for_user.py +233 -0
  97. mattermost_api_reference_client/api/channels/update_sidebar_category_for_team_for_user.py +239 -0
  98. mattermost_api_reference_client/api/channels/update_sidebar_category_order_for_team_for_user.py +229 -0
  99. mattermost_api_reference_client/api/channels/view_channel.py +217 -0
  100. mattermost_api_reference_client/api/cloud/__init__.py +1 -0
  101. mattermost_api_reference_client/api/cloud/confirm_customer_payment.py +201 -0
  102. mattermost_api_reference_client/api/cloud/create_customer_payment.py +184 -0
  103. mattermost_api_reference_client/api/cloud/get_cloud_customer.py +172 -0
  104. mattermost_api_reference_client/api/cloud/get_cloud_limits.py +167 -0
  105. mattermost_api_reference_client/api/cloud/get_cloud_products.py +177 -0
  106. mattermost_api_reference_client/api/cloud/get_endpoint_for_installation_information.py +172 -0
  107. mattermost_api_reference_client/api/cloud/get_invoice_for_subscription_as_pdf.py +186 -0
  108. mattermost_api_reference_client/api/cloud/get_invoices_for_subscription.py +177 -0
  109. mattermost_api_reference_client/api/cloud/get_preview_modal_data.py +176 -0
  110. mattermost_api_reference_client/api/cloud/get_subscription.py +172 -0
  111. mattermost_api_reference_client/api/cloud/post_endpoint_for_cws_webhooks.py +162 -0
  112. mattermost_api_reference_client/api/cloud/update_cloud_customer.py +205 -0
  113. mattermost_api_reference_client/api/cloud/update_cloud_customer_address.py +205 -0
  114. mattermost_api_reference_client/api/cluster/__init__.py +1 -0
  115. mattermost_api_reference_client/api/cluster/get_cluster_status.py +143 -0
  116. mattermost_api_reference_client/api/commands/__init__.py +1 -0
  117. mattermost_api_reference_client/api/commands/create_command.py +197 -0
  118. mattermost_api_reference_client/api/commands/delete_command.py +188 -0
  119. mattermost_api_reference_client/api/commands/execute_command.py +197 -0
  120. mattermost_api_reference_client/api/commands/get_command_by_id.py +191 -0
  121. mattermost_api_reference_client/api/commands/list_autocomplete_commands.py +188 -0
  122. mattermost_api_reference_client/api/commands/list_command_autocomplete_suggestions.py +213 -0
  123. mattermost_api_reference_client/api/commands/list_commands.py +216 -0
  124. mattermost_api_reference_client/api/commands/move_command.py +222 -0
  125. mattermost_api_reference_client/api/commands/regen_command_token.py +183 -0
  126. mattermost_api_reference_client/api/commands/update_command.py +204 -0
  127. mattermost_api_reference_client/api/compliance/__init__.py +1 -0
  128. mattermost_api_reference_client/api/compliance/create_compliance_report.py +164 -0
  129. mattermost_api_reference_client/api/compliance/download_compliance_report.py +186 -0
  130. mattermost_api_reference_client/api/compliance/get_compliance_report.py +188 -0
  131. mattermost_api_reference_client/api/compliance/get_compliance_reports.py +220 -0
  132. mattermost_api_reference_client/api/content_flagging/__init__.py +1 -0
  133. mattermost_api_reference_client/api/content_flagging/get_api_v4_content_flagging_flag_config.py +155 -0
  134. mattermost_api_reference_client/api/content_flagging/get_api_v4_content_flagging_team_team_id_status.py +181 -0
  135. mattermost_api_reference_client/api/custom_profile_attributes/__init__.py +1 -0
  136. mattermost_api_reference_client/api/custom_profile_attributes/create_cpa_field.py +212 -0
  137. mattermost_api_reference_client/api/custom_profile_attributes/delete_cpa_field.py +207 -0
  138. mattermost_api_reference_client/api/custom_profile_attributes/get_cpa_group.py +166 -0
  139. mattermost_api_reference_client/api/custom_profile_attributes/list_all_cpa_fields.py +174 -0
  140. mattermost_api_reference_client/api/custom_profile_attributes/list_cpa_values.py +201 -0
  141. mattermost_api_reference_client/api/custom_profile_attributes/patch_cpa_field.py +237 -0
  142. mattermost_api_reference_client/api/custom_profile_attributes/patch_cpa_values.py +236 -0
  143. mattermost_api_reference_client/api/data_retention/__init__.py +1 -0
  144. mattermost_api_reference_client/api/data_retention/add_channels_to_retention_policy.py +233 -0
  145. mattermost_api_reference_client/api/data_retention/add_teams_to_retention_policy.py +233 -0
  146. mattermost_api_reference_client/api/data_retention/create_data_retention_policy.py +225 -0
  147. mattermost_api_reference_client/api/data_retention/delete_data_retention_policy.py +212 -0
  148. mattermost_api_reference_client/api/data_retention/get_channel_policies_for_user.py +248 -0
  149. mattermost_api_reference_client/api/data_retention/get_channels_for_retention_policy.py +255 -0
  150. mattermost_api_reference_client/api/data_retention/get_data_retention_policies.py +244 -0
  151. mattermost_api_reference_client/api/data_retention/get_data_retention_policies_count.py +192 -0
  152. mattermost_api_reference_client/api/data_retention/get_data_retention_policy.py +196 -0
  153. mattermost_api_reference_client/api/data_retention/get_data_retention_policy_by_id.py +212 -0
  154. mattermost_api_reference_client/api/data_retention/get_team_policies_for_user.py +248 -0
  155. mattermost_api_reference_client/api/data_retention/get_teams_for_retention_policy.py +253 -0
  156. mattermost_api_reference_client/api/data_retention/patch_data_retention_policy.py +238 -0
  157. mattermost_api_reference_client/api/data_retention/remove_channels_from_retention_policy.py +233 -0
  158. mattermost_api_reference_client/api/data_retention/remove_teams_from_retention_policy.py +233 -0
  159. mattermost_api_reference_client/api/data_retention/search_channels_for_retention_policy.py +241 -0
  160. mattermost_api_reference_client/api/data_retention/search_teams_for_retention_policy.py +239 -0
  161. mattermost_api_reference_client/api/elasticsearch/__init__.py +1 -0
  162. mattermost_api_reference_client/api/elasticsearch/purge_elasticsearch_indexes.py +162 -0
  163. mattermost_api_reference_client/api/elasticsearch/test_elasticsearch.py +183 -0
  164. mattermost_api_reference_client/api/emoji/__init__.py +1 -0
  165. mattermost_api_reference_client/api/emoji/autocomplete_emoji.py +208 -0
  166. mattermost_api_reference_client/api/emoji/create_emoji.py +200 -0
  167. mattermost_api_reference_client/api/emoji/delete_emoji.py +188 -0
  168. mattermost_api_reference_client/api/emoji/get_emoji.py +188 -0
  169. mattermost_api_reference_client/api/emoji/get_emoji_by_name.py +196 -0
  170. mattermost_api_reference_client/api/emoji/get_emoji_image.py +191 -0
  171. mattermost_api_reference_client/api/emoji/get_emoji_list.py +230 -0
  172. mattermost_api_reference_client/api/emoji/get_emojis_by_names.py +204 -0
  173. mattermost_api_reference_client/api/emoji/search_emoji.py +214 -0
  174. mattermost_api_reference_client/api/exports/__init__.py +1 -0
  175. mattermost_api_reference_client/api/exports/delete_export.py +198 -0
  176. mattermost_api_reference_client/api/exports/download_export.py +203 -0
  177. mattermost_api_reference_client/api/exports/list_exports.py +158 -0
  178. mattermost_api_reference_client/api/files/__init__.py +1 -0
  179. mattermost_api_reference_client/api/files/get_file.py +183 -0
  180. mattermost_api_reference_client/api/files/get_file_info.py +193 -0
  181. mattermost_api_reference_client/api/files/get_file_link.py +193 -0
  182. mattermost_api_reference_client/api/files/get_file_preview.py +183 -0
  183. mattermost_api_reference_client/api/files/get_file_public.py +200 -0
  184. mattermost_api_reference_client/api/files/get_file_thumbnail.py +183 -0
  185. mattermost_api_reference_client/api/files/upload_file.py +283 -0
  186. mattermost_api_reference_client/api/groups/__init__.py +1 -0
  187. mattermost_api_reference_client/api/groups/add_group_members.py +220 -0
  188. mattermost_api_reference_client/api/groups/create_group.py +201 -0
  189. mattermost_api_reference_client/api/groups/delete_group.py +193 -0
  190. mattermost_api_reference_client/api/groups/delete_group_members.py +220 -0
  191. mattermost_api_reference_client/api/groups/get_group.py +200 -0
  192. mattermost_api_reference_client/api/groups/get_group_stats.py +205 -0
  193. mattermost_api_reference_client/api/groups/get_group_syncable_for_channel_id.py +214 -0
  194. mattermost_api_reference_client/api/groups/get_group_syncable_for_team_id.py +214 -0
  195. mattermost_api_reference_client/api/groups/get_group_syncables_channels.py +206 -0
  196. mattermost_api_reference_client/api/groups/get_group_syncables_teams.py +206 -0
  197. mattermost_api_reference_client/api/groups/get_group_users.py +241 -0
  198. mattermost_api_reference_client/api/groups/get_groups.py +330 -0
  199. mattermost_api_reference_client/api/groups/get_groups_associated_to_channels_by_team.py +273 -0
  200. mattermost_api_reference_client/api/groups/get_groups_by_channel.py +261 -0
  201. mattermost_api_reference_client/api/groups/get_groups_by_names.py +208 -0
  202. mattermost_api_reference_client/api/groups/get_groups_by_team.py +396 -0
  203. mattermost_api_reference_client/api/groups/get_groups_by_user_id.py +183 -0
  204. mattermost_api_reference_client/api/groups/link_group_syncable_for_channel.py +213 -0
  205. mattermost_api_reference_client/api/groups/link_group_syncable_for_team.py +209 -0
  206. mattermost_api_reference_client/api/groups/patch_group.py +230 -0
  207. mattermost_api_reference_client/api/groups/patch_group_syncable_for_channel.py +243 -0
  208. mattermost_api_reference_client/api/groups/patch_group_syncable_for_team.py +243 -0
  209. mattermost_api_reference_client/api/groups/restore_group.py +192 -0
  210. mattermost_api_reference_client/api/groups/unlink_group_syncable_for_channel.py +213 -0
  211. mattermost_api_reference_client/api/groups/unlink_group_syncable_for_team.py +209 -0
  212. mattermost_api_reference_client/api/groups/unlink_ldap_group.py +183 -0
  213. mattermost_api_reference_client/api/imports/__init__.py +1 -0
  214. mattermost_api_reference_client/api/imports/delete_import.py +198 -0
  215. mattermost_api_reference_client/api/imports/list_imports.py +162 -0
  216. mattermost_api_reference_client/api/integration_actions/__init__.py +1 -0
  217. mattermost_api_reference_client/api/integration_actions/lookup_interactive_dialog.py +196 -0
  218. mattermost_api_reference_client/api/integration_actions/open_interactive_dialog.py +186 -0
  219. mattermost_api_reference_client/api/integration_actions/submit_interactive_dialog.py +196 -0
  220. mattermost_api_reference_client/api/internal/__init__.py +1 -0
  221. mattermost_api_reference_client/api/internal/create_playbook_run_from_dialog.py +192 -0
  222. mattermost_api_reference_client/api/internal/end_playbook_run_dialog.py +167 -0
  223. mattermost_api_reference_client/api/internal/get_checklist_autocomplete.py +182 -0
  224. mattermost_api_reference_client/api/internal/next_stage_dialog.py +194 -0
  225. mattermost_api_reference_client/api/ip/__init__.py +1 -0
  226. mattermost_api_reference_client/api/ip/apply_ip_filters.py +199 -0
  227. mattermost_api_reference_client/api/ip/get_ip_filters.py +164 -0
  228. mattermost_api_reference_client/api/ip/my_ip.py +159 -0
  229. mattermost_api_reference_client/api/jobs/__init__.py +1 -0
  230. mattermost_api_reference_client/api/jobs/cancel_job.py +192 -0
  231. mattermost_api_reference_client/api/jobs/create_job.py +196 -0
  232. mattermost_api_reference_client/api/jobs/download_job.py +182 -0
  233. mattermost_api_reference_client/api/jobs/get_job.py +192 -0
  234. mattermost_api_reference_client/api/jobs/get_jobs.py +245 -0
  235. mattermost_api_reference_client/api/jobs/get_jobs_by_type.py +232 -0
  236. mattermost_api_reference_client/api/jobs/update_job_status.py +213 -0
  237. mattermost_api_reference_client/api/ldap/__init__.py +1 -0
  238. mattermost_api_reference_client/api/ldap/add_user_to_group_syncables.py +188 -0
  239. mattermost_api_reference_client/api/ldap/delete_ldap_private_certificate.py +159 -0
  240. mattermost_api_reference_client/api/ldap/delete_ldap_public_certificate.py +159 -0
  241. mattermost_api_reference_client/api/ldap/get_ldap_groups.py +226 -0
  242. mattermost_api_reference_client/api/ldap/link_ldap_group.py +183 -0
  243. mattermost_api_reference_client/api/ldap/migrate_id_ldap.py +206 -0
  244. mattermost_api_reference_client/api/ldap/sync_ldap.py +149 -0
  245. mattermost_api_reference_client/api/ldap/test_ldap.py +154 -0
  246. mattermost_api_reference_client/api/ldap/test_ldap_connection.py +206 -0
  247. mattermost_api_reference_client/api/ldap/test_ldap_diagnostics.py +237 -0
  248. mattermost_api_reference_client/api/ldap/upload_ldap_private_certificate.py +199 -0
  249. mattermost_api_reference_client/api/ldap/upload_ldap_public_certificate.py +199 -0
  250. mattermost_api_reference_client/api/logs/__init__.py +1 -0
  251. mattermost_api_reference_client/api/logs/download_system_logs.py +141 -0
  252. mattermost_api_reference_client/api/metrics/__init__.py +1 -0
  253. mattermost_api_reference_client/api/metrics/submit_performance_report.py +197 -0
  254. mattermost_api_reference_client/api/o_auth/__init__.py +1 -0
  255. mattermost_api_reference_client/api/o_auth/create_o_auth_app.py +197 -0
  256. mattermost_api_reference_client/api/o_auth/delete_o_auth_app.py +197 -0
  257. mattermost_api_reference_client/api/o_auth/get_authorized_o_auth_apps_for_user.py +229 -0
  258. mattermost_api_reference_client/api/o_auth/get_o_auth_app.py +197 -0
  259. mattermost_api_reference_client/api/o_auth/get_o_auth_app_info.py +192 -0
  260. mattermost_api_reference_client/api/o_auth/get_o_auth_apps.py +220 -0
  261. mattermost_api_reference_client/api/o_auth/regenerate_o_auth_app_secret.py +197 -0
  262. mattermost_api_reference_client/api/o_auth/update_o_auth_app.py +219 -0
  263. mattermost_api_reference_client/api/oauth/__init__.py +1 -0
  264. mattermost_api_reference_client/api/oauth/create_outgoing_o_auth_connection.py +213 -0
  265. mattermost_api_reference_client/api/oauth/list_outgoing_o_auth_connections.py +192 -0
  266. mattermost_api_reference_client/api/oauth/validate_outgoing_o_auth_connection.py +225 -0
  267. mattermost_api_reference_client/api/permissions/__init__.py +1 -0
  268. mattermost_api_reference_client/api/permissions/get_ancillary_permissions_post.py +176 -0
  269. mattermost_api_reference_client/api/playbook_autofollows/__init__.py +1 -0
  270. mattermost_api_reference_client/api/playbook_autofollows/get_auto_follows.py +162 -0
  271. mattermost_api_reference_client/api/playbook_runs/__init__.py +1 -0
  272. mattermost_api_reference_client/api/playbook_runs/add_checklist_item.py +193 -0
  273. mattermost_api_reference_client/api/playbook_runs/change_owner.py +187 -0
  274. mattermost_api_reference_client/api/playbook_runs/create_playbook_run_from_post.py +188 -0
  275. mattermost_api_reference_client/api/playbook_runs/end_playbook_run.py +155 -0
  276. mattermost_api_reference_client/api/playbook_runs/finish.py +155 -0
  277. mattermost_api_reference_client/api/playbook_runs/get_channels.py +291 -0
  278. mattermost_api_reference_client/api/playbook_runs/get_owners.py +188 -0
  279. mattermost_api_reference_client/api/playbook_runs/get_playbook_run.py +162 -0
  280. mattermost_api_reference_client/api/playbook_runs/get_playbook_run_by_channel_id.py +162 -0
  281. mattermost_api_reference_client/api/playbook_runs/get_playbook_run_metadata.py +162 -0
  282. mattermost_api_reference_client/api/playbook_runs/item_delete.py +186 -0
  283. mattermost_api_reference_client/api/playbook_runs/item_rename.py +216 -0
  284. mattermost_api_reference_client/api/playbook_runs/item_run.py +188 -0
  285. mattermost_api_reference_client/api/playbook_runs/item_set_assignee.py +208 -0
  286. mattermost_api_reference_client/api/playbook_runs/item_set_state.py +208 -0
  287. mattermost_api_reference_client/api/playbook_runs/list_playbook_runs.py +374 -0
  288. mattermost_api_reference_client/api/playbook_runs/reoder_checklist_item.py +195 -0
  289. mattermost_api_reference_client/api/playbook_runs/restart_playbook_run.py +155 -0
  290. mattermost_api_reference_client/api/playbook_runs/status.py +187 -0
  291. mattermost_api_reference_client/api/playbook_runs/update_playbook_run.py +182 -0
  292. mattermost_api_reference_client/api/playbooks/__init__.py +1 -0
  293. mattermost_api_reference_client/api/playbooks/create_playbook.py +176 -0
  294. mattermost_api_reference_client/api/playbooks/delete_playbook.py +160 -0
  295. mattermost_api_reference_client/api/playbooks/get_playbook.py +162 -0
  296. mattermost_api_reference_client/api/playbooks/get_playbooks.py +272 -0
  297. mattermost_api_reference_client/api/playbooks/update_playbook.py +187 -0
  298. mattermost_api_reference_client/api/plugins/__init__.py +1 -0
  299. mattermost_api_reference_client/api/plugins/disable_plugin.py +205 -0
  300. mattermost_api_reference_client/api/plugins/enable_plugin.py +205 -0
  301. mattermost_api_reference_client/api/plugins/get_marketplace_plugins.py +262 -0
  302. mattermost_api_reference_client/api/plugins/get_marketplace_visited_by_admin.py +162 -0
  303. mattermost_api_reference_client/api/plugins/get_plugin_statuses.py +181 -0
  304. mattermost_api_reference_client/api/plugins/get_plugins.py +170 -0
  305. mattermost_api_reference_client/api/plugins/get_webapp_plugins.py +181 -0
  306. mattermost_api_reference_client/api/plugins/install_marketplace_plugin.py +204 -0
  307. mattermost_api_reference_client/api/plugins/install_plugin_from_url.py +222 -0
  308. mattermost_api_reference_client/api/plugins/remove_plugin.py +209 -0
  309. mattermost_api_reference_client/api/plugins/upload_plugin.py +216 -0
  310. mattermost_api_reference_client/api/posts/__init__.py +1 -0
  311. mattermost_api_reference_client/api/posts/create_post.py +212 -0
  312. mattermost_api_reference_client/api/posts/create_post_ephemeral.py +192 -0
  313. mattermost_api_reference_client/api/posts/delete_acknowledgement_for_post.py +217 -0
  314. mattermost_api_reference_client/api/posts/delete_post.py +187 -0
  315. mattermost_api_reference_client/api/posts/do_post_action.py +196 -0
  316. mattermost_api_reference_client/api/posts/get_file_infos_for_post.py +209 -0
  317. mattermost_api_reference_client/api/posts/get_flagged_posts_for_user.py +258 -0
  318. mattermost_api_reference_client/api/posts/get_post.py +208 -0
  319. mattermost_api_reference_client/api/posts/get_post_thread.py +328 -0
  320. mattermost_api_reference_client/api/posts/get_posts_around_last_unread.py +289 -0
  321. mattermost_api_reference_client/api/posts/get_posts_by_ids.py +200 -0
  322. mattermost_api_reference_client/api/posts/get_posts_for_channel.py +303 -0
  323. mattermost_api_reference_client/api/posts/move_thread.py +231 -0
  324. mattermost_api_reference_client/api/posts/patch_post.py +213 -0
  325. mattermost_api_reference_client/api/posts/pin_post.py +183 -0
  326. mattermost_api_reference_client/api/posts/restore_post_version.py +218 -0
  327. mattermost_api_reference_client/api/posts/save_acknowledgement_for_post.py +213 -0
  328. mattermost_api_reference_client/api/posts/search_posts.py +205 -0
  329. mattermost_api_reference_client/api/posts/set_post_reminder.py +231 -0
  330. mattermost_api_reference_client/api/posts/set_post_unread.py +217 -0
  331. mattermost_api_reference_client/api/posts/unpin_post.py +183 -0
  332. mattermost_api_reference_client/api/posts/update_post.py +205 -0
  333. mattermost_api_reference_client/api/preferences/__init__.py +1 -0
  334. mattermost_api_reference_client/api/preferences/delete_preferences.py +208 -0
  335. mattermost_api_reference_client/api/preferences/get_preferences.py +188 -0
  336. mattermost_api_reference_client/api/preferences/get_preferences_by_category.py +201 -0
  337. mattermost_api_reference_client/api/preferences/get_preferences_by_category_by_name.py +204 -0
  338. mattermost_api_reference_client/api/preferences/update_preferences.py +213 -0
  339. mattermost_api_reference_client/api/reactions/__init__.py +1 -0
  340. mattermost_api_reference_client/api/reactions/delete_reaction.py +209 -0
  341. mattermost_api_reference_client/api/reactions/get_bulk_reactions.py +199 -0
  342. mattermost_api_reference_client/api/reactions/get_reactions.py +188 -0
  343. mattermost_api_reference_client/api/reactions/save_reaction.py +186 -0
  344. mattermost_api_reference_client/api/remote_clusters/__init__.py +1 -0
  345. mattermost_api_reference_client/api/remote_clusters/accept_remote_cluster_invite.py +191 -0
  346. mattermost_api_reference_client/api/remote_clusters/create_remote_cluster.py +196 -0
  347. mattermost_api_reference_client/api/remote_clusters/delete_remote_cluster.py +185 -0
  348. mattermost_api_reference_client/api/remote_clusters/get_remote_cluster.py +187 -0
  349. mattermost_api_reference_client/api/remote_clusters/get_remote_clusters.py +315 -0
  350. mattermost_api_reference_client/api/remote_clusters/patch_remote_cluster.py +213 -0
  351. mattermost_api_reference_client/api/reports/__init__.py +1 -0
  352. mattermost_api_reference_client/api/reports/get_user_count_for_reporting.py +244 -0
  353. mattermost_api_reference_client/api/reports/get_users_for_reporting.py +381 -0
  354. mattermost_api_reference_client/api/reports/start_batch_users_export.py +201 -0
  355. mattermost_api_reference_client/api/roles/__init__.py +1 -0
  356. mattermost_api_reference_client/api/roles/get_all_roles.py +172 -0
  357. mattermost_api_reference_client/api/roles/get_role.py +190 -0
  358. mattermost_api_reference_client/api/roles/get_role_by_name.py +190 -0
  359. mattermost_api_reference_client/api/roles/get_roles_by_names.py +208 -0
  360. mattermost_api_reference_client/api/roles/patch_role.py +234 -0
  361. mattermost_api_reference_client/api/root/__init__.py +1 -0
  362. mattermost_api_reference_client/api/root/acknowledge_notification.py +149 -0
  363. mattermost_api_reference_client/api/saml/__init__.py +1 -0
  364. mattermost_api_reference_client/api/saml/delete_saml_idp_certificate.py +163 -0
  365. mattermost_api_reference_client/api/saml/delete_saml_private_certificate.py +163 -0
  366. mattermost_api_reference_client/api/saml/delete_saml_public_certificate.py +163 -0
  367. mattermost_api_reference_client/api/saml/get_saml_certificate_status.py +154 -0
  368. mattermost_api_reference_client/api/saml/get_saml_metadata.py +147 -0
  369. mattermost_api_reference_client/api/saml/get_saml_metadata_from_idp.py +180 -0
  370. mattermost_api_reference_client/api/saml/reset_saml_auth_data_to_email.py +195 -0
  371. mattermost_api_reference_client/api/saml/upload_saml_idp_certificate.py +199 -0
  372. mattermost_api_reference_client/api/saml/upload_saml_private_certificate.py +199 -0
  373. mattermost_api_reference_client/api/saml/upload_saml_public_certificate.py +199 -0
  374. mattermost_api_reference_client/api/scheduled_post/__init__.py +1 -0
  375. mattermost_api_reference_client/api/scheduled_post/delete_scheduled_post.py +184 -0
  376. mattermost_api_reference_client/api/scheduled_post/update_scheduled_post.py +214 -0
  377. mattermost_api_reference_client/api/schemes/__init__.py +1 -0
  378. mattermost_api_reference_client/api/schemes/create_scheme.py +209 -0
  379. mattermost_api_reference_client/api/schemes/delete_scheme.py +200 -0
  380. mattermost_api_reference_client/api/schemes/get_channels_for_scheme.py +249 -0
  381. mattermost_api_reference_client/api/schemes/get_scheme.py +195 -0
  382. mattermost_api_reference_client/api/schemes/get_schemes.py +238 -0
  383. mattermost_api_reference_client/api/schemes/get_teams_for_scheme.py +249 -0
  384. mattermost_api_reference_client/api/schemes/patch_scheme.py +235 -0
  385. mattermost_api_reference_client/api/shared_channels/__init__.py +1 -0
  386. mattermost_api_reference_client/api/shared_channels/can_user_direct_message.py +217 -0
  387. mattermost_api_reference_client/api/shared_channels/get_all_shared_channels.py +236 -0
  388. mattermost_api_reference_client/api/shared_channels/get_remote_cluster_info.py +200 -0
  389. mattermost_api_reference_client/api/shared_channels/get_shared_channel_remotes_by_remote_cluster.py +302 -0
  390. mattermost_api_reference_client/api/shared_channels/invite_remote_cluster_to_channel.py +203 -0
  391. mattermost_api_reference_client/api/shared_channels/uninvite_remote_cluster_to_channel.py +203 -0
  392. mattermost_api_reference_client/api/status/__init__.py +1 -0
  393. mattermost_api_reference_client/api/status/get_user_status.py +178 -0
  394. mattermost_api_reference_client/api/status/get_users_statuses_by_ids.py +191 -0
  395. mattermost_api_reference_client/api/status/post_user_recent_custom_status_delete.py +202 -0
  396. mattermost_api_reference_client/api/status/remove_recent_custom_status.py +202 -0
  397. mattermost_api_reference_client/api/status/unset_user_custom_status.py +176 -0
  398. mattermost_api_reference_client/api/status/update_user_custom_status.py +202 -0
  399. mattermost_api_reference_client/api/status/update_user_status.py +208 -0
  400. mattermost_api_reference_client/api/system/__init__.py +1 -0
  401. mattermost_api_reference_client/api/system/check_integrity.py +180 -0
  402. mattermost_api_reference_client/api/system/clear_server_busy.py +165 -0
  403. mattermost_api_reference_client/api/system/database_recycle.py +153 -0
  404. mattermost_api_reference_client/api/system/generate_support_packet.py +221 -0
  405. mattermost_api_reference_client/api/system/get_analytics_old.py +228 -0
  406. mattermost_api_reference_client/api/system/get_audits.py +205 -0
  407. mattermost_api_reference_client/api/system/get_client_config.py +88 -0
  408. mattermost_api_reference_client/api/system/get_client_license.py +184 -0
  409. mattermost_api_reference_client/api/system/get_config.py +201 -0
  410. mattermost_api_reference_client/api/system/get_environment_config.py +179 -0
  411. mattermost_api_reference_client/api/system/get_image_by_url.py +143 -0
  412. mattermost_api_reference_client/api/system/get_license_load_metric.py +166 -0
  413. mattermost_api_reference_client/api/system/get_logs.py +195 -0
  414. mattermost_api_reference_client/api/system/get_notices.py +233 -0
  415. mattermost_api_reference_client/api/system/get_ping.py +275 -0
  416. mattermost_api_reference_client/api/system/get_prev_trial_license.py +161 -0
  417. mattermost_api_reference_client/api/system/get_redirect_location.py +171 -0
  418. mattermost_api_reference_client/api/system/get_server_busy_expires.py +161 -0
  419. mattermost_api_reference_client/api/system/get_supported_timezone.py +148 -0
  420. mattermost_api_reference_client/api/system/invalidate_caches.py +153 -0
  421. mattermost_api_reference_client/api/system/is_allowed_to_upgrade_to_enterprise.py +139 -0
  422. mattermost_api_reference_client/api/system/mark_notices_viewed.py +185 -0
  423. mattermost_api_reference_client/api/system/patch_config.py +210 -0
  424. mattermost_api_reference_client/api/system/post_log.py +198 -0
  425. mattermost_api_reference_client/api/system/reload_config.py +154 -0
  426. mattermost_api_reference_client/api/system/remove_license_file.py +164 -0
  427. mattermost_api_reference_client/api/system/request_license_renewal_link.py +168 -0
  428. mattermost_api_reference_client/api/system/request_trial_license.py +194 -0
  429. mattermost_api_reference_client/api/system/restart_server.py +153 -0
  430. mattermost_api_reference_client/api/system/set_server_busy.py +202 -0
  431. mattermost_api_reference_client/api/system/test_email.py +195 -0
  432. mattermost_api_reference_client/api/system/test_notification.py +154 -0
  433. mattermost_api_reference_client/api/system/test_s3_connection.py +199 -0
  434. mattermost_api_reference_client/api/system/test_site_url.py +204 -0
  435. mattermost_api_reference_client/api/system/update_config.py +206 -0
  436. mattermost_api_reference_client/api/system/update_marketplace_visited_by_admin.py +195 -0
  437. mattermost_api_reference_client/api/system/upgrade_to_enterprise.py +162 -0
  438. mattermost_api_reference_client/api/system/upgrade_to_enterprise_status.py +153 -0
  439. mattermost_api_reference_client/api/system/upload_license_file.py +207 -0
  440. mattermost_api_reference_client/api/teams/__init__.py +1 -0
  441. mattermost_api_reference_client/api/teams/add_team_member.py +214 -0
  442. mattermost_api_reference_client/api/teams/add_team_member_from_invite.py +196 -0
  443. mattermost_api_reference_client/api/teams/add_team_members.py +237 -0
  444. mattermost_api_reference_client/api/teams/create_team.py +192 -0
  445. mattermost_api_reference_client/api/teams/get_all_teams.py +240 -0
  446. mattermost_api_reference_client/api/teams/get_team.py +188 -0
  447. mattermost_api_reference_client/api/teams/get_team_by_name.py +188 -0
  448. mattermost_api_reference_client/api/teams/get_team_icon.py +207 -0
  449. mattermost_api_reference_client/api/teams/get_team_invite_info.py +185 -0
  450. mattermost_api_reference_client/api/teams/get_team_member.py +201 -0
  451. mattermost_api_reference_client/api/teams/get_team_members.py +259 -0
  452. mattermost_api_reference_client/api/teams/get_team_members_by_ids.py +209 -0
  453. mattermost_api_reference_client/api/teams/get_team_members_for_user.py +197 -0
  454. mattermost_api_reference_client/api/teams/get_team_stats.py +188 -0
  455. mattermost_api_reference_client/api/teams/get_team_unread.py +201 -0
  456. mattermost_api_reference_client/api/teams/get_teams_for_user.py +188 -0
  457. mattermost_api_reference_client/api/teams/get_teams_unread_for_user.py +224 -0
  458. mattermost_api_reference_client/api/teams/import_team.py +198 -0
  459. mattermost_api_reference_client/api/teams/invalidate_email_invites.py +159 -0
  460. mattermost_api_reference_client/api/teams/invite_guests_to_team.py +238 -0
  461. mattermost_api_reference_client/api/teams/invite_users_to_team.py +225 -0
  462. mattermost_api_reference_client/api/teams/patch_team.py +213 -0
  463. mattermost_api_reference_client/api/teams/regenerate_team_invite_id.py +188 -0
  464. mattermost_api_reference_client/api/teams/remove_team_icon.py +205 -0
  465. mattermost_api_reference_client/api/teams/remove_team_member.py +201 -0
  466. mattermost_api_reference_client/api/teams/restore_team.py +195 -0
  467. mattermost_api_reference_client/api/teams/search_files.py +211 -0
  468. mattermost_api_reference_client/api/teams/search_teams.py +205 -0
  469. mattermost_api_reference_client/api/teams/set_team_icon.py +225 -0
  470. mattermost_api_reference_client/api/teams/soft_delete_team.py +229 -0
  471. mattermost_api_reference_client/api/teams/team_exists.py +183 -0
  472. mattermost_api_reference_client/api/teams/team_members_minus_group_members.py +264 -0
  473. mattermost_api_reference_client/api/teams/update_team.py +214 -0
  474. mattermost_api_reference_client/api/teams/update_team_member_roles.py +227 -0
  475. mattermost_api_reference_client/api/teams/update_team_member_scheme_roles.py +243 -0
  476. mattermost_api_reference_client/api/teams/update_team_privacy.py +226 -0
  477. mattermost_api_reference_client/api/teams/update_team_scheme.py +222 -0
  478. mattermost_api_reference_client/api/terms_of_service/__init__.py +1 -0
  479. mattermost_api_reference_client/api/terms_of_service/create_terms_of_service.py +162 -0
  480. mattermost_api_reference_client/api/terms_of_service/get_terms_of_service.py +162 -0
  481. mattermost_api_reference_client/api/threads/__init__.py +1 -0
  482. mattermost_api_reference_client/api/threads/get_thread_mention_counts_by_channel.py +206 -0
  483. mattermost_api_reference_client/api/threads/get_user_thread.py +219 -0
  484. mattermost_api_reference_client/api/threads/get_user_threads.py +319 -0
  485. mattermost_api_reference_client/api/threads/set_thread_unread_by_post_id.py +244 -0
  486. mattermost_api_reference_client/api/threads/start_following_thread.py +219 -0
  487. mattermost_api_reference_client/api/threads/stop_following_thread.py +219 -0
  488. mattermost_api_reference_client/api/threads/update_thread_read_for_user.py +232 -0
  489. mattermost_api_reference_client/api/threads/update_threads_read_for_user.py +206 -0
  490. mattermost_api_reference_client/api/timeline/__init__.py +1 -0
  491. mattermost_api_reference_client/api/timeline/remove_timeline_event.py +173 -0
  492. mattermost_api_reference_client/api/uploads/__init__.py +1 -0
  493. mattermost_api_reference_client/api/uploads/create_upload.py +210 -0
  494. mattermost_api_reference_client/api/uploads/get_upload.py +187 -0
  495. mattermost_api_reference_client/api/uploads/upload_data.py +247 -0
  496. mattermost_api_reference_client/api/usage/__init__.py +1 -0
  497. mattermost_api_reference_client/api/usage/get_posts_usage.py +158 -0
  498. mattermost_api_reference_client/api/usage/get_storage_usage.py +162 -0
  499. mattermost_api_reference_client/api/users/__init__.py +1 -0
  500. mattermost_api_reference_client/api/users/attach_device_extra_props.py +199 -0
  501. mattermost_api_reference_client/api/users/autocomplete_users.py +244 -0
  502. mattermost_api_reference_client/api/users/check_user_mfa.py +186 -0
  503. mattermost_api_reference_client/api/users/create_user.py +230 -0
  504. mattermost_api_reference_client/api/users/create_user_access_token.py +221 -0
  505. mattermost_api_reference_client/api/users/delete_user.py +204 -0
  506. mattermost_api_reference_client/api/users/demote_user_to_guest.py +213 -0
  507. mattermost_api_reference_client/api/users/disable_user_access_token.py +212 -0
  508. mattermost_api_reference_client/api/users/enable_user_access_token.py +208 -0
  509. mattermost_api_reference_client/api/users/generate_mfa_secret.py +197 -0
  510. mattermost_api_reference_client/api/users/get_channel_members_with_team_data_for_user.py +236 -0
  511. mattermost_api_reference_client/api/users/get_default_profile_image.py +195 -0
  512. mattermost_api_reference_client/api/users/get_known_users.py +155 -0
  513. mattermost_api_reference_client/api/users/get_profile_image.py +212 -0
  514. mattermost_api_reference_client/api/users/get_server_limits.py +169 -0
  515. mattermost_api_reference_client/api/users/get_sessions.py +188 -0
  516. mattermost_api_reference_client/api/users/get_total_users_stats.py +164 -0
  517. mattermost_api_reference_client/api/users/get_total_users_stats_filtered.py +298 -0
  518. mattermost_api_reference_client/api/users/get_uploads_for_user.py +200 -0
  519. mattermost_api_reference_client/api/users/get_user.py +183 -0
  520. mattermost_api_reference_client/api/users/get_user_access_token.py +204 -0
  521. mattermost_api_reference_client/api/users/get_user_access_tokens.py +227 -0
  522. mattermost_api_reference_client/api/users/get_user_access_tokens_for_user.py +244 -0
  523. mattermost_api_reference_client/api/users/get_user_audits.py +188 -0
  524. mattermost_api_reference_client/api/users/get_user_by_email.py +192 -0
  525. mattermost_api_reference_client/api/users/get_user_by_username.py +183 -0
  526. mattermost_api_reference_client/api/users/get_user_terms_of_service.py +195 -0
  527. mattermost_api_reference_client/api/users/get_users.py +437 -0
  528. mattermost_api_reference_client/api/users/get_users_by_group_channel_ids.py +214 -0
  529. mattermost_api_reference_client/api/users/get_users_by_ids.py +211 -0
  530. mattermost_api_reference_client/api/users/get_users_by_usernames.py +191 -0
  531. mattermost_api_reference_client/api/users/get_users_with_invalid_emails.py +215 -0
  532. mattermost_api_reference_client/api/users/login.py +183 -0
  533. mattermost_api_reference_client/api/users/login_by_cws_token.py +190 -0
  534. mattermost_api_reference_client/api/users/logout.py +150 -0
  535. mattermost_api_reference_client/api/users/migrate_auth_to_ldap.py +203 -0
  536. mattermost_api_reference_client/api/users/migrate_auth_to_saml.py +203 -0
  537. mattermost_api_reference_client/api/users/patch_user.py +213 -0
  538. mattermost_api_reference_client/api/users/permanent_delete_all_users.py +94 -0
  539. mattermost_api_reference_client/api/users/promote_guest_to_user.py +213 -0
  540. mattermost_api_reference_client/api/users/publish_user_typing.py +207 -0
  541. mattermost_api_reference_client/api/users/register_terms_of_service_action.py +221 -0
  542. mattermost_api_reference_client/api/users/reset_password.py +196 -0
  543. mattermost_api_reference_client/api/users/revoke_all_sessions.py +187 -0
  544. mattermost_api_reference_client/api/users/revoke_session.py +205 -0
  545. mattermost_api_reference_client/api/users/revoke_sessions_from_all_users.py +168 -0
  546. mattermost_api_reference_client/api/users/revoke_user_access_token.py +208 -0
  547. mattermost_api_reference_client/api/users/search_user_access_tokens.py +197 -0
  548. mattermost_api_reference_client/api/users/search_users.py +205 -0
  549. mattermost_api_reference_client/api/users/send_password_reset_email.py +196 -0
  550. mattermost_api_reference_client/api/users/send_verification_email.py +186 -0
  551. mattermost_api_reference_client/api/users/set_default_profile_image.py +197 -0
  552. mattermost_api_reference_client/api/users/set_profile_image.py +213 -0
  553. mattermost_api_reference_client/api/users/switch_account_type.py +274 -0
  554. mattermost_api_reference_client/api/users/update_user.py +213 -0
  555. mattermost_api_reference_client/api/users/update_user_active.py +233 -0
  556. mattermost_api_reference_client/api/users/update_user_auth.py +221 -0
  557. mattermost_api_reference_client/api/users/update_user_mfa.py +218 -0
  558. mattermost_api_reference_client/api/users/update_user_password.py +209 -0
  559. mattermost_api_reference_client/api/users/update_user_roles.py +209 -0
  560. mattermost_api_reference_client/api/users/verify_user_email.py +182 -0
  561. mattermost_api_reference_client/api/users/verify_user_email_without_token.py +199 -0
  562. mattermost_api_reference_client/api/webhooks/__init__.py +1 -0
  563. mattermost_api_reference_client/api/webhooks/create_incoming_webhook.py +204 -0
  564. mattermost_api_reference_client/api/webhooks/create_outgoing_webhook.py +209 -0
  565. mattermost_api_reference_client/api/webhooks/delete_incoming_webhook.py +192 -0
  566. mattermost_api_reference_client/api/webhooks/delete_outgoing_webhook.py +192 -0
  567. mattermost_api_reference_client/api/webhooks/get_incoming_webhook.py +192 -0
  568. mattermost_api_reference_client/api/webhooks/get_incoming_webhooks.py +245 -0
  569. mattermost_api_reference_client/api/webhooks/get_outgoing_webhook.py +192 -0
  570. mattermost_api_reference_client/api/webhooks/get_outgoing_webhooks.py +250 -0
  571. mattermost_api_reference_client/api/webhooks/regen_outgoing_hook_token.py +192 -0
  572. mattermost_api_reference_client/api/webhooks/update_incoming_webhook.py +214 -0
  573. mattermost_api_reference_client/api/webhooks/update_outgoing_webhook.py +214 -0
  574. mattermost_api_reference_client/client.py +268 -0
  575. mattermost_api_reference_client/errors.py +16 -0
  576. mattermost_api_reference_client/models/__init__.py +943 -0
  577. mattermost_api_reference_client/models/accept_remote_cluster_invite_body.py +94 -0
  578. mattermost_api_reference_client/models/access_control_fields_autocomplete_response.py +79 -0
  579. mattermost_api_reference_client/models/access_control_fields_autocomplete_response_fields_item.py +68 -0
  580. mattermost_api_reference_client/models/access_control_policies_with_count.py +84 -0
  581. mattermost_api_reference_client/models/access_control_policy.py +131 -0
  582. mattermost_api_reference_client/models/access_control_policy_search.py +86 -0
  583. mattermost_api_reference_client/models/access_control_policy_test_response.py +84 -0
  584. mattermost_api_reference_client/models/add_audit_log_certificate_body.py +73 -0
  585. mattermost_api_reference_client/models/add_channel_member_body.py +80 -0
  586. mattermost_api_reference_client/models/add_checklist_item_body.py +142 -0
  587. mattermost_api_reference_client/models/add_checklist_item_body_state.py +10 -0
  588. mattermost_api_reference_client/models/add_group_members_body.py +62 -0
  589. mattermost_api_reference_client/models/add_on.py +86 -0
  590. mattermost_api_reference_client/models/add_team_member_body.py +68 -0
  591. mattermost_api_reference_client/models/address.py +104 -0
  592. mattermost_api_reference_client/models/allowed_ip_range.py +68 -0
  593. mattermost_api_reference_client/models/app_error.py +86 -0
  594. mattermost_api_reference_client/models/assign_access_control_policy_to_channels_body.py +61 -0
  595. mattermost_api_reference_client/models/attach_device_extra_props_body.py +79 -0
  596. mattermost_api_reference_client/models/audit.py +113 -0
  597. mattermost_api_reference_client/models/autocomplete_suggestion.py +95 -0
  598. mattermost_api_reference_client/models/boards_limits.py +91 -0
  599. mattermost_api_reference_client/models/bot.py +123 -0
  600. mattermost_api_reference_client/models/can_user_direct_message_response_200.py +59 -0
  601. mattermost_api_reference_client/models/cel_expression.py +59 -0
  602. mattermost_api_reference_client/models/change_owner_body.py +59 -0
  603. mattermost_api_reference_client/models/channel.py +176 -0
  604. mattermost_api_reference_client/models/channel_banner.py +77 -0
  605. mattermost_api_reference_client/models/channel_bookmark.py +193 -0
  606. mattermost_api_reference_client/models/channel_bookmark_type.py +9 -0
  607. mattermost_api_reference_client/models/channel_bookmark_with_file_info.py +215 -0
  608. mattermost_api_reference_client/models/channel_data.py +90 -0
  609. mattermost_api_reference_client/models/channel_member.py +135 -0
  610. mattermost_api_reference_client/models/channel_member_count_by_group.py +79 -0
  611. mattermost_api_reference_client/models/channel_member_with_team_data.py +162 -0
  612. mattermost_api_reference_client/models/channel_moderated_role.py +68 -0
  613. mattermost_api_reference_client/models/channel_moderated_roles.py +88 -0
  614. mattermost_api_reference_client/models/channel_moderated_roles_patch.py +68 -0
  615. mattermost_api_reference_client/models/channel_moderation.py +81 -0
  616. mattermost_api_reference_client/models/channel_moderation_patch.py +81 -0
  617. mattermost_api_reference_client/models/channel_notify_props.py +90 -0
  618. mattermost_api_reference_client/models/channel_search.py +106 -0
  619. mattermost_api_reference_client/models/channel_stats.py +68 -0
  620. mattermost_api_reference_client/models/channel_unread.py +86 -0
  621. mattermost_api_reference_client/models/channel_unread_at.py +95 -0
  622. mattermost_api_reference_client/models/channel_with_team_data.py +214 -0
  623. mattermost_api_reference_client/models/channels_with_count.py +88 -0
  624. mattermost_api_reference_client/models/check_access_control_policy_expression_body.py +59 -0
  625. mattermost_api_reference_client/models/check_user_mfa_body.py +59 -0
  626. mattermost_api_reference_client/models/check_user_mfa_response_200.py +59 -0
  627. mattermost_api_reference_client/models/checklist.py +94 -0
  628. mattermost_api_reference_client/models/checklist_item.py +150 -0
  629. mattermost_api_reference_client/models/checklist_item_state.py +10 -0
  630. mattermost_api_reference_client/models/cloud_customer.py +178 -0
  631. mattermost_api_reference_client/models/command.py +203 -0
  632. mattermost_api_reference_client/models/command_response.py +120 -0
  633. mattermost_api_reference_client/models/compliance.py +149 -0
  634. mattermost_api_reference_client/models/condition.py +86 -0
  635. mattermost_api_reference_client/models/config.py +432 -0
  636. mattermost_api_reference_client/models/config_analytics_settings.py +59 -0
  637. mattermost_api_reference_client/models/config_cluster_settings.py +79 -0
  638. mattermost_api_reference_client/models/config_compliance_settings.py +77 -0
  639. mattermost_api_reference_client/models/config_email_settings.py +239 -0
  640. mattermost_api_reference_client/models/config_file_settings.py +221 -0
  641. mattermost_api_reference_client/models/config_git_lab_settings.py +113 -0
  642. mattermost_api_reference_client/models/config_google_settings.py +113 -0
  643. mattermost_api_reference_client/models/config_ldap_settings.py +230 -0
  644. mattermost_api_reference_client/models/config_localization_settings.py +77 -0
  645. mattermost_api_reference_client/models/config_log_settings.py +113 -0
  646. mattermost_api_reference_client/models/config_metrics_settings.py +77 -0
  647. mattermost_api_reference_client/models/config_native_app_settings.py +77 -0
  648. mattermost_api_reference_client/models/config_office_365_settings.py +113 -0
  649. mattermost_api_reference_client/models/config_password_settings.py +95 -0
  650. mattermost_api_reference_client/models/config_privacy_settings.py +68 -0
  651. mattermost_api_reference_client/models/config_rate_limit_settings.py +104 -0
  652. mattermost_api_reference_client/models/config_saml_settings.py +203 -0
  653. mattermost_api_reference_client/models/config_service_settings.py +374 -0
  654. mattermost_api_reference_client/models/config_sql_settings.py +115 -0
  655. mattermost_api_reference_client/models/config_support_settings.py +131 -0
  656. mattermost_api_reference_client/models/config_team_settings.py +230 -0
  657. mattermost_api_reference_client/models/confirm_customer_payment_body.py +71 -0
  658. mattermost_api_reference_client/models/convert_bot_to_user_body.py +162 -0
  659. mattermost_api_reference_client/models/convert_bot_to_user_body_props.py +44 -0
  660. mattermost_api_reference_client/models/create_bot_body.py +79 -0
  661. mattermost_api_reference_client/models/create_channel_body.py +103 -0
  662. mattermost_api_reference_client/models/create_channel_bookmark_body.py +111 -0
  663. mattermost_api_reference_client/models/create_channel_bookmark_body_type.py +9 -0
  664. mattermost_api_reference_client/models/create_command_body.py +83 -0
  665. mattermost_api_reference_client/models/create_cpa_field_body.py +91 -0
  666. mattermost_api_reference_client/models/create_cpa_field_body_attrs.py +137 -0
  667. mattermost_api_reference_client/models/create_cpa_field_body_attrs_options_item.py +68 -0
  668. mattermost_api_reference_client/models/create_cpa_field_body_attrs_value_type.py +10 -0
  669. mattermost_api_reference_client/models/create_cpa_field_body_attrs_visibility.py +10 -0
  670. mattermost_api_reference_client/models/create_emoji_body.py +84 -0
  671. mattermost_api_reference_client/models/create_group_body.py +73 -0
  672. mattermost_api_reference_client/models/create_group_body_group.py +84 -0
  673. mattermost_api_reference_client/models/create_incoming_webhook_body.py +107 -0
  674. mattermost_api_reference_client/models/create_job_body.py +83 -0
  675. mattermost_api_reference_client/models/create_job_body_data.py +44 -0
  676. mattermost_api_reference_client/models/create_o_auth_app_body.py +103 -0
  677. mattermost_api_reference_client/models/create_outgoing_webhook_body.py +133 -0
  678. mattermost_api_reference_client/models/create_playbook_body.py +247 -0
  679. mattermost_api_reference_client/models/create_playbook_body_checklists_item.py +81 -0
  680. mattermost_api_reference_client/models/create_playbook_body_checklists_item_items_item.py +81 -0
  681. mattermost_api_reference_client/models/create_playbook_response_201.py +59 -0
  682. mattermost_api_reference_client/models/create_playbook_run_from_dialog_body.py +144 -0
  683. mattermost_api_reference_client/models/create_playbook_run_from_dialog_body_submission.py +80 -0
  684. mattermost_api_reference_client/models/create_playbook_run_from_post_body.py +108 -0
  685. mattermost_api_reference_client/models/create_post_body.py +130 -0
  686. mattermost_api_reference_client/models/create_post_body_metadata.py +73 -0
  687. mattermost_api_reference_client/models/create_post_body_metadata_priority.py +69 -0
  688. mattermost_api_reference_client/models/create_post_body_props.py +44 -0
  689. mattermost_api_reference_client/models/create_post_ephemeral_body.py +73 -0
  690. mattermost_api_reference_client/models/create_post_ephemeral_body_post.py +68 -0
  691. mattermost_api_reference_client/models/create_remote_cluster_body.py +89 -0
  692. mattermost_api_reference_client/models/create_remote_cluster_response_201.py +91 -0
  693. mattermost_api_reference_client/models/create_scheduled_post_response_200.py +44 -0
  694. mattermost_api_reference_client/models/create_scheme_body.py +87 -0
  695. mattermost_api_reference_client/models/create_team_body.py +75 -0
  696. mattermost_api_reference_client/models/create_upload_body.py +75 -0
  697. mattermost_api_reference_client/models/create_user_access_token_body.py +59 -0
  698. mattermost_api_reference_client/models/create_user_body.py +200 -0
  699. mattermost_api_reference_client/models/create_user_body_props.py +44 -0
  700. mattermost_api_reference_client/models/data_retention_policy.py +78 -0
  701. mattermost_api_reference_client/models/data_retention_policy_for_channel.py +69 -0
  702. mattermost_api_reference_client/models/data_retention_policy_for_team.py +69 -0
  703. mattermost_api_reference_client/models/data_retention_policy_with_team_and_channel_counts.py +96 -0
  704. mattermost_api_reference_client/models/data_retention_policy_with_team_and_channel_ids.py +91 -0
  705. mattermost_api_reference_client/models/data_retention_policy_without_id.py +69 -0
  706. mattermost_api_reference_client/models/delete_group_members_body.py +62 -0
  707. mattermost_api_reference_client/models/delete_scheduled_post_response_200.py +44 -0
  708. mattermost_api_reference_client/models/disable_user_access_token_body.py +59 -0
  709. mattermost_api_reference_client/models/emoji.py +104 -0
  710. mattermost_api_reference_client/models/enable_user_access_token_body.py +59 -0
  711. mattermost_api_reference_client/models/environment_config.py +432 -0
  712. mattermost_api_reference_client/models/environment_config_analytics_settings.py +59 -0
  713. mattermost_api_reference_client/models/environment_config_cluster_settings.py +77 -0
  714. mattermost_api_reference_client/models/environment_config_compliance_settings.py +77 -0
  715. mattermost_api_reference_client/models/environment_config_email_settings.py +239 -0
  716. mattermost_api_reference_client/models/environment_config_file_settings.py +221 -0
  717. mattermost_api_reference_client/models/environment_config_git_lab_settings.py +113 -0
  718. mattermost_api_reference_client/models/environment_config_google_settings.py +113 -0
  719. mattermost_api_reference_client/models/environment_config_ldap_settings.py +230 -0
  720. mattermost_api_reference_client/models/environment_config_localization_settings.py +77 -0
  721. mattermost_api_reference_client/models/environment_config_log_settings.py +113 -0
  722. mattermost_api_reference_client/models/environment_config_metrics_settings.py +77 -0
  723. mattermost_api_reference_client/models/environment_config_native_app_settings.py +77 -0
  724. mattermost_api_reference_client/models/environment_config_office_365_settings.py +113 -0
  725. mattermost_api_reference_client/models/environment_config_password_settings.py +95 -0
  726. mattermost_api_reference_client/models/environment_config_privacy_settings.py +68 -0
  727. mattermost_api_reference_client/models/environment_config_rate_limit_settings.py +104 -0
  728. mattermost_api_reference_client/models/environment_config_saml_settings.py +203 -0
  729. mattermost_api_reference_client/models/environment_config_service_settings.py +374 -0
  730. mattermost_api_reference_client/models/environment_config_sql_settings.py +113 -0
  731. mattermost_api_reference_client/models/environment_config_support_settings.py +131 -0
  732. mattermost_api_reference_client/models/environment_config_team_settings.py +230 -0
  733. mattermost_api_reference_client/models/error.py +68 -0
  734. mattermost_api_reference_client/models/execute_command_body.py +67 -0
  735. mattermost_api_reference_client/models/expression_error.py +86 -0
  736. mattermost_api_reference_client/models/file_info.py +167 -0
  737. mattermost_api_reference_client/models/file_info_list.py +101 -0
  738. mattermost_api_reference_client/models/file_info_list_file_infos.py +57 -0
  739. mattermost_api_reference_client/models/files_limits.py +71 -0
  740. mattermost_api_reference_client/models/generate_mfa_secret_response_200.py +68 -0
  741. mattermost_api_reference_client/models/generate_remote_cluster_invite_body.py +59 -0
  742. mattermost_api_reference_client/models/get_api_v4_content_flagging_flag_config_response_200.py +71 -0
  743. mattermost_api_reference_client/models/get_api_v4_content_flagging_team_team_id_status_response_200.py +59 -0
  744. mattermost_api_reference_client/models/get_channel_access_control_attributes_response_200.py +44 -0
  745. mattermost_api_reference_client/models/get_channels_direction.py +9 -0
  746. mattermost_api_reference_client/models/get_channels_sort.py +13 -0
  747. mattermost_api_reference_client/models/get_channels_status.py +10 -0
  748. mattermost_api_reference_client/models/get_checklist_autocomplete_response_200_item.py +76 -0
  749. mattermost_api_reference_client/models/get_cpa_group_response_200.py +59 -0
  750. mattermost_api_reference_client/models/get_data_retention_policies_count_response_200.py +59 -0
  751. mattermost_api_reference_client/models/get_file_link_response_200.py +59 -0
  752. mattermost_api_reference_client/models/get_group_stats_response_200.py +68 -0
  753. mattermost_api_reference_client/models/get_group_users_response_200.py +84 -0
  754. mattermost_api_reference_client/models/get_groups_associated_to_channels_by_team_response_200.py +44 -0
  755. mattermost_api_reference_client/models/get_license_load_metric_response_200.py +59 -0
  756. mattermost_api_reference_client/models/get_playbooks_direction.py +9 -0
  757. mattermost_api_reference_client/models/get_playbooks_sort.py +10 -0
  758. mattermost_api_reference_client/models/get_saml_metadata_from_idp_body.py +59 -0
  759. mattermost_api_reference_client/models/get_team_invite_info_response_200.py +86 -0
  760. mattermost_api_reference_client/models/get_user_scheduled_posts_response_200.py +65 -0
  761. mattermost_api_reference_client/models/get_users_by_group_channel_ids_response_200.py +75 -0
  762. mattermost_api_reference_client/models/global_data_retention_policy.py +89 -0
  763. mattermost_api_reference_client/models/group.py +140 -0
  764. mattermost_api_reference_client/models/group_member.py +86 -0
  765. mattermost_api_reference_client/models/group_syncable_channel.py +104 -0
  766. mattermost_api_reference_client/models/group_syncable_channels.py +149 -0
  767. mattermost_api_reference_client/models/group_syncable_team.py +104 -0
  768. mattermost_api_reference_client/models/group_syncable_teams.py +122 -0
  769. mattermost_api_reference_client/models/group_with_scheme_admin.py +82 -0
  770. mattermost_api_reference_client/models/groups_associated_to_channels.py +65 -0
  771. mattermost_api_reference_client/models/import_team_body.py +94 -0
  772. mattermost_api_reference_client/models/import_team_response_200.py +59 -0
  773. mattermost_api_reference_client/models/incoming_webhook.py +113 -0
  774. mattermost_api_reference_client/models/install_marketplace_plugin_body.py +67 -0
  775. mattermost_api_reference_client/models/installation.py +90 -0
  776. mattermost_api_reference_client/models/integrations_limits.py +71 -0
  777. mattermost_api_reference_client/models/integrity_check_result.py +83 -0
  778. mattermost_api_reference_client/models/invite_guests_to_team_body.py +78 -0
  779. mattermost_api_reference_client/models/invoice.py +156 -0
  780. mattermost_api_reference_client/models/invoice_line_item.py +106 -0
  781. mattermost_api_reference_client/models/item_rename_body.py +67 -0
  782. mattermost_api_reference_client/models/item_set_assignee_body.py +59 -0
  783. mattermost_api_reference_client/models/item_set_state_body.py +62 -0
  784. mattermost_api_reference_client/models/item_set_state_body_new_state.py +10 -0
  785. mattermost_api_reference_client/models/job.py +135 -0
  786. mattermost_api_reference_client/models/job_data.py +44 -0
  787. mattermost_api_reference_client/models/ldap_diagnostic_result.py +120 -0
  788. mattermost_api_reference_client/models/ldap_diagnostic_result_sample_results_item.py +142 -0
  789. mattermost_api_reference_client/models/ldap_diagnostic_result_sample_results_item_available_attributes.py +44 -0
  790. mattermost_api_reference_client/models/ldap_group.py +87 -0
  791. mattermost_api_reference_client/models/ldap_groups_paged.py +85 -0
  792. mattermost_api_reference_client/models/ldap_settings.py +365 -0
  793. mattermost_api_reference_client/models/license_renewal_link.py +59 -0
  794. mattermost_api_reference_client/models/list_playbook_runs_direction.py +9 -0
  795. mattermost_api_reference_client/models/list_playbook_runs_sort.py +14 -0
  796. mattermost_api_reference_client/models/list_playbook_runs_statuses_item.py +9 -0
  797. mattermost_api_reference_client/models/login_body.py +104 -0
  798. mattermost_api_reference_client/models/login_by_cws_token_body.py +68 -0
  799. mattermost_api_reference_client/models/lookup_interactive_dialog_body.py +110 -0
  800. mattermost_api_reference_client/models/lookup_interactive_dialog_body_submission.py +44 -0
  801. mattermost_api_reference_client/models/lookup_interactive_dialog_response_200.py +80 -0
  802. mattermost_api_reference_client/models/lookup_interactive_dialog_response_200_options_item.py +68 -0
  803. mattermost_api_reference_client/models/message_descriptor.py +90 -0
  804. mattermost_api_reference_client/models/message_descriptor_values.py +44 -0
  805. mattermost_api_reference_client/models/messages_limits.py +71 -0
  806. mattermost_api_reference_client/models/migrate_auth_to_ldap_body.py +75 -0
  807. mattermost_api_reference_client/models/migrate_auth_to_saml_body.py +81 -0
  808. mattermost_api_reference_client/models/migrate_auth_to_saml_body_matches.py +44 -0
  809. mattermost_api_reference_client/models/migrate_id_ldap_body.py +59 -0
  810. mattermost_api_reference_client/models/move_channel_body.py +70 -0
  811. mattermost_api_reference_client/models/move_command_body.py +59 -0
  812. mattermost_api_reference_client/models/move_thread_body.py +59 -0
  813. mattermost_api_reference_client/models/my_ip_response_200.py +59 -0
  814. mattermost_api_reference_client/models/new_team_member.py +113 -0
  815. mattermost_api_reference_client/models/new_team_members_list.py +93 -0
  816. mattermost_api_reference_client/models/next_stage_dialog_body.py +59 -0
  817. mattermost_api_reference_client/models/notice.py +134 -0
  818. mattermost_api_reference_client/models/o_auth_app.py +142 -0
  819. mattermost_api_reference_client/models/open_graph.py +247 -0
  820. mattermost_api_reference_client/models/open_graph_article.py +123 -0
  821. mattermost_api_reference_client/models/open_graph_article_authors_item.py +86 -0
  822. mattermost_api_reference_client/models/open_graph_audios_item.py +78 -0
  823. mattermost_api_reference_client/models/open_graph_book.py +105 -0
  824. mattermost_api_reference_client/models/open_graph_book_authors_item.py +86 -0
  825. mattermost_api_reference_client/models/open_graph_images_item.py +96 -0
  826. mattermost_api_reference_client/models/open_graph_profile.py +86 -0
  827. mattermost_api_reference_client/models/open_graph_videos_item.py +96 -0
  828. mattermost_api_reference_client/models/open_interactive_dialog_body.py +81 -0
  829. mattermost_api_reference_client/models/open_interactive_dialog_body_dialog.py +132 -0
  830. mattermost_api_reference_client/models/open_interactive_dialog_body_dialog_elements_item.py +44 -0
  831. mattermost_api_reference_client/models/ordered_sidebar_categories.py +87 -0
  832. mattermost_api_reference_client/models/orphaned_record.py +69 -0
  833. mattermost_api_reference_client/models/outgoing_o_auth_connection_get_item.py +104 -0
  834. mattermost_api_reference_client/models/outgoing_o_auth_connection_post_item.py +122 -0
  835. mattermost_api_reference_client/models/outgoing_webhook.py +173 -0
  836. mattermost_api_reference_client/models/owner_info.py +68 -0
  837. mattermost_api_reference_client/models/patch_bot_body.py +79 -0
  838. mattermost_api_reference_client/models/patch_channel_body.py +108 -0
  839. mattermost_api_reference_client/models/patch_cpa_field_body.py +90 -0
  840. mattermost_api_reference_client/models/patch_cpa_field_body_attrs.py +137 -0
  841. mattermost_api_reference_client/models/patch_cpa_field_body_attrs_options_item.py +77 -0
  842. mattermost_api_reference_client/models/patch_cpa_field_body_attrs_value_type.py +10 -0
  843. mattermost_api_reference_client/models/patch_cpa_field_body_attrs_visibility.py +10 -0
  844. mattermost_api_reference_client/models/patch_cpa_values_body_item.py +88 -0
  845. mattermost_api_reference_client/models/patch_cpa_values_response_200_item.py +88 -0
  846. mattermost_api_reference_client/models/patch_group_body.py +77 -0
  847. mattermost_api_reference_client/models/patch_group_syncable_for_channel_body.py +59 -0
  848. mattermost_api_reference_client/models/patch_group_syncable_for_team_body.py +59 -0
  849. mattermost_api_reference_client/models/patch_post_body.py +97 -0
  850. mattermost_api_reference_client/models/patch_remote_cluster_body.py +68 -0
  851. mattermost_api_reference_client/models/patch_role_body.py +61 -0
  852. mattermost_api_reference_client/models/patch_scheme_body.py +68 -0
  853. mattermost_api_reference_client/models/patch_team_body.py +95 -0
  854. mattermost_api_reference_client/models/patch_user_body.py +171 -0
  855. mattermost_api_reference_client/models/patch_user_body_props.py +44 -0
  856. mattermost_api_reference_client/models/payment_method.py +104 -0
  857. mattermost_api_reference_client/models/payment_setup_intent.py +68 -0
  858. mattermost_api_reference_client/models/playbook.py +175 -0
  859. mattermost_api_reference_client/models/playbook_autofollows.py +71 -0
  860. mattermost_api_reference_client/models/playbook_list.py +105 -0
  861. mattermost_api_reference_client/models/playbook_run.py +211 -0
  862. mattermost_api_reference_client/models/playbook_run_list.py +105 -0
  863. mattermost_api_reference_client/models/playbook_run_metadata.py +98 -0
  864. mattermost_api_reference_client/models/plugin_manifest_webapp_webapp.py +59 -0
  865. mattermost_api_reference_client/models/plugin_status.py +121 -0
  866. mattermost_api_reference_client/models/plugin_status_state.py +13 -0
  867. mattermost_api_reference_client/models/post.py +218 -0
  868. mattermost_api_reference_client/models/post_acknowledgement.py +77 -0
  869. mattermost_api_reference_client/models/post_id_to_reactions_map.py +65 -0
  870. mattermost_api_reference_client/models/post_list.py +110 -0
  871. mattermost_api_reference_client/models/post_list_posts.py +57 -0
  872. mattermost_api_reference_client/models/post_list_with_search_matches.py +103 -0
  873. mattermost_api_reference_client/models/post_list_with_search_matches_matches.py +57 -0
  874. mattermost_api_reference_client/models/post_list_with_search_matches_posts.py +57 -0
  875. mattermost_api_reference_client/models/post_log_body.py +67 -0
  876. mattermost_api_reference_client/models/post_log_response_200.py +44 -0
  877. mattermost_api_reference_client/models/post_metadata.py +204 -0
  878. mattermost_api_reference_client/models/post_metadata_embeds_item.py +100 -0
  879. mattermost_api_reference_client/models/post_metadata_embeds_item_data.py +47 -0
  880. mattermost_api_reference_client/models/post_metadata_embeds_item_type.py +11 -0
  881. mattermost_api_reference_client/models/post_metadata_images.py +47 -0
  882. mattermost_api_reference_client/models/post_metadata_priority.py +69 -0
  883. mattermost_api_reference_client/models/post_props.py +44 -0
  884. mattermost_api_reference_client/models/post_user_recent_custom_status_delete_body.py +84 -0
  885. mattermost_api_reference_client/models/posts_usage.py +59 -0
  886. mattermost_api_reference_client/models/preference.py +86 -0
  887. mattermost_api_reference_client/models/preview_modal_content_data.py +131 -0
  888. mattermost_api_reference_client/models/product.py +111 -0
  889. mattermost_api_reference_client/models/product_limits.py +144 -0
  890. mattermost_api_reference_client/models/property_field.py +153 -0
  891. mattermost_api_reference_client/models/property_field_attrs.py +44 -0
  892. mattermost_api_reference_client/models/property_field_patch.py +108 -0
  893. mattermost_api_reference_client/models/property_field_patch_attrs.py +44 -0
  894. mattermost_api_reference_client/models/property_value.py +131 -0
  895. mattermost_api_reference_client/models/publish_user_typing_body.py +71 -0
  896. mattermost_api_reference_client/models/push_notification.py +248 -0
  897. mattermost_api_reference_client/models/query_expression_params.py +86 -0
  898. mattermost_api_reference_client/models/reaction.py +86 -0
  899. mattermost_api_reference_client/models/regen_command_token_response_200.py +59 -0
  900. mattermost_api_reference_client/models/register_terms_of_service_action_body.py +67 -0
  901. mattermost_api_reference_client/models/relational_integrity_check_data.py +112 -0
  902. mattermost_api_reference_client/models/remote_cluster.py +185 -0
  903. mattermost_api_reference_client/models/remote_cluster_info.py +77 -0
  904. mattermost_api_reference_client/models/remove_recent_custom_status_body.py +84 -0
  905. mattermost_api_reference_client/models/reoder_checklist_item_body.py +67 -0
  906. mattermost_api_reference_client/models/request_trial_license_body.py +59 -0
  907. mattermost_api_reference_client/models/reset_password_body.py +67 -0
  908. mattermost_api_reference_client/models/reset_saml_auth_data_to_email_body.py +81 -0
  909. mattermost_api_reference_client/models/reset_saml_auth_data_to_email_response_200.py +59 -0
  910. mattermost_api_reference_client/models/retention_policy_for_channel_list.py +84 -0
  911. mattermost_api_reference_client/models/retention_policy_for_team_list.py +84 -0
  912. mattermost_api_reference_client/models/revoke_session_body.py +59 -0
  913. mattermost_api_reference_client/models/revoke_user_access_token_body.py +59 -0
  914. mattermost_api_reference_client/models/role.py +107 -0
  915. mattermost_api_reference_client/models/saml_certificate_status.py +77 -0
  916. mattermost_api_reference_client/models/scheduled_post.py +191 -0
  917. mattermost_api_reference_client/models/scheduled_post_props.py +44 -0
  918. mattermost_api_reference_client/models/scheme.py +149 -0
  919. mattermost_api_reference_client/models/search_all_channels_body.py +207 -0
  920. mattermost_api_reference_client/models/search_all_channels_response_200.py +84 -0
  921. mattermost_api_reference_client/models/search_archived_channels_body.py +59 -0
  922. mattermost_api_reference_client/models/search_channels_body.py +59 -0
  923. mattermost_api_reference_client/models/search_channels_for_retention_policy_body.py +99 -0
  924. mattermost_api_reference_client/models/search_emoji_body.py +70 -0
  925. mattermost_api_reference_client/models/search_files_body.py +135 -0
  926. mattermost_api_reference_client/models/search_group_channels_body.py +59 -0
  927. mattermost_api_reference_client/models/search_posts_body.py +108 -0
  928. mattermost_api_reference_client/models/search_teams_body.py +116 -0
  929. mattermost_api_reference_client/models/search_teams_for_retention_policy_body.py +59 -0
  930. mattermost_api_reference_client/models/search_teams_response_200.py +84 -0
  931. mattermost_api_reference_client/models/search_user_access_tokens_body.py +59 -0
  932. mattermost_api_reference_client/models/search_users_body.py +149 -0
  933. mattermost_api_reference_client/models/send_password_reset_email_body.py +59 -0
  934. mattermost_api_reference_client/models/send_verification_email_body.py +59 -0
  935. mattermost_api_reference_client/models/server_busy.py +68 -0
  936. mattermost_api_reference_client/models/server_limits.py +68 -0
  937. mattermost_api_reference_client/models/session.py +174 -0
  938. mattermost_api_reference_client/models/session_props.py +44 -0
  939. mattermost_api_reference_client/models/set_bot_icon_image_body.py +73 -0
  940. mattermost_api_reference_client/models/set_post_reminder_body.py +59 -0
  941. mattermost_api_reference_client/models/set_profile_image_body.py +73 -0
  942. mattermost_api_reference_client/models/set_team_icon_body.py +73 -0
  943. mattermost_api_reference_client/models/shared_channel.py +158 -0
  944. mattermost_api_reference_client/models/shared_channel_remote.py +169 -0
  945. mattermost_api_reference_client/models/sidebar_category.py +104 -0
  946. mattermost_api_reference_client/models/sidebar_category_type.py +11 -0
  947. mattermost_api_reference_client/models/sidebar_category_with_channels.py +115 -0
  948. mattermost_api_reference_client/models/sidebar_category_with_channels_type.py +11 -0
  949. mattermost_api_reference_client/models/slack_attachment.py +210 -0
  950. mattermost_api_reference_client/models/slack_attachment_field.py +77 -0
  951. mattermost_api_reference_client/models/status.py +86 -0
  952. mattermost_api_reference_client/models/status_body.py +71 -0
  953. mattermost_api_reference_client/models/status_ok.py +59 -0
  954. mattermost_api_reference_client/models/storage_usage.py +60 -0
  955. mattermost_api_reference_client/models/submit_interactive_dialog_body.py +119 -0
  956. mattermost_api_reference_client/models/submit_interactive_dialog_body_submission.py +44 -0
  957. mattermost_api_reference_client/models/submit_performance_report_body.py +145 -0
  958. mattermost_api_reference_client/models/submit_performance_report_body_counters_item.py +89 -0
  959. mattermost_api_reference_client/models/submit_performance_report_body_histograms_item.py +89 -0
  960. mattermost_api_reference_client/models/subscription.py +133 -0
  961. mattermost_api_reference_client/models/subscription_stats.py +68 -0
  962. mattermost_api_reference_client/models/switch_account_type_body.py +105 -0
  963. mattermost_api_reference_client/models/switch_account_type_response_200.py +60 -0
  964. mattermost_api_reference_client/models/system.py +68 -0
  965. mattermost_api_reference_client/models/system_status_response.py +144 -0
  966. mattermost_api_reference_client/models/team.py +169 -0
  967. mattermost_api_reference_client/models/team_exists.py +59 -0
  968. mattermost_api_reference_client/models/team_map.py +73 -0
  969. mattermost_api_reference_client/models/team_member.py +118 -0
  970. mattermost_api_reference_client/models/team_stats.py +68 -0
  971. mattermost_api_reference_client/models/team_unread.py +77 -0
  972. mattermost_api_reference_client/models/teams_limits.py +71 -0
  973. mattermost_api_reference_client/models/terms_of_service.py +86 -0
  974. mattermost_api_reference_client/models/test_ldap_diagnostics_test.py +10 -0
  975. mattermost_api_reference_client/models/test_site_url_body.py +59 -0
  976. mattermost_api_reference_client/models/timezone.py +79 -0
  977. mattermost_api_reference_client/models/trigger_id_return.py +59 -0
  978. mattermost_api_reference_client/models/unassign_access_control_policy_from_channels_body.py +61 -0
  979. mattermost_api_reference_client/models/update_channel_body.py +97 -0
  980. mattermost_api_reference_client/models/update_channel_bookmark_body.py +125 -0
  981. mattermost_api_reference_client/models/update_channel_bookmark_body_type.py +9 -0
  982. mattermost_api_reference_client/models/update_channel_bookmark_response.py +88 -0
  983. mattermost_api_reference_client/models/update_channel_member_scheme_roles_body.py +67 -0
  984. mattermost_api_reference_client/models/update_channel_privacy_body.py +59 -0
  985. mattermost_api_reference_client/models/update_channel_roles_body.py +59 -0
  986. mattermost_api_reference_client/models/update_channel_scheme_body.py +59 -0
  987. mattermost_api_reference_client/models/update_cloud_customer_body.py +95 -0
  988. mattermost_api_reference_client/models/update_incoming_webhook_body.py +103 -0
  989. mattermost_api_reference_client/models/update_job_status_body.py +70 -0
  990. mattermost_api_reference_client/models/update_o_auth_app_body.py +112 -0
  991. mattermost_api_reference_client/models/update_outgoing_webhook_body.py +83 -0
  992. mattermost_api_reference_client/models/update_playbook_run_body.py +59 -0
  993. mattermost_api_reference_client/models/update_post_body.py +97 -0
  994. mattermost_api_reference_client/models/update_scheduled_post_body.py +91 -0
  995. mattermost_api_reference_client/models/update_scheduled_post_response_200.py +44 -0
  996. mattermost_api_reference_client/models/update_team_body.py +107 -0
  997. mattermost_api_reference_client/models/update_team_member_roles_body.py +59 -0
  998. mattermost_api_reference_client/models/update_team_member_scheme_roles_body.py +67 -0
  999. mattermost_api_reference_client/models/update_team_privacy_body.py +59 -0
  1000. mattermost_api_reference_client/models/update_team_scheme_body.py +59 -0
  1001. mattermost_api_reference_client/models/update_user_active_body.py +59 -0
  1002. mattermost_api_reference_client/models/update_user_body.py +180 -0
  1003. mattermost_api_reference_client/models/update_user_body_props.py +44 -0
  1004. mattermost_api_reference_client/models/update_user_custom_status_body.py +88 -0
  1005. mattermost_api_reference_client/models/update_user_mfa_body.py +70 -0
  1006. mattermost_api_reference_client/models/update_user_password_body.py +70 -0
  1007. mattermost_api_reference_client/models/update_user_roles_body.py +59 -0
  1008. mattermost_api_reference_client/models/update_user_status_body.py +78 -0
  1009. mattermost_api_reference_client/models/upgrade_to_enterprise_status_response_200.py +68 -0
  1010. mattermost_api_reference_client/models/upload_brand_image_body.py +73 -0
  1011. mattermost_api_reference_client/models/upload_data_body.py +44 -0
  1012. mattermost_api_reference_client/models/upload_file_body.py +103 -0
  1013. mattermost_api_reference_client/models/upload_file_response_201.py +86 -0
  1014. mattermost_api_reference_client/models/upload_ldap_private_certificate_body.py +73 -0
  1015. mattermost_api_reference_client/models/upload_ldap_public_certificate_body.py +73 -0
  1016. mattermost_api_reference_client/models/upload_license_file_body.py +73 -0
  1017. mattermost_api_reference_client/models/upload_plugin_body.py +85 -0
  1018. mattermost_api_reference_client/models/upload_saml_idp_certificate_body.py +73 -0
  1019. mattermost_api_reference_client/models/upload_saml_private_certificate_body.py +73 -0
  1020. mattermost_api_reference_client/models/upload_saml_public_certificate_body.py +73 -0
  1021. mattermost_api_reference_client/models/upload_session.py +131 -0
  1022. mattermost_api_reference_client/models/upload_session_type.py +9 -0
  1023. mattermost_api_reference_client/models/user.py +280 -0
  1024. mattermost_api_reference_client/models/user_access_token.py +86 -0
  1025. mattermost_api_reference_client/models/user_access_token_sanitized.py +86 -0
  1026. mattermost_api_reference_client/models/user_auth_data.py +67 -0
  1027. mattermost_api_reference_client/models/user_autocomplete.py +95 -0
  1028. mattermost_api_reference_client/models/user_autocomplete_in_channel.py +94 -0
  1029. mattermost_api_reference_client/models/user_autocomplete_in_team.py +75 -0
  1030. mattermost_api_reference_client/models/user_notify_props.py +119 -0
  1031. mattermost_api_reference_client/models/user_props.py +44 -0
  1032. mattermost_api_reference_client/models/user_report.py +252 -0
  1033. mattermost_api_reference_client/models/user_terms_of_service.py +78 -0
  1034. mattermost_api_reference_client/models/user_thread.py +129 -0
  1035. mattermost_api_reference_client/models/user_threads.py +84 -0
  1036. mattermost_api_reference_client/models/users_stats.py +59 -0
  1037. mattermost_api_reference_client/models/verify_user_email_body.py +59 -0
  1038. mattermost_api_reference_client/models/view_channel_body.py +72 -0
  1039. mattermost_api_reference_client/models/view_channel_response_200.py +82 -0
  1040. mattermost_api_reference_client/models/view_channel_response_200_last_viewed_at_times.py +44 -0
  1041. mattermost_api_reference_client/models/visual_expression.py +75 -0
  1042. mattermost_api_reference_client/models/webhook_on_creation_payload.py +231 -0
  1043. mattermost_api_reference_client/models/webhook_on_status_update_payload.py +231 -0
  1044. mattermost_api_reference_client/py.typed +1 -0
  1045. mattermost_api_reference_client/types.py +54 -0
  1046. mattermost_api_reference_client-0.0.0.dev0.dist-info/METADATA +135 -0
  1047. mattermost_api_reference_client-0.0.0.dev0.dist-info/RECORD +1048 -0
  1048. mattermost_api_reference_client-0.0.0.dev0.dist-info/WHEEL +4 -0
@@ -0,0 +1,171 @@
1
+ from http import HTTPStatus
2
+ from typing import Any, Optional, Union
3
+
4
+ import httpx
5
+
6
+ from ... import errors
7
+ from ...client import AuthenticatedClient, Client
8
+ from ...models.app_error import AppError
9
+ from ...types import UNSET, Response
10
+
11
+
12
+ def _get_kwargs(
13
+ *,
14
+ url_query: str,
15
+ ) -> dict[str, Any]:
16
+ params: dict[str, Any] = {}
17
+
18
+ params["url"] = url_query
19
+
20
+ params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
21
+
22
+ _kwargs: dict[str, Any] = {
23
+ "method": "get",
24
+ "url": "/api/v4/redirect_location",
25
+ "params": params,
26
+ }
27
+
28
+ return _kwargs
29
+
30
+
31
+ def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Optional[AppError]:
32
+ if response.status_code == 404:
33
+ response_404 = AppError.from_dict(response.json())
34
+
35
+ return response_404
36
+
37
+ if client.raise_on_unexpected_status:
38
+ raise errors.UnexpectedStatus(response.status_code, response.content)
39
+ else:
40
+ return None
41
+
42
+
43
+ def _build_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Response[AppError]:
44
+ return Response(
45
+ status_code=HTTPStatus(response.status_code),
46
+ content=response.content,
47
+ headers=response.headers,
48
+ parsed=_parse_response(client=client, response=response),
49
+ )
50
+
51
+
52
+ def sync_detailed(
53
+ *,
54
+ client: Union[AuthenticatedClient, Client],
55
+ url_query: str,
56
+ ) -> Response[AppError]:
57
+ """Get redirect location
58
+
59
+ __Minimum server version__: 3.10
60
+ ##### Permissions
61
+ Must be logged in.
62
+
63
+ Args:
64
+ url_query (str):
65
+
66
+ Raises:
67
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
68
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
69
+
70
+ Returns:
71
+ Response[AppError]
72
+ """
73
+
74
+ kwargs = _get_kwargs(
75
+ url_query=url_query,
76
+ )
77
+
78
+ response = client.get_httpx_client().request(
79
+ **kwargs,
80
+ )
81
+
82
+ return _build_response(client=client, response=response)
83
+
84
+
85
+ def sync(
86
+ *,
87
+ client: Union[AuthenticatedClient, Client],
88
+ url_query: str,
89
+ ) -> Optional[AppError]:
90
+ """Get redirect location
91
+
92
+ __Minimum server version__: 3.10
93
+ ##### Permissions
94
+ Must be logged in.
95
+
96
+ Args:
97
+ url_query (str):
98
+
99
+ Raises:
100
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
101
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
102
+
103
+ Returns:
104
+ AppError
105
+ """
106
+
107
+ return sync_detailed(
108
+ client=client,
109
+ url_query=url_query,
110
+ ).parsed
111
+
112
+
113
+ async def asyncio_detailed(
114
+ *,
115
+ client: Union[AuthenticatedClient, Client],
116
+ url_query: str,
117
+ ) -> Response[AppError]:
118
+ """Get redirect location
119
+
120
+ __Minimum server version__: 3.10
121
+ ##### Permissions
122
+ Must be logged in.
123
+
124
+ Args:
125
+ url_query (str):
126
+
127
+ Raises:
128
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
129
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
130
+
131
+ Returns:
132
+ Response[AppError]
133
+ """
134
+
135
+ kwargs = _get_kwargs(
136
+ url_query=url_query,
137
+ )
138
+
139
+ response = await client.get_async_httpx_client().request(**kwargs)
140
+
141
+ return _build_response(client=client, response=response)
142
+
143
+
144
+ async def asyncio(
145
+ *,
146
+ client: Union[AuthenticatedClient, Client],
147
+ url_query: str,
148
+ ) -> Optional[AppError]:
149
+ """Get redirect location
150
+
151
+ __Minimum server version__: 3.10
152
+ ##### Permissions
153
+ Must be logged in.
154
+
155
+ Args:
156
+ url_query (str):
157
+
158
+ Raises:
159
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
160
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
161
+
162
+ Returns:
163
+ AppError
164
+ """
165
+
166
+ return (
167
+ await asyncio_detailed(
168
+ client=client,
169
+ url_query=url_query,
170
+ )
171
+ ).parsed
@@ -0,0 +1,161 @@
1
+ from http import HTTPStatus
2
+ from typing import Any, Optional, Union
3
+
4
+ import httpx
5
+
6
+ from ... import errors
7
+ from ...client import AuthenticatedClient, Client
8
+ from ...models.app_error import AppError
9
+ from ...models.server_busy import ServerBusy
10
+ from ...types import Response
11
+
12
+
13
+ def _get_kwargs() -> dict[str, Any]:
14
+ _kwargs: dict[str, Any] = {
15
+ "method": "get",
16
+ "url": "/api/v4/server_busy",
17
+ }
18
+
19
+ return _kwargs
20
+
21
+
22
+ def _parse_response(
23
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
24
+ ) -> Optional[Union[AppError, ServerBusy]]:
25
+ if response.status_code == 200:
26
+ response_200 = ServerBusy.from_dict(response.json())
27
+
28
+ return response_200
29
+
30
+ if response.status_code == 403:
31
+ response_403 = AppError.from_dict(response.json())
32
+
33
+ return response_403
34
+
35
+ if client.raise_on_unexpected_status:
36
+ raise errors.UnexpectedStatus(response.status_code, response.content)
37
+ else:
38
+ return None
39
+
40
+
41
+ def _build_response(
42
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
43
+ ) -> Response[Union[AppError, ServerBusy]]:
44
+ return Response(
45
+ status_code=HTTPStatus(response.status_code),
46
+ content=response.content,
47
+ headers=response.headers,
48
+ parsed=_parse_response(client=client, response=response),
49
+ )
50
+
51
+
52
+ def sync_detailed(
53
+ *,
54
+ client: Union[AuthenticatedClient, Client],
55
+ ) -> Response[Union[AppError, ServerBusy]]:
56
+ """Get server busy expiry time.
57
+
58
+ Gets the timestamp corresponding to when the server busy flag will be automatically cleared.
59
+
60
+ __Minimum server version__: 5.20
61
+
62
+ ##### Permissions
63
+ Must have `manage_system` permission.
64
+
65
+ Raises:
66
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
67
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
68
+
69
+ Returns:
70
+ Response[Union[AppError, ServerBusy]]
71
+ """
72
+
73
+ kwargs = _get_kwargs()
74
+
75
+ response = client.get_httpx_client().request(
76
+ **kwargs,
77
+ )
78
+
79
+ return _build_response(client=client, response=response)
80
+
81
+
82
+ def sync(
83
+ *,
84
+ client: Union[AuthenticatedClient, Client],
85
+ ) -> Optional[Union[AppError, ServerBusy]]:
86
+ """Get server busy expiry time.
87
+
88
+ Gets the timestamp corresponding to when the server busy flag will be automatically cleared.
89
+
90
+ __Minimum server version__: 5.20
91
+
92
+ ##### Permissions
93
+ Must have `manage_system` permission.
94
+
95
+ Raises:
96
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
97
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
98
+
99
+ Returns:
100
+ Union[AppError, ServerBusy]
101
+ """
102
+
103
+ return sync_detailed(
104
+ client=client,
105
+ ).parsed
106
+
107
+
108
+ async def asyncio_detailed(
109
+ *,
110
+ client: Union[AuthenticatedClient, Client],
111
+ ) -> Response[Union[AppError, ServerBusy]]:
112
+ """Get server busy expiry time.
113
+
114
+ Gets the timestamp corresponding to when the server busy flag will be automatically cleared.
115
+
116
+ __Minimum server version__: 5.20
117
+
118
+ ##### Permissions
119
+ Must have `manage_system` permission.
120
+
121
+ Raises:
122
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
123
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
124
+
125
+ Returns:
126
+ Response[Union[AppError, ServerBusy]]
127
+ """
128
+
129
+ kwargs = _get_kwargs()
130
+
131
+ response = await client.get_async_httpx_client().request(**kwargs)
132
+
133
+ return _build_response(client=client, response=response)
134
+
135
+
136
+ async def asyncio(
137
+ *,
138
+ client: Union[AuthenticatedClient, Client],
139
+ ) -> Optional[Union[AppError, ServerBusy]]:
140
+ """Get server busy expiry time.
141
+
142
+ Gets the timestamp corresponding to when the server busy flag will be automatically cleared.
143
+
144
+ __Minimum server version__: 5.20
145
+
146
+ ##### Permissions
147
+ Must have `manage_system` permission.
148
+
149
+ Raises:
150
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
151
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
152
+
153
+ Returns:
154
+ Union[AppError, ServerBusy]
155
+ """
156
+
157
+ return (
158
+ await asyncio_detailed(
159
+ client=client,
160
+ )
161
+ ).parsed
@@ -0,0 +1,148 @@
1
+ from http import HTTPStatus
2
+ from typing import Any, Optional, Union, cast
3
+
4
+ import httpx
5
+
6
+ from ... import errors
7
+ from ...client import AuthenticatedClient, Client
8
+ from ...models.app_error import AppError
9
+ from ...types import Response
10
+
11
+
12
+ def _get_kwargs() -> dict[str, Any]:
13
+ _kwargs: dict[str, Any] = {
14
+ "method": "get",
15
+ "url": "/api/v4/system/timezones",
16
+ }
17
+
18
+ return _kwargs
19
+
20
+
21
+ def _parse_response(
22
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
23
+ ) -> Optional[Union[AppError, list[str]]]:
24
+ if response.status_code == 200:
25
+ response_200 = cast(list[str], response.json())
26
+
27
+ return response_200
28
+
29
+ if response.status_code == 500:
30
+ response_500 = AppError.from_dict(response.json())
31
+
32
+ return response_500
33
+
34
+ if client.raise_on_unexpected_status:
35
+ raise errors.UnexpectedStatus(response.status_code, response.content)
36
+ else:
37
+ return None
38
+
39
+
40
+ def _build_response(
41
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
42
+ ) -> Response[Union[AppError, list[str]]]:
43
+ return Response(
44
+ status_code=HTTPStatus(response.status_code),
45
+ content=response.content,
46
+ headers=response.headers,
47
+ parsed=_parse_response(client=client, response=response),
48
+ )
49
+
50
+
51
+ def sync_detailed(
52
+ *,
53
+ client: Union[AuthenticatedClient, Client],
54
+ ) -> Response[Union[AppError, list[str]]]:
55
+ """Retrieve a list of supported timezones
56
+
57
+ __Minimum server version__: 3.10
58
+ ##### Permissions
59
+ Must be logged in.
60
+
61
+ Raises:
62
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
63
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
64
+
65
+ Returns:
66
+ Response[Union[AppError, list[str]]]
67
+ """
68
+
69
+ kwargs = _get_kwargs()
70
+
71
+ response = client.get_httpx_client().request(
72
+ **kwargs,
73
+ )
74
+
75
+ return _build_response(client=client, response=response)
76
+
77
+
78
+ def sync(
79
+ *,
80
+ client: Union[AuthenticatedClient, Client],
81
+ ) -> Optional[Union[AppError, list[str]]]:
82
+ """Retrieve a list of supported timezones
83
+
84
+ __Minimum server version__: 3.10
85
+ ##### Permissions
86
+ Must be logged in.
87
+
88
+ Raises:
89
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
90
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
91
+
92
+ Returns:
93
+ Union[AppError, list[str]]
94
+ """
95
+
96
+ return sync_detailed(
97
+ client=client,
98
+ ).parsed
99
+
100
+
101
+ async def asyncio_detailed(
102
+ *,
103
+ client: Union[AuthenticatedClient, Client],
104
+ ) -> Response[Union[AppError, list[str]]]:
105
+ """Retrieve a list of supported timezones
106
+
107
+ __Minimum server version__: 3.10
108
+ ##### Permissions
109
+ Must be logged in.
110
+
111
+ Raises:
112
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
113
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
114
+
115
+ Returns:
116
+ Response[Union[AppError, list[str]]]
117
+ """
118
+
119
+ kwargs = _get_kwargs()
120
+
121
+ response = await client.get_async_httpx_client().request(**kwargs)
122
+
123
+ return _build_response(client=client, response=response)
124
+
125
+
126
+ async def asyncio(
127
+ *,
128
+ client: Union[AuthenticatedClient, Client],
129
+ ) -> Optional[Union[AppError, list[str]]]:
130
+ """Retrieve a list of supported timezones
131
+
132
+ __Minimum server version__: 3.10
133
+ ##### Permissions
134
+ Must be logged in.
135
+
136
+ Raises:
137
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
138
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
139
+
140
+ Returns:
141
+ Union[AppError, list[str]]
142
+ """
143
+
144
+ return (
145
+ await asyncio_detailed(
146
+ client=client,
147
+ )
148
+ ).parsed
@@ -0,0 +1,153 @@
1
+ from http import HTTPStatus
2
+ from typing import Any, Optional, Union
3
+
4
+ import httpx
5
+
6
+ from ... import errors
7
+ from ...client import AuthenticatedClient, Client
8
+ from ...models.app_error import AppError
9
+ from ...models.status_ok import StatusOK
10
+ from ...types import Response
11
+
12
+
13
+ def _get_kwargs() -> dict[str, Any]:
14
+ _kwargs: dict[str, Any] = {
15
+ "method": "post",
16
+ "url": "/api/v4/caches/invalidate",
17
+ }
18
+
19
+ return _kwargs
20
+
21
+
22
+ def _parse_response(
23
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
24
+ ) -> Optional[Union[AppError, StatusOK]]:
25
+ if response.status_code == 200:
26
+ response_200 = StatusOK.from_dict(response.json())
27
+
28
+ return response_200
29
+
30
+ if response.status_code == 403:
31
+ response_403 = AppError.from_dict(response.json())
32
+
33
+ return response_403
34
+
35
+ if client.raise_on_unexpected_status:
36
+ raise errors.UnexpectedStatus(response.status_code, response.content)
37
+ else:
38
+ return None
39
+
40
+
41
+ def _build_response(
42
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
43
+ ) -> Response[Union[AppError, StatusOK]]:
44
+ return Response(
45
+ status_code=HTTPStatus(response.status_code),
46
+ content=response.content,
47
+ headers=response.headers,
48
+ parsed=_parse_response(client=client, response=response),
49
+ )
50
+
51
+
52
+ def sync_detailed(
53
+ *,
54
+ client: Union[AuthenticatedClient, Client],
55
+ ) -> Response[Union[AppError, StatusOK]]:
56
+ """Invalidate all the caches
57
+
58
+ Purge all the in-memory caches for the Mattermost server. This can have a temporary negative effect
59
+ on performance while the caches are re-populated.
60
+ ##### Permissions
61
+ Must have `manage_system` permission.
62
+
63
+ Raises:
64
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
65
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
66
+
67
+ Returns:
68
+ Response[Union[AppError, StatusOK]]
69
+ """
70
+
71
+ kwargs = _get_kwargs()
72
+
73
+ response = client.get_httpx_client().request(
74
+ **kwargs,
75
+ )
76
+
77
+ return _build_response(client=client, response=response)
78
+
79
+
80
+ def sync(
81
+ *,
82
+ client: Union[AuthenticatedClient, Client],
83
+ ) -> Optional[Union[AppError, StatusOK]]:
84
+ """Invalidate all the caches
85
+
86
+ Purge all the in-memory caches for the Mattermost server. This can have a temporary negative effect
87
+ on performance while the caches are re-populated.
88
+ ##### Permissions
89
+ Must have `manage_system` permission.
90
+
91
+ Raises:
92
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
93
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
94
+
95
+ Returns:
96
+ Union[AppError, StatusOK]
97
+ """
98
+
99
+ return sync_detailed(
100
+ client=client,
101
+ ).parsed
102
+
103
+
104
+ async def asyncio_detailed(
105
+ *,
106
+ client: Union[AuthenticatedClient, Client],
107
+ ) -> Response[Union[AppError, StatusOK]]:
108
+ """Invalidate all the caches
109
+
110
+ Purge all the in-memory caches for the Mattermost server. This can have a temporary negative effect
111
+ on performance while the caches are re-populated.
112
+ ##### Permissions
113
+ Must have `manage_system` permission.
114
+
115
+ Raises:
116
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
117
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
118
+
119
+ Returns:
120
+ Response[Union[AppError, StatusOK]]
121
+ """
122
+
123
+ kwargs = _get_kwargs()
124
+
125
+ response = await client.get_async_httpx_client().request(**kwargs)
126
+
127
+ return _build_response(client=client, response=response)
128
+
129
+
130
+ async def asyncio(
131
+ *,
132
+ client: Union[AuthenticatedClient, Client],
133
+ ) -> Optional[Union[AppError, StatusOK]]:
134
+ """Invalidate all the caches
135
+
136
+ Purge all the in-memory caches for the Mattermost server. This can have a temporary negative effect
137
+ on performance while the caches are re-populated.
138
+ ##### Permissions
139
+ Must have `manage_system` permission.
140
+
141
+ Raises:
142
+ errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
143
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
144
+
145
+ Returns:
146
+ Union[AppError, StatusOK]
147
+ """
148
+
149
+ return (
150
+ await asyncio_detailed(
151
+ client=client,
152
+ )
153
+ ).parsed