waldur-api-client 7.7.9__py3-none-any.whl → 7.8.1__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 (108) hide show
  1. waldur_api_client/api/marketplace_course_accounts/marketplace_course_accounts_count.py +96 -0
  2. waldur_api_client/api/marketplace_course_accounts/marketplace_course_accounts_list.py +96 -0
  3. waldur_api_client/api/marketplace_offering_user_checklist_completions/__init__.py +1 -0
  4. waldur_api_client/api/marketplace_offering_user_checklist_completions/marketplace_offering_user_checklist_completions_count.py +286 -0
  5. waldur_api_client/api/marketplace_offering_user_checklist_completions/marketplace_offering_user_checklist_completions_list.py +289 -0
  6. waldur_api_client/api/{rancher_clusters/rancher_clusters_create.py → marketplace_offering_user_checklist_completions/marketplace_offering_user_checklist_completions_retrieve.py} +29 -38
  7. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_count.py +15 -0
  8. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_list.py +15 -0
  9. waldur_api_client/api/{rancher_clusters/rancher_clusters_destroy.py → marketplace_orders/marketplace_orders_delete_attachment.py} +6 -4
  10. waldur_api_client/api/marketplace_orders/marketplace_orders_update_attachment.py +168 -0
  11. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_component_stats_list.py +15 -0
  12. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_costs_list.py +15 -0
  13. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_count.py +15 -0
  14. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_customers_list.py +15 -0
  15. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_groups_count.py +15 -0
  16. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_groups_list.py +15 -0
  17. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_list.py +15 -0
  18. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_list_course_accounts_retrieve.py +177 -0
  19. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_refresh_offering_usernames.py +0 -22
  20. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_update_compliance_checklist.py +105 -0
  21. waldur_api_client/api/marketplace_public_offerings/marketplace_public_offerings_count.py +15 -0
  22. waldur_api_client/api/marketplace_public_offerings/marketplace_public_offerings_list.py +15 -0
  23. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_course_accounts_list.py +98 -0
  24. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_offerings_list.py +15 -0
  25. waldur_api_client/api/user_invitations/user_invitations_count.py +15 -0
  26. waldur_api_client/api/user_invitations/user_invitations_list.py +15 -0
  27. waldur_api_client/models/__init__.py +34 -6
  28. waldur_api_client/models/booking_offerings_list_field_item.py +1 -0
  29. waldur_api_client/models/booking_offerings_retrieve_field_item.py +1 -0
  30. waldur_api_client/models/booking_resource.py +18 -0
  31. waldur_api_client/models/booking_resources_list_field_item.py +2 -0
  32. waldur_api_client/models/booking_resources_retrieve_field_item.py +2 -0
  33. waldur_api_client/models/country_enum.py +211 -0
  34. waldur_api_client/models/course_account.py +24 -0
  35. waldur_api_client/models/customer_request.py +9 -0
  36. waldur_api_client/models/deployment_mode_enum.py +9 -0
  37. waldur_api_client/models/group_invitation.py +8 -0
  38. waldur_api_client/models/identity_provider.py +57 -0
  39. waldur_api_client/models/identity_provider_request.py +57 -0
  40. waldur_api_client/models/invitation.py +8 -0
  41. waldur_api_client/models/issue.py +8 -17
  42. waldur_api_client/models/issue_request.py +8 -17
  43. waldur_api_client/models/issue_type_enum.py +4 -4
  44. waldur_api_client/models/managed_rancher_cluster_resources_list_field_item.py +2 -0
  45. waldur_api_client/models/managed_rancher_cluster_resources_retrieve_field_item.py +2 -0
  46. waldur_api_client/models/marketplace_course_accounts_count_o_item.py +23 -0
  47. waldur_api_client/models/marketplace_course_accounts_list_o_item.py +23 -0
  48. waldur_api_client/models/marketplace_offering_user_checklist_completions_count_o_item.py +11 -0
  49. waldur_api_client/models/marketplace_offering_user_checklist_completions_list_o_item.py +11 -0
  50. waldur_api_client/models/marketplace_offering_users_list_field_item.py +2 -0
  51. waldur_api_client/models/marketplace_offering_users_retrieve_field_item.py +2 -0
  52. waldur_api_client/models/marketplace_orders_list_field_item.py +5 -0
  53. waldur_api_client/models/marketplace_orders_retrieve_field_item.py +5 -0
  54. waldur_api_client/models/marketplace_provider_offerings_list_course_accounts_retrieve_field_item.py +72 -0
  55. waldur_api_client/models/marketplace_provider_resources_details_retrieve_field_item.py +2 -0
  56. waldur_api_client/models/marketplace_provider_resources_list_field_item.py +2 -0
  57. waldur_api_client/models/marketplace_provider_resources_retrieve_field_item.py +2 -0
  58. waldur_api_client/models/marketplace_public_offerings_list_field_item.py +1 -0
  59. waldur_api_client/models/marketplace_public_offerings_retrieve_field_item.py +1 -0
  60. waldur_api_client/models/marketplace_resources_details_retrieve_field_item.py +2 -0
  61. waldur_api_client/models/marketplace_resources_list_field_item.py +2 -0
  62. waldur_api_client/models/marketplace_resources_retrieve_field_item.py +2 -0
  63. waldur_api_client/models/marketplace_service_providers_course_accounts_list_o_item.py +23 -0
  64. waldur_api_client/models/merged_plugin_options.py +36 -0
  65. waldur_api_client/models/merged_plugin_options_request.py +36 -0
  66. waldur_api_client/models/notification.py +11 -0
  67. waldur_api_client/models/notification_context_fields.py +47 -0
  68. waldur_api_client/models/offering.py +9 -0
  69. waldur_api_client/models/offering_compliance_checklist_update_request.py +82 -0
  70. waldur_api_client/models/offering_create.py +9 -8
  71. waldur_api_client/models/offering_create_request.py +9 -0
  72. waldur_api_client/models/offering_overview_update_request.py +9 -0
  73. waldur_api_client/models/offering_terms_of_service.py +42 -1
  74. waldur_api_client/models/offering_user.py +18 -0
  75. waldur_api_client/models/open_stack_tenant_create_order_attributes.py +0 -18
  76. waldur_api_client/models/open_stack_tenant_request.py +18 -0
  77. waldur_api_client/models/order_attachment.py +71 -0
  78. waldur_api_client/models/order_attachment_request.py +84 -0
  79. waldur_api_client/models/order_create.py +58 -16
  80. waldur_api_client/models/order_create_request.py +44 -62
  81. waldur_api_client/models/order_details.py +99 -16
  82. waldur_api_client/models/patched_customer_request.py +9 -0
  83. waldur_api_client/models/patched_identity_provider_request.py +58 -0
  84. waldur_api_client/models/patched_project_request.py +9 -0
  85. waldur_api_client/models/patched_protected_call_request.py +9 -0
  86. waldur_api_client/models/patched_protected_round_request.py +2 -2
  87. waldur_api_client/models/patched_service_provider_request.py +9 -0
  88. waldur_api_client/models/patched_user_request.py +9 -0
  89. waldur_api_client/models/project_request.py +9 -0
  90. waldur_api_client/models/protected_call_request.py +9 -0
  91. waldur_api_client/models/protected_round.py +2 -2
  92. waldur_api_client/models/protected_round_request.py +2 -2
  93. waldur_api_client/models/public_offering_details.py +9 -0
  94. waldur_api_client/models/rancher_cluster_request.py +1 -48
  95. waldur_api_client/models/resource.py +18 -0
  96. waldur_api_client/models/resource_update_limits_request.py +23 -1
  97. waldur_api_client/models/service_provider_request.py +9 -0
  98. waldur_api_client/models/user_checklist_completion.py +265 -0
  99. waldur_api_client/models/user_consent_info.py +86 -0
  100. waldur_api_client/models/user_request.py +9 -0
  101. waldur_api_client/models/visible_invitation_details.py +8 -0
  102. {waldur_api_client-7.7.9.dist-info → waldur_api_client-7.8.1.dist-info}/METADATA +4 -2
  103. {waldur_api_client-7.7.9.dist-info → waldur_api_client-7.8.1.dist-info}/RECORD +105 -89
  104. {waldur_api_client-7.7.9.dist-info → waldur_api_client-7.8.1.dist-info}/WHEEL +1 -1
  105. waldur_api_client/models/marketplace_managed_rancher_create_order_attributes.py +0 -144
  106. waldur_api_client/models/marketplace_rancher_create_order_attributes.py +0 -145
  107. waldur_api_client/models/provider_offering_details_request.py +0 -398
  108. {waldur_api_client-7.7.9.dist-info → waldur_api_client-7.8.1.dist-info/licenses}/LICENSE +0 -0
