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
waldur_api_client/api/marketplace_category_groups/marketplace_category_groups_partial_update.py
CHANGED
|
@@ -8,13 +8,19 @@ from ... import errors
|
|
|
8
8
|
from ...client import AuthenticatedClient, Client
|
|
9
9
|
from ...models.category_group import CategoryGroup
|
|
10
10
|
from ...models.patched_category_group_request import PatchedCategoryGroupRequest
|
|
11
|
+
from ...models.patched_category_group_request_form import PatchedCategoryGroupRequestForm
|
|
12
|
+
from ...models.patched_category_group_request_multipart import PatchedCategoryGroupRequestMultipart
|
|
11
13
|
from ...types import Response
|
|
12
14
|
|
|
13
15
|
|
|
14
16
|
def _get_kwargs(
|
|
15
17
|
uuid: UUID,
|
|
16
18
|
*,
|
|
17
|
-
body:
|
|
19
|
+
body: Union[
|
|
20
|
+
PatchedCategoryGroupRequest,
|
|
21
|
+
PatchedCategoryGroupRequestForm,
|
|
22
|
+
PatchedCategoryGroupRequestMultipart,
|
|
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/marketplace-category-groups/{uuid}/",
|
|
24
30
|
}
|
|
25
31
|
|
|
26
|
-
|
|
32
|
+
if isinstance(body, PatchedCategoryGroupRequest):
|
|
33
|
+
_kwargs["json"] = body.to_dict()
|
|
27
34
|
|
|
28
|
-
|
|
35
|
+
headers["Content-Type"] = "application/json"
|
|
36
|
+
if isinstance(body, PatchedCategoryGroupRequestForm):
|
|
37
|
+
_kwargs["data"] = body.to_dict()
|
|
38
|
+
|
|
39
|
+
headers["Content-Type"] = "application/x-www-form-urlencoded"
|
|
40
|
+
if isinstance(body, PatchedCategoryGroupRequestMultipart):
|
|
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
|
+
PatchedCategoryGroupRequest,
|
|
70
|
+
PatchedCategoryGroupRequestForm,
|
|
71
|
+
PatchedCategoryGroupRequestMultipart,
|
|
72
|
+
],
|
|
56
73
|
) -> Response[CategoryGroup]:
|
|
57
74
|
"""
|
|
58
75
|
Args:
|
|
59
76
|
uuid (UUID):
|
|
60
77
|
body (PatchedCategoryGroupRequest):
|
|
78
|
+
body (PatchedCategoryGroupRequestForm):
|
|
79
|
+
body (PatchedCategoryGroupRequestMultipart):
|
|
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
|
+
PatchedCategoryGroupRequest,
|
|
107
|
+
PatchedCategoryGroupRequestForm,
|
|
108
|
+
PatchedCategoryGroupRequestMultipart,
|
|
109
|
+
],
|
|
87
110
|
) -> CategoryGroup:
|
|
88
111
|
"""
|
|
89
112
|
Args:
|
|
90
113
|
uuid (UUID):
|
|
91
114
|
body (PatchedCategoryGroupRequest):
|
|
115
|
+
body (PatchedCategoryGroupRequestForm):
|
|
116
|
+
body (PatchedCategoryGroupRequestMultipart):
|
|
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
|
+
PatchedCategoryGroupRequest,
|
|
139
|
+
PatchedCategoryGroupRequestForm,
|
|
140
|
+
PatchedCategoryGroupRequestMultipart,
|
|
141
|
+
],
|
|
113
142
|
) -> Response[CategoryGroup]:
|
|
114
143
|
"""
|
|
115
144
|
Args:
|
|
116
145
|
uuid (UUID):
|
|
117
146
|
body (PatchedCategoryGroupRequest):
|
|
147
|
+
body (PatchedCategoryGroupRequestForm):
|
|
148
|
+
body (PatchedCategoryGroupRequestMultipart):
|
|
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
|
+
PatchedCategoryGroupRequest,
|
|
174
|
+
PatchedCategoryGroupRequestForm,
|
|
175
|
+
PatchedCategoryGroupRequestMultipart,
|
|
176
|
+
],
|
|
142
177
|
) -> CategoryGroup:
|
|
143
178
|
"""
|
|
144
179
|
Args:
|
|
145
180
|
uuid (UUID):
|
|
146
181
|
body (PatchedCategoryGroupRequest):
|
|
182
|
+
body (PatchedCategoryGroupRequestForm):
|
|
183
|
+
body (PatchedCategoryGroupRequestMultipart):
|
|
147
184
|
|
|
148
185
|
Raises:
|
|
149
186
|
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
@@ -8,13 +8,19 @@ from ... import errors
|
|
|
8
8
|
from ...client import AuthenticatedClient, Client
|
|
9
9
|
from ...models.category_group import CategoryGroup
|
|
10
10
|
from ...models.category_group_request import CategoryGroupRequest
|
|
11
|
+
from ...models.category_group_request_form import CategoryGroupRequestForm
|
|
12
|
+
from ...models.category_group_request_multipart import CategoryGroupRequestMultipart
|
|
11
13
|
from ...types import Response
|
|
12
14
|
|
|
13
15
|
|
|
14
16
|
def _get_kwargs(
|
|
15
17
|
uuid: UUID,
|
|
16
18
|
*,
|
|
17
|
-
body:
|
|
19
|
+
body: Union[
|
|
20
|
+
CategoryGroupRequest,
|
|
21
|
+
CategoryGroupRequestForm,
|
|
22
|
+
CategoryGroupRequestMultipart,
|
|
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/marketplace-category-groups/{uuid}/",
|
|
24
30
|
}
|
|
25
31
|
|
|
26
|
-
|
|
32
|
+
if isinstance(body, CategoryGroupRequest):
|
|
33
|
+
_kwargs["json"] = body.to_dict()
|
|
27
34
|
|
|
28
|
-
|
|
35
|
+
headers["Content-Type"] = "application/json"
|
|
36
|
+
if isinstance(body, CategoryGroupRequestForm):
|
|
37
|
+
_kwargs["data"] = body.to_dict()
|
|
38
|
+
|
|
39
|
+
headers["Content-Type"] = "application/x-www-form-urlencoded"
|
|
40
|
+
if isinstance(body, CategoryGroupRequestMultipart):
|
|
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
|
+
CategoryGroupRequest,
|
|
70
|
+
CategoryGroupRequestForm,
|
|
71
|
+
CategoryGroupRequestMultipart,
|
|
72
|
+
],
|
|
56
73
|
) -> Response[CategoryGroup]:
|
|
57
74
|
"""
|
|
58
75
|
Args:
|
|
59
76
|
uuid (UUID):
|
|
60
77
|
body (CategoryGroupRequest):
|
|
78
|
+
body (CategoryGroupRequestForm):
|
|
79
|
+
body (CategoryGroupRequestMultipart):
|
|
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
|
+
CategoryGroupRequest,
|
|
107
|
+
CategoryGroupRequestForm,
|
|
108
|
+
CategoryGroupRequestMultipart,
|
|
109
|
+
],
|
|
87
110
|
) -> CategoryGroup:
|
|
88
111
|
"""
|
|
89
112
|
Args:
|
|
90
113
|
uuid (UUID):
|
|
91
114
|
body (CategoryGroupRequest):
|
|
115
|
+
body (CategoryGroupRequestForm):
|
|
116
|
+
body (CategoryGroupRequestMultipart):
|
|
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
|
+
CategoryGroupRequest,
|
|
139
|
+
CategoryGroupRequestForm,
|
|
140
|
+
CategoryGroupRequestMultipart,
|
|
141
|
+
],
|
|
113
142
|
) -> Response[CategoryGroup]:
|
|
114
143
|
"""
|
|
115
144
|
Args:
|
|
116
145
|
uuid (UUID):
|
|
117
146
|
body (CategoryGroupRequest):
|
|
147
|
+
body (CategoryGroupRequestForm):
|
|
148
|
+
body (CategoryGroupRequestMultipart):
|
|
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
|
+
CategoryGroupRequest,
|
|
174
|
+
CategoryGroupRequestForm,
|
|
175
|
+
CategoryGroupRequestMultipart,
|
|
176
|
+
],
|
|
142
177
|
) -> CategoryGroup:
|
|
143
178
|
"""
|
|
144
179
|
Args:
|
|
145
180
|
uuid (UUID):
|
|
146
181
|
body (CategoryGroupRequest):
|
|
182
|
+
body (CategoryGroupRequestForm):
|
|
183
|
+
body (CategoryGroupRequestMultipart):
|
|
147
184
|
|
|
148
185
|
Raises:
|
|
149
186
|
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
@@ -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
|
|
@@ -6,6 +7,7 @@ import httpx
|
|
|
6
7
|
|
|
7
8
|
from ... import errors
|
|
8
9
|
from ...client import AuthenticatedClient, Client
|
|
10
|
+
from ...models.marketplace_course_accounts_count_o_item import MarketplaceCourseAccountsCountOItem
|
|
9
11
|
from ...models.marketplace_course_accounts_count_state_item import MarketplaceCourseAccountsCountStateItem
|
|
10
12
|
from ...types import UNSET, Response, Unset
|
|
11
13
|
|
|
@@ -13,8 +15,13 @@ from ...types import UNSET, Response, Unset
|
|
|
13
15
|
def _get_kwargs(
|
|
14
16
|
*,
|
|
15
17
|
email: Union[Unset, str] = UNSET,
|
|
18
|
+
o: Union[Unset, list[MarketplaceCourseAccountsCountOItem]] = UNSET,
|
|
16
19
|
page: Union[Unset, int] = UNSET,
|
|
17
20
|
page_size: Union[Unset, int] = UNSET,
|
|
21
|
+
project_end_date_after: Union[Unset, datetime.date] = UNSET,
|
|
22
|
+
project_end_date_before: Union[Unset, datetime.date] = UNSET,
|
|
23
|
+
project_start_date_after: Union[Unset, datetime.date] = UNSET,
|
|
24
|
+
project_start_date_before: Union[Unset, datetime.date] = UNSET,
|
|
18
25
|
project_uuid: Union[Unset, UUID] = UNSET,
|
|
19
26
|
state: Union[Unset, list[MarketplaceCourseAccountsCountStateItem]] = UNSET,
|
|
20
27
|
username: Union[Unset, str] = UNSET,
|
|
@@ -23,10 +30,39 @@ def _get_kwargs(
|
|
|
23
30
|
|
|
24
31
|
params["email"] = email
|
|
25
32
|
|
|
33
|
+
json_o: Union[Unset, list[str]] = UNSET
|
|
34
|
+
if not isinstance(o, Unset):
|
|
35
|
+
json_o = []
|
|
36
|
+
for o_item_data in o:
|
|
37
|
+
o_item = o_item_data.value
|
|
38
|
+
json_o.append(o_item)
|
|
39
|
+
|
|
40
|
+
params["o"] = json_o
|
|
41
|
+
|
|
26
42
|
params["page"] = page
|
|
27
43
|
|
|
28
44
|
params["page_size"] = page_size
|
|
29
45
|
|
|
46
|
+
json_project_end_date_after: Union[Unset, str] = UNSET
|
|
47
|
+
if not isinstance(project_end_date_after, Unset):
|
|
48
|
+
json_project_end_date_after = project_end_date_after.isoformat()
|
|
49
|
+
params["project_end_date_after"] = json_project_end_date_after
|
|
50
|
+
|
|
51
|
+
json_project_end_date_before: Union[Unset, str] = UNSET
|
|
52
|
+
if not isinstance(project_end_date_before, Unset):
|
|
53
|
+
json_project_end_date_before = project_end_date_before.isoformat()
|
|
54
|
+
params["project_end_date_before"] = json_project_end_date_before
|
|
55
|
+
|
|
56
|
+
json_project_start_date_after: Union[Unset, str] = UNSET
|
|
57
|
+
if not isinstance(project_start_date_after, Unset):
|
|
58
|
+
json_project_start_date_after = project_start_date_after.isoformat()
|
|
59
|
+
params["project_start_date_after"] = json_project_start_date_after
|
|
60
|
+
|
|
61
|
+
json_project_start_date_before: Union[Unset, str] = UNSET
|
|
62
|
+
if not isinstance(project_start_date_before, Unset):
|
|
63
|
+
json_project_start_date_before = project_start_date_before.isoformat()
|
|
64
|
+
params["project_start_date_before"] = json_project_start_date_before
|
|
65
|
+
|
|
30
66
|
json_project_uuid: Union[Unset, str] = UNSET
|
|
31
67
|
if not isinstance(project_uuid, Unset):
|
|
32
68
|
json_project_uuid = str(project_uuid)
|
|
@@ -82,8 +118,13 @@ def sync_detailed(
|
|
|
82
118
|
*,
|
|
83
119
|
client: AuthenticatedClient,
|
|
84
120
|
email: Union[Unset, str] = UNSET,
|
|
121
|
+
o: Union[Unset, list[MarketplaceCourseAccountsCountOItem]] = UNSET,
|
|
85
122
|
page: Union[Unset, int] = UNSET,
|
|
86
123
|
page_size: Union[Unset, int] = UNSET,
|
|
124
|
+
project_end_date_after: Union[Unset, datetime.date] = UNSET,
|
|
125
|
+
project_end_date_before: Union[Unset, datetime.date] = UNSET,
|
|
126
|
+
project_start_date_after: Union[Unset, datetime.date] = UNSET,
|
|
127
|
+
project_start_date_before: Union[Unset, datetime.date] = UNSET,
|
|
87
128
|
project_uuid: Union[Unset, UUID] = UNSET,
|
|
88
129
|
state: Union[Unset, list[MarketplaceCourseAccountsCountStateItem]] = UNSET,
|
|
89
130
|
username: Union[Unset, str] = UNSET,
|
|
@@ -92,8 +133,13 @@ def sync_detailed(
|
|
|
92
133
|
|
|
93
134
|
Args:
|
|
94
135
|
email (Union[Unset, str]):
|
|
136
|
+
o (Union[Unset, list[MarketplaceCourseAccountsCountOItem]]):
|
|
95
137
|
page (Union[Unset, int]):
|
|
96
138
|
page_size (Union[Unset, int]):
|
|
139
|
+
project_end_date_after (Union[Unset, datetime.date]):
|
|
140
|
+
project_end_date_before (Union[Unset, datetime.date]):
|
|
141
|
+
project_start_date_after (Union[Unset, datetime.date]):
|
|
142
|
+
project_start_date_before (Union[Unset, datetime.date]):
|
|
97
143
|
project_uuid (Union[Unset, UUID]):
|
|
98
144
|
state (Union[Unset, list[MarketplaceCourseAccountsCountStateItem]]):
|
|
99
145
|
username (Union[Unset, str]):
|
|
@@ -108,8 +154,13 @@ def sync_detailed(
|
|
|
108
154
|
|
|
109
155
|
kwargs = _get_kwargs(
|
|
110
156
|
email=email,
|
|
157
|
+
o=o,
|
|
111
158
|
page=page,
|
|
112
159
|
page_size=page_size,
|
|
160
|
+
project_end_date_after=project_end_date_after,
|
|
161
|
+
project_end_date_before=project_end_date_before,
|
|
162
|
+
project_start_date_after=project_start_date_after,
|
|
163
|
+
project_start_date_before=project_start_date_before,
|
|
113
164
|
project_uuid=project_uuid,
|
|
114
165
|
state=state,
|
|
115
166
|
username=username,
|
|
@@ -126,8 +177,13 @@ def sync(
|
|
|
126
177
|
*,
|
|
127
178
|
client: AuthenticatedClient,
|
|
128
179
|
email: Union[Unset, str] = UNSET,
|
|
180
|
+
o: Union[Unset, list[MarketplaceCourseAccountsCountOItem]] = UNSET,
|
|
129
181
|
page: Union[Unset, int] = UNSET,
|
|
130
182
|
page_size: Union[Unset, int] = UNSET,
|
|
183
|
+
project_end_date_after: Union[Unset, datetime.date] = UNSET,
|
|
184
|
+
project_end_date_before: Union[Unset, datetime.date] = UNSET,
|
|
185
|
+
project_start_date_after: Union[Unset, datetime.date] = UNSET,
|
|
186
|
+
project_start_date_before: Union[Unset, datetime.date] = UNSET,
|
|
131
187
|
project_uuid: Union[Unset, UUID] = UNSET,
|
|
132
188
|
state: Union[Unset, list[MarketplaceCourseAccountsCountStateItem]] = UNSET,
|
|
133
189
|
username: Union[Unset, str] = UNSET,
|
|
@@ -136,8 +192,13 @@ def sync(
|
|
|
136
192
|
|
|
137
193
|
Args:
|
|
138
194
|
email (Union[Unset, str]):
|
|
195
|
+
o (Union[Unset, list[MarketplaceCourseAccountsCountOItem]]):
|
|
139
196
|
page (Union[Unset, int]):
|
|
140
197
|
page_size (Union[Unset, int]):
|
|
198
|
+
project_end_date_after (Union[Unset, datetime.date]):
|
|
199
|
+
project_end_date_before (Union[Unset, datetime.date]):
|
|
200
|
+
project_start_date_after (Union[Unset, datetime.date]):
|
|
201
|
+
project_start_date_before (Union[Unset, datetime.date]):
|
|
141
202
|
project_uuid (Union[Unset, UUID]):
|
|
142
203
|
state (Union[Unset, list[MarketplaceCourseAccountsCountStateItem]]):
|
|
143
204
|
username (Union[Unset, str]):
|
|
@@ -153,8 +214,13 @@ def sync(
|
|
|
153
214
|
return sync_detailed(
|
|
154
215
|
client=client,
|
|
155
216
|
email=email,
|
|
217
|
+
o=o,
|
|
156
218
|
page=page,
|
|
157
219
|
page_size=page_size,
|
|
220
|
+
project_end_date_after=project_end_date_after,
|
|
221
|
+
project_end_date_before=project_end_date_before,
|
|
222
|
+
project_start_date_after=project_start_date_after,
|
|
223
|
+
project_start_date_before=project_start_date_before,
|
|
158
224
|
project_uuid=project_uuid,
|
|
159
225
|
state=state,
|
|
160
226
|
username=username,
|
|
@@ -165,8 +231,13 @@ async def asyncio_detailed(
|
|
|
165
231
|
*,
|
|
166
232
|
client: AuthenticatedClient,
|
|
167
233
|
email: Union[Unset, str] = UNSET,
|
|
234
|
+
o: Union[Unset, list[MarketplaceCourseAccountsCountOItem]] = UNSET,
|
|
168
235
|
page: Union[Unset, int] = UNSET,
|
|
169
236
|
page_size: Union[Unset, int] = UNSET,
|
|
237
|
+
project_end_date_after: Union[Unset, datetime.date] = UNSET,
|
|
238
|
+
project_end_date_before: Union[Unset, datetime.date] = UNSET,
|
|
239
|
+
project_start_date_after: Union[Unset, datetime.date] = UNSET,
|
|
240
|
+
project_start_date_before: Union[Unset, datetime.date] = UNSET,
|
|
170
241
|
project_uuid: Union[Unset, UUID] = UNSET,
|
|
171
242
|
state: Union[Unset, list[MarketplaceCourseAccountsCountStateItem]] = UNSET,
|
|
172
243
|
username: Union[Unset, str] = UNSET,
|
|
@@ -175,8 +246,13 @@ async def asyncio_detailed(
|
|
|
175
246
|
|
|
176
247
|
Args:
|
|
177
248
|
email (Union[Unset, str]):
|
|
249
|
+
o (Union[Unset, list[MarketplaceCourseAccountsCountOItem]]):
|
|
178
250
|
page (Union[Unset, int]):
|
|
179
251
|
page_size (Union[Unset, int]):
|
|
252
|
+
project_end_date_after (Union[Unset, datetime.date]):
|
|
253
|
+
project_end_date_before (Union[Unset, datetime.date]):
|
|
254
|
+
project_start_date_after (Union[Unset, datetime.date]):
|
|
255
|
+
project_start_date_before (Union[Unset, datetime.date]):
|
|
180
256
|
project_uuid (Union[Unset, UUID]):
|
|
181
257
|
state (Union[Unset, list[MarketplaceCourseAccountsCountStateItem]]):
|
|
182
258
|
username (Union[Unset, str]):
|
|
@@ -191,8 +267,13 @@ async def asyncio_detailed(
|
|
|
191
267
|
|
|
192
268
|
kwargs = _get_kwargs(
|
|
193
269
|
email=email,
|
|
270
|
+
o=o,
|
|
194
271
|
page=page,
|
|
195
272
|
page_size=page_size,
|
|
273
|
+
project_end_date_after=project_end_date_after,
|
|
274
|
+
project_end_date_before=project_end_date_before,
|
|
275
|
+
project_start_date_after=project_start_date_after,
|
|
276
|
+
project_start_date_before=project_start_date_before,
|
|
196
277
|
project_uuid=project_uuid,
|
|
197
278
|
state=state,
|
|
198
279
|
username=username,
|
|
@@ -207,8 +288,13 @@ async def asyncio(
|
|
|
207
288
|
*,
|
|
208
289
|
client: AuthenticatedClient,
|
|
209
290
|
email: Union[Unset, str] = UNSET,
|
|
291
|
+
o: Union[Unset, list[MarketplaceCourseAccountsCountOItem]] = UNSET,
|
|
210
292
|
page: Union[Unset, int] = UNSET,
|
|
211
293
|
page_size: Union[Unset, int] = UNSET,
|
|
294
|
+
project_end_date_after: Union[Unset, datetime.date] = UNSET,
|
|
295
|
+
project_end_date_before: Union[Unset, datetime.date] = UNSET,
|
|
296
|
+
project_start_date_after: Union[Unset, datetime.date] = UNSET,
|
|
297
|
+
project_start_date_before: Union[Unset, datetime.date] = UNSET,
|
|
212
298
|
project_uuid: Union[Unset, UUID] = UNSET,
|
|
213
299
|
state: Union[Unset, list[MarketplaceCourseAccountsCountStateItem]] = UNSET,
|
|
214
300
|
username: Union[Unset, str] = UNSET,
|
|
@@ -217,8 +303,13 @@ async def asyncio(
|
|
|
217
303
|
|
|
218
304
|
Args:
|
|
219
305
|
email (Union[Unset, str]):
|
|
306
|
+
o (Union[Unset, list[MarketplaceCourseAccountsCountOItem]]):
|
|
220
307
|
page (Union[Unset, int]):
|
|
221
308
|
page_size (Union[Unset, int]):
|
|
309
|
+
project_end_date_after (Union[Unset, datetime.date]):
|
|
310
|
+
project_end_date_before (Union[Unset, datetime.date]):
|
|
311
|
+
project_start_date_after (Union[Unset, datetime.date]):
|
|
312
|
+
project_start_date_before (Union[Unset, datetime.date]):
|
|
222
313
|
project_uuid (Union[Unset, UUID]):
|
|
223
314
|
state (Union[Unset, list[MarketplaceCourseAccountsCountStateItem]]):
|
|
224
315
|
username (Union[Unset, str]):
|
|
@@ -235,8 +326,13 @@ async def asyncio(
|
|
|
235
326
|
await asyncio_detailed(
|
|
236
327
|
client=client,
|
|
237
328
|
email=email,
|
|
329
|
+
o=o,
|
|
238
330
|
page=page,
|
|
239
331
|
page_size=page_size,
|
|
332
|
+
project_end_date_after=project_end_date_after,
|
|
333
|
+
project_end_date_before=project_end_date_before,
|
|
334
|
+
project_start_date_after=project_start_date_after,
|
|
335
|
+
project_start_date_before=project_start_date_before,
|
|
240
336
|
project_uuid=project_uuid,
|
|
241
337
|
state=state,
|
|
242
338
|
username=username,
|
|
@@ -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
|
|
@@ -7,6 +8,7 @@ import httpx
|
|
|
7
8
|
from ... import errors
|
|
8
9
|
from ...client import AuthenticatedClient, Client
|
|
9
10
|
from ...models.course_account import CourseAccount
|
|
11
|
+
from ...models.marketplace_course_accounts_list_o_item import MarketplaceCourseAccountsListOItem
|
|
10
12
|
from ...models.marketplace_course_accounts_list_state_item import MarketplaceCourseAccountsListStateItem
|
|
11
13
|
from ...types import UNSET, Response, Unset
|
|
12
14
|
|
|
@@ -14,8 +16,13 @@ from ...types import UNSET, Response, Unset
|
|
|
14
16
|
def _get_kwargs(
|
|
15
17
|
*,
|
|
16
18
|
email: Union[Unset, str] = UNSET,
|
|
19
|
+
o: Union[Unset, list[MarketplaceCourseAccountsListOItem]] = UNSET,
|
|
17
20
|
page: Union[Unset, int] = UNSET,
|
|
18
21
|
page_size: Union[Unset, int] = UNSET,
|
|
22
|
+
project_end_date_after: Union[Unset, datetime.date] = UNSET,
|
|
23
|
+
project_end_date_before: Union[Unset, datetime.date] = UNSET,
|
|
24
|
+
project_start_date_after: Union[Unset, datetime.date] = UNSET,
|
|
25
|
+
project_start_date_before: Union[Unset, datetime.date] = UNSET,
|
|
19
26
|
project_uuid: Union[Unset, UUID] = UNSET,
|
|
20
27
|
state: Union[Unset, list[MarketplaceCourseAccountsListStateItem]] = UNSET,
|
|
21
28
|
username: Union[Unset, str] = UNSET,
|
|
@@ -24,10 +31,39 @@ def _get_kwargs(
|
|
|
24
31
|
|
|
25
32
|
params["email"] = email
|
|
26
33
|
|
|
34
|
+
json_o: Union[Unset, list[str]] = UNSET
|
|
35
|
+
if not isinstance(o, Unset):
|
|
36
|
+
json_o = []
|
|
37
|
+
for o_item_data in o:
|
|
38
|
+
o_item = o_item_data.value
|
|
39
|
+
json_o.append(o_item)
|
|
40
|
+
|
|
41
|
+
params["o"] = json_o
|
|
42
|
+
|
|
27
43
|
params["page"] = page
|
|
28
44
|
|
|
29
45
|
params["page_size"] = page_size
|
|
30
46
|
|
|
47
|
+
json_project_end_date_after: Union[Unset, str] = UNSET
|
|
48
|
+
if not isinstance(project_end_date_after, Unset):
|
|
49
|
+
json_project_end_date_after = project_end_date_after.isoformat()
|
|
50
|
+
params["project_end_date_after"] = json_project_end_date_after
|
|
51
|
+
|
|
52
|
+
json_project_end_date_before: Union[Unset, str] = UNSET
|
|
53
|
+
if not isinstance(project_end_date_before, Unset):
|
|
54
|
+
json_project_end_date_before = project_end_date_before.isoformat()
|
|
55
|
+
params["project_end_date_before"] = json_project_end_date_before
|
|
56
|
+
|
|
57
|
+
json_project_start_date_after: Union[Unset, str] = UNSET
|
|
58
|
+
if not isinstance(project_start_date_after, Unset):
|
|
59
|
+
json_project_start_date_after = project_start_date_after.isoformat()
|
|
60
|
+
params["project_start_date_after"] = json_project_start_date_after
|
|
61
|
+
|
|
62
|
+
json_project_start_date_before: Union[Unset, str] = UNSET
|
|
63
|
+
if not isinstance(project_start_date_before, Unset):
|
|
64
|
+
json_project_start_date_before = project_start_date_before.isoformat()
|
|
65
|
+
params["project_start_date_before"] = json_project_start_date_before
|
|
66
|
+
|
|
31
67
|
json_project_uuid: Union[Unset, str] = UNSET
|
|
32
68
|
if not isinstance(project_uuid, Unset):
|
|
33
69
|
json_project_uuid = str(project_uuid)
|
|
@@ -83,8 +119,13 @@ def sync_detailed(
|
|
|
83
119
|
*,
|
|
84
120
|
client: AuthenticatedClient,
|
|
85
121
|
email: Union[Unset, str] = UNSET,
|
|
122
|
+
o: Union[Unset, list[MarketplaceCourseAccountsListOItem]] = UNSET,
|
|
86
123
|
page: Union[Unset, int] = UNSET,
|
|
87
124
|
page_size: Union[Unset, int] = UNSET,
|
|
125
|
+
project_end_date_after: Union[Unset, datetime.date] = UNSET,
|
|
126
|
+
project_end_date_before: Union[Unset, datetime.date] = UNSET,
|
|
127
|
+
project_start_date_after: Union[Unset, datetime.date] = UNSET,
|
|
128
|
+
project_start_date_before: Union[Unset, datetime.date] = UNSET,
|
|
88
129
|
project_uuid: Union[Unset, UUID] = UNSET,
|
|
89
130
|
state: Union[Unset, list[MarketplaceCourseAccountsListStateItem]] = UNSET,
|
|
90
131
|
username: Union[Unset, str] = UNSET,
|
|
@@ -93,8 +134,13 @@ def sync_detailed(
|
|
|
93
134
|
|
|
94
135
|
Args:
|
|
95
136
|
email (Union[Unset, str]):
|
|
137
|
+
o (Union[Unset, list[MarketplaceCourseAccountsListOItem]]):
|
|
96
138
|
page (Union[Unset, int]):
|
|
97
139
|
page_size (Union[Unset, int]):
|
|
140
|
+
project_end_date_after (Union[Unset, datetime.date]):
|
|
141
|
+
project_end_date_before (Union[Unset, datetime.date]):
|
|
142
|
+
project_start_date_after (Union[Unset, datetime.date]):
|
|
143
|
+
project_start_date_before (Union[Unset, datetime.date]):
|
|
98
144
|
project_uuid (Union[Unset, UUID]):
|
|
99
145
|
state (Union[Unset, list[MarketplaceCourseAccountsListStateItem]]):
|
|
100
146
|
username (Union[Unset, str]):
|
|
@@ -109,8 +155,13 @@ def sync_detailed(
|
|
|
109
155
|
|
|
110
156
|
kwargs = _get_kwargs(
|
|
111
157
|
email=email,
|
|
158
|
+
o=o,
|
|
112
159
|
page=page,
|
|
113
160
|
page_size=page_size,
|
|
161
|
+
project_end_date_after=project_end_date_after,
|
|
162
|
+
project_end_date_before=project_end_date_before,
|
|
163
|
+
project_start_date_after=project_start_date_after,
|
|
164
|
+
project_start_date_before=project_start_date_before,
|
|
114
165
|
project_uuid=project_uuid,
|
|
115
166
|
state=state,
|
|
116
167
|
username=username,
|
|
@@ -127,8 +178,13 @@ def sync(
|
|
|
127
178
|
*,
|
|
128
179
|
client: AuthenticatedClient,
|
|
129
180
|
email: Union[Unset, str] = UNSET,
|
|
181
|
+
o: Union[Unset, list[MarketplaceCourseAccountsListOItem]] = UNSET,
|
|
130
182
|
page: Union[Unset, int] = UNSET,
|
|
131
183
|
page_size: Union[Unset, int] = UNSET,
|
|
184
|
+
project_end_date_after: Union[Unset, datetime.date] = UNSET,
|
|
185
|
+
project_end_date_before: Union[Unset, datetime.date] = UNSET,
|
|
186
|
+
project_start_date_after: Union[Unset, datetime.date] = UNSET,
|
|
187
|
+
project_start_date_before: Union[Unset, datetime.date] = UNSET,
|
|
132
188
|
project_uuid: Union[Unset, UUID] = UNSET,
|
|
133
189
|
state: Union[Unset, list[MarketplaceCourseAccountsListStateItem]] = UNSET,
|
|
134
190
|
username: Union[Unset, str] = UNSET,
|
|
@@ -137,8 +193,13 @@ def sync(
|
|
|
137
193
|
|
|
138
194
|
Args:
|
|
139
195
|
email (Union[Unset, str]):
|
|
196
|
+
o (Union[Unset, list[MarketplaceCourseAccountsListOItem]]):
|
|
140
197
|
page (Union[Unset, int]):
|
|
141
198
|
page_size (Union[Unset, int]):
|
|
199
|
+
project_end_date_after (Union[Unset, datetime.date]):
|
|
200
|
+
project_end_date_before (Union[Unset, datetime.date]):
|
|
201
|
+
project_start_date_after (Union[Unset, datetime.date]):
|
|
202
|
+
project_start_date_before (Union[Unset, datetime.date]):
|
|
142
203
|
project_uuid (Union[Unset, UUID]):
|
|
143
204
|
state (Union[Unset, list[MarketplaceCourseAccountsListStateItem]]):
|
|
144
205
|
username (Union[Unset, str]):
|
|
@@ -154,8 +215,13 @@ def sync(
|
|
|
154
215
|
return sync_detailed(
|
|
155
216
|
client=client,
|
|
156
217
|
email=email,
|
|
218
|
+
o=o,
|
|
157
219
|
page=page,
|
|
158
220
|
page_size=page_size,
|
|
221
|
+
project_end_date_after=project_end_date_after,
|
|
222
|
+
project_end_date_before=project_end_date_before,
|
|
223
|
+
project_start_date_after=project_start_date_after,
|
|
224
|
+
project_start_date_before=project_start_date_before,
|
|
159
225
|
project_uuid=project_uuid,
|
|
160
226
|
state=state,
|
|
161
227
|
username=username,
|
|
@@ -166,8 +232,13 @@ async def asyncio_detailed(
|
|
|
166
232
|
*,
|
|
167
233
|
client: AuthenticatedClient,
|
|
168
234
|
email: Union[Unset, str] = UNSET,
|
|
235
|
+
o: Union[Unset, list[MarketplaceCourseAccountsListOItem]] = UNSET,
|
|
169
236
|
page: Union[Unset, int] = UNSET,
|
|
170
237
|
page_size: Union[Unset, int] = UNSET,
|
|
238
|
+
project_end_date_after: Union[Unset, datetime.date] = UNSET,
|
|
239
|
+
project_end_date_before: Union[Unset, datetime.date] = UNSET,
|
|
240
|
+
project_start_date_after: Union[Unset, datetime.date] = UNSET,
|
|
241
|
+
project_start_date_before: Union[Unset, datetime.date] = UNSET,
|
|
171
242
|
project_uuid: Union[Unset, UUID] = UNSET,
|
|
172
243
|
state: Union[Unset, list[MarketplaceCourseAccountsListStateItem]] = UNSET,
|
|
173
244
|
username: Union[Unset, str] = UNSET,
|
|
@@ -176,8 +247,13 @@ async def asyncio_detailed(
|
|
|
176
247
|
|
|
177
248
|
Args:
|
|
178
249
|
email (Union[Unset, str]):
|
|
250
|
+
o (Union[Unset, list[MarketplaceCourseAccountsListOItem]]):
|
|
179
251
|
page (Union[Unset, int]):
|
|
180
252
|
page_size (Union[Unset, int]):
|
|
253
|
+
project_end_date_after (Union[Unset, datetime.date]):
|
|
254
|
+
project_end_date_before (Union[Unset, datetime.date]):
|
|
255
|
+
project_start_date_after (Union[Unset, datetime.date]):
|
|
256
|
+
project_start_date_before (Union[Unset, datetime.date]):
|
|
181
257
|
project_uuid (Union[Unset, UUID]):
|
|
182
258
|
state (Union[Unset, list[MarketplaceCourseAccountsListStateItem]]):
|
|
183
259
|
username (Union[Unset, str]):
|
|
@@ -192,8 +268,13 @@ async def asyncio_detailed(
|
|
|
192
268
|
|
|
193
269
|
kwargs = _get_kwargs(
|
|
194
270
|
email=email,
|
|
271
|
+
o=o,
|
|
195
272
|
page=page,
|
|
196
273
|
page_size=page_size,
|
|
274
|
+
project_end_date_after=project_end_date_after,
|
|
275
|
+
project_end_date_before=project_end_date_before,
|
|
276
|
+
project_start_date_after=project_start_date_after,
|
|
277
|
+
project_start_date_before=project_start_date_before,
|
|
197
278
|
project_uuid=project_uuid,
|
|
198
279
|
state=state,
|
|
199
280
|
username=username,
|
|
@@ -208,8 +289,13 @@ async def asyncio(
|
|
|
208
289
|
*,
|
|
209
290
|
client: AuthenticatedClient,
|
|
210
291
|
email: Union[Unset, str] = UNSET,
|
|
292
|
+
o: Union[Unset, list[MarketplaceCourseAccountsListOItem]] = UNSET,
|
|
211
293
|
page: Union[Unset, int] = UNSET,
|
|
212
294
|
page_size: Union[Unset, int] = UNSET,
|
|
295
|
+
project_end_date_after: Union[Unset, datetime.date] = UNSET,
|
|
296
|
+
project_end_date_before: Union[Unset, datetime.date] = UNSET,
|
|
297
|
+
project_start_date_after: Union[Unset, datetime.date] = UNSET,
|
|
298
|
+
project_start_date_before: Union[Unset, datetime.date] = UNSET,
|
|
213
299
|
project_uuid: Union[Unset, UUID] = UNSET,
|
|
214
300
|
state: Union[Unset, list[MarketplaceCourseAccountsListStateItem]] = UNSET,
|
|
215
301
|
username: Union[Unset, str] = UNSET,
|
|
@@ -218,8 +304,13 @@ async def asyncio(
|
|
|
218
304
|
|
|
219
305
|
Args:
|
|
220
306
|
email (Union[Unset, str]):
|
|
307
|
+
o (Union[Unset, list[MarketplaceCourseAccountsListOItem]]):
|
|
221
308
|
page (Union[Unset, int]):
|
|
222
309
|
page_size (Union[Unset, int]):
|
|
310
|
+
project_end_date_after (Union[Unset, datetime.date]):
|
|
311
|
+
project_end_date_before (Union[Unset, datetime.date]):
|
|
312
|
+
project_start_date_after (Union[Unset, datetime.date]):
|
|
313
|
+
project_start_date_before (Union[Unset, datetime.date]):
|
|
223
314
|
project_uuid (Union[Unset, UUID]):
|
|
224
315
|
state (Union[Unset, list[MarketplaceCourseAccountsListStateItem]]):
|
|
225
316
|
username (Union[Unset, str]):
|
|
@@ -236,8 +327,13 @@ async def asyncio(
|
|
|
236
327
|
await asyncio_detailed(
|
|
237
328
|
client=client,
|
|
238
329
|
email=email,
|
|
330
|
+
o=o,
|
|
239
331
|
page=page,
|
|
240
332
|
page_size=page_size,
|
|
333
|
+
project_end_date_after=project_end_date_after,
|
|
334
|
+
project_end_date_before=project_end_date_before,
|
|
335
|
+
project_start_date_after=project_start_date_after,
|
|
336
|
+
project_start_date_before=project_start_date_before,
|
|
241
337
|
project_uuid=project_uuid,
|
|
242
338
|
state=state,
|
|
243
339
|
username=username,
|