waldur-api-client 7.8.2__py3-none-any.whl → 7.8.4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of waldur-api-client might be problematic. Click here for more details.

Files changed (174) hide show
  1. waldur_api_client/api/booking_resources/booking_resources_count.py +18 -0
  2. waldur_api_client/api/booking_resources/booking_resources_list.py +18 -0
  3. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_checklist_template_count.py +125 -0
  4. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_checklist_template_retrieve.py +126 -0
  5. waldur_api_client/api/marketplace_project_update_requests/marketplace_project_update_requests_count.py +18 -18
  6. waldur_api_client/api/marketplace_project_update_requests/marketplace_project_update_requests_list.py +18 -18
  7. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_tos_stats_retrieve.py +146 -0
  8. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_count.py +18 -0
  9. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_list.py +18 -0
  10. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_move_resource.py +22 -0
  11. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_update_options.py +168 -0
  12. waldur_api_client/api/marketplace_resources/marketplace_resources_count.py +18 -0
  13. waldur_api_client/api/marketplace_resources/marketplace_resources_list.py +18 -0
  14. waldur_api_client/api/marketplace_resources/marketplace_resources_move_resource.py +22 -0
  15. waldur_api_client/api/marketplace_resources/marketplace_resources_renew.py +166 -0
  16. waldur_api_client/api/marketplace_service_providers/service_provider_checklists_summary.py +189 -0
  17. waldur_api_client/api/onboarding/__init__.py +1 -0
  18. waldur_api_client/api/onboarding/onboarding_supported_countries_retrieve.py +74 -0
  19. waldur_api_client/api/onboarding_justifications/__init__.py +1 -0
  20. waldur_api_client/api/onboarding_justifications/onboarding_justifications_attach_document.py +211 -0
  21. waldur_api_client/api/onboarding_justifications/onboarding_justifications_count.py +172 -0
  22. waldur_api_client/api/onboarding_justifications/onboarding_justifications_create.py +150 -0
  23. waldur_api_client/api/onboarding_justifications/onboarding_justifications_create_justification.py +154 -0
  24. waldur_api_client/api/onboarding_justifications/onboarding_justifications_destroy.py +89 -0
  25. waldur_api_client/api/onboarding_justifications/onboarding_justifications_list.py +175 -0
  26. waldur_api_client/api/onboarding_justifications/onboarding_justifications_partial_update.py +164 -0
  27. waldur_api_client/api/onboarding_justifications/onboarding_justifications_retrieve.py +142 -0
  28. waldur_api_client/api/onboarding_justifications/onboarding_justifications_update.py +164 -0
  29. waldur_api_client/api/onboarding_verifications/__init__.py +1 -0
  30. waldur_api_client/api/onboarding_verifications/onboarding_verifications_count.py +172 -0
  31. waldur_api_client/api/onboarding_verifications/onboarding_verifications_create.py +150 -0
  32. waldur_api_client/api/onboarding_verifications/onboarding_verifications_create_customer.py +144 -0
  33. waldur_api_client/api/onboarding_verifications/onboarding_verifications_destroy.py +89 -0
  34. waldur_api_client/api/onboarding_verifications/onboarding_verifications_list.py +175 -0
  35. waldur_api_client/api/onboarding_verifications/onboarding_verifications_partial_update.py +164 -0
  36. waldur_api_client/api/onboarding_verifications/onboarding_verifications_retrieve.py +142 -0
  37. waldur_api_client/api/onboarding_verifications/onboarding_verifications_update.py +164 -0
  38. waldur_api_client/api/onboarding_verifications/onboarding_verifications_validate_company.py +154 -0
  39. waldur_api_client/api/openstack_backups/openstack_backups_restore.py +10 -10
  40. waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_count.py +33 -0
  41. waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_create.py +154 -0
  42. waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_destroy.py +91 -0
  43. waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_list.py +33 -0
  44. waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_partial_update.py +164 -0
  45. waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_update.py +164 -0
  46. waldur_api_client/api/openstack_networks/openstack_networks_rbac_policy_create.py +24 -22
  47. waldur_api_client/api/projects/projects_checklist_template_count.py +125 -0
  48. waldur_api_client/api/projects/projects_checklist_template_retrieve.py +126 -0
  49. waldur_api_client/api/proposal_proposals/proposal_proposals_checklist_template_count.py +125 -0
  50. waldur_api_client/api/proposal_proposals/proposal_proposals_checklist_template_retrieve.py +126 -0
  51. waldur_api_client/api/proposal_protected_calls/proposal_protected_calls_offerings_list.py +15 -0
  52. waldur_api_client/api/rancher_services/rancher_services_create.py +22 -22
  53. waldur_api_client/models/__init__.py +88 -10
  54. waldur_api_client/models/azure_sql_server_create_order_attributes.py +5 -10
  55. waldur_api_client/models/azure_virtual_machine_create_order_attributes.py +7 -12
  56. waldur_api_client/models/booking_resource.py +9 -34
  57. waldur_api_client/models/booking_resources_list_field_item.py +1 -3
  58. waldur_api_client/models/booking_resources_retrieve_field_item.py +1 -3
  59. waldur_api_client/models/call_round.py +4 -4
  60. waldur_api_client/models/checklist_template.py +99 -0
  61. waldur_api_client/models/checklist_template_checklist.py +44 -0
  62. waldur_api_client/models/constance_settings.py +54 -0
  63. waldur_api_client/models/constance_settings_request.py +54 -0
  64. waldur_api_client/models/constance_settings_request_form.py +54 -0
  65. waldur_api_client/models/constance_settings_request_multipart.py +99 -0
  66. waldur_api_client/models/customer.py +9 -0
  67. waldur_api_client/models/customers_list_field_item.py +1 -0
  68. waldur_api_client/models/customers_retrieve_field_item.py +1 -0
  69. waldur_api_client/models/deprecated_network_rbac_policy.py +137 -0
  70. waldur_api_client/models/deprecated_network_rbac_policy_request.py +78 -0
  71. waldur_api_client/models/event_groups_enum.py +1 -0
  72. waldur_api_client/models/event_types_enum.py +3 -0
  73. waldur_api_client/models/generic_order_attributes.py +1 -2
  74. waldur_api_client/models/managed_rancher_cluster_resources_list_field_item.py +1 -3
  75. waldur_api_client/models/managed_rancher_cluster_resources_retrieve_field_item.py +1 -3
  76. waldur_api_client/models/marketplace_orders_list_field_item.py +1 -3
  77. waldur_api_client/models/marketplace_orders_retrieve_field_item.py +1 -3
  78. waldur_api_client/models/marketplace_provider_resources_details_retrieve_field_item.py +1 -3
  79. waldur_api_client/models/marketplace_provider_resources_list_field_item.py +1 -3
  80. waldur_api_client/models/marketplace_provider_resources_retrieve_field_item.py +1 -3
  81. waldur_api_client/models/marketplace_resources_details_retrieve_field_item.py +1 -3
  82. waldur_api_client/models/marketplace_resources_list_field_item.py +1 -3
  83. waldur_api_client/models/marketplace_resources_retrieve_field_item.py +1 -3
  84. waldur_api_client/models/marketplace_robot_accounts_list_field_item.py +2 -1
  85. waldur_api_client/models/marketplace_robot_accounts_retrieve_field_item.py +2 -1
  86. waldur_api_client/models/marketplace_service_providers_projects_list_field_item.py +1 -0
  87. waldur_api_client/models/merged_plugin_options.py +27 -0
  88. waldur_api_client/models/merged_plugin_options_request.py +27 -0
  89. waldur_api_client/models/move_resource_request.py +65 -0
  90. waldur_api_client/models/nested_round.py +5 -5
  91. waldur_api_client/models/network_rbac_policy_request.py +8 -0
  92. waldur_api_client/models/notification.py +9 -9
  93. waldur_api_client/models/{notification_context_fields.py → notification_context_schema.py} +6 -6
  94. waldur_api_client/models/notification_template_detail_serializers.py +9 -3
  95. waldur_api_client/models/offering_component.py +79 -0
  96. waldur_api_client/models/offering_component_request.py +80 -0
  97. waldur_api_client/models/onboarding_company_validation_request_request.py +88 -0
  98. waldur_api_client/models/onboarding_justification.py +183 -0
  99. waldur_api_client/models/onboarding_justification_create_request.py +68 -0
  100. waldur_api_client/models/onboarding_justification_documentation.py +108 -0
  101. waldur_api_client/models/onboarding_justification_documentation_request.py +84 -0
  102. waldur_api_client/models/onboarding_justification_documentation_request_form.py +84 -0
  103. waldur_api_client/models/onboarding_justification_documentation_request_multipart.py +98 -0
  104. waldur_api_client/models/onboarding_justification_request.py +75 -0
  105. waldur_api_client/models/onboarding_verification.py +250 -0
  106. waldur_api_client/models/onboarding_verification_request.py +128 -0
  107. waldur_api_client/models/onboarding_verification_status_enum.py +12 -0
  108. waldur_api_client/models/open_stack_backup_restoration.py +3 -5
  109. waldur_api_client/models/open_stack_backup_restoration_create_request.py +141 -0
  110. waldur_api_client/models/open_stack_backup_restoration_request.py +22 -30
  111. waldur_api_client/models/open_stack_create_floating_ip_request.py +89 -0
  112. waldur_api_client/models/open_stack_create_port_request.py +104 -0
  113. waldur_api_client/models/open_stack_instance.py +13 -29
  114. waldur_api_client/models/open_stack_instance_create_order_attributes.py +67 -54
  115. waldur_api_client/models/open_stack_instance_floating_i_ps_update_request.py +5 -5
  116. waldur_api_client/models/open_stack_instance_ports_update_request.py +5 -5
  117. waldur_api_client/models/open_stack_instance_request.py +1 -67
  118. waldur_api_client/models/open_stack_nested_port_request.py +0 -9
  119. waldur_api_client/models/{open_stack_nested_security_group_request.py → open_stack_security_group_hyperlink_request.py} +14 -14
  120. waldur_api_client/models/open_stack_server_group_hyperlink_request.py +59 -0
  121. waldur_api_client/models/open_stack_tenant_create_order_attributes.py +9 -14
  122. waldur_api_client/models/open_stack_volume_create_order_attributes.py +8 -13
  123. waldur_api_client/models/openstack_instances_list_field_item.py +0 -7
  124. waldur_api_client/models/openstack_instances_retrieve_field_item.py +0 -7
  125. waldur_api_client/models/order_create.py +8 -0
  126. waldur_api_client/models/order_details.py +9 -34
  127. waldur_api_client/models/patched_network_rbac_policy_request.py +85 -0
  128. waldur_api_client/models/patched_onboarding_justification_request.py +77 -0
  129. waldur_api_client/models/patched_onboarding_verification_request.py +128 -0
  130. waldur_api_client/models/patched_open_stack_instance_request.py +1 -67
  131. waldur_api_client/models/patched_project_credit_request.py +13 -0
  132. waldur_api_client/models/patched_project_request.py +1 -2
  133. waldur_api_client/models/patched_project_request_form.py +1 -2
  134. waldur_api_client/models/patched_project_request_multipart.py +1 -2
  135. waldur_api_client/models/project.py +10 -2
  136. waldur_api_client/models/project_credit.py +13 -0
  137. waldur_api_client/models/project_credit_request.py +13 -0
  138. waldur_api_client/models/{rancher_nested_security_group.py → project_hyperlink_request.py} +5 -5
  139. waldur_api_client/models/project_request.py +1 -2
  140. waldur_api_client/models/project_request_form.py +1 -2
  141. waldur_api_client/models/project_request_multipart.py +1 -2
  142. waldur_api_client/models/projects_list_field_item.py +1 -0
  143. waldur_api_client/models/projects_retrieve_field_item.py +1 -0
  144. waldur_api_client/models/protected_round.py +4 -4
  145. waldur_api_client/models/question.py +102 -0
  146. waldur_api_client/models/{open_stack_data_volume.py → question_options.py} +27 -29
  147. waldur_api_client/models/rancher_clusters_list_field_item.py +0 -1
  148. waldur_api_client/models/rancher_clusters_retrieve_field_item.py +0 -1
  149. waldur_api_client/models/rancher_service_create.py +508 -0
  150. waldur_api_client/models/rancher_service_create_marketplace_offering_plugin_options_type_0.py +44 -0
  151. waldur_api_client/models/rancher_service_create_request.py +185 -0
  152. waldur_api_client/models/rancher_service_request.py +16 -19
  153. waldur_api_client/models/rancher_workload_create.py +59 -0
  154. waldur_api_client/models/rancher_workload_create_request.py +59 -0
  155. waldur_api_client/models/resource.py +9 -34
  156. waldur_api_client/models/resource_renew_request.py +83 -0
  157. waldur_api_client/models/resource_renew_request_limits.py +44 -0
  158. waldur_api_client/models/robot_account_details.py +22 -13
  159. waldur_api_client/models/{status_enum.py → round_status.py} +1 -1
  160. waldur_api_client/models/service_provider_checklist_summary.py +98 -0
  161. waldur_api_client/models/slurm_invoices_slurm_package_create_order_attributes.py +4 -9
  162. waldur_api_client/models/time_series_to_s_data.py +69 -0
  163. waldur_api_client/models/to_s_consent_dashboard.py +155 -0
  164. waldur_api_client/models/update_offering_component_request.py +79 -0
  165. waldur_api_client/models/v_mware_virtual_machine_create_order_attributes.py +11 -16
  166. waldur_api_client/models/validation_decision_enum.py +10 -0
  167. waldur_api_client/models/validation_method_enum.py +8 -0
  168. waldur_api_client/models/version_adoption.py +67 -0
  169. waldur_api_client/models/vmware_nested_network.py +0 -25
  170. waldur_api_client/models/vmware_nested_network_request.py +6 -14
  171. {waldur_api_client-7.8.2.dist-info → waldur_api_client-7.8.4.dist-info}/METADATA +1 -1
  172. {waldur_api_client-7.8.2.dist-info → waldur_api_client-7.8.4.dist-info}/RECORD +174 -101
  173. {waldur_api_client-7.8.2.dist-info → waldur_api_client-7.8.4.dist-info}/WHEEL +0 -0
  174. {waldur_api_client-7.8.2.dist-info → waldur_api_client-7.8.4.dist-info}/licenses/LICENSE +0 -0
