waldur-api-client 7.7.6__py3-none-any.whl → 7.7.7__py3-none-any.whl

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

Potentially problematic release.


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

Files changed (143) hide show
  1. waldur_api_client/api/booking_resources/booking_resources_count.py +34 -11
  2. waldur_api_client/api/booking_resources/booking_resources_list.py +34 -11
  3. waldur_api_client/api/customers/customers_project_metadata_compliance_details_list.py +189 -0
  4. waldur_api_client/api/customers/customers_project_metadata_compliance_overview_list.py +189 -0
  5. waldur_api_client/api/customers/customers_project_metadata_compliance_projects_list.py +187 -0
  6. waldur_api_client/api/customers/customers_project_metadata_question_answers_list.py +187 -0
  7. waldur_api_client/api/marketplace_integration_statuses/marketplace_integration_statuses_count.py +34 -11
  8. waldur_api_client/api/marketplace_integration_statuses/marketplace_integration_statuses_list.py +34 -11
  9. waldur_api_client/api/marketplace_offering_files/marketplace_offering_files_count.py +34 -11
  10. waldur_api_client/api/marketplace_offering_files/marketplace_offering_files_list.py +34 -11
  11. waldur_api_client/api/marketplace_offering_terms_of_service/__init__.py +1 -0
  12. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_count.py +274 -0
  13. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_create.py +152 -0
  14. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_destroy.py +89 -0
  15. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_list.py +277 -0
  16. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_partial_update.py +164 -0
  17. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_retrieve.py +142 -0
  18. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_update.py +164 -0
  19. waldur_api_client/api/marketplace_offering_user_roles/marketplace_offering_user_roles_count.py +34 -11
  20. waldur_api_client/api/marketplace_offering_user_roles/marketplace_offering_user_roles_list.py +34 -11
  21. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_count.py +34 -11
  22. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_list.py +34 -11
  23. waldur_api_client/api/marketplace_orders/marketplace_orders_count.py +19 -0
  24. waldur_api_client/api/marketplace_orders/marketplace_orders_list.py +19 -0
  25. waldur_api_client/api/marketplace_plans/marketplace_plans_count.py +19 -0
  26. waldur_api_client/api/marketplace_plans/marketplace_plans_list.py +19 -0
  27. waldur_api_client/api/marketplace_plans/marketplace_plans_usage_stats_count.py +19 -0
  28. waldur_api_client/api/marketplace_plans/marketplace_plans_usage_stats_list.py +19 -0
  29. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_count.py +34 -11
  30. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_list.py +34 -11
  31. waldur_api_client/api/marketplace_resources/marketplace_resources_count.py +34 -11
  32. waldur_api_client/api/marketplace_resources/marketplace_resources_list.py +34 -11
  33. waldur_api_client/api/marketplace_screenshots/marketplace_screenshots_count.py +34 -11
  34. waldur_api_client/api/marketplace_screenshots/marketplace_screenshots_list.py +34 -11
  35. waldur_api_client/api/marketplace_user_offering_consents/__init__.py +1 -0
  36. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_count.py +307 -0
  37. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_create.py +152 -0
  38. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_destroy.py +89 -0
  39. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_list.py +310 -0
  40. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_partial_update.py +164 -0
  41. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_retrieve.py +142 -0
  42. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_revoke.py +146 -0
  43. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_update.py +164 -0
  44. waldur_api_client/api/remote_waldur_api/remote_waldur_api_remote_resource_order_status_retrieve.py +145 -0
  45. waldur_api_client/api/remote_waldur_api/remote_waldur_api_remote_resource_status_retrieve.py +147 -0
  46. waldur_api_client/api/remote_waldur_api/remote_waldur_api_remote_resource_team_status_list.py +188 -0
  47. waldur_api_client/models/__init__.py +62 -0
  48. waldur_api_client/models/azure_sql_server_create_order_attributes.py +3 -0
  49. waldur_api_client/models/azure_virtual_machine_create_order_attributes.py +3 -0
  50. waldur_api_client/models/booking_offerings_list_field_item.py +0 -2
  51. waldur_api_client/models/booking_offerings_retrieve_field_item.py +0 -2
  52. waldur_api_client/models/booking_resource.py +10 -9
  53. waldur_api_client/models/booking_resources_list_field_item.py +1 -1
  54. waldur_api_client/models/booking_resources_retrieve_field_item.py +1 -1
  55. waldur_api_client/models/checklist_info.py +76 -0
  56. waldur_api_client/models/compliance_overview.py +91 -0
  57. waldur_api_client/models/customer.py +81 -0
  58. waldur_api_client/models/customers_list_field_item.py +4 -0
  59. waldur_api_client/models/customers_retrieve_field_item.py +4 -0
  60. waldur_api_client/models/generic_order_attributes.py +69 -0
  61. waldur_api_client/models/google_auth_authorize_retrieve_field_item.py +1 -0
  62. waldur_api_client/models/google_auth_list_field_item.py +1 -0
  63. waldur_api_client/models/google_auth_retrieve_field_item.py +1 -0
  64. waldur_api_client/models/google_credentials.py +9 -0
  65. waldur_api_client/models/group_invitation.py +24 -0
  66. waldur_api_client/models/group_invitation_request.py +10 -0
  67. waldur_api_client/models/maintenance_announcement.py +8 -0
  68. waldur_api_client/models/marketplace_offering_terms_of_service_count_o_item.py +13 -0
  69. waldur_api_client/models/marketplace_offering_terms_of_service_list_o_item.py +13 -0
  70. waldur_api_client/models/marketplace_orders_list_field_item.py +1 -1
  71. waldur_api_client/models/marketplace_orders_retrieve_field_item.py +1 -1
  72. waldur_api_client/models/marketplace_provider_offerings_list_customer_service_accounts_retrieve_field_item.py +0 -2
  73. waldur_api_client/models/marketplace_provider_offerings_list_field_item.py +0 -2
  74. waldur_api_client/models/marketplace_provider_offerings_list_project_service_accounts_retrieve_field_item.py +0 -2
  75. waldur_api_client/models/marketplace_provider_offerings_retrieve_field_item.py +0 -2
  76. waldur_api_client/models/marketplace_provider_offerings_stats_retrieve_field_item.py +0 -2
  77. waldur_api_client/models/marketplace_provider_offerings_user_has_resource_access_retrieve_field_item.py +0 -2
  78. waldur_api_client/models/marketplace_provider_resources_details_retrieve_field_item.py +1 -1
  79. waldur_api_client/models/marketplace_provider_resources_list_field_item.py +1 -1
  80. waldur_api_client/models/marketplace_provider_resources_retrieve_field_item.py +1 -1
  81. waldur_api_client/models/marketplace_public_offerings_list_field_item.py +0 -2
  82. waldur_api_client/models/marketplace_public_offerings_retrieve_field_item.py +0 -2
  83. waldur_api_client/models/marketplace_rancher_create_order_attributes.py +3 -0
  84. waldur_api_client/models/marketplace_resources_details_retrieve_field_item.py +1 -1
  85. waldur_api_client/models/marketplace_resources_list_field_item.py +1 -1
  86. waldur_api_client/models/marketplace_resources_retrieve_field_item.py +1 -1
  87. waldur_api_client/models/marketplace_service_providers_list_field_item.py +1 -0
  88. waldur_api_client/models/marketplace_service_providers_retrieve_field_item.py +1 -0
  89. waldur_api_client/models/marketplace_user_offering_consents_count_o_item.py +15 -0
  90. waldur_api_client/models/marketplace_user_offering_consents_list_o_item.py +15 -0
  91. waldur_api_client/models/offering.py +0 -18
  92. waldur_api_client/models/offering_create.py +0 -18
  93. waldur_api_client/models/offering_create_request.py +0 -18
  94. waldur_api_client/models/offering_overview_update_request.py +0 -18
  95. waldur_api_client/models/offering_terms_of_service.py +142 -0
  96. waldur_api_client/models/offering_terms_of_service_create.py +107 -0
  97. waldur_api_client/models/offering_terms_of_service_create_request.py +107 -0
  98. waldur_api_client/models/offering_terms_of_service_request.py +96 -0
  99. waldur_api_client/models/open_stack_instance_create_order_attributes.py +3 -0
  100. waldur_api_client/models/open_stack_nested_security_group.py +53 -1
  101. waldur_api_client/models/open_stack_nested_security_group_rules_item.py +197 -0
  102. waldur_api_client/models/open_stack_network.py +20 -0
  103. waldur_api_client/models/open_stack_security_group_rule_update_request.py +4 -4
  104. waldur_api_client/models/open_stack_tenant.py +38 -0
  105. waldur_api_client/models/open_stack_tenant_create_order_attributes.py +21 -0
  106. waldur_api_client/models/open_stack_volume_create_order_attributes.py +3 -0
  107. waldur_api_client/models/openstack_networks_list_field_item.py +1 -0
  108. waldur_api_client/models/openstack_networks_retrieve_field_item.py +1 -0
  109. waldur_api_client/models/openstack_tenants_list_field_item.py +3 -0
  110. waldur_api_client/models/openstack_tenants_retrieve_field_item.py +3 -0
  111. waldur_api_client/models/order_create.py +0 -8
  112. waldur_api_client/models/order_create_request.py +23 -7
  113. waldur_api_client/models/order_details.py +0 -9
  114. waldur_api_client/models/patched_offering_terms_of_service_request.py +96 -0
  115. waldur_api_client/models/patched_user_offering_consent_request.py +59 -0
  116. waldur_api_client/models/permission_project.py +147 -0
  117. waldur_api_client/models/project_answer.py +122 -0
  118. waldur_api_client/models/project_detail.py +133 -0
  119. waldur_api_client/models/project_details_response.py +115 -0
  120. waldur_api_client/models/provider_offering_details.py +0 -18
  121. waldur_api_client/models/provider_offering_details_request.py +0 -18
  122. waldur_api_client/models/public_offering_details.py +0 -18
  123. waldur_api_client/models/question_answer.py +176 -0
  124. waldur_api_client/models/question_answer_project_answers_item.py +44 -0
  125. waldur_api_client/models/question_answer_question_options_item.py +44 -0
  126. waldur_api_client/models/remote_resource_order.py +88 -0
  127. waldur_api_client/models/remote_resource_order_remote_state_enum.py +15 -0
  128. waldur_api_client/models/remote_resource_sync_status.py +123 -0
  129. waldur_api_client/models/remote_resource_sync_status_remote_state_enum.py +13 -0
  130. waldur_api_client/models/remote_resource_team_member.py +85 -0
  131. waldur_api_client/models/resource.py +10 -9
  132. waldur_api_client/models/service_provider.py +9 -0
  133. waldur_api_client/models/slurm_invoices_slurm_package_create_order_attributes.py +3 -0
  134. waldur_api_client/models/sync_status_enum.py +10 -0
  135. waldur_api_client/models/user_offering_consent.py +202 -0
  136. waldur_api_client/models/user_offering_consent_create.py +60 -0
  137. waldur_api_client/models/user_offering_consent_create_request.py +60 -0
  138. waldur_api_client/models/user_offering_consent_request.py +59 -0
  139. waldur_api_client/models/v_mware_virtual_machine_create_order_attributes.py +3 -0
  140. {waldur_api_client-7.7.6.dist-info → waldur_api_client-7.7.7.dist-info}/METADATA +1 -1
  141. {waldur_api_client-7.7.6.dist-info → waldur_api_client-7.7.7.dist-info}/RECORD +143 -88
  142. {waldur_api_client-7.7.6.dist-info → waldur_api_client-7.7.7.dist-info}/LICENSE +0 -0
  143. {waldur_api_client-7.7.6.dist-info → waldur_api_client-7.7.7.dist-info}/WHEEL +0 -0
