waldur-api-client 7.7.5__py3-none-any.whl → 7.7.7__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 (229) 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/customers/customers_project_metadata_compliance_details_list.py +189 -0
  4. waldur_api_client/api/customers/customers_project_metadata_compliance_overview_list.py +189 -0
  5. waldur_api_client/api/customers/customers_project_metadata_compliance_projects_list.py +187 -0
  6. waldur_api_client/api/customers/customers_project_metadata_question_answers_list.py +187 -0
  7. waldur_api_client/api/marketplace_integration_statuses/marketplace_integration_statuses_count.py +34 -11
  8. waldur_api_client/api/marketplace_integration_statuses/marketplace_integration_statuses_list.py +34 -11
  9. waldur_api_client/api/marketplace_offering_files/marketplace_offering_files_count.py +34 -11
  10. waldur_api_client/api/marketplace_offering_files/marketplace_offering_files_list.py +34 -11
  11. waldur_api_client/api/marketplace_offering_terms_of_service/__init__.py +1 -0
  12. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_count.py +274 -0
  13. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_create.py +152 -0
  14. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_destroy.py +89 -0
  15. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_list.py +277 -0
  16. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_partial_update.py +164 -0
  17. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_retrieve.py +142 -0
  18. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_update.py +164 -0
  19. waldur_api_client/api/marketplace_offering_user_roles/marketplace_offering_user_roles_count.py +34 -11
  20. waldur_api_client/api/marketplace_offering_user_roles/marketplace_offering_user_roles_list.py +34 -11
  21. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_checklist_retrieve.py +154 -0
  22. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_checklist_review_retrieve.py +154 -0
  23. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_completion_review_status_retrieve.py +154 -0
  24. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_completion_status_retrieve.py +154 -0
  25. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_count.py +34 -11
  26. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_list.py +34 -11
  27. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_submit_answers.py +179 -0
  28. waldur_api_client/api/marketplace_orders/marketplace_orders_count.py +19 -0
  29. waldur_api_client/api/marketplace_orders/marketplace_orders_list.py +19 -0
  30. waldur_api_client/api/marketplace_plans/marketplace_plans_count.py +19 -0
  31. waldur_api_client/api/marketplace_plans/marketplace_plans_list.py +19 -0
  32. waldur_api_client/api/marketplace_plans/marketplace_plans_usage_stats_count.py +19 -0
  33. waldur_api_client/api/marketplace_plans/marketplace_plans_usage_stats_list.py +19 -0
  34. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_count.py +34 -11
  35. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_list.py +34 -11
  36. waldur_api_client/api/marketplace_resources/marketplace_resources_count.py +34 -11
  37. waldur_api_client/api/marketplace_resources/marketplace_resources_list.py +34 -11
  38. waldur_api_client/api/marketplace_robot_accounts/marketplace_robot_accounts_list.py +23 -0
  39. waldur_api_client/api/marketplace_robot_accounts/marketplace_robot_accounts_retrieve.py +30 -1
  40. waldur_api_client/api/marketplace_screenshots/marketplace_screenshots_count.py +34 -11
  41. waldur_api_client/api/marketplace_screenshots/marketplace_screenshots_list.py +34 -11
  42. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_project_service_accounts_list.py +276 -0
  43. waldur_api_client/api/marketplace_service_providers/service_provider_compliance_overview.py +189 -0
  44. waldur_api_client/api/marketplace_service_providers/service_provider_offering_users_compliance.py +222 -0
  45. waldur_api_client/api/marketplace_user_offering_consents/__init__.py +1 -0
  46. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_count.py +307 -0
  47. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_create.py +152 -0
  48. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_destroy.py +89 -0
  49. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_list.py +310 -0
  50. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_partial_update.py +164 -0
  51. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_retrieve.py +142 -0
  52. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_revoke.py +146 -0
  53. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_update.py +164 -0
  54. waldur_api_client/api/public_maintenance_announcements/__init__.py +1 -0
  55. waldur_api_client/api/public_maintenance_announcements/public_maintenance_announcements_count.py +325 -0
  56. waldur_api_client/api/public_maintenance_announcements/public_maintenance_announcements_list.py +328 -0
  57. waldur_api_client/api/public_maintenance_announcements/public_maintenance_announcements_retrieve.py +144 -0
  58. waldur_api_client/api/remote_waldur_api/remote_waldur_api_remote_resource_order_status_retrieve.py +145 -0
  59. waldur_api_client/api/remote_waldur_api/remote_waldur_api_remote_resource_status_retrieve.py +147 -0
  60. waldur_api_client/api/remote_waldur_api/remote_waldur_api_remote_resource_team_status_list.py +188 -0
  61. waldur_api_client/models/__init__.py +118 -4
  62. waldur_api_client/models/admin_announcement.py +109 -1
  63. waldur_api_client/models/admin_announcement_maintenance_affected_offerings_item.py +103 -0
  64. waldur_api_client/models/admin_announcements_list_field_item.py +8 -0
  65. waldur_api_client/models/admin_announcements_retrieve_field_item.py +8 -0
  66. waldur_api_client/models/azure_sql_server_create_order_attributes.py +83 -0
  67. waldur_api_client/models/azure_virtual_machine_create_order_attributes.py +99 -0
  68. waldur_api_client/models/basic_user.py +30 -21
  69. waldur_api_client/models/booking_offerings_list_field_item.py +1 -2
  70. waldur_api_client/models/booking_offerings_retrieve_field_item.py +1 -2
  71. waldur_api_client/models/booking_resource.py +10 -9
  72. waldur_api_client/models/booking_resources_list_field_item.py +1 -1
  73. waldur_api_client/models/booking_resources_retrieve_field_item.py +1 -1
  74. waldur_api_client/models/checklist_info.py +76 -0
  75. waldur_api_client/models/compliance_overview.py +91 -0
  76. waldur_api_client/models/create_router.py +1 -1
  77. waldur_api_client/models/create_router_request.py +1 -1
  78. waldur_api_client/models/customer.py +51 -0
  79. waldur_api_client/models/customers_list_field_item.py +2 -0
  80. waldur_api_client/models/customers_retrieve_field_item.py +2 -0
  81. waldur_api_client/models/fingerprint.py +19 -17
  82. waldur_api_client/models/generic_order_attributes.py +69 -0
  83. waldur_api_client/models/google_auth_authorize_retrieve_field_item.py +1 -0
  84. waldur_api_client/models/google_auth_list_field_item.py +1 -0
  85. waldur_api_client/models/google_auth_retrieve_field_item.py +1 -0
  86. waldur_api_client/models/google_credentials.py +9 -0
  87. waldur_api_client/models/group_invitation.py +24 -0
  88. waldur_api_client/models/group_invitation_request.py +10 -0
  89. waldur_api_client/models/instance_flavor_change_request.py +1 -1
  90. waldur_api_client/models/maintenance_announcement.py +8 -0
  91. waldur_api_client/models/marketplace_managed_rancher_create_order_attributes.py +144 -0
  92. waldur_api_client/models/marketplace_offering_terms_of_service_count_o_item.py +13 -0
  93. waldur_api_client/models/marketplace_offering_terms_of_service_list_o_item.py +13 -0
  94. waldur_api_client/models/marketplace_orders_list_field_item.py +1 -1
  95. waldur_api_client/models/marketplace_orders_retrieve_field_item.py +1 -1
  96. waldur_api_client/models/marketplace_provider_offerings_list_customer_service_accounts_retrieve_field_item.py +1 -2
  97. waldur_api_client/models/marketplace_provider_offerings_list_field_item.py +1 -2
  98. waldur_api_client/models/marketplace_provider_offerings_list_project_service_accounts_retrieve_field_item.py +1 -2
  99. waldur_api_client/models/marketplace_provider_offerings_retrieve_field_item.py +1 -2
  100. waldur_api_client/models/marketplace_provider_offerings_stats_retrieve_field_item.py +1 -2
  101. waldur_api_client/models/marketplace_provider_offerings_user_has_resource_access_retrieve_field_item.py +1 -2
  102. waldur_api_client/models/marketplace_provider_resources_details_retrieve_field_item.py +1 -1
  103. waldur_api_client/models/marketplace_provider_resources_list_field_item.py +1 -1
  104. waldur_api_client/models/marketplace_provider_resources_retrieve_field_item.py +1 -1
  105. waldur_api_client/models/marketplace_public_offerings_list_field_item.py +1 -2
  106. waldur_api_client/models/marketplace_public_offerings_retrieve_field_item.py +1 -2
  107. waldur_api_client/models/marketplace_rancher_create_order_attributes.py +145 -0
  108. waldur_api_client/models/marketplace_resources_details_retrieve_field_item.py +1 -1
  109. waldur_api_client/models/marketplace_resources_list_field_item.py +1 -1
  110. waldur_api_client/models/marketplace_resources_retrieve_field_item.py +1 -1
  111. waldur_api_client/models/marketplace_robot_accounts_list_field_item.py +32 -0
  112. waldur_api_client/models/marketplace_robot_accounts_retrieve_field_item.py +32 -0
  113. waldur_api_client/models/marketplace_service_providers_list_field_item.py +1 -0
  114. waldur_api_client/models/marketplace_service_providers_retrieve_field_item.py +1 -0
  115. waldur_api_client/models/marketplace_user_offering_consents_count_o_item.py +15 -0
  116. waldur_api_client/models/marketplace_user_offering_consents_list_o_item.py +15 -0
  117. waldur_api_client/models/offering.py +9 -18
  118. waldur_api_client/models/offering_create.py +8 -18
  119. waldur_api_client/models/offering_create_request.py +0 -18
  120. waldur_api_client/models/offering_overview_update_request.py +0 -18
  121. waldur_api_client/models/offering_terms_of_service.py +142 -0
  122. waldur_api_client/models/offering_terms_of_service_create.py +107 -0
  123. waldur_api_client/models/offering_terms_of_service_create_request.py +107 -0
  124. waldur_api_client/models/offering_terms_of_service_request.py +96 -0
  125. waldur_api_client/models/open_stack_backend_instance.py +2 -2
  126. waldur_api_client/models/open_stack_backend_volumes.py +3 -3
  127. waldur_api_client/models/open_stack_backup.py +1 -1
  128. waldur_api_client/models/open_stack_backup_restoration.py +8 -5
  129. waldur_api_client/models/open_stack_backup_restoration_request.py +28 -3
  130. waldur_api_client/models/open_stack_fixed_ip.py +2 -2
  131. waldur_api_client/models/open_stack_fixed_ip_request.py +2 -2
  132. waldur_api_client/models/open_stack_floating_ip.py +5 -4
  133. waldur_api_client/models/open_stack_instance.py +17 -15
  134. waldur_api_client/models/open_stack_instance_allowed_address_pairs_update_request.py +3 -2
  135. waldur_api_client/models/open_stack_instance_availability_zone.py +1 -1
  136. waldur_api_client/models/open_stack_instance_create_order_attributes.py +283 -0
  137. waldur_api_client/models/open_stack_instance_request.py +4 -3
  138. waldur_api_client/models/open_stack_instance_security_groups_update_request.py +1 -1
  139. waldur_api_client/models/open_stack_nested_floating_ip.py +3 -3
  140. waldur_api_client/models/open_stack_nested_instance.py +1 -1
  141. waldur_api_client/models/open_stack_nested_port.py +5 -5
  142. waldur_api_client/models/open_stack_nested_port_request.py +1 -1
  143. waldur_api_client/models/open_stack_nested_security_group.py +16 -16
  144. waldur_api_client/models/open_stack_nested_security_group_request.py +59 -0
  145. waldur_api_client/models/{nested_security_group_rule_request.py → open_stack_nested_security_group_rules_item.py} +73 -63
  146. waldur_api_client/models/open_stack_nested_sub_net.py +4 -4
  147. waldur_api_client/models/open_stack_nested_sub_net_request.py +4 -4
  148. waldur_api_client/models/open_stack_nested_volume.py +3 -3
  149. waldur_api_client/models/open_stack_nested_volume_request.py +3 -3
  150. waldur_api_client/models/open_stack_network.py +23 -3
  151. waldur_api_client/models/open_stack_port.py +10 -9
  152. waldur_api_client/models/open_stack_port_ip_update_request.py +2 -2
  153. waldur_api_client/models/open_stack_port_request.py +3 -3
  154. waldur_api_client/models/open_stack_router.py +2 -2
  155. waldur_api_client/models/open_stack_router_interface_request.py +4 -2
  156. waldur_api_client/models/open_stack_security_group_rule_create.py +6 -5
  157. waldur_api_client/models/open_stack_security_group_rule_create_request.py +6 -5
  158. waldur_api_client/models/open_stack_security_group_rule_update_request.py +10 -9
  159. waldur_api_client/models/open_stack_server_group.py +2 -1
  160. waldur_api_client/models/open_stack_server_group_request.py +2 -1
  161. waldur_api_client/models/open_stack_snapshot.py +2 -2
  162. waldur_api_client/models/open_stack_snapshot_restoration.py +1 -1
  163. waldur_api_client/models/open_stack_sub_net.py +5 -5
  164. waldur_api_client/models/open_stack_sub_net_request.py +2 -2
  165. waldur_api_client/models/open_stack_tenant.py +41 -3
  166. waldur_api_client/models/open_stack_tenant_create_order_attributes.py +130 -0
  167. waldur_api_client/models/open_stack_volume.py +9 -9
  168. waldur_api_client/models/open_stack_volume_create_order_attributes.py +155 -0
  169. waldur_api_client/models/open_stack_volume_request.py +1 -1
  170. waldur_api_client/models/openstack_networks_list_field_item.py +1 -0
  171. waldur_api_client/models/openstack_networks_retrieve_field_item.py +1 -0
  172. waldur_api_client/models/openstack_tenants_list_field_item.py +3 -0
  173. waldur_api_client/models/openstack_tenants_retrieve_field_item.py +3 -0
  174. waldur_api_client/models/order_create.py +0 -8
  175. waldur_api_client/models/order_create_request.py +181 -4
  176. waldur_api_client/models/order_details.py +0 -9
  177. waldur_api_client/models/patched_offering_terms_of_service_request.py +96 -0
  178. waldur_api_client/models/patched_open_stack_instance_request.py +4 -3
  179. waldur_api_client/models/patched_open_stack_server_group_request.py +2 -1
  180. waldur_api_client/models/patched_open_stack_sub_net_request.py +2 -2
  181. waldur_api_client/models/patched_open_stack_volume_request.py +1 -1
  182. waldur_api_client/models/patched_user_offering_consent_request.py +59 -0
  183. waldur_api_client/models/permission_project.py +147 -0
  184. waldur_api_client/models/permission_request.py +2 -2
  185. waldur_api_client/models/project_answer.py +122 -0
  186. waldur_api_client/models/project_detail.py +133 -0
  187. waldur_api_client/models/project_details_response.py +115 -0
  188. waldur_api_client/models/provider_offering_details.py +9 -18
  189. waldur_api_client/models/provider_offering_details_request.py +0 -18
  190. waldur_api_client/models/public_maintenance_announcement.py +217 -0
  191. waldur_api_client/models/public_maintenance_announcement_state_enum.py +10 -0
  192. waldur_api_client/models/public_maintenance_announcements_count_o_item.py +15 -0
  193. waldur_api_client/models/public_maintenance_announcements_count_state_item.py +12 -0
  194. waldur_api_client/models/public_maintenance_announcements_list_o_item.py +15 -0
  195. waldur_api_client/models/public_maintenance_announcements_list_state_item.py +12 -0
  196. waldur_api_client/models/public_offering_details.py +9 -18
  197. waldur_api_client/models/question_answer.py +176 -0
  198. waldur_api_client/models/question_answer_project_answers_item.py +44 -0
  199. waldur_api_client/models/question_answer_question_options_item.py +44 -0
  200. waldur_api_client/models/rancher_cluster_security_group_rule.py +5 -4
  201. waldur_api_client/models/rancher_cluster_security_group_rule_request.py +5 -4
  202. waldur_api_client/models/remote_project_update_request.py +2 -2
  203. waldur_api_client/models/remote_resource_order.py +88 -0
  204. waldur_api_client/models/remote_resource_order_remote_state_enum.py +15 -0
  205. waldur_api_client/models/remote_resource_sync_status.py +123 -0
  206. waldur_api_client/models/remote_resource_sync_status_remote_state_enum.py +13 -0
  207. waldur_api_client/models/remote_resource_team_member.py +85 -0
  208. waldur_api_client/models/resource.py +10 -9
  209. waldur_api_client/models/robot_account_details.py +226 -144
  210. waldur_api_client/models/service_provider.py +9 -0
  211. waldur_api_client/models/service_provider_compliance_overview.py +122 -0
  212. waldur_api_client/models/service_provider_offering_user_compliance.py +179 -0
  213. waldur_api_client/models/service_provider_offering_user_compliance_state_enum.py +17 -0
  214. waldur_api_client/models/slurm_invoices_slurm_package_create_order_attributes.py +75 -0
  215. waldur_api_client/models/sync_status_enum.py +10 -0
  216. waldur_api_client/models/user_offering_consent.py +202 -0
  217. waldur_api_client/models/user_offering_consent_create.py +60 -0
  218. waldur_api_client/models/user_offering_consent_create_request.py +60 -0
  219. waldur_api_client/models/user_offering_consent_request.py +59 -0
  220. waldur_api_client/models/v_mware_virtual_machine_create_order_attributes.py +228 -0
  221. waldur_api_client/models/v_mware_virtual_machine_create_order_attributes_guest_os_type_1.py +155 -0
  222. waldur_api_client/models/v_mware_virtual_machine_create_order_attributes_guest_os_type_2_type_1.py +155 -0
  223. waldur_api_client/models/v_mware_virtual_machine_create_order_attributes_guest_os_type_3_type_1.py +155 -0
  224. waldur_api_client/models/volume_attach_request.py +1 -1
  225. {waldur_api_client-7.7.5.dist-info → waldur_api_client-7.7.7.dist-info}/METADATA +1 -1
  226. {waldur_api_client-7.7.5.dist-info → waldur_api_client-7.7.7.dist-info}/RECORD +228 -138
  227. waldur_api_client/models/nested_security_group_rule.py +0 -222
  228. {waldur_api_client-7.7.5.dist-info → waldur_api_client-7.7.7.dist-info}/LICENSE +0 -0
  229. {waldur_api_client-7.7.5.dist-info → waldur_api_client-7.7.7.dist-info}/WHEEL +0 -0
