waldur-api-client 7.7.3__py3-none-any.whl → 7.7.4__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.

Potentially problematic release.


This version of waldur-api-client might be problematic. Click here for more details.

Files changed (348) hide show
  1. waldur_api_client/api/access_subnets/access_subnets_head.py +147 -0
  2. waldur_api_client/api/admin_announcements/admin_announcements_head.py +159 -0
  3. waldur_api_client/api/auth_tokens/auth_tokens_head.py +107 -0
  4. waldur_api_client/api/autoprovisioning_rules/autoprovisioning_rules_head.py +107 -0
  5. waldur_api_client/api/aws_images/aws_images_head.py +138 -0
  6. waldur_api_client/api/aws_instances/aws_instances_head.py +296 -0
  7. waldur_api_client/api/aws_regions/aws_regions_head.py +125 -0
  8. waldur_api_client/api/aws_sizes/aws_sizes_head.py +138 -0
  9. waldur_api_client/api/aws_volumes/aws_volumes_head.py +107 -0
  10. waldur_api_client/api/azure_images/azure_images_head.py +168 -0
  11. waldur_api_client/api/azure_locations/azure_locations_head.py +156 -0
  12. waldur_api_client/api/azure_public_ips/azure_public_ips_head.py +317 -0
  13. waldur_api_client/api/azure_resource_groups/azure_resource_groups_head.py +107 -0
  14. waldur_api_client/api/azure_sizes/azure_sizes_head.py +177 -0
  15. waldur_api_client/api/azure_sql_databases/azure_sql_databases_head.py +338 -0
  16. waldur_api_client/api/azure_sql_servers/azure_sql_servers_head.py +317 -0
  17. waldur_api_client/api/azure_virtualmachines/azure_virtualmachines_head.py +317 -0
  18. waldur_api_client/api/backend_resource_requests/backend_resource_requests_head.py +203 -0
  19. waldur_api_client/api/backend_resources/backend_resources_head.py +201 -0
  20. waldur_api_client/api/booking_offerings/booking_offerings_head.py +107 -0
  21. waldur_api_client/api/booking_resources/booking_resources_head.py +419 -0
  22. waldur_api_client/api/broadcast_message_templates/broadcast_message_templates_head.py +116 -0
  23. waldur_api_client/api/broadcast_messages/broadcast_messages_head.py +147 -0
  24. waldur_api_client/api/broadcast_messages/broadcast_messages_recipients_head.py +74 -0
  25. waldur_api_client/api/call_managing_organisations/call_managing_organisations_head.py +155 -0
  26. waldur_api_client/api/call_proposal_project_role_mappings/call_proposal_project_role_mappings_head.py +120 -0
  27. waldur_api_client/api/call_rounds/call_rounds_head.py +107 -0
  28. waldur_api_client/api/component_user_usage_limits/component_user_usage_limits_head.py +159 -0
  29. waldur_api_client/api/customer_credits/customer_credits_head.py +155 -0
  30. waldur_api_client/api/customer_permissions_reviews/customer_permissions_reviews_head.py +158 -0
  31. waldur_api_client/api/customer_quotas/customer_quotas_head.py +107 -0
  32. waldur_api_client/api/customers/customers_countries_head.py +241 -0
  33. waldur_api_client/api/customers/customers_head.py +275 -0
  34. waldur_api_client/api/digitalocean_droplets/digitalocean_droplets_head.py +296 -0
  35. waldur_api_client/api/digitalocean_images/digitalocean_images_head.py +160 -0
  36. waldur_api_client/api/digitalocean_regions/digitalocean_regions_head.py +125 -0
  37. waldur_api_client/api/digitalocean_sizes/digitalocean_sizes_head.py +152 -0
  38. waldur_api_client/api/email_logs/email_logs_head.py +164 -0
  39. waldur_api_client/api/event_subscriptions/event_subscriptions_head.py +142 -0
  40. waldur_api_client/api/events/events_count_head.py +74 -0
  41. waldur_api_client/api/events/events_event_groups_head.py +78 -0
  42. waldur_api_client/api/events/events_head.py +188 -0
  43. waldur_api_client/api/events/events_scope_types_head.py +76 -0
  44. waldur_api_client/api/events_stats/events_stats_head.py +107 -0
  45. waldur_api_client/api/financial_reports/financial_reports_head.py +241 -0
  46. waldur_api_client/api/freeipa_profiles/freeipa_profiles_head.py +129 -0
  47. waldur_api_client/api/google_auth/google_auth_callback_head.py +107 -0
  48. waldur_api_client/api/google_auth/google_auth_head.py +116 -0
  49. waldur_api_client/api/hooks/hooks_head.py +107 -0
  50. waldur_api_client/api/hooks_email/hooks_email_head.py +187 -0
  51. waldur_api_client/api/hooks_web/hooks_web_head.py +201 -0
  52. waldur_api_client/api/identity_providers/identity_providers_head.py +107 -0
  53. waldur_api_client/api/invoice_items/invoice_items_costs_head.py +120 -0
  54. waldur_api_client/api/invoice_items/invoice_items_customer_costs_for_period_head.py +109 -0
  55. waldur_api_client/api/invoice_items/invoice_items_head.py +204 -0
  56. waldur_api_client/api/invoice_items/invoice_items_project_costs_for_period_head.py +111 -0
  57. waldur_api_client/api/invoice_items/invoice_items_total_price_head.py +186 -0
  58. waldur_api_client/api/invoices/invoices_growth_head.py +118 -0
  59. waldur_api_client/api/invoices/invoices_head.py +218 -0
  60. waldur_api_client/api/keycloak_groups/keycloak_groups_head.py +138 -0
  61. waldur_api_client/api/keycloak_user_group_memberships/keycloak_user_group_memberships_head.py +206 -0
  62. waldur_api_client/api/keys/keys_head.py +228 -0
  63. waldur_api_client/api/lexis_links/lexis_links_head.py +165 -0
  64. waldur_api_client/api/marketplace_categories/marketplace_categories_head.py +204 -0
  65. waldur_api_client/api/marketplace_category_columns/marketplace_category_columns_head.py +129 -0
  66. waldur_api_client/api/marketplace_category_component_usages/marketplace_category_component_usages_head.py +132 -0
  67. waldur_api_client/api/marketplace_category_components/marketplace_category_components_head.py +107 -0
  68. waldur_api_client/api/marketplace_category_groups/marketplace_category_groups_head.py +116 -0
  69. waldur_api_client/api/marketplace_category_help_articles/marketplace_category_help_articles_head.py +107 -0
  70. waldur_api_client/api/marketplace_checklists/marketplace_checklists_head.py +107 -0
  71. waldur_api_client/api/marketplace_checklists_admin/marketplace_checklists_admin_head.py +107 -0
  72. waldur_api_client/api/marketplace_checklists_admin_question_dependencies/marketplace_checklists_admin_question_dependencies_head.py +132 -0
  73. waldur_api_client/api/marketplace_checklists_admin_question_options/marketplace_checklists_admin_question_options_head.py +120 -0
  74. waldur_api_client/api/marketplace_checklists_admin_questions/marketplace_checklists_admin_questions_head.py +120 -0
  75. waldur_api_client/api/marketplace_component_usages/marketplace_component_usages_head.py +228 -0
  76. waldur_api_client/api/marketplace_component_user_usages/marketplace_component_user_usages_head.py +255 -0
  77. waldur_api_client/api/marketplace_customer_estimated_cost_policies/marketplace_customer_estimated_cost_policies_actions_head.py +74 -0
  78. waldur_api_client/api/marketplace_customer_estimated_cost_policies/marketplace_customer_estimated_cost_policies_head.py +150 -0
  79. waldur_api_client/api/marketplace_customer_service_accounts/marketplace_customer_service_accounts_head.py +147 -0
  80. waldur_api_client/api/marketplace_integration_statuses/marketplace_integration_statuses_head.py +193 -0
  81. waldur_api_client/api/marketplace_maintenance_announcement_offerings/marketplace_maintenance_announcement_offerings_head.py +107 -0
  82. waldur_api_client/api/marketplace_maintenance_announcement_template_offerings/marketplace_maintenance_announcement_template_offerings_head.py +107 -0
  83. waldur_api_client/api/marketplace_maintenance_announcements/marketplace_maintenance_announcements_head.py +107 -0
  84. waldur_api_client/api/marketplace_maintenance_announcements_template/marketplace_maintenance_announcements_template_head.py +107 -0
  85. waldur_api_client/api/marketplace_offering_estimated_cost_policies/marketplace_offering_estimated_cost_policies_actions_head.py +76 -0
  86. waldur_api_client/api/marketplace_offering_estimated_cost_policies/marketplace_offering_estimated_cost_policies_head.py +129 -0
  87. waldur_api_client/api/marketplace_offering_files/marketplace_offering_files_head.py +158 -0
  88. waldur_api_client/api/marketplace_offering_permissions/marketplace_offering_permissions_head.py +279 -0
  89. waldur_api_client/api/marketplace_offering_permissions_log/marketplace_offering_permissions_log_head.py +279 -0
  90. waldur_api_client/api/marketplace_offering_referrals/marketplace_offering_referrals_head.py +124 -0
  91. waldur_api_client/api/marketplace_offering_usage_policies/marketplace_offering_usage_policies_actions_head.py +74 -0
  92. waldur_api_client/api/marketplace_offering_usage_policies/marketplace_offering_usage_policies_head.py +129 -0
  93. waldur_api_client/api/marketplace_offering_user_roles/marketplace_offering_user_roles_head.py +141 -0
  94. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_begin_creating.py +89 -0
  95. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_head.py +251 -0
  96. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_set_ok.py +89 -0
  97. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_set_validation_complete.py +0 -16
  98. waldur_api_client/api/marketplace_orders/marketplace_orders_head.py +338 -0
  99. waldur_api_client/api/marketplace_plan_components/marketplace_plan_components_head.py +150 -0
  100. waldur_api_client/api/marketplace_plans/marketplace_plans_head.py +141 -0
  101. waldur_api_client/api/marketplace_plans/marketplace_plans_usage_stats_head.py +154 -0
  102. waldur_api_client/api/marketplace_project_estimated_cost_policies/marketplace_project_estimated_cost_policies_actions_head.py +74 -0
  103. waldur_api_client/api/marketplace_project_estimated_cost_policies/marketplace_project_estimated_cost_policies_head.py +171 -0
  104. waldur_api_client/api/marketplace_project_service_accounts/marketplace_project_service_accounts_head.py +147 -0
  105. waldur_api_client/api/marketplace_project_update_requests/marketplace_project_update_requests_head.py +173 -0
  106. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_groups_head.py +403 -0
  107. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_head.py +403 -0
  108. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_head.py +407 -0
  109. waldur_api_client/api/marketplace_public_offerings/marketplace_public_offerings_head.py +403 -0
  110. waldur_api_client/api/marketplace_remote_synchronisations/marketplace_remote_synchronisations_head.py +107 -0
  111. waldur_api_client/api/marketplace_resource_users/marketplace_resource_users_head.py +162 -0
  112. waldur_api_client/api/marketplace_resources/marketplace_resources_head.py +407 -0
  113. waldur_api_client/api/marketplace_robot_accounts/marketplace_robot_accounts_head.py +213 -0
  114. waldur_api_client/api/marketplace_screenshots/marketplace_screenshots_head.py +158 -0
  115. waldur_api_client/api/marketplace_script_async_dry_run/marketplace_script_async_dry_run_head.py +107 -0
  116. waldur_api_client/api/marketplace_sections/marketplace_sections_head.py +107 -0
  117. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_head.py +155 -0
  118. waldur_api_client/api/marketplace_stats/marketplace_stats_component_usages_head.py +107 -0
  119. waldur_api_client/api/marketplace_stats/marketplace_stats_component_usages_per_month_head.py +107 -0
  120. waldur_api_client/api/marketplace_stats/marketplace_stats_component_usages_per_project_head.py +107 -0
  121. waldur_api_client/api/marketplace_stats/marketplace_stats_count_active_resources_grouped_by_offering_country_head.py +107 -0
  122. waldur_api_client/api/marketplace_stats/marketplace_stats_count_active_resources_grouped_by_offering_head.py +107 -0
  123. waldur_api_client/api/marketplace_stats/marketplace_stats_count_active_resources_grouped_by_organization_group_head.py +107 -0
  124. waldur_api_client/api/marketplace_stats/marketplace_stats_count_projects_grouped_by_provider_and_industry_flag_head.py +107 -0
  125. waldur_api_client/api/marketplace_stats/marketplace_stats_count_projects_grouped_by_provider_and_oecd_head.py +107 -0
  126. waldur_api_client/api/marketplace_stats/marketplace_stats_count_projects_of_service_providers_grouped_by_oecd_head.py +107 -0
  127. waldur_api_client/api/marketplace_stats/marketplace_stats_count_projects_of_service_providers_head.py +107 -0
  128. waldur_api_client/api/marketplace_stats/marketplace_stats_count_unique_users_connected_with_active_resources_of_service_provider_head.py +107 -0
  129. waldur_api_client/api/marketplace_stats/marketplace_stats_count_users_of_service_providers_head.py +107 -0
  130. waldur_api_client/api/marketplace_stats/marketplace_stats_customer_member_count_head.py +107 -0
  131. waldur_api_client/api/marketplace_stats/marketplace_stats_offerings_counter_stats_head.py +107 -0
  132. waldur_api_client/api/marketplace_stats/marketplace_stats_organization_project_count_head.py +107 -0
  133. waldur_api_client/api/marketplace_stats/marketplace_stats_organization_resource_count_head.py +107 -0
  134. waldur_api_client/api/marketplace_stats/marketplace_stats_projects_limits_grouped_by_industry_flag_head.py +76 -0
  135. waldur_api_client/api/marketplace_stats/marketplace_stats_projects_limits_grouped_by_oecd_head.py +76 -0
  136. waldur_api_client/api/marketplace_stats/marketplace_stats_projects_usages_grouped_by_industry_flag_head.py +76 -0
  137. waldur_api_client/api/marketplace_stats/marketplace_stats_projects_usages_grouped_by_oecd_head.py +76 -0
  138. waldur_api_client/api/marketplace_stats/marketplace_stats_resources_limits_head.py +107 -0
  139. waldur_api_client/api/marketplace_stats/marketplace_stats_total_cost_of_active_resources_per_offering_head.py +107 -0
  140. waldur_api_client/api/notification_messages/notification_messages_head.py +161 -0
  141. waldur_api_client/api/notification_messages_templates/notification_messages_templates_head.py +152 -0
  142. waldur_api_client/api/openstack_backups/openstack_backups_head.py +338 -0
  143. waldur_api_client/api/openstack_flavors/openstack_flavors_head.py +287 -0
  144. waldur_api_client/api/openstack_flavors/openstack_flavors_usage_stats_head.py +74 -0
  145. waldur_api_client/api/openstack_floating_ips/openstack_floating_ips_head.py +344 -0
  146. waldur_api_client/api/openstack_images/openstack_images_head.py +180 -0
  147. waldur_api_client/api/openstack_images/openstack_images_usage_stats_head.py +74 -0
  148. waldur_api_client/api/openstack_instance_availability_zones/openstack_instance_availability_zones_head.py +168 -0
  149. waldur_api_client/api/openstack_instances/openstack_instances_head.py +356 -0
  150. waldur_api_client/api/openstack_marketplace_tenants/openstack_marketplace_tenants_head.py +296 -0
  151. waldur_api_client/api/openstack_migrations/openstack_migrations_head.py +132 -0
  152. waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_head.py +164 -0
  153. waldur_api_client/api/openstack_networks/openstack_networks_head.py +353 -0
  154. waldur_api_client/api/openstack_ports/openstack_ports_head.py +245 -0
  155. waldur_api_client/api/openstack_routers/openstack_routers_head.py +147 -0
  156. waldur_api_client/api/openstack_security_groups/openstack_security_groups_head.py +326 -0
  157. waldur_api_client/api/openstack_server_groups/openstack_server_groups_head.py +317 -0
  158. waldur_api_client/api/openstack_snapshots/openstack_snapshots_head.py +368 -0
  159. waldur_api_client/api/openstack_subnets/openstack_subnets_head.py +374 -0
  160. waldur_api_client/api/openstack_tenants/openstack_tenants_head.py +296 -0
  161. waldur_api_client/api/openstack_volume_availability_zones/openstack_volume_availability_zones_head.py +168 -0
  162. waldur_api_client/api/openstack_volume_types/openstack_volume_types_head.py +180 -0
  163. waldur_api_client/api/openstack_volume_types/openstack_volume_types_names_head.py +76 -0
  164. waldur_api_client/api/openstack_volumes/openstack_volumes_head.py +389 -0
  165. waldur_api_client/api/organization_groups/organization_groups_head.py +147 -0
  166. waldur_api_client/api/payment_profiles/payment_profiles_head.py +172 -0
  167. waldur_api_client/api/payments/payments_head.py +142 -0
  168. waldur_api_client/api/project_credits/project_credits_head.py +176 -0
  169. waldur_api_client/api/project_quotas/project_quotas_head.py +107 -0
  170. waldur_api_client/api/project_types/project_types_head.py +125 -0
  171. waldur_api_client/api/projects/projects_head.py +274 -0
  172. waldur_api_client/api/promotions_campaigns/promotions_campaigns_head.py +218 -0
  173. waldur_api_client/api/proposal_proposals/proposal_proposals_head.py +187 -0
  174. waldur_api_client/api/proposal_protected_calls/proposal_protected_calls_head.py +214 -0
  175. waldur_api_client/api/proposal_public_calls/proposal_public_calls_head.py +214 -0
  176. waldur_api_client/api/proposal_requested_offerings/proposal_requested_offerings_head.py +208 -0
  177. waldur_api_client/api/proposal_requested_resources/proposal_requested_resources_head.py +201 -0
  178. waldur_api_client/api/proposal_reviews/proposal_reviews_head.py +208 -0
  179. waldur_api_client/api/provider_invoice_items/provider_invoice_items_head.py +179 -0
  180. waldur_api_client/api/rancher_apps/rancher_apps_head.py +332 -0
  181. waldur_api_client/api/rancher_catalogs/rancher_catalogs_head.py +107 -0
  182. waldur_api_client/api/rancher_cluster_security_groups/rancher_cluster_security_groups_head.py +138 -0
  183. waldur_api_client/api/rancher_cluster_templates/rancher_cluster_templates_head.py +107 -0
  184. waldur_api_client/api/rancher_clusters/rancher_clusters_head.py +296 -0
  185. waldur_api_client/api/rancher_hpas/rancher_hpas_head.py +195 -0
  186. waldur_api_client/api/rancher_ingresses/rancher_ingresses_head.py +332 -0
  187. waldur_api_client/api/rancher_namespaces/rancher_namespaces_head.py +188 -0
  188. waldur_api_client/api/rancher_nodes/rancher_nodes_head.py +120 -0
  189. waldur_api_client/api/rancher_projects/rancher_projects_head.py +159 -0
  190. waldur_api_client/api/rancher_role_templates/rancher_role_templates_head.py +155 -0
  191. waldur_api_client/api/rancher_services/rancher_services_head.py +332 -0
  192. waldur_api_client/api/rancher_templates/rancher_templates_head.py +200 -0
  193. waldur_api_client/api/rancher_users/rancher_users_head.py +171 -0
  194. waldur_api_client/api/rancher_workloads/rancher_workloads_head.py +200 -0
  195. waldur_api_client/api/roles/roles_head.py +134 -0
  196. waldur_api_client/api/service_settings/service_settings_head.py +203 -0
  197. waldur_api_client/api/slurm_allocation_user_usage/slurm_allocation_user_usage_head.py +168 -0
  198. waldur_api_client/api/slurm_allocations/slurm_allocations_head.py +305 -0
  199. waldur_api_client/api/slurm_associations/slurm_associations_head.py +129 -0
  200. waldur_api_client/api/slurm_jobs/slurm_jobs_head.py +107 -0
  201. waldur_api_client/api/support_attachments/support_attachments_head.py +129 -0
  202. waldur_api_client/api/support_comments/support_comments_head.py +191 -0
  203. waldur_api_client/api/support_feedbacks/support_feedbacks_head.py +202 -0
  204. waldur_api_client/api/support_issues/support_issues_head.py +314 -0
  205. waldur_api_client/api/support_priorities/support_priorities_head.py +125 -0
  206. waldur_api_client/api/support_templates/support_templates_head.py +107 -0
  207. waldur_api_client/api/support_users/support_users_head.py +134 -0
  208. waldur_api_client/api/user_agreements/user_agreements_head.py +121 -0
  209. waldur_api_client/api/user_group_invitations/user_group_invitations_head.py +176 -0
  210. waldur_api_client/api/user_invitations/user_invitations_head.py +202 -0
  211. waldur_api_client/api/user_permission_requests/user_permission_requests_head.py +178 -0
  212. waldur_api_client/api/user_permissions/user_permissions_head.py +267 -0
  213. waldur_api_client/api/users/users_head.py +348 -0
  214. waldur_api_client/api/users/users_me_head.py +76 -0
  215. waldur_api_client/api/vmware_clusters/vmware_clusters_head.py +159 -0
  216. waldur_api_client/api/vmware_datastores/vmware_datastores_head.py +159 -0
  217. waldur_api_client/api/vmware_disks/vmware_disks_head.py +317 -0
  218. waldur_api_client/api/vmware_folders/vmware_folders_head.py +159 -0
  219. waldur_api_client/api/vmware_networks/vmware_networks_head.py +171 -0
  220. waldur_api_client/api/vmware_ports/vmware_ports_head.py +338 -0
  221. waldur_api_client/api/vmware_templates/vmware_templates_head.py +147 -0
  222. waldur_api_client/api/vmware_virtual_machine/vmware_virtual_machine_head.py +305 -0
  223. waldur_api_client/models/__init__.py +222 -0
  224. waldur_api_client/models/admin_announcements_head_o_item.py +17 -0
  225. waldur_api_client/models/admin_announcements_head_type_item.py +10 -0
  226. waldur_api_client/models/aws_instances_head_state_item.py +15 -0
  227. waldur_api_client/models/azure_public_ips_head_state_item.py +15 -0
  228. waldur_api_client/models/azure_sql_databases_head_state_item.py +15 -0
  229. waldur_api_client/models/azure_sql_servers_head_state_item.py +15 -0
  230. waldur_api_client/models/azure_virtualmachines_head_state_item.py +15 -0
  231. waldur_api_client/models/backend_resource_req.py +8 -0
  232. waldur_api_client/models/backend_resource_requests_head_o_item.py +9 -0
  233. waldur_api_client/models/backend_resource_requests_head_state_item.py +11 -0
  234. waldur_api_client/models/backend_resources_head_o_item.py +9 -0
  235. waldur_api_client/models/booking_resources_head_o_item.py +15 -0
  236. waldur_api_client/models/booking_resources_head_state_item.py +13 -0
  237. waldur_api_client/models/broadcast_messages_head_o_item.py +13 -0
  238. waldur_api_client/models/broadcast_messages_head_state.py +10 -0
  239. waldur_api_client/models/call_managing_organisations_head_o_item.py +9 -0
  240. waldur_api_client/models/customer_credits_head_o_item.py +15 -0
  241. waldur_api_client/models/customer_permissions_reviews_head_o_item.py +11 -0
  242. waldur_api_client/models/digitalocean_droplets_head_state_item.py +15 -0
  243. waldur_api_client/models/digitalocean_images_head_o_item.py +11 -0
  244. waldur_api_client/models/email_logs_head_o_item.py +11 -0
  245. waldur_api_client/models/event_subscriptions_head_o_item.py +9 -0
  246. waldur_api_client/models/events_head_o_item.py +9 -0
  247. waldur_api_client/models/hooks_web_head_content_type.py +9 -0
  248. waldur_api_client/models/invoices_head_o_item.py +13 -0
  249. waldur_api_client/models/invoices_head_state_item.py +11 -0
  250. waldur_api_client/models/keycloak_user_group_memberships_head_state_item.py +9 -0
  251. waldur_api_client/models/keys_head_o_item.py +9 -0
  252. waldur_api_client/models/marketplace_categories_head_customers_offerings_state_item.py +11 -0
  253. waldur_api_client/models/marketplace_component_usages_head_o_item.py +11 -0
  254. waldur_api_client/models/marketplace_component_user_usages_head_o_item.py +13 -0
  255. waldur_api_client/models/marketplace_integration_statuses_head_o_item.py +9 -0
  256. waldur_api_client/models/marketplace_integration_statuses_head_status_item.py +10 -0
  257. waldur_api_client/models/marketplace_offering_files_head_o_item.py +11 -0
  258. waldur_api_client/models/marketplace_offering_permissions_head_o_item.py +21 -0
  259. waldur_api_client/models/marketplace_offering_permissions_log_head_o_item.py +21 -0
  260. waldur_api_client/models/marketplace_offering_referrals_head_o_item.py +13 -0
  261. waldur_api_client/models/marketplace_offering_users_head_o_item.py +13 -0
  262. waldur_api_client/models/marketplace_offering_users_head_state_item.py +16 -0
  263. waldur_api_client/models/marketplace_offering_users_list_field_item.py +1 -0
  264. waldur_api_client/models/marketplace_offering_users_retrieve_field_item.py +1 -0
  265. waldur_api_client/models/marketplace_orders_head_o_item.py +15 -0
  266. waldur_api_client/models/marketplace_orders_head_state_item.py +15 -0
  267. waldur_api_client/models/marketplace_orders_head_type_item.py +10 -0
  268. waldur_api_client/models/marketplace_project_update_requests_head_state_item.py +12 -0
  269. waldur_api_client/models/marketplace_provider_offerings_groups_head_o_item.py +21 -0
  270. waldur_api_client/models/marketplace_provider_offerings_groups_head_state_item.py +11 -0
  271. waldur_api_client/models/marketplace_provider_offerings_head_o_item.py +21 -0
  272. waldur_api_client/models/marketplace_provider_offerings_head_state_item.py +11 -0
  273. waldur_api_client/models/marketplace_provider_resources_head_o_item.py +15 -0
  274. waldur_api_client/models/marketplace_provider_resources_head_state_item.py +13 -0
  275. waldur_api_client/models/marketplace_public_offerings_head_o_item.py +21 -0
  276. waldur_api_client/models/marketplace_public_offerings_head_state_item.py +11 -0
  277. waldur_api_client/models/marketplace_resources_head_o_item.py +15 -0
  278. waldur_api_client/models/marketplace_resources_head_state_item.py +13 -0
  279. waldur_api_client/models/marketplace_robot_accounts_head_state.py +13 -0
  280. waldur_api_client/models/marketplace_screenshots_head_o_item.py +11 -0
  281. waldur_api_client/models/marketplace_service_providers_head_o_item.py +9 -0
  282. waldur_api_client/models/offering_user.py +9 -0
  283. waldur_api_client/models/openstack_backups_head_state_item.py +15 -0
  284. waldur_api_client/models/openstack_flavors_head_o_item.py +13 -0
  285. waldur_api_client/models/openstack_floating_ips_head_state_item.py +15 -0
  286. waldur_api_client/models/openstack_instances_head_state_item.py +15 -0
  287. waldur_api_client/models/openstack_marketplace_tenants_head_state_item.py +15 -0
  288. waldur_api_client/models/openstack_network_rbac_policies_head_policy_type.py +9 -0
  289. waldur_api_client/models/openstack_networks_head_state_item.py +15 -0
  290. waldur_api_client/models/openstack_ports_head_o_item.py +9 -0
  291. waldur_api_client/models/openstack_security_groups_head_state_item.py +15 -0
  292. waldur_api_client/models/openstack_server_groups_head_state_item.py +15 -0
  293. waldur_api_client/models/openstack_snapshots_head_state_item.py +15 -0
  294. waldur_api_client/models/openstack_subnets_head_state_item.py +15 -0
  295. waldur_api_client/models/openstack_tenants_head_state_item.py +15 -0
  296. waldur_api_client/models/openstack_volumes_head_state_item.py +15 -0
  297. waldur_api_client/models/payment_profiles_head_o_item.py +13 -0
  298. waldur_api_client/models/payment_profiles_head_payment_type_item.py +10 -0
  299. waldur_api_client/models/permission.py +15 -4
  300. waldur_api_client/models/project_credits_head_o_item.py +15 -0
  301. waldur_api_client/models/projects_head_o_item.py +23 -0
  302. waldur_api_client/models/promotions_campaigns_head_o_item.py +11 -0
  303. waldur_api_client/models/promotions_campaigns_head_state_item.py +10 -0
  304. waldur_api_client/models/proposal_proposals_head_o_item.py +17 -0
  305. waldur_api_client/models/proposal_proposals_head_state_item.py +13 -0
  306. waldur_api_client/models/proposal_protected_calls_head_o_item.py +13 -0
  307. waldur_api_client/models/proposal_protected_calls_head_state_item.py +10 -0
  308. waldur_api_client/models/proposal_protected_calls_list_field_item.py +1 -0
  309. waldur_api_client/models/proposal_protected_calls_retrieve_field_item.py +1 -0
  310. waldur_api_client/models/proposal_public_calls_head_o_item.py +13 -0
  311. waldur_api_client/models/proposal_public_calls_head_state_item.py +10 -0
  312. waldur_api_client/models/proposal_public_calls_list_field_item.py +1 -0
  313. waldur_api_client/models/proposal_public_calls_retrieve_field_item.py +1 -0
  314. waldur_api_client/models/proposal_requested_offerings_head_o_item.py +15 -0
  315. waldur_api_client/models/proposal_requested_offerings_head_state_item.py +10 -0
  316. waldur_api_client/models/proposal_requested_resources_head_o_item.py +15 -0
  317. waldur_api_client/models/proposal_reviews_head_o_item.py +11 -0
  318. waldur_api_client/models/proposal_reviews_head_state_item.py +11 -0
  319. waldur_api_client/models/protected_call.py +16 -0
  320. waldur_api_client/models/provider_invoice_items_head_o_item.py +15 -0
  321. waldur_api_client/models/public_call.py +16 -0
  322. waldur_api_client/models/rancher_apps_head_state_item.py +15 -0
  323. waldur_api_client/models/rancher_clusters_head_state_item.py +15 -0
  324. waldur_api_client/models/rancher_ingresses_head_state_item.py +15 -0
  325. waldur_api_client/models/rancher_namespaces_head_o_item.py +13 -0
  326. waldur_api_client/models/rancher_role_templates_head_o_item.py +11 -0
  327. waldur_api_client/models/rancher_services_head_state_item.py +15 -0
  328. waldur_api_client/models/rancher_templates_head_o_item.py +11 -0
  329. waldur_api_client/models/rancher_workloads_head_o_item.py +15 -0
  330. waldur_api_client/models/service_settings_head_state_item.py +15 -0
  331. waldur_api_client/models/slurm_allocations_head_state_item.py +15 -0
  332. waldur_api_client/models/support_comments_head_o_item.py +11 -0
  333. waldur_api_client/models/support_issues_head_o_item.py +35 -0
  334. waldur_api_client/models/user_agreements_head_agreement_type.py +9 -0
  335. waldur_api_client/models/user_group_invitations_head_o_item.py +9 -0
  336. waldur_api_client/models/user_invitations_head_o_item.py +15 -0
  337. waldur_api_client/models/user_invitations_head_state_item.py +14 -0
  338. waldur_api_client/models/user_permission_requests_head_o_item.py +11 -0
  339. waldur_api_client/models/user_permission_requests_head_state_item.py +12 -0
  340. waldur_api_client/models/user_permissions_head_o_item.py +21 -0
  341. waldur_api_client/models/users_head_o_item.py +31 -0
  342. waldur_api_client/models/vmware_disks_head_state_item.py +15 -0
  343. waldur_api_client/models/vmware_ports_head_state_item.py +15 -0
  344. waldur_api_client/models/vmware_virtual_machine_head_state_item.py +15 -0
  345. {waldur_api_client-7.7.3.dist-info → waldur_api_client-7.7.4.dist-info}/METADATA +1 -1
  346. {waldur_api_client-7.7.3.dist-info → waldur_api_client-7.7.4.dist-info}/RECORD +348 -17
  347. {waldur_api_client-7.7.3.dist-info → waldur_api_client-7.7.4.dist-info}/LICENSE +0 -0
  348. {waldur_api_client-7.7.3.dist-info → waldur_api_client-7.7.4.dist-info}/WHEEL +0 -0
