waldur-api-client 7.7.2__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 (363) 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_list.py +23 -0
  97. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_set_ok.py +89 -0
  98. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_set_pending_account_linking.py +105 -0
  99. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_set_pending_additional_validation.py +105 -0
  100. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_set_validation_complete.py +89 -0
  101. waldur_api_client/api/marketplace_orders/marketplace_orders_head.py +338 -0
  102. waldur_api_client/api/marketplace_plan_components/marketplace_plan_components_head.py +150 -0
  103. waldur_api_client/api/marketplace_plans/marketplace_plans_head.py +141 -0
  104. waldur_api_client/api/marketplace_plans/marketplace_plans_usage_stats_head.py +154 -0
  105. waldur_api_client/api/marketplace_project_estimated_cost_policies/marketplace_project_estimated_cost_policies_actions_head.py +74 -0
  106. waldur_api_client/api/marketplace_project_estimated_cost_policies/marketplace_project_estimated_cost_policies_head.py +171 -0
  107. waldur_api_client/api/marketplace_project_service_accounts/marketplace_project_service_accounts_head.py +147 -0
  108. waldur_api_client/api/marketplace_project_update_requests/marketplace_project_update_requests_head.py +173 -0
  109. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_groups_head.py +403 -0
  110. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_head.py +403 -0
  111. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_head.py +407 -0
  112. waldur_api_client/api/marketplace_public_offerings/marketplace_public_offerings_head.py +403 -0
  113. waldur_api_client/api/marketplace_remote_synchronisations/marketplace_remote_synchronisations_head.py +107 -0
  114. waldur_api_client/api/marketplace_resource_users/marketplace_resource_users_head.py +162 -0
  115. waldur_api_client/api/marketplace_resources/marketplace_resources_head.py +407 -0
  116. waldur_api_client/api/marketplace_robot_accounts/marketplace_robot_accounts_head.py +213 -0
  117. waldur_api_client/api/marketplace_screenshots/marketplace_screenshots_head.py +158 -0
  118. waldur_api_client/api/marketplace_script_async_dry_run/marketplace_script_async_dry_run_head.py +107 -0
  119. waldur_api_client/api/marketplace_sections/marketplace_sections_head.py +107 -0
  120. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_head.py +155 -0
  121. waldur_api_client/api/marketplace_stats/marketplace_stats_component_usages_head.py +107 -0
  122. waldur_api_client/api/marketplace_stats/marketplace_stats_component_usages_per_month_head.py +107 -0
  123. waldur_api_client/api/marketplace_stats/marketplace_stats_component_usages_per_project_head.py +107 -0
  124. waldur_api_client/api/marketplace_stats/marketplace_stats_count_active_resources_grouped_by_offering_country_head.py +107 -0
  125. waldur_api_client/api/marketplace_stats/marketplace_stats_count_active_resources_grouped_by_offering_head.py +107 -0
  126. waldur_api_client/api/marketplace_stats/marketplace_stats_count_active_resources_grouped_by_organization_group_head.py +107 -0
  127. waldur_api_client/api/marketplace_stats/marketplace_stats_count_projects_grouped_by_provider_and_industry_flag_head.py +107 -0
  128. waldur_api_client/api/marketplace_stats/marketplace_stats_count_projects_grouped_by_provider_and_oecd_head.py +107 -0
  129. waldur_api_client/api/marketplace_stats/marketplace_stats_count_projects_of_service_providers_grouped_by_oecd_head.py +107 -0
  130. waldur_api_client/api/marketplace_stats/marketplace_stats_count_projects_of_service_providers_head.py +107 -0
  131. waldur_api_client/api/marketplace_stats/marketplace_stats_count_unique_users_connected_with_active_resources_of_service_provider_head.py +107 -0
  132. waldur_api_client/api/marketplace_stats/marketplace_stats_count_users_of_service_providers_head.py +107 -0
  133. waldur_api_client/api/marketplace_stats/marketplace_stats_customer_member_count_head.py +107 -0
  134. waldur_api_client/api/marketplace_stats/marketplace_stats_offerings_counter_stats_head.py +107 -0
  135. waldur_api_client/api/marketplace_stats/marketplace_stats_organization_project_count_head.py +107 -0
  136. waldur_api_client/api/marketplace_stats/marketplace_stats_organization_resource_count_head.py +107 -0
  137. waldur_api_client/api/marketplace_stats/marketplace_stats_projects_limits_grouped_by_industry_flag_head.py +76 -0
  138. waldur_api_client/api/marketplace_stats/marketplace_stats_projects_limits_grouped_by_oecd_head.py +76 -0
  139. waldur_api_client/api/marketplace_stats/marketplace_stats_projects_usages_grouped_by_industry_flag_head.py +76 -0
  140. waldur_api_client/api/marketplace_stats/marketplace_stats_projects_usages_grouped_by_oecd_head.py +76 -0
  141. waldur_api_client/api/marketplace_stats/marketplace_stats_resources_limits_head.py +107 -0
  142. waldur_api_client/api/marketplace_stats/marketplace_stats_total_cost_of_active_resources_per_offering_head.py +107 -0
  143. waldur_api_client/api/notification_messages/notification_messages_head.py +161 -0
  144. waldur_api_client/api/notification_messages_templates/notification_messages_templates_head.py +152 -0
  145. waldur_api_client/api/openstack_backups/openstack_backups_head.py +338 -0
  146. waldur_api_client/api/openstack_flavors/openstack_flavors_head.py +287 -0
  147. waldur_api_client/api/openstack_flavors/openstack_flavors_usage_stats_head.py +74 -0
  148. waldur_api_client/api/openstack_floating_ips/openstack_floating_ips_head.py +344 -0
  149. waldur_api_client/api/openstack_images/openstack_images_head.py +180 -0
  150. waldur_api_client/api/openstack_images/openstack_images_usage_stats_head.py +74 -0
  151. waldur_api_client/api/openstack_instance_availability_zones/openstack_instance_availability_zones_head.py +168 -0
  152. waldur_api_client/api/openstack_instances/openstack_instances_head.py +356 -0
  153. waldur_api_client/api/openstack_marketplace_tenants/openstack_marketplace_tenants_head.py +296 -0
  154. waldur_api_client/api/openstack_migrations/openstack_migrations_head.py +132 -0
  155. waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_head.py +164 -0
  156. waldur_api_client/api/openstack_networks/openstack_networks_head.py +353 -0
  157. waldur_api_client/api/openstack_ports/openstack_ports_head.py +245 -0
  158. waldur_api_client/api/openstack_routers/openstack_routers_head.py +147 -0
  159. waldur_api_client/api/openstack_security_groups/openstack_security_groups_head.py +326 -0
  160. waldur_api_client/api/openstack_server_groups/openstack_server_groups_head.py +317 -0
  161. waldur_api_client/api/openstack_snapshots/openstack_snapshots_head.py +368 -0
  162. waldur_api_client/api/openstack_subnets/openstack_subnets_head.py +374 -0
  163. waldur_api_client/api/openstack_tenants/openstack_tenants_head.py +296 -0
  164. waldur_api_client/api/openstack_volume_availability_zones/openstack_volume_availability_zones_head.py +168 -0
  165. waldur_api_client/api/openstack_volume_types/openstack_volume_types_head.py +180 -0
  166. waldur_api_client/api/openstack_volume_types/openstack_volume_types_names_head.py +76 -0
  167. waldur_api_client/api/openstack_volumes/openstack_volumes_head.py +389 -0
  168. waldur_api_client/api/organization_groups/organization_groups_head.py +147 -0
  169. waldur_api_client/api/payment_profiles/payment_profiles_head.py +172 -0
  170. waldur_api_client/api/payments/payments_head.py +142 -0
  171. waldur_api_client/api/project_credits/project_credits_head.py +176 -0
  172. waldur_api_client/api/project_quotas/project_quotas_head.py +107 -0
  173. waldur_api_client/api/project_types/project_types_head.py +125 -0
  174. waldur_api_client/api/projects/projects_head.py +274 -0
  175. waldur_api_client/api/promotions_campaigns/promotions_campaigns_head.py +218 -0
  176. waldur_api_client/api/proposal_proposals/proposal_proposals_head.py +187 -0
  177. waldur_api_client/api/proposal_protected_calls/proposal_protected_calls_head.py +214 -0
  178. waldur_api_client/api/proposal_public_calls/proposal_public_calls_head.py +214 -0
  179. waldur_api_client/api/proposal_requested_offerings/proposal_requested_offerings_head.py +208 -0
  180. waldur_api_client/api/proposal_requested_resources/proposal_requested_resources_head.py +201 -0
  181. waldur_api_client/api/proposal_reviews/proposal_reviews_head.py +208 -0
  182. waldur_api_client/api/provider_invoice_items/provider_invoice_items_head.py +179 -0
  183. waldur_api_client/api/rancher_apps/rancher_apps_head.py +332 -0
  184. waldur_api_client/api/rancher_catalogs/rancher_catalogs_head.py +107 -0
  185. waldur_api_client/api/rancher_cluster_security_groups/rancher_cluster_security_groups_head.py +138 -0
  186. waldur_api_client/api/rancher_cluster_templates/rancher_cluster_templates_head.py +107 -0
  187. waldur_api_client/api/rancher_clusters/rancher_clusters_head.py +296 -0
  188. waldur_api_client/api/rancher_hpas/rancher_hpas_head.py +195 -0
  189. waldur_api_client/api/rancher_ingresses/rancher_ingresses_head.py +332 -0
  190. waldur_api_client/api/rancher_namespaces/rancher_namespaces_head.py +188 -0
  191. waldur_api_client/api/rancher_nodes/rancher_nodes_head.py +120 -0
  192. waldur_api_client/api/rancher_projects/rancher_projects_head.py +159 -0
  193. waldur_api_client/api/rancher_role_templates/rancher_role_templates_head.py +155 -0
  194. waldur_api_client/api/rancher_services/rancher_services_head.py +332 -0
  195. waldur_api_client/api/rancher_templates/rancher_templates_head.py +200 -0
  196. waldur_api_client/api/rancher_users/rancher_users_head.py +171 -0
  197. waldur_api_client/api/rancher_workloads/rancher_workloads_head.py +200 -0
  198. waldur_api_client/api/roles/roles_head.py +134 -0
  199. waldur_api_client/api/service_settings/service_settings_head.py +203 -0
  200. waldur_api_client/api/slurm_allocation_user_usage/slurm_allocation_user_usage_head.py +168 -0
  201. waldur_api_client/api/slurm_allocations/slurm_allocations_head.py +305 -0
  202. waldur_api_client/api/slurm_associations/slurm_associations_head.py +129 -0
  203. waldur_api_client/api/slurm_jobs/slurm_jobs_head.py +107 -0
  204. waldur_api_client/api/support_attachments/support_attachments_head.py +129 -0
  205. waldur_api_client/api/support_comments/support_comments_head.py +191 -0
  206. waldur_api_client/api/support_feedbacks/support_feedbacks_head.py +202 -0
  207. waldur_api_client/api/support_issues/support_issues_head.py +314 -0
  208. waldur_api_client/api/support_priorities/support_priorities_head.py +125 -0
  209. waldur_api_client/api/support_templates/support_templates_head.py +107 -0
  210. waldur_api_client/api/support_users/support_users_head.py +134 -0
  211. waldur_api_client/api/user_agreements/user_agreements_head.py +121 -0
  212. waldur_api_client/api/user_group_invitations/user_group_invitations_head.py +176 -0
  213. waldur_api_client/api/user_invitations/user_invitations_head.py +202 -0
  214. waldur_api_client/api/user_permission_requests/user_permission_requests_head.py +178 -0
  215. waldur_api_client/api/user_permissions/user_permissions_head.py +267 -0
  216. waldur_api_client/api/users/users_head.py +348 -0
  217. waldur_api_client/api/users/users_me_head.py +76 -0
  218. waldur_api_client/api/vmware_clusters/vmware_clusters_head.py +159 -0
  219. waldur_api_client/api/vmware_datastores/vmware_datastores_head.py +159 -0
  220. waldur_api_client/api/vmware_disks/vmware_disks_head.py +317 -0
  221. waldur_api_client/api/vmware_folders/vmware_folders_head.py +159 -0
  222. waldur_api_client/api/vmware_networks/vmware_networks_head.py +171 -0
  223. waldur_api_client/api/vmware_ports/vmware_ports_head.py +338 -0
  224. waldur_api_client/api/vmware_templates/vmware_templates_head.py +147 -0
  225. waldur_api_client/api/vmware_virtual_machine/vmware_virtual_machine_head.py +305 -0
  226. waldur_api_client/models/__init__.py +230 -0
  227. waldur_api_client/models/admin_announcements_head_o_item.py +17 -0
  228. waldur_api_client/models/admin_announcements_head_type_item.py +10 -0
  229. waldur_api_client/models/aws_instances_head_state_item.py +15 -0
  230. waldur_api_client/models/azure_public_ips_head_state_item.py +15 -0
  231. waldur_api_client/models/azure_sql_databases_head_state_item.py +15 -0
  232. waldur_api_client/models/azure_sql_servers_head_state_item.py +15 -0
  233. waldur_api_client/models/azure_virtualmachines_head_state_item.py +15 -0
  234. waldur_api_client/models/backend_resource_req.py +8 -0
  235. waldur_api_client/models/backend_resource_requests_head_o_item.py +9 -0
  236. waldur_api_client/models/backend_resource_requests_head_state_item.py +11 -0
  237. waldur_api_client/models/backend_resources_head_o_item.py +9 -0
  238. waldur_api_client/models/booking_resources_head_o_item.py +15 -0
  239. waldur_api_client/models/booking_resources_head_state_item.py +13 -0
  240. waldur_api_client/models/broadcast_messages_head_o_item.py +13 -0
  241. waldur_api_client/models/broadcast_messages_head_state.py +10 -0
  242. waldur_api_client/models/call_managing_organisations_head_o_item.py +9 -0
  243. waldur_api_client/models/customer_credits_head_o_item.py +15 -0
  244. waldur_api_client/models/customer_permissions_reviews_head_o_item.py +11 -0
  245. waldur_api_client/models/digitalocean_droplets_head_state_item.py +15 -0
  246. waldur_api_client/models/digitalocean_images_head_o_item.py +11 -0
  247. waldur_api_client/models/email_logs_head_o_item.py +11 -0
  248. waldur_api_client/models/event_subscriptions_head_o_item.py +9 -0
  249. waldur_api_client/models/event_types_enum.py +1 -0
  250. waldur_api_client/models/events_head_o_item.py +9 -0
  251. waldur_api_client/models/group_invitation.py +27 -3
  252. waldur_api_client/models/group_invitation_request.py +18 -0
  253. waldur_api_client/models/hooks_web_head_content_type.py +9 -0
  254. waldur_api_client/models/impact_level_display_enum.py +11 -0
  255. waldur_api_client/models/invitation.py +10 -4
  256. waldur_api_client/models/invoices_head_o_item.py +13 -0
  257. waldur_api_client/models/invoices_head_state_item.py +11 -0
  258. waldur_api_client/models/keycloak_user_group_memberships_head_state_item.py +9 -0
  259. waldur_api_client/models/keys_head_o_item.py +9 -0
  260. waldur_api_client/models/maintenance_announcement.py +8 -0
  261. waldur_api_client/models/maintenance_announcement_offering.py +17 -0
  262. waldur_api_client/models/maintenance_announcement_state_enum.py +7 -7
  263. waldur_api_client/models/marketplace_categories_head_customers_offerings_state_item.py +11 -0
  264. waldur_api_client/models/marketplace_component_usages_head_o_item.py +11 -0
  265. waldur_api_client/models/marketplace_component_user_usages_head_o_item.py +13 -0
  266. waldur_api_client/models/marketplace_integration_statuses_head_o_item.py +9 -0
  267. waldur_api_client/models/marketplace_integration_statuses_head_status_item.py +10 -0
  268. waldur_api_client/models/marketplace_offering_files_head_o_item.py +11 -0
  269. waldur_api_client/models/marketplace_offering_permissions_head_o_item.py +21 -0
  270. waldur_api_client/models/marketplace_offering_permissions_log_head_o_item.py +21 -0
  271. waldur_api_client/models/marketplace_offering_referrals_head_o_item.py +13 -0
  272. waldur_api_client/models/marketplace_offering_users_head_o_item.py +13 -0
  273. waldur_api_client/models/marketplace_offering_users_head_state_item.py +16 -0
  274. waldur_api_client/models/marketplace_offering_users_list_field_item.py +3 -0
  275. waldur_api_client/models/marketplace_offering_users_list_state_item.py +16 -0
  276. waldur_api_client/models/marketplace_offering_users_retrieve_field_item.py +3 -0
  277. waldur_api_client/models/marketplace_orders_head_o_item.py +15 -0
  278. waldur_api_client/models/marketplace_orders_head_state_item.py +15 -0
  279. waldur_api_client/models/marketplace_orders_head_type_item.py +10 -0
  280. waldur_api_client/models/marketplace_project_update_requests_head_state_item.py +12 -0
  281. waldur_api_client/models/marketplace_provider_offerings_groups_head_o_item.py +21 -0
  282. waldur_api_client/models/marketplace_provider_offerings_groups_head_state_item.py +11 -0
  283. waldur_api_client/models/marketplace_provider_offerings_head_o_item.py +21 -0
  284. waldur_api_client/models/marketplace_provider_offerings_head_state_item.py +11 -0
  285. waldur_api_client/models/marketplace_provider_resources_head_o_item.py +15 -0
  286. waldur_api_client/models/marketplace_provider_resources_head_state_item.py +13 -0
  287. waldur_api_client/models/marketplace_public_offerings_head_o_item.py +21 -0
  288. waldur_api_client/models/marketplace_public_offerings_head_state_item.py +11 -0
  289. waldur_api_client/models/marketplace_resources_head_o_item.py +15 -0
  290. waldur_api_client/models/marketplace_resources_head_state_item.py +13 -0
  291. waldur_api_client/models/marketplace_robot_accounts_head_state.py +13 -0
  292. waldur_api_client/models/marketplace_screenshots_head_o_item.py +11 -0
  293. waldur_api_client/models/marketplace_service_providers_head_o_item.py +9 -0
  294. waldur_api_client/models/offering_user.py +36 -0
  295. waldur_api_client/models/offering_user_state_enum.py +16 -0
  296. waldur_api_client/models/offering_user_state_transition_request.py +59 -0
  297. waldur_api_client/models/openstack_backups_head_state_item.py +15 -0
  298. waldur_api_client/models/openstack_flavors_head_o_item.py +13 -0
  299. waldur_api_client/models/openstack_floating_ips_head_state_item.py +15 -0
  300. waldur_api_client/models/openstack_instances_head_state_item.py +15 -0
  301. waldur_api_client/models/openstack_marketplace_tenants_head_state_item.py +15 -0
  302. waldur_api_client/models/openstack_network_rbac_policies_head_policy_type.py +9 -0
  303. waldur_api_client/models/openstack_networks_head_state_item.py +15 -0
  304. waldur_api_client/models/openstack_ports_head_o_item.py +9 -0
  305. waldur_api_client/models/openstack_security_groups_head_state_item.py +15 -0
  306. waldur_api_client/models/openstack_server_groups_head_state_item.py +15 -0
  307. waldur_api_client/models/openstack_snapshots_head_state_item.py +15 -0
  308. waldur_api_client/models/openstack_subnets_head_state_item.py +15 -0
  309. waldur_api_client/models/openstack_tenants_head_state_item.py +15 -0
  310. waldur_api_client/models/openstack_volumes_head_state_item.py +15 -0
  311. waldur_api_client/models/payment_profiles_head_o_item.py +13 -0
  312. waldur_api_client/models/payment_profiles_head_payment_type_item.py +10 -0
  313. waldur_api_client/models/permission.py +15 -4
  314. waldur_api_client/models/project_credits_head_o_item.py +15 -0
  315. waldur_api_client/models/projects_head_o_item.py +23 -0
  316. waldur_api_client/models/promotions_campaigns_head_o_item.py +11 -0
  317. waldur_api_client/models/promotions_campaigns_head_state_item.py +10 -0
  318. waldur_api_client/models/proposal_proposals_head_o_item.py +17 -0
  319. waldur_api_client/models/proposal_proposals_head_state_item.py +13 -0
  320. waldur_api_client/models/proposal_protected_calls_head_o_item.py +13 -0
  321. waldur_api_client/models/proposal_protected_calls_head_state_item.py +10 -0
  322. waldur_api_client/models/proposal_protected_calls_list_field_item.py +1 -0
  323. waldur_api_client/models/proposal_protected_calls_retrieve_field_item.py +1 -0
  324. waldur_api_client/models/proposal_public_calls_head_o_item.py +13 -0
  325. waldur_api_client/models/proposal_public_calls_head_state_item.py +10 -0
  326. waldur_api_client/models/proposal_public_calls_list_field_item.py +1 -0
  327. waldur_api_client/models/proposal_public_calls_retrieve_field_item.py +1 -0
  328. waldur_api_client/models/proposal_requested_offerings_head_o_item.py +15 -0
  329. waldur_api_client/models/proposal_requested_offerings_head_state_item.py +10 -0
  330. waldur_api_client/models/proposal_requested_resources_head_o_item.py +15 -0
  331. waldur_api_client/models/proposal_reviews_head_o_item.py +11 -0
  332. waldur_api_client/models/proposal_reviews_head_state_item.py +11 -0
  333. waldur_api_client/models/protected_call.py +16 -0
  334. waldur_api_client/models/provider_invoice_items_head_o_item.py +15 -0
  335. waldur_api_client/models/public_call.py +16 -0
  336. waldur_api_client/models/rancher_apps_head_state_item.py +15 -0
  337. waldur_api_client/models/rancher_clusters_head_state_item.py +15 -0
  338. waldur_api_client/models/rancher_ingresses_head_state_item.py +15 -0
  339. waldur_api_client/models/rancher_namespaces_head_o_item.py +13 -0
  340. waldur_api_client/models/rancher_role_templates_head_o_item.py +11 -0
  341. waldur_api_client/models/rancher_services_head_state_item.py +15 -0
  342. waldur_api_client/models/rancher_templates_head_o_item.py +11 -0
  343. waldur_api_client/models/rancher_workloads_head_o_item.py +15 -0
  344. waldur_api_client/models/service_settings_head_state_item.py +15 -0
  345. waldur_api_client/models/slurm_allocations_head_state_item.py +15 -0
  346. waldur_api_client/models/support_comments_head_o_item.py +11 -0
  347. waldur_api_client/models/support_issues_head_o_item.py +35 -0
  348. waldur_api_client/models/user_agreements_head_agreement_type.py +9 -0
  349. waldur_api_client/models/user_group_invitations_head_o_item.py +9 -0
  350. waldur_api_client/models/user_invitations_head_o_item.py +15 -0
  351. waldur_api_client/models/user_invitations_head_state_item.py +14 -0
  352. waldur_api_client/models/user_permission_requests_head_o_item.py +11 -0
  353. waldur_api_client/models/user_permission_requests_head_state_item.py +12 -0
  354. waldur_api_client/models/user_permissions_head_o_item.py +21 -0
  355. waldur_api_client/models/users_head_o_item.py +31 -0
  356. waldur_api_client/models/visible_invitation_details.py +10 -4
  357. waldur_api_client/models/vmware_disks_head_state_item.py +15 -0
  358. waldur_api_client/models/vmware_ports_head_state_item.py +15 -0
  359. waldur_api_client/models/vmware_virtual_machine_head_state_item.py +15 -0
  360. {waldur_api_client-7.7.2.dist-info → waldur_api_client-7.7.4.dist-info}/METADATA +1 -1
  361. {waldur_api_client-7.7.2.dist-info → waldur_api_client-7.7.4.dist-info}/RECORD +363 -25
  362. {waldur_api_client-7.7.2.dist-info → waldur_api_client-7.7.4.dist-info}/LICENSE +0 -0
  363. {waldur_api_client-7.7.2.dist-info → waldur_api_client-7.7.4.dist-info}/WHEEL +0 -0
