waldur-api-client 7.8.4__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 (257) 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 +90 -0
  3. waldur_api_client/api/booking_resources/booking_resources_list.py +90 -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_orders/marketplace_orders_set_backend_id.py +105 -0
  19. waldur_api_client/api/marketplace_plans/marketplace_plans_update_discounts.py +123 -0
  20. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_add_partition.py +168 -0
  21. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_add_software_catalog.py +168 -0
  22. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_add_user.py +19 -10
  23. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_component_stats_list.py +15 -0
  24. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_costs_list.py +15 -0
  25. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_count.py +15 -0
  26. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_create_offering_component.py +1 -1
  27. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_customers_list.py +15 -0
  28. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_groups_count.py +15 -0
  29. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_groups_list.py +15 -0
  30. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_list.py +15 -0
  31. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_remove_partition.py +107 -0
  32. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_remove_software_catalog.py +107 -0
  33. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_update_partition_partial_update.py +168 -0
  34. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_update_software_catalog_partial_update.py +168 -0
  35. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_count.py +90 -0
  36. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_list.py +90 -0
  37. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_downscaled.py +107 -0
  38. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_paused.py +107 -0
  39. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_restrict_member_access.py +107 -0
  40. waldur_api_client/api/marketplace_public_offerings/marketplace_public_offerings_count.py +15 -0
  41. waldur_api_client/api/marketplace_public_offerings/marketplace_public_offerings_list.py +15 -0
  42. waldur_api_client/api/marketplace_resources/marketplace_resources_count.py +90 -0
  43. waldur_api_client/api/marketplace_resources/marketplace_resources_list.py +90 -0
  44. waldur_api_client/api/marketplace_resources/marketplace_resources_set_downscaled.py +107 -0
  45. waldur_api_client/api/marketplace_resources/marketplace_resources_set_paused.py +107 -0
  46. waldur_api_client/api/marketplace_resources/marketplace_resources_set_restrict_member_access.py +107 -0
  47. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_add_user.py +17 -10
  48. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_customer_projects_list.py +15 -0
  49. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_offerings_list.py +15 -0
  50. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_projects_list.py +14 -24
  51. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_set_offerings_username.py +8 -67
  52. waldur_api_client/api/marketplace_site_agent_identities/__init__.py +1 -0
  53. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_count.py +240 -0
  54. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_create.py +148 -0
  55. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_destroy.py +89 -0
  56. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_list.py +241 -0
  57. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_register_event_subscription.py +176 -0
  58. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_register_service.py +170 -0
  59. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_retrieve.py +140 -0
  60. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_update.py +162 -0
  61. waldur_api_client/api/marketplace_site_agent_processors/__init__.py +1 -0
  62. waldur_api_client/api/marketplace_site_agent_processors/marketplace_site_agent_processors_count.py +240 -0
  63. waldur_api_client/api/marketplace_site_agent_processors/marketplace_site_agent_processors_list.py +241 -0
  64. waldur_api_client/api/marketplace_site_agent_processors/marketplace_site_agent_processors_retrieve.py +142 -0
  65. waldur_api_client/api/marketplace_site_agent_services/__init__.py +1 -0
  66. waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_count.py +229 -0
  67. waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_list.py +230 -0
  68. waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_register_processor.py +172 -0
  69. waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_retrieve.py +140 -0
  70. waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_set_statistics.py +166 -0
  71. waldur_api_client/api/marketplace_software_catalogs/__init__.py +1 -0
  72. waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_count.py +225 -0
  73. waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_create.py +150 -0
  74. waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_destroy.py +89 -0
  75. waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_list.py +226 -0
  76. waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_partial_update.py +164 -0
  77. waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_retrieve.py +142 -0
  78. waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_update.py +164 -0
  79. waldur_api_client/api/marketplace_software_packages/__init__.py +1 -0
  80. waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_count.py +352 -0
  81. waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_create.py +150 -0
  82. waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_destroy.py +89 -0
  83. waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_list.py +353 -0
  84. waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_partial_update.py +164 -0
  85. waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_retrieve.py +142 -0
  86. waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_update.py +164 -0
  87. waldur_api_client/api/marketplace_software_targets/__init__.py +1 -0
  88. waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_count.py +313 -0
  89. waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_create.py +117 -0
  90. waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_destroy.py +89 -0
  91. waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_list.py +314 -0
  92. waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_partial_update.py +142 -0
  93. waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_retrieve.py +142 -0
  94. waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_update.py +142 -0
  95. waldur_api_client/api/marketplace_software_versions/__init__.py +1 -0
  96. waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_count.py +310 -0
  97. waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_create.py +117 -0
  98. waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_destroy.py +89 -0
  99. waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_list.py +311 -0
  100. waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_partial_update.py +142 -0
  101. waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_retrieve.py +142 -0
  102. waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_update.py +142 -0
  103. waldur_api_client/api/onboarding_justifications/onboarding_justifications_approve.py +168 -0
  104. waldur_api_client/api/onboarding_justifications/onboarding_justifications_reject.py +168 -0
  105. waldur_api_client/api/projects/projects_add_user.py +17 -10
  106. waldur_api_client/api/projects/projects_count.py +30 -0
  107. waldur_api_client/api/projects/projects_list.py +30 -0
  108. waldur_api_client/api/projects/projects_move_project.py +19 -10
  109. waldur_api_client/api/projects/projects_recover.py +166 -0
  110. waldur_api_client/api/proposal_proposals/proposal_proposals_add_user.py +17 -10
  111. waldur_api_client/api/proposal_protected_calls/proposal_protected_calls_add_user.py +17 -10
  112. waldur_api_client/api/remote_waldur_api/remote_waldur_api_pull_resource_robot_accounts.py +88 -0
  113. waldur_api_client/models/__init__.py +152 -4
  114. waldur_api_client/models/agent_event_subscription_create_request.py +71 -0
  115. waldur_api_client/models/agent_identity.py +211 -0
  116. waldur_api_client/models/agent_identity_request.py +157 -0
  117. waldur_api_client/models/agent_processor.py +170 -0
  118. waldur_api_client/models/agent_processor_create_request.py +89 -0
  119. waldur_api_client/models/agent_service.py +172 -0
  120. waldur_api_client/models/agent_service_create_request.py +81 -0
  121. waldur_api_client/models/agent_service_state.py +10 -0
  122. waldur_api_client/models/agent_service_statistics_request.py +59 -0
  123. waldur_api_client/models/base_provider_plan.py +21 -0
  124. waldur_api_client/models/base_public_plan.py +21 -0
  125. waldur_api_client/models/booking_offerings_list_field_item.py +2 -0
  126. waldur_api_client/models/booking_offerings_retrieve_field_item.py +2 -0
  127. waldur_api_client/models/booking_resource.py +33 -0
  128. waldur_api_client/models/booking_resource_renewal_date_type_0.py +53 -0
  129. waldur_api_client/models/booking_resources_list_field_item.py +1 -0
  130. waldur_api_client/models/booking_resources_retrieve_field_item.py +1 -0
  131. waldur_api_client/models/call_managing_organisations_add_user_response_400.py +65 -0
  132. waldur_api_client/models/constance_settings.py +81 -45
  133. waldur_api_client/models/constance_settings_request.py +81 -45
  134. waldur_api_client/models/constance_settings_request_form.py +81 -45
  135. waldur_api_client/models/constance_settings_request_multipart.py +134 -71
  136. waldur_api_client/models/customer_component_usage_policy.py +175 -0
  137. waldur_api_client/models/customer_component_usage_policy_request.py +102 -0
  138. waldur_api_client/models/customers_add_user_response_400.py +65 -0
  139. waldur_api_client/models/discount_config_request.py +91 -0
  140. waldur_api_client/models/discounts_update_request.py +65 -0
  141. waldur_api_client/models/discounts_update_request_discounts.py +57 -0
  142. waldur_api_client/models/issue.py +0 -25
  143. waldur_api_client/models/managed_rancher_cluster_resources_list_field_item.py +1 -0
  144. waldur_api_client/models/managed_rancher_cluster_resources_retrieve_field_item.py +1 -0
  145. waldur_api_client/models/marketplace_orders_count_state_item.py +1 -0
  146. waldur_api_client/models/marketplace_orders_list_field_item.py +2 -0
  147. waldur_api_client/models/marketplace_orders_list_state_item.py +1 -0
  148. waldur_api_client/models/marketplace_orders_retrieve_field_item.py +2 -0
  149. waldur_api_client/models/marketplace_provider_offerings_add_user_response_400.py +65 -0
  150. waldur_api_client/models/marketplace_provider_offerings_list_course_accounts_retrieve_field_item.py +2 -0
  151. waldur_api_client/models/marketplace_provider_offerings_list_customer_service_accounts_retrieve_field_item.py +2 -0
  152. waldur_api_client/models/marketplace_provider_offerings_list_field_item.py +2 -0
  153. waldur_api_client/models/marketplace_provider_offerings_list_project_service_accounts_retrieve_field_item.py +2 -0
  154. waldur_api_client/models/marketplace_provider_offerings_retrieve_field_item.py +2 -0
  155. waldur_api_client/models/marketplace_provider_offerings_stats_retrieve_field_item.py +2 -0
  156. waldur_api_client/models/marketplace_provider_offerings_user_has_resource_access_retrieve_field_item.py +2 -0
  157. waldur_api_client/models/marketplace_provider_resources_details_retrieve_field_item.py +1 -0
  158. waldur_api_client/models/marketplace_provider_resources_list_field_item.py +1 -0
  159. waldur_api_client/models/marketplace_provider_resources_retrieve_field_item.py +1 -0
  160. waldur_api_client/models/marketplace_public_offerings_list_field_item.py +2 -0
  161. waldur_api_client/models/marketplace_public_offerings_retrieve_field_item.py +2 -0
  162. waldur_api_client/models/marketplace_resources_details_retrieve_field_item.py +1 -0
  163. waldur_api_client/models/marketplace_resources_list_field_item.py +1 -0
  164. waldur_api_client/models/marketplace_resources_retrieve_field_item.py +1 -0
  165. waldur_api_client/models/marketplace_service_providers_add_user_response_400.py +65 -0
  166. waldur_api_client/models/marketplace_site_agent_services_count_state_item.py +10 -0
  167. waldur_api_client/models/marketplace_site_agent_services_list_state_item.py +10 -0
  168. waldur_api_client/models/marketplace_software_catalogs_count_o_item.py +15 -0
  169. waldur_api_client/models/marketplace_software_catalogs_list_o_item.py +15 -0
  170. waldur_api_client/models/marketplace_software_packages_count_o_item.py +17 -0
  171. waldur_api_client/models/marketplace_software_packages_list_o_item.py +17 -0
  172. waldur_api_client/models/marketplace_software_targets_count_o_item.py +15 -0
  173. waldur_api_client/models/marketplace_software_targets_list_o_item.py +15 -0
  174. waldur_api_client/models/marketplace_software_versions_count_o_item.py +15 -0
  175. waldur_api_client/models/marketplace_software_versions_list_o_item.py +15 -0
  176. waldur_api_client/models/merged_plugin_options.py +47 -8
  177. waldur_api_client/models/merged_plugin_options_request.py +47 -8
  178. waldur_api_client/models/nested_agent_processor.py +154 -0
  179. waldur_api_client/models/nested_agent_service.py +134 -0
  180. waldur_api_client/models/nested_agent_service_request.py +90 -0
  181. waldur_api_client/models/nested_customer_usage_policy_component.py +103 -0
  182. waldur_api_client/models/nested_customer_usage_policy_component_request.py +87 -0
  183. waldur_api_client/models/nested_partition.py +412 -0
  184. waldur_api_client/models/nested_partition_request.py +397 -0
  185. waldur_api_client/models/nested_plan_component.py +155 -0
  186. waldur_api_client/models/nested_plan_component_request.py +128 -0
  187. waldur_api_client/models/nested_software_catalog.py +134 -0
  188. waldur_api_client/models/nested_software_catalog_catalog.py +86 -0
  189. waldur_api_client/models/nested_software_catalog_partition.py +86 -0
  190. waldur_api_client/models/nested_software_catalog_request.py +68 -0
  191. waldur_api_client/models/nested_software_target.py +84 -0
  192. waldur_api_client/models/nested_software_target_request.py +75 -0
  193. waldur_api_client/models/nested_software_version.py +124 -0
  194. waldur_api_client/models/nested_software_version_request.py +93 -0
  195. waldur_api_client/models/observable_object_type_enum.py +14 -0
  196. waldur_api_client/models/offering.py +42 -0
  197. waldur_api_client/models/offering_create.py +36 -0
  198. waldur_api_client/models/offering_partition.py +440 -0
  199. waldur_api_client/models/offering_partition_request.py +406 -0
  200. waldur_api_client/models/offering_software_catalog.py +176 -0
  201. waldur_api_client/models/offering_software_catalog_request.py +118 -0
  202. waldur_api_client/models/onboarding_justification.py +35 -6
  203. waldur_api_client/models/onboarding_justification_create_request.py +8 -5
  204. waldur_api_client/models/onboarding_justification_request.py +20 -6
  205. waldur_api_client/models/onboarding_justification_review_request.py +59 -0
  206. waldur_api_client/models/order_backend_id_request.py +59 -0
  207. waldur_api_client/models/order_details.py +39 -0
  208. waldur_api_client/models/order_state.py +1 -0
  209. waldur_api_client/models/patched_customer_component_usage_policy_request.py +104 -0
  210. waldur_api_client/models/patched_offering_partition_request.py +412 -0
  211. waldur_api_client/models/patched_offering_software_catalog_update_request.py +131 -0
  212. waldur_api_client/models/patched_onboarding_justification_request.py +16 -5
  213. waldur_api_client/models/patched_project_request.py +9 -0
  214. waldur_api_client/models/patched_project_request_form.py +9 -0
  215. waldur_api_client/models/patched_project_request_multipart.py +12 -0
  216. waldur_api_client/models/patched_software_catalog_request.py +86 -0
  217. waldur_api_client/models/patched_software_package_request.py +86 -0
  218. waldur_api_client/models/plan_component.py +40 -0
  219. waldur_api_client/models/project.py +27 -0
  220. waldur_api_client/models/project_recovery_request.py +70 -0
  221. waldur_api_client/models/project_request.py +9 -0
  222. waldur_api_client/models/project_request_form.py +9 -0
  223. waldur_api_client/models/project_request_multipart.py +12 -0
  224. waldur_api_client/models/project_user.py +21 -4
  225. waldur_api_client/models/projects_add_user_response_400.py +65 -0
  226. waldur_api_client/models/projects_list_field_item.py +3 -0
  227. waldur_api_client/models/projects_move_project_response_400.py +65 -0
  228. waldur_api_client/models/projects_retrieve_field_item.py +3 -0
  229. waldur_api_client/models/proposal_proposals_add_user_response_400.py +65 -0
  230. waldur_api_client/models/proposal_protected_calls_add_user_response_400.py +65 -0
  231. waldur_api_client/models/provider_offering_details.py +42 -0
  232. waldur_api_client/models/provider_plan_details.py +18 -0
  233. waldur_api_client/models/public_offering_details.py +42 -0
  234. waldur_api_client/models/remote_resource_order_remote_state_enum.py +1 -0
  235. waldur_api_client/models/{set_offerings_username.py → remove_partition_request.py} +11 -19
  236. waldur_api_client/models/remove_software_catalog_request.py +60 -0
  237. waldur_api_client/models/resource.py +33 -0
  238. waldur_api_client/models/resource_downscaled_request.py +59 -0
  239. waldur_api_client/models/resource_paused_request.py +59 -0
  240. waldur_api_client/models/resource_renewal_date_type_0.py +53 -0
  241. waldur_api_client/models/resource_restrict_member_access_request.py +59 -0
  242. waldur_api_client/models/software_catalog.py +130 -0
  243. waldur_api_client/models/software_catalog_request.py +87 -0
  244. waldur_api_client/models/software_catalog_uuid.py +60 -0
  245. waldur_api_client/models/software_package.py +168 -0
  246. waldur_api_client/models/software_package_request.py +87 -0
  247. waldur_api_client/models/software_target.py +110 -0
  248. waldur_api_client/models/software_version.py +135 -0
  249. waldur_api_client/models/user.py +20 -0
  250. waldur_api_client/models/users_list_field_item.py +1 -0
  251. waldur_api_client/models/users_me_retrieve_field_item.py +1 -0
  252. waldur_api_client/models/users_retrieve_field_item.py +1 -0
  253. {waldur_api_client-7.8.4.dist-info → waldur_api_client-7.8.5.dist-info}/METADATA +1 -1
  254. {waldur_api_client-7.8.4.dist-info → waldur_api_client-7.8.5.dist-info}/RECORD +256 -103
  255. waldur_api_client/models/marketplace_service_providers_projects_list_field_item.py +0 -37
  256. {waldur_api_client-7.8.4.dist-info → waldur_api_client-7.8.5.dist-info}/WHEEL +0 -0
  257. {waldur_api_client-7.8.4.dist-info → waldur_api_client-7.8.5.dist-info}/licenses/LICENSE +0 -0
