waldur-api-client 7.8.3__py3-none-any.whl → 7.8.4__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 +18 -0
- waldur_api_client/api/booking_resources/booking_resources_list.py +18 -0
- waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_checklist_template_count.py +125 -0
- waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_checklist_template_retrieve.py +126 -0
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_tos_stats_retrieve.py +146 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_count.py +18 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_list.py +18 -0
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_update_options.py +168 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_count.py +18 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_list.py +18 -0
- waldur_api_client/api/marketplace_resources/marketplace_resources_renew.py +166 -0
- waldur_api_client/api/marketplace_service_providers/service_provider_checklists_summary.py +189 -0
- waldur_api_client/api/onboarding/__init__.py +1 -0
- waldur_api_client/api/onboarding/onboarding_supported_countries_retrieve.py +74 -0
- waldur_api_client/api/onboarding_justifications/__init__.py +1 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_attach_document.py +211 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_count.py +172 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_create.py +150 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_create_justification.py +154 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_destroy.py +89 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_list.py +175 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_partial_update.py +164 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_retrieve.py +142 -0
- waldur_api_client/api/onboarding_justifications/onboarding_justifications_update.py +164 -0
- waldur_api_client/api/onboarding_verifications/__init__.py +1 -0
- waldur_api_client/api/onboarding_verifications/onboarding_verifications_count.py +172 -0
- waldur_api_client/api/onboarding_verifications/onboarding_verifications_create.py +150 -0
- waldur_api_client/api/onboarding_verifications/onboarding_verifications_create_customer.py +144 -0
- waldur_api_client/api/onboarding_verifications/onboarding_verifications_destroy.py +89 -0
- waldur_api_client/api/onboarding_verifications/onboarding_verifications_list.py +175 -0
- waldur_api_client/api/onboarding_verifications/onboarding_verifications_partial_update.py +164 -0
- waldur_api_client/api/onboarding_verifications/onboarding_verifications_retrieve.py +142 -0
- waldur_api_client/api/onboarding_verifications/onboarding_verifications_update.py +164 -0
- waldur_api_client/api/onboarding_verifications/onboarding_verifications_validate_company.py +154 -0
- waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_count.py +33 -0
- waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_create.py +154 -0
- waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_destroy.py +91 -0
- waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_list.py +33 -0
- waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_partial_update.py +164 -0
- waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_update.py +164 -0
- waldur_api_client/api/openstack_networks/openstack_networks_rbac_policy_create.py +24 -22
- waldur_api_client/api/projects/projects_checklist_template_count.py +125 -0
- waldur_api_client/api/projects/projects_checklist_template_retrieve.py +126 -0
- waldur_api_client/api/proposal_proposals/proposal_proposals_checklist_template_count.py +125 -0
- waldur_api_client/api/proposal_proposals/proposal_proposals_checklist_template_retrieve.py +126 -0
- waldur_api_client/api/proposal_protected_calls/proposal_protected_calls_offerings_list.py +15 -0
- waldur_api_client/models/__init__.py +62 -4
- waldur_api_client/models/booking_resource.py +4 -11
- waldur_api_client/models/call_round.py +4 -4
- waldur_api_client/models/checklist_template.py +99 -0
- waldur_api_client/models/checklist_template_checklist.py +44 -0
- waldur_api_client/models/constance_settings.py +45 -0
- waldur_api_client/models/constance_settings_request.py +45 -0
- waldur_api_client/models/constance_settings_request_form.py +45 -0
- waldur_api_client/models/constance_settings_request_multipart.py +85 -0
- waldur_api_client/models/customer.py +9 -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/deprecated_network_rbac_policy.py +137 -0
- waldur_api_client/models/deprecated_network_rbac_policy_request.py +78 -0
- waldur_api_client/models/event_types_enum.py +1 -0
- waldur_api_client/models/marketplace_service_providers_projects_list_field_item.py +1 -0
- waldur_api_client/models/merged_plugin_options.py +18 -0
- waldur_api_client/models/merged_plugin_options_request.py +18 -0
- waldur_api_client/models/nested_round.py +5 -5
- waldur_api_client/models/network_rbac_policy_request.py +8 -0
- waldur_api_client/models/notification.py +9 -9
- waldur_api_client/models/{notification_context_fields.py → notification_context_schema.py} +6 -6
- waldur_api_client/models/notification_template_detail_serializers.py +9 -3
- waldur_api_client/models/offering_component.py +79 -0
- waldur_api_client/models/offering_component_request.py +80 -0
- waldur_api_client/models/onboarding_company_validation_request_request.py +88 -0
- waldur_api_client/models/onboarding_justification.py +183 -0
- waldur_api_client/models/onboarding_justification_create_request.py +68 -0
- waldur_api_client/models/onboarding_justification_documentation.py +108 -0
- waldur_api_client/models/onboarding_justification_documentation_request.py +84 -0
- waldur_api_client/models/onboarding_justification_documentation_request_form.py +84 -0
- waldur_api_client/models/onboarding_justification_documentation_request_multipart.py +98 -0
- waldur_api_client/models/onboarding_justification_request.py +75 -0
- waldur_api_client/models/onboarding_verification.py +250 -0
- waldur_api_client/models/onboarding_verification_request.py +128 -0
- waldur_api_client/models/onboarding_verification_status_enum.py +12 -0
- waldur_api_client/models/open_stack_create_floating_ip_request.py +20 -1
- waldur_api_client/models/order_create.py +4 -4
- waldur_api_client/models/order_details.py +4 -11
- waldur_api_client/models/patched_network_rbac_policy_request.py +85 -0
- waldur_api_client/models/patched_onboarding_justification_request.py +77 -0
- waldur_api_client/models/patched_onboarding_verification_request.py +128 -0
- waldur_api_client/models/patched_project_credit_request.py +13 -0
- waldur_api_client/models/patched_project_request.py +1 -2
- waldur_api_client/models/patched_project_request_form.py +1 -2
- waldur_api_client/models/patched_project_request_multipart.py +1 -2
- waldur_api_client/models/project.py +10 -2
- waldur_api_client/models/project_credit.py +13 -0
- waldur_api_client/models/project_credit_request.py +13 -0
- waldur_api_client/models/project_request.py +1 -2
- waldur_api_client/models/project_request_form.py +1 -2
- waldur_api_client/models/project_request_multipart.py +1 -2
- waldur_api_client/models/projects_list_field_item.py +1 -0
- waldur_api_client/models/projects_retrieve_field_item.py +1 -0
- waldur_api_client/models/protected_round.py +4 -4
- waldur_api_client/models/question.py +102 -0
- waldur_api_client/models/question_options.py +79 -0
- waldur_api_client/models/resource.py +4 -11
- waldur_api_client/models/resource_renew_request.py +83 -0
- waldur_api_client/models/resource_renew_request_limits.py +44 -0
- waldur_api_client/models/{status_enum.py → round_status.py} +1 -1
- waldur_api_client/models/service_provider_checklist_summary.py +98 -0
- waldur_api_client/models/time_series_to_s_data.py +69 -0
- waldur_api_client/models/to_s_consent_dashboard.py +155 -0
- waldur_api_client/models/update_offering_component_request.py +79 -0
- waldur_api_client/models/validation_decision_enum.py +10 -0
- waldur_api_client/models/validation_method_enum.py +8 -0
- waldur_api_client/models/version_adoption.py +67 -0
- {waldur_api_client-7.8.3.dist-info → waldur_api_client-7.8.4.dist-info}/METADATA +1 -1
- {waldur_api_client-7.8.3.dist-info → waldur_api_client-7.8.4.dist-info}/RECORD +118 -54
- {waldur_api_client-7.8.3.dist-info → waldur_api_client-7.8.4.dist-info}/WHEEL +0 -0
- {waldur_api_client-7.8.3.dist-info → waldur_api_client-7.8.4.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
from http import HTTPStatus
|
|
2
|
+
from typing import Any, Union
|
|
3
|
+
|
|
4
|
+
import httpx
|
|
5
|
+
|
|
6
|
+
from ... import errors
|
|
7
|
+
from ...client import AuthenticatedClient, Client
|
|
8
|
+
from ...models.checklist_template import ChecklistTemplate
|
|
9
|
+
from ...types import Response
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
def _get_kwargs() -> dict[str, Any]:
|
|
13
|
+
_kwargs: dict[str, Any] = {
|
|
14
|
+
"method": "get",
|
|
15
|
+
"url": "/api/projects/checklist-template/",
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
return _kwargs
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
def _parse_response(
|
|
22
|
+
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
23
|
+
) -> Union[Any, ChecklistTemplate]:
|
|
24
|
+
if response.status_code == 200:
|
|
25
|
+
response_200 = ChecklistTemplate.from_dict(response.json())
|
|
26
|
+
|
|
27
|
+
return response_200
|
|
28
|
+
if response.status_code == 400:
|
|
29
|
+
response_400 = response.json()
|
|
30
|
+
return response_400
|
|
31
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
def _build_response(
|
|
35
|
+
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
36
|
+
) -> Response[Union[Any, ChecklistTemplate]]:
|
|
37
|
+
return Response(
|
|
38
|
+
status_code=HTTPStatus(response.status_code),
|
|
39
|
+
content=response.content,
|
|
40
|
+
headers=response.headers,
|
|
41
|
+
parsed=_parse_response(client=client, response=response),
|
|
42
|
+
)
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
def sync_detailed(
|
|
46
|
+
*,
|
|
47
|
+
client: AuthenticatedClient,
|
|
48
|
+
) -> Response[Union[Any, ChecklistTemplate]]:
|
|
49
|
+
"""Get checklist template for creating new objects.
|
|
50
|
+
|
|
51
|
+
Raises:
|
|
52
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
53
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
54
|
+
|
|
55
|
+
Returns:
|
|
56
|
+
Response[Union[Any, ChecklistTemplate]]
|
|
57
|
+
"""
|
|
58
|
+
|
|
59
|
+
kwargs = _get_kwargs()
|
|
60
|
+
|
|
61
|
+
response = client.get_httpx_client().request(
|
|
62
|
+
**kwargs,
|
|
63
|
+
)
|
|
64
|
+
|
|
65
|
+
return _build_response(client=client, response=response)
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
def sync(
|
|
69
|
+
*,
|
|
70
|
+
client: AuthenticatedClient,
|
|
71
|
+
) -> Union[Any, ChecklistTemplate]:
|
|
72
|
+
"""Get checklist template for creating new objects.
|
|
73
|
+
|
|
74
|
+
Raises:
|
|
75
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
76
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
77
|
+
|
|
78
|
+
Returns:
|
|
79
|
+
Union[Any, ChecklistTemplate]
|
|
80
|
+
"""
|
|
81
|
+
|
|
82
|
+
return sync_detailed(
|
|
83
|
+
client=client,
|
|
84
|
+
).parsed
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
async def asyncio_detailed(
|
|
88
|
+
*,
|
|
89
|
+
client: AuthenticatedClient,
|
|
90
|
+
) -> Response[Union[Any, ChecklistTemplate]]:
|
|
91
|
+
"""Get checklist template for creating new objects.
|
|
92
|
+
|
|
93
|
+
Raises:
|
|
94
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
95
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
96
|
+
|
|
97
|
+
Returns:
|
|
98
|
+
Response[Union[Any, ChecklistTemplate]]
|
|
99
|
+
"""
|
|
100
|
+
|
|
101
|
+
kwargs = _get_kwargs()
|
|
102
|
+
|
|
103
|
+
response = await client.get_async_httpx_client().request(**kwargs)
|
|
104
|
+
|
|
105
|
+
return _build_response(client=client, response=response)
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
async def asyncio(
|
|
109
|
+
*,
|
|
110
|
+
client: AuthenticatedClient,
|
|
111
|
+
) -> Union[Any, ChecklistTemplate]:
|
|
112
|
+
"""Get checklist template for creating new objects.
|
|
113
|
+
|
|
114
|
+
Raises:
|
|
115
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
116
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
117
|
+
|
|
118
|
+
Returns:
|
|
119
|
+
Union[Any, ChecklistTemplate]
|
|
120
|
+
"""
|
|
121
|
+
|
|
122
|
+
return (
|
|
123
|
+
await asyncio_detailed(
|
|
124
|
+
client=client,
|
|
125
|
+
)
|
|
126
|
+
).parsed
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
from http import HTTPStatus
|
|
2
|
+
from typing import Any, Union
|
|
3
|
+
|
|
4
|
+
import httpx
|
|
5
|
+
|
|
6
|
+
from ... import errors
|
|
7
|
+
from ...client import AuthenticatedClient, Client
|
|
8
|
+
from ...types import Response
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def _get_kwargs() -> dict[str, Any]:
|
|
12
|
+
_kwargs: dict[str, Any] = {
|
|
13
|
+
"method": "head",
|
|
14
|
+
"url": "/api/proposal-proposals/checklist-template/",
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
return _kwargs
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> int:
|
|
21
|
+
if response.status_code == HTTPStatus.OK:
|
|
22
|
+
try:
|
|
23
|
+
return int(response.headers["x-result-count"])
|
|
24
|
+
except KeyError:
|
|
25
|
+
raise errors.UnexpectedStatus(
|
|
26
|
+
response.status_code, b"Expected 'X-Result-Count' header for HEAD request, but it was not found."
|
|
27
|
+
)
|
|
28
|
+
except ValueError:
|
|
29
|
+
count_val = response.headers.get("x-result-count")
|
|
30
|
+
msg = f"Expected 'X-Result-Count' header to be an integer, but got '{count_val}'."
|
|
31
|
+
raise errors.UnexpectedStatus(response.status_code, msg.encode())
|
|
32
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
def _build_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Response[int]:
|
|
36
|
+
return Response(
|
|
37
|
+
status_code=HTTPStatus(response.status_code),
|
|
38
|
+
content=response.content,
|
|
39
|
+
headers=response.headers,
|
|
40
|
+
parsed=_parse_response(client=client, response=response),
|
|
41
|
+
)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
def sync_detailed(
|
|
45
|
+
*,
|
|
46
|
+
client: AuthenticatedClient,
|
|
47
|
+
) -> Response[int]:
|
|
48
|
+
"""Get number of items in the collection matching the request parameters.
|
|
49
|
+
|
|
50
|
+
Raises:
|
|
51
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
52
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
53
|
+
|
|
54
|
+
Returns:
|
|
55
|
+
Response[int]
|
|
56
|
+
"""
|
|
57
|
+
|
|
58
|
+
kwargs = _get_kwargs()
|
|
59
|
+
|
|
60
|
+
response = client.get_httpx_client().request(
|
|
61
|
+
**kwargs,
|
|
62
|
+
)
|
|
63
|
+
|
|
64
|
+
return _build_response(client=client, response=response)
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
def sync(
|
|
68
|
+
*,
|
|
69
|
+
client: AuthenticatedClient,
|
|
70
|
+
) -> int:
|
|
71
|
+
"""Get number of items in the collection matching the request parameters.
|
|
72
|
+
|
|
73
|
+
Raises:
|
|
74
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
75
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
76
|
+
|
|
77
|
+
Returns:
|
|
78
|
+
int
|
|
79
|
+
"""
|
|
80
|
+
|
|
81
|
+
return sync_detailed(
|
|
82
|
+
client=client,
|
|
83
|
+
).parsed
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
async def asyncio_detailed(
|
|
87
|
+
*,
|
|
88
|
+
client: AuthenticatedClient,
|
|
89
|
+
) -> Response[int]:
|
|
90
|
+
"""Get number of items in the collection matching the request parameters.
|
|
91
|
+
|
|
92
|
+
Raises:
|
|
93
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
94
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
95
|
+
|
|
96
|
+
Returns:
|
|
97
|
+
Response[int]
|
|
98
|
+
"""
|
|
99
|
+
|
|
100
|
+
kwargs = _get_kwargs()
|
|
101
|
+
|
|
102
|
+
response = await client.get_async_httpx_client().request(**kwargs)
|
|
103
|
+
|
|
104
|
+
return _build_response(client=client, response=response)
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
async def asyncio(
|
|
108
|
+
*,
|
|
109
|
+
client: AuthenticatedClient,
|
|
110
|
+
) -> int:
|
|
111
|
+
"""Get number of items in the collection matching the request parameters.
|
|
112
|
+
|
|
113
|
+
Raises:
|
|
114
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
115
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
116
|
+
|
|
117
|
+
Returns:
|
|
118
|
+
int
|
|
119
|
+
"""
|
|
120
|
+
|
|
121
|
+
return (
|
|
122
|
+
await asyncio_detailed(
|
|
123
|
+
client=client,
|
|
124
|
+
)
|
|
125
|
+
).parsed
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
from http import HTTPStatus
|
|
2
|
+
from typing import Any, Union
|
|
3
|
+
|
|
4
|
+
import httpx
|
|
5
|
+
|
|
6
|
+
from ... import errors
|
|
7
|
+
from ...client import AuthenticatedClient, Client
|
|
8
|
+
from ...models.checklist_template import ChecklistTemplate
|
|
9
|
+
from ...types import Response
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
def _get_kwargs() -> dict[str, Any]:
|
|
13
|
+
_kwargs: dict[str, Any] = {
|
|
14
|
+
"method": "get",
|
|
15
|
+
"url": "/api/proposal-proposals/checklist-template/",
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
return _kwargs
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
def _parse_response(
|
|
22
|
+
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
23
|
+
) -> Union[Any, ChecklistTemplate]:
|
|
24
|
+
if response.status_code == 200:
|
|
25
|
+
response_200 = ChecklistTemplate.from_dict(response.json())
|
|
26
|
+
|
|
27
|
+
return response_200
|
|
28
|
+
if response.status_code == 400:
|
|
29
|
+
response_400 = response.json()
|
|
30
|
+
return response_400
|
|
31
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
def _build_response(
|
|
35
|
+
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
36
|
+
) -> Response[Union[Any, ChecklistTemplate]]:
|
|
37
|
+
return Response(
|
|
38
|
+
status_code=HTTPStatus(response.status_code),
|
|
39
|
+
content=response.content,
|
|
40
|
+
headers=response.headers,
|
|
41
|
+
parsed=_parse_response(client=client, response=response),
|
|
42
|
+
)
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
def sync_detailed(
|
|
46
|
+
*,
|
|
47
|
+
client: AuthenticatedClient,
|
|
48
|
+
) -> Response[Union[Any, ChecklistTemplate]]:
|
|
49
|
+
"""Get checklist template for creating new objects.
|
|
50
|
+
|
|
51
|
+
Raises:
|
|
52
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
53
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
54
|
+
|
|
55
|
+
Returns:
|
|
56
|
+
Response[Union[Any, ChecklistTemplate]]
|
|
57
|
+
"""
|
|
58
|
+
|
|
59
|
+
kwargs = _get_kwargs()
|
|
60
|
+
|
|
61
|
+
response = client.get_httpx_client().request(
|
|
62
|
+
**kwargs,
|
|
63
|
+
)
|
|
64
|
+
|
|
65
|
+
return _build_response(client=client, response=response)
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
def sync(
|
|
69
|
+
*,
|
|
70
|
+
client: AuthenticatedClient,
|
|
71
|
+
) -> Union[Any, ChecklistTemplate]:
|
|
72
|
+
"""Get checklist template for creating new objects.
|
|
73
|
+
|
|
74
|
+
Raises:
|
|
75
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
76
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
77
|
+
|
|
78
|
+
Returns:
|
|
79
|
+
Union[Any, ChecklistTemplate]
|
|
80
|
+
"""
|
|
81
|
+
|
|
82
|
+
return sync_detailed(
|
|
83
|
+
client=client,
|
|
84
|
+
).parsed
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
async def asyncio_detailed(
|
|
88
|
+
*,
|
|
89
|
+
client: AuthenticatedClient,
|
|
90
|
+
) -> Response[Union[Any, ChecklistTemplate]]:
|
|
91
|
+
"""Get checklist template for creating new objects.
|
|
92
|
+
|
|
93
|
+
Raises:
|
|
94
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
95
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
96
|
+
|
|
97
|
+
Returns:
|
|
98
|
+
Response[Union[Any, ChecklistTemplate]]
|
|
99
|
+
"""
|
|
100
|
+
|
|
101
|
+
kwargs = _get_kwargs()
|
|
102
|
+
|
|
103
|
+
response = await client.get_async_httpx_client().request(**kwargs)
|
|
104
|
+
|
|
105
|
+
return _build_response(client=client, response=response)
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
async def asyncio(
|
|
109
|
+
*,
|
|
110
|
+
client: AuthenticatedClient,
|
|
111
|
+
) -> Union[Any, ChecklistTemplate]:
|
|
112
|
+
"""Get checklist template for creating new objects.
|
|
113
|
+
|
|
114
|
+
Raises:
|
|
115
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
116
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
117
|
+
|
|
118
|
+
Returns:
|
|
119
|
+
Union[Any, ChecklistTemplate]
|
|
120
|
+
"""
|
|
121
|
+
|
|
122
|
+
return (
|
|
123
|
+
await asyncio_detailed(
|
|
124
|
+
client=client,
|
|
125
|
+
)
|
|
126
|
+
).parsed
|
|
@@ -15,6 +15,7 @@ def _get_kwargs(
|
|
|
15
15
|
*,
|
|
16
16
|
page: Union[Unset, int] = UNSET,
|
|
17
17
|
page_size: Union[Unset, int] = UNSET,
|
|
18
|
+
state: Union[Unset, str] = UNSET,
|
|
18
19
|
) -> dict[str, Any]:
|
|
19
20
|
params: dict[str, Any] = {}
|
|
20
21
|
|
|
@@ -22,6 +23,8 @@ def _get_kwargs(
|
|
|
22
23
|
|
|
23
24
|
params["page_size"] = page_size
|
|
24
25
|
|
|
26
|
+
params["state"] = state
|
|
27
|
+
|
|
25
28
|
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
26
29
|
|
|
27
30
|
_kwargs: dict[str, Any] = {
|
|
@@ -65,6 +68,7 @@ def sync_detailed(
|
|
|
65
68
|
client: AuthenticatedClient,
|
|
66
69
|
page: Union[Unset, int] = UNSET,
|
|
67
70
|
page_size: Union[Unset, int] = UNSET,
|
|
71
|
+
state: Union[Unset, str] = UNSET,
|
|
68
72
|
) -> Response[list["RequestedOffering"]]:
|
|
69
73
|
"""List offerings for a call.
|
|
70
74
|
|
|
@@ -72,6 +76,7 @@ def sync_detailed(
|
|
|
72
76
|
uuid (UUID):
|
|
73
77
|
page (Union[Unset, int]):
|
|
74
78
|
page_size (Union[Unset, int]):
|
|
79
|
+
state (Union[Unset, str]):
|
|
75
80
|
|
|
76
81
|
Raises:
|
|
77
82
|
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
@@ -85,6 +90,7 @@ def sync_detailed(
|
|
|
85
90
|
uuid=uuid,
|
|
86
91
|
page=page,
|
|
87
92
|
page_size=page_size,
|
|
93
|
+
state=state,
|
|
88
94
|
)
|
|
89
95
|
|
|
90
96
|
response = client.get_httpx_client().request(
|
|
@@ -100,6 +106,7 @@ def sync(
|
|
|
100
106
|
client: AuthenticatedClient,
|
|
101
107
|
page: Union[Unset, int] = UNSET,
|
|
102
108
|
page_size: Union[Unset, int] = UNSET,
|
|
109
|
+
state: Union[Unset, str] = UNSET,
|
|
103
110
|
) -> list["RequestedOffering"]:
|
|
104
111
|
"""List offerings for a call.
|
|
105
112
|
|
|
@@ -107,6 +114,7 @@ def sync(
|
|
|
107
114
|
uuid (UUID):
|
|
108
115
|
page (Union[Unset, int]):
|
|
109
116
|
page_size (Union[Unset, int]):
|
|
117
|
+
state (Union[Unset, str]):
|
|
110
118
|
|
|
111
119
|
Raises:
|
|
112
120
|
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
@@ -121,6 +129,7 @@ def sync(
|
|
|
121
129
|
client=client,
|
|
122
130
|
page=page,
|
|
123
131
|
page_size=page_size,
|
|
132
|
+
state=state,
|
|
124
133
|
).parsed
|
|
125
134
|
|
|
126
135
|
|
|
@@ -130,6 +139,7 @@ async def asyncio_detailed(
|
|
|
130
139
|
client: AuthenticatedClient,
|
|
131
140
|
page: Union[Unset, int] = UNSET,
|
|
132
141
|
page_size: Union[Unset, int] = UNSET,
|
|
142
|
+
state: Union[Unset, str] = UNSET,
|
|
133
143
|
) -> Response[list["RequestedOffering"]]:
|
|
134
144
|
"""List offerings for a call.
|
|
135
145
|
|
|
@@ -137,6 +147,7 @@ async def asyncio_detailed(
|
|
|
137
147
|
uuid (UUID):
|
|
138
148
|
page (Union[Unset, int]):
|
|
139
149
|
page_size (Union[Unset, int]):
|
|
150
|
+
state (Union[Unset, str]):
|
|
140
151
|
|
|
141
152
|
Raises:
|
|
142
153
|
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
@@ -150,6 +161,7 @@ async def asyncio_detailed(
|
|
|
150
161
|
uuid=uuid,
|
|
151
162
|
page=page,
|
|
152
163
|
page_size=page_size,
|
|
164
|
+
state=state,
|
|
153
165
|
)
|
|
154
166
|
|
|
155
167
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -163,6 +175,7 @@ async def asyncio(
|
|
|
163
175
|
client: AuthenticatedClient,
|
|
164
176
|
page: Union[Unset, int] = UNSET,
|
|
165
177
|
page_size: Union[Unset, int] = UNSET,
|
|
178
|
+
state: Union[Unset, str] = UNSET,
|
|
166
179
|
) -> list["RequestedOffering"]:
|
|
167
180
|
"""List offerings for a call.
|
|
168
181
|
|
|
@@ -170,6 +183,7 @@ async def asyncio(
|
|
|
170
183
|
uuid (UUID):
|
|
171
184
|
page (Union[Unset, int]):
|
|
172
185
|
page_size (Union[Unset, int]):
|
|
186
|
+
state (Union[Unset, str]):
|
|
173
187
|
|
|
174
188
|
Raises:
|
|
175
189
|
errors.UnexpectedStatus: If the server returns an undocumented status code.
|
|
@@ -185,5 +199,6 @@ async def asyncio(
|
|
|
185
199
|
client=client,
|
|
186
200
|
page=page,
|
|
187
201
|
page_size=page_size,
|
|
202
|
+
state=state,
|
|
188
203
|
)
|
|
189
204
|
).parsed
|