waldur-api-client 7.8.3__py3-none-any.whl → 7.8.5__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 (341) hide show
  1. waldur_api_client/api/backend_resources/backend_resources_import_resource.py +3 -3
  2. waldur_api_client/api/booking_resources/booking_resources_count.py +108 -0
  3. waldur_api_client/api/booking_resources/booking_resources_list.py +108 -0
  4. waldur_api_client/api/call_managing_organisations/call_managing_organisations_add_user.py +17 -10
  5. waldur_api_client/api/customers/customers_add_user.py +17 -10
  6. waldur_api_client/api/marketplace_component_usages/marketplace_component_usages_count.py +30 -0
  7. waldur_api_client/api/marketplace_component_usages/marketplace_component_usages_list.py +30 -0
  8. waldur_api_client/api/marketplace_customer_component_usage_policies/__init__.py +1 -0
  9. waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_actions_count.py +125 -0
  10. waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_actions_retrieve.py +119 -0
  11. waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_count.py +239 -0
  12. waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_create.py +152 -0
  13. waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_destroy.py +89 -0
  14. waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_list.py +242 -0
  15. waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_partial_update.py +166 -0
  16. waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_retrieve.py +144 -0
  17. waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_update.py +166 -0
  18. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_checklist_template_count.py +125 -0
  19. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_checklist_template_retrieve.py +126 -0
  20. waldur_api_client/api/marketplace_orders/marketplace_orders_set_backend_id.py +105 -0
  21. waldur_api_client/api/marketplace_plans/marketplace_plans_update_discounts.py +123 -0
  22. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_add_partition.py +168 -0
  23. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_add_software_catalog.py +168 -0
  24. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_add_user.py +19 -10
  25. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_component_stats_list.py +15 -0
  26. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_costs_list.py +15 -0
  27. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_count.py +15 -0
  28. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_create_offering_component.py +1 -1
  29. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_customers_list.py +15 -0
  30. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_groups_count.py +15 -0
  31. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_groups_list.py +15 -0
  32. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_list.py +15 -0
  33. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_remove_partition.py +107 -0
  34. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_remove_software_catalog.py +107 -0
  35. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_tos_stats_retrieve.py +146 -0
  36. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_update_partition_partial_update.py +168 -0
  37. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_update_software_catalog_partial_update.py +168 -0
  38. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_count.py +108 -0
  39. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_list.py +108 -0
  40. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_downscaled.py +107 -0
  41. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_paused.py +107 -0
  42. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_restrict_member_access.py +107 -0
  43. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_update_options.py +168 -0
  44. waldur_api_client/api/marketplace_public_offerings/marketplace_public_offerings_count.py +15 -0
  45. waldur_api_client/api/marketplace_public_offerings/marketplace_public_offerings_list.py +15 -0
  46. waldur_api_client/api/marketplace_resources/marketplace_resources_count.py +108 -0
  47. waldur_api_client/api/marketplace_resources/marketplace_resources_list.py +108 -0
  48. waldur_api_client/api/marketplace_resources/marketplace_resources_renew.py +166 -0
  49. waldur_api_client/api/marketplace_resources/marketplace_resources_set_downscaled.py +107 -0
  50. waldur_api_client/api/marketplace_resources/marketplace_resources_set_paused.py +107 -0
  51. waldur_api_client/api/marketplace_resources/marketplace_resources_set_restrict_member_access.py +107 -0
  52. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_add_user.py +17 -10
  53. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_customer_projects_list.py +15 -0
  54. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_offerings_list.py +15 -0
  55. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_projects_list.py +14 -24
  56. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_set_offerings_username.py +8 -67
  57. waldur_api_client/api/marketplace_service_providers/service_provider_checklists_summary.py +189 -0
  58. waldur_api_client/api/marketplace_site_agent_identities/__init__.py +1 -0
  59. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_count.py +240 -0
  60. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_create.py +148 -0
  61. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_destroy.py +89 -0
  62. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_list.py +241 -0
  63. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_register_event_subscription.py +176 -0
  64. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_register_service.py +170 -0
  65. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_retrieve.py +140 -0
  66. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_update.py +162 -0
  67. waldur_api_client/api/marketplace_site_agent_processors/__init__.py +1 -0
  68. waldur_api_client/api/marketplace_site_agent_processors/marketplace_site_agent_processors_count.py +240 -0
  69. waldur_api_client/api/marketplace_site_agent_processors/marketplace_site_agent_processors_list.py +241 -0
  70. waldur_api_client/api/marketplace_site_agent_processors/marketplace_site_agent_processors_retrieve.py +142 -0
  71. waldur_api_client/api/marketplace_site_agent_services/__init__.py +1 -0
  72. waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_count.py +229 -0
  73. waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_list.py +230 -0
  74. waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_register_processor.py +172 -0
  75. waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_retrieve.py +140 -0
  76. waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_set_statistics.py +166 -0
  77. waldur_api_client/api/marketplace_software_catalogs/__init__.py +1 -0
  78. waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_count.py +225 -0
  79. waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_create.py +150 -0
  80. waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_destroy.py +89 -0
  81. waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_list.py +226 -0
  82. waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_partial_update.py +164 -0
  83. waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_retrieve.py +142 -0
  84. waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_update.py +164 -0
  85. waldur_api_client/api/marketplace_software_packages/__init__.py +1 -0
  86. waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_count.py +352 -0
  87. waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_create.py +150 -0
  88. waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_destroy.py +89 -0
  89. waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_list.py +353 -0
  90. waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_partial_update.py +164 -0
  91. waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_retrieve.py +142 -0
  92. waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_update.py +164 -0
  93. waldur_api_client/api/marketplace_software_targets/__init__.py +1 -0
  94. waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_count.py +313 -0
  95. waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_create.py +117 -0
  96. waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_destroy.py +89 -0
  97. waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_list.py +314 -0
  98. waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_partial_update.py +142 -0
  99. waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_retrieve.py +142 -0
  100. waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_update.py +142 -0
  101. waldur_api_client/api/marketplace_software_versions/__init__.py +1 -0
  102. waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_count.py +310 -0
  103. waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_create.py +117 -0
  104. waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_destroy.py +89 -0
  105. waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_list.py +311 -0
  106. waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_partial_update.py +142 -0
  107. waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_retrieve.py +142 -0
  108. waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_update.py +142 -0
  109. waldur_api_client/api/onboarding/__init__.py +1 -0
  110. waldur_api_client/api/onboarding/onboarding_supported_countries_retrieve.py +74 -0
  111. waldur_api_client/api/onboarding_justifications/__init__.py +1 -0
  112. waldur_api_client/api/onboarding_justifications/onboarding_justifications_approve.py +168 -0
  113. waldur_api_client/api/onboarding_justifications/onboarding_justifications_attach_document.py +211 -0
  114. waldur_api_client/api/onboarding_justifications/onboarding_justifications_count.py +172 -0
  115. waldur_api_client/api/onboarding_justifications/onboarding_justifications_create.py +150 -0
  116. waldur_api_client/api/onboarding_justifications/onboarding_justifications_create_justification.py +154 -0
  117. waldur_api_client/api/onboarding_justifications/onboarding_justifications_destroy.py +89 -0
  118. waldur_api_client/api/onboarding_justifications/onboarding_justifications_list.py +175 -0
  119. waldur_api_client/api/onboarding_justifications/onboarding_justifications_partial_update.py +164 -0
  120. waldur_api_client/api/onboarding_justifications/onboarding_justifications_reject.py +168 -0
  121. waldur_api_client/api/onboarding_justifications/onboarding_justifications_retrieve.py +142 -0
  122. waldur_api_client/api/onboarding_justifications/onboarding_justifications_update.py +164 -0
  123. waldur_api_client/api/onboarding_verifications/__init__.py +1 -0
  124. waldur_api_client/api/onboarding_verifications/onboarding_verifications_count.py +172 -0
  125. waldur_api_client/api/onboarding_verifications/onboarding_verifications_create.py +150 -0
  126. waldur_api_client/api/onboarding_verifications/onboarding_verifications_create_customer.py +144 -0
  127. waldur_api_client/api/onboarding_verifications/onboarding_verifications_destroy.py +89 -0
  128. waldur_api_client/api/onboarding_verifications/onboarding_verifications_list.py +175 -0
  129. waldur_api_client/api/onboarding_verifications/onboarding_verifications_partial_update.py +164 -0
  130. waldur_api_client/api/onboarding_verifications/onboarding_verifications_retrieve.py +142 -0
  131. waldur_api_client/api/onboarding_verifications/onboarding_verifications_update.py +164 -0
  132. waldur_api_client/api/onboarding_verifications/onboarding_verifications_validate_company.py +154 -0
  133. waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_count.py +33 -0
  134. waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_create.py +154 -0
  135. waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_destroy.py +91 -0
  136. waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_list.py +33 -0
  137. waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_partial_update.py +164 -0
  138. waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_update.py +164 -0
  139. waldur_api_client/api/openstack_networks/openstack_networks_rbac_policy_create.py +24 -22
  140. waldur_api_client/api/projects/projects_add_user.py +17 -10
  141. waldur_api_client/api/projects/projects_checklist_template_count.py +125 -0
  142. waldur_api_client/api/projects/projects_checklist_template_retrieve.py +126 -0
  143. waldur_api_client/api/projects/projects_count.py +30 -0
  144. waldur_api_client/api/projects/projects_list.py +30 -0
  145. waldur_api_client/api/projects/projects_move_project.py +19 -10
  146. waldur_api_client/api/projects/projects_recover.py +166 -0
  147. waldur_api_client/api/proposal_proposals/proposal_proposals_add_user.py +17 -10
  148. waldur_api_client/api/proposal_proposals/proposal_proposals_checklist_template_count.py +125 -0
  149. waldur_api_client/api/proposal_proposals/proposal_proposals_checklist_template_retrieve.py +126 -0
  150. waldur_api_client/api/proposal_protected_calls/proposal_protected_calls_add_user.py +17 -10
  151. waldur_api_client/api/proposal_protected_calls/proposal_protected_calls_offerings_list.py +15 -0
  152. waldur_api_client/api/remote_waldur_api/remote_waldur_api_pull_resource_robot_accounts.py +88 -0
  153. waldur_api_client/models/__init__.py +214 -8
  154. waldur_api_client/models/agent_event_subscription_create_request.py +71 -0
  155. waldur_api_client/models/agent_identity.py +211 -0
  156. waldur_api_client/models/agent_identity_request.py +157 -0
  157. waldur_api_client/models/agent_processor.py +170 -0
  158. waldur_api_client/models/agent_processor_create_request.py +89 -0
  159. waldur_api_client/models/agent_service.py +172 -0
  160. waldur_api_client/models/agent_service_create_request.py +81 -0
  161. waldur_api_client/models/agent_service_state.py +10 -0
  162. waldur_api_client/models/agent_service_statistics_request.py +59 -0
  163. waldur_api_client/models/base_provider_plan.py +21 -0
  164. waldur_api_client/models/base_public_plan.py +21 -0
  165. waldur_api_client/models/booking_offerings_list_field_item.py +2 -0
  166. waldur_api_client/models/booking_offerings_retrieve_field_item.py +2 -0
  167. waldur_api_client/models/booking_resource.py +37 -11
  168. waldur_api_client/models/booking_resource_renewal_date_type_0.py +53 -0
  169. waldur_api_client/models/booking_resources_list_field_item.py +1 -0
  170. waldur_api_client/models/booking_resources_retrieve_field_item.py +1 -0
  171. waldur_api_client/models/call_managing_organisations_add_user_response_400.py +65 -0
  172. waldur_api_client/models/call_round.py +4 -4
  173. waldur_api_client/models/checklist_template.py +99 -0
  174. waldur_api_client/models/checklist_template_checklist.py +44 -0
  175. waldur_api_client/models/constance_settings.py +126 -45
  176. waldur_api_client/models/constance_settings_request.py +126 -45
  177. waldur_api_client/models/constance_settings_request_form.py +126 -45
  178. waldur_api_client/models/constance_settings_request_multipart.py +219 -71
  179. waldur_api_client/models/customer.py +9 -0
  180. waldur_api_client/models/customer_component_usage_policy.py +175 -0
  181. waldur_api_client/models/customer_component_usage_policy_request.py +102 -0
  182. waldur_api_client/models/customers_add_user_response_400.py +65 -0
  183. waldur_api_client/models/customers_list_field_item.py +1 -0
  184. waldur_api_client/models/customers_retrieve_field_item.py +1 -0
  185. waldur_api_client/models/deprecated_network_rbac_policy.py +137 -0
  186. waldur_api_client/models/deprecated_network_rbac_policy_request.py +78 -0
  187. waldur_api_client/models/discount_config_request.py +91 -0
  188. waldur_api_client/models/discounts_update_request.py +65 -0
  189. waldur_api_client/models/discounts_update_request_discounts.py +57 -0
  190. waldur_api_client/models/event_types_enum.py +1 -0
  191. waldur_api_client/models/issue.py +0 -25
  192. waldur_api_client/models/managed_rancher_cluster_resources_list_field_item.py +1 -0
  193. waldur_api_client/models/managed_rancher_cluster_resources_retrieve_field_item.py +1 -0
  194. waldur_api_client/models/marketplace_orders_count_state_item.py +1 -0
  195. waldur_api_client/models/marketplace_orders_list_field_item.py +2 -0
  196. waldur_api_client/models/marketplace_orders_list_state_item.py +1 -0
  197. waldur_api_client/models/marketplace_orders_retrieve_field_item.py +2 -0
  198. waldur_api_client/models/marketplace_provider_offerings_add_user_response_400.py +65 -0
  199. waldur_api_client/models/marketplace_provider_offerings_list_course_accounts_retrieve_field_item.py +2 -0
  200. waldur_api_client/models/marketplace_provider_offerings_list_customer_service_accounts_retrieve_field_item.py +2 -0
  201. waldur_api_client/models/marketplace_provider_offerings_list_field_item.py +2 -0
  202. waldur_api_client/models/marketplace_provider_offerings_list_project_service_accounts_retrieve_field_item.py +2 -0
  203. waldur_api_client/models/marketplace_provider_offerings_retrieve_field_item.py +2 -0
  204. waldur_api_client/models/marketplace_provider_offerings_stats_retrieve_field_item.py +2 -0
  205. waldur_api_client/models/marketplace_provider_offerings_user_has_resource_access_retrieve_field_item.py +2 -0
  206. waldur_api_client/models/marketplace_provider_resources_details_retrieve_field_item.py +1 -0
  207. waldur_api_client/models/marketplace_provider_resources_list_field_item.py +1 -0
  208. waldur_api_client/models/marketplace_provider_resources_retrieve_field_item.py +1 -0
  209. waldur_api_client/models/marketplace_public_offerings_list_field_item.py +2 -0
  210. waldur_api_client/models/marketplace_public_offerings_retrieve_field_item.py +2 -0
  211. waldur_api_client/models/marketplace_resources_details_retrieve_field_item.py +1 -0
  212. waldur_api_client/models/marketplace_resources_list_field_item.py +1 -0
  213. waldur_api_client/models/marketplace_resources_retrieve_field_item.py +1 -0
  214. waldur_api_client/models/marketplace_service_providers_add_user_response_400.py +65 -0
  215. waldur_api_client/models/marketplace_site_agent_services_count_state_item.py +10 -0
  216. waldur_api_client/models/marketplace_site_agent_services_list_state_item.py +10 -0
  217. waldur_api_client/models/marketplace_software_catalogs_count_o_item.py +15 -0
  218. waldur_api_client/models/marketplace_software_catalogs_list_o_item.py +15 -0
  219. waldur_api_client/models/marketplace_software_packages_count_o_item.py +17 -0
  220. waldur_api_client/models/marketplace_software_packages_list_o_item.py +17 -0
  221. waldur_api_client/models/marketplace_software_targets_count_o_item.py +15 -0
  222. waldur_api_client/models/marketplace_software_targets_list_o_item.py +15 -0
  223. waldur_api_client/models/marketplace_software_versions_count_o_item.py +15 -0
  224. waldur_api_client/models/marketplace_software_versions_list_o_item.py +15 -0
  225. waldur_api_client/models/merged_plugin_options.py +65 -8
  226. waldur_api_client/models/merged_plugin_options_request.py +65 -8
  227. waldur_api_client/models/nested_agent_processor.py +154 -0
  228. waldur_api_client/models/nested_agent_service.py +134 -0
  229. waldur_api_client/models/nested_agent_service_request.py +90 -0
  230. waldur_api_client/models/nested_customer_usage_policy_component.py +103 -0
  231. waldur_api_client/models/nested_customer_usage_policy_component_request.py +87 -0
  232. waldur_api_client/models/nested_partition.py +412 -0
  233. waldur_api_client/models/nested_partition_request.py +397 -0
  234. waldur_api_client/models/nested_plan_component.py +155 -0
  235. waldur_api_client/models/nested_plan_component_request.py +128 -0
  236. waldur_api_client/models/nested_round.py +5 -5
  237. waldur_api_client/models/nested_software_catalog.py +134 -0
  238. waldur_api_client/models/nested_software_catalog_catalog.py +86 -0
  239. waldur_api_client/models/nested_software_catalog_partition.py +86 -0
  240. waldur_api_client/models/nested_software_catalog_request.py +68 -0
  241. waldur_api_client/models/nested_software_target.py +84 -0
  242. waldur_api_client/models/nested_software_target_request.py +75 -0
  243. waldur_api_client/models/nested_software_version.py +124 -0
  244. waldur_api_client/models/nested_software_version_request.py +93 -0
  245. waldur_api_client/models/network_rbac_policy_request.py +8 -0
  246. waldur_api_client/models/notification.py +9 -9
  247. waldur_api_client/models/{notification_context_fields.py → notification_context_schema.py} +6 -6
  248. waldur_api_client/models/notification_template_detail_serializers.py +9 -3
  249. waldur_api_client/models/observable_object_type_enum.py +14 -0
  250. waldur_api_client/models/offering.py +42 -0
  251. waldur_api_client/models/offering_component.py +79 -0
  252. waldur_api_client/models/offering_component_request.py +80 -0
  253. waldur_api_client/models/offering_create.py +36 -0
  254. waldur_api_client/models/offering_partition.py +440 -0
  255. waldur_api_client/models/offering_partition_request.py +406 -0
  256. waldur_api_client/models/offering_software_catalog.py +176 -0
  257. waldur_api_client/models/offering_software_catalog_request.py +118 -0
  258. waldur_api_client/models/onboarding_company_validation_request_request.py +88 -0
  259. waldur_api_client/models/onboarding_justification.py +212 -0
  260. waldur_api_client/models/onboarding_justification_create_request.py +71 -0
  261. waldur_api_client/models/onboarding_justification_documentation.py +108 -0
  262. waldur_api_client/models/onboarding_justification_documentation_request.py +84 -0
  263. waldur_api_client/models/onboarding_justification_documentation_request_form.py +84 -0
  264. waldur_api_client/models/onboarding_justification_documentation_request_multipart.py +98 -0
  265. waldur_api_client/models/onboarding_justification_request.py +89 -0
  266. waldur_api_client/models/onboarding_justification_review_request.py +59 -0
  267. waldur_api_client/models/onboarding_verification.py +250 -0
  268. waldur_api_client/models/onboarding_verification_request.py +128 -0
  269. waldur_api_client/models/onboarding_verification_status_enum.py +12 -0
  270. waldur_api_client/models/open_stack_create_floating_ip_request.py +20 -1
  271. waldur_api_client/models/order_backend_id_request.py +59 -0
  272. waldur_api_client/models/order_create.py +4 -4
  273. waldur_api_client/models/order_details.py +43 -11
  274. waldur_api_client/models/order_state.py +1 -0
  275. waldur_api_client/models/patched_customer_component_usage_policy_request.py +104 -0
  276. waldur_api_client/models/patched_network_rbac_policy_request.py +85 -0
  277. waldur_api_client/models/patched_offering_partition_request.py +412 -0
  278. waldur_api_client/models/patched_offering_software_catalog_update_request.py +131 -0
  279. waldur_api_client/models/patched_onboarding_justification_request.py +88 -0
  280. waldur_api_client/models/patched_onboarding_verification_request.py +128 -0
  281. waldur_api_client/models/patched_project_credit_request.py +13 -0
  282. waldur_api_client/models/patched_project_request.py +10 -2
  283. waldur_api_client/models/patched_project_request_form.py +10 -2
  284. waldur_api_client/models/patched_project_request_multipart.py +13 -2
  285. waldur_api_client/models/patched_software_catalog_request.py +86 -0
  286. waldur_api_client/models/patched_software_package_request.py +86 -0
  287. waldur_api_client/models/plan_component.py +40 -0
  288. waldur_api_client/models/project.py +37 -2
  289. waldur_api_client/models/project_credit.py +13 -0
  290. waldur_api_client/models/project_credit_request.py +13 -0
  291. waldur_api_client/models/project_recovery_request.py +70 -0
  292. waldur_api_client/models/project_request.py +10 -2
  293. waldur_api_client/models/project_request_form.py +10 -2
  294. waldur_api_client/models/project_request_multipart.py +13 -2
  295. waldur_api_client/models/project_user.py +21 -4
  296. waldur_api_client/models/projects_add_user_response_400.py +65 -0
  297. waldur_api_client/models/projects_list_field_item.py +4 -0
  298. waldur_api_client/models/projects_move_project_response_400.py +65 -0
  299. waldur_api_client/models/projects_retrieve_field_item.py +4 -0
  300. waldur_api_client/models/proposal_proposals_add_user_response_400.py +65 -0
  301. waldur_api_client/models/proposal_protected_calls_add_user_response_400.py +65 -0
  302. waldur_api_client/models/protected_round.py +4 -4
  303. waldur_api_client/models/provider_offering_details.py +42 -0
  304. waldur_api_client/models/provider_plan_details.py +18 -0
  305. waldur_api_client/models/public_offering_details.py +42 -0
  306. waldur_api_client/models/question.py +102 -0
  307. waldur_api_client/models/question_options.py +79 -0
  308. waldur_api_client/models/remote_resource_order_remote_state_enum.py +1 -0
  309. waldur_api_client/models/{set_offerings_username.py → remove_partition_request.py} +11 -19
  310. waldur_api_client/models/remove_software_catalog_request.py +60 -0
  311. waldur_api_client/models/resource.py +37 -11
  312. waldur_api_client/models/resource_downscaled_request.py +59 -0
  313. waldur_api_client/models/resource_paused_request.py +59 -0
  314. waldur_api_client/models/resource_renew_request.py +83 -0
  315. waldur_api_client/models/resource_renew_request_limits.py +44 -0
  316. waldur_api_client/models/resource_renewal_date_type_0.py +53 -0
  317. waldur_api_client/models/resource_restrict_member_access_request.py +59 -0
  318. waldur_api_client/models/{status_enum.py → round_status.py} +1 -1
  319. waldur_api_client/models/service_provider_checklist_summary.py +98 -0
  320. waldur_api_client/models/software_catalog.py +130 -0
  321. waldur_api_client/models/software_catalog_request.py +87 -0
  322. waldur_api_client/models/software_catalog_uuid.py +60 -0
  323. waldur_api_client/models/software_package.py +168 -0
  324. waldur_api_client/models/software_package_request.py +87 -0
  325. waldur_api_client/models/software_target.py +110 -0
  326. waldur_api_client/models/software_version.py +135 -0
  327. waldur_api_client/models/time_series_to_s_data.py +69 -0
  328. waldur_api_client/models/to_s_consent_dashboard.py +155 -0
  329. waldur_api_client/models/update_offering_component_request.py +79 -0
  330. waldur_api_client/models/user.py +20 -0
  331. waldur_api_client/models/users_list_field_item.py +1 -0
  332. waldur_api_client/models/users_me_retrieve_field_item.py +1 -0
  333. waldur_api_client/models/users_retrieve_field_item.py +1 -0
  334. waldur_api_client/models/validation_decision_enum.py +10 -0
  335. waldur_api_client/models/validation_method_enum.py +8 -0
  336. waldur_api_client/models/version_adoption.py +67 -0
  337. {waldur_api_client-7.8.3.dist-info → waldur_api_client-7.8.5.dist-info}/METADATA +1 -1
  338. {waldur_api_client-7.8.3.dist-info → waldur_api_client-7.8.5.dist-info}/RECORD +340 -123
  339. waldur_api_client/models/marketplace_service_providers_projects_list_field_item.py +0 -36
  340. {waldur_api_client-7.8.3.dist-info → waldur_api_client-7.8.5.dist-info}/WHEEL +0 -0
  341. {waldur_api_client-7.8.3.dist-info → waldur_api_client-7.8.5.dist-info}/licenses/LICENSE +0 -0