@@ -0,0 +1,177 @@
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.marketplace_provider_offerings_list_course_accounts_retrieve_field_item import (
10
+ MarketplaceProviderOfferingsListCourseAccountsRetrieveFieldItem,
11
+ )
12
+ from ...models.provider_offering_details import ProviderOfferingDetails
13
+ from ...types import UNSET, Response, Unset
14
+
15
+
16
+ def _get_kwargs(
17
+ uuid: UUID,
18
+ *,
19
+ field: Union[Unset, list[MarketplaceProviderOfferingsListCourseAccountsRetrieveFieldItem]] = UNSET,
20
+ ) -> dict[str, Any]:
21
+ params: dict[str, Any] = {}
22
+
23
+ json_field: Union[Unset, list[str]] = UNSET
24
+ if not isinstance(field, Unset):
25
+ json_field = []
26
+ for field_item_data in field:
27
+ field_item = field_item_data.value
28
+ json_field.append(field_item)
29
+
30
+ params["field"] = json_field
31
+
32
+ params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
33
+
34
+ _kwargs: dict[str, Any] = {
35
+ "method": "get",
36
+ "url": f"/api/marketplace-provider-offerings/{uuid}/list_course_accounts/",
37
+ "params": params,
38
+ }
39
+
40
+ return _kwargs
41
+
42
+
43
+ def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> ProviderOfferingDetails:
44
+ if response.status_code == 200:
45
+ response_200 = ProviderOfferingDetails.from_dict(response.json())
46
+
47
+ return response_200
48
+ raise errors.UnexpectedStatus(response.status_code, response.content)
49
+
50
+
51
+ def _build_response(
52
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
53
+ ) -> Response[ProviderOfferingDetails]:
54
+ return Response(
55
+ status_code=HTTPStatus(response.status_code),
56
+ content=response.content,
57
+ headers=response.headers,
58
+ parsed=_parse_response(client=client, response=response),
59
+ )
60
+
61
+
62
+ def sync_detailed(
63
+ uuid: UUID,
64
+ *,
65
+ client: AuthenticatedClient,
66
+ field: Union[Unset, list[MarketplaceProviderOfferingsListCourseAccountsRetrieveFieldItem]] = UNSET,
67
+ ) -> Response[ProviderOfferingDetails]:
68
+ """
69
+ Args:
70
+ uuid (UUID):
71
+ field (Union[Unset,
72
+ list[MarketplaceProviderOfferingsListCourseAccountsRetrieveFieldItem]]):
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
+ Response[ProviderOfferingDetails]
80
+ """
81
+
82
+ kwargs = _get_kwargs(
83
+ uuid=uuid,
84
+ field=field,
85
+ )
86
+
87
+ response = client.get_httpx_client().request(
88
+ **kwargs,
89
+ )
90
+
91
+ return _build_response(client=client, response=response)
92
+
93
+
94
+ def sync(
95
+ uuid: UUID,
96
+ *,
97
+ client: AuthenticatedClient,
98
+ field: Union[Unset, list[MarketplaceProviderOfferingsListCourseAccountsRetrieveFieldItem]] = UNSET,
99
+ ) -> ProviderOfferingDetails:
100
+ """
101
+ Args:
102
+ uuid (UUID):
103
+ field (Union[Unset,
104
+ list[MarketplaceProviderOfferingsListCourseAccountsRetrieveFieldItem]]):
105
+
106
+ Raises:
107
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
108
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
109
+
110
+ Returns:
111
+ ProviderOfferingDetails
112
+ """
113
+
114
+ return sync_detailed(
115
+ uuid=uuid,
116
+ client=client,
117
+ field=field,
118
+ ).parsed
119
+
120
+
121
+ async def asyncio_detailed(
122
+ uuid: UUID,
123
+ *,
124
+ client: AuthenticatedClient,
125
+ field: Union[Unset, list[MarketplaceProviderOfferingsListCourseAccountsRetrieveFieldItem]] = UNSET,
126
+ ) -> Response[ProviderOfferingDetails]:
127
+ """
128
+ Args:
129
+ uuid (UUID):
130
+ field (Union[Unset,
131
+ list[MarketplaceProviderOfferingsListCourseAccountsRetrieveFieldItem]]):
132
+
133
+ Raises:
134
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
135
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
136
+
137
+ Returns:
138
+ Response[ProviderOfferingDetails]
139
+ """
140
+
141
+ kwargs = _get_kwargs(
142
+ uuid=uuid,
143
+ field=field,
144
+ )
145
+
146
+ response = await client.get_async_httpx_client().request(**kwargs)
147
+
148
+ return _build_response(client=client, response=response)
149
+
150
+
151
+ async def asyncio(
152
+ uuid: UUID,
153
+ *,
154
+ client: AuthenticatedClient,
155
+ field: Union[Unset, list[MarketplaceProviderOfferingsListCourseAccountsRetrieveFieldItem]] = UNSET,
156
+ ) -> ProviderOfferingDetails:
157
+ """
158
+ Args:
159
+ uuid (UUID):
160
+ field (Union[Unset,
161
+ list[MarketplaceProviderOfferingsListCourseAccountsRetrieveFieldItem]]):
162
+
163
+ Raises:
164
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
165
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
166
+
167
+ Returns:
168
+ ProviderOfferingDetails
169
+ """
170
+
171
+ return (
172
+ await asyncio_detailed(
173
+ uuid=uuid,
174
+ client=client,
175
+ field=field,
176
+ )
177
+ ).parsed
@@ -6,28 +6,18 @@ import httpx
6
6
 