@@ -37,6 +37,7 @@ def _get_kwargs(
37
37
  page_size: Union[Unset, int] = UNSET,
38
38
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
39
39
  paused: Union[Unset, bool] = UNSET,
40
+ plan_uuid: Union[Unset, UUID] = UNSET,
40
41
  project_name: Union[Unset, str] = UNSET,
41
42
  project_uuid: Union[Unset, UUID] = UNSET,
42
43
  provider_uuid: Union[Unset, UUID] = UNSET,
@@ -131,6 +132,11 @@ def _get_kwargs(
131
132
 
132
133
  params["paused"] = paused
133
134
 
135
+ json_plan_uuid: Union[Unset, str] = UNSET
136
+ if not isinstance(plan_uuid, Unset):
137
+ json_plan_uuid = str(plan_uuid)
138
+ params["plan_uuid"] = json_plan_uuid
139
+
134
140
  params["project_name"] = project_name
135
141
 
136
142
  json_project_uuid: Union[Unset, str] = UNSET
@@ -226,6 +232,7 @@ def sync_detailed(
226
232
  page_size: Union[Unset, int] = UNSET,
227
233
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
228
234
  paused: Union[Unset, bool] = UNSET,
235
+ plan_uuid: Union[Unset, UUID] = UNSET,
229
236
  project_name: Union[Unset, str] = UNSET,
230
237
  project_uuid: Union[Unset, UUID] = UNSET,
231
238
  provider_uuid: Union[Unset, UUID] = UNSET,
@@ -262,6 +269,7 @@ def sync_detailed(
262
269
  page_size (Union[Unset, int]):
263
270
  parent_offering_uuid (Union[Unset, UUID]):
264
271
  paused (Union[Unset, bool]):
272
+ plan_uuid (Union[Unset, UUID]):
265
273
  project_name (Union[Unset, str]):
266
274
  project_uuid (Union[Unset, UUID]):
267
275
  provider_uuid (Union[Unset, UUID]):
@@ -304,6 +312,7 @@ def sync_detailed(
304
312
  page_size=page_size,
305
313
  parent_offering_uuid=parent_offering_uuid,
306
314
  paused=paused,
315
+ plan_uuid=plan_uuid,
307
316
  project_name=project_name,
308
317
  project_uuid=project_uuid,
309
318
  provider_uuid=provider_uuid,
@@ -348,6 +357,7 @@ def sync(
348
357
  page_size: Union[Unset, int] = UNSET,
349
358
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
350
359
  paused: Union[Unset, bool] = UNSET,
360
+ plan_uuid: Union[Unset, UUID] = UNSET,
351
361
  project_name: Union[Unset, str] = UNSET,
352
362
  project_uuid: Union[Unset, UUID] = UNSET,
353
363
  provider_uuid: Union[Unset, UUID] = UNSET,
@@ -384,6 +394,7 @@ def sync(
384
394
  page_size (Union[Unset, int]):
385
395
  parent_offering_uuid (Union[Unset, UUID]):
386
396
  paused (Union[Unset, bool]):
397
+ plan_uuid (Union[Unset, UUID]):
387
398
  project_name (Union[Unset, str]):
388
399
  project_uuid (Union[Unset, UUID]):
389
400
  provider_uuid (Union[Unset, UUID]):
@@ -427,6 +438,7 @@ def sync(
427
438
  page_size=page_size,
428
439
  parent_offering_uuid=parent_offering_uuid,
429
440
  paused=paused,
441
+ plan_uuid=plan_uuid,
430
442
  project_name=project_name,
431
443
  project_uuid=project_uuid,
432
444
  provider_uuid=provider_uuid,
@@ -465,6 +477,7 @@ async def asyncio_detailed(
465
477
  page_size: Union[Unset, int] = UNSET,
466
478
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
467
479
  paused: Union[Unset, bool] = UNSET,
480
+ plan_uuid: Union[Unset, UUID] = UNSET,
468
481
  project_name: Union[Unset, str] = UNSET,
469
482
  project_uuid: Union[Unset, UUID] = UNSET,
470
483
  provider_uuid: Union[Unset, UUID] = UNSET,
@@ -501,6 +514,7 @@ async def asyncio_detailed(
501
514
  page_size (Union[Unset, int]):
502
515
  parent_offering_uuid (Union[Unset, UUID]):
503
516
  paused (Union[Unset, bool]):
517
+ plan_uuid (Union[Unset, UUID]):
504
518
  project_name (Union[Unset, str]):
505
519
  project_uuid (Union[Unset, UUID]):
506
520
  provider_uuid (Union[Unset, UUID]):
@@ -543,6 +557,7 @@ async def asyncio_detailed(
543
557
  page_size=page_size,
544
558
  parent_offering_uuid=parent_offering_uuid,
545
559
  paused=paused,
560
+ plan_uuid=plan_uuid,
546
561
  project_name=project_name,
547
562
  project_uuid=project_uuid,
548
563
  provider_uuid=provider_uuid,
@@ -585,6 +600,7 @@ async def asyncio(
585
600
  page_size: Union[Unset, int] = UNSET,
586
601
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
587
602
  paused: Union[Unset, bool] = UNSET,
603
+ plan_uuid: Union[Unset, UUID] = UNSET,
588
604
  project_name: Union[Unset, str] = UNSET,
589
605
  project_uuid: Union[Unset, UUID] = UNSET,
590
606
  provider_uuid: Union[Unset, UUID] = UNSET,
@@ -621,6 +637,7 @@ async def asyncio(
621
637
  page_size (Union[Unset, int]):
622
638
  parent_offering_uuid (Union[Unset, UUID]):
623
639
  paused (Union[Unset, bool]):
640
+ plan_uuid (Union[Unset, UUID]):
624
641
  project_name (Union[Unset, str]):
625
642
  project_uuid (Union[Unset, UUID]):
626
643
  provider_uuid (Union[Unset, UUID]):
@@ -665,6 +682,7 @@ async def asyncio(
665
682
  page_size=page_size,
666
683
  parent_offering_uuid=parent_offering_uuid,
667
684
  paused=paused,
685
+ plan_uuid=plan_uuid,
668
686
  project_name=project_name,
669
687
  project_uuid=project_uuid,
670
688
  provider_uuid=provider_uuid,
@@ -40,6 +40,7 @@ def _get_kwargs(
40
40
  page_size: Union[Unset, int] = UNSET,
41
41
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
42
42
  paused: Union[Unset, bool] = UNSET,
43
+ plan_uuid: Union[Unset, UUID] = UNSET,
43
44
  project_name: Union[Unset, str] = UNSET,
44
45
  project_uuid: Union[Unset, UUID] = UNSET,
45
46
  provider_uuid: Union[Unset, UUID] = UNSET,
@@ -143,6 +144,11 @@ def _get_kwargs(
143
144
 
144
145
  params["paused"] = paused
145
146
 
147
+ json_plan_uuid: Union[Unset, str] = UNSET
148
+ if not isinstance(plan_uuid, Unset):
149
+ json_plan_uuid = str(plan_uuid)
150
+ params["plan_uuid"] = json_plan_uuid
151
+
146
152
  params["project_name"] = project_name
147
153
 
148
154
  json_project_uuid: Union[Unset, str] = UNSET
@@ -239,6 +245,7 @@ def sync_detailed(
239
245
  page_size: Union[Unset, int] = UNSET,
240
246
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
241
247
  paused: Union[Unset, bool] = UNSET,
248
+ plan_uuid: Union[Unset, UUID] = UNSET,
242
249
  project_name: Union[Unset, str] = UNSET,
243
250
  project_uuid: Union[Unset, UUID] = UNSET,
244
251
  provider_uuid: Union[Unset, UUID] = UNSET,
@@ -276,6 +283,7 @@ def sync_detailed(
276
283
  page_size (Union[Unset, int]):
277
284
  parent_offering_uuid (Union[Unset, UUID]):
278
285
  paused (Union[Unset, bool]):
286
+ plan_uuid (Union[Unset, UUID]):
279
287
  project_name (Union[Unset, str]):
280
288
  project_uuid (Union[Unset, UUID]):
281
289
  provider_uuid (Union[Unset, UUID]):
@@ -319,6 +327,7 @@ def sync_detailed(
319
327
  page_size=page_size,
320
328
  parent_offering_uuid=parent_offering_uuid,
321
329
  paused=paused,
330
+ plan_uuid=plan_uuid,
322
331
  project_name=project_name,
323
332
  project_uuid=project_uuid,
324
333
  provider_uuid=provider_uuid,
@@ -364,6 +373,7 @@ def sync(
364
373
  page_size: Union[Unset, int] = UNSET,
365
374
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
366
375
  paused: Union[Unset, bool] = UNSET,
376
+ plan_uuid: Union[Unset, UUID] = UNSET,
367
377
  project_name: Union[Unset, str] = UNSET,
368
378
  project_uuid: Union[Unset, UUID] = UNSET,
369
379
  provider_uuid: Union[Unset, UUID] = UNSET,
@@ -401,6 +411,7 @@ def sync(
401
411
  page_size (Union[Unset, int]):
402
412
  parent_offering_uuid (Union[Unset, UUID]):
403
413
  paused (Union[Unset, bool]):
414
+ plan_uuid (Union[Unset, UUID]):
404
415
  project_name (Union[Unset, str]):
405
416
  project_uuid (Union[Unset, UUID]):
406
417
  provider_uuid (Union[Unset, UUID]):
@@ -445,6 +456,7 @@ def sync(
445
456
  page_size=page_size,
446
457
  parent_offering_uuid=parent_offering_uuid,
447
458
  paused=paused,
459
+ plan_uuid=plan_uuid,
448
460
  project_name=project_name,
449
461
  project_uuid=project_uuid,
450
462
  provider_uuid=provider_uuid,
@@ -484,6 +496,7 @@ async def asyncio_detailed(
484
496
  page_size: Union[Unset, int] = UNSET,
485
497
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
486
498
  paused: Union[Unset, bool] = UNSET,
499
+ plan_uuid: Union[Unset, UUID] = UNSET,
487
500
  project_name: Union[Unset, str] = UNSET,
488
501
  project_uuid: Union[Unset, UUID] = UNSET,
489
502
  provider_uuid: Union[Unset, UUID] = UNSET,
@@ -521,6 +534,7 @@ async def asyncio_detailed(
521
534
  page_size (Union[Unset, int]):
522
535
  parent_offering_uuid (Union[Unset, UUID]):
523
536
  paused (Union[Unset, bool]):
537
+ plan_uuid (Union[Unset, UUID]):
524
538
  project_name (Union[Unset, str]):
525
539
  project_uuid (Union[Unset, UUID]):
526
540
  provider_uuid (Union[Unset, UUID]):
@@ -564,6 +578,7 @@ async def asyncio_detailed(
564
578
  page_size=page_size,
565
579
  parent_offering_uuid=parent_offering_uuid,
566
580
  paused=paused,
581
+ plan_uuid=plan_uuid,
567
582
  project_name=project_name,
568
583
  project_uuid=project_uuid,
569
584
  provider_uuid=provider_uuid,
@@ -607,6 +622,7 @@ async def asyncio(
607
622
  page_size: Union[Unset, int] = UNSET,
608
623
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
609
624
  paused: Union[Unset, bool] = UNSET,
625
+ plan_uuid: Union[Unset, UUID] = UNSET,
610
626
  project_name: Union[Unset, str] = UNSET,
611
627
  project_uuid: Union[Unset, UUID] = UNSET,
612
628
  provider_uuid: Union[Unset, UUID] = UNSET,
@@ -644,6 +660,7 @@ async def asyncio(
644
660
  page_size (Union[Unset, int]):
645
661
  parent_offering_uuid (Union[Unset, UUID]):
646
662
  paused (Union[Unset, bool]):
663
+ plan_uuid (Union[Unset, UUID]):
647
664
  project_name (Union[Unset, str]):
648
665
  project_uuid (Union[Unset, UUID]):
649
666
  provider_uuid (Union[Unset, UUID]):
@@ -689,6 +706,7 @@ async def asyncio(
689
706
  page_size=page_size,
690
707
  parent_offering_uuid=parent_offering_uuid,
691
708
  paused=paused,
709
+ plan_uuid=plan_uuid,
692
710
  project_name=project_name,
693
711
  project_uuid=project_uuid,
694
712
  provider_uuid=provider_uuid,
@@ -0,0 +1,125 @@
1
+ from http import HTTPStatus
2
+ from typing import Any, Union
3
+
4
+ import httpx
5
+
6
+ from ... import errors
7
+ from ...client import AuthenticatedClient, Client
8
+ from ...types import Response
9
+
10
+
11
+ def _get_kwargs() -> dict[str, Any]:
12
+ _kwargs: dict[str, Any] = {
13
+ "method": "head",
14
+ "url": "/api/marketplace-offering-users/checklist-template/",
15
+ }
16
+
17
+ return _kwargs
18
+
19
+
20
+ def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> int:
21
+ if response.status_code == HTTPStatus.OK:
22
+ try:
23
+ return int(response.headers["x-result-count"])
24
+ except KeyError:
25
+ raise errors.UnexpectedStatus(
26
+ response.status_code, b"Expected 'X-Result-Count' header for HEAD request, but it was not found."
27
+ )
28
+ except ValueError:
29
+ count_val = response.headers.get("x-result-count")
30
+ msg = f"Expected 'X-Result-Count' header to be an integer, but got '{count_val}'."
31
+ raise errors.UnexpectedStatus(response.status_code, msg.encode())
32
+ raise errors.UnexpectedStatus(response.status_code, response.content)
33
+
34
+
35
+ def _build_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Response[int]:
36
+ return Response(
37
+ status_code=HTTPStatus(response.status_code),
38
+ content=response.content,
39
+ headers=response.headers,
40
+ parsed=_parse_response(client=client, response=response),
41
+ )
42
+
43
+
44
+ def sync_detailed(
45
+ *,
46
+ client: AuthenticatedClient,
47
+ ) -> Response[int]:
48
+ """Get number of items in the collection matching the request parameters.
49
+
50
+ Raises:
51
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
52
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
53
+
54
+ Returns:
55
+ Response[int]
56
+ """
57
+
58
+ kwargs = _get_kwargs()
59
+
60
+ response = client.get_httpx_client().request(
61
+ **kwargs,
62
+ )
63
+
64
+ return _build_response(client=client, response=response)
65
+
66
+
67
+ def sync(
68
+ *,
69
+ client: AuthenticatedClient,
70
+ ) -> int:
71
+ """Get number of items in the collection matching the request parameters.
72
+
73
+ Raises:
74
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
75
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
76
+
77
+ Returns:
78
+ int
79
+ """
80
+
81
+ return sync_detailed(
82
+ client=client,
83
+ ).parsed
84
+
85
+
86
+ async def asyncio_detailed(
87
+ *,
88
+ client: AuthenticatedClient,
89
+ ) -> Response[int]:
90
+ """Get number of items in the collection matching the request parameters.
91
+
92
+ Raises:
93
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
94
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
95
+
96
+ Returns:
97
+ Response[int]
98
+ """
99
+
100
+ kwargs = _get_kwargs()
101
+
102
+ response = await client.get_async_httpx_client().request(**kwargs)
103
+
104
+ return _build_response(client=client, response=response)
105
+
106
+
107
+ async def asyncio(
108
+ *,
109
+ client: AuthenticatedClient,
110
+ ) -> int:
111
+ """Get number of items in the collection matching the request parameters.
112
+
113
+ Raises:
114
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
115
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
116
+
117
+ Returns:
118
+ int
119
+ """
120
+
121
+ return (
122
+ await asyncio_detailed(
123
+ client=client,
124
+ )
125
+ ).parsed
@@ -0,0 +1,126 @@
1
+ from http import HTTPStatus
2
+ from typing import Any, Union
3
+
4
+ import httpx
5
+
6
+ from ... import errors
7
+ from ...client import AuthenticatedClient, Client
8
+ from ...models.checklist_template import ChecklistTemplate
9
+ from ...types import Response
10
+
11
+
12
+ def _get_kwargs() -> dict[str, Any]:
13
+ _kwargs: dict[str, Any] = {
14
+ "method": "get",
15
+ "url": "/api/marketplace-offering-users/checklist-template/",
16
+ }
17
+
18
+ return _kwargs
19
+
20
+
21
+ def _parse_response(
22
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
23
+ ) -> Union[Any, ChecklistTemplate]:
24
+ if response.status_code == 200:
25
+ response_200 = ChecklistTemplate.from_dict(response.json())
26
+
27
+ return response_200
28
+ if response.status_code == 400:
29
+ response_400 = response.json()
30
+ return response_400
31
+ raise errors.UnexpectedStatus(response.status_code, response.content)
32
+
33
+
34
+ def _build_response(
35
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
36
+ ) -> Response[Union[Any, ChecklistTemplate]]:
37
+ return Response(
38
+ status_code=HTTPStatus(response.status_code),
39
+ content=response.content,
40
+ headers=response.headers,
41
+ parsed=_parse_response(client=client, response=response),
42
+ )
43
+
44
+
45
+ def sync_detailed(
46
+ *,
47
+ client: AuthenticatedClient,
48
+ ) -> Response[Union[Any, ChecklistTemplate]]:
49
+ """Get checklist template for creating new objects.
50
+
51
+ Raises:
52
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
53
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
54
+
55
+ Returns:
56
+ Response[Union[Any, ChecklistTemplate]]
57
+ """
58
+
59
+ kwargs = _get_kwargs()
60
+
61
+ response = client.get_httpx_client().request(
62
+ **kwargs,
63
+ )
64
+
65
+ return _build_response(client=client, response=response)
66
+
67
+
68
+ def sync(
69
+ *,
70
+ client: AuthenticatedClient,
71
+ ) -> Union[Any, ChecklistTemplate]:
72
+ """Get checklist template for creating new objects.
73
+
74
+ Raises:
75
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
76
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
77
+
78
+ Returns:
79
+ Union[Any, ChecklistTemplate]
80
+ """
81
+
82
+ return sync_detailed(
83
+ client=client,
84
+ ).parsed
85
+
86
+
87
+ async def asyncio_detailed(
88
+ *,
89
+ client: AuthenticatedClient,
90
+ ) -> Response[Union[Any, ChecklistTemplate]]:
91
+ """Get checklist template for creating new objects.
92
+
93
+ Raises:
94
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
95
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
96
+
97
+ Returns:
98
+ Response[Union[Any, ChecklistTemplate]]
99
+ """
100
+
101
+ kwargs = _get_kwargs()
102
+
103
+ response = await client.get_async_httpx_client().request(**kwargs)
104
+
105
+ return _build_response(client=client, response=response)
106
+
107
+
108
+ async def asyncio(
109
+ *,
110
+ client: AuthenticatedClient,
111
+ ) -> Union[Any, ChecklistTemplate]:
112
+ """Get checklist template for creating new objects.
113
+
114
+ Raises:
115
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
116
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
117
+
118
+ Returns:
119
+ Union[Any, ChecklistTemplate]
120
+ """
121
+
122
+ return (
123
+ await asyncio_detailed(
124
+ client=client,
125
+ )
126
+ ).parsed
@@ -15,11 +15,11 @@ from ...types import UNSET, Response, Unset
15
15
  def _get_kwargs(
16
16
  *,
17
17
  customer_uuid: Union[Unset, UUID] = UNSET,
18
- offering_customer_uuid: Union[Unset, UUID] = UNSET,
19
18
  offering_uuid: Union[Unset, UUID] = UNSET,
20
19
  page: Union[Unset, int] = UNSET,
21
20
  page_size: Union[Unset, int] = UNSET,
22
21
  project_uuid: Union[Unset, UUID] = UNSET,
22
+ provider_uuid: Union[Unset, UUID] = UNSET,
23
23
  state: Union[Unset, list[MarketplaceProjectUpdateRequestsCountStateItem]] = UNSET,
24
24
  ) -> dict[str, Any]:
25
25
  params: dict[str, Any] = {}
@@ -29,11 +29,6 @@ def _get_kwargs(
29
29
  json_customer_uuid = str(customer_uuid)
30
30
  params["customer_uuid"] = json_customer_uuid
31
31
 
32
- json_offering_customer_uuid: Union[Unset, str] = UNSET
33
- if not isinstance(offering_customer_uuid, Unset):
34
- json_offering_customer_uuid = str(offering_customer_uuid)
35
- params["offering_customer_uuid"] = json_offering_customer_uuid
36
-
37
32
  json_offering_uuid: Union[Unset, str] = UNSET
38
33
  if not isinstance(offering_uuid, Unset):
39
34
  json_offering_uuid = str(offering_uuid)
@@ -48,6 +43,11 @@ def _get_kwargs(
48
43
  json_project_uuid = str(project_uuid)
49
44
  params["project_uuid"] = json_project_uuid
50
45
 
46
+ json_provider_uuid: Union[Unset, str] = UNSET
47
+ if not isinstance(provider_uuid, Unset):
48
+ json_provider_uuid = str(provider_uuid)
49
+ params["provider_uuid"] = json_provider_uuid
50
+
51
51
  json_state: Union[Unset, list[str]] = UNSET
52
52
  if not isinstance(state, Unset):
53
53
  json_state = []
@@ -96,22 +96,22 @@ def sync_detailed(
96
96
  *,
97
97
  client: AuthenticatedClient,
98
98
  customer_uuid: Union[Unset, UUID] = UNSET,
99
- offering_customer_uuid: Union[Unset, UUID] = UNSET,
100
99
  offering_uuid: Union[Unset, UUID] = UNSET,
101
100
  page: Union[Unset, int] = UNSET,
102
101
  page_size: Union[Unset, int] = UNSET,
103
102
  project_uuid: Union[Unset, UUID] = UNSET,
103
+ provider_uuid: Union[Unset, UUID] = UNSET,
104
104
  state: Union[Unset, list[MarketplaceProjectUpdateRequestsCountStateItem]] = UNSET,
105
105
  ) -> Response[int]:
106
106
  """Get number of items in the collection matching the request parameters.
107
107
 
108
108
  Args:
109
109
  customer_uuid (Union[Unset, UUID]):
110
- offering_customer_uuid (Union[Unset, UUID]):
111
110
  offering_uuid (Union[Unset, UUID]):
112
111
  page (Union[Unset, int]):
113
112
  page_size (Union[Unset, int]):
114
113
  project_uuid (Union[Unset, UUID]):
114
+ provider_uuid (Union[Unset, UUID]):
115
115
  state (Union[Unset, list[MarketplaceProjectUpdateRequestsCountStateItem]]):
116
116
 
117
117
  Raises:
@@ -124,11 +124,11 @@ def sync_detailed(
124
124
 
125
125
  kwargs = _get_kwargs(
126
126
  customer_uuid=customer_uuid,
127
- offering_customer_uuid=offering_customer_uuid,
128
127
  offering_uuid=offering_uuid,
129
128
  page=page,
130
129
  page_size=page_size,
131
130
  project_uuid=project_uuid,
131
+ provider_uuid=provider_uuid,
132
132
  state=state,
133
133
  )
134
134
 
@@ -143,22 +143,22 @@ def sync(
143
143
  *,
144
144
  client: AuthenticatedClient,
145
145
  customer_uuid: Union[Unset, UUID] = UNSET,
146
- offering_customer_uuid: Union[Unset, UUID] = UNSET,
147
146
  offering_uuid: Union[Unset, UUID] = UNSET,
148
147
  page: Union[Unset, int] = UNSET,
149
148
  page_size: Union[Unset, int] = UNSET,
150
149
  project_uuid: Union[Unset, UUID] = UNSET,
150
+ provider_uuid: Union[Unset, UUID] = UNSET,
151
151
  state: Union[Unset, list[MarketplaceProjectUpdateRequestsCountStateItem]] = UNSET,
152
152
  ) -> int:
153
153
  """Get number of items in the collection matching the request parameters.
154
154
 
155
155
  Args:
156
156
  customer_uuid (Union[Unset, UUID]):
157
- offering_customer_uuid (Union[Unset, UUID]):
158
157
  offering_uuid (Union[Unset, UUID]):
159
158
  page (Union[Unset, int]):
160
159
  page_size (Union[Unset, int]):
161
160
  project_uuid (Union[Unset, UUID]):
161
+ provider_uuid (Union[Unset, UUID]):
162
162
  state (Union[Unset, list[MarketplaceProjectUpdateRequestsCountStateItem]]):
163
163
 
164
164
  Raises:
@@ -172,11 +172,11 @@ def sync(
172
172
  return sync_detailed(
173
173
  client=client,
174
174
  customer_uuid=customer_uuid,
175
- offering_customer_uuid=offering_customer_uuid,
176
175
  offering_uuid=offering_uuid,
177
176
  page=page,
178
177
  page_size=page_size,
179
178
  project_uuid=project_uuid,
179
+ provider_uuid=provider_uuid,
180
180
  state=state,
181
181
  ).parsed
182
182
 
@@ -185,22 +185,22 @@ async def asyncio_detailed(
185
185
  *,
186
186
  client: AuthenticatedClient,
187
187
  customer_uuid: Union[Unset, UUID] = UNSET,
188
- offering_customer_uuid: Union[Unset, UUID] = UNSET,
189
188
  offering_uuid: Union[Unset, UUID] = UNSET,
190
189
  page: Union[Unset, int] = UNSET,
191
190
  page_size: Union[Unset, int] = UNSET,
192
191
  project_uuid: Union[Unset, UUID] = UNSET,
192
+ provider_uuid: Union[Unset, UUID] = UNSET,
193
193
  state: Union[Unset, list[MarketplaceProjectUpdateRequestsCountStateItem]] = UNSET,
194
194
  ) -> Response[int]:
195
195
  """Get number of items in the collection matching the request parameters.
196
196
 
197
197
  Args:
198
198
  customer_uuid (Union[Unset, UUID]):
199
- offering_customer_uuid (Union[Unset, UUID]):
200
199
  offering_uuid (Union[Unset, UUID]):
201
200
  page (Union[Unset, int]):
202
201
  page_size (Union[Unset, int]):
203
202
  project_uuid (Union[Unset, UUID]):
203
+ provider_uuid (Union[Unset, UUID]):
204
204
  state (Union[Unset, list[MarketplaceProjectUpdateRequestsCountStateItem]]):
205
205
 
206
206
  Raises:
@@ -213,11 +213,11 @@ async def asyncio_detailed(
213
213
 
214
214
  kwargs = _get_kwargs(
215
215
  customer_uuid=customer_uuid,
216
- offering_customer_uuid=offering_customer_uuid,
217
216
  offering_uuid=offering_uuid,
218
217
  page=page,
219
218
  page_size=page_size,
220
219
  project_uuid=project_uuid,
220
+ provider_uuid=provider_uuid,
221
221
  state=state,
222
222
  )
223
223
 
@@ -230,22 +230,22 @@ async def asyncio(
230
230
  *,
231
231
  client: AuthenticatedClient,
232
232
  customer_uuid: Union[Unset, UUID] = UNSET,
233
- offering_customer_uuid: Union[Unset, UUID] = UNSET,
234
233
  offering_uuid: Union[Unset, UUID] = UNSET,
235
234
  page: Union[Unset, int] = UNSET,
236
235
  page_size: Union[Unset, int] = UNSET,
237
236
  project_uuid: Union[Unset, UUID] = UNSET,
237
+ provider_uuid: Union[Unset, UUID] = UNSET,
238
238
  state: Union[Unset, list[MarketplaceProjectUpdateRequestsCountStateItem]] = UNSET,
239
239
  ) -> int:
240
240
  """Get number of items in the collection matching the request parameters.
241
241
 
242
242
  Args:
243
243
  customer_uuid (Union[Unset, UUID]):
244
- offering_customer_uuid (Union[Unset, UUID]):
245
244
  offering_uuid (Union[Unset, UUID]):
246
245
  page (Union[Unset, int]):
247
246
  page_size (Union[Unset, int]):
248
247
  project_uuid (Union[Unset, UUID]):
248
+ provider_uuid (Union[Unset, UUID]):
249
249
  state (Union[Unset, list[MarketplaceProjectUpdateRequestsCountStateItem]]):
250
250
 
251
251
  Raises:
@@ -260,11 +260,11 @@ async def asyncio(
260
260
  await asyncio_detailed(
261
261
  client=client,
262
262
  customer_uuid=customer_uuid,
263
- offering_customer_uuid=offering_customer_uuid,
264
263
  offering_uuid=offering_uuid,
265
264
  page=page,
266
265
  page_size=page_size,
267
266
  project_uuid=project_uuid,
267
+ provider_uuid=provider_uuid,
268
268
  state=state,
269
269
  )
270
270
  ).parsed