@@ -18,6 +18,7 @@ def _get_kwargs(
18
18
  *,
19
19
  backend_id: Union[Unset, str] = UNSET,
20
20
  category_uuid: Union[Unset, UUID] = UNSET,
21
+ component_count: Union[Unset, float] = UNSET,
21
22
  connected_customer_uuid: Union[Unset, UUID] = UNSET,
22
23
  created: Union[Unset, datetime.datetime] = UNSET,
23
24
  customer: Union[Unset, str] = UNSET,
@@ -26,6 +27,8 @@ def _get_kwargs(
26
27
  field: Union[Unset, list[BookingResourcesListFieldItem]] = UNSET,
27
28
  has_terminate_date: Union[Unset, bool] = UNSET,
28
29
  lexis_links_supported: Union[Unset, bool] = UNSET,
30
+ limit_based: Union[Unset, bool] = UNSET,
31
+ limit_component_count: Union[Unset, float] = UNSET,
29
32
  modified: Union[Unset, datetime.datetime] = UNSET,
30
33
  name: Union[Unset, str] = UNSET,
31
34
  name_exact: Union[Unset, str] = UNSET,
@@ -36,6 +39,8 @@ def _get_kwargs(
36
39
  offering_slug: Union[Unset, list[str]] = UNSET,
37
40
  offering_type: Union[Unset, str] = UNSET,
38
41
  offering_uuid: Union[Unset, list[UUID]] = UNSET,
42
+ only_limit_based: Union[Unset, bool] = UNSET,
43
+ only_usage_based: Union[Unset, bool] = UNSET,
39
44
  page: Union[Unset, int] = UNSET,
40
45
  page_size: Union[Unset, int] = UNSET,
41
46
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
@@ -49,6 +54,7 @@ def _get_kwargs(
49
54
  runtime_state: Union[Unset, str] = UNSET,
50
55
  service_manager_uuid: Union[Unset, UUID] = UNSET,
51
56
  state: Union[Unset, list[BookingResourcesListStateItem]] = UNSET,
57
+ usage_based: Union[Unset, bool] = UNSET,
52
58
  visible_to_username: Union[Unset, str] = UNSET,
53
59
  ) -> dict[str, Any]:
54
60
  params: dict[str, Any] = {}
@@ -60,6 +66,8 @@ def _get_kwargs(
60
66
  json_category_uuid = str(category_uuid)
61
67
  params["category_uuid"] = json_category_uuid
62
68
 
69
+ params["component_count"] = component_count
70
+
63
71
  json_connected_customer_uuid: Union[Unset, str] = UNSET
64
72
  if not isinstance(connected_customer_uuid, Unset):
65
73
  json_connected_customer_uuid = str(connected_customer_uuid)
@@ -92,6 +100,10 @@ def _get_kwargs(
92
100
 
93
101
  params["lexis_links_supported"] = lexis_links_supported
94
102
 
103
+ params["limit_based"] = limit_based
104
+
105
+ params["limit_component_count"] = limit_component_count
106
+
95
107
  json_modified: Union[Unset, str] = UNSET
96
108
  if not isinstance(modified, Unset):
97
109
  json_modified = modified.isoformat()
@@ -133,6 +145,10 @@ def _get_kwargs(
133
145
 
134
146
  params["offering_uuid"] = json_offering_uuid
135
147
 
148
+ params["only_limit_based"] = only_limit_based
149
+
150
+ params["only_usage_based"] = only_usage_based
151
+
136
152
  params["page"] = page
137
153
 
138
154
  params["page_size"] = page_size
@@ -181,6 +197,8 @@ def _get_kwargs(
181
197
 
182
198
  params["state"] = json_state
183
199
 
200
+ params["usage_based"] = usage_based
201
+
184
202
  params["visible_to_username"] = visible_to_username
185
203
 
186
204
  params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
@@ -223,6 +241,7 @@ def sync_detailed(
223
241
  client: AuthenticatedClient,
224
242
  backend_id: Union[Unset, str] = UNSET,
225
243
  category_uuid: Union[Unset, UUID] = UNSET,
244
+ component_count: Union[Unset, float] = UNSET,
226
245
  connected_customer_uuid: Union[Unset, UUID] = UNSET,
227
246
  created: Union[Unset, datetime.datetime] = UNSET,
228
247
  customer: Union[Unset, str] = UNSET,
@@ -231,6 +250,8 @@ def sync_detailed(
231
250
  field: Union[Unset, list[BookingResourcesListFieldItem]] = UNSET,
232
251
  has_terminate_date: Union[Unset, bool] = UNSET,
233
252
  lexis_links_supported: Union[Unset, bool] = UNSET,
253
+ limit_based: Union[Unset, bool] = UNSET,
254
+ limit_component_count: Union[Unset, float] = UNSET,
234
255
  modified: Union[Unset, datetime.datetime] = UNSET,
235
256
  name: Union[Unset, str] = UNSET,
236
257
  name_exact: Union[Unset, str] = UNSET,
@@ -241,6 +262,8 @@ def sync_detailed(
241
262
  offering_slug: Union[Unset, list[str]] = UNSET,
242
263
  offering_type: Union[Unset, str] = UNSET,
243
264
  offering_uuid: Union[Unset, list[UUID]] = UNSET,
265
+ only_limit_based: Union[Unset, bool] = UNSET,
266
+ only_usage_based: Union[Unset, bool] = UNSET,
244
267
  page: Union[Unset, int] = UNSET,
245
268
  page_size: Union[Unset, int] = UNSET,
246
269
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
@@ -254,6 +277,7 @@ def sync_detailed(
254
277
  runtime_state: Union[Unset, str] = UNSET,
255
278
  service_manager_uuid: Union[Unset, UUID] = UNSET,
256
279
  state: Union[Unset, list[BookingResourcesListStateItem]] = UNSET,
280
+ usage_based: Union[Unset, bool] = UNSET,
257
281
  visible_to_username: Union[Unset, str] = UNSET,
258
282
  ) -> Response[list["BookingResource"]]:
259
283
  """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
@@ -261,6 +285,7 @@ def sync_detailed(
261
285
  Args:
262
286
  backend_id (Union[Unset, str]):
263
287
  category_uuid (Union[Unset, UUID]):
288
+ component_count (Union[Unset, float]):
264
289
  connected_customer_uuid (Union[Unset, UUID]):
265
290
  created (Union[Unset, datetime.datetime]):
266
291
  customer (Union[Unset, str]):
@@ -269,6 +294,8 @@ def sync_detailed(
269
294
  field (Union[Unset, list[BookingResourcesListFieldItem]]):
270
295
  has_terminate_date (Union[Unset, bool]):
271
296
  lexis_links_supported (Union[Unset, bool]):
297
+ limit_based (Union[Unset, bool]):
298
+ limit_component_count (Union[Unset, float]):
272
299
  modified (Union[Unset, datetime.datetime]):
273
300
  name (Union[Unset, str]):
274
301
  name_exact (Union[Unset, str]):
@@ -279,6 +306,8 @@ def sync_detailed(
279
306
  offering_slug (Union[Unset, list[str]]):
280
307
  offering_type (Union[Unset, str]):
281
308
  offering_uuid (Union[Unset, list[UUID]]):
309
+ only_limit_based (Union[Unset, bool]):
310
+ only_usage_based (Union[Unset, bool]):
282
311
  page (Union[Unset, int]):
283
312
  page_size (Union[Unset, int]):
284
313
  parent_offering_uuid (Union[Unset, UUID]):
@@ -292,6 +321,7 @@ def sync_detailed(
292
321
  runtime_state (Union[Unset, str]):
293
322
  service_manager_uuid (Union[Unset, UUID]):
294
323
  state (Union[Unset, list[BookingResourcesListStateItem]]):
324
+ usage_based (Union[Unset, bool]):
295
325
  visible_to_username (Union[Unset, str]):
296
326
 
297
327
  Raises:
@@ -305,6 +335,7 @@ def sync_detailed(
305
335
  kwargs = _get_kwargs(
306
336
  backend_id=backend_id,
307
337
  category_uuid=category_uuid,
338
+ component_count=component_count,
308
339
  connected_customer_uuid=connected_customer_uuid,
309
340
  created=created,
310
341
  customer=customer,
@@ -313,6 +344,8 @@ def sync_detailed(
313
344
  field=field,
314
345
  has_terminate_date=has_terminate_date,
315
346
  lexis_links_supported=lexis_links_supported,
347
+ limit_based=limit_based,
348
+ limit_component_count=limit_component_count,
316
349
  modified=modified,
317
350
  name=name,
318
351
  name_exact=name_exact,
@@ -323,6 +356,8 @@ def sync_detailed(
323
356
  offering_slug=offering_slug,
324
357
  offering_type=offering_type,
325
358
  offering_uuid=offering_uuid,
359
+ only_limit_based=only_limit_based,
360
+ only_usage_based=only_usage_based,
326
361
  page=page,
327
362
  page_size=page_size,
328
363
  parent_offering_uuid=parent_offering_uuid,
@@ -336,6 +371,7 @@ def sync_detailed(
336
371
  runtime_state=runtime_state,
337
372
  service_manager_uuid=service_manager_uuid,
338
373
  state=state,
374
+ usage_based=usage_based,
339
375
  visible_to_username=visible_to_username,
340
376
  )
341
377
 
@@ -351,6 +387,7 @@ def sync(
351
387
  client: AuthenticatedClient,
352
388
  backend_id: Union[Unset, str] = UNSET,
353
389
  category_uuid: Union[Unset, UUID] = UNSET,
390
+ component_count: Union[Unset, float] = UNSET,
354
391
  connected_customer_uuid: Union[Unset, UUID] = UNSET,
355
392
  created: Union[Unset, datetime.datetime] = UNSET,
356
393
  customer: Union[Unset, str] = UNSET,
@@ -359,6 +396,8 @@ def sync(
359
396
  field: Union[Unset, list[BookingResourcesListFieldItem]] = UNSET,
360
397
  has_terminate_date: Union[Unset, bool] = UNSET,
361
398
  lexis_links_supported: Union[Unset, bool] = UNSET,
399
+ limit_based: Union[Unset, bool] = UNSET,
400
+ limit_component_count: Union[Unset, float] = UNSET,
362
401
  modified: Union[Unset, datetime.datetime] = UNSET,
363
402
  name: Union[Unset, str] = UNSET,
364
403
  name_exact: Union[Unset, str] = UNSET,
@@ -369,6 +408,8 @@ def sync(
369
408
  offering_slug: Union[Unset, list[str]] = UNSET,
370
409
  offering_type: Union[Unset, str] = UNSET,
371
410
  offering_uuid: Union[Unset, list[UUID]] = UNSET,
411
+ only_limit_based: Union[Unset, bool] = UNSET,
412
+ only_usage_based: Union[Unset, bool] = UNSET,
372
413
  page: Union[Unset, int] = UNSET,
373
414
  page_size: Union[Unset, int] = UNSET,
374
415
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
@@ -382,6 +423,7 @@ def sync(
382
423
  runtime_state: Union[Unset, str] = UNSET,
383
424
  service_manager_uuid: Union[Unset, UUID] = UNSET,
384
425
  state: Union[Unset, list[BookingResourcesListStateItem]] = UNSET,
426
+ usage_based: Union[Unset, bool] = UNSET,
385
427
  visible_to_username: Union[Unset, str] = UNSET,
386
428
  ) -> list["BookingResource"]:
387
429
  """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
@@ -389,6 +431,7 @@ def sync(
389
431
  Args:
390
432
  backend_id (Union[Unset, str]):
391
433
  category_uuid (Union[Unset, UUID]):
434
+ component_count (Union[Unset, float]):
392
435
  connected_customer_uuid (Union[Unset, UUID]):
393
436
  created (Union[Unset, datetime.datetime]):
394
437
  customer (Union[Unset, str]):
@@ -397,6 +440,8 @@ def sync(
397
440
  field (Union[Unset, list[BookingResourcesListFieldItem]]):
398
441
  has_terminate_date (Union[Unset, bool]):
399
442
  lexis_links_supported (Union[Unset, bool]):
443
+ limit_based (Union[Unset, bool]):
444
+ limit_component_count (Union[Unset, float]):
400
445
  modified (Union[Unset, datetime.datetime]):
401
446
  name (Union[Unset, str]):
402
447
  name_exact (Union[Unset, str]):
@@ -407,6 +452,8 @@ def sync(
407
452
  offering_slug (Union[Unset, list[str]]):
408
453
  offering_type (Union[Unset, str]):
409
454
  offering_uuid (Union[Unset, list[UUID]]):
455
+ only_limit_based (Union[Unset, bool]):
456
+ only_usage_based (Union[Unset, bool]):
410
457
  page (Union[Unset, int]):
411
458
  page_size (Union[Unset, int]):
412
459
  parent_offering_uuid (Union[Unset, UUID]):
@@ -420,6 +467,7 @@ def sync(
420
467
  runtime_state (Union[Unset, str]):
421
468
  service_manager_uuid (Union[Unset, UUID]):
422
469
  state (Union[Unset, list[BookingResourcesListStateItem]]):
470
+ usage_based (Union[Unset, bool]):
423
471
  visible_to_username (Union[Unset, str]):
424
472
 
425
473
  Raises:
@@ -434,6 +482,7 @@ def sync(
434
482
  client=client,
435
483
  backend_id=backend_id,
436
484
  category_uuid=category_uuid,
485
+ component_count=component_count,
437
486
  connected_customer_uuid=connected_customer_uuid,
438
487
  created=created,
439
488
  customer=customer,
@@ -442,6 +491,8 @@ def sync(
442
491
  field=field,
443
492
  has_terminate_date=has_terminate_date,
444
493
  lexis_links_supported=lexis_links_supported,
494
+ limit_based=limit_based,
495
+ limit_component_count=limit_component_count,
445
496
  modified=modified,
446
497
  name=name,
447
498
  name_exact=name_exact,
@@ -452,6 +503,8 @@ def sync(
452
503
  offering_slug=offering_slug,
453
504
  offering_type=offering_type,
454
505
  offering_uuid=offering_uuid,
506
+ only_limit_based=only_limit_based,
507
+ only_usage_based=only_usage_based,
455
508
  page=page,
456
509
  page_size=page_size,
457
510
  parent_offering_uuid=parent_offering_uuid,
@@ -465,6 +518,7 @@ def sync(
465
518
  runtime_state=runtime_state,
466
519
  service_manager_uuid=service_manager_uuid,
467
520
  state=state,
521
+ usage_based=usage_based,
468
522
  visible_to_username=visible_to_username,
469
523
  ).parsed
470
524
 
@@ -474,6 +528,7 @@ async def asyncio_detailed(
474
528
  client: AuthenticatedClient,
475
529
  backend_id: Union[Unset, str] = UNSET,
476
530
  category_uuid: Union[Unset, UUID] = UNSET,
531
+ component_count: Union[Unset, float] = UNSET,
477
532
  connected_customer_uuid: Union[Unset, UUID] = UNSET,
478
533
  created: Union[Unset, datetime.datetime] = UNSET,
479
534
  customer: Union[Unset, str] = UNSET,
@@ -482,6 +537,8 @@ async def asyncio_detailed(
482
537
  field: Union[Unset, list[BookingResourcesListFieldItem]] = UNSET,
483
538
  has_terminate_date: Union[Unset, bool] = UNSET,
484
539
  lexis_links_supported: Union[Unset, bool] = UNSET,
540
+ limit_based: Union[Unset, bool] = UNSET,
541
+ limit_component_count: Union[Unset, float] = UNSET,
485
542
  modified: Union[Unset, datetime.datetime] = UNSET,
486
543
  name: Union[Unset, str] = UNSET,
487
544
  name_exact: Union[Unset, str] = UNSET,
@@ -492,6 +549,8 @@ async def asyncio_detailed(
492
549
  offering_slug: Union[Unset, list[str]] = UNSET,
493
550
  offering_type: Union[Unset, str] = UNSET,
494
551
  offering_uuid: Union[Unset, list[UUID]] = UNSET,
552
+ only_limit_based: Union[Unset, bool] = UNSET,
553
+ only_usage_based: Union[Unset, bool] = UNSET,
495
554
  page: Union[Unset, int] = UNSET,
496
555
  page_size: Union[Unset, int] = UNSET,
497
556
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
@@ -505,6 +564,7 @@ async def asyncio_detailed(
505
564
  runtime_state: Union[Unset, str] = UNSET,
506
565
  service_manager_uuid: Union[Unset, UUID] = UNSET,
507
566
  state: Union[Unset, list[BookingResourcesListStateItem]] = UNSET,
567
+ usage_based: Union[Unset, bool] = UNSET,
508
568
  visible_to_username: Union[Unset, str] = UNSET,
509
569
  ) -> Response[list["BookingResource"]]:
510
570
  """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
@@ -512,6 +572,7 @@ async def asyncio_detailed(
512
572
  Args:
513
573
  backend_id (Union[Unset, str]):
514
574
  category_uuid (Union[Unset, UUID]):
575
+ component_count (Union[Unset, float]):
515
576
  connected_customer_uuid (Union[Unset, UUID]):
516
577
  created (Union[Unset, datetime.datetime]):
517
578
  customer (Union[Unset, str]):
@@ -520,6 +581,8 @@ async def asyncio_detailed(
520
581
  field (Union[Unset, list[BookingResourcesListFieldItem]]):
521
582
  has_terminate_date (Union[Unset, bool]):
522
583
  lexis_links_supported (Union[Unset, bool]):
584
+ limit_based (Union[Unset, bool]):
585
+ limit_component_count (Union[Unset, float]):
523
586
  modified (Union[Unset, datetime.datetime]):
524
587
  name (Union[Unset, str]):
525
588
  name_exact (Union[Unset, str]):
@@ -530,6 +593,8 @@ async def asyncio_detailed(
530
593
  offering_slug (Union[Unset, list[str]]):
531
594
  offering_type (Union[Unset, str]):
532
595
  offering_uuid (Union[Unset, list[UUID]]):
596
+ only_limit_based (Union[Unset, bool]):
597
+ only_usage_based (Union[Unset, bool]):
533
598
  page (Union[Unset, int]):
534
599
  page_size (Union[Unset, int]):
535
600
  parent_offering_uuid (Union[Unset, UUID]):
@@ -543,6 +608,7 @@ async def asyncio_detailed(
543
608
  runtime_state (Union[Unset, str]):
544
609
  service_manager_uuid (Union[Unset, UUID]):
545
610
  state (Union[Unset, list[BookingResourcesListStateItem]]):
611
+ usage_based (Union[Unset, bool]):
546
612
  visible_to_username (Union[Unset, str]):
547
613
 
548
614
  Raises:
@@ -556,6 +622,7 @@ async def asyncio_detailed(
556
622
  kwargs = _get_kwargs(
557
623
  backend_id=backend_id,
558
624
  category_uuid=category_uuid,
625
+ component_count=component_count,
559
626
  connected_customer_uuid=connected_customer_uuid,
560
627
  created=created,
561
628
  customer=customer,
@@ -564,6 +631,8 @@ async def asyncio_detailed(
564
631
  field=field,
565
632
  has_terminate_date=has_terminate_date,
566
633
  lexis_links_supported=lexis_links_supported,
634
+ limit_based=limit_based,
635
+ limit_component_count=limit_component_count,
567
636
  modified=modified,
568
637
  name=name,
569
638
  name_exact=name_exact,
@@ -574,6 +643,8 @@ async def asyncio_detailed(
574
643
  offering_slug=offering_slug,
575
644
  offering_type=offering_type,
576
645
  offering_uuid=offering_uuid,
646
+ only_limit_based=only_limit_based,
647
+ only_usage_based=only_usage_based,
577
648
  page=page,
578
649
  page_size=page_size,
579
650
  parent_offering_uuid=parent_offering_uuid,
@@ -587,6 +658,7 @@ async def asyncio_detailed(
587
658
  runtime_state=runtime_state,
588
659
  service_manager_uuid=service_manager_uuid,
589
660
  state=state,
661
+ usage_based=usage_based,
590
662
  visible_to_username=visible_to_username,
591
663
  )
592
664
 
@@ -600,6 +672,7 @@ async def asyncio(
600
672
  client: AuthenticatedClient,
601
673
  backend_id: Union[Unset, str] = UNSET,
602
674
  category_uuid: Union[Unset, UUID] = UNSET,
675
+ component_count: Union[Unset, float] = UNSET,
603
676
  connected_customer_uuid: Union[Unset, UUID] = UNSET,
604
677
  created: Union[Unset, datetime.datetime] = UNSET,
605
678
  customer: Union[Unset, str] = UNSET,
@@ -608,6 +681,8 @@ async def asyncio(
608
681
  field: Union[Unset, list[BookingResourcesListFieldItem]] = UNSET,
609
682
  has_terminate_date: Union[Unset, bool] = UNSET,
610
683
  lexis_links_supported: Union[Unset, bool] = UNSET,
684
+ limit_based: Union[Unset, bool] = UNSET,
685
+ limit_component_count: Union[Unset, float] = UNSET,
611
686
  modified: Union[Unset, datetime.datetime] = UNSET,
612
687
  name: Union[Unset, str] = UNSET,
613
688
  name_exact: Union[Unset, str] = UNSET,
@@ -618,6 +693,8 @@ async def asyncio(
618
693
  offering_slug: Union[Unset, list[str]] = UNSET,
619
694
  offering_type: Union[Unset, str] = UNSET,
620
695
  offering_uuid: Union[Unset, list[UUID]] = UNSET,
696
+ only_limit_based: Union[Unset, bool] = UNSET,
697
+ only_usage_based: Union[Unset, bool] = UNSET,
621
698
  page: Union[Unset, int] = UNSET,
622
699
  page_size: Union[Unset, int] = UNSET,
623
700
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
@@ -631,6 +708,7 @@ async def asyncio(
631
708
  runtime_state: Union[Unset, str] = UNSET,
632
709
  service_manager_uuid: Union[Unset, UUID] = UNSET,
633
710
  state: Union[Unset, list[BookingResourcesListStateItem]] = UNSET,
711
+ usage_based: Union[Unset, bool] = UNSET,
634
712
  visible_to_username: Union[Unset, str] = UNSET,
635
713
  ) -> list["BookingResource"]:
636
714
  """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
@@ -638,6 +716,7 @@ async def asyncio(
638
716
  Args:
639
717
  backend_id (Union[Unset, str]):
640
718
  category_uuid (Union[Unset, UUID]):
719
+ component_count (Union[Unset, float]):
641
720
  connected_customer_uuid (Union[Unset, UUID]):
642
721
  created (Union[Unset, datetime.datetime]):
643
722
  customer (Union[Unset, str]):
@@ -646,6 +725,8 @@ async def asyncio(
646
725
  field (Union[Unset, list[BookingResourcesListFieldItem]]):
647
726
  has_terminate_date (Union[Unset, bool]):
648
727
  lexis_links_supported (Union[Unset, bool]):
728
+ limit_based (Union[Unset, bool]):
729
+ limit_component_count (Union[Unset, float]):
649
730
  modified (Union[Unset, datetime.datetime]):
650
731
  name (Union[Unset, str]):
651
732
  name_exact (Union[Unset, str]):
@@ -656,6 +737,8 @@ async def asyncio(
656
737
  offering_slug (Union[Unset, list[str]]):
657
738
  offering_type (Union[Unset, str]):
658
739
  offering_uuid (Union[Unset, list[UUID]]):
740
+ only_limit_based (Union[Unset, bool]):
741
+ only_usage_based (Union[Unset, bool]):
659
742
  page (Union[Unset, int]):
660
743
  page_size (Union[Unset, int]):
661
744
  parent_offering_uuid (Union[Unset, UUID]):
@@ -669,6 +752,7 @@ async def asyncio(
669
752
  runtime_state (Union[Unset, str]):
670
753
  service_manager_uuid (Union[Unset, UUID]):
671
754
  state (Union[Unset, list[BookingResourcesListStateItem]]):
755
+ usage_based (Union[Unset, bool]):
672
756
  visible_to_username (Union[Unset, str]):
673
757
 
674
758
  Raises:
@@ -684,6 +768,7 @@ async def asyncio(
684
768
  client=client,
685
769
  backend_id=backend_id,
686
770
  category_uuid=category_uuid,
771
+ component_count=component_count,
687
772
  connected_customer_uuid=connected_customer_uuid,
688
773
  created=created,
689
774
  customer=customer,
@@ -692,6 +777,8 @@ async def asyncio(
692
777
  field=field,
693
778
  has_terminate_date=has_terminate_date,
694
779
  lexis_links_supported=lexis_links_supported,
780
+ limit_based=limit_based,
781
+ limit_component_count=limit_component_count,
695
782
  modified=modified,
696
783
  name=name,
697
784
  name_exact=name_exact,
@@ -702,6 +789,8 @@ async def asyncio(
702
789
  offering_slug=offering_slug,
703
790
  offering_type=offering_type,
704
791
  offering_uuid=offering_uuid,
792
+ only_limit_based=only_limit_based,
793
+ only_usage_based=only_usage_based,
705
794
  page=page,
706
795
  page_size=page_size,
707
796
  parent_offering_uuid=parent_offering_uuid,
@@ -715,6 +804,7 @@ async def asyncio(
715
804
  runtime_state=runtime_state,
716
805
  service_manager_uuid=service_manager_uuid,
717
806
  state=state,
807
+ usage_based=usage_based,
718
808
  visible_to_username=visible_to_username,
719
809
  )
720
810
  ).parsed
@@ -6,6 +6,7 @@ import httpx
6
6
 
7
7
  from ... import errors
8
8
  from ...client import AuthenticatedClient, Client
9
+ from ...models.call_managing_organisations_add_user_response_400 import CallManagingOrganisationsAddUserResponse400
9
10
  from ...models.user_role_create_request import UserRoleCreateRequest
10
11
  from ...models.user_role_expiration_time import UserRoleExpirationTime
11
12
  from ...types import Response
@@ -31,17 +32,23 @@ def _get_kwargs(
31
32
  return _kwargs
32
33
 
33
34
 
34
- def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> UserRoleExpirationTime:
35
+ def _parse_response(
36
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
37
+ ) -> Union[CallManagingOrganisationsAddUserResponse400, UserRoleExpirationTime]:
35
38
  if response.status_code == 201:
36
39
  response_201 = UserRoleExpirationTime.from_dict(response.json())
37
40
 
38
41
  return response_201
42
+ if response.status_code == 400:
43
+ response_400 = CallManagingOrganisationsAddUserResponse400.from_dict(response.json())
44
+
45
+ return response_400
39
46
  raise errors.UnexpectedStatus(response.status_code, response.content)
40
47
 
41
48
 
42
49
  def _build_response(
43
50
  *, client: Union[AuthenticatedClient, Client], response: httpx.Response
44
- ) -> Response[UserRoleExpirationTime]:
51
+ ) -> Response[Union[CallManagingOrganisationsAddUserResponse400, UserRoleExpirationTime]]:
45
52
  return Response(
46
53
  status_code=HTTPStatus(response.status_code),
47
54
  content=response.content,
@@ -55,7 +62,7 @@ def sync_detailed(
55
62
  *,
56
63
  client: AuthenticatedClient,
57
64
  body: UserRoleCreateRequest,
58
- ) -> Response[UserRoleExpirationTime]:
65
+ ) -> Response[Union[CallManagingOrganisationsAddUserResponse400, UserRoleExpirationTime]]:
59
66
  """
60
67
  Args:
61
68
  uuid (UUID):
@@ -66,7 +73,7 @@ def sync_detailed(
66
73
  httpx.TimeoutException: If the request takes longer than Client.timeout.
67
74
 
68
75
  Returns:
69
- Response[UserRoleExpirationTime]
76
+ Response[Union[CallManagingOrganisationsAddUserResponse400, UserRoleExpirationTime]]
70
77
  """
71
78
 
72
79
  kwargs = _get_kwargs(
@@ -86,7 +93,7 @@ def sync(
86
93
  *,
87
94
  client: AuthenticatedClient,
88
95
  body: UserRoleCreateRequest,
89
- ) -> UserRoleExpirationTime:
96
+ ) -> Union[CallManagingOrganisationsAddUserResponse400, UserRoleExpirationTime]:
90
97
  """
91
98
  Args:
92
99
  uuid (UUID):
@@ -97,7 +104,7 @@ def sync(
97
104
  httpx.TimeoutException: If the request takes longer than Client.timeout.
98
105
 
99
106
  Returns:
100
- UserRoleExpirationTime
107
+ Union[CallManagingOrganisationsAddUserResponse400, UserRoleExpirationTime]
101
108
  """
102
109
 
103
110
  return sync_detailed(
@@ -112,7 +119,7 @@ async def asyncio_detailed(
112
119
  *,
113
120
  client: AuthenticatedClient,
114
121
  body: UserRoleCreateRequest,
115
- ) -> Response[UserRoleExpirationTime]:
122
+ ) -> Response[Union[CallManagingOrganisationsAddUserResponse400, UserRoleExpirationTime]]:
116
123
  """
117
124
  Args:
118
125
  uuid (UUID):
@@ -123,7 +130,7 @@ async def asyncio_detailed(
123
130
  httpx.TimeoutException: If the request takes longer than Client.timeout.
124
131
 
125
132
  Returns:
126
- Response[UserRoleExpirationTime]
133
+ Response[Union[CallManagingOrganisationsAddUserResponse400, UserRoleExpirationTime]]
127
134
  """
128
135
 
129
136
  kwargs = _get_kwargs(
@@ -141,7 +148,7 @@ async def asyncio(
141
148
  *,
142
149
  client: AuthenticatedClient,
143
150
  body: UserRoleCreateRequest,
144
- ) -> UserRoleExpirationTime:
151
+ ) -> Union[CallManagingOrganisationsAddUserResponse400, UserRoleExpirationTime]:
145
152
  """
146
153
  Args:
147
154
  uuid (UUID):
@@ -152,7 +159,7 @@ async def asyncio(
152
159
  httpx.TimeoutException: If the request takes longer than Client.timeout.
153
160
 
154
161
  Returns:
155
- UserRoleExpirationTime
162
+ Union[CallManagingOrganisationsAddUserResponse400, UserRoleExpirationTime]
156
163
  """
157
164
 
158
165
  return (
@@ -6,6 +6,7 @@ import httpx
6
6
 
7
7
  from ... import errors
8
8
  from ...client import AuthenticatedClient, Client
9
+ from ...models.customers_add_user_response_400 import CustomersAddUserResponse400
9
10
  from ...models.user_role_create_request import UserRoleCreateRequest
10
11
  from ...models.user_role_expiration_time import UserRoleExpirationTime
11
12
  from ...types import Response
@@ -31,17 +32,23 @@ def _get_kwargs(
31
32
  return _kwargs
32
33
 
33
34
 
34
- def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> UserRoleExpirationTime:
35
+ def _parse_response(
36
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
37
+ ) -> Union[CustomersAddUserResponse400, UserRoleExpirationTime]:
35
38
  if response.status_code == 201:
36
39
  response_201 = UserRoleExpirationTime.from_dict(response.json())
37
40
 
38
41
  return response_201
42
+ if response.status_code == 400:
43
+ response_400 = CustomersAddUserResponse400.from_dict(response.json())
44
+
45
+ return response_400
39
46
  raise errors.UnexpectedStatus(response.status_code, response.content)
40
47
 
41
48
 
42
49
  def _build_response(
43
50
  *, client: Union[AuthenticatedClient, Client], response: httpx.Response
44
- ) -> Response[UserRoleExpirationTime]:
51
+ ) -> Response[Union[CustomersAddUserResponse400, UserRoleExpirationTime]]:
45
52
  return Response(
46
53
  status_code=HTTPStatus(response.status_code),
47
54
  content=response.content,
@@ -55,7 +62,7 @@ def sync_detailed(
55
62
  *,
56
63
  client: AuthenticatedClient,
57
64
  body: UserRoleCreateRequest,
58
- ) -> Response[UserRoleExpirationTime]:
65
+ ) -> Response[Union[CustomersAddUserResponse400, UserRoleExpirationTime]]:
59
66
  """
60
67
  Args:
61
68
  uuid (UUID):
@@ -66,7 +73,7 @@ def sync_detailed(
66
73
  httpx.TimeoutException: If the request takes longer than Client.timeout.
67
74
 
68
75
  Returns:
69
- Response[UserRoleExpirationTime]
76
+ Response[Union[CustomersAddUserResponse400, UserRoleExpirationTime]]
70
77
  """
71
78
 
72
79
  kwargs = _get_kwargs(
@@ -86,7 +93,7 @@ def sync(
86
93
  *,
87
94
  client: AuthenticatedClient,
88
95
  body: UserRoleCreateRequest,
89
- ) -> UserRoleExpirationTime:
96
+ ) -> Union[CustomersAddUserResponse400, UserRoleExpirationTime]:
90
97
  """
91
98
  Args:
92
99
  uuid (UUID):
@@ -97,7 +104,7 @@ def sync(
97
104
  httpx.TimeoutException: If the request takes longer than Client.timeout.
98
105
 
99
106
  Returns:
100
- UserRoleExpirationTime
107
+ Union[CustomersAddUserResponse400, UserRoleExpirationTime]
101
108
  """
102
109
 
103
110
  return sync_detailed(
@@ -112,7 +119,7 @@ async def asyncio_detailed(
112
119
  *,
113
120
  client: AuthenticatedClient,
114
121
  body: UserRoleCreateRequest,
115
- ) -> Response[UserRoleExpirationTime]:
122
+ ) -> Response[Union[CustomersAddUserResponse400, UserRoleExpirationTime]]:
116
123
  """
117
124
  Args:
118
125
  uuid (UUID):
@@ -123,7 +130,7 @@ async def asyncio_detailed(
123
130
  httpx.TimeoutException: If the request takes longer than Client.timeout.
124
131
 
125
132
  Returns:
126
- Response[UserRoleExpirationTime]
133
+ Response[Union[CustomersAddUserResponse400, UserRoleExpirationTime]]
127
134
  """
128
135
 
129
136
  kwargs = _get_kwargs(
@@ -141,7 +148,7 @@ async def asyncio(
141
148
  *,
142
149
  client: AuthenticatedClient,
143
150
  body: UserRoleCreateRequest,
144
- ) -> UserRoleExpirationTime:
151
+ ) -> Union[CustomersAddUserResponse400, UserRoleExpirationTime]:
145
152
  """
146
153
  Args:
147
154
  uuid (UUID):
@@ -152,7 +159,7 @@ async def asyncio(
152
159
  httpx.TimeoutException: If the request takes longer than Client.timeout.
153
160
 
154
161
  Returns:
155
- UserRoleExpirationTime
162
+ Union[CustomersAddUserResponse400, UserRoleExpirationTime]
156
163
  """
157
164
 
158
165
  return (