@@ -0,0 +1,274 @@
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.projects_head_o_item import ProjectsHeadOItem
11
+ from ...types import UNSET, Response, Unset
12
+
13
+
14
+ def _get_kwargs(
15
+ *,
16
+ backend_id: Union[Unset, str] = UNSET,
17
+ can_admin: Union[Unset, bool] = UNSET,
18
+ can_manage: Union[Unset, bool] = UNSET,
19
+ conceal_finished_projects: Union[Unset, bool] = UNSET,
20
+ created: Union[Unset, datetime.datetime] = UNSET,
21
+ customer: Union[Unset, list[UUID]] = UNSET,
22
+ customer_abbreviation: Union[Unset, str] = UNSET,
23
+ customer_name: Union[Unset, str] = UNSET,
24
+ customer_native_name: Union[Unset, str] = UNSET,
25
+ description: Union[Unset, str] = UNSET,
26
+ modified: Union[Unset, datetime.datetime] = UNSET,
27
+ name: Union[Unset, str] = UNSET,
28
+ name_exact: Union[Unset, str] = UNSET,
29
+ o: Union[Unset, list[ProjectsHeadOItem]] = UNSET,
30
+ page: Union[Unset, int] = UNSET,
31
+ page_size: Union[Unset, int] = UNSET,
32
+ query: Union[Unset, str] = UNSET,
33
+ slug: Union[Unset, str] = UNSET,
34
+ ) -> dict[str, Any]:
35
+ params: dict[str, Any] = {}
36
+
37
+ params["backend_id"] = backend_id
38
+
39
+ params["can_admin"] = can_admin
40
+
41
+ params["can_manage"] = can_manage
42
+
43
+ params["conceal_finished_projects"] = conceal_finished_projects
44
+
45
+ json_created: Union[Unset, str] = UNSET
46
+ if not isinstance(created, Unset):
47
+ json_created = created.isoformat()
48
+ params["created"] = json_created
49
+
50
+ json_customer: Union[Unset, list[str]] = UNSET
51
+ if not isinstance(customer, Unset):
52
+ json_customer = []
53
+ for customer_item_data in customer:
54
+ customer_item = str(customer_item_data)
55
+ json_customer.append(customer_item)
56
+
57
+ params["customer"] = json_customer
58
+
59
+ params["customer_abbreviation"] = customer_abbreviation
60
+
61
+ params["customer_name"] = customer_name
62
+
63
+ params["customer_native_name"] = customer_native_name
64
+
65
+ params["description"] = description
66
+
67
+ json_modified: Union[Unset, str] = UNSET
68
+ if not isinstance(modified, Unset):
69
+ json_modified = modified.isoformat()
70
+ params["modified"] = json_modified
71
+
72
+ params["name"] = name
73
+
74
+ params["name_exact"] = name_exact
75
+
76
+ json_o: Union[Unset, list[str]] = UNSET
77
+ if not isinstance(o, Unset):
78
+ json_o = []
79
+ for o_item_data in o:
80
+ o_item = o_item_data.value
81
+ json_o.append(o_item)
82
+
83
+ params["o"] = json_o
84
+
85
+ params["page"] = page
86
+
87
+ params["page_size"] = page_size
88
+
89
+ params["query"] = query
90
+
91
+ params["slug"] = slug
92
+
93
+ params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
94
+
95
+ _kwargs: dict[str, Any] = {
96
+ "method": "head",
97
+ "url": "/api/projects/",
98
+ "params": params,
99
+ }
100
+
101
+ return _kwargs
102
+
103
+
104
+ def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Any:
105
+ if response.status_code == 200:
106
+ return None
107
+ raise errors.UnexpectedStatus(response.status_code, response.content)
108
+
109
+
110
+ def _build_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Response[Any]:
111
+ return Response(
112
+ status_code=HTTPStatus(response.status_code),
113
+ content=response.content,
114
+ headers=response.headers,
115
+ parsed=_parse_response(client=client, response=response),
116
+ )
117
+
118
+
119
+ def sync_detailed(
120
+ *,
121
+ client: AuthenticatedClient,
122
+ backend_id: Union[Unset, str] = UNSET,
123
+ can_admin: Union[Unset, bool] = UNSET,
124
+ can_manage: Union[Unset, bool] = UNSET,
125
+ conceal_finished_projects: Union[Unset, bool] = UNSET,
126
+ created: Union[Unset, datetime.datetime] = UNSET,
127
+ customer: Union[Unset, list[UUID]] = UNSET,
128
+ customer_abbreviation: Union[Unset, str] = UNSET,
129
+ customer_name: Union[Unset, str] = UNSET,
130
+ customer_native_name: Union[Unset, str] = UNSET,
131
+ description: Union[Unset, str] = UNSET,
132
+ modified: Union[Unset, datetime.datetime] = UNSET,
133
+ name: Union[Unset, str] = UNSET,
134
+ name_exact: Union[Unset, str] = UNSET,
135
+ o: Union[Unset, list[ProjectsHeadOItem]] = UNSET,
136
+ page: Union[Unset, int] = UNSET,
137
+ page_size: Union[Unset, int] = UNSET,
138
+ query: Union[Unset, str] = UNSET,
139
+ slug: Union[Unset, str] = UNSET,
140
+ ) -> Response[Any]:
141
+ """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
142
+
143
+ Args:
144
+ backend_id (Union[Unset, str]):
145
+ can_admin (Union[Unset, bool]):
146
+ can_manage (Union[Unset, bool]):
147
+ conceal_finished_projects (Union[Unset, bool]):
148
+ created (Union[Unset, datetime.datetime]):
149
+ customer (Union[Unset, list[UUID]]):
150
+ customer_abbreviation (Union[Unset, str]):
151
+ customer_name (Union[Unset, str]):
152
+ customer_native_name (Union[Unset, str]):
153
+ description (Union[Unset, str]):
154
+ modified (Union[Unset, datetime.datetime]):
155
+ name (Union[Unset, str]):
156
+ name_exact (Union[Unset, str]):
157
+ o (Union[Unset, list[ProjectsHeadOItem]]):
158
+ page (Union[Unset, int]):
159
+ page_size (Union[Unset, int]):
160
+ query (Union[Unset, str]):
161
+ slug (Union[Unset, str]):
162
+
163
+ Raises:
164
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
165
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
166
+
167
+ Returns:
168
+ Response[Any]
169
+ """
170
+
171
+ kwargs = _get_kwargs(
172
+ backend_id=backend_id,
173
+ can_admin=can_admin,
174
+ can_manage=can_manage,
175
+ conceal_finished_projects=conceal_finished_projects,
176
+ created=created,
177
+ customer=customer,
178
+ customer_abbreviation=customer_abbreviation,
179
+ customer_name=customer_name,
180
+ customer_native_name=customer_native_name,
181
+ description=description,
182
+ modified=modified,
183
+ name=name,
184
+ name_exact=name_exact,
185
+ o=o,
186
+ page=page,
187
+ page_size=page_size,
188
+ query=query,
189
+ slug=slug,
190
+ )
191
+
192
+ response = client.get_httpx_client().request(
193
+ **kwargs,
194
+ )
195
+
196
+ return _build_response(client=client, response=response)
197
+
198
+
199
+ async def asyncio_detailed(
200
+ *,
201
+ client: AuthenticatedClient,
202
+ backend_id: Union[Unset, str] = UNSET,
203
+ can_admin: Union[Unset, bool] = UNSET,
204
+ can_manage: Union[Unset, bool] = UNSET,
205
+ conceal_finished_projects: Union[Unset, bool] = UNSET,
206
+ created: Union[Unset, datetime.datetime] = UNSET,
207
+ customer: Union[Unset, list[UUID]] = UNSET,
208
+ customer_abbreviation: Union[Unset, str] = UNSET,
209
+ customer_name: Union[Unset, str] = UNSET,
210
+ customer_native_name: Union[Unset, str] = UNSET,
211
+ description: Union[Unset, str] = UNSET,
212
+ modified: Union[Unset, datetime.datetime] = UNSET,
213
+ name: Union[Unset, str] = UNSET,
214
+ name_exact: Union[Unset, str] = UNSET,
215
+ o: Union[Unset, list[ProjectsHeadOItem]] = UNSET,
216
+ page: Union[Unset, int] = UNSET,
217
+ page_size: Union[Unset, int] = UNSET,
218
+ query: Union[Unset, str] = UNSET,
219
+ slug: Union[Unset, str] = UNSET,
220
+ ) -> Response[Any]:
221
+ """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
222
+
223
+ Args:
224
+ backend_id (Union[Unset, str]):
225
+ can_admin (Union[Unset, bool]):
226
+ can_manage (Union[Unset, bool]):
227
+ conceal_finished_projects (Union[Unset, bool]):
228
+ created (Union[Unset, datetime.datetime]):
229
+ customer (Union[Unset, list[UUID]]):
230
+ customer_abbreviation (Union[Unset, str]):
231
+ customer_name (Union[Unset, str]):
232
+ customer_native_name (Union[Unset, str]):
233
+ description (Union[Unset, str]):
234
+ modified (Union[Unset, datetime.datetime]):
235
+ name (Union[Unset, str]):
236
+ name_exact (Union[Unset, str]):
237
+ o (Union[Unset, list[ProjectsHeadOItem]]):
238
+ page (Union[Unset, int]):
239
+ page_size (Union[Unset, int]):
240
+ query (Union[Unset, str]):
241
+ slug (Union[Unset, str]):
242
+
243
+ Raises:
244
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
245
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
246
+
247
+ Returns:
248
+ Response[Any]
249
+ """
250
+
251
+ kwargs = _get_kwargs(
252
+ backend_id=backend_id,
253
+ can_admin=can_admin,
254
+ can_manage=can_manage,
255
+ conceal_finished_projects=conceal_finished_projects,
256
+ created=created,
257
+ customer=customer,
258
+ customer_abbreviation=customer_abbreviation,
259
+ customer_name=customer_name,
260
+ customer_native_name=customer_native_name,
261
+ description=description,
262
+ modified=modified,
263
+ name=name,
264
+ name_exact=name_exact,
265
+ o=o,
266
+ page=page,
267
+ page_size=page_size,
268
+ query=query,
269
+ slug=slug,
270
+ )
271
+
272
+ response = await client.get_async_httpx_client().request(**kwargs)
273
+
274
+ return _build_response(client=client, response=response)
@@ -0,0 +1,218 @@
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.promotions_campaigns_head_o_item import PromotionsCampaignsHeadOItem
11
+ from ...models.promotions_campaigns_head_state_item import PromotionsCampaignsHeadStateItem
12
+ from ...types import UNSET, Response, Unset
13
+
14
+
15
+ def _get_kwargs(
16
+ *,
17
+ discount_type: Union[Unset, str] = UNSET,
18
+ end_date: Union[Unset, datetime.date] = UNSET,
19
+ o: Union[Unset, list[PromotionsCampaignsHeadOItem]] = UNSET,
20
+ offering: Union[Unset, str] = UNSET,
21
+ offering_uuid: Union[Unset, UUID] = UNSET,
22
+ page: Union[Unset, int] = UNSET,
23
+ page_size: Union[Unset, int] = UNSET,
24
+ query: Union[Unset, str] = UNSET,
25
+ service_provider_uuid: Union[Unset, UUID] = UNSET,
26
+ start_date: Union[Unset, datetime.date] = UNSET,
27
+ state: Union[Unset, list[PromotionsCampaignsHeadStateItem]] = UNSET,
28
+ ) -> dict[str, Any]:
29
+ params: dict[str, Any] = {}
30
+
31
+ params["discount_type"] = discount_type
32
+
33
+ json_end_date: Union[Unset, str] = UNSET
34
+ if not isinstance(end_date, Unset):
35
+ json_end_date = end_date.isoformat()
36
+ params["end_date"] = json_end_date
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["offering"] = offering
48
+
49
+ json_offering_uuid: Union[Unset, str] = UNSET
50
+ if not isinstance(offering_uuid, Unset):
51
+ json_offering_uuid = str(offering_uuid)
52
+ params["offering_uuid"] = json_offering_uuid
53
+
54
+ params["page"] = page
55
+
56
+ params["page_size"] = page_size
57
+
58
+ params["query"] = query
59
+
60
+ json_service_provider_uuid: Union[Unset, str] = UNSET
61
+ if not isinstance(service_provider_uuid, Unset):
62
+ json_service_provider_uuid = str(service_provider_uuid)
63
+ params["service_provider_uuid"] = json_service_provider_uuid
64
+
65
+ json_start_date: Union[Unset, str] = UNSET
66
+ if not isinstance(start_date, Unset):
67
+ json_start_date = start_date.isoformat()
68
+ params["start_date"] = json_start_date
69
+
70
+ json_state: Union[Unset, list[str]] = UNSET
71
+ if not isinstance(state, Unset):
72
+ json_state = []
73
+ for state_item_data in state:
74
+ state_item = state_item_data.value
75
+ json_state.append(state_item)
76
+
77
+ params["state"] = json_state
78
+
79
+ params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
80
+
81
+ _kwargs: dict[str, Any] = {
82
+ "method": "head",
83
+ "url": "/api/promotions-campaigns/",
84
+ "params": params,
85
+ }
86
+
87
+ return _kwargs
88
+
89
+
90
+ def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Any:
91
+ if response.status_code == 200:
92
+ return None
93
+ raise errors.UnexpectedStatus(response.status_code, response.content)
94
+
95
+
96
+ def _build_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Response[Any]:
97
+ return Response(
98
+ status_code=HTTPStatus(response.status_code),
99
+ content=response.content,
100
+ headers=response.headers,
101
+ parsed=_parse_response(client=client, response=response),
102
+ )
103
+
104
+
105
+ def sync_detailed(
106
+ *,
107
+ client: AuthenticatedClient,
108
+ discount_type: Union[Unset, str] = UNSET,
109
+ end_date: Union[Unset, datetime.date] = UNSET,
110
+ o: Union[Unset, list[PromotionsCampaignsHeadOItem]] = UNSET,
111
+ offering: Union[Unset, str] = UNSET,
112
+ offering_uuid: Union[Unset, UUID] = UNSET,
113
+ page: Union[Unset, int] = UNSET,
114
+ page_size: Union[Unset, int] = UNSET,
115
+ query: Union[Unset, str] = UNSET,
116
+ service_provider_uuid: Union[Unset, UUID] = UNSET,
117
+ start_date: Union[Unset, datetime.date] = UNSET,
118
+ state: Union[Unset, list[PromotionsCampaignsHeadStateItem]] = UNSET,
119
+ ) -> Response[Any]:
120
+ """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
121
+
122
+ Args:
123
+ discount_type (Union[Unset, str]):
124
+ end_date (Union[Unset, datetime.date]):
125
+ o (Union[Unset, list[PromotionsCampaignsHeadOItem]]):
126
+ offering (Union[Unset, str]):
127
+ offering_uuid (Union[Unset, UUID]):
128
+ page (Union[Unset, int]):
129
+ page_size (Union[Unset, int]):
130
+ query (Union[Unset, str]):
131
+ service_provider_uuid (Union[Unset, UUID]):
132
+ start_date (Union[Unset, datetime.date]):
133
+ state (Union[Unset, list[PromotionsCampaignsHeadStateItem]]):
134
+
135
+ Raises:
136
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
137
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
138
+
139
+ Returns:
140
+ Response[Any]
141
+ """
142
+
143
+ kwargs = _get_kwargs(
144
+ discount_type=discount_type,
145
+ end_date=end_date,
146
+ o=o,
147
+ offering=offering,
148
+ offering_uuid=offering_uuid,
149
+ page=page,
150
+ page_size=page_size,
151
+ query=query,
152
+ service_provider_uuid=service_provider_uuid,
153
+ start_date=start_date,
154
+ state=state,
155
+ )
156
+
157
+ response = client.get_httpx_client().request(
158
+ **kwargs,
159
+ )
160
+
161
+ return _build_response(client=client, response=response)
162
+
163
+
164
+ async def asyncio_detailed(
165
+ *,
166
+ client: AuthenticatedClient,
167
+ discount_type: Union[Unset, str] = UNSET,
168
+ end_date: Union[Unset, datetime.date] = UNSET,
169
+ o: Union[Unset, list[PromotionsCampaignsHeadOItem]] = UNSET,
170
+ offering: Union[Unset, str] = UNSET,
171
+ offering_uuid: Union[Unset, UUID] = UNSET,
172
+ page: Union[Unset, int] = UNSET,
173
+ page_size: Union[Unset, int] = UNSET,
174
+ query: Union[Unset, str] = UNSET,
175
+ service_provider_uuid: Union[Unset, UUID] = UNSET,
176
+ start_date: Union[Unset, datetime.date] = UNSET,
177
+ state: Union[Unset, list[PromotionsCampaignsHeadStateItem]] = UNSET,
178
+ ) -> Response[Any]:
179
+ """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
180
+
181
+ Args:
182
+ discount_type (Union[Unset, str]):
183
+ end_date (Union[Unset, datetime.date]):
184
+ o (Union[Unset, list[PromotionsCampaignsHeadOItem]]):
185
+ offering (Union[Unset, str]):
186
+ offering_uuid (Union[Unset, UUID]):
187
+ page (Union[Unset, int]):
188
+ page_size (Union[Unset, int]):
189
+ query (Union[Unset, str]):
190
+ service_provider_uuid (Union[Unset, UUID]):
191
+ start_date (Union[Unset, datetime.date]):
192
+ state (Union[Unset, list[PromotionsCampaignsHeadStateItem]]):
193
+
194
+ Raises:
195
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
196
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
197
+
198
+ Returns:
199
+ Response[Any]
200
+ """
201
+
202
+ kwargs = _get_kwargs(
203
+ discount_type=discount_type,
204
+ end_date=end_date,
205
+ o=o,
206
+ offering=offering,
207
+ offering_uuid=offering_uuid,
208
+ page=page,
209
+ page_size=page_size,
210
+ query=query,
211
+ service_provider_uuid=service_provider_uuid,
212
+ start_date=start_date,
213
+ state=state,
214
+ )
215
+
216
+ response = await client.get_async_httpx_client().request(**kwargs)
217
+
218
+ return _build_response(client=client, response=response)
@@ -0,0 +1,187 @@
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.proposal_proposals_head_o_item import ProposalProposalsHeadOItem
10
+ from ...models.proposal_proposals_head_state_item import ProposalProposalsHeadStateItem
11
+ from ...types import UNSET, Response, Unset
12
+
13
+
14
+ def _get_kwargs(
15
+ *,
16
+ call_uuid: Union[Unset, UUID] = UNSET,
17
+ name: Union[Unset, str] = UNSET,
18
+ o: Union[Unset, list[ProposalProposalsHeadOItem]] = UNSET,
19
+ organization_uuid: Union[Unset, UUID] = UNSET,
20
+ page: Union[Unset, int] = UNSET,
21
+ page_size: Union[Unset, int] = UNSET,
22
+ round_: Union[Unset, UUID] = UNSET,
23
+ state: Union[Unset, list[ProposalProposalsHeadStateItem]] = UNSET,
24
+ ) -> dict[str, Any]:
25
+ params: dict[str, Any] = {}
26
+
27
+ json_call_uuid: Union[Unset, str] = UNSET
28
+ if not isinstance(call_uuid, Unset):
29
+ json_call_uuid = str(call_uuid)
30
+ params["call_uuid"] = json_call_uuid
31
+
32
+ params["name"] = name
33
+
34
+ json_o: Union[Unset, list[str]] = UNSET
35
+ if not isinstance(o, Unset):
36
+ json_o = []
37
+ for o_item_data in o:
38
+ o_item = o_item_data.value
39
+ json_o.append(o_item)
40
+
41
+ params["o"] = json_o
42
+
43
+ json_organization_uuid: Union[Unset, str] = UNSET
44
+ if not isinstance(organization_uuid, Unset):
45
+ json_organization_uuid = str(organization_uuid)
46
+ params["organization_uuid"] = json_organization_uuid
47
+
48
+ params["page"] = page
49
+
50
+ params["page_size"] = page_size
51
+
52
+ json_round_: Union[Unset, str] = UNSET
53
+ if not isinstance(round_, Unset):
54
+ json_round_ = str(round_)
55
+ params["round"] = json_round_
56
+
57
+ json_state: Union[Unset, list[str]] = UNSET
58
+ if not isinstance(state, Unset):
59
+ json_state = []
60
+ for state_item_data in state:
61
+ state_item = state_item_data.value
62
+ json_state.append(state_item)
63
+
64
+ params["state"] = json_state
65
+
66
+ params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
67
+
68
+ _kwargs: dict[str, Any] = {
69
+ "method": "head",
70
+ "url": "/api/proposal-proposals/",
71
+ "params": params,
72
+ }
73
+
74
+ return _kwargs
75
+
76
+
77
+ def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Any:
78
+ if response.status_code == 200:
79
+ return None
80
+ raise errors.UnexpectedStatus(response.status_code, response.content)
81
+
82
+
83
+ def _build_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Response[Any]:
84
+ return Response(
85
+ status_code=HTTPStatus(response.status_code),
86
+ content=response.content,
87
+ headers=response.headers,
88
+ parsed=_parse_response(client=client, response=response),
89
+ )
90
+
91
+
92
+ def sync_detailed(
93
+ *,
94
+ client: AuthenticatedClient,
95
+ call_uuid: Union[Unset, UUID] = UNSET,
96
+ name: Union[Unset, str] = UNSET,
97
+ o: Union[Unset, list[ProposalProposalsHeadOItem]] = UNSET,
98
+ organization_uuid: Union[Unset, UUID] = UNSET,
99
+ page: Union[Unset, int] = UNSET,
100
+ page_size: Union[Unset, int] = UNSET,
101
+ round_: Union[Unset, UUID] = UNSET,
102
+ state: Union[Unset, list[ProposalProposalsHeadStateItem]] = UNSET,
103
+ ) -> Response[Any]:
104
+ """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
105
+
106
+ Args:
107
+ call_uuid (Union[Unset, UUID]):
108
+ name (Union[Unset, str]):
109
+ o (Union[Unset, list[ProposalProposalsHeadOItem]]):
110
+ organization_uuid (Union[Unset, UUID]):
111
+ page (Union[Unset, int]):
112
+ page_size (Union[Unset, int]):
113
+ round_ (Union[Unset, UUID]):
114
+ state (Union[Unset, list[ProposalProposalsHeadStateItem]]):
115
+
116
+ Raises:
117
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
118
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
119
+
120
+ Returns:
121
+ Response[Any]
122
+ """
123
+
124
+ kwargs = _get_kwargs(
125
+ call_uuid=call_uuid,
126
+ name=name,
127
+ o=o,
128
+ organization_uuid=organization_uuid,
129
+ page=page,
130
+ page_size=page_size,
131
+ round_=round_,
132
+ state=state,
133
+ )
134
+
135
+ response = client.get_httpx_client().request(
136
+ **kwargs,
137
+ )
138
+
139
+ return _build_response(client=client, response=response)
140
+
141
+
142
+ async def asyncio_detailed(
143
+ *,
144
+ client: AuthenticatedClient,
145
+ call_uuid: Union[Unset, UUID] = UNSET,
146
+ name: Union[Unset, str] = UNSET,
147
+ o: Union[Unset, list[ProposalProposalsHeadOItem]] = UNSET,
148
+ organization_uuid: Union[Unset, UUID] = UNSET,
149
+ page: Union[Unset, int] = UNSET,
150
+ page_size: Union[Unset, int] = UNSET,
151
+ round_: Union[Unset, UUID] = UNSET,
152
+ state: Union[Unset, list[ProposalProposalsHeadStateItem]] = UNSET,
153
+ ) -> Response[Any]:
154
+ """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
155
+
156
+ Args:
157
+ call_uuid (Union[Unset, UUID]):
158
+ name (Union[Unset, str]):
159
+ o (Union[Unset, list[ProposalProposalsHeadOItem]]):
160
+ organization_uuid (Union[Unset, UUID]):
161
+ page (Union[Unset, int]):
162
+ page_size (Union[Unset, int]):
163
+ round_ (Union[Unset, UUID]):
164
+ state (Union[Unset, list[ProposalProposalsHeadStateItem]]):
165
+
166
+ Raises:
167
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
168
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
169
+
170
+ Returns:
171
+ Response[Any]
172
+ """
173
+
174
+ kwargs = _get_kwargs(
175
+ call_uuid=call_uuid,
176
+ name=name,
177
+ o=o,
178
+ organization_uuid=organization_uuid,
179
+ page=page,
180
+ page_size=page_size,
181
+ round_=round_,
182
+ state=state,
183
+ )
184
+
185
+ response = await client.get_async_httpx_client().request(**kwargs)
186
+
187
+ return _build_response(client=client, response=response)