waldur-api-client 7.7.7__py3-none-any.whl → 7.7.9__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 (140) hide show
  1. waldur_api_client/api/customer_permissions_reviews/customer_permissions_reviews_count.py +19 -0
  2. waldur_api_client/api/customer_permissions_reviews/customer_permissions_reviews_list.py +19 -0
  3. waldur_api_client/api/customers/customers_users_list.py +141 -53
  4. waldur_api_client/api/invoices/invoices_items_retrieve.py +20 -0
  5. waldur_api_client/api/managed_rancher_cluster_resources/__init__.py +1 -0
  6. waldur_api_client/api/managed_rancher_cluster_resources/managed_rancher_cluster_resources_add_node.py +162 -0
  7. waldur_api_client/api/managed_rancher_cluster_resources/managed_rancher_cluster_resources_count.py +172 -0
  8. waldur_api_client/api/managed_rancher_cluster_resources/managed_rancher_cluster_resources_list.py +196 -0
  9. waldur_api_client/api/managed_rancher_cluster_resources/managed_rancher_cluster_resources_retrieve.py +171 -0
  10. waldur_api_client/api/marketplace_course_accounts/__init__.py +1 -0
  11. waldur_api_client/api/marketplace_course_accounts/marketplace_course_accounts_count.py +244 -0
  12. waldur_api_client/api/marketplace_course_accounts/marketplace_course_accounts_create.py +148 -0
  13. waldur_api_client/api/marketplace_course_accounts/marketplace_course_accounts_create_bulk.py +152 -0
  14. waldur_api_client/api/marketplace_course_accounts/marketplace_course_accounts_destroy.py +89 -0
  15. waldur_api_client/api/marketplace_course_accounts/marketplace_course_accounts_list.py +245 -0
  16. waldur_api_client/api/marketplace_course_accounts/marketplace_course_accounts_retrieve.py +140 -0
  17. waldur_api_client/api/marketplace_customer_service_accounts/marketplace_customer_service_accounts_count.py +25 -0
  18. waldur_api_client/api/marketplace_customer_service_accounts/marketplace_customer_service_accounts_list.py +25 -0
  19. waldur_api_client/api/marketplace_project_service_accounts/marketplace_project_service_accounts_count.py +25 -0
  20. waldur_api_client/api/marketplace_project_service_accounts/marketplace_project_service_accounts_list.py +25 -0
  21. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_component_stats_list.py +30 -0
  22. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_costs_list.py +30 -0
  23. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_count.py +30 -0
  24. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_customers_list.py +30 -0
  25. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_groups_count.py +30 -0
  26. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_groups_list.py +30 -0
  27. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_list.py +30 -0
  28. waldur_api_client/api/marketplace_public_offerings/marketplace_public_offerings_count.py +30 -0
  29. waldur_api_client/api/marketplace_public_offerings/marketplace_public_offerings_list.py +30 -0
  30. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_course_accounts_list.py +284 -0
  31. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_offerings_list.py +30 -0
  32. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_project_service_accounts_list.py +29 -0
  33. waldur_api_client/api/project_permissions_reviews/__init__.py +1 -0
  34. waldur_api_client/api/project_permissions_reviews/project_permissions_reviews_close.py +91 -0
  35. waldur_api_client/api/project_permissions_reviews/project_permissions_reviews_count.py +266 -0
  36. waldur_api_client/api/project_permissions_reviews/project_permissions_reviews_list.py +269 -0
  37. waldur_api_client/api/project_permissions_reviews/project_permissions_reviews_retrieve.py +142 -0
  38. waldur_api_client/api/projects/projects_other_users_list.py +98 -23
  39. waldur_api_client/api/projects/projects_sync_user_roles.py +10 -9
  40. waldur_api_client/api/support_issue_statuses/__init__.py +1 -0
  41. waldur_api_client/api/support_issue_statuses/support_issue_statuses_count.py +172 -0
  42. waldur_api_client/api/support_issue_statuses/support_issue_statuses_create.py +148 -0
  43. waldur_api_client/api/support_issue_statuses/support_issue_statuses_destroy.py +89 -0
  44. waldur_api_client/api/support_issue_statuses/support_issue_statuses_list.py +173 -0
  45. waldur_api_client/api/support_issue_statuses/support_issue_statuses_partial_update.py +162 -0
  46. waldur_api_client/api/support_issue_statuses/support_issue_statuses_retrieve.py +140 -0
  47. waldur_api_client/api/support_issue_statuses/support_issue_statuses_update.py +162 -0
  48. waldur_api_client/api/user_group_invitations/user_group_invitations_submit_request.py +12 -12
  49. waldur_api_client/api/user_invitations/user_invitations_count.py +30 -0
  50. waldur_api_client/api/user_invitations/user_invitations_list.py +30 -0
  51. waldur_api_client/api/user_permission_requests/user_permission_requests_cancel_request.py +146 -0
  52. waldur_api_client/models/__init__.py +76 -2
  53. waldur_api_client/models/cancel_request_response.py +75 -0
  54. waldur_api_client/models/constance_settings.py +18 -0
  55. waldur_api_client/models/constance_settings_request.py +18 -0
  56. waldur_api_client/models/course_account.py +187 -0
  57. waldur_api_client/models/course_account_create_nested.py +68 -0
  58. waldur_api_client/models/course_account_create_nested_request.py +68 -0
  59. waldur_api_client/models/course_account_request.py +80 -0
  60. waldur_api_client/models/course_accounts_bulk_create.py +82 -0
  61. waldur_api_client/models/course_accounts_bulk_create_request.py +82 -0
  62. waldur_api_client/models/customer.py +9 -0
  63. waldur_api_client/models/customer_permission_review.py +16 -16
  64. waldur_api_client/models/customer_request.py +9 -0
  65. waldur_api_client/models/customer_service_account.py +9 -0
  66. waldur_api_client/models/customers_list_field_item.py +1 -0
  67. waldur_api_client/models/customers_retrieve_field_item.py +1 -0
  68. waldur_api_client/models/customers_users_list_o.py +9 -0
  69. waldur_api_client/models/customers_users_list_organization_role_item_type_0.py +10 -0
  70. waldur_api_client/models/customers_users_list_project_role_item_type_0.py +10 -0
  71. waldur_api_client/models/dependency_logic_operator_enum.py +9 -0
  72. waldur_api_client/models/event_subscription.py +1 -1
  73. waldur_api_client/models/event_types_enum.py +4 -0
  74. waldur_api_client/models/group_invitation.py +9 -0
  75. waldur_api_client/models/invitation.py +9 -0
  76. waldur_api_client/models/invoices_items_retrieve_o.py +15 -0
  77. waldur_api_client/models/issue_status.py +103 -0
  78. waldur_api_client/models/issue_status_request.py +78 -0
  79. waldur_api_client/models/issue_status_type_enum.py +9 -0
  80. waldur_api_client/models/kind_enum.py +10 -0
  81. waldur_api_client/models/managed_rancher_cluster_resources_list_field_item.py +82 -0
  82. waldur_api_client/models/managed_rancher_cluster_resources_retrieve_field_item.py +82 -0
  83. waldur_api_client/models/managed_rancher_create_node_request.py +186 -0
  84. waldur_api_client/models/marketplace_course_accounts_count_state_item.py +10 -0
  85. waldur_api_client/models/marketplace_course_accounts_list_state_item.py +10 -0
  86. waldur_api_client/models/marketplace_customer_service_accounts_count_state_item.py +10 -0
  87. waldur_api_client/models/marketplace_customer_service_accounts_list_state_item.py +10 -0
  88. waldur_api_client/models/marketplace_project_service_accounts_count_state_item.py +10 -0
  89. waldur_api_client/models/marketplace_project_service_accounts_list_state_item.py +10 -0
  90. waldur_api_client/models/marketplace_service_providers_course_accounts_list_state_item.py +10 -0
  91. waldur_api_client/models/marketplace_service_providers_project_service_accounts_list_state_item.py +10 -0
  92. waldur_api_client/models/marketplace_service_providers_projects_list_field_item.py +1 -0
  93. waldur_api_client/models/nested_security_group_rule.py +223 -0
  94. waldur_api_client/models/{open_stack_nested_security_group_rules_item.py → nested_security_group_rule_request.py} +67 -76
  95. waldur_api_client/models/open_stack_backup_restoration_request.py +0 -22
  96. waldur_api_client/models/open_stack_fixed_ip.py +13 -3
  97. waldur_api_client/models/open_stack_fixed_ip_request.py +7 -2
  98. waldur_api_client/models/open_stack_instance_create_order_attributes.py +20 -20
  99. waldur_api_client/models/open_stack_nested_security_group.py +16 -16
  100. waldur_api_client/models/open_stack_port_ip_update_request.py +6 -2
  101. waldur_api_client/models/open_stack_static_route.py +13 -4
  102. waldur_api_client/models/open_stack_static_route_request.py +7 -3
  103. waldur_api_client/models/open_stack_sub_net.py +15 -2
  104. waldur_api_client/models/open_stack_sub_net_allocation_pool.py +27 -8
  105. waldur_api_client/models/open_stack_sub_net_allocation_pool_request.py +14 -5
  106. waldur_api_client/models/open_stack_sub_net_request.py +15 -2
  107. waldur_api_client/models/patched_customer_request.py +9 -0
  108. waldur_api_client/models/patched_issue_status_request.py +76 -0
  109. waldur_api_client/models/patched_open_stack_sub_net_request.py +15 -2
  110. waldur_api_client/models/patched_project_request.py +17 -0
  111. waldur_api_client/models/patched_question_admin_request.py +17 -0
  112. waldur_api_client/models/patched_rancher_service_request.py +1 -1
  113. waldur_api_client/models/permission_request.py +16 -0
  114. waldur_api_client/models/project.py +17 -0
  115. waldur_api_client/models/project_permission_review.py +166 -0
  116. waldur_api_client/models/project_permissions_reviews_count_o_item.py +11 -0
  117. waldur_api_client/models/project_permissions_reviews_list_o_item.py +11 -0
  118. waldur_api_client/models/project_request.py +17 -0
  119. waldur_api_client/models/project_service_account.py +9 -0
  120. waldur_api_client/models/projects_list_field_item.py +1 -0
  121. waldur_api_client/models/projects_other_users_list_o.py +9 -0
  122. waldur_api_client/models/projects_retrieve_field_item.py +1 -0
  123. waldur_api_client/models/proposal.py +8 -0
  124. waldur_api_client/models/proposal_review.py +8 -0
  125. waldur_api_client/models/question_admin.py +17 -0
  126. waldur_api_client/models/question_admin_request.py +17 -0
  127. waldur_api_client/models/rancher_nested_public_ip.py +25 -7
  128. waldur_api_client/models/rancher_service.py +1 -1
  129. waldur_api_client/models/rancher_service_request.py +1 -1
  130. waldur_api_client/models/rmq_connection.py +8 -3
  131. waldur_api_client/models/rmq_subscription.py +7 -3
  132. waldur_api_client/models/robot_account.py +16 -16
  133. waldur_api_client/models/robot_account_details.py +16 -16
  134. waldur_api_client/models/service_account_state.py +10 -0
  135. waldur_api_client/models/submit_request_response.py +75 -0
  136. waldur_api_client/models/visible_invitation_details.py +9 -0
  137. {waldur_api_client-7.7.7.dist-info → waldur_api_client-7.7.9.dist-info}/METADATA +1 -1
  138. {waldur_api_client-7.7.7.dist-info → waldur_api_client-7.7.9.dist-info}/RECORD +140 -78
  139. {waldur_api_client-7.7.7.dist-info → waldur_api_client-7.7.9.dist-info}/LICENSE +0 -0
  140. {waldur_api_client-7.7.7.dist-info → waldur_api_client-7.7.9.dist-info}/WHEEL +0 -0
