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
@@ -7,6 +7,9 @@ import httpx
7
7
  from ... import errors
8
8
  from ...client import AuthenticatedClient, Client
9
9
  from ...models.customer_service_account import CustomerServiceAccount
10
+ from ...models.marketplace_customer_service_accounts_list_state_item import (
11
+ MarketplaceCustomerServiceAccountsListStateItem,
12
+ )
10
13
  from ...types import UNSET, Response, Unset
11
14
 
12
15
 
@@ -17,6 +20,7 @@ def _get_kwargs(
17
20
  email: Union[Unset, str] = UNSET,
18
21
  page: Union[Unset, int] = UNSET,
19
22
  page_size: Union[Unset, int] = UNSET,
23
+ state: Union[Unset, list[MarketplaceCustomerServiceAccountsListStateItem]] = UNSET,
20
24
  username: Union[Unset, str] = UNSET,
21
25
  ) -> dict[str, Any]:
22
26
  params: dict[str, Any] = {}
@@ -34,6 +38,15 @@ def _get_kwargs(
34
38
 
35
39
  params["page_size"] = page_size
36
40
 
41
+ json_state: Union[Unset, list[str]] = UNSET
42
+ if not isinstance(state, Unset):
43
+ json_state = []
44
+ for state_item_data in state:
45
+ state_item = state_item_data.value
46
+ json_state.append(state_item)
47
+
48
+ params["state"] = json_state
49
+
37
50
  params["username"] = username
38
51
 
39
52
  params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
@@ -81,6 +94,7 @@ def sync_detailed(
81
94
  email: Union[Unset, str] = UNSET,
82
95
  page: Union[Unset, int] = UNSET,
83
96
  page_size: Union[Unset, int] = UNSET,
97
+ state: Union[Unset, list[MarketplaceCustomerServiceAccountsListStateItem]] = UNSET,
84
98
  username: Union[Unset, str] = UNSET,
85
99
  ) -> Response[list["CustomerServiceAccount"]]:
86
100
  """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
@@ -91,6 +105,7 @@ def sync_detailed(
91
105
  email (Union[Unset, str]):
92
106
  page (Union[Unset, int]):
93
107
  page_size (Union[Unset, int]):
108
+ state (Union[Unset, list[MarketplaceCustomerServiceAccountsListStateItem]]):
94
109
  username (Union[Unset, str]):
95
110
 
96
111
  Raises:
@@ -107,6 +122,7 @@ def sync_detailed(
107
122
  email=email,
108
123
  page=page,
109
124
  page_size=page_size,
125
+ state=state,
110
126
  username=username,
111
127
  )
112
128
 
@@ -125,6 +141,7 @@ def sync(
125
141
  email: Union[Unset, str] = UNSET,
126
142
  page: Union[Unset, int] = UNSET,
127
143
  page_size: Union[Unset, int] = UNSET,
144
+ state: Union[Unset, list[MarketplaceCustomerServiceAccountsListStateItem]] = UNSET,
128
145
  username: Union[Unset, str] = UNSET,
129
146
  ) -> list["CustomerServiceAccount"]:
130
147
  """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
@@ -135,6 +152,7 @@ def sync(
135
152
  email (Union[Unset, str]):
136
153
  page (Union[Unset, int]):
137
154
  page_size (Union[Unset, int]):
155
+ state (Union[Unset, list[MarketplaceCustomerServiceAccountsListStateItem]]):
138
156
  username (Union[Unset, str]):
139
157
 
140
158
  Raises:
@@ -152,6 +170,7 @@ def sync(
152
170
  email=email,
153
171
  page=page,
154
172
  page_size=page_size,
173
+ state=state,
155
174
  username=username,
156
175
  ).parsed
157
176
 
@@ -164,6 +183,7 @@ async def asyncio_detailed(
164
183
  email: Union[Unset, str] = UNSET,
165
184
  page: Union[Unset, int] = UNSET,
166
185
  page_size: Union[Unset, int] = UNSET,
186
+ state: Union[Unset, list[MarketplaceCustomerServiceAccountsListStateItem]] = UNSET,
167
187
  username: Union[Unset, str] = UNSET,
168
188
  ) -> Response[list["CustomerServiceAccount"]]:
169
189
  """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
@@ -174,6 +194,7 @@ async def asyncio_detailed(
174
194
  email (Union[Unset, str]):
175
195
  page (Union[Unset, int]):
176
196
  page_size (Union[Unset, int]):
197
+ state (Union[Unset, list[MarketplaceCustomerServiceAccountsListStateItem]]):
177
198
  username (Union[Unset, str]):
178
199
 
179
200
  Raises:
@@ -190,6 +211,7 @@ async def asyncio_detailed(
190
211
  email=email,
191
212
  page=page,
192
213
  page_size=page_size,
214
+ state=state,
193
215
  username=username,
194
216
  )
195
217
 
@@ -206,6 +228,7 @@ async def asyncio(
206
228
  email: Union[Unset, str] = UNSET,
207
229
  page: Union[Unset, int] = UNSET,
208
230
  page_size: Union[Unset, int] = UNSET,
231
+ state: Union[Unset, list[MarketplaceCustomerServiceAccountsListStateItem]] = UNSET,
209
232
  username: Union[Unset, str] = UNSET,
210
233
  ) -> list["CustomerServiceAccount"]:
211
234
  """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
@@ -216,6 +239,7 @@ async def asyncio(
216
239
  email (Union[Unset, str]):
217
240
  page (Union[Unset, int]):
218
241
  page_size (Union[Unset, int]):
242
+ state (Union[Unset, list[MarketplaceCustomerServiceAccountsListStateItem]]):
219
243
  username (Union[Unset, str]):
220
244
 
221
245
  Raises:
@@ -234,6 +258,7 @@ async def asyncio(
234
258
  email=email,
235
259
  page=page,
236
260
  page_size=page_size,
261
+ state=state,
237
262
  username=username,
238
263
  )
239
264
  ).parsed
@@ -6,6 +6,9 @@ import httpx
6
6
 
7
7
  from ... import errors
8
8
  from ...client import AuthenticatedClient, Client
9
+ from ...models.marketplace_project_service_accounts_count_state_item import (
10
+ MarketplaceProjectServiceAccountsCountStateItem,
11
+ )
9
12
  from ...types import UNSET, Response, Unset
10
13
 
11
14
 
@@ -16,6 +19,7 @@ def _get_kwargs(
16
19
  page_size: Union[Unset, int] = UNSET,
17
20
  project: Union[Unset, str] = UNSET,
18
21
  project_uuid: Union[Unset, UUID] = UNSET,
22
+ state: Union[Unset, list[MarketplaceProjectServiceAccountsCountStateItem]] = UNSET,
19
23
  username: Union[Unset, str] = UNSET,
20
24
  ) -> dict[str, Any]:
21
25
  params: dict[str, Any] = {}
@@ -33,6 +37,15 @@ def _get_kwargs(
33
37
  json_project_uuid = str(project_uuid)
34
38
  params["project_uuid"] = json_project_uuid
35
39
 
40
+ json_state: Union[Unset, list[str]] = UNSET
41
+ if not isinstance(state, Unset):
42
+ json_state = []
43
+ for state_item_data in state:
44
+ state_item = state_item_data.value
45
+ json_state.append(state_item)
46
+
47
+ params["state"] = json_state
48
+
36
49
  params["username"] = username
37
50
 
38
51
  params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
@@ -78,6 +91,7 @@ def sync_detailed(
78
91
  page_size: Union[Unset, int] = UNSET,
79
92
  project: Union[Unset, str] = UNSET,
80
93
  project_uuid: Union[Unset, UUID] = UNSET,
94
+ state: Union[Unset, list[MarketplaceProjectServiceAccountsCountStateItem]] = UNSET,
81
95
  username: Union[Unset, str] = UNSET,
82
96
  ) -> Response[int]:
83
97
  """Get number of items in the collection matching the request parameters.
@@ -88,6 +102,7 @@ def sync_detailed(
88
102
  page_size (Union[Unset, int]):
89
103
  project (Union[Unset, str]):
90
104
  project_uuid (Union[Unset, UUID]):
105
+ state (Union[Unset, list[MarketplaceProjectServiceAccountsCountStateItem]]):
91
106
  username (Union[Unset, str]):
92
107
 
93
108
  Raises:
@@ -104,6 +119,7 @@ def sync_detailed(
104
119
  page_size=page_size,
105
120
  project=project,
106
121
  project_uuid=project_uuid,
122
+ state=state,
107
123
  username=username,
108
124
  )
109
125
 
@@ -122,6 +138,7 @@ def sync(
122
138
  page_size: Union[Unset, int] = UNSET,
123
139
  project: Union[Unset, str] = UNSET,
124
140
  project_uuid: Union[Unset, UUID] = UNSET,
141
+ state: Union[Unset, list[MarketplaceProjectServiceAccountsCountStateItem]] = UNSET,
125
142
  username: Union[Unset, str] = UNSET,
126
143
  ) -> int:
127
144
  """Get number of items in the collection matching the request parameters.
@@ -132,6 +149,7 @@ def sync(
132
149
  page_size (Union[Unset, int]):
133
150
  project (Union[Unset, str]):
134
151
  project_uuid (Union[Unset, UUID]):
152
+ state (Union[Unset, list[MarketplaceProjectServiceAccountsCountStateItem]]):
135
153
  username (Union[Unset, str]):
136
154
 
137
155
  Raises:
@@ -149,6 +167,7 @@ def sync(
149
167
  page_size=page_size,
150
168
  project=project,
151
169
  project_uuid=project_uuid,
170
+ state=state,
152
171
  username=username,
153
172
  ).parsed
154
173
 
@@ -161,6 +180,7 @@ async def asyncio_detailed(
161
180
  page_size: Union[Unset, int] = UNSET,
162
181
  project: Union[Unset, str] = UNSET,
163
182
  project_uuid: Union[Unset, UUID] = UNSET,
183
+ state: Union[Unset, list[MarketplaceProjectServiceAccountsCountStateItem]] = UNSET,
164
184
  username: Union[Unset, str] = UNSET,
165
185
  ) -> Response[int]:
166
186
  """Get number of items in the collection matching the request parameters.
@@ -171,6 +191,7 @@ async def asyncio_detailed(
171
191
  page_size (Union[Unset, int]):
172
192
  project (Union[Unset, str]):
173
193
  project_uuid (Union[Unset, UUID]):
194
+ state (Union[Unset, list[MarketplaceProjectServiceAccountsCountStateItem]]):
174
195
  username (Union[Unset, str]):
175
196
 
176
197
  Raises:
@@ -187,6 +208,7 @@ async def asyncio_detailed(
187
208
  page_size=page_size,
188
209
  project=project,
189
210
  project_uuid=project_uuid,
211
+ state=state,
190
212
  username=username,
191
213
  )
192
214
 
@@ -203,6 +225,7 @@ async def asyncio(
203
225
  page_size: Union[Unset, int] = UNSET,
204
226
  project: Union[Unset, str] = UNSET,
205
227
  project_uuid: Union[Unset, UUID] = UNSET,
228
+ state: Union[Unset, list[MarketplaceProjectServiceAccountsCountStateItem]] = UNSET,
206
229
  username: Union[Unset, str] = UNSET,
207
230
  ) -> int:
208
231
  """Get number of items in the collection matching the request parameters.
@@ -213,6 +236,7 @@ async def asyncio(
213
236
  page_size (Union[Unset, int]):
214
237
  project (Union[Unset, str]):
215
238
  project_uuid (Union[Unset, UUID]):
239
+ state (Union[Unset, list[MarketplaceProjectServiceAccountsCountStateItem]]):
216
240
  username (Union[Unset, str]):
217
241
 
218
242
  Raises:
@@ -231,6 +255,7 @@ async def asyncio(
231
255
  page_size=page_size,
232
256
  project=project,
233
257
  project_uuid=project_uuid,
258
+ state=state,
234
259
  username=username,
235
260
  )
236
261
  ).parsed
@@ -6,6 +6,9 @@ import httpx
6
6
 
7
7
  from ... import errors
8
8
  from ...client import AuthenticatedClient, Client
9
+ from ...models.marketplace_project_service_accounts_list_state_item import (
10
+ MarketplaceProjectServiceAccountsListStateItem,
11
+ )
9
12
  from ...models.project_service_account import ProjectServiceAccount
10
13
  from ...types import UNSET, Response, Unset
11
14
 
@@ -17,6 +20,7 @@ def _get_kwargs(
17
20
  page_size: Union[Unset, int] = UNSET,
18
21
  project: Union[Unset, str] = UNSET,
19
22
  project_uuid: Union[Unset, UUID] = UNSET,
23
+ state: Union[Unset, list[MarketplaceProjectServiceAccountsListStateItem]] = UNSET,
20
24
  username: Union[Unset, str] = UNSET,
21
25
  ) -> dict[str, Any]:
22
26
  params: dict[str, Any] = {}
@@ -34,6 +38,15 @@ def _get_kwargs(
34
38
  json_project_uuid = str(project_uuid)
35
39
  params["project_uuid"] = json_project_uuid
36
40
 
41
+ json_state: Union[Unset, list[str]] = UNSET
42
+ if not isinstance(state, Unset):
43
+ json_state = []
44
+ for state_item_data in state:
45
+ state_item = state_item_data.value
46
+ json_state.append(state_item)
47
+
48
+ params["state"] = json_state
49
+
37
50
  params["username"] = username
38
51
 
39
52
  params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
@@ -81,6 +94,7 @@ def sync_detailed(
81
94
  page_size: Union[Unset, int] = UNSET,
82
95
  project: Union[Unset, str] = UNSET,
83
96
  project_uuid: Union[Unset, UUID] = UNSET,
97
+ state: Union[Unset, list[MarketplaceProjectServiceAccountsListStateItem]] = UNSET,
84
98
  username: Union[Unset, str] = UNSET,
85
99
  ) -> Response[list["ProjectServiceAccount"]]:
86
100
  """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
@@ -91,6 +105,7 @@ def sync_detailed(
91
105
  page_size (Union[Unset, int]):
92
106
  project (Union[Unset, str]):
93
107
  project_uuid (Union[Unset, UUID]):
108
+ state (Union[Unset, list[MarketplaceProjectServiceAccountsListStateItem]]):
94
109
  username (Union[Unset, str]):
95
110
 
96
111
  Raises:
@@ -107,6 +122,7 @@ def sync_detailed(
107
122
  page_size=page_size,
108
123
  project=project,
109
124
  project_uuid=project_uuid,
125
+ state=state,
110
126
  username=username,
111
127
  )
112
128
 
@@ -125,6 +141,7 @@ def sync(
125
141
  page_size: Union[Unset, int] = UNSET,
126
142
  project: Union[Unset, str] = UNSET,
127
143
  project_uuid: Union[Unset, UUID] = UNSET,
144
+ state: Union[Unset, list[MarketplaceProjectServiceAccountsListStateItem]] = UNSET,
128
145
  username: Union[Unset, str] = UNSET,
129
146
  ) -> list["ProjectServiceAccount"]:
130
147
  """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
@@ -135,6 +152,7 @@ def sync(
135
152
  page_size (Union[Unset, int]):
136
153
  project (Union[Unset, str]):
137
154
  project_uuid (Union[Unset, UUID]):
155
+ state (Union[Unset, list[MarketplaceProjectServiceAccountsListStateItem]]):
138
156
  username (Union[Unset, str]):
139
157
 
140
158
  Raises:
@@ -152,6 +170,7 @@ def sync(
152
170
  page_size=page_size,
153
171
  project=project,
154
172
  project_uuid=project_uuid,
173
+ state=state,
155
174
  username=username,
156
175
  ).parsed
157
176
 
@@ -164,6 +183,7 @@ async def asyncio_detailed(
164
183
  page_size: Union[Unset, int] = UNSET,
165
184
  project: Union[Unset, str] = UNSET,
166
185
  project_uuid: Union[Unset, UUID] = UNSET,
186
+ state: Union[Unset, list[MarketplaceProjectServiceAccountsListStateItem]] = UNSET,
167
187
  username: Union[Unset, str] = UNSET,
168
188
  ) -> Response[list["ProjectServiceAccount"]]:
169
189
  """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
@@ -174,6 +194,7 @@ async def asyncio_detailed(
174
194
  page_size (Union[Unset, int]):
175
195
  project (Union[Unset, str]):
176
196
  project_uuid (Union[Unset, UUID]):
197
+ state (Union[Unset, list[MarketplaceProjectServiceAccountsListStateItem]]):
177
198
  username (Union[Unset, str]):
178
199
 
179
200
  Raises:
@@ -190,6 +211,7 @@ async def asyncio_detailed(
190
211
  page_size=page_size,
191
212
  project=project,
192
213
  project_uuid=project_uuid,
214
+ state=state,
193
215
  username=username,
194
216
  )
195
217
 
@@ -206,6 +228,7 @@ async def asyncio(
206
228
  page_size: Union[Unset, int] = UNSET,
207
229
  project: Union[Unset, str] = UNSET,
208
230
  project_uuid: Union[Unset, UUID] = UNSET,
231
+ state: Union[Unset, list[MarketplaceProjectServiceAccountsListStateItem]] = UNSET,
209
232
  username: Union[Unset, str] = UNSET,
210
233
  ) -> list["ProjectServiceAccount"]:
211
234
  """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
@@ -216,6 +239,7 @@ async def asyncio(
216
239
  page_size (Union[Unset, int]):
217
240
  project (Union[Unset, str]):
218
241
  project_uuid (Union[Unset, UUID]):
242
+ state (Union[Unset, list[MarketplaceProjectServiceAccountsListStateItem]]):
219
243
  username (Union[Unset, str]):
220
244
 
221
245
  Raises:
@@ -234,6 +258,7 @@ async def asyncio(
234
258
  page_size=page_size,
235
259
  project=project,
236
260
  project_uuid=project_uuid,
261
+ state=state,
237
262
  username=username,
238
263
  )
239
264
  ).parsed
@@ -31,6 +31,8 @@ def _get_kwargs(
31
31
  customer_uuid: Union[Unset, UUID] = UNSET,
32
32
  description: Union[Unset, str] = UNSET,
33
33
  end: Union[Unset, str] = UNSET,
34
+ has_active_terms_of_service: Union[Unset, bool] = UNSET,
35
+ has_terms_of_service: Union[Unset, bool] = UNSET,
34
36
  keyword: Union[Unset, str] = UNSET,
35
37
  modified: Union[Unset, datetime.datetime] = UNSET,
36
38
  name: Union[Unset, str] = UNSET,
@@ -90,6 +92,10 @@ def _get_kwargs(
90
92
 
91
93
  params["end"] = end
92
94
 
95
+ params["has_active_terms_of_service"] = has_active_terms_of_service
96
+
97
+ params["has_terms_of_service"] = has_terms_of_service
98
+
93
99
  params["keyword"] = keyword
94
100
 
95
101
  json_modified: Union[Unset, str] = UNSET
@@ -223,6 +229,8 @@ def sync_detailed(
223
229
  customer_uuid: Union[Unset, UUID] = UNSET,
224
230
  description: Union[Unset, str] = UNSET,
225
231
  end: Union[Unset, str] = UNSET,
232
+ has_active_terms_of_service: Union[Unset, bool] = UNSET,
233
+ has_terms_of_service: Union[Unset, bool] = UNSET,
226
234
  keyword: Union[Unset, str] = UNSET,
227
235
  modified: Union[Unset, datetime.datetime] = UNSET,
228
236
  name: Union[Unset, str] = UNSET,
@@ -258,6 +266,8 @@ def sync_detailed(
258
266
  customer_uuid (Union[Unset, UUID]):
259
267
  description (Union[Unset, str]):
260
268
  end (Union[Unset, str]):
269
+ has_active_terms_of_service (Union[Unset, bool]):
270
+ has_terms_of_service (Union[Unset, bool]):
261
271
  keyword (Union[Unset, str]):
262
272
  modified (Union[Unset, datetime.datetime]):
263
273
  name (Union[Unset, str]):
@@ -299,6 +309,8 @@ def sync_detailed(
299
309
  customer_uuid=customer_uuid,
300
310
  description=description,
301
311
  end=end,
312
+ has_active_terms_of_service=has_active_terms_of_service,
313
+ has_terms_of_service=has_terms_of_service,
302
314
  keyword=keyword,
303
315
  modified=modified,
304
316
  name=name,
@@ -342,6 +354,8 @@ def sync(
342
354
  customer_uuid: Union[Unset, UUID] = UNSET,
343
355
  description: Union[Unset, str] = UNSET,
344
356
  end: Union[Unset, str] = UNSET,
357
+ has_active_terms_of_service: Union[Unset, bool] = UNSET,
358
+ has_terms_of_service: Union[Unset, bool] = UNSET,
345
359
  keyword: Union[Unset, str] = UNSET,
346
360
  modified: Union[Unset, datetime.datetime] = UNSET,
347
361
  name: Union[Unset, str] = UNSET,
@@ -377,6 +391,8 @@ def sync(
377
391
  customer_uuid (Union[Unset, UUID]):
378
392
  description (Union[Unset, str]):
379
393
  end (Union[Unset, str]):
394
+ has_active_terms_of_service (Union[Unset, bool]):
395
+ has_terms_of_service (Union[Unset, bool]):
380
396
  keyword (Union[Unset, str]):
381
397
  modified (Union[Unset, datetime.datetime]):
382
398
  name (Union[Unset, str]):
@@ -419,6 +435,8 @@ def sync(
419
435
  customer_uuid=customer_uuid,
420
436
  description=description,
421
437
  end=end,
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,
@@ -456,6 +474,8 @@ async def asyncio_detailed(
456
474
  customer_uuid: Union[Unset, UUID] = UNSET,
457
475
  description: Union[Unset, str] = UNSET,
458
476
  end: Union[Unset, str] = UNSET,
477
+ has_active_terms_of_service: Union[Unset, bool] = UNSET,
478
+ has_terms_of_service: Union[Unset, bool] = UNSET,
459
479
  keyword: Union[Unset, str] = UNSET,
460
480
  modified: Union[Unset, datetime.datetime] = UNSET,
461
481
  name: Union[Unset, str] = UNSET,
@@ -491,6 +511,8 @@ async def asyncio_detailed(
491
511
  customer_uuid (Union[Unset, UUID]):
492
512
  description (Union[Unset, str]):
493
513
  end (Union[Unset, str]):
514
+ has_active_terms_of_service (Union[Unset, bool]):
515
+ has_terms_of_service (Union[Unset, bool]):
494
516
  keyword (Union[Unset, str]):
495
517
  modified (Union[Unset, datetime.datetime]):
496
518
  name (Union[Unset, str]):
@@ -532,6 +554,8 @@ async def asyncio_detailed(
532
554
  customer_uuid=customer_uuid,
533
555
  description=description,
534
556
  end=end,
557
+ has_active_terms_of_service=has_active_terms_of_service,
558
+ has_terms_of_service=has_terms_of_service,
535
559
  keyword=keyword,
536
560
  modified=modified,
537
561
  name=name,
@@ -573,6 +597,8 @@ async def asyncio(
573
597
  customer_uuid: Union[Unset, UUID] = UNSET,
574
598
  description: Union[Unset, str] = UNSET,
575
599
  end: Union[Unset, str] = UNSET,
600
+ has_active_terms_of_service: Union[Unset, bool] = UNSET,
601
+ has_terms_of_service: Union[Unset, bool] = UNSET,
576
602
  keyword: Union[Unset, str] = UNSET,
577
603
  modified: Union[Unset, datetime.datetime] = UNSET,
578
604
  name: Union[Unset, str] = UNSET,
@@ -608,6 +634,8 @@ async def asyncio(
608
634
  customer_uuid (Union[Unset, UUID]):
609
635
  description (Union[Unset, str]):
610
636
  end (Union[Unset, str]):
637
+ has_active_terms_of_service (Union[Unset, bool]):
638
+ has_terms_of_service (Union[Unset, bool]):
611
639
  keyword (Union[Unset, str]):
612
640
  modified (Union[Unset, datetime.datetime]):
613
641
  name (Union[Unset, str]):
@@ -651,6 +679,8 @@ async def asyncio(
651
679
  customer_uuid=customer_uuid,
652
680
  description=description,
653
681
  end=end,
682
+ has_active_terms_of_service=has_active_terms_of_service,
683
+ has_terms_of_service=has_terms_of_service,
654
684
  keyword=keyword,
655
685
  modified=modified,
656
686
  name=name,
@@ -30,6 +30,8 @@ def _get_kwargs(
30
30
  customer_uuid: Union[Unset, UUID] = UNSET,
31
31
  description: Union[Unset, str] = UNSET,
32
32
  end: Union[Unset, str] = UNSET,
33
+ has_active_terms_of_service: Union[Unset, bool] = UNSET,
34
+ has_terms_of_service: Union[Unset, bool] = UNSET,
33
35
  keyword: Union[Unset, str] = UNSET,
34
36
  modified: Union[Unset, datetime.datetime] = UNSET,
35
37
  name: Union[Unset, str] = UNSET,
@@ -91,6 +93,10 @@ def _get_kwargs(
91
93
 
92
94
  params["end"] = end
93
95
 
96
+ params["has_active_terms_of_service"] = has_active_terms_of_service
97
+
98
+ params["has_terms_of_service"] = has_terms_of_service
99
+
94
100
  params["keyword"] = keyword
95
101
 
96
102
  json_modified: Union[Unset, str] = UNSET
@@ -225,6 +231,8 @@ def sync_detailed(
225
231
  customer_uuid: Union[Unset, UUID] = UNSET,
226
232
  description: Union[Unset, str] = UNSET,
227
233
  end: Union[Unset, str] = UNSET,
234
+ has_active_terms_of_service: Union[Unset, bool] = UNSET,
235
+ has_terms_of_service: Union[Unset, bool] = UNSET,
228
236
  keyword: Union[Unset, str] = UNSET,
229
237
  modified: Union[Unset, datetime.datetime] = UNSET,
230
238
  name: Union[Unset, str] = UNSET,
@@ -261,6 +269,8 @@ def sync_detailed(
261
269
  customer_uuid (Union[Unset, UUID]):
262
270
  description (Union[Unset, str]):
263
271
  end (Union[Unset, str]):
272
+ has_active_terms_of_service (Union[Unset, bool]):
273
+ has_terms_of_service (Union[Unset, bool]):
264
274
  keyword (Union[Unset, str]):
265
275
  modified (Union[Unset, datetime.datetime]):
266
276
  name (Union[Unset, str]):
@@ -303,6 +313,8 @@ def sync_detailed(
303
313
  customer_uuid=customer_uuid,
304
314
  description=description,
305
315
  end=end,
316
+ has_active_terms_of_service=has_active_terms_of_service,
317
+ has_terms_of_service=has_terms_of_service,
306
318
  keyword=keyword,
307
319
  modified=modified,
308
320
  name=name,
@@ -347,6 +359,8 @@ def sync(
347
359
  customer_uuid: Union[Unset, UUID] = UNSET,
348
360
  description: Union[Unset, str] = UNSET,
349
361
  end: Union[Unset, str] = UNSET,
362
+ has_active_terms_of_service: Union[Unset, bool] = UNSET,
363
+ has_terms_of_service: Union[Unset, bool] = UNSET,
350
364
  keyword: Union[Unset, str] = UNSET,
351
365
  modified: Union[Unset, datetime.datetime] = UNSET,
352
366
  name: Union[Unset, str] = UNSET,
@@ -383,6 +397,8 @@ def sync(
383
397
  customer_uuid (Union[Unset, UUID]):
384
398
  description (Union[Unset, str]):
385
399
  end (Union[Unset, str]):
400
+ has_active_terms_of_service (Union[Unset, bool]):
401
+ has_terms_of_service (Union[Unset, bool]):
386
402
  keyword (Union[Unset, str]):
387
403
  modified (Union[Unset, datetime.datetime]):
388
404
  name (Union[Unset, str]):
@@ -426,6 +442,8 @@ def sync(
426
442
  customer_uuid=customer_uuid,
427
443
  description=description,
428
444
  end=end,
445
+ has_active_terms_of_service=has_active_terms_of_service,
446
+ has_terms_of_service=has_terms_of_service,
429
447
  keyword=keyword,
430
448
  modified=modified,
431
449
  name=name,
@@ -464,6 +482,8 @@ async def asyncio_detailed(
464
482
  customer_uuid: Union[Unset, UUID] = UNSET,
465
483
  description: Union[Unset, str] = UNSET,
466
484
  end: Union[Unset, str] = UNSET,
485
+ has_active_terms_of_service: Union[Unset, bool] = UNSET,
486
+ has_terms_of_service: Union[Unset, bool] = UNSET,
467
487
  keyword: Union[Unset, str] = UNSET,
468
488
  modified: Union[Unset, datetime.datetime] = UNSET,
469
489
  name: Union[Unset, str] = UNSET,
@@ -500,6 +520,8 @@ async def asyncio_detailed(
500
520
  customer_uuid (Union[Unset, UUID]):
501
521
  description (Union[Unset, str]):
502
522
  end (Union[Unset, str]):
523
+ has_active_terms_of_service (Union[Unset, bool]):
524
+ has_terms_of_service (Union[Unset, bool]):
503
525
  keyword (Union[Unset, str]):
504
526
  modified (Union[Unset, datetime.datetime]):
505
527
  name (Union[Unset, str]):
@@ -542,6 +564,8 @@ async def asyncio_detailed(
542
564
  customer_uuid=customer_uuid,
543
565
  description=description,
544
566
  end=end,
567
+ has_active_terms_of_service=has_active_terms_of_service,
568
+ has_terms_of_service=has_terms_of_service,
545
569
  keyword=keyword,
546
570
  modified=modified,
547
571
  name=name,
@@ -584,6 +608,8 @@ async def asyncio(
584
608
  customer_uuid: Union[Unset, UUID] = UNSET,
585
609
  description: Union[Unset, str] = UNSET,
586
610
  end: Union[Unset, str] = UNSET,
611
+ has_active_terms_of_service: Union[Unset, bool] = UNSET,
612
+ has_terms_of_service: Union[Unset, bool] = UNSET,
587
613
  keyword: Union[Unset, str] = UNSET,
588
614
  modified: Union[Unset, datetime.datetime] = UNSET,
589
615
  name: Union[Unset, str] = UNSET,
@@ -620,6 +646,8 @@ async def asyncio(
620
646
  customer_uuid (Union[Unset, UUID]):
621
647
  description (Union[Unset, str]):
622
648
  end (Union[Unset, str]):
649
+ has_active_terms_of_service (Union[Unset, bool]):
650
+ has_terms_of_service (Union[Unset, bool]):
623
651
  keyword (Union[Unset, str]):
624
652
  modified (Union[Unset, datetime.datetime]):
625
653
  name (Union[Unset, str]):
@@ -664,6 +692,8 @@ async def asyncio(
664
692
  customer_uuid=customer_uuid,
665
693
  description=description,
666
694
  end=end,
695
+ has_active_terms_of_service=has_active_terms_of_service,
696
+ has_terms_of_service=has_terms_of_service,
667
697
  keyword=keyword,
668
698
  modified=modified,
669
699
  name=name,