@@ -14,7 +14,8 @@ def _get_kwargs(
14
14
  *,
15
15
  o: Union[Unset, list[MarketplaceScreenshotsCountOItem]] = UNSET,
16
16
  offering: Union[Unset, str] = UNSET,
17
- offering_uuid: Union[Unset, UUID] = UNSET,
17
+ offering_slug: Union[Unset, list[str]] = UNSET,
18
+ offering_uuid: Union[Unset, list[UUID]] = UNSET,
18
19
  page: Union[Unset, int] = UNSET,
19
20
  page_size: Union[Unset, int] = UNSET,
20
21
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
@@ -32,9 +33,19 @@ def _get_kwargs(
32
33
 
33
34
  params["offering"] = offering
34
35
 
35
- json_offering_uuid: Union[Unset, str] = UNSET
36
+ json_offering_slug: Union[Unset, list[str]] = UNSET
37
+ if not isinstance(offering_slug, Unset):
38
+ json_offering_slug = offering_slug
39
+
40
+ params["offering_slug"] = json_offering_slug
41
+
42
+ json_offering_uuid: Union[Unset, list[str]] = UNSET
36
43
  if not isinstance(offering_uuid, Unset):
37
- json_offering_uuid = str(offering_uuid)
44
+ json_offering_uuid = []
45
+ for offering_uuid_item_data in offering_uuid:
46
+ offering_uuid_item = str(offering_uuid_item_data)
47
+ json_offering_uuid.append(offering_uuid_item)
48
+
38
49
  params["offering_uuid"] = json_offering_uuid
39
50
 
40
51
  params["page"] = page
@@ -86,7 +97,8 @@ def sync_detailed(
86
97
  client: AuthenticatedClient,
87
98
  o: Union[Unset, list[MarketplaceScreenshotsCountOItem]] = UNSET,
88
99
  offering: Union[Unset, str] = UNSET,
89
- offering_uuid: Union[Unset, UUID] = UNSET,
100
+ offering_slug: Union[Unset, list[str]] = UNSET,
101
+ offering_uuid: Union[Unset, list[UUID]] = UNSET,
90
102
  page: Union[Unset, int] = UNSET,
91
103
  page_size: Union[Unset, int] = UNSET,
92
104
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
@@ -96,7 +108,8 @@ def sync_detailed(
96
108
  Args:
97
109
  o (Union[Unset, list[MarketplaceScreenshotsCountOItem]]):
98
110
  offering (Union[Unset, str]):
99
- offering_uuid (Union[Unset, UUID]):
111
+ offering_slug (Union[Unset, list[str]]):
112
+ offering_uuid (Union[Unset, list[UUID]]):
100
113
  page (Union[Unset, int]):
101
114
  page_size (Union[Unset, int]):
102
115
  parent_offering_uuid (Union[Unset, UUID]):
@@ -112,6 +125,7 @@ def sync_detailed(
112
125
  kwargs = _get_kwargs(
113
126
  o=o,
114
127
  offering=offering,
128
+ offering_slug=offering_slug,
115
129
  offering_uuid=offering_uuid,
116
130
  page=page,
117
131
  page_size=page_size,
@@ -130,7 +144,8 @@ def sync(
130
144
  client: AuthenticatedClient,
131
145
  o: Union[Unset, list[MarketplaceScreenshotsCountOItem]] = UNSET,
132
146
  offering: Union[Unset, str] = UNSET,
133
- offering_uuid: Union[Unset, UUID] = UNSET,
147
+ offering_slug: Union[Unset, list[str]] = UNSET,
148
+ offering_uuid: Union[Unset, list[UUID]] = UNSET,
134
149
  page: Union[Unset, int] = UNSET,
135
150
  page_size: Union[Unset, int] = UNSET,
136
151
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
@@ -140,7 +155,8 @@ def sync(
140
155
  Args:
141
156
  o (Union[Unset, list[MarketplaceScreenshotsCountOItem]]):
142
157
  offering (Union[Unset, str]):
143
- offering_uuid (Union[Unset, UUID]):
158
+ offering_slug (Union[Unset, list[str]]):
159
+ offering_uuid (Union[Unset, list[UUID]]):
144
160
  page (Union[Unset, int]):
145
161
  page_size (Union[Unset, int]):
146
162
  parent_offering_uuid (Union[Unset, UUID]):
@@ -157,6 +173,7 @@ def sync(
157
173
  client=client,
158
174
  o=o,
159
175
  offering=offering,
176
+ offering_slug=offering_slug,
160
177
  offering_uuid=offering_uuid,
161
178
  page=page,
162
179
  page_size=page_size,
@@ -169,7 +186,8 @@ async def asyncio_detailed(
169
186
  client: AuthenticatedClient,
170
187
  o: Union[Unset, list[MarketplaceScreenshotsCountOItem]] = UNSET,
171
188
  offering: Union[Unset, str] = UNSET,
172
- offering_uuid: Union[Unset, UUID] = UNSET,
189
+ offering_slug: Union[Unset, list[str]] = UNSET,
190
+ offering_uuid: Union[Unset, list[UUID]] = UNSET,
173
191
  page: Union[Unset, int] = UNSET,
174
192
  page_size: Union[Unset, int] = UNSET,
175
193
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
@@ -179,7 +197,8 @@ async def asyncio_detailed(
179
197
  Args:
180
198
  o (Union[Unset, list[MarketplaceScreenshotsCountOItem]]):
181
199
  offering (Union[Unset, str]):
182
- offering_uuid (Union[Unset, UUID]):
200
+ offering_slug (Union[Unset, list[str]]):
201
+ offering_uuid (Union[Unset, list[UUID]]):
183
202
  page (Union[Unset, int]):
184
203
  page_size (Union[Unset, int]):
185
204
  parent_offering_uuid (Union[Unset, UUID]):
@@ -195,6 +214,7 @@ async def asyncio_detailed(
195
214
  kwargs = _get_kwargs(
196
215
  o=o,
197
216
  offering=offering,
217
+ offering_slug=offering_slug,
198
218
  offering_uuid=offering_uuid,
199
219
  page=page,
200
220
  page_size=page_size,
@@ -211,7 +231,8 @@ async def asyncio(
211
231
  client: AuthenticatedClient,
212
232
  o: Union[Unset, list[MarketplaceScreenshotsCountOItem]] = UNSET,
213
233
  offering: Union[Unset, str] = UNSET,
214
- offering_uuid: Union[Unset, UUID] = UNSET,
234
+ offering_slug: Union[Unset, list[str]] = UNSET,
235
+ offering_uuid: Union[Unset, list[UUID]] = UNSET,
215
236
  page: Union[Unset, int] = UNSET,
216
237
  page_size: Union[Unset, int] = UNSET,
217
238
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
@@ -221,7 +242,8 @@ async def asyncio(
221
242
  Args:
222
243
  o (Union[Unset, list[MarketplaceScreenshotsCountOItem]]):
223
244
  offering (Union[Unset, str]):
224
- offering_uuid (Union[Unset, UUID]):
245
+ offering_slug (Union[Unset, list[str]]):
246
+ offering_uuid (Union[Unset, list[UUID]]):
225
247
  page (Union[Unset, int]):
226
248
  page_size (Union[Unset, int]):
227
249
  parent_offering_uuid (Union[Unset, UUID]):
@@ -239,6 +261,7 @@ async def asyncio(
239
261
  client=client,
240
262
  o=o,
241
263
  offering=offering,
264
+ offering_slug=offering_slug,
242
265
  offering_uuid=offering_uuid,
243
266
  page=page,
244
267
  page_size=page_size,
@@ -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,276 @@
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.project_service_account import ProjectServiceAccount
10
+ from ...types import UNSET, Response, Unset
11
+
12
+
13
+ def _get_kwargs(
14
+ service_provider_uuid: UUID,
15
+ *,
16
+ email: Union[Unset, str] = UNSET,
17
+ page: Union[Unset, int] = UNSET,
18
+ page_size: Union[Unset, int] = UNSET,
19
+ project: Union[Unset, str] = UNSET,
20
+ project_uuid: Union[Unset, UUID] = UNSET,
21
+ username: Union[Unset, str] = UNSET,
22
+ ) -> dict[str, Any]:
23
+ params: dict[str, Any] = {}
24
+
25
+ params["email"] = email
26
+
27
+ params["page"] = page
28
+
29
+ params["page_size"] = page_size
30
+
31
+ params["project"] = project
32
+
33
+ json_project_uuid: Union[Unset, str] = UNSET
34
+ if not isinstance(project_uuid, Unset):
35
+ json_project_uuid = str(project_uuid)
36
+ params["project_uuid"] = json_project_uuid
37
+
38
+ params["username"] = username
39
+
40
+ params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
41
+
42
+ _kwargs: dict[str, Any] = {
43
+ "method": "get",
44
+ "url": f"/api/marketplace-service-providers/{service_provider_uuid}/project_service_accounts/",
45
+ "params": params,
46
+ }
47
+
48
+ return _kwargs
49
+
50
+
51
+ def _parse_response(
52
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
53
+ ) -> list["ProjectServiceAccount"]:
54
+ if response.status_code == 200:
55
+ response_200 = []
56
+ _response_200 = response.json()
57
+ for response_200_item_data in _response_200:
58
+ response_200_item = ProjectServiceAccount.from_dict(response_200_item_data)
59
+
60
+ response_200.append(response_200_item)
61
+
62
+ return response_200
63
+ raise errors.UnexpectedStatus(response.status_code, response.content)
64
+
65
+
66
+ def _build_response(
67
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
68
+ ) -> Response[list["ProjectServiceAccount"]]:
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
+ service_provider_uuid: UUID,
79
+ *,
80
+ client: AuthenticatedClient,
81
+ email: Union[Unset, str] = UNSET,
82
+ page: Union[Unset, int] = UNSET,
83
+ page_size: Union[Unset, int] = UNSET,
84
+ project: Union[Unset, str] = UNSET,
85
+ project_uuid: Union[Unset, UUID] = UNSET,
86
+ username: Union[Unset, str] = UNSET,
87
+ ) -> Response[list["ProjectServiceAccount"]]:
88
+ """Return project service accounts that have access to resources managed by the provider.
89
+
90
+ Checks for:
91
+ - Projects with active service provider's resources
92
+ - Service accounts with non-blank usernames
93
+
94
+
95
+
96
+ Args:
97
+ service_provider_uuid (UUID):
98
+ email (Union[Unset, str]):
99
+ page (Union[Unset, int]):
100
+ page_size (Union[Unset, int]):
101
+ project (Union[Unset, str]):
102
+ project_uuid (Union[Unset, UUID]):
103
+ username (Union[Unset, str]):
104
+
105
+ Raises:
106
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
107
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
108
+
109
+ Returns:
110
+ Response[list['ProjectServiceAccount']]
111
+ """
112
+
113
+ kwargs = _get_kwargs(
114
+ service_provider_uuid=service_provider_uuid,
115
+ email=email,
116
+ page=page,
117
+ page_size=page_size,
118
+ project=project,
119
+ project_uuid=project_uuid,
120
+ username=username,
121
+ )
122
+
123
+ response = client.get_httpx_client().request(
124
+ **kwargs,
125
+ )
126
+
127
+ return _build_response(client=client, response=response)
128
+
129
+
130
+ def sync(
131
+ service_provider_uuid: UUID,
132
+ *,
133
+ client: AuthenticatedClient,
134
+ email: Union[Unset, str] = UNSET,
135
+ page: Union[Unset, int] = UNSET,
136
+ page_size: Union[Unset, int] = UNSET,
137
+ project: Union[Unset, str] = UNSET,
138
+ project_uuid: Union[Unset, UUID] = UNSET,
139
+ username: Union[Unset, str] = UNSET,
140
+ ) -> list["ProjectServiceAccount"]:
141
+ """Return project service accounts that have access to resources managed by the provider.
142
+
143
+ Checks for:
144
+ - Projects with active service provider's resources
145
+ - Service accounts with non-blank usernames
146
+
147
+
148
+
149
+ Args:
150
+ service_provider_uuid (UUID):
151
+ email (Union[Unset, str]):
152
+ page (Union[Unset, int]):
153
+ page_size (Union[Unset, int]):
154
+ project (Union[Unset, str]):
155
+ project_uuid (Union[Unset, UUID]):
156
+ username (Union[Unset, str]):
157
+
158
+ Raises:
159
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
160
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
161
+
162
+ Returns:
163
+ list['ProjectServiceAccount']
164
+ """
165
+
166
+ return sync_detailed(
167
+ service_provider_uuid=service_provider_uuid,
168
+ client=client,
169
+ email=email,
170
+ page=page,
171
+ page_size=page_size,
172
+ project=project,
173
+ project_uuid=project_uuid,
174
+ username=username,
175
+ ).parsed
176
+
177
+
178
+ async def asyncio_detailed(
179
+ service_provider_uuid: UUID,
180
+ *,
181
+ client: AuthenticatedClient,
182
+ email: Union[Unset, str] = UNSET,
183
+ page: Union[Unset, int] = UNSET,
184
+ page_size: Union[Unset, int] = UNSET,
185
+ project: Union[Unset, str] = UNSET,
186
+ project_uuid: Union[Unset, UUID] = UNSET,
187
+ username: Union[Unset, str] = UNSET,
188
+ ) -> Response[list["ProjectServiceAccount"]]:
189
+ """Return project service accounts that have access to resources managed by the provider.
190
+
191
+ Checks for:
192
+ - Projects with active service provider's resources
193
+ - Service accounts with non-blank usernames
194
+
195
+
196
+
197
+ Args:
198
+ service_provider_uuid (UUID):
199
+ email (Union[Unset, str]):
200
+ page (Union[Unset, int]):
201
+ page_size (Union[Unset, int]):
202
+ project (Union[Unset, str]):
203
+ project_uuid (Union[Unset, UUID]):
204
+ username (Union[Unset, str]):
205
+
206
+ Raises:
207
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
208
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
209
+
210
+ Returns:
211
+ Response[list['ProjectServiceAccount']]
212
+ """
213
+
214
+ kwargs = _get_kwargs(
215
+ service_provider_uuid=service_provider_uuid,
216
+ email=email,
217
+ page=page,
218
+ page_size=page_size,
219
+ project=project,
220
+ project_uuid=project_uuid,
221
+ username=username,
222
+ )
223
+
224
+ response = await client.get_async_httpx_client().request(**kwargs)
225
+
226
+ return _build_response(client=client, response=response)
227
+
228
+
229
+ async def asyncio(
230
+ service_provider_uuid: UUID,
231
+ *,
232
+ client: AuthenticatedClient,
233
+ email: Union[Unset, str] = UNSET,
234
+ page: Union[Unset, int] = UNSET,
235
+ page_size: Union[Unset, int] = UNSET,
236
+ project: Union[Unset, str] = UNSET,
237
+ project_uuid: Union[Unset, UUID] = UNSET,
238
+ username: Union[Unset, str] = UNSET,
239
+ ) -> list["ProjectServiceAccount"]:
240
+ """Return project service accounts that have access to resources managed by the provider.
241
+
242
+ Checks for:
243
+ - Projects with active service provider's resources
244
+ - Service accounts with non-blank usernames
245
+
246
+
247
+
248
+ Args:
249
+ service_provider_uuid (UUID):
250
+ email (Union[Unset, str]):
251
+ page (Union[Unset, int]):
252
+ page_size (Union[Unset, int]):
253
+ project (Union[Unset, str]):
254
+ project_uuid (Union[Unset, UUID]):
255
+ username (Union[Unset, str]):
256
+
257
+ Raises:
258
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
259
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
260
+
261
+ Returns:
262
+ list['ProjectServiceAccount']
263
+ """
264
+
265
+ return (
266
+ await asyncio_detailed(
267
+ service_provider_uuid=service_provider_uuid,
268
+ client=client,
269
+ email=email,
270
+ page=page,
271
+ page_size=page_size,
272
+ project=project,
273
+ project_uuid=project_uuid,
274
+ username=username,
275
+ )
276
+ ).parsed