@@ -0,0 +1,142 @@
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.offering_terms_of_service import OfferingTermsOfService
10
+ from ...types import Response
11
+
12
+
13
+ def _get_kwargs(
14
+ uuid: UUID,
15
+ ) -> dict[str, Any]:
16
+ _kwargs: dict[str, Any] = {
17
+ "method": "get",
18
+ "url": f"/api/marketplace-offering-terms-of-service/{uuid}/",
19
+ }
20
+
21
+ return _kwargs
22
+
23
+
24
+ def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> OfferingTermsOfService:
25
+ if response.status_code == 200:
26
+ response_200 = OfferingTermsOfService.from_dict(response.json())
27
+
28
+ return response_200
29
+ raise errors.UnexpectedStatus(response.status_code, response.content)
30
+
31
+
32
+ def _build_response(
33
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
34
+ ) -> Response[OfferingTermsOfService]:
35
+ return Response(
36
+ status_code=HTTPStatus(response.status_code),
37
+ content=response.content,
38
+ headers=response.headers,
39
+ parsed=_parse_response(client=client, response=response),
40
+ )
41
+
42
+
43
+ def sync_detailed(
44
+ uuid: UUID,
45
+ *,
46
+ client: AuthenticatedClient,
47
+ ) -> Response[OfferingTermsOfService]:
48
+ """
49
+ Args:
50
+ uuid (UUID):
51
+
52
+ Raises:
53
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
54
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
55
+
56
+ Returns:
57
+ Response[OfferingTermsOfService]
58
+ """
59
+
60
+ kwargs = _get_kwargs(
61
+ uuid=uuid,
62
+ )
63
+
64
+ response = client.get_httpx_client().request(
65
+ **kwargs,
66
+ )
67
+
68
+ return _build_response(client=client, response=response)
69
+
70
+
71
+ def sync(
72
+ uuid: UUID,
73
+ *,
74
+ client: AuthenticatedClient,
75
+ ) -> OfferingTermsOfService:
76
+ """
77
+ Args:
78
+ uuid (UUID):
79
+
80
+ Raises:
81
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
82
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
83
+
84
+ Returns:
85
+ OfferingTermsOfService
86
+ """
87
+
88
+ return sync_detailed(
89
+ uuid=uuid,
90
+ client=client,
91
+ ).parsed
92
+
93
+
94
+ async def asyncio_detailed(
95
+ uuid: UUID,
96
+ *,
97
+ client: AuthenticatedClient,
98
+ ) -> Response[OfferingTermsOfService]:
99
+ """
100
+ Args:
101
+ uuid (UUID):
102
+
103
+ Raises:
104
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
105
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
106
+
107
+ Returns:
108
+ Response[OfferingTermsOfService]
109
+ """
110
+
111
+ kwargs = _get_kwargs(
112
+ uuid=uuid,
113
+ )
114
+
115
+ response = await client.get_async_httpx_client().request(**kwargs)
116
+
117
+ return _build_response(client=client, response=response)
118
+
119
+
120
+ async def asyncio(
121
+ uuid: UUID,
122
+ *,
123
+ client: AuthenticatedClient,
124
+ ) -> OfferingTermsOfService:
125
+ """
126
+ Args:
127
+ uuid (UUID):
128
+
129
+ Raises:
130
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
131
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
132
+
133
+ Returns:
134
+ OfferingTermsOfService
135
+ """
136
+
137
+ return (
138
+ await asyncio_detailed(
139
+ uuid=uuid,
140
+ client=client,
141
+ )
142
+ ).parsed
@@ -0,0 +1,164 @@
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.offering_terms_of_service import OfferingTermsOfService
10
+ from ...models.offering_terms_of_service_request import OfferingTermsOfServiceRequest
11
+ from ...types import Response
12
+
13
+
14
+ def _get_kwargs(
15
+ uuid: UUID,
16
+ *,
17
+ body: OfferingTermsOfServiceRequest,
18
+ ) -> dict[str, Any]:
19
+ headers: dict[str, Any] = {}
20
+
21
+ _kwargs: dict[str, Any] = {
22
+ "method": "put",
23
+ "url": f"/api/marketplace-offering-terms-of-service/{uuid}/",
24
+ }
25
+
26
+ _kwargs["json"] = body.to_dict()
27
+
28
+ headers["Content-Type"] = "application/json"
29
+
30
+ _kwargs["headers"] = headers
31
+ return _kwargs
32
+
33
+
34
+ def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> OfferingTermsOfService:
35
+ if response.status_code == 200:
36
+ response_200 = OfferingTermsOfService.from_dict(response.json())
37
+
38
+ return response_200
39
+ raise errors.UnexpectedStatus(response.status_code, response.content)
40
+
41
+
42
+ def _build_response(
43
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
44
+ ) -> Response[OfferingTermsOfService]:
45
+ return Response(
46
+ status_code=HTTPStatus(response.status_code),
47
+ content=response.content,
48
+ headers=response.headers,
49
+ parsed=_parse_response(client=client, response=response),
50
+ )
51
+
52
+
53
+ def sync_detailed(
54
+ uuid: UUID,
55
+ *,
56
+ client: AuthenticatedClient,
57
+ body: OfferingTermsOfServiceRequest,
58
+ ) -> Response[OfferingTermsOfService]:
59
+ """
60
+ Args:
61
+ uuid (UUID):
62
+ body (OfferingTermsOfServiceRequest):
63
+
64
+ Raises:
65
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
66
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
67
+
68
+ Returns:
69
+ Response[OfferingTermsOfService]
70
+ """
71
+
72
+ kwargs = _get_kwargs(
73
+ uuid=uuid,
74
+ body=body,
75
+ )
76
+
77
+ response = client.get_httpx_client().request(
78
+ **kwargs,
79
+ )
80
+
81
+ return _build_response(client=client, response=response)
82
+
83
+
84
+ def sync(
85
+ uuid: UUID,
86
+ *,
87
+ client: AuthenticatedClient,
88
+ body: OfferingTermsOfServiceRequest,
89
+ ) -> OfferingTermsOfService:
90
+ """
91
+ Args:
92
+ uuid (UUID):
93
+ body (OfferingTermsOfServiceRequest):
94
+
95
+ Raises:
96
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
97
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
98
+
99
+ Returns:
100
+ OfferingTermsOfService
101
+ """
102
+
103
+ return sync_detailed(
104
+ uuid=uuid,
105
+ client=client,
106
+ body=body,
107
+ ).parsed
108
+
109
+
110
+ async def asyncio_detailed(
111
+ uuid: UUID,
112
+ *,
113
+ client: AuthenticatedClient,
114
+ body: OfferingTermsOfServiceRequest,
115
+ ) -> Response[OfferingTermsOfService]:
116
+ """
117
+ Args:
118
+ uuid (UUID):
119
+ body (OfferingTermsOfServiceRequest):
120
+
121
+ Raises:
122
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
123
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
124
+
125
+ Returns:
126
+ Response[OfferingTermsOfService]
127
+ """
128
+
129
+ kwargs = _get_kwargs(
130
+ uuid=uuid,
131
+ body=body,
132
+ )
133
+
134
+ response = await client.get_async_httpx_client().request(**kwargs)
135
+
136
+ return _build_response(client=client, response=response)
137
+
138
+
139
+ async def asyncio(
140
+ uuid: UUID,
141
+ *,
142
+ client: AuthenticatedClient,
143
+ body: OfferingTermsOfServiceRequest,
144
+ ) -> OfferingTermsOfService:
145
+ """
146
+ Args:
147
+ uuid (UUID):
148
+ body (OfferingTermsOfServiceRequest):
149
+
150
+ Raises:
151
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
152
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
153
+
154
+ Returns:
155
+ OfferingTermsOfService
156
+ """
157
+
158
+ return (
159
+ await asyncio_detailed(
160
+ uuid=uuid,
161
+ client=client,
162
+ body=body,
163
+ )
164
+ ).parsed
@@ -12,7 +12,8 @@ from ...types import UNSET, Response, Unset
12
12
  def _get_kwargs(
13
13
  *,
14
14
  offering: Union[Unset, str] = UNSET,
15
- offering_uuid: Union[Unset, UUID] = UNSET,
15
+ offering_slug: Union[Unset, list[str]] = UNSET,
16
+ offering_uuid: Union[Unset, list[UUID]] = UNSET,
16
17
  page: Union[Unset, int] = UNSET,
17
18
  page_size: Union[Unset, int] = UNSET,
18
19
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
@@ -21,9 +22,19 @@ def _get_kwargs(
21
22
 
22
23
  params["offering"] = offering
23
24
 
24
- json_offering_uuid: Union[Unset, str] = UNSET
25
+ json_offering_slug: Union[Unset, list[str]] = UNSET
26
+ if not isinstance(offering_slug, Unset):
27
+ json_offering_slug = offering_slug
28
+
29
+ params["offering_slug"] = json_offering_slug
30
+
31
+ json_offering_uuid: Union[Unset, list[str]] = UNSET
25
32
  if not isinstance(offering_uuid, Unset):
26
- json_offering_uuid = str(offering_uuid)
33
+ json_offering_uuid = []
34
+ for offering_uuid_item_data in offering_uuid:
35
+ offering_uuid_item = str(offering_uuid_item_data)
36
+ json_offering_uuid.append(offering_uuid_item)
37
+
27
38
  params["offering_uuid"] = json_offering_uuid
28
39
 
29
40
  params["page"] = page
@@ -74,7 +85,8 @@ def sync_detailed(
74
85
  *,
75
86
  client: AuthenticatedClient,
76
87
  offering: Union[Unset, str] = UNSET,
77
- offering_uuid: Union[Unset, UUID] = UNSET,
88
+ offering_slug: Union[Unset, list[str]] = UNSET,
89
+ offering_uuid: Union[Unset, list[UUID]] = UNSET,
78
90
  page: Union[Unset, int] = UNSET,
79
91
  page_size: Union[Unset, int] = UNSET,
80
92
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
@@ -83,7 +95,8 @@ def sync_detailed(
83
95
 
84
96
  Args:
85
97
  offering (Union[Unset, str]):
86
- offering_uuid (Union[Unset, UUID]):
98
+ offering_slug (Union[Unset, list[str]]):
99
+ offering_uuid (Union[Unset, list[UUID]]):
87
100
  page (Union[Unset, int]):
88
101
  page_size (Union[Unset, int]):
89
102
  parent_offering_uuid (Union[Unset, UUID]):
@@ -98,6 +111,7 @@ def sync_detailed(
98
111
 
99
112
  kwargs = _get_kwargs(
100
113
  offering=offering,
114
+ offering_slug=offering_slug,
101
115
  offering_uuid=offering_uuid,
102
116
  page=page,
103
117
  page_size=page_size,
@@ -115,7 +129,8 @@ def sync(
115
129
  *,
116
130
  client: AuthenticatedClient,
117
131
  offering: Union[Unset, str] = UNSET,
118
- offering_uuid: Union[Unset, UUID] = UNSET,
132
+ offering_slug: Union[Unset, list[str]] = UNSET,
133
+ offering_uuid: Union[Unset, list[UUID]] = UNSET,
119
134
  page: Union[Unset, int] = UNSET,
120
135
  page_size: Union[Unset, int] = UNSET,
121
136
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
@@ -124,7 +139,8 @@ def sync(
124
139
 
125
140
  Args:
126
141
  offering (Union[Unset, str]):
127
- offering_uuid (Union[Unset, UUID]):
142
+ offering_slug (Union[Unset, list[str]]):
143
+ offering_uuid (Union[Unset, list[UUID]]):
128
144
  page (Union[Unset, int]):
129
145
  page_size (Union[Unset, int]):
130
146
  parent_offering_uuid (Union[Unset, UUID]):
@@ -140,6 +156,7 @@ def sync(
140
156
  return sync_detailed(
141
157
  client=client,
142
158
  offering=offering,
159
+ offering_slug=offering_slug,
143
160
  offering_uuid=offering_uuid,
144
161
  page=page,
145
162
  page_size=page_size,
@@ -151,7 +168,8 @@ async def asyncio_detailed(
151
168
  *,
152
169
  client: AuthenticatedClient,
153
170
  offering: Union[Unset, str] = UNSET,
154
- offering_uuid: Union[Unset, UUID] = UNSET,
171
+ offering_slug: Union[Unset, list[str]] = UNSET,
172
+ offering_uuid: Union[Unset, list[UUID]] = UNSET,
155
173
  page: Union[Unset, int] = UNSET,
156
174
  page_size: Union[Unset, int] = UNSET,
157
175
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
@@ -160,7 +178,8 @@ async def asyncio_detailed(
160
178
 
161
179
  Args:
162
180
  offering (Union[Unset, str]):
163
- offering_uuid (Union[Unset, UUID]):
181
+ offering_slug (Union[Unset, list[str]]):
182
+ offering_uuid (Union[Unset, list[UUID]]):
164
183
  page (Union[Unset, int]):
165
184
  page_size (Union[Unset, int]):
166
185
  parent_offering_uuid (Union[Unset, UUID]):
@@ -175,6 +194,7 @@ async def asyncio_detailed(
175
194
 
176
195
  kwargs = _get_kwargs(
177
196
  offering=offering,
197
+ offering_slug=offering_slug,
178
198
  offering_uuid=offering_uuid,
179
199
  page=page,
180
200
  page_size=page_size,
@@ -190,7 +210,8 @@ async def asyncio(
190
210
  *,
191
211
  client: AuthenticatedClient,
192
212
  offering: Union[Unset, str] = UNSET,
193
- offering_uuid: Union[Unset, UUID] = UNSET,
213
+ offering_slug: Union[Unset, list[str]] = UNSET,
214
+ offering_uuid: Union[Unset, list[UUID]] = UNSET,
194
215
  page: Union[Unset, int] = UNSET,
195
216
  page_size: Union[Unset, int] = UNSET,
196
217
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
@@ -199,7 +220,8 @@ async def asyncio(
199
220
 
200
221
  Args:
201
222
  offering (Union[Unset, str]):
202
- offering_uuid (Union[Unset, UUID]):
223
+ offering_slug (Union[Unset, list[str]]):
224
+ offering_uuid (Union[Unset, list[UUID]]):
203
225
  page (Union[Unset, int]):
204
226
  page_size (Union[Unset, int]):
205
227
  parent_offering_uuid (Union[Unset, UUID]):
@@ -216,6 +238,7 @@ async def asyncio(
216
238
  await asyncio_detailed(
217
239
  client=client,
218
240
  offering=offering,
241
+ offering_slug=offering_slug,
219
242
  offering_uuid=offering_uuid,
220
243
  page=page,
221
244
  page_size=page_size,
@@ -13,7 +13,8 @@ from ...types import UNSET, Response, Unset
13
13
  def _get_kwargs(
14
14
  *,
15
15
  offering: Union[Unset, str] = UNSET,
16
- offering_uuid: Union[Unset, UUID] = UNSET,
16
+ offering_slug: Union[Unset, list[str]] = UNSET,
17
+ offering_uuid: Union[Unset, list[UUID]] = UNSET,
17
18
  page: Union[Unset, int] = UNSET,
18
19
  page_size: Union[Unset, int] = UNSET,
19
20
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
@@ -22,9 +23,19 @@ def _get_kwargs(
22
23
 
23
24
  params["offering"] = offering
24
25
 
25
- json_offering_uuid: Union[Unset, str] = UNSET
26
+ json_offering_slug: Union[Unset, list[str]] = UNSET
27
+ if not isinstance(offering_slug, Unset):
28
+ json_offering_slug = offering_slug
29
+
30
+ params["offering_slug"] = json_offering_slug
31
+
32
+ json_offering_uuid: Union[Unset, list[str]] = UNSET
26
33
  if not isinstance(offering_uuid, Unset):
27
- json_offering_uuid = str(offering_uuid)
34
+ json_offering_uuid = []
35
+ for offering_uuid_item_data in offering_uuid:
36
+ offering_uuid_item = str(offering_uuid_item_data)
37
+ json_offering_uuid.append(offering_uuid_item)
38
+
28
39
  params["offering_uuid"] = json_offering_uuid
29
40
 
30
41
  params["page"] = page
@@ -77,7 +88,8 @@ def sync_detailed(
77
88
  *,
78
89
  client: AuthenticatedClient,
79
90
  offering: Union[Unset, str] = UNSET,
80
- offering_uuid: Union[Unset, UUID] = UNSET,
91
+ offering_slug: Union[Unset, list[str]] = UNSET,
92
+ offering_uuid: Union[Unset, list[UUID]] = UNSET,
81
93
  page: Union[Unset, int] = UNSET,
82
94
  page_size: Union[Unset, int] = UNSET,
83
95
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
@@ -86,7 +98,8 @@ def sync_detailed(
86
98
 
87
99
  Args:
88
100
  offering (Union[Unset, str]):
89
- offering_uuid (Union[Unset, UUID]):
101
+ offering_slug (Union[Unset, list[str]]):
102
+ offering_uuid (Union[Unset, list[UUID]]):
90
103
  page (Union[Unset, int]):
91
104
  page_size (Union[Unset, int]):
92
105
  parent_offering_uuid (Union[Unset, UUID]):
@@ -101,6 +114,7 @@ def sync_detailed(
101
114
 
102
115
  kwargs = _get_kwargs(
103
116
  offering=offering,
117
+ offering_slug=offering_slug,
104
118
  offering_uuid=offering_uuid,
105
119
  page=page,
106
120
  page_size=page_size,
@@ -118,7 +132,8 @@ def sync(
118
132
  *,
119
133
  client: AuthenticatedClient,
120
134
  offering: Union[Unset, str] = UNSET,
121
- offering_uuid: Union[Unset, UUID] = UNSET,
135
+ offering_slug: Union[Unset, list[str]] = UNSET,
136
+ offering_uuid: Union[Unset, list[UUID]] = UNSET,
122
137
  page: Union[Unset, int] = UNSET,
123
138
  page_size: Union[Unset, int] = UNSET,
124
139
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
@@ -127,7 +142,8 @@ def sync(
127
142
 
128
143
  Args:
129
144
  offering (Union[Unset, str]):
130
- offering_uuid (Union[Unset, UUID]):
145
+ offering_slug (Union[Unset, list[str]]):
146
+ offering_uuid (Union[Unset, list[UUID]]):
131
147
  page (Union[Unset, int]):
132
148
  page_size (Union[Unset, int]):
133
149
  parent_offering_uuid (Union[Unset, UUID]):
@@ -143,6 +159,7 @@ def sync(
143
159
  return sync_detailed(
144
160
  client=client,
145
161
  offering=offering,
162
+ offering_slug=offering_slug,
146
163
  offering_uuid=offering_uuid,
147
164
  page=page,
148
165
  page_size=page_size,
@@ -154,7 +171,8 @@ async def asyncio_detailed(
154
171
  *,
155
172
  client: AuthenticatedClient,
156
173
  offering: Union[Unset, str] = UNSET,
157
- offering_uuid: Union[Unset, UUID] = UNSET,
174
+ offering_slug: Union[Unset, list[str]] = UNSET,
175
+ offering_uuid: Union[Unset, list[UUID]] = UNSET,
158
176
  page: Union[Unset, int] = UNSET,
159
177
  page_size: Union[Unset, int] = UNSET,
160
178
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
@@ -163,7 +181,8 @@ async def asyncio_detailed(
163
181
 
164
182
  Args:
165
183
  offering (Union[Unset, str]):
166
- offering_uuid (Union[Unset, UUID]):
184
+ offering_slug (Union[Unset, list[str]]):
185
+ offering_uuid (Union[Unset, list[UUID]]):
167
186
  page (Union[Unset, int]):
168
187
  page_size (Union[Unset, int]):
169
188
  parent_offering_uuid (Union[Unset, UUID]):
@@ -178,6 +197,7 @@ async def asyncio_detailed(
178
197
 
179
198
  kwargs = _get_kwargs(
180
199
  offering=offering,
200
+ offering_slug=offering_slug,
181
201
  offering_uuid=offering_uuid,
182
202
  page=page,
183
203
  page_size=page_size,
@@ -193,7 +213,8 @@ async def asyncio(
193
213
  *,
194
214
  client: AuthenticatedClient,
195
215
  offering: Union[Unset, str] = UNSET,
196
- offering_uuid: Union[Unset, UUID] = UNSET,
216
+ offering_slug: Union[Unset, list[str]] = UNSET,
217
+ offering_uuid: Union[Unset, list[UUID]] = UNSET,
197
218
  page: Union[Unset, int] = UNSET,
198
219
  page_size: Union[Unset, int] = UNSET,
199
220
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
@@ -202,7 +223,8 @@ async def asyncio(
202
223
 
203
224
  Args:
204
225
  offering (Union[Unset, str]):
205
- offering_uuid (Union[Unset, UUID]):
226
+ offering_slug (Union[Unset, list[str]]):
227
+ offering_uuid (Union[Unset, list[UUID]]):
206
228
  page (Union[Unset, int]):
207
229
  page_size (Union[Unset, int]):
208
230
  parent_offering_uuid (Union[Unset, UUID]):
@@ -219,6 +241,7 @@ async def asyncio(
219
241
  await asyncio_detailed(
220
242
  client=client,
221
243
  offering=offering,
244
+ offering_slug=offering_slug,
222
245
  offering_uuid=offering_uuid,
223
246
  page=page,
224
247
  page_size=page_size,