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
@@ -1,3 +1,4 @@
1
+ import datetime
1
2
  from http import HTTPStatus
2
3
  from typing import Any, Union
3
4
  from uuid import UUID
@@ -12,6 +13,7 @@ from ...types import UNSET, Response, Unset
12
13
 
13
14
  def _get_kwargs(
14
15
  *,
16
+ closed: Union[Unset, datetime.datetime] = UNSET,
15
17
  customer_uuid: Union[Unset, UUID] = UNSET,
16
18
  is_pending: Union[Unset, bool] = UNSET,
17
19
  o: Union[Unset, list[CustomerPermissionsReviewsCountOItem]] = UNSET,
@@ -21,6 +23,11 @@ def _get_kwargs(
21
23
  ) -> dict[str, Any]:
22
24
  params: dict[str, Any] = {}
23
25
 
26
+ json_closed: Union[Unset, str] = UNSET
27
+ if not isinstance(closed, Unset):
28
+ json_closed = closed.isoformat()
29
+ params["closed"] = json_closed
30
+
24
31
  json_customer_uuid: Union[Unset, str] = UNSET
25
32
  if not isinstance(customer_uuid, Unset):
26
33
  json_customer_uuid = str(customer_uuid)
@@ -84,6 +91,7 @@ def _build_response(*, client: Union[AuthenticatedClient, Client], response: htt
84
91
  def sync_detailed(
85
92
  *,
86
93
  client: AuthenticatedClient,
94
+ closed: Union[Unset, datetime.datetime] = UNSET,
87
95
  customer_uuid: Union[Unset, UUID] = UNSET,
88
96
  is_pending: Union[Unset, bool] = UNSET,
89
97
  o: Union[Unset, list[CustomerPermissionsReviewsCountOItem]] = UNSET,
@@ -94,6 +102,7 @@ def sync_detailed(
94
102
  """Get number of items in the collection matching the request parameters.
95
103
 
96
104
  Args:
105
+ closed (Union[Unset, datetime.datetime]):
97
106
  customer_uuid (Union[Unset, UUID]):
98
107
  is_pending (Union[Unset, bool]):
99
108
  o (Union[Unset, list[CustomerPermissionsReviewsCountOItem]]):
@@ -110,6 +119,7 @@ def sync_detailed(
110
119
  """
111
120
 
112
121
  kwargs = _get_kwargs(
122
+ closed=closed,
113
123
  customer_uuid=customer_uuid,
114
124
  is_pending=is_pending,
115
125
  o=o,
@@ -128,6 +138,7 @@ def sync_detailed(
128
138
  def sync(
129
139
  *,
130
140
  client: AuthenticatedClient,
141
+ closed: Union[Unset, datetime.datetime] = UNSET,
131
142
  customer_uuid: Union[Unset, UUID] = UNSET,
132
143
  is_pending: Union[Unset, bool] = UNSET,
133
144
  o: Union[Unset, list[CustomerPermissionsReviewsCountOItem]] = UNSET,
@@ -138,6 +149,7 @@ def sync(
138
149
  """Get number of items in the collection matching the request parameters.
139
150
 
140
151
  Args:
152
+ closed (Union[Unset, datetime.datetime]):
141
153
  customer_uuid (Union[Unset, UUID]):
142
154
  is_pending (Union[Unset, bool]):
143
155
  o (Union[Unset, list[CustomerPermissionsReviewsCountOItem]]):
@@ -155,6 +167,7 @@ def sync(
155
167
 
156
168
  return sync_detailed(
157
169
  client=client,
170
+ closed=closed,
158
171
  customer_uuid=customer_uuid,
159
172
  is_pending=is_pending,
160
173
  o=o,
@@ -167,6 +180,7 @@ def sync(
167
180
  async def asyncio_detailed(
168
181
  *,
169
182
  client: AuthenticatedClient,
183
+ closed: Union[Unset, datetime.datetime] = UNSET,
170
184
  customer_uuid: Union[Unset, UUID] = UNSET,
171
185
  is_pending: Union[Unset, bool] = UNSET,
172
186
  o: Union[Unset, list[CustomerPermissionsReviewsCountOItem]] = UNSET,
@@ -177,6 +191,7 @@ async def asyncio_detailed(
177
191
  """Get number of items in the collection matching the request parameters.
178
192
 
179
193
  Args:
194
+ closed (Union[Unset, datetime.datetime]):
180
195
  customer_uuid (Union[Unset, UUID]):
181
196
  is_pending (Union[Unset, bool]):
182
197
  o (Union[Unset, list[CustomerPermissionsReviewsCountOItem]]):
@@ -193,6 +208,7 @@ async def asyncio_detailed(
193
208
  """
194
209
 
195
210
  kwargs = _get_kwargs(
211
+ closed=closed,
196
212
  customer_uuid=customer_uuid,
197
213
  is_pending=is_pending,
198
214
  o=o,
@@ -209,6 +225,7 @@ async def asyncio_detailed(
209
225
  async def asyncio(
210
226
  *,
211
227
  client: AuthenticatedClient,
228
+ closed: Union[Unset, datetime.datetime] = UNSET,
212
229
  customer_uuid: Union[Unset, UUID] = UNSET,
213
230
  is_pending: Union[Unset, bool] = UNSET,
214
231
  o: Union[Unset, list[CustomerPermissionsReviewsCountOItem]] = UNSET,
@@ -219,6 +236,7 @@ async def asyncio(
219
236
  """Get number of items in the collection matching the request parameters.
220
237
 
221
238
  Args:
239
+ closed (Union[Unset, datetime.datetime]):
222
240
  customer_uuid (Union[Unset, UUID]):
223
241
  is_pending (Union[Unset, bool]):
224
242
  o (Union[Unset, list[CustomerPermissionsReviewsCountOItem]]):
@@ -237,6 +255,7 @@ async def asyncio(
237
255
  return (
238
256
  await asyncio_detailed(
239
257
  client=client,
258
+ closed=closed,
240
259
  customer_uuid=customer_uuid,
241
260
  is_pending=is_pending,
242
261
  o=o,
@@ -1,3 +1,4 @@
1
+ import datetime
1
2
  from http import HTTPStatus
2
3
  from typing import Any, Union
3
4
  from uuid import UUID
@@ -13,6 +14,7 @@ from ...types import UNSET, Response, Unset
13
14
 
14
15
  def _get_kwargs(
15
16
  *,
17
+ closed: Union[Unset, datetime.datetime] = UNSET,
16
18
  customer_uuid: Union[Unset, UUID] = UNSET,
17
19
  is_pending: Union[Unset, bool] = UNSET,
18
20
  o: Union[Unset, list[CustomerPermissionsReviewsListOItem]] = UNSET,
@@ -22,6 +24,11 @@ def _get_kwargs(
22
24
  ) -> dict[str, Any]:
23
25
  params: dict[str, Any] = {}
24
26
 
27
+ json_closed: Union[Unset, str] = UNSET
28
+ if not isinstance(closed, Unset):
29
+ json_closed = closed.isoformat()
30
+ params["closed"] = json_closed
31
+
25
32
  json_customer_uuid: Union[Unset, str] = UNSET
26
33
  if not isinstance(customer_uuid, Unset):
27
34
  json_customer_uuid = str(customer_uuid)
@@ -87,6 +94,7 @@ def _build_response(
87
94
  def sync_detailed(
88
95
  *,
89
96
  client: AuthenticatedClient,
97
+ closed: Union[Unset, datetime.datetime] = UNSET,
90
98
  customer_uuid: Union[Unset, UUID] = UNSET,
91
99
  is_pending: Union[Unset, bool] = UNSET,
92
100
  o: Union[Unset, list[CustomerPermissionsReviewsListOItem]] = UNSET,
@@ -97,6 +105,7 @@ def sync_detailed(
97
105
  """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
98
106
 
99
107
  Args:
108
+ closed (Union[Unset, datetime.datetime]):
100
109
  customer_uuid (Union[Unset, UUID]):
101
110
  is_pending (Union[Unset, bool]):
102
111
  o (Union[Unset, list[CustomerPermissionsReviewsListOItem]]):
@@ -113,6 +122,7 @@ def sync_detailed(
113
122
  """
114
123
 
115
124
  kwargs = _get_kwargs(
125
+ closed=closed,
116
126
  customer_uuid=customer_uuid,
117
127
  is_pending=is_pending,
118
128
  o=o,
@@ -131,6 +141,7 @@ def sync_detailed(
131
141
  def sync(
132
142
  *,
133
143
  client: AuthenticatedClient,
144
+ closed: Union[Unset, datetime.datetime] = UNSET,
134
145
  customer_uuid: Union[Unset, UUID] = UNSET,
135
146
  is_pending: Union[Unset, bool] = UNSET,
136
147
  o: Union[Unset, list[CustomerPermissionsReviewsListOItem]] = UNSET,
@@ -141,6 +152,7 @@ def sync(
141
152
  """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
142
153
 
143
154
  Args:
155
+ closed (Union[Unset, datetime.datetime]):
144
156
  customer_uuid (Union[Unset, UUID]):
145
157
  is_pending (Union[Unset, bool]):
146
158
  o (Union[Unset, list[CustomerPermissionsReviewsListOItem]]):
@@ -158,6 +170,7 @@ def sync(
158
170
 
159
171
  return sync_detailed(
160
172
  client=client,
173
+ closed=closed,
161
174
  customer_uuid=customer_uuid,
162
175
  is_pending=is_pending,
163
176
  o=o,
@@ -170,6 +183,7 @@ def sync(
170
183
  async def asyncio_detailed(
171
184
  *,
172
185
  client: AuthenticatedClient,
186
+ closed: Union[Unset, datetime.datetime] = UNSET,
173
187
  customer_uuid: Union[Unset, UUID] = UNSET,
174
188
  is_pending: Union[Unset, bool] = UNSET,
175
189
  o: Union[Unset, list[CustomerPermissionsReviewsListOItem]] = UNSET,
@@ -180,6 +194,7 @@ async def asyncio_detailed(
180
194
  """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
181
195
 
182
196
  Args:
197
+ closed (Union[Unset, datetime.datetime]):
183
198
  customer_uuid (Union[Unset, UUID]):
184
199
  is_pending (Union[Unset, bool]):
185
200
  o (Union[Unset, list[CustomerPermissionsReviewsListOItem]]):
@@ -196,6 +211,7 @@ async def asyncio_detailed(
196
211
  """
197
212
 
198
213
  kwargs = _get_kwargs(
214
+ closed=closed,
199
215
  customer_uuid=customer_uuid,
200
216
  is_pending=is_pending,
201
217
  o=o,
@@ -212,6 +228,7 @@ async def asyncio_detailed(
212
228
  async def asyncio(
213
229
  *,
214
230
  client: AuthenticatedClient,
231
+ closed: Union[Unset, datetime.datetime] = UNSET,
215
232
  customer_uuid: Union[Unset, UUID] = UNSET,
216
233
  is_pending: Union[Unset, bool] = UNSET,
217
234
  o: Union[Unset, list[CustomerPermissionsReviewsListOItem]] = UNSET,
@@ -222,6 +239,7 @@ async def asyncio(
222
239
  """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
223
240
 
224
241
  Args:
242
+ closed (Union[Unset, datetime.datetime]):
225
243
  customer_uuid (Union[Unset, UUID]):
226
244
  is_pending (Union[Unset, bool]):
227
245
  o (Union[Unset, list[CustomerPermissionsReviewsListOItem]]):
@@ -240,6 +258,7 @@ async def asyncio(
240
258
  return (
241
259
  await asyncio_detailed(
242
260
  client=client,
261
+ closed=closed,
243
262
  customer_uuid=customer_uuid,
244
263
  is_pending=is_pending,
245
264
  o=o,
@@ -1,3 +1,4 @@
1
+ import datetime
1
2
  from http import HTTPStatus
2
3
  from typing import Any, Union
3
4
  from uuid import UUID
@@ -8,35 +9,51 @@ from ... import errors
8
9
  from ...client import AuthenticatedClient, Client
9
10
  from ...models.customer_user import CustomerUser
10
11
  from ...models.customers_users_list_field_item import CustomersUsersListFieldItem
12
+ from ...models.customers_users_list_o import CustomersUsersListO
13
+ from ...models.customers_users_list_organization_role_item_type_0 import CustomersUsersListOrganizationRoleItemType0
14
+ from ...models.customers_users_list_project_role_item_type_0 import CustomersUsersListProjectRoleItemType0
11
15
  from ...types import UNSET, Response, Unset
12
16
 
13
17
 
14
18
  def _get_kwargs(
15
- uuid: UUID,
19
+ customer_uuid: UUID,
16
20
  *,
21
+ agreement_date: Union[Unset, datetime.datetime] = UNSET,
17
22
  civil_number: Union[Unset, str] = UNSET,
23
+ date_joined: Union[Unset, datetime.datetime] = UNSET,
18
24
  description: Union[Unset, str] = UNSET,
19
25
  email: Union[Unset, str] = UNSET,
20
26
  field: Union[Unset, list[CustomersUsersListFieldItem]] = UNSET,
21
27
  full_name: Union[Unset, str] = UNSET,
22
- is_active: Union[Unset, str] = UNSET,
28
+ is_active: Union[Unset, bool] = UNSET,
23
29
  job_title: Union[Unset, str] = UNSET,
30
+ modified: Union[Unset, datetime.datetime] = UNSET,
24
31
  native_name: Union[Unset, str] = UNSET,
25
- o: Union[Unset, str] = UNSET,
32
+ o: Union[Unset, CustomersUsersListO] = UNSET,
26
33
  organization: Union[Unset, str] = UNSET,
27
- organization_role: Union[Unset, str] = UNSET,
34
+ organization_role: Union[Unset, list[Union[CustomersUsersListOrganizationRoleItemType0, str]]] = UNSET,
28
35
  page: Union[Unset, int] = UNSET,
29
36
  page_size: Union[Unset, int] = UNSET,
30
37
  phone_number: Union[Unset, str] = UNSET,
31
- project_role: Union[Unset, str] = UNSET,
38
+ project_role: Union[Unset, list[Union[CustomersUsersListProjectRoleItemType0, str]]] = UNSET,
32
39
  registration_method: Union[Unset, str] = UNSET,
33
40
  user_keyword: Union[Unset, str] = UNSET,
34
41
  username: Union[Unset, str] = UNSET,
35
42
  ) -> dict[str, Any]:
36
43
  params: dict[str, Any] = {}
37
44
 
45
+ json_agreement_date: Union[Unset, str] = UNSET
46
+ if not isinstance(agreement_date, Unset):
47
+ json_agreement_date = agreement_date.isoformat()
48
+ params["agreement_date"] = json_agreement_date
49
+
38
50
  params["civil_number"] = civil_number
39
51
 
52
+ json_date_joined: Union[Unset, str] = UNSET
53
+ if not isinstance(date_joined, Unset):
54
+ json_date_joined = date_joined.isoformat()
55
+ params["date_joined"] = json_date_joined
56
+
40
57
  params["description"] = description
41
58
 
42
59
  params["email"] = email
@@ -56,13 +73,33 @@ def _get_kwargs(
56
73
 
57
74
  params["job_title"] = job_title
58
75
 
76
+ json_modified: Union[Unset, str] = UNSET
77
+ if not isinstance(modified, Unset):
78
+ json_modified = modified.isoformat()
79
+ params["modified"] = json_modified
80
+
59
81
  params["native_name"] = native_name
60
82
 
61
- params["o"] = o
83
+ json_o: Union[Unset, str] = UNSET
84
+ if not isinstance(o, Unset):
85
+ json_o = o.value
86
+
87
+ params["o"] = json_o
62
88
 
63
89
  params["organization"] = organization
64
90
 
65
- params["organization_role"] = organization_role
91
+ json_organization_role: Union[Unset, list[str]] = UNSET
92
+ if not isinstance(organization_role, Unset):
93
+ json_organization_role = []
94
+ for organization_role_item_data in organization_role:
95
+ organization_role_item: str
96
+ if isinstance(organization_role_item_data, CustomersUsersListOrganizationRoleItemType0):
97
+ organization_role_item = organization_role_item_data.value
98
+ else:
99
+ organization_role_item = organization_role_item_data
100
+ json_organization_role.append(organization_role_item)
101
+
102
+ params["organization_role"] = json_organization_role
66
103
 
67
104
  params["page"] = page
68
105
 
@@ -70,7 +107,18 @@ def _get_kwargs(
70
107
 
71
108
  params["phone_number"] = phone_number
72
109
 
73
- params["project_role"] = project_role
110
+ json_project_role: Union[Unset, list[str]] = UNSET
111
+ if not isinstance(project_role, Unset):
112
+ json_project_role = []
113
+ for project_role_item_data in project_role:
114
+ project_role_item: str
115
+ if isinstance(project_role_item_data, CustomersUsersListProjectRoleItemType0):
116
+ project_role_item = project_role_item_data.value
117
+ else:
118
+ project_role_item = project_role_item_data
119
+ json_project_role.append(project_role_item)
120
+
121
+ params["project_role"] = json_project_role
74
122
 
75
123
  params["registration_method"] = registration_method
76
124
 
@@ -82,7 +130,7 @@ def _get_kwargs(
82
130
 
83
131
  _kwargs: dict[str, Any] = {
84
132
  "method": "get",
85
- "url": f"/api/customers/{uuid}/users/",
133
+ "url": f"/api/customers/{customer_uuid}/users/",
86
134
  "params": params,
87
135
  }
88
136
 
@@ -114,24 +162,27 @@ def _build_response(
114
162
 
115
163
 
116
164
  def sync_detailed(
117
- uuid: UUID,
165
+ customer_uuid: UUID,
118
166
  *,
119
167
  client: AuthenticatedClient,
168
+ agreement_date: Union[Unset, datetime.datetime] = UNSET,
120
169
  civil_number: Union[Unset, str] = UNSET,
170
+ date_joined: Union[Unset, datetime.datetime] = UNSET,
121
171
  description: Union[Unset, str] = UNSET,
122
172
  email: Union[Unset, str] = UNSET,
123
173
  field: Union[Unset, list[CustomersUsersListFieldItem]] = UNSET,
124
174
  full_name: Union[Unset, str] = UNSET,
125
- is_active: Union[Unset, str] = UNSET,
175
+ is_active: Union[Unset, bool] = UNSET,
126
176
  job_title: Union[Unset, str] = UNSET,
177
+ modified: Union[Unset, datetime.datetime] = UNSET,
127
178
  native_name: Union[Unset, str] = UNSET,
128
- o: Union[Unset, str] = UNSET,
179
+ o: Union[Unset, CustomersUsersListO] = UNSET,
129
180
  organization: Union[Unset, str] = UNSET,
130
- organization_role: Union[Unset, str] = UNSET,
181
+ organization_role: Union[Unset, list[Union[CustomersUsersListOrganizationRoleItemType0, str]]] = UNSET,
131
182
  page: Union[Unset, int] = UNSET,
132
183
  page_size: Union[Unset, int] = UNSET,
133
184
  phone_number: Union[Unset, str] = UNSET,
134
- project_role: Union[Unset, str] = UNSET,
185
+ project_role: Union[Unset, list[Union[CustomersUsersListProjectRoleItemType0, str]]] = UNSET,
135
186
  registration_method: Union[Unset, str] = UNSET,
136
187
  user_keyword: Union[Unset, str] = UNSET,
137
188
  username: Union[Unset, str] = UNSET,
@@ -139,22 +190,26 @@ def sync_detailed(
139
190
  """A list of users connected to the customer.
140
191
 
141
192
  Args:
142
- uuid (UUID):
193
+ customer_uuid (UUID):
194
+ agreement_date (Union[Unset, datetime.datetime]):
143
195
  civil_number (Union[Unset, str]):
196
+ date_joined (Union[Unset, datetime.datetime]):
144
197
  description (Union[Unset, str]):
145
198
  email (Union[Unset, str]):
146
199
  field (Union[Unset, list[CustomersUsersListFieldItem]]):
147
200
  full_name (Union[Unset, str]):
148
- is_active (Union[Unset, str]):
201
+ is_active (Union[Unset, bool]):
149
202
  job_title (Union[Unset, str]):
203
+ modified (Union[Unset, datetime.datetime]):
150
204
  native_name (Union[Unset, str]):
151
- o (Union[Unset, str]):
205
+ o (Union[Unset, CustomersUsersListO]):
152
206
  organization (Union[Unset, str]):
153
- organization_role (Union[Unset, str]):
207
+ organization_role (Union[Unset, list[Union[CustomersUsersListOrganizationRoleItemType0,
208
+ str]]]):
154
209
  page (Union[Unset, int]):
155
210
  page_size (Union[Unset, int]):
156
211
  phone_number (Union[Unset, str]):
157
- project_role (Union[Unset, str]):
212
+ project_role (Union[Unset, list[Union[CustomersUsersListProjectRoleItemType0, str]]]):
158
213
  registration_method (Union[Unset, str]):
159
214
  user_keyword (Union[Unset, str]):
160
215
  username (Union[Unset, str]):
@@ -168,14 +223,17 @@ def sync_detailed(
168
223
  """
169
224
 
170
225
  kwargs = _get_kwargs(
171
- uuid=uuid,
226
+ customer_uuid=customer_uuid,
227
+ agreement_date=agreement_date,
172
228
  civil_number=civil_number,
229
+ date_joined=date_joined,
173
230
  description=description,
174
231
  email=email,
175
232
  field=field,
176
233
  full_name=full_name,
177
234
  is_active=is_active,
178
235
  job_title=job_title,
236
+ modified=modified,
179
237
  native_name=native_name,
180
238
  o=o,
181
239
  organization=organization,
@@ -197,24 +255,27 @@ def sync_detailed(
197
255
 
198
256
 
199
257
  def sync(
200
- uuid: UUID,
258
+ customer_uuid: UUID,
201
259
  *,
202
260
  client: AuthenticatedClient,
261
+ agreement_date: Union[Unset, datetime.datetime] = UNSET,
203
262
  civil_number: Union[Unset, str] = UNSET,
263
+ date_joined: Union[Unset, datetime.datetime] = UNSET,
204
264
  description: Union[Unset, str] = UNSET,
205
265
  email: Union[Unset, str] = UNSET,
206
266
  field: Union[Unset, list[CustomersUsersListFieldItem]] = UNSET,
207
267
  full_name: Union[Unset, str] = UNSET,
208
- is_active: Union[Unset, str] = UNSET,
268
+ is_active: Union[Unset, bool] = UNSET,
209
269
  job_title: Union[Unset, str] = UNSET,
270
+ modified: Union[Unset, datetime.datetime] = UNSET,
210
271
  native_name: Union[Unset, str] = UNSET,
211
- o: Union[Unset, str] = UNSET,
272
+ o: Union[Unset, CustomersUsersListO] = UNSET,
212
273
  organization: Union[Unset, str] = UNSET,
213
- organization_role: Union[Unset, str] = UNSET,
274
+ organization_role: Union[Unset, list[Union[CustomersUsersListOrganizationRoleItemType0, str]]] = UNSET,
214
275
  page: Union[Unset, int] = UNSET,
215
276
  page_size: Union[Unset, int] = UNSET,
216
277
  phone_number: Union[Unset, str] = UNSET,
217
- project_role: Union[Unset, str] = UNSET,
278
+ project_role: Union[Unset, list[Union[CustomersUsersListProjectRoleItemType0, str]]] = UNSET,
218
279
  registration_method: Union[Unset, str] = UNSET,
219
280
  user_keyword: Union[Unset, str] = UNSET,
220
281
  username: Union[Unset, str] = UNSET,
@@ -222,22 +283,26 @@ def sync(
222
283
  """A list of users connected to the customer.
223
284
 
224
285
  Args:
225
- uuid (UUID):
286
+ customer_uuid (UUID):
287
+ agreement_date (Union[Unset, datetime.datetime]):
226
288
  civil_number (Union[Unset, str]):
289
+ date_joined (Union[Unset, datetime.datetime]):
227
290
  description (Union[Unset, str]):
228
291
  email (Union[Unset, str]):
229
292
  field (Union[Unset, list[CustomersUsersListFieldItem]]):
230
293
  full_name (Union[Unset, str]):
231
- is_active (Union[Unset, str]):
294
+ is_active (Union[Unset, bool]):
232
295
  job_title (Union[Unset, str]):
296
+ modified (Union[Unset, datetime.datetime]):
233
297
  native_name (Union[Unset, str]):
234
- o (Union[Unset, str]):
298
+ o (Union[Unset, CustomersUsersListO]):
235
299
  organization (Union[Unset, str]):
236
- organization_role (Union[Unset, str]):
300
+ organization_role (Union[Unset, list[Union[CustomersUsersListOrganizationRoleItemType0,
301
+ str]]]):
237
302
  page (Union[Unset, int]):
238
303
  page_size (Union[Unset, int]):
239
304
  phone_number (Union[Unset, str]):
240
- project_role (Union[Unset, str]):
305
+ project_role (Union[Unset, list[Union[CustomersUsersListProjectRoleItemType0, str]]]):
241
306
  registration_method (Union[Unset, str]):
242
307
  user_keyword (Union[Unset, str]):
243
308
  username (Union[Unset, str]):
@@ -251,15 +316,18 @@ def sync(
251
316
  """
252
317
 
253
318
  return sync_detailed(
254
- uuid=uuid,
319
+ customer_uuid=customer_uuid,
255
320
  client=client,
321
+ agreement_date=agreement_date,
256
322
  civil_number=civil_number,
323
+ date_joined=date_joined,
257
324
  description=description,
258
325
  email=email,
259
326
  field=field,
260
327
  full_name=full_name,
261
328
  is_active=is_active,
262
329
  job_title=job_title,
330
+ modified=modified,
263
331
  native_name=native_name,
264
332
  o=o,
265
333
  organization=organization,
@@ -275,24 +343,27 @@ def sync(
275
343
 
276
344
 
277
345
  async def asyncio_detailed(
278
- uuid: UUID,
346
+ customer_uuid: UUID,
279
347
  *,
280
348
  client: AuthenticatedClient,
349
+ agreement_date: Union[Unset, datetime.datetime] = UNSET,
281
350
  civil_number: Union[Unset, str] = UNSET,
351
+ date_joined: Union[Unset, datetime.datetime] = UNSET,
282
352
  description: Union[Unset, str] = UNSET,
283
353
  email: Union[Unset, str] = UNSET,
284
354
  field: Union[Unset, list[CustomersUsersListFieldItem]] = UNSET,
285
355
  full_name: Union[Unset, str] = UNSET,
286
- is_active: Union[Unset, str] = UNSET,
356
+ is_active: Union[Unset, bool] = UNSET,
287
357
  job_title: Union[Unset, str] = UNSET,
358
+ modified: Union[Unset, datetime.datetime] = UNSET,
288
359
  native_name: Union[Unset, str] = UNSET,
289
- o: Union[Unset, str] = UNSET,
360
+ o: Union[Unset, CustomersUsersListO] = UNSET,
290
361
  organization: Union[Unset, str] = UNSET,
291
- organization_role: Union[Unset, str] = UNSET,
362
+ organization_role: Union[Unset, list[Union[CustomersUsersListOrganizationRoleItemType0, str]]] = UNSET,
292
363
  page: Union[Unset, int] = UNSET,
293
364
  page_size: Union[Unset, int] = UNSET,
294
365
  phone_number: Union[Unset, str] = UNSET,
295
- project_role: Union[Unset, str] = UNSET,
366
+ project_role: Union[Unset, list[Union[CustomersUsersListProjectRoleItemType0, str]]] = UNSET,
296
367
  registration_method: Union[Unset, str] = UNSET,
297
368
  user_keyword: Union[Unset, str] = UNSET,
298
369
  username: Union[Unset, str] = UNSET,
@@ -300,22 +371,26 @@ async def asyncio_detailed(
300
371
  """A list of users connected to the customer.
301
372
 
302
373
  Args:
303
- uuid (UUID):
374
+ customer_uuid (UUID):
375
+ agreement_date (Union[Unset, datetime.datetime]):
304
376
  civil_number (Union[Unset, str]):
377
+ date_joined (Union[Unset, datetime.datetime]):
305
378
  description (Union[Unset, str]):
306
379
  email (Union[Unset, str]):
307
380
  field (Union[Unset, list[CustomersUsersListFieldItem]]):
308
381
  full_name (Union[Unset, str]):
309
- is_active (Union[Unset, str]):
382
+ is_active (Union[Unset, bool]):
310
383
  job_title (Union[Unset, str]):
384
+ modified (Union[Unset, datetime.datetime]):
311
385
  native_name (Union[Unset, str]):
312
- o (Union[Unset, str]):
386
+ o (Union[Unset, CustomersUsersListO]):
313
387
  organization (Union[Unset, str]):
314
- organization_role (Union[Unset, str]):
388
+ organization_role (Union[Unset, list[Union[CustomersUsersListOrganizationRoleItemType0,
389
+ str]]]):
315
390
  page (Union[Unset, int]):
316
391
  page_size (Union[Unset, int]):
317
392
  phone_number (Union[Unset, str]):
318
- project_role (Union[Unset, str]):
393
+ project_role (Union[Unset, list[Union[CustomersUsersListProjectRoleItemType0, str]]]):
319
394
  registration_method (Union[Unset, str]):
320
395
  user_keyword (Union[Unset, str]):
321
396
  username (Union[Unset, str]):
@@ -329,14 +404,17 @@ async def asyncio_detailed(
329
404
  """
330
405
 
331
406
  kwargs = _get_kwargs(
332
- uuid=uuid,
407
+ customer_uuid=customer_uuid,
408
+ agreement_date=agreement_date,
333
409
  civil_number=civil_number,
410
+ date_joined=date_joined,
334
411
  description=description,
335
412
  email=email,
336
413
  field=field,
337
414
  full_name=full_name,
338
415
  is_active=is_active,
339
416
  job_title=job_title,
417
+ modified=modified,
340
418
  native_name=native_name,
341
419
  o=o,
342
420
  organization=organization,
@@ -356,24 +434,27 @@ async def asyncio_detailed(
356
434
 
357
435
 
358
436
  async def asyncio(
359
- uuid: UUID,
437
+ customer_uuid: UUID,
360
438
  *,
361
439
  client: AuthenticatedClient,
440
+ agreement_date: Union[Unset, datetime.datetime] = UNSET,
362
441
  civil_number: Union[Unset, str] = UNSET,
442
+ date_joined: Union[Unset, datetime.datetime] = UNSET,
363
443
  description: Union[Unset, str] = UNSET,
364
444
  email: Union[Unset, str] = UNSET,
365
445
  field: Union[Unset, list[CustomersUsersListFieldItem]] = UNSET,
366
446
  full_name: Union[Unset, str] = UNSET,
367
- is_active: Union[Unset, str] = UNSET,
447
+ is_active: Union[Unset, bool] = UNSET,
368
448
  job_title: Union[Unset, str] = UNSET,
449
+ modified: Union[Unset, datetime.datetime] = UNSET,
369
450
  native_name: Union[Unset, str] = UNSET,
370
- o: Union[Unset, str] = UNSET,
451
+ o: Union[Unset, CustomersUsersListO] = UNSET,
371
452
  organization: Union[Unset, str] = UNSET,
372
- organization_role: Union[Unset, str] = UNSET,
453
+ organization_role: Union[Unset, list[Union[CustomersUsersListOrganizationRoleItemType0, str]]] = UNSET,
373
454
  page: Union[Unset, int] = UNSET,
374
455
  page_size: Union[Unset, int] = UNSET,
375
456
  phone_number: Union[Unset, str] = UNSET,
376
- project_role: Union[Unset, str] = UNSET,
457
+ project_role: Union[Unset, list[Union[CustomersUsersListProjectRoleItemType0, str]]] = UNSET,
377
458
  registration_method: Union[Unset, str] = UNSET,
378
459
  user_keyword: Union[Unset, str] = UNSET,
379
460
  username: Union[Unset, str] = UNSET,
@@ -381,22 +462,26 @@ async def asyncio(
381
462
  """A list of users connected to the customer.
382
463
 
383
464
  Args:
384
- uuid (UUID):
465
+ customer_uuid (UUID):
466
+ agreement_date (Union[Unset, datetime.datetime]):
385
467
  civil_number (Union[Unset, str]):
468
+ date_joined (Union[Unset, datetime.datetime]):
386
469
  description (Union[Unset, str]):
387
470
  email (Union[Unset, str]):
388
471
  field (Union[Unset, list[CustomersUsersListFieldItem]]):
389
472
  full_name (Union[Unset, str]):
390
- is_active (Union[Unset, str]):
473
+ is_active (Union[Unset, bool]):
391
474
  job_title (Union[Unset, str]):
475
+ modified (Union[Unset, datetime.datetime]):
392
476
  native_name (Union[Unset, str]):
393
- o (Union[Unset, str]):
477
+ o (Union[Unset, CustomersUsersListO]):
394
478
  organization (Union[Unset, str]):
395
- organization_role (Union[Unset, str]):
479
+ organization_role (Union[Unset, list[Union[CustomersUsersListOrganizationRoleItemType0,
480
+ str]]]):
396
481
  page (Union[Unset, int]):
397
482
  page_size (Union[Unset, int]):
398
483
  phone_number (Union[Unset, str]):
399
- project_role (Union[Unset, str]):
484
+ project_role (Union[Unset, list[Union[CustomersUsersListProjectRoleItemType0, str]]]):
400
485
  registration_method (Union[Unset, str]):
401
486
  user_keyword (Union[Unset, str]):
402
487
  username (Union[Unset, str]):
@@ -411,15 +496,18 @@ async def asyncio(
411
496
 
412
497
  return (
413
498
  await asyncio_detailed(
414
- uuid=uuid,
499
+ customer_uuid=customer_uuid,
415
500
  client=client,
501
+ agreement_date=agreement_date,
416
502
  civil_number=civil_number,
503
+ date_joined=date_joined,
417
504
  description=description,
418
505
  email=email,
419
506
  field=field,
420
507
  full_name=full_name,
421
508
  is_active=is_active,
422
509
  job_title=job_title,
510
+ modified=modified,
423
511
  native_name=native_name,
424
512
  o=o,
425
513
  organization=organization,