@@ -0,0 +1,202 @@
1
+ from http import HTTPStatus
2
+ from typing import Any, Union
3
+ from uuid import UUID
4
+
5
+ import httpx
6
+
7
+ from ... import errors
8
+ from ...client import AuthenticatedClient, Client
9
+ from ...models.user_invitations_head_o_item import UserInvitationsHeadOItem
10
+ from ...models.user_invitations_head_state_item import UserInvitationsHeadStateItem
11
+ from ...types import UNSET, Response, Unset
12
+
13
+
14
+ def _get_kwargs(
15
+ *,
16
+ civil_number: Union[Unset, str] = UNSET,
17
+ customer_uuid: Union[Unset, UUID] = UNSET,
18
+ email: Union[Unset, str] = UNSET,
19
+ o: Union[Unset, list[UserInvitationsHeadOItem]] = UNSET,
20
+ page: Union[Unset, int] = UNSET,
21
+ page_size: Union[Unset, int] = UNSET,
22
+ role_name: Union[Unset, str] = UNSET,
23
+ role_uuid: Union[Unset, UUID] = UNSET,
24
+ scope_type: Union[Unset, str] = UNSET,
25
+ state: Union[Unset, list[UserInvitationsHeadStateItem]] = UNSET,
26
+ ) -> dict[str, Any]:
27
+ params: dict[str, Any] = {}
28
+
29
+ params["civil_number"] = civil_number
30
+
31
+ json_customer_uuid: Union[Unset, str] = UNSET
32
+ if not isinstance(customer_uuid, Unset):
33
+ json_customer_uuid = str(customer_uuid)
34
+ params["customer_uuid"] = json_customer_uuid
35
+
36
+ params["email"] = email
37
+
38
+ json_o: Union[Unset, list[str]] = UNSET
39
+ if not isinstance(o, Unset):
40
+ json_o = []
41
+ for o_item_data in o:
42
+ o_item = o_item_data.value
43
+ json_o.append(o_item)
44
+
45
+ params["o"] = json_o
46
+
47
+ params["page"] = page
48
+
49
+ params["page_size"] = page_size
50
+
51
+ params["role_name"] = role_name
52
+
53
+ json_role_uuid: Union[Unset, str] = UNSET
54
+ if not isinstance(role_uuid, Unset):
55
+ json_role_uuid = str(role_uuid)
56
+ params["role_uuid"] = json_role_uuid
57
+
58
+ params["scope_type"] = scope_type
59
+
60
+ json_state: Union[Unset, list[str]] = UNSET
61
+ if not isinstance(state, Unset):
62
+ json_state = []
63
+ for state_item_data in state:
64
+ state_item = state_item_data.value
65
+ json_state.append(state_item)
66
+
67
+ params["state"] = json_state
68
+
69
+ params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
70
+
71
+ _kwargs: dict[str, Any] = {
72
+ "method": "head",
73
+ "url": "/api/user-invitations/",
74
+ "params": params,
75
+ }
76
+
77
+ return _kwargs
78
+
79
+
80
+ def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Any:
81
+ if response.status_code == 200:
82
+ return None
83
+ raise errors.UnexpectedStatus(response.status_code, response.content)
84
+
85
+
86
+ def _build_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Response[Any]:
87
+ return Response(
88
+ status_code=HTTPStatus(response.status_code),
89
+ content=response.content,
90
+ headers=response.headers,
91
+ parsed=_parse_response(client=client, response=response),
92
+ )
93
+
94
+
95
+ def sync_detailed(
96
+ *,
97
+ client: AuthenticatedClient,
98
+ civil_number: Union[Unset, str] = UNSET,
99
+ customer_uuid: Union[Unset, UUID] = UNSET,
100
+ email: Union[Unset, str] = UNSET,
101
+ o: Union[Unset, list[UserInvitationsHeadOItem]] = UNSET,
102
+ page: Union[Unset, int] = UNSET,
103
+ page_size: Union[Unset, int] = UNSET,
104
+ role_name: Union[Unset, str] = UNSET,
105
+ role_uuid: Union[Unset, UUID] = UNSET,
106
+ scope_type: Union[Unset, str] = UNSET,
107
+ state: Union[Unset, list[UserInvitationsHeadStateItem]] = UNSET,
108
+ ) -> Response[Any]:
109
+ """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
110
+
111
+ Args:
112
+ civil_number (Union[Unset, str]):
113
+ customer_uuid (Union[Unset, UUID]):
114
+ email (Union[Unset, str]):
115
+ o (Union[Unset, list[UserInvitationsHeadOItem]]):
116
+ page (Union[Unset, int]):
117
+ page_size (Union[Unset, int]):
118
+ role_name (Union[Unset, str]):
119
+ role_uuid (Union[Unset, UUID]):
120
+ scope_type (Union[Unset, str]):
121
+ state (Union[Unset, list[UserInvitationsHeadStateItem]]):
122
+
123
+ Raises:
124
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
125
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
126
+
127
+ Returns:
128
+ Response[Any]
129
+ """
130
+
131
+ kwargs = _get_kwargs(
132
+ civil_number=civil_number,
133
+ customer_uuid=customer_uuid,
134
+ email=email,
135
+ o=o,
136
+ page=page,
137
+ page_size=page_size,
138
+ role_name=role_name,
139
+ role_uuid=role_uuid,
140
+ scope_type=scope_type,
141
+ state=state,
142
+ )
143
+
144
+ response = client.get_httpx_client().request(
145
+ **kwargs,
146
+ )
147
+
148
+ return _build_response(client=client, response=response)
149
+
150
+
151
+ async def asyncio_detailed(
152
+ *,
153
+ client: AuthenticatedClient,
154
+ civil_number: Union[Unset, str] = UNSET,
155
+ customer_uuid: Union[Unset, UUID] = UNSET,
156
+ email: Union[Unset, str] = UNSET,
157
+ o: Union[Unset, list[UserInvitationsHeadOItem]] = UNSET,
158
+ page: Union[Unset, int] = UNSET,
159
+ page_size: Union[Unset, int] = UNSET,
160
+ role_name: Union[Unset, str] = UNSET,
161
+ role_uuid: Union[Unset, UUID] = UNSET,
162
+ scope_type: Union[Unset, str] = UNSET,
163
+ state: Union[Unset, list[UserInvitationsHeadStateItem]] = UNSET,
164
+ ) -> Response[Any]:
165
+ """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
166
+
167
+ Args:
168
+ civil_number (Union[Unset, str]):
169
+ customer_uuid (Union[Unset, UUID]):
170
+ email (Union[Unset, str]):
171
+ o (Union[Unset, list[UserInvitationsHeadOItem]]):
172
+ page (Union[Unset, int]):
173
+ page_size (Union[Unset, int]):
174
+ role_name (Union[Unset, str]):
175
+ role_uuid (Union[Unset, UUID]):
176
+ scope_type (Union[Unset, str]):
177
+ state (Union[Unset, list[UserInvitationsHeadStateItem]]):
178
+
179
+ Raises:
180
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
181
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
182
+
183
+ Returns:
184
+ Response[Any]
185
+ """
186
+
187
+ kwargs = _get_kwargs(
188
+ civil_number=civil_number,
189
+ customer_uuid=customer_uuid,
190
+ email=email,
191
+ o=o,
192
+ page=page,
193
+ page_size=page_size,
194
+ role_name=role_name,
195
+ role_uuid=role_uuid,
196
+ scope_type=scope_type,
197
+ state=state,
198
+ )
199
+
200
+ response = await client.get_async_httpx_client().request(**kwargs)
201
+
202
+ return _build_response(client=client, response=response)
@@ -0,0 +1,178 @@
1
+ from http import HTTPStatus
2
+ from typing import Any, Union
3
+ from uuid import UUID
4
+
5
+ import httpx
6
+
7
+ from ... import errors
8
+ from ...client import AuthenticatedClient, Client
9
+ from ...models.user_permission_requests_head_o_item import UserPermissionRequestsHeadOItem
10
+ from ...models.user_permission_requests_head_state_item import UserPermissionRequestsHeadStateItem
11
+ from ...types import UNSET, Response, Unset
12
+
13
+
14
+ def _get_kwargs(
15
+ *,
16
+ created_by: Union[Unset, UUID] = UNSET,
17
+ customer_uuid: Union[Unset, UUID] = UNSET,
18
+ invitation: Union[Unset, UUID] = UNSET,
19
+ o: Union[Unset, list[UserPermissionRequestsHeadOItem]] = UNSET,
20
+ page: Union[Unset, int] = UNSET,
21
+ page_size: Union[Unset, int] = UNSET,
22
+ state: Union[Unset, list[UserPermissionRequestsHeadStateItem]] = UNSET,
23
+ ) -> dict[str, Any]:
24
+ params: dict[str, Any] = {}
25
+
26
+ json_created_by: Union[Unset, str] = UNSET
27
+ if not isinstance(created_by, Unset):
28
+ json_created_by = str(created_by)
29
+ params["created_by"] = json_created_by
30
+
31
+ json_customer_uuid: Union[Unset, str] = UNSET
32
+ if not isinstance(customer_uuid, Unset):
33
+ json_customer_uuid = str(customer_uuid)
34
+ params["customer_uuid"] = json_customer_uuid
35
+
36
+ json_invitation: Union[Unset, str] = UNSET
37
+ if not isinstance(invitation, Unset):
38
+ json_invitation = str(invitation)
39
+ params["invitation"] = json_invitation
40
+
41
+ json_o: Union[Unset, list[str]] = UNSET
42
+ if not isinstance(o, Unset):
43
+ json_o = []
44
+ for o_item_data in o:
45
+ o_item = o_item_data.value
46
+ json_o.append(o_item)
47
+
48
+ params["o"] = json_o
49
+
50
+ params["page"] = page
51
+
52
+ params["page_size"] = page_size
53
+
54
+ json_state: Union[Unset, list[str]] = UNSET
55
+ if not isinstance(state, Unset):
56
+ json_state = []
57
+ for state_item_data in state:
58
+ state_item = state_item_data.value
59
+ json_state.append(state_item)
60
+
61
+ params["state"] = json_state
62
+
63
+ params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
64
+
65
+ _kwargs: dict[str, Any] = {
66
+ "method": "head",
67
+ "url": "/api/user-permission-requests/",
68
+ "params": params,
69
+ }
70
+
71
+ return _kwargs
72
+
73
+
74
+ def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Any:
75
+ if response.status_code == 200:
76
+ return None
77
+ raise errors.UnexpectedStatus(response.status_code, response.content)
78
+
79
+
80
+ def _build_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Response[Any]:
81
+ return Response(
82
+ status_code=HTTPStatus(response.status_code),
83
+ content=response.content,
84
+ headers=response.headers,
85
+ parsed=_parse_response(client=client, response=response),
86
+ )
87
+
88
+
89
+ def sync_detailed(
90
+ *,
91
+ client: AuthenticatedClient,
92
+ created_by: Union[Unset, UUID] = UNSET,
93
+ customer_uuid: Union[Unset, UUID] = UNSET,
94
+ invitation: Union[Unset, UUID] = UNSET,
95
+ o: Union[Unset, list[UserPermissionRequestsHeadOItem]] = UNSET,
96
+ page: Union[Unset, int] = UNSET,
97
+ page_size: Union[Unset, int] = UNSET,
98
+ state: Union[Unset, list[UserPermissionRequestsHeadStateItem]] = UNSET,
99
+ ) -> Response[Any]:
100
+ """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
101
+
102
+ Args:
103
+ created_by (Union[Unset, UUID]):
104
+ customer_uuid (Union[Unset, UUID]):
105
+ invitation (Union[Unset, UUID]):
106
+ o (Union[Unset, list[UserPermissionRequestsHeadOItem]]):
107
+ page (Union[Unset, int]):
108
+ page_size (Union[Unset, int]):
109
+ state (Union[Unset, list[UserPermissionRequestsHeadStateItem]]):
110
+
111
+ Raises:
112
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
113
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
114
+
115
+ Returns:
116
+ Response[Any]
117
+ """
118
+
119
+ kwargs = _get_kwargs(
120
+ created_by=created_by,
121
+ customer_uuid=customer_uuid,
122
+ invitation=invitation,
123
+ o=o,
124
+ page=page,
125
+ page_size=page_size,
126
+ state=state,
127
+ )
128
+
129
+ response = client.get_httpx_client().request(
130
+ **kwargs,
131
+ )
132
+
133
+ return _build_response(client=client, response=response)
134
+
135
+
136
+ async def asyncio_detailed(
137
+ *,
138
+ client: AuthenticatedClient,
139
+ created_by: Union[Unset, UUID] = UNSET,
140
+ customer_uuid: Union[Unset, UUID] = UNSET,
141
+ invitation: Union[Unset, UUID] = UNSET,
142
+ o: Union[Unset, list[UserPermissionRequestsHeadOItem]] = UNSET,
143
+ page: Union[Unset, int] = UNSET,
144
+ page_size: Union[Unset, int] = UNSET,
145
+ state: Union[Unset, list[UserPermissionRequestsHeadStateItem]] = UNSET,
146
+ ) -> Response[Any]:
147
+ """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
148
+
149
+ Args:
150
+ created_by (Union[Unset, UUID]):
151
+ customer_uuid (Union[Unset, UUID]):
152
+ invitation (Union[Unset, UUID]):
153
+ o (Union[Unset, list[UserPermissionRequestsHeadOItem]]):
154
+ page (Union[Unset, int]):
155
+ page_size (Union[Unset, int]):
156
+ state (Union[Unset, list[UserPermissionRequestsHeadStateItem]]):
157
+
158
+ Raises:
159
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
160
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
161
+
162
+ Returns:
163
+ Response[Any]
164
+ """
165
+
166
+ kwargs = _get_kwargs(
167
+ created_by=created_by,
168
+ customer_uuid=customer_uuid,
169
+ invitation=invitation,
170
+ o=o,
171
+ page=page,
172
+ page_size=page_size,
173
+ state=state,
174
+ )
175
+
176
+ response = await client.get_async_httpx_client().request(**kwargs)
177
+
178
+ return _build_response(client=client, response=response)
@@ -0,0 +1,267 @@
1
+ import datetime
2
+ from http import HTTPStatus
3
+ from typing import Any, Union
4
+ from uuid import UUID
5
+
6
+ import httpx
7
+
8
+ from ... import errors
9
+ from ...client import AuthenticatedClient, Client
10
+ from ...models.user_permissions_head_o_item import UserPermissionsHeadOItem
11
+ from ...types import UNSET, Response, Unset
12
+
13
+
14
+ def _get_kwargs(
15
+ *,
16
+ created: Union[Unset, datetime.datetime] = UNSET,
17
+ expiration_time: Union[Unset, datetime.datetime] = UNSET,
18
+ full_name: Union[Unset, str] = UNSET,
19
+ modified: Union[Unset, datetime.datetime] = UNSET,
20
+ native_name: Union[Unset, str] = UNSET,
21
+ o: Union[Unset, list[UserPermissionsHeadOItem]] = UNSET,
22
+ page: Union[Unset, int] = UNSET,
23
+ page_size: Union[Unset, int] = UNSET,
24
+ role_name: Union[Unset, str] = UNSET,
25
+ role_uuid: Union[Unset, UUID] = UNSET,
26
+ scope_name: Union[Unset, str] = UNSET,
27
+ scope_type: Union[Unset, str] = UNSET,
28
+ scope_uuid: Union[Unset, str] = UNSET,
29
+ user: Union[Unset, UUID] = UNSET,
30
+ user_slug: Union[Unset, str] = UNSET,
31
+ user_url: Union[Unset, str] = UNSET,
32
+ username: Union[Unset, str] = UNSET,
33
+ ) -> dict[str, Any]:
34
+ params: dict[str, Any] = {}
35
+
36
+ json_created: Union[Unset, str] = UNSET
37
+ if not isinstance(created, Unset):
38
+ json_created = created.isoformat()
39
+ params["created"] = json_created
40
+
41
+ json_expiration_time: Union[Unset, str] = UNSET
42
+ if not isinstance(expiration_time, Unset):
43
+ json_expiration_time = expiration_time.isoformat()
44
+ params["expiration_time"] = json_expiration_time
45
+
46
+ params["full_name"] = full_name
47
+
48
+ json_modified: Union[Unset, str] = UNSET
49
+ if not isinstance(modified, Unset):
50
+ json_modified = modified.isoformat()
51
+ params["modified"] = json_modified
52
+
53
+ params["native_name"] = native_name
54
+
55
+ json_o: Union[Unset, list[str]] = UNSET
56
+ if not isinstance(o, Unset):
57
+ json_o = []
58
+ for o_item_data in o:
59
+ o_item = o_item_data.value
60
+ json_o.append(o_item)
61
+
62
+ params["o"] = json_o
63
+
64
+ params["page"] = page
65
+
66
+ params["page_size"] = page_size
67
+
68
+ params["role_name"] = role_name
69
+
70
+ json_role_uuid: Union[Unset, str] = UNSET
71
+ if not isinstance(role_uuid, Unset):
72
+ json_role_uuid = str(role_uuid)
73
+ params["role_uuid"] = json_role_uuid
74
+
75
+ params["scope_name"] = scope_name
76
+
77
+ params["scope_type"] = scope_type
78
+
79
+ params["scope_uuid"] = scope_uuid
80
+
81
+ json_user: Union[Unset, str] = UNSET
82
+ if not isinstance(user, Unset):
83
+ json_user = str(user)
84
+ params["user"] = json_user
85
+
86
+ params["user_slug"] = user_slug
87
+
88
+ params["user_url"] = user_url
89
+
90
+ params["username"] = username
91
+
92
+ params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
93
+
94
+ _kwargs: dict[str, Any] = {
95
+ "method": "head",
96
+ "url": "/api/user-permissions/",
97
+ "params": params,
98
+ }
99
+
100
+ return _kwargs
101
+
102
+
103
+ def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Any:
104
+ if response.status_code == 200:
105
+ return None
106
+ raise errors.UnexpectedStatus(response.status_code, response.content)
107
+
108
+
109
+ def _build_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Response[Any]:
110
+ return Response(
111
+ status_code=HTTPStatus(response.status_code),
112
+ content=response.content,
113
+ headers=response.headers,
114
+ parsed=_parse_response(client=client, response=response),
115
+ )
116
+
117
+
118
+ def sync_detailed(
119
+ *,
120
+ client: AuthenticatedClient,
121
+ created: Union[Unset, datetime.datetime] = UNSET,
122
+ expiration_time: Union[Unset, datetime.datetime] = UNSET,
123
+ full_name: Union[Unset, str] = UNSET,
124
+ modified: Union[Unset, datetime.datetime] = UNSET,
125
+ native_name: Union[Unset, str] = UNSET,
126
+ o: Union[Unset, list[UserPermissionsHeadOItem]] = UNSET,
127
+ page: Union[Unset, int] = UNSET,
128
+ page_size: Union[Unset, int] = UNSET,
129
+ role_name: Union[Unset, str] = UNSET,
130
+ role_uuid: Union[Unset, UUID] = UNSET,
131
+ scope_name: Union[Unset, str] = UNSET,
132
+ scope_type: Union[Unset, str] = UNSET,
133
+ scope_uuid: Union[Unset, str] = UNSET,
134
+ user: Union[Unset, UUID] = UNSET,
135
+ user_slug: Union[Unset, str] = UNSET,
136
+ user_url: Union[Unset, str] = UNSET,
137
+ username: Union[Unset, str] = UNSET,
138
+ ) -> Response[Any]:
139
+ """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
140
+
141
+ Args:
142
+ created (Union[Unset, datetime.datetime]):
143
+ expiration_time (Union[Unset, datetime.datetime]):
144
+ full_name (Union[Unset, str]):
145
+ modified (Union[Unset, datetime.datetime]):
146
+ native_name (Union[Unset, str]):
147
+ o (Union[Unset, list[UserPermissionsHeadOItem]]):
148
+ page (Union[Unset, int]):
149
+ page_size (Union[Unset, int]):
150
+ role_name (Union[Unset, str]):
151
+ role_uuid (Union[Unset, UUID]):
152
+ scope_name (Union[Unset, str]):
153
+ scope_type (Union[Unset, str]):
154
+ scope_uuid (Union[Unset, str]):
155
+ user (Union[Unset, UUID]):
156
+ user_slug (Union[Unset, str]):
157
+ user_url (Union[Unset, str]):
158
+ username (Union[Unset, str]):
159
+
160
+ Raises:
161
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
162
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
163
+
164
+ Returns:
165
+ Response[Any]
166
+ """
167
+
168
+ kwargs = _get_kwargs(
169
+ created=created,
170
+ expiration_time=expiration_time,
171
+ full_name=full_name,
172
+ modified=modified,
173
+ native_name=native_name,
174
+ o=o,
175
+ page=page,
176
+ page_size=page_size,
177
+ role_name=role_name,
178
+ role_uuid=role_uuid,
179
+ scope_name=scope_name,
180
+ scope_type=scope_type,
181
+ scope_uuid=scope_uuid,
182
+ user=user,
183
+ user_slug=user_slug,
184
+ user_url=user_url,
185
+ username=username,
186
+ )
187
+
188
+ response = client.get_httpx_client().request(
189
+ **kwargs,
190
+ )
191
+
192
+ return _build_response(client=client, response=response)
193
+
194
+
195
+ async def asyncio_detailed(
196
+ *,
197
+ client: AuthenticatedClient,
198
+ created: Union[Unset, datetime.datetime] = UNSET,
199
+ expiration_time: Union[Unset, datetime.datetime] = UNSET,
200
+ full_name: Union[Unset, str] = UNSET,
201
+ modified: Union[Unset, datetime.datetime] = UNSET,
202
+ native_name: Union[Unset, str] = UNSET,
203
+ o: Union[Unset, list[UserPermissionsHeadOItem]] = UNSET,
204
+ page: Union[Unset, int] = UNSET,
205
+ page_size: Union[Unset, int] = UNSET,
206
+ role_name: Union[Unset, str] = UNSET,
207
+ role_uuid: Union[Unset, UUID] = UNSET,
208
+ scope_name: Union[Unset, str] = UNSET,
209
+ scope_type: Union[Unset, str] = UNSET,
210
+ scope_uuid: Union[Unset, str] = UNSET,
211
+ user: Union[Unset, UUID] = UNSET,
212
+ user_slug: Union[Unset, str] = UNSET,
213
+ user_url: Union[Unset, str] = UNSET,
214
+ username: Union[Unset, str] = UNSET,
215
+ ) -> Response[Any]:
216
+ """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
217
+
218
+ Args:
219
+ created (Union[Unset, datetime.datetime]):
220
+ expiration_time (Union[Unset, datetime.datetime]):
221
+ full_name (Union[Unset, str]):
222
+ modified (Union[Unset, datetime.datetime]):
223
+ native_name (Union[Unset, str]):
224
+ o (Union[Unset, list[UserPermissionsHeadOItem]]):
225
+ page (Union[Unset, int]):
226
+ page_size (Union[Unset, int]):
227
+ role_name (Union[Unset, str]):
228
+ role_uuid (Union[Unset, UUID]):
229
+ scope_name (Union[Unset, str]):
230
+ scope_type (Union[Unset, str]):
231
+ scope_uuid (Union[Unset, str]):
232
+ user (Union[Unset, UUID]):
233
+ user_slug (Union[Unset, str]):
234
+ user_url (Union[Unset, str]):
235
+ username (Union[Unset, str]):
236
+
237
+ Raises:
238
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
239
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
240
+
241
+ Returns:
242
+ Response[Any]
243
+ """
244
+
245
+ kwargs = _get_kwargs(
246
+ created=created,
247
+ expiration_time=expiration_time,
248
+ full_name=full_name,
249
+ modified=modified,
250
+ native_name=native_name,
251
+ o=o,
252
+ page=page,
253
+ page_size=page_size,
254
+ role_name=role_name,
255
+ role_uuid=role_uuid,
256
+ scope_name=scope_name,
257
+ scope_type=scope_type,
258
+ scope_uuid=scope_uuid,
259
+ user=user,
260
+ user_slug=user_slug,
261
+ user_url=user_url,
262
+ username=username,
263
+ )
264
+
265
+ response = await client.get_async_httpx_client().request(**kwargs)
266
+
267
+ return _build_response(client=client, response=response)