waldur-api-client 7.7.6__py3-none-any.whl → 7.7.8__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 (261) hide show
  1. waldur_api_client/api/booking_resources/booking_resources_count.py +34 -11
  2. waldur_api_client/api/booking_resources/booking_resources_list.py +34 -11
  3. waldur_api_client/api/customer_permissions_reviews/customer_permissions_reviews_count.py +19 -0
  4. waldur_api_client/api/customer_permissions_reviews/customer_permissions_reviews_list.py +19 -0
  5. waldur_api_client/api/customers/customers_project_metadata_compliance_details_list.py +189 -0
  6. waldur_api_client/api/customers/customers_project_metadata_compliance_overview_list.py +189 -0
  7. waldur_api_client/api/customers/customers_project_metadata_compliance_projects_list.py +187 -0
  8. waldur_api_client/api/customers/customers_project_metadata_question_answers_list.py +187 -0
  9. waldur_api_client/api/customers/customers_users_list.py +141 -53
  10. waldur_api_client/api/invoices/invoices_items_retrieve.py +20 -0
  11. waldur_api_client/api/managed_rancher_cluster_resources/__init__.py +1 -0
  12. waldur_api_client/api/managed_rancher_cluster_resources/managed_rancher_cluster_resources_add_node.py +162 -0
  13. waldur_api_client/api/managed_rancher_cluster_resources/managed_rancher_cluster_resources_count.py +172 -0
  14. waldur_api_client/api/managed_rancher_cluster_resources/managed_rancher_cluster_resources_list.py +196 -0
  15. waldur_api_client/api/managed_rancher_cluster_resources/managed_rancher_cluster_resources_retrieve.py +171 -0
  16. waldur_api_client/api/marketplace_course_accounts/__init__.py +1 -0
  17. waldur_api_client/api/marketplace_course_accounts/marketplace_course_accounts_count.py +244 -0
  18. waldur_api_client/api/marketplace_course_accounts/marketplace_course_accounts_create.py +148 -0
  19. waldur_api_client/api/marketplace_course_accounts/marketplace_course_accounts_create_bulk.py +152 -0
  20. waldur_api_client/api/marketplace_course_accounts/marketplace_course_accounts_destroy.py +89 -0
  21. waldur_api_client/api/marketplace_course_accounts/marketplace_course_accounts_list.py +245 -0
  22. waldur_api_client/api/marketplace_course_accounts/marketplace_course_accounts_retrieve.py +140 -0
  23. waldur_api_client/api/marketplace_customer_service_accounts/marketplace_customer_service_accounts_count.py +25 -0
  24. waldur_api_client/api/marketplace_customer_service_accounts/marketplace_customer_service_accounts_list.py +25 -0
  25. waldur_api_client/api/marketplace_integration_statuses/marketplace_integration_statuses_count.py +34 -11
  26. waldur_api_client/api/marketplace_integration_statuses/marketplace_integration_statuses_list.py +34 -11
  27. waldur_api_client/api/marketplace_offering_files/marketplace_offering_files_count.py +34 -11
  28. waldur_api_client/api/marketplace_offering_files/marketplace_offering_files_list.py +34 -11
  29. waldur_api_client/api/marketplace_offering_terms_of_service/__init__.py +1 -0
  30. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_count.py +274 -0
  31. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_create.py +152 -0
  32. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_destroy.py +89 -0
  33. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_list.py +277 -0
  34. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_partial_update.py +164 -0
  35. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_retrieve.py +142 -0
  36. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_update.py +164 -0
  37. waldur_api_client/api/marketplace_offering_user_roles/marketplace_offering_user_roles_count.py +34 -11
  38. waldur_api_client/api/marketplace_offering_user_roles/marketplace_offering_user_roles_list.py +34 -11
  39. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_count.py +34 -11
  40. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_list.py +34 -11
  41. waldur_api_client/api/marketplace_orders/marketplace_orders_count.py +19 -0
  42. waldur_api_client/api/marketplace_orders/marketplace_orders_list.py +19 -0
  43. waldur_api_client/api/marketplace_plans/marketplace_plans_count.py +19 -0
  44. waldur_api_client/api/marketplace_plans/marketplace_plans_list.py +19 -0
  45. waldur_api_client/api/marketplace_plans/marketplace_plans_usage_stats_count.py +19 -0
  46. waldur_api_client/api/marketplace_plans/marketplace_plans_usage_stats_list.py +19 -0
  47. waldur_api_client/api/marketplace_project_service_accounts/marketplace_project_service_accounts_count.py +25 -0
  48. waldur_api_client/api/marketplace_project_service_accounts/marketplace_project_service_accounts_list.py +25 -0
  49. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_count.py +34 -11
  50. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_list.py +34 -11
  51. waldur_api_client/api/marketplace_resources/marketplace_resources_count.py +34 -11
  52. waldur_api_client/api/marketplace_resources/marketplace_resources_list.py +34 -11
  53. waldur_api_client/api/marketplace_screenshots/marketplace_screenshots_count.py +34 -11
  54. waldur_api_client/api/marketplace_screenshots/marketplace_screenshots_list.py +34 -11
  55. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_course_accounts_list.py +284 -0
  56. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_project_service_accounts_list.py +29 -0
  57. waldur_api_client/api/marketplace_user_offering_consents/__init__.py +1 -0
  58. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_count.py +307 -0
  59. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_create.py +152 -0
  60. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_destroy.py +89 -0
  61. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_list.py +310 -0
  62. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_partial_update.py +164 -0
  63. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_retrieve.py +142 -0
  64. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_revoke.py +146 -0
  65. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_update.py +164 -0
  66. waldur_api_client/api/project_permissions_reviews/__init__.py +1 -0
  67. waldur_api_client/api/project_permissions_reviews/project_permissions_reviews_close.py +91 -0
  68. waldur_api_client/api/project_permissions_reviews/project_permissions_reviews_count.py +266 -0
  69. waldur_api_client/api/project_permissions_reviews/project_permissions_reviews_list.py +269 -0
  70. waldur_api_client/api/project_permissions_reviews/project_permissions_reviews_retrieve.py +142 -0
  71. waldur_api_client/api/projects/projects_other_users_list.py +98 -23
  72. waldur_api_client/api/projects/projects_sync_user_roles.py +10 -9
  73. waldur_api_client/api/remote_waldur_api/remote_waldur_api_remote_resource_order_status_retrieve.py +145 -0
  74. waldur_api_client/api/remote_waldur_api/remote_waldur_api_remote_resource_status_retrieve.py +147 -0
  75. waldur_api_client/api/remote_waldur_api/remote_waldur_api_remote_resource_team_status_list.py +188 -0
  76. waldur_api_client/api/support_issue_statuses/__init__.py +1 -0
  77. waldur_api_client/api/support_issue_statuses/support_issue_statuses_count.py +172 -0
  78. waldur_api_client/api/support_issue_statuses/support_issue_statuses_create.py +148 -0
  79. waldur_api_client/api/support_issue_statuses/support_issue_statuses_destroy.py +89 -0
  80. waldur_api_client/api/support_issue_statuses/support_issue_statuses_list.py +173 -0
  81. waldur_api_client/api/support_issue_statuses/support_issue_statuses_partial_update.py +162 -0
  82. waldur_api_client/api/support_issue_statuses/support_issue_statuses_retrieve.py +140 -0
  83. waldur_api_client/api/support_issue_statuses/support_issue_statuses_update.py +162 -0
  84. waldur_api_client/api/user_group_invitations/user_group_invitations_submit_request.py +12 -12
  85. waldur_api_client/api/user_invitations/user_invitations_count.py +30 -0
  86. waldur_api_client/api/user_invitations/user_invitations_list.py +30 -0
  87. waldur_api_client/api/user_permission_requests/user_permission_requests_cancel_request.py +146 -0
  88. waldur_api_client/models/__init__.py +136 -2
  89. waldur_api_client/models/azure_sql_server_create_order_attributes.py +3 -0
  90. waldur_api_client/models/azure_virtual_machine_create_order_attributes.py +3 -0
  91. waldur_api_client/models/booking_offerings_list_field_item.py +0 -2
  92. waldur_api_client/models/booking_offerings_retrieve_field_item.py +0 -2
  93. waldur_api_client/models/booking_resource.py +10 -9
  94. waldur_api_client/models/booking_resources_list_field_item.py +1 -1
  95. waldur_api_client/models/booking_resources_retrieve_field_item.py +1 -1
  96. waldur_api_client/models/cancel_request_response.py +75 -0
  97. waldur_api_client/models/checklist_info.py +76 -0
  98. waldur_api_client/models/compliance_overview.py +91 -0
  99. waldur_api_client/models/constance_settings.py +9 -0
  100. waldur_api_client/models/constance_settings_request.py +9 -0
  101. waldur_api_client/models/course_account.py +188 -0
  102. waldur_api_client/models/course_account_create_nested.py +68 -0
  103. waldur_api_client/models/course_account_create_nested_request.py +68 -0
  104. waldur_api_client/models/course_account_request.py +89 -0
  105. waldur_api_client/models/course_accounts_bulk_create.py +82 -0
  106. waldur_api_client/models/course_accounts_bulk_create_request.py +82 -0
  107. waldur_api_client/models/customer.py +90 -0
  108. waldur_api_client/models/customer_permission_review.py +16 -16
  109. waldur_api_client/models/customer_request.py +9 -0
  110. waldur_api_client/models/customer_service_account.py +9 -0
  111. waldur_api_client/models/customers_list_field_item.py +5 -0
  112. waldur_api_client/models/customers_retrieve_field_item.py +5 -0
  113. waldur_api_client/models/customers_users_list_o.py +9 -0
  114. waldur_api_client/models/customers_users_list_organization_role_item_type_0.py +10 -0
  115. waldur_api_client/models/customers_users_list_project_role_item_type_0.py +10 -0
  116. waldur_api_client/models/dependency_logic_operator_enum.py +9 -0
  117. waldur_api_client/models/event_subscription.py +1 -1
  118. waldur_api_client/models/event_types_enum.py +4 -0
  119. waldur_api_client/models/generic_order_attributes.py +69 -0
  120. waldur_api_client/models/google_auth_authorize_retrieve_field_item.py +1 -0
  121. waldur_api_client/models/google_auth_list_field_item.py +1 -0
  122. waldur_api_client/models/google_auth_retrieve_field_item.py +1 -0
  123. waldur_api_client/models/google_credentials.py +9 -0
  124. waldur_api_client/models/group_invitation.py +33 -0
  125. waldur_api_client/models/group_invitation_request.py +10 -0
  126. waldur_api_client/models/invitation.py +9 -0
  127. waldur_api_client/models/invoices_items_retrieve_o.py +15 -0
  128. waldur_api_client/models/issue_status.py +103 -0
  129. waldur_api_client/models/issue_status_request.py +78 -0
  130. waldur_api_client/models/issue_status_type_enum.py +9 -0
  131. waldur_api_client/models/kind_enum.py +10 -0
  132. waldur_api_client/models/maintenance_announcement.py +8 -0
  133. waldur_api_client/models/managed_rancher_cluster_resources_list_field_item.py +82 -0
  134. waldur_api_client/models/managed_rancher_cluster_resources_retrieve_field_item.py +82 -0
  135. waldur_api_client/models/managed_rancher_create_node_request.py +186 -0
  136. waldur_api_client/models/marketplace_course_accounts_count_state_item.py +10 -0
  137. waldur_api_client/models/marketplace_course_accounts_list_state_item.py +10 -0
  138. waldur_api_client/models/marketplace_customer_service_accounts_count_state_item.py +10 -0
  139. waldur_api_client/models/marketplace_customer_service_accounts_list_state_item.py +10 -0
  140. waldur_api_client/models/marketplace_offering_terms_of_service_count_o_item.py +13 -0
  141. waldur_api_client/models/marketplace_offering_terms_of_service_list_o_item.py +13 -0
  142. waldur_api_client/models/marketplace_orders_list_field_item.py +1 -1
  143. waldur_api_client/models/marketplace_orders_retrieve_field_item.py +1 -1
  144. waldur_api_client/models/marketplace_project_service_accounts_count_state_item.py +10 -0
  145. waldur_api_client/models/marketplace_project_service_accounts_list_state_item.py +10 -0
  146. waldur_api_client/models/marketplace_provider_offerings_list_customer_service_accounts_retrieve_field_item.py +0 -2
  147. waldur_api_client/models/marketplace_provider_offerings_list_field_item.py +0 -2
  148. waldur_api_client/models/marketplace_provider_offerings_list_project_service_accounts_retrieve_field_item.py +0 -2
  149. waldur_api_client/models/marketplace_provider_offerings_retrieve_field_item.py +0 -2
  150. waldur_api_client/models/marketplace_provider_offerings_stats_retrieve_field_item.py +0 -2
  151. waldur_api_client/models/marketplace_provider_offerings_user_has_resource_access_retrieve_field_item.py +0 -2
  152. waldur_api_client/models/marketplace_provider_resources_details_retrieve_field_item.py +1 -1
  153. waldur_api_client/models/marketplace_provider_resources_list_field_item.py +1 -1
  154. waldur_api_client/models/marketplace_provider_resources_retrieve_field_item.py +1 -1
  155. waldur_api_client/models/marketplace_public_offerings_list_field_item.py +0 -2
  156. waldur_api_client/models/marketplace_public_offerings_retrieve_field_item.py +0 -2
  157. waldur_api_client/models/marketplace_rancher_create_order_attributes.py +3 -0
  158. waldur_api_client/models/marketplace_resources_details_retrieve_field_item.py +1 -1
  159. waldur_api_client/models/marketplace_resources_list_field_item.py +1 -1
  160. waldur_api_client/models/marketplace_resources_retrieve_field_item.py +1 -1
  161. waldur_api_client/models/marketplace_service_providers_course_accounts_list_state_item.py +10 -0
  162. waldur_api_client/models/marketplace_service_providers_list_field_item.py +1 -0
  163. waldur_api_client/models/marketplace_service_providers_project_service_accounts_list_state_item.py +10 -0
  164. waldur_api_client/models/marketplace_service_providers_projects_list_field_item.py +1 -0
  165. waldur_api_client/models/marketplace_service_providers_retrieve_field_item.py +1 -0
  166. waldur_api_client/models/marketplace_user_offering_consents_count_o_item.py +15 -0
  167. waldur_api_client/models/marketplace_user_offering_consents_list_o_item.py +15 -0
  168. waldur_api_client/models/nested_security_group_rule.py +223 -0
  169. waldur_api_client/models/nested_security_group_rule_request.py +188 -0
  170. waldur_api_client/models/offering.py +0 -18
  171. waldur_api_client/models/offering_create.py +0 -18
  172. waldur_api_client/models/offering_create_request.py +0 -18
  173. waldur_api_client/models/offering_overview_update_request.py +0 -18
  174. waldur_api_client/models/offering_terms_of_service.py +142 -0
  175. waldur_api_client/models/offering_terms_of_service_create.py +107 -0
  176. waldur_api_client/models/offering_terms_of_service_create_request.py +107 -0
  177. waldur_api_client/models/offering_terms_of_service_request.py +96 -0
  178. waldur_api_client/models/open_stack_backup_restoration_request.py +0 -22
  179. waldur_api_client/models/open_stack_fixed_ip.py +13 -3
  180. waldur_api_client/models/open_stack_fixed_ip_request.py +7 -2
  181. waldur_api_client/models/open_stack_instance_create_order_attributes.py +23 -20
  182. waldur_api_client/models/open_stack_nested_security_group.py +53 -1
  183. waldur_api_client/models/open_stack_network.py +20 -0
  184. waldur_api_client/models/open_stack_port_ip_update_request.py +6 -2
  185. waldur_api_client/models/open_stack_security_group_rule_update_request.py +4 -4
  186. waldur_api_client/models/open_stack_static_route.py +13 -4
  187. waldur_api_client/models/open_stack_static_route_request.py +7 -3
  188. waldur_api_client/models/open_stack_sub_net.py +15 -2
  189. waldur_api_client/models/open_stack_sub_net_allocation_pool.py +27 -8
  190. waldur_api_client/models/open_stack_sub_net_allocation_pool_request.py +14 -5
  191. waldur_api_client/models/open_stack_sub_net_request.py +15 -2
  192. waldur_api_client/models/open_stack_tenant.py +38 -0
  193. waldur_api_client/models/open_stack_tenant_create_order_attributes.py +21 -0
  194. waldur_api_client/models/open_stack_volume_create_order_attributes.py +3 -0
  195. waldur_api_client/models/openstack_networks_list_field_item.py +1 -0
  196. waldur_api_client/models/openstack_networks_retrieve_field_item.py +1 -0
  197. waldur_api_client/models/openstack_tenants_list_field_item.py +3 -0
  198. waldur_api_client/models/openstack_tenants_retrieve_field_item.py +3 -0
  199. waldur_api_client/models/order_create.py +0 -8
  200. waldur_api_client/models/order_create_request.py +23 -7
  201. waldur_api_client/models/order_details.py +0 -9
  202. waldur_api_client/models/patched_customer_request.py +9 -0
  203. waldur_api_client/models/patched_issue_status_request.py +76 -0
  204. waldur_api_client/models/patched_offering_terms_of_service_request.py +96 -0
  205. waldur_api_client/models/patched_open_stack_sub_net_request.py +15 -2
  206. waldur_api_client/models/patched_project_request.py +17 -0
  207. waldur_api_client/models/patched_question_admin_request.py +17 -0
  208. waldur_api_client/models/patched_rancher_service_request.py +1 -1
  209. waldur_api_client/models/patched_user_offering_consent_request.py +59 -0
  210. waldur_api_client/models/permission_project.py +147 -0
  211. waldur_api_client/models/permission_request.py +16 -0
  212. waldur_api_client/models/project.py +17 -0
  213. waldur_api_client/models/project_answer.py +122 -0
  214. waldur_api_client/models/project_detail.py +133 -0
  215. waldur_api_client/models/project_details_response.py +115 -0
  216. waldur_api_client/models/project_permission_review.py +166 -0
  217. waldur_api_client/models/project_permissions_reviews_count_o_item.py +11 -0
  218. waldur_api_client/models/project_permissions_reviews_list_o_item.py +11 -0
  219. waldur_api_client/models/project_request.py +17 -0
  220. waldur_api_client/models/project_service_account.py +9 -0
  221. waldur_api_client/models/projects_list_field_item.py +1 -0
  222. waldur_api_client/models/projects_other_users_list_o.py +9 -0
  223. waldur_api_client/models/projects_retrieve_field_item.py +1 -0
  224. waldur_api_client/models/proposal.py +8 -0
  225. waldur_api_client/models/proposal_review.py +8 -0
  226. waldur_api_client/models/provider_offering_details.py +0 -18
  227. waldur_api_client/models/provider_offering_details_request.py +0 -18
  228. waldur_api_client/models/public_offering_details.py +0 -18
  229. waldur_api_client/models/question_admin.py +17 -0
  230. waldur_api_client/models/question_admin_request.py +17 -0
  231. waldur_api_client/models/question_answer.py +176 -0
  232. waldur_api_client/models/question_answer_project_answers_item.py +44 -0
  233. waldur_api_client/models/question_answer_question_options_item.py +44 -0
  234. waldur_api_client/models/rancher_nested_public_ip.py +25 -7
  235. waldur_api_client/models/rancher_service.py +1 -1
  236. waldur_api_client/models/rancher_service_request.py +1 -1
  237. waldur_api_client/models/remote_resource_order.py +88 -0
  238. waldur_api_client/models/remote_resource_order_remote_state_enum.py +15 -0
  239. waldur_api_client/models/remote_resource_sync_status.py +123 -0
  240. waldur_api_client/models/{robot_account_states.py → remote_resource_sync_status_remote_state_enum.py} +1 -1
  241. waldur_api_client/models/remote_resource_team_member.py +85 -0
  242. waldur_api_client/models/resource.py +10 -9
  243. waldur_api_client/models/rmq_connection.py +8 -3
  244. waldur_api_client/models/rmq_subscription.py +7 -3
  245. waldur_api_client/models/robot_account.py +9 -17
  246. waldur_api_client/models/robot_account_details.py +9 -17
  247. waldur_api_client/models/service_account_state.py +10 -0
  248. waldur_api_client/models/service_provider.py +9 -0
  249. waldur_api_client/models/slurm_invoices_slurm_package_create_order_attributes.py +3 -0
  250. waldur_api_client/models/submit_request_response.py +75 -0
  251. waldur_api_client/models/sync_status_enum.py +10 -0
  252. waldur_api_client/models/user_offering_consent.py +202 -0
  253. waldur_api_client/models/user_offering_consent_create.py +60 -0
  254. waldur_api_client/models/user_offering_consent_create_request.py +60 -0
  255. waldur_api_client/models/user_offering_consent_request.py +59 -0
  256. waldur_api_client/models/v_mware_virtual_machine_create_order_attributes.py +3 -0
  257. waldur_api_client/models/visible_invitation_details.py +9 -0
  258. {waldur_api_client-7.7.6.dist-info → waldur_api_client-7.7.8.dist-info}/METADATA +1 -1
  259. {waldur_api_client-7.7.6.dist-info → waldur_api_client-7.7.8.dist-info}/RECORD +261 -145
  260. {waldur_api_client-7.7.6.dist-info → waldur_api_client-7.7.8.dist-info}/LICENSE +0 -0
  261. {waldur_api_client-7.7.6.dist-info → waldur_api_client-7.7.8.dist-info}/WHEEL +0 -0