7
7
  from ... import errors
8
8
  from ...client import AuthenticatedClient, Client
9
- from ...models.provider_offering_details_request import ProviderOfferingDetailsRequest
10
9
  from ...models.resource_response_status import ResourceResponseStatus
11
10
  from ...types import Response
12
11
 
13
12
 
14
13
  def _get_kwargs(
15
14
  uuid: UUID,
16
- *,
17
- body: ProviderOfferingDetailsRequest,
18
15
  ) -> dict[str, Any]:
19
- headers: dict[str, Any] = {}
20
-
21
16
  _kwargs: dict[str, Any] = {
22
17
  "method": "post",
23
18
  "url": f"/api/marketplace-provider-offerings/{uuid}/refresh_offering_usernames/",
24
19
  }
25
20
 
26
- _kwargs["json"] = body.to_dict()
27
-
28
- headers["Content-Type"] = "application/json"
29
-
30
- _kwargs["headers"] = headers
31
21
  return _kwargs
32
22
 
33
23
 
@@ -54,13 +44,11 @@ def sync_detailed(
54
44
  uuid: UUID,
55
45
  *,
56
46
  client: AuthenticatedClient,
57
- body: ProviderOfferingDetailsRequest,
58
47
  ) -> Response[ResourceResponseStatus]:
59
48
  """Refresh offering user usernames.
60
49
 
61
50
  Args:
62
51
  uuid (UUID):
63
- body (ProviderOfferingDetailsRequest):
64
52
 
65
53
  Raises:
66
54
  errors.UnexpectedStatus: If the server returns an undocumented status code.
@@ -72,7 +60,6 @@ def sync_detailed(
72
60
 
73
61
  kwargs = _get_kwargs(
74
62
  uuid=uuid,
75
- body=body,
76
63
  )
77
64
 
78
65
  response = client.get_httpx_client().request(
@@ -86,13 +73,11 @@ def sync(
86
73
  uuid: UUID,
87
74
  *,
88
75
  client: AuthenticatedClient,
89
- body: ProviderOfferingDetailsRequest,
90
76
  ) -> ResourceResponseStatus:
91
77
  """Refresh offering user usernames.
92
78
 
93
79
  Args:
94
80
  uuid (UUID):
95
- body (ProviderOfferingDetailsRequest):
96
81
 
97
82
  Raises:
98
83
  errors.UnexpectedStatus: If the server returns an undocumented status code.
@@ -105,7 +90,6 @@ def sync(
105
90
  return sync_detailed(
106
91
  uuid=uuid,
107
92
  client=client,
108
- body=body,
109
93
  ).parsed
110
94
 
111
95
 
@@ -113,13 +97,11 @@ async def asyncio_detailed(
113
97
  uuid: UUID,
114
98
  *,
115
99
  client: AuthenticatedClient,
116
- body: ProviderOfferingDetailsRequest,
117
100
  ) -> Response[ResourceResponseStatus]:
118
101
  """Refresh offering user usernames.
119
102
 
120
103
  Args:
121
104
  uuid (UUID):
122
- body (ProviderOfferingDetailsRequest):
123
105
 
124
106
  Raises:
125
107
  errors.UnexpectedStatus: If the server returns an undocumented status code.
@@ -131,7 +113,6 @@ async def asyncio_detailed(
131
113
 
132
114
  kwargs = _get_kwargs(
133
115
  uuid=uuid,
134
- body=body,
135
116
  )
136
117
 
137
118
  response = await client.get_async_httpx_client().request(**kwargs)
@@ -143,13 +124,11 @@ async def asyncio(
143
124
  uuid: UUID,
144
125
  *,
145
126
  client: AuthenticatedClient,
146
- body: ProviderOfferingDetailsRequest,
147
127
  ) -> ResourceResponseStatus:
148
128
  """Refresh offering user usernames.
149
129
 
150
130
  Args:
151
131
  uuid (UUID):
152
- body (ProviderOfferingDetailsRequest):
153
132
 
154
133
  Raises:
155
134
  errors.UnexpectedStatus: If the server returns an undocumented status code.
@@ -163,6 +142,5 @@ async def asyncio(
163
142
  await asyncio_detailed(
164
143
  uuid=uuid,
165
144
  client=client,
166
- body=body,
167
145
  )
168
146
  ).parsed
@@ -0,0 +1,105 @@
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_compliance_checklist_update_request import OfferingComplianceChecklistUpdateRequest
10
+ from ...types import Response
11
+
12
+
13
+ def _get_kwargs(
14
+ uuid: UUID,
15
+ *,
16
+ body: OfferingComplianceChecklistUpdateRequest,
17
+ ) -> dict[str, Any]:
18
+ headers: dict[str, Any] = {}
19
+
20
+ _kwargs: dict[str, Any] = {
21
+ "method": "post",
22
+ "url": f"/api/marketplace-provider-offerings/{uuid}/update_compliance_checklist/",
23
+ }
24
+
25
+ _kwargs["json"] = body.to_dict()
26
+
27
+ headers["Content-Type"] = "application/json"
28
+
29
+ _kwargs["headers"] = headers
30
+ return _kwargs
31
+
32
+
33
+ def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Any:
34
+ if response.status_code == 200:
35
+ return None
36
+ raise errors.UnexpectedStatus(response.status_code, response.content)
37
+
38
+
39
+ def _build_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Response[Any]:
40
+ return Response(
41
+ status_code=HTTPStatus(response.status_code),
42
+ content=response.content,
43
+ headers=response.headers,
44
+ parsed=_parse_response(client=client, response=response),
45
+ )
46
+
47
+
48
+ def sync_detailed(
49
+ uuid: UUID,
50
+ *,
51
+ client: AuthenticatedClient,
52
+ body: OfferingComplianceChecklistUpdateRequest,
53
+ ) -> Response[Any]:
54
+ """
55
+ Args:
56
+ uuid (UUID):
57
+ body (OfferingComplianceChecklistUpdateRequest):
58
+
59
+ Raises:
60
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
61
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
62
+
63
+ Returns:
64
+ Response[Any]
65
+ """
66
+
67
+ kwargs = _get_kwargs(
68
+ uuid=uuid,
69
+ body=body,
70
+ )
71
+
72
+ response = client.get_httpx_client().request(
73
+ **kwargs,
74
+ )
75
+
76
+ return _build_response(client=client, response=response)
77
+
78
+
79
+ async def asyncio_detailed(
80
+ uuid: UUID,
81
+ *,
82
+ client: AuthenticatedClient,
83
+ body: OfferingComplianceChecklistUpdateRequest,
84
+ ) -> Response[Any]:
85
+ """
86
+ Args:
87
+ uuid (UUID):
88
+ body (OfferingComplianceChecklistUpdateRequest):
89
+
90
+ Raises:
91
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
92
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
93
+
94
+ Returns:
95
+ Response[Any]
96
+ """
97
+
98
+ kwargs = _get_kwargs(
99
+ uuid=uuid,
100
+ body=body,
101
+ )
102
+
103
+ response = await client.get_async_httpx_client().request(**kwargs)
104
+
105
+ return _build_response(client=client, response=response)
@@ -43,6 +43,7 @@ def _get_kwargs(
43
43
  shared: Union[Unset, bool] = UNSET,
44
44
  state: Union[Unset, list[MarketplacePublicOfferingsCountStateItem]] = UNSET,
45
45
  type_: Union[Unset, list[str]] = UNSET,
46
+ user_has_consent: Union[Unset, bool] = UNSET,
46
47
  uuid_list: Union[Unset, str] = UNSET,
47
48
  ) -> dict[str, Any]:
48
49
  params: dict[str, Any] = {}
@@ -163,6 +164,8 @@ def _get_kwargs(
163
164
 
164
165
  params["type"] = json_type_
165
166
 
167
+ params["user_has_consent"] = user_has_consent
168
+
166
169
  params["uuid_list"] = uuid_list
167
170
 
168
171
  params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
@@ -232,6 +235,7 @@ def sync_detailed(
232
235
  shared: Union[Unset, bool] = UNSET,
233
236
  state: Union[Unset, list[MarketplacePublicOfferingsCountStateItem]] = UNSET,
234
237
  type_: Union[Unset, list[str]] = UNSET,
238
+ user_has_consent: Union[Unset, bool] = UNSET,
235
239
  uuid_list: Union[Unset, str] = UNSET,
236
240
  ) -> Response[int]:
237
241
  """Get number of items in the collection matching the request parameters.
@@ -266,6 +270,7 @@ def sync_detailed(
266
270
  shared (Union[Unset, bool]):
267
271
  state (Union[Unset, list[MarketplacePublicOfferingsCountStateItem]]):
268
272
  type_ (Union[Unset, list[str]]):
273
+ user_has_consent (Union[Unset, bool]):
269
274
  uuid_list (Union[Unset, str]):
270
275
 
271
276
  Raises:
@@ -306,6 +311,7 @@ def sync_detailed(
306
311
  shared=shared,
307
312
  state=state,
308
313
  type_=type_,
314
+ user_has_consent=user_has_consent,
309
315
  uuid_list=uuid_list,
310
316
  )
311
317
 
@@ -348,6 +354,7 @@ def sync(
348
354
  shared: Union[Unset, bool] = UNSET,
349
355
  state: Union[Unset, list[MarketplacePublicOfferingsCountStateItem]] = UNSET,
350
356
  type_: Union[Unset, list[str]] = UNSET,
357
+ user_has_consent: Union[Unset, bool] = UNSET,
351
358
  uuid_list: Union[Unset, str] = UNSET,
352
359
  ) -> int:
353
360
  """Get number of items in the collection matching the request parameters.
@@ -382,6 +389,7 @@ def sync(
382
389
  shared (Union[Unset, bool]):
383
390
  state (Union[Unset, list[MarketplacePublicOfferingsCountStateItem]]):
384
391
  type_ (Union[Unset, list[str]]):
392
+ user_has_consent (Union[Unset, bool]):
385
393
  uuid_list (Union[Unset, str]):
386
394
 
387
395
  Raises:
@@ -423,6 +431,7 @@ def sync(
423
431
  shared=shared,
424
432
  state=state,
425
433
  type_=type_,
434
+ user_has_consent=user_has_consent,
426
435
  uuid_list=uuid_list,
427
436
  ).parsed
428
437
 
@@ -459,6 +468,7 @@ async def asyncio_detailed(
459
468
  shared: Union[Unset, bool] = UNSET,
460
469
  state: Union[Unset, list[MarketplacePublicOfferingsCountStateItem]] = UNSET,
461
470
  type_: Union[Unset, list[str]] = UNSET,
471
+ user_has_consent: Union[Unset, bool] = UNSET,
462
472
  uuid_list: Union[Unset, str] = UNSET,
463
473
  ) -> Response[int]:
464
474
  """Get number of items in the collection matching the request parameters.
@@ -493,6 +503,7 @@ async def asyncio_detailed(
493
503
  shared (Union[Unset, bool]):
494
504
  state (Union[Unset, list[MarketplacePublicOfferingsCountStateItem]]):
495
505
  type_ (Union[Unset, list[str]]):
506
+ user_has_consent (Union[Unset, bool]):
496
507
  uuid_list (Union[Unset, str]):
497
508
 
498
509
  Raises:
@@ -533,6 +544,7 @@ async def asyncio_detailed(
533
544
  shared=shared,
534
545
  state=state,
535
546
  type_=type_,
547
+ user_has_consent=user_has_consent,
536
548
  uuid_list=uuid_list,
537
549
  )
538
550
 
@@ -573,6 +585,7 @@ async def asyncio(
573
585
  shared: Union[Unset, bool] = UNSET,
574
586
  state: Union[Unset, list[MarketplacePublicOfferingsCountStateItem]] = UNSET,
575
587
  type_: Union[Unset, list[str]] = UNSET,
588
+ user_has_consent: Union[Unset, bool] = UNSET,
576
589
  uuid_list: Union[Unset, str] = UNSET,
577
590
  ) -> int:
578
591
  """Get number of items in the collection matching the request parameters.
@@ -607,6 +620,7 @@ async def asyncio(
607
620
  shared (Union[Unset, bool]):
608
621
  state (Union[Unset, list[MarketplacePublicOfferingsCountStateItem]]):
609
622
  type_ (Union[Unset, list[str]]):
623
+ user_has_consent (Union[Unset, bool]):
610
624
  uuid_list (Union[Unset, str]):
611
625
 
612
626
  Raises:
@@ -649,6 +663,7 @@ async def asyncio(
649
663
  shared=shared,
650
664
  state=state,
651
665
  type_=type_,
666
+ user_has_consent=user_has_consent,
652
667
  uuid_list=uuid_list,
653
668
  )
654
669
  ).parsed
@@ -46,6 +46,7 @@ def _get_kwargs(
46
46
  shared: Union[Unset, bool] = UNSET,
47
47
  state: Union[Unset, list[MarketplacePublicOfferingsListStateItem]] = UNSET,
48
48
  type_: Union[Unset, list[str]] = UNSET,
49
+ user_has_consent: Union[Unset, bool] = UNSET,
49
50
  uuid_list: Union[Unset, str] = UNSET,
50
51
  ) -> dict[str, Any]:
51
52
  params: dict[str, Any] = {}
@@ -175,6 +176,8 @@ def _get_kwargs(
175
176
 
176
177
  params["type"] = json_type_
177
178
 
179
+ params["user_has_consent"] = user_has_consent
180
+
178
181
  params["uuid_list"] = uuid_list
179
182
 
180
183
  params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
@@ -247,6 +250,7 @@ def sync_detailed(
247
250
  shared: Union[Unset, bool] = UNSET,
248
251
  state: Union[Unset, list[MarketplacePublicOfferingsListStateItem]] = UNSET,
249
252
  type_: Union[Unset, list[str]] = UNSET,
253
+ user_has_consent: Union[Unset, bool] = UNSET,
250
254
  uuid_list: Union[Unset, str] = UNSET,
251
255
  ) -> Response[list["PublicOfferingDetails"]]:
252
256
  """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
@@ -282,6 +286,7 @@ def sync_detailed(
282
286
  shared (Union[Unset, bool]):
283
287
  state (Union[Unset, list[MarketplacePublicOfferingsListStateItem]]):
284
288
  type_ (Union[Unset, list[str]]):
289
+ user_has_consent (Union[Unset, bool]):
285
290
  uuid_list (Union[Unset, str]):
286
291
 
287
292
  Raises:
@@ -323,6 +328,7 @@ def sync_detailed(
323
328
  shared=shared,
324
329
  state=state,
325
330
  type_=type_,
331
+ user_has_consent=user_has_consent,
326
332
  uuid_list=uuid_list,
327
333
  )
328
334
 
@@ -366,6 +372,7 @@ def sync(
366
372
  shared: Union[Unset, bool] = UNSET,
367
373
  state: Union[Unset, list[MarketplacePublicOfferingsListStateItem]] = UNSET,
368
374
  type_: Union[Unset, list[str]] = UNSET,
375
+ user_has_consent: Union[Unset, bool] = UNSET,
369
376
  uuid_list: Union[Unset, str] = UNSET,
370
377
  ) -> list["PublicOfferingDetails"]:
371
378
  """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
@@ -401,6 +408,7 @@ def sync(
401
408
  shared (Union[Unset, bool]):
402
409
  state (Union[Unset, list[MarketplacePublicOfferingsListStateItem]]):
403
410
  type_ (Union[Unset, list[str]]):
411
+ user_has_consent (Union[Unset, bool]):
404
412
  uuid_list (Union[Unset, str]):
405
413
 
406
414
  Raises:
@@ -443,6 +451,7 @@ def sync(
443
451
  shared=shared,
444
452
  state=state,
445
453
  type_=type_,
454
+ user_has_consent=user_has_consent,
446
455
  uuid_list=uuid_list,
447
456
  ).parsed
448
457
 
@@ -480,6 +489,7 @@ async def asyncio_detailed(
480
489
  shared: Union[Unset, bool] = UNSET,
481
490
  state: Union[Unset, list[MarketplacePublicOfferingsListStateItem]] = UNSET,
482
491
  type_: Union[Unset, list[str]] = UNSET,
492
+ user_has_consent: Union[Unset, bool] = UNSET,
483
493
  uuid_list: Union[Unset, str] = UNSET,
484
494
  ) -> Response[list["PublicOfferingDetails"]]:
485
495
  """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
@@ -515,6 +525,7 @@ async def asyncio_detailed(
515
525
  shared (Union[Unset, bool]):
516
526
  state (Union[Unset, list[MarketplacePublicOfferingsListStateItem]]):
517
527
  type_ (Union[Unset, list[str]]):
528
+ user_has_consent (Union[Unset, bool]):
518
529
  uuid_list (Union[Unset, str]):
519
530
 
520
531
  Raises:
@@ -556,6 +567,7 @@ async def asyncio_detailed(
556
567
  shared=shared,
557
568
  state=state,
558
569
  type_=type_,
570
+ user_has_consent=user_has_consent,
559
571
  uuid_list=uuid_list,
560
572
  )
561
573
 
@@ -597,6 +609,7 @@ async def asyncio(
597
609
  shared: Union[Unset, bool] = UNSET,
598
610
  state: Union[Unset, list[MarketplacePublicOfferingsListStateItem]] = UNSET,
599
611
  type_: Union[Unset, list[str]] = UNSET,
612
+ user_has_consent: Union[Unset, bool] = UNSET,
600
613
  uuid_list: Union[Unset, str] = UNSET,
601
614
  ) -> list["PublicOfferingDetails"]:
602
615
  """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
@@ -632,6 +645,7 @@ async def asyncio(
632
645
  shared (Union[Unset, bool]):
633
646
  state (Union[Unset, list[MarketplacePublicOfferingsListStateItem]]):
634
647
  type_ (Union[Unset, list[str]]):
648
+ user_has_consent (Union[Unset, bool]):
635
649
  uuid_list (Union[Unset, str]):
636
650
 
637
651
  Raises:
@@ -675,6 +689,7 @@ async def asyncio(
675
689
  shared=shared,
676
690
  state=state,
677
691
  type_=type_,
692
+ user_has_consent=user_has_consent,
678
693
  uuid_list=uuid_list,
679
694
  )
680
695
  ).parsed