waldur-api-client 7.8.0__py3-none-any.whl → 7.8.2__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.
- waldur_api_client/api/booking_resources/booking_resources_count.py +10 -13
- waldur_api_client/api/booking_resources/booking_resources_list.py +10 -13
- waldur_api_client/api/call_managing_organisations/call_managing_organisations_create.py +44 -7
- waldur_api_client/api/call_managing_organisations/call_managing_organisations_partial_update.py +46 -7
- waldur_api_client/api/call_managing_organisations/call_managing_organisations_update.py +44 -7
- waldur_api_client/api/checklists_admin/checklists_admin_checklist_questions.py +49 -0
- waldur_api_client/api/checklists_admin/checklists_admin_count.py +43 -0
- waldur_api_client/api/checklists_admin/checklists_admin_list.py +43 -0
- waldur_api_client/api/checklists_admin_categories/checklists_admin_categories_create.py +44 -7
- waldur_api_client/api/checklists_admin_categories/checklists_admin_categories_partial_update.py +44 -7
- waldur_api_client/api/checklists_admin_categories/checklists_admin_categories_update.py +44 -7
- waldur_api_client/api/customers/customers_create.py +44 -7
- waldur_api_client/api/customers/customers_partial_update.py +44 -7
- waldur_api_client/api/customers/customers_update.py +44 -7
- waldur_api_client/api/external_links/external_links_create.py +44 -7
- waldur_api_client/api/external_links/external_links_partial_update.py +44 -7
- waldur_api_client/api/external_links/external_links_update.py +44 -7
- waldur_api_client/api/invoices/invoices_paid.py +44 -7
- waldur_api_client/api/marketplace_categories/marketplace_categories_create.py +44 -7
- waldur_api_client/api/marketplace_categories/marketplace_categories_partial_update.py +44 -7
- waldur_api_client/api/marketplace_categories/marketplace_categories_update.py +44 -7
- waldur_api_client/api/marketplace_category_groups/marketplace_category_groups_create.py +44 -7
- waldur_api_client/api/marketplace_category_groups/marketplace_category_groups_partial_update.py +44 -7
- waldur_api_client/api/marketplace_category_groups/marketplace_category_groups_update.py +44 -7
- waldur_api_client/api/marketplace_course_accounts/marketplace_course_accounts_count.py +96 -0
- waldur_api_client/api/marketplace_course_accounts/marketplace_course_accounts_list.py +96 -0
- waldur_api_client/api/marketplace_offering_files/marketplace_offering_files_create.py +44 -7
- waldur_api_client/api/marketplace_offering_user_checklist_completions/__init__.py +1 -0
- waldur_api_client/api/marketplace_offering_user_checklist_completions/marketplace_offering_user_checklist_completions_count.py +286 -0
- waldur_api_client/api/marketplace_offering_user_checklist_completions/marketplace_offering_user_checklist_completions_list.py +289 -0
- waldur_api_client/api/marketplace_offering_user_checklist_completions/marketplace_offering_user_checklist_completions_retrieve.py +141 -0
- waldur_api_client/api/marketplace_orders/marketplace_orders_update_attachment.py +44 -7
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_create.py +44 -7
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_list_course_accounts_retrieve.py +177 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_refresh_offering_usernames.py +0 -22
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_update_compliance_checklist.py +105 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_update_image.py +44 -7
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_update_thumbnail.py +30 -5
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_count.py +10 -13
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_list.py +10 -13
- waldur_api_client/api/marketplace_resources/marketplace_resources_count.py +10 -13
- waldur_api_client/api/marketplace_resources/marketplace_resources_list.py +10 -13
- waldur_api_client/api/marketplace_screenshots/marketplace_screenshots_create.py +44 -7
- waldur_api_client/api/marketplace_screenshots/marketplace_screenshots_update.py +44 -7
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_course_accounts_list.py +98 -0
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_create.py +44 -7
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_partial_update.py +44 -7
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_update.py +44 -7
- waldur_api_client/api/override_settings/override_settings.py +30 -5
- waldur_api_client/api/payments/payments_create.py +44 -7
- waldur_api_client/api/payments/payments_partial_update.py +44 -7
- waldur_api_client/api/payments/payments_update.py +44 -7
- waldur_api_client/api/projects/projects_create.py +44 -7
- waldur_api_client/api/projects/projects_partial_update.py +44 -7
- waldur_api_client/api/projects/projects_update.py +44 -7
- waldur_api_client/api/proposal_proposals/proposal_proposals_attach_document.py +30 -5
- waldur_api_client/api/slurm_jobs/slurm_jobs_create.py +44 -7
- waldur_api_client/api/slurm_jobs/slurm_jobs_update.py +44 -7
- waldur_api_client/api/support_attachments/support_attachments_create.py +44 -7
- waldur_api_client/api/user_group_invitations/user_group_invitations_count.py +15 -0
- waldur_api_client/api/user_group_invitations/user_group_invitations_list.py +15 -0
- waldur_api_client/api/user_invitations/user_invitations_count.py +15 -0
- waldur_api_client/api/user_invitations/user_invitations_list.py +15 -0
- waldur_api_client/api/users/users_create.py +44 -7
- waldur_api_client/api/users/users_partial_update.py +44 -7
- waldur_api_client/api/users/users_update.py +44 -7
- waldur_api_client/models/__init__.py +172 -4
- waldur_api_client/models/agent_type_enum.py +13 -0
- waldur_api_client/models/attachment_request_form.py +70 -0
- waldur_api_client/models/attachment_request_multipart.py +83 -0
- waldur_api_client/models/booking_offerings_list_field_item.py +1 -0
- waldur_api_client/models/booking_offerings_retrieve_field_item.py +1 -0
- waldur_api_client/models/booking_resource.py +18 -0
- waldur_api_client/models/booking_resources_list_field_item.py +2 -0
- waldur_api_client/models/booking_resources_retrieve_field_item.py +2 -0
- waldur_api_client/models/call_managing_organisation_request_form.py +103 -0
- waldur_api_client/models/call_managing_organisation_request_multipart.py +122 -0
- waldur_api_client/models/call_round.py +11 -1
- waldur_api_client/models/category_group_request_form.py +103 -0
- waldur_api_client/models/category_group_request_multipart.py +122 -0
- waldur_api_client/models/checklist_category_request_form.py +103 -0
- waldur_api_client/models/checklist_category_request_multipart.py +122 -0
- waldur_api_client/models/checklists_admin_checklist_questions_checklist_type.py +11 -0
- waldur_api_client/models/checklists_admin_checklist_questions_checklist_type_in_item.py +11 -0
- waldur_api_client/models/checklists_admin_count_checklist_type.py +11 -0
- waldur_api_client/models/checklists_admin_count_checklist_type_in_item.py +11 -0
- waldur_api_client/models/checklists_admin_list_checklist_type.py +11 -0
- waldur_api_client/models/checklists_admin_list_checklist_type_in_item.py +11 -0
- waldur_api_client/models/constance_settings.py +9 -0
- waldur_api_client/models/constance_settings_request.py +9 -0
- waldur_api_client/models/constance_settings_request_form.py +1547 -0
- waldur_api_client/models/constance_settings_request_multipart.py +2173 -0
- waldur_api_client/models/course_account.py +24 -0
- waldur_api_client/models/customer.py +9 -0
- waldur_api_client/models/customer_request.py +9 -0
- waldur_api_client/models/customer_request_form.py +312 -0
- waldur_api_client/models/customer_request_multipart.py +394 -0
- waldur_api_client/models/customers_list_field_item.py +1 -0
- waldur_api_client/models/customers_retrieve_field_item.py +1 -0
- waldur_api_client/models/external_link_request_form.py +111 -0
- waldur_api_client/models/external_link_request_multipart.py +132 -0
- waldur_api_client/models/firecrest_job_request_form.py +104 -0
- waldur_api_client/models/firecrest_job_request_multipart.py +127 -0
- waldur_api_client/models/group_invitation.py +8 -0
- waldur_api_client/models/integration_status.py +21 -4
- waldur_api_client/models/invitation.py +8 -0
- waldur_api_client/models/managed_rancher_cluster_resources_list_field_item.py +2 -0
- waldur_api_client/models/managed_rancher_cluster_resources_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_category_request_form.py +153 -0
- waldur_api_client/models/marketplace_category_request_multipart.py +187 -0
- waldur_api_client/models/marketplace_course_accounts_count_o_item.py +23 -0
- waldur_api_client/models/marketplace_course_accounts_list_o_item.py +23 -0
- waldur_api_client/models/marketplace_offering_user_checklist_completions_count_o_item.py +11 -0
- waldur_api_client/models/marketplace_offering_user_checklist_completions_list_o_item.py +11 -0
- waldur_api_client/models/marketplace_orders_list_field_item.py +3 -0
- waldur_api_client/models/marketplace_orders_retrieve_field_item.py +3 -0
- waldur_api_client/models/marketplace_provider_offerings_list_course_accounts_retrieve_field_item.py +73 -0
- waldur_api_client/models/marketplace_provider_offerings_list_customer_service_accounts_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_provider_offerings_list_field_item.py +1 -0
- waldur_api_client/models/marketplace_provider_offerings_list_project_service_accounts_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_provider_offerings_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_provider_offerings_stats_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_provider_offerings_user_has_resource_access_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_provider_resources_details_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_resources_list_field_item.py +2 -0
- waldur_api_client/models/marketplace_provider_resources_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_public_offerings_list_field_item.py +1 -0
- waldur_api_client/models/marketplace_public_offerings_retrieve_field_item.py +1 -0
- waldur_api_client/models/marketplace_resources_details_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_resources_list_field_item.py +2 -0
- waldur_api_client/models/marketplace_resources_retrieve_field_item.py +2 -0
- waldur_api_client/models/marketplace_service_providers_course_accounts_list_o_item.py +23 -0
- waldur_api_client/models/marketplace_service_providers_offerings_list_field_item.py +1 -0
- waldur_api_client/models/merged_plugin_options.py +9 -0
- waldur_api_client/models/merged_plugin_options_request.py +9 -0
- waldur_api_client/models/nested_round.py +9 -0
- waldur_api_client/models/nested_round_request.py +9 -0
- waldur_api_client/models/notification.py +11 -0
- waldur_api_client/models/notification_context_fields.py +47 -0
- waldur_api_client/models/offering.py +20 -0
- waldur_api_client/models/offering_compliance_checklist_update_request.py +82 -0
- waldur_api_client/models/offering_create.py +20 -0
- waldur_api_client/models/offering_create_request.py +20 -0
- waldur_api_client/models/{provider_offering_details_request.py → offering_create_request_form.py} +77 -5
- waldur_api_client/models/offering_create_request_form_limits.py +57 -0
- waldur_api_client/models/offering_create_request_multipart.py +599 -0
- waldur_api_client/models/offering_create_request_multipart_limits.py +57 -0
- waldur_api_client/models/offering_file_request_form.py +78 -0
- waldur_api_client/models/offering_file_request_multipart.py +93 -0
- waldur_api_client/models/offering_image_request_form.py +62 -0
- waldur_api_client/models/offering_image_request_multipart.py +73 -0
- waldur_api_client/models/offering_thumbnail_request_form.py +62 -0
- waldur_api_client/models/offering_thumbnail_request_multipart.py +73 -0
- waldur_api_client/models/offering_user.py +5 -5
- waldur_api_client/models/{offering_user_state_enum.py → offering_user_state.py} +1 -1
- waldur_api_client/models/order_attachment_request_form.py +84 -0
- waldur_api_client/models/order_attachment_request_multipart.py +98 -0
- waldur_api_client/models/order_details.py +34 -0
- waldur_api_client/models/paid_request_form.py +81 -0
- waldur_api_client/models/paid_request_multipart.py +94 -0
- waldur_api_client/models/patched_call_managing_organisation_request_form.py +92 -0
- waldur_api_client/models/patched_call_managing_organisation_request_multipart.py +109 -0
- waldur_api_client/models/patched_category_group_request_form.py +101 -0
- waldur_api_client/models/patched_category_group_request_multipart.py +121 -0
- waldur_api_client/models/patched_checklist_category_request_form.py +102 -0
- waldur_api_client/models/patched_checklist_category_request_multipart.py +122 -0
- waldur_api_client/models/patched_customer_request.py +9 -0
- waldur_api_client/models/patched_customer_request_form.py +310 -0
- waldur_api_client/models/patched_customer_request_multipart.py +393 -0
- waldur_api_client/models/patched_external_link_request_form.py +110 -0
- waldur_api_client/models/patched_external_link_request_multipart.py +133 -0
- waldur_api_client/models/patched_marketplace_category_request_form.py +151 -0
- waldur_api_client/models/patched_marketplace_category_request_multipart.py +186 -0
- waldur_api_client/models/patched_payment_request_form.py +119 -0
- waldur_api_client/models/patched_payment_request_multipart.py +142 -0
- waldur_api_client/models/patched_project_request_form.py +279 -0
- waldur_api_client/models/patched_project_request_multipart.py +342 -0
- waldur_api_client/models/patched_service_provider_request_form.py +101 -0
- waldur_api_client/models/patched_service_provider_request_multipart.py +121 -0
- waldur_api_client/models/patched_user_request_form.py +241 -0
- waldur_api_client/models/patched_user_request_multipart.py +306 -0
- waldur_api_client/models/payment_request_form.py +113 -0
- waldur_api_client/models/payment_request_multipart.py +134 -0
- waldur_api_client/models/project_request_form.py +280 -0
- waldur_api_client/models/project_request_multipart.py +341 -0
- waldur_api_client/models/project_user.py +9 -0
- waldur_api_client/models/proposal.py +8 -0
- waldur_api_client/models/proposal_documentation_request_form.py +84 -0
- waldur_api_client/models/proposal_documentation_request_multipart.py +98 -0
- waldur_api_client/models/proposal_proposals_count_o_item.py +3 -1
- waldur_api_client/models/proposal_proposals_list_o_item.py +3 -1
- waldur_api_client/models/proposal_review.py +40 -0
- waldur_api_client/models/protected_proposal_list.py +8 -0
- waldur_api_client/models/protected_proposal_list_request.py +8 -0
- waldur_api_client/models/protected_round.py +8 -0
- waldur_api_client/models/provider_offering.py +21 -1
- waldur_api_client/models/provider_offering_details.py +20 -0
- waldur_api_client/models/public_offering_details.py +20 -0
- waldur_api_client/models/resource.py +18 -0
- waldur_api_client/models/resource_update_limits_request.py +1 -34
- waldur_api_client/models/screenshot_request_form.py +87 -0
- waldur_api_client/models/screenshot_request_multipart.py +105 -0
- waldur_api_client/models/service_provider_request_form.py +112 -0
- waldur_api_client/models/service_provider_request_multipart.py +134 -0
- waldur_api_client/models/user_checklist_completion.py +265 -0
- waldur_api_client/models/user_request_form.py +250 -0
- waldur_api_client/models/user_request_multipart.py +316 -0
- waldur_api_client/models/visible_invitation_details.py +8 -0
- {waldur_api_client-7.8.0.dist-info → waldur_api_client-7.8.2.dist-info}/METADATA +1 -1
- {waldur_api_client-7.8.0.dist-info → waldur_api_client-7.8.2.dist-info}/RECORD +212 -127
- {waldur_api_client-7.8.0.dist-info → waldur_api_client-7.8.2.dist-info}/WHEEL +1 -1
- {waldur_api_client-7.8.0.dist-info → waldur_api_client-7.8.2.dist-info}/licenses/LICENSE +0 -0
|
@@ -14,6 +14,7 @@ def _get_kwargs(
|
|
|
14
14
|
*,
|
|
15
15
|
customer_uuid: Union[Unset, UUID] = UNSET,
|
|
16
16
|
is_active: Union[Unset, bool] = UNSET,
|
|
17
|
+
is_public: Union[Unset, bool] = UNSET,
|
|
17
18
|
o: Union[Unset, list[UserGroupInvitationsCountOItem]] = UNSET,
|
|
18
19
|
page: Union[Unset, int] = UNSET,
|
|
19
20
|
page_size: Union[Unset, int] = UNSET,
|
|
@@ -30,6 +31,8 @@ def _get_kwargs(
|
|
|
30
31
|
|
|
31
32
|
params["is_active"] = is_active
|
|
32
33
|
|
|
34
|
+
params["is_public"] = is_public
|
|
35
|
+
|
|
33
36
|
json_o: Union[Unset, list[str]] = UNSET
|
|
34
37
|
if not isinstance(o, Unset):
|
|
35
38
|
json_o = []
|
|
@@ -92,6 +95,7 @@ def sync_detailed(
|
|
|
92
95
|
client: AuthenticatedClient,
|
|
93
96
|
customer_uuid: Union[Unset, UUID] = UNSET,
|
|
94
97
|
is_active: Union[Unset, bool] = UNSET,
|
|
98
|
+
is_public: Union[Unset, bool] = UNSET,
|
|
95
99
|
o: Union[Unset, list[UserGroupInvitationsCountOItem]] = UNSET,
|
|
96
100
|
page: Union[Unset, int] = UNSET,
|
|
97
101
|
page_size: Union[Unset, int] = UNSET,
|
|
@@ -104,6 +108,7 @@ def sync_detailed(
|
|
|
104
108
|
Args:
|
|
105
109
|
customer_uuid (Union[Unset, UUID]):
|
|
106
110
|
is_active (Union[Unset, bool]):
|
|
111
|
+
is_public (Union[Unset, bool]):
|
|
107
112
|
o (Union[Unset, list[UserGroupInvitationsCountOItem]]):
|
|
108
113
|
page (Union[Unset, int]):
|
|
109
114
|
page_size (Union[Unset, int]):
|
|
@@ -122,6 +127,7 @@ def sync_detailed(
|
|
|
122
127
|
kwargs = _get_kwargs(
|
|
123
128
|
customer_uuid=customer_uuid,
|
|
124
129
|
is_active=is_active,
|
|
130
|
+
is_public=is_public,
|
|
125
131
|
o=o,
|
|
126
132
|
page=page,
|
|
127
133
|
page_size=page_size,
|
|
@@ -142,6 +148,7 @@ def sync(
|
|
|
142
148
|
client: AuthenticatedClient,
|
|
143
149
|
customer_uuid: Union[Unset, UUID] = UNSET,
|
|
144
150
|
is_active: Union[Unset, bool] = UNSET,
|
|
151
|
+
is_public: Union[Unset, bool] = UNSET,
|
|
145
152
|
o: Union[Unset, list[UserGroupInvitationsCountOItem]] = UNSET,
|
|
146
153
|
page: Union[Unset, int] = UNSET,
|
|
147
154
|
page_size: Union[Unset, int] = UNSET,
|
|
@@ -154,6 +161,7 @@ def sync(
|
|
|
154
161
|
Args:
|
|
155
162
|
customer_uuid (Union[Unset, UUID]):
|
|
156
163
|
is_active (Union[Unset, bool]):
|
|
164
|
+
is_public (Union[Unset, bool]):
|
|
157
165
|
o (Union[Unset, list[UserGroupInvitationsCountOItem]]):
|
|
158
166
|
page (Union[Unset, int]):
|
|
159
167
|
page_size (Union[Unset, int]):
|
|
@@ -173,6 +181,7 @@ def sync(
|
|
|
173
181
|
client=client,
|
|
174
182
|
customer_uuid=customer_uuid,
|
|
175
183
|
is_active=is_active,
|
|
184
|
+
is_public=is_public,
|
|
176
185
|
o=o,
|
|
177
186
|
page=page,
|
|
178
187
|
page_size=page_size,
|
|
@@ -187,6 +196,7 @@ async def asyncio_detailed(
|
|
|
187
196
|
client: AuthenticatedClient,
|
|
188
197
|
customer_uuid: Union[Unset, UUID] = UNSET,
|
|
189
198
|
is_active: Union[Unset, bool] = UNSET,
|
|
199
|
+
is_public: Union[Unset, bool] = UNSET,
|
|
190
200
|
o: Union[Unset, list[UserGroupInvitationsCountOItem]] = UNSET,
|
|
191
201
|
page: Union[Unset, int] = UNSET,
|
|
192
202
|
page_size: Union[Unset, int] = UNSET,
|
|
@@ -199,6 +209,7 @@ async def asyncio_detailed(
|
|
|
199
209
|
Args:
|
|
200
210
|
customer_uuid (Union[Unset, UUID]):
|
|
201
211
|
is_active (Union[Unset, bool]):
|
|
212
|
+
is_public (Union[Unset, bool]):
|
|
202
213
|
o (Union[Unset, list[UserGroupInvitationsCountOItem]]):
|
|
203
214
|
page (Union[Unset, int]):
|
|
204
215
|
page_size (Union[Unset, int]):
|
|
@@ -217,6 +228,7 @@ async def asyncio_detailed(
|
|
|
217
228
|
kwargs = _get_kwargs(
|
|
218
229
|
customer_uuid=customer_uuid,
|
|
219
230
|
is_active=is_active,
|
|
231
|
+
is_public=is_public,
|
|
220
232
|
o=o,
|
|
221
233
|
page=page,
|
|
222
234
|
page_size=page_size,
|
|
@@ -235,6 +247,7 @@ async def asyncio(
|
|
|
235
247
|
client: AuthenticatedClient,
|
|
236
248
|
customer_uuid: Union[Unset, UUID] = UNSET,
|
|
237
249
|
is_active: Union[Unset, bool] = UNSET,
|
|
250
|
+
is_public: Union[Unset, bool] = UNSET,
|
|
238
251
|
o: Union[Unset, list[UserGroupInvitationsCountOItem]] = UNSET,
|
|
239
252
|
page: Union[Unset, int] = UNSET,
|
|
240
253
|
page_size: Union[Unset, int] = UNSET,
|
|
@@ -247,6 +260,7 @@ async def asyncio(
|
|
|
247
260
|
Args:
|
|
248
261
|
customer_uuid (Union[Unset, UUID]):
|
|
249
262
|
is_active (Union[Unset, bool]):
|
|
263
|
+
is_public (Union[Unset, bool]):
|
|
250
264
|
o (Union[Unset, list[UserGroupInvitationsCountOItem]]):
|
|
251
265
|
page (Union[Unset, int]):
|
|
252
266
|
page_size (Union[Unset, int]):
|
|
@@ -267,6 +281,7 @@ async def asyncio(
|
|
|
267
281
|
client=client,
|
|
268
282
|
customer_uuid=customer_uuid,
|
|
269
283
|
is_active=is_active,
|
|
284
|
+
is_public=is_public,
|
|
270
285
|
o=o,
|
|
271
286
|
page=page,
|
|
272
287
|
page_size=page_size,
|
|
@@ -15,6 +15,7 @@ def _get_kwargs(
|
|
|
15
15
|
*,
|
|
16
16
|
customer_uuid: Union[Unset, UUID] = UNSET,
|
|
17
17
|
is_active: Union[Unset, bool] = UNSET,
|
|
18
|
+
is_public: Union[Unset, bool] = UNSET,
|
|
18
19
|
o: Union[Unset, list[UserGroupInvitationsListOItem]] = UNSET,
|
|
19
20
|
page: Union[Unset, int] = UNSET,
|
|
20
21
|
page_size: Union[Unset, int] = UNSET,
|
|
@@ -31,6 +32,8 @@ def _get_kwargs(
|
|
|
31
32
|
|
|
32
33
|
params["is_active"] = is_active
|
|
33
34
|
|
|
35
|
+
params["is_public"] = is_public
|
|
36
|
+
|
|
34
37
|
json_o: Union[Unset, list[str]] = UNSET
|
|
35
38
|
if not isinstance(o, Unset):
|
|
36
39
|
json_o = []
|
|
@@ -93,6 +96,7 @@ def sync_detailed(
|
|
|
93
96
|
client: AuthenticatedClient,
|
|
94
97
|
customer_uuid: Union[Unset, UUID] = UNSET,
|
|
95
98
|
is_active: Union[Unset, bool] = UNSET,
|
|
99
|
+
is_public: Union[Unset, bool] = UNSET,
|
|
96
100
|
o: Union[Unset, list[UserGroupInvitationsListOItem]] = UNSET,
|
|
97
101
|
page: Union[Unset, int] = UNSET,
|
|
98
102
|
page_size: Union[Unset, int] = UNSET,
|
|
@@ -105,6 +109,7 @@ def sync_detailed(
|
|
|
105
109
|
Args:
|
|
106
110
|
customer_uuid (Union[Unset, UUID]):
|
|
107
111
|
is_active (Union[Unset, bool]):
|
|
112
|
+
is_public (Union[Unset, bool]):
|
|
108
113
|
o (Union[Unset, list[UserGroupInvitationsListOItem]]):
|
|
109
114
|
page (Union[Unset, int]):
|
|
110
115
|
page_size (Union[Unset, int]):
|
|
@@ -123,6 +128,7 @@ def sync_detailed(
|
|
|
123
128
|
kwargs = _get_kwargs(
|
|
124
129
|
customer_uuid=customer_uuid,
|
|
125
130
|
is_active=is_active,
|
|
131
|
+
is_public=is_public,
|
|
126
132
|
o=o,
|
|
127
133
|
page=page,
|
|
128
134
|
page_size=page_size,
|
|
@@ -143,6 +149,7 @@ def sync(
|
|
|
143
149
|
client: AuthenticatedClient,
|
|
144
150
|
customer_uuid: Union[Unset, UUID] = UNSET,
|
|
145
151
|
is_active: Union[Unset, bool] = UNSET,
|
|
152
|
+
is_public: Union[Unset, bool] = UNSET,
|
|
146
153
|
o: Union[Unset, list[UserGroupInvitationsListOItem]] = UNSET,
|
|
147
154
|
page: Union[Unset, int] = UNSET,
|
|
148
155
|
page_size: Union[Unset, int] = UNSET,
|
|
@@ -155,6 +162,7 @@ def sync(
|
|
|
155
162
|
Args:
|
|
156
163
|
customer_uuid (Union[Unset, UUID]):
|
|
157
164
|
is_active (Union[Unset, bool]):
|
|
165
|
+
is_public (Union[Unset, bool]):
|
|
158
166
|
o (Union[Unset, list[UserGroupInvitationsListOItem]]):
|
|
159
167
|
page (Union[Unset, int]):
|
|
160
168
|
page_size (Union[Unset, int]):
|
|
@@ -174,6 +182,7 @@ def sync(
|
|
|
174
182
|
client=client,
|
|
175
183
|
customer_uuid=customer_uuid,
|
|
176
184
|
is_active=is_active,
|
|
185
|
+
is_public=is_public,
|
|
177
186
|
o=o,
|
|
178
187
|
page=page,
|
|
179
188
|
page_size=page_size,
|
|
@@ -188,6 +197,7 @@ async def asyncio_detailed(
|
|
|
188
197
|
client: AuthenticatedClient,
|
|
189
198
|
customer_uuid: Union[Unset, UUID] = UNSET,
|
|
190
199
|
is_active: Union[Unset, bool] = UNSET,
|
|
200
|
+
is_public: Union[Unset, bool] = UNSET,
|
|
191
201
|
o: Union[Unset, list[UserGroupInvitationsListOItem]] = UNSET,
|
|
192
202
|
page: Union[Unset, int] = UNSET,
|
|
193
203
|
page_size: Union[Unset, int] = UNSET,
|
|
@@ -200,6 +210,7 @@ async def asyncio_detailed(
|
|
|
200
210
|
Args:
|
|
201
211
|
customer_uuid (Union[Unset, UUID]):
|
|
202
212
|
is_active (Union[Unset, bool]):
|
|
213
|
+
is_public (Union[Unset, bool]):
|
|
203
214
|
o (Union[Unset, list[UserGroupInvitationsListOItem]]):
|
|
204
215
|
page (Union[Unset, int]):
|
|
205
216
|
page_size (Union[Unset, int]):
|
|
@@ -218,6 +229,7 @@ async def asyncio_detailed(
|
|
|
218
229
|
kwargs = _get_kwargs(
|
|
219
230
|
customer_uuid=customer_uuid,
|
|
220
231
|
is_active=is_active,
|
|
232
|
+
is_public=is_public,
|
|
221
233
|
o=o,
|
|
222
234
|
page=page,
|
|
223
235
|
page_size=page_size,
|
|
@@ -236,6 +248,7 @@ async def asyncio(
|
|
|
236
248
|
client: AuthenticatedClient,
|
|
237
249
|
customer_uuid: Union[Unset, UUID] = UNSET,
|
|
238
250
|
is_active: Union[Unset, bool] = UNSET,
|
|
251
|
+
is_public: Union[Unset, bool] = UNSET,
|
|
239
252
|
o: Union[Unset, list[UserGroupInvitationsListOItem]] = UNSET,
|
|
240
253
|
page: Union[Unset, int] = UNSET,
|
|
241
254
|
page_size: Union[Unset, int] = UNSET,
|
|
@@ -248,6 +261,7 @@ async def asyncio(
|
|
|
248
261
|
Args:
|
|
249
262
|
customer_uuid (Union[Unset, UUID]):
|
|
250
263
|
is_active (Union[Unset, bool]):
|
|
264
|
+
is_public (Union[Unset, bool]):
|
|
251
265
|
o (Union[Unset, list[UserGroupInvitationsListOItem]]):
|
|
252
266
|
page (Union[Unset, int]):
|
|
253
267
|
page_size (Union[Unset, int]):
|
|
@@ -268,6 +282,7 @@ async def asyncio(
|
|
|
268
282
|
client=client,
|
|
269
283
|
customer_uuid=customer_uuid,
|
|
270
284
|
is_active=is_active,
|
|
285
|
+
is_public=is_public,
|
|
271
286
|
o=o,
|
|
272
287
|
page=page,
|
|
273
288
|
page_size=page_size,
|
|
@@ -16,6 +16,7 @@ def _get_kwargs(
|
|
|
16
16
|
civil_number: Union[Unset, str] = UNSET,
|
|
17
17
|
customer_uuid: Union[Unset, UUID] = UNSET,
|
|
18
18
|
email: Union[Unset, str] = UNSET,
|
|
19
|
+
email_exact: Union[Unset, str] = UNSET,
|
|
19
20
|
o: Union[Unset, list[UserInvitationsCountOItem]] = UNSET,
|
|
20
21
|
page: Union[Unset, int] = UNSET,
|
|
21
22
|
page_size: Union[Unset, int] = UNSET,
|
|
@@ -37,6 +38,8 @@ def _get_kwargs(
|
|
|
37
38
|
|
|
38
39
|
params["email"] = email
|
|
39
40
|
|
|
41
|
+
params["email_exact"] = email_exact
|
|
42
|
+
|
|
40
43
|
json_o: Union[Unset, list[str]] = UNSET
|
|
41
44
|
if not isinstance(o, Unset):
|
|
42
45
|
json_o = []
|
|
@@ -113,6 +116,7 @@ def sync_detailed(
|
|
|
113
116
|
civil_number: Union[Unset, str] = UNSET,
|
|
114
117
|
customer_uuid: Union[Unset, UUID] = UNSET,
|
|
115
118
|
email: Union[Unset, str] = UNSET,
|
|
119
|
+
email_exact: Union[Unset, str] = UNSET,
|
|
116
120
|
o: Union[Unset, list[UserInvitationsCountOItem]] = UNSET,
|
|
117
121
|
page: Union[Unset, int] = UNSET,
|
|
118
122
|
page_size: Union[Unset, int] = UNSET,
|
|
@@ -129,6 +133,7 @@ def sync_detailed(
|
|
|
129
133
|
civil_number (Union[Unset, str]):
|
|
130
134
|
customer_uuid (Union[Unset, UUID]):
|
|
131
135
|
email (Union[Unset, str]):
|
|
136
|
+
email_exact (Union[Unset, str]):
|
|
132
137
|
o (Union[Unset, list[UserInvitationsCountOItem]]):
|
|
133
138
|
page (Union[Unset, int]):
|
|
134
139
|
page_size (Union[Unset, int]):
|
|
@@ -151,6 +156,7 @@ def sync_detailed(
|
|
|
151
156
|
civil_number=civil_number,
|
|
152
157
|
customer_uuid=customer_uuid,
|
|
153
158
|
email=email,
|
|
159
|
+
email_exact=email_exact,
|
|
154
160
|
o=o,
|
|
155
161
|
page=page,
|
|
156
162
|
page_size=page_size,
|
|
@@ -175,6 +181,7 @@ def sync(
|
|
|
175
181
|
civil_number: Union[Unset, str] = UNSET,
|
|
176
182
|
customer_uuid: Union[Unset, UUID] = UNSET,
|
|
177
183
|
email: Union[Unset, str] = UNSET,
|
|
184
|
+
email_exact: Union[Unset, str] = UNSET,
|
|
178
185
|
o: Union[Unset, list[UserInvitationsCountOItem]] = UNSET,
|
|
179
186
|
page: Union[Unset, int] = UNSET,
|
|
180
187
|
page_size: Union[Unset, int] = UNSET,
|
|
@@ -191,6 +198,7 @@ def sync(
|
|
|
191
198
|
civil_number (Union[Unset, str]):
|
|
192
199
|
customer_uuid (Union[Unset, UUID]):
|
|
193
200
|
email (Union[Unset, str]):
|
|
201
|
+
email_exact (Union[Unset, str]):
|
|
194
202
|
o (Union[Unset, list[UserInvitationsCountOItem]]):
|
|
195
203
|
page (Union[Unset, int]):
|
|
196
204
|
page_size (Union[Unset, int]):
|
|
@@ -214,6 +222,7 @@ def sync(
|
|
|
214
222
|
civil_number=civil_number,
|
|
215
223
|
customer_uuid=customer_uuid,
|
|
216
224
|
email=email,
|
|
225
|
+
email_exact=email_exact,
|
|
217
226
|
o=o,
|
|
218
227
|
page=page,
|
|
219
228
|
page_size=page_size,
|
|
@@ -232,6 +241,7 @@ async def asyncio_detailed(
|
|
|
232
241
|
civil_number: Union[Unset, str] = UNSET,
|
|
233
242
|
customer_uuid: Union[Unset, UUID] = UNSET,
|
|
234
243
|
email: Union[Unset, str] = UNSET,
|
|
244
|
+
email_exact: Union[Unset, str] = UNSET,
|
|
235
245
|
o: Union[Unset, list[UserInvitationsCountOItem]] = UNSET,
|
|
236
246
|
page: Union[Unset, int] = UNSET,
|
|
237
247
|
page_size: Union[Unset, int] = UNSET,
|
|
@@ -248,6 +258,7 @@ async def asyncio_detailed(
|
|
|
248
258
|
civil_number (Union[Unset, str]):
|
|
249
259
|
customer_uuid (Union[Unset, UUID]):
|
|
250
260
|
email (Union[Unset, str]):
|
|
261
|
+
email_exact (Union[Unset, str]):
|
|
251
262
|
o (Union[Unset, list[UserInvitationsCountOItem]]):
|
|
252
263
|
page (Union[Unset, int]):
|
|
253
264
|
page_size (Union[Unset, int]):
|
|
@@ -270,6 +281,7 @@ async def asyncio_detailed(
|
|
|
270
281
|
civil_number=civil_number,
|
|
271
282
|
customer_uuid=customer_uuid,
|
|
272
283
|
email=email,
|
|
284
|
+
email_exact=email_exact,
|
|
273
285
|
o=o,
|
|
274
286
|
page=page,
|
|
275
287
|
page_size=page_size,
|
|
@@ -292,6 +304,7 @@ async def asyncio(
|
|
|
292
304
|
civil_number: Union[Unset, str] = UNSET,
|
|
293
305
|
customer_uuid: Union[Unset, UUID] = UNSET,
|
|
294
306
|
email: Union[Unset, str] = UNSET,
|
|
307
|
+
email_exact: Union[Unset, str] = UNSET,
|
|
295
308
|
o: Union[Unset, list[UserInvitationsCountOItem]] = UNSET,
|
|
296
309
|
page: Union[Unset, int] = UNSET,
|
|
297
310
|
page_size: Union[Unset, int] = UNSET,
|
|
@@ -308,6 +321,7 @@ async def asyncio(
|
|
|
308
321
|
civil_number (Union[Unset, str]):
|
|
309
322
|
customer_uuid (Union[Unset, UUID]):
|
|
310
323
|
email (Union[Unset, str]):
|
|
324
|
+
email_exact (Union[Unset, str]):
|
|
311
325
|
o (Union[Unset, list[UserInvitationsCountOItem]]):
|
|
312
326
|
page (Union[Unset, int]):
|
|
313
327
|
page_size (Union[Unset, int]):
|
|
@@ -332,6 +346,7 @@ async def asyncio(
|
|
|
332
346
|
civil_number=civil_number,
|
|
333
347
|
customer_uuid=customer_uuid,
|
|
334
348
|
email=email,
|
|
349
|
+
email_exact=email_exact,
|
|
335
350
|
o=o,
|
|
336
351
|
page=page,
|
|
337
352
|
page_size=page_size,
|
|
@@ -17,6 +17,7 @@ def _get_kwargs(
|
|
|
17
17
|
civil_number: Union[Unset, str] = UNSET,
|
|
18
18
|
customer_uuid: Union[Unset, UUID] = UNSET,
|
|
19
19
|
email: Union[Unset, str] = UNSET,
|
|
20
|
+
email_exact: Union[Unset, str] = UNSET,
|
|
20
21
|
o: Union[Unset, list[UserInvitationsListOItem]] = UNSET,
|
|
21
22
|
page: Union[Unset, int] = UNSET,
|
|
22
23
|
page_size: Union[Unset, int] = UNSET,
|
|
@@ -38,6 +39,8 @@ def _get_kwargs(
|
|
|
38
39
|
|
|
39
40
|
params["email"] = email
|
|
40
41
|
|
|
42
|
+
params["email_exact"] = email_exact
|
|
43
|
+
|
|
41
44
|
json_o: Union[Unset, list[str]] = UNSET
|
|
42
45
|
if not isinstance(o, Unset):
|
|
43
46
|
json_o = []
|
|
@@ -114,6 +117,7 @@ def sync_detailed(
|
|
|
114
117
|
civil_number: Union[Unset, str] = UNSET,
|
|
115
118
|
customer_uuid: Union[Unset, UUID] = UNSET,
|
|
116
119
|
email: Union[Unset, str] = UNSET,
|
|
120
|
+
email_exact: Union[Unset, str] = UNSET,
|
|
117
121
|
o: Union[Unset, list[UserInvitationsListOItem]] = UNSET,
|
|
118
122
|
page: Union[Unset, int] = UNSET,
|
|
119
123
|
page_size: Union[Unset, int] = UNSET,
|
|
@@ -130,6 +134,7 @@ def sync_detailed(
|
|
|
130
134
|
civil_number (Union[Unset, str]):
|
|
131
135
|
customer_uuid (Union[Unset, UUID]):
|
|
132
136
|
email (Union[Unset, str]):
|
|
137
|
+
email_exact (Union[Unset, str]):
|
|
133
138
|
o (Union[Unset, list[UserInvitationsListOItem]]):
|
|
134
139
|
page (Union[Unset, int]):
|
|
135
140
|
page_size (Union[Unset, int]):
|
|
@@ -152,6 +157,7 @@ def sync_detailed(
|
|
|
152
157
|
civil_number=civil_number,
|
|
153
158
|
customer_uuid=customer_uuid,
|
|
154
159
|
email=email,
|
|
160
|
+
email_exact=email_exact,
|
|
155
161
|
o=o,
|
|
156
162
|
page=page,
|
|
157
163
|
page_size=page_size,
|
|
@@ -176,6 +182,7 @@ def sync(
|
|
|
176
182
|
civil_number: Union[Unset, str] = UNSET,
|
|
177
183
|
customer_uuid: Union[Unset, UUID] = UNSET,
|
|
178
184
|
email: Union[Unset, str] = UNSET,
|
|
185
|
+
email_exact: Union[Unset, str] = UNSET,
|
|
179
186
|
o: Union[Unset, list[UserInvitationsListOItem]] = UNSET,
|
|
180
187
|
page: Union[Unset, int] = UNSET,
|
|
181
188
|
page_size: Union[Unset, int] = UNSET,
|
|
@@ -192,6 +199,7 @@ def sync(
|
|
|
192
199
|
civil_number (Union[Unset, str]):
|
|
193
200
|
customer_uuid (Union[Unset, UUID]):
|
|
194
201
|
email (Union[Unset, str]):
|
|
202
|
+
email_exact (Union[Unset, str]):
|
|
195
203
|
o (Union[Unset, list[UserInvitationsListOItem]]):
|
|
196
204
|
page (Union[Unset, int]):
|
|
197
205
|
page_size (Union[Unset, int]):
|
|
@@ -215,6 +223,7 @@ def sync(
|
|
|
215
223
|
civil_number=civil_number,
|
|
216
224
|
customer_uuid=customer_uuid,
|
|
217
225
|
email=email,
|
|
226
|
+
email_exact=email_exact,
|
|
218
227
|
o=o,
|
|
219
228
|
page=page,
|
|
220
229
|
page_size=page_size,
|
|
@@ -233,6 +242,7 @@ async def asyncio_detailed(
|
|
|
233
242
|
civil_number: Union[Unset, str] = UNSET,
|
|
234
243
|
customer_uuid: Union[Unset, UUID] = UNSET,
|
|
235
244
|
email: Union[Unset, str] = UNSET,
|
|
245
|
+
email_exact: Union[Unset, str] = UNSET,
|
|
236
246
|
o: Union[Unset, list[UserInvitationsListOItem]] = UNSET,
|
|
237
247
|
page: Union[Unset, int] = UNSET,
|
|
238
248
|
page_size: Union[Unset, int] = UNSET,
|
|
@@ -249,6 +259,7 @@ async def asyncio_detailed(
|
|
|
249
259
|
civil_number (Union[Unset, str]):
|
|
250
260
|
customer_uuid (Union[Unset, UUID]):
|
|
251
261
|
email (Union[Unset, str]):
|
|
262
|
+
email_exact (Union[Unset, str]):
|
|
252
263
|
o (Union[Unset, list[UserInvitationsListOItem]]):
|
|
253
264
|
page (Union[Unset, int]):
|
|
254
265
|
page_size (Union[Unset, int]):
|
|
@@ -271,6 +282,7 @@ async def asyncio_detailed(
|
|
|
271
282
|
civil_number=civil_number,
|
|
272
283
|
customer_uuid=customer_uuid,
|
|
273
284
|
email=email,
|
|
285
|
+
email_exact=email_exact,
|
|
274
286
|
o=o,
|
|
275
287
|
page=page,
|
|
276
288
|
page_size=page_size,
|
|
@@ -293,6 +305,7 @@ async def asyncio(
|
|
|
293
305
|
civil_number: Union[Unset, str] = UNSET,
|
|
294
306
|
customer_uuid: Union[Unset, UUID] = UNSET,
|
|
295
307
|
email: Union[Unset, str] = UNSET,
|
|
308
|
+
email_exact: Union[Unset, str] = UNSET,
|
|
296
309
|
o: Union[Unset, list[UserInvitationsListOItem]] = UNSET,
|
|
297
310
|
page: Union[Unset, int] = UNSET,
|
|
298
311
|
page_size: Union[Unset, int] = UNSET,
|
|
@@ -309,6 +322,7 @@ async def asyncio(
|
|
|
309
322
|
civil_number (Union[Unset, str]):
|
|
310
323
|
customer_uuid (Union[Unset, UUID]):
|
|
311
324
|
email (Union[Unset, str]):
|
|
325
|
+
email_exact (Union[Unset, str]):
|
|
312
326
|
o (Union[Unset, list[UserInvitationsListOItem]]):
|
|
313
327
|
page (Union[Unset, int]):
|
|
314
328
|
page_size (Union[Unset, int]):
|
|
@@ -333,6 +347,7 @@ async def asyncio(
|
|
|
333
347
|
civil_number=civil_number,
|
|
334
348
|
customer_uuid=customer_uuid,
|
|
335
349
|
email=email,
|
|
350
|
+
email_exact=email_exact,
|
|
336
351
|
o=o,
|
|
337
352
|
page=page,
|
|
338
353
|
page_size=page_size,
|
|
@@ -7,12 +7,18 @@ from ... import errors
|
|
|
7
7
|
from ...client import AuthenticatedClient, Client
|
|
8
8
|
from ...models.user import User
|
|
9
9
|
from ...models.user_request import UserRequest
|
|
10
|
+
from ...models.user_request_form import UserRequestForm
|
|
11
|
+
from ...models.user_request_multipart import UserRequestMultipart
|
|
10
12
|
from ...types import Response
|
|
11
13
|
|
|
12
14
|
|
|
13
15
|
def _get_kwargs(
|
|
14
16
|
*,
|
|
15
|
-
body:
|
|
17
|
+
body: Union[
|
|
18
|
+
UserRequest,
|
|
19
|
+
UserRequestForm,
|
|
20
|
+
UserRequestMultipart,
|
|
21
|
+
],
|
|
16
22
|
) -> dict[str, Any]:
|
|
17
23
|
headers: dict[str, Any] = {}
|
|
18
24
|
|
|
@@ -21,9 +27,16 @@ def _get_kwargs(
|
|
|
21
27
|
"url": "/api/users/",
|
|
22
28
|
}
|
|
23
29
|
|
|
24
|
-
|
|
30
|
+
if isinstance(body, UserRequest):
|
|
31
|
+
_kwargs["json"] = body.to_dict()
|
|
25
32
|
|
|
26
|
-
|
|
33
|
+
headers["Content-Type"] = "application/json"
|
|
34
|
+
if isinstance(body, UserRequestForm):
|
|
35
|
+
_kwargs["data"] = body.to_dict()
|
|
36
|
+
|
|
37
|
+
headers["Content-Type"] = "application/x-www-form-urlencoded"
|
|
38
|
+
if isinstance(body, UserRequestMultipart):
|
|
39
|
+
_kwargs["files"] = body.to_multipart()
|
|
27
40
|
|
|
28
41
|
_kwargs["headers"] = headers
|
|
29
42
|
return _kwargs
|
|
@@ -49,11 +62,17 @@ def _build_response(*, client: Union[AuthenticatedClient, Client], response: htt
|
|
|
49
62
|
def sync_detailed(
|
|
50
63
|
*,
|
|
51
64
|
client: AuthenticatedClient,
|
|
52
|
-
body:
|
|
65
|
+
body: Union[
|
|
66
|
+
UserRequest,
|
|
67
|
+
UserRequestForm,
|
|
68
|
+
UserRequestMultipart,
|
|
69
|
+
],
|
|
53
70
|
) -> Response[User]:
|
|
54
71
|
"""
|
|
55
72
|
Args:
|
|
56
73
|
body (UserRequest):
|
|
74
|
+
body (UserRequestForm):
|
|
75
|
+
body (UserRequestMultipart):
|
|
57
76
|
|
|
58
77
|
Raises:
|
|
59
78
|
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
@@ -77,11 +96,17 @@ def sync_detailed(
|
|
|
77
96
|
def sync(
|
|
78
97
|
*,
|
|
79
98
|
client: AuthenticatedClient,
|
|
80
|
-
body:
|
|
99
|
+
body: Union[
|
|
100
|
+
UserRequest,
|
|
101
|
+
UserRequestForm,
|
|
102
|
+
UserRequestMultipart,
|
|
103
|
+
],
|
|
81
104
|
) -> User:
|
|
82
105
|
"""
|
|
83
106
|
Args:
|
|
84
107
|
body (UserRequest):
|
|
108
|
+
body (UserRequestForm):
|
|
109
|
+
body (UserRequestMultipart):
|
|
85
110
|
|
|
86
111
|
Raises:
|
|
87
112
|
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
@@ -100,11 +125,17 @@ def sync(
|
|
|
100
125
|
async def asyncio_detailed(
|
|
101
126
|
*,
|
|
102
127
|
client: AuthenticatedClient,
|
|
103
|
-
body:
|
|
128
|
+
body: Union[
|
|
129
|
+
UserRequest,
|
|
130
|
+
UserRequestForm,
|
|
131
|
+
UserRequestMultipart,
|
|
132
|
+
],
|
|
104
133
|
) -> Response[User]:
|
|
105
134
|
"""
|
|
106
135
|
Args:
|
|
107
136
|
body (UserRequest):
|
|
137
|
+
body (UserRequestForm):
|
|
138
|
+
body (UserRequestMultipart):
|
|
108
139
|
|
|
109
140
|
Raises:
|
|
110
141
|
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
@@ -126,11 +157,17 @@ async def asyncio_detailed(
|
|
|
126
157
|
async def asyncio(
|
|
127
158
|
*,
|
|
128
159
|
client: AuthenticatedClient,
|
|
129
|
-
body:
|
|
160
|
+
body: Union[
|
|
161
|
+
UserRequest,
|
|
162
|
+
UserRequestForm,
|
|
163
|
+
UserRequestMultipart,
|
|
164
|
+
],
|
|
130
165
|
) -> User:
|
|
131
166
|
"""
|
|
132
167
|
Args:
|
|
133
168
|
body (UserRequest):
|
|
169
|
+
body (UserRequestForm):
|
|
170
|
+
body (UserRequestMultipart):
|
|
134
171
|
|
|
135
172
|
Raises:
|
|
136
173
|
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
@@ -7,6 +7,8 @@ import httpx
|
|
|
7
7
|
from ... import errors
|
|
8
8
|
from ...client import AuthenticatedClient, Client
|
|
9
9
|
from ...models.patched_user_request import PatchedUserRequest
|
|
10
|
+
from ...models.patched_user_request_form import PatchedUserRequestForm
|
|
11
|
+
from ...models.patched_user_request_multipart import PatchedUserRequestMultipart
|
|
10
12
|
from ...models.user import User
|
|
11
13
|
from ...types import Response
|
|
12
14
|
|
|
@@ -14,7 +16,11 @@ from ...types import Response
|
|
|
14
16
|
def _get_kwargs(
|
|
15
17
|
uuid: UUID,
|
|
16
18
|
*,
|
|
17
|
-
body:
|
|
19
|
+
body: Union[
|
|
20
|
+
PatchedUserRequest,
|
|
21
|
+
PatchedUserRequestForm,
|
|
22
|
+
PatchedUserRequestMultipart,
|
|
23
|
+
],
|
|
18
24
|
) -> dict[str, Any]:
|
|
19
25
|
headers: dict[str, Any] = {}
|
|
20
26
|
|
|
@@ -23,9 +29,16 @@ def _get_kwargs(
|
|
|
23
29
|
"url": f"/api/users/{uuid}/",
|
|
24
30
|
}
|
|
25
31
|
|
|
26
|
-
|
|
32
|
+
if isinstance(body, PatchedUserRequest):
|
|
33
|
+
_kwargs["json"] = body.to_dict()
|
|
27
34
|
|
|
28
|
-
|
|
35
|
+
headers["Content-Type"] = "application/json"
|
|
36
|
+
if isinstance(body, PatchedUserRequestForm):
|
|
37
|
+
_kwargs["data"] = body.to_dict()
|
|
38
|
+
|
|
39
|
+
headers["Content-Type"] = "application/x-www-form-urlencoded"
|
|
40
|
+
if isinstance(body, PatchedUserRequestMultipart):
|
|
41
|
+
_kwargs["files"] = body.to_multipart()
|
|
29
42
|
|
|
30
43
|
_kwargs["headers"] = headers
|
|
31
44
|
return _kwargs
|
|
@@ -52,12 +65,18 @@ def sync_detailed(
|
|
|
52
65
|
uuid: UUID,
|
|
53
66
|
*,
|
|
54
67
|
client: AuthenticatedClient,
|
|
55
|
-
body:
|
|
68
|
+
body: Union[
|
|
69
|
+
PatchedUserRequest,
|
|
70
|
+
PatchedUserRequestForm,
|
|
71
|
+
PatchedUserRequestMultipart,
|
|
72
|
+
],
|
|
56
73
|
) -> Response[User]:
|
|
57
74
|
"""
|
|
58
75
|
Args:
|
|
59
76
|
uuid (UUID):
|
|
60
77
|
body (PatchedUserRequest):
|
|
78
|
+
body (PatchedUserRequestForm):
|
|
79
|
+
body (PatchedUserRequestMultipart):
|
|
61
80
|
|
|
62
81
|
Raises:
|
|
63
82
|
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
@@ -83,12 +102,18 @@ def sync(
|
|
|
83
102
|
uuid: UUID,
|
|
84
103
|
*,
|
|
85
104
|
client: AuthenticatedClient,
|
|
86
|
-
body:
|
|
105
|
+
body: Union[
|
|
106
|
+
PatchedUserRequest,
|
|
107
|
+
PatchedUserRequestForm,
|
|
108
|
+
PatchedUserRequestMultipart,
|
|
109
|
+
],
|
|
87
110
|
) -> User:
|
|
88
111
|
"""
|
|
89
112
|
Args:
|
|
90
113
|
uuid (UUID):
|
|
91
114
|
body (PatchedUserRequest):
|
|
115
|
+
body (PatchedUserRequestForm):
|
|
116
|
+
body (PatchedUserRequestMultipart):
|
|
92
117
|
|
|
93
118
|
Raises:
|
|
94
119
|
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
@@ -109,12 +134,18 @@ async def asyncio_detailed(
|
|
|
109
134
|
uuid: UUID,
|
|
110
135
|
*,
|
|
111
136
|
client: AuthenticatedClient,
|
|
112
|
-
body:
|
|
137
|
+
body: Union[
|
|
138
|
+
PatchedUserRequest,
|
|
139
|
+
PatchedUserRequestForm,
|
|
140
|
+
PatchedUserRequestMultipart,
|
|
141
|
+
],
|
|
113
142
|
) -> Response[User]:
|
|
114
143
|
"""
|
|
115
144
|
Args:
|
|
116
145
|
uuid (UUID):
|
|
117
146
|
body (PatchedUserRequest):
|
|
147
|
+
body (PatchedUserRequestForm):
|
|
148
|
+
body (PatchedUserRequestMultipart):
|
|
118
149
|
|
|
119
150
|
Raises:
|
|
120
151
|
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
@@ -138,12 +169,18 @@ async def asyncio(
|
|
|
138
169
|
uuid: UUID,
|
|
139
170
|
*,
|
|
140
171
|
client: AuthenticatedClient,
|
|
141
|
-
body:
|
|
172
|
+
body: Union[
|
|
173
|
+
PatchedUserRequest,
|
|
174
|
+
PatchedUserRequestForm,
|
|
175
|
+
PatchedUserRequestMultipart,
|
|
176
|
+
],
|
|
142
177
|
) -> User:
|
|
143
178
|
"""
|
|
144
179
|
Args:
|
|
145
180
|
uuid (UUID):
|
|
146
181
|
body (PatchedUserRequest):
|
|
182
|
+
body (PatchedUserRequestForm):
|
|
183
|
+
body (PatchedUserRequestMultipart):
|
|
147
184
|
|
|
148
185
|
Raises:
|
|
149
186
|
errors.UnexpectedStatus: If the server returns an undocumented status code.
|