@@ -15,7 +15,8 @@ def _get_kwargs(
15
15
  *,
16
16
  o: Union[Unset, list[MarketplaceScreenshotsListOItem]] = UNSET,
17
17
  offering: Union[Unset, str] = UNSET,
18
- offering_uuid: Union[Unset, UUID] = UNSET,
18
+ offering_slug: Union[Unset, list[str]] = UNSET,
19
+ offering_uuid: Union[Unset, list[UUID]] = UNSET,
19
20
  page: Union[Unset, int] = UNSET,
20
21
  page_size: Union[Unset, int] = UNSET,
21
22
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
@@ -33,9 +34,19 @@ def _get_kwargs(
33
34
 
34
35
  params["offering"] = offering
35
36
 
36
- json_offering_uuid: Union[Unset, str] = UNSET
37
+ json_offering_slug: Union[Unset, list[str]] = UNSET
38
+ if not isinstance(offering_slug, Unset):
39
+ json_offering_slug = offering_slug
40
+
41
+ params["offering_slug"] = json_offering_slug
42
+
43
+ json_offering_uuid: Union[Unset, list[str]] = UNSET
37
44
  if not isinstance(offering_uuid, Unset):
38
- json_offering_uuid = str(offering_uuid)
45
+ json_offering_uuid = []
46
+ for offering_uuid_item_data in offering_uuid:
47
+ offering_uuid_item = str(offering_uuid_item_data)
48
+ json_offering_uuid.append(offering_uuid_item)
49
+
39
50
  params["offering_uuid"] = json_offering_uuid
40
51
 
41
52
  params["page"] = page
@@ -87,7 +98,8 @@ def sync_detailed(
87
98
  client: AuthenticatedClient,
88
99
  o: Union[Unset, list[MarketplaceScreenshotsListOItem]] = UNSET,
89
100
  offering: Union[Unset, str] = UNSET,
90
- offering_uuid: Union[Unset, UUID] = UNSET,
101
+ offering_slug: Union[Unset, list[str]] = UNSET,
102
+ offering_uuid: Union[Unset, list[UUID]] = UNSET,
91
103
  page: Union[Unset, int] = UNSET,
92
104
  page_size: Union[Unset, int] = UNSET,
93
105
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
@@ -97,7 +109,8 @@ def sync_detailed(
97
109
  Args:
98
110
  o (Union[Unset, list[MarketplaceScreenshotsListOItem]]):
99
111
  offering (Union[Unset, str]):
100
- offering_uuid (Union[Unset, UUID]):
112
+ offering_slug (Union[Unset, list[str]]):
113
+ offering_uuid (Union[Unset, list[UUID]]):
101
114
  page (Union[Unset, int]):
102
115
  page_size (Union[Unset, int]):
103
116
  parent_offering_uuid (Union[Unset, UUID]):
@@ -113,6 +126,7 @@ def sync_detailed(
113
126
  kwargs = _get_kwargs(
114
127
  o=o,
115
128
  offering=offering,
129
+ offering_slug=offering_slug,
116
130
  offering_uuid=offering_uuid,
117
131
  page=page,
118
132
  page_size=page_size,
@@ -131,7 +145,8 @@ def sync(
131
145
  client: AuthenticatedClient,
132
146
  o: Union[Unset, list[MarketplaceScreenshotsListOItem]] = UNSET,
133
147
  offering: Union[Unset, str] = UNSET,
134
- offering_uuid: Union[Unset, UUID] = UNSET,
148
+ offering_slug: Union[Unset, list[str]] = UNSET,
149
+ offering_uuid: Union[Unset, list[UUID]] = UNSET,
135
150
  page: Union[Unset, int] = UNSET,
136
151
  page_size: Union[Unset, int] = UNSET,
137
152
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
@@ -141,7 +156,8 @@ def sync(
141
156
  Args:
142
157
  o (Union[Unset, list[MarketplaceScreenshotsListOItem]]):
143
158
  offering (Union[Unset, str]):
144
- offering_uuid (Union[Unset, UUID]):
159
+ offering_slug (Union[Unset, list[str]]):
160
+ offering_uuid (Union[Unset, list[UUID]]):
145
161
  page (Union[Unset, int]):
146
162
  page_size (Union[Unset, int]):
147
163
  parent_offering_uuid (Union[Unset, UUID]):
@@ -158,6 +174,7 @@ def sync(
158
174
  client=client,
159
175
  o=o,
160
176
  offering=offering,
177
+ offering_slug=offering_slug,
161
178
  offering_uuid=offering_uuid,
162
179
  page=page,
163
180
  page_size=page_size,
@@ -170,7 +187,8 @@ async def asyncio_detailed(
170
187
  client: AuthenticatedClient,
171
188
  o: Union[Unset, list[MarketplaceScreenshotsListOItem]] = UNSET,
172
189
  offering: Union[Unset, str] = UNSET,
173
- offering_uuid: Union[Unset, UUID] = UNSET,
190
+ offering_slug: Union[Unset, list[str]] = UNSET,
191
+ offering_uuid: Union[Unset, list[UUID]] = UNSET,
174
192
  page: Union[Unset, int] = UNSET,
175
193
  page_size: Union[Unset, int] = UNSET,
176
194
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
@@ -180,7 +198,8 @@ async def asyncio_detailed(
180
198
  Args:
181
199
  o (Union[Unset, list[MarketplaceScreenshotsListOItem]]):
182
200
  offering (Union[Unset, str]):
183
- offering_uuid (Union[Unset, UUID]):
201
+ offering_slug (Union[Unset, list[str]]):
202
+ offering_uuid (Union[Unset, list[UUID]]):
184
203
  page (Union[Unset, int]):
185
204
  page_size (Union[Unset, int]):
186
205
  parent_offering_uuid (Union[Unset, UUID]):
@@ -196,6 +215,7 @@ async def asyncio_detailed(
196
215
  kwargs = _get_kwargs(
197
216
  o=o,
198
217
  offering=offering,
218
+ offering_slug=offering_slug,
199
219
  offering_uuid=offering_uuid,
200
220
  page=page,
201
221
  page_size=page_size,
@@ -212,7 +232,8 @@ async def asyncio(
212
232
  client: AuthenticatedClient,
213
233
  o: Union[Unset, list[MarketplaceScreenshotsListOItem]] = UNSET,
214
234
  offering: Union[Unset, str] = UNSET,
215
- offering_uuid: Union[Unset, UUID] = UNSET,
235
+ offering_slug: Union[Unset, list[str]] = UNSET,
236
+ offering_uuid: Union[Unset, list[UUID]] = UNSET,
216
237
  page: Union[Unset, int] = UNSET,
217
238
  page_size: Union[Unset, int] = UNSET,
218
239
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
@@ -222,7 +243,8 @@ async def asyncio(
222
243
  Args:
223
244
  o (Union[Unset, list[MarketplaceScreenshotsListOItem]]):
224
245
  offering (Union[Unset, str]):
225
- offering_uuid (Union[Unset, UUID]):
246
+ offering_slug (Union[Unset, list[str]]):
247
+ offering_uuid (Union[Unset, list[UUID]]):
226
248
  page (Union[Unset, int]):
227
249
  page_size (Union[Unset, int]):
228
250
  parent_offering_uuid (Union[Unset, UUID]):
@@ -240,6 +262,7 @@ async def asyncio(
240
262
  client=client,
241
263
  o=o,
242
264
  offering=offering,
265
+ offering_slug=offering_slug,
243
266
  offering_uuid=offering_uuid,
244
267
  page=page,
245
268
  page_size=page_size,
@@ -0,0 +1,284 @@
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.course_account import CourseAccount
10
+ from ...models.marketplace_service_providers_course_accounts_list_state_item import (
11
+ MarketplaceServiceProvidersCourseAccountsListStateItem,
12
+ )
13
+ from ...types import UNSET, Response, Unset
14
+
15
+
16
+ def _get_kwargs(
17
+ service_provider_uuid: UUID,
18
+ *,
19
+ email: Union[Unset, str] = UNSET,
20
+ page: Union[Unset, int] = UNSET,
21
+ page_size: Union[Unset, int] = UNSET,
22
+ project_uuid: Union[Unset, UUID] = UNSET,
23
+ state: Union[Unset, list[MarketplaceServiceProvidersCourseAccountsListStateItem]] = UNSET,
24
+ username: Union[Unset, str] = UNSET,
25
+ ) -> dict[str, Any]:
26
+ params: dict[str, Any] = {}
27
+
28
+ params["email"] = email
29
+
30
+ params["page"] = page
31
+
32
+ params["page_size"] = page_size
33
+
34
+ json_project_uuid: Union[Unset, str] = UNSET
35
+ if not isinstance(project_uuid, Unset):
36
+ json_project_uuid = str(project_uuid)
37
+ params["project_uuid"] = json_project_uuid
38
+
39
+ json_state: Union[Unset, list[str]] = UNSET
40
+ if not isinstance(state, Unset):
41
+ json_state = []
42
+ for state_item_data in state:
43
+ state_item = state_item_data.value
44
+ json_state.append(state_item)
45
+
46
+ params["state"] = json_state
47
+
48
+ params["username"] = username
49
+
50
+ params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
51
+
52
+ _kwargs: dict[str, Any] = {
53
+ "method": "get",
54
+ "url": f"/api/marketplace-service-providers/{service_provider_uuid}/course_accounts/",
55
+ "params": params,
56
+ }
57
+
58
+ return _kwargs
59
+
60
+
61
+ def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> list["CourseAccount"]:
62
+ if response.status_code == 200:
63
+ response_200 = []
64
+ _response_200 = response.json()
65
+ for response_200_item_data in _response_200:
66
+ response_200_item = CourseAccount.from_dict(response_200_item_data)
67
+
68
+ response_200.append(response_200_item)
69
+
70
+ return response_200
71
+ raise errors.UnexpectedStatus(response.status_code, response.content)
72
+
73
+
74
+ def _build_response(
75
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
76
+ ) -> Response[list["CourseAccount"]]:
77
+ return Response(
78
+ status_code=HTTPStatus(response.status_code),
79
+ content=response.content,
80
+ headers=response.headers,
81
+ parsed=_parse_response(client=client, response=response),
82
+ )
83
+
84
+
85
+ def sync_detailed(
86
+ service_provider_uuid: UUID,
87
+ *,
88
+ client: AuthenticatedClient,
89
+ email: Union[Unset, str] = UNSET,
90
+ page: Union[Unset, int] = UNSET,
91
+ page_size: Union[Unset, int] = UNSET,
92
+ project_uuid: Union[Unset, UUID] = UNSET,
93
+ state: Union[Unset, list[MarketplaceServiceProvidersCourseAccountsListStateItem]] = UNSET,
94
+ username: Union[Unset, str] = UNSET,
95
+ ) -> Response[list["CourseAccount"]]:
96
+ """Return course project accounts that have access to resources managed by the provider.
97
+
98
+ Checks for:
99
+ - Projects with active service provider's resources
100
+ - Course accounts with non-blank users
101
+
102
+
103
+
104
+ Args:
105
+ service_provider_uuid (UUID):
106
+ email (Union[Unset, str]):
107
+ page (Union[Unset, int]):
108
+ page_size (Union[Unset, int]):
109
+ project_uuid (Union[Unset, UUID]):
110
+ state (Union[Unset, list[MarketplaceServiceProvidersCourseAccountsListStateItem]]):
111
+ username (Union[Unset, str]):
112
+
113
+ Raises:
114
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
115
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
116
+
117
+ Returns:
118
+ Response[list['CourseAccount']]
119
+ """
120
+
121
+ kwargs = _get_kwargs(
122
+ service_provider_uuid=service_provider_uuid,
123
+ email=email,
124
+ page=page,
125
+ page_size=page_size,
126
+ project_uuid=project_uuid,
127
+ state=state,
128
+ username=username,
129
+ )
130
+
131
+ response = client.get_httpx_client().request(
132
+ **kwargs,
133
+ )
134
+
135
+ return _build_response(client=client, response=response)
136
+
137
+
138
+ def sync(
139
+ service_provider_uuid: UUID,
140
+ *,
141
+ client: AuthenticatedClient,
142
+ email: Union[Unset, str] = UNSET,
143
+ page: Union[Unset, int] = UNSET,
144
+ page_size: Union[Unset, int] = UNSET,
145
+ project_uuid: Union[Unset, UUID] = UNSET,
146
+ state: Union[Unset, list[MarketplaceServiceProvidersCourseAccountsListStateItem]] = UNSET,
147
+ username: Union[Unset, str] = UNSET,
148
+ ) -> list["CourseAccount"]:
149
+ """Return course project accounts that have access to resources managed by the provider.
150
+
151
+ Checks for:
152
+ - Projects with active service provider's resources
153
+ - Course accounts with non-blank users
154
+
155
+
156
+
157
+ Args:
158
+ service_provider_uuid (UUID):
159
+ email (Union[Unset, str]):
160
+ page (Union[Unset, int]):
161
+ page_size (Union[Unset, int]):
162
+ project_uuid (Union[Unset, UUID]):
163
+ state (Union[Unset, list[MarketplaceServiceProvidersCourseAccountsListStateItem]]):
164
+ username (Union[Unset, str]):
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
+ list['CourseAccount']
172
+ """
173
+
174
+ return sync_detailed(
175
+ service_provider_uuid=service_provider_uuid,
176
+ client=client,
177
+ email=email,
178
+ page=page,
179
+ page_size=page_size,
180
+ project_uuid=project_uuid,
181
+ state=state,
182
+ username=username,
183
+ ).parsed
184
+
185
+
186
+ async def asyncio_detailed(
187
+ service_provider_uuid: UUID,
188
+ *,
189
+ client: AuthenticatedClient,
190
+ email: Union[Unset, str] = UNSET,
191
+ page: Union[Unset, int] = UNSET,
192
+ page_size: Union[Unset, int] = UNSET,
193
+ project_uuid: Union[Unset, UUID] = UNSET,
194
+ state: Union[Unset, list[MarketplaceServiceProvidersCourseAccountsListStateItem]] = UNSET,
195
+ username: Union[Unset, str] = UNSET,
196
+ ) -> Response[list["CourseAccount"]]:
197
+ """Return course project accounts that have access to resources managed by the provider.
198
+
199
+ Checks for:
200
+ - Projects with active service provider's resources
201
+ - Course accounts with non-blank users
202
+
203
+
204
+
205
+ Args:
206
+ service_provider_uuid (UUID):
207
+ email (Union[Unset, str]):
208
+ page (Union[Unset, int]):
209
+ page_size (Union[Unset, int]):
210
+ project_uuid (Union[Unset, UUID]):
211
+ state (Union[Unset, list[MarketplaceServiceProvidersCourseAccountsListStateItem]]):
212
+ username (Union[Unset, str]):
213
+
214
+ Raises:
215
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
216
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
217
+
218
+ Returns:
219
+ Response[list['CourseAccount']]
220
+ """
221
+
222
+ kwargs = _get_kwargs(
223
+ service_provider_uuid=service_provider_uuid,
224
+ email=email,
225
+ page=page,
226
+ page_size=page_size,
227
+ project_uuid=project_uuid,
228
+ state=state,
229
+ username=username,
230
+ )
231
+
232
+ response = await client.get_async_httpx_client().request(**kwargs)
233
+
234
+ return _build_response(client=client, response=response)
235
+
236
+
237
+ async def asyncio(
238
+ service_provider_uuid: UUID,
239
+ *,
240
+ client: AuthenticatedClient,
241
+ email: Union[Unset, str] = UNSET,
242
+ page: Union[Unset, int] = UNSET,
243
+ page_size: Union[Unset, int] = UNSET,
244
+ project_uuid: Union[Unset, UUID] = UNSET,
245
+ state: Union[Unset, list[MarketplaceServiceProvidersCourseAccountsListStateItem]] = UNSET,
246
+ username: Union[Unset, str] = UNSET,
247
+ ) -> list["CourseAccount"]:
248
+ """Return course project accounts that have access to resources managed by the provider.
249
+
250
+ Checks for:
251
+ - Projects with active service provider's resources
252
+ - Course accounts with non-blank users
253
+
254
+
255
+
256
+ Args:
257
+ service_provider_uuid (UUID):
258
+ email (Union[Unset, str]):
259
+ page (Union[Unset, int]):
260
+ page_size (Union[Unset, int]):
261
+ project_uuid (Union[Unset, UUID]):
262
+ state (Union[Unset, list[MarketplaceServiceProvidersCourseAccountsListStateItem]]):
263
+ username (Union[Unset, str]):
264
+
265
+ Raises:
266
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
267
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
268
+
269
+ Returns:
270
+ list['CourseAccount']
271
+ """
272
+
273
+ return (
274
+ await asyncio_detailed(
275
+ service_provider_uuid=service_provider_uuid,
276
+ client=client,
277
+ email=email,
278
+ page=page,
279
+ page_size=page_size,
280
+ project_uuid=project_uuid,
281
+ state=state,
282
+ username=username,
283
+ )
284
+ ).parsed
@@ -6,6 +6,9 @@ import httpx
6
6
 
7
7
  from ... import errors
8
8
  from ...client import AuthenticatedClient, Client
9
+ from ...models.marketplace_service_providers_project_service_accounts_list_state_item import (
10
+ MarketplaceServiceProvidersProjectServiceAccountsListStateItem,
11
+ )
9
12
  from ...models.project_service_account import ProjectServiceAccount
10
13
  from ...types import UNSET, Response, Unset
11
14
 
@@ -18,6 +21,7 @@ def _get_kwargs(
18
21
  page_size: Union[Unset, int] = UNSET,
19
22
  project: Union[Unset, str] = UNSET,
20
23
  project_uuid: Union[Unset, UUID] = UNSET,
24
+ state: Union[Unset, list[MarketplaceServiceProvidersProjectServiceAccountsListStateItem]] = UNSET,
21
25
  username: Union[Unset, str] = UNSET,
22
26
  ) -> dict[str, Any]:
23
27
  params: dict[str, Any] = {}
@@ -35,6 +39,15 @@ def _get_kwargs(
35
39
  json_project_uuid = str(project_uuid)
36
40
  params["project_uuid"] = json_project_uuid
37
41
 
42
+ json_state: Union[Unset, list[str]] = UNSET
43
+ if not isinstance(state, Unset):
44
+ json_state = []
45
+ for state_item_data in state:
46
+ state_item = state_item_data.value
47
+ json_state.append(state_item)
48
+
49
+ params["state"] = json_state
50
+
38
51
  params["username"] = username
39
52
 
40
53
  params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
@@ -83,6 +96,7 @@ def sync_detailed(
83
96
  page_size: Union[Unset, int] = UNSET,
84
97
  project: Union[Unset, str] = UNSET,
85
98
  project_uuid: Union[Unset, UUID] = UNSET,
99
+ state: Union[Unset, list[MarketplaceServiceProvidersProjectServiceAccountsListStateItem]] = UNSET,
86
100
  username: Union[Unset, str] = UNSET,
87
101
  ) -> Response[list["ProjectServiceAccount"]]:
88
102
  """Return project service accounts that have access to resources managed by the provider.
@@ -100,6 +114,8 @@ def sync_detailed(
100
114
  page_size (Union[Unset, int]):
101
115
  project (Union[Unset, str]):
102
116
  project_uuid (Union[Unset, UUID]):
117
+ state (Union[Unset,
118
+ list[MarketplaceServiceProvidersProjectServiceAccountsListStateItem]]):
103
119
  username (Union[Unset, str]):
104
120
 
105
121
  Raises:
@@ -117,6 +133,7 @@ def sync_detailed(
117
133
  page_size=page_size,
118
134
  project=project,
119
135
  project_uuid=project_uuid,
136
+ state=state,
120
137
  username=username,
121
138
  )
122
139
 
@@ -136,6 +153,7 @@ def sync(
136
153
  page_size: Union[Unset, int] = UNSET,
137
154
  project: Union[Unset, str] = UNSET,
138
155
  project_uuid: Union[Unset, UUID] = UNSET,
156
+ state: Union[Unset, list[MarketplaceServiceProvidersProjectServiceAccountsListStateItem]] = UNSET,
139
157
  username: Union[Unset, str] = UNSET,
140
158
  ) -> list["ProjectServiceAccount"]:
141
159
  """Return project service accounts that have access to resources managed by the provider.
@@ -153,6 +171,8 @@ def sync(
153
171
  page_size (Union[Unset, int]):
154
172
  project (Union[Unset, str]):
155
173
  project_uuid (Union[Unset, UUID]):
174
+ state (Union[Unset,
175
+ list[MarketplaceServiceProvidersProjectServiceAccountsListStateItem]]):
156
176
  username (Union[Unset, str]):
157
177
 
158
178
  Raises:
@@ -171,6 +191,7 @@ def sync(
171
191
  page_size=page_size,
172
192
  project=project,
173
193
  project_uuid=project_uuid,
194
+ state=state,
174
195
  username=username,
175
196
  ).parsed
176
197
 
@@ -184,6 +205,7 @@ async def asyncio_detailed(
184
205
  page_size: Union[Unset, int] = UNSET,
185
206
  project: Union[Unset, str] = UNSET,
186
207
  project_uuid: Union[Unset, UUID] = UNSET,
208
+ state: Union[Unset, list[MarketplaceServiceProvidersProjectServiceAccountsListStateItem]] = UNSET,
187
209
  username: Union[Unset, str] = UNSET,
188
210
  ) -> Response[list["ProjectServiceAccount"]]:
189
211
  """Return project service accounts that have access to resources managed by the provider.
@@ -201,6 +223,8 @@ async def asyncio_detailed(
201
223
  page_size (Union[Unset, int]):
202
224
  project (Union[Unset, str]):
203
225
  project_uuid (Union[Unset, UUID]):
226
+ state (Union[Unset,
227
+ list[MarketplaceServiceProvidersProjectServiceAccountsListStateItem]]):
204
228
  username (Union[Unset, str]):
205
229
 
206
230
  Raises:
@@ -218,6 +242,7 @@ async def asyncio_detailed(
218
242
  page_size=page_size,
219
243
  project=project,
220
244
  project_uuid=project_uuid,
245
+ state=state,
221
246
  username=username,
222
247
  )
223
248
 
@@ -235,6 +260,7 @@ async def asyncio(
235
260
  page_size: Union[Unset, int] = UNSET,
236
261
  project: Union[Unset, str] = UNSET,
237
262
  project_uuid: Union[Unset, UUID] = UNSET,
263
+ state: Union[Unset, list[MarketplaceServiceProvidersProjectServiceAccountsListStateItem]] = UNSET,
238
264
  username: Union[Unset, str] = UNSET,
239
265
  ) -> list["ProjectServiceAccount"]:
240
266
  """Return project service accounts that have access to resources managed by the provider.
@@ -252,6 +278,8 @@ async def asyncio(
252
278
  page_size (Union[Unset, int]):
253
279
  project (Union[Unset, str]):
254
280
  project_uuid (Union[Unset, UUID]):
281
+ state (Union[Unset,
282
+ list[MarketplaceServiceProvidersProjectServiceAccountsListStateItem]]):
255
283
  username (Union[Unset, str]):
256
284
 
257
285
  Raises:
@@ -271,6 +299,7 @@ async def asyncio(
271
299
  page_size=page_size,
272
300
  project=project,
273
301
  project_uuid=project_uuid,
302
+ state=state,
274
303
  username=username,
275
304
  )
276
305
  ).parsed
@@ -0,0 +1 @@
1
+ """Contains endpoint functions for accessing the API"""