@@ -7,9 +7,6 @@ import httpx
7
7
 
8
8
  from ... import errors
9
9
  from ...client import AuthenticatedClient, Client
10
- from ...models.marketplace_service_providers_projects_list_field_item import (
11
- MarketplaceServiceProvidersProjectsListFieldItem,
12
- )
13
10
  from ...models.marketplace_service_providers_projects_list_o_item import MarketplaceServiceProvidersProjectsListOItem
14
11
  from ...models.project import Project
15
12
  from ...types import UNSET, Response, Unset
@@ -28,7 +25,7 @@ def _get_kwargs(
28
25
  customer_name: Union[Unset, str] = UNSET,
29
26
  customer_native_name: Union[Unset, str] = UNSET,
30
27
  description: Union[Unset, str] = UNSET,
31
- field: Union[Unset, list[MarketplaceServiceProvidersProjectsListFieldItem]] = UNSET,
28
+ is_removed: Union[Unset, bool] = UNSET,
32
29
  modified: Union[Unset, datetime.datetime] = UNSET,
33
30
  name: Union[Unset, str] = UNSET,
34
31
  name_exact: Union[Unset, str] = UNSET,
@@ -70,14 +67,7 @@ def _get_kwargs(
70
67
 
71
68
  params["description"] = description
72
69
 
73
- json_field: Union[Unset, list[str]] = UNSET
74
- if not isinstance(field, Unset):
75
- json_field = []
76
- for field_item_data in field:
77
- field_item = field_item_data.value
78
- json_field.append(field_item)
79
-
80
- params["field"] = json_field
70
+ params["is_removed"] = is_removed
81
71
 
82
72
  json_modified: Union[Unset, str] = UNSET
83
73
  if not isinstance(modified, Unset):
@@ -154,7 +144,7 @@ def sync_detailed(
154
144
  customer_name: Union[Unset, str] = UNSET,
155
145
  customer_native_name: Union[Unset, str] = UNSET,
156
146
  description: Union[Unset, str] = UNSET,
157
- field: Union[Unset, list[MarketplaceServiceProvidersProjectsListFieldItem]] = UNSET,
147
+ is_removed: Union[Unset, bool] = UNSET,
158
148
  modified: Union[Unset, datetime.datetime] = UNSET,
159
149
  name: Union[Unset, str] = UNSET,
160
150
  name_exact: Union[Unset, str] = UNSET,
@@ -178,7 +168,7 @@ def sync_detailed(
178
168
  customer_name (Union[Unset, str]):
179
169
  customer_native_name (Union[Unset, str]):
180
170
  description (Union[Unset, str]):
181
- field (Union[Unset, list[MarketplaceServiceProvidersProjectsListFieldItem]]):
171
+ is_removed (Union[Unset, bool]):
182
172
  modified (Union[Unset, datetime.datetime]):
183
173
  name (Union[Unset, str]):
184
174
  name_exact (Union[Unset, str]):
@@ -208,7 +198,7 @@ def sync_detailed(
208
198
  customer_name=customer_name,
209
199
  customer_native_name=customer_native_name,
210
200
  description=description,
211
- field=field,
201
+ is_removed=is_removed,
212
202
  modified=modified,
213
203
  name=name,
214
204
  name_exact=name_exact,
@@ -240,7 +230,7 @@ def sync(
240
230
  customer_name: Union[Unset, str] = UNSET,
241
231
  customer_native_name: Union[Unset, str] = UNSET,
242
232
  description: Union[Unset, str] = UNSET,
243
- field: Union[Unset, list[MarketplaceServiceProvidersProjectsListFieldItem]] = UNSET,
233
+ is_removed: Union[Unset, bool] = UNSET,
244
234
  modified: Union[Unset, datetime.datetime] = UNSET,
245
235
  name: Union[Unset, str] = UNSET,
246
236
  name_exact: Union[Unset, str] = UNSET,
@@ -264,7 +254,7 @@ def sync(
264
254
  customer_name (Union[Unset, str]):
265
255
  customer_native_name (Union[Unset, str]):
266
256
  description (Union[Unset, str]):
267
- field (Union[Unset, list[MarketplaceServiceProvidersProjectsListFieldItem]]):
257
+ is_removed (Union[Unset, bool]):
268
258
  modified (Union[Unset, datetime.datetime]):
269
259
  name (Union[Unset, str]):
270
260
  name_exact (Union[Unset, str]):
@@ -295,7 +285,7 @@ def sync(
295
285
  customer_name=customer_name,
296
286
  customer_native_name=customer_native_name,
297
287
  description=description,
298
- field=field,
288
+ is_removed=is_removed,
299
289
  modified=modified,
300
290
  name=name,
301
291
  name_exact=name_exact,
@@ -321,7 +311,7 @@ async def asyncio_detailed(
321
311
  customer_name: Union[Unset, str] = UNSET,
322
312
  customer_native_name: Union[Unset, str] = UNSET,
323
313
  description: Union[Unset, str] = UNSET,
324
- field: Union[Unset, list[MarketplaceServiceProvidersProjectsListFieldItem]] = UNSET,
314
+ is_removed: Union[Unset, bool] = UNSET,
325
315
  modified: Union[Unset, datetime.datetime] = UNSET,
326
316
  name: Union[Unset, str] = UNSET,
327
317
  name_exact: Union[Unset, str] = UNSET,
@@ -345,7 +335,7 @@ async def asyncio_detailed(
345
335
  customer_name (Union[Unset, str]):
346
336
  customer_native_name (Union[Unset, str]):
347
337
  description (Union[Unset, str]):
348
- field (Union[Unset, list[MarketplaceServiceProvidersProjectsListFieldItem]]):
338
+ is_removed (Union[Unset, bool]):
349
339
  modified (Union[Unset, datetime.datetime]):
350
340
  name (Union[Unset, str]):
351
341
  name_exact (Union[Unset, str]):
@@ -375,7 +365,7 @@ async def asyncio_detailed(
375
365
  customer_name=customer_name,
376
366
  customer_native_name=customer_native_name,
377
367
  description=description,
378
- field=field,
368
+ is_removed=is_removed,
379
369
  modified=modified,
380
370
  name=name,
381
371
  name_exact=name_exact,
@@ -405,7 +395,7 @@ async def asyncio(
405
395
  customer_name: Union[Unset, str] = UNSET,
406
396
  customer_native_name: Union[Unset, str] = UNSET,
407
397
  description: Union[Unset, str] = UNSET,
408
- field: Union[Unset, list[MarketplaceServiceProvidersProjectsListFieldItem]] = UNSET,
398
+ is_removed: Union[Unset, bool] = UNSET,
409
399
  modified: Union[Unset, datetime.datetime] = UNSET,
410
400
  name: Union[Unset, str] = UNSET,
411
401
  name_exact: Union[Unset, str] = UNSET,
@@ -429,7 +419,7 @@ async def asyncio(
429
419
  customer_name (Union[Unset, str]):
430
420
  customer_native_name (Union[Unset, str]):
431
421
  description (Union[Unset, str]):
432
- field (Union[Unset, list[MarketplaceServiceProvidersProjectsListFieldItem]]):
422
+ is_removed (Union[Unset, bool]):
433
423
  modified (Union[Unset, datetime.datetime]):
434
424
  name (Union[Unset, str]):
435
425
  name_exact (Union[Unset, str]):
@@ -461,7 +451,7 @@ async def asyncio(
461
451
  customer_name=customer_name,
462
452
  customer_native_name=customer_native_name,
463
453
  description=description,
464
- field=field,
454
+ is_removed=is_removed,
465
455
  modified=modified,
466
456
  name=name,
467
457
  name_exact=name_exact,
@@ -6,7 +6,6 @@ import httpx
6
6
 
7
7
  from ... import errors
8
8
  from ...client import AuthenticatedClient, Client
9
- from ...models.set_offerings_username import SetOfferingsUsername
10
9
  from ...models.set_offerings_username_request import SetOfferingsUsernameRequest
11
10
  from ...types import Response
12
11
 
@@ -31,17 +30,13 @@ def _get_kwargs(
31
30
  return _kwargs
32
31
 
33
32
 
34
- def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> SetOfferingsUsername:
35
- if response.status_code == 200:
36
- response_200 = SetOfferingsUsername.from_dict(response.json())
37
-
38
- return response_200
33
+ def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Any:
34
+ if response.status_code == 201:
35
+ return None
39
36
  raise errors.UnexpectedStatus(response.status_code, response.content)
40
37
 
41
38
 
42
- def _build_response(
43
- *, client: Union[AuthenticatedClient, Client], response: httpx.Response
44
- ) -> Response[SetOfferingsUsername]:
39
+ def _build_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Response[Any]:
45
40
  return Response(
46
41
  status_code=HTTPStatus(response.status_code),
47
42
  content=response.content,
@@ -55,7 +50,7 @@ def sync_detailed(
55
50
  *,
56
51
  client: AuthenticatedClient,
57
52
  body: SetOfferingsUsernameRequest,
58
- ) -> Response[SetOfferingsUsername]:
53
+ ) -> Response[Any]:
59
54
  """
60
55
  Args:
61
56
  uuid (UUID):
@@ -66,7 +61,7 @@ def sync_detailed(
66
61
  httpx.TimeoutException: If the request takes longer than Client.timeout.
67
62
 
68
63
  Returns:
69
- Response[SetOfferingsUsername]
64
+ Response[Any]
70
65
  """
71
66
 
72
67
  kwargs = _get_kwargs(
@@ -81,38 +76,12 @@ def sync_detailed(
81
76
  return _build_response(client=client, response=response)
82
77
 
83
78
 
84
- def sync(
85
- uuid: UUID,
86
- *,
87
- client: AuthenticatedClient,
88
- body: SetOfferingsUsernameRequest,
89
- ) -> SetOfferingsUsername:
90
- """
91
- Args:
92
- uuid (UUID):
93
- body (SetOfferingsUsernameRequest):
94
-
95
- Raises:
96
- errors.UnexpectedStatus: If the server returns an undocumented status code.
97
- httpx.TimeoutException: If the request takes longer than Client.timeout.
98
-
99
- Returns:
100
- SetOfferingsUsername
101
- """
102
-
103
- return sync_detailed(
104
- uuid=uuid,
105
- client=client,
106
- body=body,
107
- ).parsed
108
-
109
-
110
79
  async def asyncio_detailed(
111
80
  uuid: UUID,
112
81
  *,
113
82
  client: AuthenticatedClient,
114
83
  body: SetOfferingsUsernameRequest,
115
- ) -> Response[SetOfferingsUsername]:
84
+ ) -> Response[Any]:
116
85
  """
117
86
  Args:
118
87
  uuid (UUID):
@@ -123,7 +92,7 @@ async def asyncio_detailed(
123
92
  httpx.TimeoutException: If the request takes longer than Client.timeout.
124
93
 
125
94
  Returns:
126
- Response[SetOfferingsUsername]
95
+ Response[Any]
127
96
  """
128
97
 
129
98
  kwargs = _get_kwargs(
@@ -134,31 +103,3 @@ async def asyncio_detailed(
134
103
  response = await client.get_async_httpx_client().request(**kwargs)
135
104
 
136
105
  return _build_response(client=client, response=response)
137
-
138
-
139
- async def asyncio(
140
- uuid: UUID,
141
- *,
142
- client: AuthenticatedClient,
143
- body: SetOfferingsUsernameRequest,
144
- ) -> SetOfferingsUsername:
145
- """
146
- Args:
147
- uuid (UUID):
148
- body (SetOfferingsUsernameRequest):
149
-
150
- Raises:
151
- errors.UnexpectedStatus: If the server returns an undocumented status code.
152
- httpx.TimeoutException: If the request takes longer than Client.timeout.
153
-
154
- Returns:
155
- SetOfferingsUsername
156
- """
157
-
158
- return (
159
- await asyncio_detailed(
160
- uuid=uuid,
161
- client=client,
162
- body=body,
163
- )
164
- ).parsed
@@ -0,0 +1,189 @@
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.service_provider_checklist_summary import ServiceProviderChecklistSummary
10
+ from ...types import UNSET, Response, Unset
11
+
12
+
13
+ def _get_kwargs(
14
+ service_provider_uuid: UUID,
15
+ *,
16
+ page: Union[Unset, int] = UNSET,
17
+ page_size: Union[Unset, int] = UNSET,
18
+ ) -> dict[str, Any]:
19
+ params: dict[str, Any] = {}
20
+
21
+ params["page"] = page
22
+
23
+ params["page_size"] = page_size
24
+
25
+ params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
26
+
27
+ _kwargs: dict[str, Any] = {
28
+ "method": "get",
29
+ "url": f"/api/marketplace-service-providers/{service_provider_uuid}/compliance/checklists_summary/",
30
+ "params": params,
31
+ }
32
+
33
+ return _kwargs
34
+
35
+
36
+ def _parse_response(
37
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
38
+ ) -> list["ServiceProviderChecklistSummary"]:
39
+ if response.status_code == 200:
40
+ response_200 = []
41
+ _response_200 = response.json()
42
+ for response_200_item_data in _response_200:
43
+ response_200_item = ServiceProviderChecklistSummary.from_dict(response_200_item_data)
44
+
45
+ response_200.append(response_200_item)
46
+
47
+ return response_200
48
+ raise errors.UnexpectedStatus(response.status_code, response.content)
49
+
50
+
51
+ def _build_response(
52
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
53
+ ) -> Response[list["ServiceProviderChecklistSummary"]]:
54
+ return Response(
55
+ status_code=HTTPStatus(response.status_code),
56
+ content=response.content,
57
+ headers=response.headers,
58
+ parsed=_parse_response(client=client, response=response),
59
+ )
60
+
61
+
62
+ def sync_detailed(
63
+ service_provider_uuid: UUID,
64
+ *,
65
+ client: AuthenticatedClient,
66
+ page: Union[Unset, int] = UNSET,
67
+ page_size: Union[Unset, int] = UNSET,
68
+ ) -> Response[list["ServiceProviderChecklistSummary"]]:
69
+ """Get summary of all compliance checklists used by this service provider with usage counts.
70
+
71
+ Args:
72
+ service_provider_uuid (UUID):
73
+ page (Union[Unset, int]):
74
+ page_size (Union[Unset, int]):
75
+
76
+ Raises:
77
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
78
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
79
+
80
+ Returns:
81
+ Response[list['ServiceProviderChecklistSummary']]
82
+ """
83
+
84
+ kwargs = _get_kwargs(
85
+ service_provider_uuid=service_provider_uuid,
86
+ page=page,
87
+ page_size=page_size,
88
+ )
89
+
90
+ response = client.get_httpx_client().request(
91
+ **kwargs,
92
+ )
93
+
94
+ return _build_response(client=client, response=response)
95
+
96
+
97
+ def sync(
98
+ service_provider_uuid: UUID,
99
+ *,
100
+ client: AuthenticatedClient,
101
+ page: Union[Unset, int] = UNSET,
102
+ page_size: Union[Unset, int] = UNSET,
103
+ ) -> list["ServiceProviderChecklistSummary"]:
104
+ """Get summary of all compliance checklists used by this service provider with usage counts.
105
+
106
+ Args:
107
+ service_provider_uuid (UUID):
108
+ page (Union[Unset, int]):
109
+ page_size (Union[Unset, int]):
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
+ list['ServiceProviderChecklistSummary']
117
+ """
118
+
119
+ return sync_detailed(
120
+ service_provider_uuid=service_provider_uuid,
121
+ client=client,
122
+ page=page,
123
+ page_size=page_size,
124
+ ).parsed
125
+
126
+
127
+ async def asyncio_detailed(
128
+ service_provider_uuid: UUID,
129
+ *,
130
+ client: AuthenticatedClient,
131
+ page: Union[Unset, int] = UNSET,
132
+ page_size: Union[Unset, int] = UNSET,
133
+ ) -> Response[list["ServiceProviderChecklistSummary"]]:
134
+ """Get summary of all compliance checklists used by this service provider with usage counts.
135
+
136
+ Args:
137
+ service_provider_uuid (UUID):
138
+ page (Union[Unset, int]):
139
+ page_size (Union[Unset, int]):
140
+
141
+ Raises:
142
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
143
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
144
+
145
+ Returns:
146
+ Response[list['ServiceProviderChecklistSummary']]
147
+ """
148
+
149
+ kwargs = _get_kwargs(
150
+ service_provider_uuid=service_provider_uuid,
151
+ page=page,
152
+ page_size=page_size,
153
+ )
154
+
155
+ response = await client.get_async_httpx_client().request(**kwargs)
156
+
157
+ return _build_response(client=client, response=response)
158
+
159
+
160
+ async def asyncio(
161
+ service_provider_uuid: UUID,
162
+ *,
163
+ client: AuthenticatedClient,
164
+ page: Union[Unset, int] = UNSET,
165
+ page_size: Union[Unset, int] = UNSET,
166
+ ) -> list["ServiceProviderChecklistSummary"]:
167
+ """Get summary of all compliance checklists used by this service provider with usage counts.
168
+
169
+ Args:
170
+ service_provider_uuid (UUID):
171
+ page (Union[Unset, int]):
172
+ page_size (Union[Unset, int]):
173
+
174
+ Raises:
175
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
176
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
177
+
178
+ Returns:
179
+ list['ServiceProviderChecklistSummary']
180
+ """
181
+
182
+ return (
183
+ await asyncio_detailed(
184
+ service_provider_uuid=service_provider_uuid,
185
+ client=client,
186
+ page=page,
187
+ page_size=page_size,
188
+ )
189
+ ).parsed
@@ -0,0 +1 @@
1
+ """Contains endpoint functions for accessing the API"""
@@ -0,0 +1,240 @@
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 ...types import UNSET, Response, Unset
11
+
12
+
13
+ def _get_kwargs(
14
+ *,
15
+ last_restarted: Union[Unset, datetime.datetime] = UNSET,
16
+ name: Union[Unset, str] = UNSET,
17
+ offering_uuid: Union[Unset, UUID] = UNSET,
18
+ page: Union[Unset, int] = UNSET,
19
+ page_size: Union[Unset, int] = UNSET,
20
+ version: Union[Unset, str] = UNSET,
21
+ ) -> dict[str, Any]:
22
+ params: dict[str, Any] = {}
23
+
24
+ json_last_restarted: Union[Unset, str] = UNSET
25
+ if not isinstance(last_restarted, Unset):
26
+ json_last_restarted = last_restarted.isoformat()
27
+ params["last_restarted"] = json_last_restarted
28
+
29
+ params["name"] = name
30
+
31
+ json_offering_uuid: Union[Unset, str] = UNSET
32
+ if not isinstance(offering_uuid, Unset):
33
+ json_offering_uuid = str(offering_uuid)
34
+ params["offering_uuid"] = json_offering_uuid
35
+
36
+ params["page"] = page
37
+
38
+ params["page_size"] = page_size
39
+
40
+ params["version"] = version
41
+
42
+ params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
43
+
44
+ _kwargs: dict[str, Any] = {
45
+ "method": "head",
46
+ "url": "/api/marketplace-site-agent-identities/",
47
+ "params": params,
48
+ }
49
+
50
+ return _kwargs
51
+
52
+
53
+ def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> int:
54
+ if response.status_code == HTTPStatus.OK:
55
+ try:
56
+ return int(response.headers["x-result-count"])
57
+ except KeyError:
58
+ raise errors.UnexpectedStatus(
59
+ response.status_code, b"Expected 'X-Result-Count' header for HEAD request, but it was not found."
60
+ )
61
+ except ValueError:
62
+ count_val = response.headers.get("x-result-count")
63
+ msg = f"Expected 'X-Result-Count' header to be an integer, but got '{count_val}'."
64
+ raise errors.UnexpectedStatus(response.status_code, msg.encode())
65
+ raise errors.UnexpectedStatus(response.status_code, response.content)
66
+
67
+
68
+ def _build_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Response[int]:
69
+ return Response(
70
+ status_code=HTTPStatus(response.status_code),
71
+ content=response.content,
72
+ headers=response.headers,
73
+ parsed=_parse_response(client=client, response=response),
74
+ )
75
+
76
+
77
+ def sync_detailed(
78
+ *,
79
+ client: AuthenticatedClient,
80
+ last_restarted: Union[Unset, datetime.datetime] = UNSET,
81
+ name: Union[Unset, str] = UNSET,
82
+ offering_uuid: Union[Unset, UUID] = UNSET,
83
+ page: Union[Unset, int] = UNSET,
84
+ page_size: Union[Unset, int] = UNSET,
85
+ version: Union[Unset, str] = UNSET,
86
+ ) -> Response[int]:
87
+ """Get number of items in the collection matching the request parameters.
88
+
89
+ Args:
90
+ last_restarted (Union[Unset, datetime.datetime]):
91
+ name (Union[Unset, str]):
92
+ offering_uuid (Union[Unset, UUID]):
93
+ page (Union[Unset, int]):
94
+ page_size (Union[Unset, int]):
95
+ version (Union[Unset, str]):
96
+
97
+ Raises:
98
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
99
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
100
+
101
+ Returns:
102
+ Response[int]
103
+ """
104
+
105
+ kwargs = _get_kwargs(
106
+ last_restarted=last_restarted,
107
+ name=name,
108
+ offering_uuid=offering_uuid,
109
+ page=page,
110
+ page_size=page_size,
111
+ version=version,
112
+ )
113
+
114
+ response = client.get_httpx_client().request(
115
+ **kwargs,
116
+ )
117
+
118
+ return _build_response(client=client, response=response)
119
+
120
+
121
+ def sync(
122
+ *,
123
+ client: AuthenticatedClient,
124
+ last_restarted: Union[Unset, datetime.datetime] = UNSET,
125
+ name: Union[Unset, str] = UNSET,
126
+ offering_uuid: Union[Unset, UUID] = UNSET,
127
+ page: Union[Unset, int] = UNSET,
128
+ page_size: Union[Unset, int] = UNSET,
129
+ version: Union[Unset, str] = UNSET,
130
+ ) -> int:
131
+ """Get number of items in the collection matching the request parameters.
132
+
133
+ Args:
134
+ last_restarted (Union[Unset, datetime.datetime]):
135
+ name (Union[Unset, str]):
136
+ offering_uuid (Union[Unset, UUID]):
137
+ page (Union[Unset, int]):
138
+ page_size (Union[Unset, int]):
139
+ version (Union[Unset, str]):
140
+
141
+ Raises:
142
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
143
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
144
+
145
+ Returns:
146
+ int
147
+ """
148
+
149
+ return sync_detailed(
150
+ client=client,
151
+ last_restarted=last_restarted,
152
+ name=name,
153
+ offering_uuid=offering_uuid,
154
+ page=page,
155
+ page_size=page_size,
156
+ version=version,
157
+ ).parsed
158
+
159
+
160
+ async def asyncio_detailed(
161
+ *,
162
+ client: AuthenticatedClient,
163
+ last_restarted: Union[Unset, datetime.datetime] = UNSET,
164
+ name: Union[Unset, str] = UNSET,
165
+ offering_uuid: Union[Unset, UUID] = UNSET,
166
+ page: Union[Unset, int] = UNSET,
167
+ page_size: Union[Unset, int] = UNSET,
168
+ version: Union[Unset, str] = UNSET,
169
+ ) -> Response[int]:
170
+ """Get number of items in the collection matching the request parameters.
171
+
172
+ Args:
173
+ last_restarted (Union[Unset, datetime.datetime]):
174
+ name (Union[Unset, str]):
175
+ offering_uuid (Union[Unset, UUID]):
176
+ page (Union[Unset, int]):
177
+ page_size (Union[Unset, int]):
178
+ version (Union[Unset, str]):
179
+
180
+ Raises:
181
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
182
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
183
+
184
+ Returns:
185
+ Response[int]
186
+ """
187
+
188
+ kwargs = _get_kwargs(
189
+ last_restarted=last_restarted,
190
+ name=name,
191
+ offering_uuid=offering_uuid,
192
+ page=page,
193
+ page_size=page_size,
194
+ version=version,
195
+ )
196
+
197
+ response = await client.get_async_httpx_client().request(**kwargs)
198
+
199
+ return _build_response(client=client, response=response)
200
+
201
+
202
+ async def asyncio(
203
+ *,
204
+ client: AuthenticatedClient,
205
+ last_restarted: Union[Unset, datetime.datetime] = UNSET,
206
+ name: Union[Unset, str] = UNSET,
207
+ offering_uuid: Union[Unset, UUID] = UNSET,
208
+ page: Union[Unset, int] = UNSET,
209
+ page_size: Union[Unset, int] = UNSET,
210
+ version: Union[Unset, str] = UNSET,
211
+ ) -> int:
212
+ """Get number of items in the collection matching the request parameters.
213
+
214
+ Args:
215
+ last_restarted (Union[Unset, datetime.datetime]):
216
+ name (Union[Unset, str]):
217
+ offering_uuid (Union[Unset, UUID]):
218
+ page (Union[Unset, int]):
219
+ page_size (Union[Unset, int]):
220
+ version (Union[Unset, str]):
221
+
222
+ Raises:
223
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
224
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
225
+
226
+ Returns:
227
+ int
228
+ """
229
+
230
+ return (
231
+ await asyncio_detailed(
232
+ client=client,
233
+ last_restarted=last_restarted,
234
+ name=name,
235
+ offering_uuid=offering_uuid,
236
+ page=page,
237
+ page_size=page_size,
238
+ version=version,
239
+ )
240
+ ).parsed