@@ -24,6 +24,8 @@ def _get_kwargs(
24
24
  customer: Union[Unset, str] = UNSET,
25
25
  customer_uuid: Union[Unset, UUID] = UNSET,
26
26
  description: Union[Unset, str] = UNSET,
27
+ has_active_terms_of_service: Union[Unset, bool] = UNSET,
28
+ has_terms_of_service: Union[Unset, bool] = UNSET,
27
29
  keyword: Union[Unset, str] = UNSET,
28
30
  modified: Union[Unset, datetime.datetime] = UNSET,
29
31
  name: Union[Unset, str] = UNSET,
@@ -80,6 +82,10 @@ def _get_kwargs(
80
82
 
81
83
  params["description"] = description
82
84
 
85
+ params["has_active_terms_of_service"] = has_active_terms_of_service
86
+
87
+ params["has_terms_of_service"] = has_terms_of_service
88
+
83
89
  params["keyword"] = keyword
84
90
 
85
91
  json_modified: Union[Unset, str] = UNSET
@@ -207,6 +213,8 @@ def sync_detailed(
207
213
  customer: Union[Unset, str] = UNSET,
208
214
  customer_uuid: Union[Unset, UUID] = UNSET,
209
215
  description: Union[Unset, str] = UNSET,
216
+ has_active_terms_of_service: Union[Unset, bool] = UNSET,
217
+ has_terms_of_service: Union[Unset, bool] = UNSET,
210
218
  keyword: Union[Unset, str] = UNSET,
211
219
  modified: Union[Unset, datetime.datetime] = UNSET,
212
220
  name: Union[Unset, str] = UNSET,
@@ -239,6 +247,8 @@ def sync_detailed(
239
247
  customer (Union[Unset, str]):
240
248
  customer_uuid (Union[Unset, UUID]):
241
249
  description (Union[Unset, str]):
250
+ has_active_terms_of_service (Union[Unset, bool]):
251
+ has_terms_of_service (Union[Unset, bool]):
242
252
  keyword (Union[Unset, str]):
243
253
  modified (Union[Unset, datetime.datetime]):
244
254
  name (Union[Unset, str]):
@@ -277,6 +287,8 @@ def sync_detailed(
277
287
  customer=customer,
278
288
  customer_uuid=customer_uuid,
279
289
  description=description,
290
+ has_active_terms_of_service=has_active_terms_of_service,
291
+ has_terms_of_service=has_terms_of_service,
280
292
  keyword=keyword,
281
293
  modified=modified,
282
294
  name=name,
@@ -317,6 +329,8 @@ def sync(
317
329
  customer: Union[Unset, str] = UNSET,
318
330
  customer_uuid: Union[Unset, UUID] = UNSET,
319
331
  description: Union[Unset, str] = UNSET,
332
+ has_active_terms_of_service: Union[Unset, bool] = UNSET,
333
+ has_terms_of_service: Union[Unset, bool] = UNSET,
320
334
  keyword: Union[Unset, str] = UNSET,
321
335
  modified: Union[Unset, datetime.datetime] = UNSET,
322
336
  name: Union[Unset, str] = UNSET,
@@ -349,6 +363,8 @@ def sync(
349
363
  customer (Union[Unset, str]):
350
364
  customer_uuid (Union[Unset, UUID]):
351
365
  description (Union[Unset, str]):
366
+ has_active_terms_of_service (Union[Unset, bool]):
367
+ has_terms_of_service (Union[Unset, bool]):
352
368
  keyword (Union[Unset, str]):
353
369
  modified (Union[Unset, datetime.datetime]):
354
370
  name (Union[Unset, str]):
@@ -388,6 +404,8 @@ def sync(
388
404
  customer=customer,
389
405
  customer_uuid=customer_uuid,
390
406
  description=description,
407
+ has_active_terms_of_service=has_active_terms_of_service,
408
+ has_terms_of_service=has_terms_of_service,
391
409
  keyword=keyword,
392
410
  modified=modified,
393
411
  name=name,
@@ -422,6 +440,8 @@ async def asyncio_detailed(
422
440
  customer: Union[Unset, str] = UNSET,
423
441
  customer_uuid: Union[Unset, UUID] = UNSET,
424
442
  description: Union[Unset, str] = UNSET,
443
+ has_active_terms_of_service: Union[Unset, bool] = UNSET,
444
+ has_terms_of_service: Union[Unset, bool] = UNSET,
425
445
  keyword: Union[Unset, str] = UNSET,
426
446
  modified: Union[Unset, datetime.datetime] = UNSET,
427
447
  name: Union[Unset, str] = UNSET,
@@ -454,6 +474,8 @@ async def asyncio_detailed(
454
474
  customer (Union[Unset, str]):
455
475
  customer_uuid (Union[Unset, UUID]):
456
476
  description (Union[Unset, str]):
477
+ has_active_terms_of_service (Union[Unset, bool]):
478
+ has_terms_of_service (Union[Unset, bool]):
457
479
  keyword (Union[Unset, str]):
458
480
  modified (Union[Unset, datetime.datetime]):
459
481
  name (Union[Unset, str]):
@@ -492,6 +514,8 @@ async def asyncio_detailed(
492
514
  customer=customer,
493
515
  customer_uuid=customer_uuid,
494
516
  description=description,
517
+ has_active_terms_of_service=has_active_terms_of_service,
518
+ has_terms_of_service=has_terms_of_service,
495
519
  keyword=keyword,
496
520
  modified=modified,
497
521
  name=name,
@@ -530,6 +554,8 @@ async def asyncio(
530
554
  customer: Union[Unset, str] = UNSET,
531
555
  customer_uuid: Union[Unset, UUID] = UNSET,
532
556
  description: Union[Unset, str] = UNSET,
557
+ has_active_terms_of_service: Union[Unset, bool] = UNSET,
558
+ has_terms_of_service: Union[Unset, bool] = UNSET,
533
559
  keyword: Union[Unset, str] = UNSET,
534
560
  modified: Union[Unset, datetime.datetime] = UNSET,
535
561
  name: Union[Unset, str] = UNSET,
@@ -562,6 +588,8 @@ async def asyncio(
562
588
  customer (Union[Unset, str]):
563
589
  customer_uuid (Union[Unset, UUID]):
564
590
  description (Union[Unset, str]):
591
+ has_active_terms_of_service (Union[Unset, bool]):
592
+ has_terms_of_service (Union[Unset, bool]):
565
593
  keyword (Union[Unset, str]):
566
594
  modified (Union[Unset, datetime.datetime]):
567
595
  name (Union[Unset, str]):
@@ -602,6 +630,8 @@ async def asyncio(
602
630
  customer=customer,
603
631
  customer_uuid=customer_uuid,
604
632
  description=description,
633
+ has_active_terms_of_service=has_active_terms_of_service,
634
+ has_terms_of_service=has_terms_of_service,
605
635
  keyword=keyword,
606
636
  modified=modified,
607
637
  name=name,
@@ -27,6 +27,8 @@ def _get_kwargs(
27
27
  customer_uuid: Union[Unset, UUID] = UNSET,
28
28
  description: Union[Unset, str] = UNSET,
29
29
  field: Union[Unset, list[MarketplacePublicOfferingsListFieldItem]] = UNSET,
30
+ has_active_terms_of_service: Union[Unset, bool] = UNSET,
31
+ has_terms_of_service: Union[Unset, bool] = UNSET,
30
32
  keyword: Union[Unset, str] = UNSET,
31
33
  modified: Union[Unset, datetime.datetime] = UNSET,
32
34
  name: Union[Unset, str] = UNSET,
@@ -92,6 +94,10 @@ def _get_kwargs(
92
94
 
93
95
  params["field"] = json_field
94
96
 
97
+ params["has_active_terms_of_service"] = has_active_terms_of_service
98
+
99
+ params["has_terms_of_service"] = has_terms_of_service
100
+
95
101
  params["keyword"] = keyword
96
102
 
97
103
  json_modified: Union[Unset, str] = UNSET
@@ -222,6 +228,8 @@ def sync_detailed(
222
228
  customer_uuid: Union[Unset, UUID] = UNSET,
223
229
  description: Union[Unset, str] = UNSET,
224
230
  field: Union[Unset, list[MarketplacePublicOfferingsListFieldItem]] = UNSET,
231
+ has_active_terms_of_service: Union[Unset, bool] = UNSET,
232
+ has_terms_of_service: Union[Unset, bool] = UNSET,
225
233
  keyword: Union[Unset, str] = UNSET,
226
234
  modified: Union[Unset, datetime.datetime] = UNSET,
227
235
  name: Union[Unset, str] = UNSET,
@@ -255,6 +263,8 @@ def sync_detailed(
255
263
  customer_uuid (Union[Unset, UUID]):
256
264
  description (Union[Unset, str]):
257
265
  field (Union[Unset, list[MarketplacePublicOfferingsListFieldItem]]):
266
+ has_active_terms_of_service (Union[Unset, bool]):
267
+ has_terms_of_service (Union[Unset, bool]):
258
268
  keyword (Union[Unset, str]):
259
269
  modified (Union[Unset, datetime.datetime]):
260
270
  name (Union[Unset, str]):
@@ -294,6 +304,8 @@ def sync_detailed(
294
304
  customer_uuid=customer_uuid,
295
305
  description=description,
296
306
  field=field,
307
+ has_active_terms_of_service=has_active_terms_of_service,
308
+ has_terms_of_service=has_terms_of_service,
297
309
  keyword=keyword,
298
310
  modified=modified,
299
311
  name=name,
@@ -335,6 +347,8 @@ def sync(
335
347
  customer_uuid: Union[Unset, UUID] = UNSET,
336
348
  description: Union[Unset, str] = UNSET,
337
349
  field: Union[Unset, list[MarketplacePublicOfferingsListFieldItem]] = UNSET,
350
+ has_active_terms_of_service: Union[Unset, bool] = UNSET,
351
+ has_terms_of_service: Union[Unset, bool] = UNSET,
338
352
  keyword: Union[Unset, str] = UNSET,
339
353
  modified: Union[Unset, datetime.datetime] = UNSET,
340
354
  name: Union[Unset, str] = UNSET,
@@ -368,6 +382,8 @@ def sync(
368
382
  customer_uuid (Union[Unset, UUID]):
369
383
  description (Union[Unset, str]):
370
384
  field (Union[Unset, list[MarketplacePublicOfferingsListFieldItem]]):
385
+ has_active_terms_of_service (Union[Unset, bool]):
386
+ has_terms_of_service (Union[Unset, bool]):
371
387
  keyword (Union[Unset, str]):
372
388
  modified (Union[Unset, datetime.datetime]):
373
389
  name (Union[Unset, str]):
@@ -408,6 +424,8 @@ def sync(
408
424
  customer_uuid=customer_uuid,
409
425
  description=description,
410
426
  field=field,
427
+ has_active_terms_of_service=has_active_terms_of_service,
428
+ has_terms_of_service=has_terms_of_service,
411
429
  keyword=keyword,
412
430
  modified=modified,
413
431
  name=name,
@@ -443,6 +461,8 @@ async def asyncio_detailed(
443
461
  customer_uuid: Union[Unset, UUID] = UNSET,
444
462
  description: Union[Unset, str] = UNSET,
445
463
  field: Union[Unset, list[MarketplacePublicOfferingsListFieldItem]] = UNSET,
464
+ has_active_terms_of_service: Union[Unset, bool] = UNSET,
465
+ has_terms_of_service: Union[Unset, bool] = UNSET,
446
466
  keyword: Union[Unset, str] = UNSET,
447
467
  modified: Union[Unset, datetime.datetime] = UNSET,
448
468
  name: Union[Unset, str] = UNSET,
@@ -476,6 +496,8 @@ async def asyncio_detailed(
476
496
  customer_uuid (Union[Unset, UUID]):
477
497
  description (Union[Unset, str]):
478
498
  field (Union[Unset, list[MarketplacePublicOfferingsListFieldItem]]):
499
+ has_active_terms_of_service (Union[Unset, bool]):
500
+ has_terms_of_service (Union[Unset, bool]):
479
501
  keyword (Union[Unset, str]):
480
502
  modified (Union[Unset, datetime.datetime]):
481
503
  name (Union[Unset, str]):
@@ -515,6 +537,8 @@ async def asyncio_detailed(
515
537
  customer_uuid=customer_uuid,
516
538
  description=description,
517
539
  field=field,
540
+ has_active_terms_of_service=has_active_terms_of_service,
541
+ has_terms_of_service=has_terms_of_service,
518
542
  keyword=keyword,
519
543
  modified=modified,
520
544
  name=name,
@@ -554,6 +578,8 @@ async def asyncio(
554
578
  customer_uuid: Union[Unset, UUID] = UNSET,
555
579
  description: Union[Unset, str] = UNSET,
556
580
  field: Union[Unset, list[MarketplacePublicOfferingsListFieldItem]] = UNSET,
581
+ has_active_terms_of_service: Union[Unset, bool] = UNSET,
582
+ has_terms_of_service: Union[Unset, bool] = UNSET,
557
583
  keyword: Union[Unset, str] = UNSET,
558
584
  modified: Union[Unset, datetime.datetime] = UNSET,
559
585
  name: Union[Unset, str] = UNSET,
@@ -587,6 +613,8 @@ async def asyncio(
587
613
  customer_uuid (Union[Unset, UUID]):
588
614
  description (Union[Unset, str]):
589
615
  field (Union[Unset, list[MarketplacePublicOfferingsListFieldItem]]):
616
+ has_active_terms_of_service (Union[Unset, bool]):
617
+ has_terms_of_service (Union[Unset, bool]):
590
618
  keyword (Union[Unset, str]):
591
619
  modified (Union[Unset, datetime.datetime]):
592
620
  name (Union[Unset, str]):
@@ -628,6 +656,8 @@ async def asyncio(
628
656
  customer_uuid=customer_uuid,
629
657
  description=description,
630
658
  field=field,
659
+ has_active_terms_of_service=has_active_terms_of_service,
660
+ has_terms_of_service=has_terms_of_service,
631
661
  keyword=keyword,
632
662
  modified=modified,
633
663
  name=name,
@@ -0,0 +1,284 @@
1
+ from http import HTTPStatus
2
+ from typing import Any, Union
3
+ from uuid import UUID
4
+
5
+ import httpx
6
+
7
+ from ... import errors
8
+ from ...client import AuthenticatedClient, Client
9
+ from ...models.course_account import CourseAccount
10
+ from ...models.marketplace_service_providers_course_accounts_list_state_item import (
11
+ MarketplaceServiceProvidersCourseAccountsListStateItem,
12
+ )
13
+ from ...types import UNSET, Response, Unset
14
+
15
+
16
+ def _get_kwargs(
17
+ service_provider_uuid: UUID,
18
+ *,
19
+ email: Union[Unset, str] = UNSET,
20
+ page: Union[Unset, int] = UNSET,
21
+ page_size: Union[Unset, int] = UNSET,
22
+ project_uuid: Union[Unset, UUID] = UNSET,
23
+ state: Union[Unset, list[MarketplaceServiceProvidersCourseAccountsListStateItem]] = UNSET,
24
+ username: Union[Unset, str] = UNSET,
25
+ ) -> dict[str, Any]:
26
+ params: dict[str, Any] = {}
27
+
28
+ params["email"] = email
29
+
30
+ params["page"] = page
31
+
32
+ params["page_size"] = page_size
33
+
34
+ json_project_uuid: Union[Unset, str] = UNSET
35
+ if not isinstance(project_uuid, Unset):
36
+ json_project_uuid = str(project_uuid)
37
+ params["project_uuid"] = json_project_uuid
38
+
39
+ json_state: Union[Unset, list[str]] = UNSET
40
+ if not isinstance(state, Unset):
41
+ json_state = []
42
+ for state_item_data in state:
43
+ state_item = state_item_data.value
44
+ json_state.append(state_item)
45
+
46
+ params["state"] = json_state
47
+
48
+ params["username"] = username
49
+
50
+ params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
51
+
52
+ _kwargs: dict[str, Any] = {
53
+ "method": "get",
54
+ "url": f"/api/marketplace-service-providers/{service_provider_uuid}/course_accounts/",
55
+ "params": params,
56
+ }
57
+
58
+ return _kwargs
59
+
60
+
61
+ def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> list["CourseAccount"]:
62
+ if response.status_code == 200:
63
+ response_200 = []
64
+ _response_200 = response.json()
65
+ for response_200_item_data in _response_200:
66
+ response_200_item = CourseAccount.from_dict(response_200_item_data)
67
+
68
+ response_200.append(response_200_item)
69
+
70
+ return response_200
71
+ raise errors.UnexpectedStatus(response.status_code, response.content)
72
+
73
+
74
+ def _build_response(
75
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
76
+ ) -> Response[list["CourseAccount"]]:
77
+ return Response(
78
+ status_code=HTTPStatus(response.status_code),
79
+ content=response.content,
80
+ headers=response.headers,
81
+ parsed=_parse_response(client=client, response=response),
82
+ )
83
+
84
+
85
+ def sync_detailed(
86
+ service_provider_uuid: UUID,
87
+ *,
88
+ client: AuthenticatedClient,
89
+ email: Union[Unset, str] = UNSET,
90
+ page: Union[Unset, int] = UNSET,
91
+ page_size: Union[Unset, int] = UNSET,
92
+ project_uuid: Union[Unset, UUID] = UNSET,
93
+ state: Union[Unset, list[MarketplaceServiceProvidersCourseAccountsListStateItem]] = UNSET,
94
+ username: Union[Unset, str] = UNSET,
95
+ ) -> Response[list["CourseAccount"]]:
96
+ """Return course project accounts that have access to resources managed by the provider.
97
+
98
+ Checks for:
99
+ - Projects with active service provider's resources
100
+ - Course accounts with non-blank users
101
+
102
+
103
+
104
+ Args:
105
+ service_provider_uuid (UUID):
106
+ email (Union[Unset, str]):
107
+ page (Union[Unset, int]):
108
+ page_size (Union[Unset, int]):
109
+ project_uuid (Union[Unset, UUID]):
110
+ state (Union[Unset, list[MarketplaceServiceProvidersCourseAccountsListStateItem]]):
111
+ username (Union[Unset, str]):
112
+
113
+ Raises:
114
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
115
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
116
+
117
+ Returns:
118
+ Response[list['CourseAccount']]
119
+ """
120
+
121
+ kwargs = _get_kwargs(
122
+ service_provider_uuid=service_provider_uuid,
123
+ email=email,
124
+ page=page,
125
+ page_size=page_size,
126
+ project_uuid=project_uuid,
127
+ state=state,
128
+ username=username,
129
+ )
130
+
131
+ response = client.get_httpx_client().request(
132
+ **kwargs,
133
+ )
134
+
135
+ return _build_response(client=client, response=response)
136
+
137
+
138
+ def sync(
139
+ service_provider_uuid: UUID,
140
+ *,
141
+ client: AuthenticatedClient,
142
+ email: Union[Unset, str] = UNSET,
143
+ page: Union[Unset, int] = UNSET,
144
+ page_size: Union[Unset, int] = UNSET,
145
+ project_uuid: Union[Unset, UUID] = UNSET,
146
+ state: Union[Unset, list[MarketplaceServiceProvidersCourseAccountsListStateItem]] = UNSET,
147
+ username: Union[Unset, str] = UNSET,
148
+ ) -> list["CourseAccount"]:
149
+ """Return course project accounts that have access to resources managed by the provider.
150
+
151
+ Checks for:
152
+ - Projects with active service provider's resources
153
+ - Course accounts with non-blank users
154
+
155
+
156
+
157
+ Args:
158
+ service_provider_uuid (UUID):
159
+ email (Union[Unset, str]):
160
+ page (Union[Unset, int]):
161
+ page_size (Union[Unset, int]):
162
+ project_uuid (Union[Unset, UUID]):
163
+ state (Union[Unset, list[MarketplaceServiceProvidersCourseAccountsListStateItem]]):
164
+ username (Union[Unset, str]):
165
+
166
+ Raises:
167
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
168
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
169
+
170
+ Returns:
171
+ list['CourseAccount']
172
+ """
173
+
174
+ return sync_detailed(
175
+ service_provider_uuid=service_provider_uuid,
176
+ client=client,
177
+ email=email,
178
+ page=page,
179
+ page_size=page_size,
180
+ project_uuid=project_uuid,
181
+ state=state,
182
+ username=username,
183
+ ).parsed
184
+
185
+
186
+ async def asyncio_detailed(
187
+ service_provider_uuid: UUID,
188
+ *,
189
+ client: AuthenticatedClient,
190
+ email: Union[Unset, str] = UNSET,
191
+ page: Union[Unset, int] = UNSET,
192
+ page_size: Union[Unset, int] = UNSET,
193
+ project_uuid: Union[Unset, UUID] = UNSET,
194
+ state: Union[Unset, list[MarketplaceServiceProvidersCourseAccountsListStateItem]] = UNSET,
195
+ username: Union[Unset, str] = UNSET,
196
+ ) -> Response[list["CourseAccount"]]:
197
+ """Return course project accounts that have access to resources managed by the provider.
198
+
199
+ Checks for:
200
+ - Projects with active service provider's resources
201
+ - Course accounts with non-blank users
202
+
203
+
204
+
205
+ Args:
206
+ service_provider_uuid (UUID):
207
+ email (Union[Unset, str]):
208
+ page (Union[Unset, int]):
209
+ page_size (Union[Unset, int]):
210
+ project_uuid (Union[Unset, UUID]):
211
+ state (Union[Unset, list[MarketplaceServiceProvidersCourseAccountsListStateItem]]):
212
+ username (Union[Unset, str]):
213
+
214
+ Raises:
215
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
216
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
217
+
218
+ Returns:
219
+ Response[list['CourseAccount']]
220
+ """
221
+
222
+ kwargs = _get_kwargs(
223
+ service_provider_uuid=service_provider_uuid,
224
+ email=email,
225
+ page=page,
226
+ page_size=page_size,
227
+ project_uuid=project_uuid,
228
+ state=state,
229
+ username=username,
230
+ )
231
+
232
+ response = await client.get_async_httpx_client().request(**kwargs)
233
+
234
+ return _build_response(client=client, response=response)
235
+
236
+
237
+ async def asyncio(
238
+ service_provider_uuid: UUID,
239
+ *,
240
+ client: AuthenticatedClient,
241
+ email: Union[Unset, str] = UNSET,
242
+ page: Union[Unset, int] = UNSET,
243
+ page_size: Union[Unset, int] = UNSET,
244
+ project_uuid: Union[Unset, UUID] = UNSET,
245
+ state: Union[Unset, list[MarketplaceServiceProvidersCourseAccountsListStateItem]] = UNSET,
246
+ username: Union[Unset, str] = UNSET,
247
+ ) -> list["CourseAccount"]:
248
+ """Return course project accounts that have access to resources managed by the provider.
249
+
250
+ Checks for:
251
+ - Projects with active service provider's resources
252
+ - Course accounts with non-blank users
253
+
254
+
255
+
256
+ Args:
257
+ service_provider_uuid (UUID):
258
+ email (Union[Unset, str]):
259
+ page (Union[Unset, int]):
260
+ page_size (Union[Unset, int]):
261
+ project_uuid (Union[Unset, UUID]):
262
+ state (Union[Unset, list[MarketplaceServiceProvidersCourseAccountsListStateItem]]):
263
+ username (Union[Unset, str]):
264
+
265
+ Raises:
266
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
267
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
268
+
269
+ Returns:
270
+ list['CourseAccount']
271
+ """
272
+
273
+ return (
274
+ await asyncio_detailed(
275
+ service_provider_uuid=service_provider_uuid,
276
+ client=client,
277
+ email=email,
278
+ page=page,
279
+ page_size=page_size,
280
+ project_uuid=project_uuid,
281
+ state=state,
282
+ username=username,
283
+ )
284
+ ).parsed
@@ -32,6 +32,8 @@ def _get_kwargs(
32
32
  customer_uuid: Union[Unset, UUID] = UNSET,
33
33
  description: Union[Unset, str] = UNSET,
34
34
  field: Union[Unset, list[MarketplaceServiceProvidersOfferingsListFieldItem]] = UNSET,
35
+ has_active_terms_of_service: Union[Unset, bool] = UNSET,
36
+ has_terms_of_service: Union[Unset, bool] = UNSET,
35
37
  keyword: Union[Unset, str] = UNSET,
36
38
  modified: Union[Unset, datetime.datetime] = UNSET,
37
39
  name: Union[Unset, str] = UNSET,
@@ -97,6 +99,10 @@ def _get_kwargs(
97
99
 
98
100
  params["field"] = json_field
99
101
 
102
+ params["has_active_terms_of_service"] = has_active_terms_of_service
103
+
104
+ params["has_terms_of_service"] = has_terms_of_service
105
+
100
106
  params["keyword"] = keyword
101
107
 
102
108
  json_modified: Union[Unset, str] = UNSET
@@ -228,6 +234,8 @@ def sync_detailed(
228
234
  customer_uuid: Union[Unset, UUID] = UNSET,
229
235
  description: Union[Unset, str] = UNSET,
230
236
  field: Union[Unset, list[MarketplaceServiceProvidersOfferingsListFieldItem]] = UNSET,
237
+ has_active_terms_of_service: Union[Unset, bool] = UNSET,
238
+ has_terms_of_service: Union[Unset, bool] = UNSET,
231
239
  keyword: Union[Unset, str] = UNSET,
232
240
  modified: Union[Unset, datetime.datetime] = UNSET,
233
241
  name: Union[Unset, str] = UNSET,
@@ -262,6 +270,8 @@ def sync_detailed(
262
270
  customer_uuid (Union[Unset, UUID]):
263
271
  description (Union[Unset, str]):
264
272
  field (Union[Unset, list[MarketplaceServiceProvidersOfferingsListFieldItem]]):
273
+ has_active_terms_of_service (Union[Unset, bool]):
274
+ has_terms_of_service (Union[Unset, bool]):
265
275
  keyword (Union[Unset, str]):
266
276
  modified (Union[Unset, datetime.datetime]):
267
277
  name (Union[Unset, str]):
@@ -302,6 +312,8 @@ def sync_detailed(
302
312
  customer_uuid=customer_uuid,
303
313
  description=description,
304
314
  field=field,
315
+ has_active_terms_of_service=has_active_terms_of_service,
316
+ has_terms_of_service=has_terms_of_service,
305
317
  keyword=keyword,
306
318
  modified=modified,
307
319
  name=name,
@@ -344,6 +356,8 @@ def sync(
344
356
  customer_uuid: Union[Unset, UUID] = UNSET,
345
357
  description: Union[Unset, str] = UNSET,
346
358
  field: Union[Unset, list[MarketplaceServiceProvidersOfferingsListFieldItem]] = UNSET,
359
+ has_active_terms_of_service: Union[Unset, bool] = UNSET,
360
+ has_terms_of_service: Union[Unset, bool] = UNSET,
347
361
  keyword: Union[Unset, str] = UNSET,
348
362
  modified: Union[Unset, datetime.datetime] = UNSET,
349
363
  name: Union[Unset, str] = UNSET,
@@ -378,6 +392,8 @@ def sync(
378
392
  customer_uuid (Union[Unset, UUID]):
379
393
  description (Union[Unset, str]):
380
394
  field (Union[Unset, list[MarketplaceServiceProvidersOfferingsListFieldItem]]):
395
+ has_active_terms_of_service (Union[Unset, bool]):
396
+ has_terms_of_service (Union[Unset, bool]):
381
397
  keyword (Union[Unset, str]):
382
398
  modified (Union[Unset, datetime.datetime]):
383
399
  name (Union[Unset, str]):
@@ -419,6 +435,8 @@ def sync(
419
435
  customer_uuid=customer_uuid,
420
436
  description=description,
421
437
  field=field,
438
+ has_active_terms_of_service=has_active_terms_of_service,
439
+ has_terms_of_service=has_terms_of_service,
422
440
  keyword=keyword,
423
441
  modified=modified,
424
442
  name=name,
@@ -455,6 +473,8 @@ async def asyncio_detailed(
455
473
  customer_uuid: Union[Unset, UUID] = UNSET,
456
474
  description: Union[Unset, str] = UNSET,
457
475
  field: Union[Unset, list[MarketplaceServiceProvidersOfferingsListFieldItem]] = UNSET,
476
+ has_active_terms_of_service: Union[Unset, bool] = UNSET,
477
+ has_terms_of_service: Union[Unset, bool] = UNSET,
458
478
  keyword: Union[Unset, str] = UNSET,
459
479
  modified: Union[Unset, datetime.datetime] = UNSET,
460
480
  name: Union[Unset, str] = UNSET,
@@ -489,6 +509,8 @@ async def asyncio_detailed(
489
509
  customer_uuid (Union[Unset, UUID]):
490
510
  description (Union[Unset, str]):
491
511
  field (Union[Unset, list[MarketplaceServiceProvidersOfferingsListFieldItem]]):
512
+ has_active_terms_of_service (Union[Unset, bool]):
513
+ has_terms_of_service (Union[Unset, bool]):
492
514
  keyword (Union[Unset, str]):
493
515
  modified (Union[Unset, datetime.datetime]):
494
516
  name (Union[Unset, str]):
@@ -529,6 +551,8 @@ async def asyncio_detailed(
529
551
  customer_uuid=customer_uuid,
530
552
  description=description,
531
553
  field=field,
554
+ has_active_terms_of_service=has_active_terms_of_service,
555
+ has_terms_of_service=has_terms_of_service,
532
556
  keyword=keyword,
533
557
  modified=modified,
534
558
  name=name,
@@ -569,6 +593,8 @@ async def asyncio(
569
593
  customer_uuid: Union[Unset, UUID] = UNSET,
570
594
  description: Union[Unset, str] = UNSET,
571
595
  field: Union[Unset, list[MarketplaceServiceProvidersOfferingsListFieldItem]] = UNSET,
596
+ has_active_terms_of_service: Union[Unset, bool] = UNSET,
597
+ has_terms_of_service: Union[Unset, bool] = UNSET,
572
598
  keyword: Union[Unset, str] = UNSET,
573
599
  modified: Union[Unset, datetime.datetime] = UNSET,
574
600
  name: Union[Unset, str] = UNSET,
@@ -603,6 +629,8 @@ async def asyncio(
603
629
  customer_uuid (Union[Unset, UUID]):
604
630
  description (Union[Unset, str]):
605
631
  field (Union[Unset, list[MarketplaceServiceProvidersOfferingsListFieldItem]]):
632
+ has_active_terms_of_service (Union[Unset, bool]):
633
+ has_terms_of_service (Union[Unset, bool]):
606
634
  keyword (Union[Unset, str]):
607
635
  modified (Union[Unset, datetime.datetime]):
608
636
  name (Union[Unset, str]):
@@ -645,6 +673,8 @@ async def asyncio(
645
673
  customer_uuid=customer_uuid,
646
674
  description=description,
647
675
  field=field,
676
+ has_active_terms_of_service=has_active_terms_of_service,
677
+ has_terms_of_service=has_terms_of_service,
648
678
  keyword=keyword,
649
679
  modified=modified,
650